diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 2e727137bc..b67e31fb97 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,6 +1,10 @@ Unreleased --- +## 1.77.1 +--- +* [***] Fixes a crash on iOS related to JSI and Reanimated [https://github.com/WordPress/gutenberg/pull/41482] + ## 1.77.0 --- * [*] [a11y] Improve text read by screen readers for BottomSheetSelectControl [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4854] diff --git a/bundle/android/strings.xml b/bundle/android/strings.xml index 87b0844717..200e504b45 100644 --- a/bundle/android/strings.xml +++ b/bundle/android/strings.xml @@ -346,6 +346,8 @@ translators: %s: Select control option value e.g: "Auto, 25%". --> Ungroup Unsupported Updates the title. + Upgrade your plan to upload audio + Upgrade your plan to use video covers Uploading… Use icon button diff --git a/bundle/ios/App.js b/bundle/ios/App.js index 8480929acd..42619fb861 100644 --- a/bundle/ios/App.js +++ b/bundle/ios/App.js @@ -4,7 +4,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date. !(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,e,a){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return null;var e=null!=(u=null!=r?r:n.name)?u:'';return function(){for(var r=arguments.length,u=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},p=e.beforeInitCallback,P=e.pluginTranslations,_=void 0===P?[]:P,C=(function(e){(0,u.default)(k,e);var P,C,R=(P=k,C=h(),function(){var e,t=(0,f.default)(P);if(C){var n=(0,f.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.default)(this,e)});function k(e){var o;(0,n.default)(this,k);var u=(o=R.call(this,e)).props,l=(u.rootTag,(0,t.default)(u,y));(0,v.default)(l.locale,l.translations,b.getTranslation,_),p&&p(l);var f=r(d[14]).default;return o.editorComponent=f(),(0,c.doAction)('native.pre-render',l),o.filteredProps=(0,c.applyFilters)('native.block_editor_props',l),o}return(0,o.default)(k,[{key:"componentDidMount",value:function(){(0,c.doAction)('native.render',this.filteredProps)}},{key:"render",value:function(){return(0,s.cloneElement)(this.editorComponent,this.filteredProps)}}]),k})(s.Component);(0,s.registerComponent)('gutenberg',function(){return C})}},2,[3,4,6,7,8,10,13,14,672,683,709,1278,1279,1291,1341]); __d(function(g,r,i,a,m,e,d){m.exports=function(t){return t&&t.__esModule?t:{default:t}},m.exports.default=m.exports,m.exports.__esModule=!0},3,[]); __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);m.exports=function(o,n){if(null==o)return{};var l,p,s=t(o,n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(p=0;p=0||Object.prototype.propertyIsEnumerable.call(o,l)&&(s[l]=o[l])}return s},m.exports.default=m.exports,m.exports.__esModule=!0},4,[5]); @@ -518,11 +518,11 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.flingHandlerName=e.flingGestureHandlerProps=e.FlingGestureHandler=void 0;var l=n(r(d[1])),t=n(r(d[2])),s=r(d[3]),o=['numberOfPointers','direction'];e.flingGestureHandlerProps=o;e.flingHandlerName="FlingGestureHandler";var u=(0,t.default)({name:"FlingGestureHandler",allowedProps:[].concat((0,l.default)(s.baseGestureHandlerProps),o),config:{}});e.FlingGestureHandler=u},512,[3,53,414,504]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var u,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=l.forwardRef(function(u,p){var v=Object.keys(u).reduce(function(t,n){var l=c;return l.includes(n)&&(t[n]=u[n]),t},(0,n.default)({},f)),s=(0,l.useRef)(),y=(0,l.useRef)();return(0,l.useImperativeHandle)(p,function(){var t=y.current;return s.current&&t?(s.current.handlerTag=t.handlerTag,s.current):null},[s,y]),l.createElement(o.NativeViewGestureHandler,(0,n.default)({},v,{ref:y}),l.createElement(t,(0,n.default)({},u,{ref:s})))});return p.displayName=(null==t?void 0:t.displayName)||(null==t?void 0:null==(u=t.render)?void 0:u.name)||'string'==typeof t&&t||'ComponentWrapper',p};var n=t(r(d[1])),u=t(r(d[2])),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=f(n);if(u&&u.has(t))return u.get(t);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=o?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(l,c,p):l[c]=t[c]}l.default=t,u&&u.set(t,l);return l})(r(d[3])),o=r(d[4]);function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(f=function(t){return t?u:n})(t)}var c=[].concat((0,u.default)(o.nativeViewProps),['onGestureHandlerEvent','onGestureHandlerStateChange'])},513,[3,29,53,169,514]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.nativeViewProps=e.nativeViewHandlerName=e.nativeViewGestureHandlerProps=e.NativeViewGestureHandler=void 0;var n=t(r(d[1])),l=t(r(d[2])),s=r(d[3]),v=['shouldActivateOnStart','disallowInterruption'];e.nativeViewGestureHandlerProps=v;var o=[].concat((0,n.default)(s.baseGestureHandlerProps),v);e.nativeViewProps=o;e.nativeViewHandlerName="NativeViewGestureHandler";var u=(0,l.default)({name:"NativeViewGestureHandler",allowedProps:o,config:{}});e.NativeViewGestureHandler=u},514,[3,53,414,504]); -__d(function(_g,r,_i2,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.GestureDetector=void 0;var t,n,u=e(r(d[1])),l=e(r(d[2])),o=e(r(d[3])),s=e(r(d[4])),i=e(r(d[5])),E=e(r(d[6])),c=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=B(t);if(n&&n.has(e))return n.get(e);var u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=l?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(u,o,s):u[o]=e[o]}u.default=e,n&&n.set(e,u);return u})(r(d[7])),C=r(d[8]),T=r(d[9]),A=r(d[10]),g=e(r(d[11])),f=r(d[12]),v=r(d[13]),L=r(d[14]),_=r(d[15]),h=r(d[16]),S=r(d[17]),p=r(d[18]),N=r(d[19]),P=r(d[20]),U=r(d[21]),H=r(d[22]),D=r(d[23]);function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(B=function(e){return e?n:t})(e)}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=K(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var u=0;return function(){return u>=e.length?{done:!0}:{done:!1,value:e[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function K(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,u=new Array(t);n0}))?t:[]}function k(e){for(var t,n=y(e.config);!(t=n()).done;){var u=t.value;g.default.dropGestureHandler(u.handlerTag),(0,A.unregisterHandler)(u.handlerTag,u.config.testId)}}function W(e){if(!e.config.runOnJS)e.handlers.isWorklet.includes(!1),e.handlers.isWorklet.includes(!0)}function R(e){var t=e.preparedGesture,n=e.gestureConfig,u=e.gesture,l=e.viewTag;t.firstExecution?t.firstExecution=!1:null==n||n.initialize(),setImmediate(function(){null==n||n.prepare()});for(var o,s=function(e){W(e),g.default.createGestureHandler(e.handlerName,e.handlerTag,(0,f.filterConfig)(e.config,I)),(0,A.registerHandler)(e.handlerTag,e,e.config.testId),setImmediate(function(){var t=[];e.config.requireToFail&&(t=G(e.config.requireToFail));var n=[];e.config.simultaneousWith&&(n=G(e.config.simultaneousWith)),g.default.updateGestureHandler(e.handlerTag,(0,f.filterConfig)(e.config,I,{simultaneousHandlers:n,waitFor:t}))})},i=y(u);!(o=i()).done;){s(o.value)}t.config=u;for(var E,c=y(t.config);!(E=c()).done;){var C=E.value,T=C.shouldUseReanimated?U.ActionType.REANIMATED_WORKLET:U.ActionType.JS_FUNCTION_NEW_API;g.default.attachGestureHandler(C.handlerTag,l,T)}if(t.animatedHandlers){t.animatedHandlers.value=u.filter(function(e){return e.shouldUseReanimated}).map(function(e){return e.handlers})}}function M(e,t,n){null==t||t.prepare();for(var u=0;u3?l-3:0),i=3;i=e.length?{done:!0}:{done:!1,value:e[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function K(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,u=new Array(t);n0}))?t:[]}function k(e){for(var t,n=y(e.config);!(t=n()).done;){var u=t.value;f.default.dropGestureHandler(u.handlerTag),(0,A.unregisterHandler)(u.handlerTag,u.config.testId)}}function R(e){if(!e.config.runOnJS)e.handlers.isWorklet.includes(!1),e.handlers.isWorklet.includes(!0)}function W(e){var t=e.preparedGesture,n=e.gestureConfig,u=e.gesture,l=e.viewTag;t.firstExecution?t.firstExecution=!1:null==n||n.initialize(),setImmediate(function(){null==n||n.prepare()});for(var o,s=function(e){R(e),f.default.createGestureHandler(e.handlerName,e.handlerTag,(0,g.filterConfig)(e.config,I)),(0,A.registerHandler)(e.handlerTag,e,e.config.testId),setImmediate(function(){var t=[];e.config.requireToFail&&(t=G(e.config.requireToFail));var n=[];e.config.simultaneousWith&&(n=G(e.config.simultaneousWith)),f.default.updateGestureHandler(e.handlerTag,(0,g.filterConfig)(e.config,I,{simultaneousHandlers:n,waitFor:t}))})},i=y(u);!(o=i()).done;){s(o.value)}t.config=u;for(var E,c=y(t.config);!(E=c()).done;){var C=E.value,T=C.shouldUseReanimated?U.ActionType.REANIMATED_WORKLET:U.ActionType.JS_FUNCTION_NEW_API;f.default.attachGestureHandler(C.handlerTag,l,T)}if(t.animatedHandlers){t.animatedHandlers.value=u.filter(function(e){return e.shouldUseReanimated}).map(function(e){return e.handlers})}}function M(e,t,n){null==t||t.prepare();for(var u=0;u3?l-3:0),i=3;i0?s.current.eventNames.forEach(function(e){i[e]=H('listeners',s.current)?s.current.listeners[e]:T}):i[o]=T:s instanceof v.default?s instanceof h.default&&(i[o]=s._startingValue):'onGestureHandlerStateChange'===o&&(0,k.isChromeDebugger)()||(i[o]=s)};for(var s in e)o(s);return i}},{key:"render",value:function(){var n=this._filterNonAnimatedProps(this.props);(0,k.isJest)()&&(n.animatedStyle=this.animatedStyle),this._isFirstRender&&(this._isFirstRender=!1);var i=c.Platform.select({web:{},default:{collapsable:!1}});return u.default.createElement(e,(0,t.default)({},n,{ref:this._setComponentRef},i))}}]),B})(u.default.Component);return D.displayName="AnimatedComponent("+(e.displayName||e.name||'Component')+")",u.default.forwardRef(function(e,n){return u.default.createElement(D,(0,t.default)({},e,null===n?null:{forwardedRef:n}))})};var t=e(r(d[1])),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),s=e(r(d[5])),l=e(r(d[6])),u=e(r(d[7])),c=r(d[8]),f=e(r(d[9])),p=e(r(d[10])),v=e(r(d[11])),h=e(r(d[12])),_=r(d[13]),y=e(r(d[14])),w=e(r(d[15]));r(d[16]);var b=e(r(d[17])),P=r(d[18]),A=r(d[19]),N=r(d[20]),R=r(d[21]),k=r(d[22]),E=r(d[23]);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=C(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?s.current.eventNames.forEach(function(e){i[e]=H('listeners',s.current)?s.current.listeners[e]:T}):i[o]=T:s instanceof v.default?s instanceof h.default&&(i[o]=s._startingValue):'onGestureHandlerStateChange'===o&&(0,k.isChromeDebugger)()||(i[o]=s)};for(var s in e)o(s);return i}},{key:"render",value:function(){var n=this._filterNonAnimatedProps(this.props);(0,k.isJest)()&&(n.animatedStyle=this.animatedStyle),this._isFirstRender&&(this._isFirstRender=!1);var i=c.Platform.select({web:{},default:{collapsable:!1}});return u.default.createElement(e,(0,t.default)({},n,{ref:this._setComponentRef},i))}}]),J})(u.default.Component);return D.displayName="AnimatedComponent("+(e.displayName||e.name||'Component')+")",u.default.forwardRef(function(e,n){return u.default.createElement(D,(0,t.default)({},e,null===n?null:{forwardedRef:n}))})};var t=e(r(d[1])),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),s=e(r(d[5])),l=e(r(d[6])),u=e(r(d[7])),c=r(d[8]),f=e(r(d[9])),p=e(r(d[10])),v=e(r(d[11])),h=e(r(d[12])),_=r(d[13]),y=e(r(d[14])),w=e(r(d[15]));r(d[16]);var b=e(r(d[17])),P=r(d[18]),A=r(d[19]),N=r(d[20]),R=r(d[21]),k=r(d[22]),E=r(d[23]);function S(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=C(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0])||arguments[0];(0,t.default)(this,n),this.native=u,this.useOnlyV1=null===l}return(0,u.default)(n,[{key:"installCoreFunctions",value:function(n){return l.installCoreFunctions(n)}},{key:"makeShareable",value:function(n){return l.makeShareable(n)}},{key:"makeMutable",value:function(n){return l.makeMutable(n)}},{key:"makeRemote",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l.makeRemote(n)}},{key:"startMapper",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3?arguments[3]:void 0,v=arguments.length>4?arguments[4]:void 0;return l.startMapper(n,t,u,o,v)}},{key:"stopMapper",value:function(n){return l.stopMapper(n)}},{key:"registerEventHandler",value:function(n,t){return l.registerEventHandler(n,t)}},{key:"unregisterEventHandler",value:function(n){return l.unregisterEventHandler(n)}},{key:"getViewProp",value:function(n,t,u){return l.getViewProp(n,t,u)}},{key:"enableLayoutAnimations",value:function(n){l.enableLayoutAnimations(n)}}]),n})();e.NativeReanimated=o},554,[3,6,7]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t){var n=t.getForwardedRef,o=t.setLocalRef;return function(t){var f=n();o(t),'function'==typeof f?f(t):'object'==typeof f&&null!=f&&(f.current=t)}};e.default=t},555,[]); -__d(function(g,r,i,a,m,e,d){var n,t=r(d[0])(r(d[1])),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]);(0,o.runOnUI)(((n=function(){var n={},o={};g.LayoutAnimationRepository={configs:n,registerConfig:function(t,s){n[t]=s,o[t]=null},removeConfig:function(t){delete n[t],delete o[t]},startAnimationForTag:function(u,f,v){if(null!=n[u]){var y=n[u][f](v),p=y.animations;if('entering'===f)o[u]=y;else if('layout'===f&&null!==o[u]){var A=o[u].animations,_=y.animations;for(var b in p={},A)p[b]=A[b];for(var k in _)p[k]=_[k]}var C=n[u].sv;_stopObservingProgress(u,!1),_startObservingProgress(u,C);var P={};for(var O in y.initialValues)if(l.ColorProperties.includes(O)){var h=y.initialValues[O];P[O]=h,y.initialValues[O]=(0,c.processColor)(h)}C.value=(0,t.default)({},C._value,y.initialValues),_stopObservingProgress(u,!1);var V=(0,s.withStyleAnimation)(p);V.callback=function(n){n&&_stopObservingProgress(u,n),y.callback&&y.callback(n)},n[u].sv._value=(0,t.default)({},n[u].sv.value,P),n[u].sv.value=V,_startObservingProgress(u,C)}}}})._closure={ColorProperties:l.ColorProperties,processColor:c.processColor,withStyleAnimation:s.withStyleAnimation},n.asString="function _f(){const{ColorProperties,processColor,withStyleAnimation}=jsThis._closure;{const configs={};const enteringAnimationForTag={};global.LayoutAnimationRepository={configs:configs,registerConfig:function(tag,config){configs[tag]=config;enteringAnimationForTag[tag]=null;},removeConfig:function(tag){delete configs[tag];delete enteringAnimationForTag[tag];},startAnimationForTag:function(tag,type,yogaValues){if(configs[tag]==null){return;}const style=configs[tag][type](yogaValues);let currentAnimation=style.animations;if(type==='entering'){enteringAnimationForTag[tag]=style;}else if(type==='layout'&&enteringAnimationForTag[tag]!==null){const entryAniamtion=enteringAnimationForTag[tag].animations;const layoutAnimation=style.animations;currentAnimation={};for(const key in entryAniamtion){currentAnimation[key]=entryAniamtion[key];}for(const key in layoutAnimation){currentAnimation[key]=layoutAnimation[key];}}const sv=configs[tag].sv;_stopObservingProgress(tag,false);_startObservingProgress(tag,sv);const backupColor={};for(const key in style.initialValues){if(ColorProperties.includes(key)){const value=style.initialValues[key];backupColor[key]=value;style.initialValues[key]=processColor(value);}}sv.value=Object.assign({},sv._value,style.initialValues);_stopObservingProgress(tag,false);const animation=withStyleAnimation(currentAnimation);animation.callback=function(finished){if(finished){_stopObservingProgress(tag,finished);}style.callback&&style.callback(finished);};if(backupColor){configs[tag].sv._value={...configs[tag].sv.value,...backupColor};}configs[tag].sv.value=animation;_startObservingProgress(tag,sv);}};}}",n.__workletHash=0x92181e51f99,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts (7:8)",g.__reanimatedWorkletInit(n),n))()},556,[3,29,557,558,572,560]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.checkPluginState=void 0,e.enableLayoutAnimations=function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?j.setByUser||j.enableLayoutAnimations===t||(j.enableLayoutAnimations=t,o.default.enableLayoutAnimations(t)):(j={enableLayoutAnimations:t,setByUser:!0},o.default.enableLayoutAnimations(t))},e.getTimestamp=void 0,e.getViewProp=function(t,n){return new Promise(function(l,u){return o.default.getViewProp(t,n,function(t){'string'==typeof t&&'error:'===t.substr(0,6)?u(t):l(t)})})},e.isConfiguredCheck=e.isConfigured=void 0,e.makeMutable=function(t){return b(),o.default.makeMutable(t)},e.makeRemote=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(),o.default.makeRemote(t)},e.makeShareable=S,e.runOnJS=e.requestFrame=void 0,e.runOnUI=w,e.startMapper=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return b(),o.default.startMapper(t,n,l,u,s)},e.stopMapper=function(t){o.default.stopMapper(t)};var n=t(r(d[1])),o=t(r(d[2])),l=r(d[3]),u=r(d[4]);g.__reanimatedWorkletInit=function(t){t.__worklet=!0},void 0===g._setGlobalConsole&&(g._setGlobalConsole=function(){});var s,c=((s=function(){})._closure={},s.asString="function _f(){}",s.__workletHash=0xee9333ba43b,s.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (45:48)",g.__reanimatedWorkletInit(s),s),f=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!c.__workletHash&&!(0,u.shouldBeUseWeb)()){if(t)throw new Error("Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?");return!1}return!0};e.checkPluginState=f;var _=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return f(t)&&!o.default.useOnlyV1};e.isConfigured=_;var b=function(){if(!_(!0))throw new Error('If you want to use Reanimated 2 then go through our installation steps https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation')};e.isConfiguredCheck=b;var v=(function(){var t=function(t){if(Array.isArray(t))return t;if('undefined'!=typeof Symbol&&('function'==typeof Symbol?Symbol.iterator:'@@iterator')in Object(t))return Array.from(t);throw new Error('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')};return t._closure={},t.asString="function _toArrayReanimated(object){if(Array.isArray(object)){return object;}if(typeof Symbol!=='undefined'&&(typeof Symbol==='function'?Symbol.iterator:'@@iterator')in Object(object)){return Array.from(object);}throw new Error('Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');}",t.__workletHash=0xdc7edd7d879,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (77:0)",g.__reanimatedWorkletInit(t),t})(),p=(function(){var t=function(){var t=Array.from(arguments);return Object.assign.apply(null,[t[0]].concat((0,n.default)(t.slice(1))))};return t._closure={},t.asString="function _mergeObjectsReanimated(){const arr=Array.from(arguments);return Object.assign.apply(null,[arr[0],...arr.slice(1)]);}",t.__workletHash=4147196866066,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (94:0)",g.__reanimatedWorkletInit(t),t})();function h(t){o.default.pushFrame(t)}g.__reanimatedWorkletInit=function(t){if(t.__worklet=!0,t._closure){var n=t._closure;Object.keys(n).forEach(function(t){'_toConsumableArray'===t&&(n[t]=v),'_objectSpread'===t&&(n[t]=p)})}};var k,y=(function(){var t=function(t){o.default.native?requestAnimationFrame(t):h(t)};return t._closure={NativeReanimatedModule:{native:o.default.native},pushFrame:h},t.asString="function requestFrame(frame){const{NativeReanimatedModule,pushFrame}=jsThis._closure;{if(NativeReanimatedModule.native){requestAnimationFrame(frame);}else{pushFrame(frame);}}}",t.__workletHash=0xb04f1328f27,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:7)",g.__reanimatedWorkletInit(t),t})();function w(t){return S(t)}function S(t){return b(),o.default.makeShareable(t)}e.requestFrame=y,g._WORKLET=!1,g._log=function(t){},k=(0,u.nativeShouldBeMock)()?function(){return o.default.getTimestamp()}:(function(){var t=function(){return _frameTimestamp||(_eventTimestamp||_getCurrentTime())};return t._closure={},t.asString="function _f(){if(_frameTimestamp){return _frameTimestamp;}if(_eventTimestamp){return _eventTimestamp;}return _getCurrentTime();}",t.__workletHash=7105333655134,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (170:18)",g.__reanimatedWorkletInit(t),t})();var A=(function(){var t=function(){return'web'===l.Platform.OS?o.default.getTimestamp():k()};return t._closure={Platform:{OS:l.Platform.OS},NativeReanimatedModule:{getTimestamp:o.default.getTimestamp},_getTimestamp:k},t.asString="function getTimestamp(){const{Platform,NativeReanimatedModule,_getTimestamp}=jsThis._closure;{if(Platform.OS==='web'){return NativeReanimatedModule.getTimestamp();}return _getTimestamp();}}",t.__workletHash=0xf4332333fe7,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (182:7)",g.__reanimatedWorkletInit(t),t})();e.getTimestamp=A;var O=(function(){var t=function(t){var n,o=this,l=this._animation;if(l&&(l.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&void 0!==t.onFrame){var u='function'==typeof t?t():t;if(this._value===u.current&&!u.isHigherOrder)return void(u.callback&&u.callback(!0));n=A(),u.onStart(u,o.value,n,l);var s=function t(n){if(u.cancelled)u.callback&&u.callback(!1);else{var l=u.onFrame(u,n);u.finished=!0,u.timestamp=n,o._value=u.current,l?u.callback&&u.callback(!0):requestAnimationFrame(t)}};this._animation=u,_frameTimestamp?s(_frameTimestamp):requestAnimationFrame(s)}else{if(this._value===t)return;this._value=t}};return t._closure={getTimestamp:A},t.asString="function workletValueSetter(value){const{getTimestamp}=jsThis._closure;{var _this=this;const previousAnimation=this._animation;if(previousAnimation){previousAnimation.cancelled=true;this._animation=null;}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined){const animation=typeof value==='function'?value():value;if(this._value===animation.current&&!animation.isHigherOrder){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,_this.value,timestamp,previousAnimation);};initializeAnimation(getTimestamp());const step=function(timestamp){if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;_this._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};this._animation=animation;if(_frameTimestamp){step(_frameTimestamp);}else{requestAnimationFrame(step);}}else{if(this._value===value){return;}this._value=value;}}}",t.__workletHash=0xf66d5490e96,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (190:0)",g.__reanimatedWorkletInit(t),t})();var T=(function(){var t=function(t){if(!_WORKLET)return t;if(t.__callAsync)return t.__callAsync;throw new Error("Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets")};return t._closure={},t.asString="function runOnJS(fun){if(!_WORKLET){return fun;}if(!fun.__callAsync){throw new Error(\"Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets\");}else{return fun.__callAsync;}}",t.__workletHash=6674264901856,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (349:7)",g.__reanimatedWorkletInit(t),t})();if(e.runOnJS=T,!o.default.useOnlyV1&&(o.default.installCoreFunctions(o.default.native?O:function(t){var n=this,o=this._animation;if(o&&(o.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&t.onFrame){var l='function'==typeof t?t():t,u=function(t){l.onStart(l,n.value,t,o)};this._animation=l,y(function t(o){if(l.cancelled)l.callback&&l.callback(!1);else{u&&(u(o),u=null);var s=l.onFrame(l,o);l.timestamp=o,n._setValue&&n._setValue(l.current),s?l.callback&&l.callback(!0):y(t)}})}else this._setValue&&this._setValue(t)}),!(0,u.isWeb)()&&_())){var W=console;w((function(){var t=function(){var t={debug:T(W.debug),log:T(W.log),warn:T(W.warn),error:T(W.error),info:T(W.info)};_setGlobalConsole(t),null==g.performance&&(g.performance={now:g._chronoNow})};return t._closure={runOnJS:T,capturableConsole:{debug:W.debug,log:W.log,warn:W.warn,error:W.error,info:W.info}},t.asString="function _f(){const{runOnJS,capturableConsole}=jsThis._closure;{const console={debug:runOnJS(capturableConsole.debug),log:runOnJS(capturableConsole.log),warn:runOnJS(capturableConsole.warn),error:runOnJS(capturableConsole.error),info:runOnJS(capturableConsole.info)};_setGlobalConsole(console);if(global.performance==null){global.performance={now:global._chronoNow};}}}",t.__workletHash=0xded4f7dacc4,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (374:12)",g.__reanimatedWorkletInit(t),t})())()}var j={enableLayoutAnimations:!1,setByUser:!1}},557,[3,53,548,17,523]); -__d(function(g,r,_i4,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withStyleAnimation=e.setPath=e.resolvePath=void 0;var t=r(d[0]),n=r(d[1]),i=r(d[2]),o=r(d[3]);function c(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=u(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i0;){var l=u.pop();if(Array.isArray(l.value))for(var s=0;s0;){var s=l.pop();if(Array.isArray(s.value))for(var v=0;v0;){var i=n.pop();if(Array.isArray(i))for(var o,l=c(i);!(o=l()).done;){var s=o.value;n.push(s)}else if('object'==typeof i&&void 0===i.onStart)for(var y=0,h=Object.values(i);y0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}}",t.__workletHash=9887536897803,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (74:51)",g.__reanimatedWorkletInit(t),t})())};return u._closure={defineAnimation:t.defineAnimation,ColorProperties:i.ColorProperties,processColor:o.processColor,setPath:h,resolvePath:y,withTiming:n.withTiming},u.asString="function withStyleAnimation(styleAnimations){const{defineAnimation,ColorProperties,processColor,setPath,resolvePath,withTiming}=jsThis._closure;{return defineAnimation({},function(){'worklet';const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}}",u.__workletHash=0xda60413ad29,u.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (70:7)",g.__reanimatedWorkletInit(u),u})();e.withStyleAnimation=v},558,[559,561,572,560]); -__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.defineAnimation=e.cancelAnimation=void 0,e.initialUpdaterRun=function(n){u=!0;var i=n();return u=!1,i},e.withStartValue=void 0;var i=n(r(d[1])),t=r(d[2]),o=n(r(d[3])),u=!1;var s,c=((s=function(n){if('string'==typeof n){var i,t=n.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw Error("Couldn't parse animation value. Check if there isn't any typo.");var o=t[1],u=t[4],s=t[2]+(null!=(i=t[3])?i:'');return{prefix:o,suffix:u,strippedValue:parseFloat(s)}}return{strippedValue:n}})._closure={},s.asString="function recognizePrefixSuffix(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw Error(\"Couldn't parse animation value. Check if there isn't any typo.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}",s.__workletHash=0x95dcba9cd08,s.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (38:0)",g.__reanimatedWorkletInit(s),s),f=(function(){var n=function(n){if(!n.isHigherOrder){var o=n.onStart,u=n.onFrame,s=(0,i.default)({},n);delete s.callback;var f=function(n,i,t,u){var s,f,l=c(i),_=l.prefix,p=l.suffix,v=l.strippedValue;n.__prefix=_,n.__suffix=p,n.strippedCurrent=v;var A,V,x=c(n.toValue).strippedValue;(n.current=v,n.startValue=v,n.toValue=x,u&&u!==n&&(u.current=u.strippedCurrent),o(n,v,t,u),n.current=(null!=(s=n.__prefix)?s:'')+n.current+(null!=(f=n.__suffix)?f:''),u&&u!==n)&&(u.current=(null!=(A=u.__prefix)?A:'')+u.current+(null!=(V=u.__suffix)?V:''))},l=function(n,i){var t,o;n.current=n.strippedCurrent;var s=u(n,i);return n.strippedCurrent=n.current,n.current=(null!=(t=n.__prefix)?t:'')+n.current+(null!=(o=n.__suffix)?o:''),s},_=['H','S','V','A'],p=function(n,o,u,c){var f,l,p,v=[];(0,t.isColor)(o)&&(l=(0,t.convertToHSVA)(n.current),f=(0,t.convertToHSVA)(o),n.toValue&&(p=(0,t.convertToHSVA)(n.toValue))),_.forEach(function(t,o){n[t]=(0,i.default)({},s),n[t].current=l[o],n[t].toValue=p?p[o]:void 0,n[t].onStart(n[t],f[o],u,c?c[t]:void 0),v.push(n[t].current)}),n.current=(0,t.toRGBA)(v)},v=function(n,i){var o=(0,t.convertToHSVA)(n.current),u=[],s=!0;return _.forEach(function(t,c){n[t].current=o[c],s&=n[t].onFrame(n[t],i),u.push(n[t].current)}),n.current=(0,t.toRGBA)(u),s},A=function(n,t,o,u){t.forEach(function(t,c){n[c]=(0,i.default)({},s),n[c].current=t,n[c].toValue=n.toValue[c],n[c].onStart(n[c],t,o,u?u[c]:void 0)}),n.current=t},V=function(n,i){var t=!0;return n.current.forEach(function(o,u){t&=n[u].onFrame(n[u],i),n.current[u]=n[u].current}),t};n.onStart=function(n,i,u,s){return(0,t.isColor)(i)?(p(n,i,u,s),void(n.onFrame=v)):Array.isArray(i)?(A(n,i,u,s),void(n.onFrame=V)):'string'==typeof i?(f(n,i,u,s),void(n.onFrame=l)):void o(n,i,u,s)}}};return n._closure={recognizePrefixSuffix:c,isColor:t.isColor,convertToHSVA:t.convertToHSVA,toRGBA:t.toRGBA},n.asString="function decorateAnimation(animation){const{recognizePrefixSuffix,isColor,convertToHSVA,toRGBA}=jsThis._closure;{if(animation.isHigherOrder){return;}const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){previousAnimation.current=previousAnimation.strippedCurrent;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['H','S','V','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let HSVAValue;let HSVACurrent;let HSVAToValue;const res=[];if(isColor(value)){HSVACurrent=convertToHSVA(animation.current);HSVAValue=convertToHSVA(value);if(animation.toValue){HSVAToValue=convertToHSVA(animation.toValue);}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=HSVACurrent[index];animation[i].toValue=HSVAToValue?HSVAToValue[index]:undefined;animation[i].onStart(animation[i],HSVAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.current=toRGBA(res);};const colorOnFrame=function(animation,timestamp){const HSVACurrent=convertToHSVA(animation.current);const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=HSVACurrent[index];finished&=animation[i].onFrame(animation[i],timestamp);res.push(animation[i].current);});animation.current=toRGBA(res);return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=value;};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(v,i){finished&=animation[i].onFrame(animation[i],timestamp);animation.current[i]=animation[i].current;});return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}}",n.__workletHash=0xd77acdd9584,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (59:0)",g.__reanimatedWorkletInit(n),n})(),l=(function(){var n=function(n,i){if(u)return n;var t=(function(){var n=function(){var n=i();return f(n),n};return n._closure={factory:i,decorateAnimation:f},n.asString="function _f(){const{factory,decorateAnimation}=jsThis._closure;{const animation=factory();decorateAnimation(animation);return animation;}}",n.__workletHash=2441595458132,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (250:17)",g.__reanimatedWorkletInit(n),n})();return _WORKLET||!o.default.native?t():t};return n._closure={IN_STYLE_UPDATER:u,decorateAnimation:f,NativeReanimatedModule:{native:o.default.native}},n.asString="function defineAnimation(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,NativeReanimatedModule}=jsThis._closure;{if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||!NativeReanimatedModule.native){return create();}return create;}}",n.__workletHash=4939784890886,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (243:7)",g.__reanimatedWorkletInit(n),n})();e.defineAnimation=l;var _=(function(){var n=function(n){n.value=n.value};return n._closure={},n.asString="function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}",n.__workletHash=0xdb1b4231136,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (264:7)",g.__reanimatedWorkletInit(n),n})();e.cancelAnimation=_;var p=(function(){var n=function(n,i){return l(n,(function(){var t=function(){return _WORKLET||'function'!=typeof i||(i=i()),i.current=n,i};return t._closure={animation:i,startValue:n},t.asString="function _f(){const{animation,startValue}=jsThis._closure;{if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;}}",t.__workletHash=5374403234008,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (276:37)",g.__reanimatedWorkletInit(t),t})())};return n._closure={defineAnimation:l},n.asString="function withStartValue(startValue,animation){const{defineAnimation}=jsThis._closure;{return defineAnimation(startValue,function(){'worklet';if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;});}}",n.__workletHash=5100017907325,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (271:7)",g.__reanimatedWorkletInit(n),n})();e.withStartValue=p},559,[3,29,560,548]); -__d(function(_g,_r,_i,_a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.toRGBA=e.rgbaColor=e.red=e.processColorInitially=e.processColor=e.opacity=e.isColor=e.hsvToColor=e.green=e.convertToHSVA=e.blue=e.RGBtoHSV=void 0;var r,t=_r(_d[0]),a=_r(_d[1]),o='[-+]?\\d*\\.?\\d+',n="[-+]?\\d*\\.?\\d+%",l=((r=function(){for(var r=arguments.length,t=new Array(r),a=0;a1&&(a-=1),a<.16666666666666666?r+6*(t-r)*a:a<.5?t:a<.6666666666666666?r+(t-r)*(.6666666666666666-a)*6:r};return r._closure={},r.asString="function hue2rgb(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}",r.__workletHash=3618366985414,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (78:0)",_g.__reanimatedWorkletInit(r),r})(),d=(function(){var r=function(r,t,a){var o=a<.5?a*(1+t):a+t-a*t,n=2*a-o,l=u(n,o,r+.3333333333333333),s=u(n,o,r),i=u(n,o,r-.3333333333333333);return Math.round(255*l)<<24|Math.round(255*s)<<16|Math.round(255*i)<<8};return r._closure={hue2rgb:u},r.asString="function hslToRgb(h,s,l){const{hue2rgb}=jsThis._closure;{const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}}",r.__workletHash=4500055963175,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (98:0)",_g.__reanimatedWorkletInit(r),r})(),h=(function(){var r=function(r){var t=Number.parseInt(r,10);return t<0?0:t>255?255:t};return r._closure={},r.asString="function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}",r.__workletHash=7024550667346,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (113:0)",_g.__reanimatedWorkletInit(r),r})(),g=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r._closure={},r.asString="function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}",r.__workletHash=6683812623228,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (125:0)",_g.__reanimatedWorkletInit(r),r})(),b=(function(){var r=function(r){var t=Number.parseFloat(r);return t<0?0:t>1?255:Math.round(255*t)};return r._closure={},r.asString="function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}",r.__workletHash=7197247664793,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (131:0)",_g.__reanimatedWorkletInit(r),r})(),_=(function(){var r=function(r){var t=Number.parseFloat(r);return t<0?0:t>100?1:t/100};return r._closure={},r.asString="function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}",r.__workletHash=8813932430184,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (143:0)",_g.__reanimatedWorkletInit(r),r})(),f=(0,a.isConfigured)()?(0,a.makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}):null,v=(function(){var r=function(r){var t,a,o,n,l,s,i,u;if('number'==typeof r)return r>>>0===r&&r>=0&&r<=4294967295?r:null;if('string'!=typeof r)return null;var v,p=c();return(v=null==p?void 0:null==(t=p.hex6)?void 0:t.exec(r))?Number.parseInt(v[1]+'ff',16)>>>0:void 0!==f[r]?f[r]:(v=null==p?void 0:null==(a=p.rgb)?void 0:a.exec(r))?(h(v[1])<<24|h(v[2])<<16|h(v[3])<<8|255)>>>0:(v=null==p?void 0:null==(o=p.rgba)?void 0:o.exec(r))?(h(v[1])<<24|h(v[2])<<16|h(v[3])<<8|b(v[4]))>>>0:(v=null==p?void 0:null==(n=p.hex3)?void 0:n.exec(r))?Number.parseInt(v[1]+v[1]+v[2]+v[2]+v[3]+v[3]+'ff',16)>>>0:(v=null==p?void 0:null==(l=p.hex8)?void 0:l.exec(r))?Number.parseInt(v[1],16)>>>0:(v=null==p?void 0:null==(s=p.hex4)?void 0:s.exec(r))?Number.parseInt(v[1]+v[1]+v[2]+v[2]+v[3]+v[3]+v[4]+v[4],16)>>>0:(v=null==p?void 0:null==(i=p.hsl)?void 0:i.exec(r))?(255|d(g(v[1]),_(v[2]),_(v[3])))>>>0:(v=null==p?void 0:null==(u=p.hsla)?void 0:u.exec(r))?(d(g(v[1]),_(v[2]),_(v[3]))|b(v[4]))>>>0:null};return r._closure={getMatchers:c,names:f,parse255:h,parse1:b,hslToRgb:d,parse360:g,parsePercentage:_},r.asString="function normalizeColor(color){const{getMatchers,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=jsThis._closure;{var _matchers$hex,_matchers$rgb,_matchers$rgba,_matchers$hex2,_matchers$hex3,_matchers$hex4,_matchers$hsl,_matchers$hsla;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}const matchers=getMatchers();let match;if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex=matchers.hex6)===null||_matchers$hex===void 0?void 0:_matchers$hex.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgb=matchers.rgb)===null||_matchers$rgb===void 0?void 0:_matchers$rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgba=matchers.rgba)===null||_matchers$rgba===void 0?void 0:_matchers$rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex2=matchers.hex3)===null||_matchers$hex2===void 0?void 0:_matchers$hex2.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex3=matchers.hex8)===null||_matchers$hex3===void 0?void 0:_matchers$hex3.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex4=matchers.hex4)===null||_matchers$hex4===void 0?void 0:_matchers$hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsl=matchers.hsl)===null||_matchers$hsl===void 0?void 0:_matchers$hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsla=matchers.hsla)===null||_matchers$hsla===void 0?void 0:_matchers$hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}}",r.__workletHash=0x9c840fd31ae,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (313:0)",_g.__reanimatedWorkletInit(r),r})(),p=(function(){var r=function(r){return(r>>24&255)/255};return r._closure={},r.asString="function _f(c){return(c>>24&255)/255;}",r.__workletHash=0xd60a2a09964,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (425:23)",_g.__reanimatedWorkletInit(r),r})();e.opacity=p;var k=(function(){var r=function(r){return r>>16&255};return r._closure={},r.asString="function _f(c){return c>>16&255;}",r.__workletHash=0xba6200c4759,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (430:19)",_g.__reanimatedWorkletInit(r),r})();e.red=k;var C=(function(){var r=function(r){return r>>8&255};return r._closure={},r.asString="function _f(c){return c>>8&255;}",r.__workletHash=3499836539046,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (435:21)",_g.__reanimatedWorkletInit(r),r})();e.green=C;var x=(function(){var r=function(r){return 255&r};return r._closure={},r.asString="function _f(c){return c&255;}",r.__workletHash=0xd6ef76daabe,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (440:20)",_g.__reanimatedWorkletInit(r),r})();e.blue=x;var y=(function(){var r=function(r,a,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if('web'===t.Platform.OS||!_WORKLET)return"rgba("+r+", "+a+", "+o+", "+n+")";var l=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(a)+Math.round(o);return'android'===t.Platform.OS?l<2147483648?l:l-4294967296:l};return r._closure={Platform:{OS:t.Platform.OS}},r.asString="function _f(r,g,b,alpha=1){const{Platform}=jsThis._closure;{if(Platform.OS==='web'||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(Platform.OS==='android'){return c<1<<31>>>0?c:c-4294967296;}return c;}}",r.__workletHash=3685267134575,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (445:25)",_g.__reanimatedWorkletInit(r),r})();e.rgbaColor=y;var M=(function(){var r=function(r,t,a){1===arguments.length&&(t=r.g,a=r.b,r=r.r);var o,n=Math.max(r,t,a),l=Math.min(r,t,a),s=n-l,i=0===n?0:s/n,c=n/255;switch(n){default:case l:o=0;break;case r:o=t-a+s*(t>>8)>>>0:void 0};return r._closure={normalizeColor:v},r.asString="function processColorInitially(color){const{normalizeColor}=jsThis._closure;{if(color===null||color===undefined||typeof color==='number'){return color;}let normalizedColor=normalizeColor(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}normalizedColor=(normalizedColor<<24|normalizedColor>>>8)>>>0;return normalizedColor;}}",r.__workletHash=9042500432441,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (582:7)",_g.__reanimatedWorkletInit(r),r})();e.processColorInitially=R;var W=(function(){var r=function(r){return'string'==typeof r&&null!=R(r)};return r._closure={processColorInitially:R},r.asString="function isColor(value){const{processColorInitially}=jsThis._closure;{if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}}",r.__workletHash=1808885354308,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (604:7)",_g.__reanimatedWorkletInit(r),r})();e.isColor=W;var I=(function(){var r=function(r){var a=R(r);if(null!==a&&void 0!==a)return'number'!=typeof a?null:('android'===t.Platform.OS&&(a|=0),a)};return r._closure={processColorInitially:R,Platform:{OS:t.Platform.OS}},r.asString="function processColor(color){const{processColorInitially,Platform}=jsThis._closure;{let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(Platform.OS==='android'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}}",r.__workletHash=0xe59d552167e,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (612:7)",_g.__reanimatedWorkletInit(r),r})();e.processColor=I;var H=(function(){var r=function(r){var t=R(r),a=(t>>>24)/255,o=M(t<<8>>>24,t<<16>>>24,t<<24>>>24);return[o.h,o.s,o.v,a]};return r._closure={processColorInitially:R,RGBtoHSV:M},r.asString="function convertToHSVA(color){const{processColorInitially,RGBtoHSV}=jsThis._closure;{const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=processedColor<<8>>>24;const g=processedColor<<16>>>24;const b=processedColor<<24>>>24;const{h:h,s:s,v:v}=RGBtoHSV(r,g,b);return[h,s,v,a];}}",r.__workletHash=0xb07725cb4ca,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (636:7)",_g.__reanimatedWorkletInit(r),r})();e.convertToHSVA=H;var E=(function(){var r=function(r){var t=w(r[0],r[1],r[2]);return"rgba("+t.r+", "+t.g+", "+t.b+", "+r[3]+")"};return r._closure={HSVtoRGB:w},r.asString="function toRGBA(HSVA){const{HSVtoRGB}=jsThis._closure;{const{r:r,g:g,b:b}=HSVtoRGB(HSVA[0],HSVA[1],HSVA[2]);return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+HSVA[3]+\")\";}}",r.__workletHash=6249111174588,r.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (647:7)",_g.__reanimatedWorkletInit(r),r})();e.toRGBA=E},560,[17,557]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withTiming=void 0;var t,n=r(d[0]),o=r(d[1]),u=((t=function(t,u,s){return(0,o.defineAnimation)(t,(function(){var o=function(){var o={duration:300,easing:n.Easing.inOut(n.Easing.quad)};return u&&Object.keys(u).forEach(function(t){return o[t]=u[t]}),{type:'timing',onFrame:function(t,n){var u=t.toValue,s=t.startTime,c=t.startValue,l=n-s;if(l>=o.duration)return t.startTime=0,t.current=u,!0;var f=t.easing(l/o.duration);return t.current=c+(u-c)*f,!1},onStart:function(n,u,s,c){c&&'timing'===c.type&&c.toValue===t&&c.startTime?(n.startTime=c.startTime,n.startValue=c.startValue):(n.startTime=s,n.startValue=u),n.current=u,'object'==typeof o.easing?n.easing=o.easing.factory():n.easing=o.easing},progress:0,toValue:t,startValue:0,startTime:0,easing:function(){return 0},current:t,callback:s}};return o._closure={Easing:{inOut:n.Easing.inOut,quad:n.Easing.quad},userConfig:u,toValue:t,callback:s},o.asString="function _f(){const{Easing,userConfig,toValue,callback}=jsThis._closure;{const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};}}",o.__workletHash=7771814081277,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)",g.__reanimatedWorkletInit(o),o})())})._closure={defineAnimation:o.defineAnimation,Easing:{inOut:n.Easing.inOut,quad:n.Easing.quad}},t.asString="function withTiming(toValue,userConfig,callback){const{defineAnimation,Easing}=jsThis._closure;{return defineAnimation(toValue,function(){'worklet';const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};});}}",t.__workletHash=2875714024024,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)",g.__reanimatedWorkletInit(t),t);e.withTiming=u},561,[562,559]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Easing=void 0;var n,o=t(r(d[1])),i=r(d[2]),s={linear:((n=function(t){return t})._closure={},n.asString="function linear(t){return t;}",n.__workletHash=7988822508142,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)",g.__reanimatedWorkletInit(n),n),ease:(function(){var t=function(t){return(0,i.Bezier)(.42,0,1,1)(t)};return t._closure={Bezier:i.Bezier},t.asString="function ease(t){const{Bezier}=jsThis._closure;{return Bezier(0.42,0,1,1)(t);}}",t.__workletHash=0xbdc195724f9,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)",g.__reanimatedWorkletInit(t),t})(),quad:(function(){var t=function(t){return t*t};return t._closure={},t.asString="function quad(t){return t*t;}",t.__workletHash=8628631460172,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)",g.__reanimatedWorkletInit(t),t})(),cubic:(function(){var t=function(t){return t*t*t};return t._closure={},t.asString="function cubic(t){return t*t*t;}",t.__workletHash=9374441307661,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)",g.__reanimatedWorkletInit(t),t})(),poly:(function(){var t=function(t){return function(n){return Math.pow(n,t)}};return t._closure={},t.asString="function poly(n){return function(t){return Math.pow(t,n);};}",t.__workletHash=8669070629046,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)",g.__reanimatedWorkletInit(t),t})(),sin:(function(){var t=function(t){return 1-Math.cos(t*Math.PI/2)};return t._closure={},t.asString="function sin(t){return 1-Math.cos(t*Math.PI/2);}",t.__workletHash=8621899987563,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (120:0)",g.__reanimatedWorkletInit(t),t})(),circle:(function(){var t=function(t){return 1-Math.sqrt(1-t*t)};return t._closure={},t.asString="function circle(t){return 1-Math.sqrt(1-t*t);}",t.__workletHash=0xe74766c81e4,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (130:0)",g.__reanimatedWorkletInit(t),t})(),exp:(function(){var t=function(t){return Math.pow(2,10*(t-1))};return t._closure={},t.asString="function exp(t){return Math.pow(2,10*(t-1));}",t.__workletHash=0xe77bf377b41,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (140:0)",g.__reanimatedWorkletInit(t),t})(),elastic:(function(){var t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return(function(){var n=function(n){return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*t)};return n._closure={p:t},n.asString="function _f(t){const{p}=jsThis._closure;{return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}}",n.__workletHash=8897284077766,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function elastic(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}",t.__workletHash=0xe75c59c1497,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (155:0)",g.__reanimatedWorkletInit(t),t})(),back:(function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return function(n){return n*n*((t+1)*n-t)}};return t._closure={},t.asString="function back(s=1.70158){return function(t){return t*t*((s+1)*t-s);};}",t.__workletHash=0xffa86df3d1b,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (172:0)",g.__reanimatedWorkletInit(t),t})(),bounce:(function(){var t=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){var n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<.9090909090909091){var o=t-.8181818181818182;return 7.5625*o*o+.9375}var i=t-.9545454545454546;return 7.5625*i*i+.984375};return t._closure={},t.asString="function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}",t.__workletHash=5721637210615,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (182:0)",g.__reanimatedWorkletInit(t),t})(),bezier:(function(){var t=function(t,n,o,s){return{factory:(function(){var u=function(){return(0,i.Bezier)(t,n,o,s)};return u._closure={Bezier:i.Bezier,x1:t,y1:n,x2:o,y2:s},u.asString="function _f(){const{Bezier,x1,y1,x2,y2}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",u.__workletHash=4879686787739,u.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (217:13)",g.__reanimatedWorkletInit(u),u})()}};return t._closure={Bezier:i.Bezier},t.asString="function bezier(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}}",t.__workletHash=853527302262,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (209:0)",g.__reanimatedWorkletInit(t),t})(),bezierFn:(function(){var t=function(t,n,o,s){return(0,i.Bezier)(t,n,o,s)};return t._closure={Bezier:i.Bezier},t.asString="function bezierFn(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",t.__workletHash=0xdcfbb8beb25,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (224:0)",g.__reanimatedWorkletInit(t),t})(),in:(function(){var t=function(t){return t};return t._closure={},t.asString="function in_(easing){return easing;}",t.__workletHash=1837493474379,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (237:0)",g.__reanimatedWorkletInit(t),t})(),out:(function(){var t=function(t){return(function(){var n=function(n){return 1-t(1-n)};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{return 1-easing(1-t);}}",n.__workletHash=5726884014519,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (247:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function out(easing){return function(t){'worklet';return 1-easing(1-t);};}",t.__workletHash=7718549646703,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (245:0)",g.__reanimatedWorkletInit(t),t})(),inOut:(function(){var t=function(t){return(function(){var n=function(n){return n<.5?t(2*n)/2:1-t(2*(1-n))/2};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}}",n.__workletHash=2325007799982,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (260:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}",t.__workletHash=7048715165105,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (258:0)",g.__reanimatedWorkletInit(t),t})()};function u(t,n,i){var s,c=((s=function(){if(arguments&&!_WORKLET)for(var s=0;s1&&void 0!==arguments[1]&&!arguments[1]?C.setByUser||C.enableLayoutAnimations===t||(C.enableLayoutAnimations=t,o.default.enableLayoutAnimations(t)):(C={enableLayoutAnimations:t,setByUser:!0},o.default.enableLayoutAnimations(t))},e.getTimestamp=void 0,e.getViewProp=function(t,n){return new Promise(function(l,u){return o.default.getViewProp(t,n,function(t){'string'==typeof t&&'error:'===t.substr(0,6)?u(t):l(t)})})},e.isConfiguredCheck=e.isConfigured=void 0,e.makeMutable=function(t){return b(),o.default.makeMutable(t)},e.makeRemote=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(),o.default.makeRemote(t)},e.makeShareable=S,e.runOnJS=e.requestFrame=void 0,e.runOnUI=w,e.startMapper=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return b(),o.default.startMapper(t,n,l,u,s)},e.stopMapper=function(t){o.default.stopMapper(t)};var n=t(r(d[1])),o=t(r(d[2])),l=r(d[3]),u=r(d[4]);g.__reanimatedWorkletInit=function(t){t.__worklet=!0},void 0===g._setGlobalConsole&&(g._setGlobalConsole=function(){});var s,c=((s=function(){})._closure={},s.asString="function _f(){}",s.__workletHash=0xee9333ba43b,s.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (45:48)",g.__reanimatedWorkletInit(s),s),f=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!c.__workletHash&&!(0,u.shouldBeUseWeb)()){if(t)throw new Error("Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?");return!1}return!0};e.checkPluginState=f;var _=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return f(t)&&!o.default.useOnlyV1};e.isConfigured=_;var b=function(){if(!_(!0))throw new Error('If you want to use Reanimated 2 then go through our installation steps https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation')};e.isConfiguredCheck=b;var p=(function(){var t=function(t){if(Array.isArray(t))return t;if('undefined'!=typeof Symbol&&('function'==typeof Symbol?Symbol.iterator:'@@iterator')in Object(t))return Array.from(t);throw new Error('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')};return t._closure={},t.asString="function _toArrayReanimated(object){if(Array.isArray(object)){return object;}if(typeof Symbol!=='undefined'&&(typeof Symbol==='function'?Symbol.iterator:'@@iterator')in Object(object)){return Array.from(object);}throw new Error('Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');}",t.__workletHash=0xdc7edd7d879,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (77:0)",g.__reanimatedWorkletInit(t),t})(),v=(function(){var t=function(){var t=Array.from(arguments);return Object.assign.apply(null,[t[0]].concat((0,n.default)(t.slice(1))))};return t._closure={},t.asString="function _mergeObjectsReanimated(){const arr=Array.from(arguments);return Object.assign.apply(null,[arr[0],...arr.slice(1)]);}",t.__workletHash=4147196866066,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (94:0)",g.__reanimatedWorkletInit(t),t})();function h(t){o.default.pushFrame(t)}g.__reanimatedWorkletInit=function(t){if(t.__worklet=!0,t._closure){var n=t._closure;Object.keys(n).forEach(function(t){'_toConsumableArray'===t&&(n[t]=p),'_objectSpread'===t&&(n[t]=v)})}};var k,y=(function(){var t=function(t){o.default.native?requestAnimationFrame(t):h(t)};return t._closure={NativeReanimatedModule:{native:o.default.native},pushFrame:h},t.asString="function requestFrame(frame){const{NativeReanimatedModule,pushFrame}=jsThis._closure;{if(NativeReanimatedModule.native){requestAnimationFrame(frame);}else{pushFrame(frame);}}}",t.__workletHash=0xb04f1328f27,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (123:7)",g.__reanimatedWorkletInit(t),t})();function w(t){return S(t)}function S(t){return b(),o.default.makeShareable(t)}e.requestFrame=y,g._WORKLET=!1,g._log=function(t){},k=(0,u.nativeShouldBeMock)()?function(){return o.default.getTimestamp()}:(function(){var t=function(){return _frameTimestamp||(_eventTimestamp||_getCurrentTime())};return t._closure={},t.asString="function _f(){if(_frameTimestamp){return _frameTimestamp;}if(_eventTimestamp){return _eventTimestamp;}return _getCurrentTime();}",t.__workletHash=7105333655134,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (170:18)",g.__reanimatedWorkletInit(t),t})();var A=(function(){var t=function(){return'web'===l.Platform.OS?o.default.getTimestamp():k()};return t._closure={Platform:{OS:l.Platform.OS},NativeReanimatedModule:{getTimestamp:o.default.getTimestamp},_getTimestamp:k},t.asString="function getTimestamp(){const{Platform,NativeReanimatedModule,_getTimestamp}=jsThis._closure;{if(Platform.OS==='web'){return NativeReanimatedModule.getTimestamp();}return _getTimestamp();}}",t.__workletHash=0xf4332333fe7,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (182:7)",g.__reanimatedWorkletInit(t),t})();e.getTimestamp=A;var O=(function(){var t=function(t){var n,o=this,l=this._animation;if(l&&(l.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&void 0!==t.onFrame){var u='function'==typeof t?t():t;if(this._value===u.current&&!u.isHigherOrder)return void(u.callback&&u.callback(!0));n=A(),u.onStart(u,o.value,n,l);var s=function t(n){if(u.cancelled)u.callback&&u.callback(!1);else{var l=u.onFrame(u,n);u.finished=!0,u.timestamp=n,o._value=u.current,l?u.callback&&u.callback(!0):requestAnimationFrame(t)}};this._animation=u,_frameTimestamp?s(_frameTimestamp):requestAnimationFrame(s)}else{if(this._value===t)return;this._value=t}};return t._closure={getTimestamp:A},t.asString="function workletValueSetter(value){const{getTimestamp}=jsThis._closure;{var _this=this;const previousAnimation=this._animation;if(previousAnimation){previousAnimation.cancelled=true;this._animation=null;}if(typeof value==='function'||value!==null&&typeof value==='object'&&value.onFrame!==undefined){const animation=typeof value==='function'?value():value;if(this._value===animation.current&&!animation.isHigherOrder){animation.callback&&animation.callback(true);return;}const initializeAnimation=function(timestamp){animation.onStart(animation,_this.value,timestamp,previousAnimation);};initializeAnimation(getTimestamp());const step=function(timestamp){if(animation.cancelled){animation.callback&&animation.callback(false);return;}const finished=animation.onFrame(animation,timestamp);animation.finished=true;animation.timestamp=timestamp;_this._value=animation.current;if(finished){animation.callback&&animation.callback(true);}else{requestAnimationFrame(step);}};this._animation=animation;if(_frameTimestamp){step(_frameTimestamp);}else{requestAnimationFrame(step);}}else{if(this._value===value){return;}this._value=value;}}}",t.__workletHash=0xf66d5490e96,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (190:0)",g.__reanimatedWorkletInit(t),t})();var T=(function(){var t=function(t){if(!_WORKLET)return t;if(t.__callAsync)return t.__callAsync;throw new Error("Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets")};return t._closure={},t.asString="function runOnJS(fun){if(!_WORKLET){return fun;}if(!fun.__callAsync){throw new Error(\"Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets\");}else{return fun.__callAsync;}}",t.__workletHash=6674264901856,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (349:7)",g.__reanimatedWorkletInit(t),t})();if(e.runOnJS=T,!o.default.useOnlyV1&&(o.default.installCoreFunctions(o.default.native?O:function(t){var n=this,o=this._animation;if(o&&(o.cancelled=!0,this._animation=null),'function'==typeof t||null!==t&&'object'==typeof t&&t.onFrame){var l='function'==typeof t?t():t,u=function(t){l.onStart(l,n.value,t,o)};this._animation=l,y(function t(o){if(l.cancelled)l.callback&&l.callback(!1);else{u&&(u(o),u=null);var s=l.onFrame(l,o);l.timestamp=o,n._setValue&&n._setValue(l.current),s?l.callback&&l.callback(!0):y(t)}})}else this._setValue&&this._setValue(t)}),!(0,u.isWeb)()&&_())){var j=console;w((function(){var t=function(){var t={debug:T(j.debug),log:T(j.log),warn:T(j.warn),error:T(j.error),info:T(j.info)};_setGlobalConsole(t),null==g.performance&&(g.performance={now:g._chronoNow})};return t._closure={runOnJS:T,capturableConsole:{debug:j.debug,log:j.log,warn:j.warn,error:j.error,info:j.info}},t.asString="function _f(){const{runOnJS,capturableConsole}=jsThis._closure;{const console={debug:runOnJS(capturableConsole.debug),log:runOnJS(capturableConsole.log),warn:runOnJS(capturableConsole.warn),error:runOnJS(capturableConsole.error),info:runOnJS(capturableConsole.info)};_setGlobalConsole(console);if(global.performance==null){global.performance={now:global._chronoNow};}}}",t.__workletHash=0xded4f7dacc4,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts (374:12)",g.__reanimatedWorkletInit(t),t})())()}var C={enableLayoutAnimations:!1,setByUser:!1}},557,[3,53,548,17,523]); +__d(function(g,r,_i4,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withStyleAnimation=e.setPath=e.resolvePath=void 0;var t=r(d[0]),n=r(d[1]),i=r(d[2]),o=r(d[3]);function c(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=u(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,o=new Array(n);i0;){var l=u.pop();if(Array.isArray(l.value))for(var s=0;s0;){var s=l.pop();if(Array.isArray(s.value))for(var v=0;v0;){var i=n.pop();if(Array.isArray(i))for(var o,l=c(i);!(o=l()).done;){var s=o.value;n.push(s)}else if('object'==typeof i&&void 0===i.onStart)for(var y=0,h=Object.values(i);y0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}}",t.__workletHash=9887536897803,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (74:51)",g.__reanimatedWorkletInit(t),t})())};return u._closure={defineAnimation:t.defineAnimation,ColorProperties:i.ColorProperties,processColor:o.processColor,setPath:h,resolvePath:y,withTiming:n.withTiming},u.asString="function withStyleAnimation(styleAnimations){const{defineAnimation,ColorProperties,processColor,setPath,resolvePath,withTiming}=jsThis._closure;{return defineAnimation({},function(){'worklet';const onFrame=function(animation,now){let stillGoing=false;const entriesToCheck=[{value:animation.styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&¤tAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&¤tStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};});}}",u.__workletHash=0xda60413ad29,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts (70:7)",g.__reanimatedWorkletInit(u),u})();e.withStyleAnimation=v},558,[559,561,572,560]); +__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.defineAnimation=e.cancelAnimation=void 0,e.initialUpdaterRun=function(n){u=!0;var i=n();return u=!1,i},e.withStartValue=void 0;var i=n(r(d[1])),t=r(d[2]),o=n(r(d[3])),u=!1;var s,c=((s=function(n){if('string'==typeof n){var i,t=n.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!t)throw Error("Couldn't parse animation value. Check if there isn't any typo.");var o=t[1],u=t[4],s=t[2]+(null!=(i=t[3])?i:'');return{prefix:o,suffix:u,strippedValue:parseFloat(s)}}return{strippedValue:n}})._closure={},s.asString="function recognizePrefixSuffix(value){if(typeof value==='string'){var _match$;const match=value.match(/([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!match){throw Error(\"Couldn't parse animation value. Check if there isn't any typo.\");}const prefix=match[1];const suffix=match[4];const number=match[2]+((_match$=match[3])!==null&&_match$!==void 0?_match$:'');return{prefix:prefix,suffix:suffix,strippedValue:parseFloat(number)};}else{return{strippedValue:value};}}",s.__workletHash=0x95dcba9cd08,s.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (38:0)",g.__reanimatedWorkletInit(s),s),f=(function(){var n=function(n){if(!n.isHigherOrder){var o=n.onStart,u=n.onFrame,s=(0,i.default)({},n);delete s.callback;var f=function(n,i,t,u){var s,f,l=c(i),_=l.prefix,p=l.suffix,v=l.strippedValue;n.__prefix=_,n.__suffix=p,n.strippedCurrent=v;var A,V,x=c(n.toValue).strippedValue;(n.current=v,n.startValue=v,n.toValue=x,u&&u!==n&&(u.current=u.strippedCurrent),o(n,v,t,u),n.current=(null!=(s=n.__prefix)?s:'')+n.current+(null!=(f=n.__suffix)?f:''),u&&u!==n)&&(u.current=(null!=(A=u.__prefix)?A:'')+u.current+(null!=(V=u.__suffix)?V:''))},l=function(n,i){var t,o;n.current=n.strippedCurrent;var s=u(n,i);return n.strippedCurrent=n.current,n.current=(null!=(t=n.__prefix)?t:'')+n.current+(null!=(o=n.__suffix)?o:''),s},_=['H','S','V','A'],p=function(n,o,u,c){var f,l,p,v=[];(0,t.isColor)(o)&&(l=(0,t.convertToHSVA)(n.current),f=(0,t.convertToHSVA)(o),n.toValue&&(p=(0,t.convertToHSVA)(n.toValue))),_.forEach(function(t,o){n[t]=(0,i.default)({},s),n[t].current=l[o],n[t].toValue=p?p[o]:void 0,n[t].onStart(n[t],f[o],u,c?c[t]:void 0),v.push(n[t].current)}),n.current=(0,t.toRGBA)(v)},v=function(n,i){var o=(0,t.convertToHSVA)(n.current),u=[],s=!0;return _.forEach(function(t,c){n[t].current=o[c],s&=n[t].onFrame(n[t],i),u.push(n[t].current)}),n.current=(0,t.toRGBA)(u),s},A=function(n,t,o,u){t.forEach(function(t,c){n[c]=(0,i.default)({},s),n[c].current=t,n[c].toValue=n.toValue[c],n[c].onStart(n[c],t,o,u?u[c]:void 0)}),n.current=t},V=function(n,i){var t=!0;return n.current.forEach(function(o,u){t&=n[u].onFrame(n[u],i),n.current[u]=n[u].current}),t};n.onStart=function(n,i,u,s){return(0,t.isColor)(i)?(p(n,i,u,s),void(n.onFrame=v)):Array.isArray(i)?(A(n,i,u,s),void(n.onFrame=V)):'string'==typeof i?(f(n,i,u,s),void(n.onFrame=l)):void o(n,i,u,s)}}};return n._closure={recognizePrefixSuffix:c,isColor:t.isColor,convertToHSVA:t.convertToHSVA,toRGBA:t.toRGBA},n.asString="function decorateAnimation(animation){const{recognizePrefixSuffix,isColor,convertToHSVA,toRGBA}=jsThis._closure;{if(animation.isHigherOrder){return;}const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;const animationCopy=Object.assign({},animation);delete animationCopy.callback;const prefNumberSuffOnStart=function(animation,value,timestamp,previousAnimation){var _animation$__prefix,_animation$__suffix;const{prefix:prefix,suffix:suffix,strippedValue:strippedValue}=recognizePrefixSuffix(value);animation.__prefix=prefix;animation.__suffix=suffix;animation.strippedCurrent=strippedValue;const{strippedValue:strippedToValue}=recognizePrefixSuffix(animation.toValue);animation.current=strippedValue;animation.startValue=strippedValue;animation.toValue=strippedToValue;if(previousAnimation&&previousAnimation!==animation){previousAnimation.current=previousAnimation.strippedCurrent;}baseOnStart(animation,strippedValue,timestamp,previousAnimation);animation.current=((_animation$__prefix=animation.__prefix)!==null&&_animation$__prefix!==void 0?_animation$__prefix:'')+animation.current+((_animation$__suffix=animation.__suffix)!==null&&_animation$__suffix!==void 0?_animation$__suffix:'');if(previousAnimation&&previousAnimation!==animation){var _previousAnimation$__,_previousAnimation$__2;previousAnimation.current=((_previousAnimation$__=previousAnimation.__prefix)!==null&&_previousAnimation$__!==void 0?_previousAnimation$__:'')+previousAnimation.current+((_previousAnimation$__2=previousAnimation.__suffix)!==null&&_previousAnimation$__2!==void 0?_previousAnimation$__2:'');}};const prefNumberSuffOnFrame=function(animation,timestamp){var _animation$__prefix2,_animation$__suffix2;animation.current=animation.strippedCurrent;const res=baseOnFrame(animation,timestamp);animation.strippedCurrent=animation.current;animation.current=((_animation$__prefix2=animation.__prefix)!==null&&_animation$__prefix2!==void 0?_animation$__prefix2:'')+animation.current+((_animation$__suffix2=animation.__suffix)!==null&&_animation$__suffix2!==void 0?_animation$__suffix2:'');return res;};const tab=['H','S','V','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let HSVAValue;let HSVACurrent;let HSVAToValue;const res=[];if(isColor(value)){HSVACurrent=convertToHSVA(animation.current);HSVAValue=convertToHSVA(value);if(animation.toValue){HSVAToValue=convertToHSVA(animation.toValue);}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=HSVACurrent[index];animation[i].toValue=HSVAToValue?HSVAToValue[index]:undefined;animation[i].onStart(animation[i],HSVAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.current=toRGBA(res);};const colorOnFrame=function(animation,timestamp){const HSVACurrent=convertToHSVA(animation.current);const res=[];let finished=true;tab.forEach(function(i,index){animation[i].current=HSVACurrent[index];finished&=animation[i].onFrame(animation[i],timestamp);res.push(animation[i].current);});animation.current=toRGBA(res);return finished;};const arrayOnStart=function(animation,value,timestamp,previousAnimation){value.forEach(function(v,i){animation[i]=Object.assign({},animationCopy);animation[i].current=v;animation[i].toValue=animation.toValue[i];animation[i].onStart(animation[i],v,timestamp,previousAnimation?previousAnimation[i]:undefined);});animation.current=value;};const arrayOnFrame=function(animation,timestamp){let finished=true;animation.current.forEach(function(v,i){finished&=animation[i].onFrame(animation[i],timestamp);animation.current[i]=animation[i].current;});return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(Array.isArray(value)){arrayOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=arrayOnFrame;return;}else if(typeof value==='string'){prefNumberSuffOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=prefNumberSuffOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}}",n.__workletHash=0xd77acdd9584,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (59:0)",g.__reanimatedWorkletInit(n),n})(),l=(function(){var n=function(n,i){if(u)return n;var t=(function(){var n=function(){var n=i();return f(n),n};return n._closure={factory:i,decorateAnimation:f},n.asString="function _f(){const{factory,decorateAnimation}=jsThis._closure;{const animation=factory();decorateAnimation(animation);return animation;}}",n.__workletHash=2441595458132,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (250:17)",g.__reanimatedWorkletInit(n),n})();return _WORKLET||!o.default.native?t():t};return n._closure={IN_STYLE_UPDATER:u,decorateAnimation:f,NativeReanimatedModule:{native:o.default.native}},n.asString="function defineAnimation(starting,factory){const{IN_STYLE_UPDATER,decorateAnimation,NativeReanimatedModule}=jsThis._closure;{if(IN_STYLE_UPDATER){return starting;}const create=function(){'worklet';const animation=factory();decorateAnimation(animation);return animation;};if(_WORKLET||!NativeReanimatedModule.native){return create();}return create;}}",n.__workletHash=4939784890886,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (243:7)",g.__reanimatedWorkletInit(n),n})();e.defineAnimation=l;var _=(function(){var n=function(n){n.value=n.value};return n._closure={},n.asString="function cancelAnimation(sharedValue){sharedValue.value=sharedValue.value;}",n.__workletHash=0xdb1b4231136,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (264:7)",g.__reanimatedWorkletInit(n),n})();e.cancelAnimation=_;var p=(function(){var n=function(n,i){return l(n,(function(){var t=function(){return _WORKLET||'function'!=typeof i||(i=i()),i.current=n,i};return t._closure={animation:i,startValue:n},t.asString="function _f(){const{animation,startValue}=jsThis._closure;{if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;}}",t.__workletHash=5374403234008,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (276:37)",g.__reanimatedWorkletInit(t),t})())};return n._closure={defineAnimation:l},n.asString="function withStartValue(startValue,animation){const{defineAnimation}=jsThis._closure;{return defineAnimation(startValue,function(){'worklet';if(!_WORKLET&&typeof animation==='function'){animation=animation();}animation.current=startValue;return animation;});}}",n.__workletHash=5100017907325,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts (271:7)",g.__reanimatedWorkletInit(n),n})();e.withStartValue=p},559,[3,29,560,548]); +__d(function(_g,_r,_i,_a,m,e,_d){Object.defineProperty(e,"__esModule",{value:!0}),e.toRGBA=e.rgbaColor=e.red=e.processColorInitially=e.processColor=e.opacity=e.isColor=e.hsvToColor=e.green=e.convertToHSVA=e.blue=e.RGBtoHSV=void 0;var r,t=_r(_d[0]),a=_r(_d[1]),o='[-+]?\\d*\\.?\\d+',n="[-+]?\\d*\\.?\\d+%",l=((r=function(){for(var r=arguments.length,t=new Array(r),a=0;a1&&(a-=1),a<.16666666666666666?r+6*(t-r)*a:a<.5?t:a<.6666666666666666?r+(t-r)*(.6666666666666666-a)*6:r};return r._closure={},r.asString="function hue2rgb(p,q,t){if(t<0){t+=1;}if(t>1){t-=1;}if(t<1/6){return p+(q-p)*6*t;}if(t<1/2){return q;}if(t<2/3){return p+(q-p)*(2/3-t)*6;}return p;}",r.__workletHash=3618366985414,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (78:0)",_g.__reanimatedWorkletInit(r),r})(),d=(function(){var r=function(r,t,a){var o=a<.5?a*(1+t):a+t-a*t,n=2*a-o,l=u(n,o,r+.3333333333333333),s=u(n,o,r),i=u(n,o,r-.3333333333333333);return Math.round(255*l)<<24|Math.round(255*s)<<16|Math.round(255*i)<<8};return r._closure={hue2rgb:u},r.asString="function hslToRgb(h,s,l){const{hue2rgb}=jsThis._closure;{const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;const r=hue2rgb(p,q,h+1/3);const g=hue2rgb(p,q,h);const b=hue2rgb(p,q,h-1/3);return Math.round(r*255)<<24|Math.round(g*255)<<16|Math.round(b*255)<<8;}}",r.__workletHash=4500055963175,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (98:0)",_g.__reanimatedWorkletInit(r),r})(),h=(function(){var r=function(r){var t=Number.parseInt(r,10);return t<0?0:t>255?255:t};return r._closure={},r.asString="function parse255(str){const int=Number.parseInt(str,10);if(int<0){return 0;}if(int>255){return 255;}return int;}",r.__workletHash=7024550667346,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (113:0)",_g.__reanimatedWorkletInit(r),r})(),g=(function(){var r=function(r){return(Number.parseFloat(r)%360+360)%360/360};return r._closure={},r.asString="function parse360(str){const int=Number.parseFloat(str);return(int%360+360)%360/360;}",r.__workletHash=6683812623228,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (125:0)",_g.__reanimatedWorkletInit(r),r})(),b=(function(){var r=function(r){var t=Number.parseFloat(r);return t<0?0:t>1?255:Math.round(255*t)};return r._closure={},r.asString="function parse1(str){const num=Number.parseFloat(str);if(num<0){return 0;}if(num>1){return 255;}return Math.round(num*255);}",r.__workletHash=7197247664793,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (131:0)",_g.__reanimatedWorkletInit(r),r})(),_=(function(){var r=function(r){var t=Number.parseFloat(r);return t<0?0:t>100?1:t/100};return r._closure={},r.asString="function parsePercentage(str){const int=Number.parseFloat(str);if(int<0){return 0;}if(int>100){return 1;}return int/100;}",r.__workletHash=8813932430184,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (143:0)",_g.__reanimatedWorkletInit(r),r})(),f=(0,a.isConfigured)()?(0,a.makeShareable)({transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}):null,v=(function(){var r=function(r){var t,a,o,n,l,s,i,u;if('number'==typeof r)return r>>>0===r&&r>=0&&r<=4294967295?r:null;if('string'!=typeof r)return null;var v,p=c();return(v=null==p?void 0:null==(t=p.hex6)?void 0:t.exec(r))?Number.parseInt(v[1]+'ff',16)>>>0:void 0!==f[r]?f[r]:(v=null==p?void 0:null==(a=p.rgb)?void 0:a.exec(r))?(h(v[1])<<24|h(v[2])<<16|h(v[3])<<8|255)>>>0:(v=null==p?void 0:null==(o=p.rgba)?void 0:o.exec(r))?(h(v[1])<<24|h(v[2])<<16|h(v[3])<<8|b(v[4]))>>>0:(v=null==p?void 0:null==(n=p.hex3)?void 0:n.exec(r))?Number.parseInt(v[1]+v[1]+v[2]+v[2]+v[3]+v[3]+'ff',16)>>>0:(v=null==p?void 0:null==(l=p.hex8)?void 0:l.exec(r))?Number.parseInt(v[1],16)>>>0:(v=null==p?void 0:null==(s=p.hex4)?void 0:s.exec(r))?Number.parseInt(v[1]+v[1]+v[2]+v[2]+v[3]+v[3]+v[4]+v[4],16)>>>0:(v=null==p?void 0:null==(i=p.hsl)?void 0:i.exec(r))?(255|d(g(v[1]),_(v[2]),_(v[3])))>>>0:(v=null==p?void 0:null==(u=p.hsla)?void 0:u.exec(r))?(d(g(v[1]),_(v[2]),_(v[3]))|b(v[4]))>>>0:null};return r._closure={getMatchers:c,names:f,parse255:h,parse1:b,hslToRgb:d,parse360:g,parsePercentage:_},r.asString="function normalizeColor(color){const{getMatchers,names,parse255,parse1,hslToRgb,parse360,parsePercentage}=jsThis._closure;{var _matchers$hex,_matchers$rgb,_matchers$rgba,_matchers$hex2,_matchers$hex3,_matchers$hex4,_matchers$hsl,_matchers$hsla;if(typeof color==='number'){if(color>>>0===color&&color>=0&&color<=0xffffffff){return color;}return null;}if(typeof color!=='string'){return null;}const matchers=getMatchers();let match;if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex=matchers.hex6)===null||_matchers$hex===void 0?void 0:_matchers$hex.exec(color)){return Number.parseInt(match[1]+'ff',16)>>>0;}if(names[color]!==undefined){return names[color];}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgb=matchers.rgb)===null||_matchers$rgb===void 0?void 0:_matchers$rgb.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$rgba=matchers.rgba)===null||_matchers$rgba===void 0?void 0:_matchers$rgba.exec(color)){return(parse255(match[1])<<24|parse255(match[2])<<16|parse255(match[3])<<8|parse1(match[4]))>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex2=matchers.hex3)===null||_matchers$hex2===void 0?void 0:_matchers$hex2.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+'ff',16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex3=matchers.hex8)===null||_matchers$hex3===void 0?void 0:_matchers$hex3.exec(color)){return Number.parseInt(match[1],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hex4=matchers.hex4)===null||_matchers$hex4===void 0?void 0:_matchers$hex4.exec(color)){return Number.parseInt(match[1]+match[1]+match[2]+match[2]+match[3]+match[3]+match[4]+match[4],16)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsl=matchers.hsl)===null||_matchers$hsl===void 0?void 0:_matchers$hsl.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|0x000000ff)>>>0;}if(match=matchers===null||matchers===void 0?void 0:(_matchers$hsla=matchers.hsla)===null||_matchers$hsla===void 0?void 0:_matchers$hsla.exec(color)){return(hslToRgb(parse360(match[1]),parsePercentage(match[2]),parsePercentage(match[3]))|parse1(match[4]))>>>0;}return null;}}",r.__workletHash=0x9c840fd31ae,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (313:0)",_g.__reanimatedWorkletInit(r),r})(),p=(function(){var r=function(r){return(r>>24&255)/255};return r._closure={},r.asString="function _f(c){return(c>>24&255)/255;}",r.__workletHash=0xd60a2a09964,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (425:23)",_g.__reanimatedWorkletInit(r),r})();e.opacity=p;var k=(function(){var r=function(r){return r>>16&255};return r._closure={},r.asString="function _f(c){return c>>16&255;}",r.__workletHash=0xba6200c4759,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (430:19)",_g.__reanimatedWorkletInit(r),r})();e.red=k;var C=(function(){var r=function(r){return r>>8&255};return r._closure={},r.asString="function _f(c){return c>>8&255;}",r.__workletHash=3499836539046,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (435:21)",_g.__reanimatedWorkletInit(r),r})();e.green=C;var w=(function(){var r=function(r){return 255&r};return r._closure={},r.asString="function _f(c){return c&255;}",r.__workletHash=0xd6ef76daabe,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (440:20)",_g.__reanimatedWorkletInit(r),r})();e.blue=w;var x=(function(){var r=function(r,a,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if('web'===t.Platform.OS||!_WORKLET)return"rgba("+r+", "+a+", "+o+", "+n+")";var l=16777216*Math.round(255*n)+65536*Math.round(r)+256*Math.round(a)+Math.round(o);return'android'===t.Platform.OS?l<2147483648?l:l-4294967296:l};return r._closure={Platform:{OS:t.Platform.OS}},r.asString="function _f(r,g,b,alpha=1){const{Platform}=jsThis._closure;{if(Platform.OS==='web'||!_WORKLET){return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+alpha+\")\";}const c=Math.round(alpha*255)*(1<<24)+Math.round(r)*(1<<16)+Math.round(g)*(1<<8)+Math.round(b);if(Platform.OS==='android'){return c<1<<31>>>0?c:c-4294967296;}return c;}}",r.__workletHash=3685267134575,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (445:25)",_g.__reanimatedWorkletInit(r),r})();e.rgbaColor=x;var y=(function(){var r=function(r,t,a){1===arguments.length&&(t=r.g,a=r.b,r=r.r);var o,n=Math.max(r,t,a),l=Math.min(r,t,a),s=n-l,i=0===n?0:s/n,c=n/255;switch(n){default:case l:o=0;break;case r:o=t-a+s*(t>>8)>>>0:void 0};return r._closure={normalizeColor:v},r.asString="function processColorInitially(color){const{normalizeColor}=jsThis._closure;{if(color===null||color===undefined||typeof color==='number'){return color;}let normalizedColor=normalizeColor(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}normalizedColor=(normalizedColor<<24|normalizedColor>>>8)>>>0;return normalizedColor;}}",r.__workletHash=9042500432441,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (582:7)",_g.__reanimatedWorkletInit(r),r})();e.processColorInitially=R;var I=(function(){var r=function(r){return'string'==typeof r&&null!=R(r)};return r._closure={processColorInitially:R},r.asString="function isColor(value){const{processColorInitially}=jsThis._closure;{if(typeof value!=='string'){return false;}return processColorInitially(value)!=null;}}",r.__workletHash=1808885354308,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (604:7)",_g.__reanimatedWorkletInit(r),r})();e.isColor=I;var H=(function(){var r=function(r){var a=R(r);if(null!==a&&void 0!==a)return'number'!=typeof a?null:('android'===t.Platform.OS&&(a|=0),a)};return r._closure={processColorInitially:R,Platform:{OS:t.Platform.OS}},r.asString="function processColor(color){const{processColorInitially,Platform}=jsThis._closure;{let normalizedColor=processColorInitially(color);if(normalizedColor===null||normalizedColor===undefined){return undefined;}if(typeof normalizedColor!=='number'){return null;}if(Platform.OS==='android'){normalizedColor=normalizedColor|0x0;}return normalizedColor;}}",r.__workletHash=0xe59d552167e,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (612:7)",_g.__reanimatedWorkletInit(r),r})();e.processColor=H;var E=(function(){var r=function(r){var t=R(r),a=(t>>>24)/255,o=y(t<<8>>>24,t<<16>>>24,t<<24>>>24);return[o.h,o.s,o.v,a]};return r._closure={processColorInitially:R,RGBtoHSV:y},r.asString="function convertToHSVA(color){const{processColorInitially,RGBtoHSV}=jsThis._closure;{const processedColor=processColorInitially(color);const a=(processedColor>>>24)/255;const r=processedColor<<8>>>24;const g=processedColor<<16>>>24;const b=processedColor<<24>>>24;const{h:h,s:s,v:v}=RGBtoHSV(r,g,b);return[h,s,v,a];}}",r.__workletHash=0xb07725cb4ca,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (636:7)",_g.__reanimatedWorkletInit(r),r})();e.convertToHSVA=E;var $=(function(){var r=function(r){var t=M(r[0],r[1],r[2]);return"rgba("+t.r+", "+t.g+", "+t.b+", "+r[3]+")"};return r._closure={HSVtoRGB:M},r.asString="function toRGBA(HSVA){const{HSVtoRGB}=jsThis._closure;{const{r:r,g:g,b:b}=HSVtoRGB(HSVA[0],HSVA[1],HSVA[2]);return\"rgba(\"+r+\", \"+g+\", \"+b+\", \"+HSVA[3]+\")\";}}",r.__workletHash=6249111174588,r.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts (647:7)",_g.__reanimatedWorkletInit(r),r})();e.toRGBA=$},560,[17,557]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withTiming=void 0;var t,n=r(d[0]),o=r(d[1]),u=((t=function(t,u,s){return(0,o.defineAnimation)(t,(function(){var o=function(){var o={duration:300,easing:n.Easing.inOut(n.Easing.quad)};return u&&Object.keys(u).forEach(function(t){return o[t]=u[t]}),{type:'timing',onFrame:function(t,n){var u=t.toValue,s=t.startTime,c=t.startValue,l=n-s;if(l>=o.duration)return t.startTime=0,t.current=u,!0;var f=t.easing(l/o.duration);return t.current=c+(u-c)*f,!1},onStart:function(n,u,s,c){c&&'timing'===c.type&&c.toValue===t&&c.startTime?(n.startTime=c.startTime,n.startValue=c.startValue):(n.startTime=s,n.startValue=u),n.current=u,'object'==typeof o.easing?n.easing=o.easing.factory():n.easing=o.easing},progress:0,toValue:t,startValue:0,startTime:0,easing:function(){return 0},current:t,callback:s}};return o._closure={Easing:{inOut:n.Easing.inOut,quad:n.Easing.quad},userConfig:u,toValue:t,callback:s},o.asString="function _f(){const{Easing,userConfig,toValue,callback}=jsThis._closure;{const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};}}",o.__workletHash=7771814081277,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (38:51)",g.__reanimatedWorkletInit(o),o})())})._closure={defineAnimation:o.defineAnimation,Easing:{inOut:n.Easing.inOut,quad:n.Easing.quad}},t.asString="function withTiming(toValue,userConfig,callback){const{defineAnimation,Easing}=jsThis._closure;{return defineAnimation(toValue,function(){'worklet';const config={duration:300,easing:Easing.inOut(Easing.quad)};if(userConfig){Object.keys(userConfig).forEach(function(key){return config[key]=userConfig[key];});}function timing(animation,now){const{toValue:toValue,startTime:startTime,startValue:startValue}=animation;const runtime=now-startTime;if(runtime>=config.duration){animation.startTime=0;animation.current=toValue;return true;}const progress=animation.easing(runtime/config.duration);animation.current=startValue+(toValue-startValue)*progress;return false;}function onStart(animation,value,now,previousAnimation){if(previousAnimation&&previousAnimation.type==='timing'&&previousAnimation.toValue===toValue&&previousAnimation.startTime){animation.startTime=previousAnimation.startTime;animation.startValue=previousAnimation.startValue;}else{animation.startTime=now;animation.startValue=value;}animation.current=value;if(typeof config.easing==='object'){animation.easing=config.easing.factory();}else{animation.easing=config.easing;}}return{type:'timing',onFrame:timing,onStart:onStart,progress:0,toValue:toValue,startValue:0,startTime:0,easing:function(){return 0;},current:toValue,callback:callback};});}}",t.__workletHash=2875714024024,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts (31:7)",g.__reanimatedWorkletInit(t),t);e.withTiming=u},561,[562,559]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Easing=void 0;var n,i=t(r(d[1])),o=r(d[2]),s={linear:((n=function(t){return t})._closure={},n.asString="function linear(t){return t;}",n.__workletHash=7988822508142,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (66:0)",g.__reanimatedWorkletInit(n),n),ease:(function(){var t=function(t){return(0,o.Bezier)(.42,0,1,1)(t)};return t._closure={Bezier:o.Bezier},t.asString="function ease(t){const{Bezier}=jsThis._closure;{return Bezier(0.42,0,1,1)(t);}}",t.__workletHash=0xbdc195724f9,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (77:0)",g.__reanimatedWorkletInit(t),t})(),quad:(function(){var t=function(t){return t*t};return t._closure={},t.asString="function quad(t){return t*t;}",t.__workletHash=8628631460172,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (88:0)",g.__reanimatedWorkletInit(t),t})(),cubic:(function(){var t=function(t){return t*t*t};return t._closure={},t.asString="function cubic(t){return t*t*t;}",t.__workletHash=9374441307661,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (99:0)",g.__reanimatedWorkletInit(t),t})(),poly:(function(){var t=function(t){return function(n){return Math.pow(n,t)}};return t._closure={},t.asString="function poly(n){return function(t){return Math.pow(t,n);};}",t.__workletHash=8669070629046,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (110:0)",g.__reanimatedWorkletInit(t),t})(),sin:(function(){var t=function(t){return 1-Math.cos(t*Math.PI/2)};return t._closure={},t.asString="function sin(t){return 1-Math.cos(t*Math.PI/2);}",t.__workletHash=8621899987563,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (120:0)",g.__reanimatedWorkletInit(t),t})(),circle:(function(){var t=function(t){return 1-Math.sqrt(1-t*t)};return t._closure={},t.asString="function circle(t){return 1-Math.sqrt(1-t*t);}",t.__workletHash=0xe74766c81e4,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (130:0)",g.__reanimatedWorkletInit(t),t})(),exp:(function(){var t=function(t){return Math.pow(2,10*(t-1))};return t._closure={},t.asString="function exp(t){return Math.pow(2,10*(t-1));}",t.__workletHash=0xe77bf377b41,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (140:0)",g.__reanimatedWorkletInit(t),t})(),elastic:(function(){var t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return(function(){var n=function(n){return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*t)};return n._closure={p:t},n.asString="function _f(t){const{p}=jsThis._closure;{return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}}",n.__workletHash=8897284077766,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (158:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function elastic(bounciness=1){const p=bounciness*Math.PI;return function(t){'worklet';return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};}",t.__workletHash=0xe75c59c1497,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (155:0)",g.__reanimatedWorkletInit(t),t})(),back:(function(){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return function(n){return n*n*((t+1)*n-t)}};return t._closure={},t.asString="function back(s=1.70158){return function(t){return t*t*((s+1)*t-s);};}",t.__workletHash=0xffa86df3d1b,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (172:0)",g.__reanimatedWorkletInit(t),t})(),bounce:(function(){var t=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){var n=t-.5454545454545454;return 7.5625*n*n+.75}if(t<.9090909090909091){var i=t-.8181818181818182;return 7.5625*i*i+.9375}var o=t-.9545454545454546;return 7.5625*o*o+.984375};return t._closure={},t.asString="function bounce(t){if(t<1/2.75){return 7.5625*t*t;}if(t<2/2.75){const t2=t-1.5/2.75;return 7.5625*t2*t2+0.75;}if(t<2.5/2.75){const t2=t-2.25/2.75;return 7.5625*t2*t2+0.9375;}const t2=t-2.625/2.75;return 7.5625*t2*t2+0.984375;}",t.__workletHash=5721637210615,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (182:0)",g.__reanimatedWorkletInit(t),t})(),bezier:(function(){var t=function(t,n,i,s){return{factory:(function(){var u=function(){return(0,o.Bezier)(t,n,i,s)};return u._closure={Bezier:o.Bezier,x1:t,y1:n,x2:i,y2:s},u.asString="function _f(){const{Bezier,x1,y1,x2,y2}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",u.__workletHash=4879686787739,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (217:13)",g.__reanimatedWorkletInit(u),u})()}};return t._closure={Bezier:o.Bezier},t.asString="function bezier(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return{factory:function(){'worklet';return Bezier(x1,y1,x2,y2);}};}}",t.__workletHash=853527302262,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (209:0)",g.__reanimatedWorkletInit(t),t})(),bezierFn:(function(){var t=function(t,n,i,s){return(0,o.Bezier)(t,n,i,s)};return t._closure={Bezier:o.Bezier},t.asString="function bezierFn(x1,y1,x2,y2){const{Bezier}=jsThis._closure;{return Bezier(x1,y1,x2,y2);}}",t.__workletHash=0xdcfbb8beb25,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (224:0)",g.__reanimatedWorkletInit(t),t})(),in:(function(){var t=function(t){return t};return t._closure={},t.asString="function in_(easing){return easing;}",t.__workletHash=1837493474379,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (237:0)",g.__reanimatedWorkletInit(t),t})(),out:(function(){var t=function(t){return(function(){var n=function(n){return 1-t(1-n)};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{return 1-easing(1-t);}}",n.__workletHash=5726884014519,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (247:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function out(easing){return function(t){'worklet';return 1-easing(1-t);};}",t.__workletHash=7718549646703,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (245:0)",g.__reanimatedWorkletInit(t),t})(),inOut:(function(){var t=function(t){return(function(){var n=function(n){return n<.5?t(2*n)/2:1-t(2*(1-n))/2};return n._closure={easing:t},n.asString="function _f(t){const{easing}=jsThis._closure;{if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}}",n.__workletHash=2325007799982,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (260:9)",g.__reanimatedWorkletInit(n),n})()};return t._closure={},t.asString="function inOut(easing){return function(t){'worklet';if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};}",t.__workletHash=7048715165105,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts (258:0)",g.__reanimatedWorkletInit(t),t})()};function u(t,n,o){var s,c=((s=function(){if(arguments&&!_WORKLET)for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return function(n){return(0,l.sub)(1,(0,l.multiply)((0,l.pow)((0,l.cos)((0,l.multiply)(n,Math.PI,.5)),3),(0,l.cos)((0,l.multiply)(n,u))))}}},{key:"back",value:function(u){return void 0===u&&(u=1.70158),function(n){return(0,l.multiply)(n,n,(0,l.sub)((0,l.multiply)((0,l.add)(u,1),n),u))}}},{key:"bounce",value:function(u){var n=function(u){return(0,l.multiply)(7.5625,u,u)};return(0,l.cond)((0,l.lessThan)(u,.36363636363636365),n(u),(0,l.cond)((0,l.lessThan)(u,.7272727272727273),(0,l.add)(.75,n((0,l.sub)(u,.5454545454545454))),(0,l.cond)((0,l.lessThan)(u,.9057971014492754),(0,l.add)(.9375,n((0,l.sub)(u,.8181818181818182))),(0,l.add)(.984375,n((0,l.sub)(u,.9545454545454546))))))}},{key:"bezier",value:function(u,n,t,l){return function(c){return new o.default(c,u,n,t,l)}}},{key:"in",value:function(u){return u}},{key:"out",value:function(u){return function(n){return(0,l.sub)(1,u((0,l.sub)(1,n)))}}},{key:"inOut",value:function(u){return function(n){return(0,l.cond)((0,l.lessThan)(n,.5),(0,l.divide)(u((0,l.multiply)(n,2)),2),(0,l.sub)(1,(0,l.divide)(u((0,l.multiply)((0,l.sub)(1,n),2)),2)))}}}]),u})();e.default=c},563,[3,6,7,564,570]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={cond:!0,set:!0,startClock:!0,stopClock:!0,clockRunning:!0,debug:!0,call:!0,event:!0,always:!0,concat:!0,block:!0,adapt:!0,proc:!0};Object.defineProperty(e,"adapt",{enumerable:!0,get:function(){return j.adapt}}),Object.defineProperty(e,"always",{enumerable:!0,get:function(){return y.createAnimatedAlways}}),Object.defineProperty(e,"block",{enumerable:!0,get:function(){return j.createAnimatedBlock}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return f.createAnimatedCall}}),Object.defineProperty(e,"clockRunning",{enumerable:!0,get:function(){return l.createAnimatedClockTest}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return O.createAnimatedConcat}}),Object.defineProperty(e,"cond",{enumerable:!0,get:function(){return n.createAnimatedCond}}),Object.defineProperty(e,"debug",{enumerable:!0,get:function(){return b.createAnimatedDebug}}),Object.defineProperty(e,"event",{enumerable:!0,get:function(){return p.createAnimatedEvent}}),Object.defineProperty(e,"proc",{enumerable:!0,get:function(){return P.createAnimatedFunction}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return c.createAnimatedSet}}),Object.defineProperty(e,"startClock",{enumerable:!0,get:function(){return o.createAnimatedStartClock}}),Object.defineProperty(e,"stopClock",{enumerable:!0,get:function(){return u.createAnimatedStopClock}});var n=r(d[0]),c=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),b=r(d[5]),f=r(d[6]),p=r(d[7]),y=r(d[8]),O=r(d[9]),j=r(d[10]),P=r(d[11]),s=r(d[12]);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||n in e&&e[n]===s[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return s[n]}}))})},564,[534,527,565,566,567,568,540,524,541,569,529,535,532]); __d(function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedStartClock=function(t){return new h(t)};var e=t(r(d[1])),n=t(r(d[2])),c=t(r(d[3])),o=t(r(d[4])),u=t(r(d[5])),l=t(r(d[6])),f=t(r(d[7])),s=r(d[8]),v=t(r(d[9]));function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,c.default)(_,t);var l,h,k=(l=_,h=y(),function(){var t,e=(0,u.default)(l);if(h){var n=(0,u.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function _(t){var n;return(0,e.default)(this,_),(0,v.default)(t instanceof f.default||t instanceof s.AnimatedParam,"Reanimated: Animated.startClock argument should be of type AnimatedClock but got "+t),(n=k.call(this,{type:'clockStart',clock:t}))._clockNode=t,n}return(0,n.default)(_,[{key:"toString",value:function(){return"AnimatedStartClock, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._clockNode.start(),0}}]),_})(l.default)},565,[3,6,7,8,10,13,525,538,537,18]); @@ -574,18 +574,18 @@ __d(function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule" __d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedDebug=function(e,t){return t};e(r(d[1]));var t=e(r(d[2])),n=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),f=e(r(d[6])),l=e(r(d[7])),c=(r(d[8]),r(d[9])),s=(r(d[10]),r(d[11]),e(r(d[12])));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}!(function(e){(0,u.default)(_,e);var y,h,p=(y=_,h=v(),function(){var e,t=(0,f.default)(y);if(h){var n=(0,f.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function _(e,n){var u;return(0,t.default)(this,_),(0,l.default)('string'==typeof e,"Reanimated: Animated.debug node first argument should be of type string but got "+e),(0,l.default)(n instanceof s.default,"Reanimated: Animated.debug node second argument should be of type AnimatedNode but got "+n),(u=p.call(this,{type:'debug',message:e,value:n},[n]))._message=e,u._value=n,u}(0,n.default)(_,[{key:"toString",value:function(){return"AnimatedDebug, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return(0,c.val)(this._value)}}])})(s.default)},568,[3,45,6,7,8,10,13,18,17,528,529,540,525]); __d(function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatedConcat=function(){for(var t=arguments.length,e=new Array(t),n=0;n0?n=i:e=i}while(Math.abs(f)>h&&++c<_);return i}function M(t,e,n,u){for(var o=0;o=y?M(e,i,t,n):0===c?i:F(e,u,u+b,t,n)}return function(o){return t===e&&n===u?o:0===o?0:1===o?1:w(i(o),e,u)}}var P=(function(t){(0,u.default)(_,t);var s,y,h=(s=_,y=v(),function(){var t,e=(0,f.default)(s);if(y){var n=(0,f.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,o.default)(this,t)});function _(t,n,u,o,f){var i;return(0,e.default)(this,_),(0,l.default)(t instanceof c.default,"Reanimated: Bezier node argument should be of type AnimatedNode but got "+t),(i=h.call(this,{type:'bezier',mX1:n,mY1:u,mX2:o,mY2:f,input:t},[t]))._value=t,i._bezier=O(n,u,o,f),i}return(0,n.default)(_,[{key:"toString",value:function(){return"AnimatedBezier, id: "+this.__nodeID}},{key:"__onEvaluate",value:function(){return this._bezier((0,i.val)(this._value))}}]),_})(c.default);_e.default=P},570,[3,6,7,8,10,13,528,525,18]); -__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Bezier=void 0;var t,n=((t=function(t,n,i,o){var u=(function(){var t=function(t,n){return 1-3*n+3*t};return t._closure={},t.asString="function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}",t.__workletHash=7696928702327,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (25:2)",g.__reanimatedWorkletInit(t),t})(),l=(function(){var t=function(t,n){return 3*n-6*t};return t._closure={},t.asString="function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}",t.__workletHash=3169786778773,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (29:2)",g.__reanimatedWorkletInit(t),t})(),s=(function(){var t=function(t){return 3*t};return t._closure={},t.asString="function C(aA1){return 3.0*aA1;}",t.__workletHash=6399610653367,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (33:2)",g.__reanimatedWorkletInit(t),t})(),c=(function(){var t=function(t,n,i){return((u(n,i)*t+l(n,i))*t+s(n))*t};return t._closure={A:u,B:l,C:s},t.asString="function calcBezier(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}}",t.__workletHash=3153137150968,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (39:2)",g.__reanimatedWorkletInit(t),t})(),S=(function(){var t=function(t,n,i){return 3*u(n,i)*t*t+2*l(n,i)*t+s(n)};return t._closure={A:u,B:l,C:s},t.asString="function getSlope(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}}",t.__workletHash=0xf81d0c1f684,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (45:2)",g.__reanimatedWorkletInit(t),t})(),_=(function(){var t=function(t,n,i,o,u){var l,s,S=0;do{(l=c(s=n+(i-n)/2,o,u)-t)>0?i=s:n=s}while(Math.abs(l)>1e-7&&++S<10);return s};return t._closure={SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10,calcBezier:c},t.asString="function binarySubdivide(aX,aA,aB,mX1,mX2){const{SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS,calcBezier}=jsThis._closure;{let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&t<=1&&i>=0&&i<=1))throw new Error('bezier x values must be in [0, 1] range');if(t===n&&i===o)return X;for(var p=new Array(11),A=0;A<11;++A)p[A]=c(.1*A,t,i);var I=(function(){var n=function(n){for(var o=0,u=1;10!==u&&p[u]<=n;++u)o+=.1;var l=o+.1*((n-p[--u])/(p[u+1]-p[u])),s=S(l,t,i);return s>=.001?T(n,l,t,i):0===s?l:_(n,o,o+.1,t,i)};return n._closure={kSplineTableSize:11,sampleValues:p,kSampleStepSize:.1,getSlope:S,mX1:t,mX2:i,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:T,binarySubdivide:_},n.asString="function getTForX(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=jsThis._closure;{let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}}",n.__workletHash=3164695138880,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (121:2)",g.__reanimatedWorkletInit(n),n})();return(function(){var u=function(u){return t===n&&i===o?u:0===u?0:1===u?1:c(I(u),n,o)};return u._closure={mX1:t,mY1:n,mX2:i,mY2:o,calcBezier:c,getTForX:I},u.asString="function BezierEasing(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=jsThis._closure;{if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}}",u.__workletHash=8676971518933,u.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (158:9)",g.__reanimatedWorkletInit(u),u})()})._closure={},t.asString="function Bezier(mX1,mY1,mX2,mY2){const NEWTON_ITERATIONS=4;const NEWTON_MIN_SLOPE=0.001;const SUBDIVISION_PRECISION=0.0000001;const SUBDIVISION_MAX_ITERATIONS=10;const kSplineTableSize=11;const kSampleStepSize=1.0/(kSplineTableSize-1.0);function A(aA1,aA2){'worklet';return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){'worklet';return 3.0*aA2-6.0*aA1;}function C(aA1){'worklet';return 3.0*aA1;}function calcBezier(aT,aA1,aA2){'worklet';return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){'worklet';return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){'worklet';let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('bezier x values must be in [0, 1] range');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){'worklet';if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}",t.__workletHash=7389715548968,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (9:7)",g.__reanimatedWorkletInit(t),t);e.Bezier=n},571,[]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.updatePropsJestWrapper=e.updateProps=e.default=e.colorProps=e.ColorProperties=void 0;var t=o(r(d[1])),s=r(d[2]),n=r(d[3]),p=r(d[4]),u=r(d[5]),l=['backgroundColor','borderBottomColor','borderColor','borderLeftColor','borderRightColor','borderTopColor','borderStartColor','borderEndColor','color','shadowColor','textDecorationColor','tintColor','textShadowColor','overlayColor'];e.colorProps=l;var c,f,_=(0,n.isConfigured)()?(0,n.makeShareable)(l):[];e.ColorProperties=_,(0,u.shouldBeUseWeb)()?((f=function(o,t,s){s&&s.items.forEach(function(o,s){(0,p._updatePropsJS)(t,o)})})._closure={_updatePropsJS:p._updatePropsJS},f.asString="function _f(_,updates,maybeViewRef){const{_updatePropsJS}=jsThis._closure;{if(maybeViewRef){maybeViewRef.items.forEach(function(item,_){_updatePropsJS(updates,item);});}}}",f.__workletHash=2597780801718,f.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)",g.__reanimatedWorkletInit(f),c=f):c=(function(){var o=function(o,t,n){for(var p in t)-1!==_.indexOf(p)&&(t[p]=(0,s.processColor)(t[p]));o.value.forEach(function(o){_updateProps(o.tag,o.name||'RCTView',t)})};return o._closure={ColorProperties:_,processColor:s.processColor},o.asString="function _f(viewDescriptors,updates,_){const{ColorProperties,processColor}=jsThis._closure;{for(const key in updates){if(ColorProperties.indexOf(key)!==-1){updates[key]=processColor(updates[key]);}}viewDescriptors.value.forEach(function(viewDescriptor){_updateProps(viewDescriptor.tag,viewDescriptor.name||'RCTView',updates);});}}",o.__workletHash=5208286904059,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)",g.__reanimatedWorkletInit(o),o})();var C=c;e.updateProps=C;e.updatePropsJestWrapper=function(o,s,n,p,u){u.forEach(function(o){o(s)}),p.current.value=(0,t.default)({},p.current.value,s),C(o,s,n)};var v=C;e.default=v},572,[3,29,560,557,549,523]); +__d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Bezier=void 0;var t,n=((t=function(t,n,i,o){var u=(function(){var t=function(t,n){return 1-3*n+3*t};return t._closure={},t.asString="function A(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}",t.__workletHash=7696928702327,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (25:2)",g.__reanimatedWorkletInit(t),t})(),l=(function(){var t=function(t,n){return 3*n-6*t};return t._closure={},t.asString="function B(aA1,aA2){return 3.0*aA2-6.0*aA1;}",t.__workletHash=3169786778773,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (29:2)",g.__reanimatedWorkletInit(t),t})(),s=(function(){var t=function(t){return 3*t};return t._closure={},t.asString="function C(aA1){return 3.0*aA1;}",t.__workletHash=6399610653367,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (33:2)",g.__reanimatedWorkletInit(t),t})(),c=(function(){var t=function(t,n,i){return((u(n,i)*t+l(n,i))*t+s(n))*t};return t._closure={A:u,B:l,C:s},t.asString="function calcBezier(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}}",t.__workletHash=3153137150968,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (39:2)",g.__reanimatedWorkletInit(t),t})(),S=(function(){var t=function(t,n,i){return 3*u(n,i)*t*t+2*l(n,i)*t+s(n)};return t._closure={A:u,B:l,C:s},t.asString="function getSlope(aT,aA1,aA2){const{A,B,C}=jsThis._closure;{return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}}",t.__workletHash=0xf81d0c1f684,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (45:2)",g.__reanimatedWorkletInit(t),t})(),_=(function(){var t=function(t,n,i,o,u){var l,s,S=0;do{(l=c(s=n+(i-n)/2,o,u)-t)>0?i=s:n=s}while(Math.abs(l)>1e-7&&++S<10);return s};return t._closure={SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10,calcBezier:c},t.asString="function binarySubdivide(aX,aA,aB,mX1,mX2){const{SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS,calcBezier}=jsThis._closure;{let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&t<=1&&i>=0&&i<=1))throw new Error('bezier x values must be in [0, 1] range');if(t===n&&i===o)return T;for(var X=new Array(11),f=0;f<11;++f)X[f]=c(.1*f,t,i);var A=(function(){var n=function(n){for(var o=0,u=1;10!==u&&X[u]<=n;++u)o+=.1;var l=o+.1*((n-X[--u])/(X[u+1]-X[u])),s=S(l,t,i);return s>=.001?p(n,l,t,i):0===s?l:_(n,o,o+.1,t,i)};return n._closure={kSplineTableSize:11,sampleValues:X,kSampleStepSize:.1,getSlope:S,mX1:t,mX2:i,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:p,binarySubdivide:_},n.asString="function getTForX(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=jsThis._closure;{let intervalStart=0.0;let currentSample=1;const lastSample=kSplineTableSize-1;for(;currentSample!==lastSample&&sampleValues[currentSample]<=aX;++currentSample){intervalStart+=kSampleStepSize;}--currentSample;const dist=(aX-sampleValues[currentSample])/(sampleValues[currentSample+1]-sampleValues[currentSample]);const guessForT=intervalStart+dist*kSampleStepSize;const initialSlope=getSlope(guessForT,mX1,mX2);if(initialSlope>=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}}",n.__workletHash=3164695138880,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (121:2)",g.__reanimatedWorkletInit(n),n})();return(function(){var u=function(u){return t===n&&i===o?u:0===u?0:1===u?1:c(A(u),n,o)};return u._closure={mX1:t,mY1:n,mX2:i,mY2:o,calcBezier:c,getTForX:A},u.asString="function BezierEasing(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=jsThis._closure;{if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}}",u.__workletHash=8676971518933,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (158:9)",g.__reanimatedWorkletInit(u),u})()})._closure={},t.asString="function Bezier(mX1,mY1,mX2,mY2){const NEWTON_ITERATIONS=4;const NEWTON_MIN_SLOPE=0.001;const SUBDIVISION_PRECISION=0.0000001;const SUBDIVISION_MAX_ITERATIONS=10;const kSplineTableSize=11;const kSampleStepSize=1.0/(kSplineTableSize-1.0);function A(aA1,aA2){'worklet';return 1.0-3.0*aA2+3.0*aA1;}function B(aA1,aA2){'worklet';return 3.0*aA2-6.0*aA1;}function C(aA1){'worklet';return 3.0*aA1;}function calcBezier(aT,aA1,aA2){'worklet';return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}function getSlope(aT,aA1,aA2){'worklet';return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}function binarySubdivide(aX,aA,aB,mX1,mX2){'worklet';let currentX;let currentT;let i=0;do{currentT=aA+(aB-aA)/2.0;currentX=calcBezier(currentT,mX1,mX2)-aX;if(currentX>0.0){aB=currentT;}else{aA=currentT;}}while(Math.abs(currentX)>SUBDIVISION_PRECISION&&++i=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('bezier x values must be in [0, 1] range');}if(mX1===mY1&&mX2===mY2){return LinearEasing;}const sampleValues=new Array(kSplineTableSize);for(let i=0;i=NEWTON_MIN_SLOPE){return newtonRaphsonIterate(aX,guessForT,mX1,mX2);}else if(initialSlope===0.0){return guessForT;}else{return binarySubdivide(aX,intervalStart,intervalStart+kSampleStepSize,mX1,mX2);}}return function BezierEasing(x){'worklet';if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};}",t.__workletHash=7389715548968,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts (9:7)",g.__reanimatedWorkletInit(t),t);e.Bezier=n},571,[]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.updatePropsJestWrapper=e.updateProps=e.default=e.colorProps=e.ColorProperties=void 0;var t=o(r(d[1])),s=r(d[2]),n=r(d[3]),p=r(d[4]),u=r(d[5]),l=['backgroundColor','borderBottomColor','borderColor','borderLeftColor','borderRightColor','borderTopColor','borderStartColor','borderEndColor','color','shadowColor','textDecorationColor','tintColor','textShadowColor','overlayColor'];e.colorProps=l;var c,f,_=(0,n.isConfigured)()?(0,n.makeShareable)(l):[];e.ColorProperties=_,(0,u.shouldBeUseWeb)()?((f=function(o,t,s){s&&s.items.forEach(function(o,s){(0,p._updatePropsJS)(t,o)})})._closure={_updatePropsJS:p._updatePropsJS},f.asString="function _f(_,updates,maybeViewRef){const{_updatePropsJS}=jsThis._closure;{if(maybeViewRef){maybeViewRef.items.forEach(function(item,_){_updatePropsJS(updates,item);});}}}",f.__workletHash=2597780801718,f.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (33:26)",g.__reanimatedWorkletInit(f),c=f):c=(function(){var o=function(o,t,n){for(var p in t)-1!==_.indexOf(p)&&(t[p]=(0,s.processColor)(t[p]));o.value.forEach(function(o){_updateProps(o.tag,o.name||'RCTView',t)})};return o._closure={ColorProperties:_,processColor:s.processColor},o.asString="function _f(viewDescriptors,updates,_){const{ColorProperties,processColor}=jsThis._closure;{for(const key in updates){if(ColorProperties.indexOf(key)!==-1){updates[key]=processColor(updates[key]);}}viewDescriptors.value.forEach(function(viewDescriptor){_updateProps(viewDescriptor.tag,viewDescriptor.name||'RCTView',updates);});}}",o.__workletHash=5208286904059,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts (46:26)",g.__reanimatedWorkletInit(o),o})();var C=c;e.updateProps=C;e.updatePropsJestWrapper=function(o,s,n,p,u){u.forEach(function(o){o(s)}),p.current.value=(0,t.default)({},p.current.value,s),C(o,s,n)};var v=C;e.default=v},572,[3,29,560,557,549,523]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.adaptViewConfig=function(t){var o=t.uiViewClassName,n=t.validAttributes;if(!c.has(o)){var h={};Object.keys(n).forEach(function(t){t in s||t in l||(h[t]=!0)}),b(h),c.add(o)}},e.addWhitelistedNativeProps=function(t){var n=Object.keys(s).length;s=(0,o.default)({},s,t),n!==Object.keys(s).length&&h()},e.addWhitelistedUIProps=b;var o=t(r(d[1])),n=t(r(d[2])),l={opacity:!0,transform:!0,backgroundColor:!0,borderRightColor:!0,borderBottomColor:!0,borderColor:!0,borderEndColor:!0,borderLeftColor:!0,borderStartColor:!0,borderTopColor:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},s={borderBottomWidth:!0,borderEndWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStartWidth:!0,borderTopWidth:!0,borderWidth:!0,bottom:!0,flex:!0,flexGrow:!0,flexShrink:!0,height:!0,left:!0,margin:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,padding:!0,paddingBottom:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,right:!0,start:!0,top:!0,width:!0,zIndex:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,opacity:!0,elevation:!0,fontSize:!0,lineHeight:!0,textShadowRadius:!0,letterSpacing:!0,display:!0,backfaceVisibility:!0,overflow:!0,resizeMode:!0,fontStyle:!0,fontWeight:!0,textAlign:!0,textDecorationLine:!0,fontFamily:!0,textAlignVertical:!0,fontVariant:!0,textDecorationStyle:!0,textTransform:!0,writingDirection:!0,color:!0,tintColor:!0,shadowColor:!0,placeholderTextColor:!0};function h(){n.default.configureProps(Object.keys(s),Object.keys(l))}function b(t){var n=Object.keys(l).length;l=(0,o.default)({},l,t),n!==Object.keys(l).length&&h()}var c=new Set;h()},573,[3,29,521]); __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RNRenderer",{enumerable:!0,get:function(){return t.default}});var t=n(r(d[1]))},574,[3,27]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultLayout=e.DefaultExiting=e.DefaultEntering=void 0;var t,n=((t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}})._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (8:54)",g.__reanimatedWorkletInit(t),t);e.DefaultLayout=n;var u=(function(){var t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (21:79)",g.__reanimatedWorkletInit(t),t})();e.DefaultEntering=u;var o=(function(){var t=function(t){return{initialValues:{originX:t.currentOriginX,originY:t.currentOriginY,width:t.currentWidth,height:t.currentHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{}};}",t.__workletHash=0xd1d4378e3f7,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (36:77)",g.__reanimatedWorkletInit(t),t})();e.DefaultExiting=o},575,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultLayout=e.DefaultExiting=e.DefaultEntering=void 0;var t,n=((t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}})._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (8:54)",g.__reanimatedWorkletInit(t),t);e.DefaultLayout=n;var u=(function(){var t=function(t){return{initialValues:{originX:t.targetOriginX,originY:t.targetOriginY,width:t.targetWidth,height:t.targetHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.targetOriginX,originY:values.targetOriginY,width:values.targetWidth,height:values.targetHeight},animations:{}};}",t.__workletHash=0x9abcee40437,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (21:79)",g.__reanimatedWorkletInit(t),t})();e.DefaultEntering=u;var o=(function(){var t=function(t){return{initialValues:{originX:t.currentOriginX,originY:t.currentOriginY,width:t.currentWidth,height:t.currentHeight},animations:{}}};return t._closure={},t.asString="function _f(values){return{initialValues:{originX:values.currentOriginX,originY:values.currentOriginY,width:values.currentWidth,height:values.currentHeight},animations:{}};}",t.__workletHash=0xd1d4378e3f7,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts (36:77)",g.__reanimatedWorkletInit(t),t})();e.DefaultExiting=o},575,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DecayAnimation",{enumerable:!0,get:function(){return c.DecayAnimation}}),Object.defineProperty(e,"HigherOrderAnimation",{enumerable:!0,get:function(){return n.HigherOrderAnimation}}),Object.defineProperty(e,"NextAnimation",{enumerable:!0,get:function(){return n.NextAnimation}}),Object.defineProperty(e,"RepeatAnimation",{enumerable:!0,get:function(){return n.RepeatAnimation}}),Object.defineProperty(e,"SequenceAnimation",{enumerable:!0,get:function(){return n.SequenceAnimation}}),Object.defineProperty(e,"SpringAnimation",{enumerable:!0,get:function(){return o.SpringAnimation}}),Object.defineProperty(e,"StyleLayoutAnimation",{enumerable:!0,get:function(){return n.StyleLayoutAnimation}}),Object.defineProperty(e,"TimingAnimation",{enumerable:!0,get:function(){return u.TimingAnimation}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return t.cancelAnimation}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return t.defineAnimation}}),Object.defineProperty(e,"initialUpdaterRun",{enumerable:!0,get:function(){return t.initialUpdaterRun}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return c.withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return f.withDelay}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return b.withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return y.withSequence}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return o.withSpring}}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return l.withStyleAnimation}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return u.withTiming}});var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),b=r(d[6]),y=r(d[7]),l=r(d[8])},576,[577,559,561,578,579,580,581,582,558]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})},577,[]); -__d(function(g,r,i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withSpring=void 0;var t,n=r(d[0]),o=((t=function(t,o,s){return(0,n.defineAnimation)(t,(function(){var n=function(){var n={damping:10,mass:1,stiffness:100,overshootClamping:!1,restDisplacementThreshold:.01,restSpeedThreshold:2,velocity:0};return o&&Object.keys(o).forEach(function(t){return n[t]=o[t]}),{onFrame:function(t,o){var s=t.toValue,c=t.lastTimestamp,l=t.current,m=t.velocity,u=Math.min(o-c,64);t.lastTimestamp=o;var p=n.damping,f=n.mass,v=n.stiffness,h=-m,y=s-l,D=p/(2*Math.sqrt(v*f)),V=Math.sqrt(v/f),T=V*Math.sqrt(1-Math.pow(D,2)),M=u/1e3,k=Math.sin(T*M),b=Math.cos(T*M),x=Math.exp(-D*V*M),_=x*(k*((h+D*V*y)/T)+y*b),w=s-_,S=D*V*_-x*(b*(h+D*V*y)-T*y*k),C=Math.exp(-V*M),E=s-C*(y+(h+V*y)*M),z=C*(h*(M*V-1)+M*y*V*V),A=Math.abs(m)s:t.currenttoValue:animation.currenttoValue:animation.current0&&t.current>=l.clamp[1])return t.current=l.clamp[1],!0}return Math.abs(b)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)n){l||(t.onStart(t,o.current,s,c),o.previousAnimation=null,o.started=!0);var A=t.onFrame(t,s);return o.current=t.current,A}if(c){var f=c.finished||c.onFrame(c,s);o.current=c.current,f&&(o.previousAnimation=null)}return!1},onStart:function(n,t,o,s){n.startTime=o,n.started=!1,n.current=t,n.previousAnimation=s===n?s.previousAnimation:s},current:t.current,callback:function(n){t.callback&&t.callback(n)},previousAnimation:null,startTime:0,started:!1}};return t._closure={_nextAnimation:o,delayMs:n},t.asString="function _f(){const{_nextAnimation,delayMs}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};}}",t.__workletHash=7966458355315,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (10:57)",g.__reanimatedWorkletInit(t),t})())})._closure={defineAnimation:t.defineAnimation},n.asString="function withDelay(delayMs,_nextAnimation){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};});}}",n.__workletHash=3937463855661,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (5:7)",g.__reanimatedWorkletInit(n),n);e.withDelay=o;var s=(function(){var n=function(n,t){return o(n,t)};return n._closure={withDelay:o},n.asString="function delay(delayMs,_nextAnimation){const{withDelay}=jsThis._closure;{console.warn('Method `delay` is deprecated. Please use `withDelay` instead');return withDelay(delayMs,_nextAnimation);}}",n.__workletHash=7037261769063,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (82:7)",g.__reanimatedWorkletInit(n),n})();e.delay=s},580,[559]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withRepeat=e.repeat=e.loop=void 0;var n,t=r(d[0]),o=((n=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3?arguments[3]:void 0;return(0,t.defineAnimation)(n,(function(){var t=function(){var t='function'==typeof n?n():n;return{isHigherOrder:!0,onFrame:function(n,u){var l=t.onFrame(t,u);if(n.current=t.current,l){if(n.reps+=1,t.callback&&t.callback(!0,n.current),o>0&&n.reps>=o)return!0;var c=s?t.current:n.startValue;return s&&(t.toValue=n.startValue,n.startValue=c),t.onStart(t,c,u,t.previousAnimation),!1}return!1},onStart:function(n,o,s,u){n.startValue=o,n.reps=0,t.onStart(t,o,s,u)},reps:0,current:t.current,callback:function(n){u&&u(n),!n&&t.callback&&t.callback(!1)},startValue:0}};return t._closure={_nextAnimation:n,numberOfReps:o,reverse:s,callback:u},t.asString="function _f(){const{_nextAnimation,numberOfReps,reverse,callback}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};}}",t.__workletHash=7048649597913,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (24:58)",g.__reanimatedWorkletInit(t),t})())})._closure={defineAnimation:t.defineAnimation},n.asString="function withRepeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};});}}",n.__workletHash=6454273429002,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (16:7)",g.__reanimatedWorkletInit(n),n);e.withRepeat=o;var s=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3?arguments[3]:void 0;return o(n,t,s,u)};return n._closure={withRepeat:o},n.asString="function repeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{withRepeat}=jsThis._closure;{console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead');return withRepeat(_nextAnimation,numberOfReps,reverse,callback);}}",n.__workletHash=8754105257322,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (98:7)",g.__reanimatedWorkletInit(n),n})();e.repeat=s;var u=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return s(n,Math.round(2*t),!0)};return n._closure={repeat:s},n.asString="function loop(nextAnimation,numberOfLoops=1){const{repeat}=jsThis._closure;{console.warn('Method `loop` is deprecated. Please use `withRepeat` instead');return repeat(nextAnimation,Math.round(numberOfLoops*2),true);}}",n.__workletHash=6061896044758,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (111:7)",g.__reanimatedWorkletInit(n),n})();e.loop=u},581,[559]); -__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withSequence=e.sequence=void 0;var n,t=r(d[0]),a=((n=function(){for(var n=arguments.length,a=new Array(n),o=0;os:t.currenttoValue:animation.currenttoValue:animation.current0&&t.current>=l.clamp[1])return t.current=l.clamp[1],!0}return Math.abs(b)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)0&&animation.current>=config.clamp[1]){animation.current=config.clamp[1];return true;}}return Math.abs(v)n){l||(t.onStart(t,o.current,s,c),o.previousAnimation=null,o.started=!0);var A=t.onFrame(t,s);return o.current=t.current,A}if(c){var f=c.finished||c.onFrame(c,s);o.current=c.current,f&&(o.previousAnimation=null)}return!1},onStart:function(n,t,o,s){n.startTime=o,n.started=!1,n.current=t,n.previousAnimation=s===n?s.previousAnimation:s},current:t.current,callback:function(n){t.callback&&t.callback(n)},previousAnimation:null,startTime:0,started:!1}};return t._closure={_nextAnimation:o,delayMs:n},t.asString="function _f(){const{_nextAnimation,delayMs}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};}}",t.__workletHash=7966458355315,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (10:57)",g.__reanimatedWorkletInit(t),t})())})._closure={defineAnimation:t.defineAnimation},n.asString="function withDelay(delayMs,_nextAnimation){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function delay(animation,now){const{startTime:startTime,started:started,previousAnimation:previousAnimation}=animation;if(now-startTime>delayMs){if(!started){nextAnimation.onStart(nextAnimation,animation.current,now,previousAnimation);animation.previousAnimation=null;animation.started=true;}const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;return finished;}else if(previousAnimation){const finished=previousAnimation.finished||previousAnimation.onFrame(previousAnimation,now);animation.current=previousAnimation.current;if(finished){animation.previousAnimation=null;}}return false;}function onStart(animation,value,now,previousAnimation){animation.startTime=now;animation.started=false;animation.current=value;if(previousAnimation===animation){animation.previousAnimation=previousAnimation.previousAnimation;}else{animation.previousAnimation=previousAnimation;}}const callback=function(finished){if(nextAnimation.callback){nextAnimation.callback(finished);}};return{isHigherOrder:true,onFrame:delay,onStart:onStart,current:nextAnimation.current,callback:callback,previousAnimation:null,startTime:0,started:false};});}}",n.__workletHash=3937463855661,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (5:7)",g.__reanimatedWorkletInit(n),n);e.withDelay=o;var s=(function(){var n=function(n,t){return o(n,t)};return n._closure={withDelay:o},n.asString="function delay(delayMs,_nextAnimation){const{withDelay}=jsThis._closure;{console.warn('Method `delay` is deprecated. Please use `withDelay` instead');return withDelay(delayMs,_nextAnimation);}}",n.__workletHash=7037261769063,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts (82:7)",g.__reanimatedWorkletInit(n),n})();e.delay=s},580,[559]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withRepeat=e.repeat=e.loop=void 0;var n,t=r(d[0]),o=((n=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3?arguments[3]:void 0;return(0,t.defineAnimation)(n,(function(){var t=function(){var t='function'==typeof n?n():n;return{isHigherOrder:!0,onFrame:function(n,u){var l=t.onFrame(t,u);if(n.current=t.current,l){if(n.reps+=1,t.callback&&t.callback(!0,n.current),o>0&&n.reps>=o)return!0;var c=s?t.current:n.startValue;return s&&(t.toValue=n.startValue,n.startValue=c),t.onStart(t,c,u,t.previousAnimation),!1}return!1},onStart:function(n,o,s,u){n.startValue=o,n.reps=0,t.onStart(t,o,s,u)},reps:0,current:t.current,callback:function(n){u&&u(n),!n&&t.callback&&t.callback(!1)},startValue:0}};return t._closure={_nextAnimation:n,numberOfReps:o,reverse:s,callback:u},t.asString="function _f(){const{_nextAnimation,numberOfReps,reverse,callback}=jsThis._closure;{const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};}}",t.__workletHash=7048649597913,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (24:58)",g.__reanimatedWorkletInit(t),t})())})._closure={defineAnimation:t.defineAnimation},n.asString="function withRepeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{defineAnimation}=jsThis._closure;{return defineAnimation(_nextAnimation,function(){'worklet';const nextAnimation=typeof _nextAnimation==='function'?_nextAnimation():_nextAnimation;function repeat(animation,now){const finished=nextAnimation.onFrame(nextAnimation,now);animation.current=nextAnimation.current;if(finished){animation.reps+=1;if(nextAnimation.callback){nextAnimation.callback(true,animation.current);}if(numberOfReps>0&&animation.reps>=numberOfReps){return true;}const startValue=reverse?nextAnimation.current:animation.startValue;if(reverse){nextAnimation.toValue=animation.startValue;animation.startValue=startValue;}nextAnimation.onStart(nextAnimation,startValue,now,nextAnimation.previousAnimation);return false;}return false;}const repCallback=function(finished){if(callback){callback(finished);}if(!finished&&nextAnimation.callback){nextAnimation.callback(false);}};function onStart(animation,value,now,previousAnimation){animation.startValue=value;animation.reps=0;nextAnimation.onStart(nextAnimation,value,now,previousAnimation);}return{isHigherOrder:true,onFrame:repeat,onStart:onStart,reps:0,current:nextAnimation.current,callback:repCallback,startValue:0};});}}",n.__workletHash=6454273429002,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (16:7)",g.__reanimatedWorkletInit(n),n);e.withRepeat=o;var s=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3?arguments[3]:void 0;return o(n,t,s,u)};return n._closure={withRepeat:o},n.asString="function repeat(_nextAnimation,numberOfReps=2,reverse=false,callback){const{withRepeat}=jsThis._closure;{console.warn('Method `repeat` is deprecated. Please use `withRepeat` instead');return withRepeat(_nextAnimation,numberOfReps,reverse,callback);}}",n.__workletHash=8754105257322,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (98:7)",g.__reanimatedWorkletInit(n),n})();e.repeat=s;var u=(function(){var n=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return s(n,Math.round(2*t),!0)};return n._closure={repeat:s},n.asString="function loop(nextAnimation,numberOfLoops=1){const{repeat}=jsThis._closure;{console.warn('Method `loop` is deprecated. Please use `withRepeat` instead');return repeat(nextAnimation,Math.round(numberOfLoops*2),true);}}",n.__workletHash=6061896044758,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts (111:7)",g.__reanimatedWorkletInit(n),n})();e.loop=u},581,[559]); +__d(function(g,r,i,_a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withSequence=e.sequence=void 0;var n,t=r(d[0]),a=((n=function(){for(var n=arguments.length,a=new Array(n),o=0;o expects the 'exec' prop or children to be an animated node or a function returning an animated node. "+(t?"Got \""+typeof o+"\" type passed to exec":"Got \""+typeof t+"\" type passed to children"))}var c=function(n){var c=n.exec,f=n.children,l=n.dependencies,p=f||c,s=null;return p instanceof o.default?s=function(){return p}:'function'==typeof p&&(s=p),u(s,f,c),(0,t.default)(s,l),null};e.default=c},584,[3,585,525]); __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,u){if(!(t.default.useEffect instanceof Function))return;t.default.useEffect(function(){if(!(n instanceof Function)){var t=n;n=function(){return t}}var u=n();if(u){u instanceof Array&&(u=(0,f.block)(u));var c=(0,f.always)(u);return c.__attach(),function(){return c.__detach()}}},u)};var t=n(r(d[1])),f=r(d[2])},585,[3,169,564]); @@ -611,58 +611,58 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnimatedReactionWorkletFunction",{enumerable:!0,get:function(){return c.AnimatedReactionWorkletFunction}}),Object.defineProperty(e,"AnimatedStyleResult",{enumerable:!0,get:function(){return l.AnimatedStyleResult}}),Object.defineProperty(e,"Context",{enumerable:!0,get:function(){return n.Context}}),Object.defineProperty(e,"DependencyList",{enumerable:!0,get:function(){return n.DependencyList}}),Object.defineProperty(e,"DerivedValue",{enumerable:!0,get:function(){return s.DerivedValue}}),Object.defineProperty(e,"GestureHandlerEvent",{enumerable:!0,get:function(){return o.GestureHandlerEvent}}),Object.defineProperty(e,"GestureHandlers",{enumerable:!0,get:function(){return o.GestureHandlers}}),Object.defineProperty(e,"ScrollHandler",{enumerable:!0,get:function(){return b.ScrollHandler}}),Object.defineProperty(e,"ScrollHandlers",{enumerable:!0,get:function(){return b.ScrollHandlers}}),Object.defineProperty(e,"useAnimatedGestureHandler",{enumerable:!0,get:function(){return o.useAnimatedGestureHandler}}),Object.defineProperty(e,"useAnimatedProps",{enumerable:!0,get:function(){return t.useAnimatedProps}}),Object.defineProperty(e,"useAnimatedReaction",{enumerable:!0,get:function(){return c.useAnimatedReaction}}),Object.defineProperty(e,"useAnimatedRef",{enumerable:!0,get:function(){return f.useAnimatedRef}}),Object.defineProperty(e,"useAnimatedScrollHandler",{enumerable:!0,get:function(){return b.useAnimatedScrollHandler}}),Object.defineProperty(e,"useAnimatedStyle",{enumerable:!0,get:function(){return l.useAnimatedStyle}}),Object.defineProperty(e,"useDerivedValue",{enumerable:!0,get:function(){return s.useDerivedValue}}),Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return t.useEvent}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return t.useHandler}}),Object.defineProperty(e,"useSharedValue",{enumerable:!0,get:function(){return u.useSharedValue}}),Object.defineProperty(e,"useWorkletCallback",{enumerable:!0,get:function(){return t.useWorkletCallback}});var n=r(d[0]),t=r(d[1]),u=r(d[2]),l=r(d[3]),o=r(d[4]),c=r(d[5]),f=r(d[6]),b=r(d[7]),s=r(d[8])},605,[606,607,609,608,612,613,614,616,617]); __d(function(g,r,i,a,m,e,d){},606,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedProps=void 0,Object.defineProperty(e,"useEvent",{enumerable:!0,get:function(){return u.useEvent}}),Object.defineProperty(e,"useHandler",{enumerable:!0,get:function(){return u.useHandler}}),e.useWorkletCallback=function(t,u){return(0,n.useCallback)(t,null!=u?u:[])};var n=r(d[0]),t=r(d[1]),u=r(d[2]),l=t.useAnimatedStyle;e.useAnimatedProps=l},607,[169,608,610]); -__d(function(g,r,_i2,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedStyle=function(t,l,_){var A,h,b=(0,y.makeViewsRefSet)(),k=(0,y.makeViewDescriptorsSet)(),w=(0,s.useRef)(),V=Object.values(null!=(A=t._closure)?A:{}),D=_?Array.isArray(_)?_:[_]:[],W=_?(0,p.buildWorkletsHash)(D):null,R=(0,c.useSharedValue)(!0),O=(0,s.useRef)({});l?l.push(t.__workletHash):l=[].concat((0,n.default)(V),[t.__workletHash]);if(W&&l.push(W),!w.current){var C=(0,u.initialUpdaterRun)(t);(0,p.validateAnimatedStyles)(C),w.current={initial:{value:C,updater:t},remoteState:(0,o.makeRemote)({last:C}),sharableViewDescriptors:(0,o.makeMutable)([])},k.rebuildsharableViewDescriptors(w.current.sharableViewDescriptors)}l.push(null==(h=w.current)?void 0:h.sharableViewDescriptors.value);var P=w.current,T=P.initial,E=P.remoteState,U=P.sharableViewDescriptors,q=f.default.native?void 0:b;return(0,s.useEffect)(function(){var n,s,l=t,u=t.__optimalization;_&&((s=function(){var n=t();return D.forEach(function(t){t(n)}),n})._closure={updater:t,adaptersArray:D},s.asString="function _f(){const{updater,adaptersArray}=jsThis._closure;{const newValues=updater();adaptersArray.forEach(function(adapter){adapter(newValues);});return newValues;}}",s.__workletHash=0xe619afc2f63,s.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (459:18)",g.__reanimatedWorkletInit(s),l=s),(0,p.canApplyOptimalisation)(l)&&!(0,v.shouldBeUseWeb)()?l=(0,p.hasColorProps)(l())?(function(){var t=function(){var t=l(),n=E.last,s=(0,p.styleDiff)(n,t);return E.last=(0,i.default)({},n,t),(0,p.parseColors)(s),s};return t._closure={updaterFn:l,remoteState:E,styleDiff:p.styleDiff,parseColors:p.parseColors},t.asString="function _f(){const{updaterFn,remoteState,styleDiff,parseColors}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);parseColors(diff);return diff;}}",t.__workletHash=5178118372497,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (471:20)",g.__reanimatedWorkletInit(t),t})():(function(){var t=function(){var t=l(),n=E.last,s=(0,p.styleDiff)(n,t);return E.last=(0,i.default)({},n,t),s};return t._closure={updaterFn:l,remoteState:E,styleDiff:p.styleDiff},t.asString="function _f(){const{updaterFn,remoteState,styleDiff}=jsThis._closure;{const newValues=updaterFn();const oldValues=remoteState.last;const diff=styleDiff(oldValues,newValues);remoteState.last=Object.assign({},oldValues,newValues);return diff;}}",t.__workletHash=5024825431498,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (481:20)",g.__reanimatedWorkletInit(t),t})():(0,v.shouldBeUseWeb)()||(u=0,l=(function(){var t=function(){var t=l();return(0,p.parseColors)(t),t};return t._closure={updaterFn:l,parseColors:p.parseColors},t.asString="function _f(){const{updaterFn,parseColors}=jsThis._closure;{const style=updaterFn();parseColors(style);return style;}}",t.__workletHash=0xd3440791ed5,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (492:18)",g.__reanimatedWorkletInit(t),t})()),void 0!==typeof t.__optimalization&&(l.__optimalization=u),n=(0,v.isJest)()?(function(){var n=function(){j(U,t,E,q,R,O,D)};return n._closure={jestStyleUpdater:j,sharableViewDescriptors:U,updater:t,remoteState:E,maybeViewRef:q,animationsActive:R,animatedStyle:O,adaptersArray:D},n.asString="function _f(){const{jestStyleUpdater,sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray}=jsThis._closure;{jestStyleUpdater(sharableViewDescriptors,updater,remoteState,maybeViewRef,animationsActive,animatedStyle,adaptersArray);}}",n.__workletHash=0xa4797ee89b1,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (504:12)",g.__reanimatedWorkletInit(n),n})():(function(){var t=function(){S(U,l,E,q,R)};return t._closure={styleUpdater:S,sharableViewDescriptors:U,updaterFn:l,remoteState:E,maybeViewRef:q,animationsActive:R},t.asString="function _f(){const{styleUpdater,sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive}=jsThis._closure;{styleUpdater(sharableViewDescriptors,updaterFn,remoteState,maybeViewRef,animationsActive);}}",t.__workletHash=0xdae68c20151,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (517:12)",g.__reanimatedWorkletInit(t),t})();var f=(0,o.startMapper)(n,V,[],l,U);return function(){(0,o.stopMapper)(f)}},l),(0,s.useEffect)(function(){return R.value=!0,function(){R.value=!1}},[]),F(T.value),process.env.JEST_WORKER_ID?{viewDescriptors:k,initial:T,viewsRef:b,animatedStyle:O}:{viewDescriptors:k,initial:T,viewsRef:b}};var n=t(r(d[1])),i=t(r(d[2])),s=r(d[3]),o=r(d[4]),l=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=_(n);if(i&&i.has(t))return i.get(t);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var u=o?Object.getOwnPropertyDescriptor(t,l):null;u&&(u.get||u.set)?Object.defineProperty(s,l,u):s[l]=t[l]}s.default=t,i&&i.set(t,s);return s})(r(d[5])),u=r(d[6]),f=t(r(d[7])),c=r(d[8]),p=r(d[9]),y=r(d[10]),v=r(d[11]);function _(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(_=function(t){return t?i:n})(t)}function A(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=h(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,n){if(t){if("string"==typeof t)return b(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,s=new Array(n);i6&&void 0!==arguments[6]?arguments[6]:[],A=null!=(y=s.animations)?y:{},h=null!=(v=n())?v:{},b=s.last,k=!1;function S(n){var i=s.animations,p=s.last;if(s.isAnimationCancelled)s.isAnimationRunning=!1;else{var y={},v=!0;Object.keys(i).forEach(function(t){V(i[t],n,t,y,f)?(p[t]=y[t],delete i[t]):v=!1}),Object.keys(y).length&&(0,l.updatePropsJestWrapper)(t,y,u,c,_),v?s.isAnimationRunning=!1:(0,o.requestFrame)(S)}}Object.keys(A).forEach(function(t){var n=h[t];(0,p.isAnimated)(n)||delete A[t]}),Object.keys(h).forEach(function(t){var n=h[t];(0,p.isAnimated)(n)&&(w(n,A[t],b[t]),A[t]=n,k=!0)}),k?(s.animations=A,s.isAnimationRunning||(s.isAnimationCancelled=!1,s.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,o.requestFrame)(S))):(s.isAnimationCancelled=!0,s.animations=[]);var j=(0,p.styleDiff)(b,h);s.last=(0,i.default)({},b,h),0!==Object.keys(j).length&&(0,l.updatePropsJestWrapper)(t,j,u,c,_)};return t._closure={isAnimated:p.isAnimated,prepareAnimation:w,runAnimations:V,updatePropsJestWrapper:l.updatePropsJestWrapper,requestFrame:o.requestFrame,styleDiff:p.styleDiff},t.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",t.__workletHash=3969143793855,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",g.__reanimatedWorkletInit(t),t})();function F(t,n){if(Array.isArray(t))for(var i,s=A(t);!(i=s()).done;){F(i.value,n)}else if('object'==typeof t&&void 0===t.value)for(var o=0,l=Object.keys(t);o=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t,n){if(t){if("string"==typeof t)return b(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?b(t,n):void 0}}function b(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,s=new Array(n);i6&&void 0!==arguments[6]?arguments[6]:[],A=null!=(y=s.animations)?y:{},h=null!=(v=n())?v:{},b=s.last,k=!1;function S(n){var i=s.animations,p=s.last;if(s.isAnimationCancelled)s.isAnimationRunning=!1;else{var y={},v=!0;Object.keys(i).forEach(function(t){V(i[t],n,t,y,f)?(p[t]=y[t],delete i[t]):v=!1}),Object.keys(y).length&&(0,l.updatePropsJestWrapper)(t,y,u,c,_),v?s.isAnimationRunning=!1:(0,o.requestFrame)(S)}}Object.keys(A).forEach(function(t){var n=h[t];(0,p.isAnimated)(n)||delete A[t]}),Object.keys(h).forEach(function(t){var n=h[t];(0,p.isAnimated)(n)&&(w(n,A[t],b[t]),A[t]=n,k=!0)}),k?(s.animations=A,s.isAnimationRunning||(s.isAnimationCancelled=!1,s.isAnimationRunning=!0,_frameTimestamp?S(_frameTimestamp):(0,o.requestFrame)(S))):(s.isAnimationCancelled=!0,s.animations=[]);var j=(0,p.styleDiff)(b,h);s.last=(0,i.default)({},b,h),0!==Object.keys(j).length&&(0,l.updatePropsJestWrapper)(t,j,u,c,_)};return t._closure={isAnimated:p.isAnimated,prepareAnimation:w,runAnimations:V,updatePropsJestWrapper:l.updatePropsJestWrapper,requestFrame:o.requestFrame,styleDiff:p.styleDiff},t.asString="function jestStyleUpdater(viewDescriptors,updater,state,maybeViewRef,animationsActive,animatedStyle,adapters=[]){const{isAnimated,prepareAnimation,runAnimations,updatePropsJestWrapper,requestFrame,styleDiff}=jsThis._closure;{var _state$animations,_updater;const animations=(_state$animations=state.animations)!==null&&_state$animations!==void 0?_state$animations:{};const newValues=(_updater=updater())!==null&&_updater!==void 0?_updater:{};const oldValues=state.last;let hasAnimations=false;Object.keys(animations).forEach(function(key){const value=newValues[key];if(!isAnimated(value)){delete animations[key];}});Object.keys(newValues).forEach(function(key){const value=newValues[key];if(isAnimated(value)){prepareAnimation(value,animations[key],oldValues[key]);animations[key]=value;hasAnimations=true;}});function frame(timestamp){const{animations:animations,last:last,isAnimationCancelled:isAnimationCancelled}=state;if(isAnimationCancelled){state.isAnimationRunning=false;return;}const updates={};let allFinished=true;Object.keys(animations).forEach(function(propName){const finished=runAnimations(animations[propName],timestamp,propName,updates,animationsActive);if(finished){last[propName]=updates[propName];delete animations[propName];}else{allFinished=false;}});if(Object.keys(updates).length){updatePropsJestWrapper(viewDescriptors,updates,maybeViewRef,animatedStyle,adapters);}if(!allFinished){requestFrame(frame);}else{state.isAnimationRunning=false;}}if(hasAnimations){state.animations=animations;if(!state.isAnimationRunning){state.isAnimationCancelled=false;state.isAnimationRunning=true;if(_frameTimestamp){frame(_frameTimestamp);}else{requestFrame(frame);}}}else{state.isAnimationCancelled=true;state.animations=[];}const diff=styleDiff(oldValues,newValues);state.last=Object.assign({},oldValues,newValues);if(Object.keys(diff).length!==0){updatePropsJestWrapper(viewDescriptors,diff,maybeViewRef,animatedStyle,adapters);}}}",t.__workletHash=3969143793855,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts (273:0)",g.__reanimatedWorkletInit(t),t})();function F(t,n){if(Array.isArray(t))for(var i,s=A(t);!(i=s()).done;){F(i.value,n)}else if('object'==typeof t&&void 0===t.value)for(var o=0,l=Object.keys(t);o1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,n.useRef)(null);null===s.current?s.current=new l.default(t,o):i&&s.current.updateWorklet(t);return(0,n.useEffect)(function(){return function(){s.current=null}},[]),s},e.useHandler=function(t,o){var u=(0,n.useRef)(null);null===u.current&&(u.current={context:(0,i.makeRemote)({}),savedDependencies:[]});(0,n.useEffect)(function(){return function(){u.current=null}},[]);var l=u.current,c=l.context,f=l.savedDependencies,p=!h(o=y(o,t),f);u.current.savedDependencies=o;var v=(0,s.isWeb)()||(0,s.isJest)();return{context:c,doDependenciesDiffer:p,useWeb:v}},e.validateAnimatedStyles=void 0;var n=r(d[1]),o=r(d[2]),i=r(d[3]),s=r(d[4]),u=r(d[5]),l=t(r(d[6]));function c(t,n){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=f(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,n){if(t){if("string"==typeof t)return p(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?p(t,n):void 0}}function p(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,i=new Array(n);o0;){var o=n.pop();if(Array.isArray(o))for(var i,s=c(o);!(i=s()).done;){var u=i.value;n.push(u)}else{if(void 0!==(null==o?void 0:o.onFrame))return!0;if('object'==typeof o)for(var l=0,f=Object.values(o);l0){const currentProp=propsToCheck.pop();if(Array.isArray(currentProp)){for(const item of currentProp){propsToCheck.push(item);}}else if((currentProp===null||currentProp===void 0?void 0:currentProp.onFrame)!==undefined){return true;}else if(typeof currentProp==='object'){for(const item of Object.values(currentProp)){propsToCheck.push(item);}}}return false;}",t.__workletHash=3559579197933,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (186:7)",g.__reanimatedWorkletInit(t),t})();e.isAnimated=k;var w=(function(){var t=function(t,n){var o={};for(var i in t)void 0===n[i]&&(o[i]=null);for(var s in n){var u=n[s],l=t[s];k(u)||l!==u&&(o[s]=u)}return o};return t._closure={isAnimated:k},t.asString="function styleDiff(oldStyle,newStyle){const{isAnimated}=jsThis._closure;{const diff={};for(const key in oldStyle){if(newStyle[key]===undefined){diff[key]=null;}}for(const key in newStyle){const value=newStyle[key];const oldValue=oldStyle[key];if(isAnimated(value)){continue;}if(oldValue!==value){diff[key]=value;}}return diff;}}",t.__workletHash=0xfe47055e6f3,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (209:7)",g.__reanimatedWorkletInit(t),t})();e.styleDiff=w;var A=(function(){var t=function(t){var n={};for(var o in t){var i=t[o];k(i)||(n[o]=i)}return n};return t._closure={isAnimated:k},t.asString="function getStyleWithoutAnimations(newStyle){const{isAnimated}=jsThis._closure;{const diff={};for(const key in newStyle){const value=newStyle[key];if(isAnimated(value)){continue;}diff[key]=value;}return diff;}}",t.__workletHash=2190466090064,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (235:7)",g.__reanimatedWorkletInit(t),t})();e.getStyleWithoutAnimations=A;var S=(function(){var t=function(t){if('object'!=typeof t)throw new Error("useAnimatedStyle has to return an object, found "+typeof t+" instead");if(Array.isArray(t))throw new Error('useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.')};return t._closure={},t.asString="function _f(styles){if(typeof styles!=='object'){throw new Error(\"useAnimatedStyle has to return an object, found \"+typeof styles+\" instead\");}else if(Array.isArray(styles)){throw new Error('useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.');}}",t.__workletHash=316286613811,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (249:38)",g.__reanimatedWorkletInit(t),t})();e.validateAnimatedStyles=S},610,[3,169,560,557,523,572,547]); +__d(function(g,r,_i2,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.areDependenciesEqual=h,e.buildDependencies=y,e.buildWorkletsHash=v,e.canApplyOptimalisation=function(t){var n=t.__optimalization;return 1&n&&2&n},e.getStyleWithoutAnimations=void 0,e.hasColorProps=function(t){var n=new Set(u.colorProps);for(var o in t)if(n.has(o))return!0;return!1},e.styleDiff=e.parseColors=e.isAnimated=void 0,e.useEvent=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,n.useRef)(null);null===s.current?s.current=new l.default(t,o):i&&s.current.updateWorklet(t);return(0,n.useEffect)(function(){return function(){s.current=null}},[]),s},e.useHandler=function(t,o){var u=(0,n.useRef)(null);null===u.current&&(u.current={context:(0,i.makeRemote)({}),savedDependencies:[]});(0,n.useEffect)(function(){return function(){u.current=null}},[]);var l=u.current,c=l.context,f=l.savedDependencies,p=!h(o=y(o,t),f);u.current.savedDependencies=o;var v=(0,s.isWeb)()||(0,s.isJest)();return{context:c,doDependenciesDiffer:p,useWeb:v}},e.validateAnimatedStyles=void 0;var n=r(d[1]),o=r(d[2]),i=r(d[3]),s=r(d[4]),u=r(d[5]),l=t(r(d[6]));function c(t,n){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=f(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,n){if(t){if("string"==typeof t)return p(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?p(t,n):void 0}}function p(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,i=new Array(n);o0;){var o=n.pop();if(Array.isArray(o))for(var i,s=c(o);!(i=s()).done;){var u=i.value;n.push(u)}else{if(void 0!==(null==o?void 0:o.onFrame))return!0;if('object'==typeof o)for(var l=0,f=Object.values(o);l0){const currentProp=propsToCheck.pop();if(Array.isArray(currentProp)){for(const item of currentProp){propsToCheck.push(item);}}else if((currentProp===null||currentProp===void 0?void 0:currentProp.onFrame)!==undefined){return true;}else if(typeof currentProp==='object'){for(const item of Object.values(currentProp)){propsToCheck.push(item);}}}return false;}",t.__workletHash=3559579197933,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (186:7)",g.__reanimatedWorkletInit(t),t})();e.isAnimated=k;var w=(function(){var t=function(t,n){var o={};for(var i in t)void 0===n[i]&&(o[i]=null);for(var s in n){var u=n[s],l=t[s];k(u)||l!==u&&(o[s]=u)}return o};return t._closure={isAnimated:k},t.asString="function styleDiff(oldStyle,newStyle){const{isAnimated}=jsThis._closure;{const diff={};for(const key in oldStyle){if(newStyle[key]===undefined){diff[key]=null;}}for(const key in newStyle){const value=newStyle[key];const oldValue=oldStyle[key];if(isAnimated(value)){continue;}if(oldValue!==value){diff[key]=value;}}return diff;}}",t.__workletHash=0xfe47055e6f3,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (209:7)",g.__reanimatedWorkletInit(t),t})();e.styleDiff=w;var A=(function(){var t=function(t){var n={};for(var o in t){var i=t[o];k(i)||(n[o]=i)}return n};return t._closure={isAnimated:k},t.asString="function getStyleWithoutAnimations(newStyle){const{isAnimated}=jsThis._closure;{const diff={};for(const key in newStyle){const value=newStyle[key];if(isAnimated(value)){continue;}diff[key]=value;}return diff;}}",t.__workletHash=2190466090064,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (235:7)",g.__reanimatedWorkletInit(t),t})();e.getStyleWithoutAnimations=A;var S=(function(){var t=function(t){if('object'!=typeof t)throw new Error("useAnimatedStyle has to return an object, found "+typeof t+" instead");if(Array.isArray(t))throw new Error('useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.')};return t._closure={},t.asString="function _f(styles){if(typeof styles!=='object'){throw new Error(\"useAnimatedStyle has to return an object, found \"+typeof styles+\" instead\");}else if(Array.isArray(styles)){throw new Error('useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.');}}",t.__workletHash=316286613811,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts (249:38)",g.__reanimatedWorkletInit(t),t})();e.validateAnimatedStyles=S},610,[3,169,560,557,523,572,547]); __d(function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.makeViewDescriptorsSet=function(){var i=(0,t.useRef)(null);if(null===i.current){var s={batchToRemove:new Set,tags:new Set,waitForInsertSync:!1,waitForRemoveSync:!1,sharableViewDescriptors:(0,n.makeMutable)([]),items:[],add:function(t){s.tags.has(t.tag)||(s.tags.add(t.tag),s.items.push(t),s.waitForInsertSync||(s.waitForInsertSync=!0,u(function(){s.sharableViewDescriptors.value=s.items,s.waitForInsertSync=!1})))},remove:function(t){s.batchToRemove.add(t),s.waitForRemoveSync||(s.waitForRemoveSync=!0,u(function(){for(var t,n=[],i=o(s.items);!(t=i()).done;){var u=t.value;s.batchToRemove.has(u.tag)?s.tags.delete(u.tag):n.push(u)}s.items=n,s.sharableViewDescriptors.value=n,s.batchToRemove=new Set,s.waitForRemoveSync=!1}))},rebuildsharableViewDescriptors:function(t){s.sharableViewDescriptors=t}};i.current=s}return i.current},e.makeViewsRefSet=function(){var n=(0,t.useRef)(null);if(null===n.current){var o={items:new Set,add:function(t){o.items.has(t)||o.items.add(t)},remove:function(t){o.items.delete(t)}};n.current=o}return n.current};var t=r(d[0]),n=r(d[1]);function o(t,n){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=i(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,n){if(t){if("string"==typeof t)return s(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?s(t,n):void 0}}function s(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,i=new Array(n);o=l?1:-1;return s*fs*E?p(o.extrapolateRight,s,f,l,E,t):f};return t._closure={getVal:p},t.asString="function internalInterpolate(x,narrowedInput,extrapolationConfig){const{getVal}=jsThis._closure;{const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;if(rightEdgeInput-leftEdgeInput===0)return leftEdgeOutput;const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}}",t.__workletHash=8108992359068,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (120:0)",g.__reanimatedWorkletInit(t),t})(),x=(function(){var t=function(t,n,o,u){if(n.length<2||o.length<2)throw Error('Interpolation input and output should contain at least two values.');var p=f(u);if(l(t))return(0,i.default)(t,{inputRange:n,outputRange:o,extrapolateLeft:p.extrapolateLeft,extrapolateRight:p.extrapolateRight});var E=n.length,x={leftEdgeInput:n[0],rightEdgeInput:n[1],leftEdgeOutput:o[0],rightEdgeOutput:o[1]};if(E>2)if(t>n[E-1])x.leftEdgeInput=n[E-2],x.rightEdgeInput=n[E-1],x.leftEdgeOutput=o[E-2],x.rightEdgeOutput=o[E-1];else for(var c=1;c2){if(x>input[length-1]){narrowedInput.leftEdgeInput=input[length-2];narrowedInput.rightEdgeInput=input[length-1];narrowedInput.leftEdgeOutput=output[length-2];narrowedInput.rightEdgeOutput=output[length-1];}else{for(let i=1;i2&&void 0!==arguments[2]?arguments[2]:r.RGB;return(0,s.useSharedValue)({inputRange:o,outputRange:t,colorSpace:l,cache:(0,a.makeMutable)(null)})};var o,r,t=_r(d[0]),a=_r(d[1]),l=_r(d[2]),n=_r(d[3]),s=_r(d[4]),i=((o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.h,n.Extrapolate.CLAMP),i=(0,l.interpolate)(o,r,a.s,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.v,n.Extrapolate.CLAMP);return(0,t.hsvToColor)(s,i,p)})._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},hsvToColor:t.hsvToColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,hsvToColor}=jsThis._closure;{const h=interpolate(value,inputRange,colors.h,Extrapolate.CLAMP);const s=interpolate(value,inputRange,colors.s,Extrapolate.CLAMP);const v=interpolate(value,inputRange,colors.v,Extrapolate.CLAMP);return hsvToColor(h,s,v);}}",o.__workletHash=8523421253831,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (18:29)",_g.__reanimatedWorkletInit(o),o),p=(function(){var o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.r,n.Extrapolate.CLAMP),i=(0,l.interpolate)(o,r,a.g,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.b,n.Extrapolate.CLAMP),u=(0,l.interpolate)(o,r,a.a,n.Extrapolate.CLAMP);return(0,t.rgbaColor)(s,i,p,u)};return o._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},rgbaColor:t.rgbaColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,rgbaColor}=jsThis._closure;{const r=interpolate(value,inputRange,colors.r,Extrapolate.CLAMP);const g=interpolate(value,inputRange,colors.g,Extrapolate.CLAMP);const b=interpolate(value,inputRange,colors.b,Extrapolate.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolate.CLAMP);return rgbaColor(r,g,b,a);}}",o.__workletHash=9163961585023,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (30:29)",_g.__reanimatedWorkletInit(o),o})(),u=(function(){var o=function(o){for(var r=[],a=[],l=[],n=[],s=0;s3&&void 0!==arguments[3]?arguments[3]:'RGB';if('HSV'===a)return i(o,r,c(t));if('RGB'===a)return p(o,r,u(t));throw new Error("Invalid color space provided: "+a+". Supported values are: ['RGB', 'HSV']")};return o._closure={interpolateColorsHSV:i,getInterpolateHSV:c,interpolateColorsRGB:p,getInterpolateRGB:u},o.asString="function _f(value,inputRange,outputRange,colorSpace='RGB'){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB}=jsThis._closure;{if(colorSpace==='HSV'){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange));}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange));}throw new Error(\"Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=3318264077187,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (98:32)",_g.__reanimatedWorkletInit(o),o})();e.interpolateColor=g,e.ColorSpace=r,(function(o){o[o.RGB=0]="RGB",o[o.HSV=1]="HSV"})(r||(e.ColorSpace=r={}));var v=(function(){var o=function(o,t){var a=t.value.cache.value;if(t.value.colorSpace===r.RGB)return a||(a=u(t.value.outputRange),t.value.cache.value=a),p(o,t.value.inputRange,a);if(t.value.colorSpace===r.HSV)return a||(a=c(t.value.outputRange),t.value.cache.value=a),i(o,t.value.inputRange,a);throw new Error("Invalid color space provided: "+t.value.colorSpace+". Supported values are: ['RGB', 'HSV']")};return o._closure={ColorSpace:{RGB:r.RGB,HSV:r.HSV},getInterpolateRGB:u,interpolateColorsRGB:p,getInterpolateHSV:c,interpolateColorsHSV:i},o.asString="function _f(value,interpolateConfig){const{ColorSpace,getInterpolateRGB,interpolateColorsRGB,getInterpolateHSV,interpolateColorsHSV}=jsThis._closure;{let colors=interpolateConfig.value.cache.value;if(interpolateConfig.value.colorSpace===ColorSpace.RGB){if(!colors){colors=getInterpolateRGB(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsRGB(value,interpolateConfig.value.inputRange,colors);}else if(interpolateConfig.value.colorSpace===ColorSpace.HSV){if(!colors){colors=getInterpolateHSV(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsHSV(value,interpolateConfig.value.inputRange,colors);}throw new Error(\"Invalid color space provided: \"+interpolateConfig.value.colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=0xf190ead19fd,o.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (148:40)",_g.__reanimatedWorkletInit(o),o})();e.interpolateSharableColor=v},619,[560,557,618,594,609]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextInputAdapter=e.SVGAdapter=void 0,e.createAnimatedPropAdapter=s;var t=r(d[0]);function s(s,n){var o={};return null==n||n.forEach(function(t){o[t]=!0}),(0,t.addWhitelistedNativeProps)(o),s}var n,o=s(((n=function(t){if(Object.keys(t).includes('transform'))if(Array.isArray(t.transform)){var s,n;if(6!==t.transform.length)throw new Error("invalid transform length of "+t.transform.length+", should be 6");var o=t.transform,l=null!=(s=t.x)?s:0,f=null!=(n=t.y)?n:0;t.transform=[{translateX:o[0]*l+o[2]*f+o[4]},{translateY:o[1]*l+o[3]*f+o[5]}]}else if('string'==typeof t.transform){var p=t.transform.replace('translate(','').replace(')','').split(' ');t.transform=[{translateX:parseFloat(p[0])},{translateY:parseFloat(p[1])}]}})._closure={},n.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('transform')){if(Array.isArray(props.transform)){var _ref,_ref2;if(props.transform.length!==6){throw new Error(\"invalid transform length of \"+props.transform.length+\", should be 6\");}const transform=props.transform;const x=(_ref=props.x)!==null&&_ref!==void 0?_ref:0;const y=(_ref2=props.y)!==null&&_ref2!==void 0?_ref2:0;props.transform=[{translateX:transform[0]*x+transform[2]*y+transform[4]},{translateY:transform[1]*x+transform[3]*y+transform[5]}];}else if(typeof props.transform==='string'){const transform=props.transform;const arr=transform.replace('translate(','').replace(')','').split(' ');props.transform=[{translateX:parseFloat(arr[0])},{translateY:parseFloat(arr[1])}];}}}",n.__workletHash=630689667452,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (20:2)",g.__reanimatedWorkletInit(n),n));e.SVGAdapter=o;var l=s((function(){var t=function(t){Object.keys(t).includes('value')&&(t.text=t.value,delete t.value)};return t._closure={},t.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('value')){props.text=props.value;delete props.value;}}",t.__workletHash=0x9f9db68ca9c,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (58:2)",g.__reanimatedWorkletInit(t),t})(),['text']);e.TextInputAdapter=l},620,[573]); +__d(function(g,r,i,a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.EventType=void 0,_e.useAnimatedGestureHandler=function(n,E){var o=(0,t.useHandler)(n,E),s=o.context,v=o.doDependenciesDiffer,l=o.useWeb,A=(C=function(t){var E=l?t.nativeEvent:t;E.state===e.BEGAN&&n.onStart&&n.onStart(E,s),E.state===e.ACTIVE&&n.onActive&&n.onActive(E,s),E.oldState===e.ACTIVE&&E.state===e.END&&n.onEnd&&n.onEnd(E,s),E.oldState===e.BEGAN&&E.state===e.FAILED&&n.onFail&&n.onFail(E,s),E.oldState===e.ACTIVE&&E.state===e.CANCELLED&&n.onCancel&&n.onCancel(E,s),E.oldState!==e.BEGAN&&E.oldState!==e.ACTIVE||E.state===e.BEGAN||E.state===e.ACTIVE||!n.onFinish||n.onFinish(E,s,E.state===e.CANCELLED||E.state===e.FAILED)},C._closure={useWeb:l,EventType:{BEGAN:e.BEGAN,ACTIVE:e.ACTIVE,END:e.END,FAILED:e.FAILED,CANCELLED:e.CANCELLED},handlers:{onStart:n.onStart,onActive:n.onActive,onEnd:n.onEnd,onFail:n.onFail,onCancel:n.onCancel,onFinish:n.onFinish},context:s},C.asString="function _f(e){const{useWeb,EventType,handlers,context}=jsThis._closure;{const event=useWeb?e.nativeEvent:e;if(event.state===EventType.BEGAN&&handlers.onStart){handlers.onStart(event,context);}if(event.state===EventType.ACTIVE&&handlers.onActive){handlers.onActive(event,context);}if(event.oldState===EventType.ACTIVE&&event.state===EventType.END&&handlers.onEnd){handlers.onEnd(event,context);}if(event.oldState===EventType.BEGAN&&event.state===EventType.FAILED&&handlers.onFail){handlers.onFail(event,context);}if(event.oldState===EventType.ACTIVE&&event.state===EventType.CANCELLED&&handlers.onCancel){handlers.onCancel(event,context);}if((event.oldState===EventType.BEGAN||event.oldState===EventType.ACTIVE)&&event.state!==EventType.BEGAN&&event.state!==EventType.ACTIVE&&handlers.onFinish){handlers.onFinish(event,context,event.state===EventType.CANCELLED||event.state===EventType.FAILED);}}}",C.__workletHash=7592680024462,C.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedGestureHandler.ts (54:18)",g.__reanimatedWorkletInit(C),C);var C;if(l)return A;return(0,t.useEvent)(A,['onGestureHandlerStateChange','onGestureHandlerEvent'],v)};var e,t=r(d[0]);_e.EventType=e,(function(e){e[e.UNDETERMINED=0]="UNDETERMINED",e[e.FAILED=1]="FAILED",e[e.BEGAN=2]="BEGAN",e[e.CANCELLED=3]="CANCELLED",e[e.ACTIVE=4]="ACTIVE",e[e.END=5]="END"})(e||(_e.EventType=e={}))},612,[607]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedReaction=function(n,s,l){var c,_,p=(0,o.useSharedValue)(null);void 0===l?l=[Object.values(null!=(c=n._closure)?c:{}),Object.values(null!=(_=s._closure)?_:{}),n.__workletHash,s.__workletHash]:l.push(n.__workletHash,s.__workletHash);(0,t.useEffect)(function(){var t,o,l=((o=function(){var t=n();s(t,p.value),p.value=t})._closure={prepare:n,react:s,previous:p},o.asString="function _f(){const{prepare,react,previous}=jsThis._closure;{const input=prepare();react(input,previous.value);previous.value=input;}}",o.__workletHash=0xf65ab3ce932,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedReaction.ts (34:16)",g.__reanimatedWorkletInit(o),o),c=(0,u.startMapper)(l,Object.values(null!=(t=n._closure)?t:{}),[]);return function(){(0,u.stopMapper)(c)}},l)};var t=r(d[0]),u=r(d[1]),o=r(d[2])},613,[169,557,609]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedRef=function(){var o=(0,u.useSharedValue)(-1),c=(0,t.useRef)();if(!c.current){var l=((s=function(t){return t&&(o.value=(0,n.getTag)(t),l.current=t),o.value})._closure={tag:o,getTag:n.getTag,fun:l},s.asString="function _f(component){const{tag,getTag,fun}=jsThis._closure;{if(component){tag.value=getTag(component);fun.current=component;}return tag.value;}}",s.__workletHash=2837072662922,s.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts (11:61)",g.__reanimatedWorkletInit(s),s);Object.defineProperty(l,'current',{value:null,writable:!0,enumerable:!1}),c.current=l}var s;return c.current};var t=r(d[0]),n=r(d[1]),u=r(d[2])},614,[169,615,609]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getTag=function(n){return(0,t.findNodeHandle)(n)},e.setGestureState=e.scrollTo=e.measure=void 0;var t=r(d[0]);var n,o=(0,r(d[1]).shouldBeUseWeb)(),s=((n=function(t){if(!_WORKLET||o)return{x:NaN,y:NaN,width:NaN,height:NaN,pageX:NaN,pageY:NaN};var n=t(),s=_measure(n);if(-1234567===s.x)throw new Error("The view with tag "+n+" could not be measured");return s})._closure={isNativeIndefined:o,NaN:NaN},n.asString="function measure(animatedRef){const{isNativeIndefined,NaN}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){console.warn('[reanimated.measure] method cannot be used for web or Chrome Debugger');return{x:NaN,y:NaN,width:NaN,height:NaN,pageX:NaN,pageY:NaN};}const viewTag=animatedRef();const result=_measure(viewTag);if(result.x===-1234567){throw new Error(\"The view with tag \"+viewTag+\" could not be measured\");}return result;}}",n.__workletHash=0xf582ec62270,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeMethods.ts (26:7)",g.__reanimatedWorkletInit(n),n);e.measure=s;var u=(function(){var t=function(t,n,s,u){if(_WORKLET&&!o){var c=t();_scrollTo(c,n,s,u)}};return t._closure={isNativeIndefined:o},t.asString="function scrollTo(animatedRef,x,y,animated){const{isNativeIndefined}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){return;}const viewTag=animatedRef();_scrollTo(viewTag,x,y,animated);}}",t.__workletHash=0xe4db76aeb62,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeMethods.ts (51:7)",g.__reanimatedWorkletInit(t),t})();e.scrollTo=u;var c=(function(){var t=function(t,n){_WORKLET&&!o&&_setGestureState(t,n)};return t._closure={isNativeIndefined:o},t.asString="function setGestureState(handlerTag,newState){const{isNativeIndefined}=jsThis._closure;{if(!_WORKLET||isNativeIndefined){console.warn('[Reanimated] You can not use setGestureState in non-worklet function.');return;}_setGestureState(handlerTag,newState);}}",t.__workletHash=3665262151737,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeMethods.ts (65:7)",g.__reanimatedWorkletInit(t),t})();e.setGestureState=c},615,[17,523]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useAnimatedScrollHandler=function(o,t){var l='function'==typeof o?{onScroll:o}:o,c=(0,n.useHandler)(l,t),s=c.context,u=c.doDependenciesDiffer,v=['onScroll'];void 0!==l.onBeginDrag&&v.push('onScrollBeginDrag');void 0!==l.onEndDrag&&v.push('onScrollEndDrag');void 0!==l.onMomentumBegin&&v.push('onMomentumScrollBegin');void 0!==l.onMomentumEnd&&v.push('onMomentumScrollEnd');return(0,n.useEvent)((S=function(n){var o=l.onScroll,t=l.onBeginDrag,c=l.onEndDrag,u=l.onMomentumBegin,v=l.onMomentumEnd;o&&n.eventName.endsWith('onScroll')?o(n,s):t&&n.eventName.endsWith('onScrollBeginDrag')?t(n,s):c&&n.eventName.endsWith('onScrollEndDrag')?c(n,s):u&&n.eventName.endsWith('onMomentumScrollBegin')?u(n,s):v&&n.eventName.endsWith('onMomentumScrollEnd')&&v(n,s)},S._closure={scrollHandlers:l,context:s},S.asString="function _f(event){const{scrollHandlers,context}=jsThis._closure;{const{onScroll:onScroll,onBeginDrag:onBeginDrag,onEndDrag:onEndDrag,onMomentumBegin:onMomentumBegin,onMomentumEnd:onMomentumEnd}=scrollHandlers;if(onScroll&&event.eventName.endsWith('onScroll')){onScroll(event,context);}else if(onBeginDrag&&event.eventName.endsWith('onScrollBeginDrag')){onBeginDrag(event,context);}else if(onEndDrag&&event.eventName.endsWith('onScrollEndDrag')){onEndDrag(event,context);}else if(onMomentumBegin&&event.eventName.endsWith('onMomentumScrollBegin')){onMomentumBegin(event,context);}else if(onMomentumEnd&&event.eventName.endsWith('onMomentumScrollEnd')){onMomentumEnd(event,context);}}}",S.__workletHash=0x9f5d625e09e,S.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts (53:4)",g.__reanimatedWorkletInit(S),S),v,u);var S};var n=r(d[0])},616,[607]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useDerivedValue=function(t,l){var c,_=(0,n.useRef)(null),f=Object.values(null!=(c=t._closure)?c:{});void 0===l?l=[].concat((0,u.default)(f),[t.__workletHash]):l.push(t.__workletHash);null===_.current&&(_.current=(0,s.makeMutable)((0,o.initialUpdaterRun)(t)));var v=_.current;return(0,n.useEffect)(function(){var u,n=((u=function(){v.value=t()})._closure={sharedValue:v,processor:t},u.asString="function _f(){const{sharedValue,processor}=jsThis._closure;{sharedValue.value=processor();}}",u.__workletHash=0xb31b2ea47c9,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts (31:16)",g.__reanimatedWorkletInit(u),u),o=(0,s.startMapper)(n,f,[v]);return function(){(0,s.stopMapper)(o)}},l),(0,n.useEffect)(function(){return function(){_.current=null}},[]),v};var u=t(r(d[1])),n=r(d[2]),o=r(d[3]),s=r(d[4])},617,[3,53,169,576,557]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.interpolate=e.Extrapolation=void 0;var n,o=t(r(d[1])),i=t(r(d[2]));e.Extrapolation=n,(function(t){t.IDENTITY="identity",t.CLAMP="clamp",t.EXTEND="extend"})(n||(e.Extrapolation=n={}));var u,l=((u=function(t){return void 0!==t.__nodeId})._closure={},u.asString="function isNode(x){return x.__nodeId!==undefined;}",u.__workletHash=0xa64d4085391,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (37:0)",g.__reanimatedWorkletInit(u),u),p=(function(){var t=function(t,o,i,u,l,p){switch(t){case n.IDENTITY:return p;case n.CLAMP:return o*i=l?1:-1;return s*fs*E?p(o.extrapolateRight,s,f,l,E,t):f};return t._closure={getVal:p},t.asString="function internalInterpolate(x,narrowedInput,extrapolationConfig){const{getVal}=jsThis._closure;{const{leftEdgeInput:leftEdgeInput,rightEdgeInput:rightEdgeInput,leftEdgeOutput:leftEdgeOutput,rightEdgeOutput:rightEdgeOutput}=narrowedInput;if(rightEdgeInput-leftEdgeInput===0)return leftEdgeOutput;const progress=(x-leftEdgeInput)/(rightEdgeInput-leftEdgeInput);const val=leftEdgeOutput+progress*(rightEdgeOutput-leftEdgeOutput);const coef=rightEdgeOutput>=leftEdgeOutput?1:-1;if(coef*valcoef*rightEdgeOutput){return getVal(extrapolationConfig.extrapolateRight,coef,val,leftEdgeOutput,rightEdgeOutput,x);}return val;}}",t.__workletHash=8108992359068,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts (120:0)",g.__reanimatedWorkletInit(t),t})(),x=(function(){var t=function(t,n,o,u){if(n.length<2||o.length<2)throw Error('Interpolation input and output should contain at least two values.');var p=f(u);if(l(t))return(0,i.default)(t,{inputRange:n,outputRange:o,extrapolateLeft:p.extrapolateLeft,extrapolateRight:p.extrapolateRight});var E=n.length,x={leftEdgeInput:n[0],rightEdgeInput:n[1],leftEdgeOutput:o[0],rightEdgeOutput:o[1]};if(E>2)if(t>n[E-1])x.leftEdgeInput=n[E-2],x.rightEdgeInput=n[E-1],x.leftEdgeOutput=o[E-2],x.rightEdgeOutput=o[E-1];else for(var c=1;c2){if(x>input[length-1]){narrowedInput.leftEdgeInput=input[length-2];narrowedInput.rightEdgeInput=input[length-1];narrowedInput.leftEdgeOutput=output[length-2];narrowedInput.rightEdgeOutput=output[length-1];}else{for(let i=1;i2&&void 0!==arguments[2]?arguments[2]:r.RGB;return(0,s.useSharedValue)({inputRange:o,outputRange:t,colorSpace:l,cache:(0,a.makeMutable)(null)})};var o,r,t=_r(d[0]),a=_r(d[1]),l=_r(d[2]),n=_r(d[3]),s=_r(d[4]),i=((o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.h,n.Extrapolate.CLAMP),i=(0,l.interpolate)(o,r,a.s,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.v,n.Extrapolate.CLAMP);return(0,t.hsvToColor)(s,i,p)})._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},hsvToColor:t.hsvToColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,hsvToColor}=jsThis._closure;{const h=interpolate(value,inputRange,colors.h,Extrapolate.CLAMP);const s=interpolate(value,inputRange,colors.s,Extrapolate.CLAMP);const v=interpolate(value,inputRange,colors.v,Extrapolate.CLAMP);return hsvToColor(h,s,v);}}",o.__workletHash=8523421253831,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (18:29)",_g.__reanimatedWorkletInit(o),o),p=(function(){var o=function(o,r,a){var s=(0,l.interpolate)(o,r,a.r,n.Extrapolate.CLAMP),i=(0,l.interpolate)(o,r,a.g,n.Extrapolate.CLAMP),p=(0,l.interpolate)(o,r,a.b,n.Extrapolate.CLAMP),u=(0,l.interpolate)(o,r,a.a,n.Extrapolate.CLAMP);return(0,t.rgbaColor)(s,i,p,u)};return o._closure={interpolate:l.interpolate,Extrapolate:{CLAMP:n.Extrapolate.CLAMP},rgbaColor:t.rgbaColor},o.asString="function _f(value,inputRange,colors){const{interpolate,Extrapolate,rgbaColor}=jsThis._closure;{const r=interpolate(value,inputRange,colors.r,Extrapolate.CLAMP);const g=interpolate(value,inputRange,colors.g,Extrapolate.CLAMP);const b=interpolate(value,inputRange,colors.b,Extrapolate.CLAMP);const a=interpolate(value,inputRange,colors.a,Extrapolate.CLAMP);return rgbaColor(r,g,b,a);}}",o.__workletHash=9163961585023,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (30:29)",_g.__reanimatedWorkletInit(o),o})(),u=(function(){var o=function(o){for(var r=[],a=[],l=[],n=[],s=0;s3&&void 0!==arguments[3]?arguments[3]:'RGB';if('HSV'===a)return i(o,r,c(t));if('RGB'===a)return p(o,r,u(t));throw new Error("Invalid color space provided: "+a+". Supported values are: ['RGB', 'HSV']")};return o._closure={interpolateColorsHSV:i,getInterpolateHSV:c,interpolateColorsRGB:p,getInterpolateRGB:u},o.asString="function _f(value,inputRange,outputRange,colorSpace='RGB'){const{interpolateColorsHSV,getInterpolateHSV,interpolateColorsRGB,getInterpolateRGB}=jsThis._closure;{if(colorSpace==='HSV'){return interpolateColorsHSV(value,inputRange,getInterpolateHSV(outputRange));}else if(colorSpace==='RGB'){return interpolateColorsRGB(value,inputRange,getInterpolateRGB(outputRange));}throw new Error(\"Invalid color space provided: \"+colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=3318264077187,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (98:32)",_g.__reanimatedWorkletInit(o),o})();e.interpolateColor=g,e.ColorSpace=r,(function(o){o[o.RGB=0]="RGB",o[o.HSV=1]="HSV"})(r||(e.ColorSpace=r={}));var v=(function(){var o=function(o,t){var a=t.value.cache.value;if(t.value.colorSpace===r.RGB)return a||(a=u(t.value.outputRange),t.value.cache.value=a),p(o,t.value.inputRange,a);if(t.value.colorSpace===r.HSV)return a||(a=c(t.value.outputRange),t.value.cache.value=a),i(o,t.value.inputRange,a);throw new Error("Invalid color space provided: "+t.value.colorSpace+". Supported values are: ['RGB', 'HSV']")};return o._closure={ColorSpace:{RGB:r.RGB,HSV:r.HSV},getInterpolateRGB:u,interpolateColorsRGB:p,getInterpolateHSV:c,interpolateColorsHSV:i},o.asString="function _f(value,interpolateConfig){const{ColorSpace,getInterpolateRGB,interpolateColorsRGB,getInterpolateHSV,interpolateColorsHSV}=jsThis._closure;{let colors=interpolateConfig.value.cache.value;if(interpolateConfig.value.colorSpace===ColorSpace.RGB){if(!colors){colors=getInterpolateRGB(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsRGB(value,interpolateConfig.value.inputRange,colors);}else if(interpolateConfig.value.colorSpace===ColorSpace.HSV){if(!colors){colors=getInterpolateHSV(interpolateConfig.value.outputRange);interpolateConfig.value.cache.value=colors;}return interpolateColorsHSV(value,interpolateConfig.value.inputRange,colors);}throw new Error(\"Invalid color space provided: \"+interpolateConfig.value.colorSpace+\". Supported values are: ['RGB', 'HSV']\");}}",o.__workletHash=0xf190ead19fd,o.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts (148:40)",_g.__reanimatedWorkletInit(o),o})();e.interpolateSharableColor=v},619,[560,557,618,594,609]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.TextInputAdapter=e.SVGAdapter=void 0,e.createAnimatedPropAdapter=s;var t=r(d[0]);function s(s,n){var o={};return null==n||n.forEach(function(t){o[t]=!0}),(0,t.addWhitelistedNativeProps)(o),s}var n,o=s(((n=function(t){if(Object.keys(t).includes('transform'))if(Array.isArray(t.transform)){var s,n;if(6!==t.transform.length)throw new Error("invalid transform length of "+t.transform.length+", should be 6");var o=t.transform,l=null!=(s=t.x)?s:0,f=null!=(n=t.y)?n:0;t.transform=[{translateX:o[0]*l+o[2]*f+o[4]},{translateY:o[1]*l+o[3]*f+o[5]}]}else if('string'==typeof t.transform){var p=t.transform.replace('translate(','').replace(')','').split(' ');t.transform=[{translateX:parseFloat(p[0])},{translateY:parseFloat(p[1])}]}})._closure={},n.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('transform')){if(Array.isArray(props.transform)){var _ref,_ref2;if(props.transform.length!==6){throw new Error(\"invalid transform length of \"+props.transform.length+\", should be 6\");}const transform=props.transform;const x=(_ref=props.x)!==null&&_ref!==void 0?_ref:0;const y=(_ref2=props.y)!==null&&_ref2!==void 0?_ref2:0;props.transform=[{translateX:transform[0]*x+transform[2]*y+transform[4]},{translateY:transform[1]*x+transform[3]*y+transform[5]}];}else if(typeof props.transform==='string'){const transform=props.transform;const arr=transform.replace('translate(','').replace(')','').split(' ');props.transform=[{translateX:parseFloat(arr[0])},{translateY:parseFloat(arr[1])}];}}}",n.__workletHash=630689667452,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (20:2)",g.__reanimatedWorkletInit(n),n));e.SVGAdapter=o;var l=s((function(){var t=function(t){Object.keys(t).includes('value')&&(t.text=t.value,delete t.value)};return t._closure={},t.asString="function _f(props){const keys=Object.keys(props);if(keys.includes('value')){props.text=props.value;delete props.value;}}",t.__workletHash=0x9f9db68ca9c,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts (58:2)",g.__reanimatedWorkletInit(t),t})(),['text']);e.TextInputAdapter=l},620,[573]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),r(d[0]);var n=r(d[1]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))});var t=r(d[2]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))});var u=r(d[3]);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===u[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return u[n]}}))})},621,[556,622,627,638]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnimationConfigFunction",{enumerable:!0,get:function(){return u.AnimationConfigFunction}}),Object.defineProperty(e,"AnimationFunction",{enumerable:!0,get:function(){return u.AnimationFunction}}),Object.defineProperty(e,"BaseAnimationBuilder",{enumerable:!0,get:function(){return n.BaseAnimationBuilder}}),Object.defineProperty(e,"BaseBuilderAnimationConfig",{enumerable:!0,get:function(){return u.BaseBuilderAnimationConfig}}),Object.defineProperty(e,"BaseLayoutAnimationConfig",{enumerable:!0,get:function(){return u.BaseLayoutAnimationConfig}}),Object.defineProperty(e,"ComplexAnimationBuilder",{enumerable:!0,get:function(){return t.ComplexAnimationBuilder}}),Object.defineProperty(e,"EntryAnimationsValues",{enumerable:!0,get:function(){return u.EntryAnimationsValues}}),Object.defineProperty(e,"EntryExitAnimationFunction",{enumerable:!0,get:function(){return u.EntryExitAnimationFunction}}),Object.defineProperty(e,"ExitAnimationsValues",{enumerable:!0,get:function(){return u.ExitAnimationsValues}}),Object.defineProperty(e,"IEntryAnimationBuilder",{enumerable:!0,get:function(){return u.IEntryAnimationBuilder}}),Object.defineProperty(e,"IEntryExitAnimationBuilder",{enumerable:!0,get:function(){return u.IEntryExitAnimationBuilder}}),Object.defineProperty(e,"IExitAnimationBuilder",{enumerable:!0,get:function(){return u.IExitAnimationBuilder}}),Object.defineProperty(e,"ILayoutAnimationBuilder",{enumerable:!0,get:function(){return u.ILayoutAnimationBuilder}}),Object.defineProperty(e,"Keyframe",{enumerable:!0,get:function(){return o.Keyframe}}),Object.defineProperty(e,"LayoutAnimation",{enumerable:!0,get:function(){return u.LayoutAnimation}}),Object.defineProperty(e,"LayoutAnimationAndConfig",{enumerable:!0,get:function(){return u.LayoutAnimationAndConfig}}),Object.defineProperty(e,"LayoutAnimationFunction",{enumerable:!0,get:function(){return u.LayoutAnimationFunction}}),Object.defineProperty(e,"LayoutAnimationsValues",{enumerable:!0,get:function(){return u.LayoutAnimationsValues}});var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3])},622,[623,624,625,626]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAnimationBuilder=void 0;var t=n(r(d[1])),u=n(r(d[2])),l=r(d[3]),o=(function(){function n(){(0,t.default)(this,n),this.randomizeDelay=!1,this.build=function(){throw Error('Unimplemented method in child class.')}}return(0,u.default)(n,[{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDuration",value:function(){var n;return null!=(n=this.durationV)?n:300}},{key:"randomDelay",value:function(){return this.randomizeDelay=!0,this}},{key:"getDelay",value:function(){var n,t;return this.randomizeDelay?Math.random()*(null!=(n=this.delayV)?n:1e3):null!=(t=this.delayV)?t:0}},{key:"getDelayFunction",value:function(){var n;return this.randomizeDelay||this.delayV?l.withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts (81:8)",g.__reanimatedWorkletInit(n),n)}}],[{key:"duration",value:function(n){return this.createInstance().duration(n)}},{key:"delay",value:function(n){return this.createInstance().delay(n)}},{key:"withCallback",value:function(n){return this.createInstance().withCallback(n)}},{key:"getDuration",value:function(){return 300}},{key:"randomDelay",value:function(){return this.createInstance().randomDelay()}},{key:"build",value:function(){return this.createInstance().build()}}]),n})();e.BaseAnimationBuilder=o},623,[3,6,7,576]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAnimationBuilder=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=r(d[3]),o=(function(){function t(){(0,n.default)(this,t),this.randomizeDelay=!1,this.build=function(){throw Error('Unimplemented method in child class.')}}return(0,u.default)(t,[{key:"duration",value:function(t){return this.durationV=t,this}},{key:"delay",value:function(t){return this.delayV=t,this}},{key:"withCallback",value:function(t){return this.callbackV=t,this}},{key:"getDuration",value:function(){var t;return null!=(t=this.durationV)?t:300}},{key:"randomDelay",value:function(){return this.randomizeDelay=!0,this}},{key:"getDelay",value:function(){var t,n;return this.randomizeDelay?Math.random()*(null!=(t=this.delayV)?t:1e3):null!=(n=this.delayV)?n:0}},{key:"getDelayFunction",value:function(){var t;return this.randomizeDelay||this.delayV?l.withDelay:((t=function(t,n){return n})._closure={},t.asString="function _f(_,animation){return animation;}",t.__workletHash=0xcf5f76b3d39,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts (81:8)",g.__reanimatedWorkletInit(t),t)}}],[{key:"duration",value:function(t){return this.createInstance().duration(t)}},{key:"delay",value:function(t){return this.createInstance().delay(t)}},{key:"withCallback",value:function(t){return this.createInstance().withCallback(t)}},{key:"getDuration",value:function(){return 300}},{key:"randomDelay",value:function(){return this.createInstance().randomDelay()}},{key:"build",value:function(){return this.createInstance().build()}}]),t})();e.BaseAnimationBuilder=o},623,[3,6,7,576]); __d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.ComplexAnimationBuilder=void 0;var t=e(r(d[1])),n=e(r(d[2])),s=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),h=r(d[6]);function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var l=(function(e){(0,s.default)(v,e);var l,f,p=(l=v,f=c(),function(){var e,t=(0,o.default)(l);if(f){var n=(0,o.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function v(){return(0,t.default)(this,v),p.apply(this,arguments)}return(0,n.default)(v,[{key:"easing",value:function(e){return this.easingV=e,this}},{key:"rotate",value:function(e){return this.rotateV=e,this}},{key:"springify",value:function(){return this.type=h.withSpring,this}},{key:"damping",value:function(e){return this.dampingV=e,this}},{key:"mass",value:function(e){return this.massV=e,this}},{key:"stiffness",value:function(e){return this.stiffnessV=e,this}},{key:"overshootClamping",value:function(e){return this.overshootClampingV=e,this}},{key:"restDisplacementThreshold",value:function(e){return this.restDisplacementThresholdV=e,this}},{key:"restSpeedThreshold",value:function(e){return this.restSpeedThresholdV=e,this}},{key:"getAnimationAndConfig",value:function(){var e=this.durationV,t=this.easingV,n=this.rotateV,s=this.type?this.type:h.withTiming,u=this.dampingV,o=this.massV,c=this.stiffnessV,l=this.overshootClampingV,f=this.restDisplacementThresholdV,p=this.restSpeedThresholdV,v=s,y={};return s===h.withTiming?(t&&(y.easing=t),e&&(y.duration=e),n&&(y.rotate=n)):(u&&(y.damping=u),o&&(y.mass=o),c&&(y.stiffness=c),l&&(y.overshootClamping=l),f&&(y.restDisplacementThreshold=f),p&&(y.restSpeedThreshold=p),n&&(y.rotate=n)),[v,y]}}],[{key:"easing",value:function(e){return this.createInstance().easing(e)}},{key:"rotate",value:function(e){return this.createInstance().rotate(e)}},{key:"springify",value:function(){return this.createInstance().springify()}},{key:"damping",value:function(e){return this.createInstance().damping(e)}},{key:"mass",value:function(e){return this.createInstance().mass(e)}},{key:"stiffness",value:function(e){return this.createInstance().stiffness(e)}},{key:"overshootClamping",value:function(e){return this.createInstance().overshootClamping(e)}},{key:"restDisplacementThreshold",value:function(e){return this.createInstance().restDisplacementThreshold(e)}},{key:"restSpeedThreshold",value:function(e){return this.createInstance().restSpeedThreshold(e)}}]),v})(r(d[7]).BaseAnimationBuilder);_e.ComplexAnimationBuilder=l},624,[3,6,7,8,10,13,576,623]); -__d(function(g,r,i,_a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Keyframe=void 0;var t=n(r(d[1])),a=n(r(d[2])),o=n(r(d[3])),s=r(d[4]),f=r(d[5]),u=(function(){function n(o){var u=this;(0,a.default)(this,n),this.build=function(){var n,a=u.delayV,o=u.getDelayFunction(),l=u.parseDefinitions(),c=l.keyframes,h=l.initialValues,y=u.callbackV;return(n=function(n){var l={},k=function(n){var h=c[n];if(0!==h.length){var y,k=o(a,1===h.length?(0,f.withTiming)(h[0].value,{duration:h[0].duration,easing:h[0].easing?h[0].easing:s.Easing.linear}):f.withSequence.apply(u,h.map(function(n){return(0,f.withTiming)(n.value,{duration:n.duration,easing:n.easing?n.easing:s.Easing.linear})})));if(n.includes('transform'))'transform'in l||(l.transform=[]),null==(y=l.transform)||y.push((0,t.default)({},n.split(':')[1],k));else l[n]=k}};return Object.keys(h).forEach(function(n){n.includes('transform')?h[n].forEach(function(n,t){Object.keys(n).forEach(function(n){k(t.toString()+'_transform:'+n)})}):k(n)}),{animations:l,initialValues:h,callback:y}})._closure={keyframes:c,delayFunction:o,delay:a,withTiming:f.withTiming,Easing:{linear:s.Easing.linear},withSequence:f.withSequence,_this:u,initialValues:h,callback:y},n.asString="function _f(_targetValues){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,_this,initialValues,callback}=jsThis._closure;{const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0)return;const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence.apply(_this,keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){var _animations$transform;if(!('transform'in animations)){animations.transform=[];}(_animations$transform=animations.transform)===null||_animations$transform===void 0?void 0:_animations$transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(index.toString()+'_transform:'+transformPropKey);});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}}",n.__workletHash=3655231828504,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (197:11)",g.__reanimatedWorkletInit(n),n},this.definitions=o}return(0,o.default)(n,[{key:"parseDefinitions",value:function(){var n=this,t={};if(this.definitions.from){if(this.definitions[0])throw Error("You cannot provide both keyframe 0 and 'from' as they both specified initial values");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw Error("You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw Error("Please provide 0, or 'from' keyframe with initial state of your object.");var a=this.definitions[0];Object.keys(a).forEach(function(n){var o;'transform'===n?null==(o=a[n])||o.forEach(function(n,a){Object.keys(n).forEach(function(n){t[a.toString()+'_transform:'+n]=[]})}):t[n]=[]});var o=this.durationV?this.durationV:500,s=function(n,a){return a/100*o-t[n].reduce(function(n,t){return n+t.duration},0)},f=function(n){var a=n.key,o=n.value,f=n.currentKeyPoint,u=n.easing;if(!(a in t))throw Error("Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");t[a].push({duration:s(a,f),value:o,easing:u})};return Array.from(Object.keys(this.definitions)).filter(function(n){return 0!==parseInt(n)}).sort(function(n,t){return parseInt(n)-parseInt(t)}).forEach(function(t){if(parseInt(t)<0||parseInt(t)>100)throw Error('Keyframe should be in between range 0 - 100.');var a=n.definitions[t],o=a.easing;delete a.easing;var s=function(n,a){return f({key:n,value:a,currentKeyPoint:parseInt(t),easing:o})};Object.keys(a).forEach(function(n){var t;'transform'===n?null==(t=a[n])||t.forEach(function(n,t){Object.keys(n).forEach(function(a){s(t.toString()+'_transform:'+a,n[a])})}):s(n,a[n])})}),{initialValues:a,keyframes:t}}},{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDelayFunction",value:function(){var n;return this.delayV?f.withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (185:8)",g.__reanimatedWorkletInit(n),n)}}]),n})();e.Keyframe=u},625,[3,257,6,7,562,576]); +__d(function(g,r,i,_a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Keyframe=void 0;var t=n(r(d[1])),a=n(r(d[2])),o=n(r(d[3])),s=r(d[4]),f=r(d[5]),u=(function(){function n(o){var u=this;(0,a.default)(this,n),this.build=function(){var n,a=u.delayV,o=u.getDelayFunction(),l=u.parseDefinitions(),c=l.keyframes,h=l.initialValues,y=u.callbackV;return(n=function(n){var l={},k=function(n){var h=c[n];if(0!==h.length){var y,k=o(a,1===h.length?(0,f.withTiming)(h[0].value,{duration:h[0].duration,easing:h[0].easing?h[0].easing:s.Easing.linear}):f.withSequence.apply(u,h.map(function(n){return(0,f.withTiming)(n.value,{duration:n.duration,easing:n.easing?n.easing:s.Easing.linear})})));if(n.includes('transform'))'transform'in l||(l.transform=[]),null==(y=l.transform)||y.push((0,t.default)({},n.split(':')[1],k));else l[n]=k}};return Object.keys(h).forEach(function(n){n.includes('transform')?h[n].forEach(function(n,t){Object.keys(n).forEach(function(n){k(t.toString()+'_transform:'+n)})}):k(n)}),{animations:l,initialValues:h,callback:y}})._closure={keyframes:c,delayFunction:o,delay:a,withTiming:f.withTiming,Easing:{linear:s.Easing.linear},withSequence:f.withSequence,_this:u,initialValues:h,callback:y},n.asString="function _f(_targetValues){const{keyframes,delayFunction,delay,withTiming,Easing,withSequence,_this,initialValues,callback}=jsThis._closure;{const animations={};const addAnimation=function(key){const keyframePoints=keyframes[key];if(keyframePoints.length===0)return;const animation=delayFunction(delay,keyframePoints.length===1?withTiming(keyframePoints[0].value,{duration:keyframePoints[0].duration,easing:keyframePoints[0].easing?keyframePoints[0].easing:Easing.linear}):withSequence.apply(_this,keyframePoints.map(function(keyframePoint){return withTiming(keyframePoint.value,{duration:keyframePoint.duration,easing:keyframePoint.easing?keyframePoint.easing:Easing.linear});})));if(key.includes('transform')){var _animations$transform;if(!('transform'in animations)){animations.transform=[];}(_animations$transform=animations.transform)===null||_animations$transform===void 0?void 0:_animations$transform.push({[key.split(':')[1]]:animation});}else{animations[key]=animation;}};Object.keys(initialValues).forEach(function(key){if(key.includes('transform')){initialValues[key].forEach(function(transformProp,index){Object.keys(transformProp).forEach(function(transformPropKey){addAnimation(index.toString()+'_transform:'+transformPropKey);});});}else{addAnimation(key);}});return{animations:animations,initialValues:initialValues,callback:callback};}}",n.__workletHash=3655231828504,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (197:11)",g.__reanimatedWorkletInit(n),n},this.definitions=o}return(0,o.default)(n,[{key:"parseDefinitions",value:function(){var n=this,t={};if(this.definitions.from){if(this.definitions[0])throw Error("You cannot provide both keyframe 0 and 'from' as they both specified initial values");this.definitions[0]=this.definitions.from,delete this.definitions.from}if(this.definitions.to){if(this.definitions[100])throw Error("You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.");this.definitions[100]=this.definitions.to,delete this.definitions.to}if(!this.definitions[0])throw Error("Please provide 0, or 'from' keyframe with initial state of your object.");var a=this.definitions[0];Object.keys(a).forEach(function(n){var o;'transform'===n?null==(o=a[n])||o.forEach(function(n,a){Object.keys(n).forEach(function(n){t[a.toString()+'_transform:'+n]=[]})}):t[n]=[]});var o=this.durationV?this.durationV:500,s=function(n,a){return a/100*o-t[n].reduce(function(n,t){return n+t.duration},0)},f=function(n){var a=n.key,o=n.value,f=n.currentKeyPoint,u=n.easing;if(!(a in t))throw Error("Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')");t[a].push({duration:s(a,f),value:o,easing:u})};return Array.from(Object.keys(this.definitions)).filter(function(n){return 0!==parseInt(n)}).sort(function(n,t){return parseInt(n)-parseInt(t)}).forEach(function(t){if(parseInt(t)<0||parseInt(t)>100)throw Error('Keyframe should be in between range 0 - 100.');var a=n.definitions[t],o=a.easing;delete a.easing;var s=function(n,a){return f({key:n,value:a,currentKeyPoint:parseInt(t),easing:o})};Object.keys(a).forEach(function(n){var t;'transform'===n?null==(t=a[n])||t.forEach(function(n,t){Object.keys(n).forEach(function(a){s(t.toString()+'_transform:'+a,n[a])})}):s(n,a[n])})}),{initialValues:a,keyframes:t}}},{key:"duration",value:function(n){return this.durationV=n,this}},{key:"delay",value:function(n){return this.delayV=n,this}},{key:"withCallback",value:function(n){return this.callbackV=n,this}},{key:"getDelayFunction",value:function(){var n;return this.delayV?f.withDelay:((n=function(n,t){return t})._closure={},n.asString="function _f(_,animation){return animation;}",n.__workletHash=0xcf5f76b3d39,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts (185:8)",g.__reanimatedWorkletInit(n),n)}}]),n})();e.Keyframe=u},625,[3,257,6,7,562,576]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0})},626,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var n=r(d[0]);Object.keys(n).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))});var t=r(d[1]);Object.keys(t).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===t[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))});var u=r(d[2]);Object.keys(u).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===u[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return u[n]}}))});var o=r(d[3]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===o[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[4]);Object.keys(c).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===c[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return c[n]}}))});var f=r(d[5]);Object.keys(f).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===f[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return f[n]}}))});var l=r(d[6]);Object.keys(l).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===l[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return l[n]}}))});var b=r(d[7]);Object.keys(b).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===b[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return b[n]}}))});var _=r(d[8]);Object.keys(_).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===_[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return _[n]}}))});var j=r(d[9]);Object.keys(j).forEach(function(n){"default"!==n&&"__esModule"!==n&&(n in e&&e[n]===j[n]||Object.defineProperty(e,n,{enumerable:!0,get:function(){return j[n]}}))})},627,[628,629,630,631,632,633,634,635,636,637]); -__d(function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.FlipOutYRight=_e.FlipOutYLeft=_e.FlipOutXUp=_e.FlipOutXDown=_e.FlipOutEasyY=_e.FlipOutEasyX=_e.FlipInYRight=_e.FlipInYLeft=_e.FlipInXUp=_e.FlipInXDown=_e.FlipInEasyY=_e.FlipInEasyX=void 0;var e=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),c=t(r(d[5])),u=t(r(d[6])),s=r(d[7]);function f(t){var e=y();return function(){var n,l=(0,u.default)(t);if(e){var o=(0,u.default)(this).constructor;n=Reflect.construct(l,arguments,o)}else n=l.apply(this,arguments);return(0,c.default)(this,n)}}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var p=(function(t){(0,o.default)(u,t);var c=f(u);function u(){var t;(0,n.default)(this,u);for(var l=arguments.length,o=new Array(l),s=0;s=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){if(e){if("string"==typeof e)return p(e,t);var u=Object.prototype.toString.call(e).slice(8,-1);return"Object"===u&&e.constructor&&(u=e.constructor.name),"Map"===u||"Set"===u?Array.from(e):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,n=new Array(t);u2&&void 0!==arguments[2]?arguments[2]:o,s=Array.isArray(v)?(0,l.default)(v):[],_=c(t,n,o),p=(0,i.default)(_,2)[1];p&&!s.some(function(t){return t.value===p})&&u[p]&&s.unshift(u[p]);return s},e.getValidParsedQuantityAndUnit=function(t,l,n,v){var u=h(t,l),o=(0,i.default)(u,2),s=o[0],_=o[1],c=null!=s?s:n,f=_||v;!f&&p(l)&&(f=l[0].value);return[c,f]},e.hasUnits=p,e.parseQuantityAndUnitFromRawValue=h,e.useCustomUnits=void 0;var l=t(r(d[1])),i=t(r(d[2])),n=r(d[3]),v='web'===r(d[4]).Platform.OS,u={px:{value:'px',label:v?'px':(0,n.__)('Pixels (px)'),a11yLabel:(0,n.__)('Pixels (px)'),step:1},'%':{value:'%',label:v?'%':(0,n.__)('Percentage (%)'),a11yLabel:(0,n.__)('Percent (%)'),step:.1},em:{value:'em',label:v?'em':(0,n.__)('Relative to parent font size (em)'),a11yLabel:(0,n._x)('ems','Relative to parent font size (em)'),step:.01},rem:{value:'rem',label:v?'rem':(0,n.__)('Relative to root font size (rem)'),a11yLabel:(0,n._x)('rems','Relative to root font size (rem)'),step:.01},vw:{value:'vw',label:v?'vw':(0,n.__)('Viewport width (vw)'),a11yLabel:(0,n.__)('Viewport width (vw)'),step:.1},vh:{value:'vh',label:v?'vh':(0,n.__)('Viewport height (vh)'),a11yLabel:(0,n.__)('Viewport height (vh)'),step:.1},vmin:{value:'vmin',label:v?'vmin':(0,n.__)('Viewport smallest dimension (vmin)'),a11yLabel:(0,n.__)('Viewport smallest dimension (vmin)'),step:.1},vmax:{value:'vmax',label:v?'vmax':(0,n.__)('Viewport largest dimension (vmax)'),a11yLabel:(0,n.__)('Viewport largest dimension (vmax)'),step:.1},ch:{value:'ch',label:v?'ch':(0,n.__)('Width of the zero (0) character (ch)'),a11yLabel:(0,n.__)('Width of the zero (0) character (ch)'),step:.01},ex:{value:'ex',label:v?'ex':(0,n.__)('x-height of the font (ex)'),a11yLabel:(0,n.__)('x-height of the font (ex)'),step:.01},cm:{value:'cm',label:v?'cm':(0,n.__)('Centimeters (cm)'),a11yLabel:(0,n.__)('Centimeters (cm)'),step:.001},mm:{value:'mm',label:v?'mm':(0,n.__)('Millimeters (mm)'),a11yLabel:(0,n.__)('Millimeters (mm)'),step:.1},in:{value:'in',label:v?'in':(0,n.__)('Inches (in)'),a11yLabel:(0,n.__)('Inches (in)'),step:.001},pc:{value:'pc',label:v?'pc':(0,n.__)('Picas (pc)'),a11yLabel:(0,n.__)('Picas (pc)'),step:1},pt:{value:'pt',label:v?'pt':(0,n.__)('Points (pt)'),a11yLabel:(0,n.__)('Points (pt)'),step:1}},o=Object.values(u);e.ALL_CSS_UNITS=o;var s=[u.px,u['%'],u.em,u.rem,u.vw,u.vh];e.CSS_UNITS=s;var _=u.px;function c(t,l,i){return h(l?""+(null!=t?t:'')+l:t,i)}function p(t){return Array.isArray(t)&&!!t.length}function h(t){var l,i,n,v,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if(void 0!==t||null===t){n=(""+t).trim();var s=parseFloat(n);v=isFinite(s)?s:void 0}var c,h=null==(l=n)?void 0:l.match(/[\d.\-\+]*\s*(.*)/),f=null==h?void 0:null==(i=h[1])?void 0:i.toLowerCase();if(p(u)){var b=u.find(function(t){return t.value===f});c=null==b?void 0:b.value}else c=_.value;return[v,c]}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;return Array.isArray(l)?l.filter(function(l){return t.includes(l.value)}):[]}e.DEFAULT_UNIT=_;e.useCustomUnits=function(t){var l=t.units,n=void 0===l?o:l,v=t.availableUnits,u=void 0===v?[]:v,s=t.defaultValues,_=f(u,n);return s&&_.forEach(function(t,l){if(s[t.value]){var n=h(s[t.value]),v=(0,i.default)(n,1)[0];_[l].default=v}}),_}},2301,[3,53,45,1280,683]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]);var o=function(o){var u=o.children;return(0,n.createElement)(t.View,{pointerEvents:"none"},u)};e.default=o},2302,[683,17]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DraggableTrigger=void 0;var t=r(d[1]),o=r(d[2]),s=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=l(t);if(o&&o.has(n))return o.get(n);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var v=u?Object.getOwnPropertyDescriptor(n,c):null;v&&(v.get||v.set)?Object.defineProperty(s,c,v):s[c]=n[c]}s.default=n,o&&o.set(n,s);return s})(r(d[3])),u=n(r(d[4]));function l(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(n){return n?o:t})(n)}var c=(0,t.createContext)({}),v=c.Provider;e.DraggableTrigger=function(n){var u,l=n.children,v=n.enabled,f=void 0===v||v,_=n.id,h=n.maxDistance,b=void 0===h?1e3:h,P=n.minDuration,D=void 0===P?500:P,x=n.onLongPress,k=n.onLongPressEnd,p=n.testID,y=(0,t.useContext)(c),I=y.panGestureRef,S=y.isDragging,T=y.isPanActive,E=y.draggingId,O=(0,s.useAnimatedGestureHandler)({onActive:(u=function(){S.value||(E.value=_,S.value=!0,x&&(0,s.runOnJS)(x)(_))},u._closure={isDragging:S,draggingId:E,id:_,onLongPress:x,runOnJS:s.runOnJS},u.asString="function _f(){const{isDragging,draggingId,id,onLongPress,runOnJS}=jsThis._closure;{if(isDragging.value){return;}draggingId.value=id;isDragging.value=true;if(onLongPress){runOnJS(onLongPress)(id);}}}",u.__workletHash=7696842882354,u.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (188:12)",g.__reanimatedWorkletInit(u),u),onEnd:(function(){var n=function(){T.value||(S.value=!1),k&&(0,s.runOnJS)(k)(_)};return n._closure={isPanActive:T,isDragging:S,onLongPressEnd:k,runOnJS:s.runOnJS,id:_},n.asString="function _f(){const{isPanActive,isDragging,onLongPressEnd,runOnJS,id}=jsThis._closure;{if(!isPanActive.value){isDragging.value=false;}if(onLongPressEnd){runOnJS(onLongPressEnd)(id);}}}",n.__workletHash=7936708203077,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (199:9)",g.__reanimatedWorkletInit(n),n})()});return(0,t.createElement)(o.LongPressGestureHandler,{enabled:f,minDurationMs:D,maxDist:b,simultaneousHandlers:I,shouldCancelWhenOutside:!1,onGestureEvent:O,testID:p},l)};var f=function(n){var l,c=n.children,f=n.onDragEnd,_=n.onDragOver,h=n.onDragStart,b=n.testID,P=(0,s.useSharedValue)(!1),D=(0,s.useSharedValue)(!1),x=(0,s.useSharedValue)(''),k=(0,t.useRef)(),p=(0,s.useSharedValue)(null),y={x:(0,s.useSharedValue)(0),y:(0,s.useSharedValue)(0)},I={x:(0,s.useSharedValue)(0),y:(0,s.useSharedValue)(0)};(0,s.useAnimatedReaction)(((l=function(){return P.value})._closure={isDragging:P},l.asString="function _f(){const{isDragging}=jsThis._closure;{return isDragging.value;}}",l.__workletHash=2727918664659,l.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (64:2)",g.__reanimatedWorkletInit(l),l),(function(){var n=function(n,t){n!==t&&null!==t&&(n?h&&h({x:y.x.value,y:y.y.value,id:x.value}):f&&f({x:I.x.value,y:I.y.value,id:x.value}))};return n._closure={onDragStart:h,initialPosition:{x:y.x,y:y.y},draggingId:x,onDragEnd:f,lastPosition:{x:I.x,y:I.y}},n.asString="function _f(result,previous){const{onDragStart,initialPosition,draggingId,onDragEnd,lastPosition}=jsThis._closure;{if(result===previous||previous===null){return;}if(result){if(onDragStart){onDragStart({x:initialPosition.x.value,y:initialPosition.y.value,id:draggingId.value});}}else if(onDragEnd){onDragEnd({x:lastPosition.x.value,y:lastPosition.y.value,id:draggingId.value});}}}",n.__workletHash=2079197900167,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (65:2)",g.__reanimatedWorkletInit(n),n})());var S=(function(){var n=function(n){return n.allTouches.find(function(n){return n.id===p.value})};return n._closure={currentFirstTouchId:p},n.asString="function getFirstTouchEvent(event){const{currentFirstTouchId}=jsThis._closure;{return event.allTouches.find(function(touch){return touch.id===currentFirstTouchId.value;});}}",n.__workletHash=4115924122355,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (88:1)",g.__reanimatedWorkletInit(n),n})(),T=o.Gesture.Pan().manualActivation(!0).onTouchesDown((function(){var n=function(n){if(!p.value){var t=n.allTouches[0],o=t.x,s=void 0===o?0:o,u=t.y,l=void 0===u?0:u;p.value=t.id,y.x.value=s,y.y.value=l}};return n._closure={currentFirstTouchId:p,initialPosition:{x:y.x,y:y.y}},n.asString="function _f(event){const{currentFirstTouchId,initialPosition}=jsThis._closure;{if(!currentFirstTouchId.value){const firstEvent=event.allTouches[0];const{x=0,y=0}=firstEvent;currentFirstTouchId.value=firstEvent.id;initialPosition.x.value=x;initialPosition.y.value=y;}}}",n.__workletHash=0xc9c8216f28c,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (98:18)",g.__reanimatedWorkletInit(n),n})()).onTouchesMove((function(){var n=function(n,t){if(!D.value&&P.value&&(D.value=!0,t.activate()),D.value&&P.value){var o=S(n);if(!o)return void t.end();I.x.value=o.x,I.y.value=o.y,_&&_(o)}};return n._closure={isPanActive:D,isDragging:P,getFirstTouchEvent:S,lastPosition:{x:I.x,y:I.y},onDragOver:_},n.asString="function _f(event,state){const{isPanActive,isDragging,getFirstTouchEvent,lastPosition,onDragOver}=jsThis._closure;{if(!isPanActive.value&&isDragging.value){isPanActive.value=true;state.activate();}if(isPanActive.value&&isDragging.value){const firstEvent=getFirstTouchEvent(event);if(!firstEvent){state.end();return;}lastPosition.x.value=firstEvent.x;lastPosition.y.value=firstEvent.y;if(onDragOver){onDragOver(firstEvent);}}}}",n.__workletHash=812579097473,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (109:18)",g.__reanimatedWorkletInit(n),n})()).onTouchesCancelled((function(){var n=function(n,t){t.end()};return n._closure={},n.asString="function _f(_event,state){state.end();}",n.__workletHash=1672002634015,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (131:23)",g.__reanimatedWorkletInit(n),n})()).onEnd((function(){var n=function(){p.value=null,D.value=!1,P.value=!1};return n._closure={currentFirstTouchId:p,isPanActive:D,isDragging:P},n.asString="function _f(){const{currentFirstTouchId,isPanActive,isDragging}=jsThis._closure;{currentFirstTouchId.value=null;isPanActive.value=false;isDragging.value=false;}}",n.__workletHash=8934764004255,n.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (134:10)",g.__reanimatedWorkletInit(n),n})()).withRef(k).shouldCancelWhenOutside(!1).withTestId(b),E=(0,t.useMemo)(function(){return{panGestureRef:k,isDragging:P,isPanActive:D,draggingId:x}},[]);return(0,t.createElement)(o.GestureDetector,{gesture:T},(0,t.createElement)(s.default.View,{style:u.default.draggable__container},(0,t.createElement)(v,{value:E},c)))};e.default=f},2303,[3,683,14,518,2304]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DraggableTrigger=void 0;var t=r(d[1]),s=r(d[2]),o=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=l(t);if(s&&s.has(n))return s.get(n);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var v=u?Object.getOwnPropertyDescriptor(n,c):null;v&&(v.get||v.set)?Object.defineProperty(o,c,v):o[c]=n[c]}o.default=n,s&&s.set(n,o);return o})(r(d[3])),u=n(r(d[4]));function l(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(l=function(n){return n?s:t})(n)}var c=(0,t.createContext)({}),v=c.Provider;e.DraggableTrigger=function(n){var u,l=n.children,v=n.enabled,f=void 0===v||v,_=n.id,h=n.maxDistance,b=void 0===h?1e3:h,p=n.minDuration,P=void 0===p?500:p,D=n.onLongPress,x=n.onLongPressEnd,k=n.testID,y=(0,t.useContext)(c),I=y.panGestureRef,S=y.isDragging,T=y.isPanActive,E=y.draggingId,w=(0,o.useAnimatedGestureHandler)({onActive:(u=function(){S.value||(E.value=_,S.value=!0,D&&(0,o.runOnJS)(D)(_))},u._closure={isDragging:S,draggingId:E,id:_,onLongPress:D,runOnJS:o.runOnJS},u.asString="function _f(){const{isDragging,draggingId,id,onLongPress,runOnJS}=jsThis._closure;{if(isDragging.value){return;}draggingId.value=id;isDragging.value=true;if(onLongPress){runOnJS(onLongPress)(id);}}}",u.__workletHash=7696842882354,u.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (188:12)",g.__reanimatedWorkletInit(u),u),onEnd:(function(){var n=function(){T.value||(S.value=!1),x&&(0,o.runOnJS)(x)(_)};return n._closure={isPanActive:T,isDragging:S,onLongPressEnd:x,runOnJS:o.runOnJS,id:_},n.asString="function _f(){const{isPanActive,isDragging,onLongPressEnd,runOnJS,id}=jsThis._closure;{if(!isPanActive.value){isDragging.value=false;}if(onLongPressEnd){runOnJS(onLongPressEnd)(id);}}}",n.__workletHash=7936708203077,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (199:9)",g.__reanimatedWorkletInit(n),n})()});return(0,t.createElement)(s.LongPressGestureHandler,{enabled:f,minDurationMs:P,maxDist:b,simultaneousHandlers:I,shouldCancelWhenOutside:!1,onGestureEvent:w,testID:k},l)};var f=function(n){var l,c=n.children,f=n.onDragEnd,_=n.onDragOver,h=n.onDragStart,b=n.testID,p=(0,o.useSharedValue)(!1),P=(0,o.useSharedValue)(!1),D=(0,o.useSharedValue)(''),x=(0,t.useRef)(),k=(0,o.useSharedValue)(null),y={x:(0,o.useSharedValue)(0),y:(0,o.useSharedValue)(0)},I={x:(0,o.useSharedValue)(0),y:(0,o.useSharedValue)(0)};(0,o.useAnimatedReaction)(((l=function(){return p.value})._closure={isDragging:p},l.asString="function _f(){const{isDragging}=jsThis._closure;{return isDragging.value;}}",l.__workletHash=2727918664659,l.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (64:2)",g.__reanimatedWorkletInit(l),l),(function(){var n=function(n,t){n!==t&&null!==t&&(n?h&&h({x:y.x.value,y:y.y.value,id:D.value}):f&&f({x:I.x.value,y:I.y.value,id:D.value}))};return n._closure={onDragStart:h,initialPosition:{x:y.x,y:y.y},draggingId:D,onDragEnd:f,lastPosition:{x:I.x,y:I.y}},n.asString="function _f(result,previous){const{onDragStart,initialPosition,draggingId,onDragEnd,lastPosition}=jsThis._closure;{if(result===previous||previous===null){return;}if(result){if(onDragStart){onDragStart({x:initialPosition.x.value,y:initialPosition.y.value,id:draggingId.value});}}else if(onDragEnd){onDragEnd({x:lastPosition.x.value,y:lastPosition.y.value,id:draggingId.value});}}}",n.__workletHash=2079197900167,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (65:2)",g.__reanimatedWorkletInit(n),n})());var S=(function(){var n=function(n){return n.allTouches.find(function(n){return n.id===k.value})};return n._closure={currentFirstTouchId:k},n.asString="function getFirstTouchEvent(event){const{currentFirstTouchId}=jsThis._closure;{return event.allTouches.find(function(touch){return touch.id===currentFirstTouchId.value;});}}",n.__workletHash=4115924122355,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (88:1)",g.__reanimatedWorkletInit(n),n})(),T=s.Gesture.Pan().manualActivation(!0).onTouchesDown((function(){var n=function(n){if(!k.value){var t=n.allTouches[0],s=t.x,o=void 0===s?0:s,u=t.y,l=void 0===u?0:u;k.value=t.id,y.x.value=o,y.y.value=l}};return n._closure={currentFirstTouchId:k,initialPosition:{x:y.x,y:y.y}},n.asString="function _f(event){const{currentFirstTouchId,initialPosition}=jsThis._closure;{if(!currentFirstTouchId.value){const firstEvent=event.allTouches[0];const{x=0,y=0}=firstEvent;currentFirstTouchId.value=firstEvent.id;initialPosition.x.value=x;initialPosition.y.value=y;}}}",n.__workletHash=0xc9c8216f28c,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (98:18)",g.__reanimatedWorkletInit(n),n})()).onTouchesMove((function(){var n=function(n,t){if(!P.value&&p.value&&(P.value=!0,t.activate()),P.value&&p.value){var s=S(n);if(!s)return void t.end();I.x.value=s.x,I.y.value=s.y,_&&_(s)}};return n._closure={isPanActive:P,isDragging:p,getFirstTouchEvent:S,lastPosition:{x:I.x,y:I.y},onDragOver:_},n.asString="function _f(event,state){const{isPanActive,isDragging,getFirstTouchEvent,lastPosition,onDragOver}=jsThis._closure;{if(!isPanActive.value&&isDragging.value){isPanActive.value=true;state.activate();}if(isPanActive.value&&isDragging.value){const firstEvent=getFirstTouchEvent(event);if(!firstEvent){state.end();return;}lastPosition.x.value=firstEvent.x;lastPosition.y.value=firstEvent.y;if(onDragOver){onDragOver(firstEvent);}}}}",n.__workletHash=812579097473,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (109:18)",g.__reanimatedWorkletInit(n),n})()).onTouchesCancelled((function(){var n=function(n,t){t.end()};return n._closure={},n.asString="function _f(_event,state){state.end();}",n.__workletHash=1672002634015,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (131:23)",g.__reanimatedWorkletInit(n),n})()).onEnd((function(){var n=function(){k.value=null,P.value=!1,p.value=!1};return n._closure={currentFirstTouchId:k,isPanActive:P,isDragging:p},n.asString="function _f(){const{currentFirstTouchId,isPanActive,isDragging}=jsThis._closure;{currentFirstTouchId.value=null;isPanActive.value=false;isDragging.value=false;}}",n.__workletHash=8934764004255,n.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js (134:10)",g.__reanimatedWorkletInit(n),n})()).withRef(x).shouldCancelWhenOutside(!1).withTestId(b),E=(0,t.useMemo)(function(){return{panGestureRef:x,isDragging:p,isPanActive:P,draggingId:D}},[]);return(0,t.createElement)(s.GestureDetector,{gesture:T},(0,t.createElement)(o.default.View,{style:u.default.draggable__container},(0,t.createElement)(v,{value:E},c)))};e.default=f},2303,[3,683,14,518,2304]); __d(function(g,r,i,a,m,e,d){m.exports={draggable__container:{flexGrow:1,flexShrink:1,flexBasis:0}}},2304,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]),t=r(d[1]),o=(0,t.createHigherOrderComponent)(function(o){return function(u){var c=(0,t.useConstrainedTabbing)();return(0,n.createElement)("div",{ref:c,tabIndex:"-1"},(0,n.createElement)(o,u))}},'withConstrainedTabbing');e.default=o},2305,[683,1384]); __d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),o=e(r(d[4])),f=e(r(d[5])),u=e(r(d[6])),c=e(r(d[7])),s=e(r(d[8])),p=r(d[9]),y=r(d[10]);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}_e.default=function(e){return(0,y.createHigherOrderComponent)(function(y){return(function(b){(0,u.default)(S,b);var v,k,R=(v=S,k=h(),function(){var e,t=(0,s.default)(v);if(k){var n=(0,s.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,c.default)(this,e)});function S(){var e;return(0,l.default)(this,S),(e=R.apply(this,arguments)).nodeRef=e.props.node,e.state={fallbackStyles:void 0,grabStylesCompleted:!1},e.bindRef=e.bindRef.bind((0,f.default)(e)),e}return(0,o.default)(S,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"componentDidMount",value:function(){this.grabFallbackStyles()}},{key:"componentDidUpdate",value:function(){this.grabFallbackStyles()}},{key:"grabFallbackStyles",value:function(){var t=this.state,n=t.grabStylesCompleted,l=t.fallbackStyles;if(this.nodeRef&&!n){var o=e(this.nodeRef,this.props);(0,p.isEqual)(o,l)||this.setState({fallbackStyles:o,grabStylesCompleted:!!(0,p.every)(o)})}}},{key:"render",value:function(){var e=(0,t.createElement)(y,(0,n.default)({},this.props,this.state.fallbackStyles));return this.props.node?e:(0,t.createElement)("div",{ref:this.bindRef}," ",e," ")}}]),S})(t.Component)},'withFallbackStyles')}},2306,[3,683,29,6,7,12,8,10,13,1348,1384]); @@ -2522,7 +2522,7 @@ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{ __d(function(g,r,i,a,m,e,d){m.exports={animatedChildStyle:{position:"absolute",width:"100%"},defaultChildStyle:{height:"100%",top:0}}},2516,[]); __d(function(g,r,i,a,m,e,d){m.exports={keyboardAvoidingView:{position:"absolute",top:0,right:0,left:0,bottom:0},container:{flexGrow:1,flexShrink:1,flexBasis:0},placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},htmlView:{fontFamily:"menlo",paddingLeft:8,paddingRight:8,paddingTop:8,paddingBottom:24},htmlViewDark:{color:"#fff"},scrollView:{flexGrow:1,flexShrink:1,flexBasis:0},htmlViewTitle:{fontFamily:"menlo",paddingLeft:8,paddingRight:8,paddingTop:8,paddingBottom:8,marginTop:16}}},2517,[]); __d(function(g,r,i,a,m,e,d){m.exports={keyboardAvoidingView:{position:"absolute",top:0,right:0,left:0,bottom:0},container:{flexGrow:1,flexShrink:1,flexBasis:0},placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},htmlView:{fontFamily:"menlo",paddingLeft:8,paddingRight:8,paddingTop:8,paddingBottom:24},htmlViewDark:{color:"#fff"},scrollView:{flexGrow:1,flexShrink:1,flexBasis:0},htmlViewTitle:{fontFamily:"menlo",paddingLeft:8,paddingRight:8,paddingTop:8,paddingBottom:8,marginTop:16}}},2518,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.KeyboardAwareFlatList=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=b(o);if(n&&n.has(t))return n.get(t);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var u=c?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}l.default=t,n&&n.set(t,l);return l})(r(d[6])),f=["extraScrollHeight","shouldPreventAutomaticScroll","innerRef","autoScroll","scrollViewStyle","inputAccessoryViewHeight","onScroll"];function b(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(b=function(t){return t?n:o})(t)}var y=(0,o.memo)(c.FlatList,s.isEqual),S=u.default.createAnimatedComponent(l.KeyboardAwareScrollView),v=function(t){var l,c=t.extraScrollHeight,s=t.shouldPreventAutomaticScroll,b=t.innerRef,v=t.autoScroll,p=t.scrollViewStyle,h=t.inputAccessoryViewHeight,w=t.onScroll,O=(0,n.default)(t,f),_=(0,o.useRef)(),k=(0,o.useRef)(),A=(0,u.useSharedValue)(-1),C=(0,u.useAnimatedScrollHandler)({onScroll:(l=function(t){var o=t.contentOffset;A.value=o.y,w(t)},l._closure={latestContentOffsetY:A,onScroll:w},l.asString="function _f(event){const{latestContentOffsetY,onScroll}=jsThis._closure;{const{contentOffset:contentOffset}=event;latestContentOffsetY.value=contentOffset.y;onScroll(event);}}",l.__workletHash=0x994c3aadbf2,l.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-aware-flat-list/index.ios.js (38:12)",g.__reanimatedWorkletInit(l),l)}),H=(0,o.useCallback)(function(t){_.current=t,b(t)},[b]),P=(0,o.useCallback)(function(){k.current=!1},[]),j=(0,o.useCallback)(function(){setTimeout(function(){var t;k.current||-1===A.value||s()||(null==(t=_.current)||t.scrollToPosition(0,A.value,!0))},50)},[A,s]),V=(0,o.useCallback)(function(){k.current=!0},[]);return(0,o.createElement)(S,{style:[{flex:1},p],keyboardDismissMode:"none",enableResetScrollToCoords:!1,keyboardShouldPersistTaps:"handled",extraScrollHeight:c,extraHeight:0,inputAccessoryViewHeight:h,enableAutomaticScroll:void 0!==v&&v,ref:H,onKeyboardWillHide:P,onKeyboardDidHide:j,onKeyboardWillShow:V,scrollEnabled:O.scrollEnabled,onScroll:C},(0,o.createElement)(y,O))};e.KeyboardAwareFlatList=v,v.handleCaretVerticalPositionChange=function(t,o,n,l){l&&t.refreshScrollForField(o)};var p=v;e.default=p},2519,[3,683,4,2520,17,1348,518]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.KeyboardAwareFlatList=void 0;var o=r(d[1]),n=t(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=b(o);if(n&&n.has(t))return n.get(t);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var u=c?Object.getOwnPropertyDescriptor(t,s):null;u&&(u.get||u.set)?Object.defineProperty(l,s,u):l[s]=t[s]}l.default=t,n&&n.set(t,l);return l})(r(d[6])),f=["extraScrollHeight","shouldPreventAutomaticScroll","innerRef","autoScroll","scrollViewStyle","inputAccessoryViewHeight","onScroll"];function b(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(b=function(t){return t?n:o})(t)}var y=(0,o.memo)(c.FlatList,s.isEqual),S=u.default.createAnimatedComponent(l.KeyboardAwareScrollView),p=function(t){var l,c=t.extraScrollHeight,s=t.shouldPreventAutomaticScroll,b=t.innerRef,p=t.autoScroll,v=t.scrollViewStyle,h=t.inputAccessoryViewHeight,w=t.onScroll,O=(0,n.default)(t,f),_=(0,o.useRef)(),k=(0,o.useRef)(),A=(0,u.useSharedValue)(-1),C=(0,u.useAnimatedScrollHandler)({onScroll:(l=function(t){var o=t.contentOffset;A.value=o.y,w(t)},l._closure={latestContentOffsetY:A,onScroll:w},l.asString="function _f(event){const{latestContentOffsetY,onScroll}=jsThis._closure;{const{contentOffset:contentOffset}=event;latestContentOffsetY.value=contentOffset.y;onScroll(event);}}",l.__workletHash=0x994c3aadbf2,l.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-aware-flat-list/index.ios.js (38:12)",g.__reanimatedWorkletInit(l),l)}),H=(0,o.useCallback)(function(t){_.current=t,b(t)},[b]),P=(0,o.useCallback)(function(){k.current=!1},[]),j=(0,o.useCallback)(function(){setTimeout(function(){var t;k.current||-1===A.value||s()||(null==(t=_.current)||t.scrollToPosition(0,A.value,!0))},50)},[A,s]),V=(0,o.useCallback)(function(){k.current=!0},[]);return(0,o.createElement)(S,{style:[{flex:1},v],keyboardDismissMode:"none",enableResetScrollToCoords:!1,keyboardShouldPersistTaps:"handled",extraScrollHeight:c,extraHeight:0,inputAccessoryViewHeight:h,enableAutomaticScroll:void 0!==p&&p,ref:H,onKeyboardWillHide:P,onKeyboardDidHide:j,onKeyboardWillShow:V,scrollEnabled:O.scrollEnabled,onScroll:C},(0,o.createElement)(y,O))};e.KeyboardAwareFlatList=p,p.handleCaretVerticalPositionChange=function(t,o,n,l){l&&t.refreshScrollForField(o)};var v=p;e.default=v},2519,[3,683,4,2520,17,1348,518]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"KeyboardAwareFlatList",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"KeyboardAwareScrollView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"KeyboardAwareSectionList",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"listenToKeyboardEvents",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1])),u=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4]))},2520,[3,2521,2522,2523,2524]); __d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(r(d[1])),o=e(r(d[2])),n=e(r(d[3])),l=e(r(d[4])),s=e(r(d[5])),c=e(r(d[6])),u=e(r(d[7])),f=e(r(d[8])),p=e(r(d[9])),h=e(r(d[10])),y=e(r(d[11])),b=e(r(d[12])),v=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var c=l?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(n,s,c):n[s]=e[s]}n.default=e,o&&o.set(e,n);return n})(r(d[13])),S=r(d[14]);function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var w=v.NativeModules.RNTKeyboardAwareScrollView,_=(0,S.isIphoneX)()?83:49,O=200,I=500,C=['keyboardWillShow','keyboardDidShow','keyboardWillHide','keyboardDidHide','keyboardWillChangeFrame','keyboardDidChangeFrame'],x=function(e){return'on'+e[0].toUpperCase()+e.substring(1)},H=C.reduce(function(e,t){return(0,h.default)({},e,(0,p.default)({},x(t),b.default.func))},{});C.reduce(function(e,t){return(0,h.default)({},e,(0,p.default)({},x(t),Function))},{});var R={enableOnAndroid:!1,contentContainerStyle:void 0,enableAutomaticScroll:!0,extraHeight:75,extraScrollHeight:0,extraBottomInset:0,inputAccessoryViewHeight:0,enableResetScrollToCoords:!0,keyboardOpeningTime:250,viewIsInsideTabBar:!1,refPropName:'ref',extractNativeRef:function(e){return e.getNode?e.getNode():e}};function A(e,S){var T,A,W,E=(0,h.default)({},R,S);return A=T=(function(b){(0,c.default)(R,b);var S,T,H=(S=R,T=k(),function(){var e,t=(0,f.default)(S);if(T){var o=(0,f.default)(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function R(e){var l;(0,n.default)(this,R),(l=H.call(this,e)).getScrollResponder=function(){return l._rnkasv_keyboardView&&l._rnkasv_keyboardView.getScrollResponder()},l.scrollToPosition=function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=l.getScrollResponder();n&&(n.scrollResponderScrollTo?n.scrollResponderScrollTo({x:e,y:t,animated:o}):n.scrollTo&&n.scrollTo({x:e,y:t,animated:o}))},l.scrollToEnd=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=l.getScrollResponder();t&&(t.scrollResponderScrollToEnd?t.scrollResponderScrollToEnd({animated:e}):t.scrollToEnd&&t.scrollToEnd({animated:e}))},l.scrollForExtraHeightOnAndroid=function(e){l.scrollToPosition(0,l.position.y+e,!0)},l.scrollToFocusedInput=function(e,t,o){void 0===t&&(t=l.props.extraHeight||0),void 0===o&&(o=l.props.keyboardOpeningTime||0),setTimeout(function(){if(l.mountedComponent){var o=l.getScrollResponder();o&&o.scrollResponderScrollNativeHandleToKeyboard(e,t,!0)}},o)},l.scrollIntoView=function(e){var n,s,c,u,f,p,h,y,b,v,S=arguments;return t.default.async(function(T){for(;;)switch(T.prev=T.next){case 0:if(n=S.length>1&&void 0!==S[1]?S[1]:{},l._rnkasv_keyboardView&&e){T.next=3;break}return T.abrupt("return");case 3:return T.next=5,t.default.awrap(Promise.all([l._measureElement(l._rnkasv_keyboardView),l._measureElement(e)]));case 5:s=T.sent,c=(0,o.default)(s,2),u=c[0],f=c[1],p=n.getScrollPosition||l._defaultGetScrollPosition,h=p(u,f,l.position),y=h.x,b=h.y,v=h.animated,l.scrollToPosition(y,b,v);case 12:case"end":return T.stop()}},null,null,null,Promise)},l._defaultGetScrollPosition=function(e,t,o){return{x:0,y:Math.max(0,t.y-e.y+o.y),animated:!0}},l._measureElement=function(e){var t=(0,v.findNodeHandle)(e);return new Promise(function(e){v.UIManager.measureInWindow(t,function(t,o,n,l){e({x:t,y:o,width:n,height:l})})})},l._updateKeyboardSpace=function(e){var o,n;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:o=l._calculateLayoutDelayOnKeyboardWillOpen(Date.now()),l.props.enableAutomaticScroll&&(n=e.endCoordinates.height+l.props.extraBottomInset,l.props.viewIsInsideTabBar&&(n-=_),l.setState({keyboardSpace:n,keyboardEndCoordinatesScreenY:e.endCoordinates.screenY}),setTimeout(function(){l._refreshScrollForField(null)},o)),l.props.resetScrollToCoords||l.defaultResetScrollToCoords||(l.defaultResetScrollToCoords=l.position);case 3:case"end":return t.stop()}},null,null,null,Promise)},l._resetKeyboardSpace=function(){l.keyboardWillHideTime=Date.now();var e=l.props.viewIsInsideTabBar?_:0;l.setState({keyboardSpace:e,keyboardEndCoordinatesScreenY:void 0}),!1!==l.props.enableResetScrollToCoords?l.props.resetScrollToCoords?l.scrollToPosition(l.props.resetScrollToCoords.x,l.props.resetScrollToCoords.y,!0):l.defaultResetScrollToCoords?(l.scrollToPosition(l.defaultResetScrollToCoords.x,l.defaultResetScrollToCoords.y,!0),l.defaultResetScrollToCoords=null):l.scrollToPosition(0,0,!0):l.defaultResetScrollToCoords=null},l._scrollToFocusedInputWithNodeHandle=function(e,t,o){void 0===t&&(t=l.props.extraHeight);var n=v.default.findNodeHandle(e);l.scrollToFocusedInput(n,t+l._extraScrollHeight(),void 0!==o?o:l.props.keyboardOpeningTime||0)},l._handleOnScroll=function(e){l.position=e.nativeEvent.contentOffset},l._handleOnLayout=function(){l.parentLayout=null},l._handleRef=function(e){l._rnkasv_keyboardView=e?E.extractNativeRef(e):e,l.props.innerRef&&l.props.innerRef(l._rnkasv_keyboardView)},l.update=function(){var e=v.TextInput.State.currentlyFocusedField(),t=l.getScrollResponder();e&&t&&l._scrollToFocusedInputWithNodeHandle(e)},l.keyboardWillShowEvent=void 0,l.keyboardWillHideEvent=void 0,l.callbacks={},l.position={x:0,y:0},l.defaultResetScrollToCoords=null;var c=e.viewIsInsideTabBar?_:0;return l.state={keyboardSpace:c},l.refreshScrollForField=l._refreshScrollForField.bind((0,s.default)(l)),l}return(0,l.default)(R,[{key:"componentDidMount",value:function(){var e=this;return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:this.mountedComponent=!0,'ios'===v.Platform.OS?(this.keyboardWillShowEvent=v.Keyboard.addListener('keyboardWillShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=v.Keyboard.addListener('keyboardWillHide',this._resetKeyboardSpace)):'android'===v.Platform.OS&&this.props.enableOnAndroid&&(this.keyboardWillShowEvent=v.Keyboard.addListener('keyboardDidShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=v.Keyboard.addListener('keyboardDidHide',this._resetKeyboardSpace)),C.forEach(function(t){var o=x(t);e.props[o]&&(e.callbacks[t]=v.Keyboard.addListener(t,e.props[o]))});case 3:case"end":return t.stop()}},null,this,null,Promise)}},{key:"componentDidUpdate",value:function(e){if(this.props.viewIsInsideTabBar!==e.viewIsInsideTabBar){var t=this.props.viewIsInsideTabBar?_:0;this.state.keyboardSpace!==t&&this.setState({keyboardSpace:t})}}},{key:"componentWillUnmount",value:function(){this.mountedComponent=!1,this.keyboardWillShowEvent&&this.keyboardWillShowEvent.remove(),this.keyboardWillHideEvent&&this.keyboardWillHideEvent.remove(),Object.values(this.callbacks).forEach(function(e){return e.remove()})}},{key:"_calculateTopBottomDistanceIfNeeded",value:function(){var e,o,n;return t.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(this.parentLayout){l.next=8;break}return l.next=3,t.default.awrap(this._measureElement(this._rnkasv_keyboardView));case 3:e=l.sent,this.parentLayout=e,o=v.Dimensions.get('window'),n=o.height,this.bottomDistanceToWindow=n-(e.y+e.height),this.topDistanceToWindow=e.y;case 8:case"end":return l.stop()}},null,this,null,Promise)}},{key:"_wasKeyboardAlreadyOpen",value:function(e){return e-this.keyboardWillHideTimeo+n}},{key:"_isFocusedAreaFitsInViewableArea",value:function(e,t,o,n){var l=t+o-e+this.props.extraScrollHeight,s=this.topDistanceToWindow;return n-this.props.inputAccessoryViewHeight-s>l}},{key:"_isCaretUnderKeyboard",value:function(e,t,o){return e+t>o-this.props.inputAccessoryViewHeight}},{key:"_isCaretAboveViewableArea",value:function(e){return this.topDistanceToWindow>e}},{key:"_isCaretOutOfViewableArea",value:function(e,t,o){return this._isCaretUnderKeyboard(e,t,o)||this._isCaretAboveViewableArea(e)}},{key:"_shouldScrollToBottomOfComponent",value:function(e,t,o,n,l,s){return this._isFocusedAreaFitsInViewableArea(o,e,t,s)&&this._isCaretAtLastLine(o,n,e,t,l)}},{key:"_scrollToBottomOfComponent",value:function(e,t,o){var n=this;v.UIManager.measureInWindow(e,function(l,s,c,u){n._doScrollToBottomOfComponent(e,s,u,t,o)})}},{key:"_extraScrollHeight",value:function(){var e=void 0!==this.state.keyboardEndCoordinatesScreenY?this.topDistanceToWindow:this._totalVerticalDistanceToWindow();return this.props.extraScrollHeight+e+this.props.inputAccessoryViewHeight}},{key:"_doScrollToBottomOfComponent",value:function(e,t,o,n,l,s){var c=t+o,u=n,f=this._extraScrollHeight()+this.props.extraHeight;if('ios'===v.Platform.OS)c>u-f&&this._scrollToFocusedInputWithNodeHandle(e,null,s);else if(c>u){var p=l-(c-u);this.setState({adjustedKeyboardSpace:p}),this.scrollForExtraHeightOnAndroid(f)}else c>u-f&&this.scrollForExtraHeightOnAndroid(f-(u-c))}},{key:"render",value:function(){var t,o=this.props,n=o.enableOnAndroid,l=o.contentContainerStyle,s=o.onScroll,c=o.onLayout;'android'===v.Platform.OS&&n&&(t=[].concat(l).concat({paddingBottom:((l||{}).paddingBottom||0)+this.state.keyboardSpace}));var u=(0,p.default)({},E.refPropName,this._handleRef);return y.default.createElement(e,(0,h.default)({},u,{keyboardDismissMode:"interactive",contentInset:{bottom:this.state.keyboardSpace},automaticallyAdjustContentInsets:!1,showsVerticalScrollIndicator:!0,scrollEventThrottle:1},this.props,{contentContainerStyle:t||l,keyboardSpace:this.state.keyboardSpace,getScrollResponder:this.getScrollResponder,scrollToPosition:this.scrollToPosition,refreshScrollForField:this.refreshScrollForField,scrollToEnd:this.scrollToEnd,scrollForExtraHeightOnAndroid:this.scrollForExtraHeightOnAndroid,scrollToFocusedInput:this.scrollToFocusedInput,scrollIntoView:this.scrollIntoView,resetKeyboardSpace:this._resetKeyboardSpace,handleOnScroll:this._handleOnScroll,handleOnLayout:this._handleOnLayout,update:this.update,onScroll:v.Animated.forkEvent(s,this._handleOnScroll),onLayout:v.Animated.forkEvent(c,this._handleOnLayout)}))}}]),R})(y.default.Component),T.displayName="KeyboardAware"+((W=e)&&(W.displayName||W.name)||'Component'),T.propTypes=(0,h.default)({viewIsInsideTabBar:b.default.bool,resetScrollToCoords:b.default.shape({x:b.default.number.isRequired,y:b.default.number.isRequired}),enableResetScrollToCoords:b.default.bool,enableAutomaticScroll:b.default.bool,extraHeight:b.default.number,extraScrollHeight:b.default.number,keyboardOpeningTime:b.default.number,onScroll:b.default.oneOfType([b.default.func,b.default.object]),onLayout:b.default.oneOfType([b.default.func,b.default.object]),update:b.default.func,contentContainerStyle:b.default.any,enableOnAndroid:b.default.bool,innerRef:b.default.func},H),T.defaultProps={enableAutomaticScroll:E.enableAutomaticScroll,extraHeight:E.extraHeight,extraScrollHeight:E.extraScrollHeight,extraBottomInset:E.extraBottomInset,inputAccessoryViewHeight:E.inputAccessoryViewHeight,enableResetScrollToCoords:E.enableResetScrollToCoords,keyboardOpeningTime:E.keyboardOpeningTime,viewIsInsideTabBar:E.viewIsInsideTabBar,enableOnAndroid:E.enableOnAndroid},A}var W=function(e){return'object'!=typeof e||e.displayName?A(e):function(t){return A(t,e)}};_e.default=W},2521,[3,74,45,6,7,12,8,10,13,257,29,169,198,17,2444]); __d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=(0,l(r(d[2])).default)(t.ScrollView);e.default=u},2522,[3,17,2521]); @@ -2694,12 +2694,12 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{ __d(function(g,r,i,a,m,e,d){m.exports={toolbar:{flexDirection:"row",height:44,alignItems:"flex-start",marginLeft:3,marginRight:3},toolbarFullWidth:{paddingLeft:12,paddingRight:12},spacer:{flexGrow:1}}},2688,[]); __d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockMover=e.BLOCK_MOVER_DIRECTION_TOP=e.BLOCK_MOVER_DIRECTION_BOTTOM=void 0;var t=r(d[1]),n=o(r(d[2])),l=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]),v=r(d[7]),f=r(d[8]),k=r(d[9]),B=r(d[10]),O='blockPageMoverOptions-moveToTop';e.BLOCK_MOVER_DIRECTION_TOP=O;var M='blockPageMoverOptions-moveToBottom';e.BLOCK_MOVER_DIRECTION_BOTTOM=M;var _=function(o){var l=o.isFirst,v=o.isLast,f=o.canMove,B=o.onMoveDown,_=o.onMoveUp,p=o.onLongMove,I=o.firstIndex,C=o.numberOfBlocks,b=o.rootClientId,T=o.isStackedHorizontally,E=(0,t.useRef)(),P=(0,t.useState)(!1),w=(0,n.default)(P,2),h=w[0],D=w[1],L=(0,t.useState)(void 0),R=(0,n.default)(L,2),S=R[0],x=R[1],K=function(o){return function(){E.current?(x(o),D(!0)):x(void 0)}};(0,t.useEffect)(function(){var o;h&&(null==(o=E.current)||o.presentPicker(),D(!1))},[h]);var N=(0,k.getMoversSetup)(T,{firstIndex:I}),V=N.description,y=V.backwardButtonHint,F=V.forwardButtonHint,H=V.firstBlockTitle,U=V.lastBlockTitle,A=N.icon,j=A.backward,z=A.forward,q=N.title,G=q.backward,J=q.forward,Q=[{icon:j,label:(0,s.__)('Move to top'),value:O,onSelect:function(){p()(0)}},{icon:z,label:(0,s.__)('Move to bottom'),value:M,onSelect:function(){p()(C)}}].filter(function(o){return o.value===S}),W=(0,t.useCallback)(K(O),[]),X=(0,t.useCallback)(K(M),[]);return!f||l&&v&&!b?null:(0,t.createElement)(t.Fragment,null,(0,t.createElement)(u.ToolbarButton,{title:l?H:G,isDisabled:l,onClick:_,onLongPress:W,icon:j,extraProps:{hint:y}}),(0,t.createElement)(u.ToolbarButton,{title:v?U:J,isDisabled:v,onClick:B,onLongPress:X,icon:z,extraProps:{hint:F}}),(0,t.createElement)(u.Picker,{ref:E,options:Q,onChange:function(o){var t=Q.find(function(t){return t.value===o});t&&t.onSelect&&t.onSelect()},title:(0,s.__)('Change block position'),leftAlign:!0,hideCancelButton:'ios'!==c.Platform.OS}))};e.BlockMover=_;var p=(0,v.compose)((0,f.withSelect)(function(o,t){var n=t.clientIds,c=o(B.store),s=c.getBlockIndex,u=c.canMoveBlocks,v=c.getBlockRootClientId,f=c.getBlockOrder,k=(0,l.castArray)(n),O=(0,l.first)(k),M=v(O),_=f(M),p=s(O),I=s((0,l.last)(k));return{firstIndex:p,numberOfBlocks:_.length-1,isFirst:0===p,isLast:I===_.length-1,canMove:u(n,M),rootClientId:M}}),(0,f.withDispatch)(function(o,t){var n=t.clientIds,c=t.rootClientId,s=o(B.store),u=s.moveBlocksDown,v=s.moveBlocksUp,f=s.moveBlocksToPosition;return{onMoveDown:(0,l.partial)(u,n,c),onMoveUp:(0,l.partial)(v,n,c),onLongMove:function(o){return(0,l.partial)(f,n,c,o)}}}),v.withInstanceId)(_);e.default=p},2689,[3,683,45,1348,17,1280,1691,1384,1344,2690,2600]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getMoversSetup=function(t,o){var c=o.firstIndex,u=o.keys;return(void 0===u?k:u).reduce(function(o,u){return k.includes(u)&&(0,l.default)(o,(0,n.default)({},u,_(u,t,{firstIndex:c}))),o},{})};var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),c=r(d[4]),u=r(d[5]),f=r(d[6]),s={backwardButtonIcon:f.arrowLeft,forwardButtonIcon:f.arrowRight,backwardButtonHint:(0,u.__)('Double tap to move the block to the left'),forwardButtonHint:(0,u.__)('Double tap to move the block to the right'),firstBlockTitle:(0,u.__)('Move block left'),lastBlockTitle:(0,u.__)('Move block right'),backwardButtonTitle:(0,u.__)('Move block left from position %1$s to position %2$s'),forwardButtonTitle:(0,u.__)('Move block right from position %1$s to position %2$s')},w={backwardButtonIcon:f.arrowUp,forwardButtonIcon:f.arrowDown,backwardButtonHint:(0,u.__)('Double tap to move the block up'),forwardButtonHint:(0,u.__)('Double tap to move the block down'),firstBlockTitle:(0,u.__)('Move block up'),lastBlockTitle:(0,u.__)('Move block down'),backwardButtonTitle:(0,u.__)('Move block up from row %1$s to row %2$s'),forwardButtonTitle:(0,u.__)('Move block down from row %1$s to row %2$s')},k=['description','icon','title','actionTitle'],p={description:B,icon:function(t){var o=B(t),n=o.forwardButtonIcon,l=o.backwardButtonIcon,c=[n,l,t];return{backward:v(!0,c),forward:v(!1,c)}},title:function(t,n){var l=n.firstIndex,c=function(t){var o=l+1,n=t?-1:1,c=o+n;return[o,c]},f=B(t),s=f.backwardButtonTitle,w=[f.forwardButtonTitle,s,t],k=v(!0,w),p=v(!1,w);return{backward:u.sprintf.apply(void 0,[k].concat((0,o.default)(c(!0)))),forward:u.sprintf.apply(void 0,[p].concat((0,o.default)(c(!1))))}},actionTitle:function(t){var o=B(t),n=o.firstBlockTitle,l=o.lastBlockTitle,c=[l,n,t],f=v(!0,c),s=v(!1,c);return{backward:(0,u.sprintf)(f,n),forward:(0,u.sprintf)(s,l)}}};function b(t,o,n,l){return c.I18nManager.isRTL&&l?t?o:n:t?n:o}function _(){var t=Array.prototype.slice.call(arguments),n=t[0],l=t.slice(1);return p[n].apply(null,(0,o.default)(l))}function v(t,n){return b.apply(null,[t].concat((0,o.default)(n)))}function B(t){return t?s:w}},2690,[3,53,257,29,17,1280,1891]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockDraggableWrapper=void 0;var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),s=r(d[4]),c=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=D(n);if(o&&o.has(t))return o.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=s?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[5])),u=r(d[6]),f=r(d[7]),h=r(d[8]),v=r(d[9]),p=t(r(d[10])),_=t(r(d[11])),b=t(r(d[12])),k=r(d[13]),y=r(d[14]),S=t(r(d[15])),O=t(r(d[16])),x=t(r(d[17]));function D(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(D=function(t){return t?o:n})(t)}var I={duration:350};e.BlockDraggableWrapper=function(t){var l=t.children,p=t.isRTL,D=(0,n.useState)(),I=(0,o.default)(D,2),w=I[0],T=I[1],P=(0,f.useDispatch)(k.store),W=P.selectBlock,B=P.startDraggingBlocks,E=P.stopDraggingBlocks,Y=(0,y.useBlockListContext)().scrollRef,j=(0,c.useAnimatedRef)(),H=(0,s.useSafeAreaInsets)(),C=H.left,J=H.right,V=(0,s.useSafeAreaFrame)().width-(C+J);j(Y);var F,L={offsetY:(0,c.useSharedValue)(0)},R={x:(0,c.useSharedValue)(0),y:(0,c.useSharedValue)(0),width:(0,c.useSharedValue)(0),height:(0,c.useSharedValue)(0)},U=(0,c.useSharedValue)(0),X=(0,c.useSharedValue)(!1),A=(0,_.default)(),M=(0,o.default)(A,4),N=M[0],z=M[1],Z=M[2],q=M[3],G=((F=function(t){var n=t.contentOffset;L.offsetY.value=n.y,q(t)})._closure={scroll:{offsetY:L.offsetY},draggingScrollHandler:q},F.asString="function _f(event){const{scroll,draggingScrollHandler}=jsThis._closure;{const{contentOffset:contentOffset}=event;scroll.offsetY.value=contentOffset.y;draggingScrollHandler(event);}}",F.__workletHash=0x9a0f40aa228,F.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (107:23)",g.__reanimatedWorkletInit(F),F),K=(0,O.default)(),Q=K.onBlockDragOver,$=K.onBlockDragEnd,ee=K.onBlockDrop,te=K.targetBlockIndex;(0,n.useEffect)(function(){return function(){X.value&&E()}},[]);var ne=function(t){var n,o=(0,f.select)(k.store).getBlockName(t),l=null==(n=(0,h.getBlockType)(o))?void 0:n.icon;l&&T(l)},re=function(t){var n=t.clientId,o=t.position;n?(B([n]),ne(n),(0,c.runOnUI)(N)(o.y),(0,v.generateHapticFeedback)()):(0,c.runOnUI)(le)()},ae=function(t){var n=t.clientId;n&&(ee({srcRootClientId:'',srcClientIds:[n],type:'block'}),W(n),T(void 0)),$(),E()},ie=(function(){var t=function(t){var n=t.x,o=t.y,l=t.id,s={x:n,y:o};R.x.value=s.x,R.y.value=s.y,U.value=s.y,X.value=!0,(0,c.runOnJS)(re)({clientId:l,position:s})};return t._closure={chip:{x:R.x,y:R.y},currentYPosition:U,isDragging:X,runOnJS:c.runOnJS,onStartDragging:re},t.asString="function _f({x:x,y:y,id:id}){const{chip,currentYPosition,isDragging,runOnJS,onStartDragging}=jsThis._closure;{const dragPosition={x:x,y:y};chip.x.value=dragPosition.x;chip.y.value=dragPosition.y;currentYPosition.value=dragPosition.y;isDragging.value=true;runOnJS(onStartDragging)({clientId:id,position:dragPosition});}}",t.__workletHash=0xb3435778599,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (175:23)",g.__reanimatedWorkletInit(t),t})(),oe=(function(){var t=function(t){var n=t.x,o=t.y,l={x:n,y:o};R.x.value=l.x,R.y.value=l.y,U.value=l.y,(0,c.runOnJS)(Q)({x:n,y:o+L.offsetY.value}),z(l.y)};return t._closure={chip:{x:R.x,y:R.y},currentYPosition:U,runOnJS:c.runOnJS,onBlockDragOver:Q,scroll:{offsetY:L.offsetY},scrollOnDragOver:z},t.asString="function _f({x:x,y:y}){const{chip,currentYPosition,runOnJS,onBlockDragOver,scroll,scrollOnDragOver}=jsThis._closure;{const dragPosition={x:x,y:y};chip.x.value=dragPosition.x;chip.y.value=dragPosition.y;currentYPosition.value=dragPosition.y;runOnJS(onBlockDragOver)({x:x,y:y+scroll.offsetY.value});scrollOnDragOver(dragPosition.y);}}",t.__workletHash=1128142421615,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (187:24)",g.__reanimatedWorkletInit(t),t})(),le=(function(){var t=function(t){var n=t.id;X.value=!1,Z(),(0,c.runOnJS)(ae)({clientId:n})};return t._closure={isDragging:X,stopScrolling:Z,runOnJS:c.runOnJS,onStopDragging:ae},t.asString="function _f({id:id}){const{isDragging,stopScrolling,runOnJS,onStopDragging}=jsThis._closure;{isDragging.value=false;stopScrolling();runOnJS(onStopDragging)({clientId:id});}}",t.__workletHash=0xe46d59029cd,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (200:22)",g.__reanimatedWorkletInit(t),t})(),se=[(0,c.useAnimatedStyle)((function(){var t=function(){var t=R.width.value/2;return{transform:[{translateX:p?-(V-(R.x.value+t)):R.x.value-t},{translateY:R.y.value-R.height.value-32}]}};return t._closure={chip:{width:R.width,x:R.x,y:R.y,height:R.height},isRTL:p,contentWidth:V,CHIP_OFFSET_TO_TOUCH_POSITION:32},t.asString="function _f(){const{chip,isRTL,contentWidth,CHIP_OFFSET_TO_TOUCH_POSITION}=jsThis._closure;{const chipOffset=chip.width.value/2;const translateX=!isRTL?chip.x.value-chipOffset:-(contentWidth-(chip.x.value+chipOffset));return{transform:[{translateX:translateX},{translateY:chip.y.value-chip.height.value-CHIP_OFFSET_TO_TOUCH_POSITION}]};}}",t.__workletHash=832875305930,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (208:45)",t.__optimalization=3,g.__reanimatedWorkletInit(t),t})()),x.default['draggable-chip__wrapper']],ce=(function(){var t=function(t){var n=t.currentHeight,o=t.currentWidth,l=p?-1*o:0;return{initialValues:{transform:[{translateY:0},{translateX:l},{scale:1}]},animations:{transform:[{translateY:(0,c.withTiming)(n,{duration:150})},{translateX:(0,c.withTiming)(l,{duration:150})},{scale:(0,c.withTiming)(0,{duration:150})}]}}};return t._closure={isRTL:p,withTiming:c.withTiming},t.asString="function _f({currentHeight:currentHeight,currentWidth:currentWidth}){const{isRTL,withTiming}=jsThis._closure;{const translateX=!isRTL?0:currentWidth*-1;const duration=150;const animations={transform:[{translateY:withTiming(currentHeight,{duration:duration})},{translateX:withTiming(translateX,{duration:duration})},{scale:withTiming(0,{duration:duration})}]};const initialValues={transform:[{translateY:0},{translateX:translateX},{scale:1}]};return{initialValues:initialValues,animations:animations};}}",t.__workletHash=8350536188982,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (233:26)",g.__reanimatedWorkletInit(t),t})();return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(S.default,{scroll:L,currentYPosition:U,isDragging:X,targetBlockIndex:te}),(0,n.createElement)(u.Draggable,{onDragStart:ie,onDragOver:oe,onDragEnd:le,testID:"block-draggable-wrapper"},l({onScroll:G})),(0,n.createElement)(c.default.View,{onLayout:function(t){var n=t.nativeEvent.layout;n.width>0&&(R.width.value=n.width),n.height>0&&(R.height.value=n.height)},style:se,pointerEvents:"none"},w&&(0,n.createElement)(c.default.View,{entering:c.ZoomInEasyDown.duration(200),exiting:ce},(0,n.createElement)(b.default,{icon:w}))))};var w=function(t){var s=t.clientId,h=t.children,v=t.draggingClientId,_=t.enabled,b=void 0===_||_,y=t.testID,S=(0,n.useRef)(!1),O=(0,n.useState)(!1),D=(0,o.default)(O,2),w=D[0],T=D[1],P=(0,n.useState)(!1),W=(0,o.default)(P,2),B=W[0],E=W[1],Y={opacity:(0,c.useSharedValue)(1)},j=(0,f.useSelect)(function(t){var n=t(k.store),o=n.getBlockRootClientId,l=n.getTemplateLock,c=n.isBlockBeingDragged,u=n.getSelectedBlockClientId,f=o(s),h=f?l(f):null,v=u();return{isBeingDragged:c(s),isDraggable:'all'!==h,isBlockSelected:v&&v===s}},[s]),H=j.isDraggable,C=j.isBeingDragged,J=j.isBlockSelected;(0,n.useEffect)(function(){C!==S.current&&(Y.opacity.value=C?(0,c.withTiming)(.4,I):(0,c.withDelay)(250,(0,c.withTiming)(1,I))),S.current=C},[C]);var V=(0,n.useCallback)(function(t){var n=t.isFocused;T(n)},[]);(0,n.useEffect)(function(){var t=!0,n=p.default.InputState.isFocused();n&&T(n),p.default.InputState.addFocusChangeListener(V);var o=l.AccessibilityInfo.addEventListener('screenReaderChanged',E);return l.AccessibilityInfo.isScreenReaderEnabled().then(function(n){t&&E(n)}),function(){t=!1,p.default.InputState.removeFocusChangeListener(V),o.remove()}},[]);var F,L=(0,n.useCallback)(function(){p.default.InputState.blurCurrentFocusedElement()},[]),R=[(0,c.useAnimatedStyle)(((F=function(){return{opacity:Y.opacity.value}})._closure={draggingAnimation:{opacity:Y.opacity}},F.asString="function _f(){const{draggingAnimation}=jsThis._closure;{return{opacity:draggingAnimation.opacity.value};}}",F.__workletHash=0xf6190c848e1,F.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (418:49)",F.__optimalization=3,g.__reanimatedWorkletInit(F),F)),x.default['draggable-wrapper__container']],U=b&&!B&&(!J||!w);return H?(0,n.createElement)(u.DraggableTrigger,{id:v||s,enabled:b&&U,minDuration:n.Platform.select({ios:U?450:500,android:500}),onLongPress:L,testID:y},(0,n.createElement)(c.default.View,{style:R},h({isDraggable:!0}))):h({isDraggable:!1})};e.default=w},2691,[3,683,45,17,2451,518,1691,1344,1342,1276,1682,2692,2694,2600,2693,2696,2698,2695]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=(0,o.useBlockListContext)().scrollRef,f=(0,n.useAnimatedRef)();f(u);var v=(0,t.useWindowDimensions)().height,_=(0,n.useSharedValue)(0),h=(0,n.useSharedValue)(0),Y=(0,n.useSharedValue)(0),S=(0,n.useSharedValue)(0),T=(0,n.useSharedValue)(!1),b=(0,n.useSharedValue)(!1),k={offsetY:(0,n.useSharedValue)(0),maxOffsetY:(0,n.useSharedValue)(0)},w=(L=function(t){var n=t.contentSize,o=t.contentOffset,l=t.layoutMeasurement;k.offsetY.value=o.y,k.maxOffsetY.value=n.height-l.height},L._closure={scroll:{offsetY:k.offsetY,maxOffsetY:k.maxOffsetY}},L.asString="function _f(event){const{scroll}=jsThis._closure;{const{contentSize:contentSize,contentOffset:contentOffset,layoutMeasurement:layoutMeasurement}=event;scroll.offsetY.value=contentOffset.y;scroll.maxOffsetY.value=contentSize.height-layoutMeasurement.height;}}",L.__workletHash=0xdb875ce1403,L.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (52:23)",g.__reanimatedWorkletInit(L),L),A=(function(){var t=function(){(0,n.cancelAnimation)(S),T.value=!1,b.value=!1,_.value=0};return t._closure={cancelAnimation:n.cancelAnimation,animationTimer:S,isAnimationTimerActive:T,isScrollActive:b,velocityY:_},t.asString="function _f(){const{cancelAnimation,animationTimer,isAnimationTimerActive,isScrollActive,velocityY}=jsThis._closure;{cancelAnimation(animationTimer);isAnimationTimerActive.value=false;isScrollActive.value=false;velocityY.value=0;}}",t.__workletHash=0xcabc6dda1ce,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (59:23)",g.__reanimatedWorkletInit(t),t})(),O=(function(){var t=function(t){A(),h.value=k.offsetY.value,Y.value=t,S.value=0,S.value=(0,n.withRepeat)((0,n.withTiming)(1,{duration:s,easing:n.Easing.linear}),-1,!0),T.value=!0};return t._closure={stopScrolling:A,offsetY:h,scroll:{offsetY:k.offsetY},dragStartY:Y,animationTimer:S,withRepeat:n.withRepeat,withTiming:n.withTiming,SCROLL_INTERVAL_MS:s,Easing:{linear:n.Easing.linear},isAnimationTimerActive:T},t.asString="function _f(y){const{stopScrolling,offsetY,scroll,dragStartY,animationTimer,withRepeat,withTiming,SCROLL_INTERVAL_MS,Easing,isAnimationTimerActive}=jsThis._closure;{stopScrolling();offsetY.value=scroll.offsetY.value;dragStartY.value=y;animationTimer.value=0;animationTimer.value=withRepeat(withTiming(1,{duration:SCROLL_INTERVAL_MS,easing:Easing.linear}),-1,true);isAnimationTimerActive.value=true;}}",t.__workletHash=6923439002173,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (68:24)",g.__reanimatedWorkletInit(t),t})(),I=(function(){var t=function(t){var n=Math.max(Math.abs(t-Y.value)-l,0),o=n/v;b.value?t>Y.value?_.value=c*o:t0};return t._closure={dragStartY:Y,SCROLL_INACTIVE_DISTANCE_PX:l,windowHeight:v,isScrollActive:b,velocityY:_,VELOCITY_MULTIPLIER:c},t.asString="function _f(y){const{dragStartY,SCROLL_INACTIVE_DISTANCE_PX,windowHeight,isScrollActive,velocityY,VELOCITY_MULTIPLIER}=jsThis._closure;{const dragDistance=Math.max(Math.abs(y-dragStartY.value)-SCROLL_INACTIVE_DISTANCE_PX,0);const distancePercentage=dragDistance/windowHeight;if(!isScrollActive.value){isScrollActive.value=dragDistance>0;}else if(y>dragStartY.value){velocityY.value=VELOCITY_MULTIPLIER*distancePercentage;}else if(y0&&(R.width.value=n.width),n.height>0&&(R.height.value=n.height)},style:se,pointerEvents:"none"},I&&(0,n.createElement)(c.default.View,{entering:c.ZoomInEasyDown.duration(200),exiting:ce},(0,n.createElement)(b.default,{icon:I}))))};var I=function(t){var s=t.clientId,h=t.children,v=t.draggingClientId,_=t.enabled,b=void 0===_||_,y=t.testID,S=(0,n.useRef)(!1),O=(0,n.useState)(!1),w=(0,o.default)(O,2),I=w[0],T=w[1],P=(0,n.useState)(!1),B=(0,o.default)(P,2),E=B[0],Y=B[1],j={opacity:(0,c.useSharedValue)(1)},H=(0,f.useSelect)(function(t){var n=t(k.store),o=n.getBlockRootClientId,l=n.getTemplateLock,c=n.isBlockBeingDragged,u=n.getSelectedBlockClientId,f=o(s),h=f?l(f):null,v=u();return{isBeingDragged:c(s),isDraggable:'all'!==h,isBlockSelected:v&&v===s}},[s]),W=H.isDraggable,C=H.isBeingDragged,J=H.isBlockSelected;(0,n.useEffect)(function(){C!==S.current&&(j.opacity.value=C?(0,c.withTiming)(.4,D):(0,c.withDelay)(250,(0,c.withTiming)(1,D))),S.current=C},[C]);var V=(0,n.useCallback)(function(t){var n=t.isFocused;T(n)},[]);(0,n.useEffect)(function(){var t=!0,n=p.default.InputState.isFocused();n&&T(n),p.default.InputState.addFocusChangeListener(V);var o=l.AccessibilityInfo.addEventListener('screenReaderChanged',Y);return l.AccessibilityInfo.isScreenReaderEnabled().then(function(n){t&&Y(n)}),function(){t=!1,p.default.InputState.removeFocusChangeListener(V),o.remove()}},[]);var F,L=(0,n.useCallback)(function(){p.default.InputState.blurCurrentFocusedElement()},[]),R=[(0,c.useAnimatedStyle)(((F=function(){return{opacity:j.opacity.value}})._closure={draggingAnimation:{opacity:j.opacity}},F.asString="function _f(){const{draggingAnimation}=jsThis._closure;{return{opacity:draggingAnimation.opacity.value};}}",F.__workletHash=0xf6190c848e1,F.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js (418:49)",F.__optimalization=3,g.__reanimatedWorkletInit(F),F)),x.default['draggable-wrapper__container']],U=b&&!E&&(!J||!I);return W?(0,n.createElement)(u.DraggableTrigger,{id:v||s,enabled:b&&U,minDuration:n.Platform.select({ios:U?450:500,android:500}),onLongPress:L,testID:y},(0,n.createElement)(c.default.View,{style:R},h({isDraggable:!0}))):h({isDraggable:!1})};e.default=I},2691,[3,683,45,17,2451,518,1691,1344,1342,1276,1682,2692,2694,2600,2693,2696,2698,2695]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var u=(0,l.useBlockListContext)().scrollRef,f=(0,n.useAnimatedRef)();f(u);var v=(0,t.useWindowDimensions)().height,_=(0,n.useSharedValue)(0),h=(0,n.useSharedValue)(0),Y=(0,n.useSharedValue)(0),S=(0,n.useSharedValue)(0),T=(0,n.useSharedValue)(!1),b=(0,n.useSharedValue)(!1),w={offsetY:(0,n.useSharedValue)(0),maxOffsetY:(0,n.useSharedValue)(0)},k=(p=function(t){var n=t.contentSize,l=t.contentOffset,o=t.layoutMeasurement;w.offsetY.value=l.y,w.maxOffsetY.value=n.height-o.height},p._closure={scroll:{offsetY:w.offsetY,maxOffsetY:w.maxOffsetY}},p.asString="function _f(event){const{scroll}=jsThis._closure;{const{contentSize:contentSize,contentOffset:contentOffset,layoutMeasurement:layoutMeasurement}=event;scroll.offsetY.value=contentOffset.y;scroll.maxOffsetY.value=contentSize.height-layoutMeasurement.height;}}",p.__workletHash=0xdb875ce1403,p.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (52:23)",g.__reanimatedWorkletInit(p),p),A=(function(){var t=function(){(0,n.cancelAnimation)(S),T.value=!1,b.value=!1,_.value=0};return t._closure={cancelAnimation:n.cancelAnimation,animationTimer:S,isAnimationTimerActive:T,isScrollActive:b,velocityY:_},t.asString="function _f(){const{cancelAnimation,animationTimer,isAnimationTimerActive,isScrollActive,velocityY}=jsThis._closure;{cancelAnimation(animationTimer);isAnimationTimerActive.value=false;isScrollActive.value=false;velocityY.value=0;}}",t.__workletHash=0xcabc6dda1ce,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (59:23)",g.__reanimatedWorkletInit(t),t})(),O=(function(){var t=function(t){A(),h.value=w.offsetY.value,Y.value=t,S.value=0,S.value=(0,n.withRepeat)((0,n.withTiming)(1,{duration:s,easing:n.Easing.linear}),-1,!0),T.value=!0};return t._closure={stopScrolling:A,offsetY:h,scroll:{offsetY:w.offsetY},dragStartY:Y,animationTimer:S,withRepeat:n.withRepeat,withTiming:n.withTiming,SCROLL_INTERVAL_MS:s,Easing:{linear:n.Easing.linear},isAnimationTimerActive:T},t.asString="function _f(y){const{stopScrolling,offsetY,scroll,dragStartY,animationTimer,withRepeat,withTiming,SCROLL_INTERVAL_MS,Easing,isAnimationTimerActive}=jsThis._closure;{stopScrolling();offsetY.value=scroll.offsetY.value;dragStartY.value=y;animationTimer.value=0;animationTimer.value=withRepeat(withTiming(1,{duration:SCROLL_INTERVAL_MS,easing:Easing.linear}),-1,true);isAnimationTimerActive.value=true;}}",t.__workletHash=6923439002173,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js (68:24)",g.__reanimatedWorkletInit(t),t})(),I=(function(){var t=function(t){var n=Math.max(Math.abs(t-Y.value)-o,0),l=n/v;b.value?t>Y.value?_.value=c*l:t0};return t._closure={dragStartY:Y,SCROLL_INACTIVE_DISTANCE_PX:o,windowHeight:v,isScrollActive:b,velocityY:_,VELOCITY_MULTIPLIER:c},t.asString="function _f(y){const{dragStartY,SCROLL_INACTIVE_DISTANCE_PX,windowHeight,isScrollActive,velocityY,VELOCITY_MULTIPLIER}=jsThis._closure;{const dragDistance=Math.max(Math.abs(y-dragStartY.value)-SCROLL_INACTIVE_DISTANCE_PX,0);const distancePercentage=dragDistance/windowHeight;if(!isScrollActive.value){isScrollActive.value=dragDistance>0;}else if(y>dragStartY.value){velocityY.value=VELOCITY_MULTIPLIER*distancePercentage;}else if(y=n.x&&t.x<=n.x+n.width&&t.y>=n.y&&t.y<=n.y+n.height})},updateBlocksLayouts:function(n,l){var u,s=l.clientId,B=l.rootClientId,k=l.shouldRemove,f=(0,o.default)(l,c);if(s&&k)return void(n.current=y(n.current,s));if(s&&!B)n.current[s]=(0,t.default)({clientId:s,rootClientId:B},f,{innerBlocks:(0,t.default)({},null==(u=n.current[s])?void 0:u.innerBlocks)});else if(s&&B){var C,L=v(n.current,B);if(L)L.innerBlocks[s]=(0,t.default)({clientId:s,rootClientId:B},f,{innerBlocks:(0,t.default)({},null==(C=L.innerBlocks[s])?void 0:C.innerBlocks)})}}};e.DEFAULT_BLOCK_LIST_CONTEXT=s;var B=(0,u.createContext)(s),k=B.Provider,f=B.Consumer;function v(n,t){return Object.entries(n).reduce(function(n,o){var l=o[1];return n||((null==l?void 0:l.clientId)===t?l:null!=l&&l.innerBlocks&&Object.keys(l.innerBlocks).length>0?v(l.innerBlocks,t):null)},null)}function y(n,t){return Object.keys(n).reduce(function(o,l){var u;return l!==t&&(o[l]=n[l]),null!=(u=n[l])&&u.innerBlocks&&Object.keys(n[l].innerBlocks).length>0&&o[l]&&(o[l].innerBlocks=y(n[l].innerBlocks,t)),o},{})}e.BlockListConsumer=f,e.BlockListProvider=k;e.useBlockListContext=function(){return(0,u.useContext)(B)}},2693,[3,29,4,1348,683]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var s=t.icon,_=(0,c.usePreferredColorSchemeStyle)(f.default['draggable-chip__container'],f.default['draggable-chip__container--dark']);return(0,l.createElement)(n.View,{style:[_,h],testID:"draggable-chip"},(0,l.createElement)(u.default,{icon:o.dragHandle}),s&&(0,l.createElement)(u.default,{icon:s}))};var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),u=t(r(d[5])),f=t(r(d[6])),h={shadowColor:'#000',shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:3.84,elevation:5}},2694,[3,683,17,1891,1384,2631,2695]); __d(function(g,r,i,a,m,e,d){m.exports={"draggable-wrapper__container":{flexGrow:1,flexShrink:1,flexBasis:0},"draggable-chip__wrapper":{position:"absolute",zIndex:10},"draggable-chip__container":{flexDirection:"row",paddingTop:16,paddingRight:16,paddingBottom:16,paddingLeft:16,backgroundColor:"#f6f7f7",borderRadius:8},"draggable-chip__container--dark":{backgroundColor:"#2e2e2e"}}},2695,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.scroll,_=t.currentYPosition,b=t.isDragging,k=t.targetBlockIndex,h=(0,s.useSelect)(c.store),y=h.getBlockOrder,I=h.isBlockBeingDragged,Y=h.isDraggingBlocks,j=h.getPreviousBlockClientId,P=h.getNextBlockClientId,S=(0,f.useBlockListContext)(),O=S.blocksLayouts,B=S.findBlockLayoutByClientId,W=(0,l.useSafeAreaInsets)(),w=W.top,x=W.bottom,H=(0,l.useSafeAreaFrame)().height-(w+x+p.default['dropping-insertion-point'].height),D=(0,n.useSharedValue)(0),M=(0,n.useSharedValue)(0);function T(t){var o=t,l=y(),s=Y();if(s&&null!==o&&l.length){for(var c=l[o-1],f=l[o];I(c);)c=j(c);for(;I(f);)f=P(f);var p,b,k=c?B(O.current,c):null,h=f?B(O.current,f):null,S=k?k.y+k.height:0,W=h?h.y:0,w={top:Math.floor(k?S:W),bottom:Math.floor(h?W:S)},x=w.top!==w.bottom?(p=w,b=_.value+v.offsetY.value,(p.top+p.bottom)/2H;return{opacity:o?0:M.value,transform:[{translateY:t}]}};return t._closure={blockYPosition:D,scroll:{offsetY:v.offsetY},maxHeight:H,opacity:M},t.asString="function _f(){const{blockYPosition,scroll,maxHeight,opacity}=jsThis._closure;{const translationY=blockYPosition.value-scroll.offsetY.value;const shouldHideIndicator=translationY<0||translationY>maxHeight;return{opacity:shouldHideIndicator?0:opacity.value,transform:[{translateY:translationY}]};}}",t.__workletHash=341342705685,t.__location="/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/dropping-insertion-point.native.js (157:42)",t.__optimalization=3,g.__reanimatedWorkletInit(t),t})()),U=[p.default['dropping-insertion-point'],J];return(0,o.createElement)(n.default.View,{pointerEvents:"none",style:U})};var o=r(d[1]),n=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=v(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=s?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=t[u]}l.default=t,n&&n.set(t,l);return l})(r(d[2])),l=r(d[3]),s=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=t(r(d[8]));function v(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:o})(t)}},2696,[3,683,518,2451,1344,1276,2600,2693,2697]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.scroll,_=t.currentYPosition,b=t.isDragging,k=t.targetBlockIndex,h=(0,s.useSelect)(c.store),y=h.getBlockOrder,I=h.isBlockBeingDragged,Y=h.isDraggingBlocks,j=h.getPreviousBlockClientId,w=h.getNextBlockClientId,P=(0,f.useBlockListContext)(),S=P.blocksLayouts,O=P.findBlockLayoutByClientId,B=(0,l.useSafeAreaInsets)(),x=B.top,H=B.bottom,D=(0,l.useSafeAreaFrame)().height-(x+H+p.default['dropping-insertion-point'].height),W=(0,n.useSharedValue)(0),M=(0,n.useSharedValue)(0);function T(t){var o=t,l=y(),s=Y();if(s&&null!==o&&l.length){for(var c=l[o-1],f=l[o];I(c);)c=j(c);for(;I(f);)f=w(f);var p,b,k=c?O(S.current,c):null,h=f?O(S.current,f):null,P=k?k.y+k.height:0,B=h?h.y:0,x={top:Math.floor(k?P:B),bottom:Math.floor(h?B:P)},H=x.top!==x.bottom?(p=x,b=_.value+v.offsetY.value,(p.top+p.bottom)/2D;return{opacity:o?0:M.value,transform:[{translateY:t}]}};return t._closure={blockYPosition:W,scroll:{offsetY:v.offsetY},maxHeight:D,opacity:M},t.asString="function _f(){const{blockYPosition,scroll,maxHeight,opacity}=jsThis._closure;{const translationY=blockYPosition.value-scroll.offsetY.value;const shouldHideIndicator=translationY<0||translationY>maxHeight;return{opacity:shouldHideIndicator?0:opacity.value,transform:[{translateY:translationY}]};}}",t.__workletHash=341342705685,t.__location="/Users/fluiddot/workspace/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/dropping-insertion-point.native.js (157:42)",t.__optimalization=3,g.__reanimatedWorkletInit(t),t})()),U=[p.default['dropping-insertion-point'],J];return(0,o.createElement)(n.default.View,{pointerEvents:"none",style:U})};var o=r(d[1]),n=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=v(o);if(n&&n.has(t))return n.get(t);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=s?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(l,u,c):l[u]=t[u]}l.default=t,n&&n.set(t,l);return l})(r(d[2])),l=r(d[3]),s=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=t(r(d[8]));function v(t){if("function"!=typeof WeakMap)return null;var o=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:o})(t)}},2696,[3,683,518,2451,1344,1276,2600,2693,2697]); __d(function(g,r,i,a,m,e,d){m.exports={"dropping-insertion-point":{position:"absolute",left:6,right:6,height:3,backgroundColor:"#0087be",zIndex:1}}},2697,[]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).rootClientId,n=void 0===t?'':t,h=(0,l.useSharedValue)(null),x=(0,u.useSelect)(f.store),y=x.getBlockListSettings,b=x.getSettings,C=(0,v.useBlockListContext)(),I=C.blocksLayouts,L=C.getBlockLayoutsOrderedByYCoord,p=(0,c.useCallback)(function(){return L(I.current)},[I.current]),D=b().isRTL,S=(0,k.default)(),_=(0,s.useThrottle)((0,c.useCallback)(function(t){var o,l=p(),u=B(l,{x:t.x,y:t.y},null==(o=y(n))?void 0:o.orientation,D);null!==u&&(h.value=null!=u?u:0)},[p,B,y,h]),200);return{onBlockDragOver:function(t){_(t)},onBlockDragEnd:function(){_.cancel(),h.value=null},onBlockDrop:function(t){null!==h.value&&S((0,o.default)({},t,{targetRootClientId:n,targetBlockIndex:h.value}))},targetBlockIndex:h}},e.getNearestBlockIndex=B;var o=t(r(d[1])),n=t(r(d[2])),l=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),f=r(d[7]),v=r(d[8]),h=r(d[9]),k=t(r(d[10]));function B(t,o,l,u){var c,s,f='horizontal'===l?['left','right']:['top','bottom'],v=u;return t.forEach(function(t,l){var u=t.x,k=t.y,B=t.width,x=t.height,y={x:t.x,y:t.y,top:k,right:u+B,bottom:k+x,left:u,width:B,height:x},b=(0,h.getDistanceToNearestEdge)(o,y,f),C=(0,n.default)(b,2),I=C[0],L=C[1];(void 0===s||I=l&&p<=s?p:p2&&void 0!==arguments[2]?arguments[2]:['top','bottom','left','right']).forEach(function(u){var h=t(o,n,u);(void 0===c||h1&&void 0!==arguments[1]?arguments[1]:20,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(!f(u))return Promise.reject("Unsupported path: "+u);return(0,n.fetchRequest)(u,h(u)).then(function(t){return'string'==typeof t&&(t=JSON.parse(t)),t}).catch(function(n){return n.code>=400&&n.code<600?n:0===c?Promise.reject(n):(o=1e3*s,new Promise(function(t){return setTimeout(t,o)})).then(function(){return t({path:u},c-1,s+1)});var o})},f=function(t){return u.some(function(n){return n.test(t)})};e.isPathSupported=f;var h=function(t){return!c.some(function(n){return n.test(t)})};e.shouldEnableCaching=h;e.default=function(){o.default.setFetchHandler(function(t){return s(t)})}},3380,[3,1276,1598]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getTranslation=void 0;var n={ar:r(d[0]),bg:r(d[1]),bo:r(d[2]),ca:r(d[3]),cs:r(d[4]),cy:r(d[5]),da:r(d[6]),de:r(d[7]),"en-au":r(d[8]),"en-ca":r(d[9]),"en-gb":r(d[10]),"en-nz":r(d[11]),"en-za":r(d[12]),el:r(d[13]),es:r(d[14]),"es-ar":r(d[15]),"es-cl":r(d[16]),"es-cr":r(d[17]),fa:r(d[18]),fr:r(d[19]),gl:r(d[20]),he:r(d[21]),hr:r(d[22]),hu:r(d[23]),id:r(d[24]),is:r(d[25]),it:r(d[26]),ja:r(d[27]),ka:r(d[28]),ko:r(d[29]),nb:r(d[30]),nl:r(d[31]),"nl-be":r(d[32]),pl:r(d[33]),pt:r(d[34]),"pt-br":r(d[35]),ro:r(d[36]),ru:r(d[37]),sk:r(d[38]),sq:r(d[39]),sr:r(d[40]),sv:r(d[41]),th:r(d[42]),tr:r(d[43]),uk:r(d[44]),ur:r(d[45]),vi:r(d[46]),"zh-cn":r(d[47]),"zh-tw":r(d[48])};e.getTranslation=function(t){return n[t]}},3381,[3382,3383,3384,3385,3386,3387,3388,3389,3390,3391,3392,3393,3394,3395,3396,3397,3398,3399,3400,3401,3402,3403,3404,3405,3406,3407,3408,3409,3410,3411,3412,3413,3414,3415,3416,3417,3418,3419,3420,3421,3422,3423,3424,3425,3426,3427,3428,3429,3430]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u0642\u0645 \u0628\u062a\u0636\u0645\u064a\u0646 \u0635\u0648\u0631\u0629 \u0630\u0627\u062a \u0625\u0637\u0627\u0631 \u0630\u0643\u064a."],smartframe:["\u0625\u0637\u0627\u0631 \u0630\u0643\u064a"],"Embed an Instagram post.":["\u062a\u0636\u0645\u064a\u0646 \u0645\u0646\u0634\u0648\u0631 Instagram."],"Embed a Facebook post.":["\u062a\u0636\u0645\u064a\u0646 \u0645\u0646\u0634\u0648\u0631 \u0641\u064a\u0633 \u0628\u0648\u0643."],"Embed a Loom video.":["\u0642\u0645 \u0628\u062a\u0636\u0645\u064a\u0646 \u0641\u064a\u062f\u064a\u0648 Loom."],video:["\u0641\u064a\u062f\u064a\u0648"],"Add an interactive story.":["\u0623\u0636\u0641 \u0642\u0635\u0629 \u062a\u0641\u0627\u0639\u0644\u064a\u0629."],"block search term\x04video":["\u0641\u064a\u062f\u064a\u0648"],"block search term\x04story":["\u0642\u0635\u0629"],Story:["\u0642\u0635\u0629"],"block search term\x04mosaic":["\u0641\u0633\u064a\u0641\u0633\u0627\u0621"],"block search term\x04circle":["\u062f\u0627\u0626\u0631\u0629"],Grow:["\u062a\u0646\u0645\u064a\u0629"],Earn:["\u062a\u062d\u0642\u064a\u0642 \u0631\u0628\u062d"],"block search term\x04square":["\u0645\u0631\u0628\u0639"],"block search term\x04columns":["\u0623\u0639\u0645\u062f\u0629"],"block search term\x04social":["\u0627\u062c\u062a\u0645\u0627\u0639\u064a"],"Rounded corners":["\u0632\u0648\u0627\u064a\u0627 \u0645\u0633\u062a\u062f\u064a\u0631\u0629"],"Move image forward":["\u062a\u062d\u0631\u064a\u0643 \u0627\u0644\u0635\u0648\u0631\u0629 \u0644\u0644\u0623\u0645\u0627\u0645"],"Move image backward":["\u062a\u062d\u0631\u064a\u0643 \u0627\u0644\u0635\u0648\u0631\u0629 \u0644\u0644\u062e\u0644\u0641"],"Serves images using Jetpack's fast global network of servers.":["\u064a\u0639\u0631\u0636 \u0627\u0644\u0635\u0648\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0634\u0628\u0643\u0629 \u0627\u0644\u062e\u0648\u0627\u062f\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064a\u0629 \u0627\u0644\u0633\u0631\u064a\u0639\u0629 \u0641\u064a Jetpack."],"block search term\x04photos":["\u0627\u0644\u0635\u0648\u0631"],"block search term\x04address":["\u0639\u0646\u0648\u0627\u0646"],"block search term\x04phone":["\u0647\u0627\u062a\u0641"],"block search term\x04message":["\u0631\u0633\u0627\u0644\u0629"],"block search term\x04image":["\u0635\u0648\u0631\u0629"],"Lets you add an email address with an automatically generated click-to-email link.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0645\u0646 \u062e\u0644\u0627\u0644 \u0631\u0627\u0628\u0637 \"\u0627\u0646\u0642\u0631 \u0644\u0644\u0627\u062a\u0635\u0627\u0644\" \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0646\u0634\u0627\u0624\u0647 \u062a\u0644\u0642\u0627\u0626\u064a\u0651\u064b\u0627."],"Open address in Google Maps":["\u0641\u062a\u062d \u0639\u0646\u0648\u0627\u0646 \u0641\u064a Google Maps"],Columns:["\u0623\u0639\u0645\u062f\u0629"],images:["\u0627\u0644\u0635\u0648\u0631"],"Tiled gallery layout\x04Tiled columns":["\u0627\u0644\u0623\u0639\u0645\u062f\u0629 \u0627\u0644\u0645\u062a\u062c\u0627\u0646\u0628\u0629"],"Tiled gallery layout\x04Square tiles":["\u0627\u0644\u062a\u062c\u0627\u0646\u0628\u0627\u062a \u0627\u0644\u0645\u0631\u0628\u0639\u0629"],"Tiled gallery layout\x04Circles":["\u0627\u0644\u062f\u0648\u0627\u0626\u0631"],"Tiled gallery layout\x04Tiled mosaic":["\u0627\u0644\u0641\u0633\u064a\u0641\u0633\u0627\u0626\u064a \u0627\u0644\u0645\u062a\u062c\u0627\u0646\u0628"],"block search term\x04gallery":["\u0645\u0639\u0631\u0636"],"block search term\x04pictures":["\u0627\u0644\u0635\u0648\u0631"],"block search term\x04cell":["\u062e\u0644\u064a\u0629"],"block search term\x04telephone":["\u0647\u0627\u062a\u0641 \u0623\u0631\u0636\u064a"],"block search term\x04mobile":["\u0647\u0627\u062a\u0641 \u0645\u062d\u0645\u0648\u0644"],"block search term\x04images":["\u0635\u0648\u0631"],"block search term\x04email":["\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"],"block search term\x04place":["\u0645\u0643\u0627\u0646"],"block search term\x04direction":["\u0627\u0644\u0627\u062a\u062c\u0627\u0647"],"block search term\x04location":["\u0627\u0644\u0645\u0648\u0642\u0639"],"Tiled Gallery":["\u0645\u0639\u0631\u0636 \u0645\u062a\u062c\u0627\u0646\u0628"],"Display multiple images in an elegantly organized tiled layout.":["\u0627\u0639\u0631\u0636 \u0635\u0648\u0631\u064b\u0627 \u0645\u062a\u0639\u062f\u062f\u0629 \u0641\u064a \u062a\u0646\u0633\u064a\u0642 \u062a\u062c\u0627\u0646\u0628\u064a \u0645\u0646\u0638\u0645 \u0628\u0623\u0646\u0627\u0642\u0629."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641 \u0645\u0639 \u0631\u0627\u0628\u0637 \"\u0623\u0646\u0642\u0631 \u0644\u0644\u0627\u062a\u0635\u0627\u0644\" \u0627\u0644\u0630\u064a \u064a\u062a\u0645 \u0625\u0646\u0634\u0627\u0624\u0647 \u062a\u0644\u0642\u0627\u0626\u064a\u0651\u064b\u0627."],"Phone Number":["\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641"],"Phone number":["\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0648\u0631\u0642\u0645 \u0647\u0627\u062a\u0641 \u0648\u0639\u0646\u0648\u0627\u0646 \u0641\u0639\u0644\u064a \u0645\u0639 \u0644\u063a\u0629 \u062a\u0645\u064a\u064a\u0632 \u0645\u064f\u062d\u0633\u0651\u0646\u0629 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0623\u0641\u0636\u0644 \u0646\u062a\u0627\u0626\u062c \u062a\u062d\u0633\u064a\u0646 \u0645\u062d\u0631\u0643\u0627\u062a \u0627\u0644\u0628\u062d\u062b."],"Lets you add a physical address with Schema markup.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0641\u0639\u0644\u064a \u0645\u0639 \u062a\u0645\u064a\u064a\u0632 \u0627\u0644\u0645\u062e\u0637\u0637."],Address:["\u0627\u0644\u0639\u0646\u0648\u0627\u0646"],Country:["\u0627\u0644\u0628\u0644\u062f"],"Postal/Zip Code":["\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064a\u062f\u064a/\u0631\u0645\u0632 Zip"],"State/Province/Region":["\u0627\u0644\u0648\u0644\u0627\u064a\u0629/\u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629/\u0627\u0644\u0625\u0642\u0644\u064a\u0645"],City:["\u0627\u0644\u0645\u062f\u064a\u0646\u0629"],"Address Line 3":["\u0633\u0637\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 3"],"Address Line 2":["\u0633\u0637\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 2"],"Street Address":["\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639"],"Link address to Google Maps":["\u0631\u0628\u0637 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0628\u0640 Google Maps"],"image %1$d of %2$d in gallery":["\u0635\u0648\u0631\u0629 %1$d \u0645\u0646 %2$d \u0641\u064a \u0627\u0644\u0645\u0639\u0631\u0636"],"Remove image":["\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0635\u0648\u0631\u0629"],"Contact Info":["\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0625\u062a\u0635\u0627\u0644"],"Email Address":["\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"],Email:["\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"]}},3382,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Contact Info":["\u0417\u0430 \u0432\u0440\u044a\u0437\u043a\u0430"],"Email Address":["\u0418\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441"],Email:["\u0418\u043c\u0435\u0439\u043b"]}},3383,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":[],"Email Address":[],Email:[]}},3384,[]); -__d(function(e,a,r,l,o,t,s){o.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":["v\xeddeo"],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":["fotos"],"block search term\x04address":["adre\xe7a"],"block search term\x04phone":["tel\xe8fon"],"block search term\x04message":["missatge"],"block search term\x04image":["imatge"],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":["Obre l'adre\xe7a a Google Maps"],Columns:["Columnes"],images:["imatges"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":["Cercles"],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":["galeria"],"block search term\x04pictures":["imatges"],"block search term\x04cell":["cel\xb7la"],"block search term\x04telephone":["tel\xe8fon"],"block search term\x04mobile":["m\xf2bil"],"block search term\x04images":["imatges"],"block search term\x04email":["Correu electr\xf2nic"],"block search term\x04place":["lloc"],"block search term\x04direction":["direcci\xf3"],"block search term\x04location":["ubicaci\xf3"],"Tiled Gallery":["Galeria en mosaic"],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":["Permet afegir un n\xfamero de tel\xe8fon amb un enlla\xe7 de clic per trucar generat autom\xe0ticament."],"Phone Number":["N\xfamero de tel\xe8fon"],"Phone number":["N\xfamero de tel\xe8fon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Permet afegir una adre\xe7a de correu electr\xf2nic, un n\xfamero de tel\xe8fon i una adre\xe7a f\xedsica amb un marcatge millorat per obtenir millors resultats de SEO."],"Lets you add a physical address with Schema markup.":["Permet afegir una adre\xe7a f\xedsica amb el marcatge d'Schema"],Address:["Adre\xe7a"],Country:["Pa\xeds"],"Postal/Zip Code":["Codi postal"],"State/Province/Region":["Estat/Prov\xedncia/Regi\xf3"],City:["Ciutat"],"Address Line 3":["L\xednia d'adre\xe7a 3"],"Address Line 2":["L\xednia d'adre\xe7a 2"],"Street Address":["Adre\xe7a"],"Link address to Google Maps":["Enlla\xe7 a Google Maps"],"image %1$d of %2$d in gallery":["Imatge %1$d de %2$d a la galeria"],"Remove image":["Suprimeix la imatge"],"Contact Info":["Informaci\xf3 de contacte"],"Email Address":["Adre\xe7a de correu electr\xf2nic"],Email:["Correu electr\xf2nic"]}},3385,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Vlo\u017ete p\u0159\xedsp\u011bvek na Instagram."],"Embed a Facebook post.":["Vlo\u017ete p\u0159\xedsp\u011bvek na Facebooku."],"Embed a Loom video.":["Vlo\u017eit Loom video."],video:["video"],"Add an interactive story.":["P\u0159idejte interaktivn\xed p\u0159\xedb\u011bh."],"block search term\x04video":["video"],"block search term\x04story":["P\u0159\xedb\u011bh"],Story:["P\u0159\xedb\u011bh"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["Obr\xe1zky"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktn\xed informace"],"Email Address":["E-mailov\xe1 adresa"],Email:["E-mail"]}},3386,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Mewnblannu cofnod Instagram."],"Embed a Facebook post.":["Mewnblannu cofnod Facebook."],"Embed a Loom video.":["Fideo Mewnblannu ac Ymrithio."],video:["fideo"],"Add an interactive story.":["Ychwanegwch stori ryngweithiol."],"block search term\x04video":["fideo"],"block search term\x04story":["stori"],Story:["Stori"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["delweddau"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Tynnu'r ddelwedd"],"Contact Info":["Gwybodaeth Cysylltu"],"Email Address":["Cyfeiriad E-bost"],Email:["E-bost"]}},3387,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktinformationer"],"Email Address":["E-mail-adresse"],Email:["e-mail"]}},3388,[]); -__d(function(e,r,a,i,l,s,n){l.exports={"Embed a SmartFrame Image.":["SmartFrame-Bild einbetten"],smartframe:["smartframe"],"Embed an Instagram post.":["Einen Instagram-Beitrag einbetten."],"Embed a Facebook post.":["Einen Facebook-Beitrag einbetten."],"Embed a Loom video.":["Bette ein Loom-Video ein."],video:["Video"],"Add an interactive story.":["F\xfcge eine interaktive Story hinzu."],"block search term\x04video":["Video"],"block search term\x04story":["Story"],Story:["Story"],"block search term\x04mosaic":["Mosaik"],"block search term\x04circle":["Kreis"],Grow:["Wachsen"],Earn:["Geld verdienen"],"block search term\x04square":["Quadrat"],"block search term\x04columns":["Spalten"],"block search term\x04social":["Social Media"],"Rounded corners":["Abgerundete Ecken"],"Move image forward":["Bild nach vorne verschieben"],"Move image backward":["Bild nach hinten verschieben"],"Serves images using Jetpack's fast global network of servers.":["Zeigt Bilder \xfcber das schnelle, globale Servernetzwerk von Jetpack."],"block search term\x04photos":["Fotos"],"block search term\x04address":["Adresse"],"block search term\x04phone":["Telefonnummer"],"block search term\x04message":["Nachricht"],"block search term\x04image":["Bild"],"Lets you add an email address with an automatically generated click-to-email link.":["Erm\xf6glicht es dir, eine E-Mail-Adresse mit einem automatisch generierten E-Mail-Link hinzuzuf\xfcgen."],"Open address in Google Maps":["Adresse in Google Maps \xf6ffnen"],Columns:["Spalten"],images:["Bilder"],"Tiled gallery layout\x04Tiled columns":["Gekachelte Spalten"],"Tiled gallery layout\x04Square tiles":["Quadratische Kacheln"],"Tiled gallery layout\x04Circles":["Kreise"],"Tiled gallery layout\x04Tiled mosaic":["Gekacheltes Mosaik"],"block search term\x04gallery":["Galerie"],"block search term\x04pictures":["Bilder"],"block search term\x04cell":["Zelle"],"block search term\x04telephone":["Telefonnummer"],"block search term\x04mobile":["Mobilnummer"],"block search term\x04images":["Bilder"],"block search term\x04email":["E-Mail"],"block search term\x04place":["Ort"],"block search term\x04direction":["Richtung"],"block search term\x04location":["Ort"],"Tiled Gallery":["Gekachelte Galerie"],"Display multiple images in an elegantly organized tiled layout.":["Zeige mehrere Bilder in einem eleganten, organisierten Kachel-Layout an."],"Lets you add a phone number with an automatically generated click-to-call link.":["Erm\xf6glicht es dir, eine Telefonnummer mit einem automatisch generierten Click-to-Call-Link hinzuzuf\xfcgen."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Erm\xf6glicht es dir, eine E-Mail-Adresse, Telefonnummer und physische Adresse mit verbessertem Markup f\xfcr bessere SEO-Ergebnisse hinzuzuf\xfcgen."],"Lets you add a physical address with Schema markup.":["Erm\xf6glicht es dir, eine physische Adresse mit Schema-Markup hinzuzuf\xfcgen."],Address:["Adresse"],Country:["Land"],"Postal/Zip Code":["Postleitzahl"],"State/Province/Region":["Bundesland/Region"],City:["Ort"],"Address Line 3":["Adresszeile 3"],"Address Line 2":["Adresse Zeile 2"],"Street Address":["Adresse"],"Link address to Google Maps":["Adresse mit Google Maps verkn\xfcpfen"],"image %1$d of %2$d in gallery":["Bild\xa0%1$d von %2$d in Galerie"],"Remove image":["Bild entfernen"],"Contact Info":["Kontaktinfo"],"Email Address":["E-Mail-Adresse"],Email:["E-Mail"]}},3389,[]); -__d(function(e,a,r,s,l,o,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3390,[]); -__d(function(e,a,r,o,s,l,t){s.exports={"Embed a SmartFrame Image.":["Embed a SmartFrame Image."],smartframe:["smartframe"],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move image backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organized tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3391,[]); -__d(function(e,a,r,o,s,l,t){s.exports={"Embed a SmartFrame Image.":["Embed a SmartFrame image."],smartframe:["smartframe"],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move image backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an e-mail address with an automatically generated click-to-e-mail link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["e-mail"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an e-mail address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3392,[]); -__d(function(e,a,r,s,l,o,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3393,[]); -__d(function(e,a,r,o,s,l,t){s.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move Image Backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["Images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3394,[]); -__d(function(e,a,r,l,o,s,t){o.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u0391\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2"],"Contact Info":["\u03a3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2"],"Email Address":["\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 email"],Email:["Email"]}},3395,[]); -__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":["Incrustar una imagen de SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incrusta una publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta una publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un v\xeddeo de Loom."],video:["v\xeddeo"],"Add an interactive story.":["A\xf1adir una historia interactiva."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Crece"],Earn:["Ingresos"],"block search term\x04square":["cuadrado"],"block search term\x04columns":["columnas"],"block search term\x04social":["social"],"Rounded corners":["Esquinas redondeadas"],"Move image forward":["Mover la imagen hacia delante"],"Move image backward":["Mover la imagen hacia atr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Sirve las im\xe1genes usando la r\xe1pida red global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaje"],"block search term\x04image":["imagen"],"Lets you add an email address with an automatically generated click-to-email link.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico con un enlace de clic a correo electr\xf3nico generado autom\xe1ticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["im\xe1genes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cuadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3vil"],"block search term\x04images":["im\xe1genes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Muestra varias im\xe1genes en una estructura apilada organizada de manera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Te permite a\xf1adir un n\xfamero de tel\xe9fono con un enlace de clic a llamar generado autom\xe1ticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono y direcci\xf3n f\xedsica con marcado mejorado para unos mejores resultados SEO."],"Lets you add a physical address with Schema markup.":["Te permite a\xf1adir una direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Regi\xf3n"],City:["Ciudad"],"Address Line 3":["Direcci\xf3n, l\xednea 3"],"Address Line 2":["Direcci\xf3n, l\xednea 2"],"Street Address":["Direcci\xf3n de la calle"],"Link address to Google Maps":["Direcci\xf3n del enlace a Google Maps"],"image %1$d of %2$d in gallery":["imagen %1$d de %2$d en la galer\xeda"],"Remove image":["Eliminar imagen"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de correo electr\xf3nico"],Email:["Correo electr\xf3nico"]}},3396,[]); -__d(function(e,a,r,o,s,l,c){s.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Incrusta una publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta una publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un video de Loom."],video:["video"],"Add an interactive story.":["Agregar una historia interactiva."],"block search term\x04video":["video"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":["social"],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de email"],Email:["Correo electr\xf3nico"]}},3397,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de email"],Email:["Correo electr\xf3nico"]}},3398,[]); -__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Sirve las im\xe1genes usando la r\xe1pida red global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaje"],"block search term\x04image":["imagen"],"Lets you add an email address with an automatically generated click-to-email link.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico con un enlace de clic a correo electr\xf3nico generado autom\xe1ticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["im\xe1genes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cuadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3vil"],"block search term\x04images":["im\xe1genes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Muestra varias im\xe1genes en una estructura apilada organizada de manera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Te permite a\xf1adir un n\xfamero de tel\xe9fono con un enlace de clic a llamar generado autom\xe1ticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono y direcci\xf3n f\xedsica con marcado mejorado para unos mejores resultados SEO."],"Lets you add a physical address with Schema markup.":["Te permite a\xf1adir una direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Regi\xf3n"],City:["Ciudad"],"Address Line 3":["Direcci\xf3n, l\xednea 3"],"Address Line 2":["Direcci\xf3n, l\xednea 2"],"Street Address":["Direcci\xf3n de la calle"],"Link address to Google Maps":["Direcci\xf3n del enlace a Google Maps"],"image %1$d of %2$d in gallery":["Imagen %1$d de %2$d en la galer\xeda"],"Remove image":["Eliminar imagen"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de correo electr\xf3nico"],Email:["Correo electr\xf3nico"]}},3399,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["\u062a\u0635\u0627\u0648\u06cc\u0631"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["\u062a\u0635\u0648\u06cc\u0631 %1$d \u0627\u0632 %2$d \u062f\u0631 \u06af\u0627\u0644\u0631\u06cc"],"Remove image":["\u0628\u0631\u062f\u0627\u0634\u062a\u0646 \u062a\u0635\u0648\u06cc\u0631"],"Contact Info":["\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062a\u0645\u0627\u0633"],"Email Address":["\u0631\u0627\u06cc\u0627\u0646\u0634\u0627\u0646\u06cc"],Email:["\u0631\u0627\u06cc\u0627\u0646\u0634\u0627\u0646\u06cc"]}},3400,[]); -__d(function(e,a,r,s,o,l,i){o.exports={"Embed a SmartFrame Image.":["Int\xe9grer une image SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Embarquer une publication Instagram."],"Embed a Facebook post.":["Embarquer une publication Facebook."],"Embed a Loom video.":["Int\xe9grez une vid\xe9o Loom."],video:["Vid\xe9o"],"Add an interactive story.":["Ajouter une story interactive."],"block search term\x04video":["vid\xe9o"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosa\xefque"],"block search term\x04circle":["cercle"],Grow:["D\xe9velopper"],Earn:["Rentabiliser"],"block search term\x04square":["mosa\xefque d\u2019images carr\xe9es"],"block search term\x04columns":["colonnes"],"block search term\x04social":["social"],"Rounded corners":["Coins arrondis"],"Move image forward":["D\xe9placer l\u2019image vers l\u2019avant"],"Move image backward":["D\xe9placer l\u2019image vers l\u2019arri\xe8re"],"Serves images using Jetpack's fast global network of servers.":["Prend en charge les images via le r\xe9seau mondial rapide de serveurs de Jetpack."],"block search term\x04photos":["photos"],"block search term\x04address":["adresse"],"block search term\x04phone":["t\xe9l\xe9phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Vous permet d\u2019ajouter une adresse e-mail avec g\xe9n\xe9ration automatique d\u2019un lien \xab\xa0cliquer pour envoyer un e-mail\xa0\xbb."],"Open address in Google Maps":["Ouvrir l\u2019adresse dans Google Maps"],Columns:["Colonnes"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Mosa\xefque de colonnes"],"Tiled gallery layout\x04Square tiles":["Mosa\xefque d\u2019images carr\xe9es"],"Tiled gallery layout\x04Circles":["Mosa\xefque d\u2019images rondes"],"Tiled gallery layout\x04Tiled mosaic":["Mosa\xefque d\u2019images"],"block search term\x04gallery":["galerie "],"block search term\x04pictures":["images"],"block search term\x04cell":["cellule"],"block search term\x04telephone":["t\xe9l\xe9phone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images "],"block search term\x04email":["e-mail"],"block search term\x04place":["emplacement"],"block search term\x04direction":["adresse"],"block search term\x04location":["emplacement"],"Tiled Gallery":["Mosa\xefque d\u2019images"],"Display multiple images in an elegantly organized tiled layout.":["Affiche plusieurs images avec une mise en page \xe9l\xe9gante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Vous permet d\u2019ajouter un num\xe9ro de t\xe9l\xe9phone avec g\xe9n\xe9ration automatique d\u2019un lien \xab\xa0cliquer pour appeler\xa0\xbb."],"Phone Number":["Num\xe9ro de t\xe9l\xe9phone"],"Phone number":["Num\xe9ro de t\xe9l\xe9phone"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Vous permet d\u2019ajouter une adresse e-mail, un num\xe9ro de t\xe9l\xe9phone et une adresse physique tout en optimisant leur balisage afin d\u2019am\xe9liorer les r\xe9sultats de l\u2019optimisation des moteurs de recherche."],"Lets you add a physical address with Schema markup.":["Vous permet d\u2019ajouter une adresse physique avec un balisage du sch\xe9ma."],Address:["Adresse"],Country:["Pays"],"Postal/Zip Code":["Code postal"],"State/Province/Region":["\xc9tat/Province/R\xe9gion"],City:["Ville"],"Address Line 3":["Adresse ligne 3"],"Address Line 2":["Adresse ligne 2"],"Street Address":["Rue"],"Link address to Google Maps":["Lier l\u2019adresse \xe0 Google Maps"],"image %1$d of %2$d in gallery":["image %1$d sur %2$d dans la galerie"],"Remove image":["Supprimer l\u2019image"],"Contact Info":["Informations de contact"],"Email Address":["Adresse e-mail"],Email:["E-mail"]}},3401,[]); -__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":["Incrusta unha imaxe de SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incrusta unha publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta unha publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un v\xeddeo de Loom."],video:["v\xeddeo"],"Add an interactive story.":["Engadir unha historia interactiva."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Crece"],Earn:["Gana"],"block search term\x04square":["cadrado"],"block search term\x04columns":["columnas"],"block search term\x04social":["social"],"Rounded corners":["Esquinas redondeadas"],"Move image forward":["Mover a imaxe hacia diante"],"Move image backward":["Mover a imaxe hacia atr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Sirve as imaxes usando a rede r\xe1pida global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaxe"],"block search term\x04image":["imaxe"],"Lets you add an email address with an automatically generated click-to-email link.":["Perm\xedteche engadir unha direcci\xf3n de correo electr\xf3nico cun enlace de clic a correo electr\xf3nico xerado automaticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["imaxes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3bil"],"block search term\x04images":["imaxes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Mostra varias imaxes nunha estrutura apilada organizada de maneira elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Perm\xedteche engadir un n\xfamero de tel\xe9fono cun enlace de clic a chamar xerado automaticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Perm\xedteche engadir unha direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono e direcci\xf3n f\xedsica con marcado mellorado para uns mellores resultados SEO."],"Lets you add a physical address with Schema markup.":["Perm\xedteche engadir unha direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Rexi\xf3n"],City:["Cidade"],"Address Line 3":["Direcci\xf3n, li\xf1a 3"],"Address Line 2":["Direcci\xf3n, li\xf1a 2"],"Street Address":["Direcci\xf3n da r\xfaa"],"Link address to Google Maps":["Direcci\xf3n do enlace a Google Maps"],"image %1$d of %2$d in gallery":["Imaxe %1$d de %2$d na galer\xeda"],"Remove image":["Eliminar imaxe"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Enderezo de correo electr\xf3nico"],Email:["Correo-e"]}},3402,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u05dc\u05d4\u05d8\u05de\u05d9\u05e2 \u05ea\u05de\u05d5\u05e0\u05ea SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["\u05d4\u05d8\u05de\u05e2\u05d4 \u05e9\u05dc \u05e4\u05d5\u05e1\u05d8 \u05de-Instagram."],"Embed a Facebook post.":["\u05d4\u05d8\u05de\u05e2\u05d4 \u05e9\u05dc \u05ea\u05d5\u05db\u05df \u05de\u05e4\u05d9\u05d9\u05e1\u05d1\u05d5\u05e7."],"Embed a Loom video.":["\u05dc\u05d4\u05d8\u05de\u05d9\u05e2 \u05e1\u05e8\u05d8\u05d5\u05df \u05de-Loom."],video:["\u05d5\u05d9\u05d3\u05d0\u05d5"],"Add an interactive story.":["\u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05e1\u05d8\u05d5\u05e8\u05d9 \u05d0\u05d9\u05e0\u05d8\u05e8\u05d0\u05e7\u05d8\u05d9\u05d1\u05d9."],"block search term\x04video":["\u05d5\u05d9\u05d3\u05d0\u05d5"],"block search term\x04story":["\u05e1\u05d8\u05d5\u05e8\u05d9"],Story:["\u05e1\u05d8\u05d5\u05e8\u05d9"],"block search term\x04mosaic":["\u05e4\u05e1\u05d9\u05e4\u05e1"],"block search term\x04circle":["\u05e2\u05d9\u05d2\u05d5\u05dc"],Grow:["\u05e6\u05de\u05d9\u05d7\u05d4"],Earn:["\u05dc\u05d4\u05e8\u05d5\u05d5\u05d9\u05d7"],"block search term\x04square":["\u05de\u05e8\u05d5\u05d1\u05e2"],"block search term\x04columns":["\u05d8\u05d5\u05e8\u05d9\u05dd"],"block search term\x04social":["\u05e8\u05e9\u05ea \u05d7\u05d1\u05e8\u05ea\u05d9\u05ea"],"Rounded corners":["\u05e4\u05d9\u05e0\u05d5\u05ea \u05de\u05e2\u05d5\u05d2\u05dc\u05d5\u05ea"],"Move image forward":["\u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05e7\u05d3\u05d9\u05de\u05d4"],"Move image backward":["\u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05d0\u05d7\u05d5\u05e8\u05d4"],"Serves images using Jetpack's fast global network of servers.":["\u05d4\u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05e0\u05e9\u05dc\u05d7\u05d5\u05ea \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e8\u05e9\u05ea \u05d4\u05e9\u05e8\u05ea\u05d9\u05dd \u05d4\u05d2\u05dc\u05d5\u05d1\u05dc\u05d9\u05ea \u05d5\u05d4\u05de\u05d4\u05d9\u05e8\u05d4 \u05e9\u05dc Jetpack."],"block search term\x04photos":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04address":["\u05db\u05ea\u05d5\u05d1\u05ea"],"block search term\x04phone":["\u05d8\u05dc\u05e4\u05d5\u05df"],"block search term\x04message":["\u05d4\u05d5\u05d3\u05e2\u05d4"],"block search term\x04image":["\u05ea\u05de\u05d5\u05e0\u05d4"],"Lets you add an email address with an automatically generated click-to-email link.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc \u05d5\u05dc\u05d9\u05e6\u05d5\u05e8 \u05d1\u05d0\u05d5\u05e4\u05df \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05e9\u05dc\u05d9\u05d7\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc."],"Open address in Google Maps":["\u05dc\u05e4\u05ea\u05d5\u05d7 \u05d0\u05ea \u05d4\u05db\u05ea\u05d5\u05d1\u05ea \u05d1-Google Maps"],Columns:["\u05e2\u05de\u05d5\u05d3\u05d5\u05ea"],images:["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"Tiled gallery layout\x04Tiled columns":["\u05d8\u05d5\u05e8\u05d9\u05dd \u05e4\u05e8\u05d5\u05e9\u05d9\u05dd"],"Tiled gallery layout\x04Square tiles":["\u05d0\u05e8\u05d9\u05d7\u05d9\u05dd \u05de\u05e8\u05d5\u05d1\u05e2\u05d9\u05dd"],"Tiled gallery layout\x04Circles":["\u05e2\u05d9\u05d2\u05d5\u05dc\u05d9\u05dd"],"Tiled gallery layout\x04Tiled mosaic":["\u05d0\u05e8\u05d9\u05d7\u05d9 \u05e4\u05e1\u05d9\u05e4\u05e1"],"block search term\x04gallery":["\u05d2\u05dc\u05e8\u05d9\u05d4"],"block search term\x04pictures":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04cell":["\u05ea\u05d0"],"block search term\x04telephone":["\u05d8\u05dc\u05e4\u05d5\u05df"],"block search term\x04mobile":["\u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3"],"block search term\x04images":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04email":["\u05d0\u05d9\u05de\u05d9\u05d9\u05dc"],"block search term\x04place":["\u05de\u05e7\u05d5\u05dd"],"block search term\x04direction":["\u05db\u05d9\u05d5\u05d5\u05df"],"block search term\x04location":["\u05de\u05d9\u05e7\u05d5\u05dd"],"Tiled Gallery":["\u05d2\u05dc\u05e8\u05d9\u05d4 \u05e4\u05e8\u05d5\u05e9\u05d4"],"Display multiple images in an elegantly organized tiled layout.":["\u05d4\u05e6\u05d2\u05d4 \u05d0\u05dc\u05d2\u05e0\u05d8\u05d9\u05ea \u05e9\u05dc \u05de\u05e1\u05e4\u05e8 \u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05d1\u05e4\u05e8\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d0\u05e8\u05d9\u05d7\u05d9\u05dd."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3 \u05d5\u05dc\u05d9\u05e6\u05d5\u05e8 \u05d1\u05d0\u05d5\u05e4\u05df \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d1\u05d9\u05e6\u05d5\u05e2 \u05e9\u05d9\u05d7\u05d4."],"Phone Number":["\u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df"],"Phone number":["\u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc, \u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3 \u05d5\u05db\u05ea\u05d5\u05d1\u05ea \u05e4\u05d9\u05d6\u05d9\u05ea \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e9\u05e4\u05ea \u05e1\u05d9\u05de\u05d5\u05df \u05d8\u05d5\u05d1\u05d4 \u05d9\u05d5\u05ea\u05e8 \u05dc\u05e9\u05d9\u05e4\u05d5\u05e8 \u05ea\u05d5\u05e6\u05d0\u05d5\u05ea SEO."],"Lets you add a physical address with Schema markup.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05e4\u05d9\u05d6\u05d9\u05ea \u05e2\u05dd \u05e9\u05e4\u05ea \u05e1\u05d9\u05de\u05d5\u05df \u05e1\u05db\u05de\u05ea\u05d9\u05ea."],Address:["\u05db\u05ea\u05d5\u05d1\u05ea"],Country:["\u05de\u05d3\u05d9\u05e0\u05d4"],"Postal/Zip Code":["\u05de\u05d9\u05e7\u05d5\u05d3"],"State/Province/Region":["\u05de\u05d3\u05d9\u05e0\u05d4 / \u05de\u05d7\u05d5\u05d6 / \u05d0\u05d6\u05d5\u05e8"],City:["\u05e2\u05d9\u05e8"],"Address Line 3":["\u05e9\u05d5\u05e8\u05ea \u05db\u05ea\u05d5\u05d1\u05ea 3"],"Address Line 2":["\u05e9\u05d5\u05e8\u05ea \u05db\u05ea\u05d5\u05d1\u05ea 2"],"Street Address":["\u05db\u05ea\u05d5\u05d1\u05ea \u05e8\u05d7\u05d5\u05d1"],"Link address to Google Maps":["\u05e7\u05d9\u05e9\u05d5\u05e8 \u05d4\u05db\u05ea\u05d5\u05d1\u05ea \u05dc-Google Maps"],"image %1$d of %2$d in gallery":["\u05ea\u05de\u05d5\u05e0\u05d4 %1$d \u05de\u05ea\u05d5\u05da %2$d \u05d1\u05d2\u05dc\u05e8\u05d9\u05d4"],"Remove image":["\u05d4\u05e1\u05e8\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4"],"Contact Info":["\u05de\u05d9\u05d3\u05e2 \u05dc\u05d9\u05e6\u05d9\u05e8\u05ea \u05e7\u05e9\u05e8"],"Email Address":["\u05db\u05ea\u05d5\u05d1\u05ea \u05d3\u05d5\u05d0\u05e8 \u05d0\u05dc\u05e7\u05d8\u05e8\u05d5\u05e0\u05d9"],Email:["\u05d0\u05d9\u05de\u05d9\u05d9\u05dc"]}},3403,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["slike"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Ukloni sliku"],"Contact Info":["Kontakt podaci"],"Email Address":["Adresa e-po\u0161te"],Email:["E-po\u0161ta"]}},3404,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["k\xe9pek"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kapcsolati adatok"],"Email Address":["Email c\xedm"],Email:["Email"]}},3405,[]); -__d(function(a,e,r,n,o,l,t){o.exports={"Embed a SmartFrame Image.":["Sematkan Gambar SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Sematkan pos Instagram."],"Embed a Facebook post.":["Sematkan pos Facebook."],"Embed a Loom video.":["Sematkan video Loom."],video:["video"],"Add an interactive story.":["Tambahkan cerita interaktif."],"block search term\x04video":["video"],"block search term\x04story":["cerita"],Story:["Cerita"],"block search term\x04mosaic":["mosaik"],"block search term\x04circle":["lingkaran"],Grow:["Tumbuh"],Earn:["Pendapatan"],"block search term\x04square":["kotak"],"block search term\x04columns":["kolom"],"block search term\x04social":["sosial"],"Rounded corners":["Sudut Bulat"],"Move image forward":["Pindahkan gambar ke depan"],"Move image backward":["Pindahkan gambar ke belakang"],"Serves images using Jetpack's fast global network of servers.":["Menyajikan gambar menggunakan jaringan server global Jetpack yang cepat."],"block search term\x04photos":["foto"],"block search term\x04address":["alamat"],"block search term\x04phone":["telepon"],"block search term\x04message":["pesan"],"block search term\x04image":["gambar"],"Lets you add an email address with an automatically generated click-to-email link.":["Memungkinkan Anda menambahkan alamat email dengan tautan klik-ke-email yang dibuat secara otomatis."],"Open address in Google Maps":["Buka alamat di Google Maps"],Columns:["Kolom"],images:["gambar"],"Tiled gallery layout\x04Tiled columns":["Kolom berpetak"],"Tiled gallery layout\x04Square tiles":["Ubin persegi"],"Tiled gallery layout\x04Circles":["Lingkaran"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik berpetak"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["gambar"],"block search term\x04cell":["seluler"],"block search term\x04telephone":["telepon"],"block search term\x04mobile":["ponsel"],"block search term\x04images":["gambar"],"block search term\x04email":["email"],"block search term\x04place":["tempat"],"block search term\x04direction":["petunjuk arah"],"block search term\x04location":["lokasi"],"Tiled Gallery":["Galeri Tampilan Kotak"],"Display multiple images in an elegantly organized tiled layout.":["Menampilkan beberapa gambar dalam tata letak berpetak yang ditata secara elegan."],"Lets you add a phone number with an automatically generated click-to-call link.":["Memungkinkan Anda menambahkan nomor telepon dengan tautan klik untuk menelepon yang dibuat secara otomatis."],"Phone Number":["Nomor Telepon"],"Phone number":["Nomor telepon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Memungkinkan Anda menambahkan alamat email, nomor telepon, dan alamat fisik dengan penandaan yang disempurnakan untuk hasil SEO yang lebih baik."],"Lets you add a physical address with Schema markup.":["Memungkinkan Anda menambahkan alamat fisik dengan penandaan Schema."],Address:["Alamat"],Country:["Negara"],"Postal/Zip Code":["Kode Pos/Zip"],"State/Province/Region":["Negara Bagian/Provinsi/Wilayah"],City:["Kota"],"Address Line 3":["Baris Alamat 3"],"Address Line 2":["Baris Alamat 2"],"Street Address":["Alamat Jalan"],"Link address to Google Maps":["Tautkan alamat ke Google Maps"],"image %1$d of %2$d in gallery":["gambar %1$d dari %2$d di galeri"],"Remove image":["Hapus gambar"],"Contact Info":["Info Kontak"],"Email Address":["Alamat Surat Elektronik"],Email:["Surel"]}},3406,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Hvar m\xe1 n\xe1 sambandi vi\xf0 \xfeig?"],"Email Address":["Netfang"],Email:["T\xf6lvup\xf3stur"]}},3407,[]); -__d(function(e,a,i,o,r,n,l){r.exports={"Embed a SmartFrame Image.":["Incorpora un'immagine di SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incorpora un articolo di Instagram."],"Embed a Facebook post.":["Incorpora un articolo di Facebook."],"Embed a Loom video.":["Incorpora un video Loom."],video:["video"],"Add an interactive story.":["Aggiungi una storia interattiva."],"block search term\x04video":["video"],"block search term\x04story":["storia"],Story:["Storia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["cerchio"],Grow:["Cresci"],Earn:["Guadagna"],"block search term\x04square":["quadrato"],"block search term\x04columns":["colonne"],"block search term\x04social":["social"],"Rounded corners":["Angoli arrotondati"],"Move image forward":["Sposta avanti l'immagine"],"Move image backward":["Sposta indietro l'immagine"],"Serves images using Jetpack's fast global network of servers.":["Fornisce le immagini usando la rapida rete globale di server di Jetpack."],"block search term\x04photos":["foto"],"block search term\x04address":["indirizzo"],"block search term\x04phone":["telefono"],"block search term\x04message":["messaggio"],"block search term\x04image":["immagine"],"Lets you add an email address with an automatically generated click-to-email link.":["Consente di aggiungere un indirizzo e-mail con un link generato automaticamente su cui fare clic per le e-mail dirette."],"Open address in Google Maps":["Apri l'indirizzo su Google Maps"],Columns:["Colonne"],images:["immagini"],"Tiled gallery layout\x04Tiled columns":["Colonne affiancate"],"Tiled gallery layout\x04Square tiles":["Mosaico Quadrato"],"Tiled gallery layout\x04Circles":["Cerchi"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico affiancato"],"block search term\x04gallery":["galleria"],"block search term\x04pictures":["immagini"],"block search term\x04cell":["cella"],"block search term\x04telephone":["telefono"],"block search term\x04mobile":["dispositivo mobile"],"block search term\x04images":["immagini"],"block search term\x04email":["email"],"block search term\x04place":["luogo"],"block search term\x04direction":["direzione"],"block search term\x04location":["posizione"],"Tiled Gallery":["Galleria affiancata"],"Display multiple images in an elegantly organized tiled layout.":["Visualizza pi\xf9 immagini in un layout affiancato organizzato in maniera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Consente di aggiungere un numero di telefono con un link generato automaticamente su cui fare clic per le chiamate dirette."],"Phone Number":["Numero di telefono"],"Phone number":["Numero di telefono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Consente di aggiungere un indirizzo e-mail, un numero di telefono e un indirizzo fisico con il markup perfezionato per migliori risultati SEO."],"Lets you add a physical address with Schema markup.":["Aggiungi un indirizzo fisico con il markup Schema."],Address:["Indirizzo"],Country:["Paese"],"Postal/Zip Code":["CAP"],"State/Province/Region":["Stato/Provincia/Regione"],City:["Citt\xe0"],"Address Line 3":["Linea 3 dell'indirizzo"],"Address Line 2":["Indirizzo - Linea 2"],"Street Address":["Indirizzo"],"Link address to Google Maps":["Indirizzo del link su Google Maps"],"image %1$d of %2$d in gallery":["immagine %1$d di %2$d in galleria"],"Remove image":["Rimuovi immagine"],"Contact Info":["Informazioni di contatto"],"Email Address":["Indirizzo email"],Email:["Email"]}},3408,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["SmartFrame \u753b\u50cf\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],smartframe:["smartframe"],"Embed an Instagram post.":["Instagram \u6295\u7a3f\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],"Embed a Facebook post.":["Facebook \u6295\u7a3f\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],"Embed a Loom video.":["Loom \u52d5\u753b\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],video:["\u52d5\u753b"],"Add an interactive story.":["\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30b9\u30c8\u30fc\u30ea\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002"],"block search term\x04video":["\u52d5\u753b"],"block search term\x04story":["\u30b9\u30c8\u30fc\u30ea\u30fc"],Story:["\u30b9\u30c8\u30fc\u30ea\u30fc"],"block search term\x04mosaic":["\u30e2\u30b6\u30a4\u30af"],"block search term\x04circle":["\u5186\u5f62"],Grow:["\u6210\u9577"],Earn:["\u53ce\u76ca\u5316"],"block search term\x04square":["\u6b63\u65b9\u5f62"],"block search term\x04columns":["\u30ab\u30e9\u30e0"],"block search term\x04social":["\u30bd\u30fc\u30b7\u30e3\u30eb"],"Rounded corners":["\u4e38\u89d2"],"Move image forward":["\u753b\u50cf\u3092\u524d\u65b9\u306b\u79fb\u52d5"],"Move image backward":["\u753b\u50cf\u3092\u5f8c\u65b9\u306b\u79fb\u52d5"],"Serves images using Jetpack's fast global network of servers.":["Jetpack \u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u30b5\u30fc\u30d0\u30fc\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u753b\u50cf\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002"],"block search term\x04photos":["\u5199\u771f"],"block search term\x04address":["\u30a2\u30c9\u30ec\u30b9"],"block search term\x04phone":["\u96fb\u8a71"],"block search term\x04message":["\u30e1\u30c3\u30bb\u30fc\u30b8"],"block search term\x04image":["\u753b\u50cf"],"Lets you add an email address with an automatically generated click-to-email link.":["\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u30e1\u30fc\u30eb\u4f5c\u6210\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Open address in Google Maps":["\u4f4f\u6240\u3092 Google \u30de\u30c3\u30d7\u3067\u958b\u304f"],Columns:["\u30ab\u30e9\u30e0"],images:["\u753b\u50cf"],"Tiled gallery layout\x04Tiled columns":["\u30bf\u30a4\u30eb\u30ab\u30e9\u30e0"],"Tiled gallery layout\x04Square tiles":["\u6b63\u65b9\u5f62\u30bf\u30a4\u30eb"],"Tiled gallery layout\x04Circles":["\u5186\u5f62"],"Tiled gallery layout\x04Tiled mosaic":["\u30bf\u30a4\u30eb\u30e2\u30b6\u30a4\u30af"],"block search term\x04gallery":["\u30ae\u30e3\u30e9\u30ea\u30fc"],"block search term\x04pictures":["\u753b\u50cf"],"block search term\x04cell":["\u30bb\u30eb"],"block search term\x04telephone":["\u96fb\u8a71"],"block search term\x04mobile":["\u30e2\u30d0\u30a4\u30eb"],"block search term\x04images":["\u753b\u50cf"],"block search term\x04email":["\u30e1\u30fc\u30eb"],"block search term\x04place":["\u4f4d\u7f6e"],"block search term\x04direction":["\u624b\u9806"],"block search term\x04location":["\u5834\u6240"],"Tiled Gallery":["\u30bf\u30a4\u30eb\u30ae\u30e3\u30e9\u30ea\u30fc"],"Display multiple images in an elegantly organized tiled layout.":["\u8907\u6570\u306e\u753b\u50cf\u3092\u304d\u308c\u3044\u306b\u6574\u7406\u3055\u308c\u305f\u30bf\u30a4\u30eb\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u8868\u793a\u3057\u307e\u3059\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u30af\u30ea\u30c3\u30af\u30c8\u30a5\u30b3\u30fc\u30eb\u30ea\u30f3\u30af\u3092\u4f7f\u7528\u3057\u3066\u96fb\u8a71\u756a\u53f7\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Phone Number":["\u96fb\u8a71\u756a\u53f7"],"Phone number":["\u96fb\u8a71\u756a\u53f7"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u3088\u308a\u6b63\u78ba\u306a SEO \u7d50\u679c\u3092\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u5f37\u5316\u3055\u308c\u305f\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u96fb\u8a71\u756a\u53f7\u3001\u4f4f\u6240\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Lets you add a physical address with Schema markup.":["\u30b9\u30ad\u30fc\u30de\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u4f4f\u6240\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],Address:["\u4f4f\u6240"],Country:["\u56fd"],"Postal/Zip Code":["\u90f5\u4fbf\u756a\u53f7"],"State/Province/Region":["\u90fd\u9053\u5e9c\u770c/\u5730\u65b9/\u5730\u57df"],City:["\u5e02\u533a\u753a\u6751"],"Address Line 3":["\u4f4f\u62403\u884c\u76ee"],"Address Line 2":["\u4f4f\u62402\u884c\u76ee"],"Street Address":["\u4f4f\u62401"],"Link address to Google Maps":["\u4f4f\u6240\u3092 Google \u30de\u30c3\u30d7\u306b\u30ea\u30f3\u30af\u3059\u308b"],"image %1$d of %2$d in gallery":["\u30ae\u30e3\u30e9\u30ea\u30fc\u5185\u306e\u753b\u50cf%1$d\u4ef6\u4e2d%2$d\u4ef6"],"Remove image":["\u753b\u50cf\u3092\u524a\u9664"],"Contact Info":["\u9023\u7d61\u5148\u60c5\u5831"],"Email Address":["\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"],Email:["\u30e1\u30fc\u30eb"]}},3409,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u10e1\u10d0\u10d9\u10dd\u10dc\u10e2\u10d0\u10e5\u10e2\u10dd \u10d8\u10dc\u10e4\u10dd\u10e0\u10db\u10d0\u10ea\u10d8\u10d0"],"Email Address":[],Email:[]}},3410,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["SmartFrame \uc774\ubbf8\uc9c0\ub97c \uc784\ubca0\ub4dc\ud558\uc138\uc694."],smartframe:["SmartFrame"],"Embed an Instagram post.":["\uc778\uc2a4\ud0c0\uadf8\ub7a8 \uae00\uc744 \uc0bd\uc785\ud569\ub2c8\ub2e4."],"Embed a Facebook post.":["\ud398\uc774\uc2a4\ubd81 \uae00\uc744 \uc0bd\uc785\ud569\ub2c8\ub2e4."],"Embed a Loom video.":["Loom \ube44\ub514\uc624\ub97c \uc0bd\uc785\ud588\uc2b5\ub2c8\ub2e4."],video:["\ube44\ub514\uc624"],"Add an interactive story.":["\ub300\ud654\ud615 \uc2a4\ud1a0\ub9ac\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4."],"block search term\x04video":["\ube44\ub514\uc624"],"block search term\x04story":["\uc2a4\ud1a0\ub9ac"],Story:["\uc2a4\ud1a0\ub9ac"],"block search term\x04mosaic":["\ubaa8\uc790\uc774\ud06c"],"block search term\x04circle":["\uc6d0\ud615"],Grow:["\uc131\uc7a5"],Earn:["\uc218\uc775 \ucc3d\ucd9c"],"block search term\x04square":["\uc0ac\uac01\ud615"],"block search term\x04columns":["\uc5f4"],"block search term\x04social":["\uc18c\uc15c"],"Rounded corners":["\ub465\uadfc \ubaa8\uc11c\ub9ac"],"Move image forward":["\uc774\ubbf8\uc9c0\ub97c \uc55e\uc73c\ub85c \uc774\ub3d9"],"Move image backward":["\uc774\ubbf8\uc9c0\ub97c \ub4a4\ub85c \uc774\ub3d9"],"Serves images using Jetpack's fast global network of servers.":["\uc82f\ud329\uc758 \ube60\ub978 \uae00\ub85c\ubc8c \uc11c\ubc84 \ub124\ud2b8\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ubbf8\uc9c0\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4."],"block search term\x04photos":["\uc0ac\uc9c4"],"block search term\x04address":["\uc8fc\uc18c"],"block search term\x04phone":["\uc804\ud654"],"block search term\x04message":["\uba54\uc2dc\uc9c0"],"block search term\x04image":["\uc774\ubbf8\uc9c0"],"Lets you add an email address with an automatically generated click-to-email link.":["\uc790\ub3d9 \uc0dd\uc131\ub41c \ud074\ub9ad \uc720\ub3c4 \uc774\uba54\uc77c \ub9c1\ud06c\uac00 \ud3ec\ud568\ub41c \uc774\uba54\uc77c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Open address in Google Maps":["Google \uc9c0\ub3c4\uc5d0\uc11c \uc8fc\uc18c \uc5f4\uae30"],Columns:["\uc5f4"],images:["\uc774\ubbf8\uc9c0"],"Tiled gallery layout\x04Tiled columns":["\ubc14\ub451\ud310\uc2dd \uc5f4"],"Tiled gallery layout\x04Square tiles":["\uc815\uc0ac\uac01\ud615 \ud0c0\uc77c"],"Tiled gallery layout\x04Circles":["\uc6d0\ud615"],"Tiled gallery layout\x04Tiled mosaic":["\ud0c0\uc77c \ubaa8\uc790\uc774\ud06c"],"block search term\x04gallery":["\uac24\ub7ec\ub9ac"],"block search term\x04pictures":["\uc0ac\uc9c4"],"block search term\x04cell":["\uc140"],"block search term\x04telephone":["\uc804\ud654"],"block search term\x04mobile":["\ubaa8\ubc14\uc77c"],"block search term\x04images":["\uc774\ubbf8\uc9c0"],"block search term\x04email":["\uc774\uba54\uc77c"],"block search term\x04place":["\uac80\uc0c9\uc5b4 \ucc28\ub2e8"],"block search term\x04direction":["\uac80\uc0c9\uc5b4 \ucc28\ub2e8"],"block search term\x04location":["\uc704\uce58"],"Tiled Gallery":["\ubc14\ub451\ud310\uc2dd \uac24\ub7ec\ub9ac"],"Display multiple images in an elegantly organized tiled layout.":["\uc6b0\uc544\ud558\uac8c \uc870\ud654\ub41c \ud0c0\uc77c \ub808\uc774\uc544\uc6c3\uc73c\ub85c \ub2e4\uc911 \uc774\ubbf8\uc9c0\ub97c \ud45c\uc2dc\ud558\uc138\uc694."],"Lets you add a phone number with an automatically generated click-to-call link.":["\uc790\ub3d9 \uc0dd\uc131\ub41c \ud074\ub9ad \uc720\ub3c4 \ubb38\uc548 \ub9c1\ud06c\uac00 \ud3ec\ud568\ub41c \uc804\ud654\ubc88\ud638\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Phone Number":["\uc804\ud654\ubc88\ud638"],"Phone number":["\uc804\ud654\ubc88\ud638"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\ubcf4\ub2e4 \ub098\uc740 SEO \uacb0\uacfc\ub97c \uc5bb\ub3c4\ub85d \ub9c8\ud06c\uc5c5\uc774 \uac1c\uc120\ub41c \uc774\uba54\uc77c \uc8fc\uc18c, \uc804\ud654\ubc88\ud638 \ubc0f \uc2e4\uc81c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Lets you add a physical address with Schema markup.":["\uc2a4\ud0a4\ub9c8 \ub9c8\ud06c\uc5c5\uc774 \ud3ec\ud568\ub41c \uc2e4\uc81c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],Address:["\uc8fc\uc18c"],Country:["\uad6d\uac00"],"Postal/Zip Code":["\uc6b0\ud3b8 \ubc88\ud638"],"State/Province/Region":["\uc8fc/\ub3c4/\uc9c0\uc5ed"],City:["\ub3c4\uc2dc"],"Address Line 3":["\uc8fc\uc18c \uc904 3"],"Address Line 2":["\uc8fc\uc18c \uc904 2"],"Street Address":["\uc8fc\uc18c"],"Link address to Google Maps":["\uc8fc\uc18c\ub97c Google \uc9c0\ub3c4\uc5d0 \uc5f0\uacb0"],"image %1$d of %2$d in gallery":["\uac24\ub7ec\ub9ac\uc758 \uc774\ubbf8\uc9c0 %1$d/%2$d\uac1c"],"Remove image":["\uc774\ubbf8\uc9c0 \uc0ad\uc81c"],"Contact Info":["\uc5f0\ub77d\ucc98"],"Email Address":["\uc804\uc790 \uc6b0\ud3b8 \uc8fc\uc18c"],Email:["\uc774\uba54\uc77c"]}},3411,[]); -__d(function(e,r,a,l,s,o,t){s.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Bygg inn et Instagram-innlegg"],"Embed a Facebook post.":["Bygg inn et Facebook-innlegg."],"Embed a Loom video.":["Bygg inn en Loom-video."],video:["video"],"Add an interactive story.":["Legg til en interaktiv fortelling."],"block search term\x04video":["video"],"block search term\x04story":["fortelling"],Story:["Fortelling"],"block search term\x04mosaic":["mosaikk"],"block search term\x04circle":["sirkel"],Grow:["Voks"],Earn:["Tjen"],"block search term\x04square":["kvadrat"],"block search term\x04columns":["kolonner"],"block search term\x04social":["sosialt"],"Rounded corners":["Avrundede hj\xf8rner"],"Move image forward":["Flytt bilde forover"],"Move image backward":["Flytt bilde bakover"],"Serves images using Jetpack's fast global network of servers.":["Leverer bilder med Jetpacks raske, globale nettverk av servere."],"block search term\x04photos":["fotografier"],"block search term\x04address":["adresse"],"block search term\x04phone":["telefon"],"block search term\x04message":["melding"],"block search term\x04image":["bilde"],"Lets you add an email address with an automatically generated click-to-email link.":["Lar deg legge til en e-postadresse med automatisk generert, klikkbar e-postlenke."],"Open address in Google Maps":["\xc5pne adresse i Google Kart"],Columns:["Kolonner"],images:["bilder"],"Tiled gallery layout\x04Tiled columns":["Flislagte kolonner"],"Tiled gallery layout\x04Square tiles":["Kvadratiske fliser"],"Tiled gallery layout\x04Circles":["Sirkler"],"Tiled gallery layout\x04Tiled mosaic":["Flislagt mosaikk"],"block search term\x04gallery":["galleri"],"block search term\x04pictures":["bilder"],"block search term\x04cell":["celle"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["bilder"],"block search term\x04email":["e-post"],"block search term\x04place":["sted"],"block search term\x04direction":["retning"],"block search term\x04location":["stedsangivelse"],"Tiled Gallery":["Flislagt galleri"],"Display multiple images in an elegantly organized tiled layout.":["Vis flere bilder i en elegant organisert utforming."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lar deg legge til et telefonnummer med automatisk generert klikk-for-\xe5-ringe-lenke."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lar deg legge til en e-postadresse, telefonnummer og fysisk adresse med forbedret markup for bedre SEO-resultater."],"Lets you add a physical address with Schema markup.":["Lar deg legge til en fysisk adresse i Schema-data."],Address:["Adresse"],Country:["Land"],"Postal/Zip Code":["Postnummer"],"State/Province/Region":["Fylke"],City:["By"],"Address Line 3":["Adresselinje 3"],"Address Line 2":["Adresselinje 2"],"Street Address":["Vei-/gateadresse"],"Link address to Google Maps":["Lenke adresse til Google Kart"],"image %1$d of %2$d in gallery":["bilde %1$d av %2$d i galleri"],"Remove image":["Fjern bilde"],"Contact Info":["Kontakt-informasjon"],"Email Address":["E-postadresse"],Email:["E-post"]}},3412,[]); -__d(function(e,a,r,o,l,n,t){l.exports={"Embed a SmartFrame Image.":["Sluit een SmartFrame-afbeelding in."],smartframe:["smartframe"],"Embed an Instagram post.":["Sluit een Instagram bericht in."],"Embed a Facebook post.":["Sluit een Facebook bericht in."],"Embed a Loom video.":["Sluit een Loom video in."],video:["video"],"Add an interactive story.":["Voeg een interactief verhaal toe."],"block search term\x04video":["video"],"block search term\x04story":["verhaal"],Story:["Verhaal"],"block search term\x04mosaic":["moza\xefek"],"block search term\x04circle":["cirkel"],Grow:["Doorgroeien"],Earn:["Verdienen"],"block search term\x04square":["vierkant"],"block search term\x04columns":["kolommen"],"block search term\x04social":["sociaal"],"Rounded corners":["Afgeronde hoeken"],"Move image forward":["Afbeelding naar voren verplaatsen"],"Move image backward":["Afbeelding naar achteren verplaatsen"],"Serves images using Jetpack's fast global network of servers.":["Laadt afbeeldingen via het snelle, globale servernetwerk van Jetpack."],"block search term\x04photos":["foto's"],"block search term\x04address":["adres"],"block search term\x04phone":["telefoon"],"block search term\x04message":["bericht"],"block search term\x04image":["afbeelding"],"Lets you add an email address with an automatically generated click-to-email link.":["Hiermee kun je een e-mailadres met een automatisch gegenereerde link voor direct e-mailen toevoegen."],"Open address in Google Maps":["Adres openen in Google Maps"],Columns:["Kolommen"],images:["afbeeldingen"],"Tiled gallery layout\x04Tiled columns":["Getegelde kolommen"],"Tiled gallery layout\x04Square tiles":["Vierkante tegels"],"Tiled gallery layout\x04Circles":["Cirkels"],"Tiled gallery layout\x04Tiled mosaic":["Tegelmoza\xefek"],"block search term\x04gallery":["galerij"],"block search term\x04pictures":["afbeeldingen"],"block search term\x04cell":["mobiele telefoon"],"block search term\x04telephone":["telefoon"],"block search term\x04mobile":["mobiel"],"block search term\x04images":["afbeeldingen"],"block search term\x04email":["e-mail"],"block search term\x04place":["plaats"],"block search term\x04direction":["route"],"block search term\x04location":["locatie"],"Tiled Gallery":["Getegelde galerij"],"Display multiple images in an elegantly organized tiled layout.":["Toon meerdere afbeeldingen in een elegante georganiseerde lay-out."],"Lets you add a phone number with an automatically generated click-to-call link.":["Hiermee kun je een telefoonnummer met een automatisch gegenereerde link voor direct bellen toevoegen."],"Phone Number":["Telefoonnummer"],"Phone number":["Telefoonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Hiermee kun je een e-mailadres, telefoonnummer en fysiek adres toevoegen, met verbeterde opmaak voor betere SEO-resultaten."],"Lets you add a physical address with Schema markup.":["Hiermee kun je een fysiek adres met Schema-markering toevoegen."],Address:["Adres"],Country:["Land"],"Postal/Zip Code":["Postcode"],"State/Province/Region":["Staat/provincie/regio"],City:["Stad"],"Address Line 3":["Adresregel 3"],"Address Line 2":["Adresregel 2"],"Street Address":["Woonadres"],"Link address to Google Maps":["Koppel adres aan Google Maps"],"image %1$d of %2$d in gallery":["afbeelding %1$d van %2$d in de galerij"],"Remove image":["Verwijder afbeelding"],"Contact Info":["Contactinformatie"],"Email Address":["E-mailadres"],Email:["E-mail"]}},3413,[]); -__d(function(e,a,r,o,l,n,t){l.exports={"Embed a SmartFrame Image.":["Een SmartFrame afbeelding insluiten."],smartframe:["smartframe"],"Embed an Instagram post.":["Een Instagram bericht insluiten."],"Embed a Facebook post.":["Een Facebook bericht insluiten."],"Embed a Loom video.":["Een Loom video insluiten."],video:["video"],"Add an interactive story.":["Een interactief verhaal toevoegen."],"block search term\x04video":["video"],"block search term\x04story":["verhaal"],Story:["Verhaal"],"block search term\x04mosaic":["moza\xefek"],"block search term\x04circle":["cirkel"],Grow:["Doorgroeien"],Earn:["Verdienen"],"block search term\x04square":["vierkant"],"block search term\x04columns":["kolommen"],"block search term\x04social":["sociaal"],"Rounded corners":["Afgeronde hoeken"],"Move image forward":["Afbeelding naar voren verplaatsen"],"Move image backward":["Afbeelding naar achteren verplaatsen"],"Serves images using Jetpack's fast global network of servers.":["Laadt afbeeldingen via het snelle, globale servernetwerk van Jetpack."],"block search term\x04photos":["foto's"],"block search term\x04address":["adres"],"block search term\x04phone":["telefoon"],"block search term\x04message":["bericht"],"block search term\x04image":["afbeelding"],"Lets you add an email address with an automatically generated click-to-email link.":["Hiermee kun je een e-mailadres met een automatisch gegenereerde link voor direct e-mailen toevoegen."],"Open address in Google Maps":["Adres openen in Google Maps"],Columns:["Kolommen"],images:["afbeeldingen"],"Tiled gallery layout\x04Tiled columns":["Getegelde kolommen"],"Tiled gallery layout\x04Square tiles":["Vierkante tegels"],"Tiled gallery layout\x04Circles":["Cirkels"],"Tiled gallery layout\x04Tiled mosaic":["Tegelmoza\xefek"],"block search term\x04gallery":["galerij"],"block search term\x04pictures":["afbeeldingen"],"block search term\x04cell":["mobiele telefoon"],"block search term\x04telephone":["telefoon"],"block search term\x04mobile":["mobiel"],"block search term\x04images":["afbeeldingen"],"block search term\x04email":["e-mail"],"block search term\x04place":["plaats"],"block search term\x04direction":["route"],"block search term\x04location":["locatie"],"Tiled Gallery":["Getegelde galerij"],"Display multiple images in an elegantly organized tiled layout.":["Meerdere afbeeldingen in een elegant ingedeelde tegellay-out weergeven."],"Lets you add a phone number with an automatically generated click-to-call link.":["Hiermee kun je een telefoonnummer met een automatisch gegenereerde link voor direct bellen toevoegen."],"Phone Number":["Telefoonnummer"],"Phone number":["Telefoonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Hiermee kun je een e-mailadres, telefoonnummer en fysiek adres toevoegen, met verbeterde opmaak voor betere SEO-resultaten."],"Lets you add a physical address with Schema markup.":["Hiermee kun je een fysiek adres met Schema-markering toevoegen."],Address:["Adres"],Country:["Land"],"Postal/Zip Code":["Postcode"],"State/Province/Region":["Staat/provincie/regio"],City:["Stad"],"Address Line 3":["Adresregel 3"],"Address Line 2":["Adresregel 2"],"Street Address":["Woonadres"],"Link address to Google Maps":["Koppel adres aan Google Maps"],"image %1$d of %2$d in gallery":["afbeelding %1$d van %2$d in de galerij"],"Remove image":["Verwijder afbeelding"],"Contact Info":["Contactinformatie"],"Email Address":["E-mailadres"],Email:["E-mail"]}},3414,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Osad\u017a wpis z Instagram."],"Embed a Facebook post.":["Osad\u017a wpis z Facebook."],"Embed a Loom video.":[],video:["film"],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":["Przenie\u015b obraz do przodu"],"Move image backward":["Przenie\u015b obraz do ty\u0142u"],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:["Kolumny"],images:["obrazki"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["obrazek %1$d z %2$d w galerii"],"Remove image":["Usu\u0144 obrazek"],"Contact Info":["Dane kontaktowe"],"Email Address":["Adres e-mail"],Email:["E-mail"]}},3415,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informa\xe7\xf5es de contacto"],"Email Address":["Endere\xe7o de email"],Email:["Email"]}},3416,[]); -__d(function(e,a,o,r,s,l,m){s.exports={"Embed a SmartFrame Image.":["Incorpore uma imagem do SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incorporar um post do Instagram."],"Embed a Facebook post.":["Incorporar um post do Facebook."],"Embed a Loom video.":["Incorpore um v\xeddeo do Loom."],video:["v\xeddeo"],"Add an interactive story.":["Adicione uma story interativa."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Cres\xe7a"],Earn:["Ganhe"],"block search term\x04square":["quadrado"],"block search term\x04columns":["colunas"],"block search term\x04social":["social"],"Rounded corners":["Bordas arredondadas"],"Move image forward":["Mover imagem para frente"],"Move image backward":["Mover imagem para tr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Transmite imagens usando a r\xe1pida rede global de servidores do Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["endere\xe7o"],"block search term\x04phone":["telefone"],"block search term\x04message":["mensagem"],"block search term\x04image":["imagem"],"Lets you add an email address with an automatically generated click-to-email link.":["Permite que voc\xea adicione um endere\xe7o de e-mail com um link para envio gerado automaticamente."],"Open address in Google Maps":["Abrir endere\xe7o no Google Maps"],Columns:["Colunas"],images:["imagens"],"Tiled gallery layout\x04Tiled columns":["Colunas organizadas lado a lado"],"Tiled gallery layout\x04Square tiles":["Mosaicos quadrados"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaicos"],"block search term\x04gallery":["galeria"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celular"],"block search term\x04telephone":["telefone"],"block search term\x04mobile":["dispositivo m\xf3vel"],"block search term\x04images":["imagens"],"block search term\x04email":["e-mail"],"block search term\x04place":["lugar"],"block search term\x04direction":["dire\xe7\xe3o"],"block search term\x04location":["localiza\xe7\xe3o"],"Tiled Gallery":["Galeria em colunas"],"Display multiple images in an elegantly organized tiled layout.":["Exiba m\xfaltiplas imagens em um layout elegante e organizado lado a lado."],"Lets you add a phone number with an automatically generated click-to-call link.":["Permite que voc\xea adicione um n\xfamero de telefone com um link de clique para discar."],"Phone Number":["N\xfamero do telefone"],"Phone number":["N\xfamero do telefone"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Permite que voc\xea adicione um endere\xe7o de e-mail, n\xfamero de telefone e endere\xe7o f\xedsico para melhores resultados de SEO."],"Lets you add a physical address with Schema markup.":["Permite que voc\xea adicione um endere\xe7o f\xedsico com marca\xe7\xe3o Schema."],Address:["Endere\xe7o"],Country:["Pa\xeds"],"Postal/Zip Code":["CEP"],"State/Province/Region":["Estado"],City:["Cidade"],"Address Line 3":["Linha de endere\xe7o 3"],"Address Line 2":["Linha de endere\xe7o 2"],"Street Address":["Logradouro"],"Link address to Google Maps":["Link para os mapas do Google"],"image %1$d of %2$d in gallery":["imagem %1$d de %2$d na galeria"],"Remove image":["Remover imagem"],"Contact Info":["Informa\xe7\xf5es de contato"],"Email Address":["Endere\xe7o de e-mail"],Email:["E-mail"]}},3417,[]); -__d(function(e,a,r,i,o,l,t){o.exports={"Embed a SmartFrame Image.":["\xcenglobeaz\u0103 o imagine SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["\xcenglobeaz\u0103 un articol Instagram."],"Embed a Facebook post.":["\xcenglobeaz\u0103 un articol Facebook."],"Embed a Loom video.":["\xcenglobeaz\u0103 un video Loom."],video:["video"],"Add an interactive story.":["Adaug\u0103 o nara\u021biune interactiv\u0103."],"block search term\x04video":["video"],"block search term\x04story":["nara\u021biune"],Story:["Nara\u021biune"],"block search term\x04mosaic":["mozaic"],"block search term\x04circle":["cerc"],Grow:["Dezvolt\u0103"],Earn:["C\xe2\u0219tig\u0103"],"block search term\x04square":["p\u0103trat"],"block search term\x04columns":["coloane"],"block search term\x04social":["social"],"Rounded corners":["Col\u021buri rotunjite"],"Move image forward":["Mut\u0103 imaginea \xeenainte"],"Move image backward":["Mut\u0103 imaginea \xeenapoi"],"Serves images using Jetpack's fast global network of servers.":["Serve\u0219te imagini folosind re\u021beaua de servere global\u0103 \u0219i rapid\u0103 oferit\u0103 de Jetpack."],"block search term\x04photos":["fotografii"],"block search term\x04address":["adres\u0103"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesaj"],"block search term\x04image":["imagine"],"Lets you add an email address with an automatically generated click-to-email link.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 de email cu o leg\u0103tur\u0103 \u201ed\u0103 clic pe email\u201d generat\u0103 automat."],"Open address in Google Maps":["Deschide adresa \xeen H\u0103r\u021bi Google"],Columns:["Coloane"],images:["imagini"],"Tiled gallery layout\x04Tiled columns":["Coloane placate"],"Tiled gallery layout\x04Square tiles":["Pl\u0103ci p\u0103trate"],"Tiled gallery layout\x04Circles":["Cercuri"],"Tiled gallery layout\x04Tiled mosaic":["Mozaic placat"],"block search term\x04gallery":["galerie"],"block search term\x04pictures":["fotografii"],"block search term\x04cell":["celular"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["imagini"],"block search term\x04email":["email"],"block search term\x04place":["loc"],"block search term\x04direction":["direc\u021bie"],"block search term\x04location":["loca\u021bie"],"Tiled Gallery":["Galerie placat\u0103"],"Display multiple images in an elegantly organized tiled layout.":["Afi\u0219eaz\u0103 mai multe imagini \xeentr-un aranjament placat elegant \u0219i bine organizat."],"Lets you add a phone number with an automatically generated click-to-call link.":["\xce\u021bi permite s\u0103 adaugi un num\u0103r de telefon cu o leg\u0103tur\u0103 \u201eD\u0103 clic pentru apelare\u201d generat\u0103 automat."],"Phone Number":["Num\u0103r de telefon"],"Phone number":["Num\u0103r de telefon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 de email, un num\u0103r de telefon \u0219i o adres\u0103 fizic\u0103 cu markup \xeembun\u0103t\u0103\u021bit, pentru rezultate SEO mai bune."],"Lets you add a physical address with Schema markup.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 fizic\u0103 cu Schema markup."],Address:["Adres\u0103"],Country:["\u021aar\u0103"],"Postal/Zip Code":["Cod po\u0219tal (ZIP)"],"State/Province/Region":["Jude\u021b/provincie/regiune"],City:["Ora\u0219"],"Address Line 3":["A treia linie a adresei"],"Address Line 2":["A doua linie a adresei"],"Street Address":["Strad\u0103"],"Link address to Google Maps":["Leag\u0103 adresa la H\u0103r\u021bi Google"],"image %1$d of %2$d in gallery":["imaginea %1$d din %2$d din galerie"],"Remove image":["\xcenl\u0103tur\u0103 imaginea"],"Contact Info":["Informa\u021bii de contact"],"Email Address":["Adres\u0103 email"],Email:["Email"]}},3418,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 SmartFrame."],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c Instagram."],"Embed a Facebook post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c Facebook."],"Embed a Loom video.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e Loom."],video:["\u0432\u0438\u0434\u0435\u043e"],"Add an interactive story.":["\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e."],"block search term\x04video":["\u0432\u0438\u0434\u0435\u043e"],"block search term\x04story":["\u0438\u0441\u0442\u043e\u0440\u0438\u044f"],Story:["\u0418\u0441\u0442\u043e\u0440\u0438\u044f"],"block search term\x04mosaic":["\u043c\u043e\u0437\u0430\u0438\u043a\u0430"],"block search term\x04circle":["\u043a\u0440\u0443\u0433"],Grow:["\u0420\u0430\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c"],Earn:["\u0417\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0439\u0442\u0435"],"block search term\x04square":["\u043a\u0432\u0430\u0434\u0440\u0430\u0442"],"block search term\x04columns":["\u0441\u0442\u043e\u043b\u0431\u0446\u044b"],"block search term\x04social":["\u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438"],"Rounded corners":["\u0421\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u043d\u044b\u0435 \u0443\u0433\u043b\u044b"],"Move image forward":["\u0421\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u043f\u0435\u0440\u0435\u0434"],"Move image backward":["\u0421\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0437\u0430\u0434"],"Serves images using Jetpack's fast global network of servers.":["\u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 Jetpack."],"block search term\x04photos":["\u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438"],"block search term\x04address":["\u0430\u0434\u0440\u0435\u0441"],"block search term\x04phone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04message":["\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435"],"block search term\x04image":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Lets you add an email address with an automatically generated click-to-email link.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u0438\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c."],"Open address in Google Maps":["\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432 Google \u041a\u0430\u0440\u0442\u0430\u0445"],Columns:["\u0421\u0442\u043e\u043b\u0431\u0446\u044b"],images:["\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"Tiled gallery layout\x04Tiled columns":["\u0421\u0442\u043e\u043b\u0431\u0446\u044b \u0438\u0437 \u043f\u043b\u0438\u0442\u043e\u043a"],"Tiled gallery layout\x04Square tiles":["\u041a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u043b\u0438\u0442\u043a\u0438"],"Tiled gallery layout\x04Circles":["\u041a\u0440\u0443\u0433\u0438"],"Tiled gallery layout\x04Tiled mosaic":["\u041f\u043b\u0438\u0442\u043a\u0430 (\u043c\u043e\u0437\u0430\u0438\u043a\u0430)"],"block search term\x04gallery":["\u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"block search term\x04pictures":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"block search term\x04cell":["\u0441\u043e\u0442\u043e\u0432\u044b\u0439"],"block search term\x04telephone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04mobile":["\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04images":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"block search term\x04email":["\u044d\u043b. \u043f\u043e\u0447\u0442\u0430"],"block search term\x04place":["\u043c\u0435\u0441\u0442\u043e"],"block search term\x04direction":["\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435"],"block search term\x04location":["\u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435"],"Tiled Gallery":["\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u043f\u043b\u0438\u0442\u043a\u043e\u0439"],"Display multiple images in an elegantly organized tiled layout.":["\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432 \u0432\u0438\u0434\u0435 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0445 \u043f\u043b\u0438\u0442\u043e\u043a."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u043e\u0439, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438."],"Phone Number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"],"Phone number":["\u0422\u0435\u043b\u0435\u0444\u043e\u043d"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b, \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0441 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438."],"Lets you add a physical address with Schema markup.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u043e\u0439."],Address:["\u0410\u0434\u0440\u0435\u0441"],Country:["\u0421\u0442\u0440\u0430\u043d\u0430"],"Postal/Zip Code":["\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441"],"State/Province/Region":["\u0428\u0442\u0430\u0442/\u043f\u0440\u043e\u0432\u0438\u043d\u0446\u0438\u044f/\u0440\u0435\u0433\u0438\u043e\u043d"],City:["\u0413\u043e\u0440\u043e\u0434"],"Address Line 3":["\u0410\u0434\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 3"],"Address Line 2":["\u0410\u0434\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 2"],"Street Address":["\u0410\u0434\u0440\u0435\u0441 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0443\u043b\u0438\u0446\u044b \u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u0434\u043e\u043c\u0430"],"Link address to Google Maps":["\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0430\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 Google \u041a\u0430\u0440\u0442\u044b"],"image %1$d of %2$d in gallery":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 %1$d \u0438\u0437 %2$d \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435"],"Remove image":["\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Contact Info":["\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"],"Email Address":["Email \u0430\u0434\u0440\u0435\u0441"],Email:["Email"]}},3419,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:["Pr\xedbeh"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["Obr\xe1zky"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktn\xe9 \xfadaje"],"Email Address":["E-mailov\xe1 adresa"],Email:["E-mail"]}},3420,[]); -__d(function(e,r,a,o,i,t,l){i.exports={"Embed a SmartFrame Image.":["Trup\xebzoni nj\xeb Figur\xeb SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Trup\xebzoni postim Instagram."],"Embed a Facebook post.":["Trup\xebzoni postim Facebook."],"Embed a Loom video.":["Trup\xebzoni video Loom."],video:["video"],"Add an interactive story.":["Shtoni nj\xeb artikull nd\xebrveprues."],"block search term\x04video":["video"],"block search term\x04story":["artikull"],Story:["Artikull"],"block search term\x04mosaic":["mozaik"],"block search term\x04circle":["rreth"],Grow:["Fuqizoje"],Earn:["Fitoni"],"block search term\x04square":["katror"],"block search term\x04columns":["shtylla"],"block search term\x04social":["shoq\xebror"],"Rounded corners":["Cepa t\xeb rrumbullakosur"],"Move image forward":["Shpjere figur\xebn p\xebrpara"],"Move image backward":["Shpjere figur\xebn prapa"],"Serves images using Jetpack's fast global network of servers.":["I sh\xebrben figurat duke p\xebrdorur rrjetin e shpejt\xeb global t\xeb sh\xebrbyesve Jetpack."],"block search term\x04photos":["foto"],"block search term\x04address":["adres\xeb"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesazh"],"block search term\x04image":["figur\xeb"],"Lets you add an email address with an automatically generated click-to-email link.":["Ju lejon shtimin e nj\xeb adrese email me nj\xeb lidhje t\xeb prodhuar vetvetiu p\xebr d\xebrgim email-i, n\xebse klikohet mbi t\xeb."],"Open address in Google Maps":["Hape adres\xebn n\xeb Google Maps"],Columns:["Shtylla"],images:["figura"],"Tiled gallery layout\x04Tiled columns":["Mozaik shtyllash"],"Tiled gallery layout\x04Square tiles":["Kuadrate"],"Tiled gallery layout\x04Circles":["Rrath\xeb"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik me kuadrate"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["foto"],"block search term\x04cell":["kutiz\xeb"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["celular"],"block search term\x04images":["figura"],"block search term\x04email":["email"],"block search term\x04place":["vend"],"block search term\x04direction":["drejtim"],"block search term\x04location":["vendndodhje"],"Tiled Gallery":["Galeri Mozaik"],"Display multiple images in an elegantly organized tiled layout.":["Shfaqni figura t\xeb shumta p\xebrmes nj\xeb skeme mozaik t\xeb sistemuar n\xeb m\xebnyr\xeb elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Ju lejon shtimin e nj\xeb numri telefoni me nj\xeb lidhje klikojeni-p\xebr-thirrje, t\xeb prodhuar vetvetiu."],"Phone Number":["Num\xebr Telefoni"],"Phone number":["Num\xebr telefoni"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Ju lejon t\xeb shtoni nj\xeb adres\xeb email, num\xebr telefoni dhe adres\xeb fizike , me markup t\xeb p\xebrmir\xebsuar, p\xebr p\xebrfundime SEO m\xeb t\xeb mira."],"Lets you add a physical address with Schema markup.":["Ju lejon t\xeb shtoni nj\xeb adres\xeb fizike p\xebrmes markup-i Schema."],Address:["Adres\xeb"],Country:["Vend"],"Postal/Zip Code":["Kod Zip/Postar"],"State/Province/Region":["Shtet/Provinc\xeb/Rajon"],City:["Qytet"],"Address Line 3":["Rresht 3 Adrese"],"Address Line 2":["Rresht 2 Adrese"],"Street Address":["Adres\xeb Rruge"],"Link address to Google Maps":["Lidhni adres\xeb te Google Maps"],"image %1$d of %2$d in gallery":["figura %1$d nga %2$d n\xeb galeri"],"Remove image":["Hiqe figur\xebn"],"Contact Info":["T\xeb dh\xebna Kontakti"],"Email Address":["Adres\xeb Email"],Email:["Email"]}},3421,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:["\u0417\u0430\u0440\u0430\u0434\u0438\u0442\u0435"],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":["\u043f\u043e\u0440\u0443\u043a\u0430"],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u0423\u043a\u043b\u043e\u043d\u0438 \u0441\u043b\u0438\u043a\u0443"],"Contact Info":["\u041f\u043e\u0434\u0430\u0446\u0438 \u0437\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438\u0440\u0430\u045a\u0435"],"Email Address":["\u0410\u0434\u0440\u0435\u0441\u0430 \u0435-\u043f\u043e\u0448\u0442\u0435"],Email:["\u0415-\u043f\u043e\u0448\u0442\u0430"]}},3422,[]); -__d(function(e,a,r,l,t,s,o){t.exports={"Embed a SmartFrame Image.":["B\xe4dda in en SmartFrame-bild."],smartframe:[],"Embed an Instagram post.":["B\xe4dda in ett inl\xe4gg fr\xe5n Instagram."],"Embed a Facebook post.":["B\xe4dda in ett inl\xe4gg fr\xe5n Facebook."],"Embed a Loom video.":["B\xe4dda in en video fr\xe5n Loom."],video:["video"],"Add an interactive story.":["L\xe4gg till en interaktivt ber\xe4ttelse."],"block search term\x04video":["video"],"block search term\x04story":["ber\xe4ttelse"],Story:["Ber\xe4ttelse"],"block search term\x04mosaic":["mosaik"],"block search term\x04circle":["cirkel"],Grow:["V\xe4x"],Earn:["Tj\xe4na"],"block search term\x04square":["fyrkantig"],"block search term\x04columns":["kolumner"],"block search term\x04social":["socialt"],"Rounded corners":["Rundade h\xf6rn"],"Move image forward":["Flytta bilden fram\xe5t"],"Move image backward":["Flytta bilden bak\xe5t"],"Serves images using Jetpack's fast global network of servers.":["Servar bilder med hj\xe4lp av Jetpacks snabba globala n\xe4tverk av servrar."],"block search term\x04photos":["foton"],"block search term\x04address":["adress"],"block search term\x04phone":["telefon"],"block search term\x04message":["meddelande"],"block search term\x04image":["bild"],"Lets you add an email address with an automatically generated click-to-email link.":["L\xe5ter dig l\xe4gga till en e-postadress med en automatiskt genererad e-postl\xe4nk."],"Open address in Google Maps":["\xd6ppna adress i Google Maps"],Columns:["Kolumner"],images:["bilder"],"Tiled gallery layout\x04Tiled columns":["kolumner sida vid sida"],"Tiled gallery layout\x04Square tiles":["rutor sida vid sida"],"Tiled gallery layout\x04Circles":["Cirklar"],"Tiled gallery layout\x04Tiled mosaic":["mosaik sida vid sida"],"block search term\x04gallery":["galleri"],"block search term\x04pictures":["bilder"],"block search term\x04cell":["mobil"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["bilder"],"block search term\x04email":["e-post"],"block search term\x04place":["plats"],"block search term\x04direction":["riktning"],"block search term\x04location":["plats"],"Tiled Gallery":["Mosaikgalleri"],"Display multiple images in an elegantly organized tiled layout.":["Visa flera bilder i en elegant organiserad layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["L\xe5ter dig l\xe4gga till ett telefonnummer med en automatiskt genererad samtalsl\xe4nk."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["L\xe5ter dig l\xe4gga till en e-postadress, telefonnummer och fysisk adress med f\xf6rb\xe4ttrad kod f\xf6r b\xe4ttre s\xf6kmotorsoptimeringsresultat."],"Lets you add a physical address with Schema markup.":["L\xe5ter dig l\xe4gga till en fysisk adress med Schema-kod."],Address:["Adress"],Country:["Land"],"Postal/Zip Code":["Postnummer"],"State/Province/Region":["Delstat/provins/region"],City:["Ort"],"Address Line 3":["Adressrad 3"],"Address Line 2":["Adressrad 2"],"Street Address":["Gatuadress"],"Link address to Google Maps":["L\xe4nkadress till Google Maps"],"image %1$d of %2$d in gallery":["bild %1$d av %2$d i galleriet"],"Remove image":["Ta bort bild"],"Contact Info":["Kontaktuppgifter"],"Email Address":["E-postadress"],Email:["E-post"]}},3423,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d"],"Email Address":["\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c"],Email:["\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c"]}},3424,[]); -__d(function(e,a,r,l,i,s,o){i.exports={"Embed a SmartFrame Image.":["Bir SmartFrame G\xf6rseli g\xf6m\xfcn."],smartframe:["smartframe"],"Embed an Instagram post.":["Instagram g\xf6nderisi g\xf6m\xfcn."],"Embed a Facebook post.":["Facebook g\xf6nderisi g\xf6m\xfcn."],"Embed a Loom video.":[" Bir Loom videosu yerle\u015ftirin."],video:["video"],"Add an interactive story.":["Etkile\u015fimli bir \xf6yk\xfc ekleyin."],"block search term\x04video":["video"],"block search term\x04story":["\xf6yk\xfc"],Story:["\xd6yk\xfc"],"block search term\x04mosaic":["mozaik"],"block search term\x04circle":["\xe7ember"],Grow:["B\xfcy\xfcy\xfcn"],Earn:["Kazan\u0131n"],"block search term\x04square":["kare"],"block search term\x04columns":["s\xfctunlar"],"block search term\x04social":["sosyal"],"Rounded corners":["Yuvarlat\u0131lm\u0131\u015f k\xf6\u015feler"],"Move image forward":["G\xf6rseli \xf6ne ta\u015f\u0131"],"Move image backward":["G\xf6rseli geriye ta\u015f\u0131"],"Serves images using Jetpack's fast global network of servers.":["Jetpack'in h\u0131zl\u0131 k\xfcresel sunucu a\u011f\u0131n\u0131 kullanarak g\xf6r\xfcnt\xfcler sa\u011flar."],"block search term\x04photos":["foto\u011fraflar"],"block search term\x04address":["adres"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesaj"],"block search term\x04image":["g\xf6rsel"],"Lets you add an email address with an automatically generated click-to-email link.":["Otomatik olarak olu\u015fturulan ve t\u0131kland\u0131\u011f\u0131nda e-posta g\xf6nderilmesini sa\u011flayan bir ba\u011flant\u0131yla beraber bir e-posta adresi eklemenizi sa\u011flar."],"Open address in Google Maps":["Adresi Google Haritalar\u2019da a\xe7"],Columns:["S\xfctunlar"],images:["g\xf6rseller"],"Tiled gallery layout\x04Tiled columns":["D\xf6\u015feli s\xfctunlar"],"Tiled gallery layout\x04Square tiles":["Kare mozaikler"],"Tiled gallery layout\x04Circles":["Daireler"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik d\xf6\u015feme"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["resimler"],"block search term\x04cell":["h\xfccre"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["g\xf6rseller"],"block search term\x04email":["e-posta"],"block search term\x04place":["yer"],"block search term\x04direction":["y\xf6n"],"block search term\x04location":["konum"],"Tiled Gallery":["Mozaik Galeri"],"Display multiple images in an elegantly organized tiled layout.":["Birden fazla g\xf6r\xfcnt\xfcy\xfc \u015f\u0131k bir d\xfczende d\xf6\u015feli \u015fekilde sergileyin."],"Lets you add a phone number with an automatically generated click-to-call link.":["Otomatik olarak olu\u015fturulan bir \u201caramak i\xe7in t\u0131kla\u201d ba\u011flant\u0131s\u0131yla beraber bir telefon numaras\u0131 eklemenizi sa\u011flar."],"Phone Number":["Telefon Numaras\u0131"],"Phone number":["Telefon Numaras\u0131"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Daha iyi SEO sonu\xe7lar\u0131 i\xe7in geli\u015fmi\u015f i\u015faretleme ile e-posta adresi, telefon numaras\u0131 ve fiziksel adres eklemenizi sa\u011flar."],"Lets you add a physical address with Schema markup.":["\u015eema i\u015faretleme ile bir fiziksel adres eklemenizi sa\u011flar."],Address:["Adres"],Country:["\xdclke"],"Postal/Zip Code":["Posta Kodu"],"State/Province/Region":["Eyalet/\u0130l/B\xf6lge"],City:["\u015eehir"],"Address Line 3":["Adres Sat\u0131r\u0131 3"],"Address Line 2":["Adres Sat\u0131r\u0131 2"],"Street Address":["Sokak Adresi"],"Link address to Google Maps":["Google Haritalar ba\u011flant\u0131 adresi"],"image %1$d of %2$d in gallery":["galerideki %2$d g\xf6rsel aras\u0131ndan %1$d. g\xf6rsel"],"Remove image":["Resmi kald\u0131r"],"Contact Info":["\u0130leti\u015fim Bilgisi"],"Email Address":["E-posta Adresi"],Email:["E-posta"]}},3425,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0441 Instagram."],"Embed a Facebook post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0441 Facebook."],"Embed a Loom video.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 Loom \u0432\u0456\u0434\u0435\u043e."],video:["\u0432\u0456\u0434\u0435\u043e"],"Add an interactive story.":["\u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443 \u0456\u0441\u0442\u043e\u0440\u0456\u044e."],"block search term\x04video":["\u0432\u0456\u0434\u0435\u043e"],"block search term\x04story":["\u0456\u0441\u0442\u043e\u0440\u0456\u044f"],Story:["\u0406\u0441\u0442\u043e\u0440\u0456\u044f"],"block search term\x04mosaic":[],"block search term\x04circle":["\u043a\u043e\u043b\u043e"],Grow:["\u0420\u043e\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c"],Earn:["\u0417\u0430\u0440\u043e\u0431\u043b\u044f\u0439\u0442\u0435"],"block search term\x04square":["\u043a\u0432\u0430\u0434\u0440\u0430\u0442"],"block search term\x04columns":["\u043a\u043e\u043b\u043e\u043d\u043a\u0438"],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":["\u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0456\u0457"],"block search term\x04address":["\u0410\u0434\u0440\u0435\u0441\u0430"],"block search term\x04phone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04message":["\u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f"],"block search term\x04image":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:["\u041a\u043e\u043b\u043e\u043d\u043a\u0438"],images:["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":["\u041a\u043e\u043b\u0430"],"Tiled gallery layout\x04Tiled mosaic":["\u041f\u043b\u0438\u0442\u043a\u0430 (\u043c\u043e\u0437\u0430\u0457\u043a\u0430)"],"block search term\x04gallery":["\u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"block search term\x04pictures":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"block search term\x04cell":["\u0441\u0442\u0456\u043b\u044c\u043d\u0438\u043a\u043e\u0432\u0438\u0439"],"block search term\x04telephone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04mobile":["\u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0430"],"block search term\x04images":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"block search term\x04email":["email"],"block search term\x04place":["\u043c\u0456\u0441\u0446\u0435"],"block search term\x04direction":["\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f"],"block search term\x04location":["\u043c\u0456\u0441\u0446\u0435\u0437\u043d\u0430\u0445\u043e\u0434\u0436\u0435\u043d\u043d\u044f"],"Tiled Gallery":["\u041a\u0430\u0445\u0435\u043b\u044c\u043d\u0430 \u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"Display multiple images in an elegantly organized tiled layout.":["\u0412\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454 \u043a\u0456\u043b\u044c\u043a\u0430 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044c \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u0435\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u043e\u0457 \u043f\u043b\u0438\u0442\u043a\u0438."],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443"],"Phone number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:["\u0410\u0434\u0440\u0435\u0441\u0430"],Country:["\u041a\u0440\u0430\u0457\u043d\u0430"],"Postal/Zip Code":["\u041f\u043e\u0448\u0442\u043e\u0432\u0438\u0439 \u0456\u043d\u0434\u0435\u043a\u0441"],"State/Province/Region":["\u0428\u0442\u0430\u0442/\u041f\u0440\u043e\u0432\u0456\u043d\u0446\u0456\u044f/\u0420\u0435\u0433\u0456\u043e\u043d"],City:["\u041c\u0456\u0441\u0442\u043e"],"Address Line 3":[],"Address Line 2":["\u0410\u0434\u0440\u0435\u0441\u0438 \u0440\u044f\u0434\u043e\u043a 2"],"Street Address":["\u0410\u0434\u0440\u0435\u0441\u0430"],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["\u043c\u0430\u043b\u044e\u043d\u043e\u043a %1$d \u0437 %2$d \u0443 \u0433\u0430\u043b\u0435\u0440\u0435\u0457"],"Remove image":["\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Contact Info":["\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f"],"Email Address":["\u0410\u0434\u0440\u0435\u0441\u0430 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0457 \u043f\u043e\u0448\u0442\u0438"],Email:["\u0415\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0430 \u043f\u043e\u0448\u0442\u0430"]}},3426,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u062a\u0641\u0627\u0635\u06cc\u0644 \u0631\u0627\u0628\u0637\u06c1"],"Email Address":["\u0627\u06cc \u0645\u06cc\u0644 \u0627\u06cc\u0688\u0631\u06cc\u0633"],Email:["\u0627\u06cc \u0645\u06cc\u0644"]}},3427,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["h\xecnh \u1ea3nh"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Xo\xe1 \u1ea3nh"],"Contact Info":["Th\xf4ng tin li\xean h\u1ec7"],"Email Address":["\u0110\u1ecba ch\u1ec9 th\u01b0 \u0111i\u1ec7n t\u1eed (email)"],Email:["Th\u01b0 \u0111i\u1ec7n t\u1eed"]}},3428,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u5d4c\u5165 SmartFrame \u56fe\u50cf\u3002"],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u5d4c\u5165Instagram\u8d34\u6587\u3002"],"Embed a Facebook post.":["\u5d4c\u5165Facebook\u6587\u7ae0\u3002"],"Embed a Loom video.":["\u5d4c\u5165 Loom \u89c6\u9891\u3002"],video:["\u89c6\u9891"],"Add an interactive story.":["\u6dfb\u52a0\u4ea4\u4e92\u5f0f\u6545\u4e8b\u3002"],"block search term\x04video":["\u89c6\u9891"],"block search term\x04story":["\u6545\u4e8b"],Story:["\u6545\u4e8b"],"block search term\x04mosaic":["\u9a6c\u8d5b\u514b"],"block search term\x04circle":["\u5706\u5708"],Grow:["\u589e\u52a0\u53d7\u4f17"],Earn:["\u8d5a\u53d6\u6536\u5165"],"block search term\x04square":["\u65b9\u5f62"],"block search term\x04columns":["\u680f\u76ee"],"block search term\x04social":["\u793e\u4ea4"],"Rounded corners":["\u5706\u89d2"],"Move image forward":["\u524d\u79fb\u56fe\u7247"],"Move image backward":["\u540e\u79fb\u56fe\u7247"],"Serves images using Jetpack's fast global network of servers.":["\u4f7f\u7528 Jetpack \u7684\u9ad8\u901f\u5168\u7403\u670d\u52a1\u5668\u7f51\u7edc\u63d0\u4f9b\u56fe\u50cf\u3002"],"block search term\x04photos":["\u7167\u7247"],"block search term\x04address":["\u5730\u5740"],"block search term\x04phone":["\u7535\u8bdd"],"block search term\x04message":["\u90ae\u4ef6"],"block search term\x04image":["\u56fe\u7247"],"Lets you add an email address with an automatically generated click-to-email link.":["\u60a8\u53ef\u4ee5\u6dfb\u52a0\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u5e76\u4e14\u7cfb\u7edf\u4f1a\u81ea\u52a8\u751f\u6210\u70b9\u51fb\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\u94fe\u63a5\u3002"],"Open address in Google Maps":["\u5728 Google \u5730\u56fe\u4e2d\u6253\u5f00\u5730\u5740"],Columns:["\u680f\u76ee"],images:["\u56fe\u7247"],"Tiled gallery layout\x04Tiled columns":["\u5e73\u94fa\u5217"],"Tiled gallery layout\x04Square tiles":["\u65b9\u5f62\u62fc\u8d34"],"Tiled gallery layout\x04Circles":["\u73af\u5f62"],"Tiled gallery layout\x04Tiled mosaic":["\u5e73\u94fa\u9576\u5d4c"],"block search term\x04gallery":["\u56fe\u5e93"],"block search term\x04pictures":["\u56fe\u7247"],"block search term\x04cell":["\u5355\u5143\u683c"],"block search term\x04telephone":["\u7535\u8bdd"],"block search term\x04mobile":["\u79fb\u52a8"],"block search term\x04images":["\u56fe\u7247"],"block search term\x04email":["\u7535\u5b50\u90ae\u7bb1"],"block search term\x04place":["\u5730\u70b9"],"block search term\x04direction":["\u65b9\u5411"],"block search term\x04location":["\u4f4d\u7f6e"],"Tiled Gallery":["\u5e73\u94fa\u753b\u5eca"],"Display multiple images in an elegantly organized tiled layout.":["\u4ee5\u4e95\u7136\u6709\u5e8f\u7684\u5e73\u94fa\u7248\u9762\u5e03\u5c40\u663e\u793a\u591a\u5f20\u56fe\u50cf\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u5e26\u6709\u81ea\u52a8\u751f\u6210\u7684\u201c\u70b9\u51fb\u901a\u8bdd\u201d\u94fe\u63a5\u7684\u7535\u8bdd\u53f7\u7801\u3002"],"Phone Number":["\u7535\u8bdd\u53f7\u7801"],"Phone number":["\u7535\u8bdd\u53f7\u7801"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3001\u7535\u8bdd\u53f7\u7801\u548c\u5b9e\u9645\u5730\u5740\uff0c\u5b83\u4eec\u5e26\u6709\u7ecf\u8fc7\u6539\u8fdb\u7684\u6807\u8bb0\uff0c\u53ef\u4ea7\u751f\u66f4\u597d\u7684 SEO \u7ed3\u679c\u3002"],"Lets you add a physical address with Schema markup.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u5e26\u6709 Schema \u6807\u8bb0\u7684\u5b9e\u9645\u5730\u5740\u3002"],Address:["\u5730\u5740"],Country:["\u56fd\u5bb6/\u5730\u533a"],"Postal/Zip Code":["\u90ae\u653f\u7f16\u7801"],"State/Province/Region":["\u5dde/\u7701/\u5730\u533a"],City:["\u57ce\u5e02"],"Address Line 3":["\u5730\u5740\u884c 3"],"Address Line 2":["\u5730\u5740\u884c 2"],"Street Address":["\u8857\u9053\u5730\u5740"],"Link address to Google Maps":["\u5c06\u5730\u5740\u94fe\u63a5\u5230 Google \u5730\u56fe"],"image %1$d of %2$d in gallery":["\u76f8\u518c\u4e2d\u7684%1$d/%2$d\u4e2a\u56fe\u7247"],"Remove image":["\u79fb\u9664\u56fe\u7247"],"Contact Info":["\u8054\u7cfb\u4fe1\u606f"],"Email Address":["\u7535\u5b50\u90ae\u7bb1\u5730\u5740"],Email:["\u7535\u5b50\u90ae\u7bb1\u5730\u5740"]}},3429,[]); -__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u5d4c\u5165 SmartFrame \u5716\u7247\u3002"],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u5d4c\u5165 Instagram \u8cbc\u6587\u3002"],"Embed a Facebook post.":["\u5d4c\u5165 Facebook \u8cbc\u6587\u3002"],"Embed a Loom video.":["\u5d4c\u5165 Loom \u5f71\u7247\u3002"],video:["\u5f71\u7247"],"Add an interactive story.":["\u65b0\u589e\u4e92\u52d5\u5f0f\u6545\u4e8b\u3002"],"block search term\x04video":["\u8996\u8a0a"],"block search term\x04story":["\u6545\u4e8b"],Story:["\u6545\u4e8b"],"block search term\x04mosaic":["\u99ac\u8cfd\u514b"],"block search term\x04circle":["\u5713\u5708"],Grow:["\u62d3\u5c55"],Earn:["\u7372\u5229"],"block search term\x04square":["\u65b9\u584a"],"block search term\x04columns":["\u6b04\u4f4d"],"block search term\x04social":["\u793e\u7fa4"],"Rounded corners":["\u5713\u89d2"],"Move image forward":["\u5411\u524d\u79fb\u52d5\u5716\u7247"],"Move image backward":["\u5411\u5f8c\u79fb\u52d5\u5716\u7247"],"Serves images using Jetpack's fast global network of servers.":["\u4f7f\u7528 Jetpack \u5feb\u901f\u7684\u5168\u7403\u4f3a\u670d\u5668\u7db2\u8def\u63d0\u4f9b\u5716\u7247\u3002"],"block search term\x04photos":["\u7167\u7247"],"block search term\x04address":["\u5730\u5740"],"block search term\x04phone":["\u96fb\u8a71"],"block search term\x04message":["\u8a0a\u606f"],"block search term\x04image":["\u5716\u7247"],"Lets you add an email address with an automatically generated click-to-email link.":["\u8b93\u60a8\u85c9\u7531\u7cfb\u7d71\u81ea\u52d5\u7522\u751f\u7684\u55ae\u9375\u50b3\u9001\u96fb\u5b50\u90f5\u4ef6\u9023\u7d50\u4f86\u65b0\u589e\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002"],"Open address in Google Maps":["\u5728 Google \u5730\u5716\u4e2d\u958b\u555f\u5730\u5740"],Columns:["\u6b04\u4f4d"],images:["\u5716\u7247"],"Tiled gallery layout\x04Tiled columns":["\u4e26\u6392\u7684\u6b04"],"Tiled gallery layout\x04Square tiles":["\u65b9\u78da"],"Tiled gallery layout\x04Circles":["\u5713\u5708"],"Tiled gallery layout\x04Tiled mosaic":["\u78da\u5f62\u99ac\u8cfd\u514b"],"block search term\x04gallery":["\u5716\u5eab"],"block search term\x04pictures":["\u7167\u7247"],"block search term\x04cell":["\u624b\u6a5f"],"block search term\x04telephone":["\u96fb\u8a71"],"block search term\x04mobile":["\u624b\u6a5f"],"block search term\x04images":["\u5716\u7247"],"block search term\x04email":["\u96fb\u5b50\u90f5\u4ef6"],"block search term\x04place":["\u5730\u9ede"],"block search term\x04direction":["\u65b9\u5411"],"block search term\x04location":["\u4f4d\u7f6e"],"Tiled Gallery":["\u4e26\u6392\u5716\u5eab"],"Display multiple images in an elegantly organized tiled layout.":["\u4ee5\u4e95\u7136\u6709\u5e8f\u7684\u4f75\u6392\u7248\u9762\u914d\u7f6e\u986f\u793a\u591a\u5f35\u5716\u7247\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u8b93\u4f60\u65b0\u589e\u96fb\u8a71\u865f\u78bc\uff0c\u4e26\u81ea\u52d5\u7522\u751f\u6309\u4e00\u4e0b\u64a5\u6253\u9023\u7d50\u3002"],"Phone Number":["\u96fb\u8a71\u865f\u78bc"],"Phone number":["\u96fb\u8a71\u865f\u78bc"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u8b93\u4f60\u65b0\u589e\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3001\u96fb\u8a71\u865f\u78bc\u548c\u5be6\u9ad4\u5730\u5740\uff0c\u4e26\u63d0\u4f9b\u6539\u826f\u6a19\u8a18\u8a9e\u8a00\uff0c\u4ee5\u4fbf\u7372\u5f97\u66f4\u597d\u7684 SEO \u7d50\u679c\u3002"],"Lets you add a physical address with Schema markup.":["\u8b93\u4f60\u900f\u904e Schema \u6a19\u8a18\u8a9e\u8a00\u4f86\u65b0\u589e\u5be6\u9ad4\u5730\u5740\u3002"],Address:["\u4f4d\u5740"],Country:["\u570b\u5bb6/\u5730\u5340"],"Postal/Zip Code":["\u90f5\u905e\u5340\u865f"],"State/Province/Region":["\u5dde/\u7701/\u5730\u5340"],City:["\u57ce\u5e02"],"Address Line 3":["\u5730\u5740\u7b2c 3 \u884c"],"Address Line 2":["\u5730\u5740\u7b2c 2 \u884c"],"Street Address":["\u8857\u9053\u5730\u5740"],"Link address to Google Maps":["\u5c07\u5730\u5740\u8207 Google \u5730\u5716\u9023\u7d50"],"image %1$d of %2$d in gallery":["\u5716\u7247\u5eab\u7684\u5f71\u50cf %1$d (\u5171 %2$d \u500b)"],"Remove image":["\u79fb\u9664\u5716\u7247"],"Contact Info":["\u806f\u7d61\u8cc7\u8a0a"],"Email Address":["\u96fb\u5b50\u90f5\u4ef6\u4f4d\u5740"],Email:["\u96fb\u5b50\u90f5\u4ef6"]}},3430,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u0642\u0645 \u0628\u062a\u0636\u0645\u064a\u0646 \u0635\u0648\u0631\u0629 \u0630\u0627\u062a \u0625\u0637\u0627\u0631 \u0630\u0643\u064a."],smartframe:["\u0625\u0637\u0627\u0631 \u0630\u0643\u064a"],"Embed an Instagram post.":["\u062a\u0636\u0645\u064a\u0646 \u0645\u0646\u0634\u0648\u0631 Instagram."],"Embed a Facebook post.":["\u062a\u0636\u0645\u064a\u0646 \u0645\u0646\u0634\u0648\u0631 \u0641\u064a\u0633 \u0628\u0648\u0643."],"Embed a Loom video.":["\u0642\u0645 \u0628\u062a\u0636\u0645\u064a\u0646 \u0641\u064a\u062f\u064a\u0648 Loom."],video:["\u0641\u064a\u062f\u064a\u0648"],"Upgrade your plan to upload audio":["\u062a\u0631\u0642\u064a\u0629 \u062e\u0637\u062a\u0643 \u0644\u0631\u0641\u0639 \u0645\u0642\u0627\u0637\u0639 \u0627\u0644\u0635\u0648\u062a"],"Upgrade your plan to use video covers":["\u062a\u0631\u0642\u064a\u0629 \u062e\u0637\u062a\u0643 \u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0623\u063a\u0637\u064a\u0629 \u0645\u0642\u0627\u0637\u0639 \u0627\u0644\u0641\u064a\u062f\u064a\u0648"],"Add an interactive story.":["\u0623\u0636\u0641 \u0642\u0635\u0629 \u062a\u0641\u0627\u0639\u0644\u064a\u0629."],"block search term\x04video":["\u0641\u064a\u062f\u064a\u0648"],"block search term\x04story":["\u0642\u0635\u0629"],Story:["\u0642\u0635\u0629"],"block search term\x04mosaic":["\u0641\u0633\u064a\u0641\u0633\u0627\u0621"],"block search term\x04circle":["\u062f\u0627\u0626\u0631\u0629"],Grow:["\u062a\u0646\u0645\u064a\u0629"],Earn:["\u062a\u062d\u0642\u064a\u0642 \u0631\u0628\u062d"],"block search term\x04square":["\u0645\u0631\u0628\u0639"],"block search term\x04columns":["\u0623\u0639\u0645\u062f\u0629"],"block search term\x04social":["\u0627\u062c\u062a\u0645\u0627\u0639\u064a"],"Rounded corners":["\u0632\u0648\u0627\u064a\u0627 \u0645\u0633\u062a\u062f\u064a\u0631\u0629"],"Move image forward":["\u062a\u062d\u0631\u064a\u0643 \u0627\u0644\u0635\u0648\u0631\u0629 \u0644\u0644\u0623\u0645\u0627\u0645"],"Move image backward":["\u062a\u062d\u0631\u064a\u0643 \u0627\u0644\u0635\u0648\u0631\u0629 \u0644\u0644\u062e\u0644\u0641"],"Serves images using Jetpack's fast global network of servers.":["\u064a\u0639\u0631\u0636 \u0627\u0644\u0635\u0648\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0634\u0628\u0643\u0629 \u0627\u0644\u062e\u0648\u0627\u062f\u0645 \u0627\u0644\u0639\u0627\u0644\u0645\u064a\u0629 \u0627\u0644\u0633\u0631\u064a\u0639\u0629 \u0641\u064a Jetpack."],"block search term\x04photos":["\u0627\u0644\u0635\u0648\u0631"],"block search term\x04address":["\u0639\u0646\u0648\u0627\u0646"],"block search term\x04phone":["\u0647\u0627\u062a\u0641"],"block search term\x04message":["\u0631\u0633\u0627\u0644\u0629"],"block search term\x04image":["\u0635\u0648\u0631\u0629"],"Lets you add an email address with an automatically generated click-to-email link.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0645\u0646 \u062e\u0644\u0627\u0644 \u0631\u0627\u0628\u0637 \"\u0627\u0646\u0642\u0631 \u0644\u0644\u0627\u062a\u0635\u0627\u0644\" \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0646\u0634\u0627\u0624\u0647 \u062a\u0644\u0642\u0627\u0626\u064a\u0651\u064b\u0627."],"Open address in Google Maps":["\u0641\u062a\u062d \u0639\u0646\u0648\u0627\u0646 \u0641\u064a Google Maps"],Columns:["\u0623\u0639\u0645\u062f\u0629"],images:["\u0627\u0644\u0635\u0648\u0631"],"Tiled gallery layout\x04Tiled columns":["\u0627\u0644\u0623\u0639\u0645\u062f\u0629 \u0627\u0644\u0645\u062a\u062c\u0627\u0646\u0628\u0629"],"Tiled gallery layout\x04Square tiles":["\u0627\u0644\u062a\u062c\u0627\u0646\u0628\u0627\u062a \u0627\u0644\u0645\u0631\u0628\u0639\u0629"],"Tiled gallery layout\x04Circles":["\u0627\u0644\u062f\u0648\u0627\u0626\u0631"],"Tiled gallery layout\x04Tiled mosaic":["\u0627\u0644\u0641\u0633\u064a\u0641\u0633\u0627\u0626\u064a \u0627\u0644\u0645\u062a\u062c\u0627\u0646\u0628"],"block search term\x04gallery":["\u0645\u0639\u0631\u0636"],"block search term\x04pictures":["\u0627\u0644\u0635\u0648\u0631"],"block search term\x04cell":["\u062e\u0644\u064a\u0629"],"block search term\x04telephone":["\u0647\u0627\u062a\u0641 \u0623\u0631\u0636\u064a"],"block search term\x04mobile":["\u0647\u0627\u062a\u0641 \u0645\u062d\u0645\u0648\u0644"],"block search term\x04images":["\u0635\u0648\u0631"],"block search term\x04email":["\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"],"block search term\x04place":["\u0645\u0643\u0627\u0646"],"block search term\x04direction":["\u0627\u0644\u0627\u062a\u062c\u0627\u0647"],"block search term\x04location":["\u0627\u0644\u0645\u0648\u0642\u0639"],"Tiled Gallery":["\u0645\u0639\u0631\u0636 \u0645\u062a\u062c\u0627\u0646\u0628"],"Display multiple images in an elegantly organized tiled layout.":["\u0627\u0639\u0631\u0636 \u0635\u0648\u0631\u064b\u0627 \u0645\u062a\u0639\u062f\u062f\u0629 \u0641\u064a \u062a\u0646\u0633\u064a\u0642 \u062a\u062c\u0627\u0646\u0628\u064a \u0645\u0646\u0638\u0645 \u0628\u0623\u0646\u0627\u0642\u0629."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641 \u0645\u0639 \u0631\u0627\u0628\u0637 \"\u0623\u0646\u0642\u0631 \u0644\u0644\u0627\u062a\u0635\u0627\u0644\" \u0627\u0644\u0630\u064a \u064a\u062a\u0645 \u0625\u0646\u0634\u0627\u0624\u0647 \u062a\u0644\u0642\u0627\u0626\u064a\u0651\u064b\u0627."],"Phone Number":["\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641"],"Phone number":["\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0648\u0631\u0642\u0645 \u0647\u0627\u062a\u0641 \u0648\u0639\u0646\u0648\u0627\u0646 \u0641\u0639\u0644\u064a \u0645\u0639 \u0644\u063a\u0629 \u062a\u0645\u064a\u064a\u0632 \u0645\u064f\u062d\u0633\u0651\u0646\u0629 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0623\u0641\u0636\u0644 \u0646\u062a\u0627\u0626\u062c \u062a\u062d\u0633\u064a\u0646 \u0645\u062d\u0631\u0643\u0627\u062a \u0627\u0644\u0628\u062d\u062b."],"Lets you add a physical address with Schema markup.":["\u064a\u0633\u0645\u062d \u0644\u0643 \u0628\u0625\u0636\u0627\u0641\u0629 \u0639\u0646\u0648\u0627\u0646 \u0641\u0639\u0644\u064a \u0645\u0639 \u062a\u0645\u064a\u064a\u0632 \u0627\u0644\u0645\u062e\u0637\u0637."],Address:["\u0627\u0644\u0639\u0646\u0648\u0627\u0646"],Country:["\u0627\u0644\u0628\u0644\u062f"],"Postal/Zip Code":["\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064a\u062f\u064a/\u0631\u0645\u0632 Zip"],"State/Province/Region":["\u0627\u0644\u0648\u0644\u0627\u064a\u0629/\u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629/\u0627\u0644\u0625\u0642\u0644\u064a\u0645"],City:["\u0627\u0644\u0645\u062f\u064a\u0646\u0629"],"Address Line 3":["\u0633\u0637\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 3"],"Address Line 2":["\u0633\u0637\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 2"],"Street Address":["\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639"],"Link address to Google Maps":["\u0631\u0628\u0637 \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0628\u0640 Google Maps"],"image %1$d of %2$d in gallery":["\u0635\u0648\u0631\u0629 %1$d \u0645\u0646 %2$d \u0641\u064a \u0627\u0644\u0645\u0639\u0631\u0636"],"Remove image":["\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0635\u0648\u0631\u0629"],"Contact Info":["\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0625\u062a\u0635\u0627\u0644"],"Email Address":["\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"],Email:["\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"]}},3382,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Contact Info":["\u0417\u0430 \u0432\u0440\u044a\u0437\u043a\u0430"],"Email Address":["\u0418\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441"],Email:["\u0418\u043c\u0435\u0439\u043b"]}},3383,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":[],"Email Address":[],Email:[]}},3384,[]); +__d(function(e,a,r,o,l,t,s){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":["v\xeddeo"],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":["fotos"],"block search term\x04address":["adre\xe7a"],"block search term\x04phone":["tel\xe8fon"],"block search term\x04message":["missatge"],"block search term\x04image":["imatge"],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":["Obre l'adre\xe7a a Google Maps"],Columns:["Columnes"],images:["imatges"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":["Cercles"],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":["galeria"],"block search term\x04pictures":["imatges"],"block search term\x04cell":["cel\xb7la"],"block search term\x04telephone":["tel\xe8fon"],"block search term\x04mobile":["m\xf2bil"],"block search term\x04images":["imatges"],"block search term\x04email":["Correu electr\xf2nic"],"block search term\x04place":["lloc"],"block search term\x04direction":["direcci\xf3"],"block search term\x04location":["ubicaci\xf3"],"Tiled Gallery":["Galeria en mosaic"],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":["Permet afegir un n\xfamero de tel\xe8fon amb un enlla\xe7 de clic per trucar generat autom\xe0ticament."],"Phone Number":["N\xfamero de tel\xe8fon"],"Phone number":["N\xfamero de tel\xe8fon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Permet afegir una adre\xe7a de correu electr\xf2nic, un n\xfamero de tel\xe8fon i una adre\xe7a f\xedsica amb un marcatge millorat per obtenir millors resultats de SEO."],"Lets you add a physical address with Schema markup.":["Permet afegir una adre\xe7a f\xedsica amb el marcatge d'Schema"],Address:["Adre\xe7a"],Country:["Pa\xeds"],"Postal/Zip Code":["Codi postal"],"State/Province/Region":["Estat/Prov\xedncia/Regi\xf3"],City:["Ciutat"],"Address Line 3":["L\xednia d'adre\xe7a 3"],"Address Line 2":["L\xednia d'adre\xe7a 2"],"Street Address":["Adre\xe7a"],"Link address to Google Maps":["Enlla\xe7 a Google Maps"],"image %1$d of %2$d in gallery":["Imatge %1$d de %2$d a la galeria"],"Remove image":["Suprimeix la imatge"],"Contact Info":["Informaci\xf3 de contacte"],"Email Address":["Adre\xe7a de correu electr\xf2nic"],Email:["Correu electr\xf2nic"]}},3385,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Vlo\u017ete p\u0159\xedsp\u011bvek na Instagram."],"Embed a Facebook post.":["Vlo\u017ete p\u0159\xedsp\u011bvek na Facebooku."],"Embed a Loom video.":["Vlo\u017eit Loom video."],video:["video"],"Upgrade your plan to upload audio":["Upgradujte sv\u016fj pl\xe1n na nahr\xe1v\xe1n\xed zvuku"],"Upgrade your plan to use video covers":["Upgradujte sv\u016fj pl\xe1n na pou\u017e\xedv\xe1n\xed ob\xe1lek videa"],"Add an interactive story.":["P\u0159idejte interaktivn\xed p\u0159\xedb\u011bh."],"block search term\x04video":["video"],"block search term\x04story":["P\u0159\xedb\u011bh"],Story:["P\u0159\xedb\u011bh"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["Obr\xe1zky"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktn\xed informace"],"Email Address":["E-mailov\xe1 adresa"],Email:["E-mail"]}},3386,[]); +__d(function(e,a,o,r,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Mewnblannu cofnod Instagram."],"Embed a Facebook post.":["Mewnblannu cofnod Facebook."],"Embed a Loom video.":["Fideo Mewnblannu ac Ymrithio."],video:["fideo"],"Upgrade your plan to upload audio":["Uwchraddio'ch cynllun i lwytho sain"],"Upgrade your plan to use video covers":["Uwchraddio'ch cynllun i ddefnyddio cloriau fideo"],"Add an interactive story.":["Ychwanegwch stori ryngweithiol."],"block search term\x04video":["fideo"],"block search term\x04story":["stori"],Story:["Stori"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["delweddau"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Tynnu'r ddelwedd"],"Contact Info":["Gwybodaeth Cysylltu"],"Email Address":["Cyfeiriad E-bost"],Email:["E-bost"]}},3387,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktinformationer"],"Email Address":["E-mail-adresse"],Email:["e-mail"]}},3388,[]); +__d(function(e,r,a,i,l,n,s){l.exports={"Embed a SmartFrame Image.":["SmartFrame-Bild einbetten"],smartframe:["smartframe"],"Embed an Instagram post.":["Einen Instagram-Beitrag einbetten."],"Embed a Facebook post.":["Einen Facebook-Beitrag einbetten."],"Embed a Loom video.":["Bette ein Loom-Video ein."],video:["Video"],"Upgrade your plan to upload audio":["F\xfchre ein Tarif-Upgrade durch, um Audiodateien hochzuladen."],"Upgrade your plan to use video covers":["F\xfchre ein Tarif-Upgrade durch, um Video-Covers zu verwenden."],"Add an interactive story.":["F\xfcge eine interaktive Story hinzu."],"block search term\x04video":["Video"],"block search term\x04story":["Story"],Story:["Story"],"block search term\x04mosaic":["Mosaik"],"block search term\x04circle":["Kreis"],Grow:["Wachsen"],Earn:["Geld verdienen"],"block search term\x04square":["Quadrat"],"block search term\x04columns":["Spalten"],"block search term\x04social":["Social Media"],"Rounded corners":["Abgerundete Ecken"],"Move image forward":["Bild nach vorne verschieben"],"Move image backward":["Bild nach hinten verschieben"],"Serves images using Jetpack's fast global network of servers.":["Zeigt Bilder \xfcber das schnelle, globale Servernetzwerk von Jetpack."],"block search term\x04photos":["Fotos"],"block search term\x04address":["Adresse"],"block search term\x04phone":["Telefonnummer"],"block search term\x04message":["Nachricht"],"block search term\x04image":["Bild"],"Lets you add an email address with an automatically generated click-to-email link.":["Erm\xf6glicht es dir, eine E-Mail-Adresse mit einem automatisch generierten E-Mail-Link hinzuzuf\xfcgen."],"Open address in Google Maps":["Adresse in Google Maps \xf6ffnen"],Columns:["Spalten"],images:["Bilder"],"Tiled gallery layout\x04Tiled columns":["Gekachelte Spalten"],"Tiled gallery layout\x04Square tiles":["Quadratische Kacheln"],"Tiled gallery layout\x04Circles":["Kreise"],"Tiled gallery layout\x04Tiled mosaic":["Gekacheltes Mosaik"],"block search term\x04gallery":["Galerie"],"block search term\x04pictures":["Bilder"],"block search term\x04cell":["Zelle"],"block search term\x04telephone":["Telefonnummer"],"block search term\x04mobile":["Mobilnummer"],"block search term\x04images":["Bilder"],"block search term\x04email":["E-Mail"],"block search term\x04place":["Ort"],"block search term\x04direction":["Richtung"],"block search term\x04location":["Ort"],"Tiled Gallery":["Gekachelte Galerie"],"Display multiple images in an elegantly organized tiled layout.":["Zeige mehrere Bilder in einem eleganten, organisierten Kachel-Layout an."],"Lets you add a phone number with an automatically generated click-to-call link.":["Erm\xf6glicht es dir, eine Telefonnummer mit einem automatisch generierten Click-to-Call-Link hinzuzuf\xfcgen."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Erm\xf6glicht es dir, eine E-Mail-Adresse, Telefonnummer und physische Adresse mit verbessertem Markup f\xfcr bessere SEO-Ergebnisse hinzuzuf\xfcgen."],"Lets you add a physical address with Schema markup.":["Erm\xf6glicht es dir, eine physische Adresse mit Schema-Markup hinzuzuf\xfcgen."],Address:["Adresse"],Country:["Land"],"Postal/Zip Code":["Postleitzahl"],"State/Province/Region":["Bundesland/Region"],City:["Ort"],"Address Line 3":["Adresszeile 3"],"Address Line 2":["Adresse Zeile 2"],"Street Address":["Adresse"],"Link address to Google Maps":["Adresse mit Google Maps verkn\xfcpfen"],"image %1$d of %2$d in gallery":["Bild\xa0%1$d von %2$d in Galerie"],"Remove image":["Bild entfernen"],"Contact Info":["Kontaktinfo"],"Email Address":["E-Mail-Adresse"],Email:["E-Mail"]}},3389,[]); +__d(function(e,a,r,s,o,l,t){o.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3390,[]); +__d(function(e,a,o,r,s,l,t){s.exports={"Embed a SmartFrame Image.":["Embed a SmartFrame Image."],smartframe:["smartframe"],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Upgrade your plan to upload audio":["Upgrade your plan to upload audio"],"Upgrade your plan to use video covers":["Upgrade your plan to use video covers"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move image backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organized tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3391,[]); +__d(function(e,a,o,r,s,l,t){s.exports={"Embed a SmartFrame Image.":["Embed a SmartFrame image."],smartframe:["smartframe"],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Upgrade your plan to upload audio":["Upgrade your plan to upload audio"],"Upgrade your plan to use video covers":["Upgrade your plan to use video covers"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move image backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an e-mail address with an automatically generated click-to-e-mail link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["e-mail"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an e-mail address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3392,[]); +__d(function(e,a,r,s,o,l,t){o.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3393,[]); +__d(function(e,a,o,r,s,l,t){s.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Embed an Instagram post."],"Embed a Facebook post.":["Embed a Facebook post."],"Embed a Loom video.":["Embed a Loom video."],video:["video"],"Upgrade your plan to upload audio":["Upgrade your plan to upload audio"],"Upgrade your plan to use video covers":["Upgrade your plan to use video covers"],"Add an interactive story.":["Add an interactive story."],"block search term\x04video":["video"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaic"],"block search term\x04circle":["circle"],Grow:["Grow"],Earn:["Earn"],"block search term\x04square":["square"],"block search term\x04columns":["columns"],"block search term\x04social":["social"],"Rounded corners":["Rounded corners"],"Move image forward":["Move image forward"],"Move image backward":["Move Image Backward"],"Serves images using Jetpack's fast global network of servers.":["Serves images using Jetpack's fast global network of servers."],"block search term\x04photos":["photos"],"block search term\x04address":["address"],"block search term\x04phone":["phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Lets you add an email address with an automatically generated click-to-email link."],"Open address in Google Maps":["Open address in Google Maps"],Columns:["Columns"],images:["Images"],"Tiled gallery layout\x04Tiled columns":["Tiled columns"],"Tiled gallery layout\x04Square tiles":["Square tiles"],"Tiled gallery layout\x04Circles":["Circles"],"Tiled gallery layout\x04Tiled mosaic":["Tiled mosaic"],"block search term\x04gallery":["gallery"],"block search term\x04pictures":["pictures"],"block search term\x04cell":["cell"],"block search term\x04telephone":["telephone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images"],"block search term\x04email":["email"],"block search term\x04place":["place"],"block search term\x04direction":["direction"],"block search term\x04location":["location"],"Tiled Gallery":["Tiled Gallery"],"Display multiple images in an elegantly organized tiled layout.":["Display multiple images in an elegantly organised tiled layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lets you add a phone number with an automatically generated click-to-call link."],"Phone Number":["Phone Number"],"Phone number":["Phone number"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lets you add an email address, phone number, and physical address with improved markup for better SEO results."],"Lets you add a physical address with Schema markup.":["Lets you add a physical address with Schema markup."],Address:["Address"],Country:["Country"],"Postal/Zip Code":["Postal/Zip Code"],"State/Province/Region":["State/Province/Region"],City:["City"],"Address Line 3":["Address Line 3"],"Address Line 2":["Address Line 2"],"Street Address":["Street Address"],"Link address to Google Maps":["Link address to Google Maps"],"image %1$d of %2$d in gallery":["image %1$d of %2$d in gallery"],"Remove image":["Remove image"],"Contact Info":["Contact Info"],"Email Address":["Email Address"],Email:["Email"]}},3394,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u0391\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u03b5\u03b9\u03ba\u03cc\u03bd\u03b1\u03c2"],"Contact Info":["\u03a3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2"],"Email Address":["\u0394\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 email"],Email:["Email"]}},3395,[]); +__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":["Incrustar una imagen de SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incrusta una publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta una publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un v\xeddeo de Loom."],video:["v\xeddeo"],"Upgrade your plan to upload audio":["Actualiza tu plan para subir audio"],"Upgrade your plan to use video covers":["Actualiza tu plan para usar fondos en v\xeddeo"],"Add an interactive story.":["A\xf1adir una historia interactiva."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Crece"],Earn:["Ingresos"],"block search term\x04square":["cuadrado"],"block search term\x04columns":["columnas"],"block search term\x04social":["social"],"Rounded corners":["Esquinas redondeadas"],"Move image forward":["Mover la imagen hacia delante"],"Move image backward":["Mover la imagen hacia atr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Sirve las im\xe1genes usando la r\xe1pida red global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaje"],"block search term\x04image":["imagen"],"Lets you add an email address with an automatically generated click-to-email link.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico con un enlace de clic a correo electr\xf3nico generado autom\xe1ticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["im\xe1genes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cuadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3vil"],"block search term\x04images":["im\xe1genes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Muestra varias im\xe1genes en una estructura apilada organizada de manera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Te permite a\xf1adir un n\xfamero de tel\xe9fono con un enlace de clic a llamar generado autom\xe1ticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono y direcci\xf3n f\xedsica con marcado mejorado para unos mejores resultados SEO."],"Lets you add a physical address with Schema markup.":["Te permite a\xf1adir una direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Regi\xf3n"],City:["Ciudad"],"Address Line 3":["Direcci\xf3n, l\xednea 3"],"Address Line 2":["Direcci\xf3n, l\xednea 2"],"Street Address":["Direcci\xf3n de la calle"],"Link address to Google Maps":["Direcci\xf3n del enlace a Google Maps"],"image %1$d of %2$d in gallery":["imagen %1$d de %2$d en la galer\xeda"],"Remove image":["Eliminar imagen"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de correo electr\xf3nico"],Email:["Correo electr\xf3nico"]}},3396,[]); +__d(function(e,a,r,o,l,s,c){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Incrusta una publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta una publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un video de Loom."],video:["video"],"Upgrade your plan to upload audio":["Actualiz\xe1 tu plan para subir audio"],"Upgrade your plan to use video covers":["Actualiz\xe1 tu plan para usar fondos en video"],"Add an interactive story.":["Agregar una historia interactiva."],"block search term\x04video":["video"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":["social"],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de email"],Email:["Correo electr\xf3nico"]}},3397,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de email"],Email:["Correo electr\xf3nico"]}},3398,[]); +__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":["Sirve las im\xe1genes usando la r\xe1pida red global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaje"],"block search term\x04image":["imagen"],"Lets you add an email address with an automatically generated click-to-email link.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico con un enlace de clic a correo electr\xf3nico generado autom\xe1ticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["im\xe1genes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cuadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3vil"],"block search term\x04images":["im\xe1genes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Muestra varias im\xe1genes en una estructura apilada organizada de manera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Te permite a\xf1adir un n\xfamero de tel\xe9fono con un enlace de clic a llamar generado autom\xe1ticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Te permite a\xf1adir una direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono y direcci\xf3n f\xedsica con marcado mejorado para unos mejores resultados SEO."],"Lets you add a physical address with Schema markup.":["Te permite a\xf1adir una direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Regi\xf3n"],City:["Ciudad"],"Address Line 3":["Direcci\xf3n, l\xednea 3"],"Address Line 2":["Direcci\xf3n, l\xednea 2"],"Street Address":["Direcci\xf3n de la calle"],"Link address to Google Maps":["Direcci\xf3n del enlace a Google Maps"],"image %1$d of %2$d in gallery":["Imagen %1$d de %2$d en la galer\xeda"],"Remove image":["Eliminar imagen"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Direcci\xf3n de correo electr\xf3nico"],Email:["Correo electr\xf3nico"]}},3399,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["\u062a\u0635\u0627\u0648\u06cc\u0631"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["\u062a\u0635\u0648\u06cc\u0631 %1$d \u0627\u0632 %2$d \u062f\u0631 \u06af\u0627\u0644\u0631\u06cc"],"Remove image":["\u0628\u0631\u062f\u0627\u0634\u062a\u0646 \u062a\u0635\u0648\u06cc\u0631"],"Contact Info":["\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062a\u0645\u0627\u0633"],"Email Address":["\u0631\u0627\u06cc\u0627\u0646\u0634\u0627\u0646\u06cc"],Email:["\u0631\u0627\u06cc\u0627\u0646\u0634\u0627\u0646\u06cc"]}},3400,[]); +__d(function(e,a,r,s,o,l,i){o.exports={"Embed a SmartFrame Image.":["Int\xe9grer une image SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Embarquer une publication Instagram."],"Embed a Facebook post.":["Embarquer une publication Facebook."],"Embed a Loom video.":["Int\xe9grez une vid\xe9o Loom."],video:["Vid\xe9o"],"Upgrade your plan to upload audio":["Mettre \xe0 niveau votre plan pour charger des fichiers audio"],"Upgrade your plan to use video covers":["Mettre \xe0 niveau votre plan pour utiliser des banni\xe8res vid\xe9o"],"Add an interactive story.":["Ajouter une story interactive."],"block search term\x04video":["vid\xe9o"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosa\xefque"],"block search term\x04circle":["cercle"],Grow:["D\xe9velopper"],Earn:["Rentabiliser"],"block search term\x04square":["mosa\xefque d\u2019images carr\xe9es"],"block search term\x04columns":["colonnes"],"block search term\x04social":["social"],"Rounded corners":["Coins arrondis"],"Move image forward":["D\xe9placer l\u2019image vers l\u2019avant"],"Move image backward":["D\xe9placer l\u2019image vers l\u2019arri\xe8re"],"Serves images using Jetpack's fast global network of servers.":["Prend en charge les images via le r\xe9seau mondial rapide de serveurs de Jetpack."],"block search term\x04photos":["photos"],"block search term\x04address":["adresse"],"block search term\x04phone":["t\xe9l\xe9phone"],"block search term\x04message":["message"],"block search term\x04image":["image"],"Lets you add an email address with an automatically generated click-to-email link.":["Vous permet d\u2019ajouter une adresse e-mail avec g\xe9n\xe9ration automatique d\u2019un lien \xab\xa0cliquer pour envoyer un e-mail\xa0\xbb."],"Open address in Google Maps":["Ouvrir l\u2019adresse dans Google Maps"],Columns:["Colonnes"],images:["images"],"Tiled gallery layout\x04Tiled columns":["Mosa\xefque de colonnes"],"Tiled gallery layout\x04Square tiles":["Mosa\xefque d\u2019images carr\xe9es"],"Tiled gallery layout\x04Circles":["Mosa\xefque d\u2019images rondes"],"Tiled gallery layout\x04Tiled mosaic":["Mosa\xefque d\u2019images"],"block search term\x04gallery":["galerie "],"block search term\x04pictures":["images"],"block search term\x04cell":["cellule"],"block search term\x04telephone":["t\xe9l\xe9phone"],"block search term\x04mobile":["mobile"],"block search term\x04images":["images "],"block search term\x04email":["e-mail"],"block search term\x04place":["emplacement"],"block search term\x04direction":["adresse"],"block search term\x04location":["emplacement"],"Tiled Gallery":["Mosa\xefque d\u2019images"],"Display multiple images in an elegantly organized tiled layout.":["Affiche plusieurs images avec une mise en page \xe9l\xe9gante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Vous permet d\u2019ajouter un num\xe9ro de t\xe9l\xe9phone avec g\xe9n\xe9ration automatique d\u2019un lien \xab\xa0cliquer pour appeler\xa0\xbb."],"Phone Number":["Num\xe9ro de t\xe9l\xe9phone"],"Phone number":["Num\xe9ro de t\xe9l\xe9phone"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Vous permet d\u2019ajouter une adresse e-mail, un num\xe9ro de t\xe9l\xe9phone et une adresse physique tout en optimisant leur balisage afin d\u2019am\xe9liorer les r\xe9sultats de l\u2019optimisation des moteurs de recherche."],"Lets you add a physical address with Schema markup.":["Vous permet d\u2019ajouter une adresse physique avec un balisage du sch\xe9ma."],Address:["Adresse"],Country:["Pays"],"Postal/Zip Code":["Code postal"],"State/Province/Region":["\xc9tat/Province/R\xe9gion"],City:["Ville"],"Address Line 3":["Adresse ligne 3"],"Address Line 2":["Adresse ligne 2"],"Street Address":["Rue"],"Link address to Google Maps":["Lier l\u2019adresse \xe0 Google Maps"],"image %1$d of %2$d in gallery":["image %1$d sur %2$d dans la galerie"],"Remove image":["Supprimer l\u2019image"],"Contact Info":["Informations de contact"],"Email Address":["Adresse e-mail"],Email:["E-mail"]}},3401,[]); +__d(function(e,a,r,o,c,i,l){c.exports={"Embed a SmartFrame Image.":["Incrusta unha imaxe de SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incrusta unha publicaci\xf3n de Instagram."],"Embed a Facebook post.":["Incrusta unha publicaci\xf3n de Facebook."],"Embed a Loom video.":["Incrusta un v\xeddeo de Loom."],video:["v\xeddeo"],"Upgrade your plan to upload audio":["Actualiza o teu plan para subir audio"],"Upgrade your plan to use video covers":["Actualiza o teu plan para usar fondos en v\xeddeo"],"Add an interactive story.":["Engadir unha historia interactiva."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["historia"],Story:["Historia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Crece"],Earn:["Gana"],"block search term\x04square":["cadrado"],"block search term\x04columns":["columnas"],"block search term\x04social":["social"],"Rounded corners":["Esquinas redondeadas"],"Move image forward":["Mover a imaxe hacia diante"],"Move image backward":["Mover a imaxe hacia atr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Sirve as imaxes usando a rede r\xe1pida global de servidores de Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["direcci\xf3n"],"block search term\x04phone":["tel\xe9fono"],"block search term\x04message":["mensaxe"],"block search term\x04image":["imaxe"],"Lets you add an email address with an automatically generated click-to-email link.":["Perm\xedteche engadir unha direcci\xf3n de correo electr\xf3nico cun enlace de clic a correo electr\xf3nico xerado automaticamente."],"Open address in Google Maps":["Abrir direcci\xf3n en Google Maps"],Columns:["Columnas"],images:["imaxes"],"Tiled gallery layout\x04Tiled columns":["Columnas apiladas"],"Tiled gallery layout\x04Square tiles":["Pilas cadradas"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico apilado"],"block search term\x04gallery":["galer\xeda"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celda"],"block search term\x04telephone":["tel\xe9fono"],"block search term\x04mobile":["m\xf3bil"],"block search term\x04images":["imaxes"],"block search term\x04email":["correo electr\xf3nico"],"block search term\x04place":["lugar"],"block search term\x04direction":["direcci\xf3n"],"block search term\x04location":["ubicaci\xf3n"],"Tiled Gallery":["Galer\xeda apilada"],"Display multiple images in an elegantly organized tiled layout.":["Mostra varias imaxes nunha estrutura apilada organizada de maneira elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Perm\xedteche engadir un n\xfamero de tel\xe9fono cun enlace de clic a chamar xerado automaticamente."],"Phone Number":["N\xfamero de tel\xe9fono"],"Phone number":["N\xfamero de tel\xe9fono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Perm\xedteche engadir unha direcci\xf3n de correo electr\xf3nico, n\xfamero de tel\xe9fono e direcci\xf3n f\xedsica con marcado mellorado para uns mellores resultados SEO."],"Lets you add a physical address with Schema markup.":["Perm\xedteche engadir unha direcci\xf3n f\xedsica con marcado de Schema."],Address:["Direcci\xf3n"],Country:["Pa\xeds"],"Postal/Zip Code":["C\xf3digo postal"],"State/Province/Region":["Estado/Provincia/Rexi\xf3n"],City:["Cidade"],"Address Line 3":["Direcci\xf3n, li\xf1a 3"],"Address Line 2":["Direcci\xf3n, li\xf1a 2"],"Street Address":["Direcci\xf3n da r\xfaa"],"Link address to Google Maps":["Direcci\xf3n do enlace a Google Maps"],"image %1$d of %2$d in gallery":["Imaxe %1$d de %2$d na galer\xeda"],"Remove image":["Eliminar imaxe"],"Contact Info":["Informaci\xf3n de contacto"],"Email Address":["Enderezo de correo electr\xf3nico"],Email:["Correo-e"]}},3402,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u05dc\u05d4\u05d8\u05de\u05d9\u05e2 \u05ea\u05de\u05d5\u05e0\u05ea SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["\u05d4\u05d8\u05de\u05e2\u05d4 \u05e9\u05dc \u05e4\u05d5\u05e1\u05d8 \u05de-Instagram."],"Embed a Facebook post.":["\u05d4\u05d8\u05de\u05e2\u05d4 \u05e9\u05dc \u05ea\u05d5\u05db\u05df \u05de\u05e4\u05d9\u05d9\u05e1\u05d1\u05d5\u05e7."],"Embed a Loom video.":["\u05dc\u05d4\u05d8\u05de\u05d9\u05e2 \u05e1\u05e8\u05d8\u05d5\u05df \u05de-Loom."],video:["\u05d5\u05d9\u05d3\u05d0\u05d5"],"Upgrade your plan to upload audio":["\u05d9\u05e9 \u05dc\u05e9\u05d3\u05e8\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e9\u05dc\u05da \u05db\u05d3\u05d9 \u05dc\u05d4\u05e2\u05dc\u05d5\u05ea \u05d0\u05d5\u05d3\u05d9\u05d5"],"Upgrade your plan to use video covers":["\u05d9\u05e9 \u05dc\u05e9\u05d3\u05e8\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05e9\u05dc\u05da \u05db\u05d3\u05d9 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e9\u05e2\u05e8 \u05e9\u05dc \u05d5\u05d9\u05d3\u05d0\u05d5"],"Add an interactive story.":["\u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05e1\u05d8\u05d5\u05e8\u05d9 \u05d0\u05d9\u05e0\u05d8\u05e8\u05d0\u05e7\u05d8\u05d9\u05d1\u05d9."],"block search term\x04video":["\u05d5\u05d9\u05d3\u05d0\u05d5"],"block search term\x04story":["\u05e1\u05d8\u05d5\u05e8\u05d9"],Story:["\u05e1\u05d8\u05d5\u05e8\u05d9"],"block search term\x04mosaic":["\u05e4\u05e1\u05d9\u05e4\u05e1"],"block search term\x04circle":["\u05e2\u05d9\u05d2\u05d5\u05dc"],Grow:["\u05e6\u05de\u05d9\u05d7\u05d4"],Earn:["\u05dc\u05d4\u05e8\u05d5\u05d5\u05d9\u05d7"],"block search term\x04square":["\u05de\u05e8\u05d5\u05d1\u05e2"],"block search term\x04columns":["\u05d8\u05d5\u05e8\u05d9\u05dd"],"block search term\x04social":["\u05e8\u05e9\u05ea \u05d7\u05d1\u05e8\u05ea\u05d9\u05ea"],"Rounded corners":["\u05e4\u05d9\u05e0\u05d5\u05ea \u05de\u05e2\u05d5\u05d2\u05dc\u05d5\u05ea"],"Move image forward":["\u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05e7\u05d3\u05d9\u05de\u05d4"],"Move image backward":["\u05dc\u05d4\u05e2\u05d1\u05d9\u05e8 \u05d0\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05d0\u05d7\u05d5\u05e8\u05d4"],"Serves images using Jetpack's fast global network of servers.":["\u05d4\u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05e0\u05e9\u05dc\u05d7\u05d5\u05ea \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e8\u05e9\u05ea \u05d4\u05e9\u05e8\u05ea\u05d9\u05dd \u05d4\u05d2\u05dc\u05d5\u05d1\u05dc\u05d9\u05ea \u05d5\u05d4\u05de\u05d4\u05d9\u05e8\u05d4 \u05e9\u05dc Jetpack."],"block search term\x04photos":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04address":["\u05db\u05ea\u05d5\u05d1\u05ea"],"block search term\x04phone":["\u05d8\u05dc\u05e4\u05d5\u05df"],"block search term\x04message":["\u05d4\u05d5\u05d3\u05e2\u05d4"],"block search term\x04image":["\u05ea\u05de\u05d5\u05e0\u05d4"],"Lets you add an email address with an automatically generated click-to-email link.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc \u05d5\u05dc\u05d9\u05e6\u05d5\u05e8 \u05d1\u05d0\u05d5\u05e4\u05df \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05e9\u05dc\u05d9\u05d7\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc."],"Open address in Google Maps":["\u05dc\u05e4\u05ea\u05d5\u05d7 \u05d0\u05ea \u05d4\u05db\u05ea\u05d5\u05d1\u05ea \u05d1-Google Maps"],Columns:["\u05e2\u05de\u05d5\u05d3\u05d5\u05ea"],images:["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"Tiled gallery layout\x04Tiled columns":["\u05d8\u05d5\u05e8\u05d9\u05dd \u05e4\u05e8\u05d5\u05e9\u05d9\u05dd"],"Tiled gallery layout\x04Square tiles":["\u05d0\u05e8\u05d9\u05d7\u05d9\u05dd \u05de\u05e8\u05d5\u05d1\u05e2\u05d9\u05dd"],"Tiled gallery layout\x04Circles":["\u05e2\u05d9\u05d2\u05d5\u05dc\u05d9\u05dd"],"Tiled gallery layout\x04Tiled mosaic":["\u05d0\u05e8\u05d9\u05d7\u05d9 \u05e4\u05e1\u05d9\u05e4\u05e1"],"block search term\x04gallery":["\u05d2\u05dc\u05e8\u05d9\u05d4"],"block search term\x04pictures":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04cell":["\u05ea\u05d0"],"block search term\x04telephone":["\u05d8\u05dc\u05e4\u05d5\u05df"],"block search term\x04mobile":["\u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3"],"block search term\x04images":["\u05ea\u05de\u05d5\u05e0\u05d5\u05ea"],"block search term\x04email":["\u05d0\u05d9\u05de\u05d9\u05d9\u05dc"],"block search term\x04place":["\u05de\u05e7\u05d5\u05dd"],"block search term\x04direction":["\u05db\u05d9\u05d5\u05d5\u05df"],"block search term\x04location":["\u05de\u05d9\u05e7\u05d5\u05dd"],"Tiled Gallery":["\u05d2\u05dc\u05e8\u05d9\u05d4 \u05e4\u05e8\u05d5\u05e9\u05d4"],"Display multiple images in an elegantly organized tiled layout.":["\u05d4\u05e6\u05d2\u05d4 \u05d0\u05dc\u05d2\u05e0\u05d8\u05d9\u05ea \u05e9\u05dc \u05de\u05e1\u05e4\u05e8 \u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05d1\u05e4\u05e8\u05d9\u05e1\u05d4 \u05e9\u05dc \u05d0\u05e8\u05d9\u05d7\u05d9\u05dd."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3 \u05d5\u05dc\u05d9\u05e6\u05d5\u05e8 \u05d1\u05d0\u05d5\u05e4\u05df \u05d0\u05d5\u05d8\u05d5\u05de\u05d8\u05d9 \u05e7\u05d9\u05e9\u05d5\u05e8 \u05dc\u05d1\u05d9\u05e6\u05d5\u05e2 \u05e9\u05d9\u05d7\u05d4."],"Phone Number":["\u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df"],"Phone number":["\u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05de\u05d9\u05d9\u05dc, \u05de\u05e1\u05e4\u05e8 \u05d8\u05dc\u05e4\u05d5\u05df \u05e0\u05d9\u05d9\u05d3 \u05d5\u05db\u05ea\u05d5\u05d1\u05ea \u05e4\u05d9\u05d6\u05d9\u05ea \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e9\u05e4\u05ea \u05e1\u05d9\u05de\u05d5\u05df \u05d8\u05d5\u05d1\u05d4 \u05d9\u05d5\u05ea\u05e8 \u05dc\u05e9\u05d9\u05e4\u05d5\u05e8 \u05ea\u05d5\u05e6\u05d0\u05d5\u05ea SEO."],"Lets you add a physical address with Schema markup.":["\u05d4\u05e4\u05e2\u05d5\u05dc\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05da \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05db\u05ea\u05d5\u05d1\u05ea \u05e4\u05d9\u05d6\u05d9\u05ea \u05e2\u05dd \u05e9\u05e4\u05ea \u05e1\u05d9\u05de\u05d5\u05df \u05e1\u05db\u05de\u05ea\u05d9\u05ea."],Address:["\u05db\u05ea\u05d5\u05d1\u05ea"],Country:["\u05de\u05d3\u05d9\u05e0\u05d4"],"Postal/Zip Code":["\u05de\u05d9\u05e7\u05d5\u05d3"],"State/Province/Region":["\u05de\u05d3\u05d9\u05e0\u05d4 / \u05de\u05d7\u05d5\u05d6 / \u05d0\u05d6\u05d5\u05e8"],City:["\u05e2\u05d9\u05e8"],"Address Line 3":["\u05e9\u05d5\u05e8\u05ea \u05db\u05ea\u05d5\u05d1\u05ea 3"],"Address Line 2":["\u05e9\u05d5\u05e8\u05ea \u05db\u05ea\u05d5\u05d1\u05ea 2"],"Street Address":["\u05db\u05ea\u05d5\u05d1\u05ea \u05e8\u05d7\u05d5\u05d1"],"Link address to Google Maps":["\u05e7\u05d9\u05e9\u05d5\u05e8 \u05d4\u05db\u05ea\u05d5\u05d1\u05ea \u05dc-Google Maps"],"image %1$d of %2$d in gallery":["\u05ea\u05de\u05d5\u05e0\u05d4 %1$d \u05de\u05ea\u05d5\u05da %2$d \u05d1\u05d2\u05dc\u05e8\u05d9\u05d4"],"Remove image":["\u05d4\u05e1\u05e8\u05ea \u05d4\u05ea\u05de\u05d5\u05e0\u05d4"],"Contact Info":["\u05de\u05d9\u05d3\u05e2 \u05dc\u05d9\u05e6\u05d9\u05e8\u05ea \u05e7\u05e9\u05e8"],"Email Address":["\u05db\u05ea\u05d5\u05d1\u05ea \u05d3\u05d5\u05d0\u05e8 \u05d0\u05dc\u05e7\u05d8\u05e8\u05d5\u05e0\u05d9"],Email:["\u05d0\u05d9\u05de\u05d9\u05d9\u05dc"]}},3403,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["slike"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Ukloni sliku"],"Contact Info":["Kontakt podaci"],"Email Address":["Adresa e-po\u0161te"],Email:["E-po\u0161ta"]}},3404,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["k\xe9pek"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kapcsolati adatok"],"Email Address":["Email c\xedm"],Email:["Email"]}},3405,[]); +__d(function(a,e,r,n,o,t,l){o.exports={"Embed a SmartFrame Image.":["Sematkan Gambar SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Sematkan pos Instagram."],"Embed a Facebook post.":["Sematkan pos Facebook."],"Embed a Loom video.":["Sematkan video Loom."],video:["video"],"Upgrade your plan to upload audio":["Upgrade paket Anda untuk mengunggah audio"],"Upgrade your plan to use video covers":["Upgrade paket Anda untuk menggunakan sampul video"],"Add an interactive story.":["Tambahkan cerita interaktif."],"block search term\x04video":["video"],"block search term\x04story":["cerita"],Story:["Cerita"],"block search term\x04mosaic":["mosaik"],"block search term\x04circle":["lingkaran"],Grow:["Tumbuh"],Earn:["Pendapatan"],"block search term\x04square":["kotak"],"block search term\x04columns":["kolom"],"block search term\x04social":["sosial"],"Rounded corners":["Sudut Bulat"],"Move image forward":["Pindahkan gambar ke depan"],"Move image backward":["Pindahkan gambar ke belakang"],"Serves images using Jetpack's fast global network of servers.":["Menyajikan gambar menggunakan jaringan server global Jetpack yang cepat."],"block search term\x04photos":["foto"],"block search term\x04address":["alamat"],"block search term\x04phone":["telepon"],"block search term\x04message":["pesan"],"block search term\x04image":["gambar"],"Lets you add an email address with an automatically generated click-to-email link.":["Memungkinkan Anda menambahkan alamat email dengan tautan klik-ke-email yang dibuat secara otomatis."],"Open address in Google Maps":["Buka alamat di Google Maps"],Columns:["Kolom"],images:["gambar"],"Tiled gallery layout\x04Tiled columns":["Kolom berpetak"],"Tiled gallery layout\x04Square tiles":["Ubin persegi"],"Tiled gallery layout\x04Circles":["Lingkaran"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik berpetak"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["gambar"],"block search term\x04cell":["seluler"],"block search term\x04telephone":["telepon"],"block search term\x04mobile":["ponsel"],"block search term\x04images":["gambar"],"block search term\x04email":["email"],"block search term\x04place":["tempat"],"block search term\x04direction":["petunjuk arah"],"block search term\x04location":["lokasi"],"Tiled Gallery":["Galeri Tampilan Kotak"],"Display multiple images in an elegantly organized tiled layout.":["Menampilkan beberapa gambar dalam tata letak berpetak yang ditata secara elegan."],"Lets you add a phone number with an automatically generated click-to-call link.":["Memungkinkan Anda menambahkan nomor telepon dengan tautan klik untuk menelepon yang dibuat secara otomatis."],"Phone Number":["Nomor Telepon"],"Phone number":["Nomor telepon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Memungkinkan Anda menambahkan alamat email, nomor telepon, dan alamat fisik dengan penandaan yang disempurnakan untuk hasil SEO yang lebih baik."],"Lets you add a physical address with Schema markup.":["Memungkinkan Anda menambahkan alamat fisik dengan penandaan Schema."],Address:["Alamat"],Country:["Negara"],"Postal/Zip Code":["Kode Pos/Zip"],"State/Province/Region":["Negara Bagian/Provinsi/Wilayah"],City:["Kota"],"Address Line 3":["Baris Alamat 3"],"Address Line 2":["Baris Alamat 2"],"Street Address":["Alamat Jalan"],"Link address to Google Maps":["Tautkan alamat ke Google Maps"],"image %1$d of %2$d in gallery":["gambar %1$d dari %2$d di galeri"],"Remove image":["Hapus gambar"],"Contact Info":["Info Kontak"],"Email Address":["Alamat Surat Elektronik"],Email:["Surel"]}},3406,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Hvar m\xe1 n\xe1 sambandi vi\xf0 \xfeig?"],"Email Address":["Netfang"],Email:["T\xf6lvup\xf3stur"]}},3407,[]); +__d(function(e,a,i,o,r,n,l){r.exports={"Embed a SmartFrame Image.":["Incorpora un'immagine di SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incorpora un articolo di Instagram."],"Embed a Facebook post.":["Incorpora un articolo di Facebook."],"Embed a Loom video.":["Incorpora un video Loom."],video:["video"],"Upgrade your plan to upload audio":["Aggiorna il piano per caricare audio"],"Upgrade your plan to use video covers":["Aggiorna il piano per utilizzare cover video"],"Add an interactive story.":["Aggiungi una storia interattiva."],"block search term\x04video":["video"],"block search term\x04story":["storia"],Story:["Storia"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["cerchio"],Grow:["Cresci"],Earn:["Guadagna"],"block search term\x04square":["quadrato"],"block search term\x04columns":["colonne"],"block search term\x04social":["social"],"Rounded corners":["Angoli arrotondati"],"Move image forward":["Sposta avanti l'immagine"],"Move image backward":["Sposta indietro l'immagine"],"Serves images using Jetpack's fast global network of servers.":["Fornisce le immagini usando la rapida rete globale di server di Jetpack."],"block search term\x04photos":["foto"],"block search term\x04address":["indirizzo"],"block search term\x04phone":["telefono"],"block search term\x04message":["messaggio"],"block search term\x04image":["immagine"],"Lets you add an email address with an automatically generated click-to-email link.":["Consente di aggiungere un indirizzo e-mail con un link generato automaticamente su cui fare clic per le e-mail dirette."],"Open address in Google Maps":["Apri l'indirizzo su Google Maps"],Columns:["Colonne"],images:["immagini"],"Tiled gallery layout\x04Tiled columns":["Colonne affiancate"],"Tiled gallery layout\x04Square tiles":["Mosaico Quadrato"],"Tiled gallery layout\x04Circles":["Cerchi"],"Tiled gallery layout\x04Tiled mosaic":["Mosaico affiancato"],"block search term\x04gallery":["galleria"],"block search term\x04pictures":["immagini"],"block search term\x04cell":["cella"],"block search term\x04telephone":["telefono"],"block search term\x04mobile":["dispositivo mobile"],"block search term\x04images":["immagini"],"block search term\x04email":["email"],"block search term\x04place":["luogo"],"block search term\x04direction":["direzione"],"block search term\x04location":["posizione"],"Tiled Gallery":["Galleria affiancata"],"Display multiple images in an elegantly organized tiled layout.":["Visualizza pi\xf9 immagini in un layout affiancato organizzato in maniera elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Consente di aggiungere un numero di telefono con un link generato automaticamente su cui fare clic per le chiamate dirette."],"Phone Number":["Numero di telefono"],"Phone number":["Numero di telefono"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Consente di aggiungere un indirizzo e-mail, un numero di telefono e un indirizzo fisico con il markup perfezionato per migliori risultati SEO."],"Lets you add a physical address with Schema markup.":["Aggiungi un indirizzo fisico con il markup Schema."],Address:["Indirizzo"],Country:["Paese"],"Postal/Zip Code":["CAP"],"State/Province/Region":["Stato/Provincia/Regione"],City:["Citt\xe0"],"Address Line 3":["Linea 3 dell'indirizzo"],"Address Line 2":["Indirizzo - Linea 2"],"Street Address":["Indirizzo"],"Link address to Google Maps":["Indirizzo del link su Google Maps"],"image %1$d of %2$d in gallery":["immagine %1$d di %2$d in galleria"],"Remove image":["Rimuovi immagine"],"Contact Info":["Informazioni di contatto"],"Email Address":["Indirizzo email"],Email:["Email"]}},3408,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["SmartFrame \u753b\u50cf\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],smartframe:["smartframe"],"Embed an Instagram post.":["Instagram \u6295\u7a3f\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],"Embed a Facebook post.":["Facebook \u6295\u7a3f\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],"Embed a Loom video.":["Loom \u52d5\u753b\u3092\u57cb\u3081\u8fbc\u307f\u307e\u3059\u3002"],video:["\u52d5\u753b"],"Upgrade your plan to upload audio":["\u30d7\u30e9\u30f3\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u97f3\u58f0\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b"],"Upgrade your plan to use video covers":["\u30d7\u30e9\u30f3\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u52d5\u753b\u306e\u30ab\u30d0\u30fc\u3092\u4f7f\u3046"],"Add an interactive story.":["\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30b9\u30c8\u30fc\u30ea\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002"],"block search term\x04video":["\u52d5\u753b"],"block search term\x04story":["\u30b9\u30c8\u30fc\u30ea\u30fc"],Story:["\u30b9\u30c8\u30fc\u30ea\u30fc"],"block search term\x04mosaic":["\u30e2\u30b6\u30a4\u30af"],"block search term\x04circle":["\u5186\u5f62"],Grow:["\u6210\u9577"],Earn:["\u53ce\u76ca\u5316"],"block search term\x04square":["\u6b63\u65b9\u5f62"],"block search term\x04columns":["\u30ab\u30e9\u30e0"],"block search term\x04social":["\u30bd\u30fc\u30b7\u30e3\u30eb"],"Rounded corners":["\u4e38\u89d2"],"Move image forward":["\u753b\u50cf\u3092\u524d\u65b9\u306b\u79fb\u52d5"],"Move image backward":["\u753b\u50cf\u3092\u5f8c\u65b9\u306b\u79fb\u52d5"],"Serves images using Jetpack's fast global network of servers.":["Jetpack \u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u30b5\u30fc\u30d0\u30fc\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u753b\u50cf\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002"],"block search term\x04photos":["\u5199\u771f"],"block search term\x04address":["\u30a2\u30c9\u30ec\u30b9"],"block search term\x04phone":["\u96fb\u8a71"],"block search term\x04message":["\u30e1\u30c3\u30bb\u30fc\u30b8"],"block search term\x04image":["\u753b\u50cf"],"Lets you add an email address with an automatically generated click-to-email link.":["\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u30e1\u30fc\u30eb\u4f5c\u6210\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Open address in Google Maps":["\u4f4f\u6240\u3092 Google \u30de\u30c3\u30d7\u3067\u958b\u304f"],Columns:["\u30ab\u30e9\u30e0"],images:["\u753b\u50cf"],"Tiled gallery layout\x04Tiled columns":["\u30bf\u30a4\u30eb\u30ab\u30e9\u30e0"],"Tiled gallery layout\x04Square tiles":["\u6b63\u65b9\u5f62\u30bf\u30a4\u30eb"],"Tiled gallery layout\x04Circles":["\u5186\u5f62"],"Tiled gallery layout\x04Tiled mosaic":["\u30bf\u30a4\u30eb\u30e2\u30b6\u30a4\u30af"],"block search term\x04gallery":["\u30ae\u30e3\u30e9\u30ea\u30fc"],"block search term\x04pictures":["\u753b\u50cf"],"block search term\x04cell":["\u30bb\u30eb"],"block search term\x04telephone":["\u96fb\u8a71"],"block search term\x04mobile":["\u30e2\u30d0\u30a4\u30eb"],"block search term\x04images":["\u753b\u50cf"],"block search term\x04email":["\u30e1\u30fc\u30eb"],"block search term\x04place":["\u4f4d\u7f6e"],"block search term\x04direction":["\u624b\u9806"],"block search term\x04location":["\u5834\u6240"],"Tiled Gallery":["\u30bf\u30a4\u30eb\u30ae\u30e3\u30e9\u30ea\u30fc"],"Display multiple images in an elegantly organized tiled layout.":["\u8907\u6570\u306e\u753b\u50cf\u3092\u304d\u308c\u3044\u306b\u6574\u7406\u3055\u308c\u305f\u30bf\u30a4\u30eb\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u8868\u793a\u3057\u307e\u3059\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u308b\u30af\u30ea\u30c3\u30af\u30c8\u30a5\u30b3\u30fc\u30eb\u30ea\u30f3\u30af\u3092\u4f7f\u7528\u3057\u3066\u96fb\u8a71\u756a\u53f7\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Phone Number":["\u96fb\u8a71\u756a\u53f7"],"Phone number":["\u96fb\u8a71\u756a\u53f7"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u3088\u308a\u6b63\u78ba\u306a SEO \u7d50\u679c\u3092\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u5f37\u5316\u3055\u308c\u305f\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u96fb\u8a71\u756a\u53f7\u3001\u4f4f\u6240\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],"Lets you add a physical address with Schema markup.":["\u30b9\u30ad\u30fc\u30de\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u4f4f\u6240\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002"],Address:["\u4f4f\u6240"],Country:["\u56fd"],"Postal/Zip Code":["\u90f5\u4fbf\u756a\u53f7"],"State/Province/Region":["\u90fd\u9053\u5e9c\u770c/\u5730\u65b9/\u5730\u57df"],City:["\u5e02\u533a\u753a\u6751"],"Address Line 3":["\u4f4f\u62403\u884c\u76ee"],"Address Line 2":["\u4f4f\u62402\u884c\u76ee"],"Street Address":["\u4f4f\u62401"],"Link address to Google Maps":["\u4f4f\u6240\u3092 Google \u30de\u30c3\u30d7\u306b\u30ea\u30f3\u30af\u3059\u308b"],"image %1$d of %2$d in gallery":["\u30ae\u30e3\u30e9\u30ea\u30fc\u5185\u306e\u753b\u50cf%1$d\u4ef6\u4e2d%2$d\u4ef6"],"Remove image":["\u753b\u50cf\u3092\u524a\u9664"],"Contact Info":["\u9023\u7d61\u5148\u60c5\u5831"],"Email Address":["\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"],Email:["\u30e1\u30fc\u30eb"]}},3409,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u10e1\u10d0\u10d9\u10dd\u10dc\u10e2\u10d0\u10e5\u10e2\u10dd \u10d8\u10dc\u10e4\u10dd\u10e0\u10db\u10d0\u10ea\u10d8\u10d0"],"Email Address":[],Email:[]}},3410,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["SmartFrame \uc774\ubbf8\uc9c0\ub97c \uc784\ubca0\ub4dc\ud558\uc138\uc694."],smartframe:["SmartFrame"],"Embed an Instagram post.":["\uc778\uc2a4\ud0c0\uadf8\ub7a8 \uae00\uc744 \uc0bd\uc785\ud569\ub2c8\ub2e4."],"Embed a Facebook post.":["\ud398\uc774\uc2a4\ubd81 \uae00\uc744 \uc0bd\uc785\ud569\ub2c8\ub2e4."],"Embed a Loom video.":["Loom \ube44\ub514\uc624\ub97c \uc0bd\uc785\ud588\uc2b5\ub2c8\ub2e4."],video:["\ube44\ub514\uc624"],"Upgrade your plan to upload audio":["\uc624\ub514\uc624\ub97c \uc5c5\ub85c\ub4dc\ud558\ub824\uba74 \uc694\uae08\uc81c\ub97c \uc5c5\uadf8\ub808\uc774\ub4dc\ud558\uc138\uc694."],"Upgrade your plan to use video covers":["\ube44\ub514\uc624 \ucee4\ubc84\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc694\uae08\uc81c\ub97c \uc5c5\uadf8\ub808\uc774\ub4dc\ud558\uc138\uc694."],"Add an interactive story.":["\ub300\ud654\ud615 \uc2a4\ud1a0\ub9ac\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4."],"block search term\x04video":["\ube44\ub514\uc624"],"block search term\x04story":["\uc2a4\ud1a0\ub9ac"],Story:["\uc2a4\ud1a0\ub9ac"],"block search term\x04mosaic":["\ubaa8\uc790\uc774\ud06c"],"block search term\x04circle":["\uc6d0\ud615"],Grow:["\uc131\uc7a5"],Earn:["\uc218\uc775 \ucc3d\ucd9c"],"block search term\x04square":["\uc0ac\uac01\ud615"],"block search term\x04columns":["\uc5f4"],"block search term\x04social":["\uc18c\uc15c"],"Rounded corners":["\ub465\uadfc \ubaa8\uc11c\ub9ac"],"Move image forward":["\uc774\ubbf8\uc9c0\ub97c \uc55e\uc73c\ub85c \uc774\ub3d9"],"Move image backward":["\uc774\ubbf8\uc9c0\ub97c \ub4a4\ub85c \uc774\ub3d9"],"Serves images using Jetpack's fast global network of servers.":["\uc82f\ud329\uc758 \ube60\ub978 \uae00\ub85c\ubc8c \uc11c\ubc84 \ub124\ud2b8\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ubbf8\uc9c0\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4."],"block search term\x04photos":["\uc0ac\uc9c4"],"block search term\x04address":["\uc8fc\uc18c"],"block search term\x04phone":["\uc804\ud654"],"block search term\x04message":["\uba54\uc2dc\uc9c0"],"block search term\x04image":["\uc774\ubbf8\uc9c0"],"Lets you add an email address with an automatically generated click-to-email link.":["\uc790\ub3d9 \uc0dd\uc131\ub41c \ud074\ub9ad \uc720\ub3c4 \uc774\uba54\uc77c \ub9c1\ud06c\uac00 \ud3ec\ud568\ub41c \uc774\uba54\uc77c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Open address in Google Maps":["Google \uc9c0\ub3c4\uc5d0\uc11c \uc8fc\uc18c \uc5f4\uae30"],Columns:["\uc5f4"],images:["\uc774\ubbf8\uc9c0"],"Tiled gallery layout\x04Tiled columns":["\ubc14\ub451\ud310\uc2dd \uc5f4"],"Tiled gallery layout\x04Square tiles":["\uc815\uc0ac\uac01\ud615 \ud0c0\uc77c"],"Tiled gallery layout\x04Circles":["\uc6d0\ud615"],"Tiled gallery layout\x04Tiled mosaic":["\ud0c0\uc77c \ubaa8\uc790\uc774\ud06c"],"block search term\x04gallery":["\uac24\ub7ec\ub9ac"],"block search term\x04pictures":["\uc0ac\uc9c4"],"block search term\x04cell":["\uc140"],"block search term\x04telephone":["\uc804\ud654"],"block search term\x04mobile":["\ubaa8\ubc14\uc77c"],"block search term\x04images":["\uc774\ubbf8\uc9c0"],"block search term\x04email":["\uc774\uba54\uc77c"],"block search term\x04place":["\uac80\uc0c9\uc5b4 \ucc28\ub2e8"],"block search term\x04direction":["\uac80\uc0c9\uc5b4 \ucc28\ub2e8"],"block search term\x04location":["\uc704\uce58"],"Tiled Gallery":["\ubc14\ub451\ud310\uc2dd \uac24\ub7ec\ub9ac"],"Display multiple images in an elegantly organized tiled layout.":["\uc6b0\uc544\ud558\uac8c \uc870\ud654\ub41c \ud0c0\uc77c \ub808\uc774\uc544\uc6c3\uc73c\ub85c \ub2e4\uc911 \uc774\ubbf8\uc9c0\ub97c \ud45c\uc2dc\ud558\uc138\uc694."],"Lets you add a phone number with an automatically generated click-to-call link.":["\uc790\ub3d9 \uc0dd\uc131\ub41c \ud074\ub9ad \uc720\ub3c4 \ubb38\uc548 \ub9c1\ud06c\uac00 \ud3ec\ud568\ub41c \uc804\ud654\ubc88\ud638\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Phone Number":["\uc804\ud654\ubc88\ud638"],"Phone number":["\uc804\ud654\ubc88\ud638"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\ubcf4\ub2e4 \ub098\uc740 SEO \uacb0\uacfc\ub97c \uc5bb\ub3c4\ub85d \ub9c8\ud06c\uc5c5\uc774 \uac1c\uc120\ub41c \uc774\uba54\uc77c \uc8fc\uc18c, \uc804\ud654\ubc88\ud638 \ubc0f \uc2e4\uc81c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],"Lets you add a physical address with Schema markup.":["\uc2a4\ud0a4\ub9c8 \ub9c8\ud06c\uc5c5\uc774 \ud3ec\ud568\ub41c \uc2e4\uc81c \uc8fc\uc18c\ub97c \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."],Address:["\uc8fc\uc18c"],Country:["\uad6d\uac00"],"Postal/Zip Code":["\uc6b0\ud3b8 \ubc88\ud638"],"State/Province/Region":["\uc8fc/\ub3c4/\uc9c0\uc5ed"],City:["\ub3c4\uc2dc"],"Address Line 3":["\uc8fc\uc18c \uc904 3"],"Address Line 2":["\uc8fc\uc18c \uc904 2"],"Street Address":["\uc8fc\uc18c"],"Link address to Google Maps":["\uc8fc\uc18c\ub97c Google \uc9c0\ub3c4\uc5d0 \uc5f0\uacb0"],"image %1$d of %2$d in gallery":["\uac24\ub7ec\ub9ac\uc758 \uc774\ubbf8\uc9c0 %1$d/%2$d\uac1c"],"Remove image":["\uc774\ubbf8\uc9c0 \uc0ad\uc81c"],"Contact Info":["\uc5f0\ub77d\ucc98"],"Email Address":["\uc804\uc790 \uc6b0\ud3b8 \uc8fc\uc18c"],Email:["\uc774\uba54\uc77c"]}},3411,[]); +__d(function(e,r,a,l,o,s,t){o.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Bygg inn et Instagram-innlegg"],"Embed a Facebook post.":["Bygg inn et Facebook-innlegg."],"Embed a Loom video.":["Bygg inn en Loom-video."],video:["video"],"Upgrade your plan to upload audio":["Oppgrader din abonnementspakke for \xe5 laste opp lyd"],"Upgrade your plan to use video covers":["Oppgrader din abonnementspakke for \xe5 bruke videomslag"],"Add an interactive story.":["Legg til en interaktiv fortelling."],"block search term\x04video":["video"],"block search term\x04story":["fortelling"],Story:["Fortelling"],"block search term\x04mosaic":["mosaikk"],"block search term\x04circle":["sirkel"],Grow:["Voks"],Earn:["Tjen"],"block search term\x04square":["kvadrat"],"block search term\x04columns":["kolonner"],"block search term\x04social":["sosialt"],"Rounded corners":["Avrundede hj\xf8rner"],"Move image forward":["Flytt bilde forover"],"Move image backward":["Flytt bilde bakover"],"Serves images using Jetpack's fast global network of servers.":["Leverer bilder med Jetpacks raske, globale nettverk av servere."],"block search term\x04photos":["fotografier"],"block search term\x04address":["adresse"],"block search term\x04phone":["telefon"],"block search term\x04message":["melding"],"block search term\x04image":["bilde"],"Lets you add an email address with an automatically generated click-to-email link.":["Lar deg legge til en e-postadresse med automatisk generert, klikkbar e-postlenke."],"Open address in Google Maps":["\xc5pne adresse i Google Kart"],Columns:["Kolonner"],images:["bilder"],"Tiled gallery layout\x04Tiled columns":["Flislagte kolonner"],"Tiled gallery layout\x04Square tiles":["Kvadratiske fliser"],"Tiled gallery layout\x04Circles":["Sirkler"],"Tiled gallery layout\x04Tiled mosaic":["Flislagt mosaikk"],"block search term\x04gallery":["galleri"],"block search term\x04pictures":["bilder"],"block search term\x04cell":["celle"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["bilder"],"block search term\x04email":["e-post"],"block search term\x04place":["sted"],"block search term\x04direction":["retning"],"block search term\x04location":["stedsangivelse"],"Tiled Gallery":["Flislagt galleri"],"Display multiple images in an elegantly organized tiled layout.":["Vis flere bilder i en elegant organisert utforming."],"Lets you add a phone number with an automatically generated click-to-call link.":["Lar deg legge til et telefonnummer med automatisk generert klikk-for-\xe5-ringe-lenke."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Lar deg legge til en e-postadresse, telefonnummer og fysisk adresse med forbedret markup for bedre SEO-resultater."],"Lets you add a physical address with Schema markup.":["Lar deg legge til en fysisk adresse i Schema-data."],Address:["Adresse"],Country:["Land"],"Postal/Zip Code":["Postnummer"],"State/Province/Region":["Fylke"],City:["By"],"Address Line 3":["Adresselinje 3"],"Address Line 2":["Adresselinje 2"],"Street Address":["Vei-/gateadresse"],"Link address to Google Maps":["Lenke adresse til Google Kart"],"image %1$d of %2$d in gallery":["bilde %1$d av %2$d i galleri"],"Remove image":["Fjern bilde"],"Contact Info":["Kontakt-informasjon"],"Email Address":["E-postadresse"],Email:["E-post"]}},3412,[]); +__d(function(e,a,r,o,l,n,t){l.exports={"Embed a SmartFrame Image.":["Sluit een SmartFrame-afbeelding in."],smartframe:["smartframe"],"Embed an Instagram post.":["Sluit een Instagram bericht in."],"Embed a Facebook post.":["Sluit een Facebook bericht in."],"Embed a Loom video.":["Sluit een Loom video in."],video:["video"],"Upgrade your plan to upload audio":["Upgrade je plan om audio te uploaden"],"Upgrade your plan to use video covers":["Upgrade je plan om video covers te gebruiken"],"Add an interactive story.":["Voeg een interactief verhaal toe."],"block search term\x04video":["video"],"block search term\x04story":["verhaal"],Story:["Verhaal"],"block search term\x04mosaic":["moza\xefek"],"block search term\x04circle":["cirkel"],Grow:["Doorgroeien"],Earn:["Verdienen"],"block search term\x04square":["vierkant"],"block search term\x04columns":["kolommen"],"block search term\x04social":["sociaal"],"Rounded corners":["Afgeronde hoeken"],"Move image forward":["Afbeelding naar voren verplaatsen"],"Move image backward":["Afbeelding naar achteren verplaatsen"],"Serves images using Jetpack's fast global network of servers.":["Laadt afbeeldingen via het snelle, globale servernetwerk van Jetpack."],"block search term\x04photos":["foto's"],"block search term\x04address":["adres"],"block search term\x04phone":["telefoon"],"block search term\x04message":["bericht"],"block search term\x04image":["afbeelding"],"Lets you add an email address with an automatically generated click-to-email link.":["Hiermee kun je een e-mailadres met een automatisch gegenereerde link voor direct e-mailen toevoegen."],"Open address in Google Maps":["Adres openen in Google Maps"],Columns:["Kolommen"],images:["afbeeldingen"],"Tiled gallery layout\x04Tiled columns":["Getegelde kolommen"],"Tiled gallery layout\x04Square tiles":["Vierkante tegels"],"Tiled gallery layout\x04Circles":["Cirkels"],"Tiled gallery layout\x04Tiled mosaic":["Tegelmoza\xefek"],"block search term\x04gallery":["galerij"],"block search term\x04pictures":["afbeeldingen"],"block search term\x04cell":["mobiele telefoon"],"block search term\x04telephone":["telefoon"],"block search term\x04mobile":["mobiel"],"block search term\x04images":["afbeeldingen"],"block search term\x04email":["e-mail"],"block search term\x04place":["plaats"],"block search term\x04direction":["route"],"block search term\x04location":["locatie"],"Tiled Gallery":["Getegelde galerij"],"Display multiple images in an elegantly organized tiled layout.":["Toon meerdere afbeeldingen in een elegante georganiseerde lay-out."],"Lets you add a phone number with an automatically generated click-to-call link.":["Hiermee kun je een telefoonnummer met een automatisch gegenereerde link voor direct bellen toevoegen."],"Phone Number":["Telefoonnummer"],"Phone number":["Telefoonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Hiermee kun je een e-mailadres, telefoonnummer en fysiek adres toevoegen, met verbeterde opmaak voor betere SEO-resultaten."],"Lets you add a physical address with Schema markup.":["Hiermee kun je een fysiek adres met Schema-markering toevoegen."],Address:["Adres"],Country:["Land"],"Postal/Zip Code":["Postcode"],"State/Province/Region":["Staat/provincie/regio"],City:["Stad"],"Address Line 3":["Adresregel 3"],"Address Line 2":["Adresregel 2"],"Street Address":["Woonadres"],"Link address to Google Maps":["Koppel adres aan Google Maps"],"image %1$d of %2$d in gallery":["afbeelding %1$d van %2$d in de galerij"],"Remove image":["Verwijder afbeelding"],"Contact Info":["Contactinformatie"],"Email Address":["E-mailadres"],Email:["E-mail"]}},3413,[]); +__d(function(e,a,r,o,l,n,t){l.exports={"Embed a SmartFrame Image.":["Een SmartFrame afbeelding insluiten."],smartframe:["smartframe"],"Embed an Instagram post.":["Een Instagram bericht insluiten."],"Embed a Facebook post.":["Een Facebook bericht insluiten."],"Embed a Loom video.":["Een Loom video insluiten."],video:["video"],"Upgrade your plan to upload audio":["Upgrade je plan om audio te uploaden"],"Upgrade your plan to use video covers":["Upgrade je plan om video covers te gebruiken"],"Add an interactive story.":["Een interactief verhaal toevoegen."],"block search term\x04video":["video"],"block search term\x04story":["verhaal"],Story:["Verhaal"],"block search term\x04mosaic":["moza\xefek"],"block search term\x04circle":["cirkel"],Grow:["Doorgroeien"],Earn:["Verdienen"],"block search term\x04square":["vierkant"],"block search term\x04columns":["kolommen"],"block search term\x04social":["sociaal"],"Rounded corners":["Afgeronde hoeken"],"Move image forward":["Afbeelding naar voren verplaatsen"],"Move image backward":["Afbeelding naar achteren verplaatsen"],"Serves images using Jetpack's fast global network of servers.":["Laadt afbeeldingen via het snelle, globale servernetwerk van Jetpack."],"block search term\x04photos":["foto's"],"block search term\x04address":["adres"],"block search term\x04phone":["telefoon"],"block search term\x04message":["bericht"],"block search term\x04image":["afbeelding"],"Lets you add an email address with an automatically generated click-to-email link.":["Hiermee kun je een e-mailadres met een automatisch gegenereerde link voor direct e-mailen toevoegen."],"Open address in Google Maps":["Adres openen in Google Maps"],Columns:["Kolommen"],images:["afbeeldingen"],"Tiled gallery layout\x04Tiled columns":["Getegelde kolommen"],"Tiled gallery layout\x04Square tiles":["Vierkante tegels"],"Tiled gallery layout\x04Circles":["Cirkels"],"Tiled gallery layout\x04Tiled mosaic":["Tegelmoza\xefek"],"block search term\x04gallery":["galerij"],"block search term\x04pictures":["afbeeldingen"],"block search term\x04cell":["mobiele telefoon"],"block search term\x04telephone":["telefoon"],"block search term\x04mobile":["mobiel"],"block search term\x04images":["afbeeldingen"],"block search term\x04email":["e-mail"],"block search term\x04place":["plaats"],"block search term\x04direction":["route"],"block search term\x04location":["locatie"],"Tiled Gallery":["Getegelde galerij"],"Display multiple images in an elegantly organized tiled layout.":["Meerdere afbeeldingen in een elegant ingedeelde tegellay-out weergeven."],"Lets you add a phone number with an automatically generated click-to-call link.":["Hiermee kun je een telefoonnummer met een automatisch gegenereerde link voor direct bellen toevoegen."],"Phone Number":["Telefoonnummer"],"Phone number":["Telefoonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Hiermee kun je een e-mailadres, telefoonnummer en fysiek adres toevoegen, met verbeterde opmaak voor betere SEO-resultaten."],"Lets you add a physical address with Schema markup.":["Hiermee kun je een fysiek adres met Schema-markering toevoegen."],Address:["Adres"],Country:["Land"],"Postal/Zip Code":["Postcode"],"State/Province/Region":["Staat/provincie/regio"],City:["Stad"],"Address Line 3":["Adresregel 3"],"Address Line 2":["Adresregel 2"],"Street Address":["Woonadres"],"Link address to Google Maps":["Koppel adres aan Google Maps"],"image %1$d of %2$d in gallery":["afbeelding %1$d van %2$d in de galerij"],"Remove image":["Verwijder afbeelding"],"Contact Info":["Contactinformatie"],"Email Address":["E-mailadres"],Email:["E-mail"]}},3414,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["Osad\u017a wpis z Instagram."],"Embed a Facebook post.":["Osad\u017a wpis z Facebook."],"Embed a Loom video.":[],video:["film"],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":["Przenie\u015b obraz do przodu"],"Move image backward":["Przenie\u015b obraz do ty\u0142u"],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:["Kolumny"],images:["obrazki"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["obrazek %1$d z %2$d w galerii"],"Remove image":["Usu\u0144 obrazek"],"Contact Info":["Dane kontaktowe"],"Email Address":["Adres e-mail"],Email:["E-mail"]}},3415,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Informa\xe7\xf5es de contacto"],"Email Address":["Endere\xe7o de email"],Email:["Email"]}},3416,[]); +__d(function(e,a,o,r,s,d,l){s.exports={"Embed a SmartFrame Image.":["Incorpore uma imagem do SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Incorporar um post do Instagram."],"Embed a Facebook post.":["Incorporar um post do Facebook."],"Embed a Loom video.":["Incorpore um v\xeddeo do Loom."],video:["v\xeddeo"],"Upgrade your plan to upload audio":["Fa\xe7a upgrade do seu plano para fazer upload de \xe1udios"],"Upgrade your plan to use video covers":["Fa\xe7a upgrade do seu plano para usar capas de v\xeddeo"],"Add an interactive story.":["Adicione uma story interativa."],"block search term\x04video":["v\xeddeo"],"block search term\x04story":["story"],Story:["Story"],"block search term\x04mosaic":["mosaico"],"block search term\x04circle":["c\xedrculo"],Grow:["Cres\xe7a"],Earn:["Ganhe"],"block search term\x04square":["quadrado"],"block search term\x04columns":["colunas"],"block search term\x04social":["social"],"Rounded corners":["Bordas arredondadas"],"Move image forward":["Mover imagem para frente"],"Move image backward":["Mover imagem para tr\xe1s"],"Serves images using Jetpack's fast global network of servers.":["Transmite imagens usando a r\xe1pida rede global de servidores do Jetpack."],"block search term\x04photos":["fotos"],"block search term\x04address":["endere\xe7o"],"block search term\x04phone":["telefone"],"block search term\x04message":["mensagem"],"block search term\x04image":["imagem"],"Lets you add an email address with an automatically generated click-to-email link.":["Permite que voc\xea adicione um endere\xe7o de e-mail com um link para envio gerado automaticamente."],"Open address in Google Maps":["Abrir endere\xe7o no Google Maps"],Columns:["Colunas"],images:["imagens"],"Tiled gallery layout\x04Tiled columns":["Colunas organizadas lado a lado"],"Tiled gallery layout\x04Square tiles":["Mosaicos quadrados"],"Tiled gallery layout\x04Circles":["C\xedrculos"],"Tiled gallery layout\x04Tiled mosaic":["Mosaicos"],"block search term\x04gallery":["galeria"],"block search term\x04pictures":["fotos"],"block search term\x04cell":["celular"],"block search term\x04telephone":["telefone"],"block search term\x04mobile":["dispositivo m\xf3vel"],"block search term\x04images":["imagens"],"block search term\x04email":["e-mail"],"block search term\x04place":["lugar"],"block search term\x04direction":["dire\xe7\xe3o"],"block search term\x04location":["localiza\xe7\xe3o"],"Tiled Gallery":["Galeria em colunas"],"Display multiple images in an elegantly organized tiled layout.":["Exiba m\xfaltiplas imagens em um layout elegante e organizado lado a lado."],"Lets you add a phone number with an automatically generated click-to-call link.":["Permite que voc\xea adicione um n\xfamero de telefone com um link de clique para discar."],"Phone Number":["N\xfamero do telefone"],"Phone number":["N\xfamero do telefone"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Permite que voc\xea adicione um endere\xe7o de e-mail, n\xfamero de telefone e endere\xe7o f\xedsico para melhores resultados de SEO."],"Lets you add a physical address with Schema markup.":["Permite que voc\xea adicione um endere\xe7o f\xedsico com marca\xe7\xe3o Schema."],Address:["Endere\xe7o"],Country:["Pa\xeds"],"Postal/Zip Code":["CEP"],"State/Province/Region":["Estado"],City:["Cidade"],"Address Line 3":["Linha de endere\xe7o 3"],"Address Line 2":["Linha de endere\xe7o 2"],"Street Address":["Logradouro"],"Link address to Google Maps":["Link para os mapas do Google"],"image %1$d of %2$d in gallery":["imagem %1$d de %2$d na galeria"],"Remove image":["Remover imagem"],"Contact Info":["Informa\xe7\xf5es de contato"],"Email Address":["Endere\xe7o de e-mail"],Email:["E-mail"]}},3417,[]); +__d(function(e,a,r,i,o,l,t){o.exports={"Embed a SmartFrame Image.":["\xcenglobeaz\u0103 o imagine SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["\xcenglobeaz\u0103 un articol Instagram."],"Embed a Facebook post.":["\xcenglobeaz\u0103 un articol Facebook."],"Embed a Loom video.":["\xcenglobeaz\u0103 un video Loom."],video:["video"],"Upgrade your plan to upload audio":["Pentru a \xeenc\u0103rca fi\u0219iere audio, actualizeaz\u0103-\u021bi planul"],"Upgrade your plan to use video covers":["Pentru a folosi coperte video, actualizeaz\u0103-\u021bi planul"],"Add an interactive story.":["Adaug\u0103 o nara\u021biune interactiv\u0103."],"block search term\x04video":["video"],"block search term\x04story":["nara\u021biune"],Story:["Nara\u021biune"],"block search term\x04mosaic":["mozaic"],"block search term\x04circle":["cerc"],Grow:["Dezvolt\u0103"],Earn:["C\xe2\u0219tig\u0103"],"block search term\x04square":["p\u0103trat"],"block search term\x04columns":["coloane"],"block search term\x04social":["social"],"Rounded corners":["Col\u021buri rotunjite"],"Move image forward":["Mut\u0103 imaginea \xeenainte"],"Move image backward":["Mut\u0103 imaginea \xeenapoi"],"Serves images using Jetpack's fast global network of servers.":["Serve\u0219te imagini folosind re\u021beaua de servere global\u0103 \u0219i rapid\u0103 oferit\u0103 de Jetpack."],"block search term\x04photos":["fotografii"],"block search term\x04address":["adres\u0103"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesaj"],"block search term\x04image":["imagine"],"Lets you add an email address with an automatically generated click-to-email link.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 de email cu o leg\u0103tur\u0103 \u201ed\u0103 clic pe email\u201d generat\u0103 automat."],"Open address in Google Maps":["Deschide adresa \xeen H\u0103r\u021bi Google"],Columns:["Coloane"],images:["imagini"],"Tiled gallery layout\x04Tiled columns":["Coloane placate"],"Tiled gallery layout\x04Square tiles":["Pl\u0103ci p\u0103trate"],"Tiled gallery layout\x04Circles":["Cercuri"],"Tiled gallery layout\x04Tiled mosaic":["Mozaic placat"],"block search term\x04gallery":["galerie"],"block search term\x04pictures":["fotografii"],"block search term\x04cell":["celular"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["imagini"],"block search term\x04email":["email"],"block search term\x04place":["loc"],"block search term\x04direction":["direc\u021bie"],"block search term\x04location":["loca\u021bie"],"Tiled Gallery":["Galerie placat\u0103"],"Display multiple images in an elegantly organized tiled layout.":["Afi\u0219eaz\u0103 mai multe imagini \xeentr-un aranjament placat elegant \u0219i bine organizat."],"Lets you add a phone number with an automatically generated click-to-call link.":["\xce\u021bi permite s\u0103 adaugi un num\u0103r de telefon cu o leg\u0103tur\u0103 \u201eD\u0103 clic pentru apelare\u201d generat\u0103 automat."],"Phone Number":["Num\u0103r de telefon"],"Phone number":["Num\u0103r de telefon"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 de email, un num\u0103r de telefon \u0219i o adres\u0103 fizic\u0103 cu markup \xeembun\u0103t\u0103\u021bit, pentru rezultate SEO mai bune."],"Lets you add a physical address with Schema markup.":["\xce\u021bi permite s\u0103 adaugi o adres\u0103 fizic\u0103 cu Schema markup."],Address:["Adres\u0103"],Country:["\u021aar\u0103"],"Postal/Zip Code":["Cod po\u0219tal (ZIP)"],"State/Province/Region":["Jude\u021b/provincie/regiune"],City:["Ora\u0219"],"Address Line 3":["A treia linie a adresei"],"Address Line 2":["A doua linie a adresei"],"Street Address":["Strad\u0103"],"Link address to Google Maps":["Leag\u0103 adresa la H\u0103r\u021bi Google"],"image %1$d of %2$d in gallery":["imaginea %1$d din %2$d din galerie"],"Remove image":["\xcenl\u0103tur\u0103 imaginea"],"Contact Info":["Informa\u021bii de contact"],"Email Address":["Adres\u0103 email"],Email:["Email"]}},3418,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 SmartFrame."],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c Instagram."],"Embed a Facebook post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c Facebook."],"Embed a Loom video.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e Loom."],video:["\u0432\u0438\u0434\u0435\u043e"],"Upgrade your plan to upload audio":["\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0439 \u043f\u043b\u0430\u043d, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0430\u0443\u0434\u0438\u043e"],"Upgrade your plan to use video covers":["\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0442\u0430\u0440\u0438\u0444\u043d\u044b\u0439 \u043f\u043b\u0430\u043d, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e\u043e\u0431\u043b\u043e\u0436\u043a\u0438"],"Add an interactive story.":["\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e."],"block search term\x04video":["\u0432\u0438\u0434\u0435\u043e"],"block search term\x04story":["\u0438\u0441\u0442\u043e\u0440\u0438\u044f"],Story:["\u0418\u0441\u0442\u043e\u0440\u0438\u044f"],"block search term\x04mosaic":["\u043c\u043e\u0437\u0430\u0438\u043a\u0430"],"block search term\x04circle":["\u043a\u0440\u0443\u0433"],Grow:["\u0420\u0430\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c"],Earn:["\u0417\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0439\u0442\u0435"],"block search term\x04square":["\u043a\u0432\u0430\u0434\u0440\u0430\u0442"],"block search term\x04columns":["\u0441\u0442\u043e\u043b\u0431\u0446\u044b"],"block search term\x04social":["\u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438"],"Rounded corners":["\u0421\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u043d\u044b\u0435 \u0443\u0433\u043b\u044b"],"Move image forward":["\u0421\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u043f\u0435\u0440\u0435\u0434"],"Move image backward":["\u0421\u0434\u0432\u0438\u043d\u0443\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0437\u0430\u0434"],"Serves images using Jetpack's fast global network of servers.":["\u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 Jetpack."],"block search term\x04photos":["\u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438"],"block search term\x04address":["\u0430\u0434\u0440\u0435\u0441"],"block search term\x04phone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04message":["\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435"],"block search term\x04image":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Lets you add an email address with an automatically generated click-to-email link.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u0438\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u0435\u043c."],"Open address in Google Maps":["\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432 Google \u041a\u0430\u0440\u0442\u0430\u0445"],Columns:["\u0421\u0442\u043e\u043b\u0431\u0446\u044b"],images:["\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"Tiled gallery layout\x04Tiled columns":["\u0421\u0442\u043e\u043b\u0431\u0446\u044b \u0438\u0437 \u043f\u043b\u0438\u0442\u043e\u043a"],"Tiled gallery layout\x04Square tiles":["\u041a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u043b\u0438\u0442\u043a\u0438"],"Tiled gallery layout\x04Circles":["\u041a\u0440\u0443\u0433\u0438"],"Tiled gallery layout\x04Tiled mosaic":["\u041f\u043b\u0438\u0442\u043a\u0430 (\u043c\u043e\u0437\u0430\u0438\u043a\u0430)"],"block search term\x04gallery":["\u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"block search term\x04pictures":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"block search term\x04cell":["\u0441\u043e\u0442\u043e\u0432\u044b\u0439"],"block search term\x04telephone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04mobile":["\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04images":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f"],"block search term\x04email":["\u044d\u043b. \u043f\u043e\u0447\u0442\u0430"],"block search term\x04place":["\u043c\u0435\u0441\u0442\u043e"],"block search term\x04direction":["\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435"],"block search term\x04location":["\u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435"],"Tiled Gallery":["\u0413\u0430\u043b\u0435\u0440\u0435\u044f \u043f\u043b\u0438\u0442\u043a\u043e\u0439"],"Display multiple images in an elegantly organized tiled layout.":["\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432 \u0432\u0438\u0434\u0435 \u044d\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u044b\u0445 \u043f\u043b\u0438\u0442\u043e\u043a."],"Lets you add a phone number with an automatically generated click-to-call link.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u043d\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u043e\u0439, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438."],"Phone Number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430"],"Phone number":["\u0422\u0435\u043b\u0435\u0444\u043e\u043d"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b, \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0441 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438."],"Lets you add a physical address with Schema markup.":["\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0441 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u043e\u0439."],Address:["\u0410\u0434\u0440\u0435\u0441"],Country:["\u0421\u0442\u0440\u0430\u043d\u0430"],"Postal/Zip Code":["\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441"],"State/Province/Region":["\u0428\u0442\u0430\u0442/\u043f\u0440\u043e\u0432\u0438\u043d\u0446\u0438\u044f/\u0440\u0435\u0433\u0438\u043e\u043d"],City:["\u0413\u043e\u0440\u043e\u0434"],"Address Line 3":["\u0410\u0434\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 3"],"Address Line 2":["\u0410\u0434\u0440\u0435\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 2"],"Street Address":["\u0410\u0434\u0440\u0435\u0441 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0443\u043b\u0438\u0446\u044b \u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u0434\u043e\u043c\u0430"],"Link address to Google Maps":["\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0430\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 Google \u041a\u0430\u0440\u0442\u044b"],"image %1$d of %2$d in gallery":["\u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 %1$d \u0438\u0437 %2$d \u0432 \u0433\u0430\u043b\u0435\u0440\u0435\u0435"],"Remove image":["\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435"],"Contact Info":["\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"],"Email Address":["Email \u0430\u0434\u0440\u0435\u0441"],Email:["Email"]}},3419,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:["Pr\xedbeh"],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["Obr\xe1zky"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["Kontaktn\xe9 \xfadaje"],"Email Address":["E-mailov\xe1 adresa"],Email:["E-mail"]}},3420,[]); +__d(function(e,r,a,o,i,t,l){i.exports={"Embed a SmartFrame Image.":["Trup\xebzoni nj\xeb Figur\xeb SmartFrame."],smartframe:["smartframe"],"Embed an Instagram post.":["Trup\xebzoni postim Instagram."],"Embed a Facebook post.":["Trup\xebzoni postim Facebook."],"Embed a Loom video.":["Trup\xebzoni video Loom."],video:["video"],"Upgrade your plan to upload audio":["Q\xeb t\xeb ngarkoni audio, p\xebrmir\xebsoni planin tuaj"],"Upgrade your plan to use video covers":["Q\xeb t\xeb p\xebrdorni kapak\xeb video, p\xebrmir\xebsoni planin tuaj"],"Add an interactive story.":["Shtoni nj\xeb artikull nd\xebrveprues."],"block search term\x04video":["video"],"block search term\x04story":["artikull"],Story:["Artikull"],"block search term\x04mosaic":["mozaik"],"block search term\x04circle":["rreth"],Grow:["Fuqizoje"],Earn:["Fitoni"],"block search term\x04square":["katror"],"block search term\x04columns":["shtylla"],"block search term\x04social":["shoq\xebror"],"Rounded corners":["Cepa t\xeb rrumbullakosur"],"Move image forward":["Shpjere figur\xebn p\xebrpara"],"Move image backward":["Shpjere figur\xebn prapa"],"Serves images using Jetpack's fast global network of servers.":["I sh\xebrben figurat duke p\xebrdorur rrjetin e shpejt\xeb global t\xeb sh\xebrbyesve Jetpack."],"block search term\x04photos":["foto"],"block search term\x04address":["adres\xeb"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesazh"],"block search term\x04image":["figur\xeb"],"Lets you add an email address with an automatically generated click-to-email link.":["Ju lejon shtimin e nj\xeb adrese email me nj\xeb lidhje t\xeb prodhuar vetvetiu p\xebr d\xebrgim email-i, n\xebse klikohet mbi t\xeb."],"Open address in Google Maps":["Hape adres\xebn n\xeb Google Maps"],Columns:["Shtylla"],images:["figura"],"Tiled gallery layout\x04Tiled columns":["Mozaik shtyllash"],"Tiled gallery layout\x04Square tiles":["Kuadrate"],"Tiled gallery layout\x04Circles":["Rrath\xeb"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik me kuadrate"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["foto"],"block search term\x04cell":["kutiz\xeb"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["celular"],"block search term\x04images":["figura"],"block search term\x04email":["email"],"block search term\x04place":["vend"],"block search term\x04direction":["drejtim"],"block search term\x04location":["vendndodhje"],"Tiled Gallery":["Galeri Mozaik"],"Display multiple images in an elegantly organized tiled layout.":["Shfaqni figura t\xeb shumta p\xebrmes nj\xeb skeme mozaik t\xeb sistemuar n\xeb m\xebnyr\xeb elegante."],"Lets you add a phone number with an automatically generated click-to-call link.":["Ju lejon shtimin e nj\xeb numri telefoni me nj\xeb lidhje klikojeni-p\xebr-thirrje, t\xeb prodhuar vetvetiu."],"Phone Number":["Num\xebr Telefoni"],"Phone number":["Num\xebr telefoni"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Ju lejon t\xeb shtoni nj\xeb adres\xeb email, num\xebr telefoni dhe adres\xeb fizike , me markup t\xeb p\xebrmir\xebsuar, p\xebr p\xebrfundime SEO m\xeb t\xeb mira."],"Lets you add a physical address with Schema markup.":["Ju lejon t\xeb shtoni nj\xeb adres\xeb fizike p\xebrmes markup-i Schema."],Address:["Adres\xeb"],Country:["Vend"],"Postal/Zip Code":["Kod Zip/Postar"],"State/Province/Region":["Shtet/Provinc\xeb/Rajon"],City:["Qytet"],"Address Line 3":["Rresht 3 Adrese"],"Address Line 2":["Rresht 2 Adrese"],"Street Address":["Adres\xeb Rruge"],"Link address to Google Maps":["Lidhni adres\xeb te Google Maps"],"image %1$d of %2$d in gallery":["figura %1$d nga %2$d n\xeb galeri"],"Remove image":["Hiqe figur\xebn"],"Contact Info":["T\xeb dh\xebna Kontakti"],"Email Address":["Adres\xeb Email"],Email:["Email"]}},3421,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:["\u0417\u0430\u0440\u0430\u0434\u0438\u0442\u0435"],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":["\u043f\u043e\u0440\u0443\u043a\u0430"],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["\u0423\u043a\u043b\u043e\u043d\u0438 \u0441\u043b\u0438\u043a\u0443"],"Contact Info":["\u041f\u043e\u0434\u0430\u0446\u0438 \u0437\u0430 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438\u0440\u0430\u045a\u0435"],"Email Address":["\u0410\u0434\u0440\u0435\u0441\u0430 \u0435-\u043f\u043e\u0448\u0442\u0435"],Email:["\u0415-\u043f\u043e\u0448\u0442\u0430"]}},3422,[]); +__d(function(e,a,r,t,l,s,o){l.exports={"Embed a SmartFrame Image.":["B\xe4dda in en SmartFrame-bild."],smartframe:[],"Embed an Instagram post.":["B\xe4dda in ett inl\xe4gg fr\xe5n Instagram."],"Embed a Facebook post.":["B\xe4dda in ett inl\xe4gg fr\xe5n Facebook."],"Embed a Loom video.":["B\xe4dda in en video fr\xe5n Loom."],video:["video"],"Upgrade your plan to upload audio":["Uppgradera ditt paket f\xf6r att ladda upp ljud"],"Upgrade your plan to use video covers":["Uppgradera ditt paket f\xf6r att anv\xe4nda videocovers"],"Add an interactive story.":["L\xe4gg till en interaktivt ber\xe4ttelse."],"block search term\x04video":["video"],"block search term\x04story":["ber\xe4ttelse"],Story:["Ber\xe4ttelse"],"block search term\x04mosaic":["mosaik"],"block search term\x04circle":["cirkel"],Grow:["V\xe4x"],Earn:["Tj\xe4na"],"block search term\x04square":["fyrkantig"],"block search term\x04columns":["kolumner"],"block search term\x04social":["socialt"],"Rounded corners":["Rundade h\xf6rn"],"Move image forward":["Flytta bilden fram\xe5t"],"Move image backward":["Flytta bilden bak\xe5t"],"Serves images using Jetpack's fast global network of servers.":["Servar bilder med hj\xe4lp av Jetpacks snabba globala n\xe4tverk av servrar."],"block search term\x04photos":["foton"],"block search term\x04address":["adress"],"block search term\x04phone":["telefon"],"block search term\x04message":["meddelande"],"block search term\x04image":["bild"],"Lets you add an email address with an automatically generated click-to-email link.":["L\xe5ter dig l\xe4gga till en e-postadress med en automatiskt genererad e-postl\xe4nk."],"Open address in Google Maps":["\xd6ppna adress i Google Maps"],Columns:["Kolumner"],images:["bilder"],"Tiled gallery layout\x04Tiled columns":["kolumner sida vid sida"],"Tiled gallery layout\x04Square tiles":["rutor sida vid sida"],"Tiled gallery layout\x04Circles":["Cirklar"],"Tiled gallery layout\x04Tiled mosaic":["mosaik sida vid sida"],"block search term\x04gallery":["galleri"],"block search term\x04pictures":["bilder"],"block search term\x04cell":["mobil"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["bilder"],"block search term\x04email":["e-post"],"block search term\x04place":["plats"],"block search term\x04direction":["riktning"],"block search term\x04location":["plats"],"Tiled Gallery":["Mosaikgalleri"],"Display multiple images in an elegantly organized tiled layout.":["Visa flera bilder i en elegant organiserad layout."],"Lets you add a phone number with an automatically generated click-to-call link.":["L\xe5ter dig l\xe4gga till ett telefonnummer med en automatiskt genererad samtalsl\xe4nk."],"Phone Number":["Telefonnummer"],"Phone number":["Telefonnummer"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["L\xe5ter dig l\xe4gga till en e-postadress, telefonnummer och fysisk adress med f\xf6rb\xe4ttrad kod f\xf6r b\xe4ttre s\xf6kmotorsoptimeringsresultat."],"Lets you add a physical address with Schema markup.":["L\xe5ter dig l\xe4gga till en fysisk adress med Schema-kod."],Address:["Adress"],Country:["Land"],"Postal/Zip Code":["Postnummer"],"State/Province/Region":["Delstat/provins/region"],City:["Ort"],"Address Line 3":["Adressrad 3"],"Address Line 2":["Adressrad 2"],"Street Address":["Gatuadress"],"Link address to Google Maps":["L\xe4nkadress till Google Maps"],"image %1$d of %2$d in gallery":["bild %1$d av %2$d i galleriet"],"Remove image":["Ta bort bild"],"Contact Info":["Kontaktuppgifter"],"Email Address":["E-postadress"],Email:["E-post"]}},3423,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d"],"Email Address":["\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c"],Email:["\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c"]}},3424,[]); +__d(function(e,a,r,l,i,s,o){i.exports={"Embed a SmartFrame Image.":["Bir SmartFrame G\xf6rseli g\xf6m\xfcn."],smartframe:["smartframe"],"Embed an Instagram post.":["Instagram g\xf6nderisi g\xf6m\xfcn."],"Embed a Facebook post.":["Facebook g\xf6nderisi g\xf6m\xfcn."],"Embed a Loom video.":[" Bir Loom videosu yerle\u015ftirin."],video:["video"],"Upgrade your plan to upload audio":["Ses y\xfcklemek i\xe7in paketinizi y\xfckseltin"],"Upgrade your plan to use video covers":["Video ba\u015fl\u0131klar\u0131 kullanmak i\xe7in paketinizi y\xfckseltin"],"Add an interactive story.":["Etkile\u015fimli bir \xf6yk\xfc ekleyin."],"block search term\x04video":["video"],"block search term\x04story":["\xf6yk\xfc"],Story:["\xd6yk\xfc"],"block search term\x04mosaic":["mozaik"],"block search term\x04circle":["\xe7ember"],Grow:["B\xfcy\xfcy\xfcn"],Earn:["Kazan\u0131n"],"block search term\x04square":["kare"],"block search term\x04columns":["s\xfctunlar"],"block search term\x04social":["sosyal"],"Rounded corners":["Yuvarlat\u0131lm\u0131\u015f k\xf6\u015feler"],"Move image forward":["G\xf6rseli \xf6ne ta\u015f\u0131"],"Move image backward":["G\xf6rseli geriye ta\u015f\u0131"],"Serves images using Jetpack's fast global network of servers.":["Jetpack'in h\u0131zl\u0131 k\xfcresel sunucu a\u011f\u0131n\u0131 kullanarak g\xf6r\xfcnt\xfcler sa\u011flar."],"block search term\x04photos":["foto\u011fraflar"],"block search term\x04address":["adres"],"block search term\x04phone":["telefon"],"block search term\x04message":["mesaj"],"block search term\x04image":["g\xf6rsel"],"Lets you add an email address with an automatically generated click-to-email link.":["Otomatik olarak olu\u015fturulan ve t\u0131kland\u0131\u011f\u0131nda e-posta g\xf6nderilmesini sa\u011flayan bir ba\u011flant\u0131yla beraber bir e-posta adresi eklemenizi sa\u011flar."],"Open address in Google Maps":["Adresi Google Haritalar\u2019da a\xe7"],Columns:["S\xfctunlar"],images:["g\xf6rseller"],"Tiled gallery layout\x04Tiled columns":["D\xf6\u015feli s\xfctunlar"],"Tiled gallery layout\x04Square tiles":["Kare mozaikler"],"Tiled gallery layout\x04Circles":["Daireler"],"Tiled gallery layout\x04Tiled mosaic":["Mozaik d\xf6\u015feme"],"block search term\x04gallery":["galeri"],"block search term\x04pictures":["resimler"],"block search term\x04cell":["h\xfccre"],"block search term\x04telephone":["telefon"],"block search term\x04mobile":["mobil"],"block search term\x04images":["g\xf6rseller"],"block search term\x04email":["e-posta"],"block search term\x04place":["yer"],"block search term\x04direction":["y\xf6n"],"block search term\x04location":["konum"],"Tiled Gallery":["Mozaik Galeri"],"Display multiple images in an elegantly organized tiled layout.":["Birden fazla g\xf6r\xfcnt\xfcy\xfc \u015f\u0131k bir d\xfczende d\xf6\u015feli \u015fekilde sergileyin."],"Lets you add a phone number with an automatically generated click-to-call link.":["Otomatik olarak olu\u015fturulan bir \u201caramak i\xe7in t\u0131kla\u201d ba\u011flant\u0131s\u0131yla beraber bir telefon numaras\u0131 eklemenizi sa\u011flar."],"Phone Number":["Telefon Numaras\u0131"],"Phone number":["Telefon Numaras\u0131"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["Daha iyi SEO sonu\xe7lar\u0131 i\xe7in geli\u015fmi\u015f i\u015faretleme ile e-posta adresi, telefon numaras\u0131 ve fiziksel adres eklemenizi sa\u011flar."],"Lets you add a physical address with Schema markup.":["\u015eema i\u015faretleme ile bir fiziksel adres eklemenizi sa\u011flar."],Address:["Adres"],Country:["\xdclke"],"Postal/Zip Code":["Posta Kodu"],"State/Province/Region":["Eyalet/\u0130l/B\xf6lge"],City:["\u015eehir"],"Address Line 3":["Adres Sat\u0131r\u0131 3"],"Address Line 2":["Adres Sat\u0131r\u0131 2"],"Street Address":["Sokak Adresi"],"Link address to Google Maps":["Google Haritalar ba\u011flant\u0131 adresi"],"image %1$d of %2$d in gallery":["galerideki %2$d g\xf6rsel aras\u0131ndan %1$d. g\xf6rsel"],"Remove image":["Resmi kald\u0131r"],"Contact Info":["\u0130leti\u015fim Bilgisi"],"Email Address":["E-posta Adresi"],Email:["E-posta"]}},3425,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0441 Instagram."],"Embed a Facebook post.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0441 Facebook."],"Embed a Loom video.":["\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 Loom \u0432\u0456\u0434\u0435\u043e."],video:["\u0432\u0456\u0434\u0435\u043e"],"Upgrade your plan to upload audio":["\u041e\u043d\u043e\u0432\u0456\u0442\u044c \u0442\u0430\u0440\u0438\u0444\u043d\u0438\u0439 \u043f\u043b\u0430\u043d, \u0449\u043e\u0431 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u0432\u0430\u0442\u0438 \u0430\u0443\u0434\u0456\u043e"],"Upgrade your plan to use video covers":["\u041e\u043d\u043e\u0432\u0456\u0442\u044c \u0442\u0430\u0440\u0438\u0444\u043d\u0438\u0439 \u043f\u043b\u0430\u043d, \u0449\u043e\u0431 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0456\u0434\u0435\u043e\u043e\u0431\u043a\u043b\u0430\u0434\u0438\u043d\u043a\u0438"],"Add an interactive story.":["\u0414\u043e\u0434\u0430\u0439\u0442\u0435 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443 \u0456\u0441\u0442\u043e\u0440\u0456\u044e."],"block search term\x04video":["\u0432\u0456\u0434\u0435\u043e"],"block search term\x04story":["\u0456\u0441\u0442\u043e\u0440\u0456\u044f"],Story:["\u0406\u0441\u0442\u043e\u0440\u0456\u044f"],"block search term\x04mosaic":[],"block search term\x04circle":["\u043a\u043e\u043b\u043e"],Grow:["\u0420\u043e\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c"],Earn:["\u0417\u0430\u0440\u043e\u0431\u043b\u044f\u0439\u0442\u0435"],"block search term\x04square":["\u043a\u0432\u0430\u0434\u0440\u0430\u0442"],"block search term\x04columns":["\u043a\u043e\u043b\u043e\u043d\u043a\u0438"],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":["\u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0456\u0457"],"block search term\x04address":["\u0410\u0434\u0440\u0435\u0441\u0430"],"block search term\x04phone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04message":["\u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f"],"block search term\x04image":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:["\u041a\u043e\u043b\u043e\u043d\u043a\u0438"],images:["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":["\u041a\u043e\u043b\u0430"],"Tiled gallery layout\x04Tiled mosaic":["\u041f\u043b\u0438\u0442\u043a\u0430 (\u043c\u043e\u0437\u0430\u0457\u043a\u0430)"],"block search term\x04gallery":["\u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"block search term\x04pictures":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"block search term\x04cell":["\u0441\u0442\u0456\u043b\u044c\u043d\u0438\u043a\u043e\u0432\u0438\u0439"],"block search term\x04telephone":["\u0442\u0435\u043b\u0435\u0444\u043e\u043d"],"block search term\x04mobile":["\u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0430"],"block search term\x04images":["\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"block search term\x04email":["email"],"block search term\x04place":["\u043c\u0456\u0441\u0446\u0435"],"block search term\x04direction":["\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f"],"block search term\x04location":["\u043c\u0456\u0441\u0446\u0435\u0437\u043d\u0430\u0445\u043e\u0434\u0436\u0435\u043d\u043d\u044f"],"Tiled Gallery":["\u041a\u0430\u0445\u0435\u043b\u044c\u043d\u0430 \u0433\u0430\u043b\u0435\u0440\u0435\u044f"],"Display multiple images in an elegantly organized tiled layout.":["\u0412\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454 \u043a\u0456\u043b\u044c\u043a\u0430 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044c \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u0435\u043b\u0435\u0433\u0430\u043d\u0442\u043d\u043e\u0457 \u043f\u043b\u0438\u0442\u043a\u0438."],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443"],"Phone number":["\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:["\u0410\u0434\u0440\u0435\u0441\u0430"],Country:["\u041a\u0440\u0430\u0457\u043d\u0430"],"Postal/Zip Code":["\u041f\u043e\u0448\u0442\u043e\u0432\u0438\u0439 \u0456\u043d\u0434\u0435\u043a\u0441"],"State/Province/Region":["\u0428\u0442\u0430\u0442/\u041f\u0440\u043e\u0432\u0456\u043d\u0446\u0456\u044f/\u0420\u0435\u0433\u0456\u043e\u043d"],City:["\u041c\u0456\u0441\u0442\u043e"],"Address Line 3":[],"Address Line 2":["\u0410\u0434\u0440\u0435\u0441\u0438 \u0440\u044f\u0434\u043e\u043a 2"],"Street Address":["\u0410\u0434\u0440\u0435\u0441\u0430"],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":["\u043c\u0430\u043b\u044e\u043d\u043e\u043a %1$d \u0437 %2$d \u0443 \u0433\u0430\u043b\u0435\u0440\u0435\u0457"],"Remove image":["\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f"],"Contact Info":["\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f"],"Email Address":["\u0410\u0434\u0440\u0435\u0441\u0430 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0457 \u043f\u043e\u0448\u0442\u0438"],Email:["\u0415\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0430 \u043f\u043e\u0448\u0442\u0430"]}},3426,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:[],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":[],"Contact Info":["\u062a\u0641\u0627\u0635\u06cc\u0644 \u0631\u0627\u0628\u0637\u06c1"],"Email Address":["\u0627\u06cc \u0645\u06cc\u0644 \u0627\u06cc\u0688\u0631\u06cc\u0633"],Email:["\u0627\u06cc \u0645\u06cc\u0644"]}},3427,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":[],smartframe:[],"Embed an Instagram post.":[],"Embed a Facebook post.":[],"Embed a Loom video.":[],video:[],"Upgrade your plan to upload audio":[],"Upgrade your plan to use video covers":[],"Add an interactive story.":[],"block search term\x04video":[],"block search term\x04story":[],Story:[],"block search term\x04mosaic":[],"block search term\x04circle":[],Grow:[],Earn:[],"block search term\x04square":[],"block search term\x04columns":[],"block search term\x04social":[],"Rounded corners":[],"Move image forward":[],"Move image backward":[],"Serves images using Jetpack's fast global network of servers.":[],"block search term\x04photos":[],"block search term\x04address":[],"block search term\x04phone":[],"block search term\x04message":[],"block search term\x04image":[],"Lets you add an email address with an automatically generated click-to-email link.":[],"Open address in Google Maps":[],Columns:[],images:["h\xecnh \u1ea3nh"],"Tiled gallery layout\x04Tiled columns":[],"Tiled gallery layout\x04Square tiles":[],"Tiled gallery layout\x04Circles":[],"Tiled gallery layout\x04Tiled mosaic":[],"block search term\x04gallery":[],"block search term\x04pictures":[],"block search term\x04cell":[],"block search term\x04telephone":[],"block search term\x04mobile":[],"block search term\x04images":[],"block search term\x04email":[],"block search term\x04place":[],"block search term\x04direction":[],"block search term\x04location":[],"Tiled Gallery":[],"Display multiple images in an elegantly organized tiled layout.":[],"Lets you add a phone number with an automatically generated click-to-call link.":[],"Phone Number":[],"Phone number":[],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":[],"Lets you add a physical address with Schema markup.":[],Address:[],Country:[],"Postal/Zip Code":[],"State/Province/Region":[],City:[],"Address Line 3":[],"Address Line 2":[],"Street Address":[],"Link address to Google Maps":[],"image %1$d of %2$d in gallery":[],"Remove image":["Xo\xe1 \u1ea3nh"],"Contact Info":["Th\xf4ng tin li\xean h\u1ec7"],"Email Address":["\u0110\u1ecba ch\u1ec9 th\u01b0 \u0111i\u1ec7n t\u1eed (email)"],Email:["Th\u01b0 \u0111i\u1ec7n t\u1eed"]}},3428,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u5d4c\u5165 SmartFrame \u56fe\u50cf\u3002"],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u5d4c\u5165Instagram\u8d34\u6587\u3002"],"Embed a Facebook post.":["\u5d4c\u5165Facebook\u6587\u7ae0\u3002"],"Embed a Loom video.":["\u5d4c\u5165 Loom \u89c6\u9891\u3002"],video:["\u89c6\u9891"],"Upgrade your plan to upload audio":["\u5347\u7ea7\u60a8\u7684\u5957\u9910\u5373\u53ef\u4e0a\u4f20\u97f3\u9891"],"Upgrade your plan to use video covers":["\u5347\u7ea7\u60a8\u7684\u5957\u9910\u5373\u53ef\u4f7f\u7528\u89c6\u9891\u5c01\u9762"],"Add an interactive story.":["\u6dfb\u52a0\u4ea4\u4e92\u5f0f\u6545\u4e8b\u3002"],"block search term\x04video":["\u89c6\u9891"],"block search term\x04story":["\u6545\u4e8b"],Story:["\u6545\u4e8b"],"block search term\x04mosaic":["\u9a6c\u8d5b\u514b"],"block search term\x04circle":["\u5706\u5708"],Grow:["\u589e\u52a0\u53d7\u4f17"],Earn:["\u8d5a\u53d6\u6536\u5165"],"block search term\x04square":["\u65b9\u5f62"],"block search term\x04columns":["\u680f\u76ee"],"block search term\x04social":["\u793e\u4ea4"],"Rounded corners":["\u5706\u89d2"],"Move image forward":["\u524d\u79fb\u56fe\u7247"],"Move image backward":["\u540e\u79fb\u56fe\u7247"],"Serves images using Jetpack's fast global network of servers.":["\u4f7f\u7528 Jetpack \u7684\u9ad8\u901f\u5168\u7403\u670d\u52a1\u5668\u7f51\u7edc\u63d0\u4f9b\u56fe\u50cf\u3002"],"block search term\x04photos":["\u7167\u7247"],"block search term\x04address":["\u5730\u5740"],"block search term\x04phone":["\u7535\u8bdd"],"block search term\x04message":["\u90ae\u4ef6"],"block search term\x04image":["\u56fe\u7247"],"Lets you add an email address with an automatically generated click-to-email link.":["\u60a8\u53ef\u4ee5\u6dfb\u52a0\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u5e76\u4e14\u7cfb\u7edf\u4f1a\u81ea\u52a8\u751f\u6210\u70b9\u51fb\u53d1\u9001\u7535\u5b50\u90ae\u4ef6\u94fe\u63a5\u3002"],"Open address in Google Maps":["\u5728 Google \u5730\u56fe\u4e2d\u6253\u5f00\u5730\u5740"],Columns:["\u680f\u76ee"],images:["\u56fe\u7247"],"Tiled gallery layout\x04Tiled columns":["\u5e73\u94fa\u5217"],"Tiled gallery layout\x04Square tiles":["\u65b9\u5f62\u62fc\u8d34"],"Tiled gallery layout\x04Circles":["\u73af\u5f62"],"Tiled gallery layout\x04Tiled mosaic":["\u5e73\u94fa\u9576\u5d4c"],"block search term\x04gallery":["\u56fe\u5e93"],"block search term\x04pictures":["\u56fe\u7247"],"block search term\x04cell":["\u5355\u5143\u683c"],"block search term\x04telephone":["\u7535\u8bdd"],"block search term\x04mobile":["\u79fb\u52a8"],"block search term\x04images":["\u56fe\u7247"],"block search term\x04email":["\u7535\u5b50\u90ae\u7bb1"],"block search term\x04place":["\u5730\u70b9"],"block search term\x04direction":["\u65b9\u5411"],"block search term\x04location":["\u4f4d\u7f6e"],"Tiled Gallery":["\u5e73\u94fa\u753b\u5eca"],"Display multiple images in an elegantly organized tiled layout.":["\u4ee5\u4e95\u7136\u6709\u5e8f\u7684\u5e73\u94fa\u7248\u9762\u5e03\u5c40\u663e\u793a\u591a\u5f20\u56fe\u50cf\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u5e26\u6709\u81ea\u52a8\u751f\u6210\u7684\u201c\u70b9\u51fb\u901a\u8bdd\u201d\u94fe\u63a5\u7684\u7535\u8bdd\u53f7\u7801\u3002"],"Phone Number":["\u7535\u8bdd\u53f7\u7801"],"Phone number":["\u7535\u8bdd\u53f7\u7801"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3001\u7535\u8bdd\u53f7\u7801\u548c\u5b9e\u9645\u5730\u5740\uff0c\u5b83\u4eec\u5e26\u6709\u7ecf\u8fc7\u6539\u8fdb\u7684\u6807\u8bb0\uff0c\u53ef\u4ea7\u751f\u66f4\u597d\u7684 SEO \u7ed3\u679c\u3002"],"Lets you add a physical address with Schema markup.":["\u5141\u8bb8\u60a8\u6dfb\u52a0\u5e26\u6709 Schema \u6807\u8bb0\u7684\u5b9e\u9645\u5730\u5740\u3002"],Address:["\u5730\u5740"],Country:["\u56fd\u5bb6/\u5730\u533a"],"Postal/Zip Code":["\u90ae\u653f\u7f16\u7801"],"State/Province/Region":["\u5dde/\u7701/\u5730\u533a"],City:["\u57ce\u5e02"],"Address Line 3":["\u5730\u5740\u884c 3"],"Address Line 2":["\u5730\u5740\u884c 2"],"Street Address":["\u8857\u9053\u5730\u5740"],"Link address to Google Maps":["\u5c06\u5730\u5740\u94fe\u63a5\u5230 Google \u5730\u56fe"],"image %1$d of %2$d in gallery":["\u76f8\u518c\u4e2d\u7684%1$d/%2$d\u4e2a\u56fe\u7247"],"Remove image":["\u79fb\u9664\u56fe\u7247"],"Contact Info":["\u8054\u7cfb\u4fe1\u606f"],"Email Address":["\u7535\u5b50\u90ae\u7bb1\u5730\u5740"],Email:["\u7535\u5b50\u90ae\u7bb1\u5730\u5740"]}},3429,[]); +__d(function(e,a,r,o,l,s,t){l.exports={"Embed a SmartFrame Image.":["\u5d4c\u5165 SmartFrame \u5716\u7247\u3002"],smartframe:["SmartFrame"],"Embed an Instagram post.":["\u5d4c\u5165 Instagram \u8cbc\u6587\u3002"],"Embed a Facebook post.":["\u5d4c\u5165 Facebook \u8cbc\u6587\u3002"],"Embed a Loom video.":["\u5d4c\u5165 Loom \u5f71\u7247\u3002"],video:["\u5f71\u7247"],"Upgrade your plan to upload audio":["\u5347\u7d1a\u65b9\u6848\u5373\u53ef\u4e0a\u50b3\u97f3\u8a0a"],"Upgrade your plan to use video covers":["\u5347\u7d1a\u65b9\u6848\u5373\u53ef\u4f7f\u7528\u8996\u8a0a\u5c01\u9762"],"Add an interactive story.":["\u65b0\u589e\u4e92\u52d5\u5f0f\u6545\u4e8b\u3002"],"block search term\x04video":["\u8996\u8a0a"],"block search term\x04story":["\u6545\u4e8b"],Story:["\u6545\u4e8b"],"block search term\x04mosaic":["\u99ac\u8cfd\u514b"],"block search term\x04circle":["\u5713\u5708"],Grow:["\u62d3\u5c55"],Earn:["\u7372\u5229"],"block search term\x04square":["\u65b9\u584a"],"block search term\x04columns":["\u6b04\u4f4d"],"block search term\x04social":["\u793e\u7fa4"],"Rounded corners":["\u5713\u89d2"],"Move image forward":["\u5411\u524d\u79fb\u52d5\u5716\u7247"],"Move image backward":["\u5411\u5f8c\u79fb\u52d5\u5716\u7247"],"Serves images using Jetpack's fast global network of servers.":["\u4f7f\u7528 Jetpack \u5feb\u901f\u7684\u5168\u7403\u4f3a\u670d\u5668\u7db2\u8def\u63d0\u4f9b\u5716\u7247\u3002"],"block search term\x04photos":["\u7167\u7247"],"block search term\x04address":["\u5730\u5740"],"block search term\x04phone":["\u96fb\u8a71"],"block search term\x04message":["\u8a0a\u606f"],"block search term\x04image":["\u5716\u7247"],"Lets you add an email address with an automatically generated click-to-email link.":["\u8b93\u60a8\u85c9\u7531\u7cfb\u7d71\u81ea\u52d5\u7522\u751f\u7684\u55ae\u9375\u50b3\u9001\u96fb\u5b50\u90f5\u4ef6\u9023\u7d50\u4f86\u65b0\u589e\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002"],"Open address in Google Maps":["\u5728 Google \u5730\u5716\u4e2d\u958b\u555f\u5730\u5740"],Columns:["\u6b04\u4f4d"],images:["\u5716\u7247"],"Tiled gallery layout\x04Tiled columns":["\u4e26\u6392\u7684\u6b04"],"Tiled gallery layout\x04Square tiles":["\u65b9\u78da"],"Tiled gallery layout\x04Circles":["\u5713\u5708"],"Tiled gallery layout\x04Tiled mosaic":["\u78da\u5f62\u99ac\u8cfd\u514b"],"block search term\x04gallery":["\u5716\u5eab"],"block search term\x04pictures":["\u7167\u7247"],"block search term\x04cell":["\u624b\u6a5f"],"block search term\x04telephone":["\u96fb\u8a71"],"block search term\x04mobile":["\u624b\u6a5f"],"block search term\x04images":["\u5716\u7247"],"block search term\x04email":["\u96fb\u5b50\u90f5\u4ef6"],"block search term\x04place":["\u5730\u9ede"],"block search term\x04direction":["\u65b9\u5411"],"block search term\x04location":["\u4f4d\u7f6e"],"Tiled Gallery":["\u4e26\u6392\u5716\u5eab"],"Display multiple images in an elegantly organized tiled layout.":["\u4ee5\u4e95\u7136\u6709\u5e8f\u7684\u4f75\u6392\u7248\u9762\u914d\u7f6e\u986f\u793a\u591a\u5f35\u5716\u7247\u3002"],"Lets you add a phone number with an automatically generated click-to-call link.":["\u8b93\u4f60\u65b0\u589e\u96fb\u8a71\u865f\u78bc\uff0c\u4e26\u81ea\u52d5\u7522\u751f\u6309\u4e00\u4e0b\u64a5\u6253\u9023\u7d50\u3002"],"Phone Number":["\u96fb\u8a71\u865f\u78bc"],"Phone number":["\u96fb\u8a71\u865f\u78bc"],"Lets you add an email address, phone number, and physical address with improved markup for better SEO results.":["\u8b93\u4f60\u65b0\u589e\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3001\u96fb\u8a71\u865f\u78bc\u548c\u5be6\u9ad4\u5730\u5740\uff0c\u4e26\u63d0\u4f9b\u6539\u826f\u6a19\u8a18\u8a9e\u8a00\uff0c\u4ee5\u4fbf\u7372\u5f97\u66f4\u597d\u7684 SEO \u7d50\u679c\u3002"],"Lets you add a physical address with Schema markup.":["\u8b93\u4f60\u900f\u904e Schema \u6a19\u8a18\u8a9e\u8a00\u4f86\u65b0\u589e\u5be6\u9ad4\u5730\u5740\u3002"],Address:["\u4f4d\u5740"],Country:["\u570b\u5bb6/\u5730\u5340"],"Postal/Zip Code":["\u90f5\u905e\u5340\u865f"],"State/Province/Region":["\u5dde/\u7701/\u5730\u5340"],City:["\u57ce\u5e02"],"Address Line 3":["\u5730\u5740\u7b2c 3 \u884c"],"Address Line 2":["\u5730\u5740\u7b2c 2 \u884c"],"Street Address":["\u8857\u9053\u5730\u5740"],"Link address to Google Maps":["\u5c07\u5730\u5740\u8207 Google \u5730\u5716\u9023\u7d50"],"image %1$d of %2$d in gallery":["\u5716\u7247\u5eab\u7684\u5f71\u50cf %1$d (\u5171 %2$d \u500b)"],"Remove image":["\u79fb\u9664\u5716\u7247"],"Contact Info":["\u806f\u7d61\u8cc7\u8a0a"],"Email Address":["\u96fb\u5b50\u90f5\u4ef6\u4f4d\u5740"],Email:["\u96fb\u5b50\u90f5\u4ef6"]}},3430,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getTranslation=void 0;var n={ar:r(d[0]),bg:r(d[1]),bo:r(d[2]),ca:r(d[3]),cs:r(d[4]),cy:r(d[5]),da:r(d[6]),de:r(d[7]),"en-au":r(d[8]),"en-ca":r(d[9]),"en-gb":r(d[10]),"en-nz":r(d[11]),"en-za":r(d[12]),el:r(d[13]),es:r(d[14]),"es-ar":r(d[15]),"es-cl":r(d[16]),"es-cr":r(d[17]),fa:r(d[18]),fr:r(d[19]),gl:r(d[20]),he:r(d[21]),hr:r(d[22]),hu:r(d[23]),id:r(d[24]),is:r(d[25]),it:r(d[26]),ja:r(d[27]),ka:r(d[28]),ko:r(d[29]),nb:r(d[30]),nl:r(d[31]),"nl-be":r(d[32]),pl:r(d[33]),pt:r(d[34]),"pt-br":r(d[35]),ro:r(d[36]),ru:r(d[37]),sk:r(d[38]),sq:r(d[39]),sr:r(d[40]),sv:r(d[41]),th:r(d[42]),tr:r(d[43]),uk:r(d[44]),ur:r(d[45]),vi:r(d[46]),"zh-cn":r(d[47]),"zh-tw":r(d[48])};e.getTranslation=function(t){return n[t]}},3431,[3432,3433,3434,3435,3436,3437,3438,3439,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,3455,3456,3457,3458,3459,3460,3461,3462,3463,3464,3465,3466,3467,3468,3469,3470,3471,3472,3473,3474,3475,3476,3477,3478,3479,3480]); __d(function(o,t,n,e,r,l,a){r.exports={"No gutter":["\u0644\u0627 \u064a\u0648\u062c\u062f \u0647\u0627\u0645\u0634 \u062a\u0648\u062b\u064a\u0642"],"Changing the number of columns will reset your layout and could remove content.":["\u0633\u064a\u0624\u062f\u064a \u062a\u063a\u064a\u064a\u0631 \u0639\u062f\u062f \u0627\u0644\u0623\u0639\u0645\u062f\u0629 \u0625\u0644\u0649 \u0625\u0639\u0627\u062f\u0629 \u062a\u0639\u064a\u064a\u0646 \u062a\u062e\u0637\u064a\u0637\u0643\u060c \u0648\u064a\u0645\u0643\u0646 \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0645\u062d\u062a\u0648\u0649."],"A column used inside a Layout Grid block.":["\u0639\u0645\u0648\u062f \u064a\u064f\u0633\u062a\u062e\u062f\u0645 \u062f\u0627\u062e\u0644 \u0645\u0643\u0648\u0651\u0646 \u0634\u0628\u0643\u0629 \u0627\u0644\u062a\u062e\u0637\u064a\u0637."],"Snow Patrol":["Snow Patrol"],"Align blocks to a global grid, with support for responsive breakpoints.":["\u064a\u0645\u0643\u0646\u0643 \u0645\u062d\u0627\u0630\u0627\u0629 \u0627\u0644\u0645\u0643\u0648\u0651\u0650\u0646\u0627\u062a \u0625\u0644\u0649 \u0625\u062d\u062f\u0649 \u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0639\u0627\u0644\u0645\u064a\u0629\u060c \u0645\u0639 \u062f\u0639\u0645 \u0646\u0642\u0627\u0637 \u0627\u0644\u062a\u0648\u0642\u0641 \u0627\u0644\u0645\u0633\u062a\u062c\u064a\u0628\u0629."],Huge:["\u0636\u062e\u0645"],Large:["\u0643\u0628\u064a\u0631"],Medium:["\u0645\u062a\u0648\u0633\u0637"],Small:["\u0635\u063a\u064a\u0631"],"No padding":["\u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0633\u0627\u062d\u0627\u062a \u0645\u062a\u0631\u0648\u0643\u0629"],Layout:["\u0627\u0644\u062a\u062e\u0637\u064a\u0637"],Column:["\u0639\u0645\u0648\u062f"],Mobile:["\u0627\u0644\u0647\u0627\u062a\u0641 \u0627\u0644\u0645\u062d\u0645\u0648\u0644"],Tablet:["\u0627\u0644\u0623\u062c\u0647\u0632\u0629 \u0627\u0644\u0644\u0648\u062d\u064a\u0629"],Desktop:["\u0627\u0644\u0623\u062c\u0647\u0632\u0629 \u0627\u0644\u0645\u0643\u062a\u0628\u064a\u0629"],"Layout Grid":["\u0634\u0628\u0643\u0629 \u0627\u0644\u062e\u0637\u0648\u0637"]}},3432,[]); __d(function(o,t,e,n,l,r,u){l.exports={"No gutter":[],"Changing the number of columns will reset your layout and could remove content.":[],"A column used inside a Layout Grid block.":[],"Snow Patrol":[],"Align blocks to a global grid, with support for responsive breakpoints.":[],Huge:[],Large:[],Medium:[],Small:[],"No padding":[],Layout:[],Column:[],Mobile:[],Tablet:[],Desktop:[],"Layout Grid":[]}},3433,[]); @@ -3500,151 +3500,151 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.d __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=function(){(0,c.use)(function(t){return{dispatch:function(c){var u='object'==typeof c?c.name:c,f=(0,n.default)({},t.dispatch(u)),p=o.trackedEvents[u];return p&&Object.keys(p).forEach(function(t){var n=f[t],c=p[t];f[t]=function(){try{c.apply(void 0,arguments)}catch(t){}return n.apply(void 0,arguments)}}),f}}})};var n=t(r(d[1])),c=r(d[2]),o=r(d[3])},3494,[3482,3483,1344,3495]); __d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.trackedEvents=void 0;var n=o(r(d[1])),t=r(d[2]),c=r(d[3]);function l(o){return'object'==typeof o?o:(0,t.select)('core/block-editor').getBlock(o)||{}}function s(o,t){var k=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},_=arguments.length>3?arguments[3]:void 0,v=[o].flat();o&&v.length&&v.forEach(function(o){var v=l(o),u=(0,n.default)({},k(v),{inner_block:!!_});_&&(u.parent_block_name=_.name),(0,c.sendEventToHost)(t,u),v.innerBlocks&&s(v.innerBlocks,t,k,v)})}function k(o,n){var l=(0,t.select)('core/block-editor').getBlock(null==o?void 0:o[0]);if(l){var s={action_source:n,inner_block:!!l.innerBlocks.length,block_name:l.name};(0,c.sendEventToHost)('editor_block_moved',s)}}function _(o,n){var c=(0,t.select)('core/block-editor').getBlockCount()-1,l=(0,t.select)('core/block-editor').getBlockIndex(null==o?void 0:o[0]);l>=0&&(n>l&&n===c?k(o,'move_arrows_to_bottom'):n2&&void 0!==arguments[2]?arguments[2]:[],p=(0,u.getJetpackExtensionAvailability)(t),v=p.available,b=p.details,_=c(p.unavailableReason,b);if(!v&&!_)return!1;var k=(0,l.registerBlockType)("jetpack/"+t,(0,n.default)({},s,{title:o.includes(t)?s.title+" (beta)":s.title,edit:s.edit,example:_?void 0:s.example}));return f.forEach(function(t){return(0,l.registerBlockType)("jetpack/"+t.name,t.settings)}),k};var n=t(r(d[1])),l=r(d[2]),u=r(d[3]),o=t(r(d[4])).default.beta||[];function c(t,n){return'missing_plan'===t&&n.required_plan}},3517,[3482,3483,1342,3500,3518]); -__d(function(e,t,s,a,o,r,i){o.exports={production:["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gathering-tweetstorms","gif","google-calendar","image-compare","instagram-gallery","likes","mailchimp","map","markdown","opentable","pinterest","podcast-player","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","revue","send-a-message","whatsapp-button","seo","sharing","shortlinks","simple-payments","slideshow","social-previews","story","subscriptions","tiled-gallery","videopress","wordads"],beta:["amazon"],experimental:["anchor-fm","premium-content","conversation","dialogue"],"no-post-editor":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gif","google-calendar","instagram-gallery","mailchimp","map","markdown","opentable","pinterest","rating-star","recurring-payments","related-posts","repeat-visitor","revue","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"]}},3518,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=e.childBlocks=void 0;var c=r(d[1]),n=t(r(d[2])),s=r(d[3]),o=r(d[4]),l=r(d[5]),p=r(d[6]),k=t(r(d[7])),u=t(r(d[8]));r(d[9]),r(d[10]);var h=r(d[11]),f=r(d[12]),v=r(d[13]),w=r(d[14]);e.name='contact-info';var j=(0,u.default)((0,c.createElement)(l.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),b={title:(0,s.__)('Contact Info','jetpack'),description:(0,s.__)('Lets you add an email address, phone number, and physical address with improved markup for better SEO results.','jetpack'),keywords:[(0,s._x)('email','block search term','jetpack'),(0,s._x)('phone','block search term','jetpack'),(0,s._x)('address','block search term','jetpack')],icon:{src:j,foreground:(0,w.getIconColor)()},category:'grow',supports:{align:['wide','full'],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:'block',blocks:['core/legacy-widget'],isMatch:function(t){var c=t.idBase,n=t.instance;return!(null==n||!n.raw)&&'widget_contact_info'===c},transform:function(t){var c=t.instance,s=[(0,p.createBlock)('core/heading',{content:c.raw.title}),(0,p.createBlock)('jetpack/email',{email:c.raw.email}),(0,p.createBlock)('jetpack/phone',{phone:c.raw.phone}),(0,p.createBlock)('jetpack/address',{address:c.raw.address})];return c.raw.hours&&(s=[].concat((0,n.default)(s),[(0,p.createBlock)('core/paragraph',{content:c.raw.hours})])),c.raw.showmap&&c.raw.address&&(s=[].concat((0,n.default)(s),[(0,p.createBlock)('jetpack/map',{address:c.raw.address})])),(0,p.createBlock)('jetpack/contact-info',{},s)}}]},attributes:{},edit:k.default,save:function(t){var n=t.className;return(0,c.createElement)("div",{className:n},(0,c.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:'jetpack/email',attributes:{email:'hello@yourjetpack.blog'}},{name:'jetpack/phone',attributes:{phone:'123-456-7890'}},{name:'jetpack/address',attributes:{address:'987 Photon Drive',city:'Speedyville',region:'CA',postal:'12345',country:'USA'}}]}};e.settings=b;var y=[{name:h.name,settings:h.settings},{name:f.name,settings:f.settings},{name:v.name,settings:v.settings}];e.childBlocks=y},3519,[3482,683,3485,1280,1687,1691,1342,3520,3522,3521,3523,3524,3532,3538,3507]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[1]),l=r(d[2]),o=r(d[3]),n=t(r(d[4])),p=['jetpack/address','jetpack/email','jetpack/phone','core/heading','core/separator','core/spacer'],s=[['jetpack/email'],['jetpack/phone'],['jetpack/address']],k=function(){return(0,c.createElement)(o.View,{style:n.default.jetpackContactInfoBlock},(0,c.createElement)(l.InnerBlocks,{allowedBlocks:p,templateLock:!1,templateInsertUpdatesSelection:!1,template:s}))};e.default=k},3520,[3482,683,1687,17,3521]); -__d(function(g,r,i,a,m,e,d){m.exports={jetpackContactInfoBlock:{shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"black",shadowOpacity:1,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0},addressPadding:{paddingTop:4,paddingBottom:4}}},3521,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),l=function(l){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'0 0 24 24';return(0,t.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:v,viewBox:h},(0,t.createElement)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),l)};e.default=l},3522,[683,1691]); -__d(function(g,r,i,a,m,e,d){m.exports={placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},blockEditorPlainText:{flexGrow:1,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"transparent",shadowOpacity:1,fontSize:16,fontFamily:"Noto Serif",borderWidth:0,borderColor:"black",borderStyle:"solid",color:"#1e1e1e",textDecorationColor:"#016087"},blockEditorPlainTextDark:{color:"#fff",textDecorationColor:"#5198d9"}}},3523,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var s=r(d[1]),c=r(d[2]),n=r(d[3]),l=t(r(d[4])),o=t(r(d[5])),p=t(r(d[6]));e.name='address';var u={title:(0,c.__)('Address','jetpack'),description:(0,c.__)('Lets you add a physical address with Schema markup.','jetpack'),keywords:[(0,c._x)('location','block search term','jetpack'),(0,c._x)('direction','block search term','jetpack'),(0,c._x)('place','block search term','jetpack')],icon:(0,p.default)((0,s.createElement)(s.Fragment,null,(0,s.createElement)(n.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,s.createElement)(n.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:'grow',attributes:{address:{type:'string',default:''},addressLine2:{type:'string',default:''},addressLine3:{type:'string',default:''},city:{type:'string',default:''},region:{type:'string',default:''},postal:{type:'string',default:''},country:{type:'string',default:''},linkToGoogleMaps:{type:'boolean',default:!1}},parent:['jetpack/contact-info'],edit:l.default,save:o.default};e.settings=u},3524,[3482,683,1280,1691,3525,3531,3522]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=r(d[8]),k=r(d[9]),v=r(d[10]),y=t(r(d[11])),_=t(r(d[12])),h=function(t){var h=t.attributes,j=h.address,C=h.addressLine2,E=h.addressLine3,P=h.city,S=h.region,b=h.postal,L=h.country,T=h.linkToGoogleMaps,A=t.isSelected,x=t.setAttributes,D=t.onFocus,M=[{value:j,placeholder:(0,f.__)('Street Address','jetpack'),key:'address'},{value:C,placeholder:(0,f.__)('Address Line 2','jetpack'),key:'addressLine2'},{value:E,placeholder:(0,f.__)('Address Line 3','jetpack'),key:'addressLine3'},{value:P,placeholder:(0,f.__)('City','jetpack'),key:'city'},{value:S,placeholder:(0,f.__)('State/Province/Region','jetpack'),key:'region'},{value:b,placeholder:(0,f.__)('Postal/Zip Code','jetpack'),key:'postal'},{value:L,placeholder:(0,f.__)('Country','jetpack'),key:'country'}],G=M.map(function(){return(0,l.useRef)(null)}),w=(0,l.useState)(M.map(function(){return!1})),B=(0,c.default)(w,2),F=B[0],R=B[1];(0,l.useEffect)(function(){A||G.forEach(function(t){var l;return null==t?void 0:null==(l=t.current)?void 0:l.blur()})},[A,G]);var I=function(t){'Enter'===t.key&&t.preventDefault()},K=(0,l.createElement)(p.InspectorControls,null,(0,l.createElement)(k.PanelBody,{title:(0,f.__)('Address Settings','jetpack')},(0,l.createElement)(k.ToggleControl,{label:(0,f.__)('Link address to Google Maps','jetpack'),checked:T,onChange:function(t){x({linkToGoogleMaps:t}),D()}}))),O=(0,v.usePreferredColorSchemeStyle)(_.default.placeholder,_.default.placeholderDark).color,V=(0,v.usePreferredColorSchemeStyle)(_.default.blockEditorPlainText,_.default.blockEditorPlainTextDark),Z=function(t){return function(){if(t=F.length)){var l=(0,u.default)(F);l[t]=!1,R(l)}}},z=function(t,u,c,s){return(0,l.createElement)(p.PlainText,{style:(0,o.default)({},V,y.default.addressPadding),value:t,placeholder:u,placeholderTextColor:O,"aria-label":u,onChange:function(t){return x((0,n.default)({},c,t))},onKeyDown:I,onBlur:q(s),onFocus:Z(s),key:"address-child-"+c,ref:G[s]})};return(0,l.createElement)(s.View,null,M.map(function(t,l){return z(t.value,t.placeholder,t.key,l)}),K)};e.default=h},3525,[3482,683,3526,3483,3485,3527,17,1280,1687,1691,1384,3521,3523]); -__d(function(g,r,i,a,m,e,d){m.exports=function(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t},m.exports.default=m.exports,m.exports.__esModule=!0},3526,[]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),s=r(d[3]);m.exports=function(u,p){return t(u)||o(u,p)||n(u,p)||s()},m.exports.default=m.exports,m.exports.__esModule=!0},3527,[3528,3529,3489,3530]); -__d(function(g,r,i,a,m,e,d){m.exports=function(t){if(Array.isArray(t))return t},m.exports.default=m.exports,m.exports.__esModule=!0},3528,[]); -__d(function(g,r,_i2,a,m,e,d){m.exports=function(t,l){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,u,f=[],i=!0,y=!1;try{for(n=n.call(t);!(i=(o=n.next()).done)&&(f.push(o.value),!l||f.length!==l);i=!0);}catch(t){y=!0,u=t}finally{try{i||null==n.return||n.return()}finally{if(y)throw u}}return f}},m.exports.default=m.exports,m.exports.__esModule=!0},3529,[]); -__d(function(g,r,i,a,m,e,d){m.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},m.exports.default=m.exports,m.exports.__esModule=!0},3530,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.googleMapsUrl=e.default=void 0;var s=r(d[0]),t=r(d[1]),n=function(t){var n=t.attributes,c=n.address,l=n.addressLine2,o=n.addressLine3,p=n.city,_=n.region,u=n.postal,k=n.country;return(0,s.createElement)(s.Fragment,null,c&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},c),l&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},l),o&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},o),p&&!(_||u)&&(0,s.createElement)("div",{className:"jetpack-address__city"},p),p&&(_||u)&&(0,s.createElement)("div",null,[(0,s.createElement)("span",{className:"jetpack-address__city"},p),', ',(0,s.createElement)("span",{className:"jetpack-address__region"},_),' ',(0,s.createElement)("span",{className:"jetpack-address__postal"},u)]),!p&&(_||u)&&(0,s.createElement)("div",null,[(0,s.createElement)("span",{className:"jetpack-address__region"},_),' ',(0,s.createElement)("span",{className:"jetpack-address__postal"},u)]),k&&(0,s.createElement)("div",{className:"jetpack-address__country"},k))},c=function(s){var t=s.attributes,n=t.address,c=t.addressLine2,l=t.addressLine3,o=t.city,p=t.region,_=t.postal,u=t.country,k=p?"+"+p+",":'';return("https://www.google.com/maps/search/"+(n?n+",":'')+(c?c+",":'')+(l?l+",":'')+(o?"+"+o+",":'')+(k=_?k+"+"+_:k)+(u?"+"+u:'')).replace(' ','+')};e.googleMapsUrl=c;var l=function(l){return[(o=l.attributes).address,o.addressLine2,o.addressLine3,o.city,o.region,o.postal,o.country].some(function(s){return''!==s})&&(0,s.createElement)("div",{className:l.className},l.attributes.linkToGoogleMaps&&(0,s.createElement)("a",{href:c(l),target:"_blank",rel:"noopener noreferrer",title:(0,t.__)('Open address in Google Maps','jetpack')},(0,s.createElement)(n,l)),!l.attributes.linkToGoogleMaps&&(0,s.createElement)(n,l));var o};e.default=l},3531,[683,1280]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var l=r(d[1]),c=r(d[2]),n=r(d[3]),s=t(r(d[4])),o=t(r(d[5])),u=t(r(d[6]));e.name='email';var _={title:(0,c.__)('Email Address','jetpack'),description:(0,c.__)('Lets you add an email address with an automatically generated click-to-email link.','jetpack'),keywords:['e-mail','email',(0,c._x)('message','block search term','jetpack')],icon:(0,o.default)((0,l.createElement)(n.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:'grow',attributes:{email:{type:'string',default:''}},edit:s.default,save:u.default,parent:['jetpack/contact-info']};e.settings=_},3532,[3482,683,1280,1691,3533,3522,3534]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),f=r(d[3]),n=t(r(d[4])),o=t(r(d[5])),_=function(t){return(0,l.createElement)(o.default,(0,u.default)({},t,{type:'email',keyboardType:'email-address',save:n.default,label:(0,f.__)('Email','jetpack'),attributeKey:'email'}))};e.default=_},3533,[3482,683,3483,1280,3534,3536]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=function(t){var c=t.attributes.email,i=t.className;return c&&(0,l.createElement)("div",{className:i},c.split(/(\s+)/).map(function(t,c){var i=t.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,'');return t.indexOf('@')&&n.default.validate(i)?t===i?(0,l.createElement)("a",{href:"mailto:"+t,key:c},t):(0,l.createElement)(l.Fragment,{key:c},(0,l.createElement)("a",{href:"mailto:"+t,key:c},i),(0,l.createElement)(l.Fragment,null,t.slice(-(t.length-i.length)))):(0,l.createElement)(l.Fragment,{key:c},t)}))};e.default=c},3534,[3482,683,3535]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;e.validate=function(n){if(!n)return!1;if(n.length>254)return!1;if(!t.test(n))return!1;var u=n.split("@");return!(u[0].length>64)&&!u[1].split(".").some(function(t){return t.length>63})}},3535,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),o=t(r(d[2])),u=r(d[3]),f=t(r(d[4])),c=t(r(d[5])),n=(0,u.withPreferredColorScheme)(function(t){var u=t.setAttributes,n=t.getStylesFromColorScheme,y=t.type,b=t.keyboardType,p=t.save,h=t.label,k=t.attributeKey,s=n(c.default.placeholder,c.default.placeholderDark).color,v={keyboardType:b,style:n(c.default.blockEditorPlainText,c.default.blockEditorPlainTextDark),placeholderTextColor:s};return(0,f.default)(y,(0,o.default)({},t,v),h,p,function(t){return u((0,l.default)({},k,t))})});e.default=n},3536,[3482,3526,3483,1384,3537,3523]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),o=r(d[4]),c=function(t,c,f,v,s){var _=c.onFocus,b=c.attributes[t];return(0,l.createElement)(o.View,null,(0,l.createElement)(u.PlainText,(0,n.default)({},c,{value:b,placeholder:f,"aria-label":f,onChange:s,onFocus:_})))};e.default=c},3537,[3482,683,3483,1687,17]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var c=r(d[1]),l=r(d[2]),n=r(d[3]),o=t(r(d[4])),p=t(r(d[5])),s=t(r(d[6]));e.name='phone';var k={title:(0,l.__)('Phone Number','jetpack'),description:(0,l.__)('Lets you add a phone number with an automatically generated click-to-call link.','jetpack'),keywords:[(0,l._x)('mobile','block search term','jetpack'),(0,l._x)('telephone','block search term','jetpack'),(0,l._x)('cell','block search term','jetpack')],icon:(0,p.default)((0,c.createElement)(n.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:'grow',attributes:{phone:{type:'string',default:''}},parent:['jetpack/contact-info'],edit:o.default,save:s.default};e.settings=k},3538,[3482,683,1280,1691,3539,3522,3540]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]),o=t(r(d[4])),f=t(r(d[5])),p=function(t){return(0,n.createElement)(f.default,(0,u.default)({},t,{type:'phone',keyboardType:'phone-pad',save:o.default,label:(0,l.__)('Phone number','jetpack'),attributeKey:'phone'}))};e.default=p},3539,[3482,683,3483,1280,3540,3536]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.renderPhone=n;var t=r(d[0]);function n(n){var s=n.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!s)return n;var u=n.indexOf(s[0]),l=u?n.substring(u-1):n,c=u?n.substring(0,u):'',f=l.replace(/\D/g,'');return/[0-9/+/(]/.test(l[0])?(c=c.slice(0,-1),'+'===l[0]&&(f='+'+f)):l=l.substring(1),[c.trim()?(0,t.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},c):null,(0,t.createElement)("a",{key:"phoneNumber",href:"tel:"+f},l)]}var s=function(s){var u=s.attributes.phone,l=s.className;return u&&(0,t.createElement)("div",{className:l},n(u))};e.default=s},3540,[683]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1])),t=r(d[2]);(0,n.default)(t.name,t.settings)},3541,[3482,3517,3542]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"icon",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var o=r(d[1]),c=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),n=t(r(d[5])),u=r(d[6]),p={mediaFiles:[{alt:'',caption:'',mime:'image/jpg',type:'image',id:22,url:t(r(d[7])).default}]};e.name='story';var y={title:(0,o.__)('Story','jetpack'),category:(0,n.default)('media','layout'),keywords:[(0,o._x)('story','block search term','jetpack'),(0,o._x)('image','block search term','jetpack'),(0,o._x)('video','block search term','jetpack'),(0,o._x)('gallery','block search term','jetpack')],description:(0,o.__)('Add an interactive story.','jetpack'),attributes:{settings:{type:'object'},mediaFiles:{type:'array',default:[]}},supports:{html:!1},icon:{src:s.default,foreground:(0,u.getIconColor)()},edit:c.default,save:l.default,example:{attributes:p}};e.settings=y},3542,[3482,1280,3543,3547,3548,3549,3507,3550]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=r(d[8]),S=r(d[9]),v=t(r(d[10])),F=t(r(d[11])),M=function(t){var M=t.attributes,E=t.isSelected,U=t.clientId,h=t.setAttributes,y=t.onFocus,I=M.mediaFiles,_=!!I.length,P=(0,n.useState)(!1),D=(0,o.default)(P,2),b=D[0],k=D[1],w=(0,n.useState)(!1),A=(0,o.default)(w,2),R=A[0],T=A[1],W=(0,n.useState)(!1),q=(0,o.default)(W,2),C=q[0],V=q[1],j=(0,n.useState)(!1),B=(0,o.default)(j,2),O=(B[0],B[1]);function Y(){(0,p.requestMediaFilesEditorLoad)(I,U)}function G(t,n,o){return void 0!==n?I.map(function(s){return s.id===t.toString()?(0,l.default)({},s,{id:n,url:o,link:o}):(0,l.default)({},s)}):I}(0,n.useEffect)(p.mediaUploadSync,[]),(0,n.useEffect)(p.mediaSaveSync,[]),(0,n.useEffect)(function(){(0,p.mediaFilesBlockReplaceSync)(I,U)},[U]);var L=(0,n.createElement)(s.View,{pointerEvents:"none",style:v.default['content-placeholder']},(0,n.createElement)(c.MediaPlaceholder,{icon:S.icon,labels:{title:(0,f.__)('Story','jetpack'),instructions:(0,f.__)('ADD MEDIA','jetpack')},allowedTypes:[c.MEDIA_TYPE_IMAGE,c.MEDIA_TYPE_VIDEO],onFocus:y}));return(0,n.createElement)(s.TouchableWithoutFeedback,{accessible:!E,onPress:function(){b?(0,p.requestMediaFilesUploadCancelDialog)(I):R?(0,p.requestMediaFilesSaveCancelDialog)(I):C?(0,p.requestMediaFilesFailedRetryDialog)(I):Y()},disabled:!E},(0,n.createElement)(s.View,{style:v.default['content-placeholder']},!_&&L,_&&(0,n.createElement)(s.View,{style:v.default['wp-story-container']},!b&&!R&&E&&(0,n.createElement)(F.default,{onEditButtonTapped:Y}),(0,n.createElement)(c.BlockMediaUpdateProgress,{coverUrl:I[0].url,mediaFiles:I,onUpdateMediaUploadProgress:function(t){t.mediaUrl&&h({url:t.mediaUrl}),b||k(!0)},onFinishMediaUploadWithSuccess:function(t){var n=G(t.mediaId,t.mediaServerId,t.mediaUrl);h({mediaFiles:n}),k(!1)},onFinishMediaUploadWithFailure:function(t){k(!1),V(!0)},onMediaUploadStateReset:function(){k(!1)},onUpdateMediaSaveProgress:function(t){t.mediaUrl&&h({url:t.mediaUrl}),R||T(!0)},onFinishMediaSaveWithSuccess:function(t){var n,o,s=(n=t.mediaId,o=t.mediaUrl,void 0!==n?I.map(function(t){return t.id===n.toString()?(0,l.default)({},t,{url:o,link:o}):(0,l.default)({},t)}):I);h({mediaFiles:s}),T(!1)},onFinishMediaSaveWithFailure:function(t){T(!1)},onMediaSaveStateReset:function(){T(!1)},onFinalSaveResult:function(t){T(!1),O(!t.success)},onMediaIdChanged:function(t){var n=G(t.mediaId,t.newId,t.mediaUrl);h({mediaFiles:n}),T(!1)},renderContent:function(t){var l=t.isUploadProgressing,o=t.isUploadFailed,s=t.isSaveProgressing,c=t.isSaveFailed,f=t.retryMessage;return(0,n.createElement)(u.Image,{isUploadFailed:o||c,isUploadInProgress:l||s,retryMessage:f,url:I[0].url,style:v.default['wp-story-image']})}}))))};e.default=M},3543,[3482,683,3483,3527,17,1691,1687,1280,1276,3542,3544,3545]); -__d(function(g,r,i,a,m,e,d){m.exports={"wp-story-container":{height:320,width:180,marginLeft:"auto",marginRight:"auto",position:"relative",listStyle:"none",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,zIndex:1,borderRadius:15,overflow:"hidden",shadowOffset:{width:0,height:2},shadowRadius:12,shadowColor:"rgba(0, 0, 0, 0.25)",shadowOpacity:1},editContainer:{width:44,height:44,position:"absolute",top:0,right:0,zIndex:2},edit:{width:30,height:30,backgroundColor:"#2e4453",borderRadius:22,position:"absolute",top:5,right:5},iconCustomize:{fill:"#fff",position:"absolute",top:7,left:7},"content-placeholder":{flexGrow:1,flexShrink:1,flexBasis:0}}},3544,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),u=r(d[3]),o=r(d[4]),c=t(r(d[5])),f=t(r(d[6])),s=function(t){var s=t.onEditButtonTapped;return(0,n.createElement)(u.TouchableWithoutFeedback,{onPress:s},(0,n.createElement)(u.View,{style:f.default.editContainer},(0,n.createElement)(u.View,{style:f.default.edit},(0,n.createElement)(o.Icon,(0,l.default)({size:16,icon:c.default},f.default.iconCustomize)))))};e.default=s},3545,[3482,683,3483,17,1691,3546,3544]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),c=r(d[1]),l=(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"}));e.default=l},3546,[683,1691]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2]));e.default=function(t){var n=t.className;return(0,l.createElement)("div",{className:(0,u.default)('wp-story',n)})}},3547,[3482,683,2154]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),h=(0,t(r(d[3])).default)((0,l.createElement)(n.G,null,(0,l.createElement)(n.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,l.createElement)(n.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,l.createElement)(n.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));e.default=h},3548,[3482,683,1691,3522]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var o=(0,t.getCategories)(),n=arguments.length,f=new Array(n),u=0;u0},transform:function(t){var l=M(t);return(0,u.createBlock)("jetpack/tiled-gallery",{images:l.map(function(t){return{id:t.id,url:t.url,link:t.link,alt:t.alt}}),ids:l.map(function(t){return t.id})})}},{type:'block',blocks:['core/gallery','jetpack/slideshow'],transform:function(t){var l=M(t.images);return l.length>0?(0,u.createBlock)("jetpack/tiled-gallery",{images:l.map(function(t){return{id:t.id,url:t.url,link:t.link,alt:t.alt}}),ids:l.map(function(t){return t.id})}):(0,u.createBlock)("jetpack/tiled-gallery")}}],to:[{type:'block',blocks:['core/gallery'],transform:function(t){var l=t.images,c=t.ids,o=t.columns,n=t.linkTo;return(0,u.createBlock)('core/gallery',{images:l,ids:c,columns:o,imageCrop:!0,linkTo:n})}},{type:'block',blocks:['core/image'],transform:function(t){var l=t.align,c=t.images;return c.length>0?c.map(function(t){var c=t.id,o=t.url,n=t.alt;return(0,u.createBlock)('core/image',{align:l,id:c,url:o,alt:n})}):(0,u.createBlock)('core/image')}}]},edit:h.default,save:f.default,providesContext:{imageCrop:'imageCrop'},deprecated:T.default,example:{attributes:S}};e.settings=Y},3552,[3482,683,3483,3526,1280,1342,3491,1691,3500,3553,3559,3554,3507,3549,3593,3594,3631,3632,3633,3634,3635,3636]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.defaultColumnsNumber=function(t){return Math.min(b.MAX_COLUMNS,t.length)};var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),h=r(d[10]),b=r(d[11]),_=r(d[12]),y=t(r(d[13])),M=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=A(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[14])),E=r(d[15]);function A(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(A=function(t){return t?o:n})(t)}var w=function(t){return t.width>=t.height?4:2},k=function(t){var A=(0,h.useResizeObserver)(),k=(0,l.default)(A,2),O=k[0],P=k[1],D=(0,n.useState)(0),I=(0,l.default)(D,2),N=I[0],S=I[1],j=(0,u.useWindowDimensions)(),C=t.className,L=t.clientId,B=t.noticeUI,T=t.onFocus,U=t.setAttributes,W=t.attributes,z=W.columns,F=W.images,V=W.roundedCorners,Y=(0,v.useDispatch)(s.store),x=Y.replaceInnerBlocks,R=Y.updateBlockAttributes,G=Math.min(z,w(j));(0,n.useEffect)(function(){var t=(P||{}).width;if(t&&(S(t),z)){var n=new Array(z).fill(Math.floor(t/z));U({columnWidths:[n]})}},[P,z,U]);var H=(0,v.useSelect)(function(t){var n;return null==(n=t(s.store).getBlock(L))?void 0:n.innerBlocks},[L]),X=(0,n.useMemo)(function(){return null==H?void 0:H.map(function(t){return{clientId:t.clientId,id:t.attributes.id,url:t.attributes.url,attributes:t.attributes,fromSavedContent:Boolean(t.originalContent)}})},[H]);(0,n.useEffect)(function(){null==X||X.forEach(function(t){R(t.clientId,(0,o.default)({},t.attributes,{id:t.id}))});var t=null==X?void 0:X.map(function(t){return t.id});U({ids:t})},[X,U,R]),(0,n.useEffect)(function(){if(!z){var t=Math.min(X.length,M.DEFAULT_COLUMNS);U({columns:Math.max(t,1)})}},[z,X,U]);var q=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,E.getActiveStyleName)(b.LAYOUT_STYLES,C),l=t.map(function(t){return(0,f.createBlock)('core/image',{id:t.id,url:t.url,caption:t.caption,alt:t.alt,className:y.default["is-style-"+o]})});x(L,n?l:(0,c.concat)(H,l))};(0,n.useEffect)(function(){z||U({columns:M.DEFAULT_COLUMNS})},[z,U]),F.length&&!X.length&&q(F,!0);var J=(0,s.useInnerBlocksProps)({},{contentResizeMode:'stretch',allowedBlocks:['core/image'],orientation:'horizontal',renderAppender:!1,numColumns:G,marginHorizontal:8,marginVertical:8,__experimentalLayout:{type:'default',alignments:[]},gridProperties:{numColumns:G},parentWidth:N+16}),K=(0,n.createElement)(s.MediaPlaceholder,{isAppender:X.length>0,icon:_.icon,className:C,labels:{title:(0,p.__)('Tiled Gallery','jetpack'),name:(0,p.__)('images','jetpack'),instructions:(0,p.__)('ADD MEDIA','jetpack')},onSelect:q,accept:"image/*",allowedTypes:b.ALLOWED_MEDIA_TYPES,multiple:!0,notices:B,onFocus:T,onError:''}),Q=(0,s.useBlockProps)({className:C});return(0,n.createElement)(u.View,{blockProps:Q},O,(0,n.createElement)(M.default,{setAttributes:t.setAttributes,columns:z,roundedCorners:V,clientId:L,className:t.attributes.className,window:j,numImages:X.length}),(0,n.createElement)(u.View,J),(0,n.createElement)(u.View,{style:[y.default.galleryAppender]},K))};e.default=k},3553,[3482,683,3483,3527,17,3491,1687,1342,1280,1344,1384,3554,3552,3555,3556,3557]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PHOTON_MAX_RESIZE=e.MAX_ROUNDED_CORNERS=e.MAX_COLUMNS=e.LAYOUT_STYLES=e.LAYOUT_SQUARE=e.LAYOUT_DEFAULT=e.LAYOUT_COLUMN=e.LAYOUT_CIRCLE=e.GUTTER_WIDTH=e.DEFAULT_GALLERY_WIDTH=e.ALLOWED_MEDIA_TYPES=void 0;e.ALLOWED_MEDIA_TYPES=['image'];e.DEFAULT_GALLERY_WIDTH=580;e.GUTTER_WIDTH=4;e.MAX_COLUMNS=20;e.MAX_ROUNDED_CORNERS=20;e.PHOTON_MAX_RESIZE=2e3;e.LAYOUT_CIRCLE="circle";e.LAYOUT_COLUMN="columns";e.LAYOUT_DEFAULT="rectangular";e.LAYOUT_SQUARE="square";var _=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];e.LAYOUT_STYLES=_},3554,[]); -__d(function(g,r,i,a,m,e,d){m.exports={galleryAppender:{paddingTop:16},horizontalBorder:{borderTopWidth:1,borderColor:"#e8eaeb"},horizontalBorderDark:{borderColor:"#3c434a"},"is-style-square":{aspectRatio:1},"is-style-rectangular":{aspectRatio:1},cellRowStyles:{flexShrink:1},galleryLayoutTitle:{textAlign:"left"}}},3555,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_COLUMNS=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=t(r(d[7])),f=r(d[8]),C=r(d[9]),E=t(r(d[10]));e.DEFAULT_COLUMNS=2;var S=function(t){var S=(0,s.usePreferredColorSchemeStyle)(_.default.horizontalBorder,_.default.horizontalBorderDark),v=t.setAttributes,y=t.numImages,L=t.columns,U=t.roundedCorners,A=t.clientId,N=t.className,O=(0,l.useState)(null!=L?L:2),M=(0,n.default)(O,2),h=M[0],B=M[1];(0,l.useEffect)(function(){B(L)},[L]);var P=(0,l.useState)(null!=U?U:2),R=(0,n.default)(P,2),T=R[0],p=R[1],D=(0,C.getActiveStyleName)(f.LAYOUT_STYLES,N);return(0,l.createElement)(o.InspectorControls,null,(0,l.createElement)(c.PanelBody,{title:(0,u.__)('Tiled gallery settings','jetpack')}),(0,l.createElement)(c.PanelBody,null,(0,l.createElement)(E.default,{clientId:A,className:N})),(0,l.createElement)(c.PanelBody,null,(0,l.createElement)(c.UnitControl,{label:(0,u.__)('Columns','jetpack'),min:1,max:f.MAX_COLUMNS,value:Math.min(h,y),onChange:function(t){B(t),v({columns:t})}})),D!==f.LAYOUT_CIRCLE&&(0,l.createElement)(c.PanelBody,{style:S},(0,l.createElement)(c.RangeControl,{label:(0,u.__)('Rounded corners','jetpack'),minimumValue:0,maximumValue:f.MAX_ROUNDED_CORNERS,value:T,onChange:function(t){p(t),v({roundedCorners:t})}})))};e.default=S},3556,[3482,683,3527,1687,1280,1691,1384,3555,3554,3557,3558]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveStyleName=function(t,n){var o=f(t,n);return o?o.name:null};var n=t(r(d[1])),o=r(d[2]);function i(t,n){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=u(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,n){if(t){if("string"==typeof t)return l(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,i=new Array(n);o1,srcSet:O,url:F,width:e.width})}},{key:"render",value:function(){var e=this.props,o=e.align,i=e.children,l=e.className,s=e.columns,u=e.images,c=e.layoutStyle,v=e.roundedCorners,h=e.onResize,I=e.isSave,k=e.columnWidths,_=(0,R.isSquareishLayout)(c)?y.default:p.default,M=this.props.images.map(this.renderImage,this),w=c!==S.LAYOUT_CIRCLE?Math.min(v,S.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{className:(0,f.default)(l,(0,n.default)({},"has-rounded-corners-"+w,w>0))},(0,t.createElement)(_,{align:o,columns:s,columnWidths:I?k:void 0,images:u,layoutStyle:c,renderedImages:M,onResize:I?void 0:h}),i)}}]),w})(t.Component);_e.default=k},3560,[3482,683,3526,3561,3562,3563,3565,3568,1280,2154,3569,3571,3572,3579,3580,3554]); -__d(function(g,r,i,a,m,e,d){m.exports=function(o,n){if(!(o instanceof n))throw new TypeError("Cannot call a class as a function")},m.exports.default=m.exports,m.exports.__esModule=!0},3561,[]); -__d(function(g,r,_i,a,m,e,d){function t(t,n){for(var o=0;o=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0},t.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener('transitionend',this.onTransitionEnd_),window.addEventListener('resize',this.refresh),p?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener('DOMSubtreeModified',this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener('transitionend',this.onTransitionEnd_),window.removeEventListener('resize',this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener('DOMSubtreeModified',this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=void 0===n?'':n;f.some(function(t){return!!~o.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t})(),_=function(t,n){for(var o=0,s=Object.keys(n);o0},n})(),j='undefined'!=typeof WeakMap?new WeakMap:new t,k=(function(){return function t(n){if(!(this instanceof t))throw new TypeError('Cannot call a class as a function.');if(!arguments.length)throw new TypeError('1 argument required, but only 0 present.');var o=v.getInstance(),s=new D(n,o,this);j.set(this,s)}})();return['observe','unobserve','disconnect'].forEach(function(t){k.prototype[t]=function(){var n;return(n=j.get(this))[t].apply(n,arguments)}}),void 0!==o.ResizeObserver?o.ResizeObserver:k},'object'==typeof e&&void 0!==m?m.exports=n():'function'==typeof define&&define.amd?define(n):t.ResizeObserver=n()},3573,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.children,c=t.width,o=c?{flexBasis:c+"%"}:void 0;return(0,l.createElement)("div",{className:"tiled-gallery__col",style:o},n)};var l=r(d[0])},3574,[683]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.children,c=t.galleryRef;return(0,l.createElement)("div",{className:"tiled-gallery__gallery",ref:c},n)};var l=r(d[0])},3575,[683]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var c=l.children,u=l.className;return(0,t.createElement)("div",{className:(0,n.default)('tiled-gallery__row',u)},c)};var t=r(d[1]),n=l(r(d[2]))},3576,[3482,683,2154]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getGalleryRows=function(t){return Array.from(t.querySelectorAll('.tiled-gallery__row'))},e.handleRowResize=function(t,n){return s(t,l(t),n)};var n=t(r(d[1])),u=r(d[2]),i=r(d[3]);function o(t,n){var u=(n-t.reduce(function(t,n){return t+n},0))/t.length;return t.map(function(t){return t+u})}function l(t){return c(t).map(h).reduce(function(t,u){var i=(0,n.default)(t,2),o=i[0],l=i[1],c=(0,n.default)(u,2);return[o+c[0],l+c[1]]},[0,0])}function c(t){return u.Platform.select({web:function(){return Array.from(t.querySelectorAll('.tiled-gallery__col'))},native:function(){return t}})()}function f(t){return u.Platform.select({web:function(){return Array.from(t.querySelectorAll('.tiled-gallery__item > img, .tiled-gallery__item > a > img'))},native:function(){return t.map(function(t){return t.props})}})()}function h(t){var n=f(t),u=n.length,i=1/n.map(w).reduce(function(t,n){return t+1/n},0);return[i,i*u||1]}function w(t){var n=u.Platform.select({web:function(){return parseInt(t.dataset.width,10)},native:function(){return t.width}})(),i=u.Platform.select({web:function(){return parseInt(t.dataset.height,10)},native:function(){return t.height}})();return n&&!Number.isNaN(n)&&i&&!Number.isNaN(i)?n/i:1}function s(t,o,l){var c=(0,n.default)(o,2),f=c[0],h=c[1],w=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})(),s=1/f*(l-i.GUTTER_WIDTH*(w-1)-h);return v(t,{rawHeight:s,rowWidth:l-i.GUTTER_WIDTH*(w-1)})}function v(t,n){var l=n.rawHeight,f=n.rowWidth,w=c(t),s=w.map(function(t){var n=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})();return(l-i.GUTTER_WIDTH*(n-1))*h(t)[0]}),v=o(s,f);return w.forEach(function(t,n){var o=s[n],c=v[n],f=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})();_(t,{colHeight:l-i.GUTTER_WIDTH*(f-1),width:c,rawWidth:o})}),v.map(function(t){return parseFloat(t/f*100).toFixed(5)})}function _(t,n){var i=n.colHeight,l=n.width,c=n.rawWidth,h=o(f(t).map(function(t){return c/w(t)}),i);u.Platform.select({web:function(){Array.from(t.children).forEach(function(t,n){var u=h[n];t.setAttribute('style',"height:"+u+"px;width:"+l+"px;")})}})()}},3577,[3482,3527,683,3554]); -__d(function(g,_r,_i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.imagesToRatios=function(r){return(0,n.map)(r,t)},e.ratioFromImage=t,e.ratiosToColumns=function(t,r){if(t.length<=r)return[Array(t.length).fill(1)];for(var u=(0,n.sum)(t)/r,i=[],o=t,l=0,h=function(t){var r=(0,n.takeWhile)(o,function(n){var r=l<=(t+1)*u;return r&&(l+=n),r}).length;i.push(r),o=(0,n.drop)(o,r)},c=0;c1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.width)return t.url?{src:t.url}:{};if((0,v.default)())return{src:t.url};if((0,h.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url)||(0,c.isAtomicSite)()&&(0,c.isPrivateSite)())return{src:t.url};var u,s=t.url.split('?',1)[0],_=t.height,S=t.width,b=n.layoutStyle,P=M(s)||!0===w()?O:o.default;if(y(b)&&S&&_){var j=Math.min(p.PHOTON_MAX_RESIZE,S,_);u=P(s,{resize:j+","+j})}else u=P(s);var E;if(y(b)){var q=Math.min(600,S,_),A=Math.min(p.PHOTON_MAX_RESIZE,S,_);E=(0,f.range)(q,A,300).map(function(t){var n=P(s,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var I=Math.min(600,S),R=Math.min(p.PHOTON_MAX_RESIZE,S);E=(0,f.range)(I,R,300).map(function(t){var n=P(s,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,l.default)({src:u},E&&{srcSet:E})};var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),s=r(d[5]),h=r(d[6]),f=r(d[7]),c=r(d[8]),p=r(d[9]),v=t(r(d[10])),_=["auth","hash","port","query","search"];function y(t){return['circle','square'].includes(t)}function w(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function M(t){var n=(0,s.parse)(t).host;return/\.files\.wordpress\.com$/.test(n)}function O(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},f=(0,s.parse)(t),c=(f.auth,f.hash,f.port,f.query,f.search,(0,u.default)(f,_));return c.query=Object.keys(o).reduce(function(t,u){return(0,l.default)(t,(0,n.default)({},h.hasOwnProperty(u)?h[u]:u,o[u]))},{}),(0,s.format)(c)}},3580,[3482,3526,3581,3483,3583,3589,2948,3491,3500,3554,3592]); -__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);m.exports=function(o,n){if(null==o)return{};var l,p,s=t(o,n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(p=0;p=0||Object.prototype.propertyIsEnumerable.call(o,l)&&(s[l]=o[l])}return s},m.exports.default=m.exports,m.exports.__esModule=!0},3581,[3582]); -__d(function(g,r,_i,a,m,e,d){m.exports=function(t,n){if(null==t)return{};var o,u,f={},s=Object.keys(t);for(u=0;u=0||(f[o]=t[o]);return f},m.exports.default=m.exports,m.exports.__esModule=!0},3582,[]); -__d(function(g,r,_i,a,m,e,d){"use strict";var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){var n;try{n=new URL(t,l)}catch(t){return null}var u='https:'===n.protocol,f=new URL(i);if(w=n.host,/^i[0-2]\.wp\.com$/.test(w))f.pathname=n.pathname,f.hostname=n.hostname;else{if(n.search)return null;var v=n.href.replace("".concat(n.protocol,"/"),'');'blob:'===n.protocol&&(v=n.pathname.replace('://','//')),n.hostname===c&&(v=n.pathname),f.pathname=v,f.hostname=p(v),u&&f.searchParams.set('ssl',1)}var w;if(o)for(var _ in o)'host'!==_&&'hostname'!==_?'secure'!==_||o[_]?f.searchParams.set(s[_]||_,o[_]):f.protocol='http:':f.hostname=o[_];return h('generated Photon URL: %s',f.href),f.href};var o=t(r(d[1])),n=t(r(d[2])),h=(0,t(r(d[3])).default)('photon'),s={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},c='__domain__.invalid',l="http://".concat(c),i='https://i0.wp.com';function p(t){var s=(0,o.default)(t),c=(0,n.default)(s),l='i'+Math.floor(3*c());return h('determined server "%s" to use with "%s"',l,t),l+'.wp.com'}},3583,[3482,3584,3585,3586]); -__d(function(g,r,_i,a,m,e,d){!(function(){'use strict';var t=[],n=3988292384;function o(t){var o,c,f,i,u=-1;for(o=0,f=t.length;o>>1^n:i>>>=1;u=u>>>8^i}return-1^u}function c(n,o){var f,i,u;if(void 0!==c.crc&&o&&n||(c.crc=-1,n)){for(f=c.crc,i=0,u=n.length;i>>8^t[255&(f^n[i])];return c.crc=f,-1^f}}!(function(){var o,c,f;for(c=0;c<256;c+=1){for(o=c,f=0;f<8;f+=1)1&o?o=n^o>>>1:o>>>=1;t[c]=o>>>0}})(),m.exports=function(t,n){var f;t='string'==typeof t?(f=t,Array.prototype.map.call(f,function(t){return t.charCodeAt(0)})):t;return((n?o(t):c(t))>>>0).toString(16)},m.exports.direct=o,m.exports.table=c})()},3584,[]); -__d(function(g,_r,_i,_a,m,_e,_d){'use strict';var r=256,n=[],t=void 0===g?window:g,o=Math.pow(r,6),a=Math.pow(2,52),e=255,i=Math.random;function u(n){var t,o=n.length,a=this,i=0,u=a.i=a.j=0,f=a.S=[];for(o||(n=[o++]);i=9007199254740992;)n/=2,t/=2,e>>>=1;return(n+e)/t}},m.exports.resetGlobal=function(){Math.random=i},c(Math.random(),n)},3585,[]); -__d(function(g,_r,i,a,m,e,d){e.log=function(){return'object'==typeof console&&function(){}&&void 0},e.formatArgs=function(C){if(C[0]=(this.useColors?'%c':'')+this.namespace+(this.useColors?' %c':' ')+C[0]+(this.useColors?'%c ':' ')+'+'+m.exports.humanize(this.diff),!this.useColors)return;var t='color: '+this.color;C.splice(1,0,t,'color: inherit');var o=0,n=0;C[0].replace(/%[a-zA-Z%]/g,function(C){'%%'!==C&&'%c'===C&&(n=++o)}),C.splice(n,0,t)},e.save=function(C){try{C?e.storage.setItem('debug',C):e.storage.removeItem('debug')}catch(C){}},e.load=function(){var C;try{C=e.storage.getItem('debug')}catch(C){}!C&&'undefined'!=typeof process&&'env'in process&&(C=process.env.DEBUG);return C},e.useColors=function(){if('undefined'!=typeof window&&window.process&&('renderer'===window.process.type||window.process.__nwjs))return!0;if('undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return'undefined'!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||'undefined'!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||'undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||'undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=(function(){try{return localStorage}catch(C){}})(),e.colors=['#0000CC','#0000FF','#0033CC','#0033FF','#0066CC','#0066FF','#0099CC','#0099FF','#00CC00','#00CC33','#00CC66','#00CC99','#00CCCC','#00CCFF','#3300CC','#3300FF','#3333CC','#3333FF','#3366CC','#3366FF','#3399CC','#3399FF','#33CC00','#33CC33','#33CC66','#33CC99','#33CCCC','#33CCFF','#6600CC','#6600FF','#6633CC','#6633FF','#66CC00','#66CC33','#9900CC','#9900FF','#9933CC','#9933FF','#99CC00','#99CC33','#CC0000','#CC0033','#CC0066','#CC0099','#CC00CC','#CC00FF','#CC3300','#CC3333','#CC3366','#CC3399','#CC33CC','#CC33FF','#CC6600','#CC6633','#CC9900','#CC9933','#CCCC00','#CCCC33','#FF0000','#FF0033','#FF0066','#FF0099','#FF00CC','#FF00FF','#FF3300','#FF3333','#FF3366','#FF3399','#FF33CC','#FF33FF','#FF6600','#FF6633','#FF9900','#FF9933','#FFCC00','#FFCC33'],m.exports=_r(d[0])(e),m.exports.formatters.j=function(C){try{return JSON.stringify(C)}catch(C){return'[UnexpectedJSONParseError]: '+C.message}}},3586,[3587]); -__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);m.exports=function(t){function s(n){for(var t=0,s=0;s100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(m){var h=parseFloat(m[1]);switch((m[2]||'ms').toLowerCase()){case'years':case'year':case'yrs':case'yr':case'y':return h*o;case'weeks':case'week':case'w':return h*u;case'days':case'day':case'd':return h*t;case'hours':case'hour':case'hrs':case'hr':case'h':return h*c;case'minutes':case'minute':case'mins':case'min':case'm':return h*n;case'seconds':case'second':case'secs':case'sec':case's':return h*s;case'milliseconds':case'millisecond':case'msecs':case'msec':case'ms':return h;default:return}}}}function m(u){var o=Math.abs(u);return o>=t?Math.round(u/t)+'d':o>=c?Math.round(u/c)+'h':o>=n?Math.round(u/n)+'m':o>=s?Math.round(u/s)+'s':u+'ms'}function h(u){var o=Math.abs(u);return o>=t?y(u,o,t,'day'):o>=c?y(u,o,c,'hour'):o>=n?y(u,o,n,'minute'):o>=s?y(u,o,s,'second'):u+' ms'}function y(s,n,c,t){var u=n>=1.5*c;return Math.round(s/c)+' '+t+(u?'s':'')}_m.exports=function(s,n){n=n||{};var c=typeof s;if('string'===c&&s.length>0)return d(s);if('number'===c&&isFinite(s))return n.long?h(s):m(s);throw new Error('val is not a non-empty string or a valid number. val='+JSON.stringify(s))}},3588,[]); -__d(function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]);function h(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=q,e.resolve=function(t,s){return q(t,!1,!0).resolve(s)},e.resolveObject=function(t,s){return t?q(t,!1,!0).resolveObject(s):s},e.format=function(t){s.isString(t)&&(t=q(t));return t instanceof h?t.format():h.prototype.format.call(t)},e.Url=h;var o=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=['{','}','|','\\','^','`'].concat(['<','>','"','`',' ','\r','\n','\t']),p=['\''].concat(l),c=['%','/','?',';','#'].concat(p),f=['/','?','#'],u=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,'javascript:':!0},b={javascript:!0,'javascript:':!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,'http:':!0,'https:':!0,'ftp:':!0,'gopher:':!0,'file:':!0},j=r(d[2]);function q(t,o,n){if(t&&s.isObject(t)&&t instanceof h)return t;var i=new h;return i.parse(t,o,n),i}h.prototype.parse=function(h,n,l){if(!s.isString(h))throw new TypeError("Parameter 'url' must be a string, not "+typeof h);var q=h.indexOf('?'),x=-1!==q&&q127?E+='x':E+=Z[P];if(!E.match(u)){var B=H.slice(0,$),D=H.slice($+1),F=Z.match(v);F&&(B.push(F[1]),D.unshift(F[2])),D.length&&(C='/'+D.join('.')+C),this.hostname=B.join('.');break}}}this.hostname.length>255?this.hostname='':this.hostname=this.hostname.toLowerCase(),z||(this.hostname=t.toASCII(this.hostname));var G=this.port?':'+this.port:'',J=this.hostname||'';this.host=J+G,this.href+=this.host,z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),'/'!==C[0]&&(C='/'+C))}if(!y[U])for($=0,L=p.length;$0)&&n.host.split('@'))&&(n.auth=z.shift(),n.host=n.hostname=z.shift());return n.search=t.search,n.query=t.query,s.isNull(n.pathname)&&s.isNull(n.search)||(n.path=(n.pathname?n.pathname:'')+(n.search?n.search:'')),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path='/'+n.search:n.path=null,n.href=n.format(),n;for(var R=k.slice(-1)[0],S=(n.host||t.host||k.length>1)&&('.'===R||'..'===R)||''===R,$=0,_=k.length;_>=0;_--)'.'===(R=k[_])?k.splice(_,1):'..'===R?(k.splice(_,1),$++):$&&(k.splice(_,1),$--);if(!w&&!U)for(;$--;$)k.unshift('..');!w||''===k[0]||k[0]&&'/'===k[0].charAt(0)||k.unshift(''),S&&'/'!==k.join('/').substr(-1)&&k.push('');var z,H=''===k[0]||k[0]&&'/'===k[0].charAt(0);N&&(n.hostname=n.host=H?'':k.length?k.shift():'',(z=!!(n.host&&n.host.indexOf('@')>0)&&n.host.split('@'))&&(n.auth=z.shift(),n.host=n.hostname=z.shift()));return(w=w||n.host&&k.length)&&!H&&k.unshift(''),k.length?n.pathname=k.join('/'):(n.pathname=null,n.path=null),s.isNull(n.pathname)&&s.isNull(n.search)||(n.path=(n.pathname?n.pathname:'')+(n.search?n.search:'')),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},h.prototype.parseHost=function(){var t=this.host,s=n.exec(t);s&&(':'!==(s=s[0])&&(this.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(this.hostname=t)}},3589,[3590,3591,717]); -__d(function(g,r,_i,a,_m,e,d){!(function(n){var o='object'==typeof e&&e&&!e.nodeType&&e,t='object'==typeof _m&&_m&&!_m.nodeType&&_m,i='object'==typeof g&&g;i.global!==i&&i.window!==i&&i.self!==i||(n=i);var f,u,c=2147483647,l=36,s=1,p=26,h=38,v=700,w=72,y=128,x='-',C=/^xn--/,b=/[^\x20-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:'Overflow: input needs wider integers to process','not-basic':'Illegal input >= 0x80 (not a basic code point)','invalid-input':'Invalid input'},I=35,E=Math.floor,F=String.fromCharCode;function m(n){throw RangeError(A[n])}function O(n,o){for(var t=n.length,i=[];t--;)i[t]=o(n[t]);return i}function S(n,o){var t=n.split('@'),i='';return t.length>1&&(i=t[0]+'@',n=t[1]),i+O((n=n.replace(j,'.')).split('.'),o).join('.')}function T(n){for(var o,t,i=[],f=0,u=n.length;f=55296&&o<=56319&&f65535&&(o+=F((n-=65536)>>>10&1023|55296),n=56320|1023&n),o+=F(n)}).join('')}function L(n,o){return n+22+75*(n<26)-((0!=o)<<5)}function M(n,o,t){var i=0;for(n=t?E(n/v):n>>1,n+=E(n/o);n>455;i+=l)n=E(n/I);return E(i+36*n/(n+h))}function P(n){var o,t,i,f,u,h,v,C,b,j,A,I=[],F=n.length,O=0,S=y,T=w;for((t=n.lastIndexOf(x))<0&&(t=0),i=0;i=128&&m('not-basic'),I.push(n.charCodeAt(i));for(f=t>0?t+1:0;f=F&&m('invalid-input'),((C=(A=n.charCodeAt(f++))-48<10?A-22:A-65<26?A-65:A-97<26?A-97:l)>=l||C>E((c-O)/h))&&m('overflow'),O+=C*h,!(C<(b=v<=T?s:v>=T+p?p:v-T));v+=l)h>E(c/(j=l-b))&&m('overflow'),h*=j;T=M(O-u,o=I.length+1,0==u),E(O/o)>c-S&&m('overflow'),S+=E(O/o),O%=o,I.splice(O++,0,S)}return _(I)}function R(n){var o,t,i,f,u,h,v,C,b,j,A,I,O,S,_,P=[];for(I=(n=T(n)).length,o=y,t=0,u=w,h=0;h=o&&AE((c-t)/(O=i+1))&&m('overflow'),t+=(v-o)*O,o=v,h=0;hc&&m('overflow'),A==o){for(C=t,b=l;!(C<(j=b<=u?s:b>=u+p?p:b-u));b+=l)_=C-j,S=l-j,P.push(F(L(j+_%S,0))),C=E(_/S);P.push(F(L(C,0))),u=M(t,O,i==f),t=0,++i}++t,++o}return P.join('')}if(f={version:'1.3.2',ucs2:{decode:T,encode:_},decode:P,encode:R,toASCII:function(n){return S(n,function(n){return b.test(n)?'xn--'+R(n):n})},toUnicode:function(n){return S(n,function(n){return C.test(n)?P(n.slice(4).toLowerCase()):n})}},'function'==typeof define&&'object'==typeof define.amd&&define.amd)define('punycode',function(){return f});else if(o&&t)if(_m.exports==o)t.exports=f;else for(u in f)f.hasOwnProperty(u)&&(o[u]=f[u]);else n.punycode=f})(this)},3590,[]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports={isString:function(n){return'string'==typeof n},isObject:function(n){return'object'==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}}},3591,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.get)((0,t.getJetpackData)(),['jetpack','is_offline_mode'],!1)};var t=r(d[0]),n=r(d[1])},3592,[3500,3491]); -__d(function(g,r,i,a,m,e,d){m.exports={}},3593,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=u(r(d[0])),n=u(r(d[1]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}function u(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}return f.default=t,u&&u.set(t,f),f}var f=[u(r(d[2])),n,t];e.default=f},3594,[3595,3607,3619]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.attributes=void 0,Object.defineProperty(e,"save",{enumerable:!0,get:function(){return u.default}}),e.support=void 0;var u=t(r(d[1])),l={align:{default:'center',type:'string'},className:{default:"is-style-"+r(d[2]).LAYOUT_DEFAULT,type:'string'},columns:{type:'number'},ids:{default:[],type:'array'},images:{type:'array',default:[],source:'query',selector:'.tiled-gallery__item',query:{alt:{attribute:'alt',default:'',selector:'img',source:'attribute'},caption:{selector:'figcaption',source:'html',type:'string'},height:{attribute:'data-height',selector:'img',source:'attribute',type:'number'},id:{attribute:'data-id',selector:'img',source:'attribute'},link:{attribute:'data-link',selector:'img',source:'attribute'},url:{attribute:'data-url',selector:'img',source:'attribute'},width:{attribute:'data-width',selector:'img',source:'attribute',type:'number'}}},linkTo:{default:'none',type:'string'}};e.attributes=l;e.support={align:['center','wide','full'],customClassName:!1,html:!1}},3595,[3482,3596,3604]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.attributes,f=c.images;if(!f.length)return null;var v=c.align,_=c.className,y=c.columns,N=void 0===y?s(c):y,S=c.linkTo;return(0,l.createElement)(n.default,{align:v,className:_,columns:N,images:f,layoutStyle:(0,u.getActiveStyleName)(o.LAYOUT_STYLES,_),linkTo:S})},e.defaultColumnsNumber=s;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),o=r(d[4]);function s(t){return Math.min(3,t.images.length)}},3596,[3482,683,3597,3557,3604]); -__d(function(g,r,_i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),i=e(r(d[4])),u=e(r(d[5])),o=e(r(d[6])),s=e(r(d[7])),c=e(r(d[8])),f=e(r(d[9])),h=e(r(d[10])),p=r(d[11]),y=r(d[12]),v=r(d[13]),k=e(r(d[14])),b=e(r(d[15])),_=e(r(d[16])),w=r(d[17]),R=["auth","hash","port","query","search"];function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var E=(function(e){(0,s.default)(y,e);var n,l,i=(n=y,l=O(),function(){var e,t=(0,f.default)(n);if(l){var i=(0,f.default)(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return(0,c.default)(this,e)});function y(){return(0,u.default)(this,y),i.apply(this,arguments)}return(0,o.default)(y,[{key:"photonize",value:function(e){var t=e.height,n=e.width,l=e.url;if(l){if((0,v.isBlobURL)(l)||/^https?:\/\/localhost/.test(l))return l;var i=l.split('?',1)[0],u=S(l)?q:h.default;if(I(this.props.layoutStyle)&&n&&t){var o=Math.min(w.PHOTON_MAX_RESIZE,n,t);return u(i,{resize:o+","+o})}return u(i)}}},{key:"renderImage",value:function(e,n){var l=this.props,i=l.images,u=l.linkTo,o=l.selectedImage,s=(0,p.sprintf)((0,p.__)('image %1$d of %2$d in gallery','jetpack'),n+1,i.length);return(0,t.createElement)(k.default,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:o===n,key:n,link:e.link,linkTo:u,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,n=e.align,l=e.children,i=e.className,u=e.columns,o=e.images,s=e.layoutStyle,c=I(s)?_.default:b.default,f=this.props.images.map(this.renderImage,this);return(0,t.createElement)("div",{className:i},(0,t.createElement)(c,{align:n,columns:u,images:o,layoutStyle:s,renderedImages:f}),l)}}]),y})(t.Component);function I(e){return['circle','square'].includes(e)}function S(e){var t=(0,y.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},o=(0,y.parse)(e),s=(o.auth,o.hash,o.port,o.query,o.search,(0,i.default)(o,R));return s.query=Object.keys(t).reduce(function(e,i){return(0,l.default)(e,(0,n.default)({},u.hasOwnProperty(i)?u[i]:i,t[i]))},{}),(0,y.format)(s)}_e.default=E},3597,[3482,683,3526,3483,3581,3561,3562,3563,3565,3568,3583,1280,3589,2948,3598,3599,3606,3604]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var c,u=n['aria-label'],h=n.alt,s=n.height,f=n.id,o=n.link,_=n.linkTo,b=n.origUrl,k=n.url,v=n.width;if((0,l.isBlobURL)(b))return null;switch(_){case'media':c=k;break;case'attachment':c=o}var w=(0,t.createElement)("img",{alt:h,"aria-label":u,"data-height":s,"data-id":f,"data-link":o,"data-url":b,"data-width":v,src:k});return(0,t.createElement)("figure",{className:"tiled-gallery__item"},c?(0,t.createElement)("a",{href:c},w):w)};var t=r(d[0]),l=r(d[1])},3598,[683,2948]); -__d(function(g,r,_i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),l=e(r(d[5])),u=e(r(d[6])),s=e(r(d[7])),c=e(r(d[8])),f=e(r(d[9])),h=e(r(d[10])),y=r(d[11]),p=r(d[12]);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=R(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n img, .tiled-gallery__item > a > img'))}function f(t){var n=c(t),i=n.length,u=1/n.map(h).reduce(function(t,n){return t+1/n},0);return[u,u*i||1]}function h(t){var n=parseInt(t.dataset.width,10),i=parseInt(t.dataset.height,10);return n&&!Number.isNaN(n)&&i&&!Number.isNaN(i)?n/i:1}function _(t,u,l){var o=(0,n.default)(u,2),c=o[0],f=o[1];y(t,{rawHeight:1/c*(l-i.GUTTER_WIDTH*(t.childElementCount-1)-f),rowWidth:l-i.GUTTER_WIDTH*(t.childElementCount-1)})}function y(t,n){var l=n.rawHeight,c=n.rowWidth,h=o(t),_=h.map(function(t){return(l-i.GUTTER_WIDTH*(t.childElementCount-1))*f(t)[0]}),y=u(_,c);h.forEach(function(t,n){var u=_[n],o=y[n];w(t,{colHeight:l-i.GUTTER_WIDTH*(t.childElementCount-1),width:o,rawWidth:u})})}function w(t,n){var i=n.colHeight,l=n.width,o=n.rawWidth,f=u(c(t).map(function(t){return o/h(t)}),i);Array.from(t.children).forEach(function(t,n){var i=f[n];t.setAttribute('style',"height:"+i+"px;width:"+l+"px;")})}},3603,[3482,3527,3604]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PHOTON_MAX_RESIZE=e.MAX_COLUMNS=e.LAYOUT_STYLES=e.LAYOUT_SQUARE=e.LAYOUT_DEFAULT=e.LAYOUT_COLUMN=e.LAYOUT_CIRCLE=e.GUTTER_WIDTH=e.ALLOWED_MEDIA_TYPES=void 0;e.ALLOWED_MEDIA_TYPES=['image'];e.GUTTER_WIDTH=4;e.MAX_COLUMNS=20;e.PHOTON_MAX_RESIZE=2e3;e.LAYOUT_CIRCLE="circle";e.LAYOUT_COLUMN="columns";e.LAYOUT_DEFAULT="rectangular";e.LAYOUT_SQUARE="square";var _=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];e.LAYOUT_STYLES=_},3604,[]); -__d(function(g,_r,_i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.imagesToRatios=function(r){return(0,n.map)(r,t)},e.ratioFromImage=t,e.ratiosToColumns=function(t,r){if(t.length<=r)return[Array(t.length).fill(1)];for(var u=(0,n.sum)(t)/r,i=[],o=t,l=0,h=function(t){var r=(0,n.takeWhile)(o,function(n){var r=l<=(t+1)*u;return r&&(l+=n),r}).length;i.push(r),o=(0,n.drop)(o,r)},c=0;c1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1,srcSet:_,url:S,width:e.width})}},{key:"render",value:function(){var e=this.props,n=e.align,i=e.children,u=e.className,o=e.columns,s=e.images,c=e.layoutStyle,h=e.roundedCorners,S=(0,v.isSquareishLayout)(c)?y.default:p.default,_=this.props.images.map(this.renderImage,this),k=c!==R.LAYOUT_CIRCLE?Math.min(h,R.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{className:(0,f.default)(u,(0,l.default)({},"has-rounded-corners-"+k,k>0))},(0,t.createElement)(S,{align:n,columns:o,images:s,layoutStyle:c,renderedImages:_}),i)}}]),E})(t.Component);_e.default=_},3610,[3482,683,3526,3561,3562,3563,3565,3568,1280,2154,3611,3612,3617,3618,3608]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,h=t.alt,s=t.imageFilter,_=t.height,o=t.id,v=t.link,k=t.linkTo,b=t.origUrl,w=t.url,E=t.width;if((0,c.isBlobURL)(b))return null;switch(k){case'media':f=w;break;case'attachment':f=v}var y=(0,l.createElement)("img",{alt:h,"data-height":_,"data-id":o,"data-link":v,"data-url":b,"data-width":E,src:w});return(0,l.createElement)("figure",{className:(0,u.default)('tiled-gallery__item',(0,n.default)({},"filter__"+s,!!s))},f?(0,l.createElement)("a",{href:f},y):y)};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},3611,[3482,683,3526,2154,2948]); -__d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),c=e(r(d[6])),f=e(r(d[7])),s=e(r(d[8])),y=e(r(d[9])),p=r(d[10]);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=(function(e){(0,u.default)(k,e);var h,R,_=(h=k,R=v(),function(){var e,t=(0,c.default)(h);if(R){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function k(){var e;(0,n.default)(this,k);for(var l=arguments.length,u=new Array(l),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.url||!t.width)return{};if((0,h.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url))return{src:t.url};var u,s=t.url.split('?',1)[0],p=t.height,M=t.width,O=n.layoutStyle,b=y(s)||!0===_()?w:o.default;if(v(O)&&M&&p){var j=Math.min(c.PHOTON_MAX_RESIZE,M,p);u=b(s,{resize:j+","+j})}else u=b(s);var E;if(v(O)){var P=Math.min(600,M,p),S=Math.min(c.PHOTON_MAX_RESIZE,M,p);E=(0,f.range)(P,S,300).map(function(t){var n=b(s,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var q=Math.min(600,M),I=Math.min(c.PHOTON_MAX_RESIZE,M);E=(0,f.range)(q,I,300).map(function(t){var n=b(s,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,l.default)({src:u},E&&{srcSet:E})};var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),s=r(d[5]),h=r(d[6]),f=r(d[7]),c=r(d[8]),p=["auth","hash","port","query","search"];function v(t){return['circle','square'].includes(t)}function _(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function y(t){var n=(0,s.parse)(t).host;return/\.files\.wordpress\.com$/.test(n)}function w(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},f=(0,s.parse)(t),c=(f.auth,f.hash,f.port,f.query,f.search,(0,u.default)(f,p));return c.query=Object.keys(o).reduce(function(t,u){return(0,l.default)(t,(0,n.default)({},h.hasOwnProperty(u)?h[u]:u,o[u]))},{}),(0,s.format)(c)}},3618,[3482,3526,3581,3483,3583,3589,2948,3491,3608]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.migrate=e.attributes=void 0,Object.defineProperty(e,"save",{enumerable:!0,get:function(){return n.default}}),e.supports=void 0;var u=t(r(d[1])),l=r(d[2]),n=t(r(d[3])),s={align:{default:'center',type:'string'},className:{default:"is-style-"+l.LAYOUT_DEFAULT,type:'string'},columns:{type:'number'},columnWidths:{default:[],type:'array'},ids:{default:[],type:'array'},imageFilter:{type:'string'},images:{type:'array',default:[],source:'query',selector:'.tiled-gallery__item',query:{alt:{attribute:'alt',default:'',selector:'img',source:'attribute'},height:{attribute:'data-height',selector:'img',source:'attribute',type:'number'},id:{attribute:'data-id',selector:'img',source:'attribute'},link:{attribute:'data-link',selector:'img',source:'attribute'},url:{attribute:'data-url',selector:'img',source:'attribute'},width:{attribute:'data-width',selector:'img',source:'attribute',type:'number'}}},linkTo:{default:'none',type:'string'},roundedCorners:{type:'integer',default:0}};e.attributes=s;e.supports={align:['center','wide','full'],customClassName:!1,html:!1};e.migrate=function(t){var l=Math.pow(10,5);return(0,u.default)({},t,{columnWidths:t.columnWidths.map(function(t){return t.map(function(t){return Math.round(t*l)/l})})})}},3619,[3482,3483,3620,3621]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PHOTON_MAX_RESIZE=e.MAX_ROUNDED_CORNERS=e.MAX_COLUMNS=e.LAYOUT_STYLES=e.LAYOUT_SQUARE=e.LAYOUT_DEFAULT=e.LAYOUT_COLUMN=e.LAYOUT_CIRCLE=e.GUTTER_WIDTH=e.DEFAULT_GALLERY_WIDTH=e.ALLOWED_MEDIA_TYPES=void 0;e.ALLOWED_MEDIA_TYPES=['image'];e.DEFAULT_GALLERY_WIDTH=580;e.GUTTER_WIDTH=4;e.MAX_COLUMNS=20;e.MAX_ROUNDED_CORNERS=20;e.PHOTON_MAX_RESIZE=2e3;e.LAYOUT_CIRCLE="circle";e.LAYOUT_COLUMN="columns";e.LAYOUT_DEFAULT="rectangular";e.LAYOUT_SQUARE="square";var _=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];e.LAYOUT_STYLES=_},3620,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var c=n.attributes,v=c.imageFilter,f=c.images;if(!f.length)return null;var h=c.align,S=c.className,_=c.columns,y=void 0===_?s(c):_,T=c.linkTo,N=c.roundedCorners,b=c.columnWidths;return(0,t.createElement)(l.default,{align:h,className:S,columns:y,imageFilter:v,images:f,isSave:!0,layoutStyle:(0,u.getActiveStyleName)(o.LAYOUT_STYLES,S),linkTo:T,roundedCorners:N,columnWidths:b})};var t=r(d[1]),l=n(r(d[2])),u=r(d[3]),o=r(d[4]);function s(n){return Math.min(3,n.images.length)}},3621,[3482,683,3622,3557,3620]); -__d(function(g,r,_i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),o=e(r(d[3])),i=e(r(d[4])),l=e(r(d[5])),s=e(r(d[6])),u=e(r(d[7])),c=r(d[8]),f=e(r(d[9])),v=e(r(d[10])),h=e(r(d[11])),p=e(r(d[12])),y=r(d[13]),R=r(d[14]);function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var I=(function(e){(0,l.default)(M,e);var I,k,_=(I=M,k=S(),function(){var e,t=(0,u.default)(I);if(k){var n=(0,u.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,s.default)(this,e)});function M(){return(0,o.default)(this,M),_.apply(this,arguments)}return(0,i.default)(M,[{key:"renderImage",value:function(e,n){var o=this.props,i=o.columns,l=o.imageFilter,s=o.images,u=o.isSave,f=o.linkTo,h=o.layoutStyle,p=o.onMoveBackward,R=o.onMoveForward,S=o.onRemoveImage,I=o.onSelectImage,k=o.selectedImage,_=o.setImageAttributes,M=(0,c.sprintf)((0,c.__)('image %1$d of %2$d in gallery','jetpack'),n+1,s.length),w=(0,y.photonizedImgProps)(e,{layoutStyle:h}),E=w.src,C=w.srcSet;return(0,t.createElement)(v.default,{alt:e.alt,"aria-label":M,columns:i,height:e.height,id:e.id,imageFilter:l,isFirstItem:0===n,isLastItem:n+1===s.length,isSelected:k===n,key:n,link:e.link,linkTo:f,onMoveBackward:u?void 0:p(n),onMoveForward:u?void 0:R(n),onRemove:u?void 0:S(n),onSelect:u?void 0:I(n),origUrl:e.url,setAttributes:u?void 0:_(n),showMovers:s.length>1,srcSet:C,url:E,width:e.width})}},{key:"render",value:function(){var e=this.props,o=e.align,i=e.children,l=e.className,s=e.columns,u=e.images,c=e.layoutStyle,v=e.roundedCorners,S=e.onResize,I=e.isSave,k=e.columnWidths,_=(0,y.isSquareishLayout)(c)?p.default:h.default,M=this.props.images.map(this.renderImage,this),w=c!==R.LAYOUT_CIRCLE?Math.min(v,R.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{className:(0,f.default)(l,(0,n.default)({},"has-rounded-corners-"+w,w>0))},(0,t.createElement)(_,{align:o,columns:s,columnWidths:I?k:void 0,images:u,layoutStyle:c,renderedImages:M,onResize:I?void 0:S}),i)}}]),M})(t.Component);_e.default=I},3622,[3482,683,3526,3561,3562,3563,3565,3568,1280,2154,3623,3624,3629,3630,3620]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,h=t.alt,s=t.imageFilter,_=t.height,o=t.id,v=t.link,k=t.linkTo,b=t.origUrl,w=t.url,E=t.width;if((0,c.isBlobURL)(b))return null;switch(k){case'media':f=w;break;case'attachment':f=v}var y=(0,l.createElement)("img",{alt:h,"data-height":_,"data-id":o,"data-link":v,"data-url":b,"data-width":E,src:w});return(0,l.createElement)("figure",{className:(0,u.default)('tiled-gallery__item',(0,n.default)({},"filter__"+s,!!s))},f?(0,l.createElement)("a",{href:f},y):y)};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},3623,[3482,683,3526,2154,2948]); -__d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),c=e(r(d[6])),f=e(r(d[7])),s=e(r(d[8])),y=e(r(d[9])),v=r(d[10]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=(function(e){(0,u.default)(_,e);var h,R,w=(h=_,R=p(),function(){var e,t=(0,c.default)(h);if(R){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function _(){var e;(0,n.default)(this,_);for(var l=arguments.length,u=new Array(l),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.url||!t.width)return{};if((0,h.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url))return{src:t.url};var u,s=t.url.split('?',1)[0],p=t.height,M=t.width,O=n.layoutStyle,b=y(s)||!0===_()?w:o.default;if(v(O)&&M&&p){var j=Math.min(c.PHOTON_MAX_RESIZE,M,p);u=b(s,{resize:j+","+j})}else u=b(s);var E;if(v(O)){var P=Math.min(600,M,p),S=Math.min(c.PHOTON_MAX_RESIZE,M,p);E=(0,f.range)(P,S,300).map(function(t){var n=b(s,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var q=Math.min(600,M),I=Math.min(c.PHOTON_MAX_RESIZE,M);E=(0,f.range)(q,I,300).map(function(t){var n=b(s,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,l.default)({src:u},E&&{srcSet:E})};var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),s=r(d[5]),h=r(d[6]),f=r(d[7]),c=r(d[8]),p=["auth","hash","port","query","search"];function v(t){return['circle','square'].includes(t)}function _(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function y(t){var n=(0,s.parse)(t).host;return/\.files\.wordpress\.com$/.test(n)}function w(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},f=(0,s.parse)(t),c=(f.auth,f.hash,f.port,f.query,f.search,(0,u.default)(f,p));return c.query=Object.keys(o).reduce(function(t,u){return(0,l.default)(t,(0,n.default)({},h.hasOwnProperty(u)?h[u]:u,o[u]))},{}),(0,s.format)(c)}},3630,[3482,3526,3581,3483,3583,3589,2948,3491,3620]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:160,height:95,scales:[1],hash:"e124e79c7cd0291640efe8f28aa9a6cd",name:"tiled-gallery_example-1",type:"jpg"})},3631,[2469]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:160,height:107,scales:[1],hash:"ee687d7366c359324b23a9681fb2cf92",name:"tiled-gallery_example-2",type:"jpg"})},3632,[2469]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:304,height:203,scales:[1],hash:"4d22ce5ab8c84b87d307458fa7975fea",name:"tiled-gallery_example-3",type:"jpg"})},3633,[2469]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:312,height:207,scales:[1],hash:"2c82eb59aaea53932f5e718e17284db7",name:"tiled-gallery_example-4",type:"jpg"})},3634,[2469]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:152,height:101,scales:[1],hash:"3fafa6df43363f274a371ed90dbce254",name:"tiled-gallery_example-5",type:"jpg"})},3635,[2469]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery",width:152,height:105,scales:[1],hash:"797246061ba8a7039b660584e9dc8946",name:"tiled-gallery_example-6",type:"jpg"})},3636,[2469]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]);e.default=function(){(0,t.addAction)('native.render','gutenberg-mobile-block-experiments',function(t){var l;(null!=(l=t.capabilities)?l:{}).layoutGridBlock&&(0,n.registerBlock)()})}},3637,[672,3638]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.registerBlock=function(){(0,o.registerBlockType)('jetpack/layout-grid',{title:(0,l.__)('Layout Grid','layout-grid'),description:(0,l.__)('Align blocks to a global grid, with support for responsive breakpoints.','layout-grid'),icon:y.GridIcon,category:'design',supports:{align:['full'],html:!1},example:{attributes:{columns:2},innerBlocks:[{name:'jetpack/layout-grid-column',innerBlocks:[{name:'core/paragraph',attributes:{customFontSize:32,content:(0,l.__)('Snow Patrol','layout-grid'),align:'center'}}]},{name:'jetpack/layout-grid-column',innerBlocks:[{name:'core/image',attributes:{url:'https://s.w.org/images/core/5.3/Windbuchencom.jpg'}}]}]},attributes:(0,n.default)({align:{type:'string',default:'full'},gutterSize:{type:'string',default:'large'},addGutterEnds:{type:'boolean',default:!0},verticalAlignment:{type:'string'}},k(f.MAX_COLUMNS,f.DEVICE_BREAKPOINTS)),edit:u.default,save:c.default}),(0,o.registerBlockType)('jetpack/layout-grid-column',{description:(0,l.__)('A column used inside a Layout Grid block.','layout-grid'),title:(0,l.__)('Column','layout-grid'),icon:y.GridColumnIcon,category:'design',parent:['jetpack/layout-grid'],supports:{inserter:!1,reusable:!1,html:!1},attributes:{backgroundColor:{type:'string'},customBackgroundColor:{type:'string'},padding:{type:'string',default:'none'},verticalAlignment:{type:'string'}},edit:s.default,save:p.default,deprecated:b.default})};var n=t(r(d[1])),o=r(d[2]),l=r(d[3]),u=t(r(d[4])),c=t(r(d[5])),s=t(r(d[6])),p=t(r(d[7])),y=r(d[8]),f=r(d[9]),b=t(r(d[10]));function k(t,n){for(var o={},l=function(t){n.map(function(n){o[(0,f.getSpanForDevice)(t,n)]={type:'number'},o[(0,f.getOffsetForDevice)(t,n)]={type:'number',default:0}})},u=0;u2&&void 0!==arguments[2]?arguments[2]:[],p=(0,u.getJetpackExtensionAvailability)(t),v=p.available,b=p.details,_=c(p.unavailableReason,b);if(!v&&!_)return!1;var k=(0,l.registerBlockType)("jetpack/"+t,(0,n.default)({},s,{title:o.includes(t)?s.title+" (beta)":s.title,edit:s.edit,example:_?void 0:s.example}));return f.forEach(function(t){return(0,l.registerBlockType)("jetpack/"+t.name,t.settings)}),k};var n=t(r(d[1])),l=r(d[2]),u=r(d[3]),o=t(r(d[4])).default.beta||[];function c(t,n){return'missing_plan'===t&&n.required_plan}},3520,[3482,3483,1342,3500,3521]); +__d(function(e,t,s,a,o,n,r){o.exports={production:["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gathering-tweetstorms","gif","google-calendar","image-compare","instagram-gallery","likes","mailchimp","map","markdown","opentable","payments","pinterest","podcast-player","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","revue","send-a-message","whatsapp-button","seo","sharing","shortlinks","simple-payments","slideshow","social-previews","story","subscriptions","tiled-gallery","videopress","wordads","payments-intro","post-publish-qr-post-panel"],beta:["amazon"],experimental:["anchor-fm","premium-content","conversation","dialogue"],"no-post-editor":["business-hours","button","calendly","contact-form","contact-info","donations","eventbrite","gif","google-calendar","instagram-gallery","mailchimp","map","markdown","opentable","pinterest","rating-star","related-posts","repeat-visitor","revue","simple-payments","slideshow","tiled-gallery","videopress","wordads"]}},3521,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=e.childBlocks=void 0;var c=r(d[1]),n=t(r(d[2])),s=r(d[3]),o=r(d[4]),l=r(d[5]),p=r(d[6]),k=t(r(d[7])),u=t(r(d[8]));r(d[9]),r(d[10]);var h=r(d[11]),f=r(d[12]),v=r(d[13]),w=r(d[14]);e.name='contact-info';var j=(0,u.default)((0,c.createElement)(l.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),b={title:(0,s.__)('Contact Info','jetpack'),description:(0,s.__)('Lets you add an email address, phone number, and physical address with improved markup for better SEO results.','jetpack'),keywords:[(0,s._x)('email','block search term','jetpack'),(0,s._x)('phone','block search term','jetpack'),(0,s._x)('address','block search term','jetpack')],icon:{src:j,foreground:(0,w.getIconColor)()},category:'grow',supports:{align:['wide','full'],html:!1,color:{link:!0,gradients:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0}},transforms:{from:[{type:'block',blocks:['core/legacy-widget'],isMatch:function(t){var c=t.idBase,n=t.instance;return!(null==n||!n.raw)&&'widget_contact_info'===c},transform:function(t){var c=t.instance,s=[(0,p.createBlock)('core/heading',{content:c.raw.title}),(0,p.createBlock)('jetpack/email',{email:c.raw.email}),(0,p.createBlock)('jetpack/phone',{phone:c.raw.phone}),(0,p.createBlock)('jetpack/address',{address:c.raw.address})];return c.raw.hours&&(s=[].concat((0,n.default)(s),[(0,p.createBlock)('core/paragraph',{content:c.raw.hours})])),c.raw.showmap&&c.raw.address&&(s=[].concat((0,n.default)(s),[(0,p.createBlock)('jetpack/map',{address:c.raw.address})])),(0,p.createBlock)('jetpack/contact-info',{},s)}}]},attributes:{},edit:k.default,save:function(t){var n=t.className;return(0,c.createElement)("div",{className:n},(0,c.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:'jetpack/email',attributes:{email:'hello@yourjetpack.blog'}},{name:'jetpack/phone',attributes:{phone:'123-456-7890'}},{name:'jetpack/address',attributes:{address:'987 Photon Drive',city:'Speedyville',region:'CA',postal:'12345',country:'USA'}}]}};e.settings=b;var y=[{name:h.name,settings:h.settings},{name:f.name,settings:f.settings},{name:v.name,settings:v.settings}];e.childBlocks=y},3522,[3482,683,3485,1280,1687,1691,1342,3523,3525,3524,3526,3527,3535,3541,3510]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=r(d[1]),l=r(d[2]),o=r(d[3]),n=t(r(d[4])),p=['jetpack/address','jetpack/email','jetpack/phone','core/heading','core/separator','core/spacer'],s=[['jetpack/email'],['jetpack/phone'],['jetpack/address']],k=function(){return(0,c.createElement)(o.View,{style:n.default.jetpackContactInfoBlock},(0,c.createElement)(l.InnerBlocks,{allowedBlocks:p,templateLock:!1,templateInsertUpdatesSelection:!1,template:s}))};e.default=k},3523,[3482,683,1687,17,3524]); +__d(function(g,r,i,a,m,e,d){m.exports={jetpackContactInfoBlock:{shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"black",shadowOpacity:1,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0},addressPadding:{paddingTop:4,paddingBottom:4}}},3524,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]),l=function(l){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'0 0 24 24';return(0,t.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",width:o,height:v,viewBox:h},(0,t.createElement)(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),l)};e.default=l},3525,[683,1691]); +__d(function(g,r,i,a,m,e,d){m.exports={placeholder:{color:"#87a6bc"},placeholderDark:{color:"#646970"},blockEditorPlainText:{flexGrow:1,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,shadowOffset:{width:0,height:0},shadowRadius:0,shadowColor:"transparent",shadowOpacity:1,fontSize:16,fontFamily:"Noto Serif",borderWidth:0,borderColor:"black",borderStyle:"solid",color:"#1a1a1a",textDecorationColor:"#016087"},blockEditorPlainTextDark:{color:"#fff",textDecorationColor:"#5198d9"}}},3526,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var s=r(d[1]),c=r(d[2]),n=r(d[3]),l=t(r(d[4])),o=t(r(d[5])),p=t(r(d[6]));e.name='address';var u={title:(0,c.__)('Address','jetpack'),description:(0,c.__)('Lets you add a physical address with Schema markup.','jetpack'),keywords:[(0,c._x)('location','block search term','jetpack'),(0,c._x)('direction','block search term','jetpack'),(0,c._x)('place','block search term','jetpack')],icon:(0,p.default)((0,s.createElement)(s.Fragment,null,(0,s.createElement)(n.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),(0,s.createElement)(n.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:'grow',attributes:{address:{type:'string',default:''},addressLine2:{type:'string',default:''},addressLine3:{type:'string',default:''},city:{type:'string',default:''},region:{type:'string',default:''},postal:{type:'string',default:''},country:{type:'string',default:''},linkToGoogleMaps:{type:'boolean',default:!1}},parent:['jetpack/contact-info'],edit:l.default,save:o.default};e.settings=u},3527,[3482,683,1280,1691,3528,3534,3525]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=r(d[8]),k=r(d[9]),v=r(d[10]),y=t(r(d[11])),_=t(r(d[12])),h=function(t){var h=t.attributes,j=h.address,C=h.addressLine2,E=h.addressLine3,P=h.city,S=h.region,b=h.postal,L=h.country,T=h.linkToGoogleMaps,A=t.isSelected,x=t.setAttributes,D=t.onFocus,M=[{value:j,placeholder:(0,f.__)('Street Address','jetpack'),key:'address'},{value:C,placeholder:(0,f.__)('Address Line 2','jetpack'),key:'addressLine2'},{value:E,placeholder:(0,f.__)('Address Line 3','jetpack'),key:'addressLine3'},{value:P,placeholder:(0,f.__)('City','jetpack'),key:'city'},{value:S,placeholder:(0,f.__)('State/Province/Region','jetpack'),key:'region'},{value:b,placeholder:(0,f.__)('Postal/Zip Code','jetpack'),key:'postal'},{value:L,placeholder:(0,f.__)('Country','jetpack'),key:'country'}],G=M.map(function(){return(0,l.useRef)(null)}),w=(0,l.useState)(M.map(function(){return!1})),B=(0,c.default)(w,2),F=B[0],R=B[1];(0,l.useEffect)(function(){A||G.forEach(function(t){var l;return null==t?void 0:null==(l=t.current)?void 0:l.blur()})},[A,G]);var I=function(t){'Enter'===t.key&&t.preventDefault()},K=(0,l.createElement)(p.InspectorControls,null,(0,l.createElement)(k.PanelBody,{title:(0,f.__)('Address Settings','jetpack')},(0,l.createElement)(k.ToggleControl,{label:(0,f.__)('Link address to Google Maps','jetpack'),checked:T,onChange:function(t){x({linkToGoogleMaps:t}),D()}}))),O=(0,v.usePreferredColorSchemeStyle)(_.default.placeholder,_.default.placeholderDark).color,V=(0,v.usePreferredColorSchemeStyle)(_.default.blockEditorPlainText,_.default.blockEditorPlainTextDark),Z=function(t){return function(){if(t=F.length)){var l=(0,u.default)(F);l[t]=!1,R(l)}}},z=function(t,u,c,s){return(0,l.createElement)(p.PlainText,{style:(0,o.default)({},V,y.default.addressPadding),value:t,placeholder:u,placeholderTextColor:O,"aria-label":u,onChange:function(t){return x((0,n.default)({},c,t))},onKeyDown:I,onBlur:q(s),onFocus:Z(s),key:"address-child-"+c,ref:G[s]})};return(0,l.createElement)(s.View,null,M.map(function(t,l){return z(t.value,t.placeholder,t.key,l)}),K)};e.default=h},3528,[3482,683,3529,3483,3485,3530,17,1280,1687,1691,1384,3524,3526]); +__d(function(g,r,i,a,m,e,d){m.exports=function(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t},m.exports.default=m.exports,m.exports.__esModule=!0},3529,[]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),s=r(d[3]);m.exports=function(u,p){return t(u)||o(u,p)||n(u,p)||s()},m.exports.default=m.exports,m.exports.__esModule=!0},3530,[3531,3532,3489,3533]); +__d(function(g,r,i,a,m,e,d){m.exports=function(t){if(Array.isArray(t))return t},m.exports.default=m.exports,m.exports.__esModule=!0},3531,[]); +__d(function(g,r,_i2,a,m,e,d){m.exports=function(t,l){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,u,f=[],i=!0,y=!1;try{for(n=n.call(t);!(i=(o=n.next()).done)&&(f.push(o.value),!l||f.length!==l);i=!0);}catch(t){y=!0,u=t}finally{try{i||null==n.return||n.return()}finally{if(y)throw u}}return f}},m.exports.default=m.exports,m.exports.__esModule=!0},3532,[]); +__d(function(g,r,i,a,m,e,d){m.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},m.exports.default=m.exports,m.exports.__esModule=!0},3533,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.googleMapsUrl=e.default=void 0;var s=r(d[0]),t=r(d[1]),n=function(t){var n=t.attributes,c=n.address,l=n.addressLine2,o=n.addressLine3,p=n.city,_=n.region,u=n.postal,k=n.country;return(0,s.createElement)(s.Fragment,null,c&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},c),l&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},l),o&&(0,s.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},o),p&&!(_||u)&&(0,s.createElement)("div",{className:"jetpack-address__city"},p),p&&(_||u)&&(0,s.createElement)("div",null,[(0,s.createElement)("span",{className:"jetpack-address__city"},p),', ',(0,s.createElement)("span",{className:"jetpack-address__region"},_),' ',(0,s.createElement)("span",{className:"jetpack-address__postal"},u)]),!p&&(_||u)&&(0,s.createElement)("div",null,[(0,s.createElement)("span",{className:"jetpack-address__region"},_),' ',(0,s.createElement)("span",{className:"jetpack-address__postal"},u)]),k&&(0,s.createElement)("div",{className:"jetpack-address__country"},k))},c=function(s){var t=s.attributes,n=t.address,c=t.addressLine2,l=t.addressLine3,o=t.city,p=t.region,_=t.postal,u=t.country,k=p?"+"+p+",":'';return("https://www.google.com/maps/search/"+(n?n+",":'')+(c?c+",":'')+(l?l+",":'')+(o?"+"+o+",":'')+(k=_?k+"+"+_:k)+(u?"+"+u:'')).replace(' ','+')};e.googleMapsUrl=c;var l=function(l){return[(o=l.attributes).address,o.addressLine2,o.addressLine3,o.city,o.region,o.postal,o.country].some(function(s){return''!==s})&&(0,s.createElement)("div",{className:l.className},l.attributes.linkToGoogleMaps&&(0,s.createElement)("a",{href:c(l),target:"_blank",rel:"noopener noreferrer",title:(0,t.__)('Open address in Google Maps','jetpack')},(0,s.createElement)(n,l)),!l.attributes.linkToGoogleMaps&&(0,s.createElement)(n,l));var o};e.default=l},3534,[683,1280]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var l=r(d[1]),c=r(d[2]),n=r(d[3]),s=t(r(d[4])),o=t(r(d[5])),u=t(r(d[6]));e.name='email';var _={title:(0,c.__)('Email Address','jetpack'),description:(0,c.__)('Lets you add an email address with an automatically generated click-to-email link.','jetpack'),keywords:['e-mail','email',(0,c._x)('message','block search term','jetpack')],icon:(0,o.default)((0,l.createElement)(n.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:'grow',attributes:{email:{type:'string',default:''}},edit:s.default,save:u.default,parent:['jetpack/contact-info']};e.settings=_},3535,[3482,683,1280,1691,3536,3525,3537]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2])),f=r(d[3]),n=t(r(d[4])),o=t(r(d[5])),_=function(t){return(0,l.createElement)(o.default,(0,u.default)({},t,{type:'email',keyboardType:'email-address',save:n.default,label:(0,f.__)('Email','jetpack'),attributeKey:'email'}))};e.default=_},3536,[3482,683,3483,1280,3537,3539]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),c=function(t){var c=t.attributes.email,i=t.className;return c&&(0,l.createElement)("div",{className:i},c.split(/(\s+)/).map(function(t,c){var i=t.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,'');return t.indexOf('@')&&n.default.validate(i)?t===i?(0,l.createElement)("a",{href:"mailto:"+t,key:c},t):(0,l.createElement)(l.Fragment,{key:c},(0,l.createElement)("a",{href:"mailto:"+t,key:c},i),(0,l.createElement)(l.Fragment,null,t.slice(-(t.length-i.length)))):(0,l.createElement)(l.Fragment,{key:c},t)}))};e.default=c},3537,[3482,683,3538]); +__d(function(g,r,i,a,m,e,d){"use strict";var t=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;e.validate=function(n){if(!n)return!1;if(n.length>254)return!1;if(!t.test(n))return!1;var u=n.split("@");return!(u[0].length>64)&&!u[1].split(".").some(function(t){return t.length>63})}},3538,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),o=t(r(d[2])),u=r(d[3]),f=t(r(d[4])),c=t(r(d[5])),n=(0,u.withPreferredColorScheme)(function(t){var u=t.setAttributes,n=t.getStylesFromColorScheme,y=t.type,b=t.keyboardType,p=t.save,h=t.label,k=t.attributeKey,s=n(c.default.placeholder,c.default.placeholderDark).color,v={keyboardType:b,style:n(c.default.blockEditorPlainText,c.default.blockEditorPlainTextDark),placeholderTextColor:s};return(0,f.default)(y,(0,o.default)({},t,v),h,p,function(t){return u((0,l.default)({},k,t))})});e.default=n},3539,[3482,3529,3483,1384,3540,3526]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),o=r(d[4]),c=function(t,c,f,v,s){var _=c.onFocus,b=c.attributes[t];return(0,l.createElement)(o.View,null,(0,l.createElement)(u.PlainText,(0,n.default)({},c,{value:b,placeholder:f,"aria-label":f,onChange:s,onFocus:_})))};e.default=c},3540,[3482,683,3483,1687,17]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.settings=e.name=void 0;var c=r(d[1]),l=r(d[2]),n=r(d[3]),o=t(r(d[4])),p=t(r(d[5])),s=t(r(d[6]));e.name='phone';var k={title:(0,l.__)('Phone Number','jetpack'),description:(0,l.__)('Lets you add a phone number with an automatically generated click-to-call link.','jetpack'),keywords:[(0,l._x)('mobile','block search term','jetpack'),(0,l._x)('telephone','block search term','jetpack'),(0,l._x)('cell','block search term','jetpack')],icon:(0,p.default)((0,c.createElement)(n.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:'grow',attributes:{phone:{type:'string',default:''}},parent:['jetpack/contact-info'],edit:o.default,save:s.default};e.settings=k},3541,[3482,683,1280,1691,3542,3525,3543]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),u=t(r(d[2])),l=r(d[3]),o=t(r(d[4])),f=t(r(d[5])),p=function(t){return(0,n.createElement)(f.default,(0,u.default)({},t,{type:'phone',keyboardType:'phone-pad',save:o.default,label:(0,l.__)('Phone number','jetpack'),attributeKey:'phone'}))};e.default=p},3542,[3482,683,3483,1280,3543,3539]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.renderPhone=n;var t=r(d[0]);function n(n){var s=n.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!s)return n;var u=n.indexOf(s[0]),l=u?n.substring(u-1):n,c=u?n.substring(0,u):'',f=l.replace(/\D/g,'');return/[0-9/+/(]/.test(l[0])?(c=c.slice(0,-1),'+'===l[0]&&(f='+'+f)):l=l.substring(1),[c.trim()?(0,t.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},c):null,(0,t.createElement)("a",{key:"phoneNumber",href:"tel:"+f},l)]}var s=function(s){var u=s.attributes.phone,l=s.className;return u&&(0,t.createElement)("div",{className:l},n(u))};e.default=s},3543,[683]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1])),t=r(d[2]);(0,n.default)(t.name,t.settings)},3544,[3482,3520,3545]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"icon",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var o=r(d[1]),c=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),n=t(r(d[5])),u=r(d[6]),p={mediaFiles:[{alt:'',caption:'',mime:'image/jpg',type:'image',id:22,url:t(r(d[7])).default}]};e.name='story';var y={title:(0,o.__)('Story','jetpack'),category:(0,n.default)('media','layout'),keywords:[(0,o._x)('story','block search term','jetpack'),(0,o._x)('image','block search term','jetpack'),(0,o._x)('video','block search term','jetpack'),(0,o._x)('gallery','block search term','jetpack')],description:(0,o.__)('Add an interactive story.','jetpack'),attributes:{settings:{type:'object'},mediaFiles:{type:'array',default:[]}},supports:{html:!1},icon:{src:s.default,foreground:(0,u.getIconColor)()},edit:c.default,save:l.default,example:{attributes:p}};e.settings=y},3545,[3482,1280,3546,3550,3551,3552,3510,3553]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),s=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=r(d[8]),S=r(d[9]),v=t(r(d[10])),F=t(r(d[11])),M=function(t){var M=t.attributes,E=t.isSelected,U=t.clientId,h=t.setAttributes,y=t.onFocus,I=M.mediaFiles,_=!!I.length,P=(0,n.useState)(!1),D=(0,o.default)(P,2),b=D[0],k=D[1],w=(0,n.useState)(!1),A=(0,o.default)(w,2),R=A[0],T=A[1],W=(0,n.useState)(!1),q=(0,o.default)(W,2),C=q[0],V=q[1],j=(0,n.useState)(!1),B=(0,o.default)(j,2),O=(B[0],B[1]);function Y(){(0,p.requestMediaFilesEditorLoad)(I,U)}function G(t,n,o){return void 0!==n?I.map(function(s){return s.id===t.toString()?(0,l.default)({},s,{id:n,url:o,link:o}):(0,l.default)({},s)}):I}(0,n.useEffect)(p.mediaUploadSync,[]),(0,n.useEffect)(p.mediaSaveSync,[]),(0,n.useEffect)(function(){(0,p.mediaFilesBlockReplaceSync)(I,U)},[U]);var L=(0,n.createElement)(s.View,{pointerEvents:"none",style:v.default['content-placeholder']},(0,n.createElement)(c.MediaPlaceholder,{icon:S.icon,labels:{title:(0,f.__)('Story','jetpack'),instructions:(0,f.__)('ADD MEDIA','jetpack')},allowedTypes:[c.MEDIA_TYPE_IMAGE,c.MEDIA_TYPE_VIDEO],onFocus:y}));return(0,n.createElement)(s.TouchableWithoutFeedback,{accessible:!E,onPress:function(){b?(0,p.requestMediaFilesUploadCancelDialog)(I):R?(0,p.requestMediaFilesSaveCancelDialog)(I):C?(0,p.requestMediaFilesFailedRetryDialog)(I):Y()},disabled:!E},(0,n.createElement)(s.View,{style:v.default['content-placeholder']},!_&&L,_&&(0,n.createElement)(s.View,{style:v.default['wp-story-container']},!b&&!R&&E&&(0,n.createElement)(F.default,{onEditButtonTapped:Y}),(0,n.createElement)(c.BlockMediaUpdateProgress,{coverUrl:I[0].url,mediaFiles:I,onUpdateMediaUploadProgress:function(t){t.mediaUrl&&h({url:t.mediaUrl}),b||k(!0)},onFinishMediaUploadWithSuccess:function(t){var n=G(t.mediaId,t.mediaServerId,t.mediaUrl);h({mediaFiles:n}),k(!1)},onFinishMediaUploadWithFailure:function(t){k(!1),V(!0)},onMediaUploadStateReset:function(){k(!1)},onUpdateMediaSaveProgress:function(t){t.mediaUrl&&h({url:t.mediaUrl}),R||T(!0)},onFinishMediaSaveWithSuccess:function(t){var n,o,s=(n=t.mediaId,o=t.mediaUrl,void 0!==n?I.map(function(t){return t.id===n.toString()?(0,l.default)({},t,{url:o,link:o}):(0,l.default)({},t)}):I);h({mediaFiles:s}),T(!1)},onFinishMediaSaveWithFailure:function(t){T(!1)},onMediaSaveStateReset:function(){T(!1)},onFinalSaveResult:function(t){T(!1),O(!t.success)},onMediaIdChanged:function(t){var n=G(t.mediaId,t.newId,t.mediaUrl);h({mediaFiles:n}),T(!1)},renderContent:function(t){var l=t.isUploadProgressing,o=t.isUploadFailed,s=t.isSaveProgressing,c=t.isSaveFailed,f=t.retryMessage;return(0,n.createElement)(u.Image,{isUploadFailed:o||c,isUploadInProgress:l||s,retryMessage:f,url:I[0].url,style:v.default['wp-story-image']})}}))))};e.default=M},3546,[3482,683,3483,3530,17,1691,1687,1280,1276,3545,3547,3548]); +__d(function(g,r,i,a,m,e,d){m.exports={"wp-story-container":{height:320,width:180,marginLeft:"auto",marginRight:"auto",position:"relative",listStyle:"none",paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,zIndex:1,borderRadius:15,overflow:"hidden",shadowOffset:{width:0,height:2},shadowRadius:12,shadowColor:"rgba(0, 0, 0, 0.25)",shadowOpacity:1},editContainer:{width:44,height:44,position:"absolute",top:0,right:0,zIndex:2},edit:{width:30,height:30,backgroundColor:"#2e4453",borderRadius:22,position:"absolute",top:5,right:5},iconCustomize:{fill:"#fff",position:"absolute",top:7,left:7},"content-placeholder":{flexGrow:1,flexShrink:1,flexBasis:0}}},3547,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),u=r(d[3]),o=r(d[4]),c=t(r(d[5])),f=t(r(d[6])),s=function(t){var s=t.onEditButtonTapped;return(0,n.createElement)(u.TouchableWithoutFeedback,{onPress:s},(0,n.createElement)(u.View,{style:f.default.editContainer},(0,n.createElement)(u.View,{style:f.default.edit},(0,n.createElement)(o.Icon,(0,l.default)({size:16,icon:c.default},f.default.iconCustomize)))))};e.default=s},3548,[3482,683,3483,17,1691,3549,3547]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),c=r(d[1]),l=(0,t.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(c.Path,{d:"M2 6c0-1.505.78-3.08 2-4 0 .845.69 2 2 2 1.657 0 3 1.343 3 3 0 .386-.08.752-.212 1.09.74.594 1.476 1.19 2.19 1.81L8.9 11.98c-.62-.716-1.214-1.454-1.807-2.192C6.753 9.92 6.387 10 6 10c-2.21 0-4-1.79-4-4zm12.152 6.848l1.34-1.34c.607.304 1.283.492 2.008.492 2.485 0 4.5-2.015 4.5-4.5 0-.725-.188-1.4-.493-2.007L18 9l-2-2 3.507-3.507C18.9 3.188 18.225 3 17.5 3 15.015 3 13 5.015 13 7.5c0 .725.188 1.4.493 2.007L3 20l2 2 6.848-6.848c1.885 1.928 3.874 3.753 5.977 5.45l1.425 1.148 1.5-1.5-1.15-1.425c-1.695-2.103-3.52-4.092-5.448-5.977z"}));e.default=l},3549,[683,1691]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),u=t(r(d[2]));e.default=function(t){var n=t.className;return(0,l.createElement)("div",{className:(0,u.default)('wp-story',n)})}},3550,[3482,683,2154]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),h=(0,t(r(d[3])).default)((0,l.createElement)(n.G,null,(0,l.createElement)(n.Path,{d:"M17 5a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2h9z"}),(0,l.createElement)(n.Path,{d:"M13 4H5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2z"}),(0,l.createElement)(n.Path,{d:"M7 16h8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z"})));e.default=h},3551,[3482,683,1691,3525]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var o=(0,t.getCategories)(),n=arguments.length,f=new Array(n),u=0;u0},transform:function(t){var l=M(t);return(0,u.createBlock)("jetpack/tiled-gallery",{images:l.map(function(t){return{id:t.id,url:t.url,link:t.link,alt:t.alt}}),ids:l.map(function(t){return t.id})})}},{type:'block',blocks:['core/gallery','jetpack/slideshow'],transform:function(t){var l=M(t.images);return l.length>0?(0,u.createBlock)("jetpack/tiled-gallery",{images:l.map(function(t){return{id:t.id,url:t.url,link:t.link,alt:t.alt}}),ids:l.map(function(t){return t.id})}):(0,u.createBlock)("jetpack/tiled-gallery")}}],to:[{type:'block',blocks:['core/gallery'],transform:function(t){var l=t.images,c=t.ids,o=t.columns,n=t.linkTo;return(0,u.createBlock)('core/gallery',{images:l,ids:c,columns:o,imageCrop:!0,linkTo:n})}},{type:'block',blocks:['core/image'],transform:function(t){var l=t.align,c=t.images;return c.length>0?c.map(function(t){var c=t.id,o=t.url,n=t.alt;return(0,u.createBlock)('core/image',{align:l,id:c,url:o,alt:n})}):(0,u.createBlock)('core/image')}}]},edit:h.default,save:f.default,providesContext:{imageCrop:'imageCrop'},deprecated:T.default,example:{attributes:S}};e.settings=Y},3555,[3482,683,3483,3529,1280,1342,3491,1691,3500,3556,3562,3557,3510,3552,3591,3592,3629,3630,3631,3632,3633,3634]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.defaultColumnsNumber=function(t){return Math.min(b.MAX_COLUMNS,t.length)};var n=r(d[1]),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),c=r(d[5]),s=r(d[6]),f=r(d[7]),p=r(d[8]),v=r(d[9]),h=r(d[10]),b=r(d[11]),_=r(d[12]),y=t(r(d[13])),M=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=A(n);if(o&&o.has(t))return o.get(t);var l={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var s=u?Object.getOwnPropertyDescriptor(t,c):null;s&&(s.get||s.set)?Object.defineProperty(l,c,s):l[c]=t[c]}l.default=t,o&&o.set(t,l);return l})(r(d[14])),E=r(d[15]);function A(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(A=function(t){return t?o:n})(t)}var w=function(t){return t.width>=t.height?4:2},k=function(t){var A=(0,h.useResizeObserver)(),k=(0,l.default)(A,2),O=k[0],P=k[1],D=(0,n.useState)(0),I=(0,l.default)(D,2),N=I[0],S=I[1],j=(0,u.useWindowDimensions)(),C=t.className,L=t.clientId,B=t.noticeUI,T=t.onFocus,U=t.setAttributes,W=t.attributes,z=W.columns,F=W.images,V=W.roundedCorners,Y=(0,v.useDispatch)(s.store),x=Y.replaceInnerBlocks,R=Y.updateBlockAttributes,G=Math.min(z,w(j));(0,n.useEffect)(function(){var t=(P||{}).width;if(t&&(S(t),z)){var n=new Array(z).fill(Math.floor(t/z));U({columnWidths:[n]})}},[P,z,U]);var H=(0,v.useSelect)(function(t){var n;return null==(n=t(s.store).getBlock(L))?void 0:n.innerBlocks},[L]),X=(0,n.useMemo)(function(){return null==H?void 0:H.map(function(t){return{clientId:t.clientId,id:t.attributes.id,url:t.attributes.url,attributes:t.attributes,fromSavedContent:Boolean(t.originalContent)}})},[H]);(0,n.useEffect)(function(){null==X||X.forEach(function(t){R(t.clientId,(0,o.default)({},t.attributes,{id:t.id}))});var t=null==X?void 0:X.map(function(t){return t.id});U({ids:t})},[X,U,R]),(0,n.useEffect)(function(){if(!z){var t=Math.min(X.length,M.DEFAULT_COLUMNS);U({columns:Math.max(t,1)})}},[z,X,U]);var q=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,E.getActiveStyleName)(b.LAYOUT_STYLES,C),l=t.map(function(t){return(0,f.createBlock)('core/image',{id:t.id,url:t.url,caption:t.caption,alt:t.alt,className:y.default["is-style-"+o]})});x(L,n?l:(0,c.concat)(H,l))};(0,n.useEffect)(function(){z||U({columns:M.DEFAULT_COLUMNS})},[z,U]),F.length&&!X.length&&q(F,!0);var J=(0,s.useInnerBlocksProps)({},{contentResizeMode:'stretch',allowedBlocks:['core/image'],orientation:'horizontal',renderAppender:!1,numColumns:G,marginHorizontal:8,marginVertical:8,__experimentalLayout:{type:'default',alignments:[]},gridProperties:{numColumns:G},parentWidth:N+16}),K=(0,n.createElement)(s.MediaPlaceholder,{isAppender:X.length>0,icon:_.icon,className:C,labels:{title:(0,p.__)('Tiled Gallery','jetpack'),name:(0,p.__)('images','jetpack'),instructions:(0,p.__)('ADD MEDIA','jetpack')},onSelect:q,accept:"image/*",allowedTypes:b.ALLOWED_MEDIA_TYPES,multiple:!0,notices:B,onFocus:T,onError:''}),Q=(0,s.useBlockProps)({className:C});return(0,n.createElement)(u.View,{blockProps:Q},O,(0,n.createElement)(M.default,{setAttributes:t.setAttributes,columns:z,roundedCorners:V,clientId:L,className:t.attributes.className,window:j,numImages:X.length}),(0,n.createElement)(u.View,J),(0,n.createElement)(u.View,{style:[y.default.galleryAppender]},K))};e.default=k},3556,[3482,683,3483,3530,17,3491,1687,1342,1280,1344,1384,3557,3555,3558,3559,3560]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PHOTON_MAX_RESIZE=e.MAX_ROUNDED_CORNERS=e.MAX_COLUMNS=e.LAYOUT_STYLES=e.LAYOUT_SQUARE=e.LAYOUT_DEFAULT=e.LAYOUT_COLUMN=e.LAYOUT_CIRCLE=e.GUTTER_WIDTH=e.DEFAULT_GALLERY_WIDTH=e.ALLOWED_MEDIA_TYPES=void 0;e.ALLOWED_MEDIA_TYPES=['image'];e.DEFAULT_GALLERY_WIDTH=580;e.GUTTER_WIDTH=4;e.MAX_COLUMNS=20;e.MAX_ROUNDED_CORNERS=20;e.PHOTON_MAX_RESIZE=2e3;e.LAYOUT_CIRCLE="circle";e.LAYOUT_COLUMN="columns";e.LAYOUT_DEFAULT="rectangular";e.LAYOUT_SQUARE="square";var _=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];e.LAYOUT_STYLES=_},3557,[]); +__d(function(g,r,i,a,m,e,d){m.exports={galleryAppender:{paddingTop:16},horizontalBorder:{borderTopWidth:1,borderColor:"#e8eaeb"},horizontalBorderDark:{borderColor:"#3c434a"},"is-style-square":{aspectRatio:1},"is-style-rectangular":{aspectRatio:1},cellRowStyles:{flexShrink:1},galleryLayoutTitle:{textAlign:"left"}}},3558,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_COLUMNS=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),c=r(d[5]),s=r(d[6]),_=t(r(d[7])),f=r(d[8]),C=r(d[9]),E=t(r(d[10]));e.DEFAULT_COLUMNS=2;var S=function(t){var S=(0,s.usePreferredColorSchemeStyle)(_.default.horizontalBorder,_.default.horizontalBorderDark),v=t.setAttributes,y=t.numImages,L=t.columns,U=t.roundedCorners,A=t.clientId,N=t.className,O=(0,l.useState)(null!=L?L:2),M=(0,n.default)(O,2),h=M[0],B=M[1];(0,l.useEffect)(function(){B(L)},[L]);var P=(0,l.useState)(null!=U?U:2),R=(0,n.default)(P,2),T=R[0],p=R[1],D=(0,C.getActiveStyleName)(f.LAYOUT_STYLES,N);return(0,l.createElement)(o.InspectorControls,null,(0,l.createElement)(c.PanelBody,{title:(0,u.__)('Tiled gallery settings','jetpack')}),(0,l.createElement)(c.PanelBody,null,(0,l.createElement)(E.default,{clientId:A,className:N})),(0,l.createElement)(c.PanelBody,null,(0,l.createElement)(c.UnitControl,{label:(0,u.__)('Columns','jetpack'),min:1,max:f.MAX_COLUMNS,value:Math.min(h,y),onChange:function(t){B(t),v({columns:t})}})),D!==f.LAYOUT_CIRCLE&&(0,l.createElement)(c.PanelBody,{style:S},(0,l.createElement)(c.RangeControl,{label:(0,u.__)('Rounded corners','jetpack'),minimumValue:0,maximumValue:f.MAX_ROUNDED_CORNERS,value:T,onChange:function(t){p(t),v({roundedCorners:t})}})))};e.default=S},3559,[3482,683,3530,1687,1280,1691,1384,3558,3557,3560,3561]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getActiveStyleName=function(t,n){var o=f(t,n);return o?o.name:null};var n=t(r(d[1])),o=r(d[2]);function i(t,n){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=u(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,n){if(t){if("string"==typeof t)return l(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?l(t,n):void 0}}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var o=0,i=new Array(n);o1,srcSet:O,url:F,width:e.width})}},{key:"render",value:function(){var e=this.props,o=e.align,l=e.children,i=e.className,s=e.columns,u=e.images,c=e.layoutStyle,v=e.roundedCorners,h=e.onResize,I=e.style,k=e.isSave,_=e.columnWidths,M=(0,R.isSquareishLayout)(c)?p.default:y.default,w=this.props.images.map(this.renderImage,this),E=c!==S.LAYOUT_CIRCLE?Math.min(v,S.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{style:I,className:(0,f.default)(i,(0,n.default)({},"has-rounded-corners-"+E,E>0))},(0,t.createElement)(M,{align:o,columns:s,columnWidths:k?_:void 0,images:u,layoutStyle:c,renderedImages:w,onResize:k?void 0:h}),l)}}]),w})(t.Component);_e.default=k},3563,[3482,683,3529,3564,3565,3566,3568,3571,1280,2154,3572,3574,3575,3582,3583,3557]); +__d(function(g,r,i,a,m,e,d){m.exports=function(o,n){if(!(o instanceof n))throw new TypeError("Cannot call a class as a function")},m.exports.default=m.exports,m.exports.__esModule=!0},3564,[]); +__d(function(g,r,_i,a,m,e,d){function t(t,n){for(var o=0;o=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0},t.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener('transitionend',this.onTransitionEnd_),window.addEventListener('resize',this.refresh),p?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener('DOMSubtreeModified',this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener('transitionend',this.onTransitionEnd_),window.removeEventListener('resize',this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener('DOMSubtreeModified',this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=void 0===n?'':n;f.some(function(t){return!!~o.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t})(),_=function(t,n){for(var o=0,s=Object.keys(n);o0},n})(),j='undefined'!=typeof WeakMap?new WeakMap:new t,k=(function(){return function t(n){if(!(this instanceof t))throw new TypeError('Cannot call a class as a function.');if(!arguments.length)throw new TypeError('1 argument required, but only 0 present.');var o=v.getInstance(),s=new D(n,o,this);j.set(this,s)}})();return['observe','unobserve','disconnect'].forEach(function(t){k.prototype[t]=function(){var n;return(n=j.get(this))[t].apply(n,arguments)}}),void 0!==o.ResizeObserver?o.ResizeObserver:k},'object'==typeof e&&void 0!==m?m.exports=n():'function'==typeof define&&define.amd?define(n):t.ResizeObserver=n()},3576,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.children,c=t.width,o=c?{flexBasis:c+"%"}:void 0;return(0,l.createElement)("div",{className:"tiled-gallery__col",style:o},n)};var l=r(d[0])},3577,[683]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var n=t.children,c=t.galleryRef;return(0,l.createElement)("div",{className:"tiled-gallery__gallery",ref:c},n)};var l=r(d[0])},3578,[683]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var c=l.children,u=l.className;return(0,t.createElement)("div",{className:(0,n.default)('tiled-gallery__row',u)},c)};var t=r(d[1]),n=l(r(d[2]))},3579,[3482,683,2154]); +__d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getGalleryRows=function(t){return Array.from(t.querySelectorAll('.tiled-gallery__row'))},e.handleRowResize=function(t,n){return s(t,l(t),n)};var n=t(r(d[1])),u=r(d[2]),i=r(d[3]);function o(t,n){var u=(n-t.reduce(function(t,n){return t+n},0))/t.length;return t.map(function(t){return t+u})}function l(t){return c(t).map(h).reduce(function(t,u){var i=(0,n.default)(t,2),o=i[0],l=i[1],c=(0,n.default)(u,2);return[o+c[0],l+c[1]]},[0,0])}function c(t){return u.Platform.select({web:function(){return Array.from(t.querySelectorAll('.tiled-gallery__col'))},native:function(){return t}})()}function f(t){return u.Platform.select({web:function(){return Array.from(t.querySelectorAll('.tiled-gallery__item > img, .tiled-gallery__item > a > img'))},native:function(){return t.map(function(t){return t.props})}})()}function h(t){var n=f(t),u=n.length,i=1/n.map(w).reduce(function(t,n){return t+1/n},0);return[i,i*u||1]}function w(t){var n=u.Platform.select({web:function(){return parseInt(t.dataset.width,10)},native:function(){return t.width}})(),i=u.Platform.select({web:function(){return parseInt(t.dataset.height,10)},native:function(){return t.height}})();return n&&!Number.isNaN(n)&&i&&!Number.isNaN(i)?n/i:1}function s(t,o,l){var c=(0,n.default)(o,2),f=c[0],h=c[1],w=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})(),s=1/f*(l-i.GUTTER_WIDTH*(w-1)-h);return v(t,{rawHeight:s,rowWidth:l-i.GUTTER_WIDTH*(w-1)})}function v(t,n){var l=n.rawHeight,f=n.rowWidth,w=c(t),s=w.map(function(t){var n=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})();return(l-i.GUTTER_WIDTH*(n-1))*h(t)[0]}),v=o(s,f);return w.forEach(function(t,n){var o=s[n],c=v[n],f=u.Platform.select({web:function(){return t.childElementCount},native:function(){return t.length}})();_(t,{colHeight:l-i.GUTTER_WIDTH*(f-1),width:c,rawWidth:o})}),v.map(function(t){return parseFloat(t/f*100).toFixed(5)})}function _(t,n){var i=n.colHeight,l=n.width,c=n.rawWidth,h=o(f(t).map(function(t){return c/w(t)}),i);u.Platform.select({web:function(){Array.from(t.children).forEach(function(t,n){var u=h[n];t.setAttribute('style',"height:"+u+"px;width:"+l+"px;")})}})()}},3580,[3482,3530,683,3557]); +__d(function(g,_r,_i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.imagesToRatios=function(r){return(0,n.map)(r,t)},e.ratioFromImage=t,e.ratiosToColumns=function(t,r){if(t.length<=r)return[Array(t.length).fill(1)];for(var u=(0,n.sum)(t)/r,i=[],o=t,l=0,h=function(t){var r=(0,n.takeWhile)(o,function(n){var r=l<=(t+1)*u;return r&&(l+=n),r}).length;i.push(r),o=(0,n.drop)(o,r)},c=0;c1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.width)return t.url?{src:t.url}:{};if((0,c.default)())return{src:t.url};if((0,u.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url)||(0,h.isAtomicSite)()&&(0,h.isPrivateSite)())return{src:t.url};var M,O=t.url.split('?',1)[0],S=t.height,P=t.width,b=n.layoutStyle,j=w(O)||!0===v()?_:l.default;if(p(b)&&P&&S){var y=Math.min(f.PHOTON_MAX_RESIZE,P,S);M=j(O,{resize:y+","+y})}else M=j(O);var E;if(p(b)){var R=Math.min(600,P,S),L=Math.min(f.PHOTON_MAX_RESIZE,P,S);E=(0,s.range)(R,L,300).map(function(t){var n=j(O,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var A=Math.min(600,P),I=Math.min(f.PHOTON_MAX_RESIZE,P);E=(0,s.range)(A,I,300).map(function(t){var n=j(O,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,o.default)({src:M},E&&{srcSet:E})};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),s=r(d[5]),h=r(d[6]),f=r(d[7]),c=t(r(d[8]));function p(t){return['circle','square'].includes(t)}function v(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function w(t){var n=new URL(t,window.location.href).host;return/\.files\.wordpress\.com$/.test(n)}function _(t){for(var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},s=(0,o.default)(new URL(t,window.location.href),{username:'',password:'',port:'',search:'',hash:''}),h=0,f=Object.entries(l);h>>1^n:i>>>=1;u=u>>>8^i}return-1^u}function c(n,o){var f,i,u;if(void 0!==c.crc&&o&&n||(c.crc=-1,n)){for(f=c.crc,i=0,u=n.length;i>>8^t[255&(f^n[i])];return c.crc=f,-1^f}}!(function(){var o,c,f;for(c=0;c<256;c+=1){for(o=c,f=0;f<8;f+=1)1&o?o=n^o>>>1:o>>>=1;t[c]=o>>>0}})(),m.exports=function(t,n){var f;t='string'==typeof t?(f=t,Array.prototype.map.call(f,function(t){return t.charCodeAt(0)})):t;return((n?o(t):c(t))>>>0).toString(16)},m.exports.direct=o,m.exports.table=c})()},3585,[]); +__d(function(g,_r,_i,_a,m,_e,_d){'use strict';var r=256,n=[],t=void 0===g?window:g,o=Math.pow(r,6),a=Math.pow(2,52),e=255,i=Math.random;function u(n){var t,o=n.length,a=this,i=0,u=a.i=a.j=0,f=a.S=[];for(o||(n=[o++]);i=9007199254740992;)n/=2,t/=2,e>>>=1;return(n+e)/t}},m.exports.resetGlobal=function(){Math.random=i},c(Math.random(),n)},3586,[]); +__d(function(g,_r,i,a,m,e,d){e.log=function(){return'object'==typeof console&&function(){}&&void 0},e.formatArgs=function(C){if(C[0]=(this.useColors?'%c':'')+this.namespace+(this.useColors?' %c':' ')+C[0]+(this.useColors?'%c ':' ')+'+'+m.exports.humanize(this.diff),!this.useColors)return;var t='color: '+this.color;C.splice(1,0,t,'color: inherit');var o=0,n=0;C[0].replace(/%[a-zA-Z%]/g,function(C){'%%'!==C&&'%c'===C&&(n=++o)}),C.splice(n,0,t)},e.save=function(C){try{C?e.storage.setItem('debug',C):e.storage.removeItem('debug')}catch(C){}},e.load=function(){var C;try{C=e.storage.getItem('debug')}catch(C){}!C&&'undefined'!=typeof process&&'env'in process&&(C=process.env.DEBUG);return C},e.useColors=function(){if('undefined'!=typeof window&&window.process&&('renderer'===window.process.type||window.process.__nwjs))return!0;if('undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return'undefined'!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||'undefined'!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||'undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||'undefined'!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=(function(){try{return localStorage}catch(C){}})(),e.colors=['#0000CC','#0000FF','#0033CC','#0033FF','#0066CC','#0066FF','#0099CC','#0099FF','#00CC00','#00CC33','#00CC66','#00CC99','#00CCCC','#00CCFF','#3300CC','#3300FF','#3333CC','#3333FF','#3366CC','#3366FF','#3399CC','#3399FF','#33CC00','#33CC33','#33CC66','#33CC99','#33CCCC','#33CCFF','#6600CC','#6600FF','#6633CC','#6633FF','#66CC00','#66CC33','#9900CC','#9900FF','#9933CC','#9933FF','#99CC00','#99CC33','#CC0000','#CC0033','#CC0066','#CC0099','#CC00CC','#CC00FF','#CC3300','#CC3333','#CC3366','#CC3399','#CC33CC','#CC33FF','#CC6600','#CC6633','#CC9900','#CC9933','#CCCC00','#CCCC33','#FF0000','#FF0033','#FF0066','#FF0099','#FF00CC','#FF00FF','#FF3300','#FF3333','#FF3366','#FF3399','#FF33CC','#FF33FF','#FF6600','#FF6633','#FF9900','#FF9933','#FFCC00','#FFCC33'],m.exports=_r(d[0])(e),m.exports.formatters.j=function(C){try{return JSON.stringify(C)}catch(C){return'[UnexpectedJSONParseError]: '+C.message}}},3587,[3588]); +__d(function(g,r,_i,a,m,e,d){var n=r(d[0]);m.exports=function(t){function s(n){for(var t=0,s=0;s100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(m){var h=parseFloat(m[1]);switch((m[2]||'ms').toLowerCase()){case'years':case'year':case'yrs':case'yr':case'y':return h*o;case'weeks':case'week':case'w':return h*u;case'days':case'day':case'd':return h*t;case'hours':case'hour':case'hrs':case'hr':case'h':return h*c;case'minutes':case'minute':case'mins':case'min':case'm':return h*n;case'seconds':case'second':case'secs':case'sec':case's':return h*s;case'milliseconds':case'millisecond':case'msecs':case'msec':case'ms':return h;default:return}}}}function m(u){var o=Math.abs(u);return o>=t?Math.round(u/t)+'d':o>=c?Math.round(u/c)+'h':o>=n?Math.round(u/n)+'m':o>=s?Math.round(u/s)+'s':u+'ms'}function h(u){var o=Math.abs(u);return o>=t?y(u,o,t,'day'):o>=c?y(u,o,c,'hour'):o>=n?y(u,o,n,'minute'):o>=s?y(u,o,s,'second'):u+' ms'}function y(s,n,c,t){var u=n>=1.5*c;return Math.round(s/c)+' '+t+(u?'s':'')}_m.exports=function(s,n){n=n||{};var c=typeof s;if('string'===c&&s.length>0)return d(s);if('number'===c&&isFinite(s))return n.long?h(s):m(s);throw new Error('val is not a non-empty string or a valid number. val='+JSON.stringify(s))}},3589,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return(0,n.get)((0,t.getJetpackData)(),['jetpack','is_offline_mode'],!1)};var t=r(d[0]),n=r(d[1])},3590,[3500,3491]); +__d(function(g,r,i,a,m,e,d){m.exports={}},3591,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=u(r(d[0])),n=u(r(d[1]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}function u(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}return f.default=t,u&&u.set(t,f),f}var f=[u(r(d[2])),n,t];e.default=f},3592,[3593,3605,3617]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.attributes=void 0,Object.defineProperty(e,"save",{enumerable:!0,get:function(){return u.default}}),e.support=void 0;var u=t(r(d[1])),l={align:{default:'center',type:'string'},className:{default:"is-style-"+r(d[2]).LAYOUT_DEFAULT,type:'string'},columns:{type:'number'},ids:{default:[],type:'array'},images:{type:'array',default:[],source:'query',selector:'.tiled-gallery__item',query:{alt:{attribute:'alt',default:'',selector:'img',source:'attribute'},caption:{selector:'figcaption',source:'html',type:'string'},height:{attribute:'data-height',selector:'img',source:'attribute',type:'number'},id:{attribute:'data-id',selector:'img',source:'attribute'},link:{attribute:'data-link',selector:'img',source:'attribute'},url:{attribute:'data-url',selector:'img',source:'attribute'},width:{attribute:'data-width',selector:'img',source:'attribute',type:'number'}}},linkTo:{default:'none',type:'string'}};e.attributes=l;e.support={align:['center','wide','full'],customClassName:!1,html:!1}},3593,[3482,3594,3602]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var c=t.attributes,f=c.images;if(!f.length)return null;var v=c.align,_=c.className,y=c.columns,N=void 0===y?s(c):y,S=c.linkTo;return(0,l.createElement)(n.default,{align:v,className:_,columns:N,images:f,layoutStyle:(0,u.getActiveStyleName)(o.LAYOUT_STYLES,_),linkTo:S})},e.defaultColumnsNumber=s;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),o=r(d[4]);function s(t){return Math.min(3,t.images.length)}},3594,[3482,683,3595,3560,3602]); +__d(function(g,r,_i2,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),i=e(r(d[3])),l=e(r(d[4])),o=e(r(d[5])),u=e(r(d[6])),s=e(r(d[7])),c=e(r(d[8])),f=e(r(d[9])),h=r(d[10]),p=r(d[11]),v=e(r(d[12])),y=e(r(d[13])),w=e(r(d[14])),k=r(d[15]);function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var b=(function(e){(0,u.default)(E,e);var n,i,b=(n=E,i=R(),function(){var e,t=(0,c.default)(n);if(i){var l=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return(0,s.default)(this,e)});function E(){return(0,l.default)(this,E),b.apply(this,arguments)}return(0,o.default)(E,[{key:"photonize",value:function(e){var t=e.height,n=e.width,i=e.url;if(i){if((0,p.isBlobURL)(i)||/^https?:\/\/localhost/.test(i))return i;var l=i.split('?',1)[0],o=O(i)?S:f.default;if(_(this.props.layoutStyle)&&n&&t){var u=Math.min(k.PHOTON_MAX_RESIZE,n,t);return o(l,{resize:u+","+u})}return o(l)}}},{key:"renderImage",value:function(e,n){var i=this.props,l=i.images,o=i.linkTo,u=i.selectedImage,s=(0,h.sprintf)((0,h.__)('image %1$d of %2$d in gallery','jetpack'),n+1,l.length);return(0,t.createElement)(v.default,{alt:e.alt,"aria-label":s,height:e.height,id:e.id,origUrl:e.url,isSelected:u===n,key:n,link:e.link,linkTo:o,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,n=e.align,i=e.children,l=e.className,o=e.columns,u=e.images,s=e.layoutStyle,c=_(s)?w.default:y.default,f=this.props.images.map(this.renderImage,this);return(0,t.createElement)("div",{className:l},(0,t.createElement)(c,{align:n,columns:o,images:u,layoutStyle:s,renderedImages:f}),i)}}]),E})(t.Component);function _(e){return['circle','square'].includes(e)}function O(e){var t=new URL(e,window.location.href).host;return/\.files\.wordpress\.com$/.test(t)}function S(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},o=(0,i.default)(new URL(e,window.location.href),{username:'',password:'',port:'',search:'',hash:''}),u=0,s=Object.entries(t);u=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n img, .tiled-gallery__item > a > img'))}function f(t){var n=c(t),i=n.length,u=1/n.map(h).reduce(function(t,n){return t+1/n},0);return[u,u*i||1]}function h(t){var n=parseInt(t.dataset.width,10),i=parseInt(t.dataset.height,10);return n&&!Number.isNaN(n)&&i&&!Number.isNaN(i)?n/i:1}function _(t,u,l){var o=(0,n.default)(u,2),c=o[0],f=o[1];y(t,{rawHeight:1/c*(l-i.GUTTER_WIDTH*(t.childElementCount-1)-f),rowWidth:l-i.GUTTER_WIDTH*(t.childElementCount-1)})}function y(t,n){var l=n.rawHeight,c=n.rowWidth,h=o(t),_=h.map(function(t){return(l-i.GUTTER_WIDTH*(t.childElementCount-1))*f(t)[0]}),y=u(_,c);h.forEach(function(t,n){var u=_[n],o=y[n];w(t,{colHeight:l-i.GUTTER_WIDTH*(t.childElementCount-1),width:o,rawWidth:u})})}function w(t,n){var i=n.colHeight,l=n.width,o=n.rawWidth,f=u(c(t).map(function(t){return o/h(t)}),i);Array.from(t.children).forEach(function(t,n){var i=f[n];t.setAttribute('style',"height:"+i+"px;width:"+l+"px;")})}},3601,[3482,3530,3602]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PHOTON_MAX_RESIZE=e.MAX_COLUMNS=e.LAYOUT_STYLES=e.LAYOUT_SQUARE=e.LAYOUT_DEFAULT=e.LAYOUT_COLUMN=e.LAYOUT_CIRCLE=e.GUTTER_WIDTH=e.ALLOWED_MEDIA_TYPES=void 0;e.ALLOWED_MEDIA_TYPES=['image'];e.GUTTER_WIDTH=4;e.MAX_COLUMNS=20;e.PHOTON_MAX_RESIZE=2e3;e.LAYOUT_CIRCLE="circle";e.LAYOUT_COLUMN="columns";e.LAYOUT_DEFAULT="rectangular";e.LAYOUT_SQUARE="square";var _=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];e.LAYOUT_STYLES=_},3602,[]); +__d(function(g,_r,_i,a,_m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.imagesToRatios=function(r){return(0,n.map)(r,t)},e.ratioFromImage=t,e.ratiosToColumns=function(t,r){if(t.length<=r)return[Array(t.length).fill(1)];for(var u=(0,n.sum)(t)/r,i=[],o=t,l=0,h=function(t){var r=(0,n.takeWhile)(o,function(n){var r=l<=(t+1)*u;return r&&(l+=n),r}).length;i.push(r),o=(0,n.drop)(o,r)},c=0;c1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1,srcSet:_,url:S,width:e.width})}},{key:"render",value:function(){var e=this.props,n=e.align,i=e.children,u=e.className,o=e.columns,s=e.images,c=e.layoutStyle,h=e.roundedCorners,S=(0,v.isSquareishLayout)(c)?y.default:p.default,_=this.props.images.map(this.renderImage,this),k=c!==R.LAYOUT_CIRCLE?Math.min(h,R.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{className:(0,f.default)(u,(0,l.default)({},"has-rounded-corners-"+k,k>0))},(0,t.createElement)(S,{align:n,columns:o,images:s,layoutStyle:c,renderedImages:_}),i)}}]),E})(t.Component);_e.default=_},3608,[3482,683,3529,3564,3565,3566,3568,3571,1280,2154,3609,3610,3615,3616,3606]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,h=t.alt,s=t.imageFilter,_=t.height,o=t.id,v=t.link,k=t.linkTo,b=t.origUrl,w=t.url,E=t.width;if((0,c.isBlobURL)(b))return null;switch(k){case'media':f=w;break;case'attachment':f=v}var y=(0,l.createElement)("img",{alt:h,"data-height":_,"data-id":o,"data-link":v,"data-url":b,"data-width":E,src:w});return(0,l.createElement)("figure",{className:(0,u.default)('tiled-gallery__item',(0,n.default)({},"filter__"+s,!!s))},f?(0,l.createElement)("a",{href:f},y):y)};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},3609,[3482,683,3529,2154,2948]); +__d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),c=e(r(d[6])),f=e(r(d[7])),s=e(r(d[8])),y=e(r(d[9])),p=r(d[10]);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=(function(e){(0,u.default)(k,e);var h,R,_=(h=k,R=v(),function(){var e,t=(0,c.default)(h);if(R){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function k(){var e;(0,n.default)(this,k);for(var l=arguments.length,u=new Array(l),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.url||!t.width)return{};if((0,u.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url))return{src:t.url};var w,_=t.url.split('?',1)[0],M=t.height,O=t.width,b=n.layoutStyle,P=p(_)||!0===c()?v:l.default;if(f(b)&&O&&M){var S=Math.min(h.PHOTON_MAX_RESIZE,O,M);w=P(_,{resize:S+","+S})}else w=P(_);var j;if(f(b)){var y=Math.min(600,O,M),E=Math.min(h.PHOTON_MAX_RESIZE,O,M);j=(0,s.range)(y,E,300).map(function(t){var n=P(_,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var R=Math.min(600,O),L=Math.min(h.PHOTON_MAX_RESIZE,O);j=(0,s.range)(R,L,300).map(function(t){var n=P(_,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,o.default)({src:w},j&&{srcSet:j})};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),s=r(d[5]),h=r(d[6]);function f(t){return['circle','square'].includes(t)}function c(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function p(t){var n=new URL(t,window.location.href).host;return/\.files\.wordpress\.com$/.test(n)}function v(t){for(var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},s=(0,o.default)(new URL(t,window.location.href),{username:'',password:'',port:'',search:'',hash:''}),h=0,f=Object.entries(l);h1,srcSet:C,url:E,width:e.width})}},{key:"render",value:function(){var e=this.props,o=e.align,i=e.children,l=e.className,s=e.columns,u=e.images,c=e.layoutStyle,v=e.roundedCorners,S=e.onResize,I=e.isSave,k=e.columnWidths,_=(0,y.isSquareishLayout)(c)?p.default:h.default,M=this.props.images.map(this.renderImage,this),w=c!==R.LAYOUT_CIRCLE?Math.min(v,R.MAX_ROUNDED_CORNERS):0;return(0,t.createElement)("div",{className:(0,f.default)(l,(0,n.default)({},"has-rounded-corners-"+w,w>0))},(0,t.createElement)(_,{align:o,columns:s,columnWidths:I?k:void 0,images:u,layoutStyle:c,renderedImages:M,onResize:I?void 0:S}),i)}}]),M})(t.Component);_e.default=I},3620,[3482,683,3529,3564,3565,3566,3568,3571,1280,2154,3621,3622,3627,3628,3618]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f,h=t.alt,s=t.imageFilter,_=t.height,o=t.id,v=t.link,k=t.linkTo,b=t.origUrl,w=t.url,E=t.width;if((0,c.isBlobURL)(b))return null;switch(k){case'media':f=w;break;case'attachment':f=v}var y=(0,l.createElement)("img",{alt:h,"data-height":_,"data-id":o,"data-link":v,"data-url":b,"data-width":E,src:w});return(0,l.createElement)("figure",{className:(0,u.default)('tiled-gallery__item',(0,n.default)({},"filter__"+s,!!s))},f?(0,l.createElement)("a",{href:f},y):y)};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},3621,[3482,683,3529,2154,2948]); +__d(function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),u=e(r(d[4])),o=e(r(d[5])),c=e(r(d[6])),f=e(r(d[7])),s=e(r(d[8])),y=e(r(d[9])),v=r(d[10]);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h=(function(e){(0,u.default)(_,e);var h,R,w=(h=_,R=p(),function(){var e,t=(0,c.default)(h);if(R){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function _(){var e;(0,n.default)(this,_);for(var l=arguments.length,u=new Array(l),o=0;o1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return(function t(E,A){if(!A.length)return E;var M;M=A.length>15&&u(A)&&r(E)?[2,1,2]:A.length>15&&i(A)&&o(E)?[3,1,3]:5!==A.length&&l(A)&&h(E)?[1,2,1]:c(A)&&f(E)?[1,3]:v(A)&&s(E)?[3,1]:m(A)&&y(E)?[1,2]:k&&(5===A.length||10!==A.length&&A.length>6)&&p(E)&&(0,n.sum)((0,n.take)(A,5))<5?[1,1,1,1,1]:w(E,A)?[1,1,1,1]:W(E,A,k)?[1,1,1]:_(A)&&R(E)?[2,1]:T(A)?[1]:A.length>3?[1,1]:Array(A.length).fill(1);var b=E.concat([M]),j=(0,n.sum)(M),q=A.slice(j);return t(b,q)})([],t)};var n=_r(d[0]);function t(n){var t=n.height,r=n.width;return t&&r?r/t:1}var r=A([2,1,2],5),u=M([b,b,j,b,b]),i=M([b,b,b,j,b,b,b]),o=A([3,1,3],5),l=M([j,b,b,j]),h=A([1,2,1],5),c=M([j,b,b,b]),f=A([1,3],3),v=M([b,b,b,j]),s=A([3,1],3),m=M([z(1.6),(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2))]),y=A([1,2],3),p=A([1,1,1,1,1],1),k=A([1,1,1,1],1),E=A([1,1,1],3),_=M([(0,n.overEvery)(q(.9),z(2)),(0,n.overEvery)(q(.9),z(2)),z(1.6)]),R=A([2,1],3),T=M([function(n){return n>=2}]);function W(t,r,u){var i=(0,n.sum)((0,n.take)(r,3));return r.length>=3&&4!==r.length&&6!==r.length&&E(t)&&(i<2.5||i<5&&r.length>=3&&r[0]===r[2]||u)}function w(t,r){var u=(0,n.sum)((0,n.take)(r,4));return k(t)&&u<3.5&&r.length>5||u<7&&4===r.length}function A(t,r){return function(u){return!(0,n.some)((0,n.takeRight)(u,r),function(r){return(0,n.isEqual)(r,t)})}}function M(t){return function(r){return r.length>=t.length&&(0,n.every)((0,n.zipWith)(t,r.slice(0,t.length),function(n,t){return n(t)}))}}function b(n){return n>=1&&n<2}function j(n){return n<1}function q(n){return function(t){return t>=n}}function z(n){return function(t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(!t.height||!t.url||!t.width)return{};if((0,u.isBlobURL)(t.url)||/^https?:\/\/localhost/.test(t.url)||/^https?:\/\/.*\.local\//.test(t.url))return{src:t.url};var w,_=t.url.split('?',1)[0],M=t.height,O=t.width,b=n.layoutStyle,P=p(_)||!0===c()?v:l.default;if(f(b)&&O&&M){var S=Math.min(h.PHOTON_MAX_RESIZE,O,M);w=P(_,{resize:S+","+S})}else w=P(_);var j;if(f(b)){var y=Math.min(600,O,M),E=Math.min(h.PHOTON_MAX_RESIZE,O,M);j=(0,s.range)(y,E,300).map(function(t){var n=P(_,{resize:t+","+t,strip:'info'});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}else{var R=Math.min(600,O),L=Math.min(h.PHOTON_MAX_RESIZE,O);j=(0,s.range)(R,L,300).map(function(t){var n=P(_,{strip:'info',width:t});return n?n+" "+t+"w":null}).filter(Boolean).join(',')}return(0,o.default)({src:w},j&&{srcSet:j})};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=r(d[4]),s=r(d[5]),h=r(d[6]);function f(t){return['circle','square'].includes(t)}function c(){if('undefined'!=typeof jetpack_plan&&'vip'===jetpack_plan.data)return!0}function p(t){var n=new URL(t,window.location.href).host;return/\.files\.wordpress\.com$/.test(n)}function v(t){for(var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u={width:'w',height:'h',letterboxing:'lb',removeLetterboxing:'ulb'},s=(0,o.default)(new URL(t,window.location.href),{username:'',password:'',port:'',search:'',hash:''}),h=0,f=Object.entries(l);hSnow Patrol','layout-grid'),align:'center'}}]},{name:'jetpack/layout-grid-column',innerBlocks:[{name:'core/image',attributes:{url:'https://s.w.org/images/core/5.3/Windbuchencom.jpg'}}]}]},attributes:(0,n.default)({align:{type:'string',default:'full'},gutterSize:{type:'string',default:'large'},addGutterEnds:{type:'boolean',default:!0},verticalAlignment:{type:'string'}},k(f.MAX_COLUMNS,f.DEVICE_BREAKPOINTS)),edit:u.default,save:c.default}),(0,o.registerBlockType)('jetpack/layout-grid-column',{description:(0,l.__)('A column used inside a Layout Grid block.','layout-grid'),title:(0,l.__)('Column','layout-grid'),icon:y.GridColumnIcon,category:'design',parent:['jetpack/layout-grid'],supports:{inserter:!1,reusable:!1,html:!1},attributes:{backgroundColor:{type:'string'},customBackgroundColor:{type:'string'},padding:{type:'string',default:'none'},verticalAlignment:{type:'string'}},edit:s.default,save:p.default,deprecated:b.default})};var n=t(r(d[1])),o=r(d[2]),l=r(d[3]),u=t(r(d[4])),c=t(r(d[5])),s=t(r(d[6])),p=t(r(d[7])),y=r(d[8]),f=r(d[9]),b=t(r(d[10]));function k(t,n){for(var o={},l=function(t){n.map(function(n){o[(0,f.getSpanForDevice)(t,n)]={type:'number'},o[(0,f.getOffsetForDevice)(t,n)]={type:'number',default:0}})},u=0;u=0||Object.prototype.propertyIsEnumerable.call(o,l)&&(s[l]=o[l])}return s},m.exports.default=m.exports,m.exports.__esModule=!0},3640,[3641]); +__d(function(g,r,_i,a,m,e,d){m.exports=function(t,n){if(null==t)return{};var o,u,f={},s=Object.keys(t);for(u=0;u=0||(f[o]=t[o]);return f},m.exports.default=m.exports,m.exports.__esModule=!0},3641,[]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=r(d[2]),l=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),f=t(r(d[7]));function _(t){var c=t.name,_=t.icon,v=(0,l.usePreferredColorSchemeStyle)(f.default['variation-control-selected-button__item'],f.default['variation-control-selected-button__item-dark']),y=(0,l.usePreferredColorSchemeStyle)(f.default['variation-control-selected-button__label-icon'],f.default['variation-control-selected-button__label-icon-dark']),h=(0,l.usePreferredColorSchemeStyle)(f.default['variation-control-selected-button__label'],f.default['variation-control-selected-button__label-dark']);return(0,n.createElement)(o.TouchableHighlight,{style:[u.InserterButton.Styles.modalItem,f.default['variation-control-selected-button']]},(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.View,{style:[u.InserterButton.Styles.modalIconWrapper,v]},(0,n.createElement)(o.View,{style:y},(0,n.createElement)(s.Icon,{icon:_,fill:y.fill,size:y.width}))),(0,n.createElement)(o.Text,{style:h},c)))}function v(t){var l=t.variations,s=t.onChange,v=t.selected,y=void 0===v?null:v;return(0,n.useMemo)(function(){return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,contentContainerStyle:f.default['variation-control-inner__scrollview-container'],style:f.default['variation-control-inner__scrollview']},l.map(function(t){var l=t.name===y;return(0,n.createElement)(o.View,{key:t.name,style:f.default['variation-control-inner__item']},l?(0,n.createElement)(_,{name:t.title,icon:t.icon}):(0,n.createElement)(u.InserterButton,{item:t,maxWidth:112,key:t.name,onSelect:function(){return s(t)}}))})),(0,n.createElement)(o.Text,{style:f.default['variation-control-inner__footer']},(0,c.__)('Note: Layout may vary between themes and screen sizes','layout-grid')),y&&(0,n.createElement)(o.Text,{style:[f.default['variation-control-inner__footer'],f.default['variation-control-inner__footer-last']]},(0,c.__)('Changing the number of columns will reset your layout and could remove content.','layout-grid')))},[l,s])}var y={top:22,bottom:22,left:22,right:22};function h(t){var _=t.isVisible,h=t.onClose,b=t.variations,E=t.onChange,S=t.hasLeftButton,w='ios'===o.Platform.OS,C=(0,l.usePreferredColorSchemeStyle)(f.default['variation-control__cancel-button'],f.default['variation-control__cancel-button-dark']),I=(0,n.useMemo)(function(){return(0,n.createElement)(o.TouchableWithoutFeedback,{onPress:h,hitSlop:y},(0,n.createElement)(o.View,null,w?(0,n.createElement)(o.Text,{style:C,maxFontSizeMultiplier:2},(0,c.__)('Cancel')):(0,n.createElement)(s.Icon,{icon:s.close,size:24,style:f.default['variation-control__close-icon']})))},[h,C]),V=function(t){E(t),h()};return(0,n.useMemo)(function(){return(0,n.createElement)(u.BottomSheet,{isVisible:_,onClose:h,title:(0,c.__)('Select a layout'),contentStyle:f.default['variation-control'],leftButton:S&&I},(0,n.createElement)(o.View,{style:f.default['variation-control__inner-shell']},(0,n.createElement)(v,{variations:b,onChange:V})))},[b,_,h,E])}h.Inner=v;var b=h;e.default=b},3642,[3482,683,17,1384,1280,1691,1891,3643]); __d(function(g,r,i,a,m,e,d){m.exports={"variation-control":{paddingLeft:0,paddingRight:0},"variation-control__cancel-button":{color:"#0087be",fontSize:16,paddingLeft:16,paddingRight:16},"variation-control__cancel-button-dark":{color:"#5198d9"},"variation-control__close-icon":{color:"#87a6bc",marginLeft:8,paddingLeft:16,paddingRight:16},"variation-control__inner-shell":{paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16},"variation-control-inner__scrollview-container":{flexDirection:"row",paddingLeft:8,paddingRight:0},"variation-control-inner__scrollview":{paddingTop:12,marginLeft:-16,marginRight:-16},"variation-control-inner__footer":{paddingTop:21.5,paddingBottom:10.5,fontSize:12,color:"#87a6bc",flexGrow:1,flexShrink:1,flexBasis:0},"variation-control-inner__footer-last":{paddingTop:0},"variation-control-selected-button":{width:112,height:84},"variation-control-selected-button__item":{borderWidth:1,borderRadius:8,borderStyle:"solid",borderColor:"#2271b1",backgroundColor:"#f3f6f8"},"variation-control-selected-button__item-dark":{borderColor:"#5198d9",backgroundColor:"rgba(255, 255, 255, 0.07)"},"variation-control-selected-button__label-icon":{width:48,height:32,justifyContent:"center",alignItems:"center",fill:"#2e4453"},"variation-control-selected-button__label-icon-dark":{fill:"#fff"},"variation-control-selected-button__label":{backgroundColor:"transparent",paddingLeft:2,paddingRight:2,paddingTop:4,paddingBottom:0,justifyContent:"center",fontSize:12,color:"#2e4453"},"variation-control-selected-button__label-dark":{color:"#fff"}}},3643,[]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getLayouts=e.getGutterValues=e.getColumns=e.MAX_COLUMNS=e.DEVICE_TABLET=e.DEVICE_MOBILE=e.DEVICE_DESKTOP=e.DEVICE_BREAKPOINTS=void 0,e.getOffsetForDevice=function(l,u){return"column"+(l+1)+u+"Offset"},e.getPaddingValues=void 0,e.getSpanForDevice=function(l,u){return"column"+(l+1)+u+"Span"};var l=r(d[0]),u=r(d[1]);function t(){return[{value:'small',label:(0,l.__)('Small','layout-grid')},{value:'medium',label:(0,l.__)('Medium','layout-grid')},{value:'large',label:(0,l.__)('Large','layout-grid')},{value:'huge',label:(0,l.__)('Huge','layout-grid')}]}e.getPaddingValues=function(){return[{value:'none',label:(0,l.__)('No padding','layout-grid')}].concat(t())};e.getGutterValues=function(){return[{value:'none',label:(0,l.__)('No gutter','layout-grid')}].concat(t())};e.getColumns=function(){return[{label:(0,l.__)('1 column','layout-grid'),value:1},{label:(0,l.__)('2 columns','layout-grid'),value:2},{label:(0,l.__)('3 columns','layout-grid'),value:3},{label:(0,l.__)('4 columns','layout-grid'),value:4}]};e.DEVICE_DESKTOP="Desktop";e.DEVICE_TABLET="Tablet";e.DEVICE_MOBILE="Mobile";e.getLayouts=function(){return[{value:"Desktop",label:(0,l.__)('Desktop','layout-grid'),icon:u.desktop},{value:"Tablet",label:(0,l.__)('Tablet','layout-grid'),icon:u.tablet},{value:"Mobile",label:(0,l.__)('Mobile','layout-grid'),icon:u.mobile}]};e.MAX_COLUMNS=4;var o=["Desktop","Tablet","Mobile"];e.DEVICE_BREAKPOINTS=o},3644,[1280,1891]); @@ -3656,8 +3656,8 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),u=r(d[5]),s=r(d[6]),p=r(d[7]),h=r(d[8]),f=r(d[9]),_=r(d[10]),b=t(r(d[11]));function k(t,l,n,o){var c={mobile:n,tablet:n,desktop:n};switch(t){case 2:c={mobile:n,tablet:Math.floor(n/2)-16,desktop:Math.floor(n/2)-16};break;case 3:c={mobile:n,tablet:Math.floor(n/2)-16,desktop:Math.floor(n/3)-22},2===l&&(c.tablet=n);break;case 4:c={mobile:n,tablet:Math.floor(n/2)-16,desktop:Math.floor(n/4)-24}}return{width:c[o]}}var C=(0,h.compose)((0,p.withSelect)(function(t,l){var n,o=l.clientId,c=t(u.store),s=c.getBlockCount,p=c.getBlockRootClientId,h=c.getSelectedBlockClientId,f=c.getBlocks,_=c.getBlockOrder,b=c.getBlockAttributes,k=h(),C=k===o,w=p(o);return{hasChildren:!!s(o),isParentSelected:k&&k===w,isSelected:C,selectedColumnIndex:_(w).indexOf(o),columns:f(w),parentAlign:null==(n=b(w))?void 0:n.align,parentColumnCount:s(w)}}),(0,_.withUpdateAlignment)(),(0,c.withViewportMatch)({isMobile:'< small',isTablet:'< large'}))(function(t){var c=t.hasChildren,p=t.attributes,_=t.isSelected,C=t.setAttributes,w=t.updateAlignment,v=t.isParentSelected,B=t.selectedColumnIndex,S=t.contentStyle,E=t.isMobile,A=t.isTablet,M=t.parentAlign,y=t.parentColumnCount,I=p.padding,P=p.verticalAlignment,V=o.alignmentHelpers.isFullWidth,x='desktop';A&&(x='tablet'),E&&(x='mobile');var O=(0,h.usePreferredColorSchemeStyle)(b.default.column__placeholder,b.default['column__placeholder-dark']),T=k(y,B,S.width,x),W=T.width===S.width&&V(M),F=(0,l.useCallback)(function(){return _?(0,l.createElement)(n.View,{style:[b.default.column__appender,W&&b.default['column__appender-full-width'],W&&c&&b.default['column__appender-full-width-has-children'],!W&&c&&b.default['column__appender-not-full-width']]},(0,l.createElement)(u.InnerBlocks.ButtonBlockAppender,null)):null},[W,_,c]);if(!_&&!c)return(0,l.createElement)(n.View,{style:[!v&&O,b.default['column__placeholder-not-selected'],T]});var j=_&&'none'===I?b.default['column__padding-none-is-selected']:b.default['column__padding-'+I];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(n.View,{style:[j,T]},(0,l.createElement)(u.InnerBlocks,{templateLock:!1,renderAppender:F,parentWidth:T.width,blockWidth:T.width})),(0,l.createElement)(u.InspectorControls,null,(0,l.createElement)(o.PanelBody,{title:(0,s.__)('Column Settings','layout-grid')},(0,l.createElement)(o.BottomSheetSelectControl,{label:(0,s.__)('Padding','layout-grid'),value:I,onChange:function(t){return C({padding:t})},options:(0,f.getPaddingValues)()}))),(0,l.createElement)(u.BlockControls,null,(0,l.createElement)(u.BlockVerticalAlignmentToolbar,{onChange:w,value:P})))});e.default=C},3650,[3482,683,17,1691,2866,1687,1280,1344,1384,3644,3651,3652]); __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.withUpdateAlignment=function(){return(0,t.withDispatch)(function(t,n,l){return{updateAlignment:function(c){var o=n.clientId,u=n.setAttributes,s=t('core/block-editor'),v=s.updateBlockAttributes,A=l.select('core/block-editor'),b=A.getBlockRootClientId;u({verticalAlignment:c});var f=b(o);v(f,{verticalAlignment:null})}}})};var t=r(d[0])},3651,[1344]); __d(function(g,r,i,a,m,e,d){m.exports={column__placeholder:{flexGrow:1,flexShrink:1,flexBasis:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,backgroundColor:"#fff",borderWidth:1,borderColor:"#87a6bc",borderStyle:"dashed",borderRadius:4},"column__placeholder-dark":{backgroundColor:"#000",borderWidth:1,borderColor:"#3c434a",borderStyle:"dashed"},"column__placeholder-not-selected":{paddingTop:12},column__appender:{marginLeft:8,marginRight:8,marginBottom:-10},"column__appender-full-width":{marginLeft:20,marginRight:20},"column__appender-full-width-has-children":{marginLeft:12,marginRight:12,marginBottom:5},"column__appender-not-full-width":{marginLeft:0,marginRight:0,marginBottom:5},"column__padding-none":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},"column__padding-none-is-selected":{paddingTop:0,paddingRight:0,paddingBottom:10,paddingLeft:0},"column__padding-small":{paddingTop:10,paddingRight:8,paddingBottom:10,paddingLeft:8},"column__padding-medium":{paddingTop:16,paddingRight:16,paddingBottom:16,paddingLeft:16},"column__padding-large":{paddingTop:24,paddingRight:24,paddingBottom:24,paddingLeft:24},"column__padding-huge":{paddingTop:48,paddingRight:48,paddingBottom:48,paddingLeft:48}}},3652,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),o=l(r(d[2])),n=l(r(d[3])),u=r(d[4]),c=function(l){var c,s=l.attributes,f=void 0===s?{}:s,v=f.className,k=f.backgroundColor,b=f.customBackgroundColor,C=f.padding,_=f.verticalAlignment,p=(0,u.getColorClassName)('background-color',k),y=(0,n.default)(v,(c={},(0,o.default)(c,'wp-block-jetpack-layout-grid__padding-'+C,!0),(0,o.default)(c,'has-background',k||b),(0,o.default)(c,p,p),(0,o.default)(c,"is-vertically-aligned-"+_,_),c)),N={backgroundColor:p?void 0:b};return(0,t.createElement)("div",{className:y,style:N},(0,t.createElement)(u.InnerBlocks.Content,null))};e.default=c},3653,[3482,683,3526,2154,1687]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=t(r(d[3])),u=r(d[4]),c=[{attributes:{backgroundColor:{type:'string'},customBackgroundColor:{type:'string'},padding:{type:'string',default:'none'},verticalAlignment:{type:'string'}},save:function(t){var c,s=t.attributes,v=void 0===s?{}:s,f=v.className,k=v.backgroundColor,p=v.customBackgroundColor,b=v.padding,y=v.verticalAlignment,C=(0,u.getColorClassName)('background-color',k),_=(0,n.default)(f,(c={},(0,o.default)(c,'wp-block-jetpack-layout-grid__padding-'+b,!0),(0,o.default)(c,'has-background',k),(0,o.default)(c,C,C),(0,o.default)(c,"is-vertically-aligned-"+y,y),c)),B={backgroundColor:C?void 0:p};return(0,l.createElement)("div",{className:_,style:B},(0,l.createElement)(u.InnerBlocks.Content,null))}}];e.default=c},3654,[3482,683,3526,2154,1687]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),o=l(r(d[2])),n=l(r(d[3])),u=r(d[4]),c=function(l){var c,s=l.attributes,f=void 0===s?{}:s,v=f.className,k=f.backgroundColor,b=f.customBackgroundColor,C=f.padding,_=f.verticalAlignment,p=(0,u.getColorClassName)('background-color',k),y=(0,n.default)(v,(c={},(0,o.default)(c,'wp-block-jetpack-layout-grid__padding-'+C,!0),(0,o.default)(c,'has-background',k||b),(0,o.default)(c,p,p),(0,o.default)(c,"is-vertically-aligned-"+_,_),c)),N={backgroundColor:p?void 0:b};return(0,t.createElement)("div",{className:y,style:N},(0,t.createElement)(u.InnerBlocks.Content,null))};e.default=c},3653,[3482,683,3529,2154,1687]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),o=t(r(d[2])),n=t(r(d[3])),u=r(d[4]),c=[{attributes:{backgroundColor:{type:'string'},customBackgroundColor:{type:'string'},padding:{type:'string',default:'none'},verticalAlignment:{type:'string'}},save:function(t){var c,s=t.attributes,v=void 0===s?{}:s,f=v.className,k=v.backgroundColor,p=v.customBackgroundColor,b=v.padding,y=v.verticalAlignment,C=(0,u.getColorClassName)('background-color',k),_=(0,n.default)(f,(c={},(0,o.default)(c,'wp-block-jetpack-layout-grid__padding-'+b,!0),(0,o.default)(c,'has-background',k),(0,o.default)(c,C,C),(0,o.default)(c,"is-vertically-aligned-"+y,y),c)),B={backgroundColor:C?void 0:p};return(0,l.createElement)("div",{className:_,style:B},(0,l.createElement)(u.InnerBlocks.Content,null))}}];e.default=c},3654,[3482,683,3529,2154,1687]); __r(31); __r(0); //# sourceMappingURL=App.js.map \ No newline at end of file diff --git a/bundle/ios/App.js.map b/bundle/ios/App.js.map index 801b1fb394..f33e25b3d7 100644 --- a/bundle/ios/App.js.map +++ b/bundle/ios/App.js.map @@ -1 +1 @@ -{"version":3,"sources":["__prelude__","/Users/gerardo/Work/gutenberg-mobile/node_modules/metro-runtime/src/polyfills/require.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/polyfills/console.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/polyfills/error-guard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/polyfills/Object.es8.js","/Users/gerardo/Work/gutenberg-mobile/index.js","/Users/gerardo/Work/gutenberg-mobile/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/classCallCheck.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/createClass.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/inherits.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/setPrototypeOf.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/typeof.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/assertThisInitialized.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/getPrototypeOf.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/init.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/eventReceiver.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/invariant/browser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/warnOnce.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTDeviceEventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/_EmitterSubscription.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/_EventSubscription.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/emitter/_EventSubscriptionVendor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactNative.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/extends.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/InitializeCore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpGlobals.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpPerformance.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpSystrace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/Systrace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpErrorHandling.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ExceptionsManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/wrapNativeSuper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/isNativeFunction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/construct.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/NativeExceptionsManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/BatchedBridge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/vendor/core/ErrorUtils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/stringifySafe.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/defineLazyObjectProperty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/Platform.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Devtools/parseErrorStack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Devtools/parseHermesStack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/stacktrace-parser/dist/stack-trace-parser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/polyfillPromise.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PolyfillFunctions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Promise.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/promise/setimmediate/es6-extensions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/promise/setimmediate/core.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/promise/setimmediate/done.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/node_modules/promise/setimmediate/finally.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpRegeneratorRuntime.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/regenerator/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/regenerator-runtime/runtime.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/FeatureDetection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpTimers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/JSTimers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/NativeTiming.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/immediateShim.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/Timers/queueMicrotask.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpXHR.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/XMLHttpRequest.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/get.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/superPropBase.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/BlobManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/NativeBlobModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/Blob.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/BlobRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/event-target-shim/dist/event-target-shim.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/GlobalPerformanceLogger.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/createPerformanceLogger.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/infoLog.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/RCTNetworking.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/NativeNetworkingIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/convertRequestBody.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/binaryToBase64.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/base64-js/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/FormData.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Network/fetch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-fetch/dist/fetch.umd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/WebSocket.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/NativeWebSocketModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/WebSocket/WebSocketEvent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/File.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/FileReader.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/NativeFileReaderModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Blob/URL.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/abort-controller/dist/abort-controller.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpAlert.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/Alert.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/RCTAlertManager.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Alert/NativeAlertManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpNavigator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpBatchedBridge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/HeapCapture/HeapCapture.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/HeapCapture/NativeJSCHeapCapture.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/SamplingProfiler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Performance/NativeJSCSamplingProfiler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/RCTLog.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/JSDevSupportModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativeJSDevSupport.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/HMRClientProdShim.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/setUpSegmentFetcher.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/EventEmitter/RCTEventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/TextInputState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/codegenNativeCommands.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/AndroidTextInputViewConfig.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewViewConfig.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/normalizeColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/normalize-color/base.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypes.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/insetsDiffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/sizesDiffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/matricesDiffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processTransform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/MatrixMath.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeComponent/NativeComponentRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeComponent/ViewConfig.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/UIManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/UIManagerInjection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/DummyUIManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/PaperUIManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeUIManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/UIManagerProperties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/getNativeComponentAttributes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeStyleAttributes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/pointsDiffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/processColorArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/resolveAssetSource.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/assets/registry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/AssetSourceResolver.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PixelRatio.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/Dimensions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativeDeviceInfo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/AssetUtils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native/assets/path-support.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeSourceCode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/verifyComponentAttributeEquivalence.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react/cjs/react.production.min.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/object-assign/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/RCTTextInputViewConfig.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/differ/deepDiffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/flattenStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ReactFiberErrorDialog.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/scheduler/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/scheduler/cjs/scheduler.production.min.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/StyleSheet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/View.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Text/TextAncestor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/UnimplementedViews/UnimplementedView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/codegenNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/requireNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Button.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Text/Text.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/prop-types/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/prop-types/factoryWithThrowingShims.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/prop-types/lib/ReactPropTypesSecret.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedStyleSheetPropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/deprecatedCreateStrictShapeTypeChecker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextStylePropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedLayoutPropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedShadowPropTypesIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTransformPropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/deprecatedPropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Pressability/PressabilityDebug.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Pressability/usePressability.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Pressability/Pressability.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Pressability/HoverState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Sound/SoundManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Sound/NativeSoundManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/Rect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Pressability/PressabilityPerformanceEventEmitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Text/TextNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/View/ReactNativeViewAttributes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableOpacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/Animated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/AnimatedMock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/AnimatedEvent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedInterpolation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedNode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/NativeAnimatedHelper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/NativeAnimatedModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/NativeAnimatedTurboModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedWithChildren.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/InteractionManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/TaskQueue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/AnimatedImplementation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedAddition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedDiffClamp.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedDivision.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedModulo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedMultiplication.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedProps.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedTransform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedSubtraction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedTracking.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/nodes/AnimatedValueXY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/animations/DecayAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/animations/Animation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/animations/SpringAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/SpringConfig.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/animations/TimingAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/Easing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/bezier.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/createAnimatedComponentInjection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/setAndForwardRef.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedFlatList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/FlatList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizeUtils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizedList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizedListContext.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/Batchinator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/FillRateHelper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/RefreshControl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/Keyboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/dismissKeyboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/NativeKeyboardObserver.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/FrameRateLogger.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/NativeFrameRateLogger.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/processDecelerationRate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/splitLayoutProps.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewContext.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewCommands.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/ViewabilityHelper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/Image.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImageAnalyticsTagContext.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/NativeImageLoaderIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImageViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedScrollView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedSectionList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/SectionList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Lists/VirtualizedSectionList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedText.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Animated/components/AnimatedView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePicker/RCTDatePickerNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImageBackground.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/InputAccessoryView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/MaskedView/MaskedViewIOS.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/MaskedView/RCTMaskedViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/Modal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/ModalInjection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/NativeModalManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Modal/RCTModalHostViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/AppContainer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/RootTag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/I18nManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeI18nManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Pressable/Pressable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Pressable/useAndroidRippleForView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ProgressViewIOS/RCTProgressViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SafeAreaView/SafeAreaView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Slider/Slider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Slider/SliderNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/StatusBar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/Switch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/useMergeRefs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/AndroidSwitchNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Switch/SwitchNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/TextInput.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedViewAccessibility.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/nullthrows/nullthrows.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/Touchable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/BoundingDimensions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/PooledClass.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/Position.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Touchable/TouchableWithoutFeedback.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ActionSheetIOS/NativeActionSheetManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/Appearance.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/NativeAppearance.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/DebugEnvironment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/AppRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/DisplayMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/HeadlessJsTaskError.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/BugReporting.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeRedBox.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/NativeBugReporting.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/BugReporting/dumpReactTree.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/SceneTracker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/renderApplication.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/PerformanceLoggerContext.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/ReactNative/getCachedComponentWithDebugName.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/BackHandler.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/shims/ReactFabric.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/AppState/AppState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/logError.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/AppState/NativeAppState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Storage/AsyncStorage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Storage/NativeAsyncLocalStorage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Storage/NativeAsyncSQLiteDBStorage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Clipboard/Clipboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/Clipboard/NativeClipboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/DeviceInfo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/DevSettings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/NativeModules/specs/NativeDevSettings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/ImagePickerIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/NativeImagePickerIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Linking/Linking.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Linking/NativeIntentAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/LogBox/LogBox.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/PanResponder.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Interaction/TouchHistoryMath.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PermissionsAndroid/NativePermissionsAndroid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PushNotificationIOS/PushNotificationIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Settings/Settings.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Settings/NativeSettingsManager.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Share/Share.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Share/NativeShareModule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Components/ToastAndroid/ToastAndroid.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/useColorScheme.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/use-subscription/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/use-subscription/cjs/use-subscription.production.min.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Utilities/useWindowDimensions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/UTFSequence.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Vibration/Vibration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Vibration/NativeVibration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/YellowBox/YellowBoxDeprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/DeprecatedPropTypes/DeprecatedPointPropType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/State.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/EventType.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/handlersRegistry.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/RNGestureHandlerModule.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/Directions.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/gestureHandlerRootHOC.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-is/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-is/cjs/react-is.production.min.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/GestureHandlerRootView.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/TapGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/createHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isEqual.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseIsEqual.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseIsEqualDeep.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Stack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_ListCache.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_listCacheClear.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_listCacheDelete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_assocIndexOf.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/eq.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_listCacheGet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_listCacheHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_listCacheSet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_stackClear.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_stackDelete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_stackGet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_stackHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_stackSet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getNative.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseIsNative.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isFunction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseGetTag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_root.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_freeGlobal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getRawTag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_objectToString.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isObject.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_isMasked.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_coreJsData.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_toSource.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_MapCache.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapCacheClear.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Hash.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_hashClear.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_nativeCreate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_hashDelete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_hashGet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_hashHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_hashSet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapCacheDelete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getMapData.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_isKeyable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapCacheGet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapCacheHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapCacheSet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_equalArrays.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_SetCache.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_setCacheAdd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_setCacheHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_arraySome.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_cacheHas.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_equalByTag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Uint8Array.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_mapToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_setToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_equalObjects.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getAllKeys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseGetAllKeys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_arrayPush.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getSymbols.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_arrayFilter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/stubArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_arrayLikeKeys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseTimes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isArguments.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseIsArguments.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isObjectLike.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isBuffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/stubFalse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_isIndex.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isTypedArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseIsTypedArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isLength.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseUnary.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_nodeUtil.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_baseKeys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_isPrototype.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_nativeKeys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_overArg.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/isArrayLike.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_getTag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_DataView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Promise.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_Set.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/_WeakMap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestureHandlerCommon.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/ActionType.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/ForceTouchGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/PlatformConstants.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/LongPressGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/PanGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/PinchGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/RotationGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/FlingGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/createNativeWrapper.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/NativeViewGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/GestureDetector.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/gesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/reanimatedWrapper.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/Animated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/ReanimatedEventEmitter.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/ReanimatedModule.native.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/ReanimatedModuleCompat.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PlatformChecker.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedEvent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedNode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedSet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/val.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedBlock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/InternalAnimatedValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/interpolate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/operators.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedOperator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedCond.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedFunction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedCallFunc.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedParam.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedClock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/evaluateOnce.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedCall.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedAlways.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/createEventObjectProxyPolyfill.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedProps.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedTransform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash.isequal/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/WorkletEventHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeReanimated/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/JSReanimated.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/MapperRegistry.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/Mapper.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/MutableValue.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeReanimated/NativeReanimated.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/setAndForwardRef.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/core.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Colors.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Easing.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/Easing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/base.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedStartClock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedStopClock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedClockTest.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedDebug.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedConcat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedBezier.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/ConfigHelper.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Default.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/commonTypes.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/spring.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/decay.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/animation/sequence.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/core/AnimatedCode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/useCode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/decay.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/timing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/spring.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/Animation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/Transitioning.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/SpringUtils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/useValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/animations/backwardCompatibleAnimWrapper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/acc.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/color.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/diff.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/diffClamp.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/interpolateColors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated1/derived/onChange.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/component/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/component/FlatList.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/component/WrappedComponents.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/commonTypes.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/Hooks.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useSharedValue.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/ViewDescriptorsSet.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedGestureHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedReaction.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/NativeMethods.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/commonTypes.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-reanimated/src/reanimated2/commonTypes.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureStateManager.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/getShadowNodeFromRef.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureObjects.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/flingGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/forceTouchGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureComposition.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/longPressGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/panGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/pinchGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/rotationGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/tapGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/nativeGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/GestureButtons.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/GestureHandlerButton.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/fabric/RNGestureHandlerButtonNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/TouchableWithoutFeedback.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/GenericTouchable.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/TouchableOpacity.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/touchables/TouchableHighlight.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/GestureComponents.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/Swipeable.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-gesture-handler/src/components/DrawerLayout.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createHooks.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createAddHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/validateNamespace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/validateHookName.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createRemoveHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createHasHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createRunHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createCurrentHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createDoingHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/hooks/src/createDidHook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/create-interpolate-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/react.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/extends.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/node_modules/lodash/lodash.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/react-platform.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/platform.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/serialize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/escape-html/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/escape-html/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/escape-html/src/escape-greater.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/element/src/raw-html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/globals.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-get-random-values/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/fast-base64-decode/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/url/url.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/punycode/punycode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/querystring/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/querystring/decode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/querystring/encode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/path-browserify/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/Parser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/Tokenizer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/lib/decode_codepoint.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/maps/decode.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/maps/entities.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/maps/legacy.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/maps/xml.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/inherits/inherits_browser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/eventemitter2/lib/eventemitter2.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domhandler/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domelementtype/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domhandler/lib/node.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domhandler/lib/element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/FeedHandler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/ProxyHandler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/stringify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/dom-serializer/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/dom-serializer/node_modules/domelementtype/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/lib/encode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/entities/lib/decode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/traversal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/manipulation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/querying.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/legacy.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/domutils/lib/helpers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/htmlparser2-without-node-native/lib/CollectingHandler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/nwmatcher/src/nwmatcher-noqsa.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleDeclaration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleSheet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/StyleSheet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSStyleRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSImportRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/MediaList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSMediaRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSFontFaceRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSKeyframeRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSKeyframesRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSValueExpression.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/CSSDocumentRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/MatcherList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssom/lib/clone.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/CSSStyleDeclaration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/parsers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/alignmentBaseline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/azimuth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/background.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundAttachment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPosition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundClip.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundOrigin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPositionX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundPositionY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeatX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundRepeatY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/backgroundSize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/baselineShift.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/border.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomLeftRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderBottomRightRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageOutset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageRepeat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageSlice.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageSource.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderImageWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeft.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderLeftColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderRightColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderSpacing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopLeftRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/borderTopRightRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/bottom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/boxShadow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/boxSizing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/captionSide.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/clear.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/clip.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/color.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorInterpolation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorInterpolationFilters.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorProfile.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/colorRendering.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/counterIncrement.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/counterReset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cssFloat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cueAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cueBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/cursor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/direction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/display.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/dominantBaseline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/elevation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/emptyCells.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/enableBackground.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fill.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fillOpacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fillRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/filter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/floodColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/floodOpacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/font.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontFamily.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontSize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontVariant.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontWeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/lineHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontSizeAdjust.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/fontStretch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/glyphOrientationHorizontal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/glyphOrientationVertical.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/height.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/imageRendering.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/kerning.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/letterSpacing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/lightingColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyleImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStylePosition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/listStyleType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/margin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginBottom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginLeft.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginRight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marginTop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerEnd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerMid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerOffset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/markerStart.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/marks.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/mask.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/maxHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/maxWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/minHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/minWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/opacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/orphans.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineOffset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/outlineWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflowX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/overflowY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/padding.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingBottom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingLeft.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingRight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/paddingTop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/page.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pageBreakInside.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pause.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pauseAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pauseBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pitch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pitchRange.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/playDuring.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/pointerEvents.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/position.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/quotes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/resize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/richness.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/shapeRendering.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/size.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speak.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakHeader.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakNumeral.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speakPunctuation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/speechRate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/src.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stopColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stopOpacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stress.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/stroke.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeDasharray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeDashoffset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeLinecap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeLinejoin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeMiterlimit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeOpacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/strokeWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/tableLayout.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textAnchor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textDecoration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textIndent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThrough.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textLineThroughWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverflow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textOverlineWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textRendering.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textShadow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textTransform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/textUnderlineWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/top.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/unicodeBidi.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/unicodeRange.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/vectorEffect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/verticalAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/visibility.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/voiceFamily.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/volume.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDelay.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDirection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationDuration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationFillMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationIterationCount.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationName.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationPlayState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAnimationTimingFunction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAppearance.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitAspectRatio.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackfaceVisibility.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundClip.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundComposite.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundOrigin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBackgroundSize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderAfterWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderBeforeWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEnd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderEndWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderFit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderHorizontalSpacing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderRadius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStart.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderStartWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBorderVerticalSpacing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxDirection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxFlex.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxFlexGroup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxLines.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxOrdinalGroup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxOrient.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxPack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxReflect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitBoxShadow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColorCorrection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnAxis.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnBreakInside.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnCount.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnGap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnRuleWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnSpan.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumnWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitColumns.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFilter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexDirection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexFlow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexItemAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexLinePack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexOrder.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexPack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlexWrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlowFrom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFlowInto.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontFeatureSettings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontKerning.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontSizeDelta.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontSmoothing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitFontVariantLigatures.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHighlight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateCharacter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphenateLimitLines.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitHyphens.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineAlign.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineBoxContain.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineBreak.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineClamp.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineGrid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLineSnap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLocale.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLogicalHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitLogicalWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginAfterCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBeforeCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginBottomCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginEnd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginStart.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarginTopCollapse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarquee.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeDirection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeIncrement.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeRepetition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeSpeed.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMarqueeStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMask.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskAttachment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageOutset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageRepeat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageSlice.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageSource.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskBoxImageWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskClip.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskComposite.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskImage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskOrigin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPosition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPositionX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskPositionY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeatX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskRepeatY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaskSize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaxLogicalHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMaxLogicalWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMinLogicalHeight.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitMinLogicalWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitNbspMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitOverflowScrolling.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingEnd.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPaddingStart.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspective.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOrigin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOriginX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPerspectiveOriginY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitPrintColorAdjust.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakAfter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakBefore.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionBreakInside.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRegionOverflow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitRtlOrdering.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitSvgShadow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTapHighlightColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextCombine.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextDecorationsInEffect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasis.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisPosition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextEmphasisStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextFillColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextOrientation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextSecurity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextSizeAdjust.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStroke.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStrokeColor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTextStrokeWidth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOrigin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginX.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginY.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformOriginZ.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransformStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionDelay.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionDuration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionProperty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitTransitionTimingFunction.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserDrag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserModify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitUserSelect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapFlow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapMargin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapPadding.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapShapeInside.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapShapeOutside.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWrapThrough.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/webkitWritingMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/whiteSpace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/widows.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/width.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordBreak.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordSpacing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/wordWrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/writingMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/zIndex.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/builtins/cssstyle/lib/properties/zoom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/core.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level2/core.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level1/core.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/xpath.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level2/html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/level3/ls.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/htmltodom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/htmlencoding.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/domtohtml.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/browser/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/jsdom-jscore-rn/lib/jsdom/selectors/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/auto.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/package.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/js/URL.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/webidl2js-wrapper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URL.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/node_modules/webidl-conversions/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URL-impl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/url-state-machine.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/punycode/punycode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/infra.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/urlencoded.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URLSearchParams.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/whatwg-url-without-unicode/lib/URLSearchParams-impl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/js/URLSearchParams.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-url-polyfill/node_modules/buffer/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/ieee754/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/features/array/flat-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/stable/array/flat-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/es/array/flat-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/modules/es.array.flat-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/export.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/global.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-get-own-property-descriptor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/descriptors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/fails.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/function-call.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-property-is-enumerable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/create-property-descriptor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-indexed-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/indexed-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/function-uncurry-this.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/classof-raw.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/require-object-coercible.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-property-key.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-primitive.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-callable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/get-built-in.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-is-prototype-of.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/use-symbol-as-uid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/native-symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/engine-v8-version.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/engine-user-agent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/get-method.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/a-callable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/try-to-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/ordinary-to-primitive.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/well-known-symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-pure.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/shared-store.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/set-global.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/has-own-property.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/uid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/ie8-dom-define.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/document-create-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/create-non-enumerable-property.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-define-property.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/an-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/redefine.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/inspect-source.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/internal-state.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/native-weak-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/shared-key.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/hidden-keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/function-name.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/copy-constructor-properties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/own-keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-get-own-property-names.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-keys-internal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/array-includes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-absolute-index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-integer-or-infinity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/length-of-array-like.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-length.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/enum-bug-keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-get-own-property-symbols.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-forced.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/flatten-into-array.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-array.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/function-bind-context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/array-species-create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/array-species-constructor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/is-constructor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/classof.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/to-string-tag-support.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/modules/es.array.unscopables.flat-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/add-to-unscopables.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-define-properties.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/object-keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/core-js/internals/entry-unbind.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-bridge/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/jsdom-patches.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/initial-html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/setup-locale.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/i18n/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/i18n/src/sprintf.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/memize/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/sprintf-js/src/sprintf.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/i18n/src/create-i18n.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/tannin/build/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@tannin/plural-forms/build/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@tannin/compile/build/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@tannin/postfix/build/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@tannin/evaluate/build/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/i18n/src/default-i18n.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ar.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/bg.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/bo.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ca.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/cs.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/cy.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/da.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/de.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-au.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-ca.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-gb.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-nz.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/en-za.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/el.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-ar.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-cl.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/es-cr.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/fa.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/fr.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/gl.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/he.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/hr.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/hu.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/id.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/is.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/it.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ja.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ka.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ko.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nb.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nl.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/nl-be.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pl.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pt.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/pt-br.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ro.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ru.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sk.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sq.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sr.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/sv.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/th.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/tr.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/uk.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/ur.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/vi.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/zh-cn.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/i18n-cache/data/zh-tw.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/setup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/turbo-combine-reducers/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/default-registry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/registry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/lodash/lodash.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/deprecated/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/redux/lib/redux.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectSpread2.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/equivalent-key-map/equivalent-key-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/redux-routine/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/redux-routine/src/is-generator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/redux-routine/src/runtime.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/helpers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/keys.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/builtin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/is.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/async.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/utils/dispatcher.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rungen/dist/controls/wrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/is-promise/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/redux-routine/src/is-action.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/controls.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/factory.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/promise-middleware.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/resolvers-cache-middleware.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/thunk-middleware.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/reducer.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/redux-store/metadata/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/utils/emitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/plugins/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/storage/default.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/plugins/persistence/storage/object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/with-select/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/utils/create-higher-order-component/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/compose.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/if-condition/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/pure/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/objects.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/is-shallow-equal/src/arrays.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-global-events/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-global-events/listener.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-instance-id/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-instance-id/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-safe-timeout/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-state/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/higher-order/with-preferred-color-scheme/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-preferred-color-scheme/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-constrained-tabbing/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-dragging/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-isomorphic-layout-effect/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-focus-outside/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-keyboard-shortcut/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-media-query/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-previous/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-reduced-motion/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-viewport-match/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-async-list/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/priority-queue/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/priority-queue/src/request-idle-callback.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-preferred-color-scheme-style/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-resize-observer/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-debounce/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/use-memo-one/dist/use-memo-one.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-throttle/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/compose/src/hooks/use-merge-refs/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/use-select/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/use-registry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/use-async-mode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/with-dispatch/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/use-dispatch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/use-dispatch/use-dispatch-with-map.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/with-registry/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/registry-provider/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/data/src/components/async-mode-provider/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/rememo/rememo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/node_modules/colord/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/node_modules/colord/plugins/names.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/node_modules/colord/plugins/a11y.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/focusable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/tabbable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/compute-caret-rect.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/get-rectangle-from-range.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/utils/assert-is-defined.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/document-has-text-selection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/document-has-uncollapsed-selection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/input-field-has-uncollapsed-selection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-text-field.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-html-input-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/document-has-selection.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/get-scroll-container.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/get-computed-style.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/get-offset-parent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-entirely-selected.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-input-or-text-area.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-form-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-horizontal-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/get-range-height.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-selection-forward.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/hidden-caret-range-from-point.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/caret-range-from-point.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-number-input.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-vertical-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/place-caret-at-horizontal-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/place-caret-at-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/place-caret-at-vertical-edge.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/replace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/insert-after.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/remove.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/unwrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/replace-tag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/wrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/strip-html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/safe-html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-empty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/remove-invalid-html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/clean-node-list.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/phrasing-content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/dom/is-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/dom/src/data-transfer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/registration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/i18n-block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/factory.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v1.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/rng-browser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/stringify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/validate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/regex.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v3.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v35.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/md5-browser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v4.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/v5.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/sha1-browser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/nil.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/uuid/dist/version.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-serialization-default-parser/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/autop/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/serializer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/serialize-raw-block.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/validation/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/toArray.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/simple-html-tokenizer/dist/simple-html-tokenizer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/html-entities/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/validation/logger.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/convert-legacy-block.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/get-block-attributes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/hpq/dist/hpq.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/matchers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/node.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/children.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/apply-block-deprecated-versions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/apply-built-in-validation-fixes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/parser/fix-custom-classname.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/paste-handler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/html-to-blocks.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/get-raw-transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/normalise-blocks.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/special-comment-converter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/comment-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/is-inline-content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/phrasing-content-reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/head-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/ms-list-converter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/list-reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/image-corrector.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/blockquote-normaliser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/div-normaliser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/figure-content-reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/shortcode-converter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/shortcode/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/markdown-converter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/showdown/dist/showdown.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/iframe-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/google-docs-uid-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/html-formatting-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/br-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/empty-paragraph-remover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/raw-handling/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/categories.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/api/templates.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blocks/src/block-content-provider/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/conservative-map-item.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/get-normalized-comma-separable.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/if-matching-action.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/forward-resolver.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/on-sub-key.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/replace-action.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/with-weak-map-cache.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/utils/is-raw-attribute.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/get-query-parts.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-url.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-email.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-protocol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-valid-protocol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-authority.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-valid-authority.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-path.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-valid-path.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-query-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/build-query-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-valid-query-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-path-and-query-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-fragment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/is-valid-fragment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/add-query-args.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-query-args.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-query-arg.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/has-query-arg.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/remove-query-args.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/prepend-http.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/safe-decode-uri.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/safe-decode-uri-component.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/filter-url-for-display.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/clean-for-slug.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/get-filename.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/url/src/normalize-path.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/queried-data/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/entities.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/nonce.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/root-url.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/namespace-endpoint.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/preloading.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/fetch-all-middleware.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/http-v1.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/user-locale.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/middlewares/media-upload.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/api-fetch/src/utils/response.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/batch/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/batch/create-batch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/batch/default-processor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/name.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/selectors.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/resolvers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/locks/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/locks/engine.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/locks/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/locks/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/locks/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/entity-provider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/entity-types/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/fetch/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/fetch/__experimental-fetch-link-suggestions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/fetch/__experimental-fetch-url-data.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/use-entity-record.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/use-query-select.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/memoize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/constants.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/core-data/src/hooks/use-entity-records.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/apply-format.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/normalise-formats.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/is-format-equal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/concat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/create-element.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/special-characters.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-format.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-formats.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-active-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-text-content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/is-list-root-selected.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-line-index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/is-active-list-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/is-collapsed.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/is-empty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/join.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/register-format-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/remove-format.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/remove.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/insert.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/replace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/insert-line-separator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/remove-line-separator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/insert-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/slice.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/split.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/to-dom.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/to-tree.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-format-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/to-html-string.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/toggle-format.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/a11y/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/a11y/src/filter-message.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/unregister-format-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/can-indent-list-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/can-outdent-list-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/indent-list-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/outdent-list-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-parent-line-index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-last-child-index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/change-list-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/use-anchor-ref.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/colord/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-aztec/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-aztec/src/AztecView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/keycodes/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/keycodes/src/platform.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-aztec/src/AztecInputState.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/compat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/align.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/svg/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/ReactNativeSVG.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Shape.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/SvgTouchableMixin.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Rect.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractProps.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractFill.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractBrush.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractColor.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractOpacity.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractStroke.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractLengthList.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractTransform.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/Matrix2D.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/transform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractResponder.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/util.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Circle.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Ellipse.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Polygon.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Path.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractPolyPoints.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Polyline.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Line.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Svg.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractViewBox.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/G.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractText.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Text.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/TSpan.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/TextPath.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Use.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Image.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Symbol.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Defs.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/LinearGradient.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/extract/extractGradient.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/lib/units.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/RadialGradient.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Stop.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/ClipPath.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Pattern.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Mask.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/elements/Marker.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/xml.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/src/css.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/common/List.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/common/SyntaxError.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/utils/createCustomError.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/common/TokenStream.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/tokenizer/const.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/tokenizer/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/tokenizer/char-code-definitions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/Lexer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/error.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/generate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/utils/names.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/generic.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/tokenizer/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/common/adopt-buffer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/generic-an-plus-b.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/generic-urange.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/tokenizer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/SyntaxError.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/walk.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/prepare-tokens.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/match-graph.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/match.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/trace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/search.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/lexer/structure.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/definition-syntax/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/parser/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/common/OffsetToLocation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/parser/sequence.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/generator/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/generator/sourceMap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/source-map-generator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/base64-vlq.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/base64.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/util.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/array-set.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/node_modules/source-map/lib/mapping-list.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/convertor/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/walker/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/utils/clone.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/config/mix.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/config/lexer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/data/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/mdn-data/css/at-rules.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/mdn-data/css/properties.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/mdn-data/css/syntaxes.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/data/patch.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/AnPlusB.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Atrule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Raw.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/AttributeSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Block.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Brackets.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/CDC.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/CDO.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/ClassSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Combinator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Comment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Declaration.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/DeclarationList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Dimension.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Function.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Hash.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Identifier.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/IdSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/MediaFeature.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/MediaQuery.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/MediaQueryList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Nth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Number.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Operator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Parentheses.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Percentage.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Ratio.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Rule.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Selector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/SelectorList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/String.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/StyleSheet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/TypeSelector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/UnicodeRange.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Url.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/Value.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/node/WhiteSpace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/config/parser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/scope/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/scope/default.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/scope/selector.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/scope/value.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/function/expression.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/function/var.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/font-face.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/import.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/media.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/page.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/atrule/supports.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/dir.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/has.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/lang.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/matches.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/not.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/nth-child.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/common/nth.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/pseudo/slotted.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/lib/syntax/config/walker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-tree/package.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/stringify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/traversal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/manipulation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/querying.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/legacy.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/domutils/lib/helpers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/boolbase/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/compile.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-what/lib/stringify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/sort.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/procedure.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/general.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/attributes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/css-select/lib/pseudos.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-svg/node_modules/nth-check/compile.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/svg/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/horizontal-rule/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hr/dist/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/horizontal-rule/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/block-quotation/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/block-quotation/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/primitives/src/view/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-indicator/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/icon/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/add-card.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/add-submenu.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/align-center.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/align-justify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/align-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/align-none.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/align-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/archive.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-down.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/arrow-up.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/at-symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/aspect-ratio.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/audio.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/backup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/block-default.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/block-meta.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/block-table.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/box.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/brush.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/bug.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/button.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/buttons.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/calendar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/cancel-circle-filled.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/capture-photo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/capture-video.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/category.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chart-bar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/check.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-down.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-right-small.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/chevron-up.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/classic.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/close.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/close-small.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/cloud-upload.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/cloud.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/code.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/cog.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/color.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/column.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/columns.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/copy.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment-author-avatar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment-author-name.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment-content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment-reply-link.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/comment-edit-link.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/cover.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/create.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/crop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-dollar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-euro.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/currency-pound.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/custom-post-type.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/desktop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/drag-handle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/download.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pencil.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/external.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/file.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/filter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/flip-horizontal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/flip-vertical.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-bold.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-capitalize.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-indent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-indent-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-italic.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-bullets.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-bullets-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-numbered.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-list-numbered-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-ltr.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-lowercase.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-outdent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-outdent-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-rtl.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-strikethrough.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-underline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/format-uppercase.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/fullscreen.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/gallery.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/globe.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/grid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/group.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/handle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/heading.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/help.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/help-filled.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/inbox.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/institution.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/home.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/html.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/image.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/info.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/insert-after.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/insert-before.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-center.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/justify-space-between.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/key.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/keyboard-close.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/keyboard-return.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/layout.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/lifesaver.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/line-dashed.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/line-dotted.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/line-solid.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/link.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/link-off.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/list.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/list-item.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/list-view.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/lock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/login.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/loop.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/map-marker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/media.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/media-and-text.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/megaphone.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/menu.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/mobile.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/more.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/more-horizontal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/more-horizontal-mobile.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/more-vertical.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/move-to.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/navigation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/not-found.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/overlay-text.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/page-break.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/custom-link.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/page.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pages.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/paragraph.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/payment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/percent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/position-center.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/position-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/position-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/people.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/plugins.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/plus-circle-filled.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/plus-circle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/plus.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-author.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-categories.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-content.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments-count.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-comments-form.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-date.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-excerpt.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-featured-image.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-list.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/post-terms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/previous.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/next.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/preformatted.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pull-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pull-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/pullquote.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-next.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-numbers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/query-pagination-previous.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/quote.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/receipt.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/redo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/remove-bug.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/remove-submenu.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/replace.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/reset.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/resize-corner-n-e.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/reusable-block.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/row.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/symbol.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/rotate-left.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/rotate-right.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/rss.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/search.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/separator.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/settings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/share.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/shield.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/shortcode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/site-logo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/stack.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/star-empty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/star-filled.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/star-half.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/store.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/stretch-full-width.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/styles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/shipping.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/stretch-wide.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/subscript.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/superscript.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/swatch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-after.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-before.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-column-delete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-after.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-before.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table-row-delete.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/table.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/tag.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/symbol-filled.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/term-description.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/footer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/header.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/sidebar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/text-color.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/tablet.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/title.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/tip.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/tool.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/trash.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/trending-down.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/trending-up.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/typography.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/undo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/ungroup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/unlock.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/update.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/upload.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/verse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/video.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/warning.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/widget.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/icons/src/library/wordpress.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-indicator/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/utils.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-palette/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-palette/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/HsvColorPicker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/HuePicker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-linear-gradient/common.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/tinycolor2/tinycolor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-hsv-color-picker/src/SaturationValuePicker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/node_modules/colord/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/node_modules/colord/plugins/names.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-picker/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/dashicon/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/dashicons/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/dropdown/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/dropdown-menu/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/classnames/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/button/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/tooltip/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/slot.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/fill.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/use-slot.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/slot-fill/provider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/tooltip/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/icon/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-video/Video.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-video/TextTrackType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-video/FilterType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-video/DRMType.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-video/VideoResizeMode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/focal-point.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/style.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/tooltip/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/tooltip/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/focal-point-picker/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-button/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-item/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/warning/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/warning/src/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-context/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-button/toolbar-button-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/toolbar-group-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-group/toolbar-group-collapsed.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar/toolbar-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toolbar-dropdown-menu/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/spinner/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/spinner/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/style-provider/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/base-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/textarea-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/body.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/body.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/bottom-separator-cover.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/bottom-separator-cover.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/actions.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/panel/actions.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/text/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/native/dist/emotion-native.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/css-to-react-native/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/postcss-value-parser/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/postcss-value-parser/lib/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/postcss-value-parser/lib/walk.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/postcss-value-parser/lib/stringify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/primitives-core/node_modules/postcss-value-parser/lib/unit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/camelize/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-color-keywords/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/css-color-keywords/colors.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/react/dist/emotion-react.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/dist/emotion-cache.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/@emotion/sheet/dist/emotion-sheet.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Enum.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Utility.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Parser.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Tokenizer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Prefixer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Serializer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/cache/node_modules/stylis/src/Middleware.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/memoize/dist/memoize.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/react/dist/emotion-element-075f6e74.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/utils/dist/emotion-utils.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/serialize/dist/emotion-serialize.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/hash/dist/hash.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/unitless/dist/unitless.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@emotion/react/node_modules/@emotion/sheet/dist/emotion-sheet.browser.cjs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/text/styles/text-mixins.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/text/styles/font-family.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/text/styles/emotion-css.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/utils/colors-values.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/utils/colors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/external-link/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/text-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/ripple.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/ripple.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cellStyles.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cellStyles.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/toggle-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/switch-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/sandbox/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-webview/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-webview/lib/WebView.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-webview/lib/WebViewShared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-webview/node_modules/escape-string-regexp/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-webview/lib/WebView.styles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/sandbox/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/search-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/search-control/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/search-control/platform-style.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/search-control/platform-style.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/select-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/picker-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/picker/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/range-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-community/slider/src/js/Slider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-community/slider/src/js/RNCSliderNativeComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-cell.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/range-text-input.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/borderStyles.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/borderStyles.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/stepper.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/stepper-cell/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/resizable-box/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/resizable-box/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/footer-message-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/footer-message-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/color-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/color-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/query-controls/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/query-controls/category-select.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/query-controls/terms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/tree-select/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/notice/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/src/BlurView.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-community/blur/src/VibrancyView.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/notice/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/notice/list.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/utils/on-sub-key.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/notices/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/radio-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/radio-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/unit-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/unit-control/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/unit-control/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/disabled/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/draggable/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-constrained-tabbing/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-fallback-styles/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-filters/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/font-size-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/CommonActions.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/BaseRouter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/nanoid/non-secure/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/StackRouter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/TabRouter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/DrawerRouter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/routers/src/types.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/BaseNavigationContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/EnsureSingleNavigator.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationBuilderContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationStateContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/UnhandledActionContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useScheduleUpdate.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useChildListeners.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useKeyedChildListeners.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOptionsGetters.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useEventEmitter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useSyncState.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/checkSerializable.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/createNavigatorFactory.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/Screen.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationHelpersContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/NavigationRouteContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/CurrentRenderContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationBuilder.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/react-is/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/react-is/cjs/react-is.production.min.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useRegisterNavigator.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useDescriptors.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/SceneView.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/StaticContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationCache.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationHelpers.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/types.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnAction.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnPreventRemove.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusEvents.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnRouteFocus.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusedListenersChildrenAdapter.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useOnGetState.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/isArrayEqual.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useCurrentRender.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigation.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useRoute.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useFocusEffect.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useIsFocused.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/useNavigationState.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getStateFromPath.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/node_modules/escape-string-regexp/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/query-string/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/strict-uri-encode/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/decode-uri-component/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/split-on-first/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/filter-obj/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/checkLegacyPathConfig.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getPathFromState.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getActionFromState.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/core/src/getFocusedRouteNameFromRoute.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/NavigationContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/ThemeProvider.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/ThemeContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/DefaultTheme.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/LinkingContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useThenable.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinking.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useDocumentTitle.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useBackButton.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useScrollToTop.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/DarkTheme.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/theming/useTheme.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/Link.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkProps.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkTo.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/useLinkBuilder.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/ServerContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/ServerContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/native/src/types.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/font-size-picker/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-focus-outside/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-focus-return/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-notices/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/higher-order/with-spoken-messages/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/autocompletion-items.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/autocompleter-ui.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/background-view.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/style.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/autocomplete/get-default-use-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-modal/dist/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-modal/dist/modal.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/createAnimatableComponent.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/wrapStyleTransforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/getStyleValues.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/flattenStyle.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/getDefaultStyleValue.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/createAnimation.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/registry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/easing.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/attention-seekers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/bouncing-entrances.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/bouncing-exits.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/fading-entrances.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/fading-exits.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/flippers.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/lightspeed.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/sliding-entrances.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/sliding-exits.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/zooming-entrances.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-animatable/definitions/zooming-exits.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-modal/dist/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-modal/dist/modal.style.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/SafeArea.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/withSafeArea.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area/lib/TypeDefinition.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/cycle-picker-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-suggestion-item-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/link-suggestion-styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/gridicons/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/bottom-sheet-navigation-context.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-navigation/navigation-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/CardStyleInterpolators.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-iphone-x-helper/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/conditional.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/HeaderStyleInterpolators.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionSpecs.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionPresets.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/index.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/NativeSafeAreaProvider.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeAreaView.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/InitialWindow.native.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-safe-area-context/src/SafeArea.types.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/GestureHandler.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/GestureHandlerRefContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Screens.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-screens/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Core/ReactNativeVersion.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderBackButton.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/MaskedView.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/TouchableItem.native.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/BorderlessButton.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/assets/back-icon.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native/Libraries/Image/AssetRegistry.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/assets/back-icon-mask.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderBackground.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/memoize.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/Card.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color-string/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color-name/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/simple-swizzle/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/simple-swizzle/node_modules/is-arrayish/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color/node_modules/color-convert/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color/node_modules/color-convert/conversions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color/node_modules/color-name/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/color/node_modules/color-convert/route.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Stack/CardSheet.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/CardAnimationContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/getDistanceForDirection.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/getInvertedMultiplier.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/HeaderHeightContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/HeaderShownContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/PreviousSceneContext.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/KeyboardManager.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/Header.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/Header/HeaderTitle.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/debounce.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/views/SafeAreaProviderCompat.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useCardAnimation.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useHeaderHeight.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-navigation/stack/src/utils/useGestureHandlerRef.tsx","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/layout-animation/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/keyboard-avoiding-view.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/sub-sheet/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/apply-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/action-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/back-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/chevron-back.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/nav-bar/heading.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/bottom-sheet-context.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet-select-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet-select-control/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-avoiding-view/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/use-is-floating-keyboard.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-avoiding-view/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/style.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/html-text-input/style.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/keyboard-aware-flat-list/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareScrollView.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareFlatList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareSectionList.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/readable-content-view/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/readable-content-view/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/cycle-select-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/gradient/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/gradient-parser/build/node.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/gradient/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/picker-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/gradient-picker-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/serializer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/custom-gradient-picker/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/palette.screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/segmented-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/segmented-control/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/color-settings/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/focal-point-settings-panel/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/focal-point-settings-panel/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet-text-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet-text-control/styles.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/footer-message-link/footer-message-link.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/bottom-sheet/footer-message-link/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-clipboard/clipboard/dist/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-clipboard/clipboard/dist/Clipboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-clipboard/clipboard/dist/NativeClipboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@react-native-clipboard/clipboard/dist/useClipboard.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/link-picker-results.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-picker/link-picker-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-rel.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-settings-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/link-settings-navigation.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/link-settings/image-link-destinations-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/utils/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/icon-retry.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/image-editing-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/media-edit/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/image/icon-customize.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/inserter-button/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/inserter-button/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/inserter-button/sparkles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/clipboard/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/audio-player/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/audio-player/styles.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/audio-player/audio-url-parser.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/badge/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/badge/style.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/alignments.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/utils/use-unit-converter-to-mobile.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/global-styles-context/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/components/src/mobile/global-styles-context/utils.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/align.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-alignment-control/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-alignment-control/ui.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-alignment-control/use-available-alignments.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/layout.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/layouts/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/layouts/flex.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/layouts/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/gap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/use-block-props/use-block-refs.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/block-refs-provider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-setting/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-context/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-edit/context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/defaults.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/defaults.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/array.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/dimensions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-controls/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-controls/fill.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-controls/groups.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-display-block-controls/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-settings/container.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inspector-controls/slot.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/margin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-popover/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-popover/use-popover-scroll.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/padding.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/layouts/flow.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-alignment-control/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/fill.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/hook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/groups.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-controls/slot.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-icon/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-icon/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-vertical-alignment-control/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-vertical-alignment-control/ui.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-vertical-alignment-control/icons.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/node_modules/colord/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/node_modules/colord/plugins/names.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/node_modules/colord/plugins/a11y.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors/with-colors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/use-gradient.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/gradients/with-gradient.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/font-size-picker.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/font-sizes/with-font-sizes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/alignment-control/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/alignment-control/ui.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/button-block-appender.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/button-block-appender/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/menu.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/search-results.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/search-items.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-types-list/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-types-list/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/no-results.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/hooks/use-block-type-impressions.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/utils.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/tabs.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/block-types-tab.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/hooks/use-clipboard-block.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/reusable-blocks-tab.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/insertion-point.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/button-block-appender/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/with-client-id.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/default-block-appender.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/default-block-appender/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/default-block-appender/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/use-nested-settings-update.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/use-inner-block-template-sync.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inner-blocks/get-block-context.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list-appender/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list-appender/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-item.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-invalid-warning.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/warning/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/warning/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mover/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mover/mover-description.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-context.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/draggable-chip.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/dropping-insertion-point.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-draggable/dropping-insertion-point.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-block-drop-zone/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/math.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-on-block-drop/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/components/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/reusable-blocks/src/components/reusable-blocks-menu-items/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-switcher/block-transformations-menu.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/grid-item.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-item.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-list-item-cell.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/justify-content-control/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/justify-content-control/ui.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/line-height-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/line-height-control/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/plain-text/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/plain-text/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/autocomplete/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/autocompleters/block.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/inserter/hooks/use-block-types-state.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/autocompleters/link.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/remove-browser-shortcuts.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/file-paste-handler.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/format-toolbar-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/format-toolbar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/use-native-props.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/embed-handler-picker.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/shortcut.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/toolbar-button.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/rich-text/input-event.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-replace-flow/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-placeholder/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-placeholder/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/react-native-prompt-android/index.ios.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload-progress/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/media-upload-progress/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-media-update-progress/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-media-update-progress/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/url-input/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-caption/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-caption/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/caption/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/panel-color-settings/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors-gradients/panel-color-gradient-settings.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-no-recursive-renders/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/contrast-checker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/contrast-checker/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors-gradients/use-multiple-origin-colors-and-gradients.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/colors-gradients/use-common-single-multiple-selects.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/video-player/gridicon-play.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-toolbar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/ungroup-button/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/ungroup-button/icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-variation-picker/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-variation-picker/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/token-list/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/preview.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-styles/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/editor-styles/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/traverse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/traverse/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/parse.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/compress.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/compiler.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/ast/stringify/identity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/transforms/url-rewrite.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/transform-styles/transforms/wrap.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/use-block-props/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/floating-toolbar/nav-up-icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-selection-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-title/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-title/use-block-display-title.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/use-block-display-information/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/subdirectory-icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/block-list/block-selection-button.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/anchor.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/custom-class-name.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/generated-class-name.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/style.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/color/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/color/background.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/utils.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/constants.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/color/gradient.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/color/text.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/spacing/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/spacing/padding.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/spacing/margin.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/style-engine/src/styles/typography/index.ts","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/border.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/border-radius.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/border-radius-control/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/border-radius-control/all-input-control.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/border-radius-control/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/border-radius-control/input-controls.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/components/border-radius-control/linked-button.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/color.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/color-panel.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/typography.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/line-height.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/font-size.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/layout.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/layout.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/use-border-props.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/use-color-props.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/use-spacing-props.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/hooks/use-cached-truthy.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/elements/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/block-variation-transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-editor/src/utils/parse-css-unit-to-px.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/use-format-types.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/format-edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/get-format-colors.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/rich-text/src/component/toolbar-button-with-options.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/default-formats.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/bold/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/italic/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/screens.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/link-settings-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/link/modal-screens/link-picker-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/strikethrough/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/text-color/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/text-color/inline.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/text-color/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/text-color/inline.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/format-library/src/text-color/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/components/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/components/preference-toggle-menu-item/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/preferences/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/listener.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/if-viewport-matches.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/viewport/src/with-viewport-match.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-header/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-toggle/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-context/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/components/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/components/plugin-area/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/components/plugin-context/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/components/plugin-error-boundary/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/plugins/src/api/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/complementary-area-more-menu-item/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/action-item/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/interface/src/components/pinned-items/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/hooks/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/reducer.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/reducer.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/defaults.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/selectors.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/date/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/moment/moment.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/moment-timezone/moment-timezone.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/moment-timezone/moment-timezone-utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/moment-timezone/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/moment-timezone/data/packed/latest.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/utils/get-template-part-icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/actions.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/actions.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/local-autosave.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/store/utils/notice-builder.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/autosave-monitor/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/post-title/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/post-title/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-history/redo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-history/undo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/defaultSettings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripTags.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/transposeAstralsToCountableChar.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripHTMLEntities.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripConnectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripRemovables.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripHTMLComments.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripShortcodes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/stripSpaces.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/wordcount/src/transposeHTMLEntitiesToCountableChars.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/paragraph/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/transformationCategories.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/image/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/blob/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/heading-level-dropdown.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/heading-level-icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/autogenerate-anchors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/heading/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/v2/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/v2/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/v2/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/v2/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/quote/v2/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/edit-wrapper.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/shared-icon.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gallery-styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/use-image-sizes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/use-short-code-transform.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/use-get-new-images.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/use-get-media.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/gap-styles.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/gallery.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/gallery-image.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/gallery-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/gallery-image-style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/gallery-styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/tiles.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/tiles-styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/v1/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/gallery/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/archives/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/archives/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/archives/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/server-side-render/src/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/server-side-render/src/server-side-render.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/audio/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/utils/migrate-font-family.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/utils/clean-empty-object.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/color-background.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/rich-text.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/rich-text.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/button/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/calendar/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/categories/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/categories/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/categories/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/theme.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/code/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/variations.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/utils.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/columnCalculations.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/column-preview.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/columns/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/column/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/classnames/dedupe.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/controls.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/overlay-color-settings.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/focal-point-settings-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/use-cover-is-dark.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/node_modules/colord/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/cover/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/util.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-controls.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-link-settings.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/icons.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-loading.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-placeholder.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-preview.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/embed-no-preview.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/wp-embed-preview.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/variations.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/embed/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/file/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/html/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container-icon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/icon-retry.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/media-container.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/media-text/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-comments/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/latest-posts/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/ordered-list-settings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/migrate.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/list/v2/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/missing/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/missing/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/missing/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/missing/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/missing/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/more/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/nextpage/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/preformatted/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/shared.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/figure.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/figure.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/blockquote.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/blockquote.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/pullquote/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/block/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/block/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/block/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/block/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/block/edit-title.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/rss/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/rss/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/rss/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/search/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/search/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/search/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/search/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/search/variations.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/use-deprecated-opacity.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/separator/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/shortcode/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/controls.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/style.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/spacer/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/state.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/table/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/text-columns/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/verse/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/icon-retry.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/edit-common-settings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/tracks.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/video/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/tag-cloud/edit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/freeform/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/group/variations.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/transforms.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/transforms.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/buttons/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/social-list.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/variations.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/amazon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/bandcamp.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/behance.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/chain.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/codepen.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/deviantart.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/dribbble.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/dropbox.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/etsy.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/facebook.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/feed.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/fivehundredpx.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/flickr.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/foursquare.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/goodreads.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/google.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/github.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/instagram.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/lastfm.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/linkedin.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/mail.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/mastodon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/meetup.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/medium.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/patreon.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/pinterest.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/pocket.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/reddit.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/skype.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/snapchat.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/soundcloud.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/spotify.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/telegram.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/tiktok.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/tumblr.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/twitch.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/twitter.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/vimeo.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/vk.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/wordpress.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/yelp.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/icons/youtube.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-link/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/deprecated.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/block.json","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/block-library/src/social-links/save.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/with-registry-provider.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/use-block-editor-settings.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/provider/use-block-editor-settings.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/utils/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/utils/media-upload/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/help-detail-navigation-screen.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/style.ios.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/style.android.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/help-topic-row.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/help-get-support-button.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/intro-to-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/view-sections.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/block-layout-collage.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/rich-text-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/rich-text-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/embed-media-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/embed-media-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/build-layouts-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/build-layouts-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/add-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/add-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/add-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/move-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/drag-and-drop-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/drag-and-drop-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/move-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/move-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/remove-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/options-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/options-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/customize-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/settings-light.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/images/settings-dark.png","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/icon-move-blocks.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/editor-help/help-section-title.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/editor/src/components/deprecated.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/utils/meta-boxes.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/store/selectors.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/store/constants.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/editor.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/layout/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/layout/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/header-toolbar/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/header/header-toolbar/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/index.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/header.native.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/edit-post/src/components/visual-editor/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/gutenberg/packages/react-native-editor/src/api-fetch-setup.js","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/index.js","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ar.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/bg.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/bo.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ca.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/cs.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/cy.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/da.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/de.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/en-au.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/en-ca.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/en-gb.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/en-nz.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/en-za.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/el.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/es.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/es-ar.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/es-cl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/es-cr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/fa.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/fr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/gl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/he.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/hr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/hu.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/id.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/is.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/it.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ja.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ka.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ko.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/nb.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/nl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/nl-be.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/pl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/pt.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/pt-br.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ro.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ru.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/sk.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/sq.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/sr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/sv.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/th.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/tr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/uk.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/ur.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/vi.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/zh-cn.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/jetpack/data/zh-tw.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/index.js","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ar.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/bg.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/bo.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ca.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/cs.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/cy.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/da.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/de.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/en-au.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/en-ca.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/en-gb.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/en-nz.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/en-za.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/el.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/es.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/es-ar.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/es-cl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/es-cr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/fa.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/fr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/gl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/he.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/hr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/hu.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/id.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/is.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/it.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ja.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ka.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ko.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/nb.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/nl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/nl-be.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/pl.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/pt.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/pt-br.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ro.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ru.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/sk.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/sq.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/sr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/sv.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/th.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/tr.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/uk.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/ur.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/vi.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/zh-cn.json","/Users/gerardo/Work/gutenberg-mobile/src/i18n-cache/layout-grid/data/zh-tw.json","/Users/gerardo/Work/gutenberg-mobile/src/setup.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/extends.js","/Users/gerardo/Work/gutenberg-mobile/src/text-font-weight-correct.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/lodash/lodash.js","/Users/gerardo/Work/gutenberg-mobile/src/initial-html.js","/Users/gerardo/Work/gutenberg-mobile/src/analytics/index.js","/Users/gerardo/Work/gutenberg-mobile/src/analytics/redux/index.js","/Users/gerardo/Work/gutenberg-mobile/src/analytics/redux/tracked_events.js","/Users/gerardo/Work/gutenberg-mobile/src/strings-overrides.js","/Users/gerardo/Work/gutenberg-mobile/src/jetpack-editor-setup.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/src/get-jetpack-data.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/is-active.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/src/get-site-fragment.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/src/site-type-utils.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/src/get-jetpack-extension-availability.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/js-packages/shared-extension-utils/src/register-jetpack-plugin.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/extended-blocks/core-embed/index.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/extended-blocks/core-embed/facebook.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/block-icons.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/node_modules/.pnpm/@automattic+color-studio@2.5.0/node_modules/@automattic/color-studio/dist/colors.json","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/extended-blocks/core-embed/instagram.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/extended-blocks/core-embed/loom.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/icons.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/icons.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/extended-blocks/core-embed/smartframe.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/editor.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/block-category.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/editor.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/register-jetpack-block.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/index.json","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/render-material-icon.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/address/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/email/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/node_modules/.pnpm/email-validator@2.0.4/node_modules/email-validator/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/common.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/simple-input.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/contact-info/phone/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/editor.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/story-editing-button.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/icon-customize.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/icon.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/get-category-with-fallbacks.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/story/story_example-1.png","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/editor.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/constants.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/styles.native.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/settings.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/block-styles.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout-picker.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/save.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/index.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/classCallCheck.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/createClass.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/inherits.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/setPrototypeOf.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/typeof.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/assertThisInitialized.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/getPrototypeOf.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/gallery-image/edit.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/icons.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/gallery-image/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/mosaic/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/resize-observer-polyfill/dist/ResizeObserver.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/column.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/gallery.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/row.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/mosaic/resize.native.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/mosaic/ratios.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/layout/square.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/utils/index.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/node_modules/.pnpm/photon@4.0.0/node_modules/photon/dist/cjs/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/node_modules/.pnpm/crc32@0.2.2/node_modules/crc32/lib/crc32.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/node_modules/.pnpm/seed-random@2.2.0/node_modules/seed-random/index.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/debug/src/browser.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/debug/src/common.js","/Users/gerardo/Work/gutenberg-mobile/node_modules/ms/index.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/url/url.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/url/node_modules/punycode/punycode.js","/Users/gerardo/Work/gutenberg-mobile/gutenberg/node_modules/url/util.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/shared/is-offline-mode.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/editor.native.scss","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/image.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/mosaic/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/column.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/gallery.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/row.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/mosaic/resize.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/constants.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/mosaic/ratios.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v1/layout/square.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/constants.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/gallery-image/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/mosaic/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/column.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/gallery.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/row.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/mosaic/ratios.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/layout/square.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v2/utils/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/constants.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/gallery-image/save.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/mosaic/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/column.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/gallery.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/row.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/mosaic/ratios.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/layout/square.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/deprecated/v3/utils/index.js","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-1.jpg","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-2.jpg","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-3.jpg","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-4.jpg","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-5.jpg","/Users/gerardo/Work/gutenberg-mobile/jetpack/projects/plugins/jetpack/extensions/blocks/tiled-gallery/tiled-gallery_example-6.jpg","/Users/gerardo/Work/gutenberg-mobile/src/block-experiments-setup.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/index.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/variations.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/icons.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/variation-control/index.native.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/variation-control/style.native.scss","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/constants.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/grid-defaults.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/higher-order.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/css-classname.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/edit.native.scss","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid/save.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid-column/edit.native.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid-column/hooks/with-update-alignment.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid-column/edit.native.scss","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid-column/save.js","/Users/gerardo/Work/gutenberg-mobile/block-experiments/blocks/layout-grid/src/grid-column/deprecated.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n *\n * @format\n */\n\"use strict\";\n/* eslint-disable no-bitwise */\n\nglobal.__r = metroRequire;\nglobal[`${__METRO_GLOBAL_PREFIX__}__d`] = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear(); // Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\n\nconst EMPTY = {};\nconst { hasOwnProperty } = {};\n\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n\n global.$RefreshSig$ = () => type => type;\n}\n\nfunction clear() {\n modules = Object.create(null); // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n\n return modules;\n}\n\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\n\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4]; // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n } // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n\n return;\n }\n\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {}\n }\n };\n modules[moduleId] = mod;\n\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject(); // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n\n const verboseName = arguments[3];\n\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\n\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map(id => (modules[id] ? modules[id].verboseName : \"[unknown]\")); // We want to show A -> B -> A:\n\n cycle.push(cycle[0]);\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports; // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\n\nmetroRequire.importDefault = metroImportDefault;\n\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {}; // Refrain from using Object.assign, it has to work in ES3 environments.\n\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n\n importedAll.default = exports;\n } // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\n\nmetroRequire.importAll = metroImportAll;\nlet inGuard = false;\n\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\n\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\n\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId\n };\n}\n\nmetroRequire.unpackModuleId = unpackModuleId;\n\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\n\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\nconst definingSegmentByModuleID = new Map();\n\nfunction registerSegment(segmentId, moduleDefiner, moduleIds) {\n moduleDefinersBySegmentID[segmentId] = moduleDefiner;\n\n if (__DEV__) {\n if (segmentId === 0 && moduleIds) {\n throw new Error(\n \"registerSegment: Expected moduleIds to be null for main segment\"\n );\n }\n\n if (segmentId !== 0 && !moduleIds) {\n throw new Error(\n \"registerSegment: Expected moduleIds to be passed for segment #\" +\n segmentId\n );\n }\n }\n\n if (moduleIds) {\n moduleIds.forEach(moduleId => {\n if (!modules[moduleId] && !definingSegmentByModuleID.has(moduleId)) {\n definingSegmentByModuleID.set(moduleId, segmentId);\n }\n });\n }\n}\n\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n var _definingSegmentByMod;\n\n const segmentId =\n (_definingSegmentByMod = definingSegmentByModuleID.get(moduleId)) !==\n null && _definingSegmentByMod !== void 0\n ? _definingSegmentByMod\n : 0;\n const definer = moduleDefinersBySegmentID[segmentId];\n\n if (definer != null) {\n definer(moduleId);\n module = modules[moduleId];\n definingSegmentByModuleID.delete(moduleId);\n }\n }\n\n const nativeRequire = global.nativeRequire;\n\n if (!module && nativeRequire) {\n const { segmentId, localId } = unpackModuleId(moduleId);\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n\n if (module.hasError) {\n throw moduleThrewError(moduleId, module.error);\n }\n\n if (__DEV__) {\n var Systrace = requireSystrace();\n var Refresh = requireRefresh();\n } // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n\n module.isInitialized = true;\n const { factory, dependencyMap } = module;\n\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n\n try {\n if (__DEV__) {\n // $FlowIgnore: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n\n const moduleObject = module.publicModule;\n\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n\n moduleObject.id = moduleId; // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n ); // avoid removing factory in DEV mode as it breaks HMR\n\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n\n if (__DEV__) {\n // $FlowIgnore: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\n\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n\n return Error(message);\n}\n\nfunction moduleThrewError(id, error) {\n const displayName = (__DEV__ && modules[id] && modules[id].verboseName) || id;\n return Error(\n 'Requiring module \"' + displayName + '\", which threw an exception: ' + error\n );\n}\n\nif (__DEV__) {\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {}\n };\n\n metroRequire.getModules = () => {\n return modules;\n }; // HOT MODULE RELOADING\n\n var createHotReloadingObject = function() {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: callback => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: callback => {\n hot._disposeCallback = callback;\n }\n };\n return hot;\n };\n\n let reactRefreshTimeout = null;\n\n const metroHotUpdateModule = function(\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n\n throw unknownModuleError(id);\n }\n\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n\n const Refresh = requireRefresh();\n const refreshBoundaryIDs = new Set(); // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // We perform a topological sort because we may discover the same\n // module more than once in the list of things to re-execute, and\n // we want to execute modules before modules that depend on them.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n let didBailOut = false;\n const updatedModuleIDs = topologicalSort(\n [id], // Start with the changed module and go upwards\n pendingID => {\n const pendingModule = modules[pendingID];\n\n if (pendingModule == null) {\n // Nothing to do.\n return [];\n }\n\n const pendingHot = pendingModule.hot;\n\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n } // A module can be accepted manually from within itself.\n\n let canAccept = pendingHot._didAccept;\n\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n\n if (canAccept) {\n // Don't look at parents.\n return [];\n } // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n\n const parentIDs = inverseDependencies[pendingID];\n\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh(\"No root boundary\", {\n source: mod,\n failed: pendingModule\n });\n didBailOut = true;\n return [];\n } // This module can't handle the update but maybe all its parents can?\n // Put them all in the queue to run the same set of checks.\n\n return parentIDs;\n },\n () => didBailOut // Should we stop?\n ).reverse();\n\n if (didBailOut) {\n return;\n } // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n\n const seenModuleIDs = new Set();\n\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n // Don't process twice if we have a cycle.\n const updatedID = updatedModuleIDs[i];\n\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n\n seenModuleIDs.add(updatedID);\n const updatedMod = modules[updatedID];\n\n if (updatedMod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n\n const prevExports = updatedMod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = updatedMod.publicModule.exports;\n\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n ); // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh(\n isNoLongerABoundary\n ? \"No longer a boundary\"\n : \"Invalidated boundary\",\n {\n source: mod,\n failed: updatedMod\n }\n );\n return;\n } // Schedule all parent refresh boundaries to re-run in this loop.\n\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh(\"Invalidated boundary\", {\n source: mod,\n failed: parentMod\n });\n return;\n }\n }\n }\n }\n }\n\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null; // Update React components.\n\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n\n const topologicalSort = function(roots, getEdges, earlyStop) {\n const result = [];\n const visited = new Set();\n\n function traverseDependentNodes(node) {\n visited.add(node);\n const dependentNodes = getEdges(node);\n\n if (earlyStop(node)) {\n return;\n }\n\n dependentNodes.forEach(dependent => {\n if (visited.has(dependent)) {\n return;\n }\n\n traverseDependentNodes(dependent);\n });\n result.push(node);\n }\n\n roots.forEach(root => {\n if (!visited.has(root)) {\n traverseDependentNodes(root);\n }\n });\n return result;\n };\n\n const runUpdatedModule = function(id, factory, dependencyMap) {\n const mod = modules[id];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n\n const { hot } = mod;\n\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n\n if (factory) {\n mod.factory = factory;\n }\n\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports; // We errored. Stop the update.\n\n return true;\n }\n\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n } // No error.\n\n return false;\n };\n\n const performFullRefresh = (reason, modules) => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n const Refresh = requireRefresh();\n\n if (Refresh != null) {\n var _modules$source$verbo,\n _modules$source,\n _modules$failed$verbo,\n _modules$failed;\n\n const sourceName =\n (_modules$source$verbo =\n (_modules$source = modules.source) === null ||\n _modules$source === void 0\n ? void 0\n : _modules$source.verboseName) !== null &&\n _modules$source$verbo !== void 0\n ? _modules$source$verbo\n : \"unknown\";\n const failedName =\n (_modules$failed$verbo =\n (_modules$failed = modules.failed) === null ||\n _modules$failed === void 0\n ? void 0\n : _modules$failed.verboseName) !== null &&\n _modules$failed$verbo !== void 0\n ? _modules$failed$verbo\n : \"unknown\";\n Refresh.performFullRefresh(\n `Fast Refresh - ${reason} <${sourceName}> <${failedName}>`\n );\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n }; // Modules that only export components become React Refresh boundaries.\n\n var isReactRefreshBoundary = function(Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n\n let hasExports = false;\n let areAllExportsComponents = true;\n\n for (const key in moduleExports) {\n hasExports = true;\n\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n\n const exportValue = moduleExports[key];\n\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n\n return hasExports && areAllExportsComponents;\n };\n\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n\n return false;\n }; // When this signature changes, it's unsafe to stop at this refresh boundary.\n\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n continue;\n }\n\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n\n return signature;\n };\n\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n\n global.__accept = metroHotUpdateModule;\n}\n\nif (__DEV__) {\n // The metro require polyfill can not have module dependencies.\n // The Systrace and ReactRefresh dependencies are, therefore, made publicly\n // available. Ideally, the dependency would be inversed in a way that\n // Systrace / ReactRefresh could integrate into Metro rather than\n // having to make them publicly available.\n var requireSystrace = function requireSystrace() {\n return (\n global[__METRO_GLOBAL_PREFIX__ + \"__SYSTRACE\"] || metroRequire.Systrace\n );\n };\n\n var requireRefresh = function requireRefresh() {\n return (\n global[__METRO_GLOBAL_PREFIX__ + \"__ReactRefresh\"] || metroRequire.Refresh\n );\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n // TRICKY\n // If more than one argument is provided, the code above collapses them all\n // into a single formatted string. This transform wraps string arguments in\n // single quotes (e.g. \"foo\" -> \"'foo'\") which then breaks the \"Warning:\"\n // check below. So it's important that we look at the first argument, rather\n // than the formatted argument string.\n const firstArg = arguments[0];\n\n let logLevel = level;\n if (\n typeof firstArg === 'string' &&\n firstArg.slice(0, 9) === 'Warning: ' &&\n logLevel >= LOG_LEVELS.error\n ) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n ['clear', 'dir', 'dirxml', 'profile', 'profileEnd'].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n function stub() {}\n const log = global.print || stub;\n\n global.console = {\n debug: log,\n error: log,\n info: log,\n log: log,\n trace: log,\n warn: log,\n assert(expression, label) {\n if (!expression) {\n log('Assertion failed: ' + label);\n }\n },\n clear: stub,\n dir: stub,\n dirxml: stub,\n group: stub,\n groupCollapsed: stub,\n groupEnd: stub,\n profile: stub,\n profileEnd: stub,\n table: stub,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard, TOut>(\n fun: Fn,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","/**\n * Internal dependencies\n */\nimport './src';\n","/**\n * WordPress dependencies\n */\nimport { registerGutenberg } from '@wordpress/react-native-editor';\n\n/**\n * Internal dependencies\n */\nimport { getTranslation as getJetpackTranslation } from './i18n-cache/jetpack';\nimport { getTranslation as getLayoutGridTranslation } from './i18n-cache/layout-grid';\n\nconst pluginTranslations = [\n\t{\n\t\tdomain: 'jetpack',\n\t\tgetTranslation: getJetpackTranslation,\n\t},\n\t{\n\t\tdomain: 'layout-grid',\n\t\tgetTranslation: getLayoutGridTranslation,\n\t},\n];\n\nexport default function registerGutenbergMobile() {\n\tregisterGutenberg( {\n\t\tbeforeInitCallback: () => {\n\t\t\t// We have to lazy import the setup code to prevent executing any code located\n\t\t\t// at global scope before the editor is initialized, like translations retrieval.\n\t\t\trequire( './setup' ).default();\n\n\t\t\t// Set up Jetpack\n\t\t\trequire( './jetpack-editor-setup' ).default();\n\n\t\t\t// Set up Block experiments (i.e. Layout Grid block)\n\t\t\trequire( './block-experiments-setup' ).default();\n\t\t},\n\t\tpluginTranslations,\n\t} );\n}\n\nregisterGutenbergMobile();\n","/**\n * External dependencies\n */\nimport 'react-native-gesture-handler';\n\n/**\n * WordPress dependencies\n */\nimport { applyFilters, doAction } from '@wordpress/hooks';\nimport { Component, cloneElement, registerComponent } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport './globals';\nimport initialHtml from './initial-html';\nimport setupLocale from './setup-locale';\nimport { getTranslation as getGutenbergTranslation } from '../i18n-cache';\n\n/**\n *\tRegister Gutenberg editor to React Native App registry.\n *\n * @typedef {Object} PluginTranslation\n * @property {string} domain Domain of the plugin.\n * @property {Function} getTranslation Function for retrieving translations for a locale.\n *\n * @param {Object} arguments\n * @param {Function} arguments.beforeInitCallback Callback executed before the editor initialization.\n * @param {PluginTranslation[]} arguments.pluginTranslations Array with plugin translations.\n */\nconst registerGutenberg = ( {\n\tbeforeInitCallback,\n\tpluginTranslations = [],\n} = {} ) => {\n\tclass Gutenberg extends Component {\n\t\tconstructor( props ) {\n\t\t\tsuper( props );\n\n\t\t\t// eslint-disable-next-line no-unused-vars\n\t\t\tconst { rootTag, ...parentProps } = this.props;\n\n\t\t\t// Setup locale.\n\t\t\tsetupLocale(\n\t\t\t\tparentProps.locale,\n\t\t\t\tparentProps.translations,\n\t\t\t\tgetGutenbergTranslation,\n\t\t\t\tpluginTranslations\n\t\t\t);\n\n\t\t\tif ( beforeInitCallback ) {\n\t\t\t\tbeforeInitCallback( parentProps );\n\t\t\t}\n\n\t\t\t// We have to lazy import the setup code to prevent executing any code located\n\t\t\t// at global scope before the editor is initialized, like translations retrieval.\n\t\t\tconst setup = require( './setup' ).default;\n\t\t\t// Initialize editor\n\t\t\tthis.editorComponent = setup();\n\n\t\t\t// Dispatch pre-render hooks.\n\t\t\tdoAction( 'native.pre-render', parentProps );\n\n\t\t\tthis.filteredProps = applyFilters(\n\t\t\t\t'native.block_editor_props',\n\t\t\t\tparentProps\n\t\t\t);\n\t\t}\n\n\t\tcomponentDidMount() {\n\t\t\t// Dispatch post-render hooks.\n\t\t\tdoAction( 'native.render', this.filteredProps );\n\t\t}\n\n\t\trender() {\n\t\t\treturn cloneElement( this.editorComponent, this.filteredProps );\n\t\t}\n\t}\n\n\tregisterComponent( 'gutenberg', () => Gutenberg );\n};\n\nexport { initialHtml as initialHtmlGutenberg, registerGutenberg, setupLocale };\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var _typeof = require(\"@babel/runtime/helpers/typeof\")[\"default\"];\n\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","import { initialize } from './init';\n\nexport { Directions } from './Directions';\nexport { State } from './State';\nexport { default as gestureHandlerRootHOC } from './gestureHandlerRootHOC';\nexport { default as GestureHandlerRootView } from './GestureHandlerRootView';\nexport type {\n // event types\n GestureEvent,\n HandlerStateChangeEvent,\n // event payloads types\n GestureEventPayload,\n HandlerStateChangeEventPayload,\n // pointer events\n GestureTouchEvent,\n TouchData,\n // new api event types\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from './handlers/gestureHandlerCommon';\nexport type { GestureType } from './handlers/gestures/gesture';\nexport type {\n TapGestureHandlerEventPayload,\n TapGestureHandlerProps,\n} from './handlers/TapGestureHandler';\nexport type {\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureHandlerProps,\n} from './handlers/ForceTouchGestureHandler';\nexport type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';\nexport type {\n LongPressGestureHandlerEventPayload,\n LongPressGestureHandlerProps,\n} from './handlers/LongPressGestureHandler';\nexport type {\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from './handlers/PanGestureHandler';\nexport type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';\nexport type {\n PinchGestureHandlerEventPayload,\n PinchGestureHandlerProps,\n} from './handlers/PinchGestureHandler';\nexport type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';\nexport type {\n RotationGestureHandlerEventPayload,\n RotationGestureHandlerProps,\n} from './handlers/RotationGestureHandler';\nexport type {\n FlingGestureHandlerEventPayload,\n FlingGestureHandlerProps,\n} from './handlers/FlingGestureHandler';\nexport { TapGestureHandler } from './handlers/TapGestureHandler';\nexport { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';\nexport { LongPressGestureHandler } from './handlers/LongPressGestureHandler';\nexport { PanGestureHandler } from './handlers/PanGestureHandler';\nexport { PinchGestureHandler } from './handlers/PinchGestureHandler';\nexport { RotationGestureHandler } from './handlers/RotationGestureHandler';\nexport { FlingGestureHandler } from './handlers/FlingGestureHandler';\nexport { default as createNativeWrapper } from './handlers/createNativeWrapper';\nexport type {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from './handlers/NativeViewGestureHandler';\nexport { GestureDetector } from './handlers/gestures/GestureDetector';\nexport { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';\nexport type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';\nexport type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';\nexport type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';\nexport type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';\nexport type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';\nexport type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';\nexport type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';\nexport type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';\nexport type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';\nexport type {\n ComposedGestureType as ComposedGesture,\n RaceGestureType as RaceGesture,\n SimultaneousGestureType as SimultaneousGesture,\n ExclusiveGestureType as ExclusiveGesture,\n} from './handlers/gestures/gestureComposition';\nexport type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';\nexport { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';\nexport type {\n RawButtonProps,\n BaseButtonProps,\n RectButtonProps,\n BorderlessButtonProps,\n} from './components/GestureButtons';\nexport {\n RawButton,\n BaseButton,\n RectButton,\n BorderlessButton,\n} from './components/GestureButtons';\nexport {\n TouchableHighlight,\n TouchableNativeFeedback,\n TouchableOpacity,\n TouchableWithoutFeedback,\n} from './components/touchables';\nexport {\n ScrollView,\n Switch,\n TextInput,\n DrawerLayoutAndroid,\n FlatList,\n} from './components/GestureComponents';\nexport type {\n //events\n GestureHandlerGestureEvent,\n GestureHandlerStateChangeEvent,\n //event payloads\n GestureHandlerGestureEventNativeEvent,\n GestureHandlerStateChangeNativeEvent,\n NativeViewGestureHandlerGestureEvent,\n NativeViewGestureHandlerStateChangeEvent,\n TapGestureHandlerGestureEvent,\n TapGestureHandlerStateChangeEvent,\n ForceTouchGestureHandlerGestureEvent,\n ForceTouchGestureHandlerStateChangeEvent,\n LongPressGestureHandlerGestureEvent,\n LongPressGestureHandlerStateChangeEvent,\n PanGestureHandlerGestureEvent,\n PanGestureHandlerStateChangeEvent,\n PinchGestureHandlerGestureEvent,\n PinchGestureHandlerStateChangeEvent,\n RotationGestureHandlerGestureEvent,\n RotationGestureHandlerStateChangeEvent,\n FlingGestureHandlerGestureEvent,\n FlingGestureHandlerStateChangeEvent,\n // handlers props\n NativeViewGestureHandlerProperties,\n TapGestureHandlerProperties,\n LongPressGestureHandlerProperties,\n PanGestureHandlerProperties,\n PinchGestureHandlerProperties,\n RotationGestureHandlerProperties,\n FlingGestureHandlerProperties,\n ForceTouchGestureHandlerProperties,\n // buttons props\n RawButtonProperties,\n BaseButtonProperties,\n RectButtonProperties,\n BorderlessButtonProperties,\n} from './handlers/gestureHandlerTypesCompat';\n\nexport { default as Swipeable } from './components/Swipeable';\nexport type {\n DrawerLayoutProps,\n DrawerPosition,\n DrawerState,\n DrawerType,\n DrawerLockMode,\n DrawerKeyboardDismissMode,\n} from './components/DrawerLayout';\nexport { default as DrawerLayout } from './components/DrawerLayout';\n\ninitialize();\n","import { startListening } from './handlers/gestures/eventReceiver';\nimport RNGestureHandlerModule from './RNGestureHandlerModule';\nimport { isFabric } from './utils';\n\nexport function initialize() {\n startListening();\n\n if (isFabric()) {\n RNGestureHandlerModule.install();\n }\n}\n","import { DeviceEventEmitter, EmitterSubscription } from 'react-native';\nimport { State } from '../../State';\nimport { EventType } from '../../EventType';\nimport {\n GestureTouchEvent,\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from '../gestureHandlerCommon';\nimport { GestureStateManagerType } from './gestureStateManager';\nimport { findHandler, findOldGestureHandler } from '../handlersRegistry';\nimport { BaseGesture } from './gesture';\nimport { tagMessage } from '../../utils';\n\nlet gestureHandlerEventSubscription: EmitterSubscription | null = null;\nlet gestureHandlerStateChangeEventSubscription: EmitterSubscription | null = null;\n\nconst warningMessage = tagMessage(\n 'You have to use react-native-reanimated in order to control the state of the gesture.'\n);\n\nconst dummyStateManager: GestureStateManagerType = {\n begin: () => {\n console.warn(warningMessage);\n },\n activate: () => {\n console.warn(warningMessage);\n },\n end: () => {\n console.warn(warningMessage);\n },\n fail: () => {\n console.warn(warningMessage);\n },\n};\n\nconst lastUpdateEvent: (GestureUpdateEvent | undefined)[] = [];\n\nfunction isStateChangeEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureStateChangeEvent {\n // @ts-ignore oldState doesn't exist on GestureTouchEvent and that's the point\n return event.oldState != null;\n}\n\nfunction isTouchEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureTouchEvent {\n return event.eventType != null;\n}\n\nfunction onGestureHandlerEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n) {\n const handler = findHandler(event.handlerTag) as BaseGesture<\n Record\n >;\n\n if (handler) {\n if (isStateChangeEvent(event)) {\n if (\n event.oldState === State.UNDETERMINED &&\n event.state === State.BEGAN\n ) {\n handler.handlers.onBegin?.(event);\n } else if (\n (event.oldState === State.BEGAN ||\n event.oldState === State.UNDETERMINED) &&\n event.state === State.ACTIVE\n ) {\n handler.handlers.onStart?.(event);\n lastUpdateEvent[handler.handlers.handlerTag] = event;\n } else if (event.oldState !== event.state && event.state === State.END) {\n if (event.oldState === State.ACTIVE) {\n handler.handlers.onEnd?.(event, true);\n }\n handler.handlers.onFinalize?.(event, true);\n lastUpdateEvent[handler.handlers.handlerTag] = undefined;\n } else if (\n (event.state === State.FAILED || event.state === State.CANCELLED) &&\n event.oldState !== event.state\n ) {\n if (event.oldState === State.ACTIVE) {\n handler.handlers.onEnd?.(event, false);\n }\n handler.handlers.onFinalize?.(event, false);\n lastUpdateEvent[handler.handlers.handlerTag] = undefined;\n }\n } else if (isTouchEvent(event)) {\n switch (event.eventType) {\n case EventType.TOUCHES_DOWN:\n handler.handlers?.onTouchesDown?.(event, dummyStateManager);\n break;\n case EventType.TOUCHES_MOVE:\n handler.handlers?.onTouchesMove?.(event, dummyStateManager);\n break;\n case EventType.TOUCHES_UP:\n handler.handlers?.onTouchesUp?.(event, dummyStateManager);\n break;\n case EventType.TOUCHES_CANCELLED:\n handler.handlers?.onTouchesCancelled?.(event, dummyStateManager);\n break;\n }\n } else {\n handler.handlers.onUpdate?.(event);\n\n if (handler.handlers.onChange && handler.handlers.changeEventCalculator) {\n handler.handlers.onChange?.(\n handler.handlers.changeEventCalculator?.(\n event,\n lastUpdateEvent[handler.handlers.handlerTag]\n )\n );\n\n lastUpdateEvent[handler.handlers.handlerTag] = event;\n }\n }\n } else {\n const oldHandler = findOldGestureHandler(event.handlerTag);\n if (oldHandler) {\n const nativeEvent = { nativeEvent: event };\n if (isStateChangeEvent(event)) {\n oldHandler.onGestureStateChange(nativeEvent);\n } else {\n oldHandler.onGestureEvent(nativeEvent);\n }\n return;\n }\n }\n}\n\nexport function startListening() {\n stopListening();\n\n gestureHandlerEventSubscription = DeviceEventEmitter.addListener(\n 'onGestureHandlerEvent',\n onGestureHandlerEvent\n );\n\n gestureHandlerStateChangeEventSubscription = DeviceEventEmitter.addListener(\n 'onGestureHandlerStateChange',\n onGestureHandlerEvent\n );\n}\n\nexport function stopListening() {\n if (gestureHandlerEventSubscription) {\n gestureHandlerEventSubscription.remove();\n gestureHandlerEventSubscription = null;\n }\n\n if (gestureHandlerStateChangeEventSubscription) {\n gestureHandlerStateChangeEventSubscription.remove();\n gestureHandlerStateChangeEventSubscription = null;\n }\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n// Components\nimport typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';\nimport typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';\nimport typeof Button from './Libraries/Components/Button';\nimport typeof DatePickerIOS from './Libraries/Components/DatePicker/DatePickerIOS';\nimport typeof DrawerLayoutAndroid from './Libraries/Components/DrawerAndroid/DrawerLayoutAndroid';\nimport typeof FlatList from './Libraries/Lists/FlatList';\nimport typeof Image from './Libraries/Image/Image';\nimport typeof ImageBackground from './Libraries/Image/ImageBackground';\nimport typeof InputAccessoryView from './Libraries/Components/TextInput/InputAccessoryView';\nimport typeof KeyboardAvoidingView from './Libraries/Components/Keyboard/KeyboardAvoidingView';\nimport typeof MaskedViewIOS from './Libraries/Components/MaskedView/MaskedViewIOS';\nimport typeof Modal from './Libraries/Modal/Modal';\nimport typeof Pressable from './Libraries/Components/Pressable/Pressable';\nimport typeof ProgressBarAndroid from './Libraries/Components/ProgressBarAndroid/ProgressBarAndroid';\nimport typeof ProgressViewIOS from './Libraries/Components/ProgressViewIOS/ProgressViewIOS';\nimport typeof RefreshControl from './Libraries/Components/RefreshControl/RefreshControl';\nimport typeof SafeAreaView from './Libraries/Components/SafeAreaView/SafeAreaView';\nimport typeof ScrollView from './Libraries/Components/ScrollView/ScrollView';\nimport typeof SectionList from './Libraries/Lists/SectionList';\nimport typeof SegmentedControlIOS from './Libraries/Components/SegmentedControlIOS/SegmentedControlIOS';\nimport typeof Slider from './Libraries/Components/Slider/Slider';\nimport typeof StatusBar from './Libraries/Components/StatusBar/StatusBar';\nimport typeof Switch from './Libraries/Components/Switch/Switch';\nimport typeof Text from './Libraries/Text/Text';\nimport typeof TextInput from './Libraries/Components/TextInput/TextInput';\nimport typeof Touchable from './Libraries/Components/Touchable/Touchable';\nimport typeof TouchableHighlight from './Libraries/Components/Touchable/TouchableHighlight';\nimport typeof TouchableNativeFeedback from './Libraries/Components/Touchable/TouchableNativeFeedback';\nimport typeof TouchableOpacity from './Libraries/Components/Touchable/TouchableOpacity';\nimport typeof TouchableWithoutFeedback from './Libraries/Components/Touchable/TouchableWithoutFeedback';\nimport typeof View from './Libraries/Components/View/View';\nimport typeof VirtualizedList from './Libraries/Lists/VirtualizedList';\nimport typeof VirtualizedSectionList from './Libraries/Lists/VirtualizedSectionList';\n\n// APIs\nimport typeof ActionSheetIOS from './Libraries/ActionSheetIOS/ActionSheetIOS';\nimport typeof Alert from './Libraries/Alert/Alert';\nimport typeof Animated from './Libraries/Animated/Animated';\nimport typeof Appearance from './Libraries/Utilities/Appearance';\nimport typeof AppRegistry from './Libraries/ReactNative/AppRegistry';\nimport typeof AppState from './Libraries/AppState/AppState';\nimport typeof AsyncStorage from './Libraries/Storage/AsyncStorage';\nimport typeof BackHandler from './Libraries/Utilities/BackHandler';\nimport typeof Clipboard from './Libraries/Components/Clipboard/Clipboard';\nimport typeof DatePickerAndroid from './Libraries/Components/DatePickerAndroid/DatePickerAndroid';\nimport typeof DeviceInfo from './Libraries/Utilities/DeviceInfo';\nimport typeof DevSettings from './Libraries/Utilities/DevSettings';\nimport typeof Dimensions from './Libraries/Utilities/Dimensions';\nimport typeof Easing from './Libraries/Animated/Easing';\nimport typeof ReactNative from './Libraries/Renderer/shims/ReactNative';\nimport typeof I18nManager from './Libraries/ReactNative/I18nManager';\nimport typeof ImagePickerIOS from './Libraries/Image/ImagePickerIOS';\nimport typeof InteractionManager from './Libraries/Interaction/InteractionManager';\nimport typeof Keyboard from './Libraries/Components/Keyboard/Keyboard';\nimport typeof LayoutAnimation from './Libraries/LayoutAnimation/LayoutAnimation';\nimport typeof Linking from './Libraries/Linking/Linking';\nimport typeof LogBox from './Libraries/LogBox/LogBox';\nimport typeof NativeDialogManagerAndroid from './Libraries/NativeModules/specs/NativeDialogManagerAndroid';\nimport typeof NativeEventEmitter from './Libraries/EventEmitter/NativeEventEmitter';\nimport typeof Networking from './Libraries/Network/RCTNetworking';\nimport typeof PanResponder from './Libraries/Interaction/PanResponder';\nimport typeof PermissionsAndroid from './Libraries/PermissionsAndroid/PermissionsAndroid';\nimport typeof PixelRatio from './Libraries/Utilities/PixelRatio';\nimport typeof PushNotificationIOS from './Libraries/PushNotificationIOS/PushNotificationIOS';\nimport typeof Settings from './Libraries/Settings/Settings';\nimport typeof Share from './Libraries/Share/Share';\nimport typeof StyleSheet from './Libraries/StyleSheet/StyleSheet';\nimport typeof Systrace from './Libraries/Performance/Systrace';\nimport typeof ToastAndroid from './Libraries/Components/ToastAndroid/ToastAndroid';\nimport typeof * as TurboModuleRegistry from './Libraries/TurboModule/TurboModuleRegistry';\nimport typeof UIManager from './Libraries/ReactNative/UIManager';\nimport typeof useColorScheme from './Libraries/Utilities/useColorScheme';\nimport typeof useWindowDimensions from './Libraries/Utilities/useWindowDimensions';\nimport typeof UTFSequence from './Libraries/UTFSequence';\nimport typeof Vibration from './Libraries/Vibration/Vibration';\nimport typeof YellowBox from './Libraries/YellowBox/YellowBoxDeprecated';\n\n// Plugins\nimport typeof {DynamicColorIOS} from './Libraries/StyleSheet/PlatformColorValueTypesIOS';\nimport typeof NativeModules from './Libraries/BatchedBridge/NativeModules';\nimport typeof Platform from './Libraries/Utilities/Platform';\nimport typeof {PlatformColor} from './Libraries/StyleSheet/PlatformColorValueTypes';\nimport typeof processColor from './Libraries/StyleSheet/processColor';\nimport typeof RCTDeviceEventEmitter from './Libraries/EventEmitter/RCTDeviceEventEmitter';\nimport typeof RCTNativeAppEventEmitter from './Libraries/EventEmitter/RCTNativeAppEventEmitter';\nimport typeof {RootTagContext} from './Libraries/ReactNative/RootTag';\n\n// Prop Types\nimport typeof DeprecatedColorPropType from './Libraries/DeprecatedPropTypes/DeprecatedColorPropType';\nimport typeof DeprecatedEdgeInsetsPropType from './Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType';\nimport typeof DeprecatedPointPropType from './Libraries/DeprecatedPropTypes/DeprecatedPointPropType';\nimport typeof DeprecatedViewPropTypes from './Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes';\n\nimport type {HostComponent as _HostComponentInternal} from './Libraries/Renderer/shims/ReactNativeTypes';\n\nexport type HostComponent = _HostComponentInternal;\n\nconst invariant = require('invariant');\nconst warnOnce = require('./Libraries/Utilities/warnOnce');\n\nmodule.exports = {\n // Components\n get AccessibilityInfo(): AccessibilityInfo {\n return require('./Libraries/Components/AccessibilityInfo/AccessibilityInfo')\n .default;\n },\n get ActivityIndicator(): ActivityIndicator {\n return require('./Libraries/Components/ActivityIndicator/ActivityIndicator');\n },\n get Button(): Button {\n return require('./Libraries/Components/Button');\n },\n // $FlowFixMe[value-as-type]\n get DatePickerIOS(): DatePickerIOS {\n warnOnce(\n 'DatePickerIOS-merged',\n 'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n return require('./Libraries/Components/DatePicker/DatePickerIOS');\n },\n // $FlowFixMe[value-as-type]\n get DrawerLayoutAndroid(): DrawerLayoutAndroid {\n return require('./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid');\n },\n get FlatList(): FlatList {\n return require('./Libraries/Lists/FlatList');\n },\n get Image(): Image {\n return require('./Libraries/Image/Image');\n },\n get ImageBackground(): ImageBackground {\n return require('./Libraries/Image/ImageBackground');\n },\n get InputAccessoryView(): InputAccessoryView {\n return require('./Libraries/Components/TextInput/InputAccessoryView');\n },\n get KeyboardAvoidingView(): KeyboardAvoidingView {\n return require('./Libraries/Components/Keyboard/KeyboardAvoidingView')\n .default;\n },\n get MaskedViewIOS(): MaskedViewIOS {\n warnOnce(\n 'maskedviewios-moved',\n 'MaskedViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-masked-view/masked-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-masked-view/masked-view',\n );\n return require('./Libraries/Components/MaskedView/MaskedViewIOS');\n },\n get Modal(): Modal {\n return require('./Libraries/Modal/Modal');\n },\n get Pressable(): Pressable {\n return require('./Libraries/Components/Pressable/Pressable').default;\n },\n // $FlowFixMe[value-as-type]\n get ProgressBarAndroid(): ProgressBarAndroid {\n warnOnce(\n 'progress-bar-android-moved',\n 'ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. \" +\n 'See https://github.com/react-native-progress-view/progress-bar-android',\n );\n return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');\n },\n // $FlowFixMe[value-as-type]\n get ProgressViewIOS(): ProgressViewIOS {\n warnOnce(\n 'progress-view-ios-moved',\n 'ProgressViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-progress-view/progress-view',\n );\n return require('./Libraries/Components/ProgressViewIOS/ProgressViewIOS');\n },\n get RefreshControl(): RefreshControl {\n return require('./Libraries/Components/RefreshControl/RefreshControl');\n },\n get SafeAreaView(): SafeAreaView {\n return require('./Libraries/Components/SafeAreaView/SafeAreaView').default;\n },\n get ScrollView(): ScrollView {\n return require('./Libraries/Components/ScrollView/ScrollView');\n },\n get SectionList(): SectionList {\n return require('./Libraries/Lists/SectionList').default;\n },\n // $FlowFixMe[value-as-type]\n get SegmentedControlIOS(): SegmentedControlIOS {\n warnOnce(\n 'segmented-control-ios-moved',\n 'SegmentedControlIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-segmented-control/segmented-control' instead of 'react-native'. \" +\n 'See https://github.com/react-native-segmented-control/segmented-control',\n );\n return require('./Libraries/Components/SegmentedControlIOS/SegmentedControlIOS');\n },\n get Slider(): Slider {\n warnOnce(\n 'slider-moved',\n 'Slider has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-slider',\n );\n return require('./Libraries/Components/Slider/Slider');\n },\n get StatusBar(): StatusBar {\n return require('./Libraries/Components/StatusBar/StatusBar');\n },\n get Switch(): Switch {\n return require('./Libraries/Components/Switch/Switch').default;\n },\n get Text(): Text {\n return require('./Libraries/Text/Text');\n },\n get TextInput(): TextInput {\n return require('./Libraries/Components/TextInput/TextInput');\n },\n get Touchable(): Touchable {\n return require('./Libraries/Components/Touchable/Touchable');\n },\n get TouchableHighlight(): TouchableHighlight {\n return require('./Libraries/Components/Touchable/TouchableHighlight');\n },\n get TouchableNativeFeedback(): TouchableNativeFeedback {\n return require('./Libraries/Components/Touchable/TouchableNativeFeedback');\n },\n get TouchableOpacity(): TouchableOpacity {\n return require('./Libraries/Components/Touchable/TouchableOpacity');\n },\n get TouchableWithoutFeedback(): TouchableWithoutFeedback {\n return require('./Libraries/Components/Touchable/TouchableWithoutFeedback');\n },\n get View(): View {\n return require('./Libraries/Components/View/View');\n },\n get VirtualizedList(): VirtualizedList {\n return require('./Libraries/Lists/VirtualizedList');\n },\n get VirtualizedSectionList(): VirtualizedSectionList {\n return require('./Libraries/Lists/VirtualizedSectionList');\n },\n\n // APIs\n get ActionSheetIOS(): ActionSheetIOS {\n return require('./Libraries/ActionSheetIOS/ActionSheetIOS');\n },\n get Alert(): Alert {\n return require('./Libraries/Alert/Alert');\n },\n get Animated(): Animated {\n return require('./Libraries/Animated/Animated');\n },\n get Appearance(): Appearance {\n return require('./Libraries/Utilities/Appearance');\n },\n get AppRegistry(): AppRegistry {\n return require('./Libraries/ReactNative/AppRegistry');\n },\n get AppState(): AppState {\n return require('./Libraries/AppState/AppState');\n },\n // $FlowFixMe[value-as-type]\n get AsyncStorage(): AsyncStorage {\n warnOnce(\n 'async-storage-moved',\n 'AsyncStorage has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. \" +\n 'See https://github.com/react-native-async-storage/async-storage',\n );\n return require('./Libraries/Storage/AsyncStorage');\n },\n get BackHandler(): BackHandler {\n return require('./Libraries/Utilities/BackHandler');\n },\n get Clipboard(): Clipboard {\n warnOnce(\n 'clipboard-moved',\n 'Clipboard has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. \" +\n 'See https://github.com/react-native-clipboard/clipboard',\n );\n return require('./Libraries/Components/Clipboard/Clipboard');\n },\n get DatePickerAndroid(): DatePickerAndroid {\n warnOnce(\n 'DatePickerAndroid-merged',\n 'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n return require('./Libraries/Components/DatePickerAndroid/DatePickerAndroid');\n },\n get DeviceInfo(): DeviceInfo {\n return require('./Libraries/Utilities/DeviceInfo');\n },\n get DevSettings(): DevSettings {\n return require('./Libraries/Utilities/DevSettings');\n },\n get Dimensions(): Dimensions {\n return require('./Libraries/Utilities/Dimensions');\n },\n get Easing(): Easing {\n return require('./Libraries/Animated/Easing');\n },\n get findNodeHandle(): $PropertyType {\n return require('./Libraries/Renderer/shims/ReactNative').findNodeHandle;\n },\n get I18nManager(): I18nManager {\n return require('./Libraries/ReactNative/I18nManager');\n },\n get ImagePickerIOS(): ImagePickerIOS {\n warnOnce(\n 'imagePickerIOS-moved',\n 'ImagePickerIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. \" +\n \"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. \" +\n 'See https://github.com/rnc-archive/react-native-image-picker-ios',\n );\n return require('./Libraries/Image/ImagePickerIOS');\n },\n get InteractionManager(): InteractionManager {\n return require('./Libraries/Interaction/InteractionManager');\n },\n get Keyboard(): Keyboard {\n return require('./Libraries/Components/Keyboard/Keyboard');\n },\n get LayoutAnimation(): LayoutAnimation {\n return require('./Libraries/LayoutAnimation/LayoutAnimation');\n },\n get Linking(): Linking {\n return require('./Libraries/Linking/Linking');\n },\n get LogBox(): LogBox {\n return require('./Libraries/LogBox/LogBox');\n },\n get NativeDialogManagerAndroid(): NativeDialogManagerAndroid {\n return require('./Libraries/NativeModules/specs/NativeDialogManagerAndroid')\n .default;\n },\n get NativeEventEmitter(): NativeEventEmitter {\n return require('./Libraries/EventEmitter/NativeEventEmitter').default;\n },\n get Networking(): Networking {\n return require('./Libraries/Network/RCTNetworking');\n },\n get PanResponder(): PanResponder {\n return require('./Libraries/Interaction/PanResponder');\n },\n get PermissionsAndroid(): PermissionsAndroid {\n return require('./Libraries/PermissionsAndroid/PermissionsAndroid');\n },\n get PixelRatio(): PixelRatio {\n return require('./Libraries/Utilities/PixelRatio');\n },\n get PushNotificationIOS(): PushNotificationIOS {\n warnOnce(\n 'pushNotificationIOS-moved',\n 'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. \" +\n 'See https://github.com/react-native-push-notification-ios/push-notification-ios',\n );\n return require('./Libraries/PushNotificationIOS/PushNotificationIOS');\n },\n get Settings(): Settings {\n return require('./Libraries/Settings/Settings');\n },\n get Share(): Share {\n return require('./Libraries/Share/Share');\n },\n get StyleSheet(): StyleSheet {\n return require('./Libraries/StyleSheet/StyleSheet');\n },\n get Systrace(): Systrace {\n return require('./Libraries/Performance/Systrace');\n },\n // $FlowFixMe[value-as-type]\n get ToastAndroid(): ToastAndroid {\n return require('./Libraries/Components/ToastAndroid/ToastAndroid');\n },\n get TurboModuleRegistry(): TurboModuleRegistry {\n return require('./Libraries/TurboModule/TurboModuleRegistry');\n },\n get UIManager(): UIManager {\n return require('./Libraries/ReactNative/UIManager');\n },\n get unstable_batchedUpdates(): $PropertyType<\n ReactNative,\n 'unstable_batchedUpdates',\n > {\n return require('./Libraries/Renderer/shims/ReactNative')\n .unstable_batchedUpdates;\n },\n get useColorScheme(): useColorScheme {\n return require('./Libraries/Utilities/useColorScheme').default;\n },\n get useWindowDimensions(): useWindowDimensions {\n return require('./Libraries/Utilities/useWindowDimensions').default;\n },\n get UTFSequence(): UTFSequence {\n return require('./Libraries/UTFSequence');\n },\n get Vibration(): Vibration {\n return require('./Libraries/Vibration/Vibration');\n },\n get YellowBox(): YellowBox {\n return require('./Libraries/YellowBox/YellowBoxDeprecated');\n },\n\n // Plugins\n get DeviceEventEmitter(): RCTDeviceEventEmitter {\n return require('./Libraries/EventEmitter/RCTDeviceEventEmitter').default;\n },\n get DynamicColorIOS(): DynamicColorIOS {\n return require('./Libraries/StyleSheet/PlatformColorValueTypesIOS')\n .DynamicColorIOS;\n },\n get NativeAppEventEmitter(): RCTNativeAppEventEmitter {\n return require('./Libraries/EventEmitter/RCTNativeAppEventEmitter');\n },\n get NativeModules(): NativeModules {\n return require('./Libraries/BatchedBridge/NativeModules');\n },\n get Platform(): Platform {\n return require('./Libraries/Utilities/Platform');\n },\n get PlatformColor(): PlatformColor {\n return require('./Libraries/StyleSheet/PlatformColorValueTypes')\n .PlatformColor;\n },\n get processColor(): processColor {\n return require('./Libraries/StyleSheet/processColor');\n },\n get requireNativeComponent(): (\n uiViewClassName: string,\n ) => HostComponent {\n return require('./Libraries/ReactNative/requireNativeComponent');\n },\n get RootTagContext(): RootTagContext {\n return require('./Libraries/ReactNative/RootTag').RootTagContext;\n },\n get unstable_enableLogBox(): () => void {\n return () =>\n console.warn(\n 'LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.',\n );\n },\n // Prop Types\n // $FlowFixMe[value-as-type]\n get ColorPropType(): DeprecatedColorPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedColorPropType');\n },\n get EdgeInsetsPropType(): DeprecatedEdgeInsetsPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType');\n },\n get PointPropType(): DeprecatedPointPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedPointPropType');\n },\n get ViewPropTypes(): DeprecatedViewPropTypes {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes');\n },\n};\n\nif (__DEV__) {\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ART. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ART. */\n Object.defineProperty(module.exports, 'ART', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ART has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. \" +\n 'See https://github.com/react-native-art/art',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ListView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ListView. */\n Object.defineProperty(module.exports, 'ListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-listview`.',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access SwipeableListView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access SwipeableListView. */\n Object.defineProperty(module.exports, 'SwipeableListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'SwipeableListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-swipeable-listview`.',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access WebView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access WebView. */\n Object.defineProperty(module.exports, 'WebView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'WebView has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. \" +\n 'See https://github.com/react-native-webview/react-native-webview',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access NetInfo. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access NetInfo. */\n Object.defineProperty(module.exports, 'NetInfo', {\n configurable: true,\n get() {\n invariant(\n false,\n 'NetInfo has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. \" +\n 'See https://github.com/react-native-netinfo/react-native-netinfo',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access CameraRoll. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access CameraRoll. */\n Object.defineProperty(module.exports, 'CameraRoll', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CameraRoll has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/cameraroll' instead of 'react-native'. \" +\n 'See https://github.com/react-native-cameraroll/react-native-cameraroll',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ImageStore. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ImageStore. */\n Object.defineProperty(module.exports, 'ImageStore', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageStore has been removed from React Native. ' +\n 'To get a base64-encoded string from a local image use either of the following third-party libraries:' +\n \"* expo-file-system: `readAsStringAsync(filepath, 'base64')`\" +\n \"* react-native-fs: `readFile(filepath, 'base64')`\",\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ImageEditor. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ImageEditor. */\n Object.defineProperty(module.exports, 'ImageEditor', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageEditor has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/image-editor' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-image-editor',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access TimePickerAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access TimePickerAndroid. */\n Object.defineProperty(module.exports, 'TimePickerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'TimePickerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ToolbarAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ToolbarAndroid. */\n Object.defineProperty(module.exports, 'ToolbarAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ToolbarAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/toolbar-android' instead of 'react-native'. \" +\n 'See https://github.com/react-native-toolbar-android/toolbar-android',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ViewPagerAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ViewPagerAndroid. */\n Object.defineProperty(module.exports, 'ViewPagerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ViewPagerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-viewpager',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access CheckBox. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access CheckBox. */\n Object.defineProperty(module.exports, 'CheckBox', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CheckBox has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. \" +\n 'See https://github.com/react-native-checkbox/react-native-checkbox',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access StatusBarIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access StatusBarIOS. */\n Object.defineProperty(module.exports, 'StatusBarIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'StatusBarIOS has been removed from React Native. ' +\n 'Has been merged with StatusBar. ' +\n 'See https://reactnative.dev/docs/statusbar',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access PickerIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access PickerIOS. */\n Object.defineProperty(module.exports, 'PickerIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'PickerIOS has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-picker/picker',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access Picker. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access Picker. */\n Object.defineProperty(module.exports, 'Picker', {\n configurable: true,\n get() {\n invariant(\n false,\n 'Picker has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-picker/picker',\n );\n },\n });\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst warnedKeys: {[string]: boolean, ...} = {};\n\n/**\n * A simple function that prints a warning message once per session.\n *\n * @param {string} key - The key used to ensure the message is printed once.\n * This should be unique to the callsite.\n * @param {string} message - The message to print\n */\nfunction warnOnce(key: string, message: string) {\n if (warnedKeys[key]) {\n return;\n }\n\n console.warn(message);\n\n warnedKeys[key] = true;\n}\n\nmodule.exports = warnOnce;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport RCTDeviceEventEmitter from '../../EventEmitter/RCTDeviceEventEmitter';\nimport {sendAccessibilityEvent} from '../../Renderer/shims/ReactNative';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport Platform from '../../Utilities/Platform';\nimport type EventEmitter from '../../vendor/emitter/EventEmitter';\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\nimport NativeAccessibilityInfoAndroid from './NativeAccessibilityInfo';\nimport NativeAccessibilityManagerIOS from './NativeAccessibilityManager';\nimport legacySendAccessibilityEvent from './legacySendAccessibilityEvent';\nimport type {ElementRef} from 'react';\n\n// Events that are only supported on iOS.\ntype AccessibilityEventDefinitionsIOS = {\n announcementFinished: [{announcement: string, success: boolean}],\n boldTextChanged: [boolean],\n grayscaleChanged: [boolean],\n invertColorsChanged: [boolean],\n reduceTransparencyChanged: [boolean],\n};\n\ntype AccessibilityEventDefinitions = {\n ...AccessibilityEventDefinitionsIOS,\n change: [boolean], // screenReaderChanged\n reduceMotionChanged: [boolean],\n screenReaderChanged: [boolean],\n};\n\ntype AccessibilityEventTypes = 'click' | 'focus';\n\n// Mapping of public event names to platform-specific event names.\nconst EventNames: Map<$Keys, string> =\n Platform.OS === 'android'\n ? new Map([\n ['change', 'touchExplorationDidChange'],\n ['reduceMotionChanged', 'reduceMotionDidChange'],\n ['screenReaderChanged', 'touchExplorationDidChange'],\n ])\n : new Map([\n ['announcementFinished', 'announcementFinished'],\n ['boldTextChanged', 'boldTextChanged'],\n ['change', 'screenReaderChanged'],\n ['grayscaleChanged', 'grayscaleChanged'],\n ['invertColorsChanged', 'invertColorsChanged'],\n ['reduceMotionChanged', 'reduceMotionChanged'],\n ['reduceTransparencyChanged', 'reduceTransparencyChanged'],\n ['screenReaderChanged', 'screenReaderChanged'],\n ]);\n\n/**\n * Sometimes it's useful to know whether or not the device has a screen reader\n * that is currently active. The `AccessibilityInfo` API is designed for this\n * purpose. You can use it to query the current state of the screen reader as\n * well as to register to be notified when the state of the screen reader\n * changes.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html\n */\nconst AccessibilityInfo = {\n /**\n * Query whether bold text is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when bold text is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isBoldTextEnabled\n */\n isBoldTextEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentBoldTextState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether grayscale is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when grayscale is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isGrayscaleEnabled\n */\n isGrayscaleEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentGrayscaleState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether inverted colors are currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when invert color is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isInvertColorsEnabled\n */\n isInvertColorsEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentInvertColorsState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether reduced motion is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce motion is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isReduceMotionEnabled\n */\n isReduceMotionEnabled(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n if (NativeAccessibilityInfoAndroid != null) {\n NativeAccessibilityInfoAndroid.isReduceMotionEnabled(resolve);\n } else {\n reject(null);\n }\n } else {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentReduceMotionState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n }\n });\n },\n\n /**\n * Query whether reduced transparency is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce transparency is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isReduceTransparencyEnabled\n */\n isReduceTransparencyEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentReduceTransparencyState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether a screen reader is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#isScreenReaderEnabled\n */\n isScreenReaderEnabled(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n if (NativeAccessibilityInfoAndroid != null) {\n NativeAccessibilityInfoAndroid.isTouchExplorationEnabled(resolve);\n } else {\n reject(null);\n }\n } else {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentVoiceOverState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n }\n });\n },\n\n /**\n * Add an event handler. Supported events:\n *\n * - `reduceMotionChanged`: Fires when the state of the reduce motion toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a reduce\n * motion is enabled (or when \"Transition Animation Scale\" in \"Developer options\" is\n * \"Animation off\") and `false` otherwise.\n * - `screenReaderChanged`: Fires when the state of the screen reader changes. The argument\n * to the event handler is a boolean. The boolean is `true` when a screen\n * reader is enabled and `false` otherwise.\n *\n * These events are only supported on iOS:\n *\n * - `boldTextChanged`: iOS-only event. Fires when the state of the bold text toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a bold text\n * is enabled and `false` otherwise.\n * - `grayscaleChanged`: iOS-only event. Fires when the state of the gray scale toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a gray scale\n * is enabled and `false` otherwise.\n * - `invertColorsChanged`: iOS-only event. Fires when the state of the invert colors toggle\n * changes. The argument to the event handler is a boolean. The boolean is `true` when a invert\n * colors is enabled and `false` otherwise.\n * - `reduceTransparencyChanged`: iOS-only event. Fires when the state of the reduce transparency\n * toggle changes. The argument to the event handler is a boolean. The boolean is `true`\n * when a reduce transparency is enabled and `false` otherwise.\n * - `announcementFinished`: iOS-only event. Fires when the screen reader has\n * finished making an announcement. The argument to the event handler is a\n * dictionary with these keys:\n * - `announcement`: The string announced by the screen reader.\n * - `success`: A boolean indicating whether the announcement was\n * successfully made.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#addeventlistener\n */\n addEventListener>(\n eventName: K,\n handler: (...$ElementType) => void,\n ): EventSubscription {\n const deviceEventName = EventNames.get(eventName);\n return deviceEventName == null\n ? {remove(): void {}}\n : RCTDeviceEventEmitter.addListener(deviceEventName, handler);\n },\n\n /**\n * Set accessibility focus to a React component.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#setaccessibilityfocus\n */\n setAccessibilityFocus(reactTag: number): void {\n legacySendAccessibilityEvent(reactTag, 'focus');\n },\n\n /**\n * Send a named accessibility event to a HostComponent.\n */\n sendAccessibilityEvent_unstable(\n handle: ElementRef>,\n eventType: AccessibilityEventTypes,\n ) {\n // iOS only supports 'focus' event types\n if (Platform.OS === 'ios' && eventType === 'click') {\n return;\n }\n // route through React renderer to distinguish between Fabric and non-Fabric handles\n sendAccessibilityEvent(handle, eventType);\n },\n\n /**\n * Post a string to be announced by the screen reader.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#announceforaccessibility\n */\n announceForAccessibility(announcement: string): void {\n if (Platform.OS === 'android') {\n NativeAccessibilityInfoAndroid?.announceForAccessibility(announcement);\n } else {\n NativeAccessibilityManagerIOS?.announceForAccessibility(announcement);\n }\n },\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n removeEventListener>(\n eventName: K,\n handler: (...$ElementType) => void,\n ): void {\n // NOTE: This will report a deprecation notice via `console.error`.\n const deviceEventName = EventNames.get(eventName);\n if (deviceEventName != null) {\n // $FlowIgnore[incompatible-cast]\n (RCTDeviceEventEmitter: EventEmitter<$FlowFixMe>).removeListener(\n 'deviceEventName',\n // $FlowFixMe[invalid-tuple-arity]\n handler,\n );\n }\n },\n\n /**\n * Get the recommended timeout for changes to the UI needed by this user.\n *\n * See https://reactnative.dev/docs/accessibilityinfo.html#getrecommendedtimeoutmillis\n */\n getRecommendedTimeoutMillis(originalTimeout: number): Promise {\n if (Platform.OS === 'android') {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityInfoAndroid?.getRecommendedTimeoutMillis) {\n NativeAccessibilityInfoAndroid.getRecommendedTimeoutMillis(\n originalTimeout,\n resolve,\n );\n } else {\n resolve(originalTimeout);\n }\n });\n } else {\n return Promise.resolve(originalTimeout);\n }\n },\n};\n\nexport default AccessibilityInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport EventEmitter, {type IEventEmitter} from '../vendor/emitter/EventEmitter';\n\n// FIXME: use typed events\ntype RCTDeviceEventDefinitions = $FlowFixMe;\n\n/**\n * Global EventEmitter used by the native platform to emit events to JavaScript.\n * Events are identified by globally unique event names.\n *\n * NativeModules that emit events should instead subclass `NativeEventEmitter`.\n */\nexport default (new EventEmitter(): IEventEmitter);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst EventEmitter = require('./_EventEmitter');\n\nimport type {EventSubscription} from './EventSubscription';\n\nexport default EventEmitter;\n\nexport type {EventSubscription};\n\n/**\n * Essential interface for an EventEmitter.\n */\nexport interface IEventEmitter {\n /**\n * Registers a listener that is called when the supplied event is emitted.\n * Returns a subscription that has a `remove` method to undo registration.\n */\n addListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n context?: mixed,\n ): EventSubscription;\n\n /**\n * Emits the supplied event. Additional arguments supplied to `emit` will be\n * passed through to each of the registered listeners.\n */\n emit>(\n eventType: TEvent,\n ...args: $ElementType\n ): void;\n\n /**\n * Removes all registered listeners.\n */\n removeAllListeners>(eventType?: ?TEvent): void;\n\n /**\n * Returns the number of registered listeners for the supplied event.\n */\n listenerCount>(eventType: TEvent): number;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @typecheck\n */\n\nconst invariant = require('invariant');\n\nimport EmitterSubscription from './_EmitterSubscription';\nimport {type EventSubscription} from './EventSubscription';\nimport EventSubscriptionVendor from './_EventSubscriptionVendor';\n\nconst sparseFilterPredicate = () => true;\n\n/**\n * @class EventEmitter\n * @description\n * An EventEmitter is responsible for managing a set of listeners and publishing\n * events to them when it is told that such events happened. In addition to the\n * data for the given event it also sends a event control object which allows\n * the listeners/handlers to prevent the default behavior of the given event.\n *\n * The emitter is designed to be generic enough to support all the different\n * contexts in which one might want to emit events. It is a simple multicast\n * mechanism on top of which extra functionality can be composed. For example, a\n * more advanced emitter may use an EventHolder and EventFactory.\n */\nclass EventEmitter {\n _subscriber: EventSubscriptionVendor = new EventSubscriptionVendor();\n\n /**\n * @constructor\n */\n constructor(subscriber: ?EventSubscriptionVendor) {\n if (subscriber != null) {\n console.warn('EventEmitter(...): Constructor argument is deprecated.');\n this._subscriber = subscriber;\n }\n }\n\n /**\n * Adds a listener to be invoked when events of the specified type are\n * emitted. An optional calling context may be provided. The data arguments\n * emitted will be passed to the listener function.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n addListener>(\n eventType: K,\n // FIXME: listeners should return void instead of mixed to prevent issues\n listener: (...$ElementType) => mixed,\n context: $FlowFixMe,\n ): EventSubscription {\n return (this._subscriber.addSubscription(\n eventType,\n new EmitterSubscription(this, this._subscriber, listener, context),\n ): $FlowFixMe);\n }\n\n /**\n * Removes all of the registered listeners, including those registered as\n * listener maps.\n *\n * @param {?string} eventType - Optional name of the event whose registered\n * listeners to remove\n */\n removeAllListeners>(eventType: ?K): void {\n this._subscriber.removeAllSubscriptions(eventType);\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addListener`.\n */\n removeSubscription>(\n subscription: EmitterSubscription,\n ): void {\n console.warn(\n 'EventEmitter.removeSubscription(...): Method has been deprecated. ' +\n 'Please instead use `remove()` on the subscription itself.',\n );\n this.__removeSubscription(subscription);\n }\n\n /**\n * Called by `EmitterSubscription` to bypass the above deprecation warning.\n */\n __removeSubscription>(\n subscription: EmitterSubscription,\n ): void {\n invariant(\n subscription.emitter === this,\n 'Subscription does not belong to this emitter.',\n );\n this._subscriber.removeSubscription(subscription);\n }\n\n /**\n * Returns the number of listeners that are currently registered for the given\n * event.\n *\n * @param {string} eventType - Name of the event to query\n * @returns {number}\n */\n listenerCount>(eventType: K): number {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n return subscriptions\n ? // We filter out missing entries because the array is sparse.\n // \"callbackfn is called only for elements of the array which actually\n // exist; it is not called for missing elements of the array.\"\n // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter\n subscriptions.filter(sparseFilterPredicate).length\n : 0;\n }\n\n /**\n * Emits an event of the given type with the given data. All handlers of that\n * particular type will be notified.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n *\n * @example\n * emitter.addListener('someEvent', function(message) {\n * console.log(message);\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n */\n emit>(\n eventType: K,\n ...args: $ElementType\n ): void {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n if (subscription && subscription.listener) {\n subscription.listener.apply(subscription.context, args);\n }\n }\n }\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addListener`.\n */\n removeListener>(\n eventType: K,\n // FIXME: listeners should return void instead of mixed to prevent issues\n listener: (...$ElementType) => mixed,\n ): void {\n console.warn(\n `EventEmitter.removeListener('${eventType}', ...): Method has been ` +\n 'deprecated. Please instead use `remove()` on the subscription ' +\n 'returned by `EventEmitter.addListener`.',\n );\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n // its listener matches the listener in method parameters\n if (subscription && subscription.listener === listener) {\n subscription.remove();\n }\n }\n }\n }\n}\n\nmodule.exports = EventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type EventEmitter from './EventEmitter';\nimport _EventSubscription from './_EventSubscription';\nimport type EventSubscriptionVendor from './_EventSubscriptionVendor';\nimport {type EventSubscription} from './EventSubscription';\n\n/**\n * EmitterSubscription represents a subscription with listener and context data.\n */\nclass EmitterSubscription>\n extends _EventSubscription\n implements EventSubscription {\n emitter: EventEmitter;\n listener: ?(...$ElementType) => mixed;\n context: ?$FlowFixMe;\n\n /**\n * @param {EventEmitter} emitter - The event emitter that registered this\n * subscription\n * @param {EventSubscriptionVendor} subscriber - The subscriber that controls\n * this subscription\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n constructor(\n emitter: EventEmitter,\n subscriber: EventSubscriptionVendor,\n listener: (...$ElementType) => mixed,\n context: ?$FlowFixMe,\n ) {\n super(subscriber);\n this.emitter = emitter;\n this.listener = listener;\n this.context = context;\n }\n\n /**\n * Removes this subscription from the emitter that registered it.\n * Note: we're overriding the `remove()` method of _EventSubscription here\n * but deliberately not calling `super.remove()` as the responsibility\n * for removing the subscription lies with the EventEmitter.\n */\n remove(): void {\n this.emitter.__removeSubscription(this);\n }\n}\n\nmodule.exports = EmitterSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport {type EventSubscription} from './EventSubscription';\nimport type EventSubscriptionVendor from './_EventSubscriptionVendor';\n\n/**\n * EventSubscription represents a subscription to a particular event. It can\n * remove its own subscription.\n */\nclass _EventSubscription>\n implements EventSubscription {\n eventType: K;\n key: number;\n subscriber: EventSubscriptionVendor;\n listener: ?(...$ElementType) => mixed;\n context: ?$FlowFixMe;\n\n /**\n * @param {EventSubscriptionVendor} subscriber the subscriber that controls\n * this subscription.\n */\n constructor(subscriber: EventSubscriptionVendor) {\n this.subscriber = subscriber;\n }\n\n /**\n * Removes this subscription from the subscriber that controls it.\n */\n remove(): void {\n this.subscriber.removeSubscription(this);\n }\n}\n\nmodule.exports = _EventSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nimport type EventSubscription from './_EventSubscription';\n\n/**\n * EventSubscriptionVendor stores a set of EventSubscriptions that are\n * subscribed to a particular event type.\n */\nclass EventSubscriptionVendor {\n _subscriptionsForType: {\n [type: $Keys]: Array<\n EventSubscription,\n >,\n ...,\n };\n\n constructor() {\n this._subscriptionsForType = {};\n }\n\n /**\n * Adds a subscription keyed by an event type.\n *\n * @param {string} eventType\n * @param {EventSubscription} subscription\n */\n addSubscription>(\n eventType: K,\n subscription: EventSubscription,\n ): EventSubscription {\n invariant(\n subscription.subscriber === this,\n 'The subscriber of the subscription is incorrectly set.',\n );\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n const key = this._subscriptionsForType[eventType].length;\n this._subscriptionsForType[eventType].push(subscription);\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n }\n\n /**\n * Removes a bulk set of the subscriptions.\n *\n * @param {?string} eventType - Optional name of the event type whose\n * registered subscriptions to remove, if null remove all subscriptions.\n */\n removeAllSubscriptions>(eventType: ?K): void {\n if (eventType == null) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n }\n\n /**\n * Removes a specific subscription. Instead of calling this function, call\n * `subscription.remove()` directly.\n *\n * @param {object} subscription\n */\n removeSubscription>(\n subscription: EventSubscription,\n ): void {\n const eventType = subscription.eventType;\n const key = subscription.key;\n\n const subscriptionsForType = this._subscriptionsForType[eventType];\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n }\n\n /**\n * Returns the array of subscriptions that are currently registered for the\n * given event type.\n *\n * Note: This array can be potentially sparse as subscriptions are deleted\n * from it when they are removed.\n *\n * TODO: This returns a nullable array. wat?\n *\n * @param {string} eventType\n * @returns {?array}\n */\n getSubscriptionsForType>(\n eventType: K,\n ): ?Array> {\n return this._subscriptionsForType[eventType];\n }\n}\n\nmodule.exports = EventSubscriptionVendor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generated SignedSource<>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport type {ReactNativeType} from './ReactNativeTypes';\n\nlet ReactNative;\n\nif (__DEV__) {\n ReactNative = require('../implementations/ReactNativeRenderer-dev');\n} else {\n ReactNative = require('../implementations/ReactNativeRenderer-prod');\n}\n\nmodule.exports = (ReactNative: ReactNativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @nolint\n * @providesModule ReactNativeRenderer-prod\n * @preventMunge\n * @generated SignedSource<>\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar isArrayImpl = Array.isArray,\n getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (isArrayImpl(dispatchListener))\n throw Error(\"executeDirectDispatch(...): Invalid `event`.\");\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n this._dispatchInstances = this._dispatchListeners = null;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nObject.assign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n Object.assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = Object.assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction createOrGetPooledEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeInst\n) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw Error(\n \"Trying to release an event instance into a pool of a different type.\"\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.getPooled = createOrGetPooledEvent;\n EventConstructor.eventPool = [];\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref) throw Error(\"Touch object is missing identifier.\");\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nvar instrumentationCallback,\n ResponderTouchHistoryStore = {\n instrument: function(callback) {\n instrumentationCallback = callback;\n },\n recordTouchTrack: function(topLevelType, nativeEvent) {\n null != instrumentationCallback &&\n instrumentationCallback(topLevelType, nativeEvent);\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (\n topLevelType = 0;\n topLevelType < touchBank.length;\n topLevelType++\n )\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n };\nfunction accumulate(current, next) {\n if (null == next)\n throw Error(\n \"accumulate(...): Accumulated items must not be null or undefined.\"\n );\n return null == current\n ? next\n : isArrayImpl(current)\n ? current.concat(next)\n : isArrayImpl(next)\n ? [current].concat(next)\n : [current, next];\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n );\n if (null == current) return next;\n if (isArrayImpl(current)) {\n if (isArrayImpl(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return isArrayImpl(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: { registrationName: \"onResponderReject\", dependencies: [] },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n};\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction getListener(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nvar ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else return null;\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var shouldSetEventType = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp = getParent(JSCompiler_temp)), depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp === targetInst ||\n JSCompiler_temp === targetInst.alternate\n )\n break b;\n JSCompiler_temp = getParent(JSCompiler_temp);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp = null;\n }\n else JSCompiler_temp = targetInst;\n targetInst = JSCompiler_temp;\n JSCompiler_temp = targetInst === responderInst;\n shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n JSCompiler_temp\n ? forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = shouldSetEventType._dispatchListeners;\n targetInst = shouldSetEventType._dispatchInstances;\n if (isArrayImpl(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !shouldSetEventType.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](shouldSetEventType, targetInst[depthA])\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(shouldSetEventType, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n shouldSetEventType._dispatchInstances = null;\n shouldSetEventType._dispatchListeners = null;\n shouldSetEventType.isPersistent() ||\n shouldSetEventType.constructor.release(shouldSetEventType);\n if (JSCompiler_temp && JSCompiler_temp !== responderInst)\n if (\n ((shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (targetInst = !0 === executeDirectDispatch(shouldSetEventType)),\n responderInst)\n )\n if (\n ((depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (depthA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle),\n (tempA =\n !depthA._dispatchListeners || executeDirectDispatch(depthA)),\n depthA.isPersistent() || depthA.constructor.release(depthA),\n tempA)\n ) {\n depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n );\n depthA.touchHistory = ResponderTouchHistoryStore.touchHistory;\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle);\n var JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [shouldSetEventType, depthA]\n );\n changeResponder(JSCompiler_temp, targetInst);\n } else\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n else\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n )),\n changeResponder(JSCompiler_temp, targetInst);\n else JSCompiler_temp$jscomp$0 = null;\n } else JSCompiler_temp$jscomp$0 = null;\n shouldSetEventType = responderInst && isStartish(topLevelType);\n JSCompiler_temp = responderInst && isMoveish(topLevelType);\n targetInst =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (shouldSetEventType = shouldSetEventType\n ? eventTypes.responderStart\n : JSCompiler_temp\n ? eventTypes.responderMove\n : targetInst\n ? eventTypes.responderEnd\n : null)\n )\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n shouldSetEventType = responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !shouldSetEventType &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (\n JSCompiler_temp = 0;\n JSCompiler_temp < topLevelType.length;\n JSCompiler_temp++\n )\n if (\n ((targetInst = topLevelType[JSCompiler_temp].target),\n null !== targetInst &&\n void 0 !== targetInst &&\n 0 !== targetInst)\n ) {\n depthA = getInstanceFromNode(targetInst);\n b: {\n for (targetInst = responderInst; depthA; ) {\n if (\n targetInst === depthA ||\n targetInst === depthA.alternate\n ) {\n targetInst = !0;\n break b;\n }\n depthA = getParent(depthA);\n }\n targetInst = !1;\n }\n if (targetInst) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = shouldSetEventType\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n nativeEvent\n )),\n changeResponder(null);\n return JSCompiler_temp$jscomp$0;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (!(-1 < pluginIndex))\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n pluginName +\n \"`.\"\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n pluginName +\n \"` does not.\"\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same event name, `\" +\n eventName$jscomp$0 +\n \"`.\"\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same registration name, `\" +\n registrationName +\n \"`.\"\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction getListener$1(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nvar customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\nfunction accumulateDirectionalDispatches$1(inst, phase, event) {\n if (\n (phase = getListener$1(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateTwoPhaseDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n for (var inst = event._targetInst, path = []; inst; ) {\n path.push(inst);\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n inst = inst ? inst : null;\n }\n for (inst = path.length; 0 < inst--; )\n accumulateDirectionalDispatches$1(path[inst], \"captured\", event);\n for (inst = 0; inst < path.length; inst++)\n accumulateDirectionalDispatches$1(path[inst], \"bubbled\", event);\n }\n}\nfunction accumulateDirectDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener$1(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nif (eventPluginOrder)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n );\neventPluginOrder = Array.prototype.slice.call([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\nrecomputePluginOrdering();\nvar injectedNamesToPlugins$jscomp$inline_219 = {\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n forEachAccumulated(\n topLevelType,\n accumulateTwoPhaseDispatchesSingle$1\n );\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle$1);\n else return null;\n return topLevelType;\n }\n }\n },\n isOrderingDirty$jscomp$inline_220 = !1,\n pluginName$jscomp$inline_221;\nfor (pluginName$jscomp$inline_221 in injectedNamesToPlugins$jscomp$inline_219)\n if (\n injectedNamesToPlugins$jscomp$inline_219.hasOwnProperty(\n pluginName$jscomp$inline_221\n )\n ) {\n var pluginModule$jscomp$inline_222 =\n injectedNamesToPlugins$jscomp$inline_219[pluginName$jscomp$inline_221];\n if (\n !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_221) ||\n namesToPlugins[pluginName$jscomp$inline_221] !==\n pluginModule$jscomp$inline_222\n ) {\n if (namesToPlugins[pluginName$jscomp$inline_221])\n throw Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n pluginName$jscomp$inline_221 +\n \"`.\"\n );\n namesToPlugins[\n pluginName$jscomp$inline_221\n ] = pluginModule$jscomp$inline_222;\n isOrderingDirty$jscomp$inline_220 = !0;\n }\n }\nisOrderingDirty$jscomp$inline_220 && recomputePluginOrdering();\nvar instanceCache = new Map(),\n instanceProps = new Map();\nfunction getInstanceFromTag(tag) {\n return instanceCache.get(tag) || null;\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n isInsideEventHandler = !1;\n }\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (isArrayImpl(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nvar EMPTY_NATIVE_EVENT = {};\nfunction _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam) {\n var nativeEvent = nativeEventParam || EMPTY_NATIVE_EVENT,\n inst = getInstanceFromTag(rootNodeID),\n target = null;\n null != inst && (target = inst.stateNode);\n batchedUpdates(function() {\n var JSCompiler_inline_result = target;\n for (\n var events = null, legacyPlugins = plugins, i = 0;\n i < legacyPlugins.length;\n i++\n ) {\n var possiblePlugin = legacyPlugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n inst,\n nativeEvent,\n JSCompiler_inline_result\n )) &&\n (events = accumulateInto(events, possiblePlugin));\n }\n JSCompiler_inline_result = events;\n null !== JSCompiler_inline_result &&\n (eventQueue = accumulateInto(eventQueue, JSCompiler_inline_result));\n JSCompiler_inline_result = eventQueue;\n eventQueue = null;\n if (JSCompiler_inline_result) {\n forEachAccumulated(\n JSCompiler_inline_result,\n executeDispatchesAndReleaseTopLevel\n );\n if (eventQueue)\n throw Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n );\n if (hasRethrowError)\n throw ((JSCompiler_inline_result = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n JSCompiler_inline_result);\n }\n });\n}\nReactNativePrivateInterface.RCTEventEmitter.register({\n receiveEvent: function(rootNodeID, topLevelType, nativeEventParam) {\n _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam);\n },\n receiveTouches: function(eventTopLevelType, touches, changedIndices) {\n if (\n \"topTouchEnd\" === eventTopLevelType ||\n \"topTouchCancel\" === eventTopLevelType\n ) {\n var JSCompiler_temp = [];\n for (var i = 0; i < changedIndices.length; i++) {\n var index$0 = changedIndices[i];\n JSCompiler_temp.push(touches[index$0]);\n touches[index$0] = null;\n }\n for (i = changedIndices = 0; i < touches.length; i++)\n (index$0 = touches[i]),\n null !== index$0 && (touches[changedIndices++] = index$0);\n touches.length = changedIndices;\n } else\n for (JSCompiler_temp = [], i = 0; i < changedIndices.length; i++)\n JSCompiler_temp.push(touches[changedIndices[i]]);\n for (\n changedIndices = 0;\n changedIndices < JSCompiler_temp.length;\n changedIndices++\n ) {\n i = JSCompiler_temp[changedIndices];\n i.changedTouches = JSCompiler_temp;\n i.touches = touches;\n index$0 = null;\n var target = i.target;\n null === target || void 0 === target || 1 > target || (index$0 = target);\n _receiveRootNodeIDEvent(index$0, eventTopLevelType, i);\n }\n }\n});\ngetFiberCurrentPropsFromNode = function(stateNode) {\n return instanceProps.get(stateNode._nativeTag) || null;\n};\ngetInstanceFromNode = getInstanceFromTag;\ngetNodeFromInstance = function(inst) {\n inst = inst.stateNode;\n var tag = inst._nativeTag;\n void 0 === tag && ((inst = inst.canonical), (tag = inst._nativeTag));\n if (!tag) throw Error(\"All native instances should have a tag.\");\n return inst;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n REACT_ELEMENT_TYPE = 60103,\n REACT_PORTAL_TYPE = 60106,\n REACT_FRAGMENT_TYPE = 60107,\n REACT_STRICT_MODE_TYPE = 60108,\n REACT_PROFILER_TYPE = 60114,\n REACT_PROVIDER_TYPE = 60109,\n REACT_CONTEXT_TYPE = 60110,\n REACT_FORWARD_REF_TYPE = 60112,\n REACT_SUSPENSE_TYPE = 60113,\n REACT_SUSPENSE_LIST_TYPE = 60120,\n REACT_MEMO_TYPE = 60115,\n REACT_LAZY_TYPE = 60116,\n REACT_DEBUG_TRACING_MODE_TYPE = 60129,\n REACT_OFFSCREEN_TYPE = 60130,\n REACT_LEGACY_HIDDEN_TYPE = 60131,\n REACT_CACHE_TYPE = 60132;\nif (\"function\" === typeof Symbol && Symbol.for) {\n var symbolFor = Symbol.for;\n REACT_ELEMENT_TYPE = symbolFor(\"react.element\");\n REACT_PORTAL_TYPE = symbolFor(\"react.portal\");\n REACT_FRAGMENT_TYPE = symbolFor(\"react.fragment\");\n REACT_STRICT_MODE_TYPE = symbolFor(\"react.strict_mode\");\n REACT_PROFILER_TYPE = symbolFor(\"react.profiler\");\n REACT_PROVIDER_TYPE = symbolFor(\"react.provider\");\n REACT_CONTEXT_TYPE = symbolFor(\"react.context\");\n REACT_FORWARD_REF_TYPE = symbolFor(\"react.forward_ref\");\n REACT_SUSPENSE_TYPE = symbolFor(\"react.suspense\");\n REACT_SUSPENSE_LIST_TYPE = symbolFor(\"react.suspense_list\");\n REACT_MEMO_TYPE = symbolFor(\"react.memo\");\n REACT_LAZY_TYPE = symbolFor(\"react.lazy\");\n symbolFor(\"react.scope\");\n REACT_DEBUG_TRACING_MODE_TYPE = symbolFor(\"react.debug_trace_mode\");\n REACT_OFFSCREEN_TYPE = symbolFor(\"react.offscreen\");\n REACT_LEGACY_HIDDEN_TYPE = symbolFor(\"react.legacy_hidden\");\n REACT_CACHE_TYPE = symbolFor(\"react.cache\");\n}\nvar MAYBE_ITERATOR_SYMBOL = \"function\" === typeof Symbol && Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_CACHE_TYPE:\n return \"Cache\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Consumer\";\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nfunction getComponentNameFromFiber(fiber) {\n var type = fiber.type;\n switch (fiber.tag) {\n case 24:\n return \"Cache\";\n case 9:\n return (type.displayName || \"Context\") + \".Consumer\";\n case 10:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case 18:\n return \"DehydratedFragment\";\n case 11:\n return (\n (fiber = type.render),\n (fiber = fiber.displayName || fiber.name || \"\"),\n type.displayName ||\n (\"\" !== fiber ? \"ForwardRef(\" + fiber + \")\" : \"ForwardRef\")\n );\n case 7:\n return \"Fragment\";\n case 5:\n return type;\n case 4:\n return \"Portal\";\n case 3:\n return \"Root\";\n case 6:\n return \"Text\";\n case 16:\n return getComponentNameFromType(type);\n case 23:\n return \"LegacyHidden\";\n case 8:\n return type === REACT_STRICT_MODE_TYPE ? \"StrictMode\" : \"Mode\";\n case 22:\n return \"Offscreen\";\n case 12:\n return \"Profiler\";\n case 21:\n return \"Scope\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 1:\n case 0:\n case 17:\n case 2:\n case 14:\n case 15:\n if (\"function\" === typeof type)\n return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n }\n return null;\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 2050) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(\"Unable to find node on an unmounted component.\");\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate)\n throw Error(\"Unable to find node on an unmounted component.\");\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$1 = parentA.child; child$1; ) {\n if (child$1 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$1 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$1 = child$1.sibling;\n }\n if (!didFindChild) {\n for (child$1 = parentB.child; child$1; ) {\n if (child$1 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$1 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$1 = child$1.sibling;\n }\n if (!didFindChild)\n throw Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n );\n }\n }\n if (a.alternate !== b)\n throw Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (3 !== a.tag)\n throw Error(\"Unable to find node on an unmounted component.\");\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n return null !== parent ? findCurrentHostFiberImpl(parent) : null;\n}\nfunction findCurrentHostFiberImpl(node) {\n if (5 === node.tag || 6 === node.tag) return node;\n for (node = node.child; null !== node; ) {\n var match = findCurrentHostFiberImpl(node);\n if (null !== match) return match;\n node = node.sibling;\n }\n return null;\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0,\n deepDifferOptions = { unsafelyIgnoreFunctions: !0 };\nfunction defaultDiffer(prevProp, nextProp) {\n return \"object\" !== typeof nextProp || null === nextProp\n ? !0\n : ReactNativePrivateInterface.deepDiffer(\n prevProp,\n nextProp,\n deepDifferOptions\n );\n}\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (isArrayImpl(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return isArrayImpl(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!isArrayImpl(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!isArrayImpl(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n defaultDiffer(prevProp, nextProp) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : defaultDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var propKey$3 in prevProps)\n void 0 === nextProps[propKey$3] &&\n (!(attributeConfig = validAttributes[propKey$3]) ||\n (updatePayload && void 0 !== updatePayload[propKey$3]) ||\n ((prevProp = prevProps[propKey$3]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[propKey$3] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[propKey$3] ||\n ((removedKeys[propKey$3] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar ReactNativeFiberHostComponent = (function() {\n function ReactNativeFiberHostComponent(tag, viewConfig) {\n this._nativeTag = tag;\n this._children = [];\n this.viewConfig = viewConfig;\n }\n var _proto = ReactNativeFiberHostComponent.prototype;\n _proto.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this);\n };\n _proto.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this);\n };\n _proto.measure = function(callback) {\n ReactNativePrivateInterface.UIManager.measure(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureInWindow = function(callback) {\n ReactNativePrivateInterface.UIManager.measureInWindow(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureLayout = function(relativeToNativeNode, onSuccess, onFail) {\n if (\"number\" === typeof relativeToNativeNode)\n var relativeNode = relativeToNativeNode;\n else\n relativeToNativeNode._nativeTag &&\n (relativeNode = relativeToNativeNode._nativeTag);\n null != relativeNode &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n this._nativeTag,\n relativeNode,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n };\n _proto.setNativeProps = function(nativeProps) {\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n this.viewConfig.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n this._nativeTag,\n this.viewConfig.uiViewClassName,\n nativeProps\n );\n };\n return ReactNativeFiberHostComponent;\n })(),\n scheduleCallback = Scheduler.unstable_scheduleCallback,\n cancelCallback = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority = Scheduler.unstable_NormalPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n rendererID = null,\n injectedHook = null;\nfunction onCommitRoot(root) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n try {\n injectedHook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 128 === (root.current.flags & 128)\n );\n } catch (err) {}\n}\nvar nextTransitionLane = 64,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 4194240;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return lanes & 130023424;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 1073741824;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n nonIdlePendingLanes = pendingLanes & 268435455;\n if (0 !== nonIdlePendingLanes) {\n var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;\n 0 !== nonIdleUnblockedLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes)));\n } else\n (nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes));\n if (0 === nextLanes) return 0;\n if (\n 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (pingedLanes = wipLanes & -wipLanes),\n suspendedLanes >= pingedLanes ||\n (16 === suspendedLanes && 0 !== (pingedLanes & 4194240)))\n )\n return wipLanes;\n 0 !== (nextLanes & 4) && (nextLanes |= pendingLanes & 16);\n wipLanes = root.entangledLanes;\n if (0 !== wipLanes)\n for (root = root.entanglements, wipLanes &= nextLanes; 0 < wipLanes; )\n (pendingLanes = 31 - clz32(wipLanes)),\n (suspendedLanes = 1 << pendingLanes),\n (nextLanes |= root[pendingLanes]),\n (wipLanes &= ~suspendedLanes);\n return nextLanes;\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n return currentTime + 250;\n case 8:\n case 16:\n case 32:\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return -1;\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction getLanesToRetrySynchronouslyOnError(root) {\n root = root.pendingLanes & -1073741825;\n return 0 !== root ? root : root & 1073741824 ? 1073741824 : 0;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated(root, updateLane, eventTime) {\n root.pendingLanes |= updateLane;\n 536870912 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0));\n root = root.eventTimes;\n updateLane = 31 - clz32(updateLane);\n root[updateLane] = eventTime;\n}\nfunction markRootFinished(root, remainingLanes) {\n var noLongerPendingLanes = root.pendingLanes & ~remainingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.mutableReadLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n remainingLanes = root.entanglements;\n var eventTimes = root.eventTimes;\n for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {\n var index$8 = 31 - clz32(noLongerPendingLanes),\n lane = 1 << index$8;\n remainingLanes[index$8] = 0;\n eventTimes[index$8] = -1;\n root[index$8] = -1;\n noLongerPendingLanes &= ~lane;\n }\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$9 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$9;\n (lane & entangledLanes) | (root[index$9] & entangledLanes) &&\n (root[index$9] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(lanes) {\n return 0 === lanes ? 32 : (31 - ((log(lanes) / LN2) | 0)) | 0;\n}\nvar currentUpdatePriority = 0;\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 1 < lanes\n ? 4 < lanes\n ? 0 !== (lanes & 268435455)\n ? 16\n : 536870912\n : 4\n : 1;\n}\nfunction shim() {\n throw Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nvar getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n UPDATE_SIGNAL = {},\n nextReactTag = 3;\nfunction allocateTag() {\n var tag = nextReactTag;\n 1 === tag % 10 && (tag += 2);\n nextReactTag = tag + 2;\n return tag;\n}\nfunction recursivelyUncacheFiberNode(node) {\n if (\"number\" === typeof node)\n instanceCache.delete(node), instanceProps.delete(node);\n else {\n var tag = node._nativeTag;\n instanceCache.delete(tag);\n instanceProps.delete(tag);\n node._children.forEach(recursivelyUncacheFiberNode);\n }\n}\nfunction finalizeInitialChildren(parentInstance) {\n if (0 === parentInstance._children.length) return !1;\n var nativeTags = parentInstance._children.map(function(child) {\n return \"number\" === typeof child ? child : child._nativeTag;\n });\n ReactNativePrivateInterface.UIManager.setChildren(\n parentInstance._nativeTag,\n nativeTags\n );\n return !1;\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout;\nfunction describeComponentFrame(name, source, ownerName) {\n source = \"\";\n ownerName && (source = \" (created by \" + ownerName + \")\");\n return \"\\n in \" + (name || \"Unknown\") + source;\n}\nfunction describeFunctionComponentFrame(fn, source) {\n return fn\n ? describeComponentFrame(fn.displayName || fn.name || null, source, null)\n : \"\";\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = createCursor(emptyContextObject),\n didPerformWorkStackCursor = createCursor(!1),\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext() {\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n );\n push(contextStackCursor, context);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n type = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in type))\n throw Error(\n (getComponentNameFromFiber(fiber) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n );\n return Object.assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n workInProgress =\n ((workInProgress = workInProgress.stateNode) &&\n workInProgress.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didPerformWorkStackCursor.current);\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n );\n didChange\n ? ((workInProgress = processChildContext(\n workInProgress,\n type,\n previousContext\n )),\n (instance.__reactInternalMemoizedMergedChildContext = workInProgress),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n push(contextStackCursor, workInProgress))\n : pop(didPerformWorkStackCursor);\n push(didPerformWorkStackCursor, didChange);\n}\nvar syncQueue = null,\n includesLegacySyncCallbacks = !1,\n isFlushingSyncQueue = !1;\nfunction flushSyncCallbacks() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0,\n previousUpdatePriority = currentUpdatePriority;\n try {\n var queue = syncQueue;\n for (currentUpdatePriority = 1; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n syncQueue = null;\n includesLegacySyncCallbacks = !1;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n error);\n } finally {\n (currentUpdatePriority = previousUpdatePriority),\n (isFlushingSyncQueue = !1);\n }\n }\n return null;\n}\nvar ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++)\n if (\n !hasOwnProperty.call(objB, keysA[keysB]) ||\n !objectIs(objA[keysA[keysB]], objB[keysA[keysB]])\n )\n return !1;\n return !0;\n}\nfunction describeFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return describeComponentFrame(fiber.type, null, null);\n case 16:\n return describeComponentFrame(\"Lazy\", null, null);\n case 13:\n return describeComponentFrame(\"Suspense\", null, null);\n case 19:\n return describeComponentFrame(\"SuspenseList\", null, null);\n case 0:\n case 2:\n case 15:\n return describeFunctionComponentFrame(fiber.type, null);\n case 11:\n return describeFunctionComponentFrame(fiber.type.render, null);\n case 1:\n return (fiber = describeFunctionComponentFrame(fiber.type, null)), fiber;\n default:\n return \"\";\n }\n}\nfunction getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info = \"\";\n do\n (info += describeFiber(workInProgress)),\n (workInProgress = workInProgress.return);\n while (workInProgress);\n return info;\n } catch (x) {\n return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = Object.assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n return baseProps;\n }\n return baseProps;\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastFullyObservedContext = null;\nfunction resetContextDependencies() {\n lastFullyObservedContext = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction popProvider(context) {\n var currentValue = valueCursor.current;\n pop(valueCursor);\n context._currentValue = currentValue;\n}\nfunction scheduleWorkOnParentPath(parent, renderLanes) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n if ((parent.childLanes & renderLanes) === renderLanes)\n if (\n null === alternate ||\n (alternate.childLanes & renderLanes) === renderLanes\n )\n break;\n else alternate.childLanes |= renderLanes;\n else\n (parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes);\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderLanes) {\n currentlyRenderingFiber = workInProgress;\n lastFullyObservedContext = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (0 !== (workInProgress.lanes & renderLanes) && (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context) {\n var value = context._currentValue;\n if (lastFullyObservedContext !== context)\n if (\n ((context = { context: context, memoizedValue: value, next: null }),\n null === lastContextDependency)\n ) {\n if (null === currentlyRenderingFiber)\n throw Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n lastContextDependency = context;\n currentlyRenderingFiber.dependencies = {\n lanes: 0,\n firstContext: context\n };\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar interleavedQueues = null,\n hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, interleaved: null, lanes: 0 },\n effects: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n effects: current.effects\n });\n}\nfunction createUpdate(eventTime, lane) {\n return {\n eventTime: eventTime,\n lane: lane,\n tag: 0,\n payload: null,\n callback: null,\n next: null\n };\n}\nfunction enqueueUpdate(fiber, update) {\n var updateQueue = fiber.updateQueue;\n null !== updateQueue &&\n ((updateQueue = updateQueue.shared),\n null !== workInProgressRoot &&\n 0 !== (fiber.mode & 1) &&\n 0 === (executionContext & 8)\n ? ((fiber = updateQueue.interleaved),\n null === fiber\n ? ((update.next = update),\n null === interleavedQueues\n ? (interleavedQueues = [updateQueue])\n : interleavedQueues.push(updateQueue))\n : ((update.next = fiber.next), (fiber.next = update)),\n (updateQueue.interleaved = update))\n : ((fiber = updateQueue.pending),\n null === fiber\n ? (update.next = update)\n : ((update.next = fiber.next), (fiber.next = update)),\n (updateQueue.pending = update)));\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194240))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n eventTime: queue.eventTime,\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: queue.callback,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n effects: current.effects\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance,\n renderLanes\n) {\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane,\n updateEventTime = pendingQueue.eventTime;\n if ((renderLanes & updateLane) === updateLane) {\n null !== current &&\n (current = current.next = {\n eventTime: updateEventTime,\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n updateEventTime = instance;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(\n updateEventTime,\n newState,\n updateLane\n );\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -16385) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(updateEventTime, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = Object.assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n null !== pendingQueue.callback &&\n 0 !== pendingQueue.lane &&\n ((workInProgress$jscomp$0.flags |= 64),\n (updateLane = queue.effects),\n null === updateLane\n ? (queue.effects = [pendingQueue])\n : updateLane.push(pendingQueue));\n } else\n (updateEventTime = {\n eventTime: updateEventTime,\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = updateEventTime),\n (lastPendingUpdate = newState))\n : (current = current.next = updateEventTime),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (updateLane = pendingQueue),\n (pendingQueue = updateLane.next),\n (updateLane.next = null),\n (queue.lastBaseUpdate = updateLane),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n props = queue.shared.interleaved;\n if (null !== props) {\n queue = props;\n do (lastBaseUpdate |= queue.lane), (queue = queue.next);\n while (queue !== props);\n } else null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n finishedWork = finishedQueue.effects;\n finishedQueue.effects = null;\n if (null !== finishedWork)\n for (\n finishedQueue = 0;\n finishedQueue < finishedWork.length;\n finishedQueue++\n ) {\n var effect = finishedWork[finishedQueue],\n callback = effect.callback;\n if (null !== callback) {\n effect.callback = null;\n if (\"function\" !== typeof callback)\n throw Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n callback\n );\n callback.call(instance);\n }\n }\n}\nvar emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : Object.assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternals)\n ? getNearestMountedFiber(component) === component\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n payload = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== payload && entangleTransitions(payload, inst, lane);\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n payload = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== payload && entangleTransitions(payload, inst, lane);\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n callback = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== callback && entangleTransitions(callback, inst, lane);\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternals = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(workInProgress, ctor, newProps, renderLanes) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n initializeUpdateQueue(workInProgress);\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n instance.state = workInProgress.memoizedState;\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n processUpdateQueue(workInProgress, newProps, instance, renderLanes),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4);\n}\nfunction coerceRef(returnFiber, current, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n if (element) {\n if (1 !== element.tag)\n throw Error(\n \"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\"\n );\n var inst = element.stateNode;\n }\n if (!inst)\n throw Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n );\n var stringRef = \"\" + returnFiber;\n if (\n null !== current &&\n null !== current.ref &&\n \"function\" === typeof current.ref &&\n current.ref._stringRef === stringRef\n )\n return current.ref;\n current = function(value) {\n var refs = inst.refs;\n refs === emptyRefsObject && (refs = inst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current._stringRef = stringRef;\n return current;\n }\n if (\"string\" !== typeof returnFiber)\n throw Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n );\n if (!element._owner)\n throw Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://reactjs.org/link/refs-must-have-owner for more information.\"\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects) return lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 2);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n );\n if (null !== current && current.elementType === elementType)\n return (\n (lanes = useFiber(current, element.props)),\n (lanes.ref = coerceRef(returnFiber, current, element)),\n (lanes.return = returnFiber),\n lanes\n );\n lanes = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n lanes.ref = coerceRef(returnFiber, current, element);\n lanes.return = returnFiber;\n return lanes;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(returnFiber, null, newChild)),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n lanes\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw Error(\"An iterable object provided no iterator.\");\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n return function(returnFiber, currentFirstChild, newChild, lanes) {\n var isUnkeyedTopLevelFragment =\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key;\n isUnkeyedTopLevelFragment && (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n var key = newChild.key;\n for (\n isUnkeyedTopLevelFragment = currentFirstChild;\n null !== isUnkeyedTopLevelFragment;\n\n ) {\n if (isUnkeyedTopLevelFragment.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === isUnkeyedTopLevelFragment.tag) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.props.children\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n } else if (isUnkeyedTopLevelFragment.elementType === key) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.props\n );\n currentFirstChild.ref = coerceRef(\n returnFiber,\n isUnkeyedTopLevelFragment,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, isUnkeyedTopLevelFragment);\n break;\n } else deleteChild(returnFiber, isUnkeyedTopLevelFragment);\n isUnkeyedTopLevelFragment = isUnkeyedTopLevelFragment.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (\n isUnkeyedTopLevelFragment = newChild.key;\n null !== currentFirstChild;\n\n ) {\n if (currentFirstChild.key === isUnkeyedTopLevelFragment)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || []\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(currentFirstChild, newChild)),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber)\n );\n if (\"undefined\" === typeof newChild && !isUnkeyedTopLevelFragment)\n switch (returnFiber.tag) {\n case 1:\n case 0:\n case 11:\n case 15:\n throw Error(\n (getComponentNameFromFiber(returnFiber) || \"Component\") +\n \"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.\"\n );\n }\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n };\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = createCursor(NO_CONTEXT),\n contextFiberStackCursor = createCursor(NO_CONTEXT),\n rootInstanceStackCursor = createCursor(NO_CONTEXT);\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor$1, NO_CONTEXT);\n pop(contextStackCursor$1);\n push(contextStackCursor$1, { isInAParentText: !1 });\n}\nfunction popHostContainer() {\n pop(contextStackCursor$1);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var JSCompiler_inline_result = fiber.type;\n JSCompiler_inline_result =\n \"AndroidTextInput\" === JSCompiler_inline_result ||\n \"RCTMultilineTextInputView\" === JSCompiler_inline_result ||\n \"RCTSinglelineTextInputView\" === JSCompiler_inline_result ||\n \"RCTText\" === JSCompiler_inline_result ||\n \"RCTVirtualText\" === JSCompiler_inline_result;\n JSCompiler_inline_result =\n context.isInAParentText !== JSCompiler_inline_result\n ? { isInAParentText: JSCompiler_inline_result }\n : context;\n context !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor$1, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1), pop(contextFiberStackCursor));\n}\nvar suspenseStackCursor = createCursor(0);\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (null !== state && (null === state.dehydrated || shim() || shim()))\n return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar workInProgressSources = [];\nfunction resetWorkInProgressVersions() {\n for (var i = 0; i < workInProgressSources.length; i++)\n workInProgressSources[i]._workInProgressVersionPrimary = null;\n workInProgressSources.length = 0;\n}\nvar ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig,\n renderLanes = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\nfunction throwInvalidHookError() {\n throw Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber$1 = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactCurrentDispatcher$1.current =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n current = Component(props, secondArg);\n if (didScheduleRenderPhaseUpdateDuringThisPass) {\n nextRenderLanes = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (!(25 > nextRenderLanes))\n throw Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n );\n nextRenderLanes += 1;\n workInProgressHook = currentHook = null;\n workInProgress.updateQueue = null;\n ReactCurrentDispatcher$1.current = HooksDispatcherOnRerender;\n current = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n workInProgress = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdate = !1;\n if (workInProgress)\n throw Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n );\n return current;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber$1.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber$1.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook)\n throw Error(\"Rendered more hooks than during the previous render.\");\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var current = currentHook,\n baseQueue = current.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n if (null !== baseQueue) {\n pendingQueue = baseQueue.next;\n current = current.baseState;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = pendingQueue;\n do {\n var updateLane = update.lane;\n if ((renderLanes & updateLane) === updateLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next = {\n lane: 0,\n action: update.action,\n eagerReducer: update.eagerReducer,\n eagerState: update.eagerState,\n next: null\n }),\n (current =\n update.eagerReducer === reducer\n ? update.eagerState\n : reducer(current, update.action));\n else {\n var clone = {\n lane: updateLane,\n action: update.action,\n eagerReducer: update.eagerReducer,\n eagerState: update.eagerState,\n next: null\n };\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = clone),\n (baseFirst = current))\n : (newBaseQueueLast = newBaseQueueLast.next = clone);\n currentlyRenderingFiber$1.lanes |= updateLane;\n workInProgressRootSkippedLanes |= updateLane;\n }\n update = update.next;\n } while (null !== update && update !== pendingQueue);\n null === newBaseQueueLast\n ? (baseFirst = current)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n objectIs(current, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = current;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = current;\n }\n reducer = queue.interleaved;\n if (null !== reducer) {\n baseQueue = reducer;\n do\n (pendingQueue = baseQueue.lane),\n (currentlyRenderingFiber$1.lanes |= pendingQueue),\n (workInProgressRootSkippedLanes |= pendingQueue),\n (baseQueue = baseQueue.next);\n while (baseQueue !== reducer);\n } else null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction readFromUnsubcribedMutableSource(root, source, getSnapshot) {\n var getVersion = source._getVersion;\n getVersion = getVersion(source._source);\n var JSCompiler_inline_result = source._workInProgressVersionPrimary;\n if (null !== JSCompiler_inline_result)\n root = JSCompiler_inline_result === getVersion;\n else if (\n ((root = root.mutableReadLanes), (root = (renderLanes & root) === root))\n )\n (source._workInProgressVersionPrimary = getVersion),\n workInProgressSources.push(source);\n if (root) return getSnapshot(source._source);\n workInProgressSources.push(source);\n throw Error(\n \"Cannot read from mutable source during the current render without tearing. This may be a bug in React. Please file an issue.\"\n );\n}\nfunction useMutableSource(hook, source, getSnapshot, subscribe) {\n var root = workInProgressRoot;\n if (null === root)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n var getVersion = source._getVersion,\n version = getVersion(source._source),\n dispatcher = ReactCurrentDispatcher$1.current,\n _dispatcher$useState = dispatcher.useState(function() {\n return readFromUnsubcribedMutableSource(root, source, getSnapshot);\n }),\n setSnapshot = _dispatcher$useState[1],\n snapshot = _dispatcher$useState[0];\n _dispatcher$useState = workInProgressHook;\n var memoizedState = hook.memoizedState,\n refs = memoizedState.refs,\n prevGetSnapshot = refs.getSnapshot,\n prevSource = memoizedState.source;\n memoizedState = memoizedState.subscribe;\n var fiber = currentlyRenderingFiber$1;\n hook.memoizedState = { refs: refs, source: source, subscribe: subscribe };\n dispatcher.useEffect(\n function() {\n refs.getSnapshot = getSnapshot;\n refs.setSnapshot = setSnapshot;\n var maybeNewVersion = getVersion(source._source);\n objectIs(version, maybeNewVersion) ||\n ((maybeNewVersion = getSnapshot(source._source)),\n objectIs(snapshot, maybeNewVersion) ||\n (setSnapshot(maybeNewVersion),\n (maybeNewVersion = requestUpdateLane(fiber)),\n (root.mutableReadLanes |= maybeNewVersion & root.pendingLanes)),\n markRootEntangled(root, root.mutableReadLanes));\n },\n [getSnapshot, source, subscribe]\n );\n dispatcher.useEffect(\n function() {\n return subscribe(source._source, function() {\n var latestGetSnapshot = refs.getSnapshot,\n latestSetSnapshot = refs.setSnapshot;\n try {\n latestSetSnapshot(latestGetSnapshot(source._source));\n var lane = requestUpdateLane(fiber);\n root.mutableReadLanes |= lane & root.pendingLanes;\n } catch (error) {\n latestSetSnapshot(function() {\n throw error;\n });\n }\n });\n },\n [source, subscribe]\n );\n (objectIs(prevGetSnapshot, getSnapshot) &&\n objectIs(prevSource, source) &&\n objectIs(memoizedState, subscribe)) ||\n ((hook = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: snapshot\n }),\n (hook.dispatch = setSnapshot = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n hook\n )),\n (_dispatcher$useState.queue = hook),\n (_dispatcher$useState.baseQueue = null),\n (snapshot = readFromUnsubcribedMutableSource(root, source, getSnapshot)),\n (_dispatcher$useState.memoizedState = _dispatcher$useState.baseState = snapshot));\n return snapshot;\n}\nfunction updateMutableSource(source, getSnapshot, subscribe) {\n var hook = updateWorkInProgressHook();\n return useMutableSource(hook, source, getSnapshot, subscribe);\n}\nfunction mountState(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = hook.queue = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n initialState = initialState.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n create = currentlyRenderingFiber$1.updateQueue;\n null === create\n ? ((create = { lastEffect: null }),\n (currentlyRenderingFiber$1.updateQueue = create),\n (create.lastEffect = tag.next = tag))\n : ((destroy = create.lastEffect),\n null === destroy\n ? (create.lastEffect = tag.next = tag)\n : ((deps = destroy.next),\n (destroy.next = tag),\n (tag.next = deps),\n (create.lastEffect = tag)));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(\n 1 | hookFlags,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n hook.memoizedState = pushEffect(hookFlags, create, destroy, deps);\n return;\n }\n }\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);\n}\nfunction mountEffect(create, deps) {\n return mountEffectImpl(1049600, 4, create, deps);\n}\nfunction updateEffect(create, deps) {\n return updateEffectImpl(1024, 4, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n 2,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n}\nfunction startTransition(setPending, callback) {\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority =\n 0 !== previousPriority && 4 > previousPriority ? previousPriority : 4;\n setPending(!0);\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setPending(!1), callback();\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$1.transition = prevTransition);\n }\n}\nfunction dispatchAction(fiber, queue, action) {\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(fiber),\n update = {\n lane: lane,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n },\n alternate = fiber.alternate;\n if (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n )\n (didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0),\n (lane = queue.pending),\n null === lane\n ? (update.next = update)\n : ((update.next = lane.next), (lane.next = update)),\n (queue.pending = update);\n else {\n if (\n null !== workInProgressRoot &&\n 0 !== (fiber.mode & 1) &&\n 0 === (executionContext & 8)\n ) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update),\n null === interleavedQueues\n ? (interleavedQueues = [queue])\n : interleavedQueues.push(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n } else\n (interleaved = queue.pending),\n null === interleaved\n ? (update.next = update)\n : ((update.next = interleaved.next), (interleaved.next = update)),\n (queue.pending = update);\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.eagerReducer = alternate;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState)) return;\n } catch (error) {\n } finally {\n }\n update = scheduleUpdateOnFiber(fiber, lane, eventTime);\n 0 !== (lane & 4194240) &&\n null !== update &&\n ((fiber = queue.lanes),\n (fiber &= update.pendingLanes),\n (lane |= fiber),\n (queue.lanes = lane),\n markRootEntangled(update, lane));\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useMutableSource: throwInvalidHookError,\n useOpaqueIdentifier: throwInvalidHookError,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n 2,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = hook.queue = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n reducer = reducer.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: mountState,\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _mountState = mountState(value),\n prevValue = _mountState[0],\n setValue = _mountState[1];\n mountEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var _mountState2 = mountState(!1),\n isPending = _mountState2[0];\n _mountState2 = startTransition.bind(null, _mountState2[1]);\n mountWorkInProgressHook().memoizedState = _mountState2;\n return [isPending, _mountState2];\n },\n useMutableSource: function(source, getSnapshot, subscribe) {\n var hook = mountWorkInProgressHook();\n hook.memoizedState = {\n refs: { getSnapshot: getSnapshot, setSnapshot: null },\n source: source,\n subscribe: subscribe\n };\n return useMutableSource(hook, source, getSnapshot, subscribe);\n },\n useOpaqueIdentifier: function() {\n throw Error(\"Not yet implemented\");\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function() {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _updateState = updateReducer(basicStateReducer),\n prevValue = _updateState[0],\n setValue = _updateState[1];\n updateEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var isPending = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useOpaqueIdentifier: function() {\n return updateReducer(basicStateReducer)[0];\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnRerender = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function() {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _rerenderState = rerenderReducer(basicStateReducer),\n prevValue = _rerenderState[0],\n setValue = _rerenderState[1];\n updateEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var isPending = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useOpaqueIdentifier: function() {\n return rerenderReducer(basicStateReducer)[0];\n },\n unstable_isNewReconciler: !1\n };\nfunction createCapturedValue(value, source) {\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw Error(\n \"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\"\n );\nfunction logCapturedError(boundary, errorInfo) {\n try {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog({\n componentStack: null !== errorInfo.stack ? errorInfo.stack : \"\",\n error: errorInfo.value,\n errorBoundary:\n null !== boundary && 1 === boundary.tag ? boundary.stateNode : null\n }) && console.error(errorInfo.value);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n lane.payload = { element: null };\n var error = errorInfo.value;\n lane.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logCapturedError(fiber, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n lane.payload = function() {\n logCapturedError(fiber, errorInfo);\n return getDerivedStateFromError(error);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (lane.callback = function() {\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this),\n logCapturedError(fiber, errorInfo));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return lane;\n}\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderLanes);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -1029),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n updateLanes,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n updateLanes,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (\n 0 === (updateLanes & renderLanes) &&\n ((updateLanes = type.memoizedProps),\n (Component = Component.compare),\n (Component = null !== Component ? Component : shallowEqual),\n Component(updateLanes, nextProps) && current.ref === workInProgress.ref)\n )\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n updateLanes,\n renderLanes\n) {\n if (\n null !== current &&\n shallowEqual(current.memoizedProps, nextProps) &&\n current.ref === workInProgress.ref\n ) {\n didReceiveUpdate = !1;\n if (0 === (renderLanes & updateLanes))\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n 0 !== (current.flags & 32768) && (didReceiveUpdate = !0);\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n if (\n \"hidden\" === nextProps.mode ||\n \"unstable-defer-without-hiding\" === nextProps.mode\n )\n if (0 === (workInProgress.mode & 1))\n (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= renderLanes);\n else {\n if (0 === (renderLanes & 1073741824))\n return (\n (current =\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes),\n (workInProgress.lanes = workInProgress.childLanes = 1073741824),\n (workInProgress.memoizedState = {\n baseLanes: current,\n cachePool: null\n }),\n (workInProgress.updateQueue = null),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= current),\n null\n );\n workInProgress.memoizedState = { baseLanes: 0, cachePool: null };\n nextProps = null !== prevState ? prevState.baseLanes : renderLanes;\n push(subtreeRenderLanesCursor, subtreeRenderLanes);\n subtreeRenderLanes |= nextProps;\n }\n else\n null !== prevState\n ? ((nextProps = prevState.baseLanes | renderLanes),\n (workInProgress.memoizedState = null))\n : (nextProps = renderLanes),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= nextProps);\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current && null !== ref) ||\n (null !== current && current.ref !== ref)\n )\n workInProgress.flags |= 256;\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderLanes);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n context,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -1029),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderLanes);\n if (null === workInProgress.stateNode)\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2)),\n constructClassInstance(workInProgress, Component, nextProps),\n mountClassInstance(workInProgress, Component, nextProps, renderLanes),\n (nextProps = !0);\n else if (null === current) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n oldContext = workInProgress.memoizedState;\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (nextProps = !1));\n } else {\n instance = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n oldProps = workInProgress.memoizedProps;\n contextType =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps);\n instance.props = contextType;\n hasNewLifecycles = workInProgress.pendingProps;\n oldState = instance.context;\n oldContext = Component.contextType;\n \"object\" === typeof oldContext && null !== oldContext\n ? (oldContext = readContext(oldContext))\n : ((oldContext = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (oldContext = getMaskedContext(workInProgress, oldContext)));\n var getDerivedStateFromProps$jscomp$0 = Component.getDerivedStateFromProps;\n (getDerivedStateFromProps =\n \"function\" === typeof getDerivedStateFromProps$jscomp$0 ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== hasNewLifecycles || oldState !== oldContext) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n oldContext\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n var newState = workInProgress.memoizedState;\n oldProps !== hasNewLifecycles ||\n oldState !== newState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps$jscomp$0 &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps$jscomp$0,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType,\n nextProps,\n oldState,\n newState,\n oldContext\n ) ||\n !1)\n ? (getDerivedStateFromProps ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(nextProps, newState, oldContext),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldContext\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 512))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 512),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (instance.props = nextProps),\n (instance.state = newState),\n (instance.context = oldContext),\n (nextProps = contextType))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 512),\n (nextProps = !1));\n }\n return finishClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderLanes\n );\n}\nfunction finishClassComponent(\n current,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderLanes\n) {\n markRef(current, workInProgress);\n var didCaptureError = 0 !== (workInProgress.flags & 128);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$1.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.flags |= 1;\n null !== current && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = { dehydrated: null, retryLane: 0 };\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: null };\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n showFallback = !1,\n JSCompiler_temp;\n (JSCompiler_temp = 0 !== (workInProgress.flags & 128)) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseContext & 2));\n JSCompiler_temp\n ? ((showFallback = !0), (workInProgress.flags &= -129))\n : (null !== current && null === current.memoizedState) ||\n void 0 === nextProps.fallback ||\n !0 === nextProps.unstable_avoidThisFallback ||\n (suspenseContext |= 1);\n push(suspenseStackCursor, suspenseContext & 1);\n if (null === current) {\n current = nextProps.children;\n suspenseContext = nextProps.fallback;\n if (showFallback)\n return (\n (current = mountSuspenseFallbackChildren(\n workInProgress,\n current,\n suspenseContext,\n renderLanes\n )),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n current\n );\n if (\"number\" === typeof nextProps.unstable_expectedLoadTime)\n return (\n (current = mountSuspenseFallbackChildren(\n workInProgress,\n current,\n suspenseContext,\n renderLanes\n )),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n (workInProgress.lanes = 4194304),\n current\n );\n renderLanes = createFiberFromOffscreen(\n { mode: \"visible\", children: current },\n workInProgress.mode,\n renderLanes,\n null\n );\n renderLanes.return = workInProgress;\n return (workInProgress.child = renderLanes);\n }\n if (null !== current.memoizedState) {\n if (showFallback)\n return (\n (nextProps = updateSuspenseFallbackChildren(\n current,\n workInProgress,\n nextProps.children,\n nextProps.fallback,\n renderLanes\n )),\n (showFallback = workInProgress.child),\n (suspenseContext = current.child.memoizedState),\n (showFallback.memoizedState =\n null === suspenseContext\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: suspenseContext.baseLanes | renderLanes,\n cachePool: null\n }),\n (showFallback.childLanes = current.childLanes & ~renderLanes),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n nextProps\n );\n renderLanes = updateSuspensePrimaryChildren(\n current,\n workInProgress,\n nextProps.children,\n renderLanes\n );\n workInProgress.memoizedState = null;\n return renderLanes;\n }\n if (showFallback)\n return (\n (nextProps = updateSuspenseFallbackChildren(\n current,\n workInProgress,\n nextProps.children,\n nextProps.fallback,\n renderLanes\n )),\n (showFallback = workInProgress.child),\n (suspenseContext = current.child.memoizedState),\n (showFallback.memoizedState =\n null === suspenseContext\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: suspenseContext.baseLanes | renderLanes,\n cachePool: null\n }),\n (showFallback.childLanes = current.childLanes & ~renderLanes),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n nextProps\n );\n renderLanes = updateSuspensePrimaryChildren(\n current,\n workInProgress,\n nextProps.children,\n renderLanes\n );\n workInProgress.memoizedState = null;\n return renderLanes;\n}\nfunction mountSuspenseFallbackChildren(\n workInProgress,\n primaryChildren,\n fallbackChildren,\n renderLanes\n) {\n var mode = workInProgress.mode,\n progressedPrimaryFragment = workInProgress.child;\n primaryChildren = { mode: \"hidden\", children: primaryChildren };\n 0 === (mode & 1) && null !== progressedPrimaryFragment\n ? ((progressedPrimaryFragment.childLanes = 0),\n (progressedPrimaryFragment.pendingProps = primaryChildren))\n : (progressedPrimaryFragment = createFiberFromOffscreen(\n primaryChildren,\n mode,\n 0,\n null\n ));\n fallbackChildren = createFiberFromFragment(\n fallbackChildren,\n mode,\n renderLanes,\n null\n );\n progressedPrimaryFragment.return = workInProgress;\n fallbackChildren.return = workInProgress;\n progressedPrimaryFragment.sibling = fallbackChildren;\n workInProgress.child = progressedPrimaryFragment;\n return fallbackChildren;\n}\nfunction updateSuspensePrimaryChildren(\n current,\n workInProgress,\n primaryChildren,\n renderLanes\n) {\n var currentPrimaryChildFragment = current.child;\n current = currentPrimaryChildFragment.sibling;\n primaryChildren = createWorkInProgress(currentPrimaryChildFragment, {\n mode: \"visible\",\n children: primaryChildren\n });\n 0 === (workInProgress.mode & 1) && (primaryChildren.lanes = renderLanes);\n primaryChildren.return = workInProgress;\n primaryChildren.sibling = null;\n null !== current &&\n ((renderLanes = workInProgress.deletions),\n null === renderLanes\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : renderLanes.push(current));\n return (workInProgress.child = primaryChildren);\n}\nfunction updateSuspenseFallbackChildren(\n current,\n workInProgress,\n primaryChildren,\n fallbackChildren,\n renderLanes\n) {\n var mode = workInProgress.mode;\n current = current.child;\n var currentFallbackChildFragment = current.sibling,\n primaryChildProps = { mode: \"hidden\", children: primaryChildren };\n 0 === (mode & 1) && workInProgress.child !== current\n ? ((primaryChildren = workInProgress.child),\n (primaryChildren.childLanes = 0),\n (primaryChildren.pendingProps = primaryChildProps),\n (workInProgress.deletions = null))\n : ((primaryChildren = createWorkInProgress(current, primaryChildProps)),\n (primaryChildren.subtreeFlags = current.subtreeFlags & 1835008));\n null !== currentFallbackChildFragment\n ? (fallbackChildren = createWorkInProgress(\n currentFallbackChildFragment,\n fallbackChildren\n ))\n : ((fallbackChildren = createFiberFromFragment(\n fallbackChildren,\n mode,\n renderLanes,\n null\n )),\n (fallbackChildren.flags |= 2));\n fallbackChildren.return = workInProgress;\n primaryChildren.return = workInProgress;\n primaryChildren.sibling = fallbackChildren;\n workInProgress.child = primaryChildren;\n return fallbackChildren;\n}\nfunction scheduleWorkOnFiber(fiber, renderLanes) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleWorkOnParentPath(fiber.return, renderLanes);\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(current, workInProgress, nextProps.children, renderLanes);\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & 2))\n (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128);\n else {\n if (null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleWorkOnFiber(current, renderLanes);\n else if (19 === current.tag) scheduleWorkOnFiber(current, renderLanes);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n nextProps &= 1;\n }\n push(suspenseStackCursor, nextProps);\n if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderLanes = workInProgress.child;\n for (revealOrder = null; null !== renderLanes; )\n (current = renderLanes.alternate),\n null !== current &&\n null === findFirstSuspended(current) &&\n (revealOrder = renderLanes),\n (renderLanes = renderLanes.sibling);\n renderLanes = revealOrder;\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode\n );\n break;\n case \"backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes)) return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(\"Resuming work not yet implemented.\");\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling = createWorkInProgress(\n current,\n current.pendingProps\n )),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nvar appendAllChildren,\n updateHostContainer,\n updateHostComponent$1,\n updateHostText$1;\nappendAllChildren = function(parent, workInProgress) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag || 6 === node.tag) parent._children.push(node.stateNode);\n else if (4 !== node.tag && null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nupdateHostContainer = function() {};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n current.memoizedProps !== newProps &&\n (requiredContext(contextStackCursor$1.current),\n (workInProgress.updateQueue = UPDATE_SIGNAL)) &&\n (workInProgress.flags |= 4);\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText && (workInProgress.flags |= 4);\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var lastTailNode$69 = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (lastTailNode$69 = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === lastTailNode$69\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode$69.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$70 = completedWork.child; null !== child$70; )\n (newChildLanes |= child$70.lanes | child$70.childLanes),\n (subtreeFlags |= child$70.subtreeFlags & 1835008),\n (subtreeFlags |= child$70.flags & 1835008),\n (child$70.return = completedWork),\n (child$70 = child$70.sibling);\n else\n for (child$70 = completedWork.child; null !== child$70; )\n (newChildLanes |= child$70.lanes | child$70.childLanes),\n (subtreeFlags |= child$70.subtreeFlags),\n (subtreeFlags |= child$70.flags),\n (child$70.return = completedWork),\n (child$70 = child$70.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n switch (workInProgress.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 3:\n return (\n (newProps = workInProgress.stateNode),\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n newProps.pendingContext &&\n ((newProps.context = newProps.pendingContext),\n (newProps.pendingContext = null)),\n (null !== current && null !== current.child) ||\n newProps.hydrate ||\n (workInProgress.flags |= 512),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 5:\n popHostContext(workInProgress);\n renderLanes = requiredContext(rootInstanceStackCursor.current);\n var type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n updateHostComponent$1(\n current,\n workInProgress,\n type,\n newProps,\n renderLanes\n ),\n current.ref !== workInProgress.ref && (workInProgress.flags |= 256);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n return null;\n }\n requiredContext(contextStackCursor$1.current);\n current = allocateTag();\n type = getViewConfigForType(type);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n newProps,\n type.validAttributes\n );\n ReactNativePrivateInterface.UIManager.createView(\n current,\n type.uiViewClassName,\n renderLanes,\n updatePayload\n );\n renderLanes = new ReactNativeFiberHostComponent(\n current,\n type,\n workInProgress\n );\n instanceCache.set(current, workInProgress);\n instanceProps.set(current, newProps);\n appendAllChildren(renderLanes, workInProgress, !1, !1);\n workInProgress.stateNode = renderLanes;\n finalizeInitialChildren(renderLanes) && (workInProgress.flags |= 4);\n null !== workInProgress.ref && (workInProgress.flags |= 256);\n }\n bubbleProperties(workInProgress);\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n updateHostText$1(\n current,\n workInProgress,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current = requiredContext(rootInstanceStackCursor.current);\n if (!requiredContext(contextStackCursor$1.current).isInAParentText)\n throw Error(\n \"Text strings must be rendered within a component.\"\n );\n renderLanes = allocateTag();\n ReactNativePrivateInterface.UIManager.createView(\n renderLanes,\n \"RCTRawText\",\n current,\n { text: newProps }\n );\n instanceCache.set(renderLanes, workInProgress);\n workInProgress.stateNode = renderLanes;\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n pop(suspenseStackCursor);\n newProps = workInProgress.memoizedState;\n if (0 !== (workInProgress.flags & 128))\n return (workInProgress.lanes = renderLanes), workInProgress;\n newProps = null !== newProps;\n renderLanes = !1;\n null !== current && (renderLanes = null !== current.memoizedState);\n if (newProps && !renderLanes && 0 !== (workInProgress.mode & 1))\n if (\n (null === current &&\n !0 !== workInProgress.memoizedProps.unstable_avoidThisFallback) ||\n 0 !== (suspenseStackCursor.current & 1)\n )\n 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3);\n else {\n if (\n 0 === workInProgressRootExitStatus ||\n 3 === workInProgressRootExitStatus\n )\n workInProgressRootExitStatus = 4;\n null === workInProgressRoot ||\n (0 === (workInProgressRootSkippedLanes & 268435455) &&\n 0 === (workInProgressRootUpdatedLanes & 268435455)) ||\n markRootSuspended$1(\n workInProgressRoot,\n workInProgressRootRenderLanes\n );\n }\n if (newProps || renderLanes) workInProgress.flags |= 4;\n bubbleProperties(workInProgress);\n return null;\n case 4:\n return (\n popHostContainer(),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type._context),\n bubbleProperties(workInProgress),\n null\n );\n case 17:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 19:\n pop(suspenseStackCursor);\n type = workInProgress.memoizedState;\n if (null === type) return bubbleProperties(workInProgress), null;\n newProps = 0 !== (workInProgress.flags & 128);\n updatePayload = type.rendering;\n if (null === updatePayload)\n if (newProps) cutOffTailIfNeeded(type, !1);\n else {\n if (\n 0 !== workInProgressRootExitStatus ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n updatePayload = findFirstSuspended(current);\n if (null !== updatePayload) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(type, !1);\n current = updatePayload.updateQueue;\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4));\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (newProps = workInProgress.child; null !== newProps; )\n (renderLanes = newProps),\n (type = current),\n (renderLanes.flags &= 1835010),\n (updatePayload = renderLanes.alternate),\n null === updatePayload\n ? ((renderLanes.childLanes = 0),\n (renderLanes.lanes = type),\n (renderLanes.child = null),\n (renderLanes.subtreeFlags = 0),\n (renderLanes.memoizedProps = null),\n (renderLanes.memoizedState = null),\n (renderLanes.updateQueue = null),\n (renderLanes.dependencies = null),\n (renderLanes.stateNode = null))\n : ((renderLanes.childLanes = updatePayload.childLanes),\n (renderLanes.lanes = updatePayload.lanes),\n (renderLanes.child = updatePayload.child),\n (renderLanes.subtreeFlags = 0),\n (renderLanes.deletions = null),\n (renderLanes.memoizedProps =\n updatePayload.memoizedProps),\n (renderLanes.memoizedState =\n updatePayload.memoizedState),\n (renderLanes.updateQueue = updatePayload.updateQueue),\n (renderLanes.type = updatePayload.type),\n (type = updatePayload.dependencies),\n (renderLanes.dependencies =\n null === type\n ? null\n : {\n lanes: type.lanes,\n firstContext: type.firstContext\n })),\n (newProps = newProps.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current & 1) | 2\n );\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== type.tail &&\n now() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!newProps)\n if (\n ((current = findFirstSuspended(updatePayload)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (newProps = !0),\n (current = current.updateQueue),\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4)),\n cutOffTailIfNeeded(type, !0),\n null === type.tail &&\n \"hidden\" === type.tailMode &&\n !updatePayload.alternate)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now() - type.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 1073741824 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n type.isBackwards\n ? ((updatePayload.sibling = workInProgress.child),\n (workInProgress.child = updatePayload))\n : ((current = type.last),\n null !== current\n ? (current.sibling = updatePayload)\n : (workInProgress.child = updatePayload),\n (type.last = updatePayload));\n }\n if (null !== type.tail)\n return (\n (workInProgress = type.tail),\n (type.rendering = workInProgress),\n (type.tail = workInProgress.sibling),\n (type.renderingStartTime = now()),\n (workInProgress.sibling = null),\n (current = suspenseStackCursor.current),\n push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),\n workInProgress\n );\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popRenderLanes(),\n (renderLanes = null !== workInProgress.memoizedState),\n null !== current &&\n (null !== current.memoizedState) !== renderLanes &&\n \"unstable-defer-without-hiding\" !== newProps.mode &&\n (workInProgress.flags |= 4),\n (renderLanes &&\n 0 === (subtreeRenderLanes & 1073741824) &&\n 0 !== (workInProgress.mode & 1)) ||\n bubbleProperties(workInProgress),\n null\n );\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction unwindWork(workInProgress) {\n switch (workInProgress.tag) {\n case 1:\n isContextProvider(workInProgress.type) && popContext();\n var flags = workInProgress.flags;\n return flags & 16384\n ? ((workInProgress.flags = (flags & -16385) | 128), workInProgress)\n : null;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n flags = workInProgress.flags;\n if (0 !== (flags & 128))\n throw Error(\n \"The root failed to unmount after an error. This is likely a bug in React. Please file an issue.\"\n );\n workInProgress.flags = (flags & -16385) | 128;\n return workInProgress;\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n return (\n pop(suspenseStackCursor),\n (flags = workInProgress.flags),\n flags & 16384\n ? ((workInProgress.flags = (flags & -16385) | 128), workInProgress)\n : null\n );\n case 19:\n return pop(suspenseStackCursor), null;\n case 4:\n return popHostContainer(), null;\n case 10:\n return popProvider(workInProgress.type._context), null;\n case 22:\n case 23:\n return popRenderLanes(), null;\n case 24:\n return null;\n default:\n return null;\n }\n}\nvar PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null;\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n else ref.current = null;\n}\nvar shouldFireAfterActiveInstanceBlur = !1;\nfunction commitBeforeMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; )\n if (\n ((root = nextEffect),\n (firstChild = root.child),\n 0 !== (root.subtreeFlags & 516) && null !== firstChild)\n )\n (firstChild.return = root), (nextEffect = firstChild);\n else\n for (; null !== nextEffect; ) {\n root = nextEffect;\n try {\n var current = root.alternate;\n if (0 !== (root.flags & 512))\n switch (root.tag) {\n case 0:\n case 11:\n case 15:\n break;\n case 1:\n if (null !== current) {\n var prevProps = current.memoizedProps,\n prevState = current.memoizedState,\n instance = root.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n root.elementType === root.type\n ? prevProps\n : resolveDefaultProps(root.type, prevProps),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n break;\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n firstChild = root.sibling;\n if (null !== firstChild) {\n firstChild.return = root.return;\n nextEffect = firstChild;\n break;\n }\n nextEffect = root.return;\n }\n current = shouldFireAfterActiveInstanceBlur;\n shouldFireAfterActiveInstanceBlur = !1;\n return current;\n}\nfunction commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor$jscomp$0\n) {\n var updateQueue = finishedWork.updateQueue;\n updateQueue = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== updateQueue) {\n var effect = (updateQueue = updateQueue.next);\n do {\n if ((effect.tag & flags) === flags) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n if (void 0 !== destroy) {\n var current = finishedWork,\n nearestMountedAncestor = nearestMountedAncestor$jscomp$0;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n }\n effect = effect.next;\n } while (effect !== updateQueue);\n }\n}\nfunction commitHookEffectListMount(tag, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & tag) === tag) {\n var create$82 = effect.create;\n effect.destroy = create$82();\n }\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction hideOrUnhideAllChildren(finishedWork, isHidden) {\n for (var hostSubtreeRoot = null, node = finishedWork; ; ) {\n if (5 === node.tag) {\n if (null === hostSubtreeRoot) {\n hostSubtreeRoot = node;\n var instance = node.stateNode;\n if (isHidden) {\n var viewConfig = instance.viewConfig;\n var updatePayload = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n viewConfig.validAttributes\n );\n ReactNativePrivateInterface.UIManager.updateView(\n instance._nativeTag,\n viewConfig.uiViewClassName,\n updatePayload\n );\n } else {\n instance = node.stateNode;\n updatePayload = node.memoizedProps;\n viewConfig = instance.viewConfig;\n var prevProps = Object.assign({}, updatePayload, {\n style: [updatePayload.style, { display: \"none\" }]\n });\n updatePayload = diffProperties(\n null,\n prevProps,\n updatePayload,\n viewConfig.validAttributes\n );\n ReactNativePrivateInterface.UIManager.updateView(\n instance._nativeTag,\n viewConfig.uiViewClassName,\n updatePayload\n );\n }\n }\n } else if (6 === node.tag) {\n if (null === hostSubtreeRoot) throw Error(\"Not yet implemented.\");\n } else if (\n ((22 !== node.tag && 23 !== node.tag) ||\n null === node.memoizedState ||\n node === finishedWork) &&\n null !== node.child\n ) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return;\n hostSubtreeRoot === node && (hostSubtreeRoot = null);\n node = node.return;\n }\n hostSubtreeRoot === node && (hostSubtreeRoot = null);\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nfunction commitUnmount(finishedRoot, current, nearestMountedAncestor$jscomp$0) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberUnmount)\n try {\n injectedHook.onCommitFiberUnmount(rendererID, current);\n } catch (err) {}\n switch (current.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n finishedRoot = current.updateQueue;\n if (\n null !== finishedRoot &&\n ((finishedRoot = finishedRoot.lastEffect), null !== finishedRoot)\n ) {\n var effect = (finishedRoot = finishedRoot.next);\n do {\n var _effect = effect,\n destroy = _effect.destroy;\n _effect = _effect.tag;\n if (void 0 !== destroy && 0 !== (_effect & 2)) {\n _effect = current;\n var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(_effect, nearestMountedAncestor, error);\n }\n }\n effect = effect.next;\n } while (effect !== finishedRoot);\n }\n break;\n case 1:\n safelyDetachRef(current, nearestMountedAncestor$jscomp$0);\n finishedRoot = current.stateNode;\n if (\"function\" === typeof finishedRoot.componentWillUnmount)\n try {\n (finishedRoot.props = current.memoizedProps),\n (finishedRoot.state = current.memoizedState),\n finishedRoot.componentWillUnmount();\n } catch (unmountError) {\n captureCommitPhaseError(\n current,\n nearestMountedAncestor$jscomp$0,\n unmountError\n );\n }\n break;\n case 5:\n safelyDetachRef(current, nearestMountedAncestor$jscomp$0);\n break;\n case 4:\n unmountHostComponents(\n finishedRoot,\n current,\n nearestMountedAncestor$jscomp$0\n );\n }\n}\nfunction detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n fiber.stateNode = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n}\nfunction isHostParent(fiber) {\n return 5 === fiber.tag || 3 === fiber.tag || 4 === fiber.tag;\n}\nfunction commitPlacement(finishedWork) {\n a: {\n for (var parent = finishedWork.return; null !== parent; ) {\n if (isHostParent(parent)) break a;\n parent = parent.return;\n }\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n var parentFiber = parent;\n parent = parentFiber.stateNode;\n switch (parentFiber.tag) {\n case 5:\n var isContainer = !1;\n break;\n case 3:\n parent = parent.containerInfo;\n isContainer = !0;\n break;\n case 4:\n parent = parent.containerInfo;\n isContainer = !0;\n break;\n default:\n throw Error(\n \"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n parentFiber.flags & 32 && (parentFiber.flags &= -33);\n a: b: for (parentFiber = finishedWork; ; ) {\n for (; null === parentFiber.sibling; ) {\n if (null === parentFiber.return || isHostParent(parentFiber.return)) {\n parentFiber = null;\n break a;\n }\n parentFiber = parentFiber.return;\n }\n parentFiber.sibling.return = parentFiber.return;\n for (\n parentFiber = parentFiber.sibling;\n 5 !== parentFiber.tag && 6 !== parentFiber.tag && 18 !== parentFiber.tag;\n\n ) {\n if (parentFiber.flags & 2) continue b;\n if (null === parentFiber.child || 4 === parentFiber.tag) continue b;\n else\n (parentFiber.child.return = parentFiber),\n (parentFiber = parentFiber.child);\n }\n if (!(parentFiber.flags & 2)) {\n parentFiber = parentFiber.stateNode;\n break a;\n }\n }\n isContainer\n ? insertOrAppendPlacementNodeIntoContainer(\n finishedWork,\n parentFiber,\n parent\n )\n : insertOrAppendPlacementNode(finishedWork, parentFiber, parent);\n}\nfunction insertOrAppendPlacementNodeIntoContainer(node, before, parent) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n if (((node = node.stateNode), before)) {\n if (\"number\" === typeof parent)\n throw Error(\"Container does not support insertBefore operation\");\n } else\n ReactNativePrivateInterface.UIManager.setChildren(parent, [\n \"number\" === typeof node ? node : node._nativeTag\n ]);\n else if (4 !== tag && ((node = node.child), null !== node))\n for (\n insertOrAppendPlacementNodeIntoContainer(node, before, parent),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNodeIntoContainer(node, before, parent),\n (node = node.sibling);\n}\nfunction insertOrAppendPlacementNode(node, before, parent) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n if (((node = node.stateNode), before)) {\n tag = parent._children;\n var index = tag.indexOf(node);\n 0 <= index\n ? (tag.splice(index, 1),\n (before = tag.indexOf(before)),\n tag.splice(before, 0, node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [index],\n [before],\n [],\n [],\n []\n ))\n : ((before = tag.indexOf(before)),\n tag.splice(before, 0, node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [],\n [],\n [\"number\" === typeof node ? node : node._nativeTag],\n [before],\n []\n ));\n } else\n (before = \"number\" === typeof node ? node : node._nativeTag),\n (tag = parent._children),\n (index = tag.indexOf(node)),\n 0 <= index\n ? (tag.splice(index, 1),\n tag.push(node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [index],\n [tag.length - 1],\n [],\n [],\n []\n ))\n : (tag.push(node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [],\n [],\n [before],\n [tag.length - 1],\n []\n ));\n else if (4 !== tag && ((node = node.child), null !== node))\n for (\n insertOrAppendPlacementNode(node, before, parent), node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNode(node, before, parent), (node = node.sibling);\n}\nfunction unmountHostComponents(\n finishedRoot$jscomp$0,\n current,\n nearestMountedAncestor$jscomp$0\n) {\n for (\n var node = current,\n currentParentIsValid = !1,\n currentParent,\n currentParentIsContainer;\n ;\n\n ) {\n if (!currentParentIsValid) {\n currentParentIsValid = node.return;\n a: for (;;) {\n if (null === currentParentIsValid)\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n currentParent = currentParentIsValid.stateNode;\n switch (currentParentIsValid.tag) {\n case 5:\n currentParentIsContainer = !1;\n break a;\n case 3:\n currentParent = currentParent.containerInfo;\n currentParentIsContainer = !0;\n break a;\n case 4:\n currentParent = currentParent.containerInfo;\n currentParentIsContainer = !0;\n break a;\n }\n currentParentIsValid = currentParentIsValid.return;\n }\n currentParentIsValid = !0;\n }\n if (5 === node.tag || 6 === node.tag) {\n a: for (\n var finishedRoot = finishedRoot$jscomp$0,\n root = node,\n nearestMountedAncestor = nearestMountedAncestor$jscomp$0,\n node$jscomp$0 = root;\n ;\n\n )\n if (\n (commitUnmount(finishedRoot, node$jscomp$0, nearestMountedAncestor),\n null !== node$jscomp$0.child && 4 !== node$jscomp$0.tag)\n )\n (node$jscomp$0.child.return = node$jscomp$0),\n (node$jscomp$0 = node$jscomp$0.child);\n else {\n if (node$jscomp$0 === root) break a;\n for (; null === node$jscomp$0.sibling; ) {\n if (null === node$jscomp$0.return || node$jscomp$0.return === root)\n break a;\n node$jscomp$0 = node$jscomp$0.return;\n }\n node$jscomp$0.sibling.return = node$jscomp$0.return;\n node$jscomp$0 = node$jscomp$0.sibling;\n }\n currentParentIsContainer\n ? ((finishedRoot = currentParent),\n recursivelyUncacheFiberNode(node.stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n finishedRoot,\n [],\n [],\n [],\n [],\n [0]\n ))\n : ((finishedRoot = currentParent),\n (nearestMountedAncestor = node.stateNode),\n recursivelyUncacheFiberNode(nearestMountedAncestor),\n (root = finishedRoot._children),\n (nearestMountedAncestor = root.indexOf(nearestMountedAncestor)),\n root.splice(nearestMountedAncestor, 1),\n ReactNativePrivateInterface.UIManager.manageChildren(\n finishedRoot._nativeTag,\n [],\n [],\n [],\n [],\n [nearestMountedAncestor]\n ));\n } else if (4 === node.tag) {\n if (null !== node.child) {\n currentParent = node.stateNode.containerInfo;\n currentParentIsContainer = !0;\n node.child.return = node;\n node = node.child;\n continue;\n }\n } else if (\n (commitUnmount(\n finishedRoot$jscomp$0,\n node,\n nearestMountedAncestor$jscomp$0\n ),\n null !== node.child)\n ) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === current) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === current) return;\n node = node.return;\n 4 === node.tag && (currentParentIsValid = !1);\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nfunction commitWork(current, finishedWork) {\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectListUnmount(3, finishedWork, finishedWork.return);\n return;\n case 1:\n return;\n case 5:\n var instance = finishedWork.stateNode;\n if (null != instance) {\n var newProps = finishedWork.memoizedProps;\n current = null !== current ? current.memoizedProps : newProps;\n var updatePayload = finishedWork.updateQueue;\n finishedWork.updateQueue = null;\n null !== updatePayload &&\n ((finishedWork = instance.viewConfig),\n instanceProps.set(instance._nativeTag, newProps),\n (newProps = diffProperties(\n null,\n current,\n newProps,\n finishedWork.validAttributes\n )),\n null != newProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n instance._nativeTag,\n finishedWork.uiViewClassName,\n newProps\n ));\n }\n return;\n case 6:\n if (null === finishedWork.stateNode)\n throw Error(\n \"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\"\n );\n ReactNativePrivateInterface.UIManager.updateView(\n finishedWork.stateNode,\n \"RCTRawText\",\n { text: finishedWork.memoizedProps }\n );\n return;\n case 3:\n return;\n case 12:\n return;\n case 13:\n null !== finishedWork.memoizedState &&\n ((globalMostRecentFallbackTime = now()),\n hideOrUnhideAllChildren(finishedWork.child, !0));\n attachSuspenseRetryListeners(finishedWork);\n return;\n case 19:\n attachSuspenseRetryListeners(finishedWork);\n return;\n case 17:\n return;\n case 22:\n case 23:\n hideOrUnhideAllChildren(\n finishedWork,\n null !== finishedWork.memoizedState\n );\n return;\n }\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var wakeables = finishedWork.updateQueue;\n if (null !== wakeables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n wakeables.forEach(function(wakeable) {\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n retryCache.has(wakeable) ||\n (retryCache.add(wakeable), wakeable.then(retry, retry));\n });\n }\n}\nfunction commitMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; ) {\n firstChild = nextEffect;\n var deletions = firstChild.deletions;\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i];\n try {\n unmountHostComponents(root, childToDelete, firstChild);\n var alternate = childToDelete.alternate;\n null !== alternate && (alternate.return = null);\n childToDelete.return = null;\n } catch (error) {\n captureCommitPhaseError(childToDelete, firstChild, error);\n }\n }\n deletions = firstChild.child;\n if (0 !== (firstChild.subtreeFlags & 6454) && null !== deletions)\n (deletions.return = firstChild), (nextEffect = deletions);\n else\n for (; null !== nextEffect; ) {\n firstChild = nextEffect;\n try {\n var flags = firstChild.flags;\n if (flags & 256) {\n var current = firstChild.alternate;\n if (null !== current) {\n var currentRef = current.ref;\n null !== currentRef &&\n (\"function\" === typeof currentRef\n ? currentRef(null)\n : (currentRef.current = null));\n }\n }\n switch (flags & 2054) {\n case 2:\n commitPlacement(firstChild);\n firstChild.flags &= -3;\n break;\n case 6:\n commitPlacement(firstChild);\n firstChild.flags &= -3;\n commitWork(firstChild.alternate, firstChild);\n break;\n case 2048:\n firstChild.flags &= -2049;\n break;\n case 2052:\n firstChild.flags &= -2049;\n commitWork(firstChild.alternate, firstChild);\n break;\n case 4:\n commitWork(firstChild.alternate, firstChild);\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n deletions = firstChild.sibling;\n if (null !== deletions) {\n deletions.return = firstChild.return;\n nextEffect = deletions;\n break;\n }\n nextEffect = firstChild.return;\n }\n }\n}\nfunction commitLayoutEffects(finishedWork) {\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n var fiber = nextEffect,\n firstChild = fiber.child;\n if (0 !== (fiber.subtreeFlags & 324) && null !== firstChild)\n (firstChild.return = fiber), (nextEffect = firstChild);\n else\n for (fiber = finishedWork; null !== nextEffect; ) {\n firstChild = nextEffect;\n if (0 !== (firstChild.flags & 324)) {\n var current = firstChild.alternate;\n try {\n if (0 !== (firstChild.flags & 68))\n switch (firstChild.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(3, firstChild);\n break;\n case 1:\n var instance = firstChild.stateNode;\n if (firstChild.flags & 4)\n if (null === current) instance.componentDidMount();\n else {\n var prevProps =\n firstChild.elementType === firstChild.type\n ? current.memoizedProps\n : resolveDefaultProps(\n firstChild.type,\n current.memoizedProps\n );\n instance.componentDidUpdate(\n prevProps,\n current.memoizedState,\n instance.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = firstChild.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(firstChild, updateQueue, instance);\n break;\n case 3:\n var updateQueue$83 = firstChild.updateQueue;\n if (null !== updateQueue$83) {\n current = null;\n if (null !== firstChild.child)\n switch (firstChild.child.tag) {\n case 5:\n current = firstChild.child.stateNode;\n break;\n case 1:\n current = firstChild.child.stateNode;\n }\n commitUpdateQueue(firstChild, updateQueue$83, current);\n }\n break;\n case 5:\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n break;\n case 19:\n case 17:\n case 21:\n case 22:\n case 23:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (firstChild.flags & 256) {\n current = void 0;\n var ref = firstChild.ref;\n if (null !== ref) {\n var instance$jscomp$0 = firstChild.stateNode;\n switch (firstChild.tag) {\n case 5:\n current = instance$jscomp$0;\n break;\n default:\n current = instance$jscomp$0;\n }\n \"function\" === typeof ref\n ? ref(current)\n : (ref.current = current);\n }\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n }\n if (firstChild === fiber) {\n nextEffect = null;\n break;\n }\n current = firstChild.sibling;\n if (null !== current) {\n current.return = firstChild.return;\n nextEffect = current;\n break;\n }\n nextEffect = firstChild.return;\n }\n }\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig,\n executionContext = 0,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n subtreeRenderLanes = 0,\n subtreeRenderLanesCursor = createCursor(0),\n workInProgressRootExitStatus = 0,\n workInProgressRootFatalError = null,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n globalMostRecentFallbackTime = 0,\n workInProgressRootRenderTargetTime = Infinity,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsLanes = 0,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = -1,\n currentEventTransitionLane = 0;\nfunction requestEventTime() {\n return 0 !== (executionContext & 24)\n ? now()\n : -1 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = now());\n}\nfunction requestUpdateLane(fiber) {\n if (0 === (fiber.mode & 1)) return 1;\n if (0 !== (executionContext & 8) && 0 !== workInProgressRootRenderLanes)\n return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;\n if (0 !== ReactCurrentBatchConfig.transition)\n return (\n 0 === currentEventTransitionLane &&\n ((fiber = nextTransitionLane),\n (nextTransitionLane <<= 1),\n 0 === (nextTransitionLane & 4194240) && (nextTransitionLane = 64),\n (currentEventTransitionLane = fiber)),\n currentEventTransitionLane\n );\n fiber = currentUpdatePriority;\n return 0 !== fiber ? fiber : 16;\n}\nfunction scheduleUpdateOnFiber(fiber, lane, eventTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n ));\n var root = markUpdateLaneFromFiberToRoot(fiber, lane);\n if (null === root) return null;\n markRootUpdated(root, lane, eventTime);\n root === workInProgressRoot &&\n (0 === (executionContext & 8) && (workInProgressRootUpdatedLanes |= lane),\n 4 === workInProgressRootExitStatus &&\n markRootSuspended$1(root, workInProgressRootRenderLanes));\n 1 === lane\n ? 0 !== (executionContext & 4) && 0 === (executionContext & 24)\n ? performSyncWorkOnRoot(root)\n : (ensureRootIsScheduled(root, eventTime),\n 0 === executionContext &&\n 0 === (fiber.mode & 1) &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks()))\n : ensureRootIsScheduled(root, eventTime);\n return root;\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n alternate = sourceFiber;\n for (sourceFiber = sourceFiber.return; null !== sourceFiber; )\n (sourceFiber.childLanes |= lane),\n (alternate = sourceFiber.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n (alternate = sourceFiber),\n (sourceFiber = sourceFiber.return);\n return 3 === alternate.tag ? alternate.stateNode : null;\n}\nfunction ensureRootIsScheduled(root, currentTime) {\n for (\n var existingCallbackNode = root.callbackNode,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes;\n 0 < lanes;\n\n ) {\n var index$6 = 31 - clz32(lanes),\n lane = 1 << index$6,\n expirationTime = expirationTimes[index$6];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index$6] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n suspendedLanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === suspendedLanes)\n null !== existingCallbackNode && cancelCallback(existingCallbackNode),\n (root.callbackNode = null),\n (root.callbackPriority = 0);\n else if (\n ((currentTime = suspendedLanes & -suspendedLanes),\n root.callbackPriority !== currentTime)\n ) {\n null != existingCallbackNode && cancelCallback(existingCallbackNode);\n if (1 === currentTime)\n 0 === root.tag\n ? ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n (includesLegacySyncCallbacks = !0),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode))\n : ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n (existingCallbackNode = null);\n else {\n switch (lanesToEventPriority(suspendedLanes)) {\n case 1:\n existingCallbackNode = ImmediatePriority;\n break;\n case 4:\n existingCallbackNode = UserBlockingPriority;\n break;\n case 16:\n existingCallbackNode = NormalPriority;\n break;\n case 536870912:\n existingCallbackNode = IdlePriority;\n break;\n default:\n existingCallbackNode = NormalPriority;\n }\n existingCallbackNode = scheduleCallback(\n existingCallbackNode,\n performConcurrentWorkOnRoot.bind(null, root)\n );\n }\n root.callbackPriority = currentTime;\n root.callbackNode = existingCallbackNode;\n }\n}\nfunction performConcurrentWorkOnRoot(root, didTimeout) {\n currentEventTime = -1;\n currentEventTransitionLane = 0;\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n var originalCallbackNode = root.callbackNode;\n if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var lanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === lanes) return null;\n var JSCompiler_inline_result =\n 0 !== (lanes & root.expiredLanes) ? !1 : 0 === (lanes & 30);\n if (JSCompiler_inline_result && !didTimeout) {\n didTimeout = lanes;\n JSCompiler_inline_result = executionContext;\n executionContext |= 8;\n var prevDispatcher = pushDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== didTimeout\n )\n (workInProgressRootRenderTargetTime = now() + 500),\n prepareFreshStack(root, didTimeout);\n do\n try {\n workLoopConcurrent();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n ReactCurrentDispatcher$2.current = prevDispatcher;\n executionContext = JSCompiler_inline_result;\n null !== workInProgress\n ? (didTimeout = 0)\n : ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n (didTimeout = workInProgressRootExitStatus));\n } else didTimeout = renderRootSync(root, lanes);\n if (0 !== didTimeout) {\n 2 === didTimeout &&\n ((executionContext |= 32),\n root.hydrate && (root.hydrate = !1),\n (JSCompiler_inline_result = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== JSCompiler_inline_result &&\n ((lanes = JSCompiler_inline_result),\n (didTimeout = renderRootSync(root, JSCompiler_inline_result))));\n if (1 === didTimeout)\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n switch (didTimeout) {\n case 0:\n case 1:\n throw Error(\"Root did not complete. This is a bug in React.\");\n case 2:\n commitRoot(root);\n break;\n case 3:\n markRootSuspended$1(root, lanes);\n if (\n (lanes & 130023424) === lanes &&\n ((didTimeout = globalMostRecentFallbackTime + 500 - now()),\n 10 < didTimeout)\n ) {\n if (0 !== getNextLanes(root, 0)) break;\n JSCompiler_inline_result = root.suspendedLanes;\n if ((JSCompiler_inline_result & lanes) !== lanes) {\n requestEventTime();\n root.pingedLanes |= root.suspendedLanes & JSCompiler_inline_result;\n break;\n }\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root),\n didTimeout\n );\n break;\n }\n commitRoot(root);\n break;\n case 4:\n markRootSuspended$1(root, lanes);\n if ((lanes & 4194240) === lanes) break;\n didTimeout = root.eventTimes;\n for (JSCompiler_inline_result = -1; 0 < lanes; ) {\n var index$5 = 31 - clz32(lanes);\n prevDispatcher = 1 << index$5;\n index$5 = didTimeout[index$5];\n index$5 > JSCompiler_inline_result &&\n (JSCompiler_inline_result = index$5);\n lanes &= ~prevDispatcher;\n }\n lanes = JSCompiler_inline_result;\n lanes = now() - lanes;\n lanes =\n (120 > lanes\n ? 120\n : 480 > lanes\n ? 480\n : 1080 > lanes\n ? 1080\n : 1920 > lanes\n ? 1920\n : 3e3 > lanes\n ? 3e3\n : 4320 > lanes\n ? 4320\n : 1960 * ceil(lanes / 1960)) - lanes;\n if (10 < lanes) {\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root),\n lanes\n );\n break;\n }\n commitRoot(root);\n break;\n case 5:\n commitRoot(root);\n break;\n default:\n throw Error(\"Unknown root exit status.\");\n }\n }\n ensureRootIsScheduled(root, now());\n return root.callbackNode === originalCallbackNode\n ? performConcurrentWorkOnRoot.bind(null, root)\n : null;\n}\nfunction markRootSuspended$1(root, suspendedLanes) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n for (root = root.expirationTimes; 0 < suspendedLanes; ) {\n var index$7 = 31 - clz32(suspendedLanes),\n lane = 1 << index$7;\n root[index$7] = -1;\n suspendedLanes &= ~lane;\n }\n}\nfunction performSyncWorkOnRoot(root) {\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n flushPassiveEffects();\n var lanes = getNextLanes(root, 0);\n if (0 === (lanes & 1)) return ensureRootIsScheduled(root, now()), null;\n var exitStatus = renderRootSync(root, lanes);\n if (0 !== root.tag && 2 === exitStatus) {\n executionContext |= 32;\n root.hydrate && (root.hydrate = !1);\n var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);\n 0 !== errorRetryLanes &&\n ((lanes = errorRetryLanes), (exitStatus = renderRootSync(root, lanes)));\n }\n if (1 === exitStatus)\n throw ((exitStatus = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n exitStatus);\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n commitRoot(root);\n ensureRootIsScheduled(root, now());\n return null;\n}\nfunction popRenderLanes() {\n subtreeRenderLanes = subtreeRenderLanesCursor.current;\n pop(subtreeRenderLanesCursor);\n}\nfunction prepareFreshStack(root, lanes) {\n root.finishedWork = null;\n root.finishedLanes = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n switch (interruptedWork.tag) {\n case 1:\n interruptedWork = interruptedWork.type.childContextTypes;\n null !== interruptedWork &&\n void 0 !== interruptedWork &&\n popContext();\n break;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer();\n break;\n case 13:\n pop(suspenseStackCursor);\n break;\n case 19:\n pop(suspenseStackCursor);\n break;\n case 10:\n popProvider(interruptedWork.type._context);\n break;\n case 22:\n case 23:\n popRenderLanes();\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes = subtreeRenderLanes = lanes;\n workInProgressRootExitStatus = 0;\n workInProgressRootFatalError = null;\n workInProgressRootPingedLanes = workInProgressRootUpdatedLanes = workInProgressRootSkippedLanes = 0;\n if (null !== interleavedQueues) {\n for (root = 0; root < interleavedQueues.length; root++)\n if (\n ((lanes = interleavedQueues[root]),\n (timeoutHandle = lanes.interleaved),\n null !== timeoutHandle)\n ) {\n lanes.interleaved = null;\n interruptedWork = timeoutHandle.next;\n var lastPendingUpdate = lanes.pending;\n if (null !== lastPendingUpdate) {\n var firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = interruptedWork;\n timeoutHandle.next = firstPendingUpdate;\n }\n lanes.pending = timeoutHandle;\n }\n interleavedQueues = null;\n }\n}\nfunction handleError(root$jscomp$0, thrownValue) {\n do {\n var erroredWork = workInProgress;\n try {\n resetContextDependencies();\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n if (didScheduleRenderPhaseUpdate) {\n for (\n var hook = currentlyRenderingFiber$1.memoizedState;\n null !== hook;\n\n ) {\n var queue = hook.queue;\n null !== queue && (queue.pending = null);\n hook = hook.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n ReactCurrentOwner$2.current = null;\n if (null === erroredWork || null === erroredWork.return) {\n workInProgressRootExitStatus = 1;\n workInProgressRootFatalError = thrownValue;\n workInProgress = null;\n break;\n }\n a: {\n var root = root$jscomp$0,\n returnFiber = erroredWork.return,\n sourceFiber = erroredWork,\n value = thrownValue;\n thrownValue = workInProgressRootRenderLanes;\n sourceFiber.flags |= 8192;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var wakeable = value,\n tag = sourceFiber.tag;\n if (\n 0 === (sourceFiber.mode & 1) &&\n (0 === tag || 11 === tag || 15 === tag)\n ) {\n var currentSource = sourceFiber.alternate;\n currentSource\n ? ((sourceFiber.updateQueue = currentSource.updateQueue),\n (sourceFiber.memoizedState = currentSource.memoizedState),\n (sourceFiber.lanes = currentSource.lanes))\n : ((sourceFiber.updateQueue = null),\n (sourceFiber.memoizedState = null));\n }\n var hasInvisibleParentBoundary =\n 0 !== (suspenseStackCursor.current & 1),\n workInProgress$32 = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === workInProgress$32.tag)) {\n var nextState = workInProgress$32.memoizedState;\n if (null !== nextState)\n JSCompiler_temp = null !== nextState.dehydrated ? !0 : !1;\n else {\n var props = workInProgress$32.memoizedProps;\n JSCompiler_temp =\n void 0 === props.fallback\n ? !1\n : !0 !== props.unstable_avoidThisFallback\n ? !0\n : hasInvisibleParentBoundary\n ? !1\n : !0;\n }\n }\n if (JSCompiler_temp) {\n var wakeables = workInProgress$32.updateQueue;\n if (null === wakeables) {\n var updateQueue = new Set();\n updateQueue.add(wakeable);\n workInProgress$32.updateQueue = updateQueue;\n } else wakeables.add(wakeable);\n if (\n 0 === (workInProgress$32.mode & 1) &&\n workInProgress$32 !== returnFiber\n ) {\n workInProgress$32.flags |= 128;\n sourceFiber.flags |= 32768;\n sourceFiber.flags &= -10053;\n if (1 === sourceFiber.tag)\n if (null === sourceFiber.alternate) sourceFiber.tag = 17;\n else {\n var update = createUpdate(-1, 1);\n update.tag = 2;\n enqueueUpdate(sourceFiber, update);\n }\n sourceFiber.lanes |= 1;\n break a;\n }\n value = void 0;\n sourceFiber = thrownValue;\n var pingCache = root.pingCache;\n null === pingCache\n ? ((pingCache = root.pingCache = new PossiblyWeakMap()),\n (value = new Set()),\n pingCache.set(wakeable, value))\n : ((value = pingCache.get(wakeable)),\n void 0 === value &&\n ((value = new Set()), pingCache.set(wakeable, value)));\n if (!value.has(sourceFiber)) {\n value.add(sourceFiber);\n var ping = pingSuspendedRoot.bind(\n null,\n root,\n wakeable,\n sourceFiber\n );\n wakeable.then(ping, ping);\n }\n workInProgress$32.flags |= 16384;\n workInProgress$32.lanes = thrownValue;\n break a;\n }\n workInProgress$32 = workInProgress$32.return;\n } while (null !== workInProgress$32);\n value = Error(\n (getComponentNameFromFiber(sourceFiber) || \"A React component\") +\n \" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a component higher in the tree to provide a loading indicator or placeholder to display.\"\n );\n }\n 5 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2);\n value = createCapturedValue(value, sourceFiber);\n workInProgress$32 = returnFiber;\n do {\n switch (workInProgress$32.tag) {\n case 3:\n root = value;\n workInProgress$32.flags |= 16384;\n thrownValue &= -thrownValue;\n workInProgress$32.lanes |= thrownValue;\n var update$33 = createRootErrorUpdate(\n workInProgress$32,\n root,\n thrownValue\n );\n enqueueCapturedUpdate(workInProgress$32, update$33);\n break a;\n case 1:\n root = value;\n var ctor = workInProgress$32.type,\n instance = workInProgress$32.stateNode;\n if (\n 0 === (workInProgress$32.flags & 128) &&\n (\"function\" === typeof ctor.getDerivedStateFromError ||\n (null !== instance &&\n \"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance))))\n ) {\n workInProgress$32.flags |= 16384;\n thrownValue &= -thrownValue;\n workInProgress$32.lanes |= thrownValue;\n var update$36 = createClassErrorUpdate(\n workInProgress$32,\n root,\n thrownValue\n );\n enqueueCapturedUpdate(workInProgress$32, update$36);\n break a;\n }\n }\n workInProgress$32 = workInProgress$32.return;\n } while (null !== workInProgress$32);\n }\n completeUnitOfWork(erroredWork);\n } catch (yetAnotherThrownValue) {\n thrownValue = yetAnotherThrownValue;\n workInProgress === erroredWork &&\n null !== erroredWork &&\n (workInProgress = erroredWork = erroredWork.return);\n continue;\n }\n break;\n } while (1);\n}\nfunction pushDispatcher() {\n var prevDispatcher = ReactCurrentDispatcher$2.current;\n ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction renderRootSync(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= 8;\n var prevDispatcher = pushDispatcher();\n (workInProgressRoot === root && workInProgressRootRenderLanes === lanes) ||\n prepareFreshStack(root, lanes);\n do\n try {\n workLoopSync();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n executionContext = prevExecutionContext;\n ReactCurrentDispatcher$2.current = prevDispatcher;\n if (null !== workInProgress)\n throw Error(\n \"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.\"\n );\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n return workInProgressRootExitStatus;\n}\nfunction workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction workLoopConcurrent() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$1(unitOfWork.alternate, unitOfWork, subtreeRenderLanes);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n ReactCurrentOwner$2.current = null;\n}\nfunction completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n var current = completedWork.alternate;\n unitOfWork = completedWork.return;\n if (0 === (completedWork.flags & 8192)) {\n if (\n ((current = completeWork(current, completedWork, subtreeRenderLanes)),\n null !== current)\n ) {\n workInProgress = current;\n return;\n }\n } else {\n current = unwindWork(completedWork);\n if (null !== current) {\n current.flags &= 8191;\n workInProgress = current;\n return;\n }\n null !== unitOfWork &&\n ((unitOfWork.flags |= 8192),\n (unitOfWork.subtreeFlags = 0),\n (unitOfWork.deletions = null));\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction commitRoot(root) {\n var previousUpdateLanePriority = currentUpdatePriority,\n prevTransition = ReactCurrentBatchConfig$2.transition;\n try {\n (ReactCurrentBatchConfig$2.transition = 0),\n (currentUpdatePriority = 1),\n commitRootImpl(root, previousUpdateLanePriority);\n } finally {\n (ReactCurrentBatchConfig$2.transition = prevTransition),\n (currentUpdatePriority = previousUpdateLanePriority);\n }\n return null;\n}\nfunction commitRootImpl(root, renderPriorityLevel) {\n do flushPassiveEffects();\n while (null !== rootWithPendingPassiveEffects);\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n var finishedWork = root.finishedWork,\n lanes = root.finishedLanes;\n if (null === finishedWork) return null;\n root.finishedWork = null;\n root.finishedLanes = 0;\n if (finishedWork === root.current)\n throw Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n );\n root.callbackNode = null;\n root.callbackPriority = 0;\n var remainingLanes = finishedWork.lanes | finishedWork.childLanes;\n markRootFinished(root, remainingLanes);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n (0 === (finishedWork.subtreeFlags & 1040) &&\n 0 === (finishedWork.flags & 1040)) ||\n rootDoesHavePassiveEffects ||\n ((rootDoesHavePassiveEffects = !0),\n scheduleCallback(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n remainingLanes = 0 !== (finishedWork.flags & 8054);\n if (0 !== (finishedWork.subtreeFlags & 8054) || remainingLanes) {\n remainingLanes = ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition = 0;\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority = 1;\n var prevExecutionContext = executionContext;\n executionContext |= 16;\n ReactCurrentOwner$2.current = null;\n commitBeforeMutationEffects(root, finishedWork);\n commitMutationEffects(root, finishedWork);\n root.current = finishedWork;\n commitLayoutEffects(finishedWork, root, lanes);\n requestPaint();\n executionContext = prevExecutionContext;\n currentUpdatePriority = previousPriority;\n ReactCurrentBatchConfig$2.transition = remainingLanes;\n } else root.current = finishedWork;\n rootDoesHavePassiveEffects &&\n ((rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsLanes = lanes));\n remainingLanes = root.pendingLanes;\n 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);\n 0 !== (remainingLanes & 1)\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n onCommitRoot(finishedWork.stateNode, renderPriorityLevel);\n ensureRootIsScheduled(root, now());\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n if (0 !== (executionContext & 4)) return null;\n 0 !== (pendingPassiveEffectsLanes & 1) &&\n 0 !== root.tag &&\n flushPassiveEffects();\n flushSyncCallbacks();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null !== rootWithPendingPassiveEffects) {\n var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),\n prevTransition = ReactCurrentBatchConfig$2.transition,\n previousPriority = currentUpdatePriority;\n try {\n ReactCurrentBatchConfig$2.transition = 0;\n currentUpdatePriority = 16 > renderPriority ? 16 : renderPriority;\n if (null === rootWithPendingPassiveEffects)\n var JSCompiler_inline_result = !1;\n else {\n renderPriority = rootWithPendingPassiveEffects;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsLanes = 0;\n if (0 !== (executionContext & 24))\n throw Error(\"Cannot flush passive effects while already rendering.\");\n var prevExecutionContext = executionContext;\n executionContext |= 16;\n for (nextEffect = renderPriority.current; null !== nextEffect; ) {\n var fiber = nextEffect,\n child = fiber.child;\n if (0 !== (nextEffect.flags & 16)) {\n var deletions = fiber.deletions;\n if (null !== deletions) {\n for (var i = 0; i < deletions.length; i++) {\n var fiberToDelete = deletions[i];\n for (nextEffect = fiberToDelete; null !== nextEffect; ) {\n var fiber$jscomp$0 = nextEffect;\n switch (fiber$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(4, fiber$jscomp$0, fiber);\n }\n var child$jscomp$0 = fiber$jscomp$0.child;\n if (null !== child$jscomp$0)\n (child$jscomp$0.return = fiber$jscomp$0),\n (nextEffect = child$jscomp$0);\n else\n for (; null !== nextEffect; ) {\n fiber$jscomp$0 = nextEffect;\n var sibling = fiber$jscomp$0.sibling,\n returnFiber = fiber$jscomp$0.return;\n detachFiberAfterEffects(fiber$jscomp$0);\n if (fiber$jscomp$0 === fiberToDelete) {\n nextEffect = null;\n break;\n }\n if (null !== sibling) {\n sibling.return = returnFiber;\n nextEffect = sibling;\n break;\n }\n nextEffect = returnFiber;\n }\n }\n }\n var previousFiber = fiber.alternate;\n if (null !== previousFiber) {\n var detachedChild = previousFiber.child;\n if (null !== detachedChild) {\n previousFiber.child = null;\n do {\n var detachedSibling = detachedChild.sibling;\n detachedChild.sibling = null;\n detachedChild = detachedSibling;\n } while (null !== detachedChild);\n }\n }\n nextEffect = fiber;\n }\n }\n if (0 !== (fiber.subtreeFlags & 1040) && null !== child)\n (child.return = fiber), (nextEffect = child);\n else\n b: for (; null !== nextEffect; ) {\n fiber = nextEffect;\n if (0 !== (fiber.flags & 1024))\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(5, fiber, fiber.return);\n }\n var sibling$jscomp$0 = fiber.sibling;\n if (null !== sibling$jscomp$0) {\n sibling$jscomp$0.return = fiber.return;\n nextEffect = sibling$jscomp$0;\n break b;\n }\n nextEffect = fiber.return;\n }\n }\n var finishedWork = renderPriority.current;\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n child = nextEffect;\n var firstChild = child.child;\n if (0 !== (child.subtreeFlags & 1040) && null !== firstChild)\n (firstChild.return = child), (nextEffect = firstChild);\n else\n b: for (child = finishedWork; null !== nextEffect; ) {\n deletions = nextEffect;\n if (0 !== (deletions.flags & 1024))\n try {\n switch (deletions.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(5, deletions);\n }\n } catch (error) {\n captureCommitPhaseError(deletions, deletions.return, error);\n }\n if (deletions === child) {\n nextEffect = null;\n break b;\n }\n var sibling$jscomp$1 = deletions.sibling;\n if (null !== sibling$jscomp$1) {\n sibling$jscomp$1.return = deletions.return;\n nextEffect = sibling$jscomp$1;\n break b;\n }\n nextEffect = deletions.return;\n }\n }\n executionContext = prevExecutionContext;\n flushSyncCallbacks();\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, renderPriority);\n } catch (err) {}\n JSCompiler_inline_result = !0;\n }\n return JSCompiler_inline_result;\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$2.transition = prevTransition);\n }\n }\n return !1;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1);\n enqueueUpdate(rootFiber, sourceFiber);\n sourceFiber = requestEventTime();\n rootFiber = markUpdateLaneFromFiberToRoot(rootFiber, 1);\n null !== rootFiber &&\n (markRootUpdated(rootFiber, 1, sourceFiber),\n ensureRootIsScheduled(rootFiber, sourceFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (\n nearestMountedAncestor = sourceFiber.return;\n null !== nearestMountedAncestor;\n\n ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n break;\n } else if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n enqueueUpdate(nearestMountedAncestor, sourceFiber);\n sourceFiber = requestEventTime();\n nearestMountedAncestor = markUpdateLaneFromFiberToRoot(\n nearestMountedAncestor,\n 1\n );\n null !== nearestMountedAncestor &&\n (markRootUpdated(nearestMountedAncestor, 1, sourceFiber),\n ensureRootIsScheduled(nearestMountedAncestor, sourceFiber));\n break;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n wakeable = requestEventTime();\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (4 === workInProgressRootExitStatus ||\n (3 === workInProgressRootExitStatus &&\n (workInProgressRootRenderLanes & 130023424) ===\n workInProgressRootRenderLanes &&\n 500 > now() - globalMostRecentFallbackTime)\n ? prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes));\n ensureRootIsScheduled(root, wakeable);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryCache = boundaryFiber.stateNode;\n null !== retryCache && retryCache.delete(wakeable);\n wakeable = 0;\n 0 === wakeable &&\n (0 === (boundaryFiber.mode & 1)\n ? (wakeable = 1)\n : ((wakeable = nextRetryLane),\n (nextRetryLane <<= 1),\n 0 === (nextRetryLane & 130023424) && (nextRetryLane = 4194304)));\n retryCache = requestEventTime();\n boundaryFiber = markUpdateLaneFromFiberToRoot(boundaryFiber, wakeable);\n null !== boundaryFiber &&\n (markRootUpdated(boundaryFiber, wakeable, retryCache),\n ensureRootIsScheduled(boundaryFiber, retryCache));\n}\nvar beginWork$1;\nbeginWork$1 = function(current, workInProgress, renderLanes) {\n var updateLanes = workInProgress.lanes;\n if (null !== current)\n if (\n current.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (0 === (renderLanes & updateLanes)) {\n didReceiveUpdate = !1;\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n break;\n case 10:\n updateLanes = workInProgress.type._context;\n var nextValue = workInProgress.memoizedProps.value;\n push(valueCursor, updateLanes._currentValue);\n updateLanes._currentValue = nextValue;\n break;\n case 13:\n if (null !== workInProgress.memoizedState) {\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(\n current,\n workInProgress,\n renderLanes\n );\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== workInProgress ? workInProgress.sibling : null;\n }\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n break;\n case 19:\n updateLanes = 0 !== (renderLanes & workInProgress.childLanes);\n if (0 !== (current.flags & 128)) {\n if (updateLanes)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n nextValue = workInProgress.memoizedState;\n null !== nextValue &&\n ((nextValue.rendering = null),\n (nextValue.tail = null),\n (nextValue.lastEffect = null));\n push(suspenseStackCursor, suspenseStackCursor.current);\n if (updateLanes) break;\n else return null;\n case 22:\n case 23:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(current, workInProgress, renderLanes)\n );\n }\n return bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n }\n didReceiveUpdate = 0 !== (current.flags & 32768) ? !0 : !1;\n }\n else didReceiveUpdate = !1;\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 2:\n updateLanes = workInProgress.type;\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n current = workInProgress.pendingProps;\n nextValue = getMaskedContext(workInProgress, contextStackCursor.current);\n prepareToReadContext(workInProgress, renderLanes);\n nextValue = renderWithHooks(\n null,\n workInProgress,\n updateLanes,\n current,\n nextValue,\n renderLanes\n );\n workInProgress.flags |= 1;\n if (\n \"object\" === typeof nextValue &&\n null !== nextValue &&\n \"function\" === typeof nextValue.render &&\n void 0 === nextValue.$$typeof\n ) {\n workInProgress.tag = 1;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n if (isContextProvider(updateLanes)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== nextValue.state && void 0 !== nextValue.state\n ? nextValue.state\n : null;\n initializeUpdateQueue(workInProgress);\n nextValue.updater = classComponentUpdater;\n workInProgress.stateNode = nextValue;\n nextValue._reactInternals = workInProgress;\n mountClassInstance(workInProgress, updateLanes, current, renderLanes);\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n updateLanes,\n !0,\n hasContext,\n renderLanes\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(null, workInProgress, nextValue, renderLanes),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n nextValue = workInProgress.elementType;\n a: {\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n current = workInProgress.pendingProps;\n hasContext = nextValue._init;\n nextValue = hasContext(nextValue._payload);\n workInProgress.type = nextValue;\n hasContext = workInProgress.tag = resolveLazyComponentTag(nextValue);\n current = resolveDefaultProps(nextValue, current);\n switch (hasContext) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n nextValue,\n resolveDefaultProps(nextValue.type, current),\n updateLanes,\n renderLanes\n );\n break a;\n }\n throw Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n nextValue +\n \". Lazy element type must resolve to a class or function.\"\n );\n }\n return workInProgress;\n case 0:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateFunctionComponent(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 1:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateClassComponent(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n updateLanes = workInProgress.updateQueue;\n if (null === current || null === updateLanes)\n throw Error(\n \"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.\"\n );\n nextValue = workInProgress.pendingProps;\n updateLanes = workInProgress.memoizedState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, nextValue, null, renderLanes);\n nextValue = workInProgress.memoizedState.element;\n nextValue === updateLanes\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ))\n : (reconcileChildren(current, workInProgress, nextValue, renderLanes),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n (updateLanes = workInProgress.pendingProps.children),\n markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, updateLanes, renderLanes),\n workInProgress.child\n );\n case 6:\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (updateLanes = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n updateLanes,\n renderLanes\n ))\n : reconcileChildren(\n current,\n workInProgress,\n updateLanes,\n renderLanes\n ),\n workInProgress.child\n );\n case 11:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateForwardRef(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 7:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n a: {\n updateLanes = workInProgress.type._context;\n nextValue = workInProgress.pendingProps;\n hasContext = workInProgress.memoizedProps;\n var newValue = nextValue.value;\n push(valueCursor, updateLanes._currentValue);\n updateLanes._currentValue = newValue;\n if (null !== hasContext)\n if (objectIs(hasContext.value, newValue)) {\n if (\n hasContext.children === nextValue.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n } else\n for (\n newValue = workInProgress.child,\n null !== newValue && (newValue.return = workInProgress);\n null !== newValue;\n\n ) {\n var list = newValue.dependencies;\n if (null !== list) {\n hasContext = newValue.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (dependency.context === updateLanes) {\n if (1 === newValue.tag) {\n dependency = createUpdate(-1, renderLanes & -renderLanes);\n dependency.tag = 2;\n var updateQueue = newValue.updateQueue;\n if (null !== updateQueue) {\n updateQueue = updateQueue.shared;\n var pending = updateQueue.pending;\n null === pending\n ? (dependency.next = dependency)\n : ((dependency.next = pending.next),\n (pending.next = dependency));\n updateQueue.pending = dependency;\n }\n }\n newValue.lanes |= renderLanes;\n dependency = newValue.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleWorkOnParentPath(newValue.return, renderLanes);\n list.lanes |= renderLanes;\n break;\n }\n dependency = dependency.next;\n }\n } else\n hasContext =\n 10 === newValue.tag\n ? newValue.type === workInProgress.type\n ? null\n : newValue.child\n : newValue.child;\n if (null !== hasContext) hasContext.return = newValue;\n else\n for (hasContext = newValue; null !== hasContext; ) {\n if (hasContext === workInProgress) {\n hasContext = null;\n break;\n }\n newValue = hasContext.sibling;\n if (null !== newValue) {\n newValue.return = hasContext.return;\n hasContext = newValue;\n break;\n }\n hasContext = hasContext.return;\n }\n newValue = hasContext;\n }\n reconcileChildren(\n current,\n workInProgress,\n nextValue.children,\n renderLanes\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (nextValue = workInProgress.type),\n (updateLanes = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress, renderLanes),\n (nextValue = readContext(nextValue)),\n (updateLanes = updateLanes(nextValue)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, updateLanes, renderLanes),\n workInProgress.child\n );\n case 14:\n return (\n (nextValue = workInProgress.type),\n (hasContext = resolveDefaultProps(\n nextValue,\n workInProgress.pendingProps\n )),\n (hasContext = resolveDefaultProps(nextValue.type, hasContext)),\n updateMemoComponent(\n current,\n workInProgress,\n nextValue,\n hasContext,\n updateLanes,\n renderLanes\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n updateLanes,\n renderLanes\n );\n case 17:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2)),\n (workInProgress.tag = 1),\n isContextProvider(updateLanes)\n ? ((current = !0), pushContextProvider(workInProgress))\n : (current = !1),\n prepareToReadContext(workInProgress, renderLanes),\n constructClassInstance(workInProgress, updateLanes, nextValue),\n mountClassInstance(workInProgress, updateLanes, nextValue, renderLanes),\n finishClassComponent(\n null,\n workInProgress,\n updateLanes,\n !0,\n current,\n renderLanes\n )\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n case 23:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n};\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 1835008;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_DEBUG_TRACING_MODE_TYPE:\n fiberTag = 8;\n mode |= 4;\n break;\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 8;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_OFFSCREEN_TYPE:\n return createFiberFromOffscreen(pendingProps, mode, lanes, key);\n case REACT_LEGACY_HIDDEN_TYPE:\n return (\n (type = createFiber(23, pendingProps, key, mode)),\n (type.elementType = REACT_LEGACY_HIDDEN_TYPE),\n (type.lanes = lanes),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n (null == type ? type : typeof type) +\n \".\"\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiber(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromOffscreen(pendingProps, mode, lanes, key) {\n pendingProps = createFiber(22, pendingProps, key, mode);\n pendingProps.elementType = REACT_OFFSCREEN_TYPE;\n pendingProps.lanes = lanes;\n return pendingProps;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiber(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(containerInfo, tag, hydrate) {\n this.tag = tag;\n this.containerInfo = containerInfo;\n this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = -1;\n this.pendingContext = this.context = null;\n this.hydrate = hydrate;\n this.callbackNode = null;\n this.callbackPriority = 0;\n this.eventTimes = createLaneMap(0);\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;\n this.entanglements = createLaneMap(0);\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw Error(\"Unable to find node on an unmounted component.\");\n throw Error(\n \"Argument appears to not be a ReactComponent. Keys: \" +\n Object.keys(component)\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current = container.current,\n eventTime = requestEventTime(),\n lane = requestUpdateLane(current);\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternals;\n b: {\n if (\n getNearestMountedFiber(parentComponent) !== parentComponent ||\n 1 !== parentComponent.tag\n )\n throw Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n );\n var JSCompiler_inline_result = parentComponent;\n do {\n switch (JSCompiler_inline_result.tag) {\n case 3:\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(JSCompiler_inline_result.type)) {\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n JSCompiler_inline_result = JSCompiler_inline_result.return;\n } while (null !== JSCompiler_inline_result);\n throw Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n JSCompiler_inline_result\n );\n break a;\n }\n }\n parentComponent = JSCompiler_inline_result;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = createUpdate(eventTime, lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback && (container.callback = callback);\n enqueueUpdate(current, container);\n element = scheduleUpdateOnFiber(current, lane, eventTime);\n null !== element && entangleTransitions(element, current, lane);\n return lane;\n}\nfunction emptyFindFiberByHostInstance() {\n return null;\n}\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nfunction unmountComponentAtNode(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n 0 === executionContext &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n }\n};\nvar roots = new Map(),\n devToolsConfig$jscomp$inline_983 = {\n findFiberByHostInstance: getInstanceFromTag,\n bundleType: 0,\n version: \"18.0.0-experimental-568dc3532\",\n rendererPackageName: \"react-native-renderer\",\n rendererConfig: {\n getInspectorDataForViewTag: function() {\n throw Error(\n \"getInspectorDataForViewTag() is not available in production\"\n );\n },\n getInspectorDataForViewAtPoint: function() {\n throw Error(\n \"getInspectorDataForViewAtPoint() is not available in production.\"\n );\n }.bind(null, findNodeHandle)\n }\n };\nvar internals$jscomp$inline_1237 = {\n bundleType: devToolsConfig$jscomp$inline_983.bundleType,\n version: devToolsConfig$jscomp$inline_983.version,\n rendererPackageName: devToolsConfig$jscomp$inline_983.rendererPackageName,\n rendererConfig: devToolsConfig$jscomp$inline_983.rendererConfig,\n overrideHookState: null,\n overrideHookStateDeletePath: null,\n overrideHookStateRenamePath: null,\n overrideProps: null,\n overridePropsDeletePath: null,\n overridePropsRenamePath: null,\n setErrorHandler: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance:\n devToolsConfig$jscomp$inline_983.findFiberByHostInstance ||\n emptyFindFiberByHostInstance,\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null,\n reconcilerVersion: \"18.0.0-experimental-568dc3532\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n var hook$jscomp$inline_1238 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (\n !hook$jscomp$inline_1238.isDisabled &&\n hook$jscomp$inline_1238.supportsFiber\n )\n try {\n (rendererID = hook$jscomp$inline_1238.inject(\n internals$jscomp$inline_1237\n )),\n (injectedHook = hook$jscomp$inline_1238);\n } catch (err) {}\n}\nexports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {\n computeComponentStackForErrorReporting: function(reactTag) {\n return (reactTag = getInstanceFromTag(reactTag))\n ? getStackByFiberInDevAndProd(reactTag)\n : \"\";\n }\n};\nexports.createPortal = function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n};\nexports.dispatchCommand = function(handle, command, args) {\n null != handle._nativeTag &&\n (handle._internalInstanceHandle\n ? nativeFabricUIManager.dispatchCommand(\n handle._internalInstanceHandle.stateNode.node,\n command,\n args\n )\n : ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(\n handle._nativeTag,\n command,\n args\n ));\n};\nexports.findHostInstance_DEPRECATED = function(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (componentOrHandle._nativeTag) return componentOrHandle;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical\n : componentOrHandle;\n};\nexports.findNodeHandle = findNodeHandle;\nexports.render = function(element, containerTag, callback) {\n var root = roots.get(containerTag);\n if (!root) {\n root = new FiberRootNode(containerTag, 0, !1);\n var JSCompiler_inline_result = createFiber(3, null, null, 0);\n root.current = JSCompiler_inline_result;\n JSCompiler_inline_result.stateNode = root;\n JSCompiler_inline_result.memoizedState = { element: null };\n initializeUpdateQueue(JSCompiler_inline_result);\n roots.set(containerTag, root);\n }\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n};\nexports.sendAccessibilityEvent = function(handle, eventType) {\n null != handle._nativeTag &&\n (handle._internalInstanceHandle\n ? nativeFabricUIManager.sendAccessibilityEvent(\n handle._internalInstanceHandle.stateNode.node,\n eventType\n )\n : ReactNativePrivateInterface.legacySendAccessibilityEvent(\n handle._nativeTag,\n eventType\n ));\n};\nexports.unmountComponentAtNode = unmountComponentAtNode;\nexports.unmountComponentAtNodeAndRemoveContainer = function(containerTag) {\n unmountComponentAtNode(containerTag);\n ReactNativePrivateInterface.UIManager.removeRootView(containerTag);\n};\nexports.unstable_batchedUpdates = batchedUpdates;\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport '../Core/InitializeCore';\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n/* globals window: true */\n\n/**\n * Sets up global variables typical in most JavaScript environments.\n *\n * 1. Global timers (via `setTimeout` etc).\n * 2. Global console object.\n * 3. Hooks for printing stack traces with source maps.\n *\n * Leaves enough room in the environment for implementing your own:\n *\n * 1. Require system.\n * 2. Bridged modules.\n *\n */\n\n'use strict';\n\nconst start = Date.now();\n\nrequire('./setUpGlobals');\nrequire('./setUpPerformance');\nrequire('./setUpSystrace');\nrequire('./setUpErrorHandling');\nrequire('./polyfillPromise');\nrequire('./setUpRegeneratorRuntime');\nrequire('./setUpTimers');\nrequire('./setUpXHR');\nrequire('./setUpAlert');\nrequire('./setUpNavigator');\nrequire('./setUpBatchedBridge');\nrequire('./setUpSegmentFetcher');\nif (__DEV__) {\n require('./checkNativeVersion');\n require('./setUpDeveloperTools');\n require('../LogBox/LogBox').install();\n}\n\nconst GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');\n// We could just call GlobalPerformanceLogger.markPoint at the top of the file,\n// but then we'd be excluding the time it took to require the logger.\n// Instead, we just use Date.now and backdate the timestamp.\nGlobalPerformanceLogger.markPoint(\n 'initializeCore_start',\n GlobalPerformanceLogger.currentTimestamp() - (Date.now() - start),\n);\nGlobalPerformanceLogger.markPoint('initializeCore_end');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\n/**\n * Sets up global variables for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nif (global.GLOBAL === undefined) {\n global.GLOBAL = global;\n}\n\nif (global.window === undefined) {\n global.window = global;\n}\n\nif (global.self === undefined) {\n global.self = global;\n}\n\n// Set up process\nglobal.process = global.process || {};\nglobal.process.env = global.process.env || {};\nif (!global.process.env.NODE_ENV) {\n global.process.env.NODE_ENV = __DEV__ ? 'development' : 'production';\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nif (!global.performance) {\n global.performance = {};\n}\n\n/**\n * Returns a double, measured in milliseconds.\n * https://developer.mozilla.org/en-US/docs/Web/API/Performance/now\n */\nif (typeof global.performance.now !== 'function') {\n global.performance.now = function() {\n const performanceNow = global.nativePerformanceNow || Date.now;\n return performanceNow();\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\n/**\n * Set up Systrace profiling hooks if necessary.\n * You can use this module directly, or just require InitializeCore.\n */\nif (global.__RCTProfileIsProfiling) {\n const Systrace = require('../Performance/Systrace');\n Systrace.installReactHook();\n Systrace.setEnabled(true);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst TRACE_TAG_REACT_APPS = 1 << 17; // eslint-disable-line no-bitwise\nconst TRACE_TAG_JS_VM_CALLS = 1 << 27; // eslint-disable-line no-bitwise\n\nlet _enabled = false;\nlet _asyncCookie = 0;\nconst _markStack = [];\nlet _markStackIndex = -1;\nlet _canInstallReactHook = false;\n\n// Implements a subset of User Timing API necessary for React measurements.\n// https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API\nconst REACT_MARKER = '\\u269B';\nconst userTimingPolyfill = __DEV__\n ? {\n mark(markName: string) {\n if (_enabled) {\n _markStackIndex++;\n _markStack[_markStackIndex] = markName;\n let systraceLabel = markName;\n // Since perf measurements are a shared namespace in User Timing API,\n // we prefix all React results with a React emoji.\n if (markName[0] === REACT_MARKER) {\n // This is coming from React.\n // Removing component IDs keeps trace colors stable.\n const indexOfId = markName.lastIndexOf(' (#');\n const cutoffIndex = indexOfId !== -1 ? indexOfId : markName.length;\n // Also cut off the emoji because it breaks Systrace\n systraceLabel = markName.slice(2, cutoffIndex);\n }\n Systrace.beginEvent(systraceLabel);\n }\n },\n measure(measureName: string, startMark: ?string, endMark: ?string) {\n if (_enabled) {\n invariant(\n typeof measureName === 'string' &&\n typeof startMark === 'string' &&\n typeof endMark === 'undefined',\n 'Only performance.measure(string, string) overload is supported.',\n );\n const topMark = _markStack[_markStackIndex];\n invariant(\n startMark === topMark,\n 'There was a mismatching performance.measure() call. ' +\n 'Expected \"%s\" but got \"%s.\"',\n topMark,\n startMark,\n );\n _markStackIndex--;\n // We can't use more descriptive measureName because Systrace doesn't\n // let us edit labels post factum.\n Systrace.endEvent();\n }\n },\n clearMarks(markName: string) {\n if (_enabled) {\n if (_markStackIndex === -1) {\n return;\n }\n if (markName === _markStack[_markStackIndex]) {\n // React uses this for \"cancelling\" started measurements.\n // Systrace doesn't support deleting measurements, so we just stop them.\n if (userTimingPolyfill != null) {\n userTimingPolyfill.measure(markName, markName);\n }\n }\n }\n },\n clearMeasures() {\n // React calls this to avoid memory leaks in browsers, but we don't keep\n // measurements anyway.\n },\n }\n : null;\n\nfunction installPerformanceHooks(polyfill) {\n if (polyfill) {\n if (global.performance === undefined) {\n global.performance = {};\n }\n\n Object.keys(polyfill).forEach(methodName => {\n if (typeof global.performance[methodName] !== 'function') {\n global.performance[methodName] = polyfill[methodName];\n }\n });\n }\n}\n\nconst Systrace = {\n installReactHook() {\n if (_enabled) {\n if (__DEV__) {\n installPerformanceHooks(userTimingPolyfill);\n }\n }\n _canInstallReactHook = true;\n },\n\n setEnabled(enabled: boolean) {\n if (_enabled !== enabled) {\n if (__DEV__) {\n if (enabled) {\n global.nativeTraceBeginLegacy &&\n global.nativeTraceBeginLegacy(TRACE_TAG_JS_VM_CALLS);\n } else {\n global.nativeTraceEndLegacy &&\n global.nativeTraceEndLegacy(TRACE_TAG_JS_VM_CALLS);\n }\n if (_canInstallReactHook) {\n if (enabled) {\n installPerformanceHooks(userTimingPolyfill);\n }\n }\n }\n _enabled = enabled;\n }\n },\n\n isEnabled(): boolean {\n return _enabled;\n },\n\n /**\n * beginEvent/endEvent for starting and then ending a profile within the same call stack frame\n **/\n beginEvent(\n profileName?: string | (() => string),\n args?: {[string]: string, ...},\n ) {\n if (_enabled) {\n const profileNameString =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginSection(\n TRACE_TAG_REACT_APPS,\n profileNameString,\n args,\n );\n }\n },\n\n endEvent() {\n if (_enabled) {\n global.nativeTraceEndSection(TRACE_TAG_REACT_APPS);\n }\n },\n\n /**\n * beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either\n * occur on another thread or out of the current stack frame, eg await\n * the returned cookie variable should be used as input into the endAsyncEvent call to end the profile\n **/\n beginAsyncEvent(profileName?: string | (() => string)): number {\n const cookie = _asyncCookie;\n if (_enabled) {\n _asyncCookie++;\n const profileNameString =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileNameString,\n cookie,\n );\n }\n return cookie;\n },\n\n endAsyncEvent(profileName?: string | (() => string), cookie?: number) {\n if (_enabled) {\n const profileNameString =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceEndAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileNameString,\n cookie,\n );\n }\n },\n\n /**\n * counterEvent registers the value to the profileName on the systrace timeline\n **/\n counterEvent(profileName?: string | (() => string), value?: number) {\n if (_enabled) {\n const profileNameString =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceCounter &&\n global.nativeTraceCounter(\n TRACE_TAG_REACT_APPS,\n profileNameString,\n value,\n );\n }\n },\n};\n\nif (__DEV__) {\n // The metro require polyfill can not have dependencies (true for all polyfills).\n // Ensure that `Systrace` is available in polyfill by exposing it globally.\n global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__SYSTRACE'] = Systrace;\n}\n\nmodule.exports = Systrace;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\n/**\n * Sets up the console and exception handling (redbox) for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nconst ExceptionsManager = require('./ExceptionsManager');\nExceptionsManager.installConsoleErrorReporter();\n\n// Set up error handler\nif (!global.__fbDisableExceptionsManager) {\n const handleError = (e, isFatal) => {\n try {\n ExceptionsManager.handleException(e, isFatal);\n } catch (ee) {\n console.log('Failed to print error: ', ee.message);\n throw e;\n }\n };\n\n const ErrorUtils = require('../vendor/core/ErrorUtils');\n ErrorUtils.setGlobalHandler(handleError);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ExtendedError} from './ExtendedError';\nimport type {ExceptionData} from './NativeExceptionsManager';\n\nclass SyntheticError extends Error {\n name: string = '';\n}\n\ntype ExceptionDecorator = ExceptionData => ExceptionData;\n\nlet userExceptionDecorator: ?ExceptionDecorator;\nlet inUserExceptionDecorator = false;\n\n/**\n * Allows the app to add information to the exception report before it is sent\n * to native. This API is not final.\n */\n\nfunction unstable_setExceptionDecorator(\n exceptionDecorator: ?ExceptionDecorator,\n) {\n userExceptionDecorator = exceptionDecorator;\n}\n\nfunction preprocessException(data: ExceptionData): ExceptionData {\n if (userExceptionDecorator && !inUserExceptionDecorator) {\n inUserExceptionDecorator = true;\n try {\n return userExceptionDecorator(data);\n } catch {\n // Fall through\n } finally {\n inUserExceptionDecorator = false;\n }\n }\n return data;\n}\n\n/**\n * Handles the developer-visible aspect of errors and exceptions\n */\nlet exceptionID = 0;\nfunction reportException(\n e: ExtendedError,\n isFatal: boolean,\n reportToConsole: boolean, // only true when coming from handleException; the error has not yet been logged\n) {\n const NativeExceptionsManager = require('./NativeExceptionsManager').default;\n if (NativeExceptionsManager) {\n const parseErrorStack = require('./Devtools/parseErrorStack');\n const stack = parseErrorStack(e?.stack);\n const currentExceptionID = ++exceptionID;\n const originalMessage = e.message || '';\n let message = originalMessage;\n if (e.componentStack != null) {\n message += `\\n\\nThis error is located at:${e.componentStack}`;\n }\n const namePrefix = e.name == null || e.name === '' ? '' : `${e.name}: `;\n\n if (!message.startsWith(namePrefix)) {\n message = namePrefix + message;\n }\n\n message =\n e.jsEngine == null ? message : `${message}, js engine: ${e.jsEngine}`;\n\n const isHandledByLogBox =\n e.forceRedbox !== true && !global.RN$Bridgeless && !global.RN$Express;\n\n const data = preprocessException({\n message,\n originalMessage: message === originalMessage ? null : originalMessage,\n name: e.name == null || e.name === '' ? null : e.name,\n componentStack:\n typeof e.componentStack === 'string' ? e.componentStack : null,\n stack,\n id: currentExceptionID,\n isFatal,\n extraData: {\n jsEngine: e.jsEngine,\n rawStack: e.stack,\n\n // Hack to hide native redboxes when in the LogBox experiment.\n // This is intentionally untyped and stuffed here, because it is temporary.\n suppressRedBox: isHandledByLogBox,\n },\n });\n\n if (reportToConsole) {\n // we feed back into console.error, to make sure any methods that are\n // monkey patched on top of console.error are called when coming from\n // handleException\n console.error(data.message);\n }\n\n if (__DEV__ && isHandledByLogBox) {\n const LogBox = require('../LogBox/LogBox');\n LogBox.addException({\n ...data,\n isComponentError: !!e.isComponentError,\n });\n }\n\n if (isFatal || e.type !== 'warn') {\n NativeExceptionsManager.reportException(data);\n\n if (__DEV__ && !global.RN$Express) {\n if (e.preventSymbolication === true) {\n return;\n }\n const symbolicateStackTrace = require('./Devtools/symbolicateStackTrace');\n symbolicateStackTrace(stack)\n .then(({stack: prettyStack}) => {\n if (prettyStack) {\n NativeExceptionsManager.updateExceptionMessage(\n data.message,\n prettyStack,\n currentExceptionID,\n );\n } else {\n throw new Error('The stack is null');\n }\n })\n .catch(error => {\n console.log('Unable to symbolicate stack trace: ' + error.message);\n });\n }\n }\n } else if (reportToConsole) {\n // we feed back into console.error, to make sure any methods that are\n // monkey patched on top of console.error are called when coming from\n // handleException\n console.error(e);\n }\n}\n\ndeclare var console: typeof console & {\n _errorOriginal: typeof console.error,\n reportErrorsAsExceptions: boolean,\n ...\n};\n\n// If we trigger console.error _from_ handleException,\n// we do want to make sure that console.error doesn't trigger error reporting again\nlet inExceptionHandler = false;\n\n/**\n * Logs exceptions to the (native) console and displays them\n */\nfunction handleException(e: mixed, isFatal: boolean) {\n let error: Error;\n if (e instanceof Error) {\n error = e;\n } else {\n // Workaround for reporting errors caused by `throw 'some string'`\n // Unfortunately there is no way to figure out the stacktrace in this\n // case, so if you ended up here trying to trace an error, look for\n // `throw ''` somewhere in your codebase.\n error = new SyntheticError(e);\n }\n try {\n inExceptionHandler = true;\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n reportException(error, isFatal, /*reportToConsole*/ true);\n } finally {\n inExceptionHandler = false;\n }\n}\n\nfunction reactConsoleErrorHandler(...args) {\n // bubble up to any original handlers\n console._errorOriginal(...args);\n if (!console.reportErrorsAsExceptions) {\n return;\n }\n if (inExceptionHandler) {\n // The fundamental trick here is that are multiple entry point to logging errors:\n // (see D19743075 for more background)\n //\n // 1. An uncaught exception being caught by the global handler\n // 2. An error being logged throw console.error\n //\n // However, console.error is monkey patched multiple times: by this module, and by the\n // DevTools setup that sends messages to Metro.\n // The patching order cannot be relied upon.\n //\n // So, some scenarios that are handled by this flag:\n //\n // Logging an error:\n // 1. console.error called from user code\n // 2. (possibly) arrives _first_ at DevTool handler, send to Metro\n // 3. Bubbles to here\n // 4. goes into report Exception.\n // 5. should not trigger console.error again, to avoid looping / logging twice\n // 6. should still bubble up to original console\n // (which might either be console.log, or the DevTools handler in case it patched _earlier_ and (2) didn't happen)\n //\n // Throwing an uncaught exception:\n // 1. exception thrown\n // 2. picked up by handleException\n // 3. should be send to console.error (not console._errorOriginal, as DevTools might have patched _later_ and it needs to send it to Metro)\n // 4. that _might_ bubble again to the `reactConsoleErrorHandle` defined here\n // -> should not handle exception _again_, to avoid looping / showing twice (this code branch)\n // 5. should still bubble up to original console (which might either be console.log, or the DevTools handler in case that one patched _earlier_)\n return;\n }\n\n let error;\n\n const firstArg = args[0];\n if (firstArg?.stack) {\n // reportException will console.error this with high enough fidelity.\n error = firstArg;\n } else {\n const stringifySafe = require('../Utilities/stringifySafe').default;\n if (typeof firstArg === 'string' && firstArg.startsWith('Warning: ')) {\n // React warnings use console.error so that a stack trace is shown, but\n // we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in polyfills/console.js.)\n return;\n }\n const message = args\n .map(arg => (typeof arg === 'string' ? arg : stringifySafe(arg)))\n .join(' ');\n\n error = new SyntheticError(message);\n error.name = 'console.error';\n }\n\n reportException(\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n error,\n false, // isFatal\n false, // reportToConsole\n );\n}\n\n/**\n * Shows a redbox with stacktrace for all console.error messages. Disable by\n * setting `console.reportErrorsAsExceptions = false;` in your app.\n */\nfunction installConsoleErrorReporter() {\n // Enable reportErrorsAsExceptions\n if (console._errorOriginal) {\n return; // already installed\n }\n // Flow doesn't like it when you set arbitrary values on a global object\n console._errorOriginal = console.error.bind(console);\n console.error = reactConsoleErrorHandler;\n if (console.reportErrorsAsExceptions === undefined) {\n // Individual apps can disable this\n // Flow doesn't like it when you set arbitrary values on a global object\n console.reportErrorsAsExceptions = true;\n }\n}\n\nmodule.exports = {\n handleException,\n installConsoleErrorReporter,\n SyntheticError,\n unstable_setExceptionDecorator,\n};\n","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeFunction = require(\"./isNativeFunction.js\");\n\nvar construct = require(\"./construct.js\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct;\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type StackFrame = {|\n column: ?number,\n file: ?string,\n lineNumber: ?number,\n methodName: string,\n collapse?: boolean,\n|};\n\nexport type ExceptionData = {\n message: string,\n originalMessage: ?string,\n name: ?string,\n componentStack: ?string,\n stack: Array,\n id: number,\n isFatal: boolean,\n // flowlint-next-line unclear-type:off\n extraData?: Object,\n ...\n};\n\nexport interface Spec extends TurboModule {\n // Deprecated: Use `reportException`\n +reportFatalException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // Deprecated: Use `reportException`\n +reportSoftException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n +reportException?: (data: ExceptionData) => void;\n +updateExceptionMessage: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n +dismissRedbox?: () => void;\n}\n\nconst Platform = require('../Utilities/Platform');\n\nconst NativeModule = TurboModuleRegistry.getEnforcing(\n 'ExceptionsManager',\n);\n\nconst ExceptionsManager = {\n reportFatalException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportFatalException(message, stack, exceptionId);\n },\n reportSoftException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportSoftException(message, stack, exceptionId);\n },\n updateExceptionMessage(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.updateExceptionMessage(message, stack, exceptionId);\n },\n dismissRedbox(): void {\n if (Platform.OS !== 'ios' && NativeModule.dismissRedbox) {\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n NativeModule.dismissRedbox();\n }\n },\n reportException(data: ExceptionData): void {\n if (NativeModule.reportException) {\n NativeModule.reportException(data);\n return;\n }\n if (data.isFatal) {\n ExceptionsManager.reportFatalException(data.message, data.stack, data.id);\n } else {\n ExceptionsManager.reportSoftException(data.message, data.stack, data.id);\n }\n },\n};\n\nexport default ExceptionsManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nimport type {TurboModule} from './RCTExport';\nimport invariant from 'invariant';\n\nconst turboModuleProxy = global.__turboModuleProxy;\n\nfunction requireModule(name: string): ?T {\n // Bridgeless mode requires TurboModules\n if (!global.RN$Bridgeless) {\n // Backward compatibility layer during migration.\n const legacyModule = NativeModules[name];\n if (legacyModule != null) {\n return ((legacyModule: $FlowFixMe): T);\n }\n }\n\n if (turboModuleProxy != null) {\n const module: ?T = turboModuleProxy(name);\n return module;\n }\n\n return null;\n}\n\nexport function get(name: string): ?T {\n return requireModule(name);\n}\n\nexport function getEnforcing(name: string): T {\n const module = requireModule(name);\n invariant(\n module != null,\n `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` +\n 'Verify that a module by this name is registered in the native binary.',\n );\n return module;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst BatchedBridge = require('./BatchedBridge');\n\nconst invariant = require('invariant');\n\nimport type {ExtendedError} from '../Core/ExtendedError';\n\nexport type ModuleConfig = [\n string /* name */,\n ?{...} /* constants */,\n ?$ReadOnlyArray /* functions */,\n ?$ReadOnlyArray /* promise method IDs */,\n ?$ReadOnlyArray /* sync method IDs */,\n];\n\nexport type MethodType = 'async' | 'promise' | 'sync';\n\nfunction genModule(\n config: ?ModuleConfig,\n moduleID: number,\n): ?{\n name: string,\n module?: {...},\n ...\n} {\n if (!config) {\n return null;\n }\n\n const [moduleName, constants, methods, promiseMethods, syncMethods] = config;\n invariant(\n !moduleName.startsWith('RCT') && !moduleName.startsWith('RK'),\n \"Module name prefixes should've been stripped by the native side \" +\n \"but wasn't for \" +\n moduleName,\n );\n\n if (!constants && !methods) {\n // Module contents will be filled in lazily later\n return {name: moduleName};\n }\n\n const module = {};\n methods &&\n methods.forEach((methodName, methodID) => {\n const isPromise =\n (promiseMethods && arrayContains(promiseMethods, methodID)) || false;\n const isSync =\n (syncMethods && arrayContains(syncMethods, methodID)) || false;\n invariant(\n !isPromise || !isSync,\n 'Cannot have a method that is both async and a sync hook',\n );\n const methodType = isPromise ? 'promise' : isSync ? 'sync' : 'async';\n module[methodName] = genMethod(moduleID, methodID, methodType);\n });\n\n Object.assign(module, constants);\n\n if (module.getConstants == null) {\n module.getConstants = () => constants || Object.freeze({});\n } else {\n console.warn(\n `Unable to define method 'getConstants()' on NativeModule '${moduleName}'. NativeModule '${moduleName}' already has a constant or method called 'getConstants'. Please remove it.`,\n );\n }\n\n if (__DEV__) {\n BatchedBridge.createDebugLookup(moduleID, moduleName, methods);\n }\n\n return {name: moduleName, module};\n}\n\n// export this method as a global so we can call it from native\nglobal.__fbGenNativeModule = genModule;\n\nfunction loadModule(name: string, moduleID: number): ?{...} {\n invariant(\n global.nativeRequireModuleConfig,\n \"Can't lazily create module without nativeRequireModuleConfig\",\n );\n const config = global.nativeRequireModuleConfig(name);\n const info = genModule(config, moduleID);\n return info && info.module;\n}\n\nfunction genMethod(moduleID: number, methodID: number, type: MethodType) {\n let fn = null;\n if (type === 'promise') {\n fn = function promiseMethodWrapper(...args: Array) {\n // In case we reject, capture a useful stack trace here.\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n const enqueueingFrameError: ExtendedError = new Error();\n return new Promise((resolve, reject) => {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n data => resolve(data),\n errorData =>\n reject(\n updateErrorWithErrorData(\n (errorData: $FlowFixMe),\n enqueueingFrameError,\n ),\n ),\n );\n });\n };\n } else {\n fn = function nonPromiseMethodWrapper(...args: Array) {\n const lastArg = args.length > 0 ? args[args.length - 1] : null;\n const secondLastArg = args.length > 1 ? args[args.length - 2] : null;\n const hasSuccessCallback = typeof lastArg === 'function';\n const hasErrorCallback = typeof secondLastArg === 'function';\n hasErrorCallback &&\n invariant(\n hasSuccessCallback,\n 'Cannot have a non-function arg after a function arg.',\n );\n // $FlowFixMe[incompatible-type]\n const onSuccess: ?(mixed) => void = hasSuccessCallback ? lastArg : null;\n // $FlowFixMe[incompatible-type]\n const onFail: ?(mixed) => void = hasErrorCallback ? secondLastArg : null;\n const callbackCount = hasSuccessCallback + hasErrorCallback;\n const newArgs = args.slice(0, args.length - callbackCount);\n if (type === 'sync') {\n return BatchedBridge.callNativeSyncHook(\n moduleID,\n methodID,\n newArgs,\n onFail,\n onSuccess,\n );\n } else {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n newArgs,\n onFail,\n onSuccess,\n );\n }\n };\n }\n fn.type = type;\n return fn;\n}\n\nfunction arrayContains(array: $ReadOnlyArray, value: T): boolean {\n return array.indexOf(value) !== -1;\n}\n\nfunction updateErrorWithErrorData(\n errorData: {message: string, ...},\n error: ExtendedError,\n): ExtendedError {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n return Object.assign(error, errorData || {});\n}\n\nlet NativeModules: {[moduleName: string]: $FlowFixMe, ...} = {};\nif (global.nativeModuleProxy) {\n NativeModules = global.nativeModuleProxy;\n} else if (!global.nativeExtensions) {\n const bridgeConfig = global.__fbBatchedBridgeConfig;\n invariant(\n bridgeConfig,\n '__fbBatchedBridgeConfig is not set, cannot invoke native modules',\n );\n\n const defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n (bridgeConfig.remoteModuleConfig || []).forEach(\n (config: ModuleConfig, moduleID: number) => {\n // Initially this config will only contain the module name when running in JSC. The actual\n // configuration of the module will be lazily loaded.\n const info = genModule(config, moduleID);\n if (!info) {\n return;\n }\n\n if (info.module) {\n NativeModules[info.name] = info.module;\n }\n // If there's no module config, define a lazy getter\n else {\n defineLazyObjectProperty(NativeModules, info.name, {\n get: () => loadModule(info.name, moduleID),\n });\n }\n },\n );\n}\n\nmodule.exports = NativeModules;\n","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst MessageQueue = require('./MessageQueue');\n\nconst BatchedBridge: MessageQueue = new MessageQueue();\n\n// Wire up the batched bridge on the global object so that we can call into it.\n// Ideally, this would be the inverse relationship. I.e. the native environment\n// provides this global directly with its script embedded. Then this module\n// would export it. A possible fix would be to trim the dependencies in\n// MessageQueue to its minimal features and embed that in the native runtime.\n\nObject.defineProperty(global, '__fbBatchedBridge', {\n configurable: true,\n value: BatchedBridge,\n});\n\nmodule.exports = BatchedBridge;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst ErrorUtils = require('../vendor/core/ErrorUtils');\nconst Systrace = require('../Performance/Systrace');\n\nconst deepFreezeAndThrowOnMutationInDev = require('../Utilities/deepFreezeAndThrowOnMutationInDev');\nconst invariant = require('invariant');\nconst stringifySafe = require('../Utilities/stringifySafe').default;\nconst warnOnce = require('../Utilities/warnOnce');\n\nexport type SpyData = {\n type: number,\n module: ?string,\n method: string | number,\n args: mixed[],\n ...\n};\n\nconst TO_JS = 0;\nconst TO_NATIVE = 1;\n\nconst MODULE_IDS = 0;\nconst METHOD_IDS = 1;\nconst PARAMS = 2;\nconst MIN_TIME_BETWEEN_FLUSHES_MS = 5;\n\n// eslint-disable-next-line no-bitwise\nconst TRACE_TAG_REACT_APPS = 1 << 17;\n\nconst DEBUG_INFO_LIMIT = 32;\n\nclass MessageQueue {\n _lazyCallableModules: {[key: string]: (void) => {...}, ...};\n _queue: [number[], number[], mixed[], number];\n _successCallbacks: Map void>;\n _failureCallbacks: Map void>;\n _callID: number;\n _lastFlush: number;\n _eventLoopStartTime: number;\n _reactNativeMicrotasksCallback: ?() => void;\n\n _debugInfo: {[number]: [number, number], ...};\n _remoteModuleTable: {[number]: string, ...};\n _remoteMethodTable: {[number]: $ReadOnlyArray, ...};\n\n __spy: ?(data: SpyData) => void;\n\n constructor() {\n this._lazyCallableModules = {};\n this._queue = [[], [], [], 0];\n this._successCallbacks = new Map();\n this._failureCallbacks = new Map();\n this._callID = 0;\n this._lastFlush = 0;\n this._eventLoopStartTime = Date.now();\n this._reactNativeMicrotasksCallback = null;\n\n if (__DEV__) {\n this._debugInfo = {};\n this._remoteModuleTable = {};\n this._remoteMethodTable = {};\n }\n\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.callFunctionReturnFlushedQueue = this.callFunctionReturnFlushedQueue.bind(\n this,\n );\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.flushedQueue = this.flushedQueue.bind(this);\n\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.invokeCallbackAndReturnFlushedQueue = this.invokeCallbackAndReturnFlushedQueue.bind(\n this,\n );\n }\n\n /**\n * Public APIs\n */\n\n static spy(spyOrToggle: boolean | ((data: SpyData) => void)) {\n if (spyOrToggle === true) {\n MessageQueue.prototype.__spy = info => {\n console.log(\n `${info.type === TO_JS ? 'N->JS' : 'JS->N'} : ` +\n `${info.module != null ? info.module + '.' : ''}${info.method}` +\n `(${JSON.stringify(info.args)})`,\n );\n };\n } else if (spyOrToggle === false) {\n MessageQueue.prototype.__spy = null;\n } else {\n MessageQueue.prototype.__spy = spyOrToggle;\n }\n }\n\n callFunctionReturnFlushedQueue(\n module: string,\n method: string,\n args: mixed[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callFunction(module, method, args);\n });\n\n return this.flushedQueue();\n }\n\n invokeCallbackAndReturnFlushedQueue(\n cbID: number,\n args: mixed[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__invokeCallback(cbID, args);\n });\n\n return this.flushedQueue();\n }\n\n flushedQueue(): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callReactNativeMicrotasks();\n });\n\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n return queue[0].length ? queue : null;\n }\n\n getEventLoopRunningTime(): number {\n return Date.now() - this._eventLoopStartTime;\n }\n\n registerCallableModule(name: string, module: {...}) {\n this._lazyCallableModules[name] = () => module;\n }\n\n registerLazyCallableModule(name: string, factory: void => interface {}) {\n let module: interface {};\n let getValue: ?(void) => interface {} = factory;\n this._lazyCallableModules[name] = () => {\n if (getValue) {\n module = getValue();\n getValue = null;\n }\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n return module;\n };\n }\n\n getCallableModule(name: string): {...} | null {\n const getValue = this._lazyCallableModules[name];\n return getValue ? getValue() : null;\n }\n\n callNativeSyncHook(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ): mixed {\n if (__DEV__) {\n invariant(\n global.nativeCallSyncHook,\n 'Calling synchronous methods on native ' +\n 'modules is not supported in Chrome.\\n\\n Consider providing alternative ' +\n 'methods to expose this method in debug mode, e.g. by exposing constants ' +\n 'ahead-of-time.',\n );\n }\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n return global.nativeCallSyncHook(moduleID, methodID, params);\n }\n\n processCallbacks(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ): void {\n if (onFail || onSucc) {\n if (__DEV__) {\n this._debugInfo[this._callID] = [moduleID, methodID];\n if (this._callID > DEBUG_INFO_LIMIT) {\n delete this._debugInfo[this._callID - DEBUG_INFO_LIMIT];\n }\n if (this._successCallbacks.size > 500) {\n const info = {};\n this._successCallbacks.forEach((_, callID) => {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n info[callID] = {module, method};\n });\n warnOnce(\n 'excessive-number-of-pending-callbacks',\n `Please report: Excessive number of pending callbacks: ${\n this._successCallbacks.size\n }. Some pending callbacks that might have leaked by never being called from native code: ${stringifySafe(\n info,\n )}`,\n );\n }\n }\n // Encode callIDs into pairs of callback identifiers by shifting left and using the rightmost bit\n // to indicate fail (0) or success (1)\n // eslint-disable-next-line no-bitwise\n onFail && params.push(this._callID << 1);\n // eslint-disable-next-line no-bitwise\n onSucc && params.push((this._callID << 1) | 1);\n this._successCallbacks.set(this._callID, onSucc);\n this._failureCallbacks.set(this._callID, onFail);\n }\n if (__DEV__) {\n global.nativeTraceBeginAsyncFlow &&\n global.nativeTraceBeginAsyncFlow(\n TRACE_TAG_REACT_APPS,\n 'native',\n this._callID,\n );\n }\n this._callID++;\n }\n\n enqueueNativeCall(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ) {\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n\n this._queue[MODULE_IDS].push(moduleID);\n this._queue[METHOD_IDS].push(methodID);\n\n if (__DEV__) {\n // Validate that parameters passed over the bridge are\n // folly-convertible. As a special case, if a prop value is a\n // function it is permitted here, and special-cased in the\n // conversion.\n const isValidArgument = val => {\n switch (typeof val) {\n case 'undefined':\n case 'boolean':\n case 'string':\n return true;\n case 'number':\n return isFinite(val);\n case 'object':\n if (val == null) {\n return true;\n }\n\n if (Array.isArray(val)) {\n return val.every(isValidArgument);\n }\n\n for (const k in val) {\n if (typeof val[k] !== 'function' && !isValidArgument(val[k])) {\n return false;\n }\n }\n\n return true;\n case 'function':\n return false;\n default:\n return false;\n }\n };\n\n // Replacement allows normally non-JSON-convertible values to be\n // seen. There is ambiguity with string values, but in context,\n // it should at least be a strong hint.\n const replacer = (key, val) => {\n const t = typeof val;\n if (t === 'function') {\n return '<>';\n } else if (t === 'number' && !isFinite(val)) {\n return '<<' + val.toString() + '>>';\n } else {\n return val;\n }\n };\n\n // Note that JSON.stringify\n invariant(\n isValidArgument(params),\n '%s is not usable as a native method argument',\n JSON.stringify(params, replacer),\n );\n\n // The params object should not be mutated after being queued\n deepFreezeAndThrowOnMutationInDev(params);\n }\n this._queue[PARAMS].push(params);\n\n const now = Date.now();\n if (\n global.nativeFlushQueueImmediate &&\n now - this._lastFlush >= MIN_TIME_BETWEEN_FLUSHES_MS\n ) {\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n this._lastFlush = now;\n global.nativeFlushQueueImmediate(queue);\n }\n Systrace.counterEvent('pending_js_to_native_queue', this._queue[0].length);\n if (__DEV__ && this.__spy && isFinite(moduleID)) {\n this.__spy({\n type: TO_NATIVE,\n module: this._remoteModuleTable[moduleID],\n method: this._remoteMethodTable[moduleID][methodID],\n args: params,\n });\n } else if (this.__spy) {\n this.__spy({\n type: TO_NATIVE,\n module: moduleID + '',\n method: methodID,\n args: params,\n });\n }\n }\n\n createDebugLookup(\n moduleID: number,\n name: string,\n methods: ?$ReadOnlyArray,\n ) {\n if (__DEV__) {\n this._remoteModuleTable[moduleID] = name;\n this._remoteMethodTable[moduleID] = methods || [];\n }\n }\n\n // For JSTimers to register its callback. Otherwise a circular dependency\n // between modules is introduced. Note that only one callback may be\n // registered at a time.\n setReactNativeMicrotasksCallback(fn: () => void) {\n this._reactNativeMicrotasksCallback = fn;\n }\n\n /**\n * Private methods\n */\n\n __guard(fn: () => void) {\n if (this.__shouldPauseOnThrow()) {\n fn();\n } else {\n try {\n fn();\n } catch (error) {\n ErrorUtils.reportFatalError(error);\n }\n }\n }\n\n // MessageQueue installs a global handler to catch all exceptions where JS users can register their own behavior\n // This handler makes all exceptions to be propagated from inside MessageQueue rather than by the VM at their origin\n // This makes stacktraces to be placed at MessageQueue rather than at where they were launched\n // The parameter DebuggerInternal.shouldPauseOnThrow is used to check before catching all exceptions and\n // can be configured by the VM or any Inspector\n __shouldPauseOnThrow(): boolean {\n return (\n // $FlowFixMe[cannot-resolve-name]\n typeof DebuggerInternal !== 'undefined' &&\n DebuggerInternal.shouldPauseOnThrow === true // eslint-disable-line no-undef\n );\n }\n\n __callReactNativeMicrotasks() {\n Systrace.beginEvent('JSTimers.callReactNativeMicrotasks()');\n if (this._reactNativeMicrotasksCallback != null) {\n this._reactNativeMicrotasksCallback();\n }\n Systrace.endEvent();\n }\n\n __callFunction(module: string, method: string, args: mixed[]): void {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n if (__DEV__ || this.__spy) {\n Systrace.beginEvent(`${module}.${method}(${stringifySafe(args)})`);\n } else {\n Systrace.beginEvent(`${module}.${method}(...)`);\n }\n if (this.__spy) {\n this.__spy({type: TO_JS, module, method, args});\n }\n const moduleMethods = this.getCallableModule(module);\n invariant(\n !!moduleMethods,\n `Module ${module} is not a registered callable module (calling ${method}). A frequent cause of the error is that the application entry file path is incorrect.\n This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.`,\n );\n invariant(\n !!moduleMethods[method],\n `Method ${method} does not exist on module ${module}`,\n );\n moduleMethods[method].apply(moduleMethods, args);\n Systrace.endEvent();\n }\n\n __invokeCallback(cbID: number, args: mixed[]) {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n\n // The rightmost bit of cbID indicates fail (0) or success (1), the other bits are the callID shifted left.\n // eslint-disable-next-line no-bitwise\n const callID = cbID >>> 1;\n // eslint-disable-next-line no-bitwise\n const isSuccess = cbID & 1;\n const callback = isSuccess\n ? this._successCallbacks.get(callID)\n : this._failureCallbacks.get(callID);\n\n if (__DEV__) {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n invariant(\n callback,\n `No callback found with cbID ${cbID} and callID ${callID} for ` +\n (method\n ? ` ${module}.${method} - most likely the callback was already invoked`\n : `module ${module || ''}`) +\n `. Args: '${stringifySafe(args)}'`,\n );\n const profileName = debug\n ? ''\n : cbID;\n if (callback && this.__spy) {\n this.__spy({type: TO_JS, module: null, method: profileName, args});\n }\n Systrace.beginEvent(\n `MessageQueue.invokeCallback(${profileName}, ${stringifySafe(args)})`,\n );\n }\n\n if (!callback) {\n return;\n }\n\n this._successCallbacks.delete(callID);\n this._failureCallbacks.delete(callID);\n callback(...args);\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n }\n}\n\nmodule.exports = MessageQueue;\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {ErrorUtilsT} from '@react-native/polyfills/error-guard';\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n *\n * However, we still want to treat ErrorUtils as a module so that other modules\n * that use it aren't just using a global variable, so simply export the global\n * variable here. ErrorUtils is originally defined in a file named error-guard.js.\n */\nmodule.exports = (global.ErrorUtils: ErrorUtilsT);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * If your application is accepting different values for the same field over\n * time and is doing a diff on them, you can either (1) create a copy or\n * (2) ensure that those values are not mutated behind two passes.\n * This function helps you with (2) by freezing the object and throwing if\n * the user subsequently modifies the value.\n *\n * There are two caveats with this function:\n * - If the call site is not in strict mode, it will only throw when\n * mutating existing fields, adding a new one\n * will unfortunately fail silently :(\n * - If the object is already frozen or sealed, it will not continue the\n * deep traversal and will leave leaf nodes unfrozen.\n *\n * Freezing the object and adding the throw mechanism is expensive and will\n * only be used in DEV.\n */\nfunction deepFreezeAndThrowOnMutationInDev>(\n object: T,\n): T {\n if (__DEV__) {\n if (\n typeof object !== 'object' ||\n object === null ||\n Object.isFrozen(object) ||\n Object.isSealed(object)\n ) {\n return object;\n }\n\n // $FlowFixMe[not-an-object] `object` can be an array, but Object.keys works with arrays too\n const keys = Object.keys((object: {...} | Array));\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n Object.defineProperty(object, key, {\n get: identity.bind(null, object[key]),\n });\n Object.defineProperty(object, key, {\n set: throwOnImmutableMutation.bind(null, key),\n });\n }\n }\n\n Object.freeze(object);\n Object.seal(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n deepFreezeAndThrowOnMutationInDev(object[key]);\n }\n }\n }\n return object;\n}\n\nfunction throwOnImmutableMutation(key, value) {\n throw Error(\n 'You attempted to set the key `' +\n key +\n '` with the value `' +\n JSON.stringify(value) +\n '` on an object that is meant to be immutable ' +\n 'and has been frozen.',\n );\n}\n\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = deepFreezeAndThrowOnMutationInDev;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport invariant from 'invariant';\n\n/**\n * Tries to stringify with JSON.stringify and toString, but catches exceptions\n * (e.g. from circular objects) and always returns a string and never throws.\n */\nexport function createStringifySafeWithLimits(limits: {|\n maxDepth?: number,\n maxStringLimit?: number,\n maxArrayLimit?: number,\n maxObjectKeysLimit?: number,\n|}): mixed => string {\n const {\n maxDepth = Number.POSITIVE_INFINITY,\n maxStringLimit = Number.POSITIVE_INFINITY,\n maxArrayLimit = Number.POSITIVE_INFINITY,\n maxObjectKeysLimit = Number.POSITIVE_INFINITY,\n } = limits;\n const stack = [];\n function replacer(key: string, value: mixed): mixed {\n while (stack.length && this !== stack[0]) {\n stack.shift();\n }\n\n if (typeof value === 'string') {\n const truncatedString = '...(truncated)...';\n if (value.length > maxStringLimit + truncatedString.length) {\n return value.substring(0, maxStringLimit) + truncatedString;\n }\n return value;\n }\n if (typeof value !== 'object' || value === null) {\n return value;\n }\n\n let retval = value;\n if (Array.isArray(value)) {\n if (stack.length >= maxDepth) {\n retval = `[ ... array with ${value.length} values ... ]`;\n } else if (value.length > maxArrayLimit) {\n retval = value\n .slice(0, maxArrayLimit)\n .concat([\n `... extra ${value.length - maxArrayLimit} values truncated ...`,\n ]);\n }\n } else {\n // Add refinement after Array.isArray call.\n invariant(typeof value === 'object', 'This was already found earlier');\n let keys = Object.keys(value);\n if (stack.length >= maxDepth) {\n retval = `{ ... object with ${keys.length} keys ... }`;\n } else if (keys.length > maxObjectKeysLimit) {\n // Return a sample of the keys.\n retval = {};\n for (let k of keys.slice(0, maxObjectKeysLimit)) {\n retval[k] = value[k];\n }\n const truncatedKey = '...(truncated keys)...';\n retval[truncatedKey] = keys.length - maxObjectKeysLimit;\n }\n }\n stack.unshift(retval);\n return retval;\n }\n\n return function stringifySafe(arg: mixed): string {\n if (arg === undefined) {\n return 'undefined';\n } else if (arg === null) {\n return 'null';\n } else if (typeof arg === 'function') {\n try {\n return arg.toString();\n } catch (e) {\n return '[function unknown]';\n }\n } else if (arg instanceof Error) {\n return arg.name + ': ' + arg.message;\n } else {\n // Perform a try catch, just in case the object has a circular\n // reference or stringify throws for some other reason.\n try {\n const ret = JSON.stringify(arg, replacer);\n if (ret === undefined) {\n return '[\"' + typeof arg + '\" failed to stringify]';\n }\n return ret;\n } catch (e) {\n if (typeof arg.toString === 'function') {\n try {\n // $FlowFixMe[incompatible-use] : toString shouldn't take any arguments in general.\n return arg.toString();\n } catch (E) {}\n }\n }\n }\n return '[\"' + typeof arg + '\" failed to stringify]';\n };\n}\n\nconst stringifySafe: mixed => string = createStringifySafeWithLimits({\n maxDepth: 10,\n maxStringLimit: 100,\n maxArrayLimit: 50,\n maxObjectKeysLimit: 50,\n});\n\nexport default stringifySafe;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Defines a lazily evaluated property on the supplied `object`.\n */\nfunction defineLazyObjectProperty(\n object: interface {},\n name: string,\n descriptor: {\n get: () => T,\n enumerable?: boolean,\n writable?: boolean,\n ...\n },\n): void {\n const {get} = descriptor;\n const enumerable = descriptor.enumerable !== false;\n const writable = descriptor.writable !== false;\n\n let value;\n let valueSet = false;\n function getValue(): T {\n // WORKAROUND: A weird infinite loop occurs where calling `getValue` calls\n // `setValue` which calls `Object.defineProperty` which somehow triggers\n // `getValue` again. Adding `valueSet` breaks this loop.\n if (!valueSet) {\n // Calling `get()` here can trigger an infinite loop if it fails to\n // remove the getter on the property, which can happen when executing\n // JS in a V8 context. `valueSet = true` will break this loop, and\n // sets the value of the property to undefined, until the code in `get()`\n // finishes, at which point the property is set to the correct value.\n valueSet = true;\n setValue(get());\n }\n return value;\n }\n function setValue(newValue: T): void {\n value = newValue;\n valueSet = true;\n Object.defineProperty(object, name, {\n value: newValue,\n configurable: true,\n enumerable,\n writable,\n });\n }\n\n Object.defineProperty(object, name, {\n get: getValue,\n set: setValue,\n configurable: true,\n enumerable,\n });\n}\n\nmodule.exports = defineLazyObjectProperty;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativePlatformConstantsIOS from './NativePlatformConstantsIOS';\n\nexport type PlatformSelectSpec = {\n default?: D,\n native?: N,\n ios?: I,\n ...\n};\n\nconst Platform = {\n __constants: null,\n OS: 'ios',\n // $FlowFixMe[unsafe-getters-setters]\n get Version(): string {\n return this.constants.osVersion;\n },\n // $FlowFixMe[unsafe-getters-setters]\n get constants(): {|\n forceTouchAvailable: boolean,\n interfaceIdiom: string,\n isTesting: boolean,\n osVersion: string,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n systemName: string,\n |} {\n if (this.__constants == null) {\n this.__constants = NativePlatformConstantsIOS.getConstants();\n }\n return this.__constants;\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isPad(): boolean {\n return this.constants.interfaceIdiom === 'pad';\n },\n /**\n * Deprecated, use `isTV` instead.\n */\n // $FlowFixMe[unsafe-getters-setters]\n get isTVOS(): boolean {\n return Platform.isTV;\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isTV(): boolean {\n return this.constants.interfaceIdiom === 'tv';\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isTesting(): boolean {\n if (__DEV__) {\n return this.constants.isTesting;\n }\n return false;\n },\n select: (spec: PlatformSelectSpec): D | N | I =>\n // $FlowFixMe[incompatible-return]\n 'ios' in spec ? spec.ios : 'native' in spec ? spec.native : spec.default,\n};\n\nmodule.exports = Platform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isTesting: boolean,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n forceTouchAvailable: boolean,\n osVersion: string,\n systemName: string,\n interfaceIdiom: string,\n |};\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'PlatformConstants',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {StackFrame} from '../NativeExceptionsManager';\nimport type {HermesParsedStack} from './parseHermesStack';\n\nconst parseHermesStack = require('./parseHermesStack');\n\nfunction convertHermesStack(stack: HermesParsedStack): Array {\n const frames = [];\n for (const entry of stack.entries) {\n if (entry.type !== 'FRAME') {\n continue;\n }\n const {location, functionName} = entry;\n if (location.type === 'NATIVE') {\n continue;\n }\n frames.push({\n methodName: functionName,\n file: location.sourceUrl,\n lineNumber: location.line1Based,\n column:\n location.type === 'SOURCE'\n ? location.column1Based - 1\n : location.virtualOffset0Based,\n });\n }\n return frames;\n}\n\nfunction parseErrorStack(errorStack?: string): Array {\n if (errorStack == null) {\n return [];\n }\n\n const stacktraceParser = require('stacktrace-parser');\n const parsedStack = Array.isArray(errorStack)\n ? errorStack\n : global.HermesInternal\n ? convertHermesStack(parseHermesStack(errorStack))\n : stacktraceParser.parse(errorStack).map(frame => ({\n ...frame,\n column: frame.column != null ? frame.column - 1 : null,\n }));\n\n return parsedStack;\n}\n\nmodule.exports = parseErrorStack;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype HermesStackLocationNative = {|\n +type: 'NATIVE',\n|};\n\ntype HermesStackLocationSource = {|\n +type: 'SOURCE',\n +sourceUrl: string,\n +line1Based: number,\n +column1Based: number,\n|};\n\ntype HermesStackLocationBytecode = {|\n +type: 'BYTECODE',\n +sourceUrl: string,\n +line1Based: number,\n +virtualOffset0Based: number,\n|};\n\ntype HermesStackLocation =\n | HermesStackLocationNative\n | HermesStackLocationSource\n | HermesStackLocationBytecode;\n\ntype HermesStackEntryFrame = {|\n +type: 'FRAME',\n +location: HermesStackLocation,\n +functionName: string,\n|};\n\ntype HermesStackEntrySkipped = {|\n +type: 'SKIPPED',\n +count: number,\n|};\n\ntype HermesStackEntry = HermesStackEntryFrame | HermesStackEntrySkipped;\n\nexport type HermesParsedStack = {|\n +message: string,\n +entries: $ReadOnlyArray,\n|};\n\n// Capturing groups:\n// 1. function name\n// 2. is this a native stack frame?\n// 3. is this a bytecode address or a source location?\n// 4. source URL (filename)\n// 5. line number (1 based)\n// 6. column number (1 based) or virtual offset (0 based)\nconst RE_FRAME = /^ {4}at (.+?)(?: \\((native)\\)?| \\((address at )?(.*?):(\\d+):(\\d+)\\))$/;\n\n// Capturing groups:\n// 1. count of skipped frames\nconst RE_SKIPPED = /^ {4}... skipping (\\d+) frames$/;\n\nfunction parseLine(line: string): ?HermesStackEntry {\n const asFrame = line.match(RE_FRAME);\n if (asFrame) {\n return {\n type: 'FRAME',\n functionName: asFrame[1],\n location:\n asFrame[2] === 'native'\n ? {type: 'NATIVE'}\n : asFrame[3] === 'address at '\n ? {\n type: 'BYTECODE',\n sourceUrl: asFrame[4],\n line1Based: Number.parseInt(asFrame[5], 10),\n virtualOffset0Based: Number.parseInt(asFrame[6], 10),\n }\n : {\n type: 'SOURCE',\n sourceUrl: asFrame[4],\n line1Based: Number.parseInt(asFrame[5], 10),\n column1Based: Number.parseInt(asFrame[6], 10),\n },\n };\n }\n const asSkipped = line.match(RE_SKIPPED);\n if (asSkipped) {\n return {\n type: 'SKIPPED',\n count: Number.parseInt(asSkipped[1], 10),\n };\n }\n}\n\nmodule.exports = function parseHermesStack(stack: string): HermesParsedStack {\n const lines = stack.split(/\\n/);\n let entries = [];\n let lastMessageLine = -1;\n for (let i = 0; i < lines.length; ++i) {\n const line = lines[i];\n if (!line) {\n continue;\n }\n const entry = parseLine(line);\n if (entry) {\n entries.push(entry);\n continue;\n }\n // No match - we're still in the message\n lastMessageLine = i;\n entries = [];\n }\n const message = lines.slice(0, lastMessageLine + 1).join('\\n');\n return {message, entries};\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar UNKNOWN_FUNCTION = '';\n/**\n * This parses the different stack traces and puts them into one format\n * This borrows heavily from TraceKit (https://github.com/csnover/TraceKit)\n */\n\nfunction parse(stackString) {\n var lines = stackString.split('\\n');\n return lines.reduce(function (stack, line) {\n var parseResult = parseChrome(line) || parseWinjs(line) || parseGecko(line) || parseNode(line) || parseJSC(line);\n\n if (parseResult) {\n stack.push(parseResult);\n }\n\n return stack;\n }, []);\n}\nvar chromeRe = /^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\\/|[a-z]:\\\\|\\\\\\\\).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nvar chromeEvalRe = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nfunction parseChrome(line) {\n var parts = chromeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isNative = parts[2] && parts[2].indexOf('native') === 0; // start of line\n\n var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n var submatch = chromeEvalRe.exec(parts[2]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = submatch[1]; // url\n\n parts[3] = submatch[2]; // line\n\n parts[4] = submatch[3]; // column\n }\n\n return {\n file: !isNative ? parts[2] : null,\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: isNative ? [parts[2]] : [],\n lineNumber: parts[3] ? +parts[3] : null,\n column: parts[4] ? +parts[4] : null\n };\n}\n\nvar winjsRe = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nfunction parseWinjs(line) {\n var parts = winjsRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n}\n\nvar geckoRe = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nvar geckoEvalRe = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nfunction parseGecko(line) {\n var parts = geckoRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n var submatch = geckoEvalRe.exec(parts[3]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line number\n parts[3] = submatch[1];\n parts[4] = submatch[2];\n parts[5] = null; // no column when eval\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: parts[2] ? parts[2].split(',') : [],\n lineNumber: parts[4] ? +parts[4] : null,\n column: parts[5] ? +parts[5] : null\n };\n}\n\nvar javaScriptCoreRe = /^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;\n\nfunction parseJSC(line) {\n var parts = javaScriptCoreRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[4],\n column: parts[5] ? +parts[5] : null\n };\n}\n\nvar nodeRe = /^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nfunction parseNode(line) {\n var parts = nodeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n}\n\nexports.parse = parse;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up Promise. The native Promise implementation throws the following error:\n * ERROR: Event loop not supported.\n *\n * If you don't need these polyfills, don't use InitializeCore; just directly\n * require the modules you need from InitializeCore for setup.\n */\n\n// If global.Promise is provided by Hermes, we are confident that it can provide\n// all the methods needed by React Native, so we can directly use it.\nif (global?.HermesInternal?.hasPromise?.()) {\n const HermesPromise = global.Promise;\n\n if (__DEV__) {\n if (typeof HermesPromise !== 'function') {\n console.error('HermesPromise does not exist');\n }\n global.HermesInternal?.enablePromiseRejectionTracker?.(\n require('../promiseRejectionTrackingOptions').default,\n );\n }\n} else {\n polyfillGlobal('Promise', () => require('../Promise'));\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst defineLazyObjectProperty = require('./defineLazyObjectProperty');\n\n/**\n * Sets an object's property. If a property with the same name exists, this will\n * replace it but maintain its descriptor configuration. The property will be\n * replaced with a lazy getter.\n *\n * In DEV mode the original property value will be preserved as `original[PropertyName]`\n * so that, if necessary, it can be restored. For example, if you want to route\n * network requests through DevTools (to trace them):\n *\n * global.XMLHttpRequest = global.originalXMLHttpRequest;\n *\n * @see https://github.com/facebook/react-native/issues/934\n */\nfunction polyfillObjectProperty(\n object: {...},\n name: string,\n getValue: () => T,\n): void {\n const descriptor = Object.getOwnPropertyDescriptor(object, name);\n if (__DEV__ && descriptor) {\n const backupName = `original${name[0].toUpperCase()}${name.substr(1)}`;\n Object.defineProperty(object, backupName, descriptor);\n }\n\n const {enumerable, writable, configurable = false} = descriptor || {};\n if (descriptor && !configurable) {\n console.error('Failed to set polyfill. ' + name + ' is not configurable.');\n return;\n }\n\n defineLazyObjectProperty(object, name, {\n get: getValue,\n enumerable: enumerable !== false,\n writable: writable !== false,\n });\n}\n\nfunction polyfillGlobal(name: string, getValue: () => T): void {\n polyfillObjectProperty(global, name, getValue);\n}\n\nmodule.exports = {polyfillObjectProperty, polyfillGlobal};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst Promise = require('promise/setimmediate/es6-extensions');\n\nrequire('promise/setimmediate/done');\nrequire('promise/setimmediate/finally');\n\nif (__DEV__) {\n require('promise/setimmediate/rejection-tracking').enable(\n require('./promiseRejectionTrackingOptions').default,\n );\n}\n\nmodule.exports = Promise;\n","'use strict';\n\n//This file contains the ES6 extensions to the core Promises/A+ API\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\n\n/* Static Functions */\n\nvar TRUE = valuePromise(true);\nvar FALSE = valuePromise(false);\nvar NULL = valuePromise(null);\nvar UNDEFINED = valuePromise(undefined);\nvar ZERO = valuePromise(0);\nvar EMPTYSTRING = valuePromise('');\n\nfunction valuePromise(value) {\n var p = new Promise(Promise._0);\n p._V = 1;\n p._W = value;\n return p;\n}\nPromise.resolve = function (value) {\n if (value instanceof Promise) return value;\n\n if (value === null) return NULL;\n if (value === undefined) return UNDEFINED;\n if (value === true) return TRUE;\n if (value === false) return FALSE;\n if (value === 0) return ZERO;\n if (value === '') return EMPTYSTRING;\n\n if (typeof value === 'object' || typeof value === 'function') {\n try {\n var then = value.then;\n if (typeof then === 'function') {\n return new Promise(then.bind(value));\n }\n } catch (ex) {\n return new Promise(function (resolve, reject) {\n reject(ex);\n });\n }\n }\n return valuePromise(value);\n};\n\nvar iterableToArray = function (iterable) {\n if (typeof Array.from === 'function') {\n // ES2015+, iterables exist\n iterableToArray = Array.from;\n return Array.from(iterable);\n }\n\n // ES5, only arrays and array-likes exist\n iterableToArray = function (x) { return Array.prototype.slice.call(x); };\n return Array.prototype.slice.call(iterable);\n}\n\nPromise.all = function (arr) {\n var args = iterableToArray(arr);\n\n return new Promise(function (resolve, reject) {\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n function res(i, val) {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n if (val instanceof Promise && val.then === Promise.prototype.then) {\n while (val._V === 3) {\n val = val._W;\n }\n if (val._V === 1) return res(i, val._W);\n if (val._V === 2) reject(val._W);\n val.then(function (val) {\n res(i, val);\n }, reject);\n return;\n } else {\n var then = val.then;\n if (typeof then === 'function') {\n var p = new Promise(then.bind(val));\n p.then(function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n }\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n iterableToArray(values).forEach(function(value){\n Promise.resolve(value).then(resolve, reject);\n });\n });\n};\n\n/* Prototype Methods */\n\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};\n","'use strict';\n\n\n\nfunction noop() {}\n\n// States:\n//\n// 0 - pending\n// 1 - fulfilled with _value\n// 2 - rejected with _value\n// 3 - adopted the state of another promise, _value\n//\n// once the state is no longer pending (0) it is immutable\n\n// All `_` prefixed properties will be reduced to `_{random number}`\n// at build time to obfuscate them and discourage their use.\n// We don't use symbols or Object.defineProperty to fully hide them\n// because the performance isn't good enough.\n\n\n// to avoid using try/catch inside critical functions, we\n// extract them to here.\nvar LAST_ERROR = null;\nvar IS_ERROR = {};\nfunction getThen(obj) {\n try {\n return obj.then;\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nfunction tryCallOne(fn, a) {\n try {\n return fn(a);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\nfunction tryCallTwo(fn, a, b) {\n try {\n fn(a, b);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nmodule.exports = Promise;\n\nfunction Promise(fn) {\n if (typeof this !== 'object') {\n throw new TypeError('Promises must be constructed via new');\n }\n if (typeof fn !== 'function') {\n throw new TypeError('Promise constructor\\'s argument is not a function');\n }\n this._U = 0;\n this._V = 0;\n this._W = null;\n this._X = null;\n if (fn === noop) return;\n doResolve(fn, this);\n}\nPromise._Y = null;\nPromise._Z = null;\nPromise._0 = noop;\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n if (this.constructor !== Promise) {\n return safeThen(this, onFulfilled, onRejected);\n }\n var res = new Promise(noop);\n handle(this, new Handler(onFulfilled, onRejected, res));\n return res;\n};\n\nfunction safeThen(self, onFulfilled, onRejected) {\n return new self.constructor(function (resolve, reject) {\n var res = new Promise(noop);\n res.then(resolve, reject);\n handle(self, new Handler(onFulfilled, onRejected, res));\n });\n}\nfunction handle(self, deferred) {\n while (self._V === 3) {\n self = self._W;\n }\n if (Promise._Y) {\n Promise._Y(self);\n }\n if (self._V === 0) {\n if (self._U === 0) {\n self._U = 1;\n self._X = deferred;\n return;\n }\n if (self._U === 1) {\n self._U = 2;\n self._X = [self._X, deferred];\n return;\n }\n self._X.push(deferred);\n return;\n }\n handleResolved(self, deferred);\n}\n\nfunction handleResolved(self, deferred) {\n setImmediate(function() {\n var cb = self._V === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n if (self._V === 1) {\n resolve(deferred.promise, self._W);\n } else {\n reject(deferred.promise, self._W);\n }\n return;\n }\n var ret = tryCallOne(cb, self._W);\n if (ret === IS_ERROR) {\n reject(deferred.promise, LAST_ERROR);\n } else {\n resolve(deferred.promise, ret);\n }\n });\n}\nfunction resolve(self, newValue) {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) {\n return reject(\n self,\n new TypeError('A promise cannot be resolved with itself.')\n );\n }\n if (\n newValue &&\n (typeof newValue === 'object' || typeof newValue === 'function')\n ) {\n var then = getThen(newValue);\n if (then === IS_ERROR) {\n return reject(self, LAST_ERROR);\n }\n if (\n then === self.then &&\n newValue instanceof Promise\n ) {\n self._V = 3;\n self._W = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(then.bind(newValue), self);\n return;\n }\n }\n self._V = 1;\n self._W = newValue;\n finale(self);\n}\n\nfunction reject(self, newValue) {\n self._V = 2;\n self._W = newValue;\n if (Promise._Z) {\n Promise._Z(self, newValue);\n }\n finale(self);\n}\nfunction finale(self) {\n if (self._U === 1) {\n handle(self, self._X);\n self._X = null;\n }\n if (self._U === 2) {\n for (var i = 0; i < self._X.length; i++) {\n handle(self, self._X[i]);\n }\n self._X = null;\n }\n}\n\nfunction Handler(onFulfilled, onRejected, promise){\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, promise) {\n var done = false;\n var res = tryCallTwo(fn, function (value) {\n if (done) return;\n done = true;\n resolve(promise, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(promise, reason);\n });\n if (!done && res === IS_ERROR) {\n done = true;\n reject(promise, LAST_ERROR);\n }\n}\n","'use strict';\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\nPromise.prototype.done = function (onFulfilled, onRejected) {\n var self = arguments.length ? this.then.apply(this, arguments) : this;\n self.then(null, function (err) {\n setTimeout(function () {\n throw err;\n }, 0);\n });\n};\n","'use strict';\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\nPromise.prototype.finally = function (f) {\n return this.then(function (value) {\n return Promise.resolve(f()).then(function () {\n return value;\n });\n }, function (err) {\n return Promise.resolve(f()).then(function () {\n throw err;\n });\n });\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\nconst {hasNativeConstructor} = require('../Utilities/FeatureDetection');\n\n/**\n * Set up regenerator.\n * You can use this module directly, or just require InitializeCore.\n */\n\nlet hasNativeGenerator;\ntry {\n // If this function was lowered by regenerator-transform, it will try to\n // access `global.regeneratorRuntime` which doesn't exist yet and will throw.\n hasNativeGenerator = hasNativeConstructor(function*() {},\n 'GeneratorFunction');\n} catch {\n // In this case, we know generators are not provided natively.\n hasNativeGenerator = false;\n}\n\n// If generators are provided natively, which suggests that there was no\n// regenerator-transform, then there is no need to set up the runtime.\nif (!hasNativeGenerator) {\n polyfillGlobal('regeneratorRuntime', () => {\n // The require just sets up the global, so make sure when we first\n // invoke it the global does not exist\n delete global.regeneratorRuntime;\n\n // regenerator-runtime/runtime exports the regeneratorRuntime object, so we\n // can return it safely.\n return require('regenerator-runtime/runtime'); // flowlint-line untyped-import:off\n });\n}\n","module.exports = require(\"regenerator-runtime\");\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n/**\n * @return whether or not a @param {function} f is provided natively by calling\n * `toString` and check if the result includes `[native code]` in it.\n *\n * Note that a polyfill can technically fake this behavior but few does it.\n * Therefore, this is usually good enough for our purpose.\n */\nfunction isNativeFunction(f: Function): boolean {\n return typeof f === 'function' && f.toString().indexOf('[native code]') > -1;\n}\n\n/**\n * @return whether or not the constructor of @param {object} o is an native\n * function named with @param {string} expectedName.\n */\nfunction hasNativeConstructor(o: Object, expectedName: string): boolean {\n const con = Object.getPrototypeOf(o).constructor;\n return con.name === expectedName && isNativeFunction(con);\n}\n\nmodule.exports = {isNativeFunction, hasNativeConstructor};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\nconst {isNativeFunction} = require('../Utilities/FeatureDetection');\n\nif (__DEV__) {\n if (typeof global.Promise !== 'function') {\n console.error('Promise should exist before setting up timers.');\n }\n}\n\n// Currently, Hermes `Promise` is implemented via Internal Bytecode.\nconst hasHermesPromiseQueuedToJSVM =\n global.HermesInternal?.hasPromise?.() === true &&\n global.HermesInternal?.useEngineQueue?.() === true;\n\nconst hasNativePromise = isNativeFunction(Promise);\nconst hasPromiseQueuedToJSVM = hasNativePromise || hasHermesPromiseQueuedToJSVM;\n\n// In bridgeless mode, timers are host functions installed from cpp.\nif (!global.RN$Bridgeless) {\n /**\n * Set up timers.\n * You can use this module directly, or just require InitializeCore.\n */\n const defineLazyTimer = name => {\n polyfillGlobal(name, () => require('./Timers/JSTimers')[name]);\n };\n defineLazyTimer('setTimeout');\n defineLazyTimer('clearTimeout');\n defineLazyTimer('setInterval');\n defineLazyTimer('clearInterval');\n defineLazyTimer('requestAnimationFrame');\n defineLazyTimer('cancelAnimationFrame');\n defineLazyTimer('requestIdleCallback');\n defineLazyTimer('cancelIdleCallback');\n}\n\n/**\n * Set up immediate APIs, which is required to use the same microtask queue\n * as the Promise.\n */\nif (hasPromiseQueuedToJSVM) {\n // When promise queues to the JSVM microtasks queue, we shim the immedaite\n // APIs via `queueMicrotask` to maintain the backward compatibility.\n polyfillGlobal(\n 'setImmediate',\n () => require('./Timers/immediateShim').setImmediate,\n );\n polyfillGlobal(\n 'clearImmediate',\n () => require('./Timers/immediateShim').clearImmediate,\n );\n} else {\n // When promise was polyfilled hence is queued to the RN microtask queue,\n // we polyfill the immediate APIs as aliases to the ReactNativeMicrotask APIs.\n // Note that in bridgeless mode, immediate APIs are installed from cpp.\n if (!global.RN$Bridgeless) {\n polyfillGlobal(\n 'setImmediate',\n () => require('./Timers/JSTimers').queueReactNativeMicrotask,\n );\n polyfillGlobal(\n 'clearImmediate',\n () => require('./Timers/JSTimers').clearReactNativeMicrotask,\n );\n }\n}\n\n/**\n * Set up the microtask queueing API, which is required to use the same\n * microtask queue as the Promise.\n */\nif (hasHermesPromiseQueuedToJSVM) {\n // Fast path for Hermes.\n polyfillGlobal('queueMicrotask', () => global.HermesInternal?.enqueueJob);\n} else {\n // Polyfill it with promise (regardless it's polyfiled or native) otherwise.\n polyfillGlobal(\n 'queueMicrotask',\n () => require('./Timers/queueMicrotask.js').default,\n );\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nconst BatchedBridge = require('../../BatchedBridge/BatchedBridge');\nconst Systrace = require('../../Performance/Systrace');\n\nconst invariant = require('invariant');\n\nimport NativeTiming from './NativeTiming';\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\n\nexport type JSTimerType =\n | 'setTimeout'\n | 'setInterval'\n | 'requestAnimationFrame'\n | 'queueReactNativeMicrotask'\n | 'requestIdleCallback';\n\n// These timing constants should be kept in sync with the ones in native ios and\n// android `RCTTiming` module.\nconst FRAME_DURATION = 1000 / 60;\nconst IDLE_CALLBACK_FRAME_DEADLINE = 1;\n\n// Parallel arrays\nconst callbacks: Array = [];\nconst types: Array = [];\nconst timerIDs: Array = [];\nlet reactNativeMicrotasks: Array = [];\nlet requestIdleCallbacks: Array = [];\nconst requestIdleCallbackTimeouts: {[number]: number, ...} = {};\n\nlet GUID = 1;\nlet errors: ?Array = null;\n\nlet hasEmittedTimeDriftWarning = false;\n\n// Returns a free index if one is available, and the next consecutive index otherwise.\nfunction _getFreeIndex(): number {\n let freeIndex = timerIDs.indexOf(null);\n if (freeIndex === -1) {\n freeIndex = timerIDs.length;\n }\n return freeIndex;\n}\n\nfunction _allocateCallback(func: Function, type: JSTimerType): number {\n const id = GUID++;\n const freeIndex = _getFreeIndex();\n timerIDs[freeIndex] = id;\n callbacks[freeIndex] = func;\n types[freeIndex] = type;\n return id;\n}\n\n/**\n * Calls the callback associated with the ID. Also unregister that callback\n * if it was a one time timer (setTimeout), and not unregister it if it was\n * recurring (setInterval).\n */\nfunction _callTimer(timerID: number, frameTime: number, didTimeout: ?boolean) {\n if (timerID > GUID) {\n console.warn(\n 'Tried to call timer with ID %s but no such timer exists.',\n timerID,\n );\n }\n\n // timerIndex of -1 means that no timer with that ID exists. There are\n // two situations when this happens, when a garbage timer ID was given\n // and when a previously existing timer was deleted before this callback\n // fired. In both cases we want to ignore the timer id, but in the former\n // case we warn as well.\n const timerIndex = timerIDs.indexOf(timerID);\n if (timerIndex === -1) {\n return;\n }\n\n const type = types[timerIndex];\n const callback = callbacks[timerIndex];\n if (!callback || !type) {\n console.error('No callback found for timerID ' + timerID);\n return;\n }\n\n if (__DEV__) {\n Systrace.beginEvent(type + ' [invoke]');\n }\n\n // Clear the metadata\n if (type !== 'setInterval') {\n _clearIndex(timerIndex);\n }\n\n try {\n if (\n type === 'setTimeout' ||\n type === 'setInterval' ||\n type === 'queueReactNativeMicrotask'\n ) {\n callback();\n } else if (type === 'requestAnimationFrame') {\n callback(global.performance.now());\n } else if (type === 'requestIdleCallback') {\n callback({\n timeRemaining: function() {\n // TODO: Optimisation: allow running for longer than one frame if\n // there are no pending JS calls on the bridge from native. This\n // would require a way to check the bridge queue synchronously.\n return Math.max(\n 0,\n FRAME_DURATION - (global.performance.now() - frameTime),\n );\n },\n didTimeout: !!didTimeout,\n });\n } else {\n console.error('Tried to call a callback with invalid type: ' + type);\n }\n } catch (e) {\n // Don't rethrow so that we can run all timers.\n if (!errors) {\n errors = [e];\n } else {\n errors.push(e);\n }\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n}\n\n/**\n * Performs a single pass over the enqueued reactNativeMicrotasks. Returns whether\n * more reactNativeMicrotasks are queued up (can be used as a condition a while loop).\n */\nfunction _callReactNativeMicrotasksPass() {\n if (reactNativeMicrotasks.length === 0) {\n return false;\n }\n\n if (__DEV__) {\n Systrace.beginEvent('callReactNativeMicrotasksPass()');\n }\n\n // The main reason to extract a single pass is so that we can track\n // in the system trace\n const passReactNativeMicrotasks = reactNativeMicrotasks;\n reactNativeMicrotasks = [];\n\n // Use for loop rather than forEach as per @vjeux's advice\n // https://github.com/facebook/react-native/commit/c8fd9f7588ad02d2293cac7224715f4af7b0f352#commitcomment-14570051\n for (let i = 0; i < passReactNativeMicrotasks.length; ++i) {\n _callTimer(passReactNativeMicrotasks[i], 0);\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n return reactNativeMicrotasks.length > 0;\n}\n\nfunction _clearIndex(i: number) {\n timerIDs[i] = null;\n callbacks[i] = null;\n types[i] = null;\n}\n\nfunction _freeCallback(timerID: number) {\n // timerIDs contains nulls after timers have been removed;\n // ignore nulls upfront so indexOf doesn't find them\n if (timerID == null) {\n return;\n }\n\n const index = timerIDs.indexOf(timerID);\n // See corresponding comment in `callTimers` for reasoning behind this\n if (index !== -1) {\n const type = types[index];\n _clearIndex(index);\n if (\n type !== 'queueReactNativeMicrotask' &&\n type !== 'requestIdleCallback'\n ) {\n deleteTimer(timerID);\n }\n }\n}\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\nconst JSTimers = {\n /**\n * @param {function} func Callback to be invoked after `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setTimeout: function(func: Function, duration: number, ...args: any): number {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setTimeout',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setInterval: function(\n func: Function,\n duration: number,\n ...args: any\n ): number {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setInterval',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ true);\n return id;\n },\n\n /**\n * The React Native microtask mechanism is used to back public APIs e.g.\n * `queueMicrotask`, `clearImmediate`, and `setImmediate` (which is used by\n * the Promise polyfill) when the JSVM microtask mechanism is not used.\n *\n * @param {function} func Callback to be invoked before the end of the\n * current JavaScript execution loop.\n */\n queueReactNativeMicrotask: function(func: Function, ...args: any) {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'queueReactNativeMicrotask',\n );\n reactNativeMicrotasks.push(id);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame.\n */\n requestAnimationFrame: function(func: Function) {\n const id = _allocateCallback(func, 'requestAnimationFrame');\n createTimer(id, 1, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame and provided\n * with time remaining in frame.\n * @param {?object} options\n */\n requestIdleCallback: function(func: Function, options: ?Object) {\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(true);\n }\n\n const timeout = options && options.timeout;\n const id = _allocateCallback(\n timeout != null\n ? deadline => {\n const timeoutId = requestIdleCallbackTimeouts[id];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[id];\n }\n return func(deadline);\n }\n : func,\n 'requestIdleCallback',\n );\n requestIdleCallbacks.push(id);\n\n if (timeout != null) {\n const timeoutId = JSTimers.setTimeout(() => {\n const index = requestIdleCallbacks.indexOf(id);\n if (index > -1) {\n requestIdleCallbacks.splice(index, 1);\n _callTimer(id, global.performance.now(), true);\n }\n delete requestIdleCallbackTimeouts[id];\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n }, timeout);\n requestIdleCallbackTimeouts[id] = timeoutId;\n }\n return id;\n },\n\n cancelIdleCallback: function(timerID: number) {\n _freeCallback(timerID);\n const index = requestIdleCallbacks.indexOf(timerID);\n if (index !== -1) {\n requestIdleCallbacks.splice(index, 1);\n }\n\n const timeoutId = requestIdleCallbackTimeouts[timerID];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[timerID];\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n },\n\n clearTimeout: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n clearInterval: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n clearReactNativeMicrotask: function(timerID: number) {\n _freeCallback(timerID);\n const index = reactNativeMicrotasks.indexOf(timerID);\n if (index !== -1) {\n reactNativeMicrotasks.splice(index, 1);\n }\n },\n\n cancelAnimationFrame: function(timerID: number) {\n _freeCallback(timerID);\n },\n\n /**\n * This is called from the native side. We are passed an array of timerIDs,\n * and\n */\n callTimers: function(timersToCall: Array) {\n invariant(\n timersToCall.length !== 0,\n 'Cannot call `callTimers` with an empty list of IDs.',\n );\n\n errors = (null: ?Array);\n for (let i = 0; i < timersToCall.length; i++) {\n _callTimer(timersToCall[i], 0);\n }\n\n if (errors) {\n // $FlowFixMe[incompatible-use]\n const errorCount = errors.length;\n if (errorCount > 1) {\n // Throw all the other errors in a setTimeout, which will throw each\n // error one at a time\n for (let ii = 1; ii < errorCount; ii++) {\n JSTimers.setTimeout(\n (error => {\n throw error;\n // $FlowFixMe[incompatible-use]\n }).bind(null, errors[ii]),\n 0,\n );\n }\n }\n // $FlowFixMe[incompatible-use]\n throw errors[0];\n }\n },\n\n callIdleCallbacks: function(frameTime: number) {\n if (\n FRAME_DURATION - (global.performance.now() - frameTime) <\n IDLE_CALLBACK_FRAME_DEADLINE\n ) {\n return;\n }\n\n errors = (null: ?Array);\n if (requestIdleCallbacks.length > 0) {\n const passIdleCallbacks = requestIdleCallbacks;\n requestIdleCallbacks = [];\n\n for (let i = 0; i < passIdleCallbacks.length; ++i) {\n _callTimer(passIdleCallbacks[i], frameTime);\n }\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n\n if (errors) {\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n }\n },\n\n /**\n * This is called after we execute any command we receive from native but\n * before we hand control back to native.\n */\n callReactNativeMicrotasks() {\n errors = (null: ?Array);\n while (_callReactNativeMicrotasksPass()) {}\n if (errors) {\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n }\n },\n\n /**\n * Called from native (in development) when environment times are out-of-sync.\n */\n emitTimeDriftWarning(warningMessage: string) {\n if (hasEmittedTimeDriftWarning) {\n return;\n }\n hasEmittedTimeDriftWarning = true;\n console.warn(warningMessage);\n },\n};\n\nfunction createTimer(\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.createTimer(callbackID, duration, jsSchedulingTime, repeats);\n}\n\nfunction deleteTimer(timerID: number): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.deleteTimer(timerID);\n}\n\nfunction setSendIdleEvents(sendIdleEvents: boolean): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.setSendIdleEvents(sendIdleEvents);\n}\n\nlet ExportedJSTimers: {|\n callIdleCallbacks: (frameTime: number) => any | void,\n callReactNativeMicrotasks: () => void,\n callTimers: (timersToCall: Array) => any | void,\n cancelAnimationFrame: (timerID: number) => void,\n cancelIdleCallback: (timerID: number) => void,\n clearReactNativeMicrotask: (timerID: number) => void,\n clearInterval: (timerID: number) => void,\n clearTimeout: (timerID: number) => void,\n emitTimeDriftWarning: (warningMessage: string) => any | void,\n requestAnimationFrame: (func: any) => any | number,\n requestIdleCallback: (func: any, options: ?any) => any | number,\n queueReactNativeMicrotask: (func: any, ...args: any) => number,\n setInterval: (func: any, duration: number, ...args: any) => number,\n setTimeout: (func: any, duration: number, ...args: any) => number,\n|};\n\nif (!NativeTiming) {\n console.warn(\"Timing native module is not available, can't set timers.\");\n // $FlowFixMe[prop-missing] : we can assume timers are generally available\n ExportedJSTimers = ({\n callReactNativeMicrotasks: JSTimers.callReactNativeMicrotasks,\n queueReactNativeMicrotask: JSTimers.queueReactNativeMicrotask,\n }: typeof JSTimers);\n} else {\n ExportedJSTimers = JSTimers;\n}\n\nBatchedBridge.setReactNativeMicrotasksCallback(\n JSTimers.callReactNativeMicrotasks,\n);\n\nmodule.exports = ExportedJSTimers;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +createTimer: (\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n ) => void;\n +deleteTimer: (timerID: number) => void;\n +setSendIdleEvents: (sendIdleEvents: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('Timing'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n// Globally Unique Immediate ID.\nlet GUIID = 1;\n\n// A global set of the currently cleared immediates.\nconst clearedImmediates: Set = new Set();\n\n/**\n * Shim the setImmediate API on top of queueMicrotask.\n * @param {function} func Callback to be invoked before the end of the\n * current JavaScript execution loop.\n */\nfunction setImmediate(callback: Function, ...args: any): number {\n if (arguments.length < 1) {\n throw new TypeError(\n 'setImmediate must be called with at least one argument (a function to call)',\n );\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\n 'The first argument to setImmediate must be a function.',\n );\n }\n\n const id = GUIID++;\n // This is an edgey case in which the sequentially assigned ID has been\n // \"guessed\" and \"cleared\" ahead of time, so we need to clear it up first.\n if (clearedImmediates.has(id)) {\n clearedImmediates.delete(id);\n }\n\n global.queueMicrotask(() => {\n if (!clearedImmediates.has(id)) {\n callback.apply(undefined, args);\n } else {\n // Free up the Set entry.\n clearedImmediates.delete(id);\n }\n });\n\n return id;\n}\n\n/**\n * @param {number} immediateID The ID of the immediate to be clearred.\n */\nfunction clearImmediate(immediateID: number) {\n clearedImmediates.add(immediateID);\n}\n\nconst immediateShim = {\n setImmediate: setImmediate,\n clearImmediate: clearImmediate,\n};\n\nmodule.exports = immediateShim;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nlet resolvedPromise;\n\n/**\n * Polyfill for the microtask queuening API defined by WHATWG HTMP spec.\n * https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n *\n * The method must queue a microtask to invoke @param {function} callback, and\n * if the callback throws an exception, report the exception.\n */\nexport default function queueMicrotask(callback: Function) {\n if (arguments.length < 1) {\n throw new TypeError(\n 'queueMicrotask must be called with at least one argument (a function to call)',\n );\n }\n if (typeof callback !== 'function') {\n throw new TypeError('The argument to queueMicrotask must be a function.');\n }\n\n // Try to reuse a lazily allocated resolved promise from closure.\n (resolvedPromise || (resolvedPromise = Promise.resolve()))\n .then(callback)\n .catch(error =>\n // Report the exception until the next tick.\n setTimeout(() => {\n throw error;\n }, 0),\n );\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up XMLHttpRequest. The native XMLHttpRequest in Chrome dev tools is CORS\n * aware and won't let you fetch anything from the internet.\n *\n * You can use this module directly, or just require InitializeCore.\n */\npolyfillGlobal('XMLHttpRequest', () => require('../Network/XMLHttpRequest'));\npolyfillGlobal('FormData', () => require('../Network/FormData'));\n\npolyfillGlobal('fetch', () => require('../Network/fetch').fetch);\npolyfillGlobal('Headers', () => require('../Network/fetch').Headers);\npolyfillGlobal('Request', () => require('../Network/fetch').Request);\npolyfillGlobal('Response', () => require('../Network/fetch').Response);\npolyfillGlobal('WebSocket', () => require('../WebSocket/WebSocket'));\npolyfillGlobal('Blob', () => require('../Blob/Blob'));\npolyfillGlobal('File', () => require('../Blob/File'));\npolyfillGlobal('FileReader', () => require('../Blob/FileReader'));\npolyfillGlobal('URL', () => require('../Blob/URL').URL); // flowlint-line untyped-import:off\npolyfillGlobal('URLSearchParams', () => require('../Blob/URL').URLSearchParams); // flowlint-line untyped-import:off\npolyfillGlobal(\n 'AbortController',\n () => require('abort-controller/dist/abort-controller').AbortController, // flowlint-line untyped-import:off\n);\npolyfillGlobal(\n 'AbortSignal',\n () => require('abort-controller/dist/abort-controller').AbortSignal, // flowlint-line untyped-import:off\n);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\n\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nconst BlobManager = require('../Blob/BlobManager');\nconst EventTarget = require('event-target-shim');\nconst GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');\nconst RCTNetworking = require('./RCTNetworking');\n\nconst base64 = require('base64-js');\nconst invariant = require('invariant');\n\nconst DEBUG_NETWORK_SEND_DELAY: false = false; // Set to a number of milliseconds when debugging\n\nexport type NativeResponseType = 'base64' | 'blob' | 'text';\nexport type ResponseType =\n | ''\n | 'arraybuffer'\n | 'blob'\n | 'document'\n | 'json'\n | 'text';\nexport type Response = ?Object | string;\n\ntype XHRInterceptor = interface {\n requestSent(id: number, url: string, method: string, headers: Object): void,\n responseReceived(\n id: number,\n url: string,\n status: number,\n headers: Object,\n ): void,\n dataReceived(id: number, data: string): void,\n loadingFinished(id: number, encodedDataLength: number): void,\n loadingFailed(id: number, error: string): void,\n};\n\n// The native blob module is optional so inject it here if available.\nif (BlobManager.isAvailable) {\n BlobManager.addNetworkingHandler();\n}\n\nconst UNSENT = 0;\nconst OPENED = 1;\nconst HEADERS_RECEIVED = 2;\nconst LOADING = 3;\nconst DONE = 4;\n\nconst SUPPORTED_RESPONSE_TYPES = {\n arraybuffer: typeof global.ArrayBuffer === 'function',\n blob: typeof global.Blob === 'function',\n document: false,\n json: true,\n text: true,\n '': true,\n};\n\nconst REQUEST_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'progress',\n 'timeout',\n 'loadend',\n];\n\nconst XHR_EVENTS = REQUEST_EVENTS.concat('readystatechange');\n\nclass XMLHttpRequestEventTarget extends (EventTarget(...REQUEST_EVENTS): any) {\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n}\n\n/**\n * Shared base for platform-specific XMLHttpRequest implementations.\n */\nclass XMLHttpRequest extends (EventTarget(...XHR_EVENTS): any) {\n static UNSENT: number = UNSENT;\n static OPENED: number = OPENED;\n static HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n static _interceptor: ?XHRInterceptor = null;\n\n UNSENT: number = UNSENT;\n OPENED: number = OPENED;\n HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n // EventTarget automatically initializes these to `null`.\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n onreadystatechange: ?Function;\n\n readyState: number = UNSENT;\n responseHeaders: ?Object;\n status: number = 0;\n timeout: number = 0;\n responseURL: ?string;\n withCredentials: boolean = true;\n\n upload: XMLHttpRequestEventTarget = new XMLHttpRequestEventTarget();\n\n _requestId: ?number;\n _subscriptions: Array;\n\n _aborted: boolean = false;\n _cachedResponse: Response;\n _hasError: boolean = false;\n _headers: Object;\n _lowerCaseResponseHeaders: Object;\n _method: ?string = null;\n _perfKey: ?string = null;\n _response: string | ?Object;\n _responseType: ResponseType;\n _response: string = '';\n _sent: boolean;\n _url: ?string = null;\n _timedOut: boolean = false;\n _trackingName: string = 'unknown';\n _incrementalEvents: boolean = false;\n _performanceLogger: IPerformanceLogger = GlobalPerformanceLogger;\n\n static setInterceptor(interceptor: ?XHRInterceptor) {\n XMLHttpRequest._interceptor = interceptor;\n }\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this.readyState = this.UNSENT;\n this.responseHeaders = undefined;\n this.status = 0;\n delete this.responseURL;\n\n this._requestId = null;\n\n this._cachedResponse = undefined;\n this._hasError = false;\n this._headers = {};\n this._response = '';\n this._responseType = '';\n this._sent = false;\n this._lowerCaseResponseHeaders = {};\n\n this._clearSubscriptions();\n this._timedOut = false;\n }\n\n get responseType(): ResponseType {\n return this._responseType;\n }\n\n set responseType(responseType: ResponseType): void {\n if (this._sent) {\n throw new Error(\n \"Failed to set the 'responseType' property on 'XMLHttpRequest': The \" +\n 'response type cannot be set after the request has been sent.',\n );\n }\n if (!SUPPORTED_RESPONSE_TYPES.hasOwnProperty(responseType)) {\n console.warn(\n `The provided value '${responseType}' is not a valid 'responseType'.`,\n );\n return;\n }\n\n // redboxes early, e.g. for 'arraybuffer' on ios 7\n invariant(\n SUPPORTED_RESPONSE_TYPES[responseType] || responseType === 'document',\n `The provided value '${responseType}' is unsupported in this environment.`,\n );\n\n if (responseType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n }\n this._responseType = responseType;\n }\n\n get responseText(): string {\n if (this._responseType !== '' && this._responseType !== 'text') {\n throw new Error(\n \"The 'responseText' property is only available if 'responseType' \" +\n `is set to '' or 'text', but it is '${this._responseType}'.`,\n );\n }\n if (this.readyState < LOADING) {\n return '';\n }\n return this._response;\n }\n\n get response(): Response {\n const {responseType} = this;\n if (responseType === '' || responseType === 'text') {\n return this.readyState < LOADING || this._hasError ? '' : this._response;\n }\n\n if (this.readyState !== DONE) {\n return null;\n }\n\n if (this._cachedResponse !== undefined) {\n return this._cachedResponse;\n }\n\n switch (responseType) {\n case 'document':\n this._cachedResponse = null;\n break;\n\n case 'arraybuffer':\n this._cachedResponse = base64.toByteArray(this._response).buffer;\n break;\n\n case 'blob':\n if (typeof this._response === 'object' && this._response) {\n this._cachedResponse = BlobManager.createFromOptions(this._response);\n } else if (this._response === '') {\n this._cachedResponse = BlobManager.createFromParts([]);\n } else {\n throw new Error(`Invalid response for blob: ${this._response}`);\n }\n break;\n\n case 'json':\n try {\n this._cachedResponse = JSON.parse(this._response);\n } catch (_) {\n this._cachedResponse = null;\n }\n break;\n\n default:\n this._cachedResponse = null;\n }\n\n return this._cachedResponse;\n }\n\n // exposed for testing\n __didCreateRequest(requestId: number): void {\n this._requestId = requestId;\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.requestSent(\n requestId,\n this._url || '',\n this._method || 'GET',\n this._headers,\n );\n }\n\n // exposed for testing\n __didUploadProgress(\n requestId: number,\n progress: number,\n total: number,\n ): void {\n if (requestId === this._requestId) {\n this.upload.dispatchEvent({\n type: 'progress',\n lengthComputable: true,\n loaded: progress,\n total,\n });\n }\n }\n\n __didReceiveResponse(\n requestId: number,\n status: number,\n responseHeaders: ?Object,\n responseURL: ?string,\n ): void {\n if (requestId === this._requestId) {\n this._perfKey != null &&\n this._performanceLogger.stopTimespan(this._perfKey);\n this.status = status;\n this.setResponseHeaders(responseHeaders);\n this.setReadyState(this.HEADERS_RECEIVED);\n if (responseURL || responseURL === '') {\n this.responseURL = responseURL;\n } else {\n delete this.responseURL;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.responseReceived(\n requestId,\n responseURL || this._url || '',\n status,\n responseHeaders || {},\n );\n }\n }\n\n __didReceiveData(requestId: number, response: string): void {\n if (requestId !== this._requestId) {\n return;\n }\n this._response = response;\n this._cachedResponse = undefined; // force lazy recomputation\n this.setReadyState(this.LOADING);\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, response);\n }\n\n __didReceiveIncrementalData(\n requestId: number,\n responseText: string,\n progress: number,\n total: number,\n ) {\n if (requestId !== this._requestId) {\n return;\n }\n if (!this._response) {\n this._response = responseText;\n } else {\n this._response += responseText;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, responseText);\n\n this.setReadyState(this.LOADING);\n this.__didReceiveDataProgress(requestId, progress, total);\n }\n\n __didReceiveDataProgress(\n requestId: number,\n loaded: number,\n total: number,\n ): void {\n if (requestId !== this._requestId) {\n return;\n }\n this.dispatchEvent({\n type: 'progress',\n lengthComputable: total >= 0,\n loaded,\n total,\n });\n }\n\n // exposed for testing\n __didCompleteResponse(\n requestId: number,\n error: string,\n timeOutError: boolean,\n ): void {\n if (requestId === this._requestId) {\n if (error) {\n if (this._responseType === '' || this._responseType === 'text') {\n this._response = error;\n }\n this._hasError = true;\n if (timeOutError) {\n this._timedOut = true;\n }\n }\n this._clearSubscriptions();\n this._requestId = null;\n this.setReadyState(this.DONE);\n\n if (error) {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFailed(requestId, error);\n } else {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFinished(\n requestId,\n this._response.length,\n );\n }\n }\n }\n\n _clearSubscriptions(): void {\n (this._subscriptions || []).forEach(sub => {\n if (sub) {\n sub.remove();\n }\n });\n this._subscriptions = [];\n }\n\n getAllResponseHeaders(): ?string {\n if (!this.responseHeaders) {\n // according to the spec, return null if no response has been received\n return null;\n }\n const headers = this.responseHeaders || {};\n return Object.keys(headers)\n .map(headerName => {\n return headerName + ': ' + headers[headerName];\n })\n .join('\\r\\n');\n }\n\n getResponseHeader(header: string): ?string {\n const value = this._lowerCaseResponseHeaders[header.toLowerCase()];\n return value !== undefined ? value : null;\n }\n\n setRequestHeader(header: string, value: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n this._headers[header.toLowerCase()] = String(value);\n }\n\n /**\n * Custom extension for tracking origins of request.\n */\n setTrackingName(trackingName: string): XMLHttpRequest {\n this._trackingName = trackingName;\n return this;\n }\n\n /**\n * Custom extension for setting a custom performance logger\n */\n setPerformanceLogger(performanceLogger: IPerformanceLogger): XMLHttpRequest {\n this._performanceLogger = performanceLogger;\n return this;\n }\n\n open(method: string, url: string, async: ?boolean): void {\n /* Other optional arguments are not supported yet */\n if (this.readyState !== this.UNSENT) {\n throw new Error('Cannot open, already sending');\n }\n if (async !== undefined && !async) {\n // async is default\n throw new Error('Synchronous http requests are not supported');\n }\n if (!url) {\n throw new Error('Cannot load an empty url');\n }\n this._method = method.toUpperCase();\n this._url = url;\n this._aborted = false;\n this.setReadyState(this.OPENED);\n }\n\n send(data: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n if (this._sent) {\n throw new Error('Request has already been sent');\n }\n this._sent = true;\n const incrementalEvents =\n this._incrementalEvents || !!this.onreadystatechange || !!this.onprogress;\n\n this._subscriptions.push(\n RCTNetworking.addListener('didSendNetworkData', args =>\n this.__didUploadProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkResponse', args =>\n this.__didReceiveResponse(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkData', args =>\n this.__didReceiveData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkIncrementalData', args =>\n this.__didReceiveIncrementalData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkDataProgress', args =>\n this.__didReceiveDataProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didCompleteNetworkResponse', args =>\n this.__didCompleteResponse(...args),\n ),\n );\n\n let nativeResponseType: NativeResponseType = 'text';\n if (this._responseType === 'arraybuffer') {\n nativeResponseType = 'base64';\n }\n if (this._responseType === 'blob') {\n nativeResponseType = 'blob';\n }\n\n const doSend = () => {\n const friendlyName =\n this._trackingName !== 'unknown' ? this._trackingName : this._url;\n this._perfKey = 'network_XMLHttpRequest_' + String(friendlyName);\n this._performanceLogger.startTimespan(this._perfKey);\n invariant(\n this._method,\n 'XMLHttpRequest method needs to be defined (%s).',\n friendlyName,\n );\n invariant(\n this._url,\n 'XMLHttpRequest URL needs to be defined (%s).',\n friendlyName,\n );\n RCTNetworking.sendRequest(\n this._method,\n this._trackingName,\n this._url,\n this._headers,\n data,\n /* $FlowFixMe(>=0.78.0 site=react_native_android_fb) This issue was found\n * when making Flow check .android.js files. */\n nativeResponseType,\n incrementalEvents,\n this.timeout,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.__didCreateRequest.bind(this),\n this.withCredentials,\n );\n };\n if (DEBUG_NETWORK_SEND_DELAY) {\n setTimeout(doSend, DEBUG_NETWORK_SEND_DELAY);\n } else {\n doSend();\n }\n }\n\n abort(): void {\n this._aborted = true;\n if (this._requestId) {\n RCTNetworking.abortRequest(this._requestId);\n }\n // only call onreadystatechange if there is something to abort,\n // below logic is per spec\n if (\n !(\n this.readyState === this.UNSENT ||\n (this.readyState === this.OPENED && !this._sent) ||\n this.readyState === this.DONE\n )\n ) {\n this._reset();\n this.setReadyState(this.DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n setResponseHeaders(responseHeaders: ?Object): void {\n this.responseHeaders = responseHeaders || null;\n const headers = responseHeaders || {};\n this._lowerCaseResponseHeaders = Object.keys(headers).reduce(\n (lcaseHeaders, headerName) => {\n lcaseHeaders[headerName.toLowerCase()] = headers[headerName];\n return lcaseHeaders;\n },\n {},\n );\n }\n\n setReadyState(newState: number): void {\n this.readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === this.DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._hasError) {\n if (this._timedOut) {\n this.dispatchEvent({type: 'timeout'});\n } else {\n this.dispatchEvent({type: 'error'});\n }\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n /* global EventListener */\n addEventListener(type: string, listener: EventListener): void {\n // If we dont' have a 'readystatechange' event handler, we don't\n // have to send repeated LOADING events with incremental updates\n // to responseText, which will avoid a bunch of native -> JS\n // bridge traffic.\n if (type === 'readystatechange' || type === 'progress') {\n this._incrementalEvents = true;\n }\n super.addEventListener(type, listener);\n }\n}\n\nmodule.exports = XMLHttpRequest;\n","var superPropBase = require(\"./superPropBase.js\");\n\nfunction _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n module.exports = _get = Reflect.get;\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _get(target, property, receiver || target);\n}\n\nmodule.exports = _get;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nmodule.exports = _superPropBase;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nconst Blob = require('./Blob');\nconst BlobRegistry = require('./BlobRegistry');\n\nimport type {BlobData, BlobOptions, BlobCollector} from './BlobTypes';\nimport NativeBlobModule from './NativeBlobModule';\nimport invariant from 'invariant';\n\n/*eslint-disable no-bitwise */\n/*eslint-disable eqeqeq */\n\n/**\n * Based on the rfc4122-compliant solution posted at\n * http://stackoverflow.com/questions/105034\n */\nfunction uuidv4(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\n const r = (Math.random() * 16) | 0,\n v = c == 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n// **Temporary workaround**\n// TODO(#24654): Use turbomodules for the Blob module.\n// Blob collector is a jsi::HostObject that is used by native to know\n// when the a Blob instance is deallocated. This allows to free the\n// underlying native resources. This is a hack to workaround the fact\n// that the current bridge infra doesn't allow to track js objects\n// deallocation. Ideally the whole Blob object should be a jsi::HostObject.\nfunction createBlobCollector(blobId: string): BlobCollector | null {\n if (global.__blobCollectorProvider == null) {\n return null;\n } else {\n return global.__blobCollectorProvider(blobId);\n }\n}\n\n/**\n * Module to manage blobs. Wrapper around the native blob module.\n */\nclass BlobManager {\n /**\n * If the native blob module is available.\n */\n static isAvailable: boolean = !!NativeBlobModule;\n\n /**\n * Create blob from existing array of blobs.\n */\n static createFromParts(\n parts: Array,\n options?: BlobOptions,\n ): Blob {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n const blobId = uuidv4();\n const items = parts.map(part => {\n if (\n part instanceof ArrayBuffer ||\n (global.ArrayBufferView && part instanceof global.ArrayBufferView)\n ) {\n throw new Error(\n \"Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported\",\n );\n }\n if (part instanceof Blob) {\n return {\n data: part.data,\n type: 'blob',\n };\n } else {\n return {\n data: String(part),\n type: 'string',\n };\n }\n });\n const size = items.reduce((acc, curr) => {\n if (curr.type === 'string') {\n return acc + global.unescape(encodeURI(curr.data)).length;\n } else {\n return acc + curr.data.size;\n }\n }, 0);\n\n NativeBlobModule.createFromParts(items, blobId);\n\n return BlobManager.createFromOptions({\n blobId,\n offset: 0,\n size,\n type: options ? options.type : '',\n lastModified: options ? options.lastModified : Date.now(),\n });\n }\n\n /**\n * Create blob instance from blob data from native.\n * Used internally by modules like XHR, WebSocket, etc.\n */\n static createFromOptions(options: BlobData): Blob {\n BlobRegistry.register(options.blobId);\n return Object.assign(Object.create(Blob.prototype), {\n data:\n // Reuse the collector instance when creating from an existing blob.\n // This will make sure that the underlying resource is only deallocated\n // when all blobs that refer to it are deallocated.\n options.__collector == null\n ? {\n ...options,\n __collector: createBlobCollector(options.blobId),\n }\n : options,\n });\n }\n\n /**\n * Deallocate resources for a blob.\n */\n static release(blobId: string): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n BlobRegistry.unregister(blobId);\n if (BlobRegistry.has(blobId)) {\n return;\n }\n NativeBlobModule.release(blobId);\n }\n\n /**\n * Inject the blob content handler in the networking module to support blob\n * requests and responses.\n */\n static addNetworkingHandler(): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addNetworkingHandler();\n }\n\n /**\n * Indicate the websocket should return a blob for incoming binary\n * messages.\n */\n static addWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addWebSocketHandler(socketId);\n }\n\n /**\n * Indicate the websocket should no longer return a blob for incoming\n * binary messages.\n */\n static removeWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.removeWebSocketHandler(socketId);\n }\n\n /**\n * Send a blob message to a websocket.\n */\n static sendOverSocket(blob: Blob, socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.sendOverSocket(blob.data, socketId);\n }\n}\n\nmodule.exports = BlobManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|BLOB_URI_SCHEME: ?string, BLOB_URI_HOST: ?string|};\n +addNetworkingHandler: () => void;\n +addWebSocketHandler: (id: number) => void;\n +removeWebSocketHandler: (id: number) => void;\n +sendOverSocket: (blob: Object, socketID: number) => void;\n +createFromParts: (parts: Array, withId: string) => void;\n +release: (blobId: string) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.get('BlobModule');\n\nlet constants = null;\nlet NativeBlobModule = null;\n\nif (NativeModule != null) {\n NativeBlobModule = {\n getConstants(): {|BLOB_URI_SCHEME: ?string, BLOB_URI_HOST: ?string|} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n addNetworkingHandler(): void {\n NativeModule.addNetworkingHandler();\n },\n addWebSocketHandler(id: number): void {\n NativeModule.addWebSocketHandler(id);\n },\n removeWebSocketHandler(id: number): void {\n NativeModule.removeWebSocketHandler(id);\n },\n sendOverSocket(blob: Object, socketID: number): void {\n NativeModule.sendOverSocket(blob, socketID);\n },\n createFromParts(parts: Array, withId: string): void {\n NativeModule.createFromParts(parts, withId);\n },\n release(blobId: string): void {\n NativeModule.release(blobId);\n },\n };\n}\n\nexport default (NativeBlobModule: ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {BlobData, BlobOptions} from './BlobTypes';\n\n/**\n * Opaque JS representation of some binary data in native.\n *\n * The API is modeled after the W3C Blob API, with one caveat\n * regarding explicit deallocation. Refer to the `close()`\n * method for further details.\n *\n * Example usage in a React component:\n *\n * class WebSocketImage extends React.Component {\n * state = {blob: null};\n * componentDidMount() {\n * let ws = this.ws = new WebSocket(...);\n * ws.binaryType = 'blob';\n * ws.onmessage = (event) => {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.setState({blob: event.data});\n * };\n * }\n * componentUnmount() {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.ws.close();\n * }\n * render() {\n * if (!this.state.blob) {\n * return ;\n * }\n * return ;\n * }\n * }\n *\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob\n */\nclass Blob {\n _data: ?BlobData;\n\n /**\n * Constructor for JS consumers.\n * Currently we only support creating Blobs from other Blobs.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob\n */\n constructor(parts: Array = [], options?: BlobOptions) {\n const BlobManager = require('./BlobManager');\n this.data = BlobManager.createFromParts(parts, options).data;\n }\n\n /*\n * This method is used to create a new Blob object containing\n * the data in the specified range of bytes of the source Blob.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice\n */\n // $FlowFixMe[unsafe-getters-setters]\n set data(data: ?BlobData) {\n this._data = data;\n }\n\n // $FlowFixMe[unsafe-getters-setters]\n get data(): BlobData {\n if (!this._data) {\n throw new Error('Blob has been closed and is no longer available');\n }\n\n return this._data;\n }\n\n slice(start?: number, end?: number): Blob {\n const BlobManager = require('./BlobManager');\n let {offset, size} = this.data;\n\n if (typeof start === 'number') {\n if (start > size) {\n // $FlowFixMe[reassign-const]\n start = size;\n }\n offset += start;\n size -= start;\n\n if (typeof end === 'number') {\n if (end < 0) {\n // $FlowFixMe[reassign-const]\n end = this.size + end;\n }\n size = end - start;\n }\n }\n return BlobManager.createFromOptions({\n blobId: this.data.blobId,\n offset,\n size,\n });\n }\n\n /**\n * This method is in the standard, but not actually implemented by\n * any browsers at this point. It's important for how Blobs work in\n * React Native, however, since we cannot de-allocate resources automatically,\n * so consumers need to explicitly de-allocate them.\n *\n * Note that the semantics around Blobs created via `blob.slice()`\n * and `new Blob([blob])` are different. `blob.slice()` creates a\n * new *view* onto the same binary data, so calling `close()` on any\n * of those views is enough to deallocate the data, whereas\n * `new Blob([blob, ...])` actually copies the data in memory.\n */\n close() {\n const BlobManager = require('./BlobManager');\n BlobManager.release(this.data.blobId);\n this.data = null;\n }\n\n /**\n * Size of the data contained in the Blob object, in bytes.\n */\n // $FlowFixMe[unsafe-getters-setters]\n get size(): number {\n return this.data.size;\n }\n\n /*\n * String indicating the MIME type of the data contained in the Blob.\n * If the type is unknown, this string is empty.\n */\n // $FlowFixMe[unsafe-getters-setters]\n get type(): string {\n return this.data.type || '';\n }\n}\n\nmodule.exports = Blob;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst registry: {[key: string]: number, ...} = {};\n\nconst register = (id: string) => {\n if (registry[id]) {\n registry[id]++;\n } else {\n registry[id] = 1;\n }\n};\n\nconst unregister = (id: string) => {\n if (registry[id]) {\n registry[id]--;\n if (registry[id] <= 0) {\n delete registry[id];\n }\n }\n};\n\nconst has = (id: string): number | boolean => {\n return registry[id] && registry[id] > 0;\n};\n\nmodule.exports = {\n register,\n unregister,\n has,\n};\n","/**\n * @author Toru Nagashima \n * @copyright 2015 Toru Nagashima. All rights reserved.\n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/**\n * @typedef {object} PrivateData\n * @property {EventTarget} eventTarget The event target.\n * @property {{type:string}} event The original event object.\n * @property {number} eventPhase The current event phase.\n * @property {EventTarget|null} currentTarget The current event target.\n * @property {boolean} canceled The flag to prevent default.\n * @property {boolean} stopped The flag to stop propagation.\n * @property {boolean} immediateStopped The flag to stop propagation immediately.\n * @property {Function|null} passiveListener The listener if the current listener is passive. Otherwise this is null.\n * @property {number} timeStamp The unix time.\n * @private\n */\n\n/**\n * Private data for event wrappers.\n * @type {WeakMap}\n * @private\n */\nconst privateData = new WeakMap();\n\n/**\n * Cache for wrapper classes.\n * @type {WeakMap}\n * @private\n */\nconst wrappers = new WeakMap();\n\n/**\n * Get private data.\n * @param {Event} event The event object to get private data.\n * @returns {PrivateData} The private data of the event.\n * @private\n */\nfunction pd(event) {\n const retv = privateData.get(event);\n console.assert(\n retv != null,\n \"'this' is expected an Event object, but got\",\n event\n );\n return retv\n}\n\n/**\n * https://dom.spec.whatwg.org/#set-the-canceled-flag\n * @param data {PrivateData} private data.\n */\nfunction setCancelFlag(data) {\n if (data.passiveListener != null) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(\n \"Unable to preventDefault inside passive event listener invocation.\",\n data.passiveListener\n );\n }\n return\n }\n if (!data.event.cancelable) {\n return\n }\n\n data.canceled = true;\n if (typeof data.event.preventDefault === \"function\") {\n data.event.preventDefault();\n }\n}\n\n/**\n * @see https://dom.spec.whatwg.org/#interface-event\n * @private\n */\n/**\n * The event wrapper.\n * @constructor\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Event|{type:string}} event The original event to wrap.\n */\nfunction Event(eventTarget, event) {\n privateData.set(this, {\n eventTarget,\n event,\n eventPhase: 2,\n currentTarget: eventTarget,\n canceled: false,\n stopped: false,\n immediateStopped: false,\n passiveListener: null,\n timeStamp: event.timeStamp || Date.now(),\n });\n\n // https://heycam.github.io/webidl/#Unforgeable\n Object.defineProperty(this, \"isTrusted\", { value: false, enumerable: true });\n\n // Define accessors\n const keys = Object.keys(event);\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in this)) {\n Object.defineProperty(this, key, defineRedirectDescriptor(key));\n }\n }\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEvent.prototype = {\n /**\n * The type of this event.\n * @type {string}\n */\n get type() {\n return pd(this).event.type\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get target() {\n return pd(this).eventTarget\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get currentTarget() {\n return pd(this).currentTarget\n },\n\n /**\n * @returns {EventTarget[]} The composed path of this event.\n */\n composedPath() {\n const currentTarget = pd(this).currentTarget;\n if (currentTarget == null) {\n return []\n }\n return [currentTarget]\n },\n\n /**\n * Constant of NONE.\n * @type {number}\n */\n get NONE() {\n return 0\n },\n\n /**\n * Constant of CAPTURING_PHASE.\n * @type {number}\n */\n get CAPTURING_PHASE() {\n return 1\n },\n\n /**\n * Constant of AT_TARGET.\n * @type {number}\n */\n get AT_TARGET() {\n return 2\n },\n\n /**\n * Constant of BUBBLING_PHASE.\n * @type {number}\n */\n get BUBBLING_PHASE() {\n return 3\n },\n\n /**\n * The target of this event.\n * @type {number}\n */\n get eventPhase() {\n return pd(this).eventPhase\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopPropagation() {\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.stopPropagation === \"function\") {\n data.event.stopPropagation();\n }\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopImmediatePropagation() {\n const data = pd(this);\n\n data.stopped = true;\n data.immediateStopped = true;\n if (typeof data.event.stopImmediatePropagation === \"function\") {\n data.event.stopImmediatePropagation();\n }\n },\n\n /**\n * The flag to be bubbling.\n * @type {boolean}\n */\n get bubbles() {\n return Boolean(pd(this).event.bubbles)\n },\n\n /**\n * The flag to be cancelable.\n * @type {boolean}\n */\n get cancelable() {\n return Boolean(pd(this).event.cancelable)\n },\n\n /**\n * Cancel this event.\n * @returns {void}\n */\n preventDefault() {\n setCancelFlag(pd(this));\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n */\n get defaultPrevented() {\n return pd(this).canceled\n },\n\n /**\n * The flag to be composed.\n * @type {boolean}\n */\n get composed() {\n return Boolean(pd(this).event.composed)\n },\n\n /**\n * The unix time of this event.\n * @type {number}\n */\n get timeStamp() {\n return pd(this).timeStamp\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n * @deprecated\n */\n get srcElement() {\n return pd(this).eventTarget\n },\n\n /**\n * The flag to stop event bubbling.\n * @type {boolean}\n * @deprecated\n */\n get cancelBubble() {\n return pd(this).stopped\n },\n set cancelBubble(value) {\n if (!value) {\n return\n }\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.cancelBubble === \"boolean\") {\n data.event.cancelBubble = true;\n }\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n * @deprecated\n */\n get returnValue() {\n return !pd(this).canceled\n },\n set returnValue(value) {\n if (!value) {\n setCancelFlag(pd(this));\n }\n },\n\n /**\n * Initialize this event object. But do nothing under event dispatching.\n * @param {string} type The event type.\n * @param {boolean} [bubbles=false] The flag to be possible to bubble up.\n * @param {boolean} [cancelable=false] The flag to be possible to cancel.\n * @deprecated\n */\n initEvent() {\n // Do nothing.\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(Event.prototype, \"constructor\", {\n value: Event,\n configurable: true,\n writable: true,\n});\n\n// Ensure `event instanceof window.Event` is `true`.\nif (typeof window !== \"undefined\" && typeof window.Event !== \"undefined\") {\n Object.setPrototypeOf(Event.prototype, window.Event.prototype);\n\n // Make association for wrappers.\n wrappers.set(window.Event.prototype, Event);\n}\n\n/**\n * Get the property descriptor to redirect a given property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to redirect the property.\n * @private\n */\nfunction defineRedirectDescriptor(key) {\n return {\n get() {\n return pd(this).event[key]\n },\n set(value) {\n pd(this).event[key] = value;\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Get the property descriptor to call a given method property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to call the method property.\n * @private\n */\nfunction defineCallDescriptor(key) {\n return {\n value() {\n const event = pd(this).event;\n return event[key].apply(event, arguments)\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define new wrapper class.\n * @param {Function} BaseEvent The base wrapper class.\n * @param {Object} proto The prototype of the original event.\n * @returns {Function} The defined wrapper class.\n * @private\n */\nfunction defineWrapper(BaseEvent, proto) {\n const keys = Object.keys(proto);\n if (keys.length === 0) {\n return BaseEvent\n }\n\n /** CustomEvent */\n function CustomEvent(eventTarget, event) {\n BaseEvent.call(this, eventTarget, event);\n }\n\n CustomEvent.prototype = Object.create(BaseEvent.prototype, {\n constructor: { value: CustomEvent, configurable: true, writable: true },\n });\n\n // Define accessors.\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in BaseEvent.prototype)) {\n const descriptor = Object.getOwnPropertyDescriptor(proto, key);\n const isFunc = typeof descriptor.value === \"function\";\n Object.defineProperty(\n CustomEvent.prototype,\n key,\n isFunc\n ? defineCallDescriptor(key)\n : defineRedirectDescriptor(key)\n );\n }\n }\n\n return CustomEvent\n}\n\n/**\n * Get the wrapper class of a given prototype.\n * @param {Object} proto The prototype of the original event to get its wrapper.\n * @returns {Function} The wrapper class.\n * @private\n */\nfunction getWrapper(proto) {\n if (proto == null || proto === Object.prototype) {\n return Event\n }\n\n let wrapper = wrappers.get(proto);\n if (wrapper == null) {\n wrapper = defineWrapper(getWrapper(Object.getPrototypeOf(proto)), proto);\n wrappers.set(proto, wrapper);\n }\n return wrapper\n}\n\n/**\n * Wrap a given event to management a dispatching.\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Object} event The event to wrap.\n * @returns {Event} The wrapper instance.\n * @private\n */\nfunction wrapEvent(eventTarget, event) {\n const Wrapper = getWrapper(Object.getPrototypeOf(event));\n return new Wrapper(eventTarget, event)\n}\n\n/**\n * Get the immediateStopped flag of a given event.\n * @param {Event} event The event to get.\n * @returns {boolean} The flag to stop propagation immediately.\n * @private\n */\nfunction isStopped(event) {\n return pd(event).immediateStopped\n}\n\n/**\n * Set the current event phase of a given event.\n * @param {Event} event The event to set current target.\n * @param {number} eventPhase New event phase.\n * @returns {void}\n * @private\n */\nfunction setEventPhase(event, eventPhase) {\n pd(event).eventPhase = eventPhase;\n}\n\n/**\n * Set the current target of a given event.\n * @param {Event} event The event to set current target.\n * @param {EventTarget|null} currentTarget New current target.\n * @returns {void}\n * @private\n */\nfunction setCurrentTarget(event, currentTarget) {\n pd(event).currentTarget = currentTarget;\n}\n\n/**\n * Set a passive listener of a given event.\n * @param {Event} event The event to set current target.\n * @param {Function|null} passiveListener New passive listener.\n * @returns {void}\n * @private\n */\nfunction setPassiveListener(event, passiveListener) {\n pd(event).passiveListener = passiveListener;\n}\n\n/**\n * @typedef {object} ListenerNode\n * @property {Function} listener\n * @property {1|2|3} listenerType\n * @property {boolean} passive\n * @property {boolean} once\n * @property {ListenerNode|null} next\n * @private\n */\n\n/**\n * @type {WeakMap>}\n * @private\n */\nconst listenersMap = new WeakMap();\n\n// Listener types\nconst CAPTURE = 1;\nconst BUBBLE = 2;\nconst ATTRIBUTE = 3;\n\n/**\n * Check whether a given value is an object or not.\n * @param {any} x The value to check.\n * @returns {boolean} `true` if the value is an object.\n */\nfunction isObject(x) {\n return x !== null && typeof x === \"object\" //eslint-disable-line no-restricted-syntax\n}\n\n/**\n * Get listeners.\n * @param {EventTarget} eventTarget The event target to get.\n * @returns {Map} The listeners.\n * @private\n */\nfunction getListeners(eventTarget) {\n const listeners = listenersMap.get(eventTarget);\n if (listeners == null) {\n throw new TypeError(\n \"'this' is expected an EventTarget object, but got another value.\"\n )\n }\n return listeners\n}\n\n/**\n * Get the property descriptor for the event attribute of a given event.\n * @param {string} eventName The event name to get property descriptor.\n * @returns {PropertyDescriptor} The property descriptor.\n * @private\n */\nfunction defineEventAttributeDescriptor(eventName) {\n return {\n get() {\n const listeners = getListeners(this);\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n return node.listener\n }\n node = node.next;\n }\n return null\n },\n\n set(listener) {\n if (typeof listener !== \"function\" && !isObject(listener)) {\n listener = null; // eslint-disable-line no-param-reassign\n }\n const listeners = getListeners(this);\n\n // Traverse to the tail while removing old value.\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n // Remove old value.\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n node = node.next;\n }\n\n // Add new value.\n if (listener !== null) {\n const newNode = {\n listener,\n listenerType: ATTRIBUTE,\n passive: false,\n once: false,\n next: null,\n };\n if (prev === null) {\n listeners.set(eventName, newNode);\n } else {\n prev.next = newNode;\n }\n }\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define an event attribute (e.g. `eventTarget.onclick`).\n * @param {Object} eventTargetPrototype The event target prototype to define an event attrbite.\n * @param {string} eventName The event name to define.\n * @returns {void}\n */\nfunction defineEventAttribute(eventTargetPrototype, eventName) {\n Object.defineProperty(\n eventTargetPrototype,\n `on${eventName}`,\n defineEventAttributeDescriptor(eventName)\n );\n}\n\n/**\n * Define a custom EventTarget with event attributes.\n * @param {string[]} eventNames Event names for event attributes.\n * @returns {EventTarget} The custom EventTarget.\n * @private\n */\nfunction defineCustomEventTarget(eventNames) {\n /** CustomEventTarget */\n function CustomEventTarget() {\n EventTarget.call(this);\n }\n\n CustomEventTarget.prototype = Object.create(EventTarget.prototype, {\n constructor: {\n value: CustomEventTarget,\n configurable: true,\n writable: true,\n },\n });\n\n for (let i = 0; i < eventNames.length; ++i) {\n defineEventAttribute(CustomEventTarget.prototype, eventNames[i]);\n }\n\n return CustomEventTarget\n}\n\n/**\n * EventTarget.\n *\n * - This is constructor if no arguments.\n * - This is a function which returns a CustomEventTarget constructor if there are arguments.\n *\n * For example:\n *\n * class A extends EventTarget {}\n * class B extends EventTarget(\"message\") {}\n * class C extends EventTarget(\"message\", \"error\") {}\n * class D extends EventTarget([\"message\", \"error\"]) {}\n */\nfunction EventTarget() {\n /*eslint-disable consistent-return */\n if (this instanceof EventTarget) {\n listenersMap.set(this, new Map());\n return\n }\n if (arguments.length === 1 && Array.isArray(arguments[0])) {\n return defineCustomEventTarget(arguments[0])\n }\n if (arguments.length > 0) {\n const types = new Array(arguments.length);\n for (let i = 0; i < arguments.length; ++i) {\n types[i] = arguments[i];\n }\n return defineCustomEventTarget(types)\n }\n throw new TypeError(\"Cannot call a class as a function\")\n /*eslint-enable consistent-return */\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEventTarget.prototype = {\n /**\n * Add a given listener to this event target.\n * @param {string} eventName The event name to add.\n * @param {Function} listener The listener to add.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n addEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n if (typeof listener !== \"function\" && !isObject(listener)) {\n throw new TypeError(\"'listener' should be a function or an object.\")\n }\n\n const listeners = getListeners(this);\n const optionsIsObj = isObject(options);\n const capture = optionsIsObj\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n const newNode = {\n listener,\n listenerType,\n passive: optionsIsObj && Boolean(options.passive),\n once: optionsIsObj && Boolean(options.once),\n next: null,\n };\n\n // Set it as the first node if the first node is null.\n let node = listeners.get(eventName);\n if (node === undefined) {\n listeners.set(eventName, newNode);\n return\n }\n\n // Traverse to the tail while checking duplication..\n let prev = null;\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n // Should ignore duplication.\n return\n }\n prev = node;\n node = node.next;\n }\n\n // Add it.\n prev.next = newNode;\n },\n\n /**\n * Remove a given listener from this event target.\n * @param {string} eventName The event name to remove.\n * @param {Function} listener The listener to remove.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n removeEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n\n const listeners = getListeners(this);\n const capture = isObject(options)\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n return\n }\n\n prev = node;\n node = node.next;\n }\n },\n\n /**\n * Dispatch a given event.\n * @param {Event|{type:string}} event The event to dispatch.\n * @returns {boolean} `false` if canceled.\n */\n dispatchEvent(event) {\n if (event == null || typeof event.type !== \"string\") {\n throw new TypeError('\"event.type\" should be a string.')\n }\n\n // If listeners aren't registered, terminate.\n const listeners = getListeners(this);\n const eventName = event.type;\n let node = listeners.get(eventName);\n if (node == null) {\n return true\n }\n\n // Since we cannot rewrite several properties, so wrap object.\n const wrappedEvent = wrapEvent(this, event);\n\n // This doesn't process capturing phase and bubbling phase.\n // This isn't participating in a tree.\n let prev = null;\n while (node != null) {\n // Remove this listener if it's once\n if (node.once) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n // Call this listener\n setPassiveListener(\n wrappedEvent,\n node.passive ? node.listener : null\n );\n if (typeof node.listener === \"function\") {\n try {\n node.listener.call(this, wrappedEvent);\n } catch (err) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(err);\n }\n }\n } else if (\n node.listenerType !== ATTRIBUTE &&\n typeof node.listener.handleEvent === \"function\"\n ) {\n node.listener.handleEvent(wrappedEvent);\n }\n\n // Break if `event.stopImmediatePropagation` was called.\n if (isStopped(wrappedEvent)) {\n break\n }\n\n node = node.next;\n }\n setPassiveListener(wrappedEvent, null);\n setEventPhase(wrappedEvent, 0);\n setCurrentTarget(wrappedEvent, null);\n\n return !wrappedEvent.defaultPrevented\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(EventTarget.prototype, \"constructor\", {\n value: EventTarget,\n configurable: true,\n writable: true,\n});\n\n// Ensure `eventTarget instanceof window.EventTarget` is `true`.\nif (\n typeof window !== \"undefined\" &&\n typeof window.EventTarget !== \"undefined\"\n) {\n Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype);\n}\n\nexports.defineEventAttribute = defineEventAttribute;\nexports.EventTarget = EventTarget;\nexports.default = EventTarget;\n\nmodule.exports = EventTarget\nmodule.exports.EventTarget = module.exports[\"default\"] = EventTarget\nmodule.exports.defineEventAttribute = defineEventAttribute\n//# sourceMappingURL=event-target-shim.js.map\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport createPerformanceLogger from './createPerformanceLogger';\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\n/**\n * This is a global shared instance of IPerformanceLogger that is created with\n * createPerformanceLogger().\n * This logger should be used only for global performance metrics like the ones\n * that are logged during loading bundle. If you want to log something from your\n * React component you should use PerformanceLoggerContext instead.\n */\nconst GlobalPerformanceLogger: IPerformanceLogger = createPerformanceLogger();\n\nmodule.exports = GlobalPerformanceLogger;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst Systrace = require('../Performance/Systrace');\n\nconst infoLog = require('./infoLog');\n\nexport type Timespan = {\n startTime: number,\n endTime?: number,\n totalTime?: number,\n startExtras?: Extras,\n endExtras?: Extras,\n};\n\n// Extra values should be serializable primitives\nexport type ExtraValue = number | string | boolean;\n\nexport type Extras = {[key: string]: ExtraValue};\n\nexport interface IPerformanceLogger {\n addTimespan(\n key: string,\n startTime: number,\n endTime: number,\n startExtras?: Extras,\n endExtras?: Extras,\n ): void;\n append(logger: IPerformanceLogger): void;\n clear(): void;\n clearCompleted(): void;\n close(): void;\n currentTimestamp(): number;\n getExtras(): $ReadOnly<{[key: string]: ?ExtraValue, ...}>;\n getPoints(): $ReadOnly<{[key: string]: ?number, ...}>;\n getPointExtras(): $ReadOnly<{[key: string]: ?Extras, ...}>;\n getTimespans(): $ReadOnly<{[key: string]: ?Timespan, ...}>;\n hasTimespan(key: string): boolean;\n isClosed(): boolean;\n logEverything(): void;\n markPoint(key: string, timestamp?: number, extras?: Extras): void;\n removeExtra(key: string): ?ExtraValue;\n setExtra(key: string, value: ExtraValue): void;\n startTimespan(key: string, timestamp?: number, extras?: Extras): void;\n stopTimespan(key: string, timestamp?: number, extras?: Extras): void;\n}\n\nconst _cookies: {[key: string]: number, ...} = {};\n\nconst PRINT_TO_CONSOLE: false = false; // Type as false to prevent accidentally committing `true`;\n\nexport const getCurrentTimestamp: () => number =\n global.nativeQPLTimestamp ?? global.performance.now.bind(global.performance);\n\nclass PerformanceLogger implements IPerformanceLogger {\n _timespans: {[key: string]: ?Timespan} = {};\n _extras: {[key: string]: ?ExtraValue} = {};\n _points: {[key: string]: ?number} = {};\n _pointExtras: {[key: string]: ?Extras, ...} = {};\n _closed: boolean = false;\n\n addTimespan(\n key: string,\n startTime: number,\n endTime: number,\n startExtras?: Extras,\n endExtras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: addTimespan - has closed ignoring: ', key);\n }\n return;\n }\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to add a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n startTime,\n endTime,\n totalTime: endTime - (startTime || 0),\n startExtras,\n endExtras,\n };\n }\n\n append(performanceLogger: IPerformanceLogger) {\n this._timespans = {\n ...performanceLogger.getTimespans(),\n ...this._timespans,\n };\n this._extras = {...performanceLogger.getExtras(), ...this._extras};\n this._points = {...performanceLogger.getPoints(), ...this._points};\n this._pointExtras = {\n ...performanceLogger.getPointExtras(),\n ...this._pointExtras,\n };\n }\n\n clear() {\n this._timespans = {};\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clear');\n }\n }\n\n clearCompleted() {\n for (const key in this._timespans) {\n if (this._timespans[key]?.totalTime != null) {\n delete this._timespans[key];\n }\n }\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clearCompleted');\n }\n }\n\n close() {\n this._closed = true;\n }\n\n currentTimestamp() {\n return getCurrentTimestamp();\n }\n\n getExtras() {\n return this._extras;\n }\n\n getPoints() {\n return this._points;\n }\n\n getPointExtras() {\n return this._pointExtras;\n }\n\n getTimespans() {\n return this._timespans;\n }\n\n hasTimespan(key: string) {\n return !!this._timespans[key];\n }\n\n isClosed() {\n return this._closed;\n }\n\n logEverything() {\n if (PRINT_TO_CONSOLE) {\n // log timespans\n for (const key in this._timespans) {\n if (this._timespans[key]?.totalTime != null) {\n infoLog(key + ': ' + this._timespans[key].totalTime + 'ms');\n }\n }\n\n // log extras\n infoLog(this._extras);\n\n // log points\n for (const key in this._points) {\n if (this._points[key] != null) {\n infoLog(key + ': ' + this._points[key] + 'ms');\n }\n }\n }\n }\n\n markPoint(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: markPoint - has closed ignoring: ', key);\n }\n return;\n }\n if (this._points[key] != null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to mark a point that has been already logged ',\n key,\n );\n }\n return;\n }\n this._points[key] = timestamp;\n if (extras) {\n this._pointExtras[key] = extras;\n }\n }\n\n removeExtra(key: string): ?ExtraValue {\n const value = this._extras[key];\n delete this._extras[key];\n return value;\n }\n\n setExtra(key: string, value: ExtraValue) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: setExtra - has closed ignoring: ', key);\n }\n return;\n }\n\n if (this._extras.hasOwnProperty(key)) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to set an extra that already exists ',\n {key, currentValue: this._extras[key], attemptedValue: value},\n );\n }\n return;\n }\n this._extras[key] = value;\n }\n\n startTimespan(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: startTimespan - has closed ignoring: ',\n key,\n );\n }\n return;\n }\n\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to start a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n startTime: timestamp,\n startExtras: extras,\n };\n _cookies[key] = Systrace.beginAsyncEvent(key);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'start: ' + key);\n }\n }\n\n stopTimespan(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: stopTimespan - has closed ignoring: ', key);\n }\n return;\n }\n\n const timespan = this._timespans[key];\n if (!timespan || timespan.startTime == null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has not started ',\n key,\n );\n }\n return;\n }\n if (timespan.endTime != null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has already ended ',\n key,\n );\n }\n return;\n }\n\n timespan.endExtras = extras;\n timespan.endTime = timestamp;\n timespan.totalTime = timespan.endTime - (timespan.startTime || 0);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'end: ' + key);\n }\n\n if (_cookies[key] != null) {\n Systrace.endAsyncEvent(key, _cookies[key]);\n delete _cookies[key];\n }\n }\n}\n\n/**\n * This function creates performance loggers that can be used to collect and log\n * various performance data such as timespans, points and extras.\n * The loggers need to have minimal overhead since they're used in production.\n */\nexport default function createPerformanceLogger(): IPerformanceLogger {\n return new PerformanceLogger();\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Intentional info-level logging for clear separation from ad-hoc console debug logging.\n */\nfunction infoLog(...args: Array): void {\n return console.log(...args);\n}\n\nmodule.exports = infoLog;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeNetworkingIOS from './NativeNetworkingIOS';\nimport {type NativeResponseType} from './XMLHttpRequest';\nimport convertRequestBody, {type RequestBody} from './convertRequestBody';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\n\ntype RCTNetworkingEventDefinitions = $ReadOnly<{\n didSendNetworkData: [\n [\n number, // requestId\n number, // progress\n number, // total\n ],\n ],\n didReceiveNetworkResponse: [\n [\n number, // requestId\n number, // status\n ?{[string]: string}, // responseHeaders\n ?string, // responseURL\n ],\n ],\n didReceiveNetworkData: [\n [\n number, // requestId\n string, // response\n ],\n ],\n didReceiveNetworkIncrementalData: [\n [\n number, // requestId\n string, // responseText\n number, // progress\n number, // total\n ],\n ],\n didReceiveNetworkDataProgress: [\n [\n number, // requestId\n number, // loaded\n number, // total\n ],\n ],\n didCompleteNetworkResponse: [\n [\n number, // requestId\n string, // error\n boolean, // timeOutError\n ],\n ],\n}>;\n\nconst RCTNetworking = {\n addListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n return RCTDeviceEventEmitter.addListener(eventType, listener, context);\n },\n\n sendRequest(\n method: string,\n trackingName: string,\n url: string,\n headers: {...},\n data: RequestBody,\n responseType: NativeResponseType,\n incrementalUpdates: boolean,\n timeout: number,\n callback: (requestId: number) => void,\n withCredentials: boolean,\n ) {\n const body = convertRequestBody(data);\n NativeNetworkingIOS.sendRequest(\n {\n method,\n url,\n data: {...body, trackingName},\n headers,\n responseType,\n incrementalUpdates,\n timeout,\n withCredentials,\n },\n callback,\n );\n },\n\n abortRequest(requestId: number) {\n NativeNetworkingIOS.abortRequest(requestId);\n },\n\n clearCookies(callback: (result: boolean) => void) {\n NativeNetworkingIOS.clearCookies(callback);\n },\n};\n\nmodule.exports = RCTNetworking;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +sendRequest: (\n query: {|\n method: string,\n url: string,\n data: Object,\n headers: Object,\n responseType: string,\n incrementalUpdates: boolean,\n timeout: number,\n withCredentials: boolean,\n |},\n callback: (requestId: number) => void,\n ) => void;\n +abortRequest: (requestId: number) => void;\n +clearCookies: (callback: (result: boolean) => void) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Networking'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst binaryToBase64 = require('../Utilities/binaryToBase64');\n\nconst Blob = require('../Blob/Blob');\nconst FormData = require('./FormData');\n\nexport type RequestBody =\n | string\n | Blob\n | FormData\n | {uri: string, ...}\n | ArrayBuffer\n | $ArrayBufferView;\n\nfunction convertRequestBody(body: RequestBody): Object {\n if (typeof body === 'string') {\n return {string: body};\n }\n if (body instanceof Blob) {\n return {blob: body.data};\n }\n if (body instanceof FormData) {\n return {formData: body.getParts()};\n }\n if (body instanceof ArrayBuffer || ArrayBuffer.isView(body)) {\n /* $FlowFixMe[incompatible-call] : no way to assert that 'body' is indeed\n * an ArrayBufferView */\n return {base64: binaryToBase64(body)};\n }\n return body;\n}\n\nmodule.exports = convertRequestBody;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst base64 = require('base64-js');\n\nfunction binaryToBase64(data: ArrayBuffer | $ArrayBufferView): string {\n if (data instanceof ArrayBuffer) {\n // $FlowFixMe[reassign-const]\n data = new Uint8Array(data);\n }\n if (data instanceof Uint8Array) {\n return base64.fromByteArray(data);\n }\n if (!ArrayBuffer.isView(data)) {\n throw new Error('data must be ArrayBuffer or typed array');\n }\n // Already checked that `data` is `DataView` in `ArrayBuffer.isView(data)`\n const {buffer, byteOffset, byteLength} = ((data: $FlowFixMe): DataView);\n return base64.fromByteArray(new Uint8Array(buffer, byteOffset, byteLength));\n}\n\nmodule.exports = binaryToBase64;\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n for (var i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype FormDataValue = string | {name?: string, type?: string, uri: string};\ntype FormDataNameValuePair = [string, FormDataValue];\n\ntype Headers = {[name: string]: string, ...};\ntype FormDataPart =\n | {\n string: string,\n headers: Headers,\n ...\n }\n | {\n uri: string,\n headers: Headers,\n name?: string,\n type?: string,\n ...\n };\n\n/**\n * Polyfill for XMLHttpRequest2 FormData API, allowing multipart POST requests\n * with mixed data (string, native files) to be submitted via XMLHttpRequest.\n *\n * Example:\n *\n * var photo = {\n * uri: uriFromCameraRoll,\n * type: 'image/jpeg',\n * name: 'photo.jpg',\n * };\n *\n * var body = new FormData();\n * body.append('authToken', 'secret');\n * body.append('photo', photo);\n * body.append('title', 'A beautiful photo!');\n *\n * xhr.open('POST', serverURL);\n * xhr.send(body);\n */\nclass FormData {\n _parts: Array;\n\n constructor() {\n this._parts = [];\n }\n\n append(key: string, value: FormDataValue) {\n // The XMLHttpRequest spec doesn't specify if duplicate keys are allowed.\n // MDN says that any new values should be appended to existing values.\n // In any case, major browsers allow duplicate keys, so that's what we'll do\n // too. They'll simply get appended as additional form data parts in the\n // request body, leaving the server to deal with them.\n this._parts.push([key, value]);\n }\n\n getParts(): Array {\n return this._parts.map(([name, value]) => {\n const contentDisposition = 'form-data; name=\"' + name + '\"';\n\n const headers: Headers = {'content-disposition': contentDisposition};\n\n // The body part is a \"blob\", which in React Native just means\n // an object with a `uri` attribute. Optionally, it can also\n // have a `name` and `type` attribute to specify filename and\n // content type (cf. web Blob interface.)\n if (typeof value === 'object' && value) {\n if (typeof value.name === 'string') {\n headers['content-disposition'] += '; filename=\"' + value.name + '\"';\n }\n if (typeof value.type === 'string') {\n headers['content-type'] = value.type;\n }\n return {...value, headers, fieldName: name};\n }\n // Convert non-object values to strings as per FormData.append() spec\n return {string: String(value), headers, fieldName: name};\n });\n }\n}\n\nmodule.exports = FormData;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n/* globals Headers, Request, Response */\n\n'use strict';\n\n// side-effectful require() to put fetch,\n// Headers, Request, Response in global scope\nrequire('whatwg-fetch');\n\nmodule.exports = {fetch, Headers, Request, Response};\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.WHATWGFetch = {})));\n}(this, (function (exports) { 'use strict';\n\n var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global);\n\n var support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed;\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this);\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/;\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/;\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n }\n }\n }\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = global.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n setTimeout(function() {\n resolve(new Response(body, options));\n }, 0);\n };\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n }, 0);\n };\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob';\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer';\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n });\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!global.fetch) {\n global.fetch = fetch;\n global.Headers = Headers;\n global.Request = Request;\n global.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport Blob from '../Blob/Blob';\nimport type {BlobData} from '../Blob/BlobTypes';\nimport BlobManager from '../Blob/BlobManager';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport binaryToBase64 from '../Utilities/binaryToBase64';\nimport Platform from '../Utilities/Platform';\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeWebSocketModule from './NativeWebSocketModule';\nimport WebSocketEvent from './WebSocketEvent';\nimport base64 from 'base64-js';\nimport EventTarget from 'event-target-shim';\nimport invariant from 'invariant';\n\ntype ArrayBufferView =\n | Int8Array\n | Uint8Array\n | Uint8ClampedArray\n | Int16Array\n | Uint16Array\n | Int32Array\n | Uint32Array\n | Float32Array\n | Float64Array\n | DataView;\n\ntype BinaryType = 'blob' | 'arraybuffer';\n\nconst CONNECTING = 0;\nconst OPEN = 1;\nconst CLOSING = 2;\nconst CLOSED = 3;\n\nconst CLOSE_NORMAL = 1000;\n\nconst WEBSOCKET_EVENTS = ['close', 'error', 'message', 'open'];\n\nlet nextWebSocketId = 0;\n\ntype WebSocketEventDefinitions = {\n websocketOpen: [{id: number, protocol: string}],\n websocketClosed: [{id: number, code: number, reason: string}],\n websocketMessage: [\n | {type: 'binary', id: number, data: string}\n | {type: 'text', id: number, data: string}\n | {type: 'blob', id: number, data: BlobData},\n ],\n websocketFailed: [{id: number, message: string}],\n};\n\n/**\n * Browser-compatible WebSockets implementation.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n * See https://github.com/websockets/ws\n */\nclass WebSocket extends (EventTarget(...WEBSOCKET_EVENTS): any) {\n static CONNECTING: number = CONNECTING;\n static OPEN: number = OPEN;\n static CLOSING: number = CLOSING;\n static CLOSED: number = CLOSED;\n\n CONNECTING: number = CONNECTING;\n OPEN: number = OPEN;\n CLOSING: number = CLOSING;\n CLOSED: number = CLOSED;\n\n _socketId: number;\n _eventEmitter: NativeEventEmitter;\n _subscriptions: Array;\n _binaryType: ?BinaryType;\n\n onclose: ?Function;\n onerror: ?Function;\n onmessage: ?Function;\n onopen: ?Function;\n\n bufferedAmount: number;\n extension: ?string;\n protocol: ?string;\n readyState: number = CONNECTING;\n url: ?string;\n\n constructor(\n url: string,\n protocols: ?string | ?Array,\n options: ?{headers?: {origin?: string, ...}, ...},\n ) {\n super();\n this.url = url;\n if (typeof protocols === 'string') {\n protocols = [protocols];\n }\n\n const {headers = {}, ...unrecognized} = options || {};\n\n // Preserve deprecated backwards compatibility for the 'origin' option\n if (unrecognized && typeof unrecognized.origin === 'string') {\n console.warn(\n 'Specifying `origin` as a WebSocket connection option is deprecated. Include it under `headers` instead.',\n );\n /* $FlowFixMe[prop-missing] (>=0.54.0 site=react_native_fb,react_native_\n * oss) This comment suppresses an error found when Flow v0.54 was\n * deployed. To see the error delete this comment and run Flow. */\n headers.origin = unrecognized.origin;\n /* $FlowFixMe[prop-missing] (>=0.54.0 site=react_native_fb,react_native_\n * oss) This comment suppresses an error found when Flow v0.54 was\n * deployed. To see the error delete this comment and run Flow. */\n delete unrecognized.origin;\n }\n\n // Warn about and discard anything else\n if (Object.keys(unrecognized).length > 0) {\n console.warn(\n 'Unrecognized WebSocket connection option(s) `' +\n Object.keys(unrecognized).join('`, `') +\n '`. ' +\n 'Did you mean to put these under `headers`?',\n );\n }\n\n if (!Array.isArray(protocols)) {\n protocols = null;\n }\n\n this._eventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeWebSocketModule,\n );\n this._socketId = nextWebSocketId++;\n this._registerEvents();\n NativeWebSocketModule.connect(url, protocols, {headers}, this._socketId);\n }\n\n get binaryType(): ?BinaryType {\n return this._binaryType;\n }\n\n set binaryType(binaryType: BinaryType): void {\n if (binaryType !== 'blob' && binaryType !== 'arraybuffer') {\n throw new Error(\"binaryType must be either 'blob' or 'arraybuffer'\");\n }\n if (this._binaryType === 'blob' || binaryType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n if (binaryType === 'blob') {\n BlobManager.addWebSocketHandler(this._socketId);\n } else {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n this._binaryType = binaryType;\n }\n\n close(code?: number, reason?: string): void {\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return;\n }\n\n this.readyState = this.CLOSING;\n this._close(code, reason);\n }\n\n send(data: string | ArrayBuffer | ArrayBufferView | Blob): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n if (data instanceof Blob) {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n BlobManager.sendOverSocket(data, this._socketId);\n return;\n }\n\n if (typeof data === 'string') {\n NativeWebSocketModule.send(data, this._socketId);\n return;\n }\n\n if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {\n NativeWebSocketModule.sendBinary(binaryToBase64(data), this._socketId);\n return;\n }\n\n throw new Error('Unsupported data type');\n }\n\n ping(): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n NativeWebSocketModule.ping(this._socketId);\n }\n\n _close(code?: number, reason?: string): void {\n // See https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent\n const statusCode = typeof code === 'number' ? code : CLOSE_NORMAL;\n const closeReason = typeof reason === 'string' ? reason : '';\n NativeWebSocketModule.close(statusCode, closeReason, this._socketId);\n\n if (BlobManager.isAvailable && this._binaryType === 'blob') {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n\n _unregisterEvents(): void {\n this._subscriptions.forEach(e => e.remove());\n this._subscriptions = [];\n }\n\n _registerEvents(): void {\n this._subscriptions = [\n this._eventEmitter.addListener('websocketMessage', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n let data = ev.data;\n switch (ev.type) {\n case 'binary':\n data = base64.toByteArray(ev.data).buffer;\n break;\n case 'blob':\n data = BlobManager.createFromOptions(ev.data);\n break;\n }\n this.dispatchEvent(new WebSocketEvent('message', {data}));\n }),\n this._eventEmitter.addListener('websocketOpen', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.OPEN;\n this.protocol = ev.protocol;\n this.dispatchEvent(new WebSocketEvent('open'));\n }),\n this._eventEmitter.addListener('websocketClosed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('close', {\n code: ev.code,\n reason: ev.reason,\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n this._eventEmitter.addListener('websocketFailed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('error', {\n message: ev.message,\n }),\n );\n this.dispatchEvent(\n new WebSocketEvent('close', {\n message: ev.message,\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n ];\n }\n}\n\nmodule.exports = WebSocket;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport {\n type EventSubscription,\n type IEventEmitter,\n} from '../vendor/emitter/EventEmitter';\nimport Platform from '../Utilities/Platform';\nimport RCTDeviceEventEmitter from './RCTDeviceEventEmitter';\nimport invariant from 'invariant';\n\ninterface NativeModule {\n addListener(eventType: string): void;\n removeListeners(count: number): void;\n}\n\nexport type {EventSubscription};\n\n/**\n * `NativeEventEmitter` is intended for use by Native Modules to emit events to\n * JavaScript listeners. If a `NativeModule` is supplied to the constructor, it\n * will be notified (via `addListener` and `removeListeners`) when the listener\n * count changes to manage \"native memory\".\n *\n * Currently, all native events are fired via a global `RCTDeviceEventEmitter`.\n * This means event names must be globally unique, and it means that call sites\n * can theoretically listen to `RCTDeviceEventEmitter` (although discouraged).\n */\nexport default class NativeEventEmitter\n implements IEventEmitter {\n _nativeModule: ?NativeModule;\n\n constructor(nativeModule: ?NativeModule) {\n if (Platform.OS === 'ios') {\n invariant(\n nativeModule != null,\n '`new NativeEventEmitter()` requires a non-null argument.',\n );\n }\n\n const hasAddListener =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n !!nativeModule && typeof nativeModule.addListener === 'function';\n const hasRemoveListeners =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n !!nativeModule && typeof nativeModule.removeListeners === 'function';\n\n if (nativeModule && hasAddListener && hasRemoveListeners) {\n this._nativeModule = nativeModule;\n } else if (nativeModule != null) {\n if (!hasAddListener) {\n console.warn(\n '`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.',\n );\n }\n if (!hasRemoveListeners) {\n console.warn(\n '`new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.',\n );\n }\n }\n }\n\n addListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n this._nativeModule?.addListener(eventType);\n let subscription: ?EventSubscription = RCTDeviceEventEmitter.addListener(\n eventType,\n listener,\n context,\n );\n\n return {\n remove: () => {\n if (subscription != null) {\n this._nativeModule?.removeListeners(1);\n // $FlowFixMe[incompatible-use]\n subscription.remove();\n subscription = null;\n }\n },\n };\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addListener`.\n */\n removeListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n ): void {\n this._nativeModule?.removeListeners(1);\n // NOTE: This will report a deprecation notice via `console.error`.\n // $FlowFixMe[prop-missing] - `removeListener` exists but is deprecated.\n RCTDeviceEventEmitter.removeListener(eventType, listener);\n }\n\n emit>(\n eventType: TEvent,\n ...args: $ElementType\n ): void {\n // Generally, `RCTDeviceEventEmitter` is directly invoked. But this is\n // included for completeness.\n RCTDeviceEventEmitter.emit(eventType, ...args);\n }\n\n removeAllListeners>(\n eventType?: ?TEvent,\n ): void {\n invariant(\n eventType != null,\n '`NativeEventEmitter.removeAllListener()` requires a non-null argument.',\n );\n this._nativeModule?.removeListeners(this.listenerCount(eventType));\n RCTDeviceEventEmitter.removeAllListeners(eventType);\n }\n\n listenerCount>(eventType: TEvent): number {\n return RCTDeviceEventEmitter.listenerCount(eventType);\n }\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +connect: (\n url: string,\n protocols: ?Array,\n options: {|headers?: Object|},\n socketID: number,\n ) => void;\n +send: (message: string, forSocketID: number) => void;\n +sendBinary: (base64String: string, forSocketID: number) => void;\n +ping: (socketID: number) => void;\n +close: (code: number, reason: string, socketID: number) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'WebSocketModule',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Event object passed to the `onopen`, `onclose`, `onmessage`, `onerror`\n * callbacks of `WebSocket`.\n *\n * The `type` property is \"open\", \"close\", \"message\", \"error\" respectively.\n *\n * In case of \"message\", the `data` property contains the incoming data.\n */\nclass WebSocketEvent {\n constructor(type, eventInitDict) {\n this.type = type.toString();\n Object.assign(this, eventInitDict);\n }\n}\n\nmodule.exports = WebSocketEvent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Blob = require('./Blob');\n\nconst invariant = require('invariant');\n\nimport type {BlobOptions} from './BlobTypes';\n\n/**\n * The File interface provides information about files.\n */\nclass File extends Blob {\n /**\n * Constructor for JS consumers.\n */\n constructor(\n parts: Array,\n name: string,\n options?: BlobOptions,\n ) {\n invariant(\n parts != null && name != null,\n 'Failed to construct `File`: Must pass both `parts` and `name` arguments.',\n );\n\n super(parts, options);\n this.data.name = name;\n }\n\n /**\n * Name of the file.\n */\n get name(): string {\n invariant(this.data.name != null, 'Files must have a name set.');\n return this.data.name;\n }\n\n /*\n * Last modified time of the file.\n */\n get lastModified(): number {\n return this.data.lastModified || 0;\n }\n}\n\nmodule.exports = File;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst Blob = require('./Blob');\nconst EventTarget = require('event-target-shim');\n\nimport NativeFileReaderModule from './NativeFileReaderModule';\n\ntype ReadyState =\n | 0 // EMPTY\n | 1 // LOADING\n | 2; // DONE\n\ntype ReaderResult = string | ArrayBuffer;\n\nconst READER_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'loadend',\n 'progress',\n];\n\nconst EMPTY = 0;\nconst LOADING = 1;\nconst DONE = 2;\n\nclass FileReader extends (EventTarget(...READER_EVENTS): any) {\n static EMPTY: number = EMPTY;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n EMPTY: number = EMPTY;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n _readyState: ReadyState;\n _error: ?Error;\n _result: ?ReaderResult;\n _aborted: boolean = false;\n _subscriptions: Array = [];\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this._readyState = EMPTY;\n this._error = null;\n this._result = null;\n }\n\n _clearSubscriptions(): void {\n this._subscriptions.forEach(sub => sub.remove());\n this._subscriptions = [];\n }\n\n _setReadyState(newState: ReadyState) {\n this._readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._error) {\n this.dispatchEvent({type: 'error'});\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n readAsArrayBuffer() {\n throw new Error('FileReader.readAsArrayBuffer is not implemented');\n }\n\n readAsDataURL(blob: ?Blob) {\n this._aborted = false;\n\n if (blob == null) {\n throw new TypeError(\n \"Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'\",\n );\n }\n\n NativeFileReaderModule.readAsDataURL(blob.data).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n readAsText(blob: ?Blob, encoding: string = 'UTF-8') {\n this._aborted = false;\n\n if (blob == null) {\n throw new TypeError(\n \"Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'\",\n );\n }\n\n NativeFileReaderModule.readAsText(blob.data, encoding).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n abort() {\n this._aborted = true;\n // only call onreadystatechange if there is something to abort, as per spec\n if (this._readyState !== EMPTY && this._readyState !== DONE) {\n this._reset();\n this._setReadyState(DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n get readyState(): ReadyState {\n return this._readyState;\n }\n\n get error(): ?Error {\n return this._error;\n }\n\n get result(): ?ReaderResult {\n return this._result;\n }\n}\n\nmodule.exports = FileReader;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +readAsDataURL: (data: Object) => Promise;\n +readAsText: (data: Object, encoding: string) => Promise;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'FileReaderModule',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nconst Blob = require('./Blob');\n\nimport NativeBlobModule from './NativeBlobModule';\n\nlet BLOB_URL_PREFIX = null;\n\nif (\n NativeBlobModule &&\n typeof NativeBlobModule.getConstants().BLOB_URI_SCHEME === 'string'\n) {\n const constants = NativeBlobModule.getConstants();\n BLOB_URL_PREFIX = constants.BLOB_URI_SCHEME + ':';\n if (typeof constants.BLOB_URI_HOST === 'string') {\n BLOB_URL_PREFIX += `//${constants.BLOB_URI_HOST}/`;\n }\n}\n\n/**\n * To allow Blobs be accessed via `content://` URIs,\n * you need to register `BlobProvider` as a ContentProvider in your app's `AndroidManifest.xml`:\n *\n * ```xml\n * \n * \n * \n * \n * \n * ```\n * And then define the `blob_provider_authority` string in `res/values/strings.xml`.\n * Use a dotted name that's entirely unique to your app:\n *\n * ```xml\n * \n * your.app.package.blobs\n * \n * ```\n */\n\n// Small subset from whatwg-url: https://github.com/jsdom/whatwg-url/tree/master/src\n// The reference code bloat comes from Unicode issues with URLs, so those won't work here.\nexport class URLSearchParams {\n _searchParams = [];\n\n constructor(params: any) {\n if (typeof params === 'object') {\n Object.keys(params).forEach(key => this.append(key, params[key]));\n }\n }\n\n append(key: string, value: string) {\n this._searchParams.push([key, value]);\n }\n\n delete(name) {\n throw new Error('URLSearchParams.delete is not implemented');\n }\n\n get(name) {\n throw new Error('URLSearchParams.get is not implemented');\n }\n\n getAll(name) {\n throw new Error('URLSearchParams.getAll is not implemented');\n }\n\n has(name) {\n throw new Error('URLSearchParams.has is not implemented');\n }\n\n set(name, value) {\n throw new Error('URLSearchParams.set is not implemented');\n }\n\n sort() {\n throw new Error('URLSearchParams.sort is not implemented');\n }\n\n [Symbol.iterator]() {\n return this._searchParams[Symbol.iterator]();\n }\n\n toString() {\n if (this._searchParams.length === 0) {\n return '';\n }\n const last = this._searchParams.length - 1;\n return this._searchParams.reduce((acc, curr, index) => {\n return acc + curr.join('=') + (index === last ? '' : '&');\n }, '');\n }\n}\n\nfunction validateBaseUrl(url: string) {\n // from this MIT-licensed gist: https://gist.github.com/dperini/729294\n return /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)*(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$/.test(\n url,\n );\n}\n\nexport class URL {\n _searchParamsInstance = null;\n\n static createObjectURL(blob: Blob) {\n if (BLOB_URL_PREFIX === null) {\n throw new Error('Cannot create URL for blob!');\n }\n return `${BLOB_URL_PREFIX}${blob.data.blobId}?offset=${blob.data.offset}&size=${blob.size}`;\n }\n\n static revokeObjectURL(url: string) {\n // Do nothing.\n }\n\n constructor(url: string, base: string) {\n let baseUrl = null;\n if (!base || validateBaseUrl(url)) {\n this._url = url;\n if (!this._url.endsWith('/')) {\n this._url += '/';\n }\n } else {\n if (typeof base === 'string') {\n baseUrl = base;\n if (!validateBaseUrl(baseUrl)) {\n throw new TypeError(`Invalid base URL: ${baseUrl}`);\n }\n } else if (typeof base === 'object') {\n baseUrl = base.toString();\n }\n if (baseUrl.endsWith('/')) {\n baseUrl = baseUrl.slice(0, baseUrl.length - 1);\n }\n if (!url.startsWith('/')) {\n url = `/${url}`;\n }\n if (baseUrl.endsWith(url)) {\n url = '';\n }\n this._url = `${baseUrl}${url}`;\n }\n }\n\n get hash() {\n throw new Error('URL.hash is not implemented');\n }\n\n get host() {\n throw new Error('URL.host is not implemented');\n }\n\n get hostname() {\n throw new Error('URL.hostname is not implemented');\n }\n\n get href(): string {\n return this.toString();\n }\n\n get origin() {\n throw new Error('URL.origin is not implemented');\n }\n\n get password() {\n throw new Error('URL.password is not implemented');\n }\n\n get pathname() {\n throw new Error('URL.pathname not implemented');\n }\n\n get port() {\n throw new Error('URL.port is not implemented');\n }\n\n get protocol() {\n throw new Error('URL.protocol is not implemented');\n }\n\n get search() {\n throw new Error('URL.search is not implemented');\n }\n\n get searchParams(): URLSearchParams {\n if (this._searchParamsInstance == null) {\n this._searchParamsInstance = new URLSearchParams();\n }\n return this._searchParamsInstance;\n }\n\n toJSON(): string {\n return this.toString();\n }\n\n toString(): string {\n if (this._searchParamsInstance === null) {\n return this._url;\n }\n const separator = this._url.indexOf('?') > -1 ? '&' : '?';\n return this._url + separator + this._searchParamsInstance.toString();\n }\n\n get username() {\n throw new Error('URL.username is not implemented');\n }\n}\n","/**\n * @author Toru Nagashima \n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar eventTargetShim = require('event-target-shim');\n\n/**\n * The signal class.\n * @see https://dom.spec.whatwg.org/#abortsignal\n */\nclass AbortSignal extends eventTargetShim.EventTarget {\n /**\n * AbortSignal cannot be constructed directly.\n */\n constructor() {\n super();\n throw new TypeError(\"AbortSignal cannot be constructed directly\");\n }\n /**\n * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.\n */\n get aborted() {\n const aborted = abortedFlags.get(this);\n if (typeof aborted !== \"boolean\") {\n throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? \"null\" : typeof this}`);\n }\n return aborted;\n }\n}\neventTargetShim.defineEventAttribute(AbortSignal.prototype, \"abort\");\n/**\n * Create an AbortSignal object.\n */\nfunction createAbortSignal() {\n const signal = Object.create(AbortSignal.prototype);\n eventTargetShim.EventTarget.call(signal);\n abortedFlags.set(signal, false);\n return signal;\n}\n/**\n * Abort a given signal.\n */\nfunction abortSignal(signal) {\n if (abortedFlags.get(signal) !== false) {\n return;\n }\n abortedFlags.set(signal, true);\n signal.dispatchEvent({ type: \"abort\" });\n}\n/**\n * Aborted flag for each instances.\n */\nconst abortedFlags = new WeakMap();\n// Properties should be enumerable.\nObject.defineProperties(AbortSignal.prototype, {\n aborted: { enumerable: true },\n});\n// `toString()` should return `\"[object AbortSignal]\"`\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortSignal\",\n });\n}\n\n/**\n * The AbortController.\n * @see https://dom.spec.whatwg.org/#abortcontroller\n */\nclass AbortController {\n /**\n * Initialize this controller.\n */\n constructor() {\n signals.set(this, createAbortSignal());\n }\n /**\n * Returns the `AbortSignal` object associated with this object.\n */\n get signal() {\n return getSignal(this);\n }\n /**\n * Abort and signal to any observers that the associated activity is to be aborted.\n */\n abort() {\n abortSignal(getSignal(this));\n }\n}\n/**\n * Associated signals.\n */\nconst signals = new WeakMap();\n/**\n * Get the associated signal of a given controller.\n */\nfunction getSignal(controller) {\n const signal = signals.get(controller);\n if (signal == null) {\n throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? \"null\" : typeof controller}`);\n }\n return signal;\n}\n// Properties should be enumerable.\nObject.defineProperties(AbortController.prototype, {\n signal: { enumerable: true },\n abort: { enumerable: true },\n});\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortController.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortController\",\n });\n}\n\nexports.AbortController = AbortController;\nexports.AbortSignal = AbortSignal;\nexports.default = AbortController;\n\nmodule.exports = AbortController\nmodule.exports.AbortController = module.exports[\"default\"] = AbortController\nmodule.exports.AbortSignal = AbortSignal\n//# sourceMappingURL=abort-controller.js.map\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\n/**\n * Set up alert().\n * You can use this module directly, or just require InitializeCore.\n */\nif (!global.alert) {\n global.alert = function(text) {\n // Require Alert on demand. Requiring it too early can lead to issues\n // with things like Platform not being fully initialized.\n require('../Alert/Alert').alert('Alert', '' + text);\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport Platform from '../Utilities/Platform';\nimport type {DialogOptions} from '../NativeModules/specs/NativeDialogManagerAndroid';\nimport RCTAlertManager from './RCTAlertManager';\n\nexport type AlertType =\n | 'default'\n | 'plain-text'\n | 'secure-text'\n | 'login-password';\nexport type AlertButtonStyle = 'default' | 'cancel' | 'destructive';\nexport type Buttons = Array<{\n text?: string,\n onPress?: ?Function,\n style?: AlertButtonStyle,\n ...\n}>;\n\ntype Options = {\n cancelable?: ?boolean,\n onDismiss?: ?() => void,\n ...\n};\n\n/**\n * Launches an alert dialog with the specified title and message.\n *\n * See https://reactnative.dev/docs/alert.html\n */\nclass Alert {\n static alert(\n title: ?string,\n message?: ?string,\n buttons?: Buttons,\n options?: Options,\n ): void {\n if (Platform.OS === 'ios') {\n Alert.prompt(title, message, buttons, 'default');\n } else if (Platform.OS === 'android') {\n const NativeDialogManagerAndroid = require('../NativeModules/specs/NativeDialogManagerAndroid')\n .default;\n if (!NativeDialogManagerAndroid) {\n return;\n }\n const constants = NativeDialogManagerAndroid.getConstants();\n\n const config: DialogOptions = {\n title: title || '',\n message: message || '',\n cancelable: false,\n };\n\n if (options && options.cancelable) {\n config.cancelable = options.cancelable;\n }\n // At most three buttons (neutral, negative, positive). Ignore rest.\n // The text 'OK' should be probably localized. iOS Alert does that in native.\n const defaultPositiveText = 'OK';\n const validButtons: Buttons = buttons\n ? buttons.slice(0, 3)\n : [{text: defaultPositiveText}];\n const buttonPositive = validButtons.pop();\n const buttonNegative = validButtons.pop();\n const buttonNeutral = validButtons.pop();\n\n if (buttonNeutral) {\n config.buttonNeutral = buttonNeutral.text || '';\n }\n if (buttonNegative) {\n config.buttonNegative = buttonNegative.text || '';\n }\n if (buttonPositive) {\n config.buttonPositive = buttonPositive.text || defaultPositiveText;\n }\n\n const onAction = (action, buttonKey) => {\n if (action === constants.buttonClicked) {\n if (buttonKey === constants.buttonNeutral) {\n buttonNeutral.onPress && buttonNeutral.onPress();\n } else if (buttonKey === constants.buttonNegative) {\n buttonNegative.onPress && buttonNegative.onPress();\n } else if (buttonKey === constants.buttonPositive) {\n buttonPositive.onPress && buttonPositive.onPress();\n }\n } else if (action === constants.dismissed) {\n options && options.onDismiss && options.onDismiss();\n }\n };\n const onError = errorMessage => console.warn(errorMessage);\n NativeDialogManagerAndroid.showAlert(config, onError, onAction);\n }\n }\n\n static prompt(\n title: ?string,\n message?: ?string,\n callbackOrButtons?: ?(((text: string) => void) | Buttons),\n type?: ?AlertType = 'plain-text',\n defaultValue?: string,\n keyboardType?: string,\n ): void {\n if (Platform.OS === 'ios') {\n let callbacks = [];\n const buttons = [];\n let cancelButtonKey;\n let destructiveButtonKey;\n if (typeof callbackOrButtons === 'function') {\n callbacks = [callbackOrButtons];\n } else if (Array.isArray(callbackOrButtons)) {\n callbackOrButtons.forEach((btn, index) => {\n callbacks[index] = btn.onPress;\n if (btn.style === 'cancel') {\n cancelButtonKey = String(index);\n } else if (btn.style === 'destructive') {\n destructiveButtonKey = String(index);\n }\n if (btn.text || index < (callbackOrButtons || []).length - 1) {\n const btnDef = {};\n btnDef[index] = btn.text || '';\n buttons.push(btnDef);\n }\n });\n }\n\n RCTAlertManager.alertWithArgs(\n {\n title: title || '',\n message: message || undefined,\n buttons,\n type: type || undefined,\n defaultValue,\n cancelButtonKey,\n destructiveButtonKey,\n keyboardType,\n },\n (id, value) => {\n const cb = callbacks[id];\n cb && cb(value);\n },\n );\n }\n }\n}\n\nmodule.exports = Alert;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeAlertManager from './NativeAlertManager';\nimport type {Args} from './NativeAlertManager';\n\nmodule.exports = {\n alertWithArgs(\n args: Args,\n callback: (id: number, value: string) => void,\n ): void {\n if (NativeAlertManager == null) {\n return;\n }\n NativeAlertManager.alertWithArgs(args, callback);\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type Args = {|\n title?: string,\n message?: string,\n buttons?: Array, // TODO(T67565166): have a better type\n type?: string,\n defaultValue?: string,\n cancelButtonKey?: string,\n destructiveButtonKey?: string,\n keyboardType?: string,\n|};\n\nexport interface Spec extends TurboModule {\n +alertWithArgs: (\n args: Args,\n callback: (id: number, value: string) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AlertManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\n/* 'buttonClicked' | 'dismissed' */\ntype DialogAction = string;\n/*\n buttonPositive = -1,\n buttonNegative = -2,\n buttonNeutral = -3\n*/\ntype DialogButtonKey = number;\nexport type DialogOptions = {|\n title?: string,\n message?: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n items?: Array,\n cancelable?: boolean,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +buttonClicked: DialogAction,\n +dismissed: DialogAction,\n +buttonPositive: DialogButtonKey,\n +buttonNegative: DialogButtonKey,\n +buttonNeutral: DialogButtonKey,\n |};\n +showAlert: (\n config: DialogOptions,\n onError: (error: string) => void,\n onAction: (action: DialogAction, buttonKey?: DialogButtonKey) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('DialogManagerAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst {polyfillObjectProperty} = require('../Utilities/PolyfillFunctions');\n\nlet navigator = global.navigator;\nif (navigator === undefined) {\n global.navigator = navigator = {};\n}\n\n// see https://github.com/facebook/react-native/issues/10881\npolyfillObjectProperty(navigator, 'product', () => 'ReactNative');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nlet registerModule;\nif (global.RN$Bridgeless && global.RN$registerCallableModule) {\n registerModule = global.RN$registerCallableModule;\n} else {\n const BatchedBridge = require('../BatchedBridge/BatchedBridge');\n registerModule = (moduleName, factory) =>\n BatchedBridge.registerLazyCallableModule(moduleName, factory);\n}\n\nregisterModule('Systrace', () => require('../Performance/Systrace'));\nregisterModule('JSTimers', () => require('./Timers/JSTimers'));\nregisterModule('HeapCapture', () => require('../HeapCapture/HeapCapture'));\nregisterModule('SamplingProfiler', () =>\n require('../Performance/SamplingProfiler'),\n);\nregisterModule('RCTLog', () => require('../Utilities/RCTLog'));\nregisterModule(\n 'RCTDeviceEventEmitter',\n () => require('../EventEmitter/RCTDeviceEventEmitter').default,\n);\nregisterModule('RCTNativeAppEventEmitter', () =>\n require('../EventEmitter/RCTNativeAppEventEmitter'),\n);\nregisterModule('GlobalPerformanceLogger', () =>\n require('../Utilities/GlobalPerformanceLogger'),\n);\nregisterModule('JSDevSupportModule', () =>\n require('../Utilities/JSDevSupportModule'),\n);\n\nif (__DEV__ && !global.__RCTProfileIsProfiling) {\n registerModule('HMRClient', () => require('../Utilities/HMRClient'));\n} else {\n registerModule('HMRClient', () => require('../Utilities/HMRClientProdShim'));\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeJSCHeapCapture from './NativeJSCHeapCapture';\n\nconst HeapCapture = {\n captureHeap: function(path: string) {\n let error = null;\n try {\n global.nativeCaptureHeap(path);\n console.log('HeapCapture.captureHeap succeeded: ' + path);\n } catch (e) {\n console.log('HeapCapture.captureHeap error: ' + e.toString());\n error = e.toString();\n }\n if (NativeJSCHeapCapture) {\n NativeJSCHeapCapture.captureComplete(path, error);\n }\n },\n};\n\nmodule.exports = HeapCapture;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +captureComplete: (path: string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSCHeapCapture'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst SamplingProfiler = {\n poke: function(token: number): void {\n let error = null;\n let result = null;\n try {\n result = global.pokeSamplingProfiler();\n if (result === null) {\n console.log('The JSC Sampling Profiler has started');\n } else {\n console.log('The JSC Sampling Profiler has stopped');\n }\n } catch (e) {\n console.log(\n 'Error occurred when restarting Sampling Profiler: ' + e.toString(),\n );\n error = e.toString();\n }\n\n const NativeJSCSamplingProfiler = require('./NativeJSCSamplingProfiler')\n .default;\n if (NativeJSCSamplingProfiler) {\n NativeJSCSamplingProfiler.operationComplete(token, result, error);\n }\n },\n};\n\nmodule.exports = SamplingProfiler;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +operationComplete: (token: number, result: ?string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSCSamplingProfiler'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst levelsMap = {\n log: 'log',\n info: 'info',\n warn: 'warn',\n error: 'error',\n fatal: 'error',\n};\n\nlet warningHandler: ?(...Array) => void = null;\n\nconst RCTLog = {\n // level one of log, info, warn, error, mustfix\n logIfNoNativeHook(level: string, ...args: Array): void {\n // We already printed in the native console, so only log here if using a js debugger\n if (typeof global.nativeLoggingHook === 'undefined') {\n RCTLog.logToConsole(level, ...args);\n } else {\n // Report native warnings to LogBox\n if (warningHandler && level === 'warn') {\n warningHandler(...args);\n }\n }\n },\n\n // Log to console regardless of nativeLoggingHook\n logToConsole(level: string, ...args: Array): void {\n const logFn = levelsMap[level];\n invariant(\n logFn,\n 'Level \"' + level + '\" not one of ' + Object.keys(levelsMap).toString(),\n );\n\n console[logFn](...args);\n },\n\n setWarningHandler(handler: typeof warningHandler): void {\n warningHandler = handler;\n },\n};\n\nmodule.exports = RCTLog;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport RCTDeviceEventEmitter from './RCTDeviceEventEmitter';\n\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTNativeAppEventEmitter.\n */\nconst RCTNativeAppEventEmitter = RCTDeviceEventEmitter;\nmodule.exports = RCTNativeAppEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeJSDevSupport from './NativeJSDevSupport';\nconst ReactNative = require('../Renderer/shims/ReactNative');\n\nconst JSDevSupportModule = {\n getJSHierarchy: function(tag: number) {\n if (NativeJSDevSupport) {\n const constants = NativeJSDevSupport.getConstants();\n try {\n const {\n computeComponentStackForErrorReporting,\n } = ReactNative.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n const componentStack = computeComponentStackForErrorReporting(tag);\n if (!componentStack) {\n NativeJSDevSupport.onFailure(\n constants.ERROR_CODE_VIEW_NOT_FOUND,\n \"Component stack doesn't exist for tag \" + tag,\n );\n } else {\n NativeJSDevSupport.onSuccess(componentStack);\n }\n } catch (e) {\n NativeJSDevSupport.onFailure(constants.ERROR_CODE_EXCEPTION, e.message);\n }\n }\n },\n};\n\nmodule.exports = JSDevSupportModule;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n ERROR_CODE_EXCEPTION: number,\n ERROR_CODE_VIEW_NOT_FOUND: number,\n |};\n +onSuccess: (data: string) => void;\n +onFailure: (errorCode: number, error: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSDevSupport'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {HMRClientNativeInterface} from './HMRClient';\n\n// This shim ensures DEV binary builds don't crash in JS\n// when they're combined with a PROD JavaScript build.\nconst HMRClientProdShim: HMRClientNativeInterface = {\n setup() {},\n enable() {\n console.error(\n 'Fast Refresh is disabled in JavaScript bundles built in production mode. ' +\n 'Did you forget to run Metro?',\n );\n },\n disable() {},\n registerBundle() {},\n log() {},\n};\n\nmodule.exports = HMRClientProdShim;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nexport type FetchSegmentFunction = typeof __fetchSegment;\nexport type GetSegmentFunction = typeof __getSegment;\n\n/**\n * Set up SegmentFetcher.\n * You can use this module directly, or just require InitializeCore.\n */\n\nfunction __fetchSegment(\n segmentId: number,\n options: $ReadOnly<{\n otaBuildNumber: ?string,\n requestedModuleName: string,\n segmentHash: string,\n }>,\n callback: (?Error) => void,\n) {\n const SegmentFetcher = require('./SegmentFetcher/NativeSegmentFetcher')\n .default;\n SegmentFetcher.fetchSegment(\n segmentId,\n options,\n (\n errorObject: ?{\n message: string,\n code: string,\n ...\n },\n ) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null);\n },\n );\n}\n\nglobal.__fetchSegment = __fetchSegment;\n\nfunction __getSegment(\n segmentId: number,\n options: $ReadOnly<{\n otaBuildNumber: ?string,\n requestedModuleName: string,\n segmentHash: string,\n }>,\n callback: (?Error, ?string) => void,\n) {\n const SegmentFetcher = require('./SegmentFetcher/NativeSegmentFetcher')\n .default;\n\n if (!SegmentFetcher.getSegment) {\n throw new Error('SegmentFetcher.getSegment must be defined');\n }\n\n SegmentFetcher.getSegment(\n segmentId,\n options,\n (\n errorObject: ?{\n message: string,\n code: string,\n ...\n },\n path: ?string,\n ) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null, path);\n },\n );\n}\n\nglobal.__getSegment = __getSegment;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +fetchSegment: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object) => void, // flowlint-line unclear-type: off\n ) => void;\n +getSegment?: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object, path: ?string) => void, // flowlint-line unclear-type: off\n ) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('SegmentFetcher'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport typeof BatchedBridge from '../BatchedBridge/BatchedBridge';\nimport typeof ExceptionsManager from '../Core/ExceptionsManager';\nimport typeof Platform from '../Utilities/Platform';\nimport typeof RCTEventEmitter from '../EventEmitter/RCTEventEmitter';\nimport typeof ReactNativeViewConfigRegistry from '../Renderer/shims/ReactNativeViewConfigRegistry';\nimport typeof TextInputState from '../Components/TextInput/TextInputState';\nimport typeof UIManager from '../ReactNative/UIManager';\nimport typeof deepDiffer from '../Utilities/differ/deepDiffer';\nimport typeof deepFreezeAndThrowOnMutationInDev from '../Utilities/deepFreezeAndThrowOnMutationInDev';\nimport typeof flattenStyle from '../StyleSheet/flattenStyle';\nimport {type DangerouslyImpreciseStyleProp} from '../StyleSheet/StyleSheet';\nimport typeof ReactFiberErrorDialog from '../Core/ReactFiberErrorDialog';\nimport typeof legacySendAccessibilityEvent from '../Components/AccessibilityInfo/legacySendAccessibilityEvent';\n\n// flowlint unsafe-getters-setters:off\nmodule.exports = {\n get BatchedBridge(): BatchedBridge {\n return require('../BatchedBridge/BatchedBridge');\n },\n get ExceptionsManager(): ExceptionsManager {\n return require('../Core/ExceptionsManager');\n },\n get Platform(): Platform {\n return require('../Utilities/Platform');\n },\n get RCTEventEmitter(): RCTEventEmitter {\n return require('../EventEmitter/RCTEventEmitter');\n },\n get ReactNativeViewConfigRegistry(): ReactNativeViewConfigRegistry {\n return require('../Renderer/shims/ReactNativeViewConfigRegistry');\n },\n get TextInputState(): TextInputState {\n return require('../Components/TextInput/TextInputState');\n },\n get UIManager(): UIManager {\n return require('../ReactNative/UIManager');\n },\n get deepDiffer(): deepDiffer {\n return require('../Utilities/differ/deepDiffer');\n },\n get deepFreezeAndThrowOnMutationInDev(): deepFreezeAndThrowOnMutationInDev<\n {...} | Array,\n > {\n return require('../Utilities/deepFreezeAndThrowOnMutationInDev');\n },\n get flattenStyle(): flattenStyle {\n return require('../StyleSheet/flattenStyle');\n },\n get ReactFiberErrorDialog(): ReactFiberErrorDialog {\n return require('../Core/ReactFiberErrorDialog').default;\n },\n get legacySendAccessibilityEvent(): legacySendAccessibilityEvent {\n return require('../Components/AccessibilityInfo/legacySendAccessibilityEvent');\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\n\nconst RCTEventEmitter = {\n register(eventEmitter: any) {\n if (global.RN$Bridgeless) {\n global.RN$registerCallableModule('RCTEventEmitter', () => eventEmitter);\n } else {\n BatchedBridge.registerCallableModule('RCTEventEmitter', eventEmitter);\n }\n },\n};\n\nmodule.exports = RCTEventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n * @generated SignedSource<<5b2da3e92f44ee2684113b45af052f5d>>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n/* eslint-disable react-internal/invariant-args */\n\n'use strict';\n\nimport {type ViewConfig} from './ReactNativeTypes';\nimport invariant from 'invariant';\n\n// Event configs\nconst customBubblingEventTypes: {\n [eventName: string]: $ReadOnly<{|\n phasedRegistrationNames: $ReadOnly<{|\n captured: string,\n bubbled: string,\n |}>,\n |}>,\n ...,\n} = {};\nconst customDirectEventTypes: {\n [eventName: string]: $ReadOnly<{|\n registrationName: string,\n |}>,\n ...,\n} = {};\n\nexports.customBubblingEventTypes = customBubblingEventTypes;\nexports.customDirectEventTypes = customDirectEventTypes;\n\nconst viewConfigCallbacks = new Map();\nconst viewConfigs = new Map();\n\nfunction processEventTypes(viewConfig: ViewConfig): void {\n const {bubblingEventTypes, directEventTypes} = viewConfig;\n\n if (__DEV__) {\n if (bubblingEventTypes != null && directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n invariant(\n bubblingEventTypes[topLevelType] == null,\n 'Event cannot be both direct and bubbling: %s',\n topLevelType,\n );\n }\n }\n }\n\n if (bubblingEventTypes != null) {\n for (const topLevelType in bubblingEventTypes) {\n if (customBubblingEventTypes[topLevelType] == null) {\n customBubblingEventTypes[topLevelType] =\n bubblingEventTypes[topLevelType];\n }\n }\n }\n\n if (directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n if (customDirectEventTypes[topLevelType] == null) {\n customDirectEventTypes[topLevelType] = directEventTypes[topLevelType];\n }\n }\n }\n}\n\n/**\n * Registers a native view/component by name.\n * A callback is provided to load the view config from UIManager.\n * The callback is deferred until the view is actually rendered.\n */\nexports.register = function(name: string, callback: () => ViewConfig): string {\n invariant(\n !viewConfigCallbacks.has(name),\n 'Tried to register two views with the same name %s',\n name,\n );\n invariant(\n typeof callback === 'function',\n 'View config getter callback for component `%s` must be a function (received `%s`)',\n name,\n callback === null ? 'null' : typeof callback,\n );\n viewConfigCallbacks.set(name, callback);\n return name;\n};\n\n/**\n * Retrieves a config for the specified view.\n * If this is the first time the view has been used,\n * This configuration will be lazy-loaded from UIManager.\n */\nexports.get = function(name: string): ViewConfig {\n let viewConfig;\n if (!viewConfigs.has(name)) {\n const callback = viewConfigCallbacks.get(name);\n if (typeof callback !== 'function') {\n invariant(\n false,\n 'View config getter callback for component `%s` must be a function (received `%s`).%s',\n name,\n callback === null ? 'null' : typeof callback,\n typeof name[0] === 'string' && /[a-z]/.test(name[0])\n ? ' Make sure to start component names with a capital letter.'\n : '',\n );\n }\n viewConfig = callback();\n processEventTypes(viewConfig);\n viewConfigs.set(name, viewConfig);\n\n // Clear the callback after the config is set so that\n // we don't mask any errors during registration.\n viewConfigCallbacks.set(name, null);\n } else {\n viewConfig = viewConfigs.get(name);\n }\n invariant(viewConfig, 'View config not found for name %s', name);\n return viewConfig;\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// This class is responsible for coordinating the \"focused\" state for\n// TextInputs. All calls relating to the keyboard should be funneled\n// through here.\n\nconst React = require('react');\nconst Platform = require('../../Utilities/Platform');\nconst {findNodeHandle} = require('../../Renderer/shims/ReactNative');\nimport {Commands as AndroidTextInputCommands} from '../../Components/TextInput/AndroidTextInputNativeComponent';\nimport {Commands as iOSTextInputCommands} from '../../Components/TextInput/RCTSingelineTextInputNativeComponent';\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\ntype ComponentRef = React.ElementRef>;\n\nlet currentlyFocusedInputRef: ?ComponentRef = null;\nconst inputs = new Set();\n\nfunction currentlyFocusedInput(): ?ComponentRef {\n return currentlyFocusedInputRef;\n}\n\n/**\n * Returns the ID of the currently focused text field, if one exists\n * If no text field is focused it returns null\n */\nfunction currentlyFocusedField(): ?number {\n if (__DEV__) {\n console.error(\n 'currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput',\n );\n }\n\n return findNodeHandle(currentlyFocusedInputRef);\n}\n\nfunction focusInput(textField: ?ComponentRef): void {\n if (currentlyFocusedInputRef !== textField && textField != null) {\n currentlyFocusedInputRef = textField;\n }\n}\n\nfunction blurInput(textField: ?ComponentRef): void {\n if (currentlyFocusedInputRef === textField && textField != null) {\n currentlyFocusedInputRef = null;\n }\n}\n\nfunction focusField(textFieldID: ?number): void {\n if (__DEV__) {\n console.error('focusField no longer works. Use focusInput');\n }\n\n return;\n}\n\nfunction blurField(textFieldID: ?number) {\n if (__DEV__) {\n console.error('blurField no longer works. Use blurInput');\n }\n\n return;\n}\n\n/**\n * @param {number} TextInputID id of the text field to focus\n * Focuses the specified text field\n * noop if the text field was already focused\n */\nfunction focusTextInput(textField: ?ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'focusTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n if (currentlyFocusedInputRef !== textField && textField != null) {\n focusInput(textField);\n if (Platform.OS === 'ios') {\n // This isn't necessarily a single line text input\n // But commands don't actually care as long as the thing being passed in\n // actually has a command with that name. So this should work with single\n // and multiline text inputs. Ideally we'll merge them into one component\n // in the future.\n iOSTextInputCommands.focus(textField);\n } else if (Platform.OS === 'android') {\n AndroidTextInputCommands.focus(textField);\n }\n }\n}\n\n/**\n * @param {number} textFieldID id of the text field to unfocus\n * Unfocuses the specified text field\n * noop if it wasn't focused\n */\nfunction blurTextInput(textField: ?ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'blurTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n if (currentlyFocusedInputRef === textField && textField != null) {\n blurInput(textField);\n if (Platform.OS === 'ios') {\n // This isn't necessarily a single line text input\n // But commands don't actually care as long as the thing being passed in\n // actually has a command with that name. So this should work with single\n // and multiline text inputs. Ideally we'll merge them into one component\n // in the future.\n iOSTextInputCommands.blur(textField);\n } else if (Platform.OS === 'android') {\n AndroidTextInputCommands.blur(textField);\n }\n }\n}\n\nfunction registerInput(textField: ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'registerInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n inputs.add(textField);\n}\n\nfunction unregisterInput(textField: ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'unregisterInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n inputs.delete(textField);\n}\n\nfunction isTextInput(textField: ComponentRef): boolean {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'isTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return false;\n }\n\n return inputs.has(textField);\n}\n\nmodule.exports = {\n currentlyFocusedInput,\n focusInput,\n blurInput,\n\n currentlyFocusedField,\n focusField,\n blurField,\n focusTextInput,\n blurTextInput,\n registerInput,\n unregisterInput,\n isTextInput,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {\n BubblingEventHandler,\n DirectEventHandler,\n Double,\n Float,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {\n TextStyleProp,\n ViewStyleProp,\n ColorValue,\n} from '../../StyleSheet/StyleSheet';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\nimport AndroidTextInputViewConfig from './AndroidTextInputViewConfig';\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\nexport type KeyboardType =\n // Cross Platform\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'decimal-pad'\n | 'url'\n // iOS-only\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'name-phone-pad'\n | 'twitter'\n | 'web-search'\n // Android-only\n | 'visible-password';\n\nexport type ReturnKeyType =\n // Cross Platform\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n // Android-only\n | 'none'\n | 'previous'\n // iOS-only\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo';\n\nexport type NativeProps = $ReadOnly<{|\n // This allows us to inherit everything from ViewProps except for style (see below)\n // This must be commented for Fabric codegen to work.\n ...$Diff>,\n\n /**\n * Android props after this\n */\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoComplete?: WithDefault<\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'name'\n | 'password'\n | 'postal-code'\n | 'street-address'\n | 'tel'\n | 'username'\n | 'off',\n 'off',\n >,\n\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel?: ?string,\n\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines?: ?Int32,\n\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI?: ?boolean,\n\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy?: WithDefault<\n 'simple' | 'highQuality' | 'balanced',\n 'simple',\n >,\n\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid?: ?ColorValue,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft?: ?string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding?: ?Int32,\n\n importantForAutofill?: string /*?(\n | 'auto'\n | 'no'\n | 'noExcludeDescendants'\n | 'yes'\n | 'yesExcludeDescendants'\n ),*/,\n\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus?: ?boolean,\n\n /**\n * TextInput props after this\n */\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize?: WithDefault<\n 'none' | 'sentences' | 'words' | 'characters',\n 'none',\n >,\n\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect?: ?boolean,\n\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus?: ?boolean,\n\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling?: ?boolean,\n\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier?: ?Float,\n\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable?: ?boolean,\n\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n * - `url`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType?: WithDefault,\n\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n */\n returnKeyType?: WithDefault,\n\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength?: ?Int32,\n\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline?: ?boolean,\n\n /**\n * Callback that is called when the text input is blurred.\n * `target` is the reactTag of the element\n */\n onBlur?: ?BubblingEventHandler<$ReadOnly<{|target: Int32|}>>,\n\n /**\n * Callback that is called when the text input is focused.\n * `target` is the reactTag of the element\n */\n onFocus?: ?BubblingEventHandler<$ReadOnly<{|target: Int32|}>>,\n\n /**\n * Callback that is called when the text input's text changes.\n * `target` is the reactTag of the element\n * TODO: differentiate between onChange and onChangeText\n */\n onChange?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, eventCount: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n * TODO: differentiate between onChange and onChangeText\n */\n onChangeText?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, eventCount: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n contentSize: $ReadOnly<{|width: Double, height: Double|}>,\n |}>,\n >,\n\n onTextInput?: ?BubblingEventHandler<\n $ReadOnly<{|\n target: Int32,\n text: string,\n previousText: string,\n range: $ReadOnly<{|start: Double, end: Double|}>,\n |}>,\n >,\n\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n selection: $ReadOnly<{|start: Double, end: Double|}>,\n |}>,\n >,\n\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress?: ?BubblingEventHandler<$ReadOnly<{|target: Int32, key: string|}>>,\n\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n responderIgnoreScroll: boolean,\n contentInset: $ReadOnly<{|\n top: Double, // always 0 on Android\n bottom: Double, // always 0 on Android\n left: Double, // always 0 on Android\n right: Double, // always 0 on Android\n |}>,\n contentOffset: $ReadOnly<{|\n x: Double,\n y: Double,\n |}>,\n contentSize: $ReadOnly<{|\n width: Double, // always 0 on Android\n height: Double, // always 0 on Android\n |}>,\n layoutMeasurement: $ReadOnly<{|\n width: Double,\n height: Double,\n |}>,\n velocity: $ReadOnly<{|\n x: Double, // always 0 on Android\n y: Double, // always 0 on Android\n |}>,\n |}>,\n >,\n\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder?: ?Stringish,\n\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor?: ?ColorValue,\n\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry?: ?boolean,\n\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor?: ?ColorValue,\n\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection?: ?$ReadOnly<{|\n start: Int32,\n end?: ?Int32,\n |}>,\n\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value?: ?string,\n\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue?: ?string,\n\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus?: ?boolean,\n\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit?: ?boolean,\n\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n // TODO: figure out what to do with this style prop for codegen/Fabric purposes\n // This must be commented for Fabric codegen to work; it's currently not possible\n // to override the default View style prop in codegen.\n style?: ?TextStyleProp,\n\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden?: ?boolean,\n\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden?: ?boolean,\n\n /**\n * The following are props that `BaseTextShadowNode` takes. It is unclear if they\n * are used by TextInput.\n */\n textShadowColor?: ?ColorValue,\n textShadowRadius?: ?Float,\n textDecorationLine?: ?string,\n fontStyle?: ?string,\n textShadowOffset?: ?$ReadOnly<{|width?: ?Double, height?: ?Double|}>,\n lineHeight?: ?Float,\n textTransform?: ?string,\n color?: ?Int32,\n letterSpacing?: ?Float,\n fontSize?: ?Float,\n textAlign?: ?string,\n includeFontPadding?: ?boolean,\n fontWeight?: ?string,\n fontFamily?: ?string,\n\n /**\n * I cannot find where these are defined but JS complains without them.\n */\n textAlignVertical?: ?string,\n cursorColor?: ?ColorValue,\n\n /**\n * \"Private\" fields used by TextInput.js and not users of this component directly\n */\n mostRecentEventCount: Int32,\n text?: ?string,\n|}>;\n\ntype NativeType = HostComponent;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nlet AndroidTextInputNativeComponent = NativeComponentRegistry.get(\n 'AndroidTextInput',\n () => AndroidTextInputViewConfig,\n);\n\n// flowlint-next-line unclear-type:off\nexport default ((AndroidTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport {dispatchCommand} from '../../Libraries/Renderer/shims/ReactNative';\n\ntype Options = $ReadOnly<{|\n supportedCommands: $ReadOnlyArray,\n|}>;\n\nfunction codegenNativeCommands(options: Options<$Keys>): T {\n const commandObj = {};\n\n options.supportedCommands.forEach(command => {\n commandObj[command] = (ref, ...args) => {\n dispatchCommand(ref, command, args);\n };\n });\n\n return ((commandObj: any): T);\n}\n\nexport default codegenNativeCommands;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport ReactNativeViewViewConfig from '../../Components/View/ReactNativeViewViewConfig';\nimport type {PartialViewConfig} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';\n\nconst AndroidTextInputViewConfig = {\n uiViewClassName: 'AndroidTextInput',\n bubblingEventTypes: {\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTextInput: {\n phasedRegistrationNames: {\n bubbled: 'onTextInput',\n captured: 'onTextInputCapture',\n },\n },\n },\n directEventTypes: {},\n validAttributes: {\n ...ReactNativeViewViewConfig.validAttributes,\n\n maxFontSizeMultiplier: true,\n adjustsFontSizeToFit: true,\n minimumFontScale: true,\n autoFocus: true,\n placeholder: true,\n inlineImagePadding: true,\n contextMenuHidden: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n maxLength: true,\n selectTextOnFocus: true,\n textShadowRadius: true,\n underlineColorAndroid: {process: require('../../StyleSheet/processColor')},\n textDecorationLine: true,\n blurOnSubmit: true,\n textAlignVertical: true,\n fontStyle: true,\n textShadowOffset: true,\n selectionColor: {process: require('../../StyleSheet/processColor')},\n selection: true,\n placeholderTextColor: {process: require('../../StyleSheet/processColor')},\n importantForAutofill: true,\n lineHeight: true,\n textTransform: true,\n returnKeyType: true,\n keyboardType: true,\n multiline: true,\n color: {process: require('../../StyleSheet/processColor')},\n autoCompleteType: true,\n autoComplete: true,\n numberOfLines: true,\n letterSpacing: true,\n returnKeyLabel: true,\n fontSize: true,\n onKeyPress: true,\n cursorColor: {process: require('../../StyleSheet/processColor')},\n text: true,\n showSoftInputOnFocus: true,\n textAlign: true,\n autoCapitalize: true,\n autoCorrect: true,\n caretHidden: true,\n secureTextEntry: true,\n textBreakStrategy: true,\n onScroll: true,\n onContentSizeChange: true,\n disableFullscreenUI: true,\n includeFontPadding: true,\n fontWeight: true,\n fontFamily: true,\n allowFontScaling: true,\n onSelectionChange: true,\n mostRecentEventCount: true,\n inlineImageLeft: true,\n editable: true,\n fontVariant: true,\n },\n};\n\nmodule.exports = (AndroidTextInputViewConfig: PartialViewConfig);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ViewConfig} from '../../Renderer/shims/ReactNativeTypes';\nimport ReactNativeViewViewConfigAndroid from './ReactNativeViewViewConfigAndroid';\nimport {Platform} from 'react-native';\n\nconst ReactNativeViewConfig: ViewConfig = {\n uiViewClassName: 'RCTView',\n baseModuleName: null,\n Manager: 'ViewManager',\n Commands: {},\n Constants: {},\n bubblingEventTypes: {\n ...ReactNativeViewViewConfigAndroid.bubblingEventTypes,\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topChange: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topPress: {\n phasedRegistrationNames: {\n bubbled: 'onPress',\n captured: 'onPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTouchCancel: {\n phasedRegistrationNames: {\n bubbled: 'onTouchCancel',\n captured: 'onTouchCancelCapture',\n },\n },\n topTouchEnd: {\n phasedRegistrationNames: {\n bubbled: 'onTouchEnd',\n captured: 'onTouchEndCapture',\n },\n },\n topTouchMove: {\n phasedRegistrationNames: {\n bubbled: 'onTouchMove',\n captured: 'onTouchMoveCapture',\n },\n },\n topTouchStart: {\n phasedRegistrationNames: {\n bubbled: 'onTouchStart',\n captured: 'onTouchStartCapture',\n },\n },\n },\n directEventTypes: {\n ...ReactNativeViewViewConfigAndroid.directEventTypes,\n topAccessibilityAction: {\n registrationName: 'onAccessibilityAction',\n },\n topAccessibilityEscape: {\n registrationName: 'onAccessibilityEscape',\n },\n topAccessibilityTap: {\n registrationName: 'onAccessibilityTap',\n },\n topLayout: {\n registrationName: 'onLayout',\n },\n topMagicTap: {\n registrationName: 'onMagicTap',\n },\n // Events for react-native-gesture-handler (T45765076)\n // Remove once this library can handle JS View Configs\n onGestureHandlerEvent: {\n registrationName: 'onGestureHandlerEvent',\n },\n onGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n },\n validAttributes: {\n ...ReactNativeViewViewConfigAndroid.validAttributes,\n accessibilityActions: true,\n accessibilityElementsHidden: true,\n accessibilityHint: true,\n accessibilityIgnoresInvertColors: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityStates: true, // TODO: Can be removed after next release\n accessibilityState: true,\n accessibilityValue: true,\n accessibilityViewIsModal: true,\n accessible: true,\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: true,\n backfaceVisibility: true,\n backgroundColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderBottomWidth: true,\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderEndColor: {process: require('../../StyleSheet/processColor')},\n borderEndWidth: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderLeftWidth: true,\n borderRadius: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderRightWidth: true,\n borderStartColor: {process: require('../../StyleSheet/processColor')},\n borderStartWidth: true,\n borderStyle: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n clickable: true,\n collapsable: true,\n direction: true,\n display: true,\n elevation: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n height: true,\n hitSlop: {diff: require('../../Utilities/differ/insetsDiffer')},\n importantForAccessibility: true,\n justifyContent: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n nativeID: true,\n needsOffscreenAlphaCompositing: true,\n onAccessibilityAction: true,\n onAccessibilityEscape: true,\n onAccessibilityTap: true,\n onLayout: true,\n onMagicTap: true,\n opacity: true,\n overflow: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n pointerEvents: true,\n position: true,\n removeClippedSubviews: true,\n renderToHardwareTextureAndroid: true,\n right: true,\n rotation: true,\n scaleX: true,\n scaleY: true,\n shadowColor: {process: require('../../StyleSheet/processColor')},\n shadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n shadowOpacity: true,\n shadowRadius: true,\n shouldRasterizeIOS: true,\n start: true,\n style: {\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: true,\n backfaceVisibility: true,\n backgroundColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderBottomWidth: true,\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderEndColor: {process: require('../../StyleSheet/processColor')},\n borderEndWidth: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderLeftWidth: true,\n borderRadius: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderRightWidth: true,\n borderStartColor: {process: require('../../StyleSheet/processColor')},\n borderStartWidth: true,\n borderStyle: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n color: {process: require('../../StyleSheet/processColor')},\n decomposedMatrix: true,\n direction: true,\n display: true,\n elevation: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n fontFamily: true,\n fontSize: true,\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n height: true,\n includeFontPadding: true,\n justifyContent: true,\n left: true,\n letterSpacing: true,\n lineHeight: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n opacity: true,\n overflow: true,\n overlayColor: {process: require('../../StyleSheet/processColor')},\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n position: true,\n resizeMode: true,\n right: true,\n rotation: true,\n scaleX: true,\n scaleY: true,\n shadowColor: {process: require('../../StyleSheet/processColor')},\n shadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n shadowOpacity: true,\n shadowRadius: true,\n start: true,\n textAlign: true,\n textAlignVertical: true,\n textDecorationColor: {process: require('../../StyleSheet/processColor')},\n textDecorationLine: true,\n textDecorationStyle: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n textShadowOffset: true,\n textShadowRadius: true,\n textTransform: true,\n tintColor: {process: require('../../StyleSheet/processColor')},\n top: true,\n transform:\n Platform.OS === 'ios'\n ? {diff: require('../../Utilities/differ/matricesDiffer')}\n : {process: require('../../StyleSheet/processTransform')},\n transformMatrix: true,\n translateX: true,\n translateY: true,\n width: true,\n writingDirection: true,\n zIndex: true,\n },\n testID: true,\n top: true,\n transform:\n Platform.OS === 'ios'\n ? {diff: require('../../Utilities/differ/matricesDiffer')}\n : {process: require('../../StyleSheet/processTransform')},\n translateX: true,\n translateY: true,\n width: true,\n zIndex: true,\n },\n};\n\nmodule.exports = ReactNativeViewConfig;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst ReactNativeViewViewConfigAndroid = {\n uiViewClassName: 'RCTView',\n bubblingEventTypes: {\n topSelect: {\n phasedRegistrationNames: {\n bubbled: 'onSelect',\n captured: 'onSelectCapture',\n },\n },\n topAssetDidLoad: {\n phasedRegistrationNames: {\n bubbled: 'onAssetDidLoad',\n captured: 'onAssetDidLoadCapture',\n },\n },\n },\n directEventTypes: {\n topClick: {\n registrationName: 'onClick',\n },\n topContentSizeChange: {\n registrationName: 'onContentSizeChange',\n },\n topLoadingError: {\n registrationName: 'onLoadingError',\n },\n topLoadingFinish: {\n registrationName: 'onLoadingFinish',\n },\n topLoadingStart: {\n registrationName: 'onLoadingStart',\n },\n topMessage: {\n registrationName: 'onMessage',\n },\n topMomentumScrollBegin: {\n registrationName: 'onMomentumScrollBegin',\n },\n topMomentumScrollEnd: {\n registrationName: 'onMomentumScrollEnd',\n },\n topScroll: {\n registrationName: 'onScroll',\n },\n topScrollBeginDrag: {\n registrationName: 'onScrollBeginDrag',\n },\n topScrollEndDrag: {\n registrationName: 'onScrollEndDrag',\n },\n topSelectionChange: {\n registrationName: 'onSelectionChange',\n },\n onAssetDidLoad: {\n registrationName: 'onAssetDidLoad',\n },\n },\n validAttributes: {\n hasTVPreferredFocus: true,\n focusable: true,\n nativeBackgroundAndroid: true,\n nativeForegroundAndroid: true,\n nextFocusDown: true,\n nextFocusForward: true,\n nextFocusLeft: true,\n nextFocusRight: true,\n nextFocusUp: true,\n },\n};\n\nmodule.exports = ReactNativeViewViewConfigAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Platform = require('../Utilities/Platform');\n\nconst normalizeColor = require('./normalizeColor');\n\nimport type {ColorValue} from './StyleSheet';\nimport type {NativeColorValue} from './PlatformColorValueTypes';\n\nexport type ProcessedColorValue = number | NativeColorValue;\n\n/* eslint no-bitwise: 0 */\nfunction processColor(color?: ?(number | ColorValue)): ?ProcessedColorValue {\n if (color === undefined || color === null) {\n return color;\n }\n\n let normalizedColor = normalizeColor(color);\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor === 'object') {\n const processColorObject = require('./PlatformColorValueTypes')\n .processColorObject;\n\n const processedColorObj = processColorObject(normalizedColor);\n\n if (processedColorObj != null) {\n return processedColorObj;\n }\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n // Converts 0xrrggbbaa into 0xaarrggbb\n normalizedColor = ((normalizedColor << 24) | (normalizedColor >>> 8)) >>> 0;\n\n if (Platform.OS === 'android') {\n // Android use 32 bit *signed* integer to represent the color\n // We utilize the fact that bitwise operations in JS also operates on\n // signed 32 bit integers, so that we can use those to convert from\n // *unsigned* to *signed* 32bit int that way.\n normalizedColor = normalizedColor | 0x0;\n }\n return normalizedColor;\n}\n\nmodule.exports = processColor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* eslint no-bitwise: 0 */\n\nimport normalizeColorBase from '@react-native/normalize-color/base';\n\nimport type {ColorValue} from './StyleSheet';\nimport type {ProcessedColorValue} from './processColor';\n\nfunction normalizeColor(\n color: ?(ColorValue | ProcessedColorValue),\n): ?ProcessedColorValue {\n if (typeof color === 'object' && color != null) {\n const {normalizeColorObject} = require('./PlatformColorValueTypes');\n const normalizedColor = normalizeColorObject(color);\n if (normalizedColor != null) {\n return color;\n }\n }\n\n if (typeof color === 'string' || typeof color === 'number') {\n return normalizeColorBase(color);\n }\n}\n\nmodule.exports = normalizeColor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* eslint no-bitwise: 0 */\n\n'use strict';\n\nfunction normalizeColorBase(color: ?string | number): null | number {\n const matchers = getMatchers();\n let match;\n\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n if (typeof color !== 'string') {\n return null;\n }\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers.hex6.exec(color))) {\n return parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n if (names.hasOwnProperty(color)) {\n return names[color];\n }\n\n if ((match = matchers.rgb.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.rgba.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hex3.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16,\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers.hex8.exec(color))) {\n return parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers.hex4.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16,\n ) >>> 0\n );\n }\n\n if ((match = matchers.hsl.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hsla.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nfunction hue2rgb(p: number, q: number, t: number): number {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h: number, s: number, l: number): number {\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\n// var INTEGER = '[-+]?\\\\d+';\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args) {\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\nlet cachedMatchers;\n\nfunction getMatchers() {\n if (cachedMatchers === undefined) {\n cachedMatchers = {\n rgb: new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER)),\n rgba: new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER)),\n hsl: new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)),\n hsla: new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)),\n hex3: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex4: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#([0-9a-fA-F]{6})$/,\n hex8: /^#([0-9a-fA-F]{8})$/,\n };\n }\n return cachedMatchers;\n}\n\nfunction parse255(str: string): number {\n const int = parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str: string): number {\n const int = parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str: string): number {\n const num = parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str: string): number {\n // parseFloat conveniently ignores the final %\n const int = parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nconst names = {\n transparent: 0x00000000,\n\n // http://www.w3.org/TR/css3-color/#svg-color\n aliceblue: 0xf0f8ffff,\n antiquewhite: 0xfaebd7ff,\n aqua: 0x00ffffff,\n aquamarine: 0x7fffd4ff,\n azure: 0xf0ffffff,\n beige: 0xf5f5dcff,\n bisque: 0xffe4c4ff,\n black: 0x000000ff,\n blanchedalmond: 0xffebcdff,\n blue: 0x0000ffff,\n blueviolet: 0x8a2be2ff,\n brown: 0xa52a2aff,\n burlywood: 0xdeb887ff,\n burntsienna: 0xea7e5dff,\n cadetblue: 0x5f9ea0ff,\n chartreuse: 0x7fff00ff,\n chocolate: 0xd2691eff,\n coral: 0xff7f50ff,\n cornflowerblue: 0x6495edff,\n cornsilk: 0xfff8dcff,\n crimson: 0xdc143cff,\n cyan: 0x00ffffff,\n darkblue: 0x00008bff,\n darkcyan: 0x008b8bff,\n darkgoldenrod: 0xb8860bff,\n darkgray: 0xa9a9a9ff,\n darkgreen: 0x006400ff,\n darkgrey: 0xa9a9a9ff,\n darkkhaki: 0xbdb76bff,\n darkmagenta: 0x8b008bff,\n darkolivegreen: 0x556b2fff,\n darkorange: 0xff8c00ff,\n darkorchid: 0x9932ccff,\n darkred: 0x8b0000ff,\n darksalmon: 0xe9967aff,\n darkseagreen: 0x8fbc8fff,\n darkslateblue: 0x483d8bff,\n darkslategray: 0x2f4f4fff,\n darkslategrey: 0x2f4f4fff,\n darkturquoise: 0x00ced1ff,\n darkviolet: 0x9400d3ff,\n deeppink: 0xff1493ff,\n deepskyblue: 0x00bfffff,\n dimgray: 0x696969ff,\n dimgrey: 0x696969ff,\n dodgerblue: 0x1e90ffff,\n firebrick: 0xb22222ff,\n floralwhite: 0xfffaf0ff,\n forestgreen: 0x228b22ff,\n fuchsia: 0xff00ffff,\n gainsboro: 0xdcdcdcff,\n ghostwhite: 0xf8f8ffff,\n gold: 0xffd700ff,\n goldenrod: 0xdaa520ff,\n gray: 0x808080ff,\n green: 0x008000ff,\n greenyellow: 0xadff2fff,\n grey: 0x808080ff,\n honeydew: 0xf0fff0ff,\n hotpink: 0xff69b4ff,\n indianred: 0xcd5c5cff,\n indigo: 0x4b0082ff,\n ivory: 0xfffff0ff,\n khaki: 0xf0e68cff,\n lavender: 0xe6e6faff,\n lavenderblush: 0xfff0f5ff,\n lawngreen: 0x7cfc00ff,\n lemonchiffon: 0xfffacdff,\n lightblue: 0xadd8e6ff,\n lightcoral: 0xf08080ff,\n lightcyan: 0xe0ffffff,\n lightgoldenrodyellow: 0xfafad2ff,\n lightgray: 0xd3d3d3ff,\n lightgreen: 0x90ee90ff,\n lightgrey: 0xd3d3d3ff,\n lightpink: 0xffb6c1ff,\n lightsalmon: 0xffa07aff,\n lightseagreen: 0x20b2aaff,\n lightskyblue: 0x87cefaff,\n lightslategray: 0x778899ff,\n lightslategrey: 0x778899ff,\n lightsteelblue: 0xb0c4deff,\n lightyellow: 0xffffe0ff,\n lime: 0x00ff00ff,\n limegreen: 0x32cd32ff,\n linen: 0xfaf0e6ff,\n magenta: 0xff00ffff,\n maroon: 0x800000ff,\n mediumaquamarine: 0x66cdaaff,\n mediumblue: 0x0000cdff,\n mediumorchid: 0xba55d3ff,\n mediumpurple: 0x9370dbff,\n mediumseagreen: 0x3cb371ff,\n mediumslateblue: 0x7b68eeff,\n mediumspringgreen: 0x00fa9aff,\n mediumturquoise: 0x48d1ccff,\n mediumvioletred: 0xc71585ff,\n midnightblue: 0x191970ff,\n mintcream: 0xf5fffaff,\n mistyrose: 0xffe4e1ff,\n moccasin: 0xffe4b5ff,\n navajowhite: 0xffdeadff,\n navy: 0x000080ff,\n oldlace: 0xfdf5e6ff,\n olive: 0x808000ff,\n olivedrab: 0x6b8e23ff,\n orange: 0xffa500ff,\n orangered: 0xff4500ff,\n orchid: 0xda70d6ff,\n palegoldenrod: 0xeee8aaff,\n palegreen: 0x98fb98ff,\n paleturquoise: 0xafeeeeff,\n palevioletred: 0xdb7093ff,\n papayawhip: 0xffefd5ff,\n peachpuff: 0xffdab9ff,\n peru: 0xcd853fff,\n pink: 0xffc0cbff,\n plum: 0xdda0ddff,\n powderblue: 0xb0e0e6ff,\n purple: 0x800080ff,\n rebeccapurple: 0x663399ff,\n red: 0xff0000ff,\n rosybrown: 0xbc8f8fff,\n royalblue: 0x4169e1ff,\n saddlebrown: 0x8b4513ff,\n salmon: 0xfa8072ff,\n sandybrown: 0xf4a460ff,\n seagreen: 0x2e8b57ff,\n seashell: 0xfff5eeff,\n sienna: 0xa0522dff,\n silver: 0xc0c0c0ff,\n skyblue: 0x87ceebff,\n slateblue: 0x6a5acdff,\n slategray: 0x708090ff,\n slategrey: 0x708090ff,\n snow: 0xfffafaff,\n springgreen: 0x00ff7fff,\n steelblue: 0x4682b4ff,\n tan: 0xd2b48cff,\n teal: 0x008080ff,\n thistle: 0xd8bfd8ff,\n tomato: 0xff6347ff,\n turquoise: 0x40e0d0ff,\n violet: 0xee82eeff,\n wheat: 0xf5deb3ff,\n white: 0xffffffff,\n whitesmoke: 0xf5f5f5ff,\n yellow: 0xffff00ff,\n yellowgreen: 0x9acd32ff,\n};\n\nmodule.exports = normalizeColorBase;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ColorValue} from './StyleSheet';\nimport type {ProcessedColorValue} from './processColor';\n\nexport opaque type NativeColorValue = {\n semantic?: Array,\n dynamic?: {\n light: ?(ColorValue | ProcessedColorValue),\n dark: ?(ColorValue | ProcessedColorValue),\n highContrastLight?: ?(ColorValue | ProcessedColorValue),\n highContrastDark?: ?(ColorValue | ProcessedColorValue),\n },\n};\n\nexport const PlatformColor = (...names: Array): ColorValue => {\n return {semantic: names};\n};\n\nexport type DynamicColorIOSTuplePrivate = {\n light: ColorValue,\n dark: ColorValue,\n highContrastLight?: ColorValue,\n highContrastDark?: ColorValue,\n};\n\nexport const DynamicColorIOSPrivate = (\n tuple: DynamicColorIOSTuplePrivate,\n): ColorValue => {\n return {\n dynamic: {\n light: tuple.light,\n dark: tuple.dark,\n highContrastLight: tuple.highContrastLight,\n highContrastDark: tuple.highContrastDark,\n },\n };\n};\n\nexport const normalizeColorObject = (\n color: NativeColorValue,\n): ?ProcessedColorValue => {\n if ('semantic' in color) {\n // an ios semantic color\n return color;\n } else if ('dynamic' in color && color.dynamic !== undefined) {\n const normalizeColor = require('./normalizeColor');\n\n // a dynamic, appearance aware color\n const dynamic = color.dynamic;\n const dynamicColor: NativeColorValue = {\n dynamic: {\n light: normalizeColor(dynamic.light),\n dark: normalizeColor(dynamic.dark),\n highContrastLight: normalizeColor(dynamic.highContrastLight),\n highContrastDark: normalizeColor(dynamic.highContrastDark),\n },\n };\n return dynamicColor;\n }\n\n return null;\n};\n\nexport const processColorObject = (\n color: NativeColorValue,\n): ?NativeColorValue => {\n if ('dynamic' in color && color.dynamic != null) {\n const processColor = require('./processColor');\n const dynamic = color.dynamic;\n const dynamicColor: NativeColorValue = {\n dynamic: {\n light: processColor(dynamic.light),\n dark: processColor(dynamic.dark),\n highContrastLight: processColor(dynamic.highContrastLight),\n highContrastDark: processColor(dynamic.highContrastDark),\n },\n };\n return dynamicColor;\n }\n return color;\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Inset = {\n top: ?number,\n left: ?number,\n right: ?number,\n bottom: ?number,\n ...\n};\n\nconst dummyInsets = {\n top: undefined,\n left: undefined,\n right: undefined,\n bottom: undefined,\n};\n\nconst insetsDiffer = function(one: Inset, two: Inset): boolean {\n one = one || dummyInsets;\n two = two || dummyInsets;\n return (\n one !== two &&\n (one.top !== two.top ||\n one.left !== two.left ||\n one.right !== two.right ||\n one.bottom !== two.bottom)\n );\n};\n\nmodule.exports = insetsDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst dummySize = {width: undefined, height: undefined};\n\nconst sizesDiffer = function(one, two) {\n one = one || dummySize;\n two = two || dummySize;\n return one !== two && (one.width !== two.width || one.height !== two.height);\n};\n\nmodule.exports = sizesDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Unrolls an array comparison specially for matrices. Prioritizes\n * checking of indices that are most likely to change so that the comparison\n * bails as early as possible.\n *\n * @param {MatrixMath.Matrix} one First matrix.\n * @param {MatrixMath.Matrix} two Second matrix.\n * @return {boolean} Whether or not the two matrices differ.\n */\nconst matricesDiffer = function(one, two) {\n if (one === two) {\n return false;\n }\n return (\n !one ||\n !two ||\n one[12] !== two[12] ||\n one[13] !== two[13] ||\n one[14] !== two[14] ||\n one[5] !== two[5] ||\n one[10] !== two[10] ||\n one[0] !== two[0] ||\n one[1] !== two[1] ||\n one[2] !== two[2] ||\n one[3] !== two[3] ||\n one[4] !== two[4] ||\n one[6] !== two[6] ||\n one[7] !== two[7] ||\n one[8] !== two[8] ||\n one[9] !== two[9] ||\n one[11] !== two[11] ||\n one[15] !== two[15]\n );\n};\n\nmodule.exports = matricesDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst MatrixMath = require('../Utilities/MatrixMath');\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\nconst stringifySafe = require('../Utilities/stringifySafe').default;\n\n/**\n * Generate a transform matrix based on the provided transforms, and use that\n * within the style object instead.\n *\n * This allows us to provide an API that is similar to CSS, where transforms may\n * be applied in an arbitrary order, and yet have a universal, singular\n * interface to native code.\n */\nfunction processTransform(\n transform: Array,\n): Array | Array {\n if (__DEV__) {\n _validateTransforms(transform);\n }\n\n // Android & iOS implementations of transform property accept the list of\n // transform properties as opposed to a transform Matrix. This is necessary\n // to control transform property updates completely on the native thread.\n if (Platform.OS === 'android' || Platform.OS === 'ios') {\n return transform;\n }\n\n const result = MatrixMath.createIdentityMatrix();\n\n transform.forEach(transformation => {\n const key = Object.keys(transformation)[0];\n const value = transformation[key];\n\n switch (key) {\n case 'matrix':\n MatrixMath.multiplyInto(result, result, value);\n break;\n case 'perspective':\n _multiplyTransform(result, MatrixMath.reusePerspectiveCommand, [value]);\n break;\n case 'rotateX':\n _multiplyTransform(result, MatrixMath.reuseRotateXCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'rotateY':\n _multiplyTransform(result, MatrixMath.reuseRotateYCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'rotate':\n case 'rotateZ':\n _multiplyTransform(result, MatrixMath.reuseRotateZCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'scale':\n _multiplyTransform(result, MatrixMath.reuseScaleCommand, [value]);\n break;\n case 'scaleX':\n _multiplyTransform(result, MatrixMath.reuseScaleXCommand, [value]);\n break;\n case 'scaleY':\n _multiplyTransform(result, MatrixMath.reuseScaleYCommand, [value]);\n break;\n case 'translate':\n _multiplyTransform(result, MatrixMath.reuseTranslate3dCommand, [\n value[0],\n value[1],\n value[2] || 0,\n ]);\n break;\n case 'translateX':\n _multiplyTransform(result, MatrixMath.reuseTranslate2dCommand, [\n value,\n 0,\n ]);\n break;\n case 'translateY':\n _multiplyTransform(result, MatrixMath.reuseTranslate2dCommand, [\n 0,\n value,\n ]);\n break;\n case 'skewX':\n _multiplyTransform(result, MatrixMath.reuseSkewXCommand, [\n _convertToRadians(value),\n ]);\n break;\n case 'skewY':\n _multiplyTransform(result, MatrixMath.reuseSkewYCommand, [\n _convertToRadians(value),\n ]);\n break;\n default:\n throw new Error('Invalid transform name: ' + key);\n }\n });\n\n return result;\n}\n\n/**\n * Performs a destructive operation on a transform matrix.\n */\nfunction _multiplyTransform(\n result: Array,\n matrixMathFunction: Function,\n args: Array,\n): void {\n const matrixToApply = MatrixMath.createIdentityMatrix();\n const argsWithIdentity = [matrixToApply].concat(args);\n matrixMathFunction.apply(this, argsWithIdentity);\n MatrixMath.multiplyInto(result, result, matrixToApply);\n}\n\n/**\n * Parses a string like '0.5rad' or '60deg' into radians expressed in a float.\n * Note that validation on the string is done in `_validateTransform()`.\n */\nfunction _convertToRadians(value: string): number {\n const floatValue = parseFloat(value);\n return value.indexOf('rad') > -1 ? floatValue : (floatValue * Math.PI) / 180;\n}\n\nfunction _validateTransforms(transform: Array): void {\n transform.forEach(transformation => {\n const keys = Object.keys(transformation);\n invariant(\n keys.length === 1,\n 'You must specify exactly one property per transform object. Passed properties: %s',\n stringifySafe(transformation),\n );\n const key = keys[0];\n const value = transformation[key];\n _validateTransform(key, value, transformation);\n });\n}\n\nfunction _validateTransform(key, value, transformation) {\n invariant(\n !value.getValue,\n 'You passed an Animated.Value to a normal component. ' +\n 'You need to wrap that component in an Animated. For example, ' +\n 'replace by .',\n );\n\n const multivalueTransforms = ['matrix', 'translate'];\n if (multivalueTransforms.indexOf(key) !== -1) {\n invariant(\n Array.isArray(value),\n 'Transform with key of %s must have an array as the value: %s',\n key,\n stringifySafe(transformation),\n );\n }\n switch (key) {\n case 'matrix':\n invariant(\n value.length === 9 || value.length === 16,\n 'Matrix transform must have a length of 9 (2d) or 16 (3d). ' +\n 'Provided matrix has a length of %s: %s',\n /* $FlowFixMe[prop-missing] (>=0.84.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.84 was deployed. To\n * see the error, delete this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'translate':\n invariant(\n value.length === 2 || value.length === 3,\n 'Transform with key translate must be an array of length 2 or 3, found %s: %s',\n /* $FlowFixMe[prop-missing] (>=0.84.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.84 was deployed. To\n * see the error, delete this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'rotateX':\n case 'rotateY':\n case 'rotateZ':\n case 'rotate':\n case 'skewX':\n case 'skewY':\n invariant(\n typeof value === 'string',\n 'Transform with key of \"%s\" must be a string: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value.indexOf('deg') > -1 || value.indexOf('rad') > -1,\n 'Rotate transform must be expressed in degrees (deg) or radians ' +\n '(rad): %s',\n stringifySafe(transformation),\n );\n break;\n case 'perspective':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value !== 0,\n 'Transform with key of \"%s\" cannot be zero: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n case 'translateX':\n case 'translateY':\n case 'scale':\n case 'scaleX':\n case 'scaleY':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n default:\n invariant(\n false,\n 'Invalid transform %s: %s',\n key,\n stringifySafe(transformation),\n );\n }\n}\n\nmodule.exports = processTransform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\n/**\n * Memory conservative (mutative) matrix math utilities. Uses \"command\"\n * matrices, which are reusable.\n */\nconst MatrixMath = {\n createIdentityMatrix: function() {\n return [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\n },\n\n createCopy: function(m) {\n return [\n m[0],\n m[1],\n m[2],\n m[3],\n m[4],\n m[5],\n m[6],\n m[7],\n m[8],\n m[9],\n m[10],\n m[11],\n m[12],\n m[13],\n m[14],\n m[15],\n ];\n },\n\n createOrthographic: function(left, right, bottom, top, near, far) {\n const a = 2 / (right - left);\n const b = 2 / (top - bottom);\n const c = -2 / (far - near);\n\n const tx = -(right + left) / (right - left);\n const ty = -(top + bottom) / (top - bottom);\n const tz = -(far + near) / (far - near);\n\n return [a, 0, 0, 0, 0, b, 0, 0, 0, 0, c, 0, tx, ty, tz, 1];\n },\n\n createFrustum: function(left, right, bottom, top, near, far) {\n const r_width = 1 / (right - left);\n const r_height = 1 / (top - bottom);\n const r_depth = 1 / (near - far);\n const x = 2 * (near * r_width);\n const y = 2 * (near * r_height);\n const A = (right + left) * r_width;\n const B = (top + bottom) * r_height;\n const C = (far + near) * r_depth;\n const D = 2 * (far * near * r_depth);\n return [x, 0, 0, 0, 0, y, 0, 0, A, B, C, -1, 0, 0, D, 0];\n },\n\n /**\n * This create a perspective projection towards negative z\n * Clipping the z range of [-near, -far]\n *\n * @param fovInRadians - field of view in radians\n */\n createPerspective: function(fovInRadians, aspect, near, far) {\n const h = 1 / Math.tan(fovInRadians / 2);\n const r_depth = 1 / (near - far);\n const C = (far + near) * r_depth;\n const D = 2 * (far * near * r_depth);\n return [h / aspect, 0, 0, 0, 0, h, 0, 0, 0, 0, C, -1, 0, 0, D, 0];\n },\n\n createTranslate2d: function(x, y) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseTranslate2dCommand(mat, x, y);\n return mat;\n },\n\n reuseTranslate2dCommand: function(matrixCommand, x, y) {\n matrixCommand[12] = x;\n matrixCommand[13] = y;\n },\n\n reuseTranslate3dCommand: function(matrixCommand, x, y, z) {\n matrixCommand[12] = x;\n matrixCommand[13] = y;\n matrixCommand[14] = z;\n },\n\n createScale: function(factor) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseScaleCommand(mat, factor);\n return mat;\n },\n\n reuseScaleCommand: function(matrixCommand, factor) {\n matrixCommand[0] = factor;\n matrixCommand[5] = factor;\n },\n\n reuseScale3dCommand: function(matrixCommand, x, y, z) {\n matrixCommand[0] = x;\n matrixCommand[5] = y;\n matrixCommand[10] = z;\n },\n\n reusePerspectiveCommand: function(matrixCommand, p) {\n matrixCommand[11] = -1 / p;\n },\n\n reuseScaleXCommand(matrixCommand, factor) {\n matrixCommand[0] = factor;\n },\n\n reuseScaleYCommand(matrixCommand, factor) {\n matrixCommand[5] = factor;\n },\n\n reuseScaleZCommand(matrixCommand, factor) {\n matrixCommand[10] = factor;\n },\n\n reuseRotateXCommand: function(matrixCommand, radians) {\n matrixCommand[5] = Math.cos(radians);\n matrixCommand[6] = Math.sin(radians);\n matrixCommand[9] = -Math.sin(radians);\n matrixCommand[10] = Math.cos(radians);\n },\n\n reuseRotateYCommand: function(matrixCommand, amount) {\n matrixCommand[0] = Math.cos(amount);\n matrixCommand[2] = -Math.sin(amount);\n matrixCommand[8] = Math.sin(amount);\n matrixCommand[10] = Math.cos(amount);\n },\n\n // http://www.w3.org/TR/css3-transforms/#recomposing-to-a-2d-matrix\n reuseRotateZCommand: function(matrixCommand, radians) {\n matrixCommand[0] = Math.cos(radians);\n matrixCommand[1] = Math.sin(radians);\n matrixCommand[4] = -Math.sin(radians);\n matrixCommand[5] = Math.cos(radians);\n },\n\n createRotateZ: function(radians) {\n const mat = MatrixMath.createIdentityMatrix();\n MatrixMath.reuseRotateZCommand(mat, radians);\n return mat;\n },\n\n reuseSkewXCommand: function(matrixCommand, radians) {\n matrixCommand[4] = Math.tan(radians);\n },\n\n reuseSkewYCommand: function(matrixCommand, radians) {\n matrixCommand[1] = Math.tan(radians);\n },\n\n multiplyInto: function(out, a, b) {\n const a00 = a[0],\n a01 = a[1],\n a02 = a[2],\n a03 = a[3],\n a10 = a[4],\n a11 = a[5],\n a12 = a[6],\n a13 = a[7],\n a20 = a[8],\n a21 = a[9],\n a22 = a[10],\n a23 = a[11],\n a30 = a[12],\n a31 = a[13],\n a32 = a[14],\n a33 = a[15];\n\n let b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3];\n out[0] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[1] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[2] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[3] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[4];\n b1 = b[5];\n b2 = b[6];\n b3 = b[7];\n out[4] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[5] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[6] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[7] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[8];\n b1 = b[9];\n b2 = b[10];\n b3 = b[11];\n out[8] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[9] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[10] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[11] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n\n b0 = b[12];\n b1 = b[13];\n b2 = b[14];\n b3 = b[15];\n out[12] = b0 * a00 + b1 * a10 + b2 * a20 + b3 * a30;\n out[13] = b0 * a01 + b1 * a11 + b2 * a21 + b3 * a31;\n out[14] = b0 * a02 + b1 * a12 + b2 * a22 + b3 * a32;\n out[15] = b0 * a03 + b1 * a13 + b2 * a23 + b3 * a33;\n },\n\n determinant(matrix: Array): number {\n const [\n m00,\n m01,\n m02,\n m03,\n m10,\n m11,\n m12,\n m13,\n m20,\n m21,\n m22,\n m23,\n m30,\n m31,\n m32,\n m33,\n ] = matrix;\n return (\n m03 * m12 * m21 * m30 -\n m02 * m13 * m21 * m30 -\n m03 * m11 * m22 * m30 +\n m01 * m13 * m22 * m30 +\n m02 * m11 * m23 * m30 -\n m01 * m12 * m23 * m30 -\n m03 * m12 * m20 * m31 +\n m02 * m13 * m20 * m31 +\n m03 * m10 * m22 * m31 -\n m00 * m13 * m22 * m31 -\n m02 * m10 * m23 * m31 +\n m00 * m12 * m23 * m31 +\n m03 * m11 * m20 * m32 -\n m01 * m13 * m20 * m32 -\n m03 * m10 * m21 * m32 +\n m00 * m13 * m21 * m32 +\n m01 * m10 * m23 * m32 -\n m00 * m11 * m23 * m32 -\n m02 * m11 * m20 * m33 +\n m01 * m12 * m20 * m33 +\n m02 * m10 * m21 * m33 -\n m00 * m12 * m21 * m33 -\n m01 * m10 * m22 * m33 +\n m00 * m11 * m22 * m33\n );\n },\n\n /**\n * Inverse of a matrix. Multiplying by the inverse is used in matrix math\n * instead of division.\n *\n * Formula from:\n * http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm\n */\n inverse(matrix: Array): Array {\n const det = MatrixMath.determinant(matrix);\n if (!det) {\n return matrix;\n }\n const [\n m00,\n m01,\n m02,\n m03,\n m10,\n m11,\n m12,\n m13,\n m20,\n m21,\n m22,\n m23,\n m30,\n m31,\n m32,\n m33,\n ] = matrix;\n return [\n (m12 * m23 * m31 -\n m13 * m22 * m31 +\n m13 * m21 * m32 -\n m11 * m23 * m32 -\n m12 * m21 * m33 +\n m11 * m22 * m33) /\n det,\n (m03 * m22 * m31 -\n m02 * m23 * m31 -\n m03 * m21 * m32 +\n m01 * m23 * m32 +\n m02 * m21 * m33 -\n m01 * m22 * m33) /\n det,\n (m02 * m13 * m31 -\n m03 * m12 * m31 +\n m03 * m11 * m32 -\n m01 * m13 * m32 -\n m02 * m11 * m33 +\n m01 * m12 * m33) /\n det,\n (m03 * m12 * m21 -\n m02 * m13 * m21 -\n m03 * m11 * m22 +\n m01 * m13 * m22 +\n m02 * m11 * m23 -\n m01 * m12 * m23) /\n det,\n (m13 * m22 * m30 -\n m12 * m23 * m30 -\n m13 * m20 * m32 +\n m10 * m23 * m32 +\n m12 * m20 * m33 -\n m10 * m22 * m33) /\n det,\n (m02 * m23 * m30 -\n m03 * m22 * m30 +\n m03 * m20 * m32 -\n m00 * m23 * m32 -\n m02 * m20 * m33 +\n m00 * m22 * m33) /\n det,\n (m03 * m12 * m30 -\n m02 * m13 * m30 -\n m03 * m10 * m32 +\n m00 * m13 * m32 +\n m02 * m10 * m33 -\n m00 * m12 * m33) /\n det,\n (m02 * m13 * m20 -\n m03 * m12 * m20 +\n m03 * m10 * m22 -\n m00 * m13 * m22 -\n m02 * m10 * m23 +\n m00 * m12 * m23) /\n det,\n (m11 * m23 * m30 -\n m13 * m21 * m30 +\n m13 * m20 * m31 -\n m10 * m23 * m31 -\n m11 * m20 * m33 +\n m10 * m21 * m33) /\n det,\n (m03 * m21 * m30 -\n m01 * m23 * m30 -\n m03 * m20 * m31 +\n m00 * m23 * m31 +\n m01 * m20 * m33 -\n m00 * m21 * m33) /\n det,\n (m01 * m13 * m30 -\n m03 * m11 * m30 +\n m03 * m10 * m31 -\n m00 * m13 * m31 -\n m01 * m10 * m33 +\n m00 * m11 * m33) /\n det,\n (m03 * m11 * m20 -\n m01 * m13 * m20 -\n m03 * m10 * m21 +\n m00 * m13 * m21 +\n m01 * m10 * m23 -\n m00 * m11 * m23) /\n det,\n (m12 * m21 * m30 -\n m11 * m22 * m30 -\n m12 * m20 * m31 +\n m10 * m22 * m31 +\n m11 * m20 * m32 -\n m10 * m21 * m32) /\n det,\n (m01 * m22 * m30 -\n m02 * m21 * m30 +\n m02 * m20 * m31 -\n m00 * m22 * m31 -\n m01 * m20 * m32 +\n m00 * m21 * m32) /\n det,\n (m02 * m11 * m30 -\n m01 * m12 * m30 -\n m02 * m10 * m31 +\n m00 * m12 * m31 +\n m01 * m10 * m32 -\n m00 * m11 * m32) /\n det,\n (m01 * m12 * m20 -\n m02 * m11 * m20 +\n m02 * m10 * m21 -\n m00 * m12 * m21 -\n m01 * m10 * m22 +\n m00 * m11 * m22) /\n det,\n ];\n },\n\n /**\n * Turns columns into rows and rows into columns.\n */\n transpose(m: Array): Array {\n return [\n m[0],\n m[4],\n m[8],\n m[12],\n m[1],\n m[5],\n m[9],\n m[13],\n m[2],\n m[6],\n m[10],\n m[14],\n m[3],\n m[7],\n m[11],\n m[15],\n ];\n },\n\n /**\n * Based on: http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c\n */\n multiplyVectorByMatrix(v: Array, m: Array): Array {\n const [vx, vy, vz, vw] = v;\n return [\n vx * m[0] + vy * m[4] + vz * m[8] + vw * m[12],\n vx * m[1] + vy * m[5] + vz * m[9] + vw * m[13],\n vx * m[2] + vy * m[6] + vz * m[10] + vw * m[14],\n vx * m[3] + vy * m[7] + vz * m[11] + vw * m[15],\n ];\n },\n\n /**\n * From: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Length(a: Array): number {\n return Math.sqrt(a[0] * a[0] + a[1] * a[1] + a[2] * a[2]);\n },\n\n /**\n * Based on: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Normalize(vector: Array, v3Length: number): Array {\n const im = 1 / (v3Length || MatrixMath.v3Length(vector));\n return [vector[0] * im, vector[1] * im, vector[2] * im];\n },\n\n /**\n * The dot product of a and b, two 3-element vectors.\n * From: https://code.google.com/p/webgl-mjs/source/browse/mjs.js\n */\n v3Dot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n },\n\n /**\n * From:\n * http://www.opensource.apple.com/source/WebCore/WebCore-514/platform/graphics/transforms/TransformationMatrix.cpp\n */\n v3Combine(\n a: Array,\n b: Array,\n aScale: number,\n bScale: number,\n ): Array {\n return [\n aScale * a[0] + bScale * b[0],\n aScale * a[1] + bScale * b[1],\n aScale * a[2] + bScale * b[2],\n ];\n },\n\n /**\n * From:\n * http://www.opensource.apple.com/source/WebCore/WebCore-514/platform/graphics/transforms/TransformationMatrix.cpp\n */\n v3Cross(a: Array, b: Array): Array {\n return [\n a[1] * b[2] - a[2] * b[1],\n a[2] * b[0] - a[0] * b[2],\n a[0] * b[1] - a[1] * b[0],\n ];\n },\n\n /**\n * Based on:\n * http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/\n * and:\n * http://quat.zachbennett.com/\n *\n * Note that this rounds degrees to the thousandth of a degree, due to\n * floating point errors in the creation of the quaternion.\n *\n * Also note that this expects the qw value to be last, not first.\n *\n * Also, when researching this, remember that:\n * yaw === heading === z-axis\n * pitch === elevation/attitude === y-axis\n * roll === bank === x-axis\n */\n quaternionToDegreesXYZ(q: Array, matrix, row): Array {\n const [qx, qy, qz, qw] = q;\n const qw2 = qw * qw;\n const qx2 = qx * qx;\n const qy2 = qy * qy;\n const qz2 = qz * qz;\n const test = qx * qy + qz * qw;\n const unit = qw2 + qx2 + qy2 + qz2;\n const conv = 180 / Math.PI;\n\n if (test > 0.49999 * unit) {\n return [0, 2 * Math.atan2(qx, qw) * conv, 90];\n }\n if (test < -0.49999 * unit) {\n return [0, -2 * Math.atan2(qx, qw) * conv, -90];\n }\n\n return [\n MatrixMath.roundTo3Places(\n Math.atan2(2 * qx * qw - 2 * qy * qz, 1 - 2 * qx2 - 2 * qz2) * conv,\n ),\n MatrixMath.roundTo3Places(\n Math.atan2(2 * qy * qw - 2 * qx * qz, 1 - 2 * qy2 - 2 * qz2) * conv,\n ),\n MatrixMath.roundTo3Places(Math.asin(2 * qx * qy + 2 * qz * qw) * conv),\n ];\n },\n\n /**\n * Based on:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round\n */\n roundTo3Places(n: number): number {\n const arr = n.toString().split('e');\n return Math.round(arr[0] + 'e' + (arr[1] ? +arr[1] - 3 : 3)) * 0.001;\n },\n\n /**\n * Decompose a matrix into separate transform values, for use on platforms\n * where applying a precomposed matrix is not possible, and transforms are\n * applied in an inflexible ordering (e.g. Android).\n *\n * Implementation based on\n * http://www.w3.org/TR/css3-transforms/#decomposing-a-2d-matrix\n * http://www.w3.org/TR/css3-transforms/#decomposing-a-3d-matrix\n * which was based on\n * http://tog.acm.org/resources/GraphicsGems/gemsii/unmatrix.c\n */\n decomposeMatrix(transformMatrix: Array): ?Object {\n invariant(\n transformMatrix.length === 16,\n 'Matrix decomposition needs a list of 3d matrix values, received %s',\n transformMatrix,\n );\n\n // output values\n let perspective = [];\n const quaternion = [];\n const scale = [];\n const skew = [];\n const translation = [];\n\n // create normalized, 2d array matrix\n // and normalized 1d array perspectiveMatrix with redefined 4th column\n if (!transformMatrix[15]) {\n return;\n }\n const matrix = [];\n const perspectiveMatrix = [];\n for (let i = 0; i < 4; i++) {\n matrix.push([]);\n for (let j = 0; j < 4; j++) {\n const value = transformMatrix[i * 4 + j] / transformMatrix[15];\n matrix[i].push(value);\n perspectiveMatrix.push(j === 3 ? 0 : value);\n }\n }\n perspectiveMatrix[15] = 1;\n\n // test for singularity of upper 3x3 part of the perspective matrix\n if (!MatrixMath.determinant(perspectiveMatrix)) {\n return;\n }\n\n // isolate perspective\n if (matrix[0][3] !== 0 || matrix[1][3] !== 0 || matrix[2][3] !== 0) {\n // rightHandSide is the right hand side of the equation.\n // rightHandSide is a vector, or point in 3d space relative to the origin.\n const rightHandSide = [\n matrix[0][3],\n matrix[1][3],\n matrix[2][3],\n matrix[3][3],\n ];\n\n // Solve the equation by inverting perspectiveMatrix and multiplying\n // rightHandSide by the inverse.\n const inversePerspectiveMatrix = MatrixMath.inverse(perspectiveMatrix);\n const transposedInversePerspectiveMatrix = MatrixMath.transpose(\n inversePerspectiveMatrix,\n );\n perspective = MatrixMath.multiplyVectorByMatrix(\n rightHandSide,\n transposedInversePerspectiveMatrix,\n );\n } else {\n // no perspective\n perspective[0] = perspective[1] = perspective[2] = 0;\n perspective[3] = 1;\n }\n\n // translation is simple\n for (let i = 0; i < 3; i++) {\n translation[i] = matrix[3][i];\n }\n\n // Now get scale and shear.\n // 'row' is a 3 element array of 3 component vectors\n const row = [];\n for (let i = 0; i < 3; i++) {\n row[i] = [matrix[i][0], matrix[i][1], matrix[i][2]];\n }\n\n // Compute X scale factor and normalize first row.\n scale[0] = MatrixMath.v3Length(row[0]);\n row[0] = MatrixMath.v3Normalize(row[0], scale[0]);\n\n // Compute XY shear factor and make 2nd row orthogonal to 1st.\n skew[0] = MatrixMath.v3Dot(row[0], row[1]);\n row[1] = MatrixMath.v3Combine(row[1], row[0], 1.0, -skew[0]);\n\n // Now, compute Y scale and normalize 2nd row.\n scale[1] = MatrixMath.v3Length(row[1]);\n row[1] = MatrixMath.v3Normalize(row[1], scale[1]);\n skew[0] /= scale[1];\n\n // Compute XZ and YZ shears, orthogonalize 3rd row\n skew[1] = MatrixMath.v3Dot(row[0], row[2]);\n row[2] = MatrixMath.v3Combine(row[2], row[0], 1.0, -skew[1]);\n skew[2] = MatrixMath.v3Dot(row[1], row[2]);\n row[2] = MatrixMath.v3Combine(row[2], row[1], 1.0, -skew[2]);\n\n // Next, get Z scale and normalize 3rd row.\n scale[2] = MatrixMath.v3Length(row[2]);\n row[2] = MatrixMath.v3Normalize(row[2], scale[2]);\n skew[1] /= scale[2];\n skew[2] /= scale[2];\n\n // At this point, the matrix (in rows) is orthonormal.\n // Check for a coordinate system flip. If the determinant\n // is -1, then negate the matrix and the scaling factors.\n const pdum3 = MatrixMath.v3Cross(row[1], row[2]);\n if (MatrixMath.v3Dot(row[0], pdum3) < 0) {\n for (let i = 0; i < 3; i++) {\n scale[i] *= -1;\n row[i][0] *= -1;\n row[i][1] *= -1;\n row[i][2] *= -1;\n }\n }\n\n // Now, get the rotations out\n quaternion[0] =\n 0.5 * Math.sqrt(Math.max(1 + row[0][0] - row[1][1] - row[2][2], 0));\n quaternion[1] =\n 0.5 * Math.sqrt(Math.max(1 - row[0][0] + row[1][1] - row[2][2], 0));\n quaternion[2] =\n 0.5 * Math.sqrt(Math.max(1 - row[0][0] - row[1][1] + row[2][2], 0));\n quaternion[3] =\n 0.5 * Math.sqrt(Math.max(1 + row[0][0] + row[1][1] + row[2][2], 0));\n\n if (row[2][1] > row[1][2]) {\n quaternion[0] = -quaternion[0];\n }\n if (row[0][2] > row[2][0]) {\n quaternion[1] = -quaternion[1];\n }\n if (row[1][0] > row[0][1]) {\n quaternion[2] = -quaternion[2];\n }\n\n // correct for occasional, weird Euler synonyms for 2d rotation\n let rotationDegrees;\n if (\n quaternion[0] < 0.001 &&\n quaternion[0] >= 0 &&\n quaternion[1] < 0.001 &&\n quaternion[1] >= 0\n ) {\n // this is a 2d rotation on the z-axis\n rotationDegrees = [\n 0,\n 0,\n MatrixMath.roundTo3Places(\n (Math.atan2(row[0][1], row[0][0]) * 180) / Math.PI,\n ),\n ];\n } else {\n rotationDegrees = MatrixMath.quaternionToDegreesXYZ(\n quaternion,\n matrix,\n row,\n );\n }\n\n // expose both base data and convenience names\n return {\n rotationDegrees,\n perspective,\n quaternion,\n scale,\n skew,\n translation,\n\n rotate: rotationDegrees[2],\n rotateX: rotationDegrees[0],\n rotateY: rotationDegrees[1],\n scaleX: scale[0],\n scaleY: scale[1],\n translateX: translation[0],\n translateY: translation[1],\n };\n },\n};\n\nmodule.exports = MatrixMath;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport {createViewConfig} from './ViewConfig';\nimport UIManager from '../ReactNative/UIManager';\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\nimport ReactNativeViewConfigRegistry from '../Renderer/shims/ReactNativeViewConfigRegistry';\nimport getNativeComponentAttributes from '../ReactNative/getNativeComponentAttributes';\nimport verifyComponentAttributeEquivalence from '../Utilities/verifyComponentAttributeEquivalence';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nlet getRuntimeConfig;\n\nlet componentNameToExists: Map = new Map();\n\n/**\n * Configures a function that is called to determine whether a given component\n * should be registered using reflection of the native component at runtime.\n *\n * The provider should return null if the native component is unavailable in\n * the current environment.\n */\nexport function setRuntimeConfigProvider(\n runtimeConfigProvider: (\n name: string,\n ) => ?{\n native: boolean,\n verify: boolean,\n },\n): void {\n invariant(\n getRuntimeConfig == null,\n 'NativeComponentRegistry.setRuntimeConfigProvider() called more than once.',\n );\n getRuntimeConfig = runtimeConfigProvider;\n}\n\n/**\n * Gets a `NativeComponent` that can be rendered by React Native.\n *\n * The supplied `viewConfigProvider` may or may not be invoked and utilized,\n * depending on how `setRuntimeConfigProvider` is configured.\n */\nexport function get(\n name: string,\n viewConfigProvider: () => PartialViewConfig,\n): HostComponent {\n ReactNativeViewConfigRegistry.register(name, () => {\n const {native, verify} = getRuntimeConfig?.(name) ?? {\n native: true,\n verify: false,\n };\n\n const viewConfig = native\n ? getNativeComponentAttributes(name)\n : createViewConfig(viewConfigProvider());\n\n if (verify) {\n if (native) {\n verifyComponentAttributeEquivalence(\n viewConfig,\n createViewConfig(viewConfigProvider()),\n );\n } else {\n verifyComponentAttributeEquivalence(\n getNativeComponentAttributes(name),\n viewConfig,\n );\n }\n }\n\n return viewConfig;\n });\n\n // $FlowFixMe[incompatible-return] `NativeComponent` is actually string!\n return name;\n}\n\n/**\n * Same as `NativeComponentRegistry.get(...)`, except this will check either\n * the `setRuntimeConfigProvider` configuration or use native reflection (slow)\n * to determine whether this native component is available.\n *\n * If the native component is not available, a stub component is returned. Note\n * that the return value of this is not `HostComponent` because the returned\n * component instance is not guaranteed to have native methods.\n */\nexport function getWithFallback_DEPRECATED(\n name: string,\n viewConfigProvider: () => PartialViewConfig,\n): React.AbstractComponent {\n if (getRuntimeConfig == null) {\n // If `setRuntimeConfigProvider` is not configured, use native reflection.\n if (hasNativeViewConfig(name)) {\n return get(name, viewConfigProvider);\n }\n } else {\n // If there is no runtime config, then the native component is unavailable.\n if (getRuntimeConfig(name) != null) {\n return get(name, viewConfigProvider);\n }\n }\n\n const FallbackNativeComponent = function(props: Config): React.Node {\n return null;\n };\n FallbackNativeComponent.displayName = `Fallback(${name})`;\n return FallbackNativeComponent;\n}\n\nfunction hasNativeViewConfig(name: string): boolean {\n invariant(getRuntimeConfig == null, 'Unexpected invocation!');\n return UIManager.getViewManagerConfig(name) != null;\n}\n\n/**\n * Unstable API. Do not use!\n *\n * This method returns if there is a StaticViewConfig registered for the\n * component name received as a parameter.\n */\nexport function unstable_hasStaticViewConfig(name: string): boolean {\n const {native} = getRuntimeConfig?.(name) ?? {\n native: true,\n };\n return !native;\n}\n\n/**\n * Unstable API. Do not use!\n *\n * This method returns if the component with name received as a parameter\n * is registed in the native platform.\n */\nexport function unstable_hasComponent(name: string): boolean {\n let hasNativeComponent = componentNameToExists.get(name);\n if (hasNativeComponent == null) {\n if (global.__nativeComponentRegistry__hasComponent) {\n hasNativeComponent = global.__nativeComponentRegistry__hasComponent(name);\n componentNameToExists.set(name, hasNativeComponent);\n } else {\n throw `unstable_hasComponent('${name}'): Global function is not registered`;\n }\n }\n return hasNativeComponent;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport ReactNativeViewViewConfig from '../Components/View/ReactNativeViewViewConfig';\nimport type {\n PartialViewConfig,\n ViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\n\n/**\n * Creates a complete `ViewConfig` from a `PartialViewConfig`.\n */\nexport function createViewConfig(\n partialViewConfig: PartialViewConfig,\n): ViewConfig {\n return {\n uiViewClassName: partialViewConfig.uiViewClassName,\n Commands: {},\n bubblingEventTypes: composeIndexers(\n ReactNativeViewViewConfig.bubblingEventTypes,\n partialViewConfig.bubblingEventTypes,\n ),\n directEventTypes: composeIndexers(\n ReactNativeViewViewConfig.directEventTypes,\n partialViewConfig.directEventTypes,\n ),\n validAttributes: composeIndexers(\n // $FlowFixMe[incompatible-call] `style` property confuses Flow.\n ReactNativeViewViewConfig.validAttributes,\n // $FlowFixMe[incompatible-call] `style` property confuses Flow.\n partialViewConfig.validAttributes,\n ),\n };\n}\n\nfunction composeIndexers(\n maybeA: ?{+[string]: T},\n maybeB: ?{+[string]: T},\n): {+[string]: T} {\n return maybeA == null || maybeB == null\n ? maybeA ?? maybeB ?? {}\n : {...maybeA, ...maybeB};\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport UIManagerInjection from './UIManagerInjection';\nimport type {Spec} from './NativeUIManager';\nimport type {RootTag} from 'react-native/Libraries/Types/RootTagTypes';\n\ninterface UIManagerJSInterface extends Spec {\n +getViewManagerConfig: (viewManagerName: string) => Object;\n +hasViewManagerConfig: (viewManagerName: string) => boolean;\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n}\n\nconst UIManager: UIManagerJSInterface =\n global.RN$Bridgeless === true\n ? require('./DummyUIManager') // No UIManager in bridgeless mode\n : UIManagerInjection.unstable_UIManager == null\n ? require('./PaperUIManager')\n : UIManagerInjection.unstable_UIManager;\n\nmodule.exports = UIManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nexport default {\n unstable_UIManager: (null: ?any),\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {RootTag} from 'react-native/Libraries/Types/RootTagTypes';\n\nmodule.exports = {\n getViewManagerConfig: (viewManagerName: string): mixed => {\n console.warn(\n 'Attempting to get config for view manager: ' + viewManagerName,\n );\n if (viewManagerName === 'RCTVirtualText') {\n return {};\n }\n return null;\n },\n hasViewManagerConfig: (viewManagerName: string): boolean => {\n return (\n viewManagerName === 'RCTVirtualText' ||\n viewManagerName === 'RCTShimmeringView'\n );\n },\n getConstants: (): {...} => ({}),\n getConstantsForViewManager: (viewManagerName: string) => {},\n getDefaultEventTypes: (): Array<$FlowFixMe> => [],\n lazilyLoadView: (name: string) => {},\n createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ) => {},\n updateView: (reactTag: number, viewName: string, props: Object) => {},\n focus: (reactTag: ?number) => {},\n blur: (reactTag: ?number) => {},\n findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => {},\n measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => {},\n measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => {},\n viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => {},\n measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => {},\n clearJSResponder: () => {},\n configureNextLayoutAnimation: (\n config: Object,\n callback: () => void,\n errorCallback: (error: Object) => void,\n ) => {},\n removeSubviewsFromContainerWithID: (containerID: number) => {},\n replaceExistingNonRootView: (reactTag: ?number, newReactTag: ?number) => {},\n setChildren: (containerTag: ?number, reactTags: Array) => {},\n manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => {},\n\n // Android only\n setLayoutAnimationEnabledExperimental: (enabled: boolean) => {},\n sendAccessibilityEvent: (reactTag: ?number, eventType: number) => {},\n showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => {},\n dismissPopupMenu: () => {},\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nconst Platform = require('../Utilities/Platform');\nconst UIManagerProperties = require('./UIManagerProperties');\n\nconst defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n\nimport NativeUIManager from './NativeUIManager';\nimport type {RootTag} from 'react-native/Libraries/Types/RootTagTypes';\n\nconst viewManagerConfigs = {};\n\nconst triedLoadingConfig = new Set();\n\nlet NativeUIManagerConstants = {};\nlet isNativeUIManagerConstantsSet = false;\nfunction getConstants(): Object {\n if (!isNativeUIManagerConstantsSet) {\n NativeUIManagerConstants = NativeUIManager.getConstants();\n isNativeUIManagerConstantsSet = true;\n }\n return NativeUIManagerConstants;\n}\n\nfunction getViewManagerConfig(viewManagerName: string): any {\n if (\n viewManagerConfigs[viewManagerName] === undefined &&\n global.nativeCallSyncHook && // If we're in the Chrome Debugger, let's not even try calling the sync method\n NativeUIManager.getConstantsForViewManager\n ) {\n try {\n viewManagerConfigs[\n viewManagerName\n ] = NativeUIManager.getConstantsForViewManager(viewManagerName);\n } catch (e) {\n console.error(\n \"NativeUIManager.getConstantsForViewManager('\" +\n viewManagerName +\n \"') threw an exception.\",\n e,\n );\n viewManagerConfigs[viewManagerName] = null;\n }\n }\n\n const config = viewManagerConfigs[viewManagerName];\n if (config) {\n return config;\n }\n\n // If we're in the Chrome Debugger, let's not even try calling the sync\n // method.\n if (!global.nativeCallSyncHook) {\n return config;\n }\n\n if (\n NativeUIManager.lazilyLoadView &&\n !triedLoadingConfig.has(viewManagerName)\n ) {\n const result = NativeUIManager.lazilyLoadView(viewManagerName);\n triedLoadingConfig.add(viewManagerName);\n if (result != null && result.viewConfig != null) {\n getConstants()[viewManagerName] = result.viewConfig;\n lazifyViewManagerConfig(viewManagerName);\n }\n }\n\n return viewManagerConfigs[viewManagerName];\n}\n\n/* $FlowFixMe[cannot-spread-interface] (>=0.123.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.123.0 was deployed. To see\n * the error, delete this comment and run Flow. */\nconst UIManagerJS = {\n ...NativeUIManager,\n createView(\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ): void {\n if (Platform.OS === 'ios' && viewManagerConfigs[viewName] === undefined) {\n // This is necessary to force the initialization of native viewManager\n // classes in iOS when using static ViewConfigs\n getViewManagerConfig(viewName);\n }\n\n NativeUIManager.createView(reactTag, viewName, rootTag, props);\n },\n getConstants(): Object {\n return getConstants();\n },\n getViewManagerConfig(viewManagerName: string): any {\n return getViewManagerConfig(viewManagerName);\n },\n hasViewManagerConfig(viewManagerName: string): boolean {\n return getViewManagerConfig(viewManagerName) != null;\n },\n};\n\n// TODO (T45220498): Remove this.\n// 3rd party libs may be calling `NativeModules.UIManager.getViewManagerConfig()`\n// instead of `UIManager.getViewManagerConfig()` off UIManager.js.\n// This is a workaround for now.\n// $FlowFixMe[prop-missing]\nNativeUIManager.getViewManagerConfig = UIManagerJS.getViewManagerConfig;\n\nfunction lazifyViewManagerConfig(viewName) {\n const viewConfig = getConstants()[viewName];\n viewManagerConfigs[viewName] = viewConfig;\n if (viewConfig.Manager) {\n defineLazyObjectProperty(viewConfig, 'Constants', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const constants = {};\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value !== 'function') {\n constants[key] = value;\n }\n });\n return constants;\n },\n });\n defineLazyObjectProperty(viewConfig, 'Commands', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const commands = {};\n let index = 0;\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value === 'function') {\n commands[key] = index++;\n }\n });\n return commands;\n },\n });\n }\n}\n\n/**\n * Copies the ViewManager constants and commands into UIManager. This is\n * only needed for iOS, which puts the constants in the ViewManager\n * namespace instead of UIManager, unlike Android.\n */\nif (Platform.OS === 'ios') {\n Object.keys(getConstants()).forEach(viewName => {\n lazifyViewManagerConfig(viewName);\n });\n} else if (getConstants().ViewManagerNames) {\n NativeUIManager.getConstants().ViewManagerNames.forEach(viewManagerName => {\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => NativeUIManager.getConstantsForViewManager(viewManagerName),\n });\n });\n}\n\nif (!global.nativeCallSyncHook) {\n Object.keys(getConstants()).forEach(viewManagerName => {\n if (!UIManagerProperties.includes(viewManagerName)) {\n if (!viewManagerConfigs[viewManagerName]) {\n viewManagerConfigs[viewManagerName] = getConstants()[viewManagerName];\n }\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => {\n console.warn(\n `Accessing view manager configs directly off UIManager via UIManager['${viewManagerName}'] ` +\n `is no longer supported. Use UIManager.getViewManagerConfig('${viewManagerName}') instead.`,\n );\n\n return UIManagerJS.getViewManagerConfig(viewManagerName);\n },\n });\n }\n });\n}\n\nmodule.exports = UIManagerJS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../TurboModule/RCTExport';\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => Object;\n +getConstantsForViewManager: (viewManagerName: string) => Object;\n +getDefaultEventTypes: () => Array;\n +lazilyLoadView: (name: string) => Object; // revisit return\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +focus: (reactTag: ?number) => void;\n +blur: (reactTag: ?number) => void;\n +findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => void;\n +measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => void;\n +measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => void;\n +viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => void;\n +measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => void;\n +clearJSResponder: () => void;\n +configureNextLayoutAnimation: (\n config: Object,\n callback: () => void, // check what is returned here\n errorCallback: (error: Object) => void,\n ) => void;\n +removeSubviewsFromContainerWithID: (containerID: number) => void;\n +replaceExistingNonRootView: (\n reactTag: ?number,\n newReactTag: ?number,\n ) => void;\n +setChildren: (containerTag: ?number, reactTags: Array) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n\n // Android only\n +setLayoutAnimationEnabledExperimental: (enabled: boolean) => void;\n +sendAccessibilityEvent: (reactTag: ?number, eventType: number) => void;\n +showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => void;\n +dismissPopupMenu: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('UIManager'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\n/**\n * The list of non-ViewManager related UIManager properties.\n *\n * In an effort to improve startup performance by lazily loading view managers,\n * the interface to access view managers will change from\n * UIManager['viewManagerName'] to UIManager.getViewManagerConfig('viewManagerName').\n * By using a function call instead of a property access, the UIManager will\n * be able to initialize and load the required view manager from native\n * synchronously. All of React Native's core components have been updated to\n * use getViewManagerConfig(). For the next few releases, any usage of\n * UIManager['viewManagerName'] will result in a warning. Because React Native\n * does not support Proxy objects, a view manager access is implied if any of\n * UIManager's properties that are not one of the properties below is being\n * accessed. Once UIManager property accesses for view managers has been fully\n * deprecated, this file will also be removed.\n */\nmodule.exports = [\n 'clearJSResponder',\n 'configureNextLayoutAnimation',\n 'createView',\n 'dismissPopupMenu',\n 'dispatchViewManagerCommand',\n 'findSubviewIn',\n 'getConstantsForViewManager',\n 'getDefaultEventTypes',\n 'manageChildren',\n 'measure',\n 'measureInWindow',\n 'measureLayout',\n 'measureLayoutRelativeToParent',\n 'removeRootView',\n 'removeSubviewsFromContainerWithID',\n 'replaceExistingNonRootView',\n 'sendAccessibilityEvent',\n 'setChildren',\n 'setJSResponder',\n 'setLayoutAnimationEnabledExperimental',\n 'showPopupMenu',\n 'updateView',\n 'viewIsDescendantOf',\n 'PopupMenu',\n 'LazyViewManagersEnabled',\n 'ViewManagerNames',\n 'StyleConstants',\n 'AccessibilityEventTypes',\n 'UIView',\n 'getViewManagerConfig',\n 'hasViewManagerConfig',\n 'blur',\n 'focus',\n 'genericBubblingEventTypes',\n 'genericDirectEventTypes',\n 'lazilyLoadView',\n];\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');\nconst UIManager = require('./UIManager');\n\nconst insetsDiffer = require('../Utilities/differ/insetsDiffer');\nconst invariant = require('invariant');\nconst matricesDiffer = require('../Utilities/differ/matricesDiffer');\nconst pointsDiffer = require('../Utilities/differ/pointsDiffer');\nconst processColor = require('../StyleSheet/processColor');\nconst processColorArray = require('../StyleSheet/processColorArray');\nconst resolveAssetSource = require('../Image/resolveAssetSource');\nconst sizesDiffer = require('../Utilities/differ/sizesDiffer');\n\nfunction getNativeComponentAttributes(uiViewClassName: string): any {\n const viewConfig = UIManager.getViewManagerConfig(uiViewClassName);\n\n invariant(\n viewConfig != null && viewConfig.NativeProps != null,\n 'requireNativeComponent: \"%s\" was not found in the UIManager.',\n uiViewClassName,\n );\n\n // TODO: This seems like a whole lot of runtime initialization for every\n // native component that can be either avoided or simplified.\n let {baseModuleName, bubblingEventTypes, directEventTypes} = viewConfig;\n let nativeProps = viewConfig.NativeProps;\n while (baseModuleName) {\n const baseModule = UIManager.getViewManagerConfig(baseModuleName);\n if (!baseModule) {\n baseModuleName = null;\n } else {\n bubblingEventTypes = {\n ...baseModule.bubblingEventTypes,\n ...bubblingEventTypes,\n };\n directEventTypes = {\n ...baseModule.directEventTypes,\n ...directEventTypes,\n };\n nativeProps = {\n ...baseModule.NativeProps,\n ...nativeProps,\n };\n baseModuleName = baseModule.baseModuleName;\n }\n }\n\n const validAttributes = {};\n\n for (const key in nativeProps) {\n const typeName = nativeProps[key];\n const diff = getDifferForType(typeName);\n const process = getProcessorForType(typeName);\n\n validAttributes[key] =\n diff == null && process == null ? true : {diff, process};\n }\n\n // Unfortunately, the current setup declares style properties as top-level\n // props. This makes it so we allow style properties in the `style` prop.\n // TODO: Move style properties into a `style` prop and disallow them as\n // top-level props on the native side.\n validAttributes.style = ReactNativeStyleAttributes;\n\n Object.assign(viewConfig, {\n uiViewClassName,\n validAttributes,\n bubblingEventTypes,\n directEventTypes,\n });\n\n if (!hasAttachedDefaultEventTypes) {\n attachDefaultEventTypes(viewConfig);\n hasAttachedDefaultEventTypes = true;\n }\n\n return viewConfig;\n}\n\n// TODO: Figure out how this makes sense. We're using a global boolean to only\n// initialize this on the first eagerly initialized native component.\nlet hasAttachedDefaultEventTypes = false;\nfunction attachDefaultEventTypes(viewConfig: any) {\n // This is supported on UIManager platforms (ex: Android),\n // as lazy view managers are not implemented for all platforms.\n // See [UIManager] for details on constants and implementations.\n const constants = UIManager.getConstants();\n if (constants.ViewManagerNames || constants.LazyViewManagersEnabled) {\n // Lazy view managers enabled.\n viewConfig = merge(viewConfig, UIManager.getDefaultEventTypes());\n } else {\n viewConfig.bubblingEventTypes = merge(\n viewConfig.bubblingEventTypes,\n constants.genericBubblingEventTypes,\n );\n viewConfig.directEventTypes = merge(\n viewConfig.directEventTypes,\n constants.genericDirectEventTypes,\n );\n }\n}\n\n// TODO: Figure out how to avoid all this runtime initialization cost.\nfunction merge(destination: ?Object, source: ?Object): ?Object {\n if (!source) {\n return destination;\n }\n if (!destination) {\n return source;\n }\n\n for (const key in source) {\n if (!source.hasOwnProperty(key)) {\n continue;\n }\n\n let sourceValue = source[key];\n if (destination.hasOwnProperty(key)) {\n const destinationValue = destination[key];\n if (\n typeof sourceValue === 'object' &&\n typeof destinationValue === 'object'\n ) {\n sourceValue = merge(destinationValue, sourceValue);\n }\n }\n destination[key] = sourceValue;\n }\n return destination;\n}\n\nfunction getDifferForType(\n typeName: string,\n): ?(prevProp: any, nextProp: any) => boolean {\n switch (typeName) {\n // iOS Types\n case 'CATransform3D':\n return matricesDiffer;\n case 'CGPoint':\n return pointsDiffer;\n case 'CGSize':\n return sizesDiffer;\n case 'UIEdgeInsets':\n return insetsDiffer;\n // Android Types\n case 'Point':\n return pointsDiffer;\n }\n return null;\n}\n\nfunction getProcessorForType(typeName: string): ?(nextProp: any) => any {\n switch (typeName) {\n // iOS Types\n case 'CGColor':\n case 'UIColor':\n return processColor;\n case 'CGColorArray':\n case 'UIColorArray':\n return processColorArray;\n case 'CGImage':\n case 'UIImage':\n case 'RCTImageSource':\n return resolveAssetSource;\n // Android Types\n case 'Color':\n return processColor;\n case 'ColorArray':\n return processColorArray;\n }\n return null;\n}\n\nmodule.exports = getNativeComponentAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format strict-local\n * @flow\n */\n\nimport type {AnyAttributeType} from '../../Renderer/shims/ReactNativeTypes';\nimport processColor from '../../StyleSheet/processColor';\nimport processTransform from '../../StyleSheet/processTransform';\nimport sizesDiffer from '../../Utilities/differ/sizesDiffer';\n\nconst colorAttributes = {process: processColor};\n\nconst ReactNativeStyleAttributes: {[string]: AnyAttributeType, ...} = {\n /**\n * Layout\n */\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: true,\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n direction: true,\n display: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n height: true,\n justifyContent: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n overflow: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n position: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n\n /**\n * Shadow\n */\n elevation: true,\n shadowColor: colorAttributes,\n shadowOffset: {diff: sizesDiffer},\n shadowOpacity: true,\n shadowRadius: true,\n\n /**\n * Transform\n */\n decomposedMatrix: true, // @deprecated\n rotation: true, // @deprecated\n scaleX: true, // @deprecated\n scaleY: true, // @deprecated\n transform: {process: processTransform},\n transformMatrix: true, // @deprecated\n translateX: true, // @deprecated\n translateY: true, // @deprecated\n\n /**\n * View\n */\n backfaceVisibility: true,\n backgroundColor: colorAttributes,\n borderBottomColor: colorAttributes,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderColor: colorAttributes,\n borderEndColor: colorAttributes,\n borderLeftColor: colorAttributes,\n borderRadius: true,\n borderRightColor: colorAttributes,\n borderStartColor: colorAttributes,\n borderStyle: true,\n borderTopColor: colorAttributes,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n\n /**\n * Text\n */\n color: colorAttributes,\n fontFamily: true,\n fontSize: true,\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n includeFontPadding: true,\n letterSpacing: true,\n lineHeight: true,\n textAlign: true,\n textAlignVertical: true,\n textDecorationColor: colorAttributes,\n textDecorationLine: true,\n textDecorationStyle: true,\n textShadowColor: colorAttributes,\n textShadowOffset: true,\n textShadowRadius: true,\n textTransform: true,\n writingDirection: true,\n\n /**\n * Image\n */\n overlayColor: colorAttributes,\n resizeMode: true,\n tintColor: colorAttributes,\n};\n\nmodule.exports = ReactNativeStyleAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Point = {\n x: ?number,\n y: ?number,\n ...\n};\n\nconst dummyPoint = {x: undefined, y: undefined};\n\nconst pointsDiffer = function(one: ?Point, two: ?Point): boolean {\n one = one || dummyPoint;\n two = two || dummyPoint;\n return one !== two && (one.x !== two.x || one.y !== two.y);\n};\n\nmodule.exports = pointsDiffer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ColorValue} from './StyleSheet';\nimport processColor, {type ProcessedColorValue} from './processColor';\n\nconst TRANSPARENT = 0; // rgba(0, 0, 0, 0)\n\nfunction processColorArray(\n colors: ?$ReadOnlyArray,\n): ?$ReadOnlyArray {\n return colors == null ? null : colors.map(processColorElement);\n}\n\nfunction processColorElement(color: ColorValue): ProcessedColorValue {\n const value = processColor(color);\n // For invalid colors, fallback to transparent.\n if (value == null) {\n console.error('Invalid value in color array:', color);\n return TRANSPARENT;\n }\n return value;\n}\n\nmodule.exports = processColorArray;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n// Resolves an asset into a `source` for `Image`.\n\n'use strict';\n\nconst AssetRegistry = require('@react-native/assets/registry');\nconst AssetSourceResolver = require('./AssetSourceResolver');\nconst {pickScale} = require('./AssetUtils');\n\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\n\nlet _customSourceTransformer, _serverURL, _scriptURL;\n\nlet _sourceCodeScriptURL: ?string;\nfunction getSourceCodeScriptURL(): ?string {\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n\n let sourceCode =\n global.nativeExtensions && global.nativeExtensions.SourceCode;\n if (!sourceCode) {\n sourceCode = require('../NativeModules/specs/NativeSourceCode').default;\n }\n _sourceCodeScriptURL = sourceCode.getConstants().scriptURL;\n return _sourceCodeScriptURL;\n}\n\nfunction getDevServerURL(): ?string {\n if (_serverURL === undefined) {\n const sourceCodeScriptURL = getSourceCodeScriptURL();\n const match =\n sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n // jsBundle was loaded from network\n _serverURL = match[0];\n } else {\n // jsBundle was loaded from file\n _serverURL = null;\n }\n }\n return _serverURL;\n}\n\nfunction _coerceLocalScriptURL(scriptURL: ?string): ?string {\n if (scriptURL) {\n if (scriptURL.startsWith('assets://')) {\n // android: running from within assets, no offline path to use\n return null;\n }\n scriptURL = scriptURL.substring(0, scriptURL.lastIndexOf('/') + 1);\n if (!scriptURL.includes('://')) {\n // Add file protocol in case we have an absolute file path and not a URL.\n // This shouldn't really be necessary. scriptURL should be a URL.\n scriptURL = 'file://' + scriptURL;\n }\n }\n return scriptURL;\n}\n\nfunction getScriptURL(): ?string {\n if (_scriptURL === undefined) {\n _scriptURL = _coerceLocalScriptURL(getSourceCodeScriptURL());\n }\n return _scriptURL;\n}\n\nfunction setCustomSourceTransformer(\n transformer: (resolver: AssetSourceResolver) => ResolvedAssetSource,\n): void {\n _customSourceTransformer = transformer;\n}\n\n/**\n * `source` is either a number (opaque type returned by require('./foo.png'))\n * or an `ImageSource` like { uri: '' }\n */\nfunction resolveAssetSource(source: any): ?ResolvedAssetSource {\n if (typeof source === 'object') {\n return source;\n }\n\n const asset = AssetRegistry.getAssetByID(source);\n if (!asset) {\n return null;\n }\n\n const resolver = new AssetSourceResolver(\n getDevServerURL(),\n getScriptURL(),\n asset,\n );\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\n\nmodule.exports = resolveAssetSource;\nmodule.exports.pickScale = pickScale;\nmodule.exports.setCustomSourceTransformer = setCustomSourceTransformer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nexport type PackagerAsset = {\n +__packager_asset: boolean,\n +fileSystemLocation: string,\n +httpServerLocation: string,\n +width: ?number,\n +height: ?number,\n +scales: Array,\n +hash: string,\n +name: string,\n +type: string,\n ...\n};\n\nconst assets: Array = [];\n\nfunction registerAsset(asset: PackagerAsset): number {\n // `push` returns new array length, so the first asset will\n // get id 1 (not 0) to make the value truthy\n return assets.push(asset);\n}\n\nfunction getAssetByID(assetId: number): PackagerAsset {\n return assets[assetId - 1];\n}\n\nmodule.exports = {registerAsset, getAssetByID};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nexport type ResolvedAssetSource = {|\n +__packager_asset: boolean,\n +width: ?number,\n +height: ?number,\n +uri: string,\n +scale: number,\n|};\n\nimport type {PackagerAsset} from '@react-native/assets/registry';\n\nconst PixelRatio = require('../Utilities/PixelRatio');\nconst {pickScale} = require('./AssetUtils');\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\n\nconst {\n getAndroidResourceFolderName,\n getAndroidResourceIdentifier,\n getBasePath,\n} = require('@react-native/assets/path-support');\n\n/**\n * Returns a path like 'assets/AwesomeModule/icon@2x.png'\n */\nfunction getScaledAssetPath(asset): string {\n const scale = pickScale(asset.scales, PixelRatio.get());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const assetDir = getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + '.' + asset.type;\n}\n\n/**\n * Returns a path like 'drawable-mdpi/icon.png'\n */\nfunction getAssetPathInDrawableFolder(asset): string {\n const scale = pickScale(asset.scales, PixelRatio.get());\n const drawbleFolder = getAndroidResourceFolderName(asset, scale);\n const fileName = getAndroidResourceIdentifier(asset);\n return drawbleFolder + '/' + fileName + '.' + asset.type;\n}\n\nclass AssetSourceResolver {\n serverUrl: ?string;\n // where the jsbundle is being run from\n jsbundleUrl: ?string;\n // the asset to resolve\n asset: PackagerAsset;\n\n constructor(serverUrl: ?string, jsbundleUrl: ?string, asset: PackagerAsset) {\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n\n isLoadedFromServer(): boolean {\n return !!this.serverUrl;\n }\n\n isLoadedFromFileSystem(): boolean {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n\n defaultAsset(): ResolvedAssetSource {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n\n if (Platform.OS === 'android') {\n return this.isLoadedFromFileSystem()\n ? this.drawableFolderInBundle()\n : this.resourceIdentifierWithoutScale();\n } else {\n return this.scaledAssetURLNearBundle();\n }\n }\n\n /**\n * Returns an absolute URL which can be used to fetch the asset\n * from the devserver\n */\n assetServerURL(): ResolvedAssetSource {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(\n this.serverUrl +\n getScaledAssetPath(this.asset) +\n '?platform=' +\n Platform.OS +\n '&hash=' +\n this.asset.hash,\n );\n }\n\n /**\n * Resolves to just the scaled asset filename\n * E.g. 'assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetPath(): ResolvedAssetSource {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n\n /**\n * Resolves to where the bundle is running from, with a scaled asset filename\n * E.g. 'file:///sdcard/bundle/assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetURLNearBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(\n // Assets can have relative paths outside of the project root.\n // When bundling them we replace `../` with `_` to make sure they\n // don't end up outside of the expected assets directory.\n path + getScaledAssetPath(this.asset).replace(/\\.\\.\\//g, '_'),\n );\n }\n\n /**\n * The default location of assets bundled with the app, located by\n * resource identifier\n * The Android resource system picks the correct scale.\n * E.g. 'assets_awesomemodule_icon'\n */\n resourceIdentifierWithoutScale(): ResolvedAssetSource {\n invariant(\n Platform.OS === 'android',\n 'resource identifiers work on Android',\n );\n return this.fromSource(getAndroidResourceIdentifier(this.asset));\n }\n\n /**\n * If the jsbundle is running from a sideload location, this resolves assets\n * relative to its location\n * E.g. 'file:///sdcard/AwesomeModule/drawable-mdpi/icon.png'\n */\n drawableFolderInBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(path + getAssetPathInDrawableFolder(this.asset));\n }\n\n fromSource(source: string): ResolvedAssetSource {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: pickScale(this.asset.scales, PixelRatio.get()),\n };\n }\n\n static pickScale: (\n scales: Array,\n deviceScale?: number,\n ) => number = pickScale;\n}\n\nmodule.exports = AssetSourceResolver;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Dimensions = require('./Dimensions');\n\n/**\n * PixelRatio class gives access to the device pixel density.\n *\n * ## Fetching a correctly sized image\n *\n * You should get a higher resolution image if you are on a high pixel density\n * device. A good rule of thumb is to multiply the size of the image you display\n * by the pixel ratio.\n *\n * ```\n * var image = getImage({\n * width: PixelRatio.getPixelSizeForLayoutSize(200),\n * height: PixelRatio.getPixelSizeForLayoutSize(100),\n * });\n * \n * ```\n *\n * ## Pixel grid snapping\n *\n * In iOS, you can specify positions and dimensions for elements with arbitrary\n * precision, for example 29.674825. But, ultimately the physical display only\n * have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334\n * for iPhone 6. iOS tries to be as faithful as possible to the user value by\n * spreading one original pixel into multiple ones to trick the eye. The\n * downside of this technique is that it makes the resulting element look\n * blurry.\n *\n * In practice, we found out that developers do not want this feature and they\n * have to work around it by doing manual rounding in order to avoid having\n * blurry elements. In React Native, we are rounding all the pixels\n * automatically.\n *\n * We have to be careful when to do this rounding. You never want to work with\n * rounded and unrounded values at the same time as you're going to accumulate\n * rounding errors. Having even one rounding error is deadly because a one\n * pixel border may vanish or be twice as big.\n *\n * In React Native, everything in JavaScript and within the layout engine works\n * with arbitrary precision numbers. It's only when we set the position and\n * dimensions of the native element on the main thread that we round. Also,\n * rounding is done relative to the root rather than the parent, again to avoid\n * accumulating rounding errors.\n *\n */\nclass PixelRatio {\n /**\n * Returns the device pixel density. Some examples:\n *\n * - PixelRatio.get() === 1\n * - mdpi Android devices (160 dpi)\n * - PixelRatio.get() === 1.5\n * - hdpi Android devices (240 dpi)\n * - PixelRatio.get() === 2\n * - iPhone 4, 4S\n * - iPhone 5, 5c, 5s\n * - iPhone 6\n * - iPhone 7\n * - iPhone 8\n * - iPhone SE\n * - xhdpi Android devices (320 dpi)\n * - PixelRatio.get() === 3\n * - iPhone 6 Plus\n * - iPhone 7 Plus\n * - iPhone 8 Plus\n * - iPhone X\n * - xxhdpi Android devices (480 dpi)\n * - PixelRatio.get() === 3.5\n * - Nexus 6\n */\n static get(): number {\n return Dimensions.get('window').scale;\n }\n\n /**\n * Returns the scaling factor for font sizes. This is the ratio that is used to calculate the\n * absolute font size, so any elements that heavily depend on that should use this to do\n * calculations.\n *\n * If a font scale is not set, this returns the device pixel ratio.\n *\n * This reflects the user preference set in:\n * - Settings > Display > Font size on Android,\n * - Settings > Display & Brightness > Text Size on iOS.\n */\n static getFontScale(): number {\n return Dimensions.get('window').fontScale || PixelRatio.get();\n }\n\n /**\n * Converts a layout size (dp) to pixel size (px).\n *\n * Guaranteed to return an integer number.\n */\n static getPixelSizeForLayoutSize(layoutSize: number): number {\n return Math.round(layoutSize * PixelRatio.get());\n }\n\n /**\n * Rounds a layout size (dp) to the nearest layout size that corresponds to\n * an integer number of pixels. For example, on a device with a PixelRatio\n * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to\n * exactly (8.33 * 3) = 25 pixels.\n */\n static roundToNearestPixel(layoutSize: number): number {\n const ratio = PixelRatio.get();\n return Math.round(layoutSize * ratio) / ratio;\n }\n\n // No-op for iOS, but used on the web. Should not be documented.\n static startDetecting() {}\n}\n\nmodule.exports = PixelRatio;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport EventEmitter, {\n type EventSubscription,\n} from '../vendor/emitter/EventEmitter';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeDeviceInfo, {\n type DisplayMetrics,\n type DisplayMetricsAndroid,\n type DimensionsPayload,\n} from './NativeDeviceInfo';\nimport invariant from 'invariant';\n\nconst eventEmitter = new EventEmitter<{\n change: [DimensionsPayload],\n}>();\nlet dimensionsInitialized = false;\nlet dimensions: DimensionsPayload;\n\nclass Dimensions {\n /**\n * NOTE: `useWindowDimensions` is the preferred API for React components.\n *\n * Initial dimensions are set before `runApplication` is called so they should\n * be available before any other require's are run, but may be updated later.\n *\n * Note: Although dimensions are available immediately, they may change (e.g\n * due to device rotation) so any rendering logic or styles that depend on\n * these constants should try to call this function on every render, rather\n * than caching the value (for example, using inline styles rather than\n * setting a value in a `StyleSheet`).\n *\n * Example: `const {height, width} = Dimensions.get('window');`\n *\n * @param {string} dim Name of dimension as defined when calling `set`.\n * @returns {DisplayMetrics? | DisplayMetricsAndroid?} Value for the dimension.\n */\n static get(dim: string): DisplayMetrics | DisplayMetricsAndroid {\n invariant(dimensions[dim], 'No dimension set for key ' + dim);\n return dimensions[dim];\n }\n\n /**\n * This should only be called from native code by sending the\n * didUpdateDimensions event.\n *\n * @param {DimensionsPayload} dims Simple string-keyed object of dimensions to set\n */\n static set(dims: $ReadOnly): void {\n // We calculate the window dimensions in JS so that we don't encounter loss of\n // precision in transferring the dimensions (which could be non-integers) over\n // the bridge.\n let {screen, window} = dims;\n const {windowPhysicalPixels} = dims;\n if (windowPhysicalPixels) {\n window = {\n width: windowPhysicalPixels.width / windowPhysicalPixels.scale,\n height: windowPhysicalPixels.height / windowPhysicalPixels.scale,\n scale: windowPhysicalPixels.scale,\n fontScale: windowPhysicalPixels.fontScale,\n };\n }\n const {screenPhysicalPixels} = dims;\n if (screenPhysicalPixels) {\n screen = {\n width: screenPhysicalPixels.width / screenPhysicalPixels.scale,\n height: screenPhysicalPixels.height / screenPhysicalPixels.scale,\n scale: screenPhysicalPixels.scale,\n fontScale: screenPhysicalPixels.fontScale,\n };\n } else if (screen == null) {\n screen = window;\n }\n\n dimensions = {window, screen};\n if (dimensionsInitialized) {\n // Don't fire 'change' the first time the dimensions are set.\n eventEmitter.emit('change', dimensions);\n } else {\n dimensionsInitialized = true;\n }\n }\n\n /**\n * Add an event handler. Supported events:\n *\n * - `change`: Fires when a property within the `Dimensions` object changes. The argument\n * to the event handler is an object with `window` and `screen` properties whose values\n * are the same as the return values of `Dimensions.get('window')` and\n * `Dimensions.get('screen')`, respectively.\n */\n static addEventListener(\n type: 'change',\n handler: Function,\n ): EventSubscription {\n invariant(\n type === 'change',\n 'Trying to subscribe to unknown event: \"%s\"',\n type,\n );\n return eventEmitter.addListener(type, handler);\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n static removeEventListener(type: 'change', handler: Function) {\n invariant(\n type === 'change',\n 'Trying to remove listener for unknown event: \"%s\"',\n type,\n );\n // NOTE: This will report a deprecation notice via `console.error`.\n eventEmitter.removeListener(type, handler);\n }\n}\n\nlet initialDims: ?$ReadOnly =\n global.nativeExtensions &&\n global.nativeExtensions.DeviceInfo &&\n global.nativeExtensions.DeviceInfo.Dimensions;\nif (!initialDims) {\n // Subscribe before calling getConstants to make sure we don't miss any updates in between.\n RCTDeviceEventEmitter.addListener(\n 'didUpdateDimensions',\n (update: DimensionsPayload) => {\n Dimensions.set(update);\n },\n );\n initialDims = NativeDeviceInfo.getConstants().Dimensions;\n}\n\nDimensions.set(initialDims);\n\nmodule.exports = Dimensions;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type DisplayMetricsAndroid = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n densityDpi: number,\n|};\n\nexport type DisplayMetrics = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n|};\n\nexport type DimensionsPayload = {|\n window?: DisplayMetrics,\n screen?: DisplayMetrics,\n windowPhysicalPixels?: DisplayMetricsAndroid,\n screenPhysicalPixels?: DisplayMetricsAndroid,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |};\n}\n\nconst NativeModule: Spec = TurboModuleRegistry.getEnforcing('DeviceInfo');\nlet constants = null;\n\nconst NativeDeviceInfo = {\n getConstants(): {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n};\n\nexport default NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport PixelRatio from '../Utilities/PixelRatio';\n\nlet cacheBreaker;\nlet warnIfCacheBreakerUnset = true;\n\nexport function pickScale(scales: Array, deviceScale?: number): number {\n if (deviceScale == null) {\n deviceScale = PixelRatio.get();\n }\n // Packager guarantees that `scales` array is sorted\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n\n // If nothing matches, device scale is larger than any available\n // scales, so we return the biggest one. Unless the array is empty,\n // in which case we default to 1\n return scales[scales.length - 1] || 1;\n}\n\nexport function setUrlCacheBreaker(appendage: string) {\n cacheBreaker = appendage;\n}\n\nexport function getUrlCacheBreaker(): string {\n if (cacheBreaker == null) {\n if (__DEV__ && warnIfCacheBreakerUnset) {\n warnIfCacheBreakerUnset = false;\n console.warn(\n 'AssetUtils.getUrlCacheBreaker: Cache breaker value is unset',\n );\n }\n return '';\n }\n return cacheBreaker;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {PackagerAsset} from './registry.js';\n\nconst androidScaleSuffix = {\n '0.75': 'ldpi',\n '1': 'mdpi',\n '1.5': 'hdpi',\n '2': 'xhdpi',\n '3': 'xxhdpi',\n '4': 'xxxhdpi',\n};\n\n/**\n * FIXME: using number to represent discrete scale numbers is fragile in essence because of\n * floating point numbers imprecision.\n */\nfunction getAndroidAssetSuffix(scale: number): string {\n if (scale.toString() in androidScaleSuffix) {\n return androidScaleSuffix[scale.toString()];\n }\n\n throw new Error('no such scale ' + scale.toString());\n}\n\n// See https://developer.android.com/guide/topics/resources/drawable-resource.html\nconst drawableFileTypes = new Set([\n 'gif',\n 'jpeg',\n 'jpg',\n 'png',\n 'svg',\n 'webp',\n 'xml',\n]);\n\nfunction getAndroidResourceFolderName(\n asset: PackagerAsset,\n scale: number,\n): string | $TEMPORARY$string<'raw'> {\n if (!drawableFileTypes.has(asset.type)) {\n return 'raw';\n }\n const suffix = getAndroidAssetSuffix(scale);\n if (!suffix) {\n throw new Error(\n \"Don't know which android drawable suffix to use for scale: \" +\n scale +\n '\\nAsset: ' +\n JSON.stringify(asset, null, '\\t') +\n '\\nPossible scales are:' +\n JSON.stringify(androidScaleSuffix, null, '\\t'),\n );\n }\n return 'drawable-' + suffix;\n}\n\nfunction getAndroidResourceIdentifier(asset: PackagerAsset): string {\n return (getBasePath(asset) + '/' + asset.name)\n .toLowerCase()\n .replace(/\\//g, '_') // Encode folder structure in file name\n .replace(/([^a-z0-9_])/g, '') // Remove illegal chars\n .replace(/^assets_/, ''); // Remove \"assets_\" prefix\n}\n\nfunction getBasePath(asset: PackagerAsset): string {\n const basePath = asset.httpServerLocation;\n return basePath.startsWith('/') ? basePath.substr(1) : basePath;\n}\n\nmodule.exports = {\n getAndroidResourceFolderName,\n getAndroidResourceIdentifier,\n getBasePath,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n scriptURL: string,\n |};\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('SourceCode');\nlet constants = null;\n\nconst NativeSourceCode = {\n getConstants(): {|\n scriptURL: string,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n\n return constants;\n },\n};\n\nexport default NativeSourceCode;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport ReactNativeViewViewConfig from '../Components/View/ReactNativeViewViewConfig';\nimport {type ViewConfig} from '../Renderer/shims/ReactNativeTypes';\n\nconst IGNORED_KEYS = ['transform', 'hitSlop'];\n\n/**\n * The purpose of this function is to validate that the view config that\n * native exposes for a given view manager is the same as the view config\n * that is specified for that view manager in JS.\n *\n * In order to improve perf, we want to avoid calling into native to get\n * the view config when each view manager is used. To do this, we are moving\n * the configs to JS. In the future we will use these JS based view configs\n * to codegen the view manager on native to ensure they stay in sync without\n * this runtime check.\n *\n * If this function fails, that likely means a change was made to the native\n * view manager without updating the JS config as well. Ideally you can make\n * that direct change to the JS config. If you don't know what the differences\n * are, the best approach I've found is to create a view that prints\n * the return value of getNativeComponentAttributes, and then copying that\n * text and pasting it back into JS:\n * {JSON.stringify(getNativeComponentAttributes('RCTView'))}\n *\n * This is meant to be a stopgap until the time comes when we only have a\n * single source of truth. I wonder if this message will still be here two\n * years from now...\n */\nexport default function verifyComponentAttributeEquivalence(\n nativeViewConfig: ViewConfig,\n staticViewConfig: ViewConfig,\n) {\n for (const prop of [\n 'validAttributes',\n 'bubblingEventTypes',\n 'directEventTypes',\n ]) {\n const diff = Object.keys(\n lefthandObjectDiff(nativeViewConfig[prop], staticViewConfig[prop]),\n );\n\n if (diff.length > 0) {\n const name =\n staticViewConfig.uiViewClassName ?? nativeViewConfig.uiViewClassName;\n console.error(\n `'${name}' has a view config that does not match native. ` +\n `'${prop}' is missing: ${diff.join(', ')}`,\n );\n }\n }\n}\n\nexport function lefthandObjectDiff(leftObj: Object, rightObj: Object): Object {\n const differentKeys = {};\n\n function compare(leftItem, rightItem, key) {\n if (typeof leftItem !== typeof rightItem && leftItem != null) {\n differentKeys[key] = rightItem;\n return;\n }\n\n if (typeof leftItem === 'object') {\n const objDiff = lefthandObjectDiff(leftItem, rightItem);\n if (Object.keys(objDiff).length > 1) {\n differentKeys[key] = objDiff;\n }\n return;\n }\n\n if (leftItem !== rightItem) {\n differentKeys[key] = rightItem;\n return;\n }\n }\n\n for (const key in leftObj) {\n if (IGNORED_KEYS.includes(key)) {\n continue;\n }\n\n if (!rightObj) {\n differentKeys[key] = {};\n } else if (leftObj.hasOwnProperty(key)) {\n compare(leftObj[key], rightObj[key], key);\n }\n }\n\n return differentKeys;\n}\n\nexport function getConfigWithoutViewProps(\n viewConfig: ViewConfig,\n propName: string,\n): {...} {\n if (!viewConfig[propName]) {\n return {};\n }\n\n return Object.keys(viewConfig[propName])\n .filter(prop => !ReactNativeViewViewConfig[propName][prop])\n .reduce((obj, prop) => {\n obj[prop] = viewConfig[propName][prop];\n return obj;\n }, {});\n}\n\nexport function stringifyViewConfig(viewConfig: any): string {\n return JSON.stringify(\n viewConfig,\n (key, val) => {\n if (typeof val === 'function') {\n return `ƒ ${val.name}`;\n }\n return val;\n },\n 2,\n );\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v17.0.2\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=require(\"object-assign\"),n=60103,p=60106;exports.Fragment=60107;exports.StrictMode=60108;exports.Profiler=60114;var q=60109,r=60110,t=60112;exports.Suspense=60113;var u=60115,v=60116;\nif(\"function\"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w(\"react.element\");p=w(\"react.portal\");exports.Fragment=w(\"react.fragment\");exports.StrictMode=w(\"react.strict_mode\");exports.Profiler=w(\"react.profiler\");q=w(\"react.provider\");r=w(\"react.context\");t=w(\"react.forward_ref\");exports.Suspense=w(\"react.suspense\");u=w(\"react.memo\");v=w(\"react.lazy\")}var x=\"function\"===typeof Symbol&&Symbol.iterator;\nfunction y(a){if(null===a||\"object\"!==typeof a)return null;a=x&&a[x]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function z(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nconst SinglelineTextInputNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTSinglelineTextInputView',\n () => RCTTextInputViewConfig,\n);\n\n// flowlint-next-line unclear-type:off\nexport default ((SinglelineTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {PartialViewConfig} from '../../Renderer/shims/ReactNativeTypes';\nimport ReactNativeViewViewConfig from '../../Components/View/ReactNativeViewViewConfig';\n\nconst RCTTextInputViewConfig = {\n uiViewClassName: 'RCTSinglelineTextInputView',\n bubblingEventTypes: {\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topChange: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTouchCancel: {\n phasedRegistrationNames: {\n bubbled: 'onTouchCancel',\n captured: 'onTouchCancelCapture',\n },\n },\n topTouchEnd: {\n phasedRegistrationNames: {\n bubbled: 'onTouchEnd',\n captured: 'onTouchEndCapture',\n },\n },\n\n topTouchMove: {\n phasedRegistrationNames: {\n bubbled: 'onTouchMove',\n captured: 'onTouchMoveCapture',\n },\n },\n },\n directEventTypes: {},\n validAttributes: {\n ...ReactNativeViewViewConfig.validAttributes,\n fontSize: true,\n fontWeight: true,\n fontVariant: true,\n // flowlint-next-line untyped-import:off\n textShadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n allowFontScaling: true,\n fontStyle: true,\n textTransform: true,\n textAlign: true,\n fontFamily: true,\n lineHeight: true,\n isHighlighted: true,\n writingDirection: true,\n textDecorationLine: true,\n textShadowRadius: true,\n letterSpacing: true,\n textDecorationStyle: true,\n textDecorationColor: {process: require('../../StyleSheet/processColor')},\n color: {process: require('../../StyleSheet/processColor')},\n maxFontSizeMultiplier: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n editable: true,\n inputAccessoryViewID: true,\n caretHidden: true,\n enablesReturnKeyAutomatically: true,\n placeholderTextColor: {process: require('../../StyleSheet/processColor')},\n onSelectionChange: true,\n clearButtonMode: true,\n onContentSizeChange: true,\n keyboardType: true,\n selection: true,\n returnKeyType: true,\n blurOnSubmit: true,\n mostRecentEventCount: true,\n onChange: true,\n scrollEnabled: true,\n selectionColor: {process: require('../../StyleSheet/processColor')},\n contextMenuHidden: true,\n secureTextEntry: true,\n onTextInput: true,\n placeholder: true,\n autoCorrect: true,\n onScroll: true,\n multiline: true,\n textContentType: true,\n maxLength: true,\n autoCapitalize: true,\n keyboardAppearance: true,\n passwordRules: true,\n spellCheck: true,\n selectTextOnFocus: true,\n text: true,\n clearTextOnFocus: true,\n },\n};\n\nmodule.exports = (RCTTextInputViewConfig: PartialViewConfig);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nlet logListeners;\n\ntype LogListeners = {|\n +onDifferentFunctionsIgnored: (nameOne: ?string, nameTwo: ?string) => void,\n|};\n\ntype Options = {|+unsafelyIgnoreFunctions?: boolean|};\n\nfunction unstable_setLogListeners(listeners: ?LogListeners) {\n logListeners = listeners;\n}\n\n/*\n * @returns {bool} true if different, false if equal\n */\nconst deepDiffer = function(\n one: any,\n two: any,\n maxDepthOrOptions: Options | number = -1,\n maybeOptions?: Options,\n): boolean {\n const options =\n typeof maxDepthOrOptions === 'number' ? maybeOptions : maxDepthOrOptions;\n const maxDepth =\n typeof maxDepthOrOptions === 'number' ? maxDepthOrOptions : -1;\n if (maxDepth === 0) {\n return true;\n }\n if (one === two) {\n // Short circuit on identical object references instead of traversing them.\n return false;\n }\n if (typeof one === 'function' && typeof two === 'function') {\n // We consider all functions equal unless explicitly configured otherwise\n let unsafelyIgnoreFunctions = options?.unsafelyIgnoreFunctions;\n if (unsafelyIgnoreFunctions == null) {\n if (\n logListeners &&\n logListeners.onDifferentFunctionsIgnored &&\n (!options || !('unsafelyIgnoreFunctions' in options))\n ) {\n logListeners.onDifferentFunctionsIgnored(one.name, two.name);\n }\n unsafelyIgnoreFunctions = true;\n }\n return !unsafelyIgnoreFunctions;\n }\n if (typeof one !== 'object' || one === null) {\n // Primitives can be directly compared\n return one !== two;\n }\n if (typeof two !== 'object' || two === null) {\n // We know they are different because the previous case would have triggered\n // otherwise.\n return true;\n }\n if (one.constructor !== two.constructor) {\n return true;\n }\n if (Array.isArray(one)) {\n // We know two is also an array because the constructors are equal\n const len = one.length;\n if (two.length !== len) {\n return true;\n }\n for (let ii = 0; ii < len; ii++) {\n if (deepDiffer(one[ii], two[ii], maxDepth - 1, options)) {\n return true;\n }\n }\n } else {\n for (const key in one) {\n if (deepDiffer(one[key], two[key], maxDepth - 1, options)) {\n return true;\n }\n }\n for (const twoKey in two) {\n // The only case we haven't checked yet is keys that are in two but aren't\n // in one, which means they are different.\n if (one[twoKey] === undefined && two[twoKey] !== undefined) {\n return true;\n }\n }\n }\n return false;\n};\n\nmodule.exports = deepDiffer;\nmodule.exports.unstable_setLogListeners = unstable_setLogListeners;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {DangerouslyImpreciseStyleProp} from './StyleSheet';\nimport type {____FlattenStyleProp_Internal} from './StyleSheetTypes';\n\nfunction flattenStyle<+TStyleProp: DangerouslyImpreciseStyleProp>(\n style: ?TStyleProp,\n): ?____FlattenStyleProp_Internal {\n if (style === null || typeof style !== 'object') {\n return undefined;\n }\n\n if (!Array.isArray(style)) {\n return style;\n }\n\n const result = {};\n for (let i = 0, styleLength = style.length; i < styleLength; ++i) {\n const computedStyle = flattenStyle(style[i]);\n if (computedStyle) {\n for (const key in computedStyle) {\n result[key] = computedStyle[key];\n }\n }\n }\n return result;\n}\n\nmodule.exports = flattenStyle;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport {handleException, SyntheticError} from './ExceptionsManager';\n\nimport type {ExtendedError} from './ExtendedError';\n\nexport type CapturedError = {\n +componentStack: string,\n +error: mixed,\n +errorBoundary: ?{...},\n ...\n};\n\nconst ReactFiberErrorDialog = {\n /**\n * Intercept lifecycle errors and ensure they are shown with the correct stack\n * trace within the native redbox component.\n */\n showErrorDialog({componentStack, error: errorValue}: CapturedError): boolean {\n let error: ?ExtendedError;\n\n // Typically, `errorValue` should be an error. However, other values such as\n // strings (or even null) are sometimes thrown.\n if (errorValue instanceof Error) {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (errorValue: ExtendedError);\n } else if (typeof errorValue === 'string') {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (new SyntheticError(errorValue): ExtendedError);\n } else {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (new SyntheticError('Unspecified error'): ExtendedError);\n }\n try {\n error.componentStack = componentStack;\n error.isComponentError = true;\n } catch {\n // Ignored.\n }\n\n handleException(error, false);\n\n // Return false here to prevent ReactFiberErrorLogger default behavior of\n // logging error details to console.error. Calls to console.error are\n // automatically routed to the native redbox controller, which we've already\n // done above by calling ExceptionsManager.\n return false;\n },\n};\n\nexport default ReactFiberErrorDialog;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeAccessibilityManager from './NativeAccessibilityManager';\n\n/**\n * This is a function exposed to the React Renderer that can be used by the\n * pre-Fabric renderer to emit accessibility events to pre-Fabric nodes.\n */\nfunction legacySendAccessibilityEvent(\n reactTag: number,\n eventType: string,\n): void {\n if (eventType === 'focus' && NativeAccessibilityManager) {\n NativeAccessibilityManager.setAccessibilityFocus(reactTag);\n }\n}\n\nmodule.exports = legacySendAccessibilityEvent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getCurrentBoldTextState: (\n onSuccess: (isBoldTextEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentGrayscaleState: (\n onSuccess: (isGrayscaleEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentInvertColorsState: (\n onSuccess: (isInvertColorsEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceMotionState: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceTransparencyState: (\n onSuccess: (isReduceTransparencyEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentVoiceOverState: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +setAccessibilityContentSizeMultipliers: (JSMultipliers: {|\n +extraSmall?: ?number,\n +small?: ?number,\n +medium?: ?number,\n +large?: ?number,\n +extraLarge?: ?number,\n +extraExtraLarge?: ?number,\n +extraExtraExtraLarge?: ?number,\n +accessibilityMedium?: ?number,\n +accessibilityLarge?: ?number,\n +accessibilityExtraLarge?: ?number,\n +accessibilityExtraExtraLarge?: ?number,\n +accessibilityExtraExtraExtraLarge?: ?number,\n |}) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityManager'): ?Spec);\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/** @license React v0.20.2\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f,g,h,k;if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var t=null,u=null,w=function(){if(null!==t)try{var a=exports.unstable_now();t(!0,a);t=null}catch(b){throw setTimeout(w,0),b;}};f=function(a){null!==t?setTimeout(f,0,a):(t=a,setTimeout(w,0))};g=function(a,b){u=setTimeout(a,b)};h=function(){clearTimeout(u)};exports.unstable_shouldYield=function(){return!1};k=exports.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,y=window.clearTimeout;if(\"undefined\"!==typeof console){var z=\nwindow.cancelAnimationFrame;\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\");\"function\"!==typeof z&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\")}var A=!1,B=null,C=-1,D=5,E=0;exports.unstable_shouldYield=function(){return exports.unstable_now()>=\nE};k=function(){};exports.unstable_forceFrameRate=function(a){0>a||125>>1,e=a[d];if(void 0!==e&&0I(n,c))void 0!==r&&0>I(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>I(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function I(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var L=[],M=[],N=1,O=null,P=3,Q=!1,R=!1,S=!1;\nfunction T(a){for(var b=J(M);null!==b;){if(null===b.callback)K(M);else if(b.startTime<=a)K(M),b.sortIndex=b.expirationTime,H(L,b);else break;b=J(M)}}function U(a){S=!1;T(a);if(!R)if(null!==J(L))R=!0,f(V);else{var b=J(M);null!==b&&g(U,b.startTime-a)}}\nfunction V(a,b){R=!1;S&&(S=!1,h());Q=!0;var c=P;try{T(b);for(O=J(L);null!==O&&(!(O.expirationTime>b)||a&&!exports.unstable_shouldYield());){var d=O.callback;if(\"function\"===typeof d){O.callback=null;P=O.priorityLevel;var e=d(O.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?O.callback=e:O===J(L)&&K(L);T(b)}else K(L);O=J(L)}if(null!==O)var m=!0;else{var n=J(M);null!==n&&g(U,n.startTime-b);m=!1}return m}finally{O=null,P=c,Q=!1}}var W=k;exports.unstable_IdlePriority=5;\nexports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){R||Q||(R=!0,f(V))};exports.unstable_getCurrentPriorityLevel=function(){return P};exports.unstable_getFirstCallbackNode=function(){return J(L)};\nexports.unstable_next=function(a){switch(P){case 1:case 2:case 3:var b=3;break;default:b=P}var c=P;P=b;try{return a()}finally{P=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=W;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=P;P=a;try{return b()}finally{P=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();\"object\"===typeof c&&null!==c?(c=c.delay,c=\"number\"===typeof c&&0d?(a.sortIndex=c,H(M,a),null===J(L)&&a===J(M)&&(S?h():S=!0,g(U,c-d))):(a.sortIndex=e,H(L,a),R||Q||(R=!0,f(V)));return a};\nexports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;try{return a.apply(this,arguments)}finally{P=c}}};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +isReduceMotionEnabled: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n ) => void;\n +isTouchExplorationEnabled: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n ) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n +getRecommendedTimeoutMillis?: (\n mSec: number,\n onSuccess: (recommendedTimeoutMillis: number) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityInfo'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generate-docs\n */\n\n'use strict';\nimport * as React from 'react';\nimport Platform from '../../Utilities/Platform';\nimport StyleSheet, {type ColorValue} from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nconst PlatformActivityIndicator =\n Platform.OS === 'android'\n ? require('../ProgressBarAndroid/ProgressBarAndroid')\n : require('./ActivityIndicatorViewNativeComponent').default;\n\nconst GRAY = '#999999';\n\ntype IndicatorSize = number | 'small' | 'large';\n\ntype IOSProps = $ReadOnly<{|\n /**\n Whether the indicator should hide when not animating.\n\n @platform ios\n */\n hidesWhenStopped?: ?boolean,\n|}>;\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n \tWhether to show the indicator (`true`) or hide it (`false`).\n */\n animating?: ?boolean,\n\n /**\n The foreground color of the spinner.\n\n @default {@platform android} `null` (system accent default color)\n @default {@platform ios} '#999999'\n */\n color?: ?ColorValue,\n\n /**\n Size of the indicator.\n\n @type enum(`'small'`, `'large'`)\n @type {@platform android} number\n */\n size?: ?IndicatorSize,\n|}>;\n\nconst ActivityIndicator = (\n {\n animating = true,\n color = Platform.OS === 'ios' ? GRAY : null,\n hidesWhenStopped = true,\n onLayout,\n size = 'small',\n style,\n ...restProps\n }: Props,\n forwardedRef?: any,\n) => {\n let sizeStyle;\n let sizeProp;\n\n switch (size) {\n case 'small':\n sizeStyle = styles.sizeSmall;\n sizeProp = 'small';\n break;\n case 'large':\n sizeStyle = styles.sizeLarge;\n sizeProp = 'large';\n break;\n default:\n sizeStyle = {height: size, width: size};\n break;\n }\n\n const nativeProps = {\n animating,\n color,\n hidesWhenStopped,\n ...restProps,\n ref: forwardedRef,\n style: sizeStyle,\n size: sizeProp,\n };\n\n const androidProps = {\n styleAttr: 'Normal',\n indeterminate: true,\n };\n\n return (\n \n {Platform.OS === 'android' ? (\n // $FlowFixMe[prop-missing] Flow doesn't know when this is the android component\n \n ) : (\n /* $FlowFixMe[prop-missing] (>=0.106.0 site=react_native_android_fb) This comment\n * suppresses an error found when Flow v0.106 was deployed. To see the\n * error, delete this comment and run Flow. */\n \n )}\n \n );\n};\n\n/**\n Displays a circular loading indicator.\n\n ```SnackPlayer name=ActivityIndicator%20Function%20Component%20Example\n import React from \"react\";\n import { ActivityIndicator, StyleSheet, Text, View } from \"react-native\";\n\n const App = () => (\n \n \n \n \n \n \n );\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\"\n },\n horizontal: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n padding: 10\n }\n });\n export default App;\n ```\n\n ```SnackPlayer name=ActivityIndicator%20Class%20Component%20Example\n import React, { Component } from \"react\";\n import { ActivityIndicator, StyleSheet, Text, View } from \"react-native\";\n\n class App extends Component {\n render() {\n return (\n \n \n \n \n \n \n );\n }\n }\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\"\n },\n horizontal: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n padding: 10\n }\n });\n export default App;\n ```\n*/\n\nconst ActivityIndicatorWithRef: React.AbstractComponent<\n Props,\n HostComponent,\n> = React.forwardRef(ActivityIndicator);\nActivityIndicatorWithRef.displayName = 'ActivityIndicator';\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n sizeSmall: {\n width: 20,\n height: 20,\n },\n sizeLarge: {\n width: 36,\n height: 36,\n },\n});\n\nmodule.exports = ActivityIndicatorWithRef;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst PixelRatio = require('../Utilities/PixelRatio');\nconst ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');\n\nconst flatten = require('./flattenStyle');\n\nimport type {\n ____ColorValue_Internal,\n ____Styles_Internal,\n ____DangerouslyImpreciseStyle_Internal,\n ____DangerouslyImpreciseStyleProp_Internal,\n ____ViewStyle_Internal,\n ____ViewStyleProp_Internal,\n ____TextStyle_Internal,\n ____TextStyleProp_Internal,\n ____ImageStyle_Internal,\n ____ImageStyleProp_Internal,\n} from './StyleSheetTypes';\n\n/**\n * This type should be used as the type for anything that is a color. It is\n * most useful when using DynamicColorIOS which can be a string or a dynamic\n * color object.\n *\n * type props = {backgroundColor: ColorValue};\n */\nexport type ColorValue = ____ColorValue_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that View doesn't support such as `fontSize`.`\n *\n * type Props = {style: ViewStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ViewStyleProp = ____ViewStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that Text doesn't support such as `resizeMode`.`\n *\n * type Props = {style: TextStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type TextStyleProp = ____TextStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to an 's `style` prop. This ensures call sites of the component\n * can't pass styles that Image doesn't support such as `fontSize`.`\n *\n * type Props = {style: ImageStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ImageStyleProp = ____ImageStyleProp_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type\n * is similar to the ones above except it allows styles that are accepted\n * by all of View, Text, or Image. It is therefore very unsafe to pass this\n * through to an underlying component. Using this is almost always a mistake\n * and using one of the other more restrictive types is likely the right choice.\n */\nexport type DangerouslyImpreciseStyleProp = ____DangerouslyImpreciseStyleProp_Internal;\n\n/**\n * Utility type for getting the values for specific style keys.\n *\n * The following is bad because position is more restrictive than 'string':\n * ```\n * type Props = {position: string};\n * ```\n *\n * You should use the following instead:\n *\n * ```\n * type Props = {position: TypeForStyleKey<'position'>};\n * ```\n *\n * This will correctly give you the type 'absolute' | 'relative'\n */\nexport type TypeForStyleKey<\n +key: $Keys<____DangerouslyImpreciseStyle_Internal>,\n> = $ElementType<____DangerouslyImpreciseStyle_Internal, key>;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for View.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ViewStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a View that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ViewStyle = ____ViewStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Text.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using TextStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a Text that can't be precomputed with\n * StyleSheet.create.\n */\nexport type TextStyle = ____TextStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Image.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ImageStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to an Image that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ImageStyle = ____ImageStyle_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type is an object\n * with all possible style keys and their values. Note that this isn't\n * a safe way to type a style prop for a component as results from\n * StyleSheet.create return an internal identifier, not an object of styles.\n *\n * If you want to type the style prop of a function, consider using\n * ViewStyleProp, TextStyleProp, or ImageStyleProp.\n *\n * This should only be used by very core utilities that operate on an object\n * containing any possible style value.\n */\nexport type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;\n\nlet hairlineWidth: number = PixelRatio.roundToNearestPixel(0.4);\nif (hairlineWidth === 0) {\n hairlineWidth = 1 / PixelRatio.get();\n}\n\nconst absoluteFill = {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n};\nif (__DEV__) {\n Object.freeze(absoluteFill);\n}\n\n/**\n * A StyleSheet is an abstraction similar to CSS StyleSheets\n *\n * Create a new StyleSheet:\n *\n * ```\n * const styles = StyleSheet.create({\n * container: {\n * borderRadius: 4,\n * borderWidth: 0.5,\n * borderColor: '#d6d7da',\n * },\n * title: {\n * fontSize: 19,\n * fontWeight: 'bold',\n * },\n * activeTitle: {\n * color: 'red',\n * },\n * });\n * ```\n *\n * Use a StyleSheet:\n *\n * ```\n * \n * \n * \n * ```\n *\n * Code quality:\n *\n * - By moving styles away from the render function, you're making the code\n * easier to understand.\n * - Naming the styles is a good way to add meaning to the low level components\n * in the render function.\n *\n * Performance:\n *\n * - Making a stylesheet from a style object makes it possible to refer to it\n * by ID instead of creating a new style object every time.\n * - It also allows to send the style only once through the bridge. All\n * subsequent uses are going to refer an id (not implemented yet).\n */\nmodule.exports = {\n /**\n * This is defined as the width of a thin line on the platform. It can be\n * used as the thickness of a border or division between two elements.\n * Example:\n * ```\n * {\n * borderBottomColor: '#bbb',\n * borderBottomWidth: StyleSheet.hairlineWidth\n * }\n * ```\n *\n * This constant will always be a round number of pixels (so a line defined\n * by it look crisp) and will try to match the standard width of a thin line\n * on the underlying platform. However, you should not rely on it being a\n * constant size, because on different platforms and screen densities its\n * value may be calculated differently.\n *\n * A line with hairline width may not be visible if your simulator is downscaled.\n */\n hairlineWidth,\n\n /**\n * A very common pattern is to create overlays with position absolute and zero positioning,\n * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated\n * styles.\n */\n absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites.\n\n /**\n * Sometimes you may want `absoluteFill` but with a couple tweaks - `absoluteFillObject` can be\n * used to create a customized entry in a `StyleSheet`, e.g.:\n *\n * const styles = StyleSheet.create({\n * wrapper: {\n * ...StyleSheet.absoluteFillObject,\n * top: 10,\n * backgroundColor: 'transparent',\n * },\n * });\n */\n absoluteFillObject: absoluteFill,\n\n /**\n * Combines two styles such that `style2` will override any styles in `style1`.\n * If either style is falsy, the other one is returned without allocating an\n * array, saving allocations and maintaining reference equality for\n * PureComponent checks.\n */\n compose(\n style1: ?T,\n style2: ?T,\n ): ?T | $ReadOnlyArray {\n if (style1 != null && style2 != null) {\n return ([style1, style2]: $ReadOnlyArray);\n } else {\n return style1 != null ? style1 : style2;\n }\n },\n\n /**\n * Flattens an array of style objects, into one aggregated style object.\n * Alternatively, this method can be used to lookup IDs, returned by\n * StyleSheet.register.\n *\n * > **NOTE**: Exercise caution as abusing this can tax you in terms of\n * > optimizations.\n * >\n * > IDs enable optimizations through the bridge and memory in general. Referring\n * > to style objects directly will deprive you of these optimizations.\n *\n * Example:\n * ```\n * const styles = StyleSheet.create({\n * listItem: {\n * flex: 1,\n * fontSize: 16,\n * color: 'white'\n * },\n * selectedListItem: {\n * color: 'green'\n * }\n * });\n *\n * StyleSheet.flatten([styles.listItem, styles.selectedListItem])\n * // returns { flex: 1, fontSize: 16, color: 'green' }\n * ```\n * Alternative use:\n * ```\n * StyleSheet.flatten(styles.listItem);\n * // return { flex: 1, fontSize: 16, color: 'white' }\n * // Simply styles.listItem would return its ID (number)\n * ```\n * This method internally uses `StyleSheetRegistry.getStyleByID(style)`\n * to resolve style objects represented by IDs. Thus, an array of style\n * objects (instances of StyleSheet.create), are individually resolved to,\n * their respective objects, merged as one and then returned. This also explains\n * the alternative use.\n */\n flatten,\n\n /**\n * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will\n * not be reliably announced. The whole thing might be deleted, who knows? Use\n * at your own risk.\n *\n * Sets a function to use to pre-process a style property value. This is used\n * internally to process color and transform values. You should not use this\n * unless you really know what you are doing and have exhausted other options.\n */\n setStyleAttributePreprocessor(\n property: string,\n process: (nextProp: mixed) => mixed,\n ) {\n let value;\n\n if (ReactNativeStyleAttributes[property] === true) {\n value = {process};\n } else if (typeof ReactNativeStyleAttributes[property] === 'object') {\n value = {...ReactNativeStyleAttributes[property], process};\n } else {\n console.error(`${property} is not a valid style attribute`);\n return;\n }\n\n if (__DEV__ && typeof value.process === 'function') {\n console.warn(`Overwriting ${property} style attribute preprocessor`);\n }\n\n ReactNativeStyleAttributes[property] = value;\n },\n\n /**\n * Creates a StyleSheet style reference from the given object.\n */\n create<+S: ____Styles_Internal>(obj: S): $ReadOnly {\n // TODO: This should return S as the return type. But first,\n // we need to codemod all the callsites that are typing this\n // return value as a number (even though it was opaque).\n if (__DEV__) {\n for (const key in obj) {\n if (obj[key]) {\n Object.freeze(obj[key]);\n }\n }\n }\n return obj;\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from './ViewPropTypes';\n\nimport ViewNativeComponent from './ViewNativeComponent';\nimport TextAncestor from '../../Text/TextAncestor';\nimport * as React from 'react';\n\nexport type Props = ViewProps;\n\n/**\n * The most fundamental component for building a UI, View is a container that\n * supports layout with flexbox, style, some touch handling, and accessibility\n * controls.\n *\n * @see https://reactnative.dev/docs/view.html\n */\nconst View: React.AbstractComponent<\n ViewProps,\n React.ElementRef,\n> = React.forwardRef((props: ViewProps, forwardedRef) => {\n return (\n \n \n \n );\n});\n\nView.displayName = 'View';\n\nmodule.exports = View;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport {type HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport Platform from '../../Utilities/Platform';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport ReactNativeViewViewConfigAndroid from './ReactNativeViewViewConfigAndroid';\nimport {type ViewProps as Props} from './ViewPropTypes';\nimport * as React from 'react';\n\nconst ViewNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTView',\n () =>\n Platform.OS === 'android'\n ? ReactNativeViewViewConfigAndroid\n : {uiViewClassName: 'RCTView'},\n);\n\ninterface NativeCommands {\n +hotspotUpdate: (\n viewRef: React.ElementRef>,\n x: number,\n y: number,\n ) => void;\n +setPressed: (\n viewRef: React.ElementRef>,\n pressed: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['hotspotUpdate', 'setPressed'],\n});\n\nexport default ViewNativeComponent;\n\nexport type ViewNativeComponentType = HostComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\n/**\n * Whether the current element is the descendant of a element.\n */\nconst TextAncestorContext = (React.createContext(\n false,\n): React$Context<$FlowFixMe>);\nif (__DEV__) {\n TextAncestorContext.displayName = 'TextAncestorContext';\n}\nmodule.exports = TextAncestorContext;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\n\n/**\n * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner\n * View component and renders its children.\n */\nclass UnimplementedView extends React.Component<$FlowFixMeProps> {\n render(): React.Node {\n // Workaround require cycle from requireNativeComponent\n const View = require('../View/View');\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n unimplementedView: __DEV__\n ? {\n alignSelf: 'flex-start',\n borderColor: 'red',\n borderWidth: 1,\n }\n : {},\n});\n\nmodule.exports = UnimplementedView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {WithDefault} from '../../Types/CodegenTypes';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the indicator should hide when not animating (true by default).\n *\n * See https://reactnative.dev/docs/activityindicator.html#hideswhenstopped\n */\n hidesWhenStopped?: WithDefault,\n\n /**\n * Whether to show the indicator (true, the default) or hide it (false).\n *\n * See https://reactnative.dev/docs/activityindicator.html#animating\n */\n animating?: WithDefault,\n\n /**\n * The foreground color of the spinner (default is gray).\n *\n * See https://reactnative.dev/docs/activityindicator.html#color\n */\n color?: ?ColorValue,\n\n /**\n * Size of the indicator (default is 'small').\n * Passing a number to the size prop is only supported on Android.\n *\n * See https://reactnative.dev/docs/activityindicator.html#size\n */\n size?: WithDefault<'small' | 'large', 'small'>,\n|}>;\n\nexport default (codegenNativeComponent('ActivityIndicatorView', {\n paperComponentName: 'RCTActivityIndicatorView',\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// TODO: move this file to shims/ReactNative (requires React update and sync)\n\nimport requireNativeComponent from '../../Libraries/ReactNative/requireNativeComponent';\nimport type {HostComponent} from '../../Libraries/Renderer/shims/ReactNativeTypes';\nimport UIManager from '../ReactNative/UIManager';\n\n// TODO: import from CodegenSchema once workspaces are enabled\ntype Options = $ReadOnly<{|\n interfaceOnly?: boolean,\n paperComponentName?: string,\n paperComponentNameDeprecated?: string,\n excludedPlatforms?: $ReadOnlyArray<'iOS' | 'android'>,\n|}>;\n\nexport type NativeComponentType = HostComponent;\n\nfunction codegenNativeComponent(\n componentName: string,\n options?: Options,\n): NativeComponentType {\n let componentNameInUse =\n options && options.paperComponentName != null\n ? options.paperComponentName\n : componentName;\n\n if (options != null && options.paperComponentNameDeprecated != null) {\n if (UIManager.getViewManagerConfig(componentName)) {\n componentNameInUse = componentName;\n } else if (\n options.paperComponentNameDeprecated != null &&\n UIManager.getViewManagerConfig(options.paperComponentNameDeprecated)\n ) {\n componentNameInUse = options.paperComponentNameDeprecated;\n } else {\n throw new Error(\n `Failed to find native component for either ${componentName} or ${options.paperComponentNameDeprecated ??\n '(unknown)'}`,\n );\n }\n }\n\n // If this function is run at runtime then that means the view configs were not\n // generated with the view config babel plugin, so we need to require the native component.\n //\n // This will be useful during migration, but eventually this will error.\n return (requireNativeComponent(\n componentNameInUse,\n ): HostComponent);\n}\n\nexport default codegenNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');\nconst getNativeComponentAttributes = require('./getNativeComponentAttributes');\n\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\n\n/**\n * Creates values that can be used like React components which represent native\n * view managers. You should create JavaScript modules that wrap these values so\n * that the results are memoized. Example:\n *\n * const View = requireNativeComponent('RCTView');\n *\n */\n\nconst requireNativeComponent = (uiViewClassName: string): HostComponent =>\n ((createReactNativeComponentClass(uiViewClassName, () =>\n getNativeComponentAttributes(uiViewClassName),\n ): any): HostComponent);\n\nmodule.exports = requireNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n * @generated SignedSource<<435ec24b3531c66986fe5d529795713b>>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport {ReactNativeViewConfigRegistry} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\nimport {type ViewConfig} from './ReactNativeTypes';\n\nconst {register} = ReactNativeViewConfigRegistry;\n\n/**\n * Creates a renderable ReactNative host component.\n * Use this method for view configs that are loaded from UIManager.\n * Use createReactNativeComponentClass() for view configs defined within JavaScript.\n *\n * @param {string} config iOS View configuration.\n * @private\n */\nconst createReactNativeComponentClass = function(\n name: string,\n callback: () => ViewConfig,\n): string {\n return register(name, callback);\n};\n\nmodule.exports = createReactNativeComponentClass;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generate-docs\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport Platform from '../Utilities/Platform';\nimport StyleSheet, {type ColorValue} from '../StyleSheet/StyleSheet';\nimport Text from '../Text/Text';\nimport TouchableNativeFeedback from './Touchable/TouchableNativeFeedback';\nimport TouchableOpacity from './Touchable/TouchableOpacity';\nimport View from './View/View';\nimport invariant from 'invariant';\n\nimport type {\n AccessibilityState,\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n} from './View/ViewAccessibility';\nimport type {PressEvent} from '../Types/CoreEventTypes';\n\ntype ButtonProps = $ReadOnly<{|\n /**\n Text to display inside the button. On Android the given title will be\n converted to the uppercased form.\n */\n title: string,\n\n /**\n Handler to be called when the user taps the button. The first function\n argument is an event in form of [PressEvent](pressevent).\n */\n onPress: (event?: PressEvent) => mixed,\n\n /**\n If `true`, doesn't play system sound on touch.\n\n @platform android\n\n @default false\n */\n touchSoundDisabled?: ?boolean,\n\n /**\n Color of the text (iOS), or background color of the button (Android).\n\n @default {@platform android} '#2196F3'\n @default {@platform ios} '#007AFF'\n */\n color?: ?ColorValue,\n\n /**\n TV preferred focus.\n\n @platform tv\n\n @default false\n */\n hasTVPreferredFocus?: ?boolean,\n\n /**\n Designates the next view to receive focus when the user navigates down. See\n the [Android documentation][android:nextFocusDown].\n\n [android:nextFocusDown]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusDown\n\n @platform android, tv\n */\n nextFocusDown?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates forward.\n See the [Android documentation][android:nextFocusForward].\n\n [android:nextFocusForward]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusForward\n\n @platform android, tv\n */\n nextFocusForward?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates left. See\n the [Android documentation][android:nextFocusLeft].\n\n [android:nextFocusLeft]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusLeft\n\n @platform android, tv\n */\n nextFocusLeft?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates right. See\n the [Android documentation][android:nextFocusRight].\n\n [android:nextFocusRight]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusRight\n\n @platform android, tv\n */\n nextFocusRight?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates up. See\n the [Android documentation][android:nextFocusUp].\n\n [android:nextFocusUp]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusUp\n\n @platform android, tv\n */\n nextFocusUp?: ?number,\n\n /**\n Text to display for blindness accessibility features.\n */\n accessibilityLabel?: ?string,\n\n /**\n If `true`, disable all interactions for this component.\n\n @default false\n */\n disabled?: ?boolean,\n\n /**\n Used to locate this view in end-to-end tests.\n */\n testID?: ?string,\n\n /**\n * Accessibility props.\n */\n accessible?: ?boolean,\n accessibilityActions?: ?$ReadOnlyArray,\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n accessibilityState?: ?AccessibilityState,\n|}>;\n\n/**\n A basic button component that should render nicely on any platform. Supports a\n minimal level of customization.\n\n If this button doesn't look right for your app, you can build your own button\n using [TouchableOpacity](touchableopacity) or\n [TouchableWithoutFeedback](touchablewithoutfeedback). For inspiration, look at\n the [source code for this button component][button:source]. Or, take a look at\n the [wide variety of button components built by the community]\n [button:examples].\n\n [button:source]:\n https://github.com/facebook/react-native/blob/HEAD/Libraries/Components/Button.js\n\n [button:examples]:\n https://js.coach/?menu%5Bcollections%5D=React%20Native&page=1&query=button\n\n ```jsx\n \n ```\n\n ```SnackPlayer name=Button%20Example\n import React from 'react';\n import { StyleSheet, Button, View, SafeAreaView, Text, Alert } from 'react-native';\n\n const Separator = () => (\n \n );\n\n const App = () => (\n \n \n \n The title and onPress handler are required. It is recommended to set accessibilityLabel to help make your app usable by everyone.\n \n Alert.alert('Simple Button pressed')}\n />\n \n \n \n \n Adjust the color in a way that looks standard on each platform. On iOS, the color prop controls the color of the text. On Android, the color adjusts the background color of the button.\n \n Alert.alert('Button with adjusted color pressed')}\n />\n \n \n \n \n All interaction for the component are disabled.\n \n Alert.alert('Cannot press this one')}\n />\n \n \n \n \n This layout strategy lets the title define the width of the button.\n \n \n Alert.alert('Left button pressed')}\n />\n Alert.alert('Right button pressed')}\n />\n \n \n \n );\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n marginHorizontal: 16,\n },\n title: {\n textAlign: 'center',\n marginVertical: 8,\n },\n fixToText: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n separator: {\n marginVertical: 8,\n borderBottomColor: '#737373',\n borderBottomWidth: StyleSheet.hairlineWidth,\n },\n });\n\n export default App;\n ```\n */\n\nclass Button extends React.Component {\n render(): React.Node {\n const {\n accessibilityLabel,\n color,\n onPress,\n touchSoundDisabled,\n title,\n hasTVPreferredFocus,\n nextFocusDown,\n nextFocusForward,\n nextFocusLeft,\n nextFocusRight,\n nextFocusUp,\n testID,\n accessible,\n accessibilityActions,\n onAccessibilityAction,\n } = this.props;\n const buttonStyles = [styles.button];\n const textStyles = [styles.text];\n if (color) {\n if (Platform.OS === 'ios') {\n textStyles.push({color: color});\n } else {\n buttonStyles.push({backgroundColor: color});\n }\n }\n\n const disabled =\n this.props.disabled != null\n ? this.props.disabled\n : this.props.accessibilityState?.disabled;\n\n const accessibilityState =\n disabled !== this.props.accessibilityState?.disabled\n ? {...this.props.accessibilityState, disabled}\n : this.props.accessibilityState;\n\n if (disabled) {\n buttonStyles.push(styles.buttonDisabled);\n textStyles.push(styles.textDisabled);\n }\n\n invariant(\n typeof title === 'string',\n 'The title prop of a Button must be a string',\n );\n const formattedTitle =\n Platform.OS === 'android' ? title.toUpperCase() : title;\n const Touchable =\n Platform.OS === 'android' ? TouchableNativeFeedback : TouchableOpacity;\n\n return (\n \n \n \n {formattedTitle}\n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n button: Platform.select({\n ios: {},\n android: {\n elevation: 4,\n // Material design blue from https://material.google.com/style/color.html#color-color-palette\n backgroundColor: '#2196F3',\n borderRadius: 2,\n },\n }),\n text: {\n textAlign: 'center',\n margin: 8,\n ...Platform.select({\n ios: {\n // iOS blue from https://developer.apple.com/ios/human-interface-guidelines/visual-design/color/\n color: '#007AFF',\n fontSize: 18,\n },\n android: {\n color: 'white',\n fontWeight: '500',\n },\n }),\n },\n buttonDisabled: Platform.select({\n ios: {},\n android: {\n elevation: 0,\n backgroundColor: '#dfdfdf',\n },\n }),\n textDisabled: Platform.select({\n ios: {\n color: '#cdcdcd',\n },\n android: {\n color: '#a1a1a1',\n },\n }),\n});\n\nmodule.exports = Button;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport DeprecatedTextPropTypes from '../DeprecatedPropTypes/DeprecatedTextPropTypes';\nimport * as PressabilityDebug from '../Pressability/PressabilityDebug';\nimport usePressability from '../Pressability/usePressability';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport processColor from '../StyleSheet/processColor';\nimport TextAncestor from './TextAncestor';\nimport {NativeText, NativeVirtualText} from './TextNativeComponent';\nimport {type TextProps} from './TextProps';\nimport * as React from 'react';\nimport {useContext, useMemo, useState} from 'react';\nimport invariant from 'invariant';\n\n/**\n * Text is the fundamental component for displaying text.\n *\n * @see https://reactnative.dev/docs/text.html\n */\nconst Text: React.AbstractComponent<\n TextProps,\n React.ElementRef,\n> = React.forwardRef((props: TextProps, forwardedRef) => {\n const {\n accessible,\n allowFontScaling,\n ellipsizeMode,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n onResponderGrant,\n onResponderMove,\n onResponderRelease,\n onResponderTerminate,\n onResponderTerminationRequest,\n onStartShouldSetResponder,\n pressRetentionOffset,\n suppressHighlighting,\n ...restProps\n } = props;\n\n const [isHighlighted, setHighlighted] = useState(false);\n\n const isPressable =\n (onPress != null ||\n onLongPress != null ||\n onStartShouldSetResponder != null) &&\n restProps.disabled !== true;\n\n const initialized = useLazyInitialization(isPressable);\n const config = useMemo(\n () =>\n initialized\n ? {\n disabled: !isPressable,\n pressRectOffset: pressRetentionOffset,\n onLongPress,\n onPress,\n onPressIn(event) {\n setHighlighted(!suppressHighlighting);\n onPressIn?.(event);\n },\n onPressOut(event) {\n setHighlighted(false);\n onPressOut?.(event);\n },\n onResponderTerminationRequest_DEPRECATED: onResponderTerminationRequest,\n onStartShouldSetResponder_DEPRECATED: onStartShouldSetResponder,\n }\n : null,\n [\n initialized,\n isPressable,\n pressRetentionOffset,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n onResponderTerminationRequest,\n onStartShouldSetResponder,\n suppressHighlighting,\n ],\n );\n\n const eventHandlers = usePressability(config);\n const eventHandlersForText = useMemo(\n () =>\n eventHandlers == null\n ? null\n : {\n onResponderGrant(event) {\n eventHandlers.onResponderGrant(event);\n if (onResponderGrant != null) {\n onResponderGrant(event);\n }\n },\n onResponderMove(event) {\n eventHandlers.onResponderMove(event);\n if (onResponderMove != null) {\n onResponderMove(event);\n }\n },\n onResponderRelease(event) {\n eventHandlers.onResponderRelease(event);\n if (onResponderRelease != null) {\n onResponderRelease(event);\n }\n },\n onResponderTerminate(event) {\n eventHandlers.onResponderTerminate(event);\n if (onResponderTerminate != null) {\n onResponderTerminate(event);\n }\n },\n onResponderTerminationRequest:\n eventHandlers.onResponderTerminationRequest,\n onStartShouldSetResponder: eventHandlers.onStartShouldSetResponder,\n },\n [\n eventHandlers,\n onResponderGrant,\n onResponderMove,\n onResponderRelease,\n onResponderTerminate,\n ],\n );\n\n // TODO: Move this processing to the view configuration.\n const selectionColor =\n restProps.selectionColor == null\n ? null\n : processColor(restProps.selectionColor);\n\n let style = restProps.style;\n if (__DEV__) {\n if (PressabilityDebug.isEnabled() && onPress != null) {\n style = StyleSheet.compose(restProps.style, {\n color: 'magenta',\n });\n }\n }\n\n let numberOfLines = restProps.numberOfLines;\n if (numberOfLines != null && !(numberOfLines >= 0)) {\n console.error(\n `'numberOfLines' in must be a non-negative number, received: ${numberOfLines}. The value will be set to 0.`,\n );\n numberOfLines = 0;\n }\n\n const hasTextAncestor = useContext(TextAncestor);\n\n return hasTextAncestor ? (\n \n ) : (\n \n \n \n );\n});\n\nText.displayName = 'Text';\n\n// TODO: Delete this.\nText.propTypes = DeprecatedTextPropTypes;\n\n/**\n * Returns false until the first time `newValue` is true, after which this will\n * always return true. This is necessary to lazily initialize `Pressability` so\n * we do not eagerly create one for every pressable `Text` component.\n */\nfunction useLazyInitialization(newValue: boolean): boolean {\n const [oldValue, setValue] = useState(newValue);\n if (!oldValue && newValue) {\n setValue(newValue);\n }\n return oldValue;\n}\n\n// $FlowFixMe[incompatible-cast] - No good way to type a React.AbstractComponent with statics.\nmodule.exports = (Text: typeof Text &\n $ReadOnly<{\n propTypes: typeof DeprecatedTextPropTypes,\n }>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\nconst DeprecatedTextStylePropTypes = require('./DeprecatedTextStylePropTypes');\n\nconst stylePropType: ReactPropsCheckType = DeprecatedStyleSheetPropType(\n DeprecatedTextStylePropTypes,\n);\n\nconst DataDetectorTypes = ['phoneNumber', 'link', 'email', 'none', 'all'];\n\nmodule.exports = {\n /**\n * When `numberOfLines` is set, this prop defines how text will be\n * truncated.\n *\n * See https://reactnative.dev/docs/text.html#ellipsizemode\n */\n ellipsizeMode: (PropTypes.oneOf([\n 'head',\n 'middle',\n 'tail',\n 'clip',\n ]): React$PropType$Primitive<'head' | 'middle' | 'tail' | 'clip'>),\n /**\n * Used to truncate the text with an ellipsis.\n *\n * See https://reactnative.dev/docs/text.html#numberoflines\n */\n numberOfLines: PropTypes.number,\n /**\n * Set text break strategy on Android.\n *\n * See https://reactnative.dev/docs/text.html#textbreakstrategy\n */\n textBreakStrategy: (PropTypes.oneOf([\n 'simple',\n 'highQuality',\n 'balanced',\n ]): React$PropType$Primitive<'simple' | 'highQuality' | 'balanced'>),\n /**\n * Invoked on mount and layout changes.\n *\n * See https://reactnative.dev/docs/text.html#onlayout\n */\n onLayout: PropTypes.func,\n /**\n * This function is called on press.\n *\n * See https://reactnative.dev/docs/text.html#onpress\n */\n onPress: PropTypes.func,\n /**\n * This function is called on long press.\n *\n * See https://reactnative.dev/docs/text.html#onlongpress\n */\n onLongPress: PropTypes.func,\n /**\n * Defines how far your touch may move off of the button, before\n * deactivating the button.\n *\n * See https://reactnative.dev/docs/text.html#pressretentionoffset\n */\n pressRetentionOffset: DeprecatedEdgeInsetsPropType,\n /**\n * Lets the user select text.\n *\n * See https://reactnative.dev/docs/text.html#selectable\n */\n selectable: PropTypes.bool,\n /**\n * The highlight color of the text.\n *\n * See https://reactnative.dev/docs/text.html#selectioncolor\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * When `true`, no visual change is made when text is pressed down.\n *\n * See https://reactnative.dev/docs/text.html#supperhighlighting\n */\n suppressHighlighting: PropTypes.bool,\n style: stylePropType,\n /**\n * Used to locate this view in end-to-end tests.\n *\n * See https://reactnative.dev/docs/text.html#testid\n */\n testID: PropTypes.string,\n /**\n * Used to locate this view from native code.\n *\n * See https://reactnative.dev/docs/text.html#nativeid\n */\n nativeID: PropTypes.string,\n /**\n * Whether fonts should scale to respect Text Size accessibility settings.\n *\n * See https://reactnative.dev/docs/text.html#allowfontscaling\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * Indicates whether the view is an accessibility element.\n *\n * See https://reactnative.dev/docs/text.html#accessible\n */\n accessible: PropTypes.bool,\n /**\n * Whether font should be scaled down automatically.\n *\n * See https://reactnative.dev/docs/text.html#adjustsfontsizetofit\n */\n adjustsFontSizeToFit: PropTypes.bool,\n /**\n * Smallest possible scale a font can reach.\n *\n * See https://reactnative.dev/docs/text.html#minimumfontscale\n */\n minimumFontScale: PropTypes.number,\n /**\n * Specifies the disabled state of the text view for testing purposes.\n *\n * See https://reactnative.dev/docs/text.html#disabled\n */\n disabled: PropTypes.bool,\n /**\n * Determines the types of data converted to clickable URLs in text.\n *\n * See https://reactnative.dev/docs/text.html#dataDetectorType\n */\n dataDetectorType: (PropTypes.oneOf(\n DataDetectorTypes,\n ): React$PropType$Primitive<\n 'phoneNumber' | 'link' | 'email' | 'none' | 'all',\n >),\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst normalizeColor = require('../StyleSheet/normalizeColor');\n\nconst colorPropType = function(\n isRequired,\n props,\n propName,\n componentName,\n location,\n propFullName,\n) {\n const color = props[propName];\n if (color === undefined || color === null) {\n if (isRequired) {\n return new Error(\n 'Required ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` was not specified in `' +\n componentName +\n '`.',\n );\n }\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (normalizeColor(color) === null) {\n return new Error(\n 'Invalid ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` supplied to `' +\n componentName +\n '`: ' +\n color +\n '\\n' +\n `Valid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n`,\n );\n }\n};\n\nconst ColorPropType = colorPropType.bind(null, false /* isRequired */);\nColorPropType.isRequired = colorPropType.bind(null, true /* isRequired */);\n\nmodule.exports = ColorPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst DeprecatedEdgeInsetsPropType: React$PropType$Primitive<{\n bottom?: number,\n left?: number,\n right?: number,\n top?: number,\n ...\n}> = PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n bottom: PropTypes.number,\n right: PropTypes.number,\n});\n\nmodule.exports = DeprecatedEdgeInsetsPropType;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst deprecatedCreateStrictShapeTypeChecker = require('./deprecatedCreateStrictShapeTypeChecker');\nconst flattenStyle = require('../StyleSheet/flattenStyle');\n\nfunction DeprecatedStyleSheetPropType(shape: {\n [key: string]: ReactPropsCheckType,\n ...,\n}): ReactPropsCheckType {\n const shapePropType = deprecatedCreateStrictShapeTypeChecker(shape);\n return function(props, propName, componentName, location?, ...rest) {\n let newProps = props;\n if (props[propName]) {\n // Just make a dummy prop object with only the flattened style\n newProps = {};\n newProps[propName] = flattenStyle(props[propName]);\n }\n return shapePropType(newProps, propName, componentName, location, ...rest);\n };\n}\n\nmodule.exports = DeprecatedStyleSheetPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nfunction deprecatedCreateStrictShapeTypeChecker(shapeTypes: {\n [key: string]: ReactPropsCheckType,\n ...,\n}): ReactPropsChainableTypeChecker {\n function checkType(\n isRequired,\n props,\n propName,\n componentName,\n location?,\n ...rest\n ) {\n if (!props[propName]) {\n if (isRequired) {\n invariant(\n false,\n `Required object \\`${propName}\\` was not specified in ` +\n `\\`${componentName}\\`.`,\n );\n }\n return;\n }\n const propValue = props[propName];\n const propType = typeof propValue;\n const locationName = location || '(unknown)';\n if (propType !== 'object') {\n invariant(\n false,\n `Invalid ${locationName} \\`${propName}\\` of type \\`${propType}\\` ` +\n `supplied to \\`${componentName}\\`, expected \\`object\\`.`,\n );\n }\n // We need to check all keys in case some are required but missing from\n // props.\n const allKeys = {...props[propName], ...shapeTypes};\n for (const key in allKeys) {\n const checker = shapeTypes[key];\n if (!checker) {\n invariant(\n false,\n `Invalid props.${propName} key \\`${key}\\` supplied to \\`${componentName}\\`.` +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' +\n JSON.stringify(Object.keys(shapeTypes), null, ' '),\n );\n }\n const error = checker(propValue, key, componentName, location, ...rest);\n if (error) {\n invariant(\n false,\n error.message +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' '),\n );\n }\n }\n }\n function chainedCheckType(\n props: {[key: string]: any, ...},\n propName: string,\n componentName: string,\n location?: string,\n ...rest\n ): ?Error {\n return checkType(false, props, propName, componentName, location, ...rest);\n }\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n}\n\nmodule.exports = deprecatedCreateStrictShapeTypeChecker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedTextStylePropTypes = {\n ...DeprecatedViewStylePropTypes,\n\n color: DeprecatedColorPropType,\n fontFamily: ReactPropTypes.string,\n fontSize: ReactPropTypes.number,\n fontStyle: (ReactPropTypes.oneOf([\n 'normal',\n 'italic',\n ]): React$PropType$Primitive<'normal' | 'italic'>),\n /**\n * Specifies font weight. The values 'normal' and 'bold' are supported for\n * most fonts. Not all fonts have a variant for each of the numeric values,\n * in that case the closest one is chosen.\n */\n fontWeight: (ReactPropTypes.oneOf([\n 'normal' /*default*/,\n 'bold',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n ]): React$PropType$Primitive<\n | 'normal'\n | 'bold'\n | '100'\n | '200'\n | '300'\n | '400'\n | '500'\n | '600'\n | '700'\n | '800'\n | '900',\n >),\n fontVariant: (ReactPropTypes.arrayOf(\n ReactPropTypes.oneOf([\n 'small-caps',\n 'oldstyle-nums',\n 'lining-nums',\n 'tabular-nums',\n 'proportional-nums',\n ]),\n ): React$PropType$Primitive<\n Array<\n | 'small-caps'\n | 'oldstyle-nums'\n | 'lining-nums'\n | 'tabular-nums'\n | 'proportional-nums',\n >,\n >),\n textShadowOffset: (ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }): React$PropType$Primitive<{\n height?: number,\n width?: number,\n ...\n }>),\n textShadowRadius: ReactPropTypes.number,\n textShadowColor: DeprecatedColorPropType,\n /**\n * @platform ios\n */\n letterSpacing: ReactPropTypes.number,\n lineHeight: ReactPropTypes.number,\n /**\n * Specifies text alignment. The value 'justify' is only supported on iOS and\n * fallbacks to `left` on Android.\n */\n textAlign: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'left',\n 'right',\n 'center',\n 'justify',\n ]): React$PropType$Primitive<\n 'auto' | 'left' | 'right' | 'center' | 'justify',\n >),\n /**\n * @platform android\n */\n textAlignVertical: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'top',\n 'bottom',\n 'center',\n ]): React$PropType$Primitive<'auto' | 'top' | 'bottom' | 'center'>),\n /**\n * Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.\n * With some fonts, this padding can make text look slightly misaligned when centered vertically.\n * For best results also set `textAlignVertical` to `center`. Default is true.\n * @platform android\n */\n includeFontPadding: ReactPropTypes.bool,\n textDecorationLine: (ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'underline',\n 'line-through',\n 'underline line-through',\n ]): React$PropType$Primitive<\n 'none' | 'underline' | 'line-through' | 'underline line-through',\n >),\n /**\n * @platform ios\n */\n textDecorationStyle: (ReactPropTypes.oneOf([\n 'solid' /*default*/,\n 'double',\n 'dotted',\n 'dashed',\n ]): React$PropType$Primitive<'solid' | 'double' | 'dotted' | 'dashed'>),\n /**\n * @platform ios\n */\n textDecorationColor: DeprecatedColorPropType,\n textTransform: (ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'capitalize',\n 'uppercase',\n 'lowercase',\n ]): React$PropType$Primitive<\n 'none' | 'capitalize' | 'uppercase' | 'lowercase',\n >),\n /**\n * @platform ios\n */\n writingDirection: (ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'ltr',\n 'rtl',\n ]): React$PropType$Primitive<'auto' | 'ltr' | 'rtl'>),\n};\n\nmodule.exports = DeprecatedTextStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\n/**\n * Warning: Some of these properties may not be supported in all releases.\n */\nconst DeprecatedViewStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n backfaceVisibility: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderTopColor: DeprecatedColorPropType,\n borderRightColor: DeprecatedColorPropType,\n borderBottomColor: DeprecatedColorPropType,\n borderLeftColor: DeprecatedColorPropType,\n borderStartColor: DeprecatedColorPropType,\n borderEndColor: DeprecatedColorPropType,\n borderRadius: ReactPropTypes.number,\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderTopStartRadius: ReactPropTypes.number,\n borderTopEndRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n borderBottomStartRadius: ReactPropTypes.number,\n borderBottomEndRadius: ReactPropTypes.number,\n borderStyle: (ReactPropTypes.oneOf([\n 'solid',\n 'dotted',\n 'dashed',\n ]): React$PropType$Primitive<'solid' | 'dotted' | 'dashed'>),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n opacity: ReactPropTypes.number,\n /**\n * (Android-only) Sets the elevation of a view, using Android's underlying\n * [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).\n * This adds a drop shadow to the item and affects z-order for overlapping views.\n * Only supported on Android 5.0+, has no effect on earlier versions.\n * @platform android\n */\n elevation: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedViewStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst LayoutPropTypes = {\n display: (ReactPropTypes.oneOf(['none', 'flex']): React$PropType$Primitive<\n 'none' | 'flex',\n >),\n width: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n height: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n start: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n end: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n top: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n left: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n right: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n bottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n margin: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginRight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginStart: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginEnd: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n padding: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingRight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingStart: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingEnd: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderStartWidth: ReactPropTypes.number,\n borderEndWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n position: (ReactPropTypes.oneOf([\n 'absolute',\n 'relative',\n ]): React$PropType$Primitive<'absolute' | 'relative'>),\n flexDirection: (ReactPropTypes.oneOf([\n 'row',\n 'row-reverse',\n 'column',\n 'column-reverse',\n ]): React$PropType$Primitive<\n 'row' | 'row-reverse' | 'column' | 'column-reverse',\n >),\n flexWrap: (ReactPropTypes.oneOf([\n 'wrap',\n 'nowrap',\n 'wrap-reverse',\n ]): React$PropType$Primitive<'wrap' | 'nowrap' | 'wrap-reverse'>),\n justifyContent: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'space-between',\n 'space-around',\n 'space-evenly',\n ]): React$PropType$Primitive<\n | 'flex-start'\n | 'flex-end'\n | 'center'\n | 'space-between'\n | 'space-around'\n | 'space-evenly',\n >),\n alignItems: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]): React$PropType$Primitive<\n 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline',\n >),\n alignSelf: (ReactPropTypes.oneOf([\n 'auto',\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]): React$PropType$Primitive<\n 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline',\n >),\n alignContent: (ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'space-between',\n 'space-around',\n ]): React$PropType$Primitive<\n | 'flex-start'\n | 'flex-end'\n | 'center'\n | 'stretch'\n | 'space-between'\n | 'space-around',\n >),\n overflow: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n 'scroll',\n ]): React$PropType$Primitive<'visible' | 'hidden' | 'scroll'>),\n flex: ReactPropTypes.number,\n flexGrow: ReactPropTypes.number,\n flexShrink: ReactPropTypes.number,\n flexBasis: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n aspectRatio: ReactPropTypes.number,\n zIndex: ReactPropTypes.number,\n direction: (ReactPropTypes.oneOf([\n 'inherit',\n 'ltr',\n 'rtl',\n ]): React$PropType$Primitive<'inherit' | 'ltr' | 'rtl'>),\n};\n\nmodule.exports = LayoutPropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedShadowPropTypesIOS = {\n shadowColor: DeprecatedColorPropType,\n shadowOffset: (ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }): React$PropType$Primitive<{\n height?: number,\n width?: number,\n ...\n }>),\n shadowOpacity: ReactPropTypes.number,\n shadowRadius: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedShadowPropTypesIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst deprecatedPropType = require('../Utilities/deprecatedPropType');\n\nconst TransformMatrixPropType = function(\n props: Object,\n propName: string,\n componentName: string,\n): ?Error {\n if (props[propName]) {\n return new Error(\n 'The transformMatrix style property is deprecated. ' +\n 'Use `transform: [{ matrix: ... }]` instead.',\n );\n }\n};\n\nconst DecomposedMatrixPropType = function(\n props: Object,\n propName: string,\n componentName: string,\n): ?Error {\n if (props[propName]) {\n return new Error(\n 'The decomposedMatrix style property is deprecated. ' +\n 'Use `transform: [...]` instead.',\n );\n }\n};\n\nconst DeprecatedTransformPropTypes = {\n transform: (ReactPropTypes.arrayOf(\n ReactPropTypes.oneOfType([\n ReactPropTypes.shape({perspective: ReactPropTypes.number}),\n ReactPropTypes.shape({rotate: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateX: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateY: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateZ: ReactPropTypes.string}),\n ReactPropTypes.shape({scale: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleX: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleY: ReactPropTypes.number}),\n ReactPropTypes.shape({translateX: ReactPropTypes.number}),\n ReactPropTypes.shape({translateY: ReactPropTypes.number}),\n ReactPropTypes.shape({skewX: ReactPropTypes.string}),\n ReactPropTypes.shape({skewY: ReactPropTypes.string}),\n ]),\n ): React$PropType$Primitive<\n Array<\n | {perspective?: number, ...}\n | {rotate?: string, ...}\n | {rotateX?: string, ...}\n | {rotateY?: string, ...}\n | {rotateZ?: string, ...}\n | {scale?: number, ...}\n | {scaleX?: number, ...}\n | {scaleY?: number, ...}\n | {translateX?: number, ...}\n | {translateY?: number, ...}\n | {skewX?: string, ...}\n | {skewY?: string, ...},\n >,\n >),\n transformMatrix: TransformMatrixPropType,\n decomposedMatrix: DecomposedMatrixPropType,\n scaleX: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n scaleY: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n rotation: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n translateX: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n translateY: (deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ): ReactPropsCheckType),\n};\n\nmodule.exports = DeprecatedTransformPropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport UIManager from '../ReactNative/UIManager';\n\n/**\n * Adds a deprecation warning when the prop is used.\n */\nfunction deprecatedPropType(\n propType: ReactPropsCheckType,\n explanation: string,\n): ReactPropsCheckType {\n return function validate(props, propName, componentName, ...rest) {\n // Don't warn for native components.\n if (\n global.RN$Bridgeless !== true &&\n !UIManager.hasViewManagerConfig(componentName) &&\n props[propName] !== undefined\n ) {\n console.warn(\n `\\`${propName}\\` supplied to \\`${componentName}\\` has been deprecated. ${explanation}`,\n );\n }\n\n return propType(props, propName, componentName, ...rest);\n };\n}\n\nmodule.exports = deprecatedPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport normalizeColor from '../StyleSheet/normalizeColor';\nimport type {ColorValue} from '../StyleSheet/StyleSheet';\n\nimport View from '../Components/View/View';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n color: ColorValue,\n hitSlop: ?$ReadOnly<{|\n bottom?: ?number,\n left?: ?number,\n right?: ?number,\n top?: ?number,\n |}>,\n|}>;\n\n/**\n * Displays a debug overlay to visualize press targets when enabled via the\n * React Native Inspector. Calls to this module should be guarded by `__DEV__`,\n * for example:\n *\n * return (\n * \n * {children}\n * {__DEV__ ? (\n * \n * ) : null}\n * \n * );\n *\n */\nexport function PressabilityDebugView({color, hitSlop}: Props): React.Node {\n if (__DEV__) {\n if (isEnabled()) {\n const normalizedColor = normalizeColor(color);\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n const baseColor =\n '#' + (normalizedColor ?? 0).toString(16).padStart(8, '0');\n\n return (\n \n );\n }\n }\n return null;\n}\n\nlet isDebugEnabled = false;\n\nexport function isEnabled(): boolean {\n if (__DEV__) {\n return isDebugEnabled;\n }\n return false;\n}\n\nexport function setEnabled(value: boolean): void {\n if (__DEV__) {\n isDebugEnabled = value;\n }\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type EventHandlers,\n type PressabilityConfig,\n} from './Pressability';\nimport {useEffect, useRef} from 'react';\n\n/**\n * Creates a persistent instance of `Pressability` that automatically configures\n * itself and resets. Accepts null `config` to support lazy initialization. Once\n * initialized, will not un-initialize until the component has been unmounted.\n */\nexport default function usePressability(\n config: ?PressabilityConfig,\n): ?EventHandlers {\n const pressabilityRef = useRef(null);\n if (config != null && pressabilityRef.current == null) {\n pressabilityRef.current = new Pressability(config);\n }\n const pressability = pressabilityRef.current;\n\n // On the initial mount, this is a no-op. On updates, `pressability` will be\n // re-configured to use the new configuration.\n useEffect(() => {\n if (config != null && pressability != null) {\n pressability.configure(config);\n }\n }, [config, pressability]);\n\n // On unmount, reset pending state and timers inside `pressability`. This is\n // a separate effect because we do not want to reset when `config` changes.\n useEffect(() => {\n if (pressability != null) {\n return () => {\n pressability.reset();\n };\n }\n }, [pressability]);\n\n return pressability == null ? null : pressability.getEventHandlers();\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport {isHoverEnabled} from './HoverState';\nimport invariant from 'invariant';\nimport SoundManager from '../Components/Sound/SoundManager';\nimport {normalizeRect, type RectOrSize} from '../StyleSheet/Rect';\nimport type {\n BlurEvent,\n FocusEvent,\n PressEvent,\n MouseEvent,\n} from '../Types/CoreEventTypes';\nimport PressabilityPerformanceEventEmitter from './PressabilityPerformanceEventEmitter.js';\nimport {type PressabilityTouchSignal as TouchSignal} from './PressabilityTypes.js';\nimport Platform from '../Utilities/Platform';\nimport UIManager from '../ReactNative/UIManager';\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport * as React from 'react';\n\nexport type PressabilityConfig = $ReadOnly<{|\n /**\n * Whether a press gesture can be interrupted by a parent gesture such as a\n * scroll event. Defaults to true.\n */\n cancelable?: ?boolean,\n\n /**\n * Whether to disable initialization of the press gesture.\n */\n disabled?: ?boolean,\n\n /**\n * Amount to extend the `VisualRect` by to create `HitRect`.\n */\n hitSlop?: ?RectOrSize,\n\n /**\n * Amount to extend the `HitRect` by to create `PressRect`.\n */\n pressRectOffset?: ?RectOrSize,\n\n /**\n * Whether to disable the systemm sound when `onPress` fires on Android.\n **/\n android_disableSound?: ?boolean,\n\n /**\n * Duration to wait after hover in before calling `onHoverIn`.\n */\n delayHoverIn?: ?number,\n\n /**\n * Duration to wait after hover out before calling `onHoverOut`.\n */\n delayHoverOut?: ?number,\n\n /**\n * Duration (in addition to `delayPressIn`) after which a press gesture is\n * considered a long press gesture. Defaults to 500 (milliseconds).\n */\n delayLongPress?: ?number,\n\n /**\n * Duration to wait after press down before calling `onPressIn`.\n */\n delayPressIn?: ?number,\n\n /**\n * Duration to wait after letting up before calling `onPressOut`.\n */\n delayPressOut?: ?number,\n\n /**\n * Minimum duration to wait between calling `onPressIn` and `onPressOut`.\n */\n minPressDuration?: ?number,\n\n /**\n * Called after the element loses focus.\n */\n onBlur?: ?(event: BlurEvent) => mixed,\n\n /**\n * Called after the element is focused.\n */\n onFocus?: ?(event: FocusEvent) => mixed,\n\n /**\n * Called when the hover is activated to provide visual feedback.\n */\n onHoverIn?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when the hover is deactivated to undo visual feedback.\n */\n onHoverOut?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when a long press gesture has been triggered.\n */\n onLongPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a press gestute has been triggered.\n */\n onPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press is activated to provide visual feedback.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press location moves. (This should rarely be used.)\n */\n onPressMove?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press is deactivated to undo visual feedback.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Returns whether a long press gesture should cancel the press gesture.\n * Defaults to true.\n */\n onLongPressShouldCancelPress_DEPRECATED?: ?() => boolean,\n\n /**\n * If `cancelable` is set, this will be ignored.\n *\n * Returns whether to yield to a lock termination request (e.g. if a native\n * scroll gesture attempts to steal the responder lock).\n */\n onResponderTerminationRequest_DEPRECATED?: ?() => boolean,\n\n /**\n * If `disabled` is set, this will be ignored.\n *\n * Returns whether to start a press gesture.\n *\n * @deprecated\n */\n onStartShouldSetResponder_DEPRECATED?: ?() => boolean,\n|}>;\n\nexport type EventHandlers = $ReadOnly<{|\n onBlur: (event: BlurEvent) => void,\n onClick: (event: PressEvent) => void,\n onFocus: (event: FocusEvent) => void,\n onMouseEnter?: (event: MouseEvent) => void,\n onMouseLeave?: (event: MouseEvent) => void,\n onResponderGrant: (event: PressEvent) => void,\n onResponderMove: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: () => boolean,\n onStartShouldSetResponder: () => boolean,\n|}>;\n\ntype TouchState =\n | 'NOT_RESPONDER'\n | 'RESPONDER_INACTIVE_PRESS_IN'\n | 'RESPONDER_INACTIVE_PRESS_OUT'\n | 'RESPONDER_ACTIVE_PRESS_IN'\n | 'RESPONDER_ACTIVE_PRESS_OUT'\n | 'RESPONDER_ACTIVE_LONG_PRESS_IN'\n | 'RESPONDER_ACTIVE_LONG_PRESS_OUT'\n | 'ERROR';\n\nconst Transitions = Object.freeze({\n NOT_RESPONDER: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'RESPONDER_INACTIVE_PRESS_IN',\n RESPONDER_RELEASE: 'ERROR',\n RESPONDER_TERMINATED: 'ERROR',\n ENTER_PRESS_RECT: 'ERROR',\n LEAVE_PRESS_RECT: 'ERROR',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: 'RESPONDER_ACTIVE_PRESS_IN',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: 'RESPONDER_ACTIVE_PRESS_OUT',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n LONG_PRESS_DETECTED: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n ERROR: {\n DELAY: 'NOT_RESPONDER',\n RESPONDER_GRANT: 'RESPONDER_INACTIVE_PRESS_IN',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'NOT_RESPONDER',\n LEAVE_PRESS_RECT: 'NOT_RESPONDER',\n LONG_PRESS_DETECTED: 'NOT_RESPONDER',\n },\n});\n\nconst isActiveSignal = signal =>\n signal === 'RESPONDER_ACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_LONG_PRESS_IN';\n\nconst isActivationSignal = signal =>\n signal === 'RESPONDER_ACTIVE_PRESS_OUT' ||\n signal === 'RESPONDER_ACTIVE_PRESS_IN';\n\nconst isPressInSignal = signal =>\n signal === 'RESPONDER_INACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_LONG_PRESS_IN';\n\nconst isTerminalSignal = signal =>\n signal === 'RESPONDER_TERMINATED' || signal === 'RESPONDER_RELEASE';\n\nconst DEFAULT_LONG_PRESS_DELAY_MS = 500;\nconst DEFAULT_PRESS_RECT_OFFSETS = {\n bottom: 30,\n left: 20,\n right: 20,\n top: 20,\n};\nconst DEFAULT_MIN_PRESS_DURATION = 130;\n\n/**\n * Pressability implements press handling capabilities.\n *\n * =========================== Pressability Tutorial ===========================\n *\n * The `Pressability` class helps you create press interactions by analyzing the\n * geometry of elements and observing when another responder (e.g. ScrollView)\n * has stolen the touch lock. It offers hooks for your component to provide\n * interaction feedback to the user:\n *\n * - When a press has activated (e.g. highlight an element)\n * - When a press has deactivated (e.g. un-highlight an element)\n * - When a press sould trigger an action, meaning it activated and deactivated\n * while within the geometry of the element without the lock being stolen.\n *\n * A high quality interaction isn't as simple as you might think. There should\n * be a slight delay before activation. Moving your finger beyond an element's\n * bounds should trigger deactivation, but moving the same finger back within an\n * element's bounds should trigger reactivation.\n *\n * In order to use `Pressability`, do the following:\n *\n * 1. Instantiate `Pressability` and store it on your component's state.\n *\n * state = {\n * pressability: new Pressability({\n * // ...\n * }),\n * };\n *\n * 2. Choose the rendered component who should collect the press events. On that\n * element, spread `pressability.getEventHandlers()` into its props.\n *\n * return (\n * \n * );\n *\n * 3. Reset `Pressability` when your component unmounts.\n *\n * componentWillUnmount() {\n * this.state.pressability.reset();\n * }\n *\n * ==================== Pressability Implementation Details ====================\n *\n * `Pressability` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * # Geometry\n *\n * ┌────────────────────────┐\n * │ ┌──────────────────┐ │ - Presses start anywhere within `HitRect`, which\n * │ │ ┌────────────┐ │ │ is expanded via the prop `hitSlop`.\n * │ │ │ VisualRect │ │ │\n * │ │ └────────────┘ │ │ - When pressed down for sufficient amount of time\n * │ │ HitRect │ │ before letting up, `VisualRect` activates for\n * │ └──────────────────┘ │ as long as the press stays within `PressRect`.\n * │ PressRect o │\n * └────────────────────│───┘\n * Out Region └────── `PressRect`, which is expanded via the prop\n * `pressRectOffset`, allows presses to move\n * beyond `HitRect` while maintaining activation\n * and being eligible for a \"press\".\n *\n * # State Machine\n *\n * ┌───────────────┐ ◀──── RESPONDER_RELEASE\n * │ NOT_RESPONDER │\n * └───┬───────────┘ ◀──── RESPONDER_TERMINATED\n * │\n * │ RESPONDER_GRANT (HitRect)\n * │\n * ▼\n * ┌─────────────────────┐ ┌───────────────────┐ ┌───────────────────┐\n * │ RESPONDER_INACTIVE_ │ DELAY │ RESPONDER_ACTIVE_ │ T + DELAY │ RESPONDER_ACTIVE_ │\n * │ PRESS_IN ├────────▶ │ PRESS_IN ├────────────▶ │ LONG_PRESS_IN │\n * └─┬───────────────────┘ └─┬─────────────────┘ └─┬─────────────────┘\n * │ ▲ │ ▲ │ ▲\n * │LEAVE_ │ │LEAVE_ │ │LEAVE_ │\n * │PRESS_RECT │ENTER_ │PRESS_RECT │ENTER_ │PRESS_RECT │ENTER_\n * │ │PRESS_RECT │ │PRESS_RECT │ │PRESS_RECT\n * ▼ │ ▼ │ ▼ │\n * ┌─────────────┴───────┐ ┌─────────────┴─────┐ ┌─────────────┴─────┐\n * │ RESPONDER_INACTIVE_ │ DELAY │ RESPONDER_ACTIVE_ │ │ RESPONDER_ACTIVE_ │\n * │ PRESS_OUT ├────────▶ │ PRESS_OUT │ │ LONG_PRESS_OUT │\n * └─────────────────────┘ └───────────────────┘ └───────────────────┘\n *\n * T + DELAY => LONG_PRESS_DELAY + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the invocation of `onPress` and `onLongPress` that occur when a\n * responder is release while in the \"press in\" states.\n */\nexport default class Pressability {\n _config: PressabilityConfig;\n _eventHandlers: ?EventHandlers = null;\n _hoverInDelayTimeout: ?TimeoutID = null;\n _hoverOutDelayTimeout: ?TimeoutID = null;\n _isHovered: boolean = false;\n _longPressDelayTimeout: ?TimeoutID = null;\n _pressDelayTimeout: ?TimeoutID = null;\n _pressOutDelayTimeout: ?TimeoutID = null;\n _responderID: ?number | React.ElementRef> = null;\n _responderRegion: ?$ReadOnly<{|\n bottom: number,\n left: number,\n right: number,\n top: number,\n |}> = null;\n _touchActivatePosition: ?$ReadOnly<{|\n pageX: number,\n pageY: number,\n |}>;\n _touchActivateTime: ?number;\n _touchState: TouchState = 'NOT_RESPONDER';\n\n constructor(config: PressabilityConfig) {\n this.configure(config);\n }\n\n configure(config: PressabilityConfig): void {\n this._config = config;\n }\n\n /**\n * Resets any pending timers. This should be called on unmount.\n */\n reset(): void {\n this._cancelHoverInDelayTimeout();\n this._cancelHoverOutDelayTimeout();\n this._cancelLongPressDelayTimeout();\n this._cancelPressDelayTimeout();\n this._cancelPressOutDelayTimeout();\n\n // Ensure that, if any async event handlers are fired after unmount\n // due to a race, we don't call any configured callbacks.\n this._config = Object.freeze({});\n }\n\n /**\n * Returns a set of props to spread into the interactive element.\n */\n getEventHandlers(): EventHandlers {\n if (this._eventHandlers == null) {\n this._eventHandlers = this._createEventHandlers();\n }\n return this._eventHandlers;\n }\n\n _createEventHandlers(): EventHandlers {\n const focusEventHandlers = {\n onBlur: (event: BlurEvent): void => {\n const {onBlur} = this._config;\n if (onBlur != null) {\n onBlur(event);\n }\n },\n onFocus: (event: FocusEvent): void => {\n const {onFocus} = this._config;\n if (onFocus != null) {\n onFocus(event);\n }\n },\n };\n\n const responderEventHandlers = {\n onStartShouldSetResponder: (): boolean => {\n const {disabled} = this._config;\n if (disabled == null) {\n const {onStartShouldSetResponder_DEPRECATED} = this._config;\n return onStartShouldSetResponder_DEPRECATED == null\n ? true\n : onStartShouldSetResponder_DEPRECATED();\n }\n return !disabled;\n },\n\n onResponderGrant: (event: PressEvent): void => {\n event.persist();\n\n this._cancelPressOutDelayTimeout();\n\n this._responderID = event.currentTarget;\n this._touchState = 'NOT_RESPONDER';\n this._receiveSignal('RESPONDER_GRANT', event);\n\n const delayPressIn = normalizeDelay(this._config.delayPressIn);\n if (delayPressIn > 0) {\n this._pressDelayTimeout = setTimeout(() => {\n this._receiveSignal('DELAY', event);\n }, delayPressIn);\n } else {\n this._receiveSignal('DELAY', event);\n }\n\n const delayLongPress = normalizeDelay(\n this._config.delayLongPress,\n 10,\n DEFAULT_LONG_PRESS_DELAY_MS - delayPressIn,\n );\n this._longPressDelayTimeout = setTimeout(() => {\n this._handleLongPress(event);\n }, delayLongPress + delayPressIn);\n },\n\n onResponderMove: (event: PressEvent): void => {\n const {onPressMove} = this._config;\n if (onPressMove != null) {\n onPressMove(event);\n }\n\n // Region may not have finished being measured, yet.\n const responderRegion = this._responderRegion;\n if (responderRegion == null) {\n return;\n }\n\n const touch = getTouchFromPressEvent(event);\n if (touch == null) {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal('LEAVE_PRESS_RECT', event);\n return;\n }\n\n if (this._touchActivatePosition != null) {\n const deltaX = this._touchActivatePosition.pageX - touch.pageX;\n const deltaY = this._touchActivatePosition.pageY - touch.pageY;\n if (Math.hypot(deltaX, deltaY) > 10) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n if (this._isTouchWithinResponderRegion(touch, responderRegion)) {\n this._receiveSignal('ENTER_PRESS_RECT', event);\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal('LEAVE_PRESS_RECT', event);\n }\n },\n\n onResponderRelease: (event: PressEvent): void => {\n this._receiveSignal('RESPONDER_RELEASE', event);\n },\n\n onResponderTerminate: (event: PressEvent): void => {\n this._receiveSignal('RESPONDER_TERMINATED', event);\n },\n\n onResponderTerminationRequest: (): boolean => {\n const {cancelable} = this._config;\n if (cancelable == null) {\n const {onResponderTerminationRequest_DEPRECATED} = this._config;\n return onResponderTerminationRequest_DEPRECATED == null\n ? true\n : onResponderTerminationRequest_DEPRECATED();\n }\n return cancelable;\n },\n\n onClick: (event: PressEvent): void => {\n const {onPress, disabled} = this._config;\n if (onPress != null && disabled !== true) {\n onPress(event);\n }\n },\n };\n\n if (process.env.NODE_ENV === 'test') {\n // We are setting this in order to find this node in ReactNativeTestTools\n responderEventHandlers.onStartShouldSetResponder.testOnly_pressabilityConfig = () =>\n this._config;\n }\n\n const mouseEventHandlers =\n Platform.OS === 'ios' || Platform.OS === 'android'\n ? null\n : {\n onMouseEnter: (event: MouseEvent): void => {\n if (isHoverEnabled()) {\n this._isHovered = true;\n this._cancelHoverOutDelayTimeout();\n const {onHoverIn} = this._config;\n if (onHoverIn != null) {\n const delayHoverIn = normalizeDelay(\n this._config.delayHoverIn,\n );\n if (delayHoverIn > 0) {\n event.persist();\n this._hoverInDelayTimeout = setTimeout(() => {\n onHoverIn(event);\n }, delayHoverIn);\n } else {\n onHoverIn(event);\n }\n }\n }\n },\n\n onMouseLeave: (event: MouseEvent): void => {\n if (this._isHovered) {\n this._isHovered = false;\n this._cancelHoverInDelayTimeout();\n const {onHoverOut} = this._config;\n if (onHoverOut != null) {\n const delayHoverOut = normalizeDelay(\n this._config.delayHoverOut,\n );\n if (delayHoverOut > 0) {\n event.persist();\n this._hoverInDelayTimeout = setTimeout(() => {\n onHoverOut(event);\n }, delayHoverOut);\n } else {\n onHoverOut(event);\n }\n }\n }\n },\n };\n\n return {\n ...focusEventHandlers,\n ...responderEventHandlers,\n ...mouseEventHandlers,\n };\n }\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n */\n _receiveSignal(signal: TouchSignal, event: PressEvent): void {\n const prevState = this._touchState;\n const nextState = Transitions[prevState]?.[signal];\n if (this._responderID == null && signal === 'RESPONDER_RELEASE') {\n return;\n }\n invariant(\n nextState != null && nextState !== 'ERROR',\n 'Pressability: Invalid signal `%s` for state `%s` on responder: %s',\n signal,\n prevState,\n typeof this._responderID === 'number'\n ? this._responderID\n : '<>',\n );\n if (prevState !== nextState) {\n // Especially on iOS, not all events have timestamps associated.\n // For telemetry purposes, this doesn't matter too much, as long as *some* do.\n // Since the native timestamp is integral for logging telemetry, just skip\n // events if they don't have a timestamp attached.\n if (event.nativeEvent.timestamp != null) {\n PressabilityPerformanceEventEmitter.emitEvent(() => {\n return {\n signal,\n touchDelayMs: Date.now() - event.nativeEvent.timestamp,\n };\n });\n }\n\n this._performTransitionSideEffects(prevState, nextState, signal, event);\n this._touchState = nextState;\n }\n }\n\n /**\n * Performs a transition between touchable states and identify any activations\n * or deactivations (and callback invocations).\n */\n _performTransitionSideEffects(\n prevState: TouchState,\n nextState: TouchState,\n signal: TouchSignal,\n event: PressEvent,\n ): void {\n if (isTerminalSignal(signal)) {\n this._touchActivatePosition = null;\n this._cancelLongPressDelayTimeout();\n }\n\n const isInitialTransition =\n prevState === 'NOT_RESPONDER' &&\n nextState === 'RESPONDER_INACTIVE_PRESS_IN';\n\n const isActivationTransition =\n !isActivationSignal(prevState) && isActivationSignal(nextState);\n\n if (isInitialTransition || isActivationTransition) {\n this._measureResponderRegion();\n }\n\n if (isPressInSignal(prevState) && signal === 'LONG_PRESS_DETECTED') {\n const {onLongPress} = this._config;\n if (onLongPress != null) {\n onLongPress(event);\n }\n }\n\n const isPrevActive = isActiveSignal(prevState);\n const isNextActive = isActiveSignal(nextState);\n\n if (!isPrevActive && isNextActive) {\n this._activate(event);\n } else if (isPrevActive && !isNextActive) {\n this._deactivate(event);\n }\n\n if (isPressInSignal(prevState) && signal === 'RESPONDER_RELEASE') {\n // If we never activated (due to delays), activate and deactivate now.\n if (!isNextActive && !isPrevActive) {\n this._activate(event);\n this._deactivate(event);\n }\n const {onLongPress, onPress, android_disableSound} = this._config;\n if (onPress != null) {\n const isPressCanceledByLongPress =\n onLongPress != null &&\n prevState === 'RESPONDER_ACTIVE_LONG_PRESS_IN' &&\n this._shouldLongPressCancelPress();\n if (!isPressCanceledByLongPress) {\n if (Platform.OS === 'android' && android_disableSound !== true) {\n SoundManager.playTouchSound();\n }\n onPress(event);\n }\n }\n }\n\n this._cancelPressDelayTimeout();\n }\n\n _activate(event: PressEvent): void {\n const {onPressIn} = this._config;\n const {pageX, pageY} = getTouchFromPressEvent(event);\n this._touchActivatePosition = {pageX, pageY};\n this._touchActivateTime = Date.now();\n if (onPressIn != null) {\n onPressIn(event);\n }\n }\n\n _deactivate(event: PressEvent): void {\n const {onPressOut} = this._config;\n if (onPressOut != null) {\n const minPressDuration = normalizeDelay(\n this._config.minPressDuration,\n 0,\n DEFAULT_MIN_PRESS_DURATION,\n );\n const pressDuration = Date.now() - (this._touchActivateTime ?? 0);\n const delayPressOut = Math.max(\n minPressDuration - pressDuration,\n normalizeDelay(this._config.delayPressOut),\n );\n if (delayPressOut > 0) {\n event.persist();\n this._pressOutDelayTimeout = setTimeout(() => {\n onPressOut(event);\n }, delayPressOut);\n } else {\n onPressOut(event);\n }\n }\n this._touchActivateTime = null;\n }\n\n _measureResponderRegion(): void {\n if (this._responderID == null) {\n return;\n }\n\n if (typeof this._responderID === 'number') {\n UIManager.measure(this._responderID, this._measureCallback);\n } else {\n this._responderID.measure(this._measureCallback);\n }\n }\n\n _measureCallback = (left, top, width, height, pageX, pageY) => {\n if (!left && !top && !width && !height && !pageX && !pageY) {\n return;\n }\n this._responderRegion = {\n bottom: pageY + height,\n left: pageX,\n right: pageX + width,\n top: pageY,\n };\n };\n\n _isTouchWithinResponderRegion(\n touch: $PropertyType,\n responderRegion: $ReadOnly<{|\n bottom: number,\n left: number,\n right: number,\n top: number,\n |}>,\n ): boolean {\n const hitSlop = normalizeRect(this._config.hitSlop);\n const pressRectOffset = normalizeRect(this._config.pressRectOffset);\n\n let regionBottom = responderRegion.bottom;\n let regionLeft = responderRegion.left;\n let regionRight = responderRegion.right;\n let regionTop = responderRegion.top;\n\n if (hitSlop != null) {\n if (hitSlop.bottom != null) {\n regionBottom += hitSlop.bottom;\n }\n if (hitSlop.left != null) {\n regionLeft -= hitSlop.left;\n }\n if (hitSlop.right != null) {\n regionRight += hitSlop.right;\n }\n if (hitSlop.top != null) {\n regionTop -= hitSlop.top;\n }\n }\n\n regionBottom +=\n pressRectOffset?.bottom ?? DEFAULT_PRESS_RECT_OFFSETS.bottom;\n regionLeft -= pressRectOffset?.left ?? DEFAULT_PRESS_RECT_OFFSETS.left;\n regionRight += pressRectOffset?.right ?? DEFAULT_PRESS_RECT_OFFSETS.right;\n regionTop -= pressRectOffset?.top ?? DEFAULT_PRESS_RECT_OFFSETS.top;\n\n return (\n touch.pageX > regionLeft &&\n touch.pageX < regionRight &&\n touch.pageY > regionTop &&\n touch.pageY < regionBottom\n );\n }\n\n _handleLongPress(event: PressEvent): void {\n if (\n this._touchState === 'RESPONDER_ACTIVE_PRESS_IN' ||\n this._touchState === 'RESPONDER_ACTIVE_LONG_PRESS_IN'\n ) {\n this._receiveSignal('LONG_PRESS_DETECTED', event);\n }\n }\n\n _shouldLongPressCancelPress(): boolean {\n return (\n this._config.onLongPressShouldCancelPress_DEPRECATED == null ||\n this._config.onLongPressShouldCancelPress_DEPRECATED()\n );\n }\n\n _cancelHoverInDelayTimeout(): void {\n if (this._hoverInDelayTimeout != null) {\n clearTimeout(this._hoverInDelayTimeout);\n this._hoverInDelayTimeout = null;\n }\n }\n\n _cancelHoverOutDelayTimeout(): void {\n if (this._hoverOutDelayTimeout != null) {\n clearTimeout(this._hoverOutDelayTimeout);\n this._hoverOutDelayTimeout = null;\n }\n }\n\n _cancelLongPressDelayTimeout(): void {\n if (this._longPressDelayTimeout != null) {\n clearTimeout(this._longPressDelayTimeout);\n this._longPressDelayTimeout = null;\n }\n }\n\n _cancelPressDelayTimeout(): void {\n if (this._pressDelayTimeout != null) {\n clearTimeout(this._pressDelayTimeout);\n this._pressDelayTimeout = null;\n }\n }\n\n _cancelPressOutDelayTimeout(): void {\n if (this._pressOutDelayTimeout != null) {\n clearTimeout(this._pressOutDelayTimeout);\n this._pressOutDelayTimeout = null;\n }\n }\n}\n\nfunction normalizeDelay(delay: ?number, min = 0, fallback = 0): number {\n return Math.max(min, delay ?? fallback);\n}\n\nconst getTouchFromPressEvent = (event: PressEvent) => {\n const {changedTouches, touches} = event.nativeEvent;\n\n if (touches != null && touches.length > 0) {\n return touches[0];\n }\n if (changedTouches != null && changedTouches.length > 0) {\n return changedTouches[0];\n }\n return event.nativeEvent;\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport Platform from '../Utilities/Platform';\n\nlet isEnabled = false;\n\nif (Platform.OS === 'web') {\n const canUseDOM = Boolean(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement,\n );\n\n if (canUseDOM) {\n /**\n * Web browsers emulate mouse events (and hover states) after touch events.\n * This code infers when the currently-in-use modality supports hover\n * (including for multi-modality devices) and considers \"hover\" to be enabled\n * if a mouse movement occurs more than 1 second after the last touch event.\n * This threshold is long enough to account for longer delays between the\n * browser firing touch and mouse events on low-powered devices.\n */\n const HOVER_THRESHOLD_MS = 1000;\n let lastTouchTimestamp = 0;\n\n const enableHover = () => {\n if (isEnabled || Date.now() - lastTouchTimestamp < HOVER_THRESHOLD_MS) {\n return;\n }\n isEnabled = true;\n };\n\n const disableHover = () => {\n lastTouchTimestamp = Date.now();\n if (isEnabled) {\n isEnabled = false;\n }\n };\n\n document.addEventListener('touchstart', disableHover, true);\n document.addEventListener('touchmove', disableHover, true);\n document.addEventListener('mousemove', enableHover, true);\n }\n}\n\nexport function isHoverEnabled(): boolean {\n return isEnabled;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeSoundManager from './NativeSoundManager';\n\nconst SoundManager = {\n playTouchSound: function(): void {\n if (NativeSoundManager) {\n NativeSoundManager.playTouchSound();\n }\n },\n};\n\nmodule.exports = SoundManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\n/**\n * Native Module used for playing sounds in native platform.\n */\nexport interface Spec extends TurboModule {\n +playTouchSound: () => void;\n}\n\nexport default (TurboModuleRegistry.get('SoundManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nexport type Rect = $ReadOnly<{|\n bottom?: ?number,\n left?: ?number,\n right?: ?number,\n top?: ?number,\n|}>;\n\nexport type RectOrSize = Rect | number;\n\nexport function createSquare(size: number): Rect {\n return {bottom: size, left: size, right: size, top: size};\n}\n\nexport function normalizeRect(rectOrSize: ?RectOrSize): ?Rect {\n return typeof rectOrSize === 'number' ? createSquare(rectOrSize) : rectOrSize;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport {type PressabilityTouchSignal as TouchSignal} from './PressabilityTypes.js';\n\nexport type PressabilityPerformanceEvent = $ReadOnly<{|\n signal: TouchSignal,\n touchDelayMs: number,\n|}>;\nexport type PressabilityPerformanceEventListener = PressabilityPerformanceEvent => void;\n\nclass PressabilityPerformanceEventEmitter {\n _listeners: Array = [];\n\n constructor() {}\n\n addListener(listener: PressabilityPerformanceEventListener): void {\n this._listeners.push(listener);\n }\n\n removeListener(listener: PressabilityPerformanceEventListener): void {\n const index = this._listeners.indexOf(listener);\n if (index > -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n emitEvent(constructEvent: () => PressabilityPerformanceEvent): void {\n if (this._listeners.length === 0) {\n return;\n }\n\n const event = constructEvent();\n this._listeners.forEach(listener => listener(event));\n }\n}\n\nconst PressabilityPerformanceEventEmitterSingleton: PressabilityPerformanceEventEmitter = new PressabilityPerformanceEventEmitter();\n\nexport default PressabilityPerformanceEventEmitterSingleton;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport ReactNativeViewAttributes from '../Components/View/ReactNativeViewAttributes';\nimport UIManager from '../ReactNative/UIManager';\nimport {type HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport createReactNativeComponentClass from '../Renderer/shims/createReactNativeComponentClass';\nimport {type ProcessedColorValue} from '../StyleSheet/processColor';\nimport {type TextProps} from './TextProps';\n\ntype NativeTextProps = $ReadOnly<{\n ...TextProps,\n isHighlighted?: ?boolean,\n selectionColor?: ?ProcessedColorValue,\n}>;\n\nexport const NativeText: HostComponent = (createReactNativeComponentClass(\n 'RCTText',\n () => ({\n // $FlowFixMe[incompatible-call]\n validAttributes: {\n ...ReactNativeViewAttributes.UIView,\n isHighlighted: true,\n numberOfLines: true,\n ellipsizeMode: true,\n allowFontScaling: true,\n maxFontSizeMultiplier: true,\n disabled: true,\n selectable: true,\n selectionColor: true,\n adjustsFontSizeToFit: true,\n minimumFontScale: true,\n textBreakStrategy: true,\n onTextLayout: true,\n onInlineViewLayout: true,\n dataDetectorType: true,\n android_hyphenationFrequency: true,\n },\n directEventTypes: {\n topTextLayout: {\n registrationName: 'onTextLayout',\n },\n topInlineViewLayout: {\n registrationName: 'onInlineViewLayout',\n },\n },\n uiViewClassName: 'RCTText',\n }),\n): any);\n\nexport const NativeVirtualText: HostComponent =\n !global.RN$Bridgeless && !UIManager.hasViewManagerConfig('RCTVirtualText')\n ? NativeText\n : (createReactNativeComponentClass('RCTVirtualText', () => ({\n // $FlowFixMe[incompatible-call]\n validAttributes: {\n ...ReactNativeViewAttributes.UIView,\n isHighlighted: true,\n maxFontSizeMultiplier: true,\n },\n uiViewClassName: 'RCTVirtualText',\n })): any);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\nimport ReactNativeStyleAttributes from './ReactNativeStyleAttributes';\n\nconst UIView = {\n pointerEvents: true,\n accessible: true,\n accessibilityActions: true,\n accessibilityLabel: true,\n accessibilityLiveRegion: true,\n accessibilityRole: true,\n accessibilityState: true,\n accessibilityValue: true,\n accessibilityHint: true,\n importantForAccessibility: true,\n nativeID: true,\n testID: true,\n renderToHardwareTextureAndroid: true,\n shouldRasterizeIOS: true,\n onLayout: true,\n onAccessibilityAction: true,\n onAccessibilityTap: true,\n onMagicTap: true,\n onAccessibilityEscape: true,\n collapsable: true,\n needsOffscreenAlphaCompositing: true,\n style: ReactNativeStyleAttributes,\n};\n\nconst RCTView = {\n ...UIView,\n\n // This is a special performance property exposed by RCTView and useful for\n // scrolling content when there are many subviews, most of which are offscreen.\n // For this property to be effective, it must be applied to a view that contains\n // many subviews that extend outside its bound. The subviews must also have\n // overflow: hidden, as should the containing view (or one of its superviews).\n removeClippedSubviews: true,\n};\n\nconst ReactNativeViewAttributes = {\n UIView: UIView,\n RCTView: RCTView,\n};\n\nmodule.exports = ReactNativeViewAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\nimport {Commands} from 'react-native/Libraries/Components/View/ViewNativeComponent';\nimport ReactNative from 'react-native/Libraries/Renderer/shims/ReactNative';\nimport type {PressEvent} from 'react-native/Libraries/Types/CoreEventTypes';\nimport Platform from '../../Utilities/Platform';\nimport View from '../../Components/View/View';\nimport processColor from '../../StyleSheet/processColor';\nimport * as React from 'react';\nimport invariant from 'invariant';\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n\n /**\n * Determines the type of background drawable that's going to be used to\n * display feedback. It takes an object with `type` property and extra data\n * depending on the `type`. It's recommended to use one of the static\n * methods to generate that dictionary.\n */\n background?: ?(\n | $ReadOnly<{|\n type: 'ThemeAttrAndroid',\n attribute:\n | 'selectableItemBackground'\n | 'selectableItemBackgroundBorderless',\n rippleRadius: ?number,\n |}>\n | $ReadOnly<{|\n type: 'RippleAndroid',\n color: ?number,\n borderless: boolean,\n rippleRadius: ?number,\n |}>\n ),\n\n /**\n * TV preferred focus (see documentation for the View component).\n */\n hasTVPreferredFocus?: ?boolean,\n\n /**\n * TV next focus down (see documentation for the View component).\n */\n nextFocusDown?: ?number,\n\n /**\n * TV next focus forward (see documentation for the View component).\n */\n nextFocusForward?: ?number,\n\n /**\n * TV next focus left (see documentation for the View component).\n */\n nextFocusLeft?: ?number,\n\n /**\n * TV next focus right (see documentation for the View component).\n */\n nextFocusRight?: ?number,\n\n /**\n * TV next focus up (see documentation for the View component).\n */\n nextFocusUp?: ?number,\n\n /**\n * Set to true to add the ripple effect to the foreground of the view, instead\n * of the background. This is useful if one of your child views has a\n * background of its own, or you're e.g. displaying images, and you don't want\n * the ripple to be covered by them.\n *\n * Check TouchableNativeFeedback.canUseNativeForeground() first, as this is\n * only available on Android 6.0 and above. If you try to use this on older\n * versions, this will fallback to background.\n */\n useForeground?: ?boolean,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n|}>;\n\nclass TouchableNativeFeedback extends React.Component {\n /**\n * Creates a value for the `background` prop that uses the Android theme's\n * default background for selectable elements.\n */\n static SelectableBackground: (\n rippleRadius: ?number,\n ) => $ReadOnly<{|\n attribute: 'selectableItemBackground',\n type: 'ThemeAttrAndroid',\n rippleRadius: ?number,\n |}> = (rippleRadius: ?number) => ({\n type: 'ThemeAttrAndroid',\n attribute: 'selectableItemBackground',\n rippleRadius,\n });\n\n /**\n * Creates a value for the `background` prop that uses the Android theme's\n * default background for borderless selectable elements. Requires API 21+.\n */\n static SelectableBackgroundBorderless: (\n rippleRadius: ?number,\n ) => $ReadOnly<{|\n attribute: 'selectableItemBackgroundBorderless',\n type: 'ThemeAttrAndroid',\n rippleRadius: ?number,\n |}> = (rippleRadius: ?number) => ({\n type: 'ThemeAttrAndroid',\n attribute: 'selectableItemBackgroundBorderless',\n rippleRadius,\n });\n\n /**\n * Creates a value for the `background` prop that uses the Android ripple with\n * the supplied color. If `borderless` is true, the ripple will render outside\n * of the view bounds. Requires API 21+.\n */\n static Ripple: (\n color: string,\n borderless: boolean,\n rippleRadius: ?number,\n ) => $ReadOnly<{|\n borderless: boolean,\n color: ?number,\n rippleRadius: ?number,\n type: 'RippleAndroid',\n |}> = (color: string, borderless: boolean, rippleRadius: ?number) => {\n const processedColor = processColor(color);\n invariant(\n processedColor == null || typeof processedColor === 'number',\n 'Unexpected color given for Ripple color',\n );\n return {\n type: 'RippleAndroid',\n color: processedColor,\n borderless,\n rippleRadius,\n };\n };\n\n /**\n * Whether `useForeground` is supported.\n */\n static canUseNativeForeground: () => boolean = () =>\n Platform.OS === 'android' && Platform.Version >= 23;\n\n state: State = {\n pressability: new Pressability(this._createPressabilityConfig()),\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled:\n this.props.disabled != null\n ? this.props.disabled\n : this.props.accessibilityState?.disabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n android_disableSound: this.props.touchSoundDisabled,\n onLongPress: this.props.onLongPress,\n onPress: this.props.onPress,\n onPressIn: event => {\n if (Platform.OS === 'android') {\n this._dispatchHotspotUpdate(event);\n this._dispatchPressedStateChange(true);\n }\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressMove: event => {\n if (Platform.OS === 'android') {\n this._dispatchHotspotUpdate(event);\n }\n },\n onPressOut: event => {\n if (Platform.OS === 'android') {\n this._dispatchPressedStateChange(false);\n }\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n _dispatchPressedStateChange(pressed: boolean): void {\n if (Platform.OS === 'android') {\n const hostComponentRef = ReactNative.findHostInstance_DEPRECATED(this);\n if (hostComponentRef == null) {\n console.warn(\n 'Touchable: Unable to find HostComponent instance. ' +\n 'Has your Touchable component been unmounted?',\n );\n } else {\n Commands.setPressed(hostComponentRef, pressed);\n }\n }\n }\n\n _dispatchHotspotUpdate(event: PressEvent): void {\n if (Platform.OS === 'android') {\n const {locationX, locationY} = event.nativeEvent;\n const hostComponentRef = ReactNative.findHostInstance_DEPRECATED(this);\n if (hostComponentRef == null) {\n console.warn(\n 'Touchable: Unable to find HostComponent instance. ' +\n 'Has your Touchable component been unmounted?',\n );\n } else {\n Commands.hotspotUpdate(\n hostComponentRef,\n locationX ?? 0,\n locationY ?? 0,\n );\n }\n }\n }\n\n render(): React.Node {\n const element = React.Children.only(this.props.children);\n const children = [element.props.children];\n if (__DEV__) {\n if (element.type === View) {\n children.push(\n ,\n );\n }\n }\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {\n onBlur,\n onFocus,\n ...eventHandlersWithoutBlurAndFocus\n } = this.state.pressability.getEventHandlers();\n\n const accessibilityState =\n this.props.disabled != null\n ? {\n ...this.props.accessibilityState,\n disabled: this.props.disabled,\n }\n : this.props.accessibilityState;\n\n return React.cloneElement(\n element,\n {\n ...eventHandlersWithoutBlurAndFocus,\n ...getBackgroundProp(\n this.props.background === undefined\n ? TouchableNativeFeedback.SelectableBackground()\n : this.props.background,\n this.props.useForeground === true,\n ),\n accessible: this.props.accessible !== false,\n accessibilityHint: this.props.accessibilityHint,\n accessibilityLabel: this.props.accessibilityLabel,\n accessibilityRole: this.props.accessibilityRole,\n accessibilityState: accessibilityState,\n accessibilityActions: this.props.accessibilityActions,\n onAccessibilityAction: this.props.onAccessibilityAction,\n accessibilityValue: this.props.accessibilityValue,\n importantForAccessibility: this.props.importantForAccessibility,\n accessibilityLiveRegion: this.props.accessibilityLiveRegion,\n accessibilityViewIsModal: this.props.accessibilityViewIsModal,\n accessibilityElementsHidden: this.props.accessibilityElementsHidden,\n hasTVPreferredFocus: this.props.hasTVPreferredFocus,\n hitSlop: this.props.hitSlop,\n focusable:\n this.props.focusable !== false &&\n this.props.onPress !== undefined &&\n !this.props.disabled,\n nativeID: this.props.nativeID,\n nextFocusDown: this.props.nextFocusDown,\n nextFocusForward: this.props.nextFocusForward,\n nextFocusLeft: this.props.nextFocusLeft,\n nextFocusRight: this.props.nextFocusRight,\n nextFocusUp: this.props.nextFocusUp,\n onLayout: this.props.onLayout,\n testID: this.props.testID,\n },\n ...children,\n );\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nconst getBackgroundProp =\n Platform.OS === 'android'\n ? (background, useForeground) =>\n useForeground && TouchableNativeFeedback.canUseNativeForeground()\n ? {nativeForegroundAndroid: background}\n : {nativeBackgroundAndroid: background}\n : (background, useForeground) => null;\n\nTouchableNativeFeedback.displayName = 'TouchableNativeFeedback';\n\nmodule.exports = TouchableNativeFeedback;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\nimport Animated from 'react-native/Libraries/Animated/Animated';\nimport Easing from 'react-native/Libraries/Animated/Easing';\nimport type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport flattenStyle from 'react-native/Libraries/StyleSheet/flattenStyle';\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\n\ntype TVProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n ...TVProps,\n\n activeOpacity?: ?number,\n style?: ?ViewStyleProp,\n\n hostRef?: ?React.Ref,\n|}>;\n\ntype State = $ReadOnly<{|\n anim: Animated.Value,\n pressability: Pressability,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, dimming it.\n *\n * Opacity is controlled by wrapping the children in an Animated.View, which is\n * added to the view hierarchy. Be aware that this can affect layout.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableOpacity,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * state = { count: 0 }\n *\n * onPress = () => {\n * this.setState(state => ({\n * count: state.count + 1\n * }));\n * };\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\nclass TouchableOpacity extends React.Component {\n state: State = {\n anim: new Animated.Value(this._getChildStyleOpacityWithDefault()),\n pressability: new Pressability(this._createPressabilityConfig()),\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled: this.props.disabled ?? this.props.accessibilityState?.disabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n onBlur: event => {\n if (Platform.isTV) {\n this._opacityInactive(250);\n }\n if (this.props.onBlur != null) {\n this.props.onBlur(event);\n }\n },\n onFocus: event => {\n if (Platform.isTV) {\n this._opacityActive(150);\n }\n if (this.props.onFocus != null) {\n this.props.onFocus(event);\n }\n },\n onLongPress: this.props.onLongPress,\n onPress: this.props.onPress,\n onPressIn: event => {\n this._opacityActive(\n event.dispatchConfig.registrationName === 'onResponderGrant'\n ? 0\n : 150,\n );\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressOut: event => {\n this._opacityInactive(250);\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n /**\n * Animate the touchable to a new opacity.\n */\n _setOpacityTo(toValue: number, duration: number): void {\n Animated.timing(this.state.anim, {\n toValue,\n duration,\n // $FlowFixMe[method-unbinding]\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: true,\n }).start();\n }\n\n _opacityActive(duration: number): void {\n this._setOpacityTo(this.props.activeOpacity ?? 0.2, duration);\n }\n\n _opacityInactive(duration: number): void {\n this._setOpacityTo(this._getChildStyleOpacityWithDefault(), duration);\n }\n\n _getChildStyleOpacityWithDefault(): number {\n const opacity = flattenStyle(this.props.style)?.opacity;\n return typeof opacity === 'number' ? opacity : 1;\n }\n\n render(): React.Node {\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {\n onBlur,\n onFocus,\n ...eventHandlersWithoutBlurAndFocus\n } = this.state.pressability.getEventHandlers();\n\n const accessibilityState =\n this.props.disabled != null\n ? {\n ...this.props.accessibilityState,\n disabled: this.props.disabled,\n }\n : this.props.accessibilityState;\n\n return (\n \n {this.props.children}\n {__DEV__ ? (\n \n ) : null}\n \n );\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n if (this.props.disabled !== prevProps.disabled) {\n this._opacityInactive(250);\n }\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nconst Touchable = (React.forwardRef((props, ref) => (\n \n)): React.AbstractComponent>);\n\nTouchable.displayName = 'TouchableOpacity';\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport Platform from '../Utilities/Platform';\nimport typeof AnimatedFlatList from './components/AnimatedFlatList';\nimport typeof AnimatedImage from './components/AnimatedImage';\nimport typeof AnimatedScrollView from './components/AnimatedScrollView';\nimport typeof AnimatedSectionList from './components/AnimatedSectionList';\nimport typeof AnimatedText from './components/AnimatedText';\nimport typeof AnimatedView from './components/AnimatedView';\n\nconst AnimatedMock = require('./AnimatedMock');\nconst AnimatedImplementation = require('./AnimatedImplementation');\n\nconst Animated = ((Platform.isTesting\n ? AnimatedMock\n : AnimatedImplementation): typeof AnimatedMock);\n\nmodule.exports = {\n get FlatList(): AnimatedFlatList {\n return require('./components/AnimatedFlatList');\n },\n get Image(): AnimatedImage {\n return require('./components/AnimatedImage');\n },\n get ScrollView(): AnimatedScrollView {\n return require('./components/AnimatedScrollView');\n },\n get SectionList(): AnimatedSectionList {\n return require('./components/AnimatedSectionList');\n },\n get Text(): AnimatedText {\n return require('./components/AnimatedText');\n },\n get View(): AnimatedView {\n return require('./components/AnimatedView');\n },\n ...Animated,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst {AnimatedEvent, attachNativeEvent} = require('./AnimatedEvent');\nconst AnimatedImplementation = require('./AnimatedImplementation');\nconst AnimatedInterpolation = require('./nodes/AnimatedInterpolation');\nconst AnimatedNode = require('./nodes/AnimatedNode');\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst AnimatedValueXY = require('./nodes/AnimatedValueXY');\n\nconst createAnimatedComponent = require('./createAnimatedComponent');\n\nimport type {EndCallback} from './animations/Animation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\n\n/**\n * Animations are a source of flakiness in snapshot testing. This mock replaces\n * animation functions from AnimatedImplementation with empty animations for\n * predictability in tests.\n */\nexport type CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n ...\n};\n\nconst emptyAnimation = {\n start: () => {},\n stop: () => {},\n reset: () => {},\n _startNativeLoop: () => {},\n _isUsingNativeDriver: () => {\n return false;\n },\n};\n\nconst spring = function(\n value: AnimatedValue | AnimatedValueXY,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: (callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback && callback({finished: true});\n },\n };\n};\n\nconst timing = function(\n value: AnimatedValue | AnimatedValueXY,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: (callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback && callback({finished: true});\n },\n };\n};\n\nconst decay = function(\n value: AnimatedValue | AnimatedValueXY,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst sequence = function(\n animations: Array,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\ntype ParallelConfig = {stopTogether?: boolean, ...};\nconst parallel = function(\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst delay = function(time: number): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst stagger = function(\n time: number,\n animations: Array,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\ntype LoopAnimationConfig = {\n iterations: number,\n resetBeforeIteration?: boolean,\n ...\n};\n\nconst loop = function(\n animation: CompositeAnimation,\n {iterations = -1}: LoopAnimationConfig = {},\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nmodule.exports = {\n Value: AnimatedValue,\n ValueXY: AnimatedValueXY,\n Interpolation: AnimatedInterpolation,\n Node: AnimatedNode,\n decay,\n timing,\n spring,\n add: AnimatedImplementation.add,\n subtract: AnimatedImplementation.subtract,\n divide: AnimatedImplementation.divide,\n multiply: AnimatedImplementation.multiply,\n modulo: AnimatedImplementation.modulo,\n diffClamp: AnimatedImplementation.diffClamp,\n delay,\n sequence,\n parallel,\n stagger,\n loop,\n event: AnimatedImplementation.event,\n createAnimatedComponent,\n attachNativeEvent,\n forkEvent: AnimatedImplementation.forkEvent,\n unforkEvent: AnimatedImplementation.unforkEvent,\n Event: AnimatedEvent,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst NativeAnimatedHelper = require('./NativeAnimatedHelper');\nconst ReactNative = require('../Renderer/shims/ReactNative');\n\nconst invariant = require('invariant');\n\nconst {shouldUseNativeDriver} = require('./NativeAnimatedHelper');\n\nexport type Mapping = {[key: string]: Mapping, ...} | AnimatedValue;\nexport type EventConfig = {\n listener?: ?Function,\n useNativeDriver: boolean,\n};\n\nfunction attachNativeEvent(\n viewRef: any,\n eventName: string,\n argMapping: $ReadOnlyArray,\n): {detach: () => void} {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n const eventMappings = [];\n\n const traverse = (value, path) => {\n if (value instanceof AnimatedValue) {\n value.__makeNative();\n\n eventMappings.push({\n nativeEventPath: path,\n animatedValueTag: value.__getNativeTag(),\n });\n } else if (typeof value === 'object') {\n for (const key in value) {\n traverse(value[key], path.concat(key));\n }\n }\n };\n\n invariant(\n argMapping[0] && argMapping[0].nativeEvent,\n 'Native driven events only support animated values contained inside `nativeEvent`.',\n );\n\n // Assume that the event containing `nativeEvent` is always the first argument.\n traverse(argMapping[0].nativeEvent, []);\n\n const viewTag = ReactNative.findNodeHandle(viewRef);\n if (viewTag != null) {\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.addAnimatedEventToView(\n viewTag,\n eventName,\n mapping,\n );\n });\n }\n\n return {\n detach() {\n if (viewTag != null) {\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.removeAnimatedEventFromView(\n viewTag,\n eventName,\n // $FlowFixMe[incompatible-call]\n mapping.animatedValueTag,\n );\n });\n }\n },\n };\n}\n\nfunction validateMapping(argMapping, args) {\n const validate = (recMapping, recEvt, key) => {\n if (recMapping instanceof AnimatedValue) {\n invariant(\n typeof recEvt === 'number',\n 'Bad mapping of event key ' +\n key +\n ', should be number but got ' +\n typeof recEvt,\n );\n return;\n }\n if (typeof recEvt === 'number') {\n invariant(\n recMapping instanceof AnimatedValue,\n 'Bad mapping of type ' +\n typeof recMapping +\n ' for key ' +\n key +\n ', event value must map to AnimatedValue',\n );\n return;\n }\n invariant(\n typeof recMapping === 'object',\n 'Bad mapping of type ' + typeof recMapping + ' for key ' + key,\n );\n invariant(\n typeof recEvt === 'object',\n 'Bad event of type ' + typeof recEvt + ' for key ' + key,\n );\n for (const mappingKey in recMapping) {\n validate(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n };\n\n invariant(\n args.length >= argMapping.length,\n 'Event has less arguments than mapping',\n );\n argMapping.forEach((mapping, idx) => {\n validate(mapping, args[idx], 'arg' + idx);\n });\n}\n\nclass AnimatedEvent {\n _argMapping: $ReadOnlyArray;\n _listeners: Array = [];\n _callListeners: Function;\n _attachedEvent: ?{detach: () => void, ...};\n __isNative: boolean;\n\n constructor(argMapping: $ReadOnlyArray, config: EventConfig) {\n this._argMapping = argMapping;\n\n if (config == null) {\n console.warn('Animated.event now requires a second argument for options');\n config = {useNativeDriver: false};\n }\n\n if (config.listener) {\n this.__addListener(config.listener);\n }\n this._callListeners = this._callListeners.bind(this);\n this._attachedEvent = null;\n this.__isNative = shouldUseNativeDriver(config);\n }\n\n __addListener(callback: Function): void {\n this._listeners.push(callback);\n }\n\n __removeListener(callback: Function): void {\n this._listeners = this._listeners.filter(listener => listener !== callback);\n }\n\n __attach(viewRef: any, eventName: string) {\n invariant(\n this.__isNative,\n 'Only native driven events need to be attached.',\n );\n\n this._attachedEvent = attachNativeEvent(\n viewRef,\n eventName,\n this._argMapping,\n );\n }\n\n __detach(viewTag: any, eventName: string) {\n invariant(\n this.__isNative,\n 'Only native driven events need to be detached.',\n );\n\n this._attachedEvent && this._attachedEvent.detach();\n }\n\n __getHandler(): any | ((...args: any) => void) {\n if (this.__isNative) {\n if (__DEV__) {\n let validatedMapping = false;\n return (...args: any) => {\n if (!validatedMapping) {\n validateMapping(this._argMapping, args);\n validatedMapping = true;\n }\n this._callListeners(...args);\n };\n } else {\n return this._callListeners;\n }\n }\n\n let validatedMapping = false;\n return (...args: any) => {\n if (__DEV__ && !validatedMapping) {\n validateMapping(this._argMapping, args);\n validatedMapping = true;\n }\n\n const traverse = (recMapping, recEvt, key) => {\n if (recMapping instanceof AnimatedValue) {\n if (typeof recEvt === 'number') {\n recMapping.setValue(recEvt);\n }\n } else if (typeof recMapping === 'object') {\n for (const mappingKey in recMapping) {\n /* $FlowFixMe[prop-missing] (>=0.120.0) This comment suppresses an\n * error found when Flow v0.120 was deployed. To see the error,\n * delete this comment and run Flow. */\n traverse(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n }\n };\n this._argMapping.forEach((mapping, idx) => {\n traverse(mapping, args[idx], 'arg' + idx);\n });\n\n this._callListeners(...args);\n };\n }\n\n _callListeners(...args: any) {\n this._listeners.forEach(listener => listener(...args));\n }\n}\n\nmodule.exports = {AnimatedEvent, attachNativeEvent};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst InteractionManager = require('../../Interaction/InteractionManager');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nimport type Animation, {EndCallback} from '../animations/Animation';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedTracking from './AnimatedTracking';\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\n\n/**\n * Animated works by building a directed acyclic graph of dependencies\n * transparently when you render your Animated components.\n *\n * new Animated.Value(0)\n * .interpolate() .interpolate() new Animated.Value(1)\n * opacity translateY scale\n * style transform\n * View#234 style\n * View#123\n *\n * A) Top Down phase\n * When an Animated.Value is updated, we recursively go down through this\n * graph in order to find leaf nodes: the views that we flag as needing\n * an update.\n *\n * B) Bottom Up phase\n * When a view is flagged as needing an update, we recursively go back up\n * in order to build the new value that it needs. The reason why we need\n * this two-phases process is to deal with composite props such as\n * transform which can receive values from multiple parents.\n */\nfunction _flush(rootNode: AnimatedValue): void {\n const animatedStyles = new Set();\n function findAnimatedStyles(node) {\n /* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.68 was deployed. To see the error\n * delete this comment and run Flow. */\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n findAnimatedStyles(rootNode);\n // $FlowFixMe[prop-missing]\n animatedStyles.forEach(animatedStyle => animatedStyle.update());\n}\n\n/**\n * Some operations are executed only on batch end, which is _mostly_ scheduled when\n * Animated component props change. For some of the changes which require immediate execution\n * (e.g. setValue), we create a separate batch in case none is scheduled.\n */\nfunction _executeAsAnimatedBatch(id: string, operation: () => void) {\n NativeAnimatedAPI.setWaitingForIdentifier(id);\n operation();\n NativeAnimatedAPI.unsetWaitingForIdentifier(id);\n}\n\n/**\n * Standard value for driving animations. One `Animated.Value` can drive\n * multiple properties in a synchronized fashion, but can only be driven by one\n * mechanism at a time. Using a new mechanism (e.g. starting a new animation,\n * or calling `setValue`) will stop any previous ones.\n *\n * See https://reactnative.dev/docs/animatedvalue.html\n */\nclass AnimatedValue extends AnimatedWithChildren {\n _value: number;\n _startingValue: number;\n _offset: number;\n _animation: ?Animation;\n _tracking: ?AnimatedTracking;\n\n constructor(value: number) {\n super();\n if (typeof value !== 'number') {\n throw new Error('AnimatedValue: Attempting to set value to undefined');\n }\n this._startingValue = this._value = value;\n this._offset = 0;\n this._animation = null;\n }\n\n __detach() {\n if (this.__isNative) {\n NativeAnimatedAPI.getValue(this.__getNativeTag(), value => {\n this._value = value;\n });\n }\n this.stopAnimation();\n super.__detach();\n }\n\n __getValue(): number {\n return this._value + this._offset;\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#setvalue\n */\n setValue(value: number): void {\n if (this._animation) {\n this._animation.stop();\n this._animation = null;\n }\n this._updateValue(\n value,\n !this.__isNative /* don't perform a flush for natively driven values */,\n );\n if (this.__isNative) {\n _executeAsAnimatedBatch(this.__getNativeTag().toString(), () => {\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value);\n });\n }\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether via\n * `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#setoffset\n */\n setOffset(offset: number): void {\n this._offset = offset;\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#flattenoffset\n */\n flattenOffset(): void {\n this._value += this._offset;\n this._offset = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#extractoffset\n */\n extractOffset(): void {\n this._offset += this._value;\n this._value = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#stopanimation\n */\n stopAnimation(callback?: ?(value: number) => void): void {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#resetanimation\n */\n resetAnimation(callback?: ?(value: number) => void): void {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(\n this.__getNativeTag(),\n this._startingValue,\n );\n }\n }\n\n _onAnimatedValueUpdateReceived(value: number): void {\n this._updateValue(value, false /*flush*/);\n }\n\n /**\n * Interpolates the value before updating the property, e.g. mapping 0-1 to\n * 0-10.\n */\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n /**\n * Typically only used internally, but could be used by a custom Animation\n * class.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#animate\n */\n animate(animation: Animation, callback: ?EndCallback): void {\n let handle = null;\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n const previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(\n this._value,\n value => {\n // Natively driven animations will never call into that callback, therefore we can always\n // pass flush = true to allow the updated value to propagate to native with setNativeProps\n this._updateValue(value, true /* flush */);\n },\n result => {\n this._animation = null;\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n callback && callback(result);\n },\n previousAnimation,\n this,\n );\n }\n\n /**\n * Typically only used internally.\n */\n stopTracking(): void {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n }\n\n /**\n * Typically only used internally.\n */\n track(tracking: AnimatedTracking): void {\n this.stopTracking();\n this._tracking = tracking;\n }\n\n _updateValue(value: number, flush: boolean): void {\n if (value === undefined) {\n throw new Error('AnimatedValue: Attempting to set value to undefined');\n }\n\n this._value = value;\n if (flush) {\n _flush(this);\n }\n super.__callListeners(this.__getValue());\n }\n\n __getNativeConfig(): Object {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset,\n };\n }\n}\n\nmodule.exports = AnimatedValue;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n/* eslint no-bitwise: 0 */\n\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst invariant = require('invariant');\nconst normalizeColor = require('../../StyleSheet/normalizeColor');\n\ntype ExtrapolateType = 'extend' | 'identity' | 'clamp';\n\nexport type InterpolationConfigType = {\n inputRange: $ReadOnlyArray,\n outputRange: $ReadOnlyArray | $ReadOnlyArray,\n easing?: (input: number) => number,\n extrapolate?: ExtrapolateType,\n extrapolateLeft?: ExtrapolateType,\n extrapolateRight?: ExtrapolateType,\n};\n\nconst linear = t => t;\n\n/**\n * Very handy helper to map input ranges to output ranges with an easing\n * function and custom behavior outside of the ranges.\n */\nfunction createInterpolation(\n config: InterpolationConfigType,\n): (input: number) => number | string {\n if (config.outputRange && typeof config.outputRange[0] === 'string') {\n return createInterpolationFromStringOutputRange(config);\n }\n\n const outputRange: Array = (config.outputRange: any);\n checkInfiniteRange('outputRange', outputRange);\n\n const inputRange = config.inputRange;\n checkInfiniteRange('inputRange', inputRange);\n checkValidInputRange(inputRange);\n\n invariant(\n inputRange.length === outputRange.length,\n 'inputRange (' +\n inputRange.length +\n ') and outputRange (' +\n outputRange.length +\n ') must have the same length',\n );\n\n const easing = config.easing || linear;\n\n let extrapolateLeft: ExtrapolateType = 'extend';\n if (config.extrapolateLeft !== undefined) {\n extrapolateLeft = config.extrapolateLeft;\n } else if (config.extrapolate !== undefined) {\n extrapolateLeft = config.extrapolate;\n }\n\n let extrapolateRight: ExtrapolateType = 'extend';\n if (config.extrapolateRight !== undefined) {\n extrapolateRight = config.extrapolateRight;\n } else if (config.extrapolate !== undefined) {\n extrapolateRight = config.extrapolate;\n }\n\n return input => {\n invariant(\n typeof input === 'number',\n 'Cannot interpolation an input which is not a number',\n );\n\n const range = findRange(input, inputRange);\n return interpolate(\n input,\n inputRange[range],\n inputRange[range + 1],\n outputRange[range],\n outputRange[range + 1],\n easing,\n extrapolateLeft,\n extrapolateRight,\n );\n };\n}\n\nfunction interpolate(\n input: number,\n inputMin: number,\n inputMax: number,\n outputMin: number,\n outputMax: number,\n easing: (input: number) => number,\n extrapolateLeft: ExtrapolateType,\n extrapolateRight: ExtrapolateType,\n) {\n let result = input;\n\n // Extrapolate\n if (result < inputMin) {\n if (extrapolateLeft === 'identity') {\n return result;\n } else if (extrapolateLeft === 'clamp') {\n result = inputMin;\n } else if (extrapolateLeft === 'extend') {\n // noop\n }\n }\n\n if (result > inputMax) {\n if (extrapolateRight === 'identity') {\n return result;\n } else if (extrapolateRight === 'clamp') {\n result = inputMax;\n } else if (extrapolateRight === 'extend') {\n // noop\n }\n }\n\n if (outputMin === outputMax) {\n return outputMin;\n }\n\n if (inputMin === inputMax) {\n if (input <= inputMin) {\n return outputMin;\n }\n return outputMax;\n }\n\n // Input Range\n if (inputMin === -Infinity) {\n result = -result;\n } else if (inputMax === Infinity) {\n result = result - inputMin;\n } else {\n result = (result - inputMin) / (inputMax - inputMin);\n }\n\n // Easing\n result = easing(result);\n\n // Output Range\n if (outputMin === -Infinity) {\n result = -result;\n } else if (outputMax === Infinity) {\n result = result + outputMin;\n } else {\n result = result * (outputMax - outputMin) + outputMin;\n }\n\n return result;\n}\n\nfunction colorToRgba(input: string): string {\n let normalizedColor = normalizeColor(input);\n if (normalizedColor === null || typeof normalizedColor !== 'number') {\n return input;\n }\n\n normalizedColor = normalizedColor || 0;\n\n const r = (normalizedColor & 0xff000000) >>> 24;\n const g = (normalizedColor & 0x00ff0000) >>> 16;\n const b = (normalizedColor & 0x0000ff00) >>> 8;\n const a = (normalizedColor & 0x000000ff) / 255;\n\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n}\n\nconst stringShapeRegex = /[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\\d+)?/g;\n\n/**\n * Supports string shapes by extracting numbers so new values can be computed,\n * and recombines those values into new strings of the same shape. Supports\n * things like:\n *\n * rgba(123, 42, 99, 0.36) // colors\n * -45deg // values with units\n */\nfunction createInterpolationFromStringOutputRange(\n config: InterpolationConfigType,\n): (input: number) => string {\n let outputRange: Array = (config.outputRange: any);\n invariant(outputRange.length >= 2, 'Bad output range');\n outputRange = outputRange.map(colorToRgba);\n checkPattern(outputRange);\n\n // ['rgba(0, 100, 200, 0)', 'rgba(50, 150, 250, 0.5)']\n // ->\n // [\n // [0, 50],\n // [100, 150],\n // [200, 250],\n // [0, 0.5],\n // ]\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n const outputRanges = outputRange[0].match(stringShapeRegex).map(() => []);\n outputRange.forEach(value => {\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `value.match()` can return\n * `null`. Need to guard against this possibility. */\n value.match(stringShapeRegex).forEach((number, i) => {\n outputRanges[i].push(+number);\n });\n });\n\n const interpolations = outputRange[0]\n .match(stringShapeRegex)\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n /* $FlowFixMe[incompatible-call] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n .map((value, i) => {\n return createInterpolation({\n ...config,\n outputRange: outputRanges[i],\n });\n });\n\n // rgba requires that the r,g,b are integers.... so we want to round them, but we *dont* want to\n // round the opacity (4th column).\n const shouldRound = isRgbOrRgba(outputRange[0]);\n\n return input => {\n let i = 0;\n // 'rgba(0, 100, 200, 0)'\n // ->\n // 'rgba(${interpolations[0](input)}, ${interpolations[1](input)}, ...'\n return outputRange[0].replace(stringShapeRegex, () => {\n let val = +interpolations[i++](input);\n if (shouldRound) {\n val = i < 4 ? Math.round(val) : Math.round(val * 1000) / 1000;\n }\n return String(val);\n });\n };\n}\n\nfunction isRgbOrRgba(range) {\n return typeof range === 'string' && range.startsWith('rgb');\n}\n\nfunction checkPattern(arr: $ReadOnlyArray) {\n const pattern = arr[0].replace(stringShapeRegex, '');\n for (let i = 1; i < arr.length; ++i) {\n invariant(\n pattern === arr[i].replace(stringShapeRegex, ''),\n 'invalid pattern ' + arr[0] + ' and ' + arr[i],\n );\n }\n}\n\nfunction findRange(input: number, inputRange: $ReadOnlyArray) {\n let i;\n for (i = 1; i < inputRange.length - 1; ++i) {\n if (inputRange[i] >= input) {\n break;\n }\n }\n return i - 1;\n}\n\nfunction checkValidInputRange(arr: $ReadOnlyArray) {\n invariant(arr.length >= 2, 'inputRange must have at least 2 elements');\n for (let i = 1; i < arr.length; ++i) {\n invariant(\n arr[i] >= arr[i - 1],\n /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression\n * below this comment, one or both of the operands may be something that\n * doesn't cleanly convert to a string, like undefined, null, and object,\n * etc. If you really mean this implicit string conversion, you can do\n * something like String(myThing) */\n 'inputRange must be monotonically non-decreasing ' + arr,\n );\n }\n}\n\nfunction checkInfiniteRange(name: string, arr: $ReadOnlyArray) {\n invariant(arr.length >= 2, name + ' must have at least 2 elements');\n invariant(\n arr.length !== 2 || arr[0] !== -Infinity || arr[1] !== Infinity,\n /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression\n * below this comment, one or both of the operands may be something that\n * doesn't cleanly convert to a string, like undefined, null, and object,\n * etc. If you really mean this implicit string conversion, you can do\n * something like String(myThing) */\n name + 'cannot be ]-infinity;+infinity[ ' + arr,\n );\n}\n\nclass AnimatedInterpolation extends AnimatedWithChildren {\n // Export for testing.\n static __createInterpolation: (\n config: InterpolationConfigType,\n ) => (input: number) => number | string = createInterpolation;\n\n _parent: AnimatedNode;\n _config: InterpolationConfigType;\n _interpolation: (input: number) => number | string;\n\n constructor(parent: AnimatedNode, config: InterpolationConfigType) {\n super();\n this._parent = parent;\n this._config = config;\n this._interpolation = createInterpolation(config);\n }\n\n __makeNative() {\n this._parent.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number | string {\n const parentValue: number = this._parent.__getValue();\n invariant(\n typeof parentValue === 'number',\n 'Cannot interpolate an input which is not a number.',\n );\n return this._interpolation(parentValue);\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n __transformDataType(range: Array): Array {\n return range.map(NativeAnimatedHelper.transformDataType);\n }\n\n __getNativeConfig(): any {\n if (__DEV__) {\n NativeAnimatedHelper.validateInterpolation(this._config);\n }\n\n return {\n inputRange: this._config.inputRange,\n // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here\n /* $FlowFixMe[incompatible-call] (>=0.38.0) - Flow error detected during\n * the deployment of v0.38.0. To see the error, remove this comment and\n * run flow */\n outputRange: this.__transformDataType(this._config.outputRange),\n extrapolateLeft:\n this._config.extrapolateLeft || this._config.extrapolate || 'extend',\n extrapolateRight:\n this._config.extrapolateRight || this._config.extrapolate || 'extend',\n type: 'interpolation',\n };\n }\n}\n\nmodule.exports = AnimatedInterpolation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\nconst invariant = require('invariant');\n\ntype ValueListenerCallback = (state: {value: number, ...}) => mixed;\n\nlet _uniqueId = 1;\n\n// Note(vjeux): this would be better as an interface but flow doesn't\n// support them yet\nclass AnimatedNode {\n _listeners: {[key: string]: ValueListenerCallback, ...};\n __nativeAnimatedValueListener: ?any;\n __attach(): void {}\n __detach(): void {\n if (this.__isNative && this.__nativeTag != null) {\n NativeAnimatedHelper.API.dropAnimatedNode(this.__nativeTag);\n this.__nativeTag = undefined;\n }\n }\n __getValue(): any {}\n __getAnimatedValue(): any {\n return this.__getValue();\n }\n __addChild(child: AnimatedNode) {}\n __removeChild(child: AnimatedNode) {}\n __getChildren(): Array {\n return [];\n }\n\n /* Methods and props used by native Animated impl */\n __isNative: boolean;\n __nativeTag: ?number;\n __shouldUpdateListenersForNewNativeTag: boolean;\n\n constructor() {\n this._listeners = {};\n }\n\n __makeNative() {\n if (!this.__isNative) {\n throw new Error('This node cannot be made a \"native\" animated node');\n }\n\n if (this.hasListeners()) {\n this._startListeningToNativeValueUpdates();\n }\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to\n * synchronously read the value because it might be driven natively.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#addlistener\n */\n addListener(callback: (value: any) => mixed): string {\n const id = String(_uniqueId++);\n this._listeners[id] = callback;\n if (this.__isNative) {\n this._startListeningToNativeValueUpdates();\n }\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#removelistener\n */\n removeListener(id: string): void {\n delete this._listeners[id];\n if (this.__isNative && !this.hasListeners()) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n /**\n * Remove all registered listeners.\n *\n * See https://reactnative.dev/docs/animatedvalue.html#removealllisteners\n */\n removeAllListeners(): void {\n this._listeners = {};\n if (this.__isNative) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n hasListeners(): boolean {\n return !!Object.keys(this._listeners).length;\n }\n\n _startListeningToNativeValueUpdates() {\n if (\n this.__nativeAnimatedValueListener &&\n !this.__shouldUpdateListenersForNewNativeTag\n ) {\n return;\n }\n\n if (this.__shouldUpdateListenersForNewNativeTag) {\n this.__shouldUpdateListenersForNewNativeTag = false;\n this._stopListeningForNativeValueUpdates();\n }\n\n NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag());\n this.__nativeAnimatedValueListener = NativeAnimatedHelper.nativeEventEmitter.addListener(\n 'onAnimatedValueUpdate',\n data => {\n if (data.tag !== this.__getNativeTag()) {\n return;\n }\n this._onAnimatedValueUpdateReceived(data.value);\n },\n );\n }\n\n _onAnimatedValueUpdateReceived(value: number) {\n this.__callListeners(value);\n }\n\n __callListeners(value: number): void {\n for (const key in this._listeners) {\n this._listeners[key]({value});\n }\n }\n\n _stopListeningForNativeValueUpdates() {\n if (!this.__nativeAnimatedValueListener) {\n return;\n }\n\n this.__nativeAnimatedValueListener.remove();\n this.__nativeAnimatedValueListener = null;\n NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag());\n }\n\n __getNativeTag(): number {\n NativeAnimatedHelper.assertNativeAnimatedModule();\n invariant(\n this.__isNative,\n 'Attempt to get native tag from node not marked as \"native\"',\n );\n\n const nativeTag =\n this.__nativeTag ?? NativeAnimatedHelper.generateNewNodeTag();\n\n if (this.__nativeTag == null) {\n this.__nativeTag = nativeTag;\n NativeAnimatedHelper.API.createAnimatedNode(\n nativeTag,\n this.__getNativeConfig(),\n );\n this.__shouldUpdateListenersForNewNativeTag = true;\n }\n\n return nativeTag;\n }\n __getNativeConfig(): Object {\n throw new Error(\n 'This JS animated node type cannot be used as native animated node',\n );\n }\n toJSON(): any {\n return this.__getValue();\n }\n}\n\nmodule.exports = AnimatedNode;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport NativeAnimatedNonTurboModule from './NativeAnimatedModule';\nimport NativeAnimatedTurboModule from './NativeAnimatedTurboModule';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport Platform from '../Utilities/Platform';\nimport type {EventConfig} from './AnimatedEvent';\nimport type {\n EventMapping,\n AnimatedNodeConfig,\n AnimatingNodeConfig,\n} from './NativeAnimatedModule';\nimport type {AnimationConfig, EndCallback} from './animations/Animation';\nimport type {InterpolationConfigType} from './nodes/AnimatedInterpolation';\nimport invariant from 'invariant';\n\n// TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%.\nconst NativeAnimatedModule =\n Platform.OS === 'ios' && global.RN$Bridgeless\n ? NativeAnimatedTurboModule\n : NativeAnimatedNonTurboModule;\n\nlet __nativeAnimatedNodeTagCount = 1; /* used for animated nodes */\nlet __nativeAnimationIdCount = 1; /* used for started animations */\n\nlet nativeEventEmitter;\n\nlet waitingForQueuedOperations = new Set();\nlet queueOperations = false;\nlet queue: Array<() => void> = [];\n\n/**\n * Simple wrappers around NativeAnimatedModule to provide flow and autocomplete support for\n * the native module methods\n */\nconst API = {\n getValue: function(\n tag: number,\n saveValueCallback: (value: number) => void,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() => {\n NativeAnimatedModule.getValue(tag, saveValueCallback);\n });\n },\n setWaitingForIdentifier: function(id: string): void {\n waitingForQueuedOperations.add(id);\n queueOperations = true;\n },\n unsetWaitingForIdentifier: function(id: string): void {\n waitingForQueuedOperations.delete(id);\n\n if (waitingForQueuedOperations.size === 0) {\n queueOperations = false;\n API.disableQueue();\n }\n },\n disableQueue: function(): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n\n if (Platform.OS === 'android') {\n NativeAnimatedModule.startOperationBatch();\n }\n for (let q = 0, l = queue.length; q < l; q++) {\n queue[q]();\n }\n queue.length = 0;\n if (Platform.OS === 'android') {\n NativeAnimatedModule.finishOperationBatch();\n }\n },\n queueOperation: (fn: () => void): void => {\n if (queueOperations) {\n queue.push(fn);\n } else {\n fn();\n }\n },\n createAnimatedNode: function(tag: number, config: AnimatedNodeConfig): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.createAnimatedNode(tag, config),\n );\n },\n startListeningToAnimatedNodeValue: function(tag: number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.startListeningToAnimatedNodeValue(tag),\n );\n },\n stopListeningToAnimatedNodeValue: function(tag: number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.stopListeningToAnimatedNodeValue(tag),\n );\n },\n connectAnimatedNodes: function(parentTag: number, childTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.connectAnimatedNodes(parentTag, childTag),\n );\n },\n disconnectAnimatedNodes: function(parentTag: number, childTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.disconnectAnimatedNodes(parentTag, childTag),\n );\n },\n startAnimatingNode: function(\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.startAnimatingNode(\n animationId,\n nodeTag,\n config,\n endCallback,\n ),\n );\n },\n stopAnimation: function(animationId: number) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() => NativeAnimatedModule.stopAnimation(animationId));\n },\n setAnimatedNodeValue: function(nodeTag: number, value: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.setAnimatedNodeValue(nodeTag, value),\n );\n },\n setAnimatedNodeOffset: function(nodeTag: number, offset: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.setAnimatedNodeOffset(nodeTag, offset),\n );\n },\n flattenAnimatedNodeOffset: function(nodeTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.flattenAnimatedNodeOffset(nodeTag),\n );\n },\n extractAnimatedNodeOffset: function(nodeTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.extractAnimatedNodeOffset(nodeTag),\n );\n },\n connectAnimatedNodeToView: function(nodeTag: number, viewTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.connectAnimatedNodeToView(nodeTag, viewTag),\n );\n },\n disconnectAnimatedNodeFromView: function(\n nodeTag: number,\n viewTag: number,\n ): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.disconnectAnimatedNodeFromView(nodeTag, viewTag),\n );\n },\n restoreDefaultValues: function(nodeTag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n // Backwards compat with older native runtimes, can be removed later.\n if (NativeAnimatedModule.restoreDefaultValues != null) {\n API.queueOperation(() =>\n NativeAnimatedModule.restoreDefaultValues(nodeTag),\n );\n }\n },\n dropAnimatedNode: function(tag: number): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() => NativeAnimatedModule.dropAnimatedNode(tag));\n },\n addAnimatedEventToView: function(\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.addAnimatedEventToView(\n viewTag,\n eventName,\n eventMapping,\n ),\n );\n },\n removeAnimatedEventFromView(\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n API.queueOperation(() =>\n NativeAnimatedModule.removeAnimatedEventFromView(\n viewTag,\n eventName,\n animatedNodeTag,\n ),\n );\n },\n};\n\n/**\n * Styles allowed by the native animated implementation.\n *\n * In general native animated implementation should support any numeric property that doesn't need\n * to be updated through the shadow view hierarchy (all non-layout properties).\n */\nconst SUPPORTED_STYLES = {\n opacity: true,\n transform: true,\n borderRadius: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n elevation: true,\n zIndex: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\nconst SUPPORTED_TRANSFORMS = {\n translateX: true,\n translateY: true,\n scale: true,\n scaleX: true,\n scaleY: true,\n rotate: true,\n rotateX: true,\n rotateY: true,\n rotateZ: true,\n perspective: true,\n};\n\nconst SUPPORTED_INTERPOLATION_PARAMS = {\n inputRange: true,\n outputRange: true,\n extrapolate: true,\n extrapolateRight: true,\n extrapolateLeft: true,\n};\n\nfunction addWhitelistedStyleProp(prop: string): void {\n SUPPORTED_STYLES[prop] = true;\n}\n\nfunction addWhitelistedTransformProp(prop: string): void {\n SUPPORTED_TRANSFORMS[prop] = true;\n}\n\nfunction addWhitelistedInterpolationParam(param: string): void {\n SUPPORTED_INTERPOLATION_PARAMS[param] = true;\n}\n\nfunction validateTransform(\n configs: Array<\n | {\n type: 'animated',\n property: string,\n nodeTag: ?number,\n ...\n }\n | {\n type: 'static',\n property: string,\n value: number | string,\n ...\n },\n >,\n): void {\n configs.forEach(config => {\n if (!SUPPORTED_TRANSFORMS.hasOwnProperty(config.property)) {\n throw new Error(\n `Property '${config.property}' is not supported by native animated module`,\n );\n }\n });\n}\n\nfunction validateStyles(styles: {[key: string]: ?number, ...}): void {\n for (const key in styles) {\n if (!SUPPORTED_STYLES.hasOwnProperty(key)) {\n throw new Error(\n `Style property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction validateInterpolation(config: InterpolationConfigType): void {\n for (const key in config) {\n if (!SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(key)) {\n throw new Error(\n `Interpolation property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction generateNewNodeTag(): number {\n return __nativeAnimatedNodeTagCount++;\n}\n\nfunction generateNewAnimationId(): number {\n return __nativeAnimationIdCount++;\n}\n\nfunction assertNativeAnimatedModule(): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n}\n\nlet _warnedMissingNativeAnimated = false;\n\nfunction shouldUseNativeDriver(\n config: {...AnimationConfig, ...} | EventConfig,\n): boolean {\n if (config.useNativeDriver == null) {\n console.warn(\n 'Animated: `useNativeDriver` was not specified. This is a required ' +\n 'option and must be explicitly set to `true` or `false`',\n );\n }\n\n if (config.useNativeDriver === true && !NativeAnimatedModule) {\n if (!_warnedMissingNativeAnimated) {\n console.warn(\n 'Animated: `useNativeDriver` is not supported because the native ' +\n 'animated module is missing. Falling back to JS-based animation. To ' +\n 'resolve this, add `RCTAnimation` module to this app, or remove ' +\n '`useNativeDriver`. ' +\n 'Make sure to run `pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md',\n );\n _warnedMissingNativeAnimated = true;\n }\n return false;\n }\n\n return config.useNativeDriver || false;\n}\n\nfunction transformDataType(value: number | string): number | string {\n // Change the string type to number type so we can reuse the same logic in\n // iOS and Android platform\n if (typeof value !== 'string') {\n return value;\n }\n if (/deg$/.test(value)) {\n const degrees = parseFloat(value) || 0;\n const radians = (degrees * Math.PI) / 180.0;\n return radians;\n } else {\n return value;\n }\n}\n\nmodule.exports = {\n API,\n addWhitelistedStyleProp,\n addWhitelistedTransformProp,\n addWhitelistedInterpolationParam,\n validateStyles,\n validateTransform,\n validateInterpolation,\n generateNewNodeTag,\n generateNewAnimationId,\n assertNativeAnimatedModule,\n shouldUseNativeDriver,\n transformDataType,\n // $FlowExpectedError[unsafe-getters-setters] - unsafe getter lint suppresion\n // $FlowExpectedError[missing-type-arg] - unsafe getter lint suppresion\n get nativeEventEmitter(): NativeEventEmitter {\n if (!nativeEventEmitter) {\n nativeEventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAnimatedModule,\n );\n }\n return nativeEventEmitter;\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype EndResult = {finished: boolean, ...};\ntype EndCallback = (result: EndResult) => void;\ntype SaveValueCallback = (value: number) => void;\n\nexport type EventMapping = {|\n nativeEventPath: Array,\n animatedValueTag: ?number,\n|};\n\n// The config has different keys depending on the type of the Node\n// TODO(T54896888): Make these types strict\nexport type AnimatedNodeConfig = Object;\nexport type AnimatingNodeConfig = Object;\n\nexport interface Spec extends TurboModule {\n +startOperationBatch: () => void;\n +finishOperationBatch: () => void;\n +createAnimatedNode: (tag: number, config: AnimatedNodeConfig) => void;\n +getValue: (tag: number, saveValueCallback: SaveValueCallback) => void;\n +startListeningToAnimatedNodeValue: (tag: number) => void;\n +stopListeningToAnimatedNodeValue: (tag: number) => void;\n +connectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +disconnectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +startAnimatingNode: (\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ) => void;\n +stopAnimation: (animationId: number) => void;\n +setAnimatedNodeValue: (nodeTag: number, value: number) => void;\n +setAnimatedNodeOffset: (nodeTag: number, offset: number) => void;\n +flattenAnimatedNodeOffset: (nodeTag: number) => void;\n +extractAnimatedNodeOffset: (nodeTag: number) => void;\n +connectAnimatedNodeToView: (nodeTag: number, viewTag: number) => void;\n +disconnectAnimatedNodeFromView: (nodeTag: number, viewTag: number) => void;\n +restoreDefaultValues: (nodeTag: number) => void;\n +dropAnimatedNode: (tag: number) => void;\n +addAnimatedEventToView: (\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) => void;\n +removeAnimatedEventFromView: (\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('NativeAnimatedModule'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype EndResult = {finished: boolean, ...};\ntype EndCallback = (result: EndResult) => void;\ntype SaveValueCallback = (value: number) => void;\n\nexport type EventMapping = {|\n nativeEventPath: Array,\n animatedValueTag: ?number,\n|};\n\n// The config has different keys depending on the type of the Node\n// TODO(T54896888): Make these types strict\nexport type AnimatedNodeConfig = Object;\nexport type AnimatingNodeConfig = Object;\n\nexport interface Spec extends TurboModule {\n +startOperationBatch: () => void;\n +finishOperationBatch: () => void;\n +createAnimatedNode: (tag: number, config: AnimatedNodeConfig) => void;\n +getValue: (tag: number, saveValueCallback: SaveValueCallback) => void;\n +startListeningToAnimatedNodeValue: (tag: number) => void;\n +stopListeningToAnimatedNodeValue: (tag: number) => void;\n +connectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +disconnectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +startAnimatingNode: (\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ) => void;\n +stopAnimation: (animationId: number) => void;\n +setAnimatedNodeValue: (nodeTag: number, value: number) => void;\n +setAnimatedNodeOffset: (nodeTag: number, offset: number) => void;\n +flattenAnimatedNodeOffset: (nodeTag: number) => void;\n +extractAnimatedNodeOffset: (nodeTag: number) => void;\n +connectAnimatedNodeToView: (nodeTag: number, viewTag: number) => void;\n +disconnectAnimatedNodeFromView: (nodeTag: number, viewTag: number) => void;\n +restoreDefaultValues: (nodeTag: number) => void;\n +dropAnimatedNode: (tag: number) => void;\n +addAnimatedEventToView: (\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) => void;\n +removeAnimatedEventFromView: (\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'NativeAnimatedTurboModule',\n): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nclass AnimatedWithChildren extends AnimatedNode {\n _children: Array;\n\n constructor() {\n super();\n this._children = [];\n }\n\n __makeNative() {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const child of this._children) {\n child.__makeNative();\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n super.__makeNative();\n }\n\n __addChild(child: AnimatedNode): void {\n if (this._children.length === 0) {\n this.__attach();\n }\n this._children.push(child);\n if (this.__isNative) {\n // Only accept \"native\" animated nodes as children\n child.__makeNative();\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n\n __removeChild(child: AnimatedNode): void {\n const index = this._children.indexOf(child);\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n if (this.__isNative && child.__isNative) {\n NativeAnimatedHelper.API.disconnectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n this._children.splice(index, 1);\n if (this._children.length === 0) {\n this.__detach();\n }\n }\n\n __getChildren(): Array {\n return this._children;\n }\n\n __callListeners(value: number): void {\n super.__callListeners(value);\n if (!this.__isNative) {\n for (const child of this._children) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n if (child.__getValue) {\n child.__callListeners(child.__getValue());\n }\n }\n }\n }\n}\n\nmodule.exports = AnimatedWithChildren;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\nconst TaskQueue = require('./TaskQueue');\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\n\nexport type Handle = number;\nimport type {Task} from './TaskQueue';\n\nconst _emitter = new EventEmitter<{\n interactionComplete: [],\n interactionStart: [],\n}>();\n\nconst DEBUG_DELAY: 0 = 0;\nconst DEBUG: false = false;\n\n/**\n * InteractionManager allows long-running work to be scheduled after any\n * interactions/animations have completed. In particular, this allows JavaScript\n * animations to run smoothly.\n *\n * Applications can schedule tasks to run after interactions with the following:\n *\n * ```\n * InteractionManager.runAfterInteractions(() => {\n * // ...long-running synchronous task...\n * });\n * ```\n *\n * Compare this to other scheduling alternatives:\n *\n * - requestAnimationFrame(): for code that animates a view over time.\n * - setImmediate/setTimeout(): run code later, note this may delay animations.\n * - runAfterInteractions(): run code later, without delaying active animations.\n *\n * The touch handling system considers one or more active touches to be an\n * 'interaction' and will delay `runAfterInteractions()` callbacks until all\n * touches have ended or been cancelled.\n *\n * InteractionManager also allows applications to register animations by\n * creating an interaction 'handle' on animation start, and clearing it upon\n * completion:\n *\n * ```\n * var handle = InteractionManager.createInteractionHandle();\n * // run animation... (`runAfterInteractions` tasks are queued)\n * // later, on animation completion:\n * InteractionManager.clearInteractionHandle(handle);\n * // queued tasks run if all handles were cleared\n * ```\n *\n * `runAfterInteractions` takes either a plain callback function, or a\n * `PromiseTask` object with a `gen` method that returns a `Promise`. If a\n * `PromiseTask` is supplied, then it is fully resolved (including asynchronous\n * dependencies that also schedule more tasks via `runAfterInteractions`) before\n * starting on the next task that might have been queued up synchronously\n * earlier.\n *\n * By default, queued tasks are executed together in a loop in one\n * `setImmediate` batch. If `setDeadline` is called with a positive number, then\n * tasks will only be executed until the deadline (in terms of js event loop run\n * time) approaches, at which point execution will yield via setTimeout,\n * allowing events such as touches to start interactions and block queued tasks\n * from executing, making apps more responsive.\n */\nconst InteractionManager = {\n Events: {\n interactionStart: 'interactionStart',\n interactionComplete: 'interactionComplete',\n },\n\n /**\n * Schedule a function to run after all interactions have completed. Returns a cancellable\n * \"promise\".\n */\n runAfterInteractions(\n task: ?Task,\n ): {\n then: (\n onFulfill?: ?(void) => ?(Promise | U),\n onReject?: ?(error: mixed) => ?(Promise | U),\n ) => Promise,\n done: () => void,\n cancel: () => void,\n ...\n } {\n const tasks: Array = [];\n const promise = new Promise((resolve: () => void) => {\n _scheduleUpdate();\n if (task) {\n tasks.push(task);\n }\n tasks.push({\n run: resolve,\n name: 'resolve ' + ((task && task.name) || '?'),\n });\n _taskQueue.enqueueTasks(tasks);\n });\n return {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n then: promise.then.bind(promise),\n done: (...args) => {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n if (promise.done) {\n return promise.done(...args);\n } else {\n console.warn(\n 'Tried to call done when not supported by current Promise implementation.',\n );\n }\n },\n cancel: function() {\n _taskQueue.cancelTasks(tasks);\n },\n };\n },\n\n /**\n * Notify manager that an interaction has started.\n */\n createInteractionHandle(): Handle {\n DEBUG && infoLog('InteractionManager: create interaction handle');\n _scheduleUpdate();\n const handle = ++_inc;\n _addInteractionSet.add(handle);\n return handle;\n },\n\n /**\n * Notify manager that an interaction has completed.\n */\n clearInteractionHandle(handle: Handle) {\n DEBUG && infoLog('InteractionManager: clear interaction handle');\n invariant(!!handle, 'InteractionManager: Must provide a handle to clear.');\n _scheduleUpdate();\n _addInteractionSet.delete(handle);\n _deleteInteractionSet.add(handle);\n },\n\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n addListener: (_emitter.addListener.bind(_emitter): $FlowFixMe),\n\n /**\n * A positive number will use setTimeout to schedule any tasks after the\n * eventLoopRunningTime hits the deadline value, otherwise all tasks will be\n * executed in one setImmediate batch (default).\n */\n setDeadline(deadline: number) {\n _deadline = deadline;\n },\n};\n\nconst _interactionSet = new Set();\nconst _addInteractionSet = new Set();\nconst _deleteInteractionSet = new Set();\nconst _taskQueue = new TaskQueue({onMoreTasks: _scheduleUpdate});\nlet _nextUpdateHandle = 0;\nlet _inc = 0;\nlet _deadline = -1;\n\n/**\n * Schedule an asynchronous update to the interaction state.\n */\nfunction _scheduleUpdate() {\n if (!_nextUpdateHandle) {\n if (_deadline > 0) {\n _nextUpdateHandle = setTimeout(_processUpdate, 0 + DEBUG_DELAY);\n } else {\n _nextUpdateHandle = setImmediate(_processUpdate);\n }\n }\n}\n\n/**\n * Notify listeners, process queue, etc\n */\nfunction _processUpdate() {\n _nextUpdateHandle = 0;\n\n const interactionCount = _interactionSet.size;\n _addInteractionSet.forEach(handle => _interactionSet.add(handle));\n _deleteInteractionSet.forEach(handle => _interactionSet.delete(handle));\n const nextInteractionCount = _interactionSet.size;\n\n if (interactionCount !== 0 && nextInteractionCount === 0) {\n // transition from 1+ --> 0 interactions\n _emitter.emit(InteractionManager.Events.interactionComplete);\n } else if (interactionCount === 0 && nextInteractionCount !== 0) {\n // transition from 0 --> 1+ interactions\n _emitter.emit(InteractionManager.Events.interactionStart);\n }\n\n // process the queue regardless of a transition\n if (nextInteractionCount === 0) {\n while (_taskQueue.hasTasksToProcess()) {\n _taskQueue.processNext();\n if (\n _deadline > 0 &&\n BatchedBridge.getEventLoopRunningTime() >= _deadline\n ) {\n // Hit deadline before processing all tasks, so process more later.\n _scheduleUpdate();\n break;\n }\n }\n }\n _addInteractionSet.clear();\n _deleteInteractionSet.clear();\n}\n\nmodule.exports = InteractionManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\n\ntype SimpleTask = {\n name: string,\n run: () => void,\n};\ntype PromiseTask = {\n name: string,\n gen: () => Promise,\n};\nexport type Task = SimpleTask | PromiseTask | (() => void);\n\nconst DEBUG: false = false;\n\n/**\n * TaskQueue - A system for queueing and executing a mix of simple callbacks and\n * trees of dependent tasks based on Promises. No tasks are executed unless\n * `processNext` is called.\n *\n * `enqueue` takes a Task object with either a simple `run` callback, or a\n * `gen` function that returns a `Promise` and puts it in the queue. If a gen\n * function is supplied, then the promise it returns will block execution of\n * tasks already in the queue until it resolves. This can be used to make sure\n * the first task is fully resolved (including asynchronous dependencies that\n * also schedule more tasks via `enqueue`) before starting on the next task.\n * The `onMoreTasks` constructor argument is used to inform the owner that an\n * async task has resolved and that the queue should be processed again.\n *\n * Note: Tasks are only actually executed with explicit calls to `processNext`.\n */\nclass TaskQueue {\n /**\n * TaskQueue instances are self contained and independent, so multiple tasks\n * of varying semantics and priority can operate together.\n *\n * `onMoreTasks` is invoked when `PromiseTask`s resolve if there are more\n * tasks to process.\n */\n constructor({onMoreTasks}: {onMoreTasks: () => void, ...}) {\n this._onMoreTasks = onMoreTasks;\n this._queueStack = [{tasks: [], popable: false}];\n }\n\n /**\n * Add a task to the queue. It is recommended to name your tasks for easier\n * async debugging. Tasks will not be executed until `processNext` is called\n * explicitly.\n */\n enqueue(task: Task): void {\n this._getCurrentQueue().push(task);\n }\n\n enqueueTasks(tasks: Array): void {\n tasks.forEach(task => this.enqueue(task));\n }\n\n cancelTasks(tasksToCancel: Array): void {\n // search through all tasks and remove them.\n this._queueStack = this._queueStack\n .map(queue => ({\n ...queue,\n tasks: queue.tasks.filter(task => tasksToCancel.indexOf(task) === -1),\n }))\n .filter((queue, idx) => queue.tasks.length > 0 || idx === 0);\n }\n\n /**\n * Check to see if `processNext` should be called.\n *\n * @returns {boolean} Returns true if there are tasks that are ready to be\n * processed with `processNext`, or returns false if there are no more tasks\n * to be processed right now, although there may be tasks in the queue that\n * are blocked by earlier `PromiseTask`s that haven't resolved yet.\n * `onMoreTasks` will be called after each `PromiseTask` resolves if there are\n * tasks ready to run at that point.\n */\n hasTasksToProcess(): boolean {\n return this._getCurrentQueue().length > 0;\n }\n\n /**\n * Executes the next task in the queue.\n */\n processNext(): void {\n const queue = this._getCurrentQueue();\n if (queue.length) {\n const task = queue.shift();\n try {\n if (typeof task === 'object' && task.gen) {\n DEBUG && infoLog('TaskQueue: genPromise for task ' + task.name);\n this._genPromise(task);\n } else if (typeof task === 'object' && task.run) {\n DEBUG && infoLog('TaskQueue: run task ' + task.name);\n task.run();\n } else {\n invariant(\n typeof task === 'function',\n 'Expected Function, SimpleTask, or PromiseTask, but got:\\n' +\n JSON.stringify(task, null, 2),\n );\n DEBUG && infoLog('TaskQueue: run anonymous task');\n task();\n }\n } catch (e) {\n e.message =\n 'TaskQueue: Error with task ' + (task.name || '') + ': ' + e.message;\n throw e;\n }\n }\n }\n\n _queueStack: Array<{\n tasks: Array,\n popable: boolean,\n ...\n }>;\n _onMoreTasks: () => void;\n\n _getCurrentQueue(): Array {\n const stackIdx = this._queueStack.length - 1;\n const queue = this._queueStack[stackIdx];\n if (\n queue.popable &&\n queue.tasks.length === 0 &&\n this._queueStack.length > 1\n ) {\n this._queueStack.pop();\n DEBUG &&\n infoLog('TaskQueue: popped queue: ', {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n return this._getCurrentQueue();\n } else {\n return queue.tasks;\n }\n }\n\n _genPromise(task: PromiseTask) {\n // Each async task pushes it's own queue onto the queue stack. This\n // effectively defers execution of previously queued tasks until the promise\n // resolves, at which point we allow the new queue to be popped, which\n // happens once it is fully processed.\n this._queueStack.push({tasks: [], popable: false});\n const stackIdx = this._queueStack.length - 1;\n const stackItem = this._queueStack[stackIdx];\n DEBUG && infoLog('TaskQueue: push new queue: ', {stackIdx});\n DEBUG && infoLog('TaskQueue: exec gen task ' + task.name);\n task\n .gen()\n .then(() => {\n DEBUG &&\n infoLog('TaskQueue: onThen for gen task ' + task.name, {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n stackItem.popable = true;\n this.hasTasksToProcess() && this._onMoreTasks();\n })\n .catch(ex => {\n ex.message = `TaskQueue: Error resolving Promise in task ${task.name}: ${ex.message}`;\n throw ex;\n })\n .done();\n }\n}\n\nmodule.exports = TaskQueue;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst {AnimatedEvent, attachNativeEvent} = require('./AnimatedEvent');\nconst AnimatedAddition = require('./nodes/AnimatedAddition');\nconst AnimatedDiffClamp = require('./nodes/AnimatedDiffClamp');\nconst AnimatedDivision = require('./nodes/AnimatedDivision');\nconst AnimatedInterpolation = require('./nodes/AnimatedInterpolation');\nconst AnimatedModulo = require('./nodes/AnimatedModulo');\nconst AnimatedMultiplication = require('./nodes/AnimatedMultiplication');\nconst AnimatedNode = require('./nodes/AnimatedNode');\nconst AnimatedProps = require('./nodes/AnimatedProps');\nconst AnimatedSubtraction = require('./nodes/AnimatedSubtraction');\nconst AnimatedTracking = require('./nodes/AnimatedTracking');\nconst AnimatedValue = require('./nodes/AnimatedValue');\nconst AnimatedValueXY = require('./nodes/AnimatedValueXY');\nconst DecayAnimation = require('./animations/DecayAnimation');\nconst SpringAnimation = require('./animations/SpringAnimation');\nconst TimingAnimation = require('./animations/TimingAnimation');\n\nconst createAnimatedComponent = require('./createAnimatedComponent');\n\nimport type {\n AnimationConfig,\n EndCallback,\n EndResult,\n} from './animations/Animation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\nimport type {Mapping, EventConfig} from './AnimatedEvent';\n\nexport type CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n ...\n};\n\nconst add = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedAddition {\n return new AnimatedAddition(a, b);\n};\n\nconst subtract = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedSubtraction {\n return new AnimatedSubtraction(a, b);\n};\n\nconst divide = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedDivision {\n return new AnimatedDivision(a, b);\n};\n\nconst multiply = function(\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedMultiplication {\n return new AnimatedMultiplication(a, b);\n};\n\nconst modulo = function(a: AnimatedNode, modulus: number): AnimatedModulo {\n return new AnimatedModulo(a, modulus);\n};\n\nconst diffClamp = function(\n a: AnimatedNode,\n min: number,\n max: number,\n): AnimatedDiffClamp {\n return new AnimatedDiffClamp(a, min, max);\n};\n\nconst _combineCallbacks = function(\n callback: ?EndCallback,\n config: {...AnimationConfig, ...},\n) {\n if (callback && config.onComplete) {\n return (...args) => {\n config.onComplete && config.onComplete(...args);\n callback && callback(...args);\n };\n } else {\n return callback || config.onComplete;\n }\n};\n\nconst maybeVectorAnim = function(\n value: AnimatedValue | AnimatedValueXY,\n config: Object,\n anim: (value: AnimatedValue, config: Object) => CompositeAnimation,\n): ?CompositeAnimation {\n if (value instanceof AnimatedValueXY) {\n const configX = {...config};\n const configY = {...config};\n for (const key in config) {\n const {x, y} = config[key];\n if (x !== undefined && y !== undefined) {\n configX[key] = x;\n configY[key] = y;\n }\n }\n const aX = anim((value: AnimatedValueXY).x, configX);\n const aY = anim((value: AnimatedValueXY).y, configY);\n // We use `stopTogether: false` here because otherwise tracking will break\n // because the second animation will get stopped before it can update.\n return parallel([aX, aY], {stopTogether: false});\n }\n return null;\n};\n\nconst spring = function(\n value: AnimatedValue | AnimatedValueXY,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: SpringAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n SpringAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new SpringAnimation(singleConfig), callback);\n }\n };\n return (\n maybeVectorAnim(value, config, spring) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst timing = function(\n value: AnimatedValue | AnimatedValueXY,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: TimingAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n TimingAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new TimingAnimation(singleConfig), callback);\n }\n };\n\n return (\n maybeVectorAnim(value, config, timing) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst decay = function(\n value: AnimatedValue | AnimatedValueXY,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n const start = function(\n animatedValue: AnimatedValue | AnimatedValueXY,\n configuration: DecayAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n singleValue.animate(new DecayAnimation(singleConfig), callback);\n };\n\n return (\n maybeVectorAnim(value, config, decay) || {\n start: function(callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function(): void {\n value.stopAnimation();\n },\n\n reset: function(): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function(iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function(): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst sequence = function(\n animations: Array,\n): CompositeAnimation {\n let current = 0;\n return {\n start: function(callback?: ?EndCallback) {\n const onComplete = function(result) {\n if (!result.finished) {\n callback && callback(result);\n return;\n }\n\n current++;\n\n if (current === animations.length) {\n callback && callback(result);\n return;\n }\n\n animations[current].start(onComplete);\n };\n\n if (animations.length === 0) {\n callback && callback({finished: true});\n } else {\n animations[current].start(onComplete);\n }\n },\n\n stop: function() {\n if (current < animations.length) {\n animations[current].stop();\n }\n },\n\n reset: function() {\n animations.forEach((animation, idx) => {\n if (idx <= current) {\n animation.reset();\n }\n });\n current = 0;\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.sequence animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return false;\n },\n };\n};\n\ntype ParallelConfig = {\n // If one is stopped, stop all. default: true\n stopTogether?: boolean,\n ...\n};\nconst parallel = function(\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n let doneCount = 0;\n // Make sure we only call stop() at most once for each animation\n const hasEnded = {};\n const stopTogether = !(config && config.stopTogether === false);\n\n const result = {\n start: function(callback?: ?EndCallback) {\n if (doneCount === animations.length) {\n callback && callback({finished: true});\n return;\n }\n\n animations.forEach((animation, idx) => {\n const cb = function(endResult) {\n hasEnded[idx] = true;\n doneCount++;\n if (doneCount === animations.length) {\n doneCount = 0;\n callback && callback(endResult);\n return;\n }\n\n if (!endResult.finished && stopTogether) {\n result.stop();\n }\n };\n\n if (!animation) {\n cb({finished: true});\n } else {\n animation.start(cb);\n }\n });\n },\n\n stop: function(): void {\n animations.forEach((animation, idx) => {\n !hasEnded[idx] && animation.stop();\n hasEnded[idx] = true;\n });\n },\n\n reset: function(): void {\n animations.forEach((animation, idx) => {\n animation.reset();\n hasEnded[idx] = false;\n doneCount = 0;\n });\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.parallel animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return false;\n },\n };\n\n return result;\n};\n\nconst delay = function(time: number): CompositeAnimation {\n // Would be nice to make a specialized implementation\n return timing(new AnimatedValue(0), {\n toValue: 0,\n delay: time,\n duration: 0,\n useNativeDriver: false,\n });\n};\n\nconst stagger = function(\n time: number,\n animations: Array,\n): CompositeAnimation {\n return parallel(\n animations.map((animation, i) => {\n return sequence([delay(time * i), animation]);\n }),\n );\n};\n\ntype LoopAnimationConfig = {\n iterations: number,\n resetBeforeIteration?: boolean,\n ...\n};\n\nconst loop = function(\n animation: CompositeAnimation,\n {iterations = -1, resetBeforeIteration = true}: LoopAnimationConfig = {},\n): CompositeAnimation {\n let isFinished = false;\n let iterationsSoFar = 0;\n return {\n start: function(callback?: ?EndCallback) {\n const restart = function(result: EndResult = {finished: true}): void {\n if (\n isFinished ||\n iterationsSoFar === iterations ||\n result.finished === false\n ) {\n callback && callback(result);\n } else {\n iterationsSoFar++;\n resetBeforeIteration && animation.reset();\n animation.start(restart);\n }\n };\n if (!animation || iterations === 0) {\n callback && callback({finished: true});\n } else {\n if (animation._isUsingNativeDriver()) {\n animation._startNativeLoop(iterations);\n } else {\n restart(); // Start looping recursively on the js thread\n }\n }\n },\n\n stop: function(): void {\n isFinished = true;\n animation.stop();\n },\n\n reset: function(): void {\n iterationsSoFar = 0;\n isFinished = false;\n animation.reset();\n },\n\n _startNativeLoop: function() {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.loop animations',\n );\n },\n\n _isUsingNativeDriver: function(): boolean {\n return animation._isUsingNativeDriver();\n },\n };\n};\n\nfunction forkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): AnimatedEvent | Function {\n if (!event) {\n return listener;\n } else if (event instanceof AnimatedEvent) {\n event.__addListener(listener);\n return event;\n } else {\n return (...args) => {\n typeof event === 'function' && event(...args);\n listener(...args);\n };\n }\n}\n\nfunction unforkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): void {\n if (event && event instanceof AnimatedEvent) {\n event.__removeListener(listener);\n }\n}\n\nconst event = function(\n argMapping: $ReadOnlyArray,\n config: EventConfig,\n): any {\n const animatedEvent = new AnimatedEvent(argMapping, config);\n if (animatedEvent.__isNative) {\n return animatedEvent;\n } else {\n return animatedEvent.__getHandler();\n }\n};\n\n/**\n * The `Animated` library is designed to make animations fluid, powerful, and\n * easy to build and maintain. `Animated` focuses on declarative relationships\n * between inputs and outputs, with configurable transforms in between, and\n * simple `start`/`stop` methods to control time-based animation execution.\n * If additional transforms are added, be sure to include them in\n * AnimatedMock.js as well.\n *\n * See https://reactnative.dev/docs/animated.html\n */\nmodule.exports = {\n /**\n * Standard value class for driving animations. Typically initialized with\n * `new Animated.Value(0);`\n *\n * See https://reactnative.dev/docs/animated.html#value\n */\n Value: AnimatedValue,\n /**\n * 2D value class for driving 2D animations, such as pan gestures.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html\n */\n ValueXY: AnimatedValueXY,\n /**\n * Exported to use the Interpolation type in flow.\n *\n * See https://reactnative.dev/docs/animated.html#interpolation\n */\n Interpolation: AnimatedInterpolation,\n /**\n * Exported for ease of type checking. All animated values derive from this\n * class.\n *\n * See https://reactnative.dev/docs/animated.html#node\n */\n Node: AnimatedNode,\n\n /**\n * Animates a value from an initial velocity to zero based on a decay\n * coefficient.\n *\n * See https://reactnative.dev/docs/animated.html#decay\n */\n decay,\n /**\n * Animates a value along a timed easing curve. The Easing module has tons of\n * predefined curves, or you can use your own function.\n *\n * See https://reactnative.dev/docs/animated.html#timing\n */\n timing,\n /**\n * Animates a value according to an analytical spring model based on\n * damped harmonic oscillation.\n *\n * See https://reactnative.dev/docs/animated.html#spring\n */\n spring,\n\n /**\n * Creates a new Animated value composed from two Animated values added\n * together.\n *\n * See https://reactnative.dev/docs/animated.html#add\n */\n add,\n\n /**\n * Creates a new Animated value composed by subtracting the second Animated\n * value from the first Animated value.\n *\n * See https://reactnative.dev/docs/animated.html#subtract\n */\n subtract,\n\n /**\n * Creates a new Animated value composed by dividing the first Animated value\n * by the second Animated value.\n *\n * See https://reactnative.dev/docs/animated.html#divide\n */\n divide,\n\n /**\n * Creates a new Animated value composed from two Animated values multiplied\n * together.\n *\n * See https://reactnative.dev/docs/animated.html#multiply\n */\n multiply,\n\n /**\n * Creates a new Animated value that is the (non-negative) modulo of the\n * provided Animated value.\n *\n * See https://reactnative.dev/docs/animated.html#modulo\n */\n modulo,\n\n /**\n * Create a new Animated value that is limited between 2 values. It uses the\n * difference between the last value so even if the value is far from the\n * bounds it will start changing when the value starts getting closer again.\n *\n * See https://reactnative.dev/docs/animated.html#diffclamp\n */\n diffClamp,\n\n /**\n * Starts an animation after the given delay.\n *\n * See https://reactnative.dev/docs/animated.html#delay\n */\n delay,\n /**\n * Starts an array of animations in order, waiting for each to complete\n * before starting the next. If the current running animation is stopped, no\n * following animations will be started.\n *\n * See https://reactnative.dev/docs/animated.html#sequence\n */\n sequence,\n /**\n * Starts an array of animations all at the same time. By default, if one\n * of the animations is stopped, they will all be stopped. You can override\n * this with the `stopTogether` flag.\n *\n * See https://reactnative.dev/docs/animated.html#parallel\n */\n parallel,\n /**\n * Array of animations may run in parallel (overlap), but are started in\n * sequence with successive delays. Nice for doing trailing effects.\n *\n * See https://reactnative.dev/docs/animated.html#stagger\n */\n stagger,\n /**\n * Loops a given animation continuously, so that each time it reaches the\n * end, it resets and begins again from the start.\n *\n * See https://reactnative.dev/docs/animated.html#loop\n */\n loop,\n\n /**\n * Takes an array of mappings and extracts values from each arg accordingly,\n * then calls `setValue` on the mapped outputs.\n *\n * See https://reactnative.dev/docs/animated.html#event\n */\n event,\n\n /**\n * Make any React component Animatable. Used to create `Animated.View`, etc.\n *\n * See https://reactnative.dev/docs/animated.html#createanimatedcomponent\n */\n createAnimatedComponent,\n\n /**\n * Imperative API to attach an animated value to an event on a view. Prefer\n * using `Animated.event` with `useNativeDrive: true` if possible.\n *\n * See https://reactnative.dev/docs/animated.html#attachnativeevent\n */\n attachNativeEvent,\n\n /**\n * Advanced imperative API for snooping on animated events that are passed in\n * through props. Use values directly where possible.\n *\n * See https://reactnative.dev/docs/animated.html#forkevent\n */\n forkEvent,\n unforkEvent,\n\n /**\n * Expose Event class, so it can be used as a type for type checkers.\n */\n Event: AnimatedEvent,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedAddition extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() + this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'addition',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedAddition;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedDiffClamp extends AnimatedWithChildren {\n _a: AnimatedNode;\n _min: number;\n _max: number;\n _value: number;\n _lastValue: number;\n\n constructor(a: AnimatedNode, min: number, max: number) {\n super();\n\n this._a = a;\n this._min = min;\n this._max = max;\n this._value = this._lastValue = this._a.__getValue();\n }\n\n __makeNative() {\n this._a.__makeNative();\n super.__makeNative();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __getValue(): number {\n const value = this._a.__getValue();\n const diff = value - this._lastValue;\n this._lastValue = value;\n this._value = Math.min(Math.max(this._value + diff, this._min), this._max);\n return this._value;\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'diffclamp',\n input: this._a.__getNativeTag(),\n min: this._min,\n max: this._max,\n };\n }\n}\n\nmodule.exports = AnimatedDiffClamp;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedDivision extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n _warnedAboutDivideByZero: boolean = false;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n if (b === 0 || (b instanceof AnimatedNode && b.__getValue() === 0)) {\n console.error('Detected potential division by zero in AnimatedDivision');\n }\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n const a = this._a.__getValue();\n const b = this._b.__getValue();\n if (b === 0) {\n // Prevent spamming the console/LogBox\n if (!this._warnedAboutDivideByZero) {\n console.error('Detected division by zero in AnimatedDivision');\n this._warnedAboutDivideByZero = true;\n }\n // Passing infinity/NaN to Fabric will cause a native crash\n return 0;\n }\n this._warnedAboutDivideByZero = false;\n return a / b;\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'division',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedDivision;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedModulo extends AnimatedWithChildren {\n _a: AnimatedNode;\n _modulus: number;\n\n constructor(a: AnimatedNode, modulus: number) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n\n __makeNative() {\n this._a.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return (\n ((this._a.__getValue() % this._modulus) + this._modulus) % this._modulus\n );\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus,\n };\n }\n}\n\nmodule.exports = AnimatedModulo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedMultiplication extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() * this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedMultiplication;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst {AnimatedEvent} = require('../AnimatedEvent');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedStyle = require('./AnimatedStyle');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\nconst ReactNative = require('../../Renderer/shims/ReactNative');\n\nconst invariant = require('invariant');\n\nclass AnimatedProps extends AnimatedNode {\n _props: Object;\n _animatedView: any;\n _callback: () => void;\n\n constructor(props: Object, callback: () => void) {\n super();\n if (props.style) {\n props = {\n ...props,\n style: new AnimatedStyle(props.style),\n };\n }\n this._props = props;\n this._callback = callback;\n }\n\n __getValue(): Object {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n if (!value.__isNative || value instanceof AnimatedStyle) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n props[key] = value.__getValue();\n }\n } else if (value instanceof AnimatedEvent) {\n props[key] = value.__getHandler();\n } else {\n props[key] = value;\n }\n }\n return props;\n }\n\n __getAnimatedValue(): Object {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getAnimatedValue();\n }\n }\n return props;\n }\n\n __attach(): void {\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n if (this.__isNative && this._animatedView) {\n this.__disconnectAnimatedView();\n }\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n update(): void {\n this._callback();\n }\n\n __makeNative(): void {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n if (this._animatedView) {\n this.__connectAnimatedView();\n }\n }\n }\n\n setNativeView(animatedView: any): void {\n if (this._animatedView === animatedView) {\n return;\n }\n this._animatedView = animatedView;\n if (this.__isNative) {\n this.__connectAnimatedView();\n }\n }\n\n __connectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = ReactNative.findNodeHandle(\n this._animatedView,\n );\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.connectAnimatedNodeToView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __disconnectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = ReactNative.findNodeHandle(\n this._animatedView,\n );\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.disconnectAnimatedNodeFromView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __restoreDefaultValues(): void {\n // When using the native driver, view properties need to be restored to\n // their default values manually since react no longer tracks them. This\n // is needed to handle cases where a prop driven by native animated is removed\n // after having been changed natively by an animation.\n if (this.__isNative) {\n NativeAnimatedHelper.API.restoreDefaultValues(this.__getNativeTag());\n }\n }\n\n __getNativeConfig(): Object {\n const propsConfig = {};\n for (const propKey in this._props) {\n const value = this._props[propKey];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n propsConfig[propKey] = value.__getNativeTag();\n }\n }\n return {\n type: 'props',\n props: propsConfig,\n };\n }\n}\n\nmodule.exports = AnimatedProps;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedTransform = require('./AnimatedTransform');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nconst flattenStyle = require('../../StyleSheet/flattenStyle');\n\nclass AnimatedStyle extends AnimatedWithChildren {\n _style: Object;\n\n constructor(style: any) {\n super();\n style = flattenStyle(style) || {};\n if (style.transform) {\n style = {\n ...style,\n transform: new AnimatedTransform(style.transform),\n };\n }\n this._style = style;\n }\n\n // Recursively get values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n if (!value.__isNative) {\n // We cannot use value of natively driven nodes this way as the value we have access from\n // JS may not be up to date.\n updatedStyle[key] = value.__getValue();\n }\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetValues(value);\n } else {\n updatedStyle[key] = value;\n }\n }\n return updatedStyle;\n }\n\n __getValue(): Object {\n return this._walkStyleAndGetValues(this._style);\n }\n\n // Recursively get animated values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetAnimatedValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getAnimatedValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n return updatedStyle;\n }\n\n __getAnimatedValue(): Object {\n return this._walkStyleAndGetAnimatedValues(this._style);\n }\n\n __attach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n __makeNative() {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n super.__makeNative();\n }\n\n __getNativeConfig(): Object {\n const styleConfig = {};\n for (const styleKey in this._style) {\n if (this._style[styleKey] instanceof AnimatedNode) {\n const style = this._style[styleKey];\n style.__makeNative();\n styleConfig[styleKey] = style.__getNativeTag();\n }\n // Non-animated styles are set using `setNativeProps`, no need\n // to pass those as a part of the node config\n }\n NativeAnimatedHelper.validateStyles(styleConfig);\n return {\n type: 'style',\n style: styleConfig,\n };\n }\n}\n\nmodule.exports = AnimatedStyle;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nclass AnimatedTransform extends AnimatedWithChildren {\n _transforms: $ReadOnlyArray;\n\n constructor(transforms: $ReadOnlyArray) {\n super();\n this._transforms = transforms;\n }\n\n __makeNative() {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative();\n }\n }\n });\n super.__makeNative();\n }\n\n __getValue(): $ReadOnlyArray {\n return this._transforms.map(transform => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n } else {\n result[key] = value;\n }\n }\n return result;\n });\n }\n\n __getAnimatedValue(): $ReadOnlyArray {\n return this._transforms.map(transform => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getAnimatedValue();\n } else {\n // All transform components needed to recompose matrix\n result[key] = value;\n }\n }\n return result;\n });\n }\n\n __attach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n });\n }\n\n __detach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n });\n super.__detach();\n }\n\n __getNativeConfig(): any {\n const transConfigs = [];\n\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n transConfigs.push({\n type: 'animated',\n property: key,\n nodeTag: value.__getNativeTag(),\n });\n } else {\n transConfigs.push({\n type: 'static',\n property: key,\n value: NativeAnimatedHelper.transformDataType(value),\n });\n }\n }\n });\n\n NativeAnimatedHelper.validateTransform(transConfigs);\n return {\n type: 'transform',\n transforms: transConfigs,\n };\n }\n}\n\nmodule.exports = AnimatedTransform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedInterpolation = require('./AnimatedInterpolation');\nconst AnimatedNode = require('./AnimatedNode');\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nclass AnimatedSubtraction extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n super.__makeNative();\n }\n\n __getValue(): number {\n return this._a.__getValue() - this._b.__getValue();\n }\n\n interpolate(config: InterpolationConfigType): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n\nmodule.exports = AnimatedSubtraction;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedNode = require('./AnimatedNode');\nconst {\n generateNewAnimationId,\n shouldUseNativeDriver,\n} = require('../NativeAnimatedHelper');\n\nimport type {EndCallback} from '../animations/Animation';\n\nclass AnimatedTracking extends AnimatedNode {\n _value: AnimatedValue;\n _parent: AnimatedNode;\n _callback: ?EndCallback;\n _animationConfig: Object;\n _animationClass: any;\n _useNativeDriver: boolean;\n\n constructor(\n value: AnimatedValue,\n parent: AnimatedNode,\n animationClass: any,\n animationConfig: Object,\n callback?: ?EndCallback,\n ) {\n super();\n this._value = value;\n this._parent = parent;\n this._animationClass = animationClass;\n this._animationConfig = animationConfig;\n this._useNativeDriver = shouldUseNativeDriver(animationConfig);\n this._callback = callback;\n this.__attach();\n }\n\n __makeNative() {\n this.__isNative = true;\n this._parent.__makeNative();\n super.__makeNative();\n this._value.__makeNative();\n }\n\n __getValue(): Object {\n return this._parent.__getValue();\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n this.__makeNative();\n }\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n update(): void {\n this._value.animate(\n new this._animationClass({\n ...this._animationConfig,\n toValue: (this._animationConfig.toValue: any).__getValue(),\n }),\n this._callback,\n );\n }\n\n __getNativeConfig(): any {\n const animation = new this._animationClass({\n ...this._animationConfig,\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined,\n });\n const animationConfig = animation.__getNativeAnimationConfig();\n return {\n type: 'tracking',\n animationId: generateNewAnimationId(),\n animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag(),\n };\n }\n}\n\nmodule.exports = AnimatedTracking;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedValue = require('./AnimatedValue');\nconst AnimatedWithChildren = require('./AnimatedWithChildren');\n\nconst invariant = require('invariant');\n\ntype ValueXYListenerCallback = (value: {\n x: number,\n y: number,\n ...\n}) => mixed;\n\nlet _uniqueId = 1;\n\n/**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html\n */\nclass AnimatedValueXY extends AnimatedWithChildren {\n x: AnimatedValue;\n y: AnimatedValue;\n _listeners: {\n [key: string]: {\n x: string,\n y: string,\n ...\n },\n ...,\n };\n\n constructor(\n valueIn?: ?{\n +x: number | AnimatedValue,\n +y: number | AnimatedValue,\n ...\n },\n ) {\n super();\n const value: any = valueIn || {x: 0, y: 0}; // @flowfixme: shouldn't need `: any`\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n this.x = new AnimatedValue(value.x);\n this.y = new AnimatedValue(value.y);\n } else {\n invariant(\n value.x instanceof AnimatedValue && value.y instanceof AnimatedValue,\n 'AnimatedValueXY must be initialized with an object of numbers or ' +\n 'AnimatedValues.',\n );\n this.x = value.x;\n this.y = value.y;\n }\n this._listeners = {};\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#setvalue\n */\n setValue(value: {x: number, y: number, ...}) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#setoffset\n */\n setOffset(offset: {x: number, y: number, ...}) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#flattenoffset\n */\n flattenOffset(): void {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#extractoffset\n */\n extractOffset(): void {\n this.x.extractOffset();\n this.y.extractOffset();\n }\n\n __getValue(): {\n x: number,\n y: number,\n ...\n } {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue(),\n };\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#resetanimation\n */\n resetAnimation(\n callback?: (value: {\n x: number,\n y: number,\n ...\n }) => void,\n ): void {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#stopanimation\n */\n stopAnimation(\n callback?: (value: {\n x: number,\n y: number,\n ...\n }) => void,\n ): void {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#addlistener\n */\n addListener(callback: ValueXYListenerCallback): string {\n const id = String(_uniqueId++);\n const jointCallback = ({value: number}) => {\n callback(this.__getValue());\n };\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback),\n };\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#removelistener\n */\n removeListener(id: string): void {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n\n /**\n * Remove all registered listeners.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#removealllisteners\n */\n removeAllListeners(): void {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#getlayout\n */\n getLayout(): {[key: string]: AnimatedValue, ...} {\n return {\n left: this.x,\n top: this.y,\n };\n }\n\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#gettranslatetransform\n */\n getTranslateTransform(): Array<{[key: string]: AnimatedValue, ...}> {\n return [{translateX: this.x}, {translateY: this.y}];\n }\n}\n\nmodule.exports = AnimatedValueXY;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Animation = require('./Animation');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type AnimatedValue from '../nodes/AnimatedValue';\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type DecayAnimationConfig = {\n ...AnimationConfig,\n velocity:\n | number\n | {\n x: number,\n y: number,\n ...\n },\n deceleration?: number,\n};\n\nexport type DecayAnimationConfigSingle = {\n ...AnimationConfig,\n velocity: number,\n deceleration?: number,\n};\n\nclass DecayAnimation extends Animation {\n _startTime: number;\n _lastValue: number;\n _fromValue: number;\n _deceleration: number;\n _velocity: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n\n constructor(config: DecayAnimationConfigSingle) {\n super();\n this._deceleration = config.deceleration ?? 0.998;\n this._velocity = config.velocity;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n }\n\n __getNativeAnimationConfig(): {|\n deceleration: number,\n iterations: number,\n type: $TEMPORARY$string<'decay'>,\n velocity: number,\n |} {\n return {\n type: 'decay',\n deceleration: this._deceleration,\n velocity: this._velocity,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._lastValue = fromValue;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n\n const value =\n this._fromValue +\n (this._velocity / (1 - this._deceleration)) *\n (1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));\n\n this._onUpdate(value);\n\n if (Math.abs(this._lastValue - value) < 0.1) {\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._lastValue = value;\n if (this.__active) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = DecayAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst NativeAnimatedHelper = require('../NativeAnimatedHelper');\n\nimport type AnimatedValue from '../nodes/AnimatedValue';\n\nexport type EndResult = {finished: boolean, ...};\nexport type EndCallback = (result: EndResult) => void;\n\nexport type AnimationConfig = {\n isInteraction?: boolean,\n useNativeDriver: boolean,\n onComplete?: ?EndCallback,\n iterations?: number,\n};\n\nlet startNativeAnimationNextId = 1;\n\n// Important note: start() and stop() will only be called at most once.\n// Once an animation has been stopped or finished its course, it will\n// not be reused.\nclass Animation {\n __active: boolean;\n __isInteraction: boolean;\n __nativeId: number;\n __onEnd: ?EndCallback;\n __iterations: number;\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {}\n stop(): void {\n if (this.__nativeId) {\n NativeAnimatedHelper.API.stopAnimation(this.__nativeId);\n }\n }\n __getNativeAnimationConfig(): any {\n // Subclasses that have corresponding animation implementation done in native\n // should override this method\n throw new Error('This animation type cannot be offloaded to native');\n }\n // Helper function for subclasses to make sure onEnd is only called once.\n __debouncedOnEnd(result: EndResult): void {\n const onEnd = this.__onEnd;\n this.__onEnd = null;\n onEnd && onEnd(result);\n }\n __startNativeAnimation(animatedValue: AnimatedValue): void {\n const startNativeAnimationWaitId = `${startNativeAnimationNextId}:startAnimation`;\n startNativeAnimationNextId += 1;\n NativeAnimatedHelper.API.setWaitingForIdentifier(\n startNativeAnimationWaitId,\n );\n try {\n animatedValue.__makeNative();\n this.__nativeId = NativeAnimatedHelper.generateNewAnimationId();\n NativeAnimatedHelper.API.startAnimatingNode(\n this.__nativeId,\n animatedValue.__getNativeTag(),\n this.__getNativeAnimationConfig(),\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.__debouncedOnEnd.bind(this),\n );\n } catch (e) {\n throw e;\n } finally {\n NativeAnimatedHelper.API.unsetWaitingForIdentifier(\n startNativeAnimationWaitId,\n );\n }\n }\n}\n\nmodule.exports = Animation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedValue = require('../nodes/AnimatedValue');\nconst AnimatedValueXY = require('../nodes/AnimatedValueXY');\nconst AnimatedInterpolation = require('../nodes/AnimatedInterpolation');\nconst Animation = require('./Animation');\nconst SpringConfig = require('../SpringConfig');\n\nconst invariant = require('invariant');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type SpringAnimationConfig = {\n ...AnimationConfig,\n toValue:\n | number\n | AnimatedValue\n | {\n x: number,\n y: number,\n ...\n }\n | AnimatedValueXY\n | AnimatedInterpolation,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?:\n | number\n | {\n x: number,\n y: number,\n ...\n },\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nexport type SpringAnimationConfigSingle = {\n ...AnimationConfig,\n toValue: number | AnimatedValue | AnimatedInterpolation,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?: number,\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nclass SpringAnimation extends Animation {\n _overshootClamping: boolean;\n _restDisplacementThreshold: number;\n _restSpeedThreshold: number;\n _lastVelocity: number;\n _startPosition: number;\n _lastPosition: number;\n _fromValue: number;\n _toValue: any;\n _stiffness: number;\n _damping: number;\n _mass: number;\n _initialVelocity: number;\n _delay: number;\n _timeout: any;\n _startTime: number;\n _lastTime: number;\n _frameTime: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n\n constructor(config: SpringAnimationConfigSingle) {\n super();\n\n this._overshootClamping = config.overshootClamping ?? false;\n this._restDisplacementThreshold = config.restDisplacementThreshold ?? 0.001;\n this._restSpeedThreshold = config.restSpeedThreshold ?? 0.001;\n this._initialVelocity = config.velocity ?? 0;\n this._lastVelocity = config.velocity ?? 0;\n this._toValue = config.toValue;\n this._delay = config.delay ?? 0;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n\n if (\n config.stiffness !== undefined ||\n config.damping !== undefined ||\n config.mass !== undefined\n ) {\n invariant(\n config.bounciness === undefined &&\n config.speed === undefined &&\n config.tension === undefined &&\n config.friction === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n this._stiffness = config.stiffness ?? 100;\n this._damping = config.damping ?? 10;\n this._mass = config.mass ?? 1;\n } else if (config.bounciness !== undefined || config.speed !== undefined) {\n // Convert the origami bounciness/speed values to stiffness/damping\n // We assume mass is 1.\n invariant(\n config.tension === undefined &&\n config.friction === undefined &&\n config.stiffness === undefined &&\n config.damping === undefined &&\n config.mass === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n const springConfig = SpringConfig.fromBouncinessAndSpeed(\n config.bounciness ?? 8,\n config.speed ?? 12,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n } else {\n // Convert the origami tension/friction values to stiffness/damping\n // We assume mass is 1.\n const springConfig = SpringConfig.fromOrigamiTensionAndFriction(\n config.tension ?? 40,\n config.friction ?? 7,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n }\n\n invariant(this._stiffness > 0, 'Stiffness value must be greater than 0');\n invariant(this._damping > 0, 'Damping value must be greater than 0');\n invariant(this._mass > 0, 'Mass value must be greater than 0');\n }\n\n __getNativeAnimationConfig(): {|\n damping: number,\n initialVelocity: number,\n iterations: number,\n mass: number,\n overshootClamping: boolean,\n restDisplacementThreshold: number,\n restSpeedThreshold: number,\n stiffness: number,\n toValue: any,\n type: $TEMPORARY$string<'spring'>,\n |} {\n return {\n type: 'spring',\n overshootClamping: this._overshootClamping,\n restDisplacementThreshold: this._restDisplacementThreshold,\n restSpeedThreshold: this._restSpeedThreshold,\n stiffness: this._stiffness,\n damping: this._damping,\n mass: this._mass,\n initialVelocity: this._initialVelocity ?? this._lastVelocity,\n toValue: this._toValue,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._startPosition = fromValue;\n this._lastPosition = this._startPosition;\n\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._lastTime = Date.now();\n this._frameTime = 0.0;\n\n if (previousAnimation instanceof SpringAnimation) {\n const internalState = previousAnimation.getInternalState();\n this._lastPosition = internalState.lastPosition;\n this._lastVelocity = internalState.lastVelocity;\n // Set the initial velocity to the last velocity\n this._initialVelocity = this._lastVelocity;\n this._lastTime = internalState.lastTime;\n }\n\n const start = () => {\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this.onUpdate();\n }\n };\n\n // If this._delay is more than 0, we start after the timeout.\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n getInternalState(): Object {\n return {\n lastPosition: this._lastPosition,\n lastVelocity: this._lastVelocity,\n lastTime: this._lastTime,\n };\n }\n\n /**\n * This spring model is based off of a damped harmonic oscillator\n * (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).\n *\n * We use the closed form of the second order differential equation:\n *\n * x'' + (2ζ⍵_0)x' + ⍵^2x = 0\n *\n * where\n * ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),\n * ζ = c / 2√mk (damping ratio),\n * c = damping constant\n * k = stiffness\n * m = mass\n *\n * The derivation of the closed form is described in detail here:\n * http://planetmath.org/sites/default/files/texpdf/39745.pdf\n *\n * This algorithm happens to match the algorithm used by CASpringAnimation,\n * a QuartzCore (iOS) API that creates spring animations.\n */\n onUpdate(): void {\n // If for some reason we lost a lot of frames (e.g. process large payload or\n // stopped in the debugger), we only advance by 4 frames worth of\n // computation and will continue on the next frame. It's better to have it\n // running at faster speed than jumping to the end.\n const MAX_STEPS = 64;\n let now = Date.now();\n if (now > this._lastTime + MAX_STEPS) {\n now = this._lastTime + MAX_STEPS;\n }\n\n const deltaTime = (now - this._lastTime) / 1000;\n this._frameTime += deltaTime;\n\n const c: number = this._damping;\n const m: number = this._mass;\n const k: number = this._stiffness;\n const v0: number = -this._initialVelocity;\n\n const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = omega0 * Math.sqrt(1.0 - zeta * zeta); // exponential decay\n const x0 = this._toValue - this._startPosition; // calculate the oscillation from x0 = 1 to x = 0\n\n let position = 0.0;\n let velocity = 0.0;\n const t = this._frameTime;\n if (zeta < 1) {\n // Under damped\n const envelope = Math.exp(-zeta * omega0 * t);\n position =\n this._toValue -\n envelope *\n (((v0 + zeta * omega0 * x0) / omega1) * Math.sin(omega1 * t) +\n x0 * Math.cos(omega1 * t));\n // This looks crazy -- it's actually just the derivative of the\n // oscillation function\n velocity =\n zeta *\n omega0 *\n envelope *\n ((Math.sin(omega1 * t) * (v0 + zeta * omega0 * x0)) / omega1 +\n x0 * Math.cos(omega1 * t)) -\n envelope *\n (Math.cos(omega1 * t) * (v0 + zeta * omega0 * x0) -\n omega1 * x0 * Math.sin(omega1 * t));\n } else {\n // Critically damped\n const envelope = Math.exp(-omega0 * t);\n position = this._toValue - envelope * (x0 + (v0 + omega0 * x0) * t);\n velocity =\n envelope * (v0 * (t * omega0 - 1) + t * x0 * (omega0 * omega0));\n }\n\n this._lastTime = now;\n this._lastPosition = position;\n this._lastVelocity = velocity;\n\n this._onUpdate(position);\n if (!this.__active) {\n // a listener might have stopped us in _onUpdate\n return;\n }\n\n // Conditions for stopping the spring animation\n let isOvershooting = false;\n if (this._overshootClamping && this._stiffness !== 0) {\n if (this._startPosition < this._toValue) {\n isOvershooting = position > this._toValue;\n } else {\n isOvershooting = position < this._toValue;\n }\n }\n const isVelocity = Math.abs(velocity) <= this._restSpeedThreshold;\n let isDisplacement = true;\n if (this._stiffness !== 0) {\n isDisplacement =\n Math.abs(this._toValue - position) <= this._restDisplacementThreshold;\n }\n\n if (isOvershooting || (isVelocity && isDisplacement)) {\n if (this._stiffness !== 0) {\n // Ensure that we end up with a round value\n this._lastPosition = this._toValue;\n this._lastVelocity = 0;\n this._onUpdate(this._toValue);\n }\n\n this.__debouncedOnEnd({finished: true});\n return;\n }\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = SpringAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype SpringConfigType = {\n stiffness: number,\n damping: number,\n ...\n};\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(\n tension: number,\n friction: number,\n): SpringConfigType {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction),\n };\n}\n\nfunction fromBouncinessAndSpeed(\n bounciness: number,\n speed: number,\n): SpringConfigType {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n let b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(speed / 1.7, 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01,\n );\n\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n\nmodule.exports = {\n fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst AnimatedValue = require('../nodes/AnimatedValue');\nconst AnimatedValueXY = require('../nodes/AnimatedValueXY');\nconst AnimatedInterpolation = require('../nodes/AnimatedInterpolation');\nconst Animation = require('./Animation');\n\nconst {shouldUseNativeDriver} = require('../NativeAnimatedHelper');\n\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nexport type TimingAnimationConfig = {\n ...AnimationConfig,\n toValue:\n | number\n | AnimatedValue\n | {\n x: number,\n y: number,\n ...\n }\n | AnimatedValueXY\n | AnimatedInterpolation,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n};\n\nexport type TimingAnimationConfigSingle = {\n ...AnimationConfig,\n toValue: number | AnimatedValue | AnimatedInterpolation,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n};\n\nlet _easeInOut;\nfunction easeInOut() {\n if (!_easeInOut) {\n const Easing = require('../Easing');\n // $FlowFixMe[method-unbinding]\n _easeInOut = Easing.inOut(Easing.ease);\n }\n return _easeInOut;\n}\n\nclass TimingAnimation extends Animation {\n _startTime: number;\n _fromValue: number;\n _toValue: any;\n _duration: number;\n _delay: number;\n _easing: (value: number) => number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _timeout: any;\n _useNativeDriver: boolean;\n\n constructor(config: TimingAnimationConfigSingle) {\n super();\n this._toValue = config.toValue;\n this._easing = config.easing ?? easeInOut();\n this._duration = config.duration ?? 500;\n this._delay = config.delay ?? 0;\n this.__iterations = config.iterations ?? 1;\n this._useNativeDriver = shouldUseNativeDriver(config);\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n }\n\n __getNativeAnimationConfig(): any {\n const frameDuration = 1000.0 / 60.0;\n const frames = [];\n const numFrames = Math.round(this._duration / frameDuration);\n for (let frame = 0; frame < numFrames; frame++) {\n frames.push(this._easing(frame / numFrames));\n }\n frames.push(this._easing(1));\n return {\n type: 'frames',\n frames,\n toValue: this._toValue,\n iterations: this.__iterations,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n\n const start = () => {\n // Animations that sometimes have 0 duration and sometimes do not\n // still need to use the native driver when duration is 0 so as to\n // not cause intermixed JS and native animations.\n if (this._duration === 0 && !this._useNativeDriver) {\n this._onUpdate(this._toValue);\n this.__debouncedOnEnd({finished: true});\n } else {\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.onUpdate.bind(this),\n );\n }\n }\n };\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n if (now >= this._startTime + this._duration) {\n if (this._duration === 0) {\n this._onUpdate(this._toValue);\n } else {\n this._onUpdate(\n this._fromValue + this._easing(1) * (this._toValue - this._fromValue),\n );\n }\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._onUpdate(\n this._fromValue +\n this._easing((now - this._startTime) / this._duration) *\n (this._toValue - this._fromValue),\n );\n if (this.__active) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n\nmodule.exports = TimingAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nlet ease;\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nclass Easing {\n /**\n * A stepping function, returns 1 for any positive value of `n`.\n */\n static step0(n: number): number {\n return n > 0 ? 1 : 0;\n }\n\n /**\n * A stepping function, returns 1 if `n` is greater than or equal to 1.\n */\n static step1(n: number): number {\n return n >= 1 ? 1 : 0;\n }\n\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n static linear(t: number): number {\n return t;\n }\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n static ease(t: number): number {\n if (!ease) {\n ease = Easing.bezier(0.42, 0, 1, 1);\n }\n return ease(t);\n }\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n static quad(t: number): number {\n return t * t;\n }\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n static cubic(t: number): number {\n return t * t * t;\n }\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n static poly(n: number): (t: number) => number {\n return (t: number) => Math.pow(t, n);\n }\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n static sin(t: number): number {\n return 1 - Math.cos((t * Math.PI) / 2);\n }\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n static circle(t: number): number {\n return 1 - Math.sqrt(1 - t * t);\n }\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n static exp(t: number): number {\n return Math.pow(2, 10 * (t - 1));\n }\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n static elastic(bounciness: number = 1): (t: number) => number {\n const p = bounciness * Math.PI;\n return t => 1 - Math.pow(Math.cos((t * Math.PI) / 2), 3) * Math.cos(t * p);\n }\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n static back(s: number = 1.70158): (t: number) => number {\n return t => t * t * ((s + 1) * t - s);\n }\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n static bounce(t: number): number {\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n const t2 = t - 1.5 / 2.75;\n return 7.5625 * t2 * t2 + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n const t2 = t - 2.25 / 2.75;\n return 7.5625 * t2 * t2 + 0.9375;\n }\n\n const t2 = t - 2.625 / 2.75;\n return 7.5625 * t2 * t2 + 0.984375;\n }\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n static bezier(\n x1: number,\n y1: number,\n x2: number,\n y2: number,\n ): (t: number) => number {\n const _bezier = require('./bezier');\n return _bezier(x1, y1, x2, y2);\n }\n\n /**\n * Runs an easing function forwards.\n */\n static in(easing: (t: number) => number): (t: number) => number {\n return easing;\n }\n\n /**\n * Runs an easing function backwards.\n */\n static out(easing: (t: number) => number): (t: number) => number {\n return t => 1 - easing(1 - t);\n }\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n static inOut(easing: (t: number) => number): (t: number) => number {\n return t => {\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n return 1 - easing((1 - t) * 2) / 2;\n };\n }\n}\n\nmodule.exports = Easing;\n","/**\n * Portions Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n/**\n * BezierEasing - use bezier curve for transition easing function\n * https://github.com/gre/bezier-easing\n * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.\n */\n\n'use strict';\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\nconst NEWTON_ITERATIONS = 4;\nconst NEWTON_MIN_SLOPE = 0.001;\nconst SUBDIVISION_PRECISION = 0.0000001;\nconst SUBDIVISION_MAX_ITERATIONS = 10;\n\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\nconst float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\nfunction C(aA1) {\n return 3.0 * aA1;\n}\n\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\n// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, _aA, _aB, mX1, mX2) {\n let currentX,\n currentT,\n i = 0,\n aA = _aA,\n aB = _aB;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {\n let aGuessT = _aGuessT;\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\n\nmodule.exports = function bezier(\n mX1: number,\n mY1: number,\n mX2: number,\n mY2: number,\n): (x: number) => number {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n // Precompute samples table\n const sampleValues = float32ArraySupported\n ? new Float32Array(kSplineTableSize)\n : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n const dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2,\n );\n }\n }\n\n return function BezierEasing(x: number): number {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport * as createAnimatedComponentInjection from './createAnimatedComponentInjection';\n\nconst View = require('../Components/View/View');\nconst {AnimatedEvent} = require('./AnimatedEvent');\nconst AnimatedProps = require('./nodes/AnimatedProps');\nconst React = require('react');\nconst NativeAnimatedHelper = require('./NativeAnimatedHelper');\n\nconst invariant = require('invariant');\nconst setAndForwardRef = require('../Utilities/setAndForwardRef');\n\nlet animatedComponentNextId = 1;\n\nexport type AnimatedComponentType<\n Props: {+[string]: mixed, ...},\n Instance,\n> = React.AbstractComponent<\n $ObjMap<\n Props &\n $ReadOnly<{\n passthroughAnimatedPropExplicitValues?: React.ElementConfig<\n typeof View,\n >,\n }>,\n () => any,\n >,\n Instance,\n>;\n\ntype AnimatedComponentOptions = {\n collapsable?: boolean,\n};\n\nfunction createAnimatedComponent(\n Component: React.AbstractComponent,\n options?: AnimatedComponentOptions,\n): AnimatedComponentType {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.',\n );\n\n class AnimatedComponent extends React.Component {\n _component: any; // TODO T53738161: flow type this, and the whole file\n _invokeAnimatedPropsCallbackOnMount: boolean = false;\n _prevComponent: any;\n _propsAnimated: AnimatedProps;\n _eventDetachers: Array = [];\n\n // Only to be used in this file, and only in Fabric.\n _animatedComponentId: string = `${animatedComponentNextId++}:animatedComponent`;\n\n _attachNativeEvents() {\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n const scrollableNode = this._component?.getScrollableNode\n ? this._component.getScrollableNode()\n : this._component;\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n this._eventDetachers.push(() => prop.__detach(scrollableNode, key));\n }\n }\n }\n\n _detachNativeEvents() {\n this._eventDetachers.forEach(remove => remove());\n this._eventDetachers = [];\n }\n\n _isFabric = (): boolean => {\n // When called during the first render, `_component` is always null.\n // Therefore, even if a component is rendered in Fabric, we can't detect\n // that until ref is set, which happens sometime after the first render.\n // In cases where this value switching between \"false\" and \"true\" on Fabric\n // causes issues, add an additional check for _component nullity.\n if (this._component == null) {\n return false;\n }\n return (\n // eslint-disable-next-line dot-notation\n this._component['_internalInstanceHandle']?.stateNode?.canonical !=\n null ||\n // Some components have a setNativeProps function but aren't a host component\n // such as lists like FlatList and SectionList. These should also use\n // forceUpdate in Fabric since setNativeProps doesn't exist on the underlying\n // host component. This crazy hack is essentially special casing those lists and\n // ScrollView itself to use forceUpdate in Fabric.\n // If these components end up using forwardRef then these hacks can go away\n // as this._component would actually be the underlying host component and the above check\n // would be sufficient.\n (this._component.getNativeScrollRef != null &&\n this._component.getNativeScrollRef() != null &&\n // eslint-disable-next-line dot-notation\n this._component.getNativeScrollRef()['_internalInstanceHandle']\n ?.stateNode?.canonical != null) ||\n (this._component.getScrollResponder != null &&\n this._component.getScrollResponder() != null &&\n this._component.getScrollResponder().getNativeScrollRef != null &&\n this._component.getScrollResponder().getNativeScrollRef() != null &&\n this._component.getScrollResponder().getNativeScrollRef()[\n // eslint-disable-next-line dot-notation\n '_internalInstanceHandle'\n ]?.stateNode?.canonical != null)\n );\n };\n\n _waitForUpdate = (): void => {\n if (this._isFabric()) {\n NativeAnimatedHelper.API.setWaitingForIdentifier(\n this._animatedComponentId,\n );\n }\n };\n\n _markUpdateComplete = (): void => {\n if (this._isFabric()) {\n NativeAnimatedHelper.API.unsetWaitingForIdentifier(\n this._animatedComponentId,\n );\n }\n };\n\n // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on leaf native\n // components. If you want to animate a composite component, you need to\n // re-render it. In this case, we have a fallback that uses forceUpdate.\n // This fallback is also called in Fabric.\n _animatedPropsCallback = () => {\n if (this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (\n process.env.NODE_ENV === 'test' ||\n // For animating properties of non-leaf/non-native components\n typeof this._component.setNativeProps !== 'function' ||\n // In Fabric, force animations to go through forceUpdate and skip setNativeProps\n this._isFabric()\n ) {\n this.forceUpdate();\n } else if (!this._propsAnimated.__isNative) {\n this._component.setNativeProps(\n this._propsAnimated.__getAnimatedValue(),\n );\n } else {\n throw new Error(\n 'Attempting to run JS driven animation on animated ' +\n 'node that has been moved to \"native\" earlier by starting an ' +\n 'animation with `useNativeDriver: true`',\n );\n }\n };\n\n _attachProps(nextProps) {\n const oldPropsAnimated = this._propsAnimated;\n\n this._propsAnimated = new AnimatedProps(\n nextProps,\n this._animatedPropsCallback,\n );\n this._propsAnimated.__attach();\n\n // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n if (oldPropsAnimated) {\n oldPropsAnimated.__restoreDefaultValues();\n oldPropsAnimated.__detach();\n }\n }\n\n _setComponentRef = setAndForwardRef({\n getForwardedRef: () => this.props.forwardedRef,\n setLocalRef: ref => {\n this._prevComponent = this._component;\n this._component = ref;\n },\n });\n\n render() {\n const {style = {}, ...props} = this._propsAnimated.__getValue() || {};\n const {style: passthruStyle = {}, ...passthruProps} =\n this.props.passthroughAnimatedPropExplicitValues || {};\n const mergedStyle = {...style, ...passthruStyle};\n\n // On Fabric, we always want to ensure the container Animated View is *not*\n // flattened.\n // Because we do not get a host component ref immediately and thus cannot\n // do a proper Fabric vs non-Fabric detection immediately, we default to assuming\n // that Fabric *is* enabled until we know otherwise.\n // Thus, in Fabric, this view will never be flattened. In non-Fabric, the view will\n // not be flattened during the initial render but may be flattened in the second render\n // and onwards.\n const forceNativeIdFabric =\n (this._component == null &&\n (options?.collapsable === false || props.collapsable !== true)) ||\n this._isFabric();\n\n const forceNativeId =\n props.collapsable ??\n (this._propsAnimated.__isNative ||\n forceNativeIdFabric ||\n options?.collapsable === false);\n // The native driver updates views directly through the UI thread so we\n // have to make sure the view doesn't get optimized away because it cannot\n // go through the NativeViewHierarchyManager since it operates on the shadow\n // thread. TODO: T68258846\n const collapsableProps = forceNativeId\n ? {\n nativeID: props.nativeID ?? 'animatedComponent',\n collapsable: false,\n }\n : {};\n return (\n \n );\n }\n\n UNSAFE_componentWillMount() {\n this._waitForUpdate();\n this._attachProps(this.props);\n }\n\n componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n this._attachNativeEvents();\n this._markUpdateComplete();\n }\n\n UNSAFE_componentWillReceiveProps(newProps) {\n this._waitForUpdate();\n this._attachProps(newProps);\n }\n\n componentDidUpdate(prevProps) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n this._attachNativeEvents();\n }\n this._markUpdateComplete();\n }\n\n componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n this._detachNativeEvents();\n this._markUpdateComplete();\n this._component = null;\n this._prevComponent = null;\n }\n }\n\n return React.forwardRef(function AnimatedComponentWrapper(props, ref) {\n return (\n \n );\n });\n}\n\n// $FlowIgnore[incompatible-cast] - Will be compatible after refactors.\nmodule.exports = (createAnimatedComponentInjection.recordAndRetrieve() ??\n createAnimatedComponent: typeof createAnimatedComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\ntype createAnimatedComponent = (\n Component: React.AbstractComponent,\n) => React.AbstractComponent;\n\n// This can be undefined, null, or the experimental implementation. If this is\n// null, that means `createAnimatedComponent` has already been initialized and\n// it is too late to call `inject`.\nlet injected: ?createAnimatedComponent;\n\n/**\n * Call during bundle initialization to opt-in to new `createAnimatedComponent`.\n */\nexport function inject(newInjected: createAnimatedComponent): void {\n if (injected !== undefined) {\n if (__DEV__) {\n console.error(\n 'createAnimatedComponentInjection: ' +\n (injected == null\n ? 'Must be called before `createAnimatedComponent`.'\n : 'Cannot be called more than once.'),\n );\n }\n return;\n }\n injected = newInjected;\n}\n\n/**\n * Only called by `createAnimatedComponent.js`.\n */\nexport function recordAndRetrieve(): createAnimatedComponent | null {\n if (injected === undefined) {\n injected = null;\n }\n return injected;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {ElementRef, Ref} from 'react';\n\ntype Args = $ReadOnly<{|\n getForwardedRef: () => ?Ref,\n setLocalRef: (ref: ElementRef) => mixed,\n|}>;\n\n/**\n * This is a helper function for when a component needs to be able to forward a ref\n * to a child component, but still needs to have access to that component as part of\n * its implementation.\n *\n * Its main use case is in wrappers for native components.\n *\n * Usage:\n *\n * class MyView extends React.Component {\n * _nativeRef = null;\n *\n * _setNativeRef = setAndForwardRef({\n * getForwardedRef: () => this.props.forwardedRef,\n * setLocalRef: ref => {\n * this._nativeRef = ref;\n * },\n * });\n *\n * render() {\n * return ;\n * }\n * }\n *\n * const MyViewWithRef = React.forwardRef((props, ref) => (\n * \n * ));\n *\n * module.exports = MyViewWithRef;\n */\n\nfunction setAndForwardRef({\n getForwardedRef,\n setLocalRef,\n}: Args): (ref: ElementRef) => void {\n return function forwardRef(ref: ElementRef) {\n const forwardedRef = getForwardedRef();\n\n setLocalRef(ref);\n\n // Forward to user ref prop (if one has been specified)\n if (typeof forwardedRef === 'function') {\n // Handle function-based refs. String-based refs are handled as functions.\n forwardedRef(ref);\n } else if (typeof forwardedRef === 'object' && forwardedRef != null) {\n // Handle createRef-based refs\n forwardedRef.current = ref;\n }\n };\n}\n\nmodule.exports = setAndForwardRef;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nconst FlatList = require('../../Lists/FlatList');\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst FlatListWithEventThrottle = React.forwardRef((props, ref) => (\n \n));\n\nmodule.exports = (createAnimatedComponent(\n FlatListWithEventThrottle,\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst Platform = require('../Utilities/Platform');\nconst deepDiffer = require('../Utilities/differ/deepDiffer');\nconst React = require('react');\nconst View = require('../Components/View/View');\nconst VirtualizedList = require('./VirtualizedList');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\n\nconst invariant = require('invariant');\n\nimport typeof ScrollViewNativeComponent from '../Components/ScrollView/ScrollViewNativeComponent';\nimport {type ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {\n ViewToken,\n ViewabilityConfigCallbackPair,\n} from './ViewabilityHelper';\nimport type {RenderItemType, RenderItemProps} from './VirtualizedList';\nimport {keyExtractor as defaultKeyExtractor} from './VirtualizeUtils';\n\ntype RequiredProps = {|\n /**\n * For simplicity, data is just a plain array. If you want to use something else, like an\n * immutable list, use the underlying `VirtualizedList` directly.\n */\n data: ?$ReadOnlyArray,\n|};\ntype OptionalProps = {|\n /**\n * Takes an item from `data` and renders it into the list. Example usage:\n *\n * (\n * \n * )}\n * data={[{title: 'Title Text', key: 'item1'}]}\n * renderItem={({item, separators}) => (\n * this._onPress(item)}\n * onShowUnderlay={separators.highlight}\n * onHideUnderlay={separators.unhighlight}>\n * \n * {item.title}\n * \n * \n * )}\n * />\n *\n * Provides additional metadata like `index` if you need it, as well as a more generic\n * `separators.updateProps` function which let's you set whatever props you want to change the\n * rendering of either the leading separator or trailing separator in case the more common\n * `highlight` and `unhighlight` (which set the `highlighted: boolean` prop) are insufficient for\n * your use-case.\n */\n renderItem?: ?RenderItemType,\n\n /**\n * Optional custom style for multi-item rows generated when numColumns > 1.\n */\n columnWrapperStyle?: ViewStyleProp,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * `getItemLayout` is an optional optimizations that let us skip measurement of dynamic content if\n * you know the height of items a priori. `getItemLayout` is the most efficient, and is easy to\n * use if you have fixed height items, for example:\n *\n * getItemLayout={(data, index) => (\n * {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index}\n * )}\n *\n * Adding `getItemLayout` can be a great performance boost for lists of several hundred items.\n * Remember to include separator length (height or width) in your offset calculation if you\n * specify `ItemSeparatorComponent`.\n */\n getItemLayout?: (\n data: ?Array,\n index: number,\n ) => {\n length: number,\n offset: number,\n index: number,\n ...\n },\n /**\n * If true, renders items next to each other horizontally instead of stacked vertically.\n */\n horizontal?: ?boolean,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender?: ?number,\n /**\n * Instead of starting at the top with the first item, start at `initialScrollIndex`. This\n * disables the \"scroll to top\" optimization that keeps the first `initialNumToRender` items\n * always rendered and immediately renders the items starting at this initial index. Requires\n * `getItemLayout` to be implemented.\n */\n initialScrollIndex?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks `item.key`, then\n * falls back to using the index, like React does.\n */\n keyExtractor?: ?(item: ItemT, index: number) => string,\n /**\n * Multiple columns can only be rendered with `horizontal={false}` and will zig-zag like a\n * `flexWrap` layout. Items should all be the same height - masonry layouts are not supported.\n *\n * The default value is 1.\n */\n numColumns?: number,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n *\n * The default value is true for Android.\n */\n removeClippedSubviews?: boolean,\n /**\n * See `ScrollView` for flow type and further documentation.\n */\n fadingEdgeLength?: ?number,\n|};\n\n/**\n * Default Props Helper Functions\n * Use the following helper functions for default values\n */\n\n// removeClippedSubviewsOrDefault(this.props.removeClippedSubviews)\nfunction removeClippedSubviewsOrDefault(removeClippedSubviews: ?boolean) {\n return removeClippedSubviews ?? Platform.OS === 'android';\n}\n\n// numColumnsOrDefault(this.props.numColumns)\nfunction numColumnsOrDefault(numColumns: ?number) {\n return numColumns ?? 1;\n}\n\ntype FlatListProps = {|\n ...RequiredProps,\n ...OptionalProps,\n|};\n\ntype VirtualizedListProps = React.ElementConfig;\n\nexport type Props = {\n ...$Diff<\n VirtualizedListProps,\n {\n getItem: $PropertyType,\n getItemCount: $PropertyType,\n getItemLayout: $PropertyType,\n renderItem: $PropertyType,\n keyExtractor: $PropertyType,\n ...\n },\n >,\n ...FlatListProps,\n ...\n};\n\n/**\n * A performant interface for rendering simple, flat lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Optional horizontal mode.\n * - Configurable viewability callbacks.\n * - Header support.\n * - Footer support.\n * - Separator support.\n * - Pull to Refresh.\n * - Scroll loading.\n * - ScrollToIndex support.\n *\n * If you need section support, use [``](docs/sectionlist.html).\n *\n * Minimal Example:\n *\n * {item.key}}\n * />\n *\n * More complex, multi-select example demonstrating `PureComponent` usage for perf optimization and avoiding bugs.\n *\n * - By binding the `onPressItem` handler, the props will remain `===` and `PureComponent` will\n * prevent wasteful re-renders unless the actual `id`, `selected`, or `title` props change, even\n * if the components rendered in `MyListItem` did not have such optimizations.\n * - By passing `extraData={this.state}` to `FlatList` we make sure `FlatList` itself will re-render\n * when the `state.selected` changes. Without setting this prop, `FlatList` would not know it\n * needs to re-render any items because it is also a `PureComponent` and the prop comparison will\n * not show any changes.\n * - `keyExtractor` tells the list to use the `id`s for the react keys instead of the default `key` property.\n *\n *\n * class MyListItem extends React.PureComponent {\n * _onPress = () => {\n * this.props.onPressItem(this.props.id);\n * };\n *\n * render() {\n * const textColor = this.props.selected ? \"red\" : \"black\";\n * return (\n * \n * \n * \n * {this.props.title}\n * \n * \n * \n * );\n * }\n * }\n *\n * class MultiSelectList extends React.PureComponent {\n * state = {selected: (new Map(): Map)};\n *\n * _keyExtractor = (item, index) => item.id;\n *\n * _onPressItem = (id: string) => {\n * // updater functions are preferred for transactional updates\n * this.setState((state) => {\n * // copy the map rather than modifying state.\n * const selected = new Map(state.selected);\n * selected.set(id, !selected.get(id)); // toggle\n * return {selected};\n * });\n * };\n *\n * _renderItem = ({item}) => (\n * \n * );\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * This is a convenience wrapper around [``](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.\n */\nclass FlatList extends React.PureComponent, void> {\n props: Props;\n /**\n * Scrolls to the end of the content. May be janky without `getItemLayout` prop.\n */\n scrollToEnd(params?: ?{animated?: ?boolean, ...}) {\n if (this._listRef) {\n this._listRef.scrollToEnd(params);\n }\n }\n\n /**\n * Scrolls to the item at the specified index such that it is positioned in the viewable area\n * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the\n * middle. `viewOffset` is a fixed number of pixels to offset the final target position.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }) {\n if (this._listRef) {\n this._listRef.scrollToIndex(params);\n }\n }\n\n /**\n * Requires linear scan through data - use `scrollToIndex` instead if possible.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToItem(params: {\n animated?: ?boolean,\n item: ItemT,\n viewPosition?: number,\n ...\n }) {\n if (this._listRef) {\n this._listRef.scrollToItem(params);\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Check out [scrollToOffset](docs/virtualizedlist.html#scrolltooffset) of VirtualizedList\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number, ...}) {\n if (this._listRef) {\n this._listRef.scrollToOffset(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n if (this._listRef) {\n this._listRef.recordInteraction();\n }\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n if (this._listRef) {\n this._listRef.flashScrollIndicators();\n }\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): ?ScrollResponderType {\n if (this._listRef) {\n return this._listRef.getScrollResponder();\n }\n }\n\n /**\n * Provides a reference to the underlying host component\n */\n getNativeScrollRef():\n | ?React.ElementRef\n | ?React.ElementRef {\n if (this._listRef) {\n /* $FlowFixMe[incompatible-return] Suppresses errors found when fixing\n * TextInput typing */\n return this._listRef.getScrollRef();\n }\n }\n\n getScrollableNode(): any {\n if (this._listRef) {\n return this._listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: {[string]: mixed, ...}) {\n if (this._listRef) {\n this._listRef.setNativeProps(props);\n }\n }\n\n constructor(props: Props) {\n super(props);\n this._checkProps(this.props);\n if (this.props.viewabilityConfigCallbackPairs) {\n this._virtualizedListPairs = this.props.viewabilityConfigCallbackPairs.map(\n pair => ({\n viewabilityConfig: pair.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n pair.onViewableItemsChanged,\n ),\n }),\n );\n } else if (this.props.onViewableItemsChanged) {\n this._virtualizedListPairs.push({\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To\n * see the error delete this comment and run Flow. */\n viewabilityConfig: this.props.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n this.props.onViewableItemsChanged,\n ),\n });\n }\n }\n\n componentDidUpdate(prevProps: Props) {\n invariant(\n prevProps.numColumns === this.props.numColumns,\n 'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' +\n 'changing the number of columns to force a fresh render of the component.',\n );\n invariant(\n prevProps.onViewableItemsChanged === this.props.onViewableItemsChanged,\n 'Changing onViewableItemsChanged on the fly is not supported',\n );\n invariant(\n !deepDiffer(prevProps.viewabilityConfig, this.props.viewabilityConfig),\n 'Changing viewabilityConfig on the fly is not supported',\n );\n invariant(\n prevProps.viewabilityConfigCallbackPairs ===\n this.props.viewabilityConfigCallbackPairs,\n 'Changing viewabilityConfigCallbackPairs on the fly is not supported',\n );\n\n this._checkProps(this.props);\n }\n\n _listRef: ?React.ElementRef;\n _virtualizedListPairs: Array = [];\n\n _captureRef = ref => {\n this._listRef = ref;\n };\n\n _checkProps(props: Props) {\n const {\n // $FlowFixMe[prop-missing] this prop doesn't exist, is only used for an invariant\n getItem,\n // $FlowFixMe[prop-missing] this prop doesn't exist, is only used for an invariant\n getItemCount,\n horizontal,\n columnWrapperStyle,\n onViewableItemsChanged,\n viewabilityConfigCallbackPairs,\n } = props;\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n invariant(\n !getItem && !getItemCount,\n 'FlatList does not support custom data formats.',\n );\n if (numColumns > 1) {\n invariant(!horizontal, 'numColumns does not support horizontal.');\n } else {\n invariant(\n !columnWrapperStyle,\n 'columnWrapperStyle not supported for single column lists',\n );\n }\n invariant(\n !(onViewableItemsChanged && viewabilityConfigCallbackPairs),\n 'FlatList does not support setting both onViewableItemsChanged and ' +\n 'viewabilityConfigCallbackPairs.',\n );\n }\n\n _getItem = (data: Array, index: number) => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n if (numColumns > 1) {\n const ret = [];\n for (let kk = 0; kk < numColumns; kk++) {\n const item = data[index * numColumns + kk];\n if (item != null) {\n ret.push(item);\n }\n }\n return ret;\n } else {\n return data[index];\n }\n };\n\n _getItemCount = (data: ?Array): number => {\n if (data) {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n return numColumns > 1 ? Math.ceil(data.length / numColumns) : data.length;\n } else {\n return 0;\n }\n };\n\n _keyExtractor = (items: ItemT | Array, index: number) => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n const keyExtractor = this.props.keyExtractor ?? defaultKeyExtractor;\n\n if (numColumns > 1) {\n if (Array.isArray(items)) {\n return items\n .map((item, kk) =>\n keyExtractor(((item: $FlowFixMe): ItemT), index * numColumns + kk),\n )\n .join(':');\n } else {\n invariant(\n Array.isArray(items),\n 'FlatList: Encountered internal consistency error, expected each item to consist of an ' +\n 'array with 1-%s columns; instead, received a single item.',\n numColumns,\n );\n }\n } else {\n // $FlowFixMe[incompatible-call] Can't call keyExtractor with an array\n return keyExtractor(items, index);\n }\n };\n\n _pushMultiColumnViewable(arr: Array, v: ViewToken): void {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n const keyExtractor = this.props.keyExtractor ?? defaultKeyExtractor;\n v.item.forEach((item, ii) => {\n invariant(v.index != null, 'Missing index!');\n const index = v.index * numColumns + ii;\n arr.push({...v, item, key: keyExtractor(item, index), index});\n });\n }\n\n _createOnViewableItemsChanged(\n onViewableItemsChanged: ?(info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n ) {\n return (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n if (onViewableItemsChanged) {\n if (numColumns > 1) {\n const changed = [];\n const viewableItems = [];\n info.viewableItems.forEach(v =>\n this._pushMultiColumnViewable(viewableItems, v),\n );\n info.changed.forEach(v => this._pushMultiColumnViewable(changed, v));\n onViewableItemsChanged({viewableItems, changed});\n } else {\n onViewableItemsChanged(info);\n }\n }\n };\n }\n\n _renderer = () => {\n const {ListItemComponent, renderItem, columnWrapperStyle} = this.props;\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n\n let virtualizedListRenderKey = ListItemComponent\n ? 'ListItemComponent'\n : 'renderItem';\n\n const renderer = (props): React.Node => {\n if (ListItemComponent) {\n // $FlowFixMe[not-a-component] Component isn't valid\n // $FlowFixMe[incompatible-type-arg] Component isn't valid\n // $FlowFixMe[incompatible-return] Component isn't valid\n return ;\n } else if (renderItem) {\n // $FlowFixMe[incompatible-call]\n return renderItem(props);\n } else {\n return null;\n }\n };\n\n return {\n /* $FlowFixMe[invalid-computed-prop] (>=0.111.0 site=react_native_fb)\n * This comment suppresses an error found when Flow v0.111 was deployed.\n * To see the error, delete this comment and run Flow. */\n [virtualizedListRenderKey]: (info: RenderItemProps) => {\n if (numColumns > 1) {\n const {item, index} = info;\n invariant(\n Array.isArray(item),\n 'Expected array of items with numColumns > 1',\n );\n return (\n \n {item.map((it, kk) => {\n const element = renderer({\n item: it,\n index: index * numColumns + kk,\n separators: info.separators,\n });\n return element != null ? (\n {element}\n ) : null;\n })}\n \n );\n } else {\n return renderer(info);\n }\n },\n };\n };\n\n render(): React.Node {\n const {\n numColumns,\n columnWrapperStyle,\n removeClippedSubviews: _removeClippedSubviews,\n ...restProps\n } = this.props;\n\n return (\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n row: {flexDirection: 'row'},\n});\n\nmodule.exports = FlatList;\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport invariant from 'invariant';\n\n/**\n * Used to find the indices of the frames that overlap the given offsets. Useful for finding the\n * items that bound different windows of content, such as the visible area or the buffered overscan\n * area.\n */\nexport function elementsThatOverlapOffsets(\n offsets: Array,\n itemCount: number,\n getFrameMetrics: (\n index: number,\n ) => {\n length: number,\n offset: number,\n ...\n },\n): Array {\n const out = [];\n let outLength = 0;\n for (let ii = 0; ii < itemCount; ii++) {\n const frame = getFrameMetrics(ii);\n const trailingOffset = frame.offset + frame.length;\n for (let kk = 0; kk < offsets.length; kk++) {\n if (out[kk] == null && trailingOffset >= offsets[kk]) {\n out[kk] = ii;\n outLength++;\n if (kk === offsets.length - 1) {\n invariant(\n outLength === offsets.length,\n 'bad offsets input, should be in increasing order: %s',\n JSON.stringify(offsets),\n );\n return out;\n }\n }\n }\n }\n return out;\n}\n\n/**\n * Computes the number of elements in the `next` range that are new compared to the `prev` range.\n * Handy for calculating how many new items will be rendered when the render window changes so we\n * can restrict the number of new items render at once so that content can appear on the screen\n * faster.\n */\nexport function newRangeCount(\n prev: {\n first: number,\n last: number,\n ...\n },\n next: {\n first: number,\n last: number,\n ...\n },\n): number {\n return (\n next.last -\n next.first +\n 1 -\n Math.max(\n 0,\n 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first),\n )\n );\n}\n\n/**\n * Custom logic for determining which items should be rendered given the current frame and scroll\n * metrics, as well as the previous render state. The algorithm may evolve over time, but generally\n * prioritizes the visible area first, then expands that with overscan regions ahead and behind,\n * biased in the direction of scroll.\n */\nexport function computeWindowedRenderLimits(\n data: any,\n getItemCount: (data: any) => number,\n maxToRenderPerBatch: number,\n windowSize: number,\n prev: {\n first: number,\n last: number,\n ...\n },\n getFrameMetricsApprox: (\n index: number,\n ) => {\n length: number,\n offset: number,\n ...\n },\n scrollMetrics: {\n dt: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n ...\n },\n): {\n first: number,\n last: number,\n ...\n} {\n const itemCount = getItemCount(data);\n if (itemCount === 0) {\n return prev;\n }\n const {offset, velocity, visibleLength} = scrollMetrics;\n\n // Start with visible area, then compute maximum overscan region by expanding from there, biased\n // in the direction of scroll. Total overscan area is capped, which should cap memory consumption\n // too.\n const visibleBegin = Math.max(0, offset);\n const visibleEnd = visibleBegin + visibleLength;\n const overscanLength = (windowSize - 1) * visibleLength;\n\n // Considering velocity seems to introduce more churn than it's worth.\n const leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));\n\n const fillPreference =\n velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n\n const overscanBegin = Math.max(\n 0,\n visibleBegin - (1 - leadFactor) * overscanLength,\n );\n const overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n\n const lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;\n if (lastItemOffset < overscanBegin) {\n // Entire list is before our overscan window\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1,\n };\n }\n\n // Find the indices that correspond to the items at the render boundaries we're targeting.\n let [overscanFirst, first, last, overscanLast] = elementsThatOverlapOffsets(\n [overscanBegin, visibleBegin, visibleEnd, overscanEnd],\n itemCount,\n getFrameMetricsApprox,\n );\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last =\n last == null\n ? Math.min(overscanLast, first + maxToRenderPerBatch - 1)\n : last;\n const visible = {first, last};\n\n // We want to limit the number of new cells we're rendering per batch so that we can fill the\n // content on the screen quickly. If we rendered the entire overscan window at once, the user\n // could be staring at white space for a long time waiting for a bunch of offscreen content to\n // render.\n let newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n // If we fill the entire overscan range, we're done.\n break;\n }\n const maxNewCells = newCellCount >= maxToRenderPerBatch;\n const firstWillAddMore = first <= prev.first || first > prev.last;\n const firstShouldIncrement =\n first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n const lastWillAddMore = last >= prev.last || last < prev.first;\n const lastShouldIncrement =\n last < overscanLast && (!maxNewCells || !lastWillAddMore);\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n // We only want to stop if we've hit maxNewCells AND we cannot increment first or last\n // without rendering new items. This let's us preserve as many already rendered items as\n // possible, reducing render churn and keeping the rendered overscan range as large as\n // possible.\n break;\n }\n if (\n firstShouldIncrement &&\n !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)\n ) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n first--;\n }\n if (\n lastShouldIncrement &&\n !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)\n ) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n last++;\n }\n }\n if (\n !(\n last >= first &&\n first >= 0 &&\n last < itemCount &&\n first >= overscanFirst &&\n last <= overscanLast &&\n first <= visible.first &&\n last >= visible.last\n )\n ) {\n throw new Error(\n 'Bad window calculation ' +\n JSON.stringify({\n first,\n last,\n itemCount,\n overscanFirst,\n overscanLast,\n visible,\n }),\n );\n }\n return {first, last};\n}\n\nexport function keyExtractor(item: any, index: number): string {\n if (typeof item === 'object' && item?.key != null) {\n return item.key;\n }\n if (typeof item === 'object' && item?.id != null) {\n return item.id;\n }\n return String(index);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst Batchinator = require('../Interaction/Batchinator');\nconst FillRateHelper = require('./FillRateHelper');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst RefreshControl = require('../Components/RefreshControl/RefreshControl');\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\nconst ViewabilityHelper = require('./ViewabilityHelper');\n\nconst flattenStyle = require('../StyleSheet/flattenStyle');\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\n\nimport {\n keyExtractor as defaultKeyExtractor,\n computeWindowedRenderLimits,\n} from './VirtualizeUtils';\n\nimport * as React from 'react';\nimport type {ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {\n ViewabilityConfig,\n ViewToken,\n ViewabilityConfigCallbackPair,\n} from './ViewabilityHelper';\nimport {\n VirtualizedListCellContextProvider,\n VirtualizedListContext,\n VirtualizedListContextProvider,\n type ChildListState,\n type ListDebugInfo,\n} from './VirtualizedListContext.js';\n\ntype Item = any;\n\nexport type Separators = {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n};\n\nexport type RenderItemProps = {\n item: ItemT,\n index: number,\n separators: Separators,\n ...\n};\n\nexport type RenderItemType = (\n info: RenderItemProps,\n) => React.Node;\n\ntype ViewabilityHelperCallbackTuple = {\n viewabilityHelper: ViewabilityHelper,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n ...\n};\n\ntype RequiredProps = {|\n /**\n * The default accessor functions assume this is an Array<{key: string} | {id: string}> but you can override\n * getItem, getItemCount, and keyExtractor to handle any type of index-based data.\n */\n data?: any,\n /**\n * A generic accessor for extracting an item from any sort of data blob.\n */\n getItem: (data: any, index: number) => ?Item,\n /**\n * Determines how many items are in the data blob.\n */\n getItemCount: (data: any) => number,\n|};\ntype OptionalProps = {|\n renderItem?: ?RenderItemType,\n /**\n * `debug` will turn on extra logging and visual overlays to aid with debugging both usage and\n * implementation, but with a significant perf hit.\n */\n debug?: ?boolean,\n /**\n * DEPRECATED: Virtualization provides significant performance and memory optimizations, but fully\n * unmounts react instances that are outside of the render window. You should only need to disable\n * this for debugging purposes. Defaults to false.\n */\n disableVirtualization?: ?boolean,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n // e.g. height, y\n getItemLayout?: (\n data: any,\n index: number,\n ) => {\n length: number,\n offset: number,\n index: number,\n ...\n },\n horizontal?: ?boolean,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender?: ?number,\n /**\n * Instead of starting at the top with the first item, start at `initialScrollIndex`. This\n * disables the \"scroll to top\" optimization that keeps the first `initialNumToRender` items\n * always rendered and immediately renders the items starting at this initial index. Requires\n * `getItemLayout` to be implemented.\n */\n initialScrollIndex?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n keyExtractor?: ?(item: Item, index: number) => string,\n /**\n * Each cell is rendered using this element. Can be a React Component Class,\n * or a render function. Defaults to using View.\n */\n CellRendererComponent?: ?React.ComponentType,\n /**\n * Rendered in between each item, but not at the top or bottom. By default, `highlighted` and\n * `leadingItem` props are provided. `renderItem` provides `separators.highlight`/`unhighlight`\n * which will update the `highlighted` prop, but you can also add custom props with\n * `separators.updateProps`.\n */\n ItemSeparatorComponent?: ?React.ComponentType,\n /**\n * Takes an item from `data` and renders it into the list. Example usage:\n *\n * (\n * \n * )}\n * data={[{title: 'Title Text', key: 'item1'}]}\n * ListItemComponent={({item, separators}) => (\n * this._onPress(item)}\n * onShowUnderlay={separators.highlight}\n * onHideUnderlay={separators.unhighlight}>\n * \n * {item.title}\n * \n * \n * )}\n * />\n *\n * Provides additional metadata like `index` if you need it, as well as a more generic\n * `separators.updateProps` function which let's you set whatever props you want to change the\n * rendering of either the leading separator or trailing separator in case the more common\n * `highlight` and `unhighlight` (which set the `highlighted: boolean` prop) are insufficient for\n * your use-case.\n */\n ListItemComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered when the list is empty. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListEmptyComponent?: ?(React.ComponentType | React.Element),\n /**\n * Rendered at the bottom of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListFooterComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListFooterComponent\n */\n ListFooterComponentStyle?: ViewStyleProp,\n /**\n * Rendered at the top of all the items. Can be a React Component Class, a render function, or\n * a rendered element.\n */\n ListHeaderComponent?: ?(React.ComponentType | React.Element),\n /**\n * Styling for internal View for ListHeaderComponent\n */\n ListHeaderComponentStyle?: ViewStyleProp,\n /**\n * A unique identifier for this list. If there are multiple VirtualizedLists at the same level of\n * nesting within another VirtualizedList, this key is necessary for virtualization to\n * work properly.\n */\n listKey?: string,\n /**\n * The maximum number of items to render in each incremental render batch. The more rendered at\n * once, the better the fill rate, but responsiveness may suffer because rendering content may\n * interfere with responding to button taps or other interactions.\n */\n maxToRenderPerBatch?: ?number,\n /**\n * Called once when the scroll position gets within `onEndReachedThreshold` of the rendered\n * content.\n */\n onEndReached?: ?(info: {distanceFromEnd: number, ...}) => void,\n /**\n * How far from the end (in units of visible length of the list) the bottom edge of the\n * list must be from the end of the content to trigger the `onEndReached` callback.\n * Thus a value of 0.5 will trigger `onEndReached` when the end of the content is\n * within half the visible length of the list.\n */\n onEndReachedThreshold?: ?number,\n /**\n * If provided, a standard RefreshControl will be added for \"Pull to Refresh\" functionality. Make\n * sure to also set the `refreshing` prop correctly.\n */\n onRefresh?: ?() => void,\n /**\n * Used to handle failures when scrolling to an index that has not been measured yet. Recommended\n * action is to either compute your own offset and `scrollTo` it, or scroll as far as possible and\n * then try again after more items have been rendered.\n */\n onScrollToIndexFailed?: ?(info: {\n index: number,\n highestMeasuredFrameIndex: number,\n averageItemLength: number,\n ...\n }) => void,\n /**\n * Called when the viewability of rows changes, as defined by the\n * `viewabilityConfig` prop.\n */\n onViewableItemsChanged?: ?(info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n persistentScrollbar?: ?boolean,\n /**\n * Set this when offset is needed for the loading indicator to show correctly.\n */\n progressViewOffset?: number,\n /**\n * A custom refresh control element. When set, it overrides the default\n * component built internally. The onRefresh and refreshing\n * props are also ignored. Only works for vertical VirtualizedList.\n */\n refreshControl?: ?React.Element,\n /**\n * Set this true while waiting for new data from a refresh.\n */\n refreshing?: ?boolean,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n /**\n * Render a custom scroll component, e.g. with a differently styled `RefreshControl`.\n */\n renderScrollComponent?: (props: Object) => React.Element,\n /**\n * Amount of time between low-pri item render batches, e.g. for rendering items quite a ways off\n * screen. Similar fill rate/responsiveness tradeoff as `maxToRenderPerBatch`.\n */\n updateCellsBatchingPeriod?: ?number,\n /**\n * See `ViewabilityHelper` for flow type and further documentation.\n */\n viewabilityConfig?: ViewabilityConfig,\n /**\n * List of ViewabilityConfig/onViewableItemsChanged pairs. A specific onViewableItemsChanged\n * will be called when its corresponding ViewabilityConfig's conditions are met.\n */\n viewabilityConfigCallbackPairs?: Array,\n /**\n * Determines the maximum number of items rendered outside of the visible area, in units of\n * visible lengths. So if your list fills the screen, then `windowSize={21}` (the default) will\n * render the visible screen area plus up to 10 screens above and 10 below the viewport. Reducing\n * this number will reduce memory consumption and may improve performance, but will increase the\n * chance that fast scrolling may reveal momentary blank areas of unrendered content.\n */\n windowSize?: ?number,\n /**\n * The legacy implementation is no longer supported.\n */\n legacyImplementation?: empty,\n|};\n\ntype Props = {|\n ...React.ElementConfig,\n ...RequiredProps,\n ...OptionalProps,\n|};\n\nlet _usedIndexForKey = false;\nlet _keylessItemComponentName: string = '';\n\ntype State = {\n first: number,\n last: number,\n};\n\n/**\n * Default Props Helper Functions\n * Use the following helper functions for default values\n */\n\n// horizontalOrDefault(this.props.horizontal)\nfunction horizontalOrDefault(horizontal: ?boolean) {\n return horizontal ?? false;\n}\n\n// initialNumToRenderOrDefault(this.props.initialNumToRenderOrDefault)\nfunction initialNumToRenderOrDefault(initialNumToRender: ?number) {\n return initialNumToRender ?? 10;\n}\n\n// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)\nfunction maxToRenderPerBatchOrDefault(maxToRenderPerBatch: ?number) {\n return maxToRenderPerBatch ?? 10;\n}\n\n// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)\nfunction onEndReachedThresholdOrDefault(onEndReachedThreshold: ?number) {\n return onEndReachedThreshold ?? 2;\n}\n\n// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)\nfunction scrollEventThrottleOrDefault(scrollEventThrottle: ?number) {\n return scrollEventThrottle ?? 50;\n}\n\n// windowSizeOrDefault(this.props.windowSize)\nfunction windowSizeOrDefault(windowSize: ?number) {\n return windowSize ?? 21;\n}\n\n/**\n * Base implementation for the more convenient [``](https://reactnative.dev/docs/flatlist.html)\n * and [``](https://reactnative.dev/docs/sectionlist.html) components, which are also better\n * documented. In general, this should only really be used if you need more flexibility than\n * `FlatList` provides, e.g. for use with immutable data instead of plain arrays.\n *\n * Virtualization massively improves memory consumption and performance of large lists by\n * maintaining a finite render window of active items and replacing all items outside of the render\n * window with appropriately sized blank space. The window adapts to scrolling behavior, and items\n * are rendered incrementally with low-pri (after any running interactions) if they are far from the\n * visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.\n *\n * Some caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n * - As an effort to remove defaultProps, use helper functions when referencing certain props\n *\n */\nclass VirtualizedList extends React.PureComponent {\n static contextType: typeof VirtualizedListContext = VirtualizedListContext;\n\n // scrollToEnd may be janky without getItemLayout prop\n scrollToEnd(params?: ?{animated?: ?boolean, ...}) {\n const animated = params ? params.animated : true;\n const veryLast = this.props.getItemCount(this.props.data) - 1;\n const frame = this._getFrameMetricsApprox(veryLast);\n const offset = Math.max(\n 0,\n frame.offset +\n frame.length +\n this._footerLength -\n this._scrollMetrics.visibleLength,\n );\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontalOrDefault(this.props.horizontal)\n ? {x: offset, animated}\n : {y: offset, animated},\n );\n }\n\n // scrollToIndex may be janky without getItemLayout prop\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }) {\n const {\n data,\n horizontal,\n getItemCount,\n getItemLayout,\n onScrollToIndexFailed,\n } = this.props;\n const {animated, index, viewOffset, viewPosition} = params;\n invariant(\n index >= 0,\n `scrollToIndex out of range: requested index ${index} but minimum is 0`,\n );\n invariant(\n getItemCount(data) >= 1,\n `scrollToIndex out of range: item length ${getItemCount(\n data,\n )} but minimum is 1`,\n );\n invariant(\n index < getItemCount(data),\n `scrollToIndex out of range: requested index ${index} is out of 0 to ${getItemCount(\n data,\n ) - 1}`,\n );\n if (!getItemLayout && index > this._highestMeasuredFrameIndex) {\n invariant(\n !!onScrollToIndexFailed,\n 'scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, ' +\n 'otherwise there is no way to know the location of offscreen indices or handle failures.',\n );\n onScrollToIndexFailed({\n averageItemLength: this._averageCellLength,\n highestMeasuredFrameIndex: this._highestMeasuredFrameIndex,\n index,\n });\n return;\n }\n const frame = this._getFrameMetricsApprox(index);\n const offset =\n Math.max(\n 0,\n frame.offset -\n (viewPosition || 0) *\n (this._scrollMetrics.visibleLength - frame.length),\n ) - (viewOffset || 0);\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontal ? {x: offset, animated} : {y: offset, animated},\n );\n }\n\n // scrollToItem may be janky without getItemLayout prop. Required linear scan through items -\n // use scrollToIndex instead if possible.\n scrollToItem(params: {\n animated?: ?boolean,\n item: Item,\n viewPosition?: number,\n ...\n }) {\n const {item} = params;\n const {data, getItem, getItemCount} = this.props;\n const itemCount = getItemCount(data);\n for (let index = 0; index < itemCount; index++) {\n if (getItem(data, index) === item) {\n this.scrollToIndex({...params, index});\n break;\n }\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Param `offset` expects the offset to scroll to.\n * In case of `horizontal` is true, the offset is the x-value,\n * in any other case the offset is the y-value.\n *\n * Param `animated` (`true` by default) defines whether the list\n * should do an animation while scrolling.\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number, ...}) {\n const {animated, offset} = params;\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontalOrDefault(this.props.horizontal)\n ? {x: offset, animated}\n : {y: offset, animated},\n );\n }\n\n recordInteraction() {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref.recordInteraction();\n });\n this._viewabilityTuples.forEach(t => {\n t.viewabilityHelper.recordInteraction();\n });\n this._updateViewableItems(this.props.data);\n }\n\n flashScrollIndicators() {\n if (this._scrollRef == null) {\n return;\n }\n\n this._scrollRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n * Note that `this._scrollRef` might not be a `ScrollView`, so we\n * need to check that it responds to `getScrollResponder` before calling it.\n */\n getScrollResponder(): ?ScrollResponderType {\n if (this._scrollRef && this._scrollRef.getScrollResponder) {\n return this._scrollRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): ?number {\n if (this._scrollRef && this._scrollRef.getScrollableNode) {\n return this._scrollRef.getScrollableNode();\n } else {\n return ReactNative.findNodeHandle(this._scrollRef);\n }\n }\n\n getScrollRef():\n | ?React.ElementRef\n | ?React.ElementRef {\n if (this._scrollRef && this._scrollRef.getScrollRef) {\n return this._scrollRef.getScrollRef();\n } else {\n return this._scrollRef;\n }\n }\n\n setNativeProps(props: Object) {\n if (this._scrollRef) {\n this._scrollRef.setNativeProps(props);\n }\n }\n\n _getCellKey(): string {\n return this.context?.cellKey || 'rootList';\n }\n\n _getListKey(): string {\n return this.props.listKey || this._getCellKey();\n }\n\n _getDebugInfo(): ListDebugInfo {\n return {\n listKey: this._getListKey(),\n cellKey: this._getCellKey(),\n horizontal: horizontalOrDefault(this.props.horizontal),\n parent: this.context?.debugInfo,\n };\n }\n\n _getScrollMetrics = () => {\n return this._scrollMetrics;\n };\n\n hasMore(): boolean {\n return this._hasMore;\n }\n\n _getOutermostParentListRef = () => {\n if (this._isNestedWithSameOrientation()) {\n return this.context.getOutermostParentListRef();\n } else {\n return this;\n }\n };\n\n _getNestedChildState = (key: string): ?ChildListState => {\n const existingChildData = this._nestedChildLists.get(key);\n return existingChildData && existingChildData.state;\n };\n\n _registerAsNestedChild = (childList: {\n cellKey: string,\n key: string,\n ref: VirtualizedList,\n parentDebugInfo: ListDebugInfo,\n ...\n }): ?ChildListState => {\n // Register the mapping between this child key and the cellKey for its cell\n const childListsInCell =\n this._cellKeysToChildListKeys.get(childList.cellKey) || new Set();\n childListsInCell.add(childList.key);\n this._cellKeysToChildListKeys.set(childList.cellKey, childListsInCell);\n const existingChildData = this._nestedChildLists.get(childList.key);\n if (existingChildData && existingChildData.ref !== null) {\n console.error(\n 'A VirtualizedList contains a cell which itself contains ' +\n 'more than one VirtualizedList of the same orientation as the parent ' +\n 'list. You must pass a unique listKey prop to each sibling list.\\n\\n' +\n describeNestedLists({\n ...childList,\n // We're called from the child's componentDidMount, so it's safe to\n // read the child's props here (albeit weird).\n horizontal: !!childList.ref.props.horizontal,\n }),\n );\n }\n this._nestedChildLists.set(childList.key, {\n ref: childList.ref,\n state: null,\n });\n\n if (this._hasInteracted) {\n childList.ref.recordInteraction();\n }\n };\n\n _unregisterAsNestedChild = (childList: {\n key: string,\n state: ChildListState,\n ...\n }): void => {\n this._nestedChildLists.set(childList.key, {\n ref: null,\n state: childList.state,\n });\n };\n\n state: State;\n\n constructor(props: Props) {\n super(props);\n invariant(\n // $FlowFixMe[prop-missing]\n !props.onScroll || !props.onScroll.__isNative,\n 'Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent ' +\n 'to support native onScroll events with useNativeDriver',\n );\n invariant(\n windowSizeOrDefault(props.windowSize) > 0,\n 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.',\n );\n\n this._fillRateHelper = new FillRateHelper(this._getFrameMetrics);\n this._updateCellsToRenderBatcher = new Batchinator(\n this._updateCellsToRender,\n this.props.updateCellsBatchingPeriod ?? 50,\n );\n\n if (this.props.viewabilityConfigCallbackPairs) {\n this._viewabilityTuples = this.props.viewabilityConfigCallbackPairs.map(\n pair => ({\n viewabilityHelper: new ViewabilityHelper(pair.viewabilityConfig),\n onViewableItemsChanged: pair.onViewableItemsChanged,\n }),\n );\n } else if (this.props.onViewableItemsChanged) {\n this._viewabilityTuples.push({\n viewabilityHelper: new ViewabilityHelper(this.props.viewabilityConfig),\n // $FlowFixMe[incompatible-call]\n onViewableItemsChanged: this.props.onViewableItemsChanged,\n });\n }\n\n let initialState = {\n first: this.props.initialScrollIndex || 0,\n last:\n Math.min(\n this.props.getItemCount(this.props.data),\n (this.props.initialScrollIndex || 0) +\n initialNumToRenderOrDefault(this.props.initialNumToRender),\n ) - 1,\n };\n\n if (this._isNestedWithSameOrientation()) {\n const storedState = this.context.getNestedChildState(this._getListKey());\n if (storedState) {\n initialState = storedState;\n this.state = storedState;\n this._frames = storedState.frames;\n }\n }\n\n this.state = initialState;\n }\n\n componentDidMount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.registerAsNestedChild({\n cellKey: this._getCellKey(),\n key: this._getListKey(),\n ref: this,\n // NOTE: When the child mounts (here) it's not necessarily safe to read\n // the parent's props. This is why we explicitly propagate debugInfo\n // \"down\" via context and \"up\" again via this method call on the\n // parent.\n parentDebugInfo: this.context.debugInfo,\n });\n }\n }\n\n componentWillUnmount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.unregisterAsNestedChild({\n key: this._getListKey(),\n state: {\n first: this.state.first,\n last: this.state.last,\n frames: this._frames,\n },\n });\n }\n this._updateViewableItems(null);\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.dispose();\n });\n this._fillRateHelper.deactivateAndFlush();\n }\n\n static getDerivedStateFromProps(newProps: Props, prevState: State): State {\n const {data, getItemCount} = newProps;\n const maxToRenderPerBatch = maxToRenderPerBatchOrDefault(\n newProps.maxToRenderPerBatch,\n );\n // first and last could be stale (e.g. if a new, shorter items props is passed in), so we make\n // sure we're rendering a reasonable range here.\n return {\n first: Math.max(\n 0,\n Math.min(prevState.first, getItemCount(data) - 1 - maxToRenderPerBatch),\n ),\n last: Math.max(0, Math.min(prevState.last, getItemCount(data) - 1)),\n };\n }\n\n _pushCells(\n cells: Array,\n stickyHeaderIndices: Array,\n stickyIndicesFromProps: Set,\n first: number,\n last: number,\n inversionStyle: ViewStyleProp,\n ) {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n data,\n getItem,\n getItemCount,\n horizontal,\n } = this.props;\n const stickyOffset = this.props.ListHeaderComponent ? 1 : 0;\n const end = getItemCount(data) - 1;\n let prevCellKey;\n last = Math.min(end, last);\n for (let ii = first; ii <= last; ii++) {\n const item = getItem(data, ii);\n const key = this._keyExtractor(item, ii);\n this._indicesToKeys.set(ii, key);\n if (stickyIndicesFromProps.has(ii + stickyOffset)) {\n stickyHeaderIndices.push(cells.length);\n }\n cells.push(\n this._onCellLayout(e, key, ii)}\n onUnmount={this._onCellUnmount}\n parentProps={this.props}\n ref={ref => {\n this._cellRefs[key] = ref;\n }}\n />,\n );\n prevCellKey = key;\n }\n }\n\n _onUpdateSeparators = (keys: Array, newProps: Object) => {\n keys.forEach(key => {\n const ref = key != null && this._cellRefs[key];\n ref && ref.updateSeparatorProps(newProps);\n });\n };\n\n _isVirtualizationDisabled(): boolean {\n return this.props.disableVirtualization || false;\n }\n\n _isNestedWithSameOrientation(): boolean {\n const nestedContext = this.context;\n return !!(\n nestedContext &&\n !!nestedContext.horizontal === horizontalOrDefault(this.props.horizontal)\n );\n }\n\n _getSpacerKey = (isVertical: boolean): string =>\n isVertical ? 'height' : 'width';\n\n _keyExtractor(item: Item, index: number) {\n if (this.props.keyExtractor != null) {\n return this.props.keyExtractor(item, index);\n }\n\n const key = defaultKeyExtractor(item, index);\n if (key === String(index)) {\n _usedIndexForKey = true;\n if (item.type && item.type.displayName) {\n _keylessItemComponentName = item.type.displayName;\n }\n }\n return key;\n }\n\n render(): React.Node {\n if (__DEV__) {\n const flatStyles = flattenStyle(this.props.contentContainerStyle);\n if (flatStyles != null && flatStyles.flexWrap === 'wrap') {\n console.warn(\n '`flexWrap: `wrap`` is not supported with the `VirtualizedList` components.' +\n 'Consider using `numColumns` with `FlatList` instead.',\n );\n }\n }\n const {\n ListEmptyComponent,\n ListFooterComponent,\n ListHeaderComponent,\n } = this.props;\n const {data, horizontal} = this.props;\n const isVirtualizationDisabled = this._isVirtualizationDisabled();\n const inversionStyle = this.props.inverted\n ? horizontalOrDefault(this.props.horizontal)\n ? styles.horizontallyInverted\n : styles.verticallyInverted\n : null;\n const cells = [];\n const stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);\n const stickyHeaderIndices = [];\n if (ListHeaderComponent) {\n if (stickyIndicesFromProps.has(0)) {\n stickyHeaderIndices.push(0);\n }\n const element = React.isValidElement(ListHeaderComponent) ? (\n ListHeaderComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n const itemCount = this.props.getItemCount(data);\n if (itemCount > 0) {\n _usedIndexForKey = false;\n _keylessItemComponentName = '';\n const spacerKey = this._getSpacerKey(!horizontal);\n const lastInitialIndex = this.props.initialScrollIndex\n ? -1\n : initialNumToRenderOrDefault(this.props.initialNumToRender) - 1;\n const {first, last} = this.state;\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n 0,\n lastInitialIndex,\n inversionStyle,\n );\n const firstAfterInitial = Math.max(lastInitialIndex + 1, first);\n if (!isVirtualizationDisabled && first > lastInitialIndex + 1) {\n let insertedStickySpacer = false;\n if (stickyIndicesFromProps.size > 0) {\n const stickyOffset = ListHeaderComponent ? 1 : 0;\n // See if there are any sticky headers in the virtualized space that we need to render.\n for (let ii = firstAfterInitial - 1; ii > lastInitialIndex; ii--) {\n if (stickyIndicesFromProps.has(ii + stickyOffset)) {\n const initBlock = this._getFrameMetricsApprox(lastInitialIndex);\n const stickyBlock = this._getFrameMetricsApprox(ii);\n const leadSpace =\n stickyBlock.offset -\n initBlock.offset -\n (this.props.initialScrollIndex ? 0 : initBlock.length);\n cells.push(\n ,\n );\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n ii,\n ii,\n inversionStyle,\n );\n const trailSpace =\n this._getFrameMetricsApprox(first).offset -\n (stickyBlock.offset + stickyBlock.length);\n cells.push(\n ,\n );\n insertedStickySpacer = true;\n break;\n }\n }\n }\n if (!insertedStickySpacer) {\n const initBlock = this._getFrameMetricsApprox(lastInitialIndex);\n const firstSpace =\n this._getFrameMetricsApprox(first).offset -\n (initBlock.offset + initBlock.length);\n cells.push(\n ,\n );\n }\n }\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n firstAfterInitial,\n last,\n inversionStyle,\n );\n if (!this._hasWarned.keys && _usedIndexForKey) {\n console.warn(\n 'VirtualizedList: missing keys for items, make sure to specify a key or id property on each ' +\n 'item or provide a custom keyExtractor.',\n _keylessItemComponentName,\n );\n this._hasWarned.keys = true;\n }\n if (!isVirtualizationDisabled && last < itemCount - 1) {\n const lastFrame = this._getFrameMetricsApprox(last);\n // Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to\n // prevent the user for hyperscrolling into un-measured area because otherwise content will\n // likely jump around as it renders in above the viewport.\n const end = this.props.getItemLayout\n ? itemCount - 1\n : Math.min(itemCount - 1, this._highestMeasuredFrameIndex);\n const endFrame = this._getFrameMetricsApprox(end);\n const tailSpacerLength =\n endFrame.offset +\n endFrame.length -\n (lastFrame.offset + lastFrame.length);\n cells.push(\n ,\n );\n }\n } else if (ListEmptyComponent) {\n const element: React.Element = ((React.isValidElement(\n ListEmptyComponent,\n ) ? (\n ListEmptyComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n )): any);\n cells.push(\n React.cloneElement(element, {\n key: '$empty',\n onLayout: event => {\n this._onLayoutEmpty(event);\n if (element.props.onLayout) {\n element.props.onLayout(event);\n }\n },\n style: StyleSheet.compose(inversionStyle, element.props.style),\n }),\n );\n }\n if (ListFooterComponent) {\n const element = React.isValidElement(ListFooterComponent) ? (\n ListFooterComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n const scrollProps = {\n ...this.props,\n onContentSizeChange: this._onContentSizeChange,\n onLayout: this._onLayout,\n onScroll: this._onScroll,\n onScrollBeginDrag: this._onScrollBeginDrag,\n onScrollEndDrag: this._onScrollEndDrag,\n onMomentumScrollBegin: this._onMomentumScrollBegin,\n onMomentumScrollEnd: this._onMomentumScrollEnd,\n scrollEventThrottle: scrollEventThrottleOrDefault(\n this.props.scrollEventThrottle,\n ), // TODO: Android support\n invertStickyHeaders:\n this.props.invertStickyHeaders !== undefined\n ? this.props.invertStickyHeaders\n : this.props.inverted,\n stickyHeaderIndices,\n style: inversionStyle\n ? [inversionStyle, this.props.style]\n : this.props.style,\n };\n\n this._hasMore =\n this.state.last < this.props.getItemCount(this.props.data) - 1;\n\n const innerRet = (\n \n {React.cloneElement(\n (\n this.props.renderScrollComponent ||\n this._defaultRenderScrollComponent\n )(scrollProps),\n {\n ref: this._captureScrollRef,\n },\n cells,\n )}\n \n );\n let ret = innerRet;\n if (__DEV__) {\n ret = (\n \n {scrollContext => {\n if (\n scrollContext != null &&\n !scrollContext.horizontal ===\n !horizontalOrDefault(this.props.horizontal) &&\n !this._hasWarned.nesting &&\n this.context == null\n ) {\n // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170\n console.error(\n 'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +\n 'orientation because it can break windowing and other functionality - use another ' +\n 'VirtualizedList-backed container instead.',\n );\n this._hasWarned.nesting = true;\n }\n return innerRet;\n }}\n \n );\n }\n if (this.props.debug) {\n return (\n \n {ret}\n {this._renderDebugOverlay()}\n \n );\n } else {\n return ret;\n }\n }\n\n componentDidUpdate(prevProps: Props) {\n const {data, extraData} = this.props;\n if (data !== prevProps.data || extraData !== prevProps.extraData) {\n // clear the viewableIndices cache to also trigger\n // the onViewableItemsChanged callback with the new data\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.resetViewableIndices();\n });\n }\n // The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen\n // once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true\n // if a hiPri update needs to perform. If `componentDidUpdate` is triggered with\n // `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The\n // `_scheduleCellsToRenderUpdate` will check this condition and not perform\n // another hiPri update.\n const hiPriInProgress = this._hiPriInProgress;\n this._scheduleCellsToRenderUpdate();\n // Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`\n // is triggered with `this._hiPriInProgress = true`\n if (hiPriInProgress) {\n this._hiPriInProgress = false;\n }\n }\n\n _averageCellLength = 0;\n // Maps a cell key to the set of keys for all outermost child lists within that cell\n _cellKeysToChildListKeys: Map> = new Map();\n _cellRefs = {};\n _fillRateHelper: FillRateHelper;\n _frames = {};\n _footerLength = 0;\n _hasDoneInitialScroll = false;\n _hasInteracted = false;\n _hasMore = false;\n _hasWarned = {};\n _headerLength = 0;\n _hiPriInProgress: boolean = false; // flag to prevent infinite hiPri cell limit update\n _highestMeasuredFrameIndex = 0;\n _indicesToKeys: Map = new Map();\n _nestedChildLists: Map<\n string,\n {\n ref: ?VirtualizedList,\n state: ?ChildListState,\n ...\n },\n > = new Map();\n _offsetFromParentVirtualizedList: number = 0;\n _prevParentOffset: number = 0;\n _scrollMetrics = {\n contentLength: 0,\n dOffset: 0,\n dt: 10,\n offset: 0,\n timestamp: 0,\n velocity: 0,\n visibleLength: 0,\n };\n _scrollRef: ?React.ElementRef = null;\n _sentEndForContentLength = 0;\n _totalCellLength = 0;\n _totalCellsMeasured = 0;\n _updateCellsToRenderBatcher: Batchinator;\n _viewabilityTuples: Array = [];\n\n _captureScrollRef = ref => {\n this._scrollRef = ref;\n };\n\n _computeBlankness() {\n this._fillRateHelper.computeBlankness(\n this.props,\n this.state,\n this._scrollMetrics,\n );\n }\n\n _defaultRenderScrollComponent = props => {\n const onRefresh = props.onRefresh;\n if (this._isNestedWithSameOrientation()) {\n // $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors\n return ;\n } else if (onRefresh) {\n invariant(\n typeof props.refreshing === 'boolean',\n '`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `' +\n JSON.stringify(props.refreshing ?? 'undefined') +\n '`',\n );\n return (\n // $FlowFixMe[prop-missing] Invalid prop usage\n \n ) : (\n props.refreshControl\n )\n }\n />\n );\n } else {\n // $FlowFixMe[prop-missing] Invalid prop usage\n return ;\n }\n };\n\n _onCellLayout(e, cellKey, index) {\n const layout = e.nativeEvent.layout;\n const next = {\n offset: this._selectOffset(layout),\n length: this._selectLength(layout),\n index,\n inLayout: true,\n };\n const curr = this._frames[cellKey];\n if (\n !curr ||\n next.offset !== curr.offset ||\n next.length !== curr.length ||\n index !== curr.index\n ) {\n this._totalCellLength += next.length - (curr ? curr.length : 0);\n this._totalCellsMeasured += curr ? 0 : 1;\n this._averageCellLength =\n this._totalCellLength / this._totalCellsMeasured;\n this._frames[cellKey] = next;\n this._highestMeasuredFrameIndex = Math.max(\n this._highestMeasuredFrameIndex,\n index,\n );\n this._scheduleCellsToRenderUpdate();\n } else {\n this._frames[cellKey].inLayout = true;\n }\n\n this._triggerRemeasureForChildListsInCell(cellKey);\n\n this._computeBlankness();\n this._updateViewableItems(this.props.data);\n }\n\n _onCellUnmount = (cellKey: string) => {\n const curr = this._frames[cellKey];\n if (curr) {\n this._frames[cellKey] = {...curr, inLayout: false};\n }\n };\n\n _triggerRemeasureForChildListsInCell(cellKey: string): void {\n const childListKeys = this._cellKeysToChildListKeys.get(cellKey);\n if (childListKeys) {\n for (let childKey of childListKeys) {\n const childList = this._nestedChildLists.get(childKey);\n childList &&\n childList.ref &&\n childList.ref.measureLayoutRelativeToContainingList();\n }\n }\n }\n\n measureLayoutRelativeToContainingList(): void {\n // TODO (T35574538): findNodeHandle sometimes crashes with \"Unable to find\n // node on an unmounted component\" during scrolling\n try {\n if (!this._scrollRef) {\n return;\n }\n // We are assuming that getOutermostParentListRef().getScrollRef()\n // is a non-null reference to a ScrollView\n this._scrollRef.measureLayout(\n this.context.getOutermostParentListRef().getScrollRef(),\n (x, y, width, height) => {\n this._offsetFromParentVirtualizedList = this._selectOffset({x, y});\n this._scrollMetrics.contentLength = this._selectLength({\n width,\n height,\n });\n const scrollMetrics = this._convertParentScrollMetrics(\n this.context.getScrollMetrics(),\n );\n\n const metricsChanged =\n this._scrollMetrics.visibleLength !== scrollMetrics.visibleLength ||\n this._scrollMetrics.offset !== scrollMetrics.offset;\n\n if (metricsChanged) {\n this._scrollMetrics.visibleLength = scrollMetrics.visibleLength;\n this._scrollMetrics.offset = scrollMetrics.offset;\n\n // If metrics of the scrollView changed, then we triggered remeasure for child list\n // to ensure VirtualizedList has the right information.\n this._cellKeysToChildListKeys.forEach(childListKeys => {\n if (childListKeys) {\n for (let childKey of childListKeys) {\n const childList = this._nestedChildLists.get(childKey);\n childList &&\n childList.ref &&\n childList.ref.measureLayoutRelativeToContainingList();\n }\n }\n });\n }\n },\n error => {\n console.warn(\n \"VirtualizedList: Encountered an error while measuring a list's\" +\n ' offset from its containing VirtualizedList.',\n );\n },\n );\n } catch (error) {\n console.warn(\n 'measureLayoutRelativeToContainingList threw an error',\n error.stack,\n );\n }\n }\n\n _onLayout = (e: Object) => {\n if (this._isNestedWithSameOrientation()) {\n // Need to adjust our scroll metrics to be relative to our containing\n // VirtualizedList before we can make claims about list item viewability\n this.measureLayoutRelativeToContainingList();\n } else {\n this._scrollMetrics.visibleLength = this._selectLength(\n e.nativeEvent.layout,\n );\n }\n this.props.onLayout && this.props.onLayout(e);\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEndReached();\n };\n\n _onLayoutEmpty = e => {\n this.props.onLayout && this.props.onLayout(e);\n };\n\n _getFooterCellKey(): string {\n return this._getCellKey() + '-footer';\n }\n\n _onLayoutFooter = e => {\n this._triggerRemeasureForChildListsInCell(this._getFooterCellKey());\n this._footerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n _onLayoutHeader = e => {\n this._headerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n _renderDebugOverlay() {\n const normalize =\n this._scrollMetrics.visibleLength /\n (this._scrollMetrics.contentLength || 1);\n const framesInLayout = [];\n const itemCount = this.props.getItemCount(this.props.data);\n for (let ii = 0; ii < itemCount; ii++) {\n const frame = this._getFrameMetricsApprox(ii);\n /* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.68 was deployed. To see the\n * error delete this comment and run Flow. */\n if (frame.inLayout) {\n framesInLayout.push(frame);\n }\n }\n const windowTop = this._getFrameMetricsApprox(this.state.first).offset;\n const frameLast = this._getFrameMetricsApprox(this.state.last);\n const windowLen = frameLast.offset + frameLast.length - windowTop;\n const visTop = this._scrollMetrics.offset;\n const visLen = this._scrollMetrics.visibleLength;\n\n return (\n \n {framesInLayout.map((f, ii) => (\n \n ))}\n \n \n \n );\n }\n\n _selectLength(\n metrics: $ReadOnly<{\n height: number,\n width: number,\n ...\n }>,\n ): number {\n return !horizontalOrDefault(this.props.horizontal)\n ? metrics.height\n : metrics.width;\n }\n\n _selectOffset(\n metrics: $ReadOnly<{\n x: number,\n y: number,\n ...\n }>,\n ): number {\n return !horizontalOrDefault(this.props.horizontal) ? metrics.y : metrics.x;\n }\n\n _maybeCallOnEndReached() {\n const {\n data,\n getItemCount,\n onEndReached,\n onEndReachedThreshold,\n } = this.props;\n const {contentLength, visibleLength, offset} = this._scrollMetrics;\n const distanceFromEnd = contentLength - visibleLength - offset;\n const threshold =\n onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : 2;\n if (\n onEndReached &&\n this.state.last === getItemCount(data) - 1 &&\n distanceFromEnd < threshold &&\n this._scrollMetrics.contentLength !== this._sentEndForContentLength\n ) {\n // Only call onEndReached once for a given content length\n this._sentEndForContentLength = this._scrollMetrics.contentLength;\n onEndReached({distanceFromEnd});\n } else if (distanceFromEnd > threshold) {\n // If the user scrolls away from the end and back again cause\n // an onEndReached to be triggered again\n this._sentEndForContentLength = 0;\n }\n }\n\n _onContentSizeChange = (width: number, height: number) => {\n if (\n width > 0 &&\n height > 0 &&\n this.props.initialScrollIndex != null &&\n this.props.initialScrollIndex > 0 &&\n !this._hasDoneInitialScroll\n ) {\n if (this.props.contentOffset == null) {\n this.scrollToIndex({\n animated: false,\n index: this.props.initialScrollIndex,\n });\n }\n this._hasDoneInitialScroll = true;\n }\n if (this.props.onContentSizeChange) {\n this.props.onContentSizeChange(width, height);\n }\n this._scrollMetrics.contentLength = this._selectLength({height, width});\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEndReached();\n };\n\n /* Translates metrics from a scroll event in a parent VirtualizedList into\n * coordinates relative to the child list.\n */\n _convertParentScrollMetrics = (metrics: {\n visibleLength: number,\n offset: number,\n ...\n }) => {\n // Offset of the top of the nested list relative to the top of its parent's viewport\n const offset = metrics.offset - this._offsetFromParentVirtualizedList;\n // Child's visible length is the same as its parent's\n const visibleLength = metrics.visibleLength;\n const dOffset = offset - this._scrollMetrics.offset;\n const contentLength = this._scrollMetrics.contentLength;\n\n return {\n visibleLength,\n contentLength,\n offset,\n dOffset,\n };\n };\n\n _onScroll = (e: Object) => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onScroll(e);\n });\n if (this.props.onScroll) {\n this.props.onScroll(e);\n }\n const timestamp = e.timeStamp;\n let visibleLength = this._selectLength(e.nativeEvent.layoutMeasurement);\n let contentLength = this._selectLength(e.nativeEvent.contentSize);\n let offset = this._selectOffset(e.nativeEvent.contentOffset);\n let dOffset = offset - this._scrollMetrics.offset;\n\n if (this._isNestedWithSameOrientation()) {\n if (this._scrollMetrics.contentLength === 0) {\n // Ignore scroll events until onLayout has been called and we\n // know our offset from our offset from our parent\n return;\n }\n ({\n visibleLength,\n contentLength,\n offset,\n dOffset,\n } = this._convertParentScrollMetrics({\n visibleLength,\n offset,\n }));\n }\n\n const dt = this._scrollMetrics.timestamp\n ? Math.max(1, timestamp - this._scrollMetrics.timestamp)\n : 1;\n const velocity = dOffset / dt;\n\n if (\n dt > 500 &&\n this._scrollMetrics.dt > 500 &&\n contentLength > 5 * visibleLength &&\n !this._hasWarned.perf\n ) {\n infoLog(\n 'VirtualizedList: You have a large list that is slow to update - make sure your ' +\n 'renderItem function renders components that follow React performance best practices ' +\n 'like PureComponent, shouldComponentUpdate, etc.',\n {dt, prevDt: this._scrollMetrics.dt, contentLength},\n );\n this._hasWarned.perf = true;\n }\n this._scrollMetrics = {\n contentLength,\n dt,\n dOffset,\n offset,\n timestamp,\n velocity,\n visibleLength,\n };\n this._updateViewableItems(this.props.data);\n if (!this.props) {\n return;\n }\n this._maybeCallOnEndReached();\n if (velocity !== 0) {\n this._fillRateHelper.activate();\n }\n this._computeBlankness();\n this._scheduleCellsToRenderUpdate();\n };\n\n _scheduleCellsToRenderUpdate() {\n const {first, last} = this.state;\n const {offset, visibleLength, velocity} = this._scrollMetrics;\n const itemCount = this.props.getItemCount(this.props.data);\n let hiPri = false;\n const onEndReachedThreshold = onEndReachedThresholdOrDefault(\n this.props.onEndReachedThreshold,\n );\n const scrollingThreshold = (onEndReachedThreshold * visibleLength) / 2;\n // Mark as high priority if we're close to the start of the first item\n // But only if there are items before the first rendered item\n if (first > 0) {\n const distTop = offset - this._getFrameMetricsApprox(first).offset;\n hiPri =\n hiPri || distTop < 0 || (velocity < -2 && distTop < scrollingThreshold);\n }\n // Mark as high priority if we're close to the end of the last item\n // But only if there are items after the last rendered item\n if (last < itemCount - 1) {\n const distBottom =\n this._getFrameMetricsApprox(last).offset - (offset + visibleLength);\n hiPri =\n hiPri ||\n distBottom < 0 ||\n (velocity > 2 && distBottom < scrollingThreshold);\n }\n // Only trigger high-priority updates if we've actually rendered cells,\n // and with that size estimate, accurately compute how many cells we should render.\n // Otherwise, it would just render as many cells as it can (of zero dimension),\n // each time through attempting to render more (limited by maxToRenderPerBatch),\n // starving the renderer from actually laying out the objects and computing _averageCellLength.\n // If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate\n // We shouldn't do another hipri cellToRenderUpdate\n if (\n hiPri &&\n (this._averageCellLength || this.props.getItemLayout) &&\n !this._hiPriInProgress\n ) {\n this._hiPriInProgress = true;\n // Don't worry about interactions when scrolling quickly; focus on filling content as fast\n // as possible.\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._updateCellsToRender();\n return;\n } else {\n this._updateCellsToRenderBatcher.schedule();\n }\n }\n\n _onScrollBeginDrag = (e): void => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onScrollBeginDrag(e);\n });\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.recordInteraction();\n });\n this._hasInteracted = true;\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n };\n\n _onScrollEndDrag = (e): void => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onScrollEndDrag(e);\n });\n const {velocity} = e.nativeEvent;\n if (velocity) {\n this._scrollMetrics.velocity = this._selectOffset(velocity);\n }\n this._computeBlankness();\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n };\n\n _onMomentumScrollBegin = (e): void => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onMomentumScrollBegin(e);\n });\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n };\n\n _onMomentumScrollEnd = (e): void => {\n this._nestedChildLists.forEach(childList => {\n childList.ref && childList.ref._onMomentumScrollEnd(e);\n });\n this._scrollMetrics.velocity = 0;\n this._computeBlankness();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n };\n\n _updateCellsToRender = () => {\n const {\n data,\n getItemCount,\n onEndReachedThreshold: _onEndReachedThreshold,\n } = this.props;\n const onEndReachedThreshold = onEndReachedThresholdOrDefault(\n _onEndReachedThreshold,\n );\n const isVirtualizationDisabled = this._isVirtualizationDisabled();\n this._updateViewableItems(data);\n if (!data) {\n return;\n }\n this.setState(state => {\n let newState;\n const {contentLength, offset, visibleLength} = this._scrollMetrics;\n if (!isVirtualizationDisabled) {\n // If we run this with bogus data, we'll force-render window {first: 0, last: 0},\n // and wipe out the initialNumToRender rendered elements.\n // So let's wait until the scroll view metrics have been set up. And until then,\n // we will trust the initialNumToRender suggestion\n if (visibleLength > 0 && contentLength > 0) {\n // If we have a non-zero initialScrollIndex and run this before we've scrolled,\n // we'll wipe out the initialNumToRender rendered elements starting at initialScrollIndex.\n // So let's wait until we've scrolled the view to the right place. And until then,\n // we will trust the initialScrollIndex suggestion.\n if (!this.props.initialScrollIndex || this._scrollMetrics.offset) {\n newState = computeWindowedRenderLimits(\n this.props.data,\n this.props.getItemCount,\n maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch),\n windowSizeOrDefault(this.props.windowSize),\n state,\n this._getFrameMetricsApprox,\n this._scrollMetrics,\n );\n }\n }\n } else {\n const distanceFromEnd = contentLength - visibleLength - offset;\n const renderAhead =\n distanceFromEnd < onEndReachedThreshold * visibleLength\n ? maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)\n : 0;\n newState = {\n first: 0,\n last: Math.min(state.last + renderAhead, getItemCount(data) - 1),\n };\n }\n if (newState && this._nestedChildLists.size > 0) {\n const newFirst = newState.first;\n const newLast = newState.last;\n // If some cell in the new state has a child list in it, we should only render\n // up through that item, so that we give that list a chance to render.\n // Otherwise there's churn from multiple child lists mounting and un-mounting\n // their items.\n for (let ii = newFirst; ii <= newLast; ii++) {\n const cellKeyForIndex = this._indicesToKeys.get(ii);\n const childListKeys =\n cellKeyForIndex &&\n this._cellKeysToChildListKeys.get(cellKeyForIndex);\n if (!childListKeys) {\n continue;\n }\n let someChildHasMore = false;\n // For each cell, need to check whether any child list in it has more elements to render\n for (let childKey of childListKeys) {\n const childList = this._nestedChildLists.get(childKey);\n if (childList && childList.ref && childList.ref.hasMore()) {\n someChildHasMore = true;\n break;\n }\n }\n if (someChildHasMore) {\n // $FlowFixMe[incompatible-use]\n newState.last = ii;\n break;\n }\n }\n }\n if (\n newState != null &&\n newState.first === state.first &&\n newState.last === state.last\n ) {\n newState = null;\n }\n return newState;\n });\n };\n\n _createViewToken = (index: number, isViewable: boolean) => {\n const {data, getItem} = this.props;\n const item = getItem(data, index);\n return {index, item, key: this._keyExtractor(item, index), isViewable};\n };\n\n _getFrameMetricsApprox = (\n index: number,\n ): {\n length: number,\n offset: number,\n ...\n } => {\n const frame = this._getFrameMetrics(index);\n if (frame && frame.index === index) {\n // check for invalid frames due to row re-ordering\n return frame;\n } else {\n const {getItemLayout} = this.props;\n invariant(\n !getItemLayout,\n 'Should not have to estimate frames when a measurement metrics function is provided',\n );\n return {\n length: this._averageCellLength,\n offset: this._averageCellLength * index,\n };\n }\n };\n\n _getFrameMetrics = (\n index: number,\n ): ?{\n length: number,\n offset: number,\n index: number,\n inLayout?: boolean,\n ...\n } => {\n const {data, getItem, getItemCount, getItemLayout} = this.props;\n invariant(\n getItemCount(data) > index,\n 'Tried to get frame for out of range index ' + index,\n );\n const item = getItem(data, index);\n let frame = item && this._frames[this._keyExtractor(item, index)];\n if (!frame || frame.index !== index) {\n if (getItemLayout) {\n frame = getItemLayout(data, index);\n }\n }\n /* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.63 was deployed. To see the error\n * delete this comment and run Flow. */\n return frame;\n };\n\n _updateViewableItems(data: any) {\n const {getItemCount} = this.props;\n\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.onUpdate(\n getItemCount(data),\n this._scrollMetrics.offset,\n this._scrollMetrics.visibleLength,\n this._getFrameMetrics,\n this._createViewToken,\n tuple.onViewableItemsChanged,\n this.state,\n );\n });\n }\n}\n\ntype CellRendererProps = {\n CellRendererComponent?: ?React.ComponentType,\n ItemSeparatorComponent: ?React.ComponentType<\n any | {highlighted: boolean, leadingItem: ?Item},\n >,\n cellKey: string,\n fillRateHelper: FillRateHelper,\n horizontal: ?boolean,\n index: number,\n inversionStyle: ViewStyleProp,\n item: Item,\n // This is extracted by ScrollViewStickyHeader\n onLayout: (event: Object) => void,\n onUnmount: (cellKey: string) => void,\n onUpdateSeparators: (cellKeys: Array, props: Object) => void,\n parentProps: {\n // e.g. height, y,\n getItemLayout?: (\n data: any,\n index: number,\n ) => {\n length: number,\n offset: number,\n index: number,\n ...\n },\n renderItem?: ?RenderItemType,\n ListItemComponent?: ?(React.ComponentType | React.Element),\n ...\n },\n prevCellKey: ?string,\n ...\n};\n\ntype CellRendererState = {\n separatorProps: $ReadOnly<{|\n highlighted: boolean,\n leadingItem: ?Item,\n |}>,\n ...\n};\n\nclass CellRenderer extends React.Component<\n CellRendererProps,\n CellRendererState,\n> {\n state = {\n separatorProps: {\n highlighted: false,\n leadingItem: this.props.item,\n },\n };\n\n static getDerivedStateFromProps(\n props: CellRendererProps,\n prevState: CellRendererState,\n ): ?CellRendererState {\n return {\n separatorProps: {\n ...prevState.separatorProps,\n leadingItem: props.item,\n },\n };\n }\n\n // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not\n // reused by SectionList and we can keep VirtualizedList simpler.\n _separators = {\n highlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: true,\n });\n },\n unhighlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: false,\n });\n },\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators(\n [select === 'leading' ? prevCellKey : cellKey],\n newProps,\n );\n },\n };\n\n updateSeparatorProps(newProps: Object) {\n this.setState(state => ({\n separatorProps: {...state.separatorProps, ...newProps},\n }));\n }\n\n componentWillUnmount() {\n this.props.onUnmount(this.props.cellKey);\n }\n\n _renderElement(renderItem, ListItemComponent, item, index) {\n if (renderItem && ListItemComponent) {\n console.warn(\n 'VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take' +\n ' precedence over renderItem.',\n );\n }\n\n if (ListItemComponent) {\n /* $FlowFixMe[not-a-component] (>=0.108.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.108 was deployed. To\n * see the error, delete this comment and run Flow. */\n /* $FlowFixMe[incompatible-type-arg] (>=0.108.0 site=react_native_fb)\n * This comment suppresses an error found when Flow v0.108 was deployed.\n * To see the error, delete this comment and run Flow. */\n return React.createElement(ListItemComponent, {\n item,\n index,\n separators: this._separators,\n });\n }\n\n if (renderItem) {\n return renderItem({\n item,\n index,\n separators: this._separators,\n });\n }\n\n invariant(\n false,\n 'VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.',\n );\n }\n\n render() {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n fillRateHelper,\n horizontal,\n item,\n index,\n inversionStyle,\n parentProps,\n } = this.props;\n const {renderItem, getItemLayout, ListItemComponent} = parentProps;\n const element = this._renderElement(\n renderItem,\n ListItemComponent,\n item,\n index,\n );\n\n const onLayout =\n /* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.68 was deployed. To see the\n * error delete this comment and run Flow. */\n getItemLayout && !parentProps.debug && !fillRateHelper.enabled()\n ? undefined\n : this.props.onLayout;\n // NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and\n // called explicitly by `ScrollViewStickyHeader`.\n const itemSeparator = ItemSeparatorComponent && (\n \n );\n const cellStyle = inversionStyle\n ? horizontal\n ? [styles.rowReverse, inversionStyle]\n : [styles.columnReverse, inversionStyle]\n : horizontal\n ? [styles.row, inversionStyle]\n : inversionStyle;\n const result = !CellRendererComponent ? (\n /* $FlowFixMe[incompatible-type-arg] (>=0.89.0 site=react_native_fb) *\n This comment suppresses an error found when Flow v0.89 was deployed. *\n To see the error, delete this comment and run Flow. */\n \n {element}\n {itemSeparator}\n \n ) : (\n \n {element}\n {itemSeparator}\n \n );\n\n return (\n \n {result}\n \n );\n }\n}\n\nfunction describeNestedLists(childList: {\n +cellKey: string,\n +key: string,\n +ref: VirtualizedList,\n +parentDebugInfo: ListDebugInfo,\n +horizontal: boolean,\n ...\n}) {\n let trace =\n 'VirtualizedList trace:\\n' +\n ` Child (${childList.horizontal ? 'horizontal' : 'vertical'}):\\n` +\n ` listKey: ${childList.key}\\n` +\n ` cellKey: ${childList.cellKey}`;\n\n let debugInfo = childList.parentDebugInfo;\n while (debugInfo) {\n trace +=\n `\\n Parent (${debugInfo.horizontal ? 'horizontal' : 'vertical'}):\\n` +\n ` listKey: ${debugInfo.listKey}\\n` +\n ` cellKey: ${debugInfo.cellKey}`;\n debugInfo = debugInfo.parent;\n }\n return trace;\n}\n\nconst styles = StyleSheet.create({\n verticallyInverted: {\n transform: [{scaleY: -1}],\n },\n horizontallyInverted: {\n transform: [{scaleX: -1}],\n },\n row: {\n flexDirection: 'row',\n },\n rowReverse: {\n flexDirection: 'row-reverse',\n },\n columnReverse: {\n flexDirection: 'column-reverse',\n },\n debug: {\n flex: 1,\n },\n debugOverlayBase: {\n position: 'absolute',\n top: 0,\n right: 0,\n },\n debugOverlay: {\n bottom: 0,\n width: 20,\n borderColor: 'blue',\n borderWidth: 1,\n },\n debugOverlayFrame: {\n left: 0,\n backgroundColor: 'orange',\n },\n debugOverlayFrameLast: {\n left: 0,\n borderColor: 'green',\n borderWidth: 2,\n },\n debugOverlayFrameVis: {\n left: 0,\n borderColor: 'red',\n borderWidth: 2,\n },\n});\n\nmodule.exports = VirtualizedList;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type VirtualizedList from './VirtualizedList.js';\nimport * as React from 'react';\nimport {useMemo, useContext} from 'react';\n\ntype Frame = $ReadOnly<{\n offset: number,\n length: number,\n index: number,\n inLayout: boolean,\n}>;\n\nexport type ChildListState = $ReadOnly<{\n first: number,\n last: number,\n frames: {[key: number]: Frame},\n}>;\n\n// Data propagated through nested lists (regardless of orientation) that is\n// useful for producing diagnostics for usage errors involving nesting (e.g\n// missing/duplicate keys).\nexport type ListDebugInfo = $ReadOnly<{\n cellKey: string,\n listKey: string,\n parent: ?ListDebugInfo,\n // We include all ancestors regardless of orientation, so this is not always\n // identical to the child's orientation.\n horizontal: boolean,\n}>;\n\ntype Context = $ReadOnly<{\n cellKey: ?string,\n getScrollMetrics: () => {\n contentLength: number,\n dOffset: number,\n dt: number,\n offset: number,\n timestamp: number,\n velocity: number,\n visibleLength: number,\n },\n horizontal: ?boolean,\n getOutermostParentListRef: () => VirtualizedList,\n getNestedChildState: string => ?ChildListState,\n registerAsNestedChild: ({\n cellKey: string,\n key: string,\n ref: VirtualizedList,\n parentDebugInfo: ListDebugInfo,\n }) => ?ChildListState,\n unregisterAsNestedChild: ({\n key: string,\n state: ChildListState,\n }) => void,\n debugInfo: ListDebugInfo,\n}>;\n\nexport const VirtualizedListContext: React.Context = React.createContext(\n null,\n);\nif (__DEV__) {\n VirtualizedListContext.displayName = 'VirtualizedListContext';\n}\n\n/**\n * Resets the context. Intended for use by portal-like components (e.g. Modal).\n */\nexport function VirtualizedListContextResetter({\n children,\n}: {\n children: React.Node,\n}): React.Node {\n return (\n \n {children}\n \n );\n}\n\n/**\n * Sets the context with memoization. Intended to be used by `VirtualizedList`.\n */\nexport function VirtualizedListContextProvider({\n children,\n value,\n}: {\n children: React.Node,\n value: Context,\n}): React.Node {\n // Avoid setting a newly created context object if the values are identical.\n const context = useMemo(\n () => ({\n cellKey: null,\n getScrollMetrics: value.getScrollMetrics,\n horizontal: value.horizontal,\n getOutermostParentListRef: value.getOutermostParentListRef,\n getNestedChildState: value.getNestedChildState,\n registerAsNestedChild: value.registerAsNestedChild,\n unregisterAsNestedChild: value.unregisterAsNestedChild,\n debugInfo: {\n cellKey: value.debugInfo.cellKey,\n horizontal: value.debugInfo.horizontal,\n listKey: value.debugInfo.listKey,\n parent: value.debugInfo.parent,\n },\n }),\n [\n value.getScrollMetrics,\n value.horizontal,\n value.getOutermostParentListRef,\n value.getNestedChildState,\n value.registerAsNestedChild,\n value.unregisterAsNestedChild,\n value.debugInfo.cellKey,\n value.debugInfo.horizontal,\n value.debugInfo.listKey,\n value.debugInfo.parent,\n ],\n );\n return (\n \n {children}\n \n );\n}\n\n/**\n * Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.\n */\nexport function VirtualizedListCellContextProvider({\n cellKey,\n children,\n}: {\n cellKey: string,\n children: React.Node,\n}): React.Node {\n const context = useContext(VirtualizedListContext);\n return (\n \n {children}\n \n );\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst InteractionManager = require('./InteractionManager');\n\n/**\n * A simple class for batching up invocations of a low-pri callback. A timeout is set to run the\n * callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,\n * InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri\n * interactions are done running.\n *\n * Make sure to cleanup with dispose(). Example:\n *\n * class Widget extends React.Component {\n * _batchedSave: new Batchinator(() => this._saveState, 1000);\n * _saveSate() {\n * // save this.state to disk\n * }\n * componentDidUpdate() {\n * this._batchedSave.schedule();\n * }\n * componentWillUnmount() {\n * this._batchedSave.dispose();\n * }\n * ...\n * }\n */\nclass Batchinator {\n _callback: () => void;\n _delay: number;\n _taskHandle: ?{cancel: () => void, ...};\n constructor(callback: () => void, delayMS: number) {\n this._delay = delayMS;\n this._callback = callback;\n }\n /*\n * Cleanup any pending tasks.\n *\n * By default, if there is a pending task the callback is run immediately. Set the option abort to\n * true to not call the callback if it was pending.\n */\n dispose(options: {abort: boolean, ...} = {abort: false}) {\n if (this._taskHandle) {\n this._taskHandle.cancel();\n if (!options.abort) {\n this._callback();\n }\n this._taskHandle = null;\n }\n }\n schedule() {\n if (this._taskHandle) {\n return;\n }\n const timeoutHandle = setTimeout(() => {\n this._taskHandle = InteractionManager.runAfterInteractions(() => {\n // Note that we clear the handle before invoking the callback so that if the callback calls\n // schedule again, it will actually schedule another task.\n this._taskHandle = null;\n this._callback();\n });\n }, this._delay);\n this._taskHandle = {cancel: () => clearTimeout(timeoutHandle)};\n }\n}\n\nmodule.exports = Batchinator;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nexport type FillRateInfo = Info;\n\nclass Info {\n any_blank_count: number = 0;\n any_blank_ms: number = 0;\n any_blank_speed_sum: number = 0;\n mostly_blank_count: number = 0;\n mostly_blank_ms: number = 0;\n pixels_blank: number = 0;\n pixels_sampled: number = 0;\n pixels_scrolled: number = 0;\n total_time_spent: number = 0;\n sample_count: number = 0;\n}\n\ntype FrameMetrics = {\n inLayout?: boolean,\n length: number,\n offset: number,\n ...\n};\n\nconst DEBUG = false;\n\nlet _listeners: Array<(Info) => void> = [];\nlet _minSampleCount = 10;\nlet _sampleRate = DEBUG ? 1 : null;\n\n/**\n * A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.\n * By default the sampling rate is set to zero and this will do nothing. If you want to collect\n * samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.\n *\n * Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with\n * `SceneTracker.getActiveScene` to determine the context of the events.\n */\nclass FillRateHelper {\n _anyBlankStartTime = (null: ?number);\n _enabled = false;\n _getFrameMetrics: (index: number) => ?FrameMetrics;\n _info = new Info();\n _mostlyBlankStartTime = (null: ?number);\n _samplesStartTime = (null: ?number);\n\n static addListener(\n callback: FillRateInfo => void,\n ): {remove: () => void, ...} {\n if (_sampleRate === null) {\n console.warn('Call `FillRateHelper.setSampleRate` before `addListener`.');\n }\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n }\n\n static setSampleRate(sampleRate: number) {\n _sampleRate = sampleRate;\n }\n\n static setMinSampleCount(minSampleCount: number) {\n _minSampleCount = minSampleCount;\n }\n\n constructor(getFrameMetrics: (index: number) => ?FrameMetrics) {\n this._getFrameMetrics = getFrameMetrics;\n this._enabled = (_sampleRate || 0) > Math.random();\n this._resetData();\n }\n\n activate() {\n if (this._enabled && this._samplesStartTime == null) {\n DEBUG && console.debug('FillRateHelper: activate');\n this._samplesStartTime = global.performance.now();\n }\n }\n\n deactivateAndFlush() {\n if (!this._enabled) {\n return;\n }\n const start = this._samplesStartTime; // const for flow\n if (start == null) {\n DEBUG &&\n console.debug('FillRateHelper: bail on deactivate with no start time');\n return;\n }\n if (this._info.sample_count < _minSampleCount) {\n // Don't bother with under-sampled events.\n this._resetData();\n return;\n }\n const total_time_spent = global.performance.now() - start;\n const info: any = {\n ...this._info,\n total_time_spent,\n };\n if (DEBUG) {\n const derived = {\n avg_blankness: this._info.pixels_blank / this._info.pixels_sampled,\n avg_speed: this._info.pixels_scrolled / (total_time_spent / 1000),\n avg_speed_when_any_blank:\n this._info.any_blank_speed_sum / this._info.any_blank_count,\n any_blank_per_min:\n this._info.any_blank_count / (total_time_spent / 1000 / 60),\n any_blank_time_frac: this._info.any_blank_ms / total_time_spent,\n mostly_blank_per_min:\n this._info.mostly_blank_count / (total_time_spent / 1000 / 60),\n mostly_blank_time_frac: this._info.mostly_blank_ms / total_time_spent,\n };\n for (const key in derived) {\n derived[key] = Math.round(1000 * derived[key]) / 1000;\n }\n console.debug('FillRateHelper deactivateAndFlush: ', {derived, info});\n }\n _listeners.forEach(listener => listener(info));\n this._resetData();\n }\n\n computeBlankness(\n props: {\n data: any,\n getItemCount: (data: any) => number,\n initialNumToRender?: ?number,\n ...\n },\n state: {\n first: number,\n last: number,\n ...\n },\n scrollMetrics: {\n dOffset: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n ...\n },\n ): number {\n if (\n !this._enabled ||\n props.getItemCount(props.data) === 0 ||\n this._samplesStartTime == null\n ) {\n return 0;\n }\n const {dOffset, offset, velocity, visibleLength} = scrollMetrics;\n\n // Denominator metrics that we track for all events - most of the time there is no blankness and\n // we want to capture that.\n this._info.sample_count++;\n this._info.pixels_sampled += Math.round(visibleLength);\n this._info.pixels_scrolled += Math.round(Math.abs(dOffset));\n const scrollSpeed = Math.round(Math.abs(velocity) * 1000); // px / sec\n\n // Whether blank now or not, record the elapsed time blank if we were blank last time.\n const now = global.performance.now();\n if (this._anyBlankStartTime != null) {\n this._info.any_blank_ms += now - this._anyBlankStartTime;\n }\n this._anyBlankStartTime = null;\n if (this._mostlyBlankStartTime != null) {\n this._info.mostly_blank_ms += now - this._mostlyBlankStartTime;\n }\n this._mostlyBlankStartTime = null;\n\n let blankTop = 0;\n let first = state.first;\n let firstFrame = this._getFrameMetrics(first);\n while (first <= state.last && (!firstFrame || !firstFrame.inLayout)) {\n firstFrame = this._getFrameMetrics(first);\n first++;\n }\n // Only count blankTop if we aren't rendering the first item, otherwise we will count the header\n // as blank.\n if (firstFrame && first > 0) {\n blankTop = Math.min(\n visibleLength,\n Math.max(0, firstFrame.offset - offset),\n );\n }\n let blankBottom = 0;\n let last = state.last;\n let lastFrame = this._getFrameMetrics(last);\n while (last >= state.first && (!lastFrame || !lastFrame.inLayout)) {\n lastFrame = this._getFrameMetrics(last);\n last--;\n }\n // Only count blankBottom if we aren't rendering the last item, otherwise we will count the\n // footer as blank.\n if (lastFrame && last < props.getItemCount(props.data) - 1) {\n const bottomEdge = lastFrame.offset + lastFrame.length;\n blankBottom = Math.min(\n visibleLength,\n Math.max(0, offset + visibleLength - bottomEdge),\n );\n }\n const pixels_blank = Math.round(blankTop + blankBottom);\n const blankness = pixels_blank / visibleLength;\n if (blankness > 0) {\n this._anyBlankStartTime = now;\n this._info.any_blank_speed_sum += scrollSpeed;\n this._info.any_blank_count++;\n this._info.pixels_blank += pixels_blank;\n if (blankness > 0.5) {\n this._mostlyBlankStartTime = now;\n this._info.mostly_blank_count++;\n }\n } else if (scrollSpeed < 0.01 || Math.abs(dOffset) < 1) {\n this.deactivateAndFlush();\n }\n return blankness;\n }\n\n enabled(): boolean {\n return this._enabled;\n }\n\n _resetData() {\n this._anyBlankStartTime = null;\n this._info = new Info();\n this._mostlyBlankStartTime = null;\n this._samplesStartTime = null;\n }\n}\n\nmodule.exports = FillRateHelper;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport AndroidSwipeRefreshLayoutNativeComponent, {\n Commands as AndroidSwipeRefreshLayoutCommands,\n} from './AndroidSwipeRefreshLayoutNativeComponent';\nimport PullToRefreshViewNativeComponent, {\n Commands as PullToRefreshCommands,\n} from './PullToRefreshViewNativeComponent';\n\ntype IOSProps = $ReadOnly<{|\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: ?string,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: ?boolean,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator.\n */\n size?: ?('default' | 'large'),\n|}>;\n\nexport type RefreshControlProps = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?() => void | Promise,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n\n /**\n * Progress view top offset\n */\n progressViewOffset?: ?number,\n|}>;\n\n/**\n * This component is used inside a ScrollView or ListView to add pull to refresh\n * functionality. When the ScrollView is at `scrollY: 0`, swiping down\n * triggers an `onRefresh` event.\n *\n * ### Usage example\n *\n * ``` js\n * class RefreshableList extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * refreshing: false,\n * };\n * }\n *\n * _onRefresh() {\n * this.setState({refreshing: true});\n * fetchData().then(() => {\n * this.setState({refreshing: false});\n * });\n * }\n *\n * render() {\n * return (\n * \n * }\n * ...\n * >\n * ...\n * \n * );\n * }\n * ...\n * }\n * ```\n *\n * __Note:__ `refreshing` is a controlled prop, this is why it needs to be set to true\n * in the `onRefresh` function otherwise the refresh indicator will stop immediately.\n */\nclass RefreshControl extends React.Component {\n _nativeRef: ?React.ElementRef<\n | typeof PullToRefreshViewNativeComponent\n | typeof AndroidSwipeRefreshLayoutNativeComponent,\n >;\n _lastNativeRefreshing = false;\n\n componentDidMount() {\n this._lastNativeRefreshing = this.props.refreshing;\n }\n\n componentDidUpdate(prevProps: RefreshControlProps) {\n // RefreshControl is a controlled component so if the native refreshing\n // value doesn't match the current js refreshing prop update it to\n // the js value.\n if (this.props.refreshing !== prevProps.refreshing) {\n this._lastNativeRefreshing = this.props.refreshing;\n } else if (\n this.props.refreshing !== this._lastNativeRefreshing &&\n this._nativeRef\n ) {\n if (Platform.OS === 'android') {\n AndroidSwipeRefreshLayoutCommands.setNativeRefreshing(\n this._nativeRef,\n this.props.refreshing,\n );\n } else {\n PullToRefreshCommands.setNativeRefreshing(\n this._nativeRef,\n this.props.refreshing,\n );\n }\n this._lastNativeRefreshing = this.props.refreshing;\n }\n }\n\n render(): React.Node {\n if (Platform.OS === 'ios') {\n const {\n enabled,\n colors,\n progressBackgroundColor,\n size,\n ...props\n } = this.props;\n return (\n \n );\n } else {\n const {tintColor, titleColor, title, ...props} = this.props;\n return (\n \n );\n }\n }\n\n _onRefresh = () => {\n this._lastNativeRefreshing = true;\n\n this.props.onRefresh && this.props.onRefresh();\n\n // The native component will start refreshing so force an update to\n // make sure it stays in sync with the js component.\n this.forceUpdate();\n };\n\n _setNativeRef = (\n ref: ?React.ElementRef<\n | typeof PullToRefreshViewNativeComponent\n | typeof AndroidSwipeRefreshLayoutNativeComponent,\n >,\n ) => {\n this._nativeRef = ref;\n };\n}\n\nmodule.exports = RefreshControl;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport * as React from 'react';\n\nimport codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\nimport type {\n DirectEventHandler,\n Float,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: WithDefault,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator.\n */\n size?: WithDefault<'default' | 'large', 'default'>,\n /**\n * Progress view top offset\n */\n progressViewOffset?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\ntype NativeType = HostComponent;\n\ninterface NativeCommands {\n +setNativeRefreshing: (\n viewRef: React.ElementRef,\n value: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeRefreshing'],\n});\n\nexport default (codegenNativeComponent(\n 'AndroidSwipeRefreshLayout',\n): NativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {\n DirectEventHandler,\n Float,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport * as React from 'react';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: WithDefault,\n /**\n * Progress view top offset\n */\n progressViewOffset?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setNativeRefreshing: (\n viewRef: React.ElementRef,\n refreshing: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeRefreshing'],\n});\n\nexport default (codegenNativeComponent('PullToRefreshView', {\n paperComponentName: 'RCTRefreshControl',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport AnimatedImplementation from '../../Animated/AnimatedImplementation';\nimport Dimensions from '../../Utilities/Dimensions';\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\nimport ReactNative from '../../Renderer/shims/ReactNative';\nrequire('../../Renderer/shims/ReactNative'); // Force side effects to prevent T55744311\nimport ScrollViewStickyHeader from './ScrollViewStickyHeader';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\nimport UIManager from '../../ReactNative/UIManager';\nimport Keyboard from '../Keyboard/Keyboard';\nimport FrameRateLogger from '../../Interaction/FrameRateLogger';\nimport TextInputState from '../TextInput/TextInputState';\n\nimport dismissKeyboard from '../../Utilities/dismissKeyboard';\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport invariant from 'invariant';\nimport processDecelerationRate from './processDecelerationRate';\nimport splitLayoutProps from '../../StyleSheet/splitLayoutProps';\nimport setAndForwardRef from '../../Utilities/setAndForwardRef';\n\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {PointProp} from '../../StyleSheet/PointPropType';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n PressEvent,\n ScrollEvent,\n LayoutEvent,\n} from '../../Types/CoreEventTypes';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport ScrollViewContext, {HORIZONTAL, VERTICAL} from './ScrollViewContext';\nimport type {Props as ScrollViewStickyHeaderProps} from './ScrollViewStickyHeader';\nimport type {KeyboardEvent} from '../Keyboard/Keyboard';\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\n\nimport Commands from './ScrollViewCommands';\nimport AndroidHorizontalScrollContentViewNativeComponent from './AndroidHorizontalScrollContentViewNativeComponent';\nimport AndroidHorizontalScrollViewNativeComponent from './AndroidHorizontalScrollViewNativeComponent';\nimport ScrollContentViewNativeComponent from './ScrollContentViewNativeComponent';\nimport ScrollViewNativeComponent from './ScrollViewNativeComponent';\n\nconst {NativeHorizontalScrollViewTuple, NativeVerticalScrollViewTuple} =\n Platform.OS === 'android'\n ? {\n NativeHorizontalScrollViewTuple: [\n AndroidHorizontalScrollViewNativeComponent,\n AndroidHorizontalScrollContentViewNativeComponent,\n ],\n NativeVerticalScrollViewTuple: [ScrollViewNativeComponent, View],\n }\n : {\n NativeHorizontalScrollViewTuple: [\n ScrollViewNativeComponent,\n ScrollContentViewNativeComponent,\n ],\n NativeVerticalScrollViewTuple: [\n ScrollViewNativeComponent,\n ScrollContentViewNativeComponent,\n ],\n };\n\n/*\n * iOS scroll event timing nuances:\n * ===============================\n *\n *\n * Scrolling without bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... physical touch starts ...\n * 2. `onTouchStartCapture` (when you press down to stop the scroll)\n * 3. `onTouchStart` (same, but bubble phase)\n * 4. `onResponderRelease` (when lifting up - you could pause forever before * lifting)\n * 5. `onMomentumScrollEnd`\n *\n *\n * Scrolling with bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... bounce begins ...\n * ... some time elapses ...\n * ... physical touch during bounce ...\n * 2. `onMomentumScrollEnd` (Makes no sense why this occurs first during bounce)\n * 3. `onTouchStartCapture` (immediately after `onMomentumScrollEnd`)\n * 4. `onTouchStart` (same, but bubble phase)\n * 5. `onTouchEnd` (You could hold the touch start for a long time)\n * 6. `onMomentumScrollBegin` (When releasing the view starts bouncing back)\n *\n * So when we receive an `onTouchStart`, how can we tell if we are touching\n * *during* an animation (which then causes the animation to stop)? The only way\n * to tell is if the `touchStart` occurred immediately after the\n * `onMomentumScrollEnd`.\n *\n * This is abstracted out for you, so you can just call this.scrollResponderIsAnimating() if\n * necessary\n *\n * `ScrollView` also includes logic for blurring a currently focused input\n * if one is focused while scrolling. This is a natural place\n * to put this logic since it can support not dismissing the keyboard while\n * scrolling, unless a recognized \"tap\"-like gesture has occurred.\n *\n * The public lifecycle API includes events for keyboard interaction, responder\n * interaction, and scrolling (among others). The keyboard callbacks\n * `onKeyboardWill/Did/*` are *global* events, but are invoked on scroll\n * responder's props so that you can guarantee that the scroll responder's\n * internal state has been updated accordingly (and deterministically) by\n * the time the props callbacks are invoke. Otherwise, you would always wonder\n * if the scroll responder is currently in a state where it recognizes new\n * keyboard positions etc. If coordinating scrolling with keyboard movement,\n * *always* use these hooks instead of listening to your own global keyboard\n * events.\n *\n * Public keyboard lifecycle API: (props callbacks)\n *\n * Standard Keyboard Appearance Sequence:\n *\n * this.props.onKeyboardWillShow\n * this.props.onKeyboardDidShow\n *\n * `onScrollResponderKeyboardDismissed` will be invoked if an appropriate\n * tap inside the scroll responder's scrollable region was responsible\n * for the dismissal of the keyboard. There are other reasons why the\n * keyboard could be dismissed.\n *\n * this.props.onScrollResponderKeyboardDismissed\n *\n * Standard Keyboard Hide Sequence:\n *\n * this.props.onKeyboardWillHide\n * this.props.onKeyboardDidHide\n */\n\n// Public methods for ScrollView\nexport type ScrollViewImperativeMethods = $ReadOnly<{|\n getScrollResponder: $PropertyType,\n getScrollableNode: $PropertyType,\n getInnerViewNode: $PropertyType,\n getInnerViewRef: $PropertyType,\n getNativeScrollRef: $PropertyType,\n scrollTo: $PropertyType,\n scrollToEnd: $PropertyType,\n flashScrollIndicators: $PropertyType,\n scrollResponderZoomTo: $PropertyType,\n scrollResponderScrollNativeHandleToKeyboard: $PropertyType<\n ScrollView,\n 'scrollResponderScrollNativeHandleToKeyboard',\n >,\n|}>;\n\nexport type ScrollResponderType = ScrollViewImperativeMethods;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Controls whether iOS should automatically adjust the content inset\n * for scroll views that are placed behind a navigation bar or\n * tab bar/ toolbar. The default value is true.\n * @platform ios\n */\n automaticallyAdjustContentInsets?: ?boolean,\n /**\n * Controls whether iOS should automatically adjust the scroll indicator\n * insets. The default value is true. Available on iOS 13 and later.\n * @platform ios\n */\n automaticallyAdjustsScrollIndicatorInsets?: ?boolean,\n /**\n * The amount by which the scroll view content is inset from the edges\n * of the scroll view. Defaults to `{top: 0, left: 0, bottom: 0, right: 0}`.\n * @platform ios\n */\n contentInset?: ?EdgeInsetsProp,\n /**\n * Used to manually set the starting scroll offset.\n * The default value is `{x: 0, y: 0}`.\n * @platform ios\n */\n contentOffset?: ?PointProp,\n /**\n * When true, the scroll view bounces when it reaches the end of the\n * content if the content is larger then the scroll view along the axis of\n * the scroll direction. When false, it disables all bouncing even if\n * the `alwaysBounce*` props are true. The default value is true.\n * @platform ios\n */\n bounces?: ?boolean,\n /**\n * By default, ScrollView has an active pan responder that hijacks panresponders\n * deeper in the render tree in order to prevent accidental touches while scrolling.\n * However, in certain occasions (such as when using snapToInterval) in a vertical scrollview\n * You may want to disable this behavior in order to prevent the ScrollView from blocking touches\n */\n disableScrollViewPanResponder?: ?boolean,\n /**\n * When true, gestures can drive zoom past min/max and the zoom will animate\n * to the min/max value at gesture end, otherwise the zoom will not exceed\n * the limits.\n * @platform ios\n */\n bouncesZoom?: ?boolean,\n /**\n * When true, the scroll view bounces horizontally when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is true when `horizontal={true}` and false otherwise.\n * @platform ios\n */\n alwaysBounceHorizontal?: ?boolean,\n /**\n * When true, the scroll view bounces vertically when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is false when `horizontal={true}` and true otherwise.\n * @platform ios\n */\n alwaysBounceVertical?: ?boolean,\n /**\n * When true, the scroll view automatically centers the content when the\n * content is smaller than the scroll view bounds; when the content is\n * larger than the scroll view, this property has no effect. The default\n * value is false.\n * @platform ios\n */\n centerContent?: ?boolean,\n /**\n * The style of the scroll indicators.\n *\n * - `'default'` (the default), same as `black`.\n * - `'black'`, scroll indicator is black. This style is good against a light background.\n * - `'white'`, scroll indicator is white. This style is good against a dark background.\n *\n * @platform ios\n */\n indicatorStyle?: ?('default' | 'black' | 'white'),\n /**\n * When true, the ScrollView will try to lock to only vertical or horizontal\n * scrolling while dragging. The default value is false.\n * @platform ios\n */\n directionalLockEnabled?: ?boolean,\n /**\n * When false, once tracking starts, won't try to drag if the touch moves.\n * The default value is true.\n * @platform ios\n */\n canCancelContentTouches?: ?boolean,\n /**\n * When set, the scroll view will adjust the scroll position so that the first child that is\n * currently visible and at or beyond `minIndexForVisible` will not change position. This is\n * useful for lists that are loading content in both directions, e.g. a chat thread, where new\n * messages coming in might otherwise cause the scroll position to jump. A value of 0 is common,\n * but other values such as 1 can be used to skip loading spinners or other content that should\n * not maintain position.\n *\n * The optional `autoscrollToTopThreshold` can be used to make the content automatically scroll\n * to the top after making the adjustment if the user was within the threshold of the top before\n * the adjustment was made. This is also useful for chat-like applications where you want to see\n * new messages scroll into place, but not if the user has scrolled up a ways and it would be\n * disruptive to scroll a bunch.\n *\n * Caveat 1: Reordering elements in the scrollview with this enabled will probably cause\n * jumpiness and jank. It can be fixed, but there are currently no plans to do so. For now,\n * don't re-order the content of any ScrollViews or Lists that use this feature.\n *\n * Caveat 2: This simply uses `contentOffset` and `frame.origin` in native code to compute\n * visibility. Occlusion, transforms, and other complexity won't be taken into account as to\n * whether content is \"visible\" or not.\n *\n * @platform ios\n */\n maintainVisibleContentPosition?: ?$ReadOnly<{|\n minIndexForVisible: number,\n autoscrollToTopThreshold?: ?number,\n |}>,\n /**\n * The maximum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n maximumZoomScale?: ?number,\n /**\n * The minimum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n minimumZoomScale?: ?number,\n /**\n * When true, ScrollView allows use of pinch gestures to zoom in and out.\n * The default value is true.\n * @platform ios\n */\n pinchGestureEnabled?: ?boolean,\n /**\n * This controls how often the scroll event will be fired while scrolling\n * (as a time interval in ms). A lower number yields better accuracy for code\n * that is tracking the scroll position, but can lead to scroll performance\n * problems due to the volume of information being send over the bridge.\n *\n * Values between 0 and 17ms indicate 60fps updates are needed and throttling\n * will be disabled.\n *\n * If you do not need precise scroll position tracking, set this value higher\n * to limit the information being sent across the bridge.\n *\n * The default value is zero, which results in the scroll event being sent only\n * once each time the view is scrolled.\n *\n * @platform ios\n */\n scrollEventThrottle?: ?number,\n /**\n * The amount by which the scroll view indicators are inset from the edges\n * of the scroll view. This should normally be set to the same value as\n * the `contentInset`. Defaults to `{0, 0, 0, 0}`.\n * @platform ios\n */\n scrollIndicatorInsets?: ?EdgeInsetsProp,\n /**\n * When true, the scroll view can be programmatically scrolled beyond its\n * content size. The default value is false.\n * @platform ios\n */\n scrollToOverflowEnabled?: ?boolean,\n /**\n * When true, the scroll view scrolls to top when the status bar is tapped.\n * The default value is true.\n * @platform ios\n */\n scrollsToTop?: ?boolean,\n /**\n * Fires when the scroll view scrolls to top after the status bar has been tapped\n * @platform ios\n */\n onScrollToTop?: (event: ScrollEvent) => void,\n /**\n * When true, shows a horizontal scroll indicator.\n * The default value is true.\n */\n showsHorizontalScrollIndicator?: ?boolean,\n /**\n * When `snapToInterval` is set, `snapToAlignment` will define the relationship\n * of the snapping to the scroll view.\n *\n * - `'start'` (the default) will align the snap at the left (horizontal) or top (vertical)\n * - `'center'` will align the snap in the center\n * - `'end'` will align the snap at the right (horizontal) or bottom (vertical)\n *\n * @platform ios\n */\n snapToAlignment?: ?('start' | 'center' | 'end'),\n /**\n * The current scale of the scroll view content. The default value is 1.0.\n * @platform ios\n */\n zoomScale?: ?number,\n /**\n * This property specifies how the safe area insets are used to modify the\n * content area of the scroll view. The default value of this property is\n * \"never\". Available on iOS 11 and later.\n * @platform ios\n */\n contentInsetAdjustmentBehavior?: ?(\n | 'automatic'\n | 'scrollableAxes'\n | 'never'\n | 'always'\n ),\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Enables nested scrolling for Android API level 21+.\n * Nested scrolling is supported by default on iOS\n * @platform android\n */\n nestedScrollEnabled?: ?boolean,\n /**\n * Sometimes a scrollview takes up more space than its content fills. When this is\n * the case, this prop will fill the rest of the scrollview with a color to avoid setting\n * a background and creating unnecessary overdraw. This is an advanced optimization\n * that is not needed in the general case.\n * @platform android\n */\n endFillColor?: ?ColorValue,\n /**\n * Tag used to log scroll performance on this scroll view. Will force\n * momentum events to be turned on (see sendMomentumEvents). This doesn't do\n * anything out of the box and you need to implement a custom native\n * FpsListener for it to be useful.\n * @platform android\n */\n scrollPerfTag?: ?string,\n /**\n * Used to override default value of overScroll mode.\n *\n * Possible values:\n *\n * - `'auto'` - Default value, allow a user to over-scroll\n * this view only if the content is large enough to meaningfully scroll.\n * - `'always'` - Always allow a user to over-scroll this view.\n * - `'never'` - Never allow a user to over-scroll this view.\n *\n * @platform android\n */\n overScrollMode?: ?('auto' | 'always' | 'never'),\n /**\n * Causes the scrollbars not to turn transparent when they are not in use.\n * The default value is false.\n *\n * @platform android\n */\n persistentScrollbar?: ?boolean,\n /**\n * Fades out the edges of the the scroll content.\n *\n * If the value is greater than 0, the fading edges will be set accordingly\n * to the current scroll direction and position,\n * indicating if there is more content to show.\n *\n * The default value is 0.\n *\n * @platform android\n */\n fadingEdgeLength?: ?number,\n|}>;\n\ntype StickyHeaderComponentType = React.AbstractComponent<\n ScrollViewStickyHeaderProps,\n $ReadOnly void}>,\n>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * These styles will be applied to the scroll view content container which\n * wraps all of the child views. Example:\n *\n * ```\n * return (\n * \n * \n * );\n * ...\n * const styles = StyleSheet.create({\n * contentContainer: {\n * paddingVertical: 20\n * }\n * });\n * ```\n */\n contentContainerStyle?: ?ViewStyleProp,\n /**\n * When true, the scroll view stops on the next index (in relation to scroll\n * position at release) regardless of how fast the gesture is. This can be\n * used for pagination when the page is less than the width of the\n * horizontal ScrollView or the height of the vertical ScrollView. The default value is false.\n */\n disableIntervalMomentum?: ?boolean,\n /**\n * A floating-point number that determines how quickly the scroll view\n * decelerates after the user lifts their finger. You may also use string\n * shortcuts `\"normal\"` and `\"fast\"` which match the underlying iOS settings\n * for `UIScrollViewDecelerationRateNormal` and\n * `UIScrollViewDecelerationRateFast` respectively.\n *\n * - `'normal'`: 0.998 on iOS, 0.985 on Android (the default)\n * - `'fast'`: 0.99 on iOS, 0.9 on Android\n */\n decelerationRate?: ?('fast' | 'normal' | number),\n /**\n * When true, the scroll view's children are arranged horizontally in a row\n * instead of vertically in a column. The default value is false.\n */\n horizontal?: ?boolean,\n /**\n * If sticky headers should stick at the bottom instead of the top of the\n * ScrollView. This is usually used with inverted ScrollViews.\n */\n invertStickyHeaders?: ?boolean,\n /**\n * Determines whether the keyboard gets dismissed in response to a drag.\n *\n * *Cross platform*\n *\n * - `'none'` (the default), drags do not dismiss the keyboard.\n * - `'on-drag'`, the keyboard is dismissed when a drag begins.\n *\n * *iOS Only*\n *\n * - `'interactive'`, the keyboard is dismissed interactively with the drag and moves in\n * synchrony with the touch; dragging upwards cancels the dismissal.\n * On android this is not supported and it will have the same behavior as 'none'.\n */\n keyboardDismissMode?: ?// default\n // cross-platform\n ('none' | 'on-drag' | 'interactive'), // ios only\n /**\n * Determines when the keyboard should stay visible after a tap.\n *\n * - `'never'` (the default), tapping outside of the focused text input when the keyboard\n * is up dismisses the keyboard. When this happens, children won't receive the tap.\n * - `'always'`, the keyboard will not dismiss automatically, and the scroll view will not\n * catch taps, but children of the scroll view can catch taps.\n * - `'handled'`, the keyboard will not dismiss automatically when the tap was handled by\n * a children, (or captured by an ancestor).\n * - `false`, deprecated, use 'never' instead\n * - `true`, deprecated, use 'always' instead\n */\n keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | true | false),\n /**\n * Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollBegin?: ?(event: ScrollEvent) => void,\n /**\n * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollEnd?: ?(event: ScrollEvent) => void,\n\n /**\n * Fires at most once per frame during scrolling. The frequency of the\n * events can be controlled using the `scrollEventThrottle` prop.\n */\n onScroll?: ?(event: ScrollEvent) => void,\n /**\n * Called when the user begins to drag the scroll view.\n */\n onScrollBeginDrag?: ?(event: ScrollEvent) => void,\n /**\n * Called when the user stops dragging the scroll view and it either stops\n * or begins to glide.\n */\n onScrollEndDrag?: ?(event: ScrollEvent) => void,\n /**\n * Called when scrollable content view of the ScrollView changes.\n *\n * Handler function is passed the content width and content height as parameters:\n * `(contentWidth, contentHeight)`\n *\n * It's implemented using onLayout handler attached to the content container\n * which this ScrollView renders.\n */\n onContentSizeChange?: (contentWidth: number, contentHeight: number) => void,\n onKeyboardDidShow?: (event: KeyboardEvent) => void,\n onKeyboardDidHide?: (event: KeyboardEvent) => void,\n onKeyboardWillShow?: (event: KeyboardEvent) => void,\n onKeyboardWillHide?: (event: KeyboardEvent) => void,\n /**\n * When true, the scroll view stops on multiples of the scroll view's size\n * when scrolling. This can be used for horizontal pagination. The default\n * value is false.\n *\n * Note: Vertical pagination is not supported on Android.\n */\n pagingEnabled?: ?boolean,\n\n /**\n * When false, the view cannot be scrolled via touch interaction.\n * The default value is true.\n *\n * Note that the view can always be scrolled by calling `scrollTo`.\n */\n scrollEnabled?: ?boolean,\n /**\n * When true, shows a vertical scroll indicator.\n * The default value is true.\n */\n showsVerticalScrollIndicator?: ?boolean,\n /**\n * When true, Sticky header is hidden when scrolling down, and dock at the top\n * when scrolling up\n */\n stickyHeaderHiddenOnScroll?: ?boolean,\n /**\n * An array of child indices determining which children get docked to the\n * top of the screen when scrolling. For example, passing\n * `stickyHeaderIndices={[0]}` will cause the first child to be fixed to the\n * top of the scroll view. This property is not supported in conjunction\n * with `horizontal={true}`.\n */\n stickyHeaderIndices?: ?$ReadOnlyArray,\n /**\n * A React Component that will be used to render sticky headers.\n * To be used together with `stickyHeaderIndices` or with `SectionList`, defaults to `ScrollViewStickyHeader`.\n * You may need to set this if your sticky header uses custom transforms (eg. translation),\n * for example when you want your list to have an animated hidable header.\n */\n StickyHeaderComponent?: StickyHeaderComponentType,\n /**\n * When set, causes the scroll view to stop at multiples of the value of\n * `snapToInterval`. This can be used for paginating through children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `snapToAlignment` and `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` prop.\n */\n snapToInterval?: ?number,\n /**\n * When set, causes the scroll view to stop at the defined offsets.\n * This can be used for paginating through variously sized children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` and `snapToInterval` props.\n */\n snapToOffsets?: ?$ReadOnlyArray,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the beginning\n * of the list counts as a snap offset. Set `snapToStart` to false to disable\n * this behavior and allow the list to scroll freely between its start and\n * the first `snapToOffsets` offset.\n * The default value is true.\n */\n snapToStart?: ?boolean,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the end\n * of the list counts as a snap offset. Set `snapToEnd` to false to disable\n * this behavior and allow the list to scroll freely between its end and\n * the last `snapToOffsets` offset.\n * The default value is true.\n */\n snapToEnd?: ?boolean,\n /**\n * Experimental: When true, offscreen child views (whose `overflow` value is\n * `hidden`) are removed from their native backing superview when offscreen.\n * This can improve scrolling performance on long lists. The default value is\n * true.\n */\n removeClippedSubviews?: ?boolean,\n /**\n * A RefreshControl component, used to provide pull-to-refresh\n * functionality for the ScrollView. Only works for vertical ScrollViews\n * (`horizontal` prop must be `false`).\n *\n * See [RefreshControl](docs/refreshcontrol.html).\n */\n /* $FlowFixMe[unclear-type] - how to handle generic type without existential\n * operator? */\n refreshControl?: ?React.Element,\n children?: React.Node,\n /**\n * A ref to the inner View element of the ScrollView. This should be used\n * instead of calling `getInnerViewRef`.\n */\n innerViewRef?: React.Ref,\n /**\n * A ref to the Native ScrollView component. This ref can be used to call\n * all of ScrollView's public methods, in addition to native methods like\n * measure, measureLayout, etc.\n */\n scrollViewRef?: React.Ref<\n typeof ScrollViewNativeComponent & ScrollViewImperativeMethods,\n >,\n|}>;\n\ntype State = {|\n layoutHeight: ?number,\n|};\n\nconst IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;\n\ntype ScrollViewComponentStatics = $ReadOnly<{|\n Context: typeof ScrollViewContext,\n|}>;\n\n/**\n * Component that wraps platform ScrollView while providing\n * integration with touch locking \"responder\" system.\n *\n * Keep in mind that ScrollViews must have a bounded height in order to work,\n * since they contain unbounded-height children into a bounded container (via\n * a scroll interaction). In order to bound the height of a ScrollView, either\n * set the height of the view directly (discouraged) or make sure all parent\n * views have bounded height. Forgetting to transfer `{flex: 1}` down the\n * view stack can lead to errors here, which the element inspector makes\n * easy to debug.\n *\n * Doesn't yet support other contained responders from blocking this scroll\n * view from becoming the responder.\n *\n *\n * `` vs [``](https://reactnative.dev/docs/flatlist.html) - which one to use?\n *\n * `ScrollView` simply renders all its react child components at once. That\n * makes it very easy to understand and use.\n *\n * On the other hand, this has a performance downside. Imagine you have a very\n * long list of items you want to display, maybe several screens worth of\n * content. Creating JS components and native views for everything all at once,\n * much of which may not even be shown, will contribute to slow rendering and\n * increased memory usage.\n *\n * This is where `FlatList` comes into play. `FlatList` renders items lazily,\n * just when they are about to appear, and removes items that scroll way off\n * screen to save memory and processing time.\n *\n * `FlatList` is also handy if you want to render separators between your items,\n * multiple columns, infinite scroll loading, or any number of other features it\n * supports out of the box.\n */\nclass ScrollView extends React.Component {\n static Context: typeof ScrollViewContext = ScrollViewContext;\n\n constructor(props: Props) {\n super(props);\n\n this._scrollAnimatedValue = new AnimatedImplementation.Value(\n this.props.contentOffset?.y ?? 0,\n );\n this._scrollAnimatedValue.setOffset(this.props.contentInset?.top ?? 0);\n }\n\n _scrollAnimatedValue: AnimatedImplementation.Value;\n _scrollAnimatedValueAttachment: ?{detach: () => void, ...} = null;\n _stickyHeaderRefs: Map<\n string,\n React.ElementRef,\n > = new Map();\n _headerLayoutYs: Map = new Map();\n\n _keyboardWillOpenTo: ?KeyboardEvent = null;\n _additionalScrollOffset: number = 0;\n _isTouching: boolean = false;\n _lastMomentumScrollBeginTime: number = 0;\n _lastMomentumScrollEndTime: number = 0;\n\n // Reset to false every time becomes responder. This is used to:\n // - Determine if the scroll view has been scrolled and therefore should\n // refuse to give up its responder lock.\n // - Determine if releasing should dismiss the keyboard when we are in\n // tap-to-dismiss mode (this.props.keyboardShouldPersistTaps !== 'always').\n _observedScrollSinceBecomingResponder: boolean = false;\n _becameResponderWhileAnimating: boolean = false;\n _preventNegativeScrollOffset: ?boolean = null;\n\n _animated = null;\n\n _subscriptionKeyboardWillShow: ?EventSubscription = null;\n _subscriptionKeyboardWillHide: ?EventSubscription = null;\n _subscriptionKeyboardDidShow: ?EventSubscription = null;\n _subscriptionKeyboardDidHide: ?EventSubscription = null;\n\n state: State = {\n layoutHeight: null,\n };\n\n componentDidMount() {\n if (typeof this.props.keyboardShouldPersistTaps === 'boolean') {\n console.warn(\n `'keyboardShouldPersistTaps={${\n this.props.keyboardShouldPersistTaps === true ? 'true' : 'false'\n }}' is deprecated. ` +\n `Use 'keyboardShouldPersistTaps=\"${\n this.props.keyboardShouldPersistTaps ? 'always' : 'never'\n }\"' instead`,\n );\n }\n\n this._keyboardWillOpenTo = null;\n this._additionalScrollOffset = 0;\n\n this._subscriptionKeyboardWillShow = Keyboard.addListener(\n 'keyboardWillShow',\n this.scrollResponderKeyboardWillShow,\n );\n this._subscriptionKeyboardWillHide = Keyboard.addListener(\n 'keyboardWillHide',\n this.scrollResponderKeyboardWillHide,\n );\n this._subscriptionKeyboardDidShow = Keyboard.addListener(\n 'keyboardDidShow',\n this.scrollResponderKeyboardDidShow,\n );\n this._subscriptionKeyboardDidHide = Keyboard.addListener(\n 'keyboardDidHide',\n this.scrollResponderKeyboardDidHide,\n );\n\n this._updateAnimatedNodeAttachment();\n }\n\n componentDidUpdate(prevProps: Props) {\n const prevContentInsetTop = prevProps.contentInset\n ? prevProps.contentInset.top\n : 0;\n const newContentInsetTop = this.props.contentInset\n ? this.props.contentInset.top\n : 0;\n if (prevContentInsetTop !== newContentInsetTop) {\n this._scrollAnimatedValue.setOffset(newContentInsetTop || 0);\n }\n\n this._updateAnimatedNodeAttachment();\n }\n\n componentWillUnmount() {\n if (this._subscriptionKeyboardWillShow != null) {\n this._subscriptionKeyboardWillShow.remove();\n }\n if (this._subscriptionKeyboardWillHide != null) {\n this._subscriptionKeyboardWillHide.remove();\n }\n if (this._subscriptionKeyboardDidShow != null) {\n this._subscriptionKeyboardDidShow.remove();\n }\n if (this._subscriptionKeyboardDidHide != null) {\n this._subscriptionKeyboardDidHide.remove();\n }\n\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n }\n\n _setNativeRef = setAndForwardRef({\n getForwardedRef: () => this.props.scrollViewRef,\n setLocalRef: ref => {\n this._scrollViewRef = ref;\n\n /*\n This is a hack. Ideally we would forwardRef to the underlying\n host component. However, since ScrollView has it's own methods that can be\n called as well, if we used the standard forwardRef then these\n methods wouldn't be accessible and thus be a breaking change.\n\n Therefore we edit ref to include ScrollView's public methods so that\n they are callable from the ref.\n */\n if (ref) {\n ref.getScrollResponder = this.getScrollResponder;\n ref.getScrollableNode = this.getScrollableNode;\n ref.getInnerViewNode = this.getInnerViewNode;\n ref.getInnerViewRef = this.getInnerViewRef;\n ref.getNativeScrollRef = this.getNativeScrollRef;\n ref.scrollTo = this.scrollTo;\n ref.scrollToEnd = this.scrollToEnd;\n ref.flashScrollIndicators = this.flashScrollIndicators;\n ref.scrollResponderZoomTo = this.scrollResponderZoomTo;\n ref.scrollResponderScrollNativeHandleToKeyboard = this.scrollResponderScrollNativeHandleToKeyboard;\n }\n },\n });\n\n /**\n * Returns a reference to the underlying scroll responder, which supports\n * operations like `scrollTo`. All ScrollView-like components should\n * implement this method so that they can be composed while providing access\n * to the underlying scroll responder's methods.\n */\n getScrollResponder: () => ScrollResponderType = () => {\n // $FlowFixMe[unclear-type]\n return ((this: any): ScrollResponderType);\n };\n\n getScrollableNode: () => ?number = () => {\n return ReactNative.findNodeHandle(this._scrollViewRef);\n };\n\n getInnerViewNode: () => ?number = () => {\n return ReactNative.findNodeHandle(this._innerViewRef);\n };\n\n getInnerViewRef: () => ?React.ElementRef = () => {\n return this._innerViewRef;\n };\n\n getNativeScrollRef: () => ?React.ElementRef> = () => {\n return this._scrollViewRef;\n };\n\n /**\n * Scrolls to a given x, y offset, either immediately or with a smooth animation.\n *\n * Example:\n *\n * `scrollTo({x: 0, y: 0, animated: true})`\n *\n * Note: The weird function signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as an alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollTo: (\n options?:\n | {\n x?: number,\n y?: number,\n animated?: boolean,\n ...\n }\n | number,\n deprecatedX?: number,\n deprecatedAnimated?: boolean,\n ) => void = (\n options?:\n | {\n x?: number,\n y?: number,\n animated?: boolean,\n ...\n }\n | number,\n deprecatedX?: number,\n deprecatedAnimated?: boolean,\n ) => {\n let x, y, animated;\n if (typeof options === 'number') {\n console.warn(\n '`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, ' +\n 'animated: true})` instead.',\n );\n y = options;\n x = deprecatedX;\n animated = deprecatedAnimated;\n } else if (options) {\n y = options.y;\n x = options.x;\n animated = options.animated;\n }\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.scrollTo(this._scrollViewRef, x || 0, y || 0, animated !== false);\n };\n\n /**\n * If this is a vertical ScrollView scrolls to the bottom.\n * If this is a horizontal ScrollView scrolls to the right.\n *\n * Use `scrollToEnd({animated: true})` for smooth animated scrolling,\n * `scrollToEnd({animated: false})` for immediate scrolling.\n * If no options are passed, `animated` defaults to true.\n */\n scrollToEnd: (options?: ?{animated?: boolean, ...}) => void = (\n options?: ?{animated?: boolean, ...},\n ) => {\n // Default to true\n const animated = (options && options.animated) !== false;\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.scrollToEnd(this._scrollViewRef, animated);\n };\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators: () => void = () => {\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.flashScrollIndicators(this._scrollViewRef);\n };\n\n /**\n * This method should be used as the callback to onFocus in a TextInputs'\n * parent view. Note that any module using this mixin needs to return\n * the parent view's ref in getScrollViewRef() in order to use this method.\n * @param {number} nodeHandle The TextInput node handle\n * @param {number} additionalOffset The scroll view's bottom \"contentInset\".\n * Default is 0.\n * @param {bool} preventNegativeScrolling Whether to allow pulling the content\n * down to make it meet the keyboard's top. Default is false.\n */\n scrollResponderScrollNativeHandleToKeyboard: (\n nodeHandle: number | React.ElementRef>,\n additionalOffset?: number,\n preventNegativeScrollOffset?: boolean,\n ) => void = (\n nodeHandle: number | React.ElementRef>,\n additionalOffset?: number,\n preventNegativeScrollOffset?: boolean,\n ) => {\n this._additionalScrollOffset = additionalOffset || 0;\n this._preventNegativeScrollOffset = !!preventNegativeScrollOffset;\n\n if (this._innerViewRef == null) {\n return;\n }\n\n if (typeof nodeHandle === 'number') {\n UIManager.measureLayout(\n nodeHandle,\n ReactNative.findNodeHandle(this),\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._textInputFocusError,\n this._inputMeasureAndScrollToKeyboard,\n );\n } else {\n nodeHandle.measureLayout(\n this._innerViewRef,\n this._inputMeasureAndScrollToKeyboard,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._textInputFocusError,\n );\n }\n };\n\n /**\n * A helper function to zoom to a specific rect in the scrollview. The argument has the shape\n * {x: number; y: number; width: number; height: number; animated: boolean = true}\n *\n * @platform ios\n */\n scrollResponderZoomTo: (\n rect: {|\n x: number,\n y: number,\n width: number,\n height: number,\n animated?: boolean,\n |},\n animated?: boolean, // deprecated, put this inside the rect argument instead\n ) => void = (\n rect: {|\n x: number,\n y: number,\n width: number,\n height: number,\n animated?: boolean,\n |},\n animated?: boolean, // deprecated, put this inside the rect argument instead\n ) => {\n invariant(Platform.OS === 'ios', 'zoomToRect is not implemented');\n if ('animated' in rect) {\n this._animated = rect.animated;\n delete rect.animated;\n } else if (typeof animated !== 'undefined') {\n console.warn(\n '`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead',\n );\n }\n\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.zoomToRect(this._scrollViewRef, rect, animated !== false);\n };\n\n _textInputFocusError() {\n console.warn('Error measuring text field.');\n }\n\n /**\n * The calculations performed here assume the scroll view takes up the entire\n * screen - even if has some content inset. We then measure the offsets of the\n * keyboard, and compensate both for the scroll view's \"contentInset\".\n *\n * @param {number} left Position of input w.r.t. table view.\n * @param {number} top Position of input w.r.t. table view.\n * @param {number} width Width of the text input.\n * @param {number} height Height of the text input.\n */\n _inputMeasureAndScrollToKeyboard: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void = (left: number, top: number, width: number, height: number) => {\n let keyboardScreenY = Dimensions.get('window').height;\n\n const scrollTextInputIntoVisibleRect = () => {\n if (this._keyboardWillOpenTo != null) {\n keyboardScreenY = this._keyboardWillOpenTo.endCoordinates.screenY;\n }\n let scrollOffsetY =\n top - keyboardScreenY + height + this._additionalScrollOffset;\n\n // By default, this can scroll with negative offset, pulling the content\n // down so that the target component's bottom meets the keyboard's top.\n // If requested otherwise, cap the offset at 0 minimum to avoid content\n // shifting down.\n if (this._preventNegativeScrollOffset === true) {\n scrollOffsetY = Math.max(0, scrollOffsetY);\n }\n this.scrollTo({x: 0, y: scrollOffsetY, animated: true});\n\n this._additionalScrollOffset = 0;\n this._preventNegativeScrollOffset = false;\n };\n\n if (this._keyboardWillOpenTo == null) {\n // `_keyboardWillOpenTo` is set inside `scrollResponderKeyboardWillShow` which\n // is not guaranteed to be called before `_inputMeasureAndScrollToKeyboard` but native has already scheduled it.\n // In case it was not called before `_inputMeasureAndScrollToKeyboard`, we postpone scrolling to\n // text input.\n setTimeout(() => {\n scrollTextInputIntoVisibleRect();\n }, 0);\n } else {\n scrollTextInputIntoVisibleRect();\n }\n };\n\n _getKeyForIndex(index, childArray) {\n const child = childArray[index];\n return child && child.key;\n }\n\n _updateAnimatedNodeAttachment() {\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n if (\n this.props.stickyHeaderIndices &&\n this.props.stickyHeaderIndices.length > 0\n ) {\n this._scrollAnimatedValueAttachment = AnimatedImplementation.attachNativeEvent(\n this._scrollViewRef,\n 'onScroll',\n [{nativeEvent: {contentOffset: {y: this._scrollAnimatedValue}}}],\n );\n }\n }\n\n _setStickyHeaderRef(\n key: string,\n ref: ?React.ElementRef,\n ) {\n if (ref) {\n this._stickyHeaderRefs.set(key, ref);\n } else {\n this._stickyHeaderRefs.delete(key);\n }\n }\n\n _onStickyHeaderLayout(index, event, key) {\n const {stickyHeaderIndices} = this.props;\n if (!stickyHeaderIndices) {\n return;\n }\n const childArray = React.Children.toArray(this.props.children);\n if (key !== this._getKeyForIndex(index, childArray)) {\n // ignore stale layout update\n return;\n }\n\n const layoutY = event.nativeEvent.layout.y;\n this._headerLayoutYs.set(key, layoutY);\n\n const indexOfIndex = stickyHeaderIndices.indexOf(index);\n const previousHeaderIndex = stickyHeaderIndices[indexOfIndex - 1];\n if (previousHeaderIndex != null) {\n const previousHeader = this._stickyHeaderRefs.get(\n this._getKeyForIndex(previousHeaderIndex, childArray),\n );\n previousHeader &&\n previousHeader.setNextHeaderY &&\n previousHeader.setNextHeaderY(layoutY);\n }\n }\n\n _handleScroll = (e: ScrollEvent) => {\n if (__DEV__) {\n if (\n this.props.onScroll &&\n this.props.scrollEventThrottle == null &&\n Platform.OS === 'ios'\n ) {\n console.log(\n 'You specified `onScroll` on a but not ' +\n '`scrollEventThrottle`. You will only receive one event. ' +\n 'Using `16` you get all the events but be aware that it may ' +\n \"cause frame drops, use a bigger number if you don't need as \" +\n 'much precision.',\n );\n }\n }\n if (Platform.OS === 'android') {\n if (this.props.keyboardDismissMode === 'on-drag' && this._isTouching) {\n dismissKeyboard();\n }\n }\n this._observedScrollSinceBecomingResponder = true;\n this.props.onScroll && this.props.onScroll(e);\n };\n\n _handleLayout = (e: LayoutEvent) => {\n if (this.props.invertStickyHeaders === true) {\n this.setState({layoutHeight: e.nativeEvent.layout.height});\n }\n if (this.props.onLayout) {\n this.props.onLayout(e);\n }\n };\n\n _handleContentOnLayout = (e: LayoutEvent) => {\n const {width, height} = e.nativeEvent.layout;\n this.props.onContentSizeChange &&\n this.props.onContentSizeChange(width, height);\n };\n\n _scrollViewRef: ?React.ElementRef> = null;\n\n _innerViewRef: ?React.ElementRef = null;\n _setInnerViewRef = setAndForwardRef({\n getForwardedRef: () => this.props.innerViewRef,\n setLocalRef: ref => {\n this._innerViewRef = ref;\n },\n });\n\n /**\n * Warning, this may be called several times for a single keyboard opening.\n * It's best to store the information in this method and then take any action\n * at a later point (either in `keyboardDidShow` or other).\n *\n * Here's the order that events occur in:\n * - focus\n * - willShow {startCoordinates, endCoordinates} several times\n * - didShow several times\n * - blur\n * - willHide {startCoordinates, endCoordinates} several times\n * - didHide several times\n *\n * The `ScrollResponder` module callbacks for each of these events.\n * Even though any user could have easily listened to keyboard events\n * themselves, using these `props` callbacks ensures that ordering of events\n * is consistent - and not dependent on the order that the keyboard events are\n * subscribed to. This matters when telling the scroll view to scroll to where\n * the keyboard is headed - the scroll responder better have been notified of\n * the keyboard destination before being instructed to scroll to where the\n * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything\n * will work.\n *\n * WARNING: These callbacks will fire even if a keyboard is displayed in a\n * different navigation pane. Filter out the events to determine if they are\n * relevant to you. (For example, only if you receive these callbacks after\n * you had explicitly focused a node etc).\n */\n\n scrollResponderKeyboardWillShow: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardWillOpenTo = e;\n this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);\n };\n\n scrollResponderKeyboardWillHide: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardWillOpenTo = null;\n this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);\n };\n\n scrollResponderKeyboardDidShow: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n // TODO(7693961): The event for DidShow is not available on iOS yet.\n // Use the one from WillShow and do not assign.\n if (e) {\n this._keyboardWillOpenTo = e;\n }\n this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);\n };\n\n scrollResponderKeyboardDidHide: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardWillOpenTo = null;\n this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);\n };\n\n /**\n * Invoke this from an `onMomentumScrollBegin` event.\n */\n _handleMomentumScrollBegin: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n this._lastMomentumScrollBeginTime = global.performance.now();\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n };\n\n /**\n * Invoke this from an `onMomentumScrollEnd` event.\n */\n _handleMomentumScrollEnd: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n FrameRateLogger.endScroll();\n this._lastMomentumScrollEndTime = global.performance.now();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n };\n\n /**\n * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll\n * animation, and there's not an easy way to distinguish a drag vs. stopping\n * momentum.\n *\n * Invoke this from an `onScrollBeginDrag` event.\n */\n _handleScrollBeginDrag: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n };\n\n /**\n * Invoke this from an `onScrollEndDrag` event.\n */\n _handleScrollEndDrag: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n const {velocity} = e.nativeEvent;\n // - If we are animating, then this is a \"drag\" that is stopping the scrollview and momentum end\n // will fire.\n // - If velocity is non-zero, then the interaction will stop when momentum scroll ends or\n // another drag starts and ends.\n // - If we don't get velocity, better to stop the interaction twice than not stop it.\n if (\n !this._isAnimating() &&\n (!velocity || (velocity.x === 0 && velocity.y === 0))\n ) {\n FrameRateLogger.endScroll();\n }\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n };\n\n /**\n * A helper function for this class that lets us quickly determine if the\n * view is currently animating. This is particularly useful to know when\n * a touch has just started or ended.\n */\n _isAnimating: () => boolean = () => {\n const now = global.performance.now();\n const timeSinceLastMomentumScrollEnd =\n now - this._lastMomentumScrollEndTime;\n const isAnimating =\n timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS ||\n this._lastMomentumScrollEndTime < this._lastMomentumScrollBeginTime;\n return isAnimating;\n };\n\n /**\n * Invoke this from an `onResponderGrant` event.\n */\n _handleResponderGrant: (e: PressEvent) => void = (e: PressEvent) => {\n this._observedScrollSinceBecomingResponder = false;\n this.props.onResponderGrant && this.props.onResponderGrant(e);\n this._becameResponderWhileAnimating = this._isAnimating();\n };\n\n /**\n * Invoke this from an `onResponderReject` event.\n *\n * Some other element is not yielding its role as responder. Normally, we'd\n * just disable the `UIScrollView`, but a touch has already began on it, the\n * `UIScrollView` will not accept being disabled after that. The easiest\n * solution for now is to accept the limitation of disallowing this\n * altogether. To improve this, find a way to disable the `UIScrollView` after\n * a touch has already started.\n */\n _handleResponderReject: () => void = () => {};\n\n /**\n * Invoke this from an `onResponderRelease` event.\n */\n _handleResponderRelease: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = e.nativeEvent.touches.length !== 0;\n this.props.onResponderRelease && this.props.onResponderRelease(e);\n\n if (typeof e.target === 'number') {\n if (__DEV__) {\n console.error(\n 'Did not expect event target to be a number. Should have been a native component',\n );\n }\n\n return;\n }\n\n // By default scroll views will unfocus a textField\n // if another touch occurs outside of it\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedInput();\n if (\n this.props.keyboardShouldPersistTaps !== true &&\n this.props.keyboardShouldPersistTaps !== 'always' &&\n this._keyboardIsDismissible() &&\n e.target !== currentlyFocusedTextInput &&\n !this._observedScrollSinceBecomingResponder &&\n !this._becameResponderWhileAnimating\n ) {\n TextInputState.blurTextInput(currentlyFocusedTextInput);\n }\n };\n\n /**\n * We will allow the scroll view to give up its lock iff it acquired the lock\n * during an animation. This is a very useful default that happens to satisfy\n * many common user experiences.\n *\n * - Stop a scroll on the left edge, then turn that into an outer view's\n * backswipe.\n * - Stop a scroll mid-bounce at the top, continue pulling to have the outer\n * view dismiss.\n * - However, without catching the scroll view mid-bounce (while it is\n * motionless), if you drag far enough for the scroll view to become\n * responder (and therefore drag the scroll view a bit), any backswipe\n * navigation of a swipe gesture higher in the view hierarchy, should be\n * rejected.\n */\n _handleResponderTerminationRequest: () => boolean = () => {\n return !this._observedScrollSinceBecomingResponder;\n };\n\n /**\n * Invoke this from an `onScroll` event.\n */\n _handleScrollShouldSetResponder: () => boolean = () => {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n return this._isTouching;\n };\n\n /**\n * Merely touch starting is not sufficient for a scroll view to become the\n * responder. Being the \"responder\" means that the very next touch move/end\n * event will result in an action/movement.\n *\n * Invoke this from an `onStartShouldSetResponder` event.\n *\n * `onStartShouldSetResponder` is used when the next move/end will trigger\n * some UI movement/action, but when you want to yield priority to views\n * nested inside of the view.\n *\n * There may be some cases where scroll views actually should return `true`\n * from `onStartShouldSetResponder`: Any time we are detecting a standard tap\n * that gives priority to nested views.\n *\n * - If a single tap on the scroll view triggers an action such as\n * recentering a map style view yet wants to give priority to interaction\n * views inside (such as dropped pins or labels), then we would return true\n * from this method when there is a single touch.\n *\n * - Similar to the previous case, if a two finger \"tap\" should trigger a\n * zoom, we would check the `touches` count, and if `>= 2`, we would return\n * true.\n *\n */\n _handleStartShouldSetResponder: (e: PressEvent) => boolean = (\n e: PressEvent,\n ) => {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n const currentlyFocusedInput = TextInputState.currentlyFocusedInput();\n\n if (\n this.props.keyboardShouldPersistTaps === 'handled' &&\n this._keyboardIsDismissible() &&\n e.target !== currentlyFocusedInput\n ) {\n return true;\n }\n return false;\n };\n\n /**\n * There are times when the scroll view wants to become the responder\n * (meaning respond to the next immediate `touchStart/touchEnd`), in a way\n * that *doesn't* give priority to nested views (hence the capture phase):\n *\n * - Currently animating.\n * - Tapping anywhere that is not a text input, while the keyboard is\n * up (which should dismiss the keyboard).\n *\n * Invoke this from an `onStartShouldSetResponderCapture` event.\n */\n _handleStartShouldSetResponderCapture: (e: PressEvent) => boolean = (\n e: PressEvent,\n ) => {\n // The scroll view should receive taps instead of its descendants if:\n // * it is already animating/decelerating\n if (this._isAnimating()) {\n return true;\n }\n\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n // * the keyboard is up, keyboardShouldPersistTaps is 'never' (the default),\n // and a new touch starts with a non-textinput target (in which case the\n // first tap should be sent to the scroll view and dismiss the keyboard,\n // then the second tap goes to the actual interior view)\n const {keyboardShouldPersistTaps} = this.props;\n const keyboardNeverPersistTaps =\n !keyboardShouldPersistTaps || keyboardShouldPersistTaps === 'never';\n\n if (typeof e.target === 'number') {\n if (__DEV__) {\n console.error(\n 'Did not expect event target to be a number. Should have been a native component',\n );\n }\n\n return false;\n }\n\n if (\n keyboardNeverPersistTaps &&\n this._keyboardIsDismissible() &&\n e.target != null &&\n !TextInputState.isTextInput(e.target)\n ) {\n return true;\n }\n\n return false;\n };\n\n /**\n * Do we consider there to be a dismissible soft-keyboard open?\n */\n _keyboardIsDismissible: () => boolean = () => {\n const currentlyFocusedInput = TextInputState.currentlyFocusedInput();\n\n // We cannot dismiss the keyboard without an input to blur, even if a soft\n // keyboard is open (e.g. when keyboard is open due to a native component\n // not participating in TextInputState). It's also possible that the\n // currently focused input isn't a TextInput (such as by calling ref.focus\n // on a non-TextInput).\n const hasFocusedTextInput =\n currentlyFocusedInput != null &&\n TextInputState.isTextInput(currentlyFocusedInput);\n\n // Even if an input is focused, we may not have a keyboard to dismiss. E.g\n // when using a physical keyboard. Ensure we have an event for an opened\n // keyboard, except on Android where setting windowSoftInputMode to\n // adjustNone leads to missing keyboard events.\n const softKeyboardMayBeOpen =\n this._keyboardWillOpenTo != null || Platform.OS === 'android';\n\n return hasFocusedTextInput && softKeyboardMayBeOpen;\n };\n\n /**\n * Invoke this from an `onTouchEnd` event.\n *\n * @param {PressEvent} e Event.\n */\n _handleTouchEnd: (e: PressEvent) => void = (e: PressEvent) => {\n const nativeEvent = e.nativeEvent;\n this._isTouching = nativeEvent.touches.length !== 0;\n this.props.onTouchEnd && this.props.onTouchEnd(e);\n };\n\n /**\n * Invoke this from an `onTouchCancel` event.\n *\n * @param {PressEvent} e Event.\n */\n _handleTouchCancel: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = false;\n this.props.onTouchCancel && this.props.onTouchCancel(e);\n };\n\n /**\n * Invoke this from an `onTouchStart` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n _handleTouchStart: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = true;\n this.props.onTouchStart && this.props.onTouchStart(e);\n };\n\n /**\n * Invoke this from an `onTouchMove` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n _handleTouchMove: (e: PressEvent) => void = (e: PressEvent) => {\n this.props.onTouchMove && this.props.onTouchMove(e);\n };\n\n render(): React.Node | React.Element {\n const [NativeDirectionalScrollView, NativeDirectionalScrollContentView] =\n this.props.horizontal === true\n ? NativeHorizontalScrollViewTuple\n : NativeVerticalScrollViewTuple;\n\n const contentContainerStyle = [\n this.props.horizontal === true && styles.contentContainerHorizontal,\n this.props.contentContainerStyle,\n ];\n if (__DEV__ && this.props.style !== undefined) {\n const style = flattenStyle(this.props.style);\n const childLayoutProps = ['alignItems', 'justifyContent'].filter(\n prop => style && style[prop] !== undefined,\n );\n invariant(\n childLayoutProps.length === 0,\n 'ScrollView child layout (' +\n JSON.stringify(childLayoutProps) +\n ') must be applied through the contentContainerStyle prop.',\n );\n }\n\n const contentSizeChangeProps =\n this.props.onContentSizeChange == null\n ? null\n : {\n onLayout: this._handleContentOnLayout,\n };\n\n const {stickyHeaderIndices} = this.props;\n let children = this.props.children;\n\n if (stickyHeaderIndices != null && stickyHeaderIndices.length > 0) {\n const childArray = React.Children.toArray(this.props.children);\n\n children = childArray.map((child, index) => {\n const indexOfIndex = child ? stickyHeaderIndices.indexOf(index) : -1;\n if (indexOfIndex > -1) {\n const key = child.key;\n const nextIndex = stickyHeaderIndices[indexOfIndex + 1];\n const StickyHeaderComponent =\n this.props.StickyHeaderComponent || ScrollViewStickyHeader;\n return (\n this._setStickyHeaderRef(key, ref)}\n nextHeaderLayoutY={this._headerLayoutYs.get(\n this._getKeyForIndex(nextIndex, childArray),\n )}\n onLayout={event => this._onStickyHeaderLayout(index, event, key)}\n scrollAnimatedValue={this._scrollAnimatedValue}\n inverted={this.props.invertStickyHeaders}\n hiddenOnScroll={this.props.stickyHeaderHiddenOnScroll}\n scrollViewHeight={this.state.layoutHeight}>\n {child}\n \n );\n } else {\n return child;\n }\n });\n }\n children = (\n \n {children}\n \n );\n\n const hasStickyHeaders =\n Array.isArray(stickyHeaderIndices) && stickyHeaderIndices.length > 0;\n\n const contentContainer = (\n \n {children}\n \n );\n\n const alwaysBounceHorizontal =\n this.props.alwaysBounceHorizontal !== undefined\n ? this.props.alwaysBounceHorizontal\n : this.props.horizontal;\n\n const alwaysBounceVertical =\n this.props.alwaysBounceVertical !== undefined\n ? this.props.alwaysBounceVertical\n : !this.props.horizontal;\n\n const baseStyle =\n this.props.horizontal === true\n ? styles.baseHorizontal\n : styles.baseVertical;\n const props = {\n ...this.props,\n alwaysBounceHorizontal,\n alwaysBounceVertical,\n style: StyleSheet.compose(baseStyle, this.props.style),\n // Override the onContentSizeChange from props, since this event can\n // bubble up from TextInputs\n onContentSizeChange: null,\n onLayout: this._handleLayout,\n onMomentumScrollBegin: this._handleMomentumScrollBegin,\n onMomentumScrollEnd: this._handleMomentumScrollEnd,\n onResponderGrant: this._handleResponderGrant,\n onResponderReject: this._handleResponderReject,\n onResponderRelease: this._handleResponderRelease,\n onResponderTerminationRequest: this._handleResponderTerminationRequest,\n onScrollBeginDrag: this._handleScrollBeginDrag,\n onScrollEndDrag: this._handleScrollEndDrag,\n onScrollShouldSetResponder: this._handleScrollShouldSetResponder,\n onStartShouldSetResponder: this._handleStartShouldSetResponder,\n onStartShouldSetResponderCapture: this\n ._handleStartShouldSetResponderCapture,\n onTouchEnd: this._handleTouchEnd,\n onTouchMove: this._handleTouchMove,\n onTouchStart: this._handleTouchStart,\n onTouchCancel: this._handleTouchCancel,\n onScroll: this._handleScroll,\n scrollEventThrottle: hasStickyHeaders\n ? 1\n : this.props.scrollEventThrottle,\n sendMomentumEvents:\n this.props.onMomentumScrollBegin || this.props.onMomentumScrollEnd\n ? true\n : false,\n // default to true\n snapToStart: this.props.snapToStart !== false,\n // default to true\n snapToEnd: this.props.snapToEnd !== false,\n // pagingEnabled is overridden by snapToInterval / snapToOffsets\n pagingEnabled: Platform.select({\n // on iOS, pagingEnabled must be set to false to have snapToInterval / snapToOffsets work\n ios:\n this.props.pagingEnabled === true &&\n this.props.snapToInterval == null &&\n this.props.snapToOffsets == null,\n // on Android, pagingEnabled must be set to true to have snapToInterval / snapToOffsets work\n android:\n this.props.pagingEnabled === true ||\n this.props.snapToInterval != null ||\n this.props.snapToOffsets != null,\n }),\n };\n\n const {decelerationRate} = this.props;\n if (decelerationRate != null) {\n props.decelerationRate = processDecelerationRate(decelerationRate);\n }\n\n const refreshControl = this.props.refreshControl;\n\n if (refreshControl) {\n if (Platform.OS === 'ios') {\n // On iOS the RefreshControl is a child of the ScrollView.\n return (\n \n {refreshControl}\n {contentContainer}\n \n );\n } else if (Platform.OS === 'android') {\n // On Android wrap the ScrollView with a AndroidSwipeRefreshLayout.\n // Since the ScrollView is wrapped add the style props to the\n // AndroidSwipeRefreshLayout and use flex: 1 for the ScrollView.\n // Note: we should split props.style on the inner and outer props\n // however, the ScrollView still needs the baseStyle to be scrollable\n const {outer, inner} = splitLayoutProps(flattenStyle(props.style));\n return React.cloneElement(\n refreshControl,\n {style: StyleSheet.compose(baseStyle, outer)},\n \n {contentContainer}\n ,\n );\n }\n }\n return (\n \n {contentContainer}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n baseVertical: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'column',\n overflow: 'scroll',\n },\n baseHorizontal: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'row',\n overflow: 'scroll',\n },\n contentContainerHorizontal: {\n flexDirection: 'row',\n },\n});\n\nfunction Wrapper(props, ref) {\n return ;\n}\nWrapper.displayName = 'ScrollView';\nconst ForwardedScrollView = React.forwardRef(Wrapper);\n\n// $FlowFixMe[prop-missing] Add static context to ForwardedScrollView\nForwardedScrollView.Context = ScrollViewContext;\n\nForwardedScrollView.displayName = 'ScrollView';\n\nmodule.exports = ((ForwardedScrollView: $FlowFixMe): React.AbstractComponent<\n React.ElementConfig,\n $ReadOnly<{|\n ...$Exact>>,\n ...ScrollViewImperativeMethods,\n |}>,\n> &\n ScrollViewComponentStatics);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {LayoutEvent} from '../../Types/CoreEventTypes';\nimport setAndForwardRef from 'react-native/Libraries/Utilities/setAndForwardRef';\nimport Platform from '../../Utilities/Platform';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Animated from '../../Animated/Animated';\nimport * as React from 'react';\nimport {useEffect, useMemo, useRef, useCallback} from 'react';\n\nconst AnimatedView = Animated.View;\n\nexport type Props = $ReadOnly<{\n children?: React.Element<$FlowFixMe>,\n nextHeaderLayoutY: ?number,\n onLayout: (event: LayoutEvent) => void,\n scrollAnimatedValue: Animated.Value,\n // Will cause sticky headers to stick at the bottom of the ScrollView instead\n // of the top.\n inverted: ?boolean,\n // The height of the parent ScrollView. Currently only set when inverted.\n scrollViewHeight: ?number,\n nativeID?: ?string,\n hiddenOnScroll?: ?boolean,\n}>;\n\nconst ScrollViewStickyHeaderWithForwardedRef: React.AbstractComponent<\n Props,\n $ReadOnly<{\n setNextHeaderY: number => void,\n ...$Exact>,\n }>,\n> = React.forwardRef(function ScrollViewStickyHeader(props, forwardedRef) {\n const {\n inverted,\n scrollViewHeight,\n hiddenOnScroll,\n scrollAnimatedValue,\n nextHeaderLayoutY: _nextHeaderLayoutY,\n } = props;\n\n const [measured, setMeasured] = React.useState(false);\n const [layoutY, setLayoutY] = React.useState(0);\n const [layoutHeight, setLayoutHeight] = React.useState(0);\n const [translateY, setTranslateY] = React.useState(null);\n const [nextHeaderLayoutY, setNextHeaderLayoutY] = React.useState(\n _nextHeaderLayoutY,\n );\n const [isFabric, setIsFabric] = React.useState(false);\n\n const componentRef = React.useRef>();\n const _setNativeRef = setAndForwardRef({\n getForwardedRef: () => forwardedRef,\n setLocalRef: ref => {\n componentRef.current = ref;\n if (ref) {\n ref.setNextHeaderY = value => {\n setNextHeaderLayoutY(value);\n };\n setIsFabric(\n !!(\n // An internal transform mangles variables with leading \"_\" as private.\n // eslint-disable-next-line dot-notation\n ref['_internalInstanceHandle']?.stateNode?.canonical\n ),\n );\n }\n },\n });\n\n const offset = useMemo(\n () =>\n hiddenOnScroll === true\n ? Animated.diffClamp(\n scrollAnimatedValue\n .interpolate({\n extrapolateLeft: 'clamp',\n inputRange: [layoutY, layoutY + 1],\n outputRange: ([0, 1]: Array),\n })\n .interpolate({\n inputRange: [0, 1],\n outputRange: ([0, -1]: Array),\n }),\n -layoutHeight,\n 0,\n )\n : null,\n [scrollAnimatedValue, layoutHeight, layoutY, hiddenOnScroll],\n );\n\n const [\n animatedTranslateY,\n setAnimatedTranslateY,\n ] = React.useState(() => {\n const inputRange: Array = [-1, 0];\n const outputRange: Array = [0, 0];\n const initialTranslateY: Animated.Interpolation = scrollAnimatedValue.interpolate(\n {\n inputRange,\n outputRange,\n },\n );\n\n if (offset != null) {\n return Animated.add(initialTranslateY, offset);\n }\n return initialTranslateY;\n });\n\n const _haveReceivedInitialZeroTranslateY = useRef(true);\n const _timer = useRef(null);\n\n useEffect(() => {\n if (translateY !== 0 && translateY != null) {\n _haveReceivedInitialZeroTranslateY.current = false;\n }\n }, [translateY]);\n\n // This is called whenever the (Interpolated) Animated Value\n // updates, which is several times per frame during scrolling.\n // To ensure that the Fabric ShadowTree has the most recent\n // translate style of this node, we debounce the value and then\n // pass it through to the underlying node during render.\n // This is:\n // 1. Only an issue in Fabric.\n // 2. Worse in Android than iOS. In Android, but not iOS, you\n // can touch and move your finger slightly and still trigger\n // a \"tap\" event. In iOS, moving will cancel the tap in\n // both Fabric and non-Fabric. On Android when you move\n // your finger, the hit-detection moves from the Android\n // platform to JS, so we need the ShadowTree to have knowledge\n // of the current position.\n const animatedValueListener = useCallback(\n ({value}) => {\n const _debounceTimeout: number = Platform.OS === 'android' ? 15 : 64;\n // When the AnimatedInterpolation is recreated, it always initializes\n // to a value of zero and emits a value change of 0 to its listeners.\n if (value === 0 && !_haveReceivedInitialZeroTranslateY.current) {\n _haveReceivedInitialZeroTranslateY.current = true;\n return;\n }\n if (_timer.current != null) {\n clearTimeout(_timer.current);\n }\n _timer.current = setTimeout(() => {\n if (value !== translateY) {\n setTranslateY(value);\n }\n }, _debounceTimeout);\n },\n [translateY],\n );\n\n useEffect(() => {\n const inputRange: Array = [-1, 0];\n const outputRange: Array = [0, 0];\n\n if (measured) {\n if (inverted === true) {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - `stickStartPoint` is the point at which the header will start sticking.\n // It is calculated using the ScrollView viewport height so it is a the bottom.\n // - Headers that are in the initial viewport will never stick, `stickStartPoint`\n // will be negative.\n // - From 0 to `stickStartPoint` no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From `stickStartPoint` to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n if (scrollViewHeight != null) {\n const stickStartPoint = layoutY + layoutHeight - scrollViewHeight;\n if (stickStartPoint > 0) {\n inputRange.push(stickStartPoint);\n outputRange.push(0);\n inputRange.push(stickStartPoint + 1);\n outputRange.push(1);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint =\n (nextHeaderLayoutY || 0) - layoutHeight - scrollViewHeight;\n if (collisionPoint > stickStartPoint) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(\n collisionPoint - stickStartPoint,\n collisionPoint - stickStartPoint,\n );\n }\n }\n }\n } else {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - From 0 to the y of the header: no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From header y to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n inputRange.push(layoutY);\n outputRange.push(0);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint = (nextHeaderLayoutY || 0) - layoutHeight;\n if (collisionPoint >= layoutY) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(collisionPoint - layoutY, collisionPoint - layoutY);\n } else {\n inputRange.push(layoutY + 1);\n outputRange.push(1);\n }\n }\n }\n\n let newAnimatedTranslateY: Animated.Node = scrollAnimatedValue.interpolate({\n inputRange,\n outputRange,\n });\n\n if (offset != null) {\n newAnimatedTranslateY = Animated.add(newAnimatedTranslateY, offset);\n }\n\n // add the event listener\n let animatedListenerId;\n if (isFabric) {\n animatedListenerId = newAnimatedTranslateY.addListener(\n animatedValueListener,\n );\n }\n\n setAnimatedTranslateY(newAnimatedTranslateY);\n\n // clean up the event listener and timer\n return () => {\n if (animatedListenerId) {\n newAnimatedTranslateY.removeListener(animatedListenerId);\n }\n if (_timer.current != null) {\n clearTimeout(_timer.current);\n }\n };\n }, [nextHeaderLayoutY, measured, layoutHeight, layoutY, scrollViewHeight, scrollAnimatedValue, inverted, offset, animatedValueListener, isFabric]);\n\n const _onLayout = (event: LayoutEvent) => {\n setLayoutY(event.nativeEvent.layout.y);\n setLayoutHeight(event.nativeEvent.layout.height);\n setMeasured(true);\n\n props.onLayout(event);\n const child = React.Children.only(props.children);\n if (child.props.onLayout) {\n child.props.onLayout(event);\n }\n };\n\n const child = React.Children.only(props.children);\n\n // TODO T68319535: remove this if NativeAnimated is rewritten for Fabric\n const passthroughAnimatedPropExplicitValues =\n isFabric && translateY != null\n ? {\n style: {transform: [{translateY: translateY}]},\n }\n : null;\n\n return (\n /* $FlowFixMe[prop-missing] passthroughAnimatedPropExplicitValues isn't properly\n included in the Animated.View flow type. */\n \n {React.cloneElement(child, {\n style: styles.fill, // We transfer the child style to the wrapper.\n onLayout: undefined, // we call this manually through our this._onLayout\n })}\n \n );\n});\n\nconst styles = StyleSheet.create({\n header: {\n zIndex: 10,\n position: 'relative',\n },\n fill: {\n flex: 1,\n },\n});\n\nexport default ScrollViewStickyHeaderWithForwardedRef;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeEventEmitter from '../../EventEmitter/NativeEventEmitter';\nimport LayoutAnimation from '../../LayoutAnimation/LayoutAnimation';\nimport dismissKeyboard from '../../Utilities/dismissKeyboard';\nimport Platform from '../../Utilities/Platform';\nimport NativeKeyboardObserver from './NativeKeyboardObserver';\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\n\nexport type KeyboardEventName = $Keys;\n\nexport type KeyboardEventEasing =\n | 'easeIn'\n | 'easeInEaseOut'\n | 'easeOut'\n | 'linear'\n | 'keyboard';\n\nexport type KeyboardEventCoordinates = $ReadOnly<{|\n screenX: number,\n screenY: number,\n width: number,\n height: number,\n|}>;\n\nexport type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent;\n\ntype BaseKeyboardEvent = {|\n duration: number,\n easing: KeyboardEventEasing,\n endCoordinates: KeyboardEventCoordinates,\n|};\n\nexport type AndroidKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n duration: 0,\n easing: 'keyboard',\n|}>;\n\nexport type IOSKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n startCoordinates: KeyboardEventCoordinates,\n isEventFromThisApp: boolean,\n|}>;\n\ntype KeyboardEventDefinitions = {\n keyboardWillShow: [KeyboardEvent],\n keyboardDidShow: [KeyboardEvent],\n keyboardWillHide: [KeyboardEvent],\n keyboardDidHide: [KeyboardEvent],\n keyboardWillChangeFrame: [KeyboardEvent],\n keyboardDidChangeFrame: [KeyboardEvent],\n};\n\n/**\n * `Keyboard` module to control keyboard events.\n *\n * ### Usage\n *\n * The Keyboard module allows you to listen for native events and react to them, as\n * well as make changes to the keyboard, like dismissing it.\n *\n *```\n * import React, { Component } from 'react';\n * import { Keyboard, TextInput } from 'react-native';\n *\n * class Example extends Component {\n * componentWillMount () {\n * this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);\n * this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);\n * }\n *\n * componentWillUnmount () {\n * this.keyboardDidShowListener.remove();\n * this.keyboardDidHideListener.remove();\n * }\n *\n * _keyboardDidShow () {\n * alert('Keyboard Shown');\n * }\n *\n * _keyboardDidHide () {\n * alert('Keyboard Hidden');\n * }\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *```\n */\n\nclass Keyboard {\n _emitter: NativeEventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeKeyboardObserver,\n );\n\n /**\n * The `addListener` function connects a JavaScript function to an identified native\n * keyboard notification event.\n *\n * This function then returns the reference to the listener.\n *\n * @param {string} eventName The `nativeEvent` is the string that identifies the event you're listening for. This\n *can be any of the following:\n *\n * - `keyboardWillShow`\n * - `keyboardDidShow`\n * - `keyboardWillHide`\n * - `keyboardDidHide`\n * - `keyboardWillChangeFrame`\n * - `keyboardDidChangeFrame`\n *\n * Note that if you set `android:windowSoftInputMode` to `adjustResize` or `adjustNothing`,\n * only `keyboardDidShow` and `keyboardDidHide` events will be available on Android.\n * `keyboardWillShow` as well as `keyboardWillHide` are generally not available on Android\n * since there is no native corresponding event.\n *\n * @param {function} callback function to be called when the event fires.\n */\n addListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n return this._emitter.addListener(eventType, listener);\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n removeEventListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n ): void {\n // NOTE: This will report a deprecation notice via `console.error`.\n this._emitter.removeListener(eventType, listener);\n }\n\n /**\n * Removes all listeners for a specific event type.\n *\n * @param {string} eventType The native event string listeners are watching which will be removed.\n */\n removeAllListeners>(eventType: ?K): void {\n this._emitter.removeAllListeners(eventType);\n }\n\n /**\n * Dismisses the active keyboard and removes focus.\n */\n dismiss(): void {\n dismissKeyboard();\n }\n\n /**\n * Useful for syncing TextInput (or other keyboard accessory view) size of\n * position changes with keyboard movements.\n */\n scheduleLayoutAnimation(event: KeyboardEvent): void {\n const {duration, easing} = event;\n if (duration != null && duration !== 0) {\n LayoutAnimation.configureNext({\n duration: duration,\n update: {\n duration: duration,\n type: (easing != null && LayoutAnimation.Types[easing]) || 'keyboard',\n },\n });\n }\n }\n}\n\nmodule.exports = (new Keyboard(): Keyboard);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst UIManager = require('../ReactNative/UIManager');\nimport type {Spec as FabricUIManagerSpec} from '../ReactNative/FabricUIManager';\nimport type {\n LayoutAnimationConfig as LayoutAnimationConfig_,\n LayoutAnimationType,\n LayoutAnimationProperty,\n} from '../Renderer/shims/ReactNativeTypes';\n\nimport Platform from '../Utilities/Platform';\n\n// Reexport type\nexport type LayoutAnimationConfig = LayoutAnimationConfig_;\n\ntype OnAnimationDidEndCallback = () => void;\ntype OnAnimationDidFailCallback = () => void;\n\n/**\n * Configures the next commit to be animated.\n *\n * onAnimationDidEnd is guaranteed to be called when the animation completes.\n * onAnimationDidFail is *never* called in the classic, pre-Fabric renderer,\n * and never has been. In the new renderer (Fabric) it is called only if configuration\n * parsing fails.\n */\nfunction configureNext(\n config: LayoutAnimationConfig,\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n onAnimationDidFail?: OnAnimationDidFailCallback,\n) {\n if (Platform.isTesting) {\n return;\n }\n\n // Since LayoutAnimations may possibly be disabled for now on iOS (Fabric),\n // or Android (non-Fabric) we race a setTimeout with animation completion,\n // in case onComplete is never called\n // from native. Once LayoutAnimations+Fabric unconditionally ship everywhere, we can\n // delete this mechanism at least in the Fabric branch.\n let animationCompletionHasRun = false;\n const onAnimationComplete = () => {\n if (animationCompletionHasRun) {\n return;\n }\n animationCompletionHasRun = true;\n clearTimeout(raceWithAnimationId);\n onAnimationDidEnd?.();\n };\n const raceWithAnimationId = setTimeout(\n onAnimationComplete,\n (config.duration ?? 0) + 17 /* one frame + 1ms */,\n );\n\n // In Fabric, LayoutAnimations are unconditionally enabled for Android, and\n // conditionally enabled on iOS (pending fully shipping; this is a temporary state).\n const FabricUIManager: FabricUIManagerSpec = global?.nativeFabricUIManager;\n if (FabricUIManager?.configureNextLayoutAnimation) {\n global?.nativeFabricUIManager?.configureNextLayoutAnimation(\n config,\n onAnimationComplete,\n onAnimationDidFail ??\n function() {} /* this will only be called if configuration parsing fails */,\n );\n return;\n }\n\n // This will only run if Fabric is *not* installed.\n // If you have Fabric + non-Fabric running in the same VM, non-Fabric LayoutAnimations\n // will not work.\n if (UIManager?.configureNextLayoutAnimation) {\n UIManager.configureNextLayoutAnimation(\n config,\n onAnimationComplete ?? function() {},\n onAnimationDidFail ??\n function() {} /* this should never be called in Non-Fabric */,\n );\n }\n}\n\nfunction create(\n duration: number,\n type: LayoutAnimationType,\n property: LayoutAnimationProperty,\n): LayoutAnimationConfig {\n return {\n duration,\n create: {type, property},\n update: {type},\n delete: {type, property},\n };\n}\n\nconst Presets = {\n easeInEaseOut: (create(\n 300,\n 'easeInEaseOut',\n 'opacity',\n ): LayoutAnimationConfig),\n linear: (create(500, 'linear', 'opacity'): LayoutAnimationConfig),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity',\n },\n update: {\n type: 'spring',\n springDamping: 0.4,\n },\n delete: {\n type: 'linear',\n property: 'opacity',\n },\n },\n};\n\n/**\n * Automatically animates views to their new positions when the\n * next layout happens.\n *\n * A common way to use this API is to call it before calling `setState`.\n *\n * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:\n *\n * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);\n */\nconst LayoutAnimation = {\n /**\n * Schedules an animation to happen on the next layout.\n *\n * @param config Specifies animation properties:\n *\n * - `duration` in milliseconds\n * - `create`, `AnimationConfig` for animating in new views\n * - `update`, `AnimationConfig` for animating views that have been updated\n *\n * @param onAnimationDidEnd Called when the animation finished.\n * Only supported on iOS.\n * @param onError Called on error. Only supported on iOS.\n */\n configureNext,\n /**\n * Helper for creating a config for `configureNext`.\n */\n create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard',\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY',\n }),\n checkConfig(...args: Array) {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets,\n easeInEaseOut: (configureNext.bind(null, Presets.easeInEaseOut): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n linear: (configureNext.bind(null, Presets.linear): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n spring: (configureNext.bind(null, Presets.spring): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n};\n\nmodule.exports = LayoutAnimation;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n// This function dismisses the currently-open keyboard, if any.\n\n'use strict';\n\nconst TextInputState = require('../Components/TextInput/TextInputState');\n\nfunction dismissKeyboard() {\n TextInputState.blurTextInput(TextInputState.currentlyFocusedInput());\n}\n\nmodule.exports = dismissKeyboard;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('KeyboardObserver'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeFrameRateLogger from './NativeFrameRateLogger';\n\nconst invariant = require('invariant');\n\n/**\n * Flow API for native FrameRateLogger module. If the native module is not installed, function calls\n * are just no-ops.\n *\n * Typical behavior is that `setContext` is called when a new screen is loaded (e.g. via a\n * navigation integration), and then `beginScroll` is called by `ScrollResponder` at which point the\n * native module then begins tracking frame drops. When `ScrollResponder` calls `endScroll`, the\n * native module gathers up all it's frame drop data and reports it via an analytics pipeline for\n * analysis.\n *\n * Note that `beginScroll` may be called multiple times by `ScrollResponder` - unclear if that's a\n * bug, but the native module should be robust to that.\n *\n * In the future we may add support for tracking frame drops in other types of interactions beyond\n * scrolling.\n */\nconst FrameRateLogger = {\n /**\n * Enable `debug` to see local logs of what's going on. `reportStackTraces` will grab stack traces\n * during UI thread stalls and upload them if the native module supports it.\n */\n setGlobalOptions: function(options: {\n debug?: boolean,\n reportStackTraces?: boolean,\n ...\n }) {\n if (options.debug !== undefined) {\n invariant(\n NativeFrameRateLogger,\n 'Trying to debug FrameRateLogger without the native module!',\n );\n }\n if (NativeFrameRateLogger) {\n // Needs to clone the object first to avoid modifying the argument.\n const optionsClone = {\n debug: !!options.debug,\n reportStackTraces: !!options.reportStackTraces,\n };\n NativeFrameRateLogger.setGlobalOptions(optionsClone);\n }\n },\n\n /**\n * Must call `setContext` before any events can be properly tracked, which is done automatically\n * in `AppRegistry`, but navigation is also a common place to hook in.\n */\n setContext: function(context: string) {\n NativeFrameRateLogger && NativeFrameRateLogger.setContext(context);\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n beginScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.beginScroll();\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n endScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.endScroll();\n },\n};\n\nmodule.exports = FrameRateLogger;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +setGlobalOptions: (options: {|\n +debug?: ?boolean,\n +reportStackTraces?: ?boolean,\n |}) => void;\n +setContext: (context: string) => void;\n +beginScroll: () => void;\n +endScroll: () => void;\n}\n\nexport default (TurboModuleRegistry.get('FrameRateLogger'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport Platform from '../../Utilities/Platform';\n\nfunction processDecelerationRate(\n decelerationRate: number | 'normal' | 'fast',\n): number {\n if (decelerationRate === 'normal') {\n return Platform.select({\n ios: 0.998,\n android: 0.985,\n });\n } else if (decelerationRate === 'fast') {\n return Platform.select({\n ios: 0.99,\n android: 0.9,\n });\n }\n return decelerationRate;\n}\n\nmodule.exports = processDecelerationRate;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {____ViewStyle_Internal} from './StyleSheetTypes';\n\nexport default function splitLayoutProps(\n props: ?____ViewStyle_Internal,\n): {\n outer: ?____ViewStyle_Internal,\n inner: ?____ViewStyle_Internal,\n} {\n let outer: ?____ViewStyle_Internal = null;\n let inner: ?____ViewStyle_Internal = null;\n\n if (props != null) {\n // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.\n outer = {};\n // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.\n inner = {};\n\n for (const prop of Object.keys(props)) {\n switch (prop) {\n case 'margin':\n case 'marginHorizontal':\n case 'marginVertical':\n case 'marginBottom':\n case 'marginTop':\n case 'marginLeft':\n case 'marginRight':\n case 'flex':\n case 'flexGrow':\n case 'flexShrink':\n case 'flexBasis':\n case 'alignSelf':\n case 'height':\n case 'minHeight':\n case 'maxHeight':\n case 'width':\n case 'minWidth':\n case 'maxWidth':\n case 'position':\n case 'left':\n case 'right':\n case 'bottom':\n case 'top':\n case 'transform':\n // $FlowFixMe[cannot-write]\n outer[prop] = props[prop];\n break;\n default:\n // $FlowFixMe[cannot-write]\n inner[prop] = props[prop];\n break;\n }\n }\n }\n\n return {outer, inner};\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\ntype Value = {horizontal: boolean} | null;\n\nconst ScrollViewContext: React.Context = React.createContext(null);\nif (__DEV__) {\n ScrollViewContext.displayName = 'ScrollViewContext';\n}\nexport default ScrollViewContext;\n\nexport const HORIZONTAL: Value = Object.freeze({horizontal: true});\nexport const VERTICAL: Value = Object.freeze({horizontal: false});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport * as React from 'react';\nimport type {Double} from 'react-native/Libraries/Types/CodegenTypes';\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype ScrollViewNativeComponentType = HostComponent;\ninterface NativeCommands {\n +flashScrollIndicators: (\n viewRef: React.ElementRef,\n ) => void;\n +scrollTo: (\n viewRef: React.ElementRef,\n x: Double,\n y: Double,\n animated: boolean,\n ) => void;\n +scrollToEnd: (\n viewRef: React.ElementRef,\n animated: boolean,\n ) => void;\n +zoomToRect: (\n viewRef: React.ElementRef,\n rect: {|\n x: Double,\n y: Double,\n width: Double,\n height: Double,\n animated?: boolean,\n |},\n animated?: boolean,\n ) => void;\n}\n\nexport default (codegenNativeCommands({\n supportedCommands: [\n 'flashScrollIndicators',\n 'scrollTo',\n 'scrollToEnd',\n 'zoomToRect',\n ],\n}): NativeCommands);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n|}>;\n\ntype NativeType = HostComponent;\n\nexport default (codegenNativeComponent(\n 'AndroidHorizontalScrollContentView',\n): NativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\nconst AndroidHorizontalScrollViewNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'AndroidHorizontalScrollView',\n () => ({\n uiViewClassName: 'AndroidHorizontalScrollView',\n bubblingEventTypes: {},\n directEventTypes: {},\n validAttributes: {\n decelerationRate: true,\n disableIntervalMomentum: true,\n endFillColor: {process: require('../../StyleSheet/processColor')},\n fadingEdgeLength: true,\n nestedScrollEnabled: true,\n overScrollMode: true,\n pagingEnabled: true,\n persistentScrollbar: true,\n scrollEnabled: true,\n scrollPerfTag: true,\n sendMomentumEvents: true,\n showsHorizontalScrollIndicator: true,\n snapToEnd: true,\n snapToInterval: true,\n snapToStart: true,\n snapToOffsets: true,\n contentOffset: true,\n },\n }),\n);\n\nexport default AndroidHorizontalScrollViewNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport type {ViewProps as Props} from '../View/ViewPropTypes';\n\nconst ScrollContentViewNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTScrollContentView',\n () => ({\n uiViewClassName: 'RCTScrollContentView',\n bubblingEventTypes: {},\n directEventTypes: {},\n validAttributes: {},\n }),\n);\n\nexport default ScrollContentViewNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\nconst ScrollViewNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTScrollView',\n () => ({\n uiViewClassName: 'RCTScrollView',\n bubblingEventTypes: {},\n directEventTypes: {\n topScrollToTop: {\n registrationName: 'onScrollToTop',\n },\n },\n validAttributes: {\n alwaysBounceHorizontal: true,\n alwaysBounceVertical: true,\n automaticallyAdjustContentInsets: true,\n automaticallyAdjustsScrollIndicatorInsets: true,\n bounces: true,\n bouncesZoom: true,\n canCancelContentTouches: true,\n centerContent: true,\n contentInset: {\n diff: require('../../Utilities/differ/pointsDiffer'),\n },\n contentOffset: {\n diff: require('../../Utilities/differ/pointsDiffer'),\n },\n contentInsetAdjustmentBehavior: true,\n decelerationRate: true,\n directionalLockEnabled: true,\n disableIntervalMomentum: true,\n endFillColor: {\n process: require('../../StyleSheet/processColor'),\n },\n fadingEdgeLength: true,\n indicatorStyle: true,\n inverted: true,\n keyboardDismissMode: true,\n maintainVisibleContentPosition: true,\n maximumZoomScale: true,\n minimumZoomScale: true,\n nestedScrollEnabled: true,\n onMomentumScrollBegin: true,\n onMomentumScrollEnd: true,\n onScroll: true,\n onScrollBeginDrag: true,\n onScrollEndDrag: true,\n onScrollToTop: true,\n overScrollMode: true,\n pagingEnabled: true,\n persistentScrollbar: true,\n pinchGestureEnabled: true,\n scrollEnabled: true,\n scrollEventThrottle: true,\n scrollIndicatorInsets: {\n diff: require('../../Utilities/differ/pointsDiffer'),\n },\n scrollPerfTag: true,\n scrollToOverflowEnabled: true,\n scrollsToTop: true,\n sendMomentumEvents: true,\n showsHorizontalScrollIndicator: true,\n showsVerticalScrollIndicator: true,\n snapToAlignment: true,\n snapToEnd: true,\n snapToInterval: true,\n snapToOffsets: true,\n snapToStart: true,\n zoomScale: true,\n },\n }),\n);\n\nexport default ScrollViewNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nexport type ViewToken = {\n item: any,\n key: string,\n index: ?number,\n isViewable: boolean,\n section?: any,\n ...\n};\n\nexport type ViewabilityConfigCallbackPair = {\n viewabilityConfig: ViewabilityConfig,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n ...\n};\n\nexport type ViewabilityConfig = {|\n /**\n * Minimum amount of time (in milliseconds) that an item must be physically viewable before the\n * viewability callback will be fired. A high number means that scrolling through content without\n * stopping will not mark the content as viewable.\n */\n minimumViewTime?: number,\n\n /**\n * Percent of viewport that must be covered for a partially occluded item to count as\n * \"viewable\", 0-100. Fully visible items are always considered viewable. A value of 0 means\n * that a single pixel in the viewport makes the item viewable, and a value of 100 means that\n * an item must be either entirely visible or cover the entire viewport to count as viewable.\n */\n viewAreaCoveragePercentThreshold?: number,\n\n /**\n * Similar to `viewAreaPercentThreshold`, but considers the percent of the item that is visible,\n * rather than the fraction of the viewable area it covers.\n */\n itemVisiblePercentThreshold?: number,\n\n /**\n * Nothing is considered viewable until the user scrolls or `recordInteraction` is called after\n * render.\n */\n waitForInteraction?: boolean,\n|};\n\n/**\n * A Utility class for calculating viewable items based on current metrics like scroll position and\n * layout.\n *\n * An item is said to be in a \"viewable\" state when any of the following\n * is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`\n * is true):\n *\n * - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item\n * visible in the view area >= `itemVisiblePercentThreshold`.\n * - Entirely visible on screen\n */\nclass ViewabilityHelper {\n _config: ViewabilityConfig;\n _hasInteracted: boolean = false;\n _timers: Set = new Set();\n _viewableIndices: Array = [];\n _viewableItems: Map = new Map();\n\n constructor(\n config: ViewabilityConfig = {viewAreaCoveragePercentThreshold: 0},\n ) {\n this._config = config;\n }\n\n /**\n * Cleanup, e.g. on unmount. Clears any pending timers.\n */\n dispose() {\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To see\n * the error delete this comment and run Flow. */\n this._timers.forEach(clearTimeout);\n }\n\n /**\n * Determines which items are viewable based on the current metrics and config.\n */\n computeViewableItems(\n itemCount: number,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (\n index: number,\n ) => ?{\n length: number,\n offset: number,\n ...\n },\n // Optional optimization to reduce the scan size\n renderRange?: {\n first: number,\n last: number,\n ...\n },\n ): Array {\n const {\n itemVisiblePercentThreshold,\n viewAreaCoveragePercentThreshold,\n } = this._config;\n const viewAreaMode = viewAreaCoveragePercentThreshold != null;\n const viewablePercentThreshold = viewAreaMode\n ? viewAreaCoveragePercentThreshold\n : itemVisiblePercentThreshold;\n invariant(\n viewablePercentThreshold != null &&\n (itemVisiblePercentThreshold != null) !==\n (viewAreaCoveragePercentThreshold != null),\n 'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold',\n );\n const viewableIndices = [];\n if (itemCount === 0) {\n return viewableIndices;\n }\n let firstVisible = -1;\n const {first, last} = renderRange || {first: 0, last: itemCount - 1};\n if (last >= itemCount) {\n console.warn(\n 'Invalid render range computing viewability ' +\n JSON.stringify({renderRange, itemCount}),\n );\n return [];\n }\n for (let idx = first; idx <= last; idx++) {\n const metrics = getFrameMetrics(idx);\n if (!metrics) {\n continue;\n }\n const top = metrics.offset - scrollOffset;\n const bottom = top + metrics.length;\n if (top < viewportHeight && bottom > 0) {\n firstVisible = idx;\n if (\n _isViewable(\n viewAreaMode,\n viewablePercentThreshold,\n top,\n bottom,\n viewportHeight,\n metrics.length,\n )\n ) {\n viewableIndices.push(idx);\n }\n } else if (firstVisible >= 0) {\n break;\n }\n }\n return viewableIndices;\n }\n\n /**\n * Figures out which items are viewable and how that has changed from before and calls\n * `onViewableItemsChanged` as appropriate.\n */\n onUpdate(\n itemCount: number,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (\n index: number,\n ) => ?{\n length: number,\n offset: number,\n ...\n },\n createViewToken: (index: number, isViewable: boolean) => ViewToken,\n onViewableItemsChanged: ({\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n // Optional optimization to reduce the scan size\n renderRange?: {\n first: number,\n last: number,\n ...\n },\n ): void {\n if (\n (this._config.waitForInteraction && !this._hasInteracted) ||\n itemCount === 0 ||\n !getFrameMetrics(0)\n ) {\n return;\n }\n let viewableIndices = [];\n if (itemCount) {\n viewableIndices = this.computeViewableItems(\n itemCount,\n scrollOffset,\n viewportHeight,\n getFrameMetrics,\n renderRange,\n );\n }\n if (\n this._viewableIndices.length === viewableIndices.length &&\n this._viewableIndices.every((v, ii) => v === viewableIndices[ii])\n ) {\n // We might get a lot of scroll events where visibility doesn't change and we don't want to do\n // extra work in those cases.\n return;\n }\n this._viewableIndices = viewableIndices;\n if (this._config.minimumViewTime) {\n const handle = setTimeout(() => {\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To\n * see the error delete this comment and run Flow. */\n this._timers.delete(handle);\n this._onUpdateSync(\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }, this._config.minimumViewTime);\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To see\n * the error delete this comment and run Flow. */\n this._timers.add(handle);\n } else {\n this._onUpdateSync(\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }\n }\n\n /**\n * clean-up cached _viewableIndices to evaluate changed items on next update\n */\n resetViewableIndices() {\n this._viewableIndices = [];\n }\n\n /**\n * Records that an interaction has happened even if there has been no scroll.\n */\n recordInteraction() {\n this._hasInteracted = true;\n }\n\n _onUpdateSync(\n viewableIndicesToCheck,\n onViewableItemsChanged,\n createViewToken,\n ) {\n // Filter out indices that have gone out of view since this call was scheduled.\n viewableIndicesToCheck = viewableIndicesToCheck.filter(ii =>\n this._viewableIndices.includes(ii),\n );\n const prevItems = this._viewableItems;\n const nextItems = new Map(\n viewableIndicesToCheck.map(ii => {\n const viewable = createViewToken(ii, true);\n return [viewable.key, viewable];\n }),\n );\n\n const changed = [];\n for (const [key, viewable] of nextItems) {\n if (!prevItems.has(key)) {\n changed.push(viewable);\n }\n }\n for (const [key, viewable] of prevItems) {\n if (!nextItems.has(key)) {\n changed.push({...viewable, isViewable: false});\n }\n }\n if (changed.length > 0) {\n this._viewableItems = nextItems;\n onViewableItemsChanged({\n viewableItems: Array.from(nextItems.values()),\n changed,\n viewabilityConfig: this._config,\n });\n }\n }\n}\n\nfunction _isViewable(\n viewAreaMode: boolean,\n viewablePercentThreshold: number,\n top: number,\n bottom: number,\n viewportHeight: number,\n itemLength: number,\n): boolean {\n if (_isEntirelyVisible(top, bottom, viewportHeight)) {\n return true;\n } else {\n const pixels = _getPixelsVisible(top, bottom, viewportHeight);\n const percent =\n 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength);\n return percent >= viewablePercentThreshold;\n }\n}\n\nfunction _getPixelsVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): number {\n const visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);\n return Math.max(0, visibleHeight);\n}\n\nfunction _isEntirelyVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): boolean {\n return top >= 0 && bottom <= viewportHeight && bottom > top;\n}\n\nmodule.exports = ViewabilityHelper;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nconst Image = require('../../Image/Image');\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nmodule.exports = (createAnimatedComponent((Image: $FlowFixMe), {\n collapsable: false,\n}): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport DeprecatedImagePropType from '../DeprecatedPropTypes/DeprecatedImagePropType';\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet/StyleSheet';\n\nimport ImageAnalyticsTagContext from './ImageAnalyticsTagContext';\nimport flattenStyle from '../StyleSheet/flattenStyle';\nimport resolveAssetSource from './resolveAssetSource';\n\nimport type {ImageProps as ImagePropsType} from './ImageProps';\n\nimport type {ImageStyleProp} from '../StyleSheet/StyleSheet';\nimport NativeImageLoaderIOS from './NativeImageLoaderIOS';\n\nimport ImageViewNativeComponent from './ImageViewNativeComponent';\nimport type {RootTag} from 'react-native/Libraries/Types/RootTagTypes';\n\nfunction getSize(\n uri: string,\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n) {\n NativeImageLoaderIOS.getSize(uri)\n .then(([width, height]) => success(width, height))\n .catch(\n failure ||\n function() {\n console.warn('Failed to get size for image ' + uri);\n },\n );\n}\n\nfunction getSizeWithHeaders(\n uri: string,\n headers: {[string]: string, ...},\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n): any {\n return NativeImageLoaderIOS.getSizeWithHeaders(uri, headers)\n .then(function(sizes) {\n success(sizes.width, sizes.height);\n })\n .catch(\n failure ||\n function() {\n console.warn('Failed to get size for image: ' + uri);\n },\n );\n}\n\nfunction prefetchWithMetadata(\n url: string,\n queryRootName: string,\n rootTag?: ?RootTag,\n): any {\n if (NativeImageLoaderIOS.prefetchImageWithMetadata) {\n // number params like rootTag cannot be nullable before TurboModules is available\n return NativeImageLoaderIOS.prefetchImageWithMetadata(\n url,\n queryRootName,\n // NOTE: RootTag type\n // $FlowFixMe[incompatible-call] RootTag: number is incompatible with RootTag\n rootTag ? rootTag : 0,\n );\n } else {\n return NativeImageLoaderIOS.prefetchImage(url);\n }\n}\n\nfunction prefetch(url: string): any {\n return NativeImageLoaderIOS.prefetchImage(url);\n}\n\nasync function queryCache(\n urls: Array,\n): Promise<{[string]: 'memory' | 'disk' | 'disk/memory', ...}> {\n return await NativeImageLoaderIOS.queryCache(urls);\n}\n\ntype ImageComponentStatics = $ReadOnly<{|\n getSize: typeof getSize,\n getSizeWithHeaders: typeof getSizeWithHeaders,\n prefetch: typeof prefetch,\n prefetchWithMetadata: typeof prefetchWithMetadata,\n queryCache: typeof queryCache,\n resolveAssetSource: typeof resolveAssetSource,\n propTypes: typeof DeprecatedImagePropType,\n|}>;\n\n/**\n * A React component for displaying different types of images,\n * including network images, static resources, temporary local images, and\n * images from local disk, such as the camera roll.\n *\n * See https://reactnative.dev/docs/image.html\n */\nlet Image = (props: ImagePropsType, forwardedRef) => {\n const source = resolveAssetSource(props.source) || {\n uri: undefined,\n width: undefined,\n height: undefined,\n };\n\n let sources;\n let style: ImageStyleProp;\n if (Array.isArray(source)) {\n style = flattenStyle([styles.base, props.style]) || {};\n sources = source;\n } else {\n const {width, height, uri} = source;\n style = flattenStyle([{width, height}, styles.base, props.style]) || {};\n sources = [source];\n\n if (uri === '') {\n console.warn('source.uri should not be an empty string');\n }\n }\n\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[incompatible-type]\n const resizeMode = props.resizeMode || style.resizeMode || 'cover';\n // $FlowFixMe[prop-missing]\n // $FlowFixMe[incompatible-use]\n const tintColor = style.tintColor;\n\n if (props.src != null) {\n console.warn(\n 'The component requires a `source` property rather than `src`.',\n );\n }\n\n if (props.children != null) {\n throw new Error(\n 'The component cannot contain children. If you want to render content on top of the image, consider using the component or absolute positioning.',\n );\n }\n\n return (\n \n {analyticTag => {\n return (\n \n );\n }}\n \n );\n};\n\nImage = React.forwardRef<\n ImagePropsType,\n React.ElementRef,\n>(Image);\nImage.displayName = 'Image';\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it.\n *\n * See https://reactnative.dev/docs/image.html#getsize\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.getSize = getSize;\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it\n * with the ability to provide the headers for the request.\n *\n * See https://reactnative.dev/docs/image.html#getsizewithheaders\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.getSizeWithHeaders = getSizeWithHeaders;\n\n/**\n * Prefetches a remote image for later use by downloading it to the disk\n * cache.\n *\n * See https://reactnative.dev/docs/image.html#prefetch\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.prefetch = prefetch;\n\n/**\n * Prefetches a remote image for later use by downloading it to the disk\n * cache, and adds metadata for queryRootName and rootTag.\n *\n * See https://reactnative.dev/docs/image.html#prefetch\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.prefetchWithMetadata = prefetchWithMetadata;\n\n/**\n * Performs cache interrogation.\n *\n * See https://reactnative.dev/docs/image.html#querycache\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.queryCache = queryCache;\n\n/**\n * Resolves an asset reference into an object.\n *\n * See https://reactnative.dev/docs/image.html#resolveassetsource\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.resolveAssetSource = resolveAssetSource;\n\nImage.propTypes = DeprecatedImagePropType;\n\nconst styles = StyleSheet.create({\n base: {\n overflow: 'hidden',\n },\n});\n\nmodule.exports = ((Image: any): React.AbstractComponent<\n ImagePropsType,\n React.ElementRef,\n> &\n ImageComponentStatics);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedImageSourcePropType = require('./DeprecatedImageSourcePropType');\nconst DeprecatedImageStylePropTypes = require('./DeprecatedImageStylePropTypes');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\n\nmodule.exports = {\n style: (DeprecatedStyleSheetPropType(\n DeprecatedImageStylePropTypes,\n ): ReactPropsCheckType),\n source: DeprecatedImageSourcePropType,\n defaultSource: (PropTypes.oneOfType([\n PropTypes.shape({\n uri: PropTypes.string,\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n }),\n PropTypes.number,\n ]): React$PropType$Primitive<\n | {\n height?: number,\n scale?: number,\n uri?: string,\n width?: number,\n ...\n }\n | number,\n >),\n\n accessible: PropTypes.bool,\n\n accessibilityLabel: PropTypes.node,\n\n blurRadius: PropTypes.number,\n\n capInsets: DeprecatedEdgeInsetsPropType,\n\n resizeMethod: (PropTypes.oneOf([\n 'auto',\n 'resize',\n 'scale',\n ]): React$PropType$Primitive<'auto' | 'resize' | 'scale'>),\n\n resizeMode: (PropTypes.oneOf([\n 'cover',\n 'contain',\n 'stretch',\n 'repeat',\n 'center',\n ]): React$PropType$Primitive<\n 'cover' | 'contain' | 'stretch' | 'repeat' | 'center',\n >),\n\n testID: PropTypes.string,\n\n onLayout: PropTypes.func,\n\n onLoadStart: PropTypes.func,\n\n onProgress: PropTypes.func,\n\n onError: PropTypes.func,\n\n onPartialLoad: PropTypes.func,\n\n onLoad: PropTypes.func,\n\n onLoadEnd: PropTypes.func,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @no-flow\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst ImageURISourcePropType = PropTypes.shape({\n uri: PropTypes.string,\n bundle: PropTypes.string,\n method: PropTypes.string,\n headers: PropTypes.objectOf(PropTypes.string),\n body: PropTypes.string,\n cache: PropTypes.oneOf([\n 'default',\n 'reload',\n 'force-cache',\n 'only-if-cached',\n ]),\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n});\n\nconst ImageSourcePropType = PropTypes.oneOfType([\n ImageURISourcePropType,\n // Opaque type returned by require('./image.jpg')\n PropTypes.number,\n // Multiple sources\n PropTypes.arrayOf(ImageURISourcePropType),\n]);\n\nmodule.exports = ImageSourcePropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst ImageStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n resizeMode: (ReactPropTypes.oneOf([\n 'center',\n 'contain',\n 'cover',\n 'repeat',\n 'stretch',\n ]): React$PropType$Primitive<\n 'center' | 'contain' | 'cover' | 'repeat' | 'stretch',\n >),\n backfaceVisibility: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderWidth: ReactPropTypes.number,\n borderRadius: ReactPropTypes.number,\n overflow: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n\n /**\n * Changes the color of all the non-transparent pixels to the tintColor.\n */\n tintColor: DeprecatedColorPropType,\n opacity: ReactPropTypes.number,\n /**\n * When the image has rounded corners, specifying an overlayColor will\n * cause the remaining space in the corners to be filled with a solid color.\n * This is useful in cases which are not supported by the Android\n * implementation of rounded corners:\n * - Certain resize modes, such as 'contain'\n * - Animated GIFs\n *\n * A typical way to use this prop is with images displayed on a solid\n * background and setting the `overlayColor` to the same color\n * as the background.\n *\n * For details of how this works under the hood, see\n * http://frescolib.org/docs/rounded-corners-and-circles.html\n *\n * @platform android\n */\n overlayColor: ReactPropTypes.string,\n\n // Android-Specific styles\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n};\n\nmodule.exports = ImageStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\ntype ContextType = ?string;\n\nconst Context: React.Context = React.createContext(\n null,\n);\n\nif (__DEV__) {\n Context.displayName = 'ImageAnalyticsTagContext';\n}\n\nexport default Context;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../TurboModule/RCTExport';\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n // Return [width, height] of image uri\n +getSize: (uri: string) => Promise<$ReadOnlyArray>;\n +getSizeWithHeaders: (\n uri: string,\n headers: Object,\n ) => Promise<{\n width: number,\n height: number,\n ...\n }>;\n +prefetchImage: (uri: string) => Promise;\n +prefetchImageWithMetadata?: (\n uri: string,\n queryRootName: string,\n rootTag: RootTag,\n ) => Promise;\n +queryCache: (uris: Array) => Promise;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('ImageLoader'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\nimport type {ImageProps} from './ImageProps';\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport * as NativeComponentRegistry from '../NativeComponent/NativeComponentRegistry';\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {\n ColorValue,\n DangerouslyImpreciseStyle,\n ImageStyleProp,\n} from '../StyleSheet/StyleSheet';\n\ntype Props = $ReadOnly<{\n ...ImageProps,\n ...ViewProps,\n\n style?: ImageStyleProp | DangerouslyImpreciseStyle,\n\n // iOS native props\n tintColor?: ColorValue,\n\n // Android native props\n shouldNotifyLoadEvents?: boolean,\n src?: ?ResolvedAssetSource | $ReadOnlyArray<{uri: string, ...}>,\n headers?: ?string,\n defaultSrc?: ?string,\n loadingIndicatorSrc?: ?string,\n}>;\n\nconst ImageViewNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTImageView',\n () => ({\n uiViewClassName: 'RCTImageView',\n bubblingEventTypes: {},\n directEventTypes: {\n topLoadStart: {\n registrationName: 'onLoadStart',\n },\n topProgress: {\n registrationName: 'onProgress',\n },\n topError: {\n registrationName: 'onError',\n },\n topPartialLoad: {\n registrationName: 'onPartialLoad',\n },\n topLoad: {\n registrationName: 'onLoad',\n },\n topLoadEnd: {\n registrationName: 'onLoadEnd',\n },\n },\n validAttributes: {\n blurRadius: true,\n capInsets: {\n diff: require('../Utilities/differ/insetsDiffer'),\n },\n defaultSource: {\n process: require('./resolveAssetSource'),\n },\n defaultSrc: true,\n fadeDuration: true,\n headers: true,\n internal_analyticTag: true,\n loadingIndicatorSrc: true,\n onError: true,\n onLoad: true,\n onLoadEnd: true,\n onLoadStart: true,\n onPartialLoad: true,\n onProgress: true,\n overlayColor: {\n process: require('../StyleSheet/processColor'),\n },\n progressiveRenderingEnabled: true,\n resizeMethod: true,\n resizeMode: true,\n shouldNotifyLoadEvents: true,\n source: true,\n src: true,\n tintColor: {\n process: require('../StyleSheet/processColor'),\n },\n },\n }),\n);\n\nexport default ImageViewNativeComponent;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nconst ScrollView = require('../../Components/ScrollView/ScrollView');\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst ScrollViewWithEventThrottle = React.forwardRef((props, ref) => (\n \n));\n\nmodule.exports = (createAnimatedComponent(ScrollViewWithEventThrottle, {\n collapsable: false,\n}): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nimport SectionList from '../../Lists/SectionList';\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst SectionListWithEventThrottle = React.forwardRef((props, ref) => (\n \n));\n\nmodule.exports = (createAnimatedComponent(\n SectionListWithEventThrottle,\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport Platform from '../Utilities/Platform';\nimport * as React from 'react';\nimport VirtualizedSectionList from './VirtualizedSectionList';\n\nimport type {ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport type {\n SectionBase as _SectionBase,\n Props as VirtualizedSectionListProps,\n ScrollToLocationParamsType,\n} from './VirtualizedSectionList';\n\ntype Item = any;\n\nexport type SectionBase = _SectionBase;\n\ntype RequiredProps> = {|\n /**\n * The actual data to render, akin to the `data` prop in [``](https://reactnative.dev/docs/flatlist.html).\n *\n * General shape:\n *\n * sections: $ReadOnlyArray<{\n * data: $ReadOnlyArray,\n * renderItem?: ({item: SectionItem, ...}) => ?React.Element<*>,\n * ItemSeparatorComponent?: ?ReactClass<{highlighted: boolean, ...}>,\n * }>\n */\n sections: $ReadOnlyArray,\n|};\n\ntype OptionalProps> = {|\n /**\n * Default renderer for every item in every section. Can be over-ridden on a per-section basis.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks item.key, then\n * falls back to using the index, like react does. Note that this sets keys for each item, but\n * each overall section still needs its own key.\n */\n keyExtractor?: ?(item: Item, index: number) => string,\n /**\n * Called once when the scroll position gets within `onEndReachedThreshold` of the rendered\n * content.\n */\n onEndReached?: ?(info: {distanceFromEnd: number, ...}) => void,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n|};\n\nexport type Props = {|\n ...$Diff<\n VirtualizedSectionListProps,\n {\n getItem: $PropertyType, 'getItem'>,\n getItemCount: $PropertyType<\n VirtualizedSectionListProps,\n 'getItemCount',\n >,\n renderItem: $PropertyType<\n VirtualizedSectionListProps,\n 'renderItem',\n >,\n keyExtractor: $PropertyType<\n VirtualizedSectionListProps,\n 'keyExtractor',\n >,\n ...\n },\n >,\n ...RequiredProps,\n ...OptionalProps,\n|};\n\n/**\n * A performant interface for rendering sectioned lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Configurable viewability callbacks.\n * - List header support.\n * - List footer support.\n * - Item separator support.\n * - Section header support.\n * - Section separator support.\n * - Heterogeneous data and item rendering support.\n * - Pull to Refresh.\n * - Scroll loading.\n *\n * If you don't need section support and want a simpler interface, use\n * [``](https://reactnative.dev/docs/flatlist.html).\n *\n * Simple Examples:\n *\n * }\n * renderSectionHeader={({section}) =>
}\n * sections={[ // homogeneous rendering between sections\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * ]}\n * />\n *\n * \n *\n * This is a convenience wrapper around [``](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate and momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n */\nexport default class SectionList<\n SectionT: SectionBase,\n> extends React.PureComponent, void> {\n props: Props;\n\n /**\n * Scrolls to the item at the specified `sectionIndex` and `itemIndex` (within the section)\n * positioned in the viewable area such that `viewPosition` 0 places it at the top (and may be\n * covered by a sticky header), 1 at the bottom, and 0.5 centered in the middle. `viewOffset` is a\n * fixed number of pixels to offset the final target position, e.g. to compensate for sticky\n * headers.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToLocation(params: ScrollToLocationParamsType) {\n if (this._wrapperListRef != null) {\n this._wrapperListRef.scrollToLocation(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.recordInteraction();\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): ?ScrollResponderType {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): any {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: Object) {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n listRef.setNativeProps(props);\n }\n }\n\n render(): React.Node {\n const {\n stickySectionHeadersEnabled: _stickySectionHeadersEnabled,\n ...restProps\n } = this.props;\n const stickySectionHeadersEnabled =\n _stickySectionHeadersEnabled ?? Platform.OS === 'ios';\n return (\n items.length}\n getItem={(items, index) => items[index]}\n />\n );\n }\n\n _wrapperListRef: ?React.ElementRef;\n _captureRef = ref => {\n this._wrapperListRef = ref;\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport invariant from 'invariant';\nimport type {ViewToken} from './ViewabilityHelper';\nimport {keyExtractor as defaultKeyExtractor} from './VirtualizeUtils';\nimport {View, VirtualizedList} from 'react-native';\nimport * as React from 'react';\n\ntype Item = any;\n\nexport type SectionBase = {\n /**\n * The data for rendering items in this section.\n */\n data: $ReadOnlyArray,\n /**\n * Optional key to keep track of section re-ordering. If you don't plan on re-ordering sections,\n * the array index will be used by default.\n */\n key?: string,\n // Optional props will override list-wide props just for this section.\n renderItem?: ?(info: {\n item: SectionItemT,\n index: number,\n section: SectionBase,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n ItemSeparatorComponent?: ?React.ComponentType,\n keyExtractor?: (item: SectionItemT, index?: ?number) => string,\n ...\n};\n\ntype RequiredProps> = {|\n sections: $ReadOnlyArray,\n|};\n\ntype OptionalProps> = {|\n /**\n * Default renderer for every item in every section.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n /**\n * Rendered at the top of each section. These stick to the top of the `ScrollView` by default on\n * iOS. See `stickySectionHeadersEnabled`.\n */\n renderSectionHeader?: ?(info: {\n section: SectionT,\n ...\n }) => null | React.Element,\n /**\n * Rendered at the bottom of each section.\n */\n renderSectionFooter?: ?(info: {\n section: SectionT,\n ...\n }) => null | React.Element,\n /**\n * Rendered at the top and bottom of each section (note this is different from\n * `ItemSeparatorComponent` which is only rendered between items). These are intended to separate\n * sections from the headers above and below and typically have the same highlight response as\n * `ItemSeparatorComponent`. Also receives `highlighted`, `[leading/trailing][Item/Separator]`,\n * and any custom props from `separators.updateProps`.\n */\n SectionSeparatorComponent?: ?React.ComponentType,\n /**\n * Makes section headers stick to the top of the screen until the next one pushes it off. Only\n * enabled by default on iOS because that is the platform standard there.\n */\n stickySectionHeadersEnabled?: boolean,\n onEndReached?: ?({distanceFromEnd: number, ...}) => void,\n|};\n\ntype VirtualizedListProps = React.ElementConfig;\n\nexport type Props = {|\n ...RequiredProps,\n ...OptionalProps,\n ...$Diff<\n VirtualizedListProps,\n {\n renderItem: $PropertyType,\n data: $PropertyType,\n ...\n },\n >,\n|};\nexport type ScrollToLocationParamsType = {|\n animated?: ?boolean,\n itemIndex: number,\n sectionIndex: number,\n viewOffset?: number,\n viewPosition?: number,\n|};\n\ntype State = {childProps: VirtualizedListProps, ...};\n\n/**\n * Right now this just flattens everything into one list and uses VirtualizedList under the\n * hood. The only operation that might not scale well is concatting the data arrays of all the\n * sections when new props are received, which should be plenty fast for up to ~10,000 items.\n */\nclass VirtualizedSectionList<\n SectionT: SectionBase,\n> extends React.PureComponent, State> {\n scrollToLocation(params: ScrollToLocationParamsType) {\n let index = params.itemIndex;\n for (let i = 0; i < params.sectionIndex; i++) {\n index += this.props.getItemCount(this.props.sections[i].data) + 2;\n }\n let viewOffset = params.viewOffset || 0;\n if (this._listRef == null) {\n return;\n }\n if (params.itemIndex > 0 && this.props.stickySectionHeadersEnabled) {\n // $FlowFixMe[prop-missing] Cannot access private property\n const frame = this._listRef._getFrameMetricsApprox(\n index - params.itemIndex,\n );\n viewOffset += frame.length;\n }\n const toIndexParams = {\n ...params,\n viewOffset,\n index,\n };\n this._listRef.scrollToIndex(toIndexParams);\n }\n\n getListRef(): ?React.ElementRef {\n return this._listRef;\n }\n\n render(): React.Node {\n const {\n ItemSeparatorComponent, // don't pass through, rendered with renderItem\n SectionSeparatorComponent,\n renderItem: _renderItem,\n renderSectionFooter,\n renderSectionHeader,\n sections: _sections,\n stickySectionHeadersEnabled,\n ...passThroughProps\n } = this.props;\n\n const listHeaderOffset = this.props.ListHeaderComponent ? 1 : 0;\n\n const stickyHeaderIndices = this.props.stickySectionHeadersEnabled\n ? []\n : undefined;\n\n let itemCount = 0;\n for (const section of this.props.sections) {\n // Track the section header indices\n if (stickyHeaderIndices != null) {\n stickyHeaderIndices.push(itemCount + listHeaderOffset);\n }\n\n // Add two for the section header and footer.\n itemCount += 2;\n itemCount += this.props.getItemCount(section.data);\n }\n const renderItem = this._renderItem(itemCount);\n\n return (\n \n this._getItem(this.props, sections, index)\n }\n getItemCount={() => itemCount}\n onViewableItemsChanged={\n this.props.onViewableItemsChanged\n ? this._onViewableItemsChanged\n : undefined\n }\n ref={this._captureRef}\n />\n );\n }\n\n _getItem(\n props: Props,\n sections: ?$ReadOnlyArray,\n index: number,\n ): ?Item {\n if (!sections) {\n return null;\n }\n let itemIdx = index - 1;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const itemCount = props.getItemCount(sectionData);\n if (itemIdx === -1 || itemIdx === itemCount) {\n // We intend for there to be overflow by one on both ends of the list.\n // This will be for headers and footers. When returning a header or footer\n // item the section itself is the item.\n return section;\n } else if (itemIdx < itemCount) {\n // If we are in the bounds of the list's data then return the item.\n return props.getItem(sectionData, itemIdx);\n } else {\n itemIdx -= itemCount + 2; // Add two for the header and footer\n }\n }\n return null;\n }\n\n _keyExtractor = (item: Item, index: number) => {\n const info = this._subExtractor(index);\n return (info && info.key) || String(index);\n };\n\n _subExtractor(\n index: number,\n ): ?{\n section: SectionT,\n // Key of the section or combined key for section + item\n key: string,\n // Relative index within the section\n index: ?number,\n // True if this is the section header\n header?: ?boolean,\n leadingItem?: ?Item,\n leadingSection?: ?SectionT,\n trailingItem?: ?Item,\n trailingSection?: ?SectionT,\n ...\n } {\n let itemIndex = index;\n const {getItem, getItemCount, keyExtractor, sections} = this.props;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const key = section.key || String(i);\n itemIndex -= 1; // The section adds an item for the header\n if (itemIndex >= getItemCount(sectionData) + 1) {\n itemIndex -= getItemCount(sectionData) + 1; // The section adds an item for the footer.\n } else if (itemIndex === -1) {\n return {\n section,\n key: key + ':header',\n index: null,\n header: true,\n trailingSection: sections[i + 1],\n };\n } else if (itemIndex === getItemCount(sectionData)) {\n return {\n section,\n key: key + ':footer',\n index: null,\n header: false,\n trailingSection: sections[i + 1],\n };\n } else {\n const extractor =\n section.keyExtractor || keyExtractor || defaultKeyExtractor;\n return {\n section,\n key:\n key + ':' + extractor(getItem(sectionData, itemIndex), itemIndex),\n index: itemIndex,\n leadingItem: getItem(sectionData, itemIndex - 1),\n leadingSection: sections[i - 1],\n trailingItem: getItem(sectionData, itemIndex + 1),\n trailingSection: sections[i + 1],\n };\n }\n }\n }\n\n _convertViewable = (viewable: ViewToken): ?ViewToken => {\n invariant(viewable.index != null, 'Received a broken ViewToken');\n const info = this._subExtractor(viewable.index);\n if (!info) {\n return null;\n }\n const keyExtractorWithNullableIndex = info.section.keyExtractor;\n const keyExtractorWithNonNullableIndex =\n this.props.keyExtractor || defaultKeyExtractor;\n const key =\n keyExtractorWithNullableIndex != null\n ? keyExtractorWithNullableIndex(viewable.item, info.index)\n : keyExtractorWithNonNullableIndex(viewable.item, info.index ?? 0);\n\n return {\n ...viewable,\n index: info.index,\n key,\n section: info.section,\n };\n };\n\n _onViewableItemsChanged = ({\n viewableItems,\n changed,\n }: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => {\n const onViewableItemsChanged = this.props.onViewableItemsChanged;\n if (onViewableItemsChanged != null) {\n onViewableItemsChanged({\n viewableItems: viewableItems\n .map(this._convertViewable, this)\n .filter(Boolean),\n changed: changed.map(this._convertViewable, this).filter(Boolean),\n });\n }\n };\n\n _renderItem = (listItemCount: number) => ({\n item,\n index,\n }: {\n item: Item,\n index: number,\n ...\n }) => {\n const info = this._subExtractor(index);\n if (!info) {\n return null;\n }\n const infoIndex = info.index;\n if (infoIndex == null) {\n const {section} = info;\n if (info.header === true) {\n const {renderSectionHeader} = this.props;\n return renderSectionHeader ? renderSectionHeader({section}) : null;\n } else {\n const {renderSectionFooter} = this.props;\n return renderSectionFooter ? renderSectionFooter({section}) : null;\n }\n } else {\n const renderItem = info.section.renderItem || this.props.renderItem;\n const SeparatorComponent = this._getSeparatorComponent(\n index,\n info,\n listItemCount,\n );\n invariant(renderItem, 'no renderItem!');\n return (\n \n );\n }\n };\n\n _updatePropsFor = (cellKey, value) => {\n const updateProps = this._updatePropsMap[cellKey];\n if (updateProps != null) {\n updateProps(value);\n }\n };\n\n _updateHighlightFor = (cellKey, value) => {\n const updateHighlight = this._updateHighlightMap[cellKey];\n if (updateHighlight != null) {\n updateHighlight(value);\n }\n };\n\n _setUpdateHighlightFor = (cellKey, updateHighlightFn) => {\n if (updateHighlightFn != null) {\n this._updateHighlightMap[cellKey] = updateHighlightFn;\n } else {\n delete this._updateHighlightFor[cellKey];\n }\n };\n\n _setUpdatePropsFor = (cellKey, updatePropsFn) => {\n if (updatePropsFn != null) {\n this._updatePropsMap[cellKey] = updatePropsFn;\n } else {\n delete this._updatePropsMap[cellKey];\n }\n };\n\n _getSeparatorComponent(\n index: number,\n info?: ?Object,\n listItemCount: number,\n ): ?React.ComponentType {\n info = info || this._subExtractor(index);\n if (!info) {\n return null;\n }\n const ItemSeparatorComponent =\n info.section.ItemSeparatorComponent || this.props.ItemSeparatorComponent;\n const {SectionSeparatorComponent} = this.props;\n const isLastItemInList = index === listItemCount - 1;\n const isLastItemInSection =\n info.index === this.props.getItemCount(info.section.data) - 1;\n if (SectionSeparatorComponent && isLastItemInSection) {\n return SectionSeparatorComponent;\n }\n if (ItemSeparatorComponent && !isLastItemInSection && !isLastItemInList) {\n return ItemSeparatorComponent;\n }\n return null;\n }\n\n _updateHighlightMap = {};\n _updatePropsMap = {};\n _listRef: ?React.ElementRef;\n _captureRef = ref => {\n this._listRef = ref;\n };\n}\n\ntype ItemWithSeparatorCommonProps = $ReadOnly<{|\n leadingItem: ?Item,\n leadingSection: ?Object,\n section: Object,\n trailingItem: ?Item,\n trailingSection: ?Object,\n|}>;\n\ntype ItemWithSeparatorProps = $ReadOnly<{|\n ...ItemWithSeparatorCommonProps,\n LeadingSeparatorComponent: ?React.ComponentType,\n SeparatorComponent: ?React.ComponentType,\n cellKey: string,\n index: number,\n item: Item,\n setSelfHighlightCallback: (\n cellKey: string,\n updateFn: ?(boolean) => void,\n ) => void,\n setSelfUpdatePropsCallback: (\n cellKey: string,\n updateFn: ?(boolean) => void,\n ) => void,\n prevCellKey?: ?string,\n updateHighlightFor: (prevCellKey: string, value: boolean) => void,\n updatePropsFor: (prevCellKey: string, value: Object) => void,\n renderItem: Function,\n inverted: boolean,\n|}>;\n\nfunction ItemWithSeparator(props: ItemWithSeparatorProps): React.Node {\n const {\n LeadingSeparatorComponent,\n // this is the trailing separator and is associated with this item\n SeparatorComponent,\n cellKey,\n prevCellKey,\n setSelfHighlightCallback,\n updateHighlightFor,\n setSelfUpdatePropsCallback,\n updatePropsFor,\n item,\n index,\n section,\n inverted,\n } = props;\n\n const [\n leadingSeparatorHiglighted,\n setLeadingSeparatorHighlighted,\n ] = React.useState(false);\n\n const [separatorHighlighted, setSeparatorHighlighted] = React.useState(false);\n\n const [leadingSeparatorProps, setLeadingSeparatorProps] = React.useState({\n leadingItem: props.leadingItem,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.item,\n trailingSection: props.trailingSection,\n });\n const [separatorProps, setSeparatorProps] = React.useState({\n leadingItem: props.item,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.trailingItem,\n trailingSection: props.trailingSection,\n });\n\n React.useEffect(() => {\n setSelfHighlightCallback(cellKey, setSeparatorHighlighted);\n setSelfUpdatePropsCallback(cellKey, setSeparatorProps);\n\n return () => {\n setSelfUpdatePropsCallback(cellKey, null);\n setSelfHighlightCallback(cellKey, null);\n };\n }, [\n cellKey,\n setSelfHighlightCallback,\n setSeparatorProps,\n setSelfUpdatePropsCallback,\n ]);\n\n const separators = {\n highlight: () => {\n setLeadingSeparatorHighlighted(true);\n setSeparatorHighlighted(true);\n if (prevCellKey != null) {\n updateHighlightFor(prevCellKey, true);\n }\n },\n unhighlight: () => {\n setLeadingSeparatorHighlighted(false);\n setSeparatorHighlighted(false);\n if (prevCellKey != null) {\n updateHighlightFor(prevCellKey, false);\n }\n },\n updateProps: (\n select: 'leading' | 'trailing',\n newProps: $Shape,\n ) => {\n if (select === 'leading') {\n if (LeadingSeparatorComponent != null) {\n setLeadingSeparatorProps({...leadingSeparatorProps, ...newProps});\n } else if (prevCellKey != null) {\n // update the previous item's separator\n updatePropsFor(prevCellKey, {...leadingSeparatorProps, ...newProps});\n }\n } else if (select === 'trailing' && SeparatorComponent != null) {\n setSeparatorProps({...separatorProps, ...newProps});\n }\n },\n };\n const element = props.renderItem({\n item,\n index,\n section,\n separators,\n });\n const leadingSeparator = LeadingSeparatorComponent != null && (\n \n );\n const separator = SeparatorComponent != null && (\n \n );\n return leadingSeparator || separator ? (\n \n {inverted === false ? leadingSeparator : separator}\n {element}\n {inverted === false ? separator : leadingSeparator}\n \n ) : (\n element\n );\n}\n\n/* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n// $FlowFixMe[method-unbinding]\nmodule.exports = (VirtualizedSectionList: React.AbstractComponent<\n React.ElementConfig,\n $ReadOnly<{\n getListRef: () => ?React.ElementRef,\n scrollToLocation: (params: ScrollToLocationParamsType) => void,\n ...\n }>,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nconst Text = require('../../Text/Text');\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nmodule.exports = (createAnimatedComponent((Text: $FlowFixMe), {\n collapsable: false,\n}): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nconst View = require('../../Components/View/View');\nconst createAnimatedComponent = require('../createAnimatedComponent');\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nmodule.exports = (createAnimatedComponent(View, {\n collapsable: true,\n}): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// This is a controlled component version of RCTDatePickerIOS.\n\nimport * as React from 'react';\nimport RCTDatePickerNativeComponent, {\n Commands as DatePickerCommands,\n} from './RCTDatePickerNativeComponent';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\nimport invariant from 'invariant';\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n timestamp: number,\n |}>,\n>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The currently selected date.\n */\n date?: ?Date,\n\n /**\n * Provides an initial value that will change when the user starts selecting\n * a date. It is useful for simple use-cases where you do not want to deal\n * with listening to events and updating the date prop to keep the\n * controlled state in sync. The controlled state has known bugs which\n * causes it to go out of sync with native. The initialDate prop is intended\n * to allow you to have native be source of truth.\n */\n initialDate?: ?Date,\n\n /**\n * The date picker locale.\n */\n locale?: ?string,\n\n /**\n * Maximum date.\n *\n * Restricts the range of possible date/time values.\n */\n maximumDate?: ?Date,\n\n /**\n * Minimum date.\n *\n * Restricts the range of possible date/time values.\n */\n minimumDate?: ?Date,\n\n /**\n * The interval at which minutes can be selected.\n */\n minuteInterval?: ?(1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30),\n\n /**\n * The date picker mode.\n */\n mode?: ?('date' | 'time' | 'datetime'),\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is an Event. For getting the date the picker\n * was changed to, use onDateChange instead.\n */\n onChange?: ?(event: Event) => void,\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is a Date object representing the new\n * date and time.\n */\n onDateChange: (date: Date) => void,\n\n /**\n * Timezone offset in minutes.\n *\n * By default, the date picker will use the device's timezone. With this\n * parameter, it is possible to force a certain timezone offset. For\n * instance, to show times in Pacific Standard Time, pass -7 * 60.\n */\n timeZoneOffsetInMinutes?: ?number,\n\n /**\n * The date picker style\n * This is only available on devices with iOS 14.0 and later.\n * 'spinner' is the default style if this prop isn't set.\n */\n pickerStyle?: ?('compact' | 'spinner' | 'inline'),\n|}>;\n\n/**\n * Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is\n * a controlled component, so you must hook in to the `onDateChange` callback\n * and update the `date` prop in order for the component to update, otherwise\n * the user's change will be reverted immediately to reflect `props.date` as the\n * source of truth.\n */\nclass DatePickerIOS extends React.Component {\n static DefaultProps: {|mode: $TEMPORARY$string<'datetime'>|} = {\n mode: 'datetime',\n };\n\n _picker: ?React.ElementRef = null;\n\n componentDidUpdate() {\n if (this.props.date) {\n const propsTimeStamp = this.props.date.getTime();\n if (this._picker) {\n DatePickerCommands.setNativeDate(this._picker, propsTimeStamp);\n }\n }\n }\n\n _onChange = (event: Event) => {\n const nativeTimeStamp = event.nativeEvent.timestamp;\n this.props.onDateChange &&\n this.props.onDateChange(new Date(nativeTimeStamp));\n this.props.onChange && this.props.onChange(event);\n this.forceUpdate();\n };\n\n render(): React.Node {\n const props = this.props;\n invariant(\n props.date || props.initialDate,\n 'A selected date or initial date should be specified.',\n );\n return (\n \n {\n this._picker = picker;\n }}\n style={getHeight(props.pickerStyle, props.mode)}\n date={\n props.date\n ? props.date.getTime()\n : props.initialDate\n ? props.initialDate.getTime()\n : undefined\n }\n locale={\n props.locale != null && props.locale !== ''\n ? props.locale\n : undefined\n }\n maximumDate={\n props.maximumDate ? props.maximumDate.getTime() : undefined\n }\n minimumDate={\n props.minimumDate ? props.minimumDate.getTime() : undefined\n }\n mode={props.mode}\n minuteInterval={props.minuteInterval}\n timeZoneOffsetInMinutes={props.timeZoneOffsetInMinutes}\n onChange={this._onChange}\n onStartShouldSetResponder={() => true}\n onResponderTerminationRequest={() => false}\n pickerStyle={props.pickerStyle}\n />\n \n );\n }\n}\n\nconst inlineHeightForDatePicker = 318.5;\nconst inlineHeightForTimePicker = 49.5;\nconst compactHeight = 40;\nconst spinnerHeight = 216;\n\nconst styles = StyleSheet.create({\n datePickerIOS: {\n height: spinnerHeight,\n },\n datePickerIOSCompact: {\n height: compactHeight,\n },\n datePickerIOSInline: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker * 2,\n },\n datePickerIOSInlineDate: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker,\n },\n datePickerIOSInlineTime: {\n height: inlineHeightForTimePicker,\n },\n});\n\nfunction getHeight(pickerStyle, mode) {\n if (pickerStyle === 'compact') {\n return styles.datePickerIOSCompact;\n }\n if (pickerStyle === 'inline') {\n switch (mode) {\n case 'date':\n return styles.datePickerIOSInlineDate;\n case 'time':\n return styles.datePickerIOSInlineTime;\n default:\n return styles.datePickerIOSInline;\n }\n }\n return styles.datePickerIOS;\n}\n\nmodule.exports = DatePickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport * as React from 'react';\nimport type {\n Float,\n WithDefault,\n BubblingEventHandler,\n} from 'react-native/Libraries/Types/CodegenTypes';\n\ntype Event = $ReadOnly<{|\n timestamp: Float,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n date?: ?Float,\n initialDate?: ?Float,\n locale?: ?string,\n maximumDate?: ?Float,\n minimumDate?: ?Float,\n minuteInterval?: WithDefault<\n 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30,\n 1,\n >,\n mode?: WithDefault<'date' | 'time' | 'datetime', 'date'>,\n onChange?: ?BubblingEventHandler,\n timeZoneOffsetInMinutes?: ?Float,\n pickerStyle?: WithDefault<'compact' | 'spinner' | 'inline', 'spinner'>,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setNativeDate: (\n viewRef: React.ElementRef,\n date: Float,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeDate'],\n});\n\nexport default (codegenNativeComponent('DatePicker', {\n paperComponentName: 'RCTDatePicker',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Image = require('./Image');\nconst React = require('react');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\n\n/**\n * Very simple drop-in replacement for which supports nesting views.\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, ImageBackground, Text } from 'react-native';\n *\n * class DisplayAnImageBackground extends Component {\n * render() {\n * return (\n * \n * React\n * \n * );\n * }\n * }\n *\n * // App registration and rendering\n * AppRegistry.registerComponent('DisplayAnImageBackground', () => DisplayAnImageBackground);\n * ```\n */\nclass ImageBackground extends React.Component<$FlowFixMeProps> {\n setNativeProps(props: Object) {\n // Work-around flow\n const viewRef = this._viewRef;\n if (viewRef) {\n viewRef.setNativeProps(props);\n }\n }\n\n _viewRef: ?React.ElementRef = null;\n\n _captureRef = ref => {\n this._viewRef = ref;\n };\n\n render(): React.Node {\n const {children, style, imageStyle, imageRef, ...props} = this.props;\n\n return (\n \n overwrites width and height styles\n // (which is not quite correct), and these styles conflict with explicitly set styles\n // of and with our internal layout model here.\n // So, we have to proxy/reapply these styles explicitly for actual component.\n // This workaround should be removed after implementing proper support of\n // intrinsic content size of the .\n width: style?.width,\n height: style?.height,\n },\n imageStyle,\n ]}\n ref={imageRef}\n />\n {children}\n \n );\n }\n}\n\nmodule.exports = ImageBackground;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport * as React from 'react';\nimport Platform from '../../Utilities/Platform';\nimport StyleSheet, {\n type ViewStyleProp,\n type ColorValue,\n} from '../../StyleSheet/StyleSheet';\n\nimport RCTInputAccessoryViewNativeComponent from './RCTInputAccessoryViewNativeComponent';\n\n/**\n * Note: iOS only\n *\n * A component which enables customization of the keyboard input accessory view.\n * The input accessory view is displayed above the keyboard whenever a TextInput\n * has focus. This component can be used to create custom toolbars.\n *\n * To use this component wrap your custom toolbar with the\n * InputAccessoryView component, and set a nativeID. Then, pass that nativeID\n * as the inputAccessoryViewID of whatever TextInput you desire. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput, InputAccessoryView, Button } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {text: 'Placeholder Text'};\n * }\n *\n * render() {\n * const inputAccessoryViewID = \"uniqueID\";\n * return (\n * \n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * \n * this.setState({text: 'Placeholder Text'})}\n * title=\"Reset Text\"\n * />\n * \n * \n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * This component can also be used to create sticky text inputs (text inputs\n * which are anchored to the top of the keyboard). To do this, wrap a\n * TextInput with the InputAccessoryView component, and don't set a nativeID.\n * For an example, look at InputAccessoryViewExample.js in RNTester.\n */\n\ntype Props = $ReadOnly<{|\n +children: React.Node,\n /**\n * An ID which is used to associate this `InputAccessoryView` to\n * specified TextInput(s).\n */\n nativeID?: ?string,\n style?: ?ViewStyleProp,\n backgroundColor?: ?ColorValue,\n|}>;\n\nclass InputAccessoryView extends React.Component {\n render(): React.Node {\n if (Platform.OS !== 'ios') {\n console.warn(' is only supported on iOS.');\n }\n\n if (React.Children.count(this.props.children) === 0) {\n return null;\n }\n\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n position: 'absolute',\n },\n});\n\nmodule.exports = InputAccessoryView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n backgroundColor?: ?ColorValue,\n|}>;\n\nexport default (codegenNativeComponent('InputAccessory', {\n interfaceOnly: true,\n paperComponentName: 'RCTInputAccessoryView',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport Keyboard from './Keyboard';\nimport LayoutAnimation from '../../LayoutAnimation/LayoutAnimation';\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\n\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport {type EventSubscription} from '../../vendor/emitter/EventEmitter';\nimport type {\n ViewProps,\n ViewLayout,\n ViewLayoutEvent,\n} from '../View/ViewPropTypes';\nimport type {KeyboardEvent} from './Keyboard';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Specify how to react to the presence of the keyboard.\n */\n behavior?: ?('height' | 'position' | 'padding'),\n\n /**\n * Style of the content container when `behavior` is 'position'.\n */\n contentContainerStyle?: ?ViewStyleProp,\n\n /**\n * Controls whether this `KeyboardAvoidingView` instance should take effect.\n * This is useful when more than one is on the screen. Defaults to true.\n */\n enabled?: ?boolean,\n\n /**\n * Distance between the top of the user screen and the React Native view. This\n * may be non-zero in some cases. Defaults to 0.\n */\n keyboardVerticalOffset?: number,\n|}>;\n\ntype State = {|\n bottom: number,\n|};\n\n/**\n * View that moves out of the way when the keyboard appears by automatically\n * adjusting its height, position, or bottom padding.\n */\nclass KeyboardAvoidingView extends React.Component {\n _frame: ?ViewLayout = null;\n _keyboardEvent: ?KeyboardEvent = null;\n _subscriptions: Array = [];\n viewRef: {current: React.ElementRef | null, ...};\n _initialFrameHeight: number = 0;\n\n constructor(props: Props) {\n super(props);\n this.state = {bottom: 0};\n this.viewRef = React.createRef();\n }\n\n _relativeKeyboardHeight(keyboardFrame): number {\n const frame = this._frame;\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n const keyboardY =\n keyboardFrame.screenY - (this.props.keyboardVerticalOffset ?? 0);\n\n // Calculate the displacement needed for the view such that it\n // no longer overlaps with the keyboard\n return Math.max(frame.y + frame.height - keyboardY, 0);\n }\n\n _onKeyboardChange = (event: ?KeyboardEvent) => {\n this._keyboardEvent = event;\n this._updateBottomIfNecesarry();\n };\n\n _onLayout = (event: ViewLayoutEvent) => {\n const wasFrameNull = this._frame == null;\n this._frame = event.nativeEvent.layout;\n if (!this._initialFrameHeight) {\n // save the initial frame height, before the keyboard is visible\n this._initialFrameHeight = this._frame.height;\n }\n\n if (wasFrameNull) {\n this._updateBottomIfNecesarry();\n }\n };\n\n _updateBottomIfNecesarry = () => {\n if (this._keyboardEvent == null) {\n this.setState({bottom: 0});\n return;\n }\n\n const {duration, easing, endCoordinates} = this._keyboardEvent;\n const height = this._relativeKeyboardHeight(endCoordinates);\n\n if (this.state.bottom === height) {\n return;\n }\n\n if (duration && easing) {\n LayoutAnimation.configureNext({\n // We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m\n duration: duration > 10 ? duration : 10,\n update: {\n duration: duration > 10 ? duration : 10,\n type: LayoutAnimation.Types[easing] || 'keyboard',\n },\n });\n }\n this.setState({bottom: height});\n };\n\n componentDidMount(): void {\n if (Platform.OS === 'ios') {\n this._subscriptions = [\n Keyboard.addListener('keyboardWillChangeFrame', this._onKeyboardChange),\n ];\n } else {\n this._subscriptions = [\n Keyboard.addListener('keyboardDidHide', this._onKeyboardChange),\n Keyboard.addListener('keyboardDidShow', this._onKeyboardChange),\n ];\n }\n }\n\n componentWillUnmount(): void {\n this._subscriptions.forEach(subscription => {\n subscription.remove();\n });\n }\n\n render(): React.Node {\n const {\n behavior,\n children,\n contentContainerStyle,\n enabled = true,\n // eslint-disable-next-line no-unused-vars\n keyboardVerticalOffset = 0,\n style,\n ...props\n } = this.props;\n const bottomHeight = enabled === true ? this.state.bottom : 0;\n switch (behavior) {\n case 'height':\n let heightStyle;\n if (this._frame != null && this.state.bottom > 0) {\n // Note that we only apply a height change when there is keyboard present,\n // i.e. this.state.bottom is greater than 0. If we remove that condition,\n // this.frame.height will never go back to its original value.\n // When height changes, we need to disable flex.\n heightStyle = {\n height: this._initialFrameHeight - bottomHeight,\n flex: 0,\n };\n }\n return (\n \n {children}\n \n );\n\n case 'position':\n return (\n \n \n {children}\n \n \n );\n\n case 'padding':\n return (\n \n {children}\n \n );\n\n default:\n return (\n \n {children}\n \n );\n }\n }\n}\n\nexport default KeyboardAvoidingView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport RCTMaskedViewNativeComponent from './RCTMaskedViewNativeComponent';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n children: React.Node,\n /**\n * Should be a React element to be rendered and applied as the\n * mask for the child element.\n */\n maskElement: React.Element,\n|}>;\n\n/**\n * Renders the child view with a mask specified in the `maskElement` prop.\n *\n * ```\n * import React from 'react';\n * import { MaskedViewIOS, Text, View } from 'react-native';\n *\n * class MyMaskedView extends React.Component {\n * render() {\n * return (\n * \n * \n * Basic Mask\n * \n * \n * }\n * >\n * \n * \n * );\n * }\n * }\n * ```\n *\n * The above example will render a view with a blue background that fills its\n * parent, and then mask that view with text that says \"Basic Mask\".\n *\n * The alpha channel of the view rendered by the `maskElement` prop determines how\n * much of the view's content and background shows through. Fully or partially\n * opaque pixels allow the underlying content to show through but fully\n * transparent pixels block that content.\n *\n */\nclass MaskedViewIOS extends React.Component {\n _hasWarnedInvalidRenderMask = false;\n\n render(): React.Node {\n const {maskElement, children, ...otherViewProps} = this.props;\n\n if (!React.isValidElement(maskElement)) {\n if (!this._hasWarnedInvalidRenderMask) {\n console.warn(\n 'MaskedView: Invalid `maskElement` prop was passed to MaskedView. ' +\n 'Expected a React Element. No mask will render.',\n );\n this._hasWarnedInvalidRenderMask = true;\n }\n return {children};\n }\n\n return (\n \n \n {maskElement}\n \n {children}\n \n );\n }\n}\n\nmodule.exports = MaskedViewIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTMaskedView',\n): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nconst AppContainer = require('../ReactNative/AppContainer');\nconst I18nManager = require('../ReactNative/I18nManager');\nimport ModalInjection from './ModalInjection';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport NativeModalManager from './NativeModalManager';\nconst Platform = require('../Utilities/Platform');\nconst React = require('react');\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst View = require('../Components/View/View');\n\nconst {RootTagContext} = require('../ReactNative/RootTag');\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport {VirtualizedListContextResetter} from '../Lists/VirtualizedListContext.js';\nimport type {RootTag} from '../ReactNative/RootTag';\nimport type {DirectEventHandler} from '../Types/CodegenTypes';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport RCTModalHostView from './RCTModalHostViewNativeComponent';\n\ntype ModalEventDefinitions = {\n modalDismissed: [{modalID: number}],\n};\n\nconst ModalEventEmitter =\n Platform.OS === 'ios' && NativeModalManager != null\n ? new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeModalManager,\n )\n : null;\n\n/**\n * The Modal component is a simple way to present content above an enclosing view.\n *\n * See https://reactnative.dev/docs/modal.html\n */\n\n// In order to route onDismiss callbacks, we need to uniquely identifier each\n// on screen. There can be different ones, either nested or as siblings.\n// We cannot pass the onDismiss callback to native as the view will be\n// destroyed before the callback is fired.\nlet uniqueModalIdentifier = 0;\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://reactnative.dev/docs/modal.html#animationtype\n */\n animationType?: ?('none' | 'slide' | 'fade'),\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://reactnative.dev/docs/modal.html#presentationstyle\n */\n presentationStyle?: ?(\n | 'fullScreen'\n | 'pageSheet'\n | 'formSheet'\n | 'overFullScreen'\n ),\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://reactnative.dev/docs/modal.html#transparent\n */\n transparent?: ?boolean,\n\n /**\n * The `statusBarTranslucent` prop determines whether your modal should go under\n * the system statusbar.\n *\n * See https://reactnative.dev/docs/modal.html#transparent\n */\n statusBarTranslucent?: ?boolean,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * This prop works only on Android.\n *\n * See https://reactnative.dev/docs/modal.html#hardwareaccelerated\n */\n hardwareAccelerated?: ?boolean,\n\n /**\n * The `visible` prop determines whether your modal is visible.\n *\n * See https://reactnative.dev/docs/modal.html#visible\n */\n visible?: ?boolean,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://reactnative.dev/docs/modal.html#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://reactnative.dev/docs/modal.html#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://reactnative.dev/docs/modal.html#ondismiss\n */\n onDismiss?: ?() => mixed,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://reactnative.dev/docs/modal.html#supportedorientations\n */\n supportedOrientations?: ?$ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://reactnative.dev/docs/modal.html#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n|}>;\n\nfunction confirmProps(props: Props) {\n if (__DEV__) {\n if (\n props.presentationStyle &&\n props.presentationStyle !== 'overFullScreen' &&\n props.transparent === true\n ) {\n console.warn(\n `Modal with '${props.presentationStyle}' presentation style and 'transparent' value is not supported.`,\n );\n }\n }\n}\n\nclass Modal extends React.Component {\n static defaultProps: {|hardwareAccelerated: boolean, visible: boolean|} = {\n visible: true,\n hardwareAccelerated: false,\n };\n\n static contextType: React.Context = RootTagContext;\n\n _identifier: number;\n _eventSubscription: ?EventSubscription;\n\n constructor(props: Props) {\n super(props);\n if (__DEV__) {\n confirmProps(props);\n }\n this._identifier = uniqueModalIdentifier++;\n }\n\n componentDidMount() {\n // 'modalDismissed' is for the old renderer in iOS only\n if (ModalEventEmitter) {\n this._eventSubscription = ModalEventEmitter.addListener(\n 'modalDismissed',\n event => {\n if (event.modalID === this._identifier && this.props.onDismiss) {\n this.props.onDismiss();\n }\n },\n );\n }\n }\n\n componentWillUnmount() {\n if (this._eventSubscription) {\n this._eventSubscription.remove();\n }\n }\n\n componentDidUpdate() {\n if (__DEV__) {\n confirmProps(this.props);\n }\n }\n\n render(): React.Node {\n if (this.props.visible !== true) {\n return null;\n }\n\n const containerStyles = {\n backgroundColor:\n this.props.transparent === true ? 'transparent' : 'white',\n };\n\n let animationType = this.props.animationType || 'none';\n\n let presentationStyle = this.props.presentationStyle;\n if (!presentationStyle) {\n presentationStyle = 'fullScreen';\n if (this.props.transparent === true) {\n presentationStyle = 'overFullScreen';\n }\n }\n\n const innerChildren = __DEV__ ? (\n {this.props.children}\n ) : (\n this.props.children\n );\n\n return (\n {\n if (this.props.onDismiss) {\n this.props.onDismiss();\n }\n }}\n visible={this.props.visible}\n statusBarTranslucent={this.props.statusBarTranslucent}\n identifier={this._identifier}\n style={styles.modal}\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n onStartShouldSetResponder={this._shouldSetResponder}\n supportedOrientations={this.props.supportedOrientations}\n onOrientationChange={this.props.onOrientationChange}>\n \n \n \n {innerChildren}\n \n \n \n \n );\n }\n\n // We don't want any responder events bubbling out of the modal.\n _shouldSetResponder(): boolean {\n return true;\n }\n}\n\nconst side = I18nManager.getConstants().isRTL ? 'right' : 'left';\nconst styles = StyleSheet.create({\n modal: {\n position: 'absolute',\n },\n container: {\n /* $FlowFixMe[invalid-computed-prop] (>=0.111.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.111 was deployed. To see\n * the error, delete this comment and run Flow. */\n [side]: 0,\n top: 0,\n flex: 1,\n },\n});\n\nconst ExportedModal: React.AbstractComponent<\n React.ElementConfig,\n> = ModalInjection.unstable_Modal ?? Modal;\n\nmodule.exports = ExportedModal;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport typeof Modal from './Modal';\n\nexport default {\n unstable_Modal: (null: ?Modal),\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('ModalManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport codegenNativeComponent from '../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {\n WithDefault,\n DirectEventHandler,\n Int32,\n} from '../Types/CodegenTypes';\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://reactnative.dev/docs/modal.html#animationtype\n */\n animationType?: WithDefault<'none' | 'slide' | 'fade', 'none'>,\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://reactnative.dev/docs/modal.html#presentationstyle\n */\n presentationStyle?: WithDefault<\n 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen',\n 'fullScreen',\n >,\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://reactnative.dev/docs/modal.html#transparent\n */\n transparent?: WithDefault,\n\n /**\n * The `statusBarTranslucent` prop determines whether your modal should go under\n * the system statusbar.\n *\n * See https://reactnative.dev/docs/modal.html#statusBarTranslucent\n */\n statusBarTranslucent?: WithDefault,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * See https://reactnative.dev/docs/modal.html#hardwareaccelerated\n */\n hardwareAccelerated?: WithDefault,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://reactnative.dev/docs/modal.html#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://reactnative.dev/docs/modal.html#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://reactnative.dev/docs/modal.html#ondismiss\n */\n onDismiss?: ?DirectEventHandler,\n\n /**\n * The `visible` prop determines whether your modal is visible.\n *\n * See https://reactnative.dev/docs/modal.html#visible\n */\n visible?: WithDefault,\n\n /**\n * Deprecated. Use the `animationType` prop instead.\n */\n animated?: WithDefault,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://reactnative.dev/docs/modal.html#supportedorientations\n */\n supportedOrientations?: WithDefault<\n $ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n 'portrait',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://reactnative.dev/docs/modal.html#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n\n /**\n * The `identifier` is the unique number for identifying Modal components.\n */\n identifier?: WithDefault,\n|}>;\n\nexport default (codegenNativeComponent('ModalHostView', {\n interfaceOnly: true,\n paperComponentName: 'RCTModalHostView',\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport View from '../Components/View/View';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport {RootTagContext, createRootTag} from './RootTag';\nimport type {RootTag} from './RootTag';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n children?: React.Node,\n fabric?: boolean,\n useConcurrentRoot?: boolean,\n rootTag: number | RootTag,\n initialProps?: {...},\n showArchitectureIndicator?: boolean,\n WrapperComponent?: ?React.ComponentType,\n internal_excludeLogBox?: ?boolean,\n|}>;\n\ntype State = {|\n inspector: ?React.Node,\n mainKey: number,\n hasError: boolean,\n|};\n\nclass AppContainer extends React.Component {\n state: State = {\n inspector: null,\n mainKey: 1,\n hasError: false,\n };\n _mainRef: ?React.ElementRef;\n _subscription: ?EventSubscription = null;\n\n static getDerivedStateFromError: any = undefined;\n\n componentDidMount(): void {\n if (__DEV__) {\n if (!global.__RCTProfileIsProfiling) {\n this._subscription = RCTDeviceEventEmitter.addListener(\n 'toggleElementInspector',\n () => {\n const Inspector = require('../Inspector/Inspector');\n const inspector = this.state.inspector ? null : (\n {\n this.setState(\n s => ({mainKey: s.mainKey + 1}),\n () => updateInspectedView(this._mainRef),\n );\n }}\n />\n );\n this.setState({inspector});\n },\n );\n }\n }\n }\n\n componentWillUnmount(): void {\n if (this._subscription != null) {\n this._subscription.remove();\n }\n }\n\n render(): React.Node {\n let logBox = null;\n if (__DEV__) {\n if (\n !global.__RCTProfileIsProfiling &&\n !this.props.internal_excludeLogBox\n ) {\n const LogBoxNotificationContainer = require('../LogBox/LogBoxNotificationContainer')\n .default;\n logBox = ;\n }\n }\n\n let innerView = (\n {\n this._mainRef = ref;\n }}>\n {this.props.children}\n \n );\n\n const Wrapper = this.props.WrapperComponent;\n if (Wrapper != null) {\n innerView = (\n \n {innerView}\n \n );\n }\n return (\n \n \n {!this.state.hasError && innerView}\n {this.state.inspector}\n {logBox}\n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n appContainer: {\n flex: 1,\n },\n});\n\nmodule.exports = AppContainer;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\n// TODO: Make this into an opaque type.\nexport opaque type RootTag = number;\n\nexport const RootTagContext: React$Context = React.createContext(\n 0,\n);\n\nif (__DEV__) {\n RootTagContext.displayName = 'RootTagContext';\n}\n\n/**\n * Intended to only be used by `AppContainer`.\n */\nexport function createRootTag(rootTag: number | RootTag): RootTag {\n return rootTag;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport NativeI18nManager from './NativeI18nManager';\n\nconst i18nConstants: {|\n doLeftAndRightSwapInRTL: boolean,\n isRTL: boolean,\n localeIdentifier?: ?string,\n|} = getI18nManagerConstants();\n\nfunction getI18nManagerConstants() {\n if (NativeI18nManager) {\n const {\n isRTL,\n doLeftAndRightSwapInRTL,\n localeIdentifier,\n } = NativeI18nManager.getConstants();\n return {isRTL, doLeftAndRightSwapInRTL, localeIdentifier};\n }\n\n return {\n isRTL: false,\n doLeftAndRightSwapInRTL: true,\n };\n}\n\nmodule.exports = {\n getConstants: (): {|\n doLeftAndRightSwapInRTL: boolean,\n isRTL: boolean,\n localeIdentifier: ?string,\n |} => {\n return i18nConstants;\n },\n\n allowRTL: (shouldAllow: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.allowRTL(shouldAllow);\n },\n\n forceRTL: (shouldForce: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.forceRTL(shouldForce);\n },\n\n swapLeftAndRightInRTL: (flipStyles: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.swapLeftAndRightInRTL(flipStyles);\n },\n\n isRTL: i18nConstants.isRTL,\n doLeftAndRightSwapInRTL: i18nConstants.doLeftAndRightSwapInRTL,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isRTL: boolean,\n doLeftAndRightSwapInRTL: boolean,\n localeIdentifier: ?string,\n |};\n allowRTL: (allowRTL: boolean) => void;\n forceRTL: (forceRTL: boolean) => void;\n swapLeftAndRightInRTL: (flipStyles: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('I18nManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\nimport {useMemo, useState, useRef, useImperativeHandle} from 'react';\nimport useAndroidRippleForView, {\n type RippleConfig,\n} from './useAndroidRippleForView';\nimport type {\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n AccessibilityRole,\n AccessibilityState,\n AccessibilityValue,\n} from '../View/ViewAccessibility';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport usePressability from '../../Pressability/usePressability';\nimport {normalizeRect, type RectOrSize} from '../../StyleSheet/Rect';\nimport type {LayoutEvent, PressEvent} from '../../Types/CoreEventTypes';\nimport View from '../View/View';\n\ntype ViewStyleProp = $ElementType, 'style'>;\n\nexport type StateCallbackType = $ReadOnly<{|\n pressed: boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n /**\n * Accessibility.\n */\n accessibilityActions?: ?$ReadOnlyArray,\n accessibilityElementsHidden?: ?boolean,\n accessibilityHint?: ?Stringish,\n accessibilityIgnoresInvertColors?: ?boolean,\n accessibilityLabel?: ?Stringish,\n accessibilityLiveRegion?: ?('none' | 'polite' | 'assertive'),\n accessibilityRole?: ?AccessibilityRole,\n accessibilityState?: ?AccessibilityState,\n accessibilityValue?: ?AccessibilityValue,\n accessibilityViewIsModal?: ?boolean,\n accessible?: ?boolean,\n focusable?: ?boolean,\n importantForAccessibility?: ?('auto' | 'yes' | 'no' | 'no-hide-descendants'),\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n\n /**\n * Whether a press gesture can be interrupted by a parent gesture such as a\n * scroll event. Defaults to true.\n */\n cancelable?: ?boolean,\n\n /**\n * Either children or a render prop that receives a boolean reflecting whether\n * the component is currently pressed.\n */\n children: React.Node | ((state: StateCallbackType) => React.Node),\n\n /**\n * Duration (in milliseconds) from `onPressIn` before `onLongPress` is called.\n */\n delayLongPress?: ?number,\n\n /**\n * Whether the press behavior is disabled.\n */\n disabled?: ?boolean,\n\n /**\n * Additional distance outside of this view in which a press is detected.\n */\n hitSlop?: ?RectOrSize,\n\n /**\n * Additional distance outside of this view in which a touch is considered a\n * press before `onPressOut` is triggered.\n */\n pressRetentionOffset?: ?RectOrSize,\n\n /**\n * Called when this view's layout changes.\n */\n onLayout?: ?(event: LayoutEvent) => mixed,\n\n /**\n * Called when a long-tap gesture is detected.\n */\n onLongPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a single tap gesture is detected.\n */\n onPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is engaged before `onPress`.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is released before `onPress`.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Either view styles or a function that receives a boolean reflecting whether\n * the component is currently pressed and returns view styles.\n */\n style?: ViewStyleProp | ((state: StateCallbackType) => ViewStyleProp),\n\n /**\n * Identifier used to find this view in tests.\n */\n testID?: ?string,\n\n /**\n * If true, doesn't play system sound on touch.\n */\n android_disableSound?: ?boolean,\n\n /**\n * Enables the Android ripple effect and configures its color.\n */\n android_ripple?: ?RippleConfig,\n\n /**\n * Used only for documentation or testing (e.g. snapshot testing).\n */\n testOnly_pressed?: ?boolean,\n\n /**\n * Duration to wait after press down before calling `onPressIn`.\n */\n unstable_pressDelay?: ?number,\n|}>;\n\n/**\n * Component used to build display components that should respond to whether the\n * component is currently pressed or not.\n */\nfunction Pressable(props: Props, forwardedRef): React.Node {\n const {\n accessible,\n android_disableSound,\n android_ripple,\n cancelable,\n children,\n delayLongPress,\n disabled,\n focusable,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n pressRetentionOffset,\n style,\n testOnly_pressed,\n unstable_pressDelay,\n ...restProps\n } = props;\n\n const viewRef = useRef | null>(null);\n useImperativeHandle(forwardedRef, () => viewRef.current);\n\n const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);\n\n const [pressed, setPressed] = usePressState(testOnly_pressed === true);\n\n const hitSlop = normalizeRect(props.hitSlop);\n\n const accessibilityState =\n disabled != null\n ? {...props.accessibilityState, disabled}\n : props.accessibilityState;\n\n const restPropsWithDefaults: React.ElementConfig = {\n ...restProps,\n ...android_rippleConfig?.viewProps,\n accessible: accessible !== false,\n accessibilityState,\n focusable: focusable !== false,\n hitSlop,\n };\n\n const config = useMemo(\n () => ({\n cancelable,\n disabled,\n hitSlop,\n pressRectOffset: pressRetentionOffset,\n android_disableSound,\n delayLongPress,\n delayPressIn: unstable_pressDelay,\n onLongPress,\n onPress,\n onPressIn(event: PressEvent): void {\n if (android_rippleConfig != null) {\n android_rippleConfig.onPressIn(event);\n }\n setPressed(true);\n if (onPressIn != null) {\n onPressIn(event);\n }\n },\n onPressMove: android_rippleConfig?.onPressMove,\n onPressOut(event: PressEvent): void {\n if (android_rippleConfig != null) {\n android_rippleConfig.onPressOut(event);\n }\n setPressed(false);\n if (onPressOut != null) {\n onPressOut(event);\n }\n },\n }),\n [\n android_disableSound,\n android_rippleConfig,\n cancelable,\n delayLongPress,\n disabled,\n hitSlop,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n pressRetentionOffset,\n setPressed,\n unstable_pressDelay,\n ],\n );\n const eventHandlers = usePressability(config);\n\n return (\n \n {typeof children === 'function' ? children({pressed}) : children}\n {__DEV__ ? : null}\n \n );\n}\n\nfunction usePressState(forcePressed: boolean): [boolean, (boolean) => void] {\n const [pressed, setPressed] = useState(false);\n return [pressed || forcePressed, setPressed];\n}\n\nconst MemoedPressable = React.memo(React.forwardRef(Pressable));\nMemoedPressable.displayName = 'Pressable';\n\nexport default (MemoedPressable: React.AbstractComponent<\n Props,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport invariant from 'invariant';\nimport {Commands} from '../View/ViewNativeComponent';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\nimport {Platform, View, processColor} from 'react-native';\nimport * as React from 'react';\nimport {useMemo} from 'react';\n\ntype NativeBackgroundProp = $ReadOnly<{|\n type: 'RippleAndroid',\n color: ?number,\n borderless: boolean,\n rippleRadius: ?number,\n|}>;\n\nexport type RippleConfig = {|\n color?: ColorValue,\n borderless?: boolean,\n radius?: number,\n foreground?: boolean,\n|};\n\n/**\n * Provides the event handlers and props for configuring the ripple effect on\n * supported versions of Android.\n */\nexport default function useAndroidRippleForView(\n rippleConfig: ?RippleConfig,\n viewRef: {|current: null | React.ElementRef|},\n): ?$ReadOnly<{|\n onPressIn: (event: PressEvent) => void,\n onPressMove: (event: PressEvent) => void,\n onPressOut: (event: PressEvent) => void,\n viewProps:\n | $ReadOnly<{|nativeBackgroundAndroid: NativeBackgroundProp|}>\n | $ReadOnly<{|nativeForegroundAndroid: NativeBackgroundProp|}>,\n|}> {\n const {color, borderless, radius, foreground} = rippleConfig ?? {};\n\n return useMemo(() => {\n if (\n Platform.OS === 'android' &&\n Platform.Version >= 21 &&\n (color != null || borderless != null || radius != null)\n ) {\n const processedColor = processColor(color);\n invariant(\n processedColor == null || typeof processedColor === 'number',\n 'Unexpected color given for Ripple color',\n );\n\n const nativeRippleValue = {\n type: 'RippleAndroid',\n color: processedColor,\n borderless: borderless === true,\n rippleRadius: radius,\n };\n\n return {\n viewProps:\n foreground === true\n ? {nativeForegroundAndroid: nativeRippleValue}\n : {nativeBackgroundAndroid: nativeRippleValue},\n onPressIn(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.hotspotUpdate(\n view,\n event.nativeEvent.locationX ?? 0,\n event.nativeEvent.locationY ?? 0,\n );\n Commands.setPressed(view, true);\n }\n },\n onPressMove(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.hotspotUpdate(\n view,\n event.nativeEvent.locationX ?? 0,\n event.nativeEvent.locationY ?? 0,\n );\n }\n },\n onPressOut(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.setPressed(view, false);\n }\n },\n };\n }\n return null;\n }, [borderless, color, foreground, radius, viewRef]);\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport * as React from 'react';\nimport StyleSheet, {type ColorValue} from '../../StyleSheet/StyleSheet';\n\nimport RCTProgressViewNativeComponent from './RCTProgressViewNativeComponent';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The progress bar style.\n */\n progressViewStyle?: ?('default' | 'bar'),\n\n /**\n * The progress value (between 0 and 1).\n */\n progress?: ?number,\n\n /**\n * The tint color of the progress bar itself.\n */\n progressTintColor?: ?ColorValue,\n\n /**\n * The tint color of the progress bar track.\n */\n trackTintColor?: ?ColorValue,\n\n /**\n * A stretchable image to display as the progress bar.\n */\n progressImage?: ?ImageSource,\n\n /**\n * A stretchable image to display behind the progress bar.\n */\n trackImage?: ?ImageSource,\n|}>;\n\n/**\n * Use `ProgressViewIOS` to render a UIProgressView on iOS.\n */\nconst ProgressViewIOS = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => (\n \n);\n\nconst styles = StyleSheet.create({\n progressView: {\n height: 2,\n },\n});\n\nconst ProgressViewIOSWithRef = React.forwardRef(ProgressViewIOS);\n\nmodule.exports = (ProgressViewIOSWithRef: typeof RCTProgressViewNativeComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {Float, WithDefault} from '../../Types/CodegenTypes';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n progressViewStyle?: WithDefault<'default' | 'bar', 'default'>,\n progress?: WithDefault,\n progressTintColor?: ?ColorValue,\n trackTintColor?: ?ColorValue,\n progressImage?: ?ImageSource,\n trackImage?: ?ImageSource,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTProgressView',\n): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\nimport View from '../View/View';\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n emulateUnlessSupported?: boolean,\n|}>;\n\nlet exported: React.AbstractComponent<\n Props,\n React.ElementRef>,\n>;\n\n/**\n * Renders nested content and automatically applies paddings reflect the portion\n * of the view that is not covered by navigation bars, tab bars, toolbars, and\n * other ancestor views.\n *\n * Moreover, and most importantly, Safe Area's paddings reflect physical\n * limitation of the screen, such as rounded corners or camera notches (aka\n * sensor housing area on iPhone X).\n */\nif (Platform.OS === 'android') {\n exported = React.forwardRef>>(\n function SafeAreaView(props, forwardedRef) {\n const {emulateUnlessSupported, ...localProps} = props;\n return ;\n },\n );\n} else {\n const RCTSafeAreaViewNativeComponent = require('./RCTSafeAreaViewNativeComponent')\n .default;\n\n exported = React.forwardRef>>(\n function SafeAreaView(props, forwardedRef) {\n return (\n \n );\n },\n );\n}\n\nexport default exported;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {WithDefault} from '../../Types/CodegenTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n emulateUnlessSupported?: WithDefault,\n|}>;\n\nexport default (codegenNativeComponent('SafeAreaView', {\n paperComponentName: 'RCTSafeAreaView',\n interfaceOnly: true,\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport type {OnChangeEvent} from './RCTSegmentedControlNativeComponent';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport RCTSegmentedControlNativeComponent from './RCTSegmentedControlNativeComponent';\nimport type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes';\n\ntype SegmentedControlIOSProps = $ReadOnly<{|\n ...ViewProps,\n /**\n * The labels for the control's segment buttons, in order.\n *\n * The default value is an empty array.\n */\n values?: $ReadOnlyArray,\n /**\n * The index in `props.values` of the segment to be (pre)selected.\n */\n selectedIndex?: ?number,\n /**\n * If false the user won't be able to interact with the control.\n *\n * The default value is true.\n */\n enabled?: boolean,\n /**\n * Accent color of the control.\n */\n tintColor?: ?string,\n /**\n * If true, then selecting a segment won't persist visually.\n * The `onValueChange` callback will still work as expected.\n */\n momentary?: ?boolean,\n /**\n * Callback that is called when the user taps a segment\n */\n onChange?: ?(event: SyntheticEvent) => void,\n /**\n * Callback that is called when the user taps a segment;\n * passes the segment's value as an argument\n */\n onValueChange?: ?(value: number) => mixed,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...SegmentedControlIOSProps,\n forwardedRef: ?React.Ref,\n|}>;\n\n/**\n * Use `SegmentedControlIOS` to render a UISegmentedControl iOS.\n *\n * #### Programmatically changing selected index\n *\n * The selected index can be changed on the fly by assigning the\n * selectedIndex prop to a state variable, then changing that variable.\n * Note that the state variable would need to be updated as the user\n * selects a value and changes the index, as shown in the example below.\n *\n * ````\n * {\n * this.setState({selectedIndex: event.nativeEvent.selectedSegmentIndex});\n * }}\n * />\n * ````\n */\n\nclass SegmentedControlIOS extends React.Component {\n _onChange = (event: SyntheticEvent) => {\n this.props.onChange && this.props.onChange(event);\n this.props.onValueChange &&\n this.props.onValueChange(event.nativeEvent.value);\n };\n\n render() {\n const {\n enabled,\n forwardedRef,\n onValueChange,\n style,\n values,\n ...props\n } = this.props;\n return (\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n segmentedControl: {\n height: 28,\n },\n});\n\nconst SegmentedControlIOSWithRef = React.forwardRef(\n (\n props: SegmentedControlIOSProps,\n forwardedRef: ?React.Ref,\n ) => {\n return ;\n },\n);\n\n/* $FlowFixMe[cannot-resolve-name] (>=0.89.0 site=react_native_ios_fb) This\n * comment suppresses an error found when Flow v0.89 was deployed. To see the\n * error, delete this comment and run Flow. */\nmodule.exports = (SegmentedControlIOSWithRef: NativeSegmentedControlIOS);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {\n BubblingEventHandler,\n WithDefault,\n Int32,\n} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\n\nexport type OnChangeEvent = $ReadOnly<{|\n value: Int32,\n selectedSegmentIndex: Int32,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n values?: $ReadOnlyArray,\n selectedIndex?: WithDefault,\n enabled?: WithDefault,\n tintColor?: ?ColorValue,\n textColor?: ?ColorValue,\n backgroundColor?: ?ColorValue,\n momentary?: WithDefault,\n\n // Events\n onChange?: ?BubblingEventHandler,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTSegmentedControl',\n): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport * as React from 'react';\nimport Platform from '../../Utilities/Platform';\nimport SliderNativeComponent from './SliderNativeComponent';\nimport StyleSheet, {\n type ViewStyleProp,\n type ColorValue,\n} from '../../StyleSheet/StyleSheet';\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {AccessibilityState} from '../View/ViewAccessibility';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n value: number,\n /**\n * Android Only.\n */\n fromUser?: boolean,\n |}>,\n>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Assigns a single image for the track. Only static images are supported.\n * The center pixel of the image will be stretched to fill the track.\n */\n trackImage?: ?ImageSource,\n\n /**\n * Assigns a minimum track image. Only static images are supported. The\n * rightmost pixel of the image will be stretched to fill the track.\n */\n minimumTrackImage?: ?ImageSource,\n\n /**\n * Assigns a maximum track image. Only static images are supported. The\n * leftmost pixel of the image will be stretched to fill the track.\n */\n maximumTrackImage?: ?ImageSource,\n\n /**\n * Sets an image for the thumb. Only static images are supported.\n */\n thumbImage?: ?ImageSource,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n * Used to style and layout the `Slider`. See `StyleSheet.js` and\n * `DeprecatedViewStylePropTypes.js` for more info.\n */\n style?: ?ViewStyleProp,\n\n /**\n * Initial value of the slider. The value should be between minimumValue\n * and maximumValue, which default to 0 and 1 respectively.\n * Default value is 0.\n *\n * *This is not a controlled component*, you don't need to update the\n * value during dragging.\n */\n value?: ?number,\n\n /**\n * Step value of the slider. The value should be\n * between 0 and (maximumValue - minimumValue).\n * Default value is 0.\n */\n step?: ?number,\n\n /**\n * Initial minimum value of the slider. Default value is 0.\n */\n minimumValue?: ?number,\n\n /**\n * Initial maximum value of the slider. Default value is 1.\n */\n maximumValue?: ?number,\n\n /**\n * The color used for the track to the left of the button.\n * Overrides the default blue gradient image on iOS.\n */\n minimumTrackTintColor?: ?ColorValue,\n\n /**\n * The color used for the track to the right of the button.\n * Overrides the default blue gradient image on iOS.\n */\n maximumTrackTintColor?: ?ColorValue,\n /**\n * The color used to tint the default thumb images on iOS, or the\n * color of the foreground switch grip on Android.\n */\n thumbTintColor?: ?ColorValue,\n\n /**\n * If true the user won't be able to move the slider.\n * Default value is false.\n */\n disabled?: ?boolean,\n\n /**\n * Callback continuously called while the user is dragging the slider.\n */\n onValueChange?: ?(value: number) => void,\n\n /**\n * Callback that is called when the user releases the slider,\n * regardless if the value has changed. The current value is passed\n * as an argument to the callback handler.\n */\n onSlidingComplete?: ?(value: number) => void,\n\n /**\n * Used to locate this view in UI automation tests.\n */\n testID?: ?string,\n\n /**\n Indicates to accessibility services that UI Component is in a specific State.\n */\n accessibilityState?: ?AccessibilityState,\n|}>;\n\n/**\n * A component used to select a single value from a range of values.\n *\n * ### Usage\n *\n * The example below shows how to use `Slider` to change\n * a value used by `Text`. The value is stored using\n * the state of the root component (`App`). The same component\n * subscribes to the `onValueChange` of `Slider` and changes\n * the value using `setState`.\n *\n *```\n * import React from 'react';\n * import { StyleSheet, Text, View, Slider } from 'react-native';\n *\n * export default class App extends React.Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * value: 50\n * }\n * }\n *\n * change(value) {\n * this.setState(() => {\n * return {\n * value: parseFloat(value)\n * };\n * });\n * }\n *\n * render() {\n * const {value} = this.state;\n * return (\n * \n * {String(value)}\n * \n * \n * );\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * flexDirection: 'column',\n * justifyContent: 'center'\n * },\n * text: {\n * fontSize: 50,\n * textAlign: 'center'\n * }\n * });\n *```\n *\n */\nconst Slider = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => {\n const style = StyleSheet.compose(styles.slider, props.style);\n\n const {\n value = 0.5,\n minimumValue = 0,\n maximumValue = 1,\n step = 0,\n onValueChange,\n onSlidingComplete,\n ...localProps\n } = props;\n\n const onValueChangeEvent = onValueChange\n ? (event: Event) => {\n let userEvent = true;\n if (Platform.OS === 'android') {\n // On Android there's a special flag telling us the user is\n // dragging the slider.\n userEvent =\n event.nativeEvent.fromUser != null && event.nativeEvent.fromUser;\n }\n userEvent && onValueChange(event.nativeEvent.value);\n }\n : null;\n\n const onChangeEvent = onValueChangeEvent;\n const onSlidingCompleteEvent = onSlidingComplete\n ? (event: Event) => {\n onSlidingComplete(event.nativeEvent.value);\n }\n : null;\n\n const disabled =\n props.disabled === true || props.accessibilityState?.disabled === true;\n const accessibilityState = disabled\n ? {...props.accessibilityState, disabled: true}\n : props.accessibilityState;\n\n return (\n false}\n onSlidingComplete={onSlidingCompleteEvent}\n onStartShouldSetResponder={() => true}\n onValueChange={onValueChangeEvent}\n ref={forwardedRef}\n step={step}\n style={style}\n value={value}\n />\n );\n};\n\nconst SliderWithRef: React.AbstractComponent<\n Props,\n React.ElementRef,\n> = React.forwardRef(Slider);\n\nlet styles;\nif (Platform.OS === 'ios') {\n styles = StyleSheet.create({\n slider: {\n height: 40,\n },\n });\n} else {\n styles = StyleSheet.create({\n slider: {},\n });\n}\n\nmodule.exports = SliderWithRef;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {\n BubblingEventHandler,\n DirectEventHandler,\n Double,\n WithDefault,\n} from '../../Types/CodegenTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype Event = $ReadOnly<{|\n value: Double,\n fromUser?: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n enabled?: WithDefault,\n maximumTrackImage?: ?ImageSource,\n maximumTrackTintColor?: ?ColorValue,\n maximumValue?: WithDefault,\n minimumTrackImage?: ?ImageSource,\n minimumTrackTintColor?: ?ColorValue,\n minimumValue?: WithDefault,\n step?: WithDefault,\n testID?: WithDefault,\n thumbImage?: ?ImageSource,\n thumbTintColor?: ?ColorValue,\n trackImage?: ?ImageSource,\n value?: WithDefault,\n\n // Events\n onChange?: ?BubblingEventHandler,\n onValueChange?: ?BubblingEventHandler,\n onSlidingComplete?: ?DirectEventHandler,\n|}>;\n\nexport default (codegenNativeComponent('Slider', {\n interfaceOnly: true,\n paperComponentName: 'RCTSlider',\n}): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport * as React from 'react';\nimport Platform from '../../Utilities/Platform';\nimport invariant from 'invariant';\nimport processColor from '../../StyleSheet/processColor';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\n\nimport NativeStatusBarManagerAndroid from './NativeStatusBarManagerAndroid';\nimport NativeStatusBarManagerIOS from './NativeStatusBarManagerIOS';\n\n/**\n * Status bar style\n */\nexport type StatusBarStyle = $Keys<{\n /**\n * Default status bar style (dark for iOS, light for Android)\n */\n default: string,\n /**\n * Dark background, white texts and icons\n */\n 'light-content': string,\n /**\n * Light background, dark texts and icons\n */\n 'dark-content': string,\n ...\n}>;\n\n/**\n * Status bar animation\n */\nexport type StatusBarAnimation = $Keys<{\n /**\n * No animation\n */\n none: string,\n /**\n * Fade animation\n */\n fade: string,\n /**\n * Slide animation\n */\n slide: string,\n ...\n}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * The background color of the status bar.\n * @platform android\n */\n backgroundColor?: ?ColorValue,\n /**\n * If the status bar is translucent.\n * When translucent is set to true, the app will draw under the status bar.\n * This is useful when using a semi transparent status bar color.\n *\n * @platform android\n */\n translucent?: ?boolean,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * If the network activity indicator should be visible.\n *\n * @platform ios\n */\n networkActivityIndicatorVisible?: ?boolean,\n /**\n * The transition effect when showing and hiding the status bar using the `hidden`\n * prop. Defaults to 'fade'.\n *\n * @platform ios\n */\n showHideTransition?: ?('fade' | 'slide' | 'none'),\n|}>;\n\ntype Props = $ReadOnly<{|\n ...AndroidProps,\n ...IOSProps,\n /**\n * If the status bar is hidden.\n */\n hidden?: ?boolean,\n /**\n * If the transition between status bar property changes should be animated.\n * Supported for backgroundColor, barStyle and hidden.\n */\n animated?: ?boolean,\n /**\n * Sets the color of the status bar text.\n */\n barStyle?: ?('default' | 'light-content' | 'dark-content'),\n|}>;\n\n/**\n * Merges the prop stack with the default values.\n */\nfunction mergePropsStack(\n propsStack: Array,\n defaultValues: Object,\n): Object {\n return propsStack.reduce((prev, cur) => {\n for (const prop in cur) {\n if (cur[prop] != null) {\n prev[prop] = cur[prop];\n }\n }\n return prev;\n }, Object.assign({}, defaultValues));\n}\n\n/**\n * Returns an object to insert in the props stack from the props\n * and the transition/animation info.\n */\nfunction createStackEntry(props: any): any {\n const animated = props.animated ?? false;\n const showHideTransition = props.showHideTransition ?? 'fade';\n return {\n backgroundColor:\n props.backgroundColor != null\n ? {\n value: props.backgroundColor,\n animated,\n }\n : null,\n barStyle:\n props.barStyle != null\n ? {\n value: props.barStyle,\n animated,\n }\n : null,\n translucent: props.translucent,\n hidden:\n props.hidden != null\n ? {\n value: props.hidden,\n animated,\n transition: showHideTransition,\n }\n : null,\n networkActivityIndicatorVisible: props.networkActivityIndicatorVisible,\n };\n}\n\n/**\n * Component to control the app status bar.\n *\n * ### Usage with Navigator\n *\n * It is possible to have multiple `StatusBar` components mounted at the same\n * time. The props will be merged in the order the `StatusBar` components were\n * mounted. One use case is to specify status bar styles per route using `Navigator`.\n *\n * ```\n * \n * \n * \n * \n * \n * }\n * />\n * \n * ```\n *\n * ### Imperative API\n *\n * For cases where using a component is not ideal, there are static methods\n * to manipulate the `StatusBar` display stack. These methods have the same\n * behavior as mounting and unmounting a `StatusBar` component.\n *\n * For example, you can call `StatusBar.pushStackEntry` to update the status bar\n * before launching a third-party native UI component, and then call\n * `StatusBar.popStackEntry` when completed.\n *\n * ```\n * const openThirdPartyBugReporter = async () => {\n * // The bug reporter has a dark background, so we push a new status bar style.\n * const stackEntry = StatusBar.pushStackEntry({barStyle: 'light-content'});\n *\n * // `open` returns a promise that resolves when the UI is dismissed.\n * await BugReporter.open();\n *\n * // Don't forget to call `popStackEntry` when you're done.\n * StatusBar.popStackEntry(stackEntry);\n * };\n * ```\n *\n * There is a legacy imperative API that enables you to manually update the\n * status bar styles. However, the legacy API does not update the internal\n * `StatusBar` display stack, which means that any changes will be overridden\n * whenever a `StatusBar` component is mounted or unmounted.\n *\n * It is strongly advised that you use `pushStackEntry`, `popStackEntry`, or\n * `replaceStackEntry` instead of the static methods beginning with `set`.\n *\n * ### Constants\n *\n * `currentHeight` (Android only) The height of the status bar.\n */\nclass StatusBar extends React.Component {\n static _propsStack = [];\n\n static _defaultProps = createStackEntry({\n backgroundColor:\n Platform.OS === 'android'\n ? NativeStatusBarManagerAndroid.getConstants()\n .DEFAULT_BACKGROUND_COLOR ?? 'black'\n : 'black',\n barStyle: 'default',\n translucent: false,\n hidden: false,\n networkActivityIndicatorVisible: false,\n });\n\n // Timer for updating the native module values at the end of the frame.\n static _updateImmediate = null;\n\n // The current merged values from the props stack.\n static _currentValues = null;\n\n // TODO(janic): Provide a real API to deal with status bar height. See the\n // discussion in #6195.\n /**\n * The current height of the status bar on the device.\n *\n * @platform android\n */\n static currentHeight: ?number =\n Platform.OS === 'android'\n ? NativeStatusBarManagerAndroid.getConstants().HEIGHT\n : null;\n\n // Provide an imperative API as static functions of the component.\n // See the corresponding prop for more detail.\n\n /**\n * Show or hide the status bar\n * @param hidden Hide the status bar.\n * @param animation Optional animation when\n * changing the status bar hidden property.\n */\n static setHidden(hidden: boolean, animation?: StatusBarAnimation) {\n animation = animation || 'none';\n StatusBar._defaultProps.hidden.value = hidden;\n if (Platform.OS === 'ios') {\n NativeStatusBarManagerIOS.setHidden(hidden, animation);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManagerAndroid.setHidden(hidden);\n }\n }\n\n /**\n * Set the status bar style\n * @param style Status bar style to set\n * @param animated Animate the style change.\n */\n static setBarStyle(style: StatusBarStyle, animated?: boolean) {\n animated = animated || false;\n StatusBar._defaultProps.barStyle.value = style;\n if (Platform.OS === 'ios') {\n NativeStatusBarManagerIOS.setStyle(style, animated);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManagerAndroid.setStyle(style);\n }\n }\n\n /**\n * Control the visibility of the network activity indicator\n * @param visible Show the indicator.\n */\n static setNetworkActivityIndicatorVisible(visible: boolean) {\n if (Platform.OS !== 'ios') {\n console.warn(\n '`setNetworkActivityIndicatorVisible` is only available on iOS',\n );\n return;\n }\n StatusBar._defaultProps.networkActivityIndicatorVisible = visible;\n NativeStatusBarManagerIOS.setNetworkActivityIndicatorVisible(visible);\n }\n\n /**\n * Set the background color for the status bar\n * @param color Background color.\n * @param animated Animate the style change.\n */\n static setBackgroundColor(color: string, animated?: boolean) {\n if (Platform.OS !== 'android') {\n console.warn('`setBackgroundColor` is only available on Android');\n return;\n }\n animated = animated || false;\n StatusBar._defaultProps.backgroundColor.value = color;\n\n const processedColor = processColor(color);\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar.setBackgroundColor\\`: Color ${color} parsed to null or undefined`,\n );\n return;\n }\n invariant(\n typeof processedColor === 'number',\n 'Unexpected color given for StatusBar.setBackgroundColor',\n );\n\n NativeStatusBarManagerAndroid.setColor(processedColor, animated);\n }\n\n /**\n * Control the translucency of the status bar\n * @param translucent Set as translucent.\n */\n static setTranslucent(translucent: boolean) {\n if (Platform.OS !== 'android') {\n console.warn('`setTranslucent` is only available on Android');\n return;\n }\n StatusBar._defaultProps.translucent = translucent;\n NativeStatusBarManagerAndroid.setTranslucent(translucent);\n }\n\n /**\n * Push a StatusBar entry onto the stack.\n * The return value should be passed to `popStackEntry` when complete.\n *\n * @param props Object containing the StatusBar props to use in the stack entry.\n */\n static pushStackEntry(props: any): any {\n const entry = createStackEntry(props);\n StatusBar._propsStack.push(entry);\n StatusBar._updatePropsStack();\n return entry;\n }\n\n /**\n * Pop a StatusBar entry from the stack.\n *\n * @param entry Entry returned from `pushStackEntry`.\n */\n static popStackEntry(entry: any) {\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack.splice(index, 1);\n }\n StatusBar._updatePropsStack();\n }\n\n /**\n * Replace an existing StatusBar stack entry with new props.\n *\n * @param entry Entry returned from `pushStackEntry` to replace.\n * @param props Object containing the StatusBar props to use in the replacement stack entry.\n */\n static replaceStackEntry(entry: any, props: any): any {\n const newEntry = createStackEntry(props);\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack[index] = newEntry;\n }\n StatusBar._updatePropsStack();\n return newEntry;\n }\n\n _stackEntry = null;\n\n componentDidMount() {\n // Every time a StatusBar component is mounted, we push it's prop to a stack\n // and always update the native status bar with the props from the top of then\n // stack. This allows having multiple StatusBar components and the one that is\n // added last or is deeper in the view hierarchy will have priority.\n this._stackEntry = StatusBar.pushStackEntry(this.props);\n }\n\n componentWillUnmount() {\n // When a StatusBar is unmounted, remove itself from the stack and update\n // the native bar with the next props.\n StatusBar.popStackEntry(this._stackEntry);\n }\n\n componentDidUpdate() {\n this._stackEntry = StatusBar.replaceStackEntry(\n this._stackEntry,\n this.props,\n );\n }\n\n /**\n * Updates the native status bar with the props from the stack.\n */\n static _updatePropsStack = () => {\n // Send the update to the native module only once at the end of the frame.\n clearImmediate(StatusBar._updateImmediate);\n StatusBar._updateImmediate = setImmediate(() => {\n const oldProps = StatusBar._currentValues;\n const mergedProps = mergePropsStack(\n StatusBar._propsStack,\n StatusBar._defaultProps,\n );\n\n // Update the props that have changed using the merged values from the props stack.\n if (Platform.OS === 'ios') {\n if (\n !oldProps ||\n oldProps.barStyle.value !== mergedProps.barStyle.value\n ) {\n NativeStatusBarManagerIOS.setStyle(\n mergedProps.barStyle.value,\n mergedProps.barStyle.animated || false,\n );\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManagerIOS.setHidden(\n mergedProps.hidden.value,\n mergedProps.hidden.animated\n ? mergedProps.hidden.transition\n : 'none',\n );\n }\n\n if (\n !oldProps ||\n oldProps.networkActivityIndicatorVisible !==\n mergedProps.networkActivityIndicatorVisible\n ) {\n NativeStatusBarManagerIOS.setNetworkActivityIndicatorVisible(\n mergedProps.networkActivityIndicatorVisible,\n );\n }\n } else if (Platform.OS === 'android') {\n //todo(T60684787): Add back optimization to only update bar style and\n //background color if the new value is different from the old value.\n NativeStatusBarManagerAndroid.setStyle(mergedProps.barStyle.value);\n const processedColor = processColor(mergedProps.backgroundColor.value);\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar._updatePropsStack\\`: Color ${mergedProps.backgroundColor.value} parsed to null or undefined`,\n );\n } else {\n invariant(\n typeof processedColor === 'number',\n 'Unexpected color given in StatusBar._updatePropsStack',\n );\n NativeStatusBarManagerAndroid.setColor(\n processedColor,\n mergedProps.backgroundColor.animated,\n );\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManagerAndroid.setHidden(mergedProps.hidden.value);\n }\n if (!oldProps || oldProps.translucent !== mergedProps.translucent) {\n NativeStatusBarManagerAndroid.setTranslucent(mergedProps.translucent);\n }\n }\n // Update the current prop values.\n StatusBar._currentValues = mergedProps;\n });\n };\n\n render(): React.Node {\n return null;\n }\n}\n\nmodule.exports = StatusBar;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR: number,\n |};\n +setColor: (color: number, animated: boolean) => void;\n +setTranslucent: (translucent: boolean) => void;\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n */\n +setStyle: (statusBarStyle?: ?string) => void;\n +setHidden: (hidden: boolean) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('StatusBarManager');\nlet constants = null;\n\nconst NativeStatusBarManager = {\n getConstants(): {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n\n setColor(color: number, animated: boolean): void {\n NativeModule.setColor(color, animated);\n },\n\n setTranslucent(translucent: boolean): void {\n NativeModule.setTranslucent(translucent);\n },\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n */\n setStyle(statusBarStyle?: ?string): void {\n NativeModule.setStyle(statusBarStyle);\n },\n\n setHidden(hidden: boolean): void {\n NativeModule.setHidden(hidden);\n },\n};\n\nexport default NativeStatusBarManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |};\n\n // TODO(T47754272) Can we remove this method?\n +getHeight: (callback: (result: {|height: number|}) => void) => void;\n +setNetworkActivityIndicatorVisible: (visible: boolean) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n * - 'light-content'\n */\n +setStyle: (statusBarStyle?: ?string, animated: boolean) => void;\n /**\n * - withAnimation can be: 'none' | 'fade' | 'slide'\n */\n +setHidden: (hidden: boolean, withAnimation: string) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('StatusBarManager');\nlet constants = null;\n\nconst NativeStatusBarManager = {\n getConstants(): {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n\n // TODO(T47754272) Can we remove this method?\n getHeight(callback: (result: {|height: number|}) => void): void {\n NativeModule.getHeight(callback);\n },\n\n setNetworkActivityIndicatorVisible(visible: boolean): void {\n NativeModule.setNetworkActivityIndicatorVisible(visible);\n },\n\n addListener(eventType: string): void {\n NativeModule.addListener(eventType);\n },\n\n removeListeners(count: number): void {\n NativeModule.removeListeners(count);\n },\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n * - 'light-content'\n */\n setStyle(statusBarStyle?: ?string, animated: boolean): void {\n NativeModule.setStyle(statusBarStyle, animated);\n },\n\n /**\n * - withAnimation can be: 'none' | 'fade' | 'slide'\n */\n setHidden(hidden: boolean, withAnimation: string): void {\n NativeModule.setHidden(hidden, withAnimation);\n },\n};\n\nexport default NativeStatusBarManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n * @generate-docs\n */\n\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport useMergeRefs from '../../Utilities/useMergeRefs';\n\nimport AndroidSwitchNativeComponent, {\n Commands as AndroidSwitchCommands,\n} from './AndroidSwitchNativeComponent';\nimport SwitchNativeComponent, {\n Commands as SwitchCommands,\n} from './SwitchNativeComponent';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype SwitchChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n value: boolean,\n |}>,\n>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n If true the user won't be able to toggle the switch.\n\n @default false\n */\n disabled?: ?boolean,\n\n /**\n The value of the switch. If true the switch will be turned on.\n\n @default false\n */\n value?: ?boolean,\n\n /**\n Color of the foreground switch grip. If this is set on iOS, the switch grip will lose its drop shadow.\n */\n thumbColor?: ?ColorValue,\n\n /**\n Custom colors for the switch track.\n\n _iOS_: When the switch value is false, the track shrinks into the border. If you want to change the\n color of the background exposed by the shrunken track, use\n [`ios_backgroundColor`](https://reactnative.dev/docs/switch#ios_backgroundColor).\n */\n trackColor?: ?$ReadOnly<{|\n false?: ?ColorValue,\n true?: ?ColorValue,\n |}>,\n\n /**\n On iOS, custom color for the background. This background color can be\n seen either when the switch value is false or when the switch is\n disabled (and the switch is translucent).\n */\n ios_backgroundColor?: ?ColorValue,\n\n /**\n Invoked when the user tries to change the value of the switch. Receives\n the change event as an argument. If you want to only receive the new\n value, use `onValueChange` instead.\n */\n onChange?: ?(event: SwitchChangeEvent) => Promise | void,\n\n /**\n Invoked when the user tries to change the value of the switch. Receives\n the new value as an argument. If you want to instead receive an event,\n use `onChange`.\n */\n onValueChange?: ?(value: boolean) => Promise | void,\n|}>;\nconst returnsFalse = () => false;\nconst returnsTrue = () => true;\n\n/**\n Renders a boolean input.\n\n This is a controlled component that requires an `onValueChange`\n callback that updates the `value` prop in order for the component to\n reflect user actions. If the `value` prop is not updated, the\n component will continue to render the supplied `value` prop instead of\n the expected result of any user actions.\n\n ```SnackPlayer name=Switch\n import React, { useState } from \"react\";\n import { View, Switch, StyleSheet } from \"react-native\";\n\n const App = () => {\n const [isEnabled, setIsEnabled] = useState(false);\n const toggleSwitch = () => setIsEnabled(previousState => !previousState);\n\n return (\n \n \n \n );\n }\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n });\n\n export default App;\n ```\n */\n\nconst SwitchWithForwardedRef: React.AbstractComponent<\n Props,\n React.ElementRef<\n typeof SwitchNativeComponent | typeof AndroidSwitchNativeComponent,\n >,\n> = React.forwardRef(function Switch(props, forwardedRef): React.Node {\n const {\n disabled,\n ios_backgroundColor,\n onChange,\n onValueChange,\n style,\n thumbColor,\n trackColor,\n value,\n ...restProps\n } = props;\n const trackColorForFalse = trackColor?.false;\n const trackColorForTrue = trackColor?.true;\n\n const nativeSwitchRef = React.useRef | null>(null);\n\n const ref = useMergeRefs(nativeSwitchRef, forwardedRef);\n\n const [native, setNative] = React.useState({value: null});\n\n const handleChange = (event: SwitchChangeEvent) => {\n onChange?.(event);\n onValueChange?.(event.nativeEvent.value);\n setNative({value: event.nativeEvent.value});\n };\n\n React.useLayoutEffect(() => {\n // This is necessary in case native updates the switch and JS decides\n // that the update should be ignored and we should stick with the value\n // that we have in JS.\n const jsValue = value === true;\n const shouldUpdateNativeSwitch = native.value !== jsValue;\n if (\n shouldUpdateNativeSwitch &&\n nativeSwitchRef.current?.setNativeProps != null\n ) {\n if (Platform.OS === 'android') {\n AndroidSwitchCommands.setNativeValue(nativeSwitchRef.current, jsValue);\n } else {\n SwitchCommands.setValue(nativeSwitchRef.current, jsValue);\n }\n }\n }, [value, native]);\n\n if (Platform.OS === 'android') {\n const platformProps = {\n enabled: disabled !== true,\n on: value === true,\n style,\n thumbTintColor: thumbColor,\n trackColorForFalse: trackColorForFalse,\n trackColorForTrue: trackColorForTrue,\n trackTintColor: value === true ? trackColorForTrue : trackColorForFalse,\n };\n\n return (\n \n );\n } else {\n const platformProps = {\n disabled,\n onTintColor: trackColorForTrue,\n style: StyleSheet.compose(\n {height: 31, width: 51},\n StyleSheet.compose(\n style,\n ios_backgroundColor == null\n ? null\n : {\n backgroundColor: ios_backgroundColor,\n borderRadius: 16,\n },\n ),\n ),\n thumbTintColor: thumbColor,\n tintColor: trackColorForFalse,\n value: value === true,\n };\n\n return (\n \n );\n }\n});\n\nexport default SwitchWithForwardedRef;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport {useCallback} from 'react';\n\ntype CallbackRef = T => mixed;\ntype ObjectRef = {current: T, ...};\n\ntype Ref = CallbackRef | ObjectRef;\n\n/**\n * Constructs a new ref that forwards new values to each of the given refs. The\n * given refs will always be invoked in the order that they are supplied.\n *\n * WARNING: A known problem of merging refs using this approach is that if any\n * of the given refs change, the returned callback ref will also be changed. If\n * the returned callback ref is supplied as a `ref` to a React element, this may\n * lead to problems with the given refs being invoked more times than desired.\n */\nexport default function useMergeRefs(\n ...refs: $ReadOnlyArray>\n): CallbackRef {\n return useCallback(\n (current: T) => {\n for (const ref of refs) {\n if (ref != null) {\n if (typeof ref === 'function') {\n ref(current);\n } else {\n ref.current = current;\n }\n }\n }\n },\n [...refs], // eslint-disable-line react-hooks/exhaustive-deps\n );\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nimport type {\n WithDefault,\n BubblingEventHandler,\n} from 'react-native/Libraries/Types/CodegenTypes';\n\nimport codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type {HostComponent} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\ntype SwitchChangeEvent = $ReadOnly<{|\n value: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n enabled?: WithDefault,\n thumbColor?: ?ColorValue,\n trackColorForFalse?: ?ColorValue,\n trackColorForTrue?: ?ColorValue,\n value?: WithDefault,\n on?: WithDefault,\n thumbTintColor?: ?ColorValue,\n trackTintColor?: ?ColorValue,\n\n // Events\n onChange?: BubblingEventHandler,\n|}>;\n\ntype NativeType = HostComponent;\n\ninterface NativeCommands {\n +setNativeValue: (\n viewRef: React.ElementRef,\n value: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeValue'],\n});\n\nexport default (codegenNativeComponent('AndroidSwitch', {\n interfaceOnly: true,\n}): NativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {BubblingEventHandler, WithDefault} from '../../Types/CodegenTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport * as React from 'react';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\n\ntype SwitchChangeEvent = $ReadOnly<{|\n value: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n value?: WithDefault,\n tintColor?: ?ColorValue,\n onTintColor?: ?ColorValue,\n thumbTintColor?: ?ColorValue,\n\n // Deprecated props\n thumbColor?: ?ColorValue,\n trackColorForFalse?: ?ColorValue,\n trackColorForTrue?: ?ColorValue,\n\n // Events\n onChange?: ?BubblingEventHandler,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setValue: (viewRef: React.ElementRef, value: boolean) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setValue'],\n});\n\nexport default (codegenNativeComponent('Switch', {\n paperComponentName: 'RCTSwitch',\n excludedPlatforms: ['android'],\n}): ComponentType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\nimport DeprecatedTextInputPropTypes from '../../DeprecatedPropTypes/DeprecatedTextInputPropTypes';\n\nimport Platform from '../../Utilities/Platform';\nimport StyleSheet, {\n type TextStyleProp,\n type ViewStyleProp,\n type ColorValue,\n} from '../../StyleSheet/StyleSheet';\nimport Text from '../../Text/Text';\nimport TextAncestor from '../../Text/TextAncestor';\nimport TextInputState from './TextInputState';\nimport invariant from 'invariant';\nimport nullthrows from 'nullthrows';\nimport setAndForwardRef from '../../Utilities/setAndForwardRef';\n\nimport usePressability from '../../Pressability/usePressability';\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {\n SyntheticEvent,\n ScrollEvent,\n PressEvent,\n} from '../../Types/CoreEventTypes';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\n\nconst {useLayoutEffect, useRef, useState} = React;\n\ntype ReactRefSetter = {current: null | T, ...} | ((ref: null | T) => mixed);\n\nlet AndroidTextInput;\nlet AndroidTextInputCommands;\nlet RCTSinglelineTextInputView;\nlet RCTSinglelineTextInputNativeCommands;\nlet RCTMultilineTextInputView;\nlet RCTMultilineTextInputNativeCommands;\n\nif (Platform.OS === 'android') {\n AndroidTextInput = require('./AndroidTextInputNativeComponent').default;\n AndroidTextInputCommands = require('./AndroidTextInputNativeComponent')\n .Commands;\n} else if (Platform.OS === 'ios') {\n RCTSinglelineTextInputView = require('./RCTSingelineTextInputNativeComponent')\n .default;\n RCTSinglelineTextInputNativeCommands = require('./RCTSingelineTextInputNativeComponent')\n .Commands;\n RCTMultilineTextInputView = require('./RCTMultilineTextInputNativeComponent')\n .default;\n RCTMultilineTextInputNativeCommands = require('./RCTMultilineTextInputNativeComponent')\n .Commands;\n}\n\nexport type ChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type TextInputEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n previousText: string,\n range: $ReadOnly<{|\n start: number,\n end: number,\n |}>,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type ContentSizeChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n contentSize: $ReadOnly<{|\n width: number,\n height: number,\n |}>,\n |}>,\n>;\n\ntype TargetEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n |}>,\n>;\n\nexport type BlurEvent = TargetEvent;\nexport type FocusEvent = TargetEvent;\n\ntype Selection = $ReadOnly<{|\n start: number,\n end: number,\n|}>;\n\nexport type SelectionChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n selection: Selection,\n target: number,\n |}>,\n>;\n\nexport type KeyPressEvent = SyntheticEvent<\n $ReadOnly<{|\n key: string,\n target?: ?number,\n eventCount?: ?number,\n |}>,\n>;\n\nexport type EditingEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n text: string,\n target: number,\n |}>,\n>;\n\ntype DataDetectorTypesType =\n | 'phoneNumber'\n | 'link'\n | 'address'\n | 'calendarEvent'\n | 'none'\n | 'all';\n\nexport type KeyboardType =\n // Cross Platform\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'decimal-pad'\n | 'url'\n // iOS-only\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'name-phone-pad'\n | 'twitter'\n | 'web-search'\n // iOS 10+ only\n | 'ascii-capable-number-pad'\n // Android-only\n | 'visible-password';\n\nexport type ReturnKeyType =\n // Cross Platform\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n // Android-only\n | 'none'\n | 'previous'\n // iOS-only\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo';\n\nexport type AutoCapitalize = 'none' | 'sentences' | 'words' | 'characters';\n\nexport type TextContentType =\n | 'none'\n | 'URL'\n | 'addressCity'\n | 'addressCityAndState'\n | 'addressState'\n | 'countryName'\n | 'creditCardNumber'\n | 'emailAddress'\n | 'familyName'\n | 'fullStreetAddress'\n | 'givenName'\n | 'jobTitle'\n | 'location'\n | 'middleName'\n | 'name'\n | 'namePrefix'\n | 'nameSuffix'\n | 'nickname'\n | 'organizationName'\n | 'postalCode'\n | 'streetAddressLine1'\n | 'streetAddressLine2'\n | 'sublocality'\n | 'telephoneNumber'\n | 'username'\n | 'password'\n | 'newPassword'\n | 'oneTimeCode';\n\ntype PasswordRules = string;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode?: ?('never' | 'while-editing' | 'unless-editing' | 'always'),\n\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus?: ?boolean,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes?:\n | ?DataDetectorTypesType\n | $ReadOnlyArray,\n\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically?: ?boolean,\n\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID?: ?string,\n\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance?: ?('default' | 'light' | 'dark'),\n\n /**\n * Provide rules for your password.\n * For example, say you want to require a password with at least eight characters consisting of a mix of uppercase and lowercase letters, at least one number, and at most two consecutive characters.\n * \"required: upper; required: lower; required: digit; max-consecutive: 2; minlength: 8;\"\n * @platform ios\n */\n passwordRules?: ?PasswordRules,\n\n /*\n * If `true`, allows TextInput to pass touch events to the parent component.\n * This allows components to be swipeable from the TextInput on iOS,\n * as is the case on Android by default.\n * If `false`, TextInput always asks to handle the input (except when disabled).\n * @platform ios\n */\n rejectResponderTermination?: ?boolean,\n\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled?: ?boolean,\n\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck?: ?boolean,\n\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType?: ?TextContentType,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoComplete?: ?(\n | 'birthdate-day'\n | 'birthdate-full'\n | 'birthdate-month'\n | 'birthdate-year'\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-day'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'gender'\n | 'name'\n | 'name-family'\n | 'name-given'\n | 'name-middle'\n | 'name-middle-initial'\n | 'name-prefix'\n | 'name-suffix'\n | 'password'\n | 'password-new'\n | 'postal-address'\n | 'postal-address-country'\n | 'postal-address-extended'\n | 'postal-address-extended-postal-code'\n | 'postal-address-locality'\n | 'postal-address-region'\n | 'postal-code'\n | 'street-address'\n | 'sms-otp'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-device'\n | 'username'\n | 'username-new'\n | 'off'\n ),\n\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI?: ?boolean,\n\n importantForAutofill?: ?(\n | 'auto'\n | 'no'\n | 'noExcludeDescendants'\n | 'yes'\n | 'yesExcludeDescendants'\n ),\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft?: ?string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding?: ?number,\n\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines?: ?number,\n\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel?: ?string,\n\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus?: ?boolean,\n\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy?: ?('simple' | 'highQuality' | 'balanced'),\n\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid?: ?ColorValue,\n|}>;\n\nexport type Props = $ReadOnly<{|\n ...$Diff>,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize?: ?AutoCapitalize,\n\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect?: ?boolean,\n\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus?: ?boolean,\n\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling?: ?boolean,\n\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit?: ?boolean,\n\n /**\n * If `true`, caret is hidden. The default value is `false`.\n *\n * On Android devices manufactured by Xiaomi with Android Q,\n * when keyboardType equals 'email-address'this will be set\n * in native to 'true' to prevent a system related crash. This\n * will cause cursor to be diabled as a side-effect.\n *\n */\n caretHidden?: ?boolean,\n\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden?: ?boolean,\n\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue?: ?Stringish,\n\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable?: ?boolean,\n\n forwardedRef?: ?ReactRefSetter<\n React.ElementRef> & ImperativeMethods,\n >,\n\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n * - `url`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n *\n */\n keyboardType?: ?KeyboardType,\n\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier?: ?number,\n\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength?: ?number,\n\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline?: ?boolean,\n\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur?: ?(e: BlurEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange?: ?(e: ChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText?: ?(text: string) => mixed,\n\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange?: ?(e: ContentSizeChangeEvent) => mixed,\n\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus?: ?(e: FocusEvent) => mixed,\n\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress?: ?(e: KeyPressEvent) => mixed,\n\n /**\n * Called when a touch is engaged.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is released.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange?: ?(e: SelectionChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll?: ?(e: ScrollEvent) => mixed,\n\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder?: ?Stringish,\n\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor?: ?ColorValue,\n\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType?: ?ReturnKeyType,\n\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry?: ?boolean,\n\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection?: ?$ReadOnly<{|\n start: number,\n end?: ?number,\n |}>,\n\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor?: ?ColorValue,\n\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus?: ?boolean,\n\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n style?: ?TextStyleProp,\n\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value?: ?Stringish,\n|}>;\n\ntype ImperativeMethods = $ReadOnly<{|\n clear: () => void,\n isFocused: () => boolean,\n getNativeRef: () => ?React.ElementRef>,\n|}>;\n\nconst emptyFunctionThatReturnsTrue = () => true;\n\n/**\n * A foundational component for inputting text into the app via a\n * keyboard. Props provide configurability for several features, such as\n * auto-correction, auto-capitalization, placeholder text, and different keyboard\n * types, such as a numeric keypad.\n *\n * The simplest use case is to plop down a `TextInput` and subscribe to the\n * `onChangeText` events to read the user input. There are also other events,\n * such as `onSubmitEditing` and `onFocus` that can be subscribed to. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = { text: 'Useless Placeholder' };\n * }\n *\n * render() {\n * return (\n * this.setState({text})}\n * value={this.state.text}\n * />\n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * Two methods exposed via the native element are .focus() and .blur() that\n * will focus or blur the TextInput programmatically.\n *\n * Note that some props are only available with `multiline={true/false}`.\n * Additionally, border styles that apply to only one side of the element\n * (e.g., `borderBottomColor`, `borderLeftWidth`, etc.) will not be applied if\n * `multiline=false`. To achieve the same effect, you can wrap your `TextInput`\n * in a `View`:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, TextInput } from 'react-native';\n *\n * class UselessTextInput extends Component {\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * export default class UselessTextInputMultiline extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * text: 'Useless Multiline Placeholder',\n * };\n * }\n *\n * // If you type something in the text box that is a color, the background will change to that\n * // color.\n * render() {\n * return (\n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * );\n * }\n * }\n *\n * // skip these lines if using Create React Native App\n * AppRegistry.registerComponent(\n * 'AwesomeProject',\n * () => UselessTextInputMultiline\n * );\n * ```\n *\n * `TextInput` has by default a border at the bottom of its view. This border\n * has its padding set by the background image provided by the system, and it\n * cannot be changed. Solutions to avoid this is to either not set height\n * explicitly, case in which the system will take care of displaying the border\n * in the correct position, or to not display the border by setting\n * `underlineColorAndroid` to transparent.\n *\n * Note that on Android performing text selection in input can change\n * app's activity `windowSoftInputMode` param to `adjustResize`.\n * This may cause issues with components that have position: 'absolute'\n * while keyboard is active. To avoid this behavior either specify `windowSoftInputMode`\n * in AndroidManifest.xml ( https://developer.android.com/guide/topics/manifest/activity-element.html )\n * or control this param programmatically with native code.\n *\n */\nfunction InternalTextInput(props: Props): React.Node {\n const inputRef = useRef>>(null);\n\n // Android sends a \"onTextChanged\" event followed by a \"onSelectionChanged\" event, for\n // the same \"most recent event count\".\n // For controlled selection, that means that immediately after text is updated,\n // a controlled component will pass in the *previous* selection, even if the controlled\n // component didn't mean to modify the selection at all.\n // Therefore, we ignore selections and pass them through until the selection event has\n // been sent.\n // Note that this mitigation is NOT needed for Fabric.\n // discovered when upgrading react-hooks\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let selection: ?Selection =\n props.selection == null\n ? null\n : {\n start: props.selection.start,\n end: props.selection.end ?? props.selection.start,\n };\n\n const [mostRecentEventCount, setMostRecentEventCount] = useState(0);\n\n const [lastNativeText, setLastNativeText] = useState(props.value);\n const [lastNativeSelectionState, setLastNativeSelection] = useState<{|\n selection: ?Selection,\n mostRecentEventCount: number,\n |}>({selection, mostRecentEventCount});\n\n const lastNativeSelection = lastNativeSelectionState.selection;\n const lastNativeSelectionEventCount =\n lastNativeSelectionState.mostRecentEventCount;\n\n if (lastNativeSelectionEventCount < mostRecentEventCount) {\n selection = null;\n }\n\n let viewCommands;\n if (AndroidTextInputCommands) {\n viewCommands = AndroidTextInputCommands;\n } else {\n viewCommands =\n props.multiline === true\n ? RCTMultilineTextInputNativeCommands\n : RCTSinglelineTextInputNativeCommands;\n }\n\n const text =\n typeof props.value === 'string'\n ? props.value\n : typeof props.defaultValue === 'string'\n ? props.defaultValue\n : '';\n\n // This is necessary in case native updates the text and JS decides\n // that the update should be ignored and we should stick with the value\n // that we have in JS.\n useLayoutEffect(() => {\n const nativeUpdate = {};\n\n if (lastNativeText !== props.value && typeof props.value === 'string') {\n nativeUpdate.text = props.value;\n setLastNativeText(props.value);\n }\n\n if (\n selection &&\n lastNativeSelection &&\n (lastNativeSelection.start !== selection.start ||\n lastNativeSelection.end !== selection.end)\n ) {\n nativeUpdate.selection = selection;\n setLastNativeSelection({selection, mostRecentEventCount});\n }\n\n if (Object.keys(nativeUpdate).length === 0) {\n return;\n }\n\n if (inputRef.current != null) {\n viewCommands.setTextAndSelection(\n inputRef.current,\n mostRecentEventCount,\n text,\n selection?.start ?? -1,\n selection?.end ?? -1,\n );\n }\n }, [\n mostRecentEventCount,\n inputRef,\n props.value,\n props.defaultValue,\n lastNativeText,\n selection,\n lastNativeSelection,\n text,\n viewCommands,\n ]);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n\n if (inputRefValue != null) {\n TextInputState.registerInput(inputRefValue);\n\n return () => {\n TextInputState.unregisterInput(inputRefValue);\n\n if (TextInputState.currentlyFocusedInput() === inputRefValue) {\n nullthrows(inputRefValue).blur();\n }\n };\n }\n }, [inputRef]);\n\n function clear(): void {\n if (inputRef.current != null) {\n viewCommands.setTextAndSelection(\n inputRef.current,\n mostRecentEventCount,\n '',\n 0,\n 0,\n );\n }\n }\n\n // TODO: Fix this returning true on null === null, when no input is focused\n function isFocused(): boolean {\n return TextInputState.currentlyFocusedInput() === inputRef.current;\n }\n\n function getNativeRef(): ?React.ElementRef> {\n return inputRef.current;\n }\n\n const _setNativeRef = setAndForwardRef({\n getForwardedRef: () => props.forwardedRef,\n setLocalRef: ref => {\n inputRef.current = ref;\n\n /*\n Hi reader from the future. I'm sorry for this.\n\n This is a hack. Ideally we would forwardRef to the underlying\n host component. However, since TextInput has it's own methods that can be\n called as well, if we used the standard forwardRef then these\n methods wouldn't be accessible and thus be a breaking change.\n\n We have a couple of options of how to handle this:\n - Return a new ref with everything we methods from both. This is problematic\n because we need React to also know it is a host component which requires\n internals of the class implementation of the ref.\n - Break the API and have some other way to call one set of the methods or\n the other. This is our long term approach as we want to eventually\n get the methods on host components off the ref. So instead of calling\n ref.measure() you might call ReactNative.measure(ref). This would hopefully\n let the ref for TextInput then have the methods like `.clear`. Or we do it\n the other way and make it TextInput.clear(textInputRef) which would be fine\n too. Either way though is a breaking change that is longer term.\n - Mutate this ref. :( Gross, but accomplishes what we need in the meantime\n before we can get to the long term breaking change.\n */\n if (ref) {\n ref.clear = clear;\n ref.isFocused = isFocused;\n ref.getNativeRef = getNativeRef;\n }\n },\n });\n\n const _onChange = (event: ChangeEvent) => {\n const text = event.nativeEvent.text;\n props.onChange && props.onChange(event);\n props.onChangeText && props.onChangeText(text);\n\n if (inputRef.current == null) {\n // calling `props.onChange` or `props.onChangeText`\n // may clean up the input itself. Exits here.\n return;\n }\n\n setLastNativeText(text);\n // This must happen last, after we call setLastNativeText.\n // Different ordering can cause bugs when editing AndroidTextInputs\n // with multiple Fragments.\n // We must update this so that controlled input updates work.\n setMostRecentEventCount(event.nativeEvent.eventCount);\n };\n\n const _onSelectionChange = (event: SelectionChangeEvent) => {\n props.onSelectionChange && props.onSelectionChange(event);\n\n if (inputRef.current == null) {\n // calling `props.onSelectionChange`\n // may clean up the input itself. Exits here.\n return;\n }\n\n setLastNativeSelection({\n selection: event.nativeEvent.selection,\n mostRecentEventCount,\n });\n };\n\n const _onFocus = (event: FocusEvent) => {\n TextInputState.focusInput(inputRef.current);\n if (props.onFocus) {\n props.onFocus(event);\n }\n };\n\n const _onBlur = (event: BlurEvent) => {\n TextInputState.blurInput(inputRef.current);\n if (props.onBlur) {\n props.onBlur(event);\n }\n };\n\n const _onScroll = (event: ScrollEvent) => {\n props.onScroll && props.onScroll(event);\n };\n\n let textInput = null;\n\n // The default value for `blurOnSubmit` is true for single-line fields and\n // false for multi-line fields.\n const blurOnSubmit = props.blurOnSubmit ?? !props.multiline;\n\n const accessible = props.accessible !== false;\n const focusable = props.focusable !== false;\n\n const config = React.useMemo(\n () => ({\n onPress: (event: PressEvent) => {\n if (props.editable !== false) {\n if (inputRef.current != null) {\n inputRef.current.focus();\n }\n }\n },\n onPressIn: props.onPressIn,\n onPressOut: props.onPressOut,\n cancelable:\n Platform.OS === 'ios' ? !props.rejectResponderTermination : null,\n }),\n [\n props.editable,\n props.onPressIn,\n props.onPressOut,\n props.rejectResponderTermination,\n ],\n );\n\n // Hide caret during test runs due to a flashing caret\n // makes screenshot tests flakey\n let caretHidden = props.caretHidden;\n if (Platform.isTesting) {\n caretHidden = true;\n }\n\n // TextInput handles onBlur and onFocus events\n // so omitting onBlur and onFocus pressability handlers here.\n const {onBlur, onFocus, ...eventHandlers} = usePressability(config) || {};\n\n if (Platform.OS === 'ios') {\n const RCTTextInputView =\n props.multiline === true\n ? RCTMultilineTextInputView\n : RCTSinglelineTextInputView;\n\n const style =\n props.multiline === true\n ? [styles.multilineInput, props.style]\n : props.style;\n\n textInput = (\n \n );\n } else if (Platform.OS === 'android') {\n const style = [props.style];\n const autoCapitalize = props.autoCapitalize || 'sentences';\n const placeholder = props.placeholder ?? '';\n let children = props.children;\n const childCount = React.Children.count(children);\n invariant(\n !(props.value != null && childCount),\n 'Cannot specify both value and children.',\n );\n if (childCount > 1) {\n children = {children};\n }\n\n textInput = (\n /* $FlowFixMe[prop-missing] the types for AndroidTextInput don't match up\n * exactly with the props for TextInput. This will need to get fixed */\n /* $FlowFixMe[incompatible-type] the types for AndroidTextInput don't\n * match up exactly with the props for TextInput. This will need to get\n * fixed */\n /* $FlowFixMe[incompatible-type-arg] the types for AndroidTextInput don't\n * match up exactly with the props for TextInput. This will need to get\n * fixed */\n \n );\n }\n return (\n {textInput}\n );\n}\n\nconst ExportedForwardRef: React.AbstractComponent<\n React.ElementConfig,\n React.ElementRef> & ImperativeMethods,\n> = React.forwardRef(function TextInput(\n {\n allowFontScaling = true,\n rejectResponderTermination = true,\n underlineColorAndroid = 'transparent',\n ...restProps\n },\n forwardedRef: ReactRefSetter<\n React.ElementRef> & ImperativeMethods,\n >,\n) {\n return (\n \n );\n});\n\n// TODO: Deprecate this\nExportedForwardRef.propTypes = DeprecatedTextInputPropTypes;\n\n// $FlowFixMe[prop-missing]\nExportedForwardRef.State = {\n currentlyFocusedInput: TextInputState.currentlyFocusedInput,\n\n currentlyFocusedField: TextInputState.currentlyFocusedField,\n focusTextInput: TextInputState.focusTextInput,\n blurTextInput: TextInputState.blurTextInput,\n};\n\ntype TextInputComponentStatics = $ReadOnly<{|\n State: $ReadOnly<{|\n currentlyFocusedInput: typeof TextInputState.currentlyFocusedInput,\n currentlyFocusedField: typeof TextInputState.currentlyFocusedField,\n focusTextInput: typeof TextInputState.focusTextInput,\n blurTextInput: typeof TextInputState.blurTextInput,\n |}>,\n propTypes: typeof DeprecatedTextInputPropTypes,\n|}>;\n\nconst styles = StyleSheet.create({\n multilineInput: {\n // This default top inset makes RCTMultilineTextInputView seem as close as possible\n // to single-line RCTSinglelineTextInputView defaults, using the system defaults\n // of font size 17 and a height of 31 points.\n paddingTop: 5,\n },\n});\n\n// $FlowFixMe[unclear-type] Unclear type. Using `any` type is not safe.\nmodule.exports = ((ExportedForwardRef: any): React.AbstractComponent<\n React.ElementConfig,\n $ReadOnly<{|\n ...React.ElementRef>,\n ...ImperativeMethods,\n |}>,\n> &\n TextInputComponentStatics);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedTextPropTypes = require('./DeprecatedTextPropTypes');\nconst DeprecatedViewPropTypes = require('./DeprecatedViewPropTypes');\nconst PropTypes = require('prop-types');\n\nconst DataDetectorTypes = [\n 'phoneNumber',\n 'link',\n 'address',\n 'calendarEvent',\n 'none',\n 'all',\n];\n\nmodule.exports = {\n ...DeprecatedViewPropTypes,\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize: (PropTypes.oneOf([\n 'none',\n 'sentences',\n 'words',\n 'characters',\n ]): React$PropType$Primitive<'none' | 'sentences' | 'words' | 'characters'>),\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoComplete: (PropTypes.oneOf([\n 'cc-csc',\n 'cc-exp',\n 'cc-exp-month',\n 'cc-exp-year',\n 'cc-number',\n 'email',\n 'name',\n 'password',\n 'postal-code',\n 'street-address',\n 'tel',\n 'username',\n 'off',\n ]): React$PropType$Primitive<\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'name'\n | 'password'\n | 'postal-code'\n | 'street-address'\n | 'tel'\n | 'username'\n | 'off',\n >),\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect: PropTypes.bool,\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck: PropTypes.bool,\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus: PropTypes.bool,\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable: PropTypes.bool,\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n * - `url`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n * - `ascii-capable-number-pad`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType: (PropTypes.oneOf([\n // Cross-platform\n 'default',\n 'email-address',\n 'numeric',\n 'phone-pad',\n 'number-pad',\n 'url',\n // iOS-only\n 'ascii-capable',\n 'numbers-and-punctuation',\n 'name-phone-pad',\n 'decimal-pad',\n 'twitter',\n 'web-search',\n // iOS 10+ only\n 'ascii-capable-number-pad',\n // Android-only\n 'visible-password',\n ]): React$PropType$Primitive<\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'url'\n | 'name-phone-pad'\n | 'decimal-pad'\n | 'twitter'\n | 'web-search'\n | 'ascii-capable-number-pad'\n | 'visible-password',\n >),\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance: (PropTypes.oneOf([\n 'default',\n 'light',\n 'dark',\n ]): React$PropType$Primitive<'default' | 'light' | 'dark'>),\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType: (PropTypes.oneOf([\n // Cross-platform\n 'done',\n 'go',\n 'next',\n 'search',\n 'send',\n // Android-only\n 'none',\n 'previous',\n // iOS-only\n 'default',\n 'emergency-call',\n 'google',\n 'join',\n 'route',\n 'yahoo',\n ]): React$PropType$Primitive<\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n | 'none'\n | 'previous'\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo',\n >),\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel: PropTypes.string,\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength: PropTypes.number,\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines: PropTypes.number,\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI: PropTypes.bool,\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically: PropTypes.bool,\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline: PropTypes.bool,\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy: (PropTypes.oneOf([\n 'simple',\n 'highQuality',\n 'balanced',\n ]): React$PropType$Primitive<'simple' | 'highQuality' | 'balanced'>),\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur: PropTypes.func,\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText: PropTypes.func,\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange: PropTypes.func,\n onTextInput: PropTypes.func,\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing: PropTypes.func,\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange: PropTypes.func,\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing: PropTypes.func,\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress: PropTypes.func,\n /**\n * Invoked on mount and layout changes with `{x, y, width, height}`.\n */\n onLayout: PropTypes.func,\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll: PropTypes.func,\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder: PropTypes.string,\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor: DeprecatedColorPropType,\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled: PropTypes.bool,\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry: PropTypes.bool,\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection: (PropTypes.shape({\n start: PropTypes.number.isRequired,\n end: PropTypes.number,\n }): React$PropType$Primitive<{\n end?: number,\n start: number,\n ...\n }>),\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value: PropTypes.string,\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue: PropTypes.string,\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode: (PropTypes.oneOf([\n 'never',\n 'while-editing',\n 'unless-editing',\n 'always',\n ]): React$PropType$Primitive<\n 'never' | 'while-editing' | 'unless-editing' | 'always',\n >),\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus: PropTypes.bool,\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus: PropTypes.bool,\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit: PropTypes.bool,\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n // $FlowFixMe[incompatible-use]\n style: DeprecatedTextPropTypes.style,\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid: DeprecatedColorPropType,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft: PropTypes.string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding: PropTypes.number,\n\n /**\n * If `true`, allows TextInput to pass touch events to the parent component.\n * This allows components such as SwipeableListView to be swipeable from the TextInput on iOS,\n * as is the case on Android by default.\n * If `false`, TextInput always asks to handle the input (except when disabled).\n * @platform ios\n */\n rejectResponderTermination: PropTypes.bool,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes: (PropTypes.oneOfType([\n PropTypes.oneOf(DataDetectorTypes),\n PropTypes.arrayOf(PropTypes.oneOf(DataDetectorTypes)),\n ]): React$PropType$Primitive<\n | 'phoneNumber'\n | 'link'\n | 'address'\n | 'calendarEvent'\n | 'none'\n | 'all'\n | Array<\n 'phoneNumber' | 'link' | 'address' | 'calendarEvent' | 'none' | 'all',\n >,\n >),\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden: PropTypes.bool,\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden: PropTypes.bool,\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID: PropTypes.string,\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType: (PropTypes.oneOf([\n 'none',\n 'URL',\n 'addressCity',\n 'addressCityAndState',\n 'addressState',\n 'countryName',\n 'creditCardNumber',\n 'emailAddress',\n 'familyName',\n 'fullStreetAddress',\n 'givenName',\n 'jobTitle',\n 'location',\n 'middleName',\n 'name',\n 'namePrefix',\n 'nameSuffix',\n 'nickname',\n 'organizationName',\n 'postalCode',\n 'streetAddressLine1',\n 'streetAddressLine2',\n 'sublocality',\n 'telephoneNumber',\n 'username',\n 'password',\n 'newPassword',\n 'oneTimeCode',\n ]): React$PropType$Primitive<\n | 'none'\n | 'URL'\n | 'addressCity'\n | 'addressCityAndState'\n | 'addressState'\n | 'countryName'\n | 'creditCardNumber'\n | 'emailAddress'\n | 'familyName'\n | 'fullStreetAddress'\n | 'givenName'\n | 'jobTitle'\n | 'location'\n | 'middleName'\n | 'name'\n | 'namePrefix'\n | 'nameSuffix'\n | 'nickname'\n | 'organizationName'\n | 'postalCode'\n | 'streetAddressLine1'\n | 'streetAddressLine2'\n | 'sublocality'\n | 'telephoneNumber'\n | 'username'\n | 'password'\n | 'newPassword'\n | 'oneTimeCode',\n >),\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus: PropTypes.bool,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst PropTypes = require('prop-types');\n\nconst {DeprecatedAccessibilityRoles} = require('./DeprecatedViewAccessibility');\n\nconst stylePropType: ReactPropsCheckType = DeprecatedStyleSheetPropType(\n DeprecatedViewStylePropTypes,\n);\n\nmodule.exports = {\n /**\n * When `true`, indicates that the view is an accessibility element.\n * By default, all the touchable elements are accessible.\n *\n * See https://reactnative.dev/docs/view.html#accessible\n */\n accessible: PropTypes.bool,\n\n /**\n * Overrides the text that's read by the screen reader when the user interacts\n * with the element. By default, the label is constructed by traversing all\n * the children and accumulating all the `Text` nodes separated by space.\n *\n * See https://reactnative.dev/docs/view.html#accessibilitylabel\n */\n accessibilityLabel: PropTypes.node,\n\n /**\n * An accessibility hint helps users understand what will happen when they perform\n * an action on the accessibility element when that result is not obvious from the\n * accessibility label.\n *\n *\n * See https://reactnative.dev/docs/view.html#accessibilityHint\n */\n accessibilityHint: PropTypes.string,\n\n /**\n * Provides an array of custom actions available for accessibility.\n *\n * @platform ios\n */\n accessibilityActions: (PropTypes.arrayOf(\n PropTypes.string,\n ): React$PropType$Primitive>),\n\n /**\n * Prevents view from being inverted if set to true and color inversion is turned on.\n *\n * @platform ios\n */\n accessibilityIgnoresInvertColors: PropTypes.bool,\n\n /**\n * Indicates to accessibility services to treat UI component like a specific role.\n */\n accessibilityRole: (PropTypes.oneOf(\n DeprecatedAccessibilityRoles,\n ): React$PropType$Primitive<\n | 'none'\n | 'button'\n | 'link'\n | 'search'\n | 'image'\n | 'keyboardkey'\n | 'text'\n | 'adjustable'\n | 'imagebutton'\n | 'header'\n | 'summary'\n | 'alert'\n | 'checkbox'\n | 'combobox'\n | 'menu'\n | 'menubar'\n | 'menuitem'\n | 'progressbar'\n | 'radio'\n | 'radiogroup'\n | 'scrollbar'\n | 'spinbutton'\n | 'switch'\n | 'tab'\n | 'tablist'\n | 'timer'\n | 'toolbar',\n >),\n\n accessibilityState: PropTypes.object,\n accessibilityValue: PropTypes.object,\n /**\n * Indicates to accessibility services whether the user should be notified\n * when this view changes. Works for Android API >= 19 only.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#accessibilityliveregion\n */\n accessibilityLiveRegion: (PropTypes.oneOf([\n 'none',\n 'polite',\n 'assertive',\n ]): React$PropType$Primitive<'none' | 'polite' | 'assertive'>),\n\n /**\n * Controls how view is important for accessibility which is if it\n * fires accessibility events and if it is reported to accessibility services\n * that query the screen. Works for Android only.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#importantforaccessibility\n */\n importantForAccessibility: (PropTypes.oneOf([\n 'auto',\n 'yes',\n 'no',\n 'no-hide-descendants',\n ]): React$PropType$Primitive<'auto' | 'yes' | 'no' | 'no-hide-descendants'>),\n\n /**\n * A value indicating whether VoiceOver should ignore the elements\n * within views that are siblings of the receiver.\n * Default is `false`.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#accessibilityviewismodal\n */\n accessibilityViewIsModal: PropTypes.bool,\n\n /**\n * A value indicating whether the accessibility elements contained within\n * this accessibility element are hidden.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#accessibilityElementsHidden\n */\n accessibilityElementsHidden: PropTypes.bool,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs an accessibility custom action.\n *\n * @platform ios\n */\n onAccessibilityAction: PropTypes.func,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs accessibility tap gesture.\n *\n * See https://reactnative.dev/docs/view.html#onaccessibilitytap\n */\n onAccessibilityTap: PropTypes.func,\n\n /**\n * When `accessible` is `true`, the system will invoke this function when the\n * user performs the magic tap gesture.\n *\n * See https://reactnative.dev/docs/view.html#onmagictap\n */\n onMagicTap: PropTypes.func,\n\n /**\n * Used to locate this view in end-to-end tests.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See https://reactnative.dev/docs/view.html#testid\n */\n testID: PropTypes.string,\n\n /**\n * Used to locate this view from native classes.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See https://reactnative.dev/docs/view.html#nativeid\n */\n nativeID: PropTypes.string,\n\n /**\n * For most touch interactions, you'll simply want to wrap your component in\n * `TouchableHighlight` or `TouchableOpacity`. Check out `Touchable.js`,\n * `ScrollResponder.js` and `ResponderEventPlugin.js` for more discussion.\n */\n\n /**\n * The View is now responding for touch events. This is the time to highlight\n * and show the user what is happening.\n *\n * `View.props.onResponderGrant: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onrespondergrant\n */\n onResponderGrant: PropTypes.func,\n\n /**\n * The user is moving their finger.\n *\n * `View.props.onResponderMove: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onrespondermove\n */\n onResponderMove: PropTypes.func,\n\n /**\n * Another responder is already active and will not release it to that `View`\n * asking to be the responder.\n *\n * `View.props.onResponderReject: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderreject\n */\n onResponderReject: PropTypes.func,\n\n /**\n * Fired at the end of the touch.\n *\n * `View.props.onResponderRelease: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderrelease\n */\n onResponderRelease: PropTypes.func,\n\n /**\n * The responder has been taken from the `View`. Might be taken by other\n * views after a call to `onResponderTerminationRequest`, or might be taken\n * by the OS without asking (e.g., happens with control center/ notification\n * center on iOS)\n *\n * `View.props.onResponderTerminate: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderterminate\n */\n onResponderTerminate: PropTypes.func,\n\n /**\n * Some other `View` wants to become responder and is asking this `View` to\n * release its responder. Returning `true` allows its release.\n *\n * `View.props.onResponderTerminationRequest: (event) => {}`, where `event`\n * is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderterminationrequest\n */\n onResponderTerminationRequest: PropTypes.func,\n\n /**\n * Does this view want to become responder on the start of a touch?\n *\n * `View.props.onStartShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onstartshouldsetresponder\n */\n onStartShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a touch start, it should have this handler which returns `true`.\n *\n * `View.props.onStartShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onstartshouldsetrespondercapture\n */\n onStartShouldSetResponderCapture: PropTypes.func,\n\n /**\n * Does this view want to \"claim\" touch responsiveness? This is called for\n * every touch move on the `View` when it is not the responder.\n *\n * `View.props.onMoveShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onmoveshouldsetresponder\n */\n onMoveShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a move, it should have this handler which returns `true`.\n *\n * `View.props.onMoveShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onMoveShouldsetrespondercapture\n */\n onMoveShouldSetResponderCapture: PropTypes.func,\n\n /**\n * This defines how far a touch event can start away from the view.\n * Typical interface guidelines recommend touch targets that are at least\n * 30 - 40 points/density-independent pixels.\n *\n * > The touch area never extends past the parent view bounds and the Z-index\n * > of sibling views always takes precedence if a touch hits two overlapping\n * > views.\n *\n * See https://reactnative.dev/docs/view.html#hitslop\n */\n hitSlop: DeprecatedEdgeInsetsPropType,\n\n /**\n * Invoked on mount and layout changes with:\n *\n * `{nativeEvent: { layout: {x, y, width, height}}}`\n *\n * This event is fired immediately once the layout has been calculated, but\n * the new layout may not yet be reflected on the screen at the time the\n * event is received, especially if a layout animation is in progress.\n *\n * See https://reactnative.dev/docs/view.html#onlayout\n */\n onLayout: PropTypes.func,\n\n /**\n * Controls whether the `View` can be the target of touch events.\n *\n * See https://reactnative.dev/docs/view.html#pointerevents\n */\n pointerEvents: (PropTypes.oneOf([\n 'box-none',\n 'none',\n 'box-only',\n 'auto',\n ]): React$PropType$Primitive<'box-none' | 'none' | 'box-only' | 'auto'>),\n\n /**\n * See https://reactnative.dev/docs/style.html\n */\n style: stylePropType,\n\n /**\n * This is a special performance property exposed by `RCTView` and is useful\n * for scrolling content when there are many subviews, most of which are\n * offscreen. For this property to be effective, it must be applied to a\n * view that contains many subviews that extend outside its bound. The\n * subviews must also have `overflow: hidden`, as should the containing view\n * (or one of its superviews).\n *\n * See https://reactnative.dev/docs/view.html#removeclippedsubviews\n */\n removeClippedSubviews: PropTypes.bool,\n\n /**\n * Whether this `View` should render itself (and all of its children) into a\n * single hardware texture on the GPU.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#rendertohardwaretextureandroid\n */\n renderToHardwareTextureAndroid: PropTypes.bool,\n\n /**\n * Whether this `View` should be rendered as a bitmap before compositing.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#shouldrasterizeios\n */\n shouldRasterizeIOS: PropTypes.bool,\n\n /**\n * Views that are only used to layout their children or otherwise don't draw\n * anything may be automatically removed from the native hierarchy as an\n * optimization. Set this property to `false` to disable this optimization and\n * ensure that this `View` exists in the native view hierarchy.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#collapsable\n */\n collapsable: PropTypes.bool,\n\n /**\n * Whether this `View` needs to rendered offscreen and composited with an\n * alpha in order to preserve 100% correct colors and blending behavior.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#needsoffscreenalphacompositing\n */\n needsOffscreenAlphaCompositing: PropTypes.bool,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nmodule.exports = {\n // This must be kept in sync with the AccessibilityRolesMask in RCTViewManager.m\n DeprecatedAccessibilityRoles: [\n 'none',\n 'button',\n 'togglebutton',\n 'link',\n 'search',\n 'image',\n 'keyboardkey',\n 'text',\n 'adjustable',\n 'imagebutton',\n 'header',\n 'summary',\n 'alert',\n 'checkbox',\n 'combobox',\n 'menu',\n 'menubar',\n 'menuitem',\n 'progressbar',\n 'radio',\n 'radiogroup',\n 'scrollbar',\n 'spinbutton',\n 'switch',\n 'tab',\n 'tablist',\n 'timer',\n 'list',\n 'toolbar',\n ],\n};\n","'use strict';\n\nfunction nullthrows(x, message) {\n if (x != null) {\n return x;\n }\n var error = new Error(message !== undefined ? message : 'Got unexpected ' + x);\n error.framesToPop = 1; // Skip nullthrows's own stack frame.\n throw error;\n}\n\nmodule.exports = nullthrows;\nmodule.exports.default = nullthrows;\n\nObject.defineProperty(module.exports, '__esModule', {value: true});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\nimport RCTTextInputViewConfig from './RCTTextInputViewConfig';\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\ntype NativeType = HostComponent;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nconst MultilineTextInputNativeComponent: HostComponent = NativeComponentRegistry.get(\n 'RCTMultilineTextInputView',\n () => RCTTextInputViewConfig,\n);\n\n// flowlint-next-line unclear-type:off\nexport default ((MultilineTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport * as React from 'react';\nimport BoundingDimensions from './BoundingDimensions';\nimport Platform from '../../Utilities/Platform';\nimport Position from './Position';\nimport UIManager from '../../ReactNative/UIManager';\nimport SoundManager from '../Sound/SoundManager';\n\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\n\nconst extractSingleTouch = nativeEvent => {\n const touches = nativeEvent.touches;\n const changedTouches = nativeEvent.changedTouches;\n const hasTouches = touches && touches.length > 0;\n const hasChangedTouches = changedTouches && changedTouches.length > 0;\n\n return !hasTouches && hasChangedTouches\n ? changedTouches[0]\n : hasTouches\n ? touches[0]\n : nativeEvent;\n};\n\n/**\n * `Touchable`: Taps done right.\n *\n * You hook your `ResponderEventPlugin` events into `Touchable`. `Touchable`\n * will measure time/geometry and tells you when to give feedback to the user.\n *\n * ====================== Touchable Tutorial ===============================\n * The `Touchable` mixin helps you handle the \"press\" interaction. It analyzes\n * the geometry of elements, and observes when another responder (scroll view\n * etc) has stolen the touch lock. It notifies your component when it should\n * give feedback to the user. (bouncing/highlighting/unhighlighting).\n *\n * - When a touch was activated (typically you highlight)\n * - When a touch was deactivated (typically you unhighlight)\n * - When a touch was \"pressed\" - a touch ended while still within the geometry\n * of the element, and no other element (like scroller) has \"stolen\" touch\n * lock (\"responder\") (Typically you bounce the element).\n *\n * A good tap interaction isn't as simple as you might think. There should be a\n * slight delay before showing a highlight when starting a touch. If a\n * subsequent touch move exceeds the boundary of the element, it should\n * unhighlight, but if that same touch is brought back within the boundary, it\n * should rehighlight again. A touch can move in and out of that boundary\n * several times, each time toggling highlighting, but a \"press\" is only\n * triggered if that touch ends while within the element's boundary and no\n * scroller (or anything else) has stolen the lock on touches.\n *\n * To create a new type of component that handles interaction using the\n * `Touchable` mixin, do the following:\n *\n * - Initialize the `Touchable` state.\n *\n * getInitialState: function() {\n * return merge(this.touchableGetInitialState(), yourComponentState);\n * }\n *\n * - Choose the rendered component who's touches should start the interactive\n * sequence. On that rendered node, forward all `Touchable` responder\n * handlers. You can choose any rendered node you like. Choose a node whose\n * hit target you'd like to instigate the interaction sequence:\n *\n * // In render function:\n * return (\n * \n * \n * Even though the hit detection/interactions are triggered by the\n * wrapping (typically larger) node, we usually end up implementing\n * custom logic that highlights this inner one.\n * \n * \n * );\n *\n * - You may set up your own handlers for each of these events, so long as you\n * also invoke the `touchable*` handlers inside of your custom handler.\n *\n * - Implement the handlers on your component class in order to provide\n * feedback to the user. See documentation for each of these class methods\n * that you should implement.\n *\n * touchableHandlePress: function() {\n * this.performBounceAnimation(); // or whatever you want to do.\n * },\n * touchableHandleActivePressIn: function() {\n * this.beginHighlighting(...); // Whatever you like to convey activation\n * },\n * touchableHandleActivePressOut: function() {\n * this.endHighlighting(...); // Whatever you like to convey deactivation\n * },\n *\n * - There are more advanced methods you can implement (see documentation below):\n * touchableGetHighlightDelayMS: function() {\n * return 20;\n * }\n * // In practice, *always* use a predeclared constant (conserve memory).\n * touchableGetPressRectOffset: function() {\n * return {top: 20, left: 20, right: 20, bottom: 100};\n * }\n */\n\n/**\n * Touchable states.\n */\n\nconst States = {\n NOT_RESPONDER: 'NOT_RESPONDER', // Not the responder\n RESPONDER_INACTIVE_PRESS_IN: 'RESPONDER_INACTIVE_PRESS_IN', // Responder, inactive, in the `PressRect`\n RESPONDER_INACTIVE_PRESS_OUT: 'RESPONDER_INACTIVE_PRESS_OUT', // Responder, inactive, out of `PressRect`\n RESPONDER_ACTIVE_PRESS_IN: 'RESPONDER_ACTIVE_PRESS_IN', // Responder, active, in the `PressRect`\n RESPONDER_ACTIVE_PRESS_OUT: 'RESPONDER_ACTIVE_PRESS_OUT', // Responder, active, out of `PressRect`\n RESPONDER_ACTIVE_LONG_PRESS_IN: 'RESPONDER_ACTIVE_LONG_PRESS_IN', // Responder, active, in the `PressRect`, after long press threshold\n RESPONDER_ACTIVE_LONG_PRESS_OUT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT', // Responder, active, out of `PressRect`, after long press threshold\n ERROR: 'ERROR',\n};\n\ntype State =\n | typeof States.NOT_RESPONDER\n | typeof States.RESPONDER_INACTIVE_PRESS_IN\n | typeof States.RESPONDER_INACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_OUT\n | typeof States.ERROR;\n\n/*\n * Quick lookup map for states that are considered to be \"active\"\n */\n\nconst baseStatesConditions = {\n NOT_RESPONDER: false,\n RESPONDER_INACTIVE_PRESS_IN: false,\n RESPONDER_INACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_PRESS_IN: false,\n RESPONDER_ACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_LONG_PRESS_IN: false,\n RESPONDER_ACTIVE_LONG_PRESS_OUT: false,\n ERROR: false,\n};\n\nconst IsActive = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n};\n\n/**\n * Quick lookup for states that are considered to be \"pressing\" and are\n * therefore eligible to result in a \"selection\" if the press stops.\n */\nconst IsPressingIn = {\n ...baseStatesConditions,\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\nconst IsLongPressingIn = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\n/**\n * Inputs to the state machine.\n */\nconst Signals = {\n DELAY: 'DELAY',\n RESPONDER_GRANT: 'RESPONDER_GRANT',\n RESPONDER_RELEASE: 'RESPONDER_RELEASE',\n RESPONDER_TERMINATED: 'RESPONDER_TERMINATED',\n ENTER_PRESS_RECT: 'ENTER_PRESS_RECT',\n LEAVE_PRESS_RECT: 'LEAVE_PRESS_RECT',\n LONG_PRESS_DETECTED: 'LONG_PRESS_DETECTED',\n};\n\ntype Signal =\n | typeof Signals.DELAY\n | typeof Signals.RESPONDER_GRANT\n | typeof Signals.RESPONDER_RELEASE\n | typeof Signals.RESPONDER_TERMINATED\n | typeof Signals.ENTER_PRESS_RECT\n | typeof Signals.LEAVE_PRESS_RECT\n | typeof Signals.LONG_PRESS_DETECTED;\n\n/**\n * Mapping from States x Signals => States\n */\nconst Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER,\n },\n};\n\n// ==== Typical Constants for integrating into UI components ====\n// var HIT_EXPAND_PX = 20;\n// var HIT_VERT_OFFSET_PX = 10;\nconst HIGHLIGHT_DELAY_MS = 130;\n\nconst PRESS_EXPAND_PX = 20;\n\nconst LONG_PRESS_THRESHOLD = 500;\n\nconst LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\n\nconst LONG_PRESS_ALLOWED_MOVEMENT = 10;\n\n// Default amount \"active\" region protrudes beyond box\n\n/**\n * By convention, methods prefixed with underscores are meant to be @private,\n * and not @protected. Mixers shouldn't access them - not even to provide them\n * as callback handlers.\n *\n *\n * ========== Geometry =========\n * `Touchable` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * +--------------------------+\n * | | - \"Start\" events in `HitRect` cause `HitRect`\n * | +--------------------+ | to become the responder.\n * | | +--------------+ | | - `HitRect` is typically expanded around\n * | | | | | | the `VisualRect`, but shifted downward.\n * | | | VisualRect | | | - After pressing down, after some delay,\n * | | | | | | and before letting up, the Visual React\n * | | +--------------+ | | will become \"active\". This makes it eligible\n * | | HitRect | | for being highlighted (so long as the\n * | +--------------------+ | press remains in the `PressRect`).\n * | PressRect o |\n * +----------------------|---+\n * Out Region |\n * +-----+ This gap between the `HitRect` and\n * `PressRect` allows a touch to move far away\n * from the original hit rect, and remain\n * highlighted, and eligible for a \"Press\".\n * Customize this via\n * `touchableGetPressRectOffset()`.\n *\n *\n *\n * ======= State Machine =======\n *\n * +-------------+ <---+ RESPONDER_RELEASE\n * |NOT_RESPONDER|\n * +-------------+ <---+ RESPONDER_TERMINATED\n * +\n * | RESPONDER_GRANT (HitRect)\n * v\n * +---------------------------+ DELAY +-------------------------+ T + DELAY +------------------------------+\n * |RESPONDER_INACTIVE_PRESS_IN|+-------->|RESPONDER_ACTIVE_PRESS_IN| +------------> |RESPONDER_ACTIVE_LONG_PRESS_IN|\n * +---------------------------+ +-------------------------+ +------------------------------+\n * + ^ + ^ + ^\n * |LEAVE_ |ENTER_ |LEAVE_ |ENTER_ |LEAVE_ |ENTER_\n * |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT\n * | | | | | |\n * v + v + v +\n * +----------------------------+ DELAY +--------------------------+ +-------------------------------+\n * |RESPONDER_INACTIVE_PRESS_OUT|+------->|RESPONDER_ACTIVE_PRESS_OUT| |RESPONDER_ACTIVE_LONG_PRESS_OUT|\n * +----------------------------+ +--------------------------+ +-------------------------------+\n *\n * T + DELAY => LONG_PRESS_DELAY_MS + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the `touchableHandlePress` abstract method invocation that occurs\n * when a responder is released while in either of the \"Press\" states.\n *\n * The other important side effects are the highlight abstract method\n * invocations (internal callbacks) to be implemented by the mixer.\n *\n *\n * @lends Touchable.prototype\n */\nconst TouchableMixin = {\n componentDidMount: function() {\n if (!Platform.isTV) {\n return;\n }\n },\n\n /**\n * Clear all timeouts on unmount\n */\n componentWillUnmount: function() {\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n },\n\n /**\n * It's prefer that mixins determine state in this way, having the class\n * explicitly mix the state in the one and only `getInitialState` method.\n *\n * @return {object} State object to be placed inside of\n * `this.state.touchable`.\n */\n touchableGetInitialState: function(): $TEMPORARY$object<{|\n touchable: $TEMPORARY$object<{|responderID: null, touchState: void|}>,\n |}> {\n return {\n touchable: {touchState: undefined, responderID: null},\n };\n },\n\n // ==== Hooks to Gesture Responder system ====\n /**\n * Must return true if embedded in a native platform scroll view.\n */\n touchableHandleResponderTerminationRequest: function(): any {\n return !this.props.rejectResponderTermination;\n },\n\n /**\n * Must return true to start the process of `Touchable`.\n */\n touchableHandleStartShouldSetResponder: function(): any {\n return !this.props.disabled;\n },\n\n /**\n * Return true to cancel press on long press.\n */\n touchableLongPressCancelsPress: function(): boolean {\n return true;\n },\n\n /**\n * Place as callback for a DOM element's `onResponderGrant` event.\n * @param {SyntheticEvent} e Synthetic event from event system.\n *\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleResponderGrant: function(e: PressEvent) {\n const dispatchID = e.currentTarget;\n // Since e is used in a callback invoked on another event loop\n // (as in setTimeout etc), we need to call e.persist() on the\n // event to make sure it doesn't get reused in the event object pool.\n e.persist();\n\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n let delayMS =\n this.touchableGetHighlightDelayMS !== undefined\n ? Math.max(this.touchableGetHighlightDelayMS(), 0)\n : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(\n this._handleDelay.bind(this, e),\n delayMS,\n );\n } else {\n this._handleDelay(e);\n }\n\n let longDelayMS =\n this.touchableGetLongPressDelayMS !== undefined\n ? Math.max(this.touchableGetLongPressDelayMS(), 10)\n : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(\n this._handleLongDelay.bind(this, e),\n longDelayMS + delayMS,\n );\n },\n\n /**\n * Place as callback for a DOM element's `onResponderRelease` event.\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleResponderRelease: function(e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderTerminate` event.\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleResponderTerminate: function(e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderMove` event.\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleResponderMove: function(e: PressEvent) {\n // Measurement may not have returned yet.\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n\n const positionOnActivate = this.state.touchable.positionOnActivate;\n const dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n const pressRectOffset = this.touchableGetPressRectOffset\n ? this.touchableGetPressRectOffset()\n : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX,\n };\n\n let pressExpandLeft = pressRectOffset.left;\n let pressExpandTop = pressRectOffset.top;\n let pressExpandRight = pressRectOffset.right;\n let pressExpandBottom = pressRectOffset.bottom;\n\n const hitSlop = this.touchableGetHitSlop\n ? this.touchableGetHitSlop()\n : null;\n\n if (hitSlop) {\n pressExpandLeft += hitSlop.left || 0;\n pressExpandTop += hitSlop.top || 0;\n pressExpandRight += hitSlop.right || 0;\n pressExpandBottom += hitSlop.bottom || 0;\n }\n\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n\n if (this.pressInLocation) {\n const movedDistance = this._getDistanceBetweenPoints(\n pageX,\n pageY,\n this.pressInLocation.pageX,\n this.pressInLocation.pageY,\n );\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n const isTouchWithinActive =\n pageX > positionOnActivate.left - pressExpandLeft &&\n pageY > positionOnActivate.top - pressExpandTop &&\n pageX <\n positionOnActivate.left +\n dimensionsOnActivate.width +\n pressExpandRight &&\n pageY <\n positionOnActivate.top +\n dimensionsOnActivate.height +\n pressExpandBottom;\n if (isTouchWithinActive) {\n const prevState = this.state.touchable.touchState;\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n const curState = this.state.touchable.touchState;\n if (\n curState === States.RESPONDER_INACTIVE_PRESS_IN &&\n prevState !== States.RESPONDER_INACTIVE_PRESS_IN\n ) {\n // fix for t7967420\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n\n /**\n * Invoked when the item receives focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * currently has the focus. Most platforms only support a single element being\n * focused at a time, in which case there may have been a previously focused\n * element that was blurred just prior to this. This can be overridden when\n * using `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleFocus: function(e: Event) {\n this.props.onFocus && this.props.onFocus(e);\n },\n\n /**\n * Invoked when the item loses focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * no longer has focus. Most platforms only support a single element being\n * focused at a time, in which case the focus may have moved to another.\n * This can be overridden when using\n * `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n // $FlowFixMe[signature-verification-failure]\n touchableHandleBlur: function(e: Event) {\n this.props.onBlur && this.props.onBlur(e);\n },\n\n // ==== Abstract Application Callbacks ====\n\n /**\n * Invoked when the item should be highlighted. Mixers should implement this\n * to visually distinguish the `VisualRect` so that the user knows that\n * releasing a touch will result in a \"selection\" (analog to click).\n *\n * @abstract\n * touchableHandleActivePressIn: function,\n */\n\n /**\n * Invoked when the item is \"active\" (in that it is still eligible to become\n * a \"select\") but the touch has left the `PressRect`. Usually the mixer will\n * want to unhighlight the `VisualRect`. If the user (while pressing) moves\n * back into the `PressRect` `touchableHandleActivePressIn` will be invoked\n * again and the mixer should probably highlight the `VisualRect` again. This\n * event will not fire on an `touchEnd/mouseUp` event, only move events while\n * the user is depressing the mouse/touch.\n *\n * @abstract\n * touchableHandleActivePressOut: function\n */\n\n /**\n * Invoked when the item is \"selected\" - meaning the interaction ended by\n * letting up while the item was either in the state\n * `RESPONDER_ACTIVE_PRESS_IN` or `RESPONDER_INACTIVE_PRESS_IN`.\n *\n * @abstract\n * touchableHandlePress: function\n */\n\n /**\n * Invoked when the item is long pressed - meaning the interaction ended by\n * letting up while the item was in `RESPONDER_ACTIVE_LONG_PRESS_IN`. If\n * `touchableHandleLongPress` is *not* provided, `touchableHandlePress` will\n * be called as it normally is. If `touchableHandleLongPress` is provided, by\n * default any `touchableHandlePress` callback will not be invoked. To\n * override this default behavior, override `touchableLongPressCancelsPress`\n * to return false. As a result, `touchableHandlePress` will be called when\n * lifting up, even if `touchableHandleLongPress` has also been called.\n *\n * @abstract\n * touchableHandleLongPress: function\n */\n\n /**\n * Returns the number of millis to wait before triggering a highlight.\n *\n * @abstract\n * touchableGetHighlightDelayMS: function\n */\n\n /**\n * Returns the amount to extend the `HitRect` into the `PressRect`. Positive\n * numbers mean the size expands outwards.\n *\n * @abstract\n * touchableGetPressRectOffset: function\n */\n\n // ==== Internal Logic ====\n\n /**\n * Measures the `HitRect` node on activation. The Bounding rectangle is with\n * respect to viewport - not page, so adding the `pageXOffset/pageYOffset`\n * should result in points that are in the same coordinate system as an\n * event's `globalX/globalY` data values.\n *\n * - Consider caching this for the lifetime of the component, or possibly\n * being able to share this cache between any `ScrollMap` view.\n *\n * @sideeffects\n * @private\n */\n _remeasureMetricsOnActivation: function() {\n const responderID = this.state.touchable.responderID;\n if (responderID == null) {\n return;\n }\n\n if (typeof responderID === 'number') {\n UIManager.measure(responderID, this._handleQueryLayout);\n } else {\n responderID.measure(this._handleQueryLayout);\n }\n },\n\n // $FlowFixMe[signature-verification-failure]\n _handleQueryLayout: function(\n l: number,\n t: number,\n w: number,\n h: number,\n globalX: number,\n globalY: number,\n ) {\n //don't do anything UIManager failed to measure node\n if (!l && !t && !w && !h && !globalX && !globalY) {\n return;\n }\n this.state.touchable.positionOnActivate &&\n Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate &&\n BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(\n globalX,\n globalY,\n );\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(\n w,\n h,\n );\n },\n\n // $FlowFixMe[signature-verification-failure]\n _handleDelay: function(e: PressEvent) {\n this.touchableDelayTimeout = null;\n this._receiveSignal(Signals.DELAY, e);\n },\n\n // $FlowFixMe[signature-verification-failure]\n _handleLongDelay: function(e: PressEvent) {\n this.longPressDelayTimeout = null;\n const curState = this.state.touchable.touchState;\n if (\n curState === States.RESPONDER_ACTIVE_PRESS_IN ||\n curState === States.RESPONDER_ACTIVE_LONG_PRESS_IN\n ) {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n *\n * @param {Signals} signal State machine signal.\n * @throws Error if invalid state transition or unrecognized signal.\n * @sideeffects\n */\n // $FlowFixMe[signature-verification-failure]\n _receiveSignal: function(signal: Signal, e: PressEvent) {\n const responderID = this.state.touchable.responderID;\n const curState = this.state.touchable.touchState;\n const nextState = Transitions[curState] && Transitions[curState][signal];\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n if (!nextState) {\n throw new Error(\n 'Unrecognized signal `' +\n signal +\n '` or state `' +\n curState +\n '` for Touchable responder `' +\n typeof this.state.touchable.responderID ===\n 'number'\n ? this.state.touchable.responderID\n : 'host component' + '`',\n );\n }\n if (nextState === States.ERROR) {\n throw new Error(\n 'Touchable cannot transition from `' +\n curState +\n '` to `' +\n signal +\n '` for responder `' +\n typeof this.state.touchable.responderID ===\n 'number'\n ? this.state.touchable.responderID\n : '<>' + '`',\n );\n }\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n this.state.touchable.touchState = nextState;\n }\n },\n\n _cancelLongPressDelayTimeout: function() {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n\n _isHighlight: function(state: State): boolean {\n return (\n state === States.RESPONDER_ACTIVE_PRESS_IN ||\n state === States.RESPONDER_ACTIVE_LONG_PRESS_IN\n );\n },\n\n // $FlowFixMe[signature-verification-failure]\n _savePressInLocation: function(e: PressEvent) {\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n const locationX = touch && touch.locationX;\n const locationY = touch && touch.locationY;\n this.pressInLocation = {pageX, pageY, locationX, locationY};\n },\n\n _getDistanceBetweenPoints: function(\n aX: number,\n aY: number,\n bX: number,\n bY: number,\n ): number {\n const deltaX = aX - bX;\n const deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n\n /**\n * Will perform a transition between touchable states, and identify any\n * highlighting or unhighlighting that must be performed for this particular\n * transition.\n *\n * @param {States} curState Current Touchable state.\n * @param {States} nextState Next Touchable state.\n * @param {Signal} signal Signal that triggered the transition.\n * @param {Event} e Native event.\n * @sideeffects\n */\n // $FlowFixMe[signature-verification-failure]\n _performSideEffectsForTransition: function(\n curState: State,\n nextState: State,\n signal: Signal,\n e: PressEvent,\n ) {\n const curIsHighlight = this._isHighlight(curState);\n const newIsHighlight = this._isHighlight(nextState);\n\n const isFinalSignal =\n signal === Signals.RESPONDER_TERMINATED ||\n signal === Signals.RESPONDER_RELEASE;\n\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n\n const isInitialTransition =\n curState === States.NOT_RESPONDER &&\n nextState === States.RESPONDER_INACTIVE_PRESS_IN;\n\n const isActiveTransition = !IsActive[curState] && IsActive[nextState];\n if (isInitialTransition || isActiveTransition) {\n this._remeasureMetricsOnActivation();\n }\n\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n const hasLongPressHandler = !!this.props.onLongPress;\n const pressIsLongButStillCallOnPress =\n IsLongPressingIn[curState] && // We *are* long pressing.. // But either has no long handler\n (!hasLongPressHandler || !this.touchableLongPressCancelsPress()); // or we're told to ignore it.\n\n const shouldInvokePress =\n !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n // we never highlighted because of delay, but we should highlight now\n this._startHighlight(e);\n this._endHighlight(e);\n }\n if (Platform.OS === 'android' && !this.props.touchSoundDisabled) {\n SoundManager.playTouchSound();\n }\n this.touchableHandlePress(e);\n }\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n\n // $FlowFixMe[signature-verification-failure]\n _startHighlight: function(e: PressEvent) {\n this._savePressInLocation(e);\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n\n // $FlowFixMe[signature-verification-failure]\n _endHighlight: function(e: PressEvent) {\n if (this.touchableHandleActivePressOut) {\n if (\n this.touchableGetPressOutDelayMS &&\n this.touchableGetPressOutDelayMS()\n ) {\n this.pressOutDelayTimeout = setTimeout(() => {\n this.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n\n withoutDefaultFocusAndBlur: ({}: $TEMPORARY$object<{||}>),\n};\n\n/**\n * Provide an optional version of the mixin where `touchableHandleFocus` and\n * `touchableHandleBlur` can be overridden. This allows appropriate defaults to\n * be set on TV platforms, without breaking existing implementations of\n * `Touchable`.\n */\nconst {\n touchableHandleFocus,\n touchableHandleBlur,\n ...TouchableMixinWithoutDefaultFocusAndBlur\n} = TouchableMixin;\nTouchableMixin.withoutDefaultFocusAndBlur = TouchableMixinWithoutDefaultFocusAndBlur;\n\nconst Touchable = {\n Mixin: TouchableMixin,\n /**\n * Renders a debugging overlay to visualize touch target with hitSlop (might not work on Android).\n */\n renderDebugView: ({\n color,\n hitSlop,\n }: {\n color: ColorValue,\n hitSlop: EdgeInsetsProp,\n ...\n }): null | React.Node => {\n if (__DEV__) {\n return ;\n }\n return null;\n },\n};\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\nimport PooledClass from './PooledClass';\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * PooledClass representing the bounding rectangle of a region.\n *\n * @param {number} width Width of bounding rectangle.\n * @param {number} height Height of bounding rectangle.\n * @constructor BoundingDimensions\n */\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\n\nBoundingDimensions.prototype.destructor = function() {\n this.width = null;\n this.height = null;\n};\n\n/**\n * @param {HTMLElement} element Element to return `BoundingDimensions` for.\n * @return {BoundingDimensions} Bounding dimensions of `element`.\n */\nBoundingDimensions.getPooledFromElement = function(element) {\n return BoundingDimensions.getPooled(\n element.offsetWidth,\n element.offsetHeight,\n );\n};\n\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\n\nmodule.exports = BoundingDimensions;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\nimport invariant from 'invariant';\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nconst oneArgumentPooler = function(copyFieldsFrom) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nconst twoArgumentPooler = function(a1, a2) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nconst threeArgumentPooler = function(a1, a2, a3) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nconst fourArgumentPooler = function(a1, a2, a3, a4) {\n const Klass = this;\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nconst standardReleaser = function(instance) {\n const Klass = this;\n invariant(\n instance instanceof Klass,\n 'Trying to release an instance into a pool of a different type.',\n );\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nconst DEFAULT_POOL_SIZE = 10;\nconst DEFAULT_POOLER = oneArgumentPooler;\n\ntype Pooler = any;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nconst addPoolingTo = function(\n CopyConstructor: Class,\n pooler: Pooler,\n): Class & {\n getPooled(\n ...args: $ReadOnlyArray\n ): /* arguments of the constructor */ T,\n release(instance: mixed): void,\n ...\n} {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n const NewKlass = (CopyConstructor: any);\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nconst PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: (oneArgumentPooler: Pooler),\n twoArgumentPooler: (twoArgumentPooler: Pooler),\n threeArgumentPooler: (threeArgumentPooler: Pooler),\n fourArgumentPooler: (fourArgumentPooler: Pooler),\n};\n\nmodule.exports = PooledClass;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\nimport PooledClass from './PooledClass';\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * Position does not expose methods for construction via an `HTMLDOMElement`,\n * because it isn't meaningful to construct such a thing without first defining\n * a frame of reference.\n *\n * @param {number} windowStartKey Key that window starts at.\n * @param {number} windowEndKey Key that window ends at.\n */\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\n\nPosition.prototype.destructor = function() {\n this.left = null;\n this.top = null;\n};\n\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\n\nmodule.exports = Position;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport StyleSheet, {type ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\nimport Platform from '../../Utilities/Platform';\nimport View from '../../Components/View/View';\nimport * as React from 'react';\n\ntype AndroidProps = $ReadOnly<{|\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n ...AndroidProps,\n ...IOSProps,\n\n activeOpacity?: ?number,\n underlayColor?: ?ColorValue,\n style?: ?ViewStyleProp,\n onShowUnderlay?: ?() => void,\n onHideUnderlay?: ?() => void,\n testOnly_pressed?: ?boolean,\n\n hostRef: React.Ref,\n|}>;\n\ntype ExtraStyles = $ReadOnly<{|\n child: ViewStyleProp,\n underlay: ViewStyleProp,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n extraStyles: ?ExtraStyles,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, which allows\n * the underlay color to show through, darkening or tinting the view.\n *\n * The underlay comes from wrapping the child in a new View, which can affect\n * layout, and sometimes cause unwanted visual artifacts if not used correctly,\n * for example if the backgroundColor of the wrapped view isn't explicitly set\n * to an opaque color.\n *\n * TouchableHighlight must have one child (not zero or more than one).\n * If you wish to have several child components, wrap them in a View.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n *\n *\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableHighlight,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * constructor(props) {\n * super(props)\n * this.state = { count: 0 }\n * }\n *\n * onPress = () => {\n * this.setState({\n * count: this.state.count+1\n * })\n * }\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\nclass TouchableHighlight extends React.Component {\n _hideTimeout: ?TimeoutID;\n _isMounted: boolean = false;\n\n state: State = {\n pressability: new Pressability(this._createPressabilityConfig()),\n extraStyles:\n this.props.testOnly_pressed === true ? this._createExtraStyles() : null,\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled:\n this.props.disabled != null\n ? this.props.disabled\n : this.props.accessibilityState?.disabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n android_disableSound: this.props.touchSoundDisabled,\n onBlur: event => {\n if (Platform.isTV) {\n this._hideUnderlay();\n }\n if (this.props.onBlur != null) {\n this.props.onBlur(event);\n }\n },\n onFocus: event => {\n if (Platform.isTV) {\n this._showUnderlay();\n }\n if (this.props.onFocus != null) {\n this.props.onFocus(event);\n }\n },\n onLongPress: this.props.onLongPress,\n onPress: event => {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n }\n if (!Platform.isTV) {\n this._showUnderlay();\n this._hideTimeout = setTimeout(() => {\n this._hideUnderlay();\n }, this.props.delayPressOut ?? 0);\n }\n if (this.props.onPress != null) {\n this.props.onPress(event);\n }\n },\n onPressIn: event => {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n }\n this._showUnderlay();\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressOut: event => {\n if (this._hideTimeout == null) {\n this._hideUnderlay();\n }\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n _createExtraStyles(): ExtraStyles {\n return {\n child: {opacity: this.props.activeOpacity ?? 0.85},\n underlay: {\n backgroundColor:\n this.props.underlayColor === undefined\n ? 'black'\n : this.props.underlayColor,\n },\n };\n }\n\n _showUnderlay(): void {\n if (!this._isMounted || !this._hasPressHandler()) {\n return;\n }\n this.setState({extraStyles: this._createExtraStyles()});\n if (this.props.onShowUnderlay != null) {\n this.props.onShowUnderlay();\n }\n }\n\n _hideUnderlay(): void {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n }\n if (this.props.testOnly_pressed === true) {\n return;\n }\n if (this._hasPressHandler()) {\n this.setState({extraStyles: null});\n if (this.props.onHideUnderlay != null) {\n this.props.onHideUnderlay();\n }\n }\n }\n\n _hasPressHandler(): boolean {\n return (\n this.props.onPress != null ||\n this.props.onPressIn != null ||\n this.props.onPressOut != null ||\n this.props.onLongPress != null\n );\n }\n\n render(): React.Node {\n const child = React.Children.only(this.props.children);\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {\n onBlur,\n onFocus,\n ...eventHandlersWithoutBlurAndFocus\n } = this.state.pressability.getEventHandlers();\n\n const accessibilityState =\n this.props.disabled != null\n ? {\n ...this.props.accessibilityState,\n disabled: this.props.disabled,\n }\n : this.props.accessibilityState;\n\n return (\n \n {React.cloneElement(child, {\n style: StyleSheet.compose(\n child.props.style,\n this.state.extraStyles?.child,\n ),\n })}\n {__DEV__ ? (\n \n ) : null}\n \n );\n }\n\n componentDidMount(): void {\n this._isMounted = true;\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n }\n\n componentWillUnmount(): void {\n this._isMounted = false;\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n }\n this.state.pressability.reset();\n }\n}\n\nconst Touchable = (React.forwardRef((props, hostRef) => (\n \n)): React.AbstractComponent<\n $ReadOnly<$Diff|}>>,\n React.ElementRef,\n>);\n\nTouchable.displayName = 'TouchableHighlight';\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport type {\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n AccessibilityRole,\n AccessibilityState,\n AccessibilityValue,\n} from '../../Components/View/ViewAccessibility';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {\n BlurEvent,\n FocusEvent,\n LayoutEvent,\n PressEvent,\n} from '../../Types/CoreEventTypes';\nimport View from '../../Components/View/View';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n accessibilityActions?: ?$ReadOnlyArray,\n accessibilityElementsHidden?: ?boolean,\n accessibilityHint?: ?Stringish,\n accessibilityIgnoresInvertColors?: ?boolean,\n accessibilityLabel?: ?Stringish,\n accessibilityLiveRegion?: ?('none' | 'polite' | 'assertive'),\n accessibilityRole?: ?AccessibilityRole,\n accessibilityState?: ?AccessibilityState,\n accessibilityValue?: ?AccessibilityValue,\n accessibilityViewIsModal?: ?boolean,\n accessible?: ?boolean,\n children?: ?React.Node,\n delayLongPress?: ?number,\n delayPressIn?: ?number,\n delayPressOut?: ?number,\n disabled?: ?boolean,\n focusable?: ?boolean,\n hitSlop?: ?EdgeInsetsProp,\n importantForAccessibility?: ?('auto' | 'yes' | 'no' | 'no-hide-descendants'),\n nativeID?: ?string,\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n onBlur?: ?(event: BlurEvent) => mixed,\n onFocus?: ?(event: FocusEvent) => mixed,\n onLayout?: ?(event: LayoutEvent) => mixed,\n onLongPress?: ?(event: PressEvent) => mixed,\n onPress?: ?(event: PressEvent) => mixed,\n onPressIn?: ?(event: PressEvent) => mixed,\n onPressOut?: ?(event: PressEvent) => mixed,\n pressRetentionOffset?: ?EdgeInsetsProp,\n rejectResponderTermination?: ?boolean,\n testID?: ?string,\n touchSoundDisabled?: ?boolean,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n|}>;\n\nconst PASSTHROUGH_PROPS = [\n 'accessibilityActions',\n 'accessibilityElementsHidden',\n 'accessibilityHint',\n 'accessibilityIgnoresInvertColors',\n 'accessibilityLabel',\n 'accessibilityLiveRegion',\n 'accessibilityRole',\n 'accessibilityValue',\n 'accessibilityViewIsModal',\n 'hitSlop',\n 'importantForAccessibility',\n 'nativeID',\n 'onAccessibilityAction',\n 'onBlur',\n 'onFocus',\n 'onLayout',\n 'testID',\n];\n\nclass TouchableWithoutFeedback extends React.Component {\n state: State = {\n pressability: new Pressability(createPressabilityConfig(this.props)),\n };\n\n render(): React.Node {\n const element = React.Children.only(this.props.children);\n const children = [element.props.children];\n if (__DEV__) {\n if (element.type === View) {\n children.push(\n ,\n );\n }\n }\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {\n onBlur,\n onFocus,\n ...eventHandlersWithoutBlurAndFocus\n } = this.state.pressability.getEventHandlers();\n\n const elementProps: {[string]: mixed, ...} = {\n ...eventHandlersWithoutBlurAndFocus,\n accessible: this.props.accessible !== false,\n accessibilityState:\n this.props.disabled != null\n ? {\n ...this.props.accessibilityState,\n disabled: this.props.disabled,\n }\n : this.props.accessibilityState,\n focusable:\n this.props.focusable !== false && this.props.onPress !== undefined,\n };\n for (const prop of PASSTHROUGH_PROPS) {\n if (this.props[prop] !== undefined) {\n elementProps[prop] = this.props[prop];\n }\n }\n\n return React.cloneElement(element, elementProps, ...children);\n }\n\n componentDidUpdate(): void {\n this.state.pressability.configure(createPressabilityConfig(this.props));\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nfunction createPressabilityConfig(props: Props): PressabilityConfig {\n return {\n cancelable: !props.rejectResponderTermination,\n disabled:\n props.disabled !== null\n ? props.disabled\n : props.accessibilityState?.disabled,\n hitSlop: props.hitSlop,\n delayLongPress: props.delayLongPress,\n delayPressIn: props.delayPressIn,\n delayPressOut: props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: props.pressRetentionOffset,\n android_disableSound: props.touchSoundDisabled,\n onBlur: props.onBlur,\n onFocus: props.onFocus,\n onLongPress: props.onLongPress,\n onPress: props.onPress,\n onPressIn: props.onPressIn,\n onPressOut: props.onPressOut,\n };\n}\n\nTouchableWithoutFeedback.displayName = 'TouchableWithoutFeedback';\n\nmodule.exports = TouchableWithoutFeedback;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport RCTActionSheetManager from './NativeActionSheetManager';\n\nconst invariant = require('invariant');\nconst processColor = require('../StyleSheet/processColor');\nimport type {ColorValue} from '../StyleSheet/StyleSheet';\nimport type {ProcessedColorValue} from '../StyleSheet/processColor';\n\n/**\n * Display action sheets and share sheets on iOS.\n *\n * See https://reactnative.dev/docs/actionsheetios.html\n */\nconst ActionSheetIOS = {\n /**\n * Display an iOS action sheet.\n *\n * The `options` object must contain one or more of:\n *\n * - `options` (array of strings) - a list of button titles (required)\n * - `cancelButtonIndex` (int) - index of cancel button in `options`\n * - `destructiveButtonIndex` (int or array of ints) - index or indices of destructive buttons in `options`\n * - `title` (string) - a title to show above the action sheet\n * - `message` (string) - a message to show below the title\n * - `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled\n *\n * The 'callback' function takes one parameter, the zero-based index\n * of the selected item.\n *\n * See https://reactnative.dev/docs/actionsheetios.html#showactionsheetwithoptions\n */\n showActionSheetWithOptions(\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: Array,\n +destructiveButtonIndex?: ?number | ?Array,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: ColorValue | ProcessedColorValue,\n +userInterfaceStyle?: string,\n +disabledButtonIndices?: Array,\n |},\n callback: (buttonIndex: number) => void,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(RCTActionSheetManager, \"ActionSheetManager doesn't exist\");\n\n const {tintColor, destructiveButtonIndex, ...remainingOptions} = options;\n let destructiveButtonIndices = null;\n\n if (Array.isArray(destructiveButtonIndex)) {\n destructiveButtonIndices = destructiveButtonIndex;\n } else if (typeof destructiveButtonIndex === 'number') {\n destructiveButtonIndices = [destructiveButtonIndex];\n }\n\n const processedTintColor = processColor(tintColor);\n invariant(\n processedTintColor == null || typeof processedTintColor === 'number',\n 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions tintColor',\n );\n RCTActionSheetManager.showActionSheetWithOptions(\n {\n ...remainingOptions,\n tintColor: processedTintColor,\n destructiveButtonIndices,\n },\n callback,\n );\n },\n\n /**\n * Display the iOS share sheet. The `options` object should contain\n * one or both of `message` and `url` and can additionally have\n * a `subject` or `excludedActivityTypes`:\n *\n * - `url` (string) - a URL to share\n * - `message` (string) - a message to share\n * - `subject` (string) - a subject for the message\n * - `excludedActivityTypes` (array) - the activities to exclude from\n * the ActionSheet\n * - `tintColor` (color) - tint color of the buttons\n *\n * The 'failureCallback' function takes one parameter, an error object.\n * The only property defined on this object is an optional `stack` property\n * of type `string`.\n *\n * The 'successCallback' function takes two parameters:\n *\n * - a boolean value signifying success or failure\n * - a string that, in the case of success, indicates the method of sharing\n *\n * See https://reactnative.dev/docs/actionsheetios.html#showshareactionsheetwithoptions\n */\n showShareActionSheetWithOptions(\n options: Object,\n failureCallback: Function,\n successCallback: Function,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(\n typeof failureCallback === 'function',\n 'Must provide a valid failureCallback',\n );\n invariant(\n typeof successCallback === 'function',\n 'Must provide a valid successCallback',\n );\n invariant(RCTActionSheetManager, \"ActionSheetManager doesn't exist\");\n RCTActionSheetManager.showShareActionSheetWithOptions(\n {...options, tintColor: processColor(options.tintColor)},\n failureCallback,\n successCallback,\n );\n },\n};\n\nmodule.exports = ActionSheetIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +showActionSheetWithOptions: (\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: ?Array,\n +destructiveButtonIndices?: ?Array,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: ?number,\n +userInterfaceStyle?: ?string,\n +disabledButtonIndices?: Array,\n |},\n callback: (buttonIndex: number) => void,\n ) => void;\n +showShareActionSheetWithOptions: (\n options: {|\n +message?: ?string,\n +url?: ?string,\n +subject?: ?string,\n +anchor?: ?number,\n +tintColor?: ?number,\n +excludedActivityTypes?: ?Array,\n +userInterfaceStyle?: ?string,\n |},\n failureCallback: (error: {|\n +domain: string,\n +code: string,\n +userInfo?: ?Object,\n +message: string,\n |}) => void,\n successCallback: (completed: boolean, activityType: ?string) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('ActionSheetManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport EventEmitter, {\n type EventSubscription,\n} from '../vendor/emitter/EventEmitter';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport NativeAppearance, {\n type AppearancePreferences,\n type ColorSchemeName,\n} from './NativeAppearance';\nimport invariant from 'invariant';\nimport {isAsyncDebugging} from './DebugEnvironment';\nimport Platform from '../Utilities/Platform';\n\ntype AppearanceListener = (preferences: AppearancePreferences) => void;\nconst eventEmitter = new EventEmitter<{\n change: [AppearancePreferences],\n}>();\n\ntype NativeAppearanceEventDefinitions = {\n appearanceChanged: [AppearancePreferences],\n};\n\nif (NativeAppearance) {\n const nativeEventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAppearance,\n );\n nativeEventEmitter.addListener(\n 'appearanceChanged',\n (newAppearance: AppearancePreferences) => {\n const {colorScheme} = newAppearance;\n invariant(\n colorScheme === 'dark' ||\n colorScheme === 'light' ||\n colorScheme == null,\n \"Unrecognized color scheme. Did you mean 'dark' or 'light'?\",\n );\n eventEmitter.emit('change', {colorScheme});\n },\n );\n}\n\nmodule.exports = {\n /**\n * Note: Although color scheme is available immediately, it may change at any\n * time. Any rendering logic or styles that depend on this should try to call\n * this function on every render, rather than caching the value (for example,\n * using inline styles rather than setting a value in a `StyleSheet`).\n *\n * Example: `const colorScheme = Appearance.getColorScheme();`\n *\n * @returns {?ColorSchemeName} Value for the color scheme preference.\n */\n getColorScheme(): ?ColorSchemeName {\n if (__DEV__) {\n if (isAsyncDebugging) {\n // Hard code light theme when using the async debugger as\n // sync calls aren't supported\n return 'light';\n }\n }\n\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n const nativeColorScheme: ?string =\n NativeAppearance == null\n ? null\n : NativeAppearance.getColorScheme() || null;\n invariant(\n nativeColorScheme === 'dark' ||\n nativeColorScheme === 'light' ||\n nativeColorScheme == null,\n \"Unrecognized color scheme. Did you mean 'dark' or 'light'?\",\n );\n return nativeColorScheme;\n },\n\n /**\n * Add an event handler that is fired when appearance preferences change.\n */\n addChangeListener(listener: AppearanceListener): EventSubscription {\n return eventEmitter.addListener('change', listener);\n },\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n removeChangeListener(listener: AppearanceListener): void {\n // NOTE: This will report a deprecation notice via `console.error`.\n eventEmitter.removeListener('change', listener);\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type ColorSchemeName = 'light' | 'dark';\n\nexport type AppearancePreferences = {|\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n // types.\n /* 'light' | 'dark' */\n colorScheme?: ?string,\n|};\n\nexport interface Spec extends TurboModule {\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n // types.\n /* 'light' | 'dark' */\n +getColorScheme: () => ?string;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('Appearance'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nexport let isAsyncDebugging: boolean = false;\n\nif (__DEV__) {\n // These native interfaces don't exist in asynchronous debugging environments.\n isAsyncDebugging =\n !global.nativeExtensions &&\n !global.nativeCallSyncHook &&\n !global.RN$Bridgeless;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\nconst BugReporting = require('../BugReporting/BugReporting');\nconst ReactNative = require('../Renderer/shims/ReactNative');\nconst SceneTracker = require('../Utilities/SceneTracker');\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\nconst renderApplication = require('./renderApplication');\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nimport {coerceDisplayMode} from './DisplayMode';\nimport createPerformanceLogger from '../Utilities/createPerformanceLogger';\nimport NativeHeadlessJsTaskSupport from './NativeHeadlessJsTaskSupport';\nimport HeadlessJsTaskError from './HeadlessJsTaskError';\nimport type {RootTag} from 'react-native/Libraries/Types/RootTagTypes';\n\ntype Task = (taskData: any) => Promise;\nexport type TaskProvider = () => Task;\ntype TaskCanceller = () => void;\ntype TaskCancelProvider = () => TaskCanceller;\n\nexport type ComponentProvider = () => React$ComponentType;\nexport type ComponentProviderInstrumentationHook = (\n component: ComponentProvider,\n scopedPerformanceLogger: IPerformanceLogger,\n) => React$ComponentType;\nexport type AppConfig = {\n appKey: string,\n component?: ComponentProvider,\n run?: Function,\n section?: boolean,\n ...\n};\nexport type Runnable = {\n component?: ComponentProvider,\n run: Function,\n ...\n};\nexport type Runnables = {[appKey: string]: Runnable, ...};\nexport type Registry = {\n sections: Array,\n runnables: Runnables,\n ...\n};\nexport type WrapperComponentProvider = any => React$ComponentType;\n\nconst runnables: Runnables = {};\nlet runCount = 1;\nconst sections: Runnables = {};\nconst taskProviders: Map = new Map();\nconst taskCancelProviders: Map = new Map();\nlet componentProviderInstrumentationHook: ComponentProviderInstrumentationHook = (\n component: ComponentProvider,\n) => component();\n\nlet wrapperComponentProvider: ?WrapperComponentProvider;\nlet showArchitectureIndicator = false;\n\n/**\n * `AppRegistry` is the JavaScript entry point to running all React Native apps.\n *\n * See https://reactnative.dev/docs/appregistry.html\n */\nconst AppRegistry = {\n setWrapperComponentProvider(provider: WrapperComponentProvider) {\n wrapperComponentProvider = provider;\n },\n\n enableArchitectureIndicator(enabled: boolean): void {\n showArchitectureIndicator = enabled;\n },\n\n registerConfig(config: Array): void {\n config.forEach(appConfig => {\n if (appConfig.run) {\n AppRegistry.registerRunnable(appConfig.appKey, appConfig.run);\n } else {\n invariant(\n appConfig.component != null,\n 'AppRegistry.registerConfig(...): Every config is expected to set ' +\n 'either `run` or `component`, but `%s` has neither.',\n appConfig.appKey,\n );\n AppRegistry.registerComponent(\n appConfig.appKey,\n appConfig.component,\n appConfig.section,\n );\n }\n });\n },\n\n /**\n * Registers an app's root component.\n *\n * See https://reactnative.dev/docs/appregistry.html#registercomponent\n */\n registerComponent(\n appKey: string,\n componentProvider: ComponentProvider,\n section?: boolean,\n ): string {\n let scopedPerformanceLogger = createPerformanceLogger();\n runnables[appKey] = {\n componentProvider,\n run: (appParameters, displayMode) => {\n renderApplication(\n componentProviderInstrumentationHook(\n componentProvider,\n scopedPerformanceLogger,\n ),\n appParameters.initialProps,\n appParameters.rootTag,\n wrapperComponentProvider && wrapperComponentProvider(appParameters),\n appParameters.fabric,\n showArchitectureIndicator,\n scopedPerformanceLogger,\n appKey === 'LogBox',\n appKey,\n coerceDisplayMode(displayMode),\n appParameters.concurrentRoot,\n );\n },\n };\n if (section) {\n sections[appKey] = runnables[appKey];\n }\n return appKey;\n },\n\n registerRunnable(appKey: string, run: Function): string {\n runnables[appKey] = {run};\n return appKey;\n },\n\n registerSection(appKey: string, component: ComponentProvider): void {\n AppRegistry.registerComponent(appKey, component, true);\n },\n\n getAppKeys(): Array {\n return Object.keys(runnables);\n },\n\n getSectionKeys(): Array {\n return Object.keys(sections);\n },\n\n getSections(): Runnables {\n return {\n ...sections,\n };\n },\n\n getRunnable(appKey: string): ?Runnable {\n return runnables[appKey];\n },\n\n getRegistry(): Registry {\n return {\n sections: AppRegistry.getSectionKeys(),\n runnables: {...runnables},\n };\n },\n\n setComponentProviderInstrumentationHook(\n hook: ComponentProviderInstrumentationHook,\n ) {\n componentProviderInstrumentationHook = hook;\n },\n\n /**\n * Loads the JavaScript bundle and runs the app.\n *\n * See https://reactnative.dev/docs/appregistry.html#runapplication\n */\n runApplication(\n appKey: string,\n appParameters: any,\n displayMode?: number,\n ): void {\n if (appKey !== 'LogBox') {\n const msg =\n 'Running \"' + appKey + '\" with ' + JSON.stringify(appParameters);\n infoLog(msg);\n BugReporting.addSource(\n 'AppRegistry.runApplication' + runCount++,\n () => msg,\n );\n }\n invariant(\n runnables[appKey] && runnables[appKey].run,\n `\"${appKey}\" has not been registered. This can happen if:\\n` +\n '* Metro (the local dev server) is run from the wrong folder. ' +\n 'Check if Metro is running, stop it and restart it in the current project.\\n' +\n \"* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.\",\n );\n\n SceneTracker.setActiveScene({name: appKey});\n runnables[appKey].run(appParameters, displayMode);\n },\n\n /**\n * Update initial props for a surface that's already rendered\n */\n setSurfaceProps(\n appKey: string,\n appParameters: any,\n displayMode?: number,\n ): void {\n if (appKey !== 'LogBox') {\n const msg =\n 'Updating props for Surface \"' +\n appKey +\n '\" with ' +\n JSON.stringify(appParameters);\n infoLog(msg);\n BugReporting.addSource(\n 'AppRegistry.setSurfaceProps' + runCount++,\n () => msg,\n );\n }\n invariant(\n runnables[appKey] && runnables[appKey].run,\n `\"${appKey}\" has not been registered. This can happen if:\\n` +\n '* Metro (the local dev server) is run from the wrong folder. ' +\n 'Check if Metro is running, stop it and restart it in the current project.\\n' +\n \"* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.\",\n );\n\n runnables[appKey].run(appParameters, displayMode);\n },\n\n /**\n * Stops an application when a view should be destroyed.\n *\n * See https://reactnative.dev/docs/appregistry.html#unmountapplicationcomponentatroottag\n */\n unmountApplicationComponentAtRootTag(rootTag: RootTag): void {\n // NOTE: RootTag type\n // $FlowFixMe[incompatible-call] RootTag: RootTag is incompatible with number, needs an updated synced version of the ReactNativeTypes.js file\n ReactNative.unmountComponentAtNodeAndRemoveContainer(rootTag);\n },\n\n /**\n * Register a headless task. A headless task is a bit of code that runs without a UI.\n *\n * See https://reactnative.dev/docs/appregistry.html#registerheadlesstask\n */\n registerHeadlessTask(taskKey: string, taskProvider: TaskProvider): void {\n // $FlowFixMe[object-this-reference]\n this.registerCancellableHeadlessTask(taskKey, taskProvider, () => () => {\n /* Cancel is no-op */\n });\n },\n\n /**\n * Register a cancellable headless task. A headless task is a bit of code that runs without a UI.\n *\n * See https://reactnative.dev/docs/appregistry.html#registercancellableheadlesstask\n */\n registerCancellableHeadlessTask(\n taskKey: string,\n taskProvider: TaskProvider,\n taskCancelProvider: TaskCancelProvider,\n ): void {\n if (taskProviders.has(taskKey)) {\n console.warn(\n `registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key '${taskKey}'`,\n );\n }\n taskProviders.set(taskKey, taskProvider);\n taskCancelProviders.set(taskKey, taskCancelProvider);\n },\n\n /**\n * Only called from native code. Starts a headless task.\n *\n * See https://reactnative.dev/docs/appregistry.html#startheadlesstask\n */\n startHeadlessTask(taskId: number, taskKey: string, data: any): void {\n const taskProvider = taskProviders.get(taskKey);\n if (!taskProvider) {\n console.warn(`No task registered for key ${taskKey}`);\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n return;\n }\n taskProvider()(data)\n .then(() => {\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n })\n .catch(reason => {\n console.error(reason);\n\n if (\n NativeHeadlessJsTaskSupport &&\n reason instanceof HeadlessJsTaskError\n ) {\n NativeHeadlessJsTaskSupport.notifyTaskRetry(taskId).then(\n retryPosted => {\n if (!retryPosted) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n },\n );\n }\n });\n },\n\n /**\n * Only called from native code. Cancels a headless task.\n *\n * See https://reactnative.dev/docs/appregistry.html#cancelheadlesstask\n */\n cancelHeadlessTask(taskId: number, taskKey: string): void {\n const taskCancelProvider = taskCancelProviders.get(taskKey);\n if (!taskCancelProvider) {\n throw new Error(`No task canceller registered for key '${taskKey}'`);\n }\n taskCancelProvider()();\n },\n};\n\nBatchedBridge.registerCallableModule('AppRegistry', AppRegistry);\n\nif (__DEV__) {\n const LogBoxInspector = require('../LogBox/LogBoxInspectorContainer').default;\n AppRegistry.registerComponent('LogBox', () => LogBoxInspector);\n} else {\n AppRegistry.registerComponent(\n 'LogBox',\n () =>\n function NoOp() {\n return null;\n },\n );\n}\n\nmodule.exports = AppRegistry;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nexport opaque type DisplayModeType = number;\n\n/** DisplayMode should be in sync with the method displayModeToInt from\n * react/renderer/uimanager/primitives.h. */\nconst DisplayMode: {[string]: DisplayModeType} = Object.freeze({\n VISIBLE: 1,\n SUSPENDED: 2,\n HIDDEN: 3,\n});\n\nexport function coerceDisplayMode(value: ?number): DisplayModeType {\n switch (value) {\n case DisplayMode.SUSPENDED:\n return DisplayMode.SUSPENDED;\n case DisplayMode.HIDDEN:\n return DisplayMode.HIDDEN;\n default:\n return DisplayMode.VISIBLE;\n }\n}\n\nexport default DisplayMode;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +notifyTaskFinished: (taskId: number) => void;\n +notifyTaskRetry: (taskId: number) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('HeadlessJsTaskSupport'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nexport default class HeadlessJsTaskError extends Error {}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeRedBox from '../NativeModules/specs/NativeRedBox';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeBugReporting from './NativeBugReporting';\n\ntype ExtraData = {[key: string]: string, ...};\ntype SourceCallback = () => string;\ntype DebugData = {\n extras: ExtraData,\n files: ExtraData,\n ...\n};\n\nfunction defaultExtras() {\n BugReporting.addFileSource('react_hierarchy.txt', () =>\n require('./dumpReactTree')(),\n );\n}\n\n/**\n * A simple class for collecting bug report data. Components can add sources that will be queried when a bug report\n * is created via `collectExtraData`. For example, a list component might add a source that provides the list of rows\n * that are currently visible on screen. Components should also remember to call `remove()` on the object that is\n * returned by `addSource` when they are unmounted.\n */\nclass BugReporting {\n static _extraSources: Map = new Map();\n static _fileSources: Map = new Map();\n static _subscription: ?EventSubscription = null;\n static _redboxSubscription: ?EventSubscription = null;\n\n static _maybeInit() {\n if (!BugReporting._subscription) {\n BugReporting._subscription = RCTDeviceEventEmitter.addListener(\n 'collectBugExtraData',\n // $FlowFixMe[method-unbinding]\n BugReporting.collectExtraData,\n null,\n );\n defaultExtras();\n }\n\n if (!BugReporting._redboxSubscription) {\n BugReporting._redboxSubscription = RCTDeviceEventEmitter.addListener(\n 'collectRedBoxExtraData',\n // $FlowFixMe[method-unbinding]\n BugReporting.collectExtraData,\n null,\n );\n }\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void, ...} {\n return this._addSource(key, callback, BugReporting._extraSources);\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addFileSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void, ...} {\n return this._addSource(key, callback, BugReporting._fileSources);\n }\n\n static _addSource(\n key: string,\n callback: SourceCallback,\n source: Map,\n ): {remove: () => void, ...} {\n BugReporting._maybeInit();\n if (source.has(key)) {\n console.warn(\n `BugReporting.add* called multiple times for same key '${key}'`,\n );\n }\n source.set(key, callback);\n return {\n remove: () => {\n source.delete(key);\n },\n };\n }\n\n /**\n * This can be called from a native bug reporting flow, or from JS code.\n *\n * If available, this will call `NativeModules.BugReporting.setExtraData(extraData)`\n * after collecting `extraData`.\n */\n static collectExtraData(): DebugData {\n const extraData: ExtraData = {};\n for (const [key, callback] of BugReporting._extraSources) {\n extraData[key] = callback();\n }\n const fileData: ExtraData = {};\n for (const [key, callback] of BugReporting._fileSources) {\n fileData[key] = callback();\n }\n\n if (NativeBugReporting != null && NativeBugReporting.setExtraData != null) {\n NativeBugReporting.setExtraData(extraData, fileData);\n }\n\n if (NativeRedBox != null && NativeRedBox.setExtraData != null) {\n NativeRedBox.setExtraData(extraData, 'From BugReporting.js');\n }\n\n return {extras: extraData, files: fileData};\n }\n}\n\nmodule.exports = BugReporting;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +setExtraData: (extraData: Object, forIdentifier: string) => void;\n +dismiss: () => void;\n}\n\nexport default (TurboModuleRegistry.get('RedBox'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +startReportAProblemFlow: () => void;\n +setExtraData: (extraData: Object, extraFiles: Object) => void;\n +setCategoryID: (categoryID: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('BugReporting'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/*\nconst getReactData = require('getReactData');\n\nconst INDENTATION_SIZE = 2;\nconst MAX_DEPTH = 2;\nconst MAX_STRING_LENGTH = 50;\n*/\n\n/**\n * Dump all React Native root views and their content. This function tries\n * it best to get the content but ultimately relies on implementation details\n * of React and will fail in future versions.\n */\nfunction dumpReactTree(): string {\n try {\n return getReactTree();\n } catch (e) {\n return 'Failed to dump react tree: ' + e;\n }\n}\n\nfunction getReactTree() {\n // TODO(sema): Reenable tree dumps using the Fiber tree structure. #15945684\n return (\n 'React tree dumps have been temporarily disabled while React is ' +\n 'upgraded to Fiber.'\n );\n /*\n let output = '';\n const rootIds = Object.getOwnPropertyNames(ReactNativeMount._instancesByContainerID);\n for (const rootId of rootIds) {\n const instance = ReactNativeMount._instancesByContainerID[rootId];\n output += `============ Root ID: ${rootId} ============\\n`;\n output += dumpNode(instance, 0);\n output += `============ End root ID: ${rootId} ============\\n`;\n }\n return output;\n*/\n}\n\n/*\nfunction dumpNode(node: Object, indentation: number) {\n const data = getReactData(node);\n if (data.nodeType === 'Text') {\n return indent(indentation) + data.text + '\\n';\n } else if (data.nodeType === 'Empty') {\n return '';\n }\n let output = indent(indentation) + `<${data.name}`;\n if (data.nodeType === 'Composite') {\n for (const propName of Object.getOwnPropertyNames(data.props || {})) {\n if (isNormalProp(propName)) {\n try {\n const value = convertValue(data.props[propName]);\n if (value) {\n output += ` ${propName}=${value}`;\n }\n } catch (e) {\n const message = `[Failed to get property: ${e}]`;\n output += ` ${propName}=${message}`;\n }\n }\n }\n }\n let childOutput = '';\n for (const child of data.children || []) {\n childOutput += dumpNode(child, indentation + 1);\n }\n\n if (childOutput) {\n output += '>\\n' + childOutput + indent(indentation) + `\\n`;\n } else {\n output += ' />\\n';\n }\n\n return output;\n}\n\nfunction isNormalProp(name: string): boolean {\n switch (name) {\n case 'children':\n case 'key':\n case 'ref':\n return false;\n default:\n return true;\n }\n}\n\nfunction convertObject(object: Object, depth: number) {\n if (depth >= MAX_DEPTH) {\n return '[...omitted]';\n }\n let output = '{';\n let first = true;\n for (const key of Object.getOwnPropertyNames(object)) {\n if (!first) {\n output += ', ';\n }\n output += `${key}: ${convertValue(object[key], depth + 1)}`;\n first = false;\n }\n return output + '}';\n}\n\nfunction convertValue(value, depth = 0): ?string {\n if (!value) {\n return null;\n }\n\n switch (typeof value) {\n case 'string':\n return JSON.stringify(possiblyEllipsis(value).replace('\\n', '\\\\n'));\n case 'boolean':\n case 'number':\n return JSON.stringify(value);\n case 'function':\n return '[function]';\n case 'object':\n return convertObject(value, depth);\n default:\n return null;\n }\n}\n\nfunction possiblyEllipsis(value: string) {\n if (value.length > MAX_STRING_LENGTH) {\n return value.slice(0, MAX_STRING_LENGTH) + '...';\n } else {\n return value;\n }\n}\n\nfunction indent(size: number) {\n return ' '.repeat(size * INDENTATION_SIZE);\n}\n*/\n\nmodule.exports = dumpReactTree;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nexport type Scene = {name: string, ...};\n\nlet _listeners: Array<(scene: Scene) => void> = [];\n\nlet _activeScene = {name: 'default'};\n\nconst SceneTracker = {\n setActiveScene(scene: Scene) {\n _activeScene = scene;\n _listeners.forEach(listener => listener(_activeScene));\n },\n\n getActiveScene(): Scene {\n return _activeScene;\n },\n\n addActiveSceneChangedListener(\n callback: (scene: Scene) => void,\n ): {remove: () => void, ...} {\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n },\n};\n\nmodule.exports = SceneTracker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nconst AppContainer = require('./AppContainer');\nimport GlobalPerformanceLogger from '../Utilities/GlobalPerformanceLogger';\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\nimport PerformanceLoggerContext from '../Utilities/PerformanceLoggerContext';\nimport type {DisplayModeType} from './DisplayMode';\nimport getCachedComponentWithDebugName from './getCachedComponentWithDebugName';\nconst React = require('react');\n\nconst invariant = require('invariant');\n\n// require BackHandler so it sets the default handler that exits the app if no listeners respond\nrequire('../Utilities/BackHandler');\n\nfunction renderApplication(\n RootComponent: React.ComponentType,\n initialProps: Props,\n rootTag: any,\n WrapperComponent?: ?React.ComponentType,\n fabric?: boolean,\n showArchitectureIndicator?: boolean,\n scopedPerformanceLogger?: IPerformanceLogger,\n isLogBox?: boolean,\n debugName?: string,\n displayMode?: ?DisplayModeType,\n useConcurrentRoot?: boolean,\n) {\n invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);\n\n const performanceLogger = scopedPerformanceLogger ?? GlobalPerformanceLogger;\n\n let renderable = (\n \n \n \n \n \n );\n\n if (__DEV__ && debugName) {\n const RootComponentWithMeaningfulName = getCachedComponentWithDebugName(\n `${debugName}(RootComponent)`,\n );\n renderable = (\n \n {renderable}\n \n );\n }\n\n performanceLogger.startTimespan('renderApplication_React_render');\n performanceLogger.setExtra('usedReactFabric', fabric ? '1' : '0');\n if (fabric) {\n require('../Renderer/shims/ReactFabric').render(\n renderable,\n rootTag,\n null,\n useConcurrentRoot,\n );\n } else {\n require('../Renderer/shims/ReactNative').render(renderable, rootTag);\n }\n performanceLogger.stopTimespan('renderApplication_React_render');\n}\n\nmodule.exports = renderApplication;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\nimport {useContext} from 'react';\nimport GlobalPerformanceLogger from './GlobalPerformanceLogger';\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\n/**\n * This is a React Context that provides a scoped instance of IPerformanceLogger.\n * We wrap every with a Provider for this context so the logger\n * should be available in every component.\n * See React docs about using Context: https://reactjs.org/docs/context.html\n */\nconst PerformanceLoggerContext: React.Context = React.createContext(\n GlobalPerformanceLogger,\n);\nif (__DEV__) {\n PerformanceLoggerContext.displayName = 'PerformanceLoggerContext';\n}\n\nexport function usePerformanceLogger(): IPerformanceLogger {\n return useContext(PerformanceLoggerContext);\n}\n\nexport default PerformanceLoggerContext;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {AbstractComponent, Node} from 'react';\n\ntype NoopComponent = AbstractComponent<{children: Node}>;\n\nconst cache: Map<\n string, // displayName\n NoopComponent, // ComponentWithDisplayName\n> = new Map();\n\nexport default function getCachedComponentWithDisplayName(\n displayName: string,\n): NoopComponent {\n let ComponentWithDisplayName = cache.get(displayName);\n\n if (!ComponentWithDisplayName) {\n ComponentWithDisplayName = ({children}) => children;\n ComponentWithDisplayName.displayName = displayName;\n cache.set(displayName, ComponentWithDisplayName);\n }\n\n return ComponentWithDisplayName;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nmodule.exports = require('../Components/UnimplementedViews/UnimplementedView');\n\ntype BackPressEventName = 'backPress' | 'hardwareBackPress';\n\nfunction emptyFunction(): void {}\n\ntype TBackHandler = {|\n +exitApp: () => void,\n +addEventListener: (\n eventName: BackPressEventName,\n handler: () => ?boolean,\n ) => {remove: () => void, ...},\n +removeEventListener: (\n eventName: BackPressEventName,\n handler: () => ?boolean,\n ) => void,\n|};\n\nlet BackHandler: TBackHandler = {\n exitApp: emptyFunction,\n addEventListener(_eventName: BackPressEventName, _handler: Function) {\n return {\n remove: emptyFunction,\n };\n },\n removeEventListener(_eventName: BackPressEventName, _handler: Function) {},\n};\n\nmodule.exports = BackHandler;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generated SignedSource<<40f01afd3b6d95a617ac8e48748a2a76>>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\n\nimport type {ReactFabricType} from './ReactNativeTypes';\n\nlet ReactFabric;\n\nif (__DEV__) {\n ReactFabric = require('../implementations/ReactFabric-dev');\n} else {\n ReactFabric = require('../implementations/ReactFabric-prod');\n}\n\nif (global.RN$Bridgeless) {\n global.RN$stopSurface = ReactFabric.stopSurface;\n} else {\n BatchedBridge.registerCallableModule('ReactFabric', ReactFabric);\n}\n\nmodule.exports = (ReactFabric: ReactFabricType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @nolint\n * @providesModule ReactFabric-prod\n * @preventMunge\n * @generated SignedSource<<5749c2b90feb6b0a0271a28ccf62b138>>\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar isArrayImpl = Array.isArray,\n getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (isArrayImpl(dispatchListener))\n throw Error(\"executeDirectDispatch(...): Invalid `event`.\");\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n this._dispatchInstances = this._dispatchListeners = null;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nObject.assign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n Object.assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = Object.assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction createOrGetPooledEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeInst\n) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw Error(\n \"Trying to release an event instance into a pool of a different type.\"\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.getPooled = createOrGetPooledEvent;\n EventConstructor.eventPool = [];\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref) throw Error(\"Touch object is missing identifier.\");\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nvar instrumentationCallback,\n ResponderTouchHistoryStore = {\n instrument: function(callback) {\n instrumentationCallback = callback;\n },\n recordTouchTrack: function(topLevelType, nativeEvent) {\n null != instrumentationCallback &&\n instrumentationCallback(topLevelType, nativeEvent);\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (\n topLevelType = 0;\n topLevelType < touchBank.length;\n topLevelType++\n )\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n };\nfunction accumulate(current, next) {\n if (null == next)\n throw Error(\n \"accumulate(...): Accumulated items must not be null or undefined.\"\n );\n return null == current\n ? next\n : isArrayImpl(current)\n ? current.concat(next)\n : isArrayImpl(next)\n ? [current].concat(next)\n : [current, next];\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n );\n if (null == current) return next;\n if (isArrayImpl(current)) {\n if (isArrayImpl(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return isArrayImpl(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: { registrationName: \"onResponderReject\", dependencies: [] },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n};\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction getListener(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nvar ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else return null;\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var shouldSetEventType = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp = getParent(JSCompiler_temp)), depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp === targetInst ||\n JSCompiler_temp === targetInst.alternate\n )\n break b;\n JSCompiler_temp = getParent(JSCompiler_temp);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp = null;\n }\n else JSCompiler_temp = targetInst;\n targetInst = JSCompiler_temp;\n JSCompiler_temp = targetInst === responderInst;\n shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n JSCompiler_temp\n ? forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = shouldSetEventType._dispatchListeners;\n targetInst = shouldSetEventType._dispatchInstances;\n if (isArrayImpl(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !shouldSetEventType.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](shouldSetEventType, targetInst[depthA])\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(shouldSetEventType, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n shouldSetEventType._dispatchInstances = null;\n shouldSetEventType._dispatchListeners = null;\n shouldSetEventType.isPersistent() ||\n shouldSetEventType.constructor.release(shouldSetEventType);\n if (JSCompiler_temp && JSCompiler_temp !== responderInst)\n if (\n ((shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (targetInst = !0 === executeDirectDispatch(shouldSetEventType)),\n responderInst)\n )\n if (\n ((depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (depthA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle),\n (tempA =\n !depthA._dispatchListeners || executeDirectDispatch(depthA)),\n depthA.isPersistent() || depthA.constructor.release(depthA),\n tempA)\n ) {\n depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n );\n depthA.touchHistory = ResponderTouchHistoryStore.touchHistory;\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle);\n var JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [shouldSetEventType, depthA]\n );\n changeResponder(JSCompiler_temp, targetInst);\n } else\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n else\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n )),\n changeResponder(JSCompiler_temp, targetInst);\n else JSCompiler_temp$jscomp$0 = null;\n } else JSCompiler_temp$jscomp$0 = null;\n shouldSetEventType = responderInst && isStartish(topLevelType);\n JSCompiler_temp = responderInst && isMoveish(topLevelType);\n targetInst =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (shouldSetEventType = shouldSetEventType\n ? eventTypes.responderStart\n : JSCompiler_temp\n ? eventTypes.responderMove\n : targetInst\n ? eventTypes.responderEnd\n : null)\n )\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n shouldSetEventType = responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !shouldSetEventType &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (\n JSCompiler_temp = 0;\n JSCompiler_temp < topLevelType.length;\n JSCompiler_temp++\n )\n if (\n ((targetInst = topLevelType[JSCompiler_temp].target),\n null !== targetInst &&\n void 0 !== targetInst &&\n 0 !== targetInst)\n ) {\n depthA = getInstanceFromNode(targetInst);\n b: {\n for (targetInst = responderInst; depthA; ) {\n if (\n targetInst === depthA ||\n targetInst === depthA.alternate\n ) {\n targetInst = !0;\n break b;\n }\n depthA = getParent(depthA);\n }\n targetInst = !1;\n }\n if (targetInst) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = shouldSetEventType\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n nativeEvent\n )),\n changeResponder(null);\n return JSCompiler_temp$jscomp$0;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (!(-1 < pluginIndex))\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n pluginName +\n \"`.\"\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n pluginName +\n \"` does not.\"\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same event name, `\" +\n eventName$jscomp$0 +\n \"`.\"\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same registration name, `\" +\n registrationName +\n \"`.\"\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction getListener$1(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nvar customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\nfunction accumulateDirectionalDispatches$1(inst, phase, event) {\n if (\n (phase = getListener$1(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateTwoPhaseDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n for (var inst = event._targetInst, path = []; inst; ) {\n path.push(inst);\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n inst = inst ? inst : null;\n }\n for (inst = path.length; 0 < inst--; )\n accumulateDirectionalDispatches$1(path[inst], \"captured\", event);\n for (inst = 0; inst < path.length; inst++)\n accumulateDirectionalDispatches$1(path[inst], \"bubbled\", event);\n }\n}\nfunction accumulateDirectDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener$1(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nif (eventPluginOrder)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n );\neventPluginOrder = Array.prototype.slice.call([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\nrecomputePluginOrdering();\nvar injectedNamesToPlugins$jscomp$inline_216 = {\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n forEachAccumulated(\n topLevelType,\n accumulateTwoPhaseDispatchesSingle$1\n );\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle$1);\n else return null;\n return topLevelType;\n }\n }\n },\n isOrderingDirty$jscomp$inline_217 = !1,\n pluginName$jscomp$inline_218;\nfor (pluginName$jscomp$inline_218 in injectedNamesToPlugins$jscomp$inline_216)\n if (\n injectedNamesToPlugins$jscomp$inline_216.hasOwnProperty(\n pluginName$jscomp$inline_218\n )\n ) {\n var pluginModule$jscomp$inline_219 =\n injectedNamesToPlugins$jscomp$inline_216[pluginName$jscomp$inline_218];\n if (\n !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_218) ||\n namesToPlugins[pluginName$jscomp$inline_218] !==\n pluginModule$jscomp$inline_219\n ) {\n if (namesToPlugins[pluginName$jscomp$inline_218])\n throw Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n pluginName$jscomp$inline_218 +\n \"`.\"\n );\n namesToPlugins[\n pluginName$jscomp$inline_218\n ] = pluginModule$jscomp$inline_219;\n isOrderingDirty$jscomp$inline_217 = !0;\n }\n }\nisOrderingDirty$jscomp$inline_217 && recomputePluginOrdering();\nfunction getInstanceFromInstance(instanceHandle) {\n return instanceHandle;\n}\ngetFiberCurrentPropsFromNode = function(inst) {\n return inst.canonical.currentProps;\n};\ngetInstanceFromNode = getInstanceFromInstance;\ngetNodeFromInstance = function(inst) {\n inst = inst.stateNode.canonical;\n if (!inst._nativeTag) throw Error(\"All native instances should have a tag.\");\n return inst;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n var fromOrTo = from || to;\n (fromOrTo = fromOrTo && fromOrTo.stateNode) &&\n fromOrTo.canonical._internalInstanceHandle\n ? (from &&\n nativeFabricUIManager.setIsJSResponder(\n from.stateNode.node,\n !1,\n blockNativeResponder || !1\n ),\n to &&\n nativeFabricUIManager.setIsJSResponder(\n to.stateNode.node,\n !0,\n blockNativeResponder || !1\n ))\n : null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode.canonical._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n REACT_ELEMENT_TYPE = 60103,\n REACT_PORTAL_TYPE = 60106,\n REACT_FRAGMENT_TYPE = 60107,\n REACT_STRICT_MODE_TYPE = 60108,\n REACT_PROFILER_TYPE = 60114,\n REACT_PROVIDER_TYPE = 60109,\n REACT_CONTEXT_TYPE = 60110,\n REACT_FORWARD_REF_TYPE = 60112,\n REACT_SUSPENSE_TYPE = 60113,\n REACT_SUSPENSE_LIST_TYPE = 60120,\n REACT_MEMO_TYPE = 60115,\n REACT_LAZY_TYPE = 60116,\n REACT_DEBUG_TRACING_MODE_TYPE = 60129,\n REACT_OFFSCREEN_TYPE = 60130,\n REACT_LEGACY_HIDDEN_TYPE = 60131,\n REACT_CACHE_TYPE = 60132;\nif (\"function\" === typeof Symbol && Symbol.for) {\n var symbolFor = Symbol.for;\n REACT_ELEMENT_TYPE = symbolFor(\"react.element\");\n REACT_PORTAL_TYPE = symbolFor(\"react.portal\");\n REACT_FRAGMENT_TYPE = symbolFor(\"react.fragment\");\n REACT_STRICT_MODE_TYPE = symbolFor(\"react.strict_mode\");\n REACT_PROFILER_TYPE = symbolFor(\"react.profiler\");\n REACT_PROVIDER_TYPE = symbolFor(\"react.provider\");\n REACT_CONTEXT_TYPE = symbolFor(\"react.context\");\n REACT_FORWARD_REF_TYPE = symbolFor(\"react.forward_ref\");\n REACT_SUSPENSE_TYPE = symbolFor(\"react.suspense\");\n REACT_SUSPENSE_LIST_TYPE = symbolFor(\"react.suspense_list\");\n REACT_MEMO_TYPE = symbolFor(\"react.memo\");\n REACT_LAZY_TYPE = symbolFor(\"react.lazy\");\n symbolFor(\"react.scope\");\n REACT_DEBUG_TRACING_MODE_TYPE = symbolFor(\"react.debug_trace_mode\");\n REACT_OFFSCREEN_TYPE = symbolFor(\"react.offscreen\");\n REACT_LEGACY_HIDDEN_TYPE = symbolFor(\"react.legacy_hidden\");\n REACT_CACHE_TYPE = symbolFor(\"react.cache\");\n}\nvar MAYBE_ITERATOR_SYMBOL = \"function\" === typeof Symbol && Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_CACHE_TYPE:\n return \"Cache\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Consumer\";\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nfunction getComponentNameFromFiber(fiber) {\n var type = fiber.type;\n switch (fiber.tag) {\n case 24:\n return \"Cache\";\n case 9:\n return (type.displayName || \"Context\") + \".Consumer\";\n case 10:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case 18:\n return \"DehydratedFragment\";\n case 11:\n return (\n (fiber = type.render),\n (fiber = fiber.displayName || fiber.name || \"\"),\n type.displayName ||\n (\"\" !== fiber ? \"ForwardRef(\" + fiber + \")\" : \"ForwardRef\")\n );\n case 7:\n return \"Fragment\";\n case 5:\n return type;\n case 4:\n return \"Portal\";\n case 3:\n return \"Root\";\n case 6:\n return \"Text\";\n case 16:\n return getComponentNameFromType(type);\n case 23:\n return \"LegacyHidden\";\n case 8:\n return type === REACT_STRICT_MODE_TYPE ? \"StrictMode\" : \"Mode\";\n case 22:\n return \"Offscreen\";\n case 12:\n return \"Profiler\";\n case 21:\n return \"Scope\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 1:\n case 0:\n case 17:\n case 2:\n case 14:\n case 15:\n if (\"function\" === typeof type)\n return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n }\n return null;\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 2050) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(\"Unable to find node on an unmounted component.\");\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate)\n throw Error(\"Unable to find node on an unmounted component.\");\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) {\n for (child$0 = parentB.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild)\n throw Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n );\n }\n }\n if (a.alternate !== b)\n throw Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (3 !== a.tag)\n throw Error(\"Unable to find node on an unmounted component.\");\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n return null !== parent ? findCurrentHostFiberImpl(parent) : null;\n}\nfunction findCurrentHostFiberImpl(node) {\n if (5 === node.tag || 6 === node.tag) return node;\n for (node = node.child; null !== node; ) {\n var match = findCurrentHostFiberImpl(node);\n if (null !== match) return match;\n node = node.sibling;\n }\n return null;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0,\n deepDifferOptions = { unsafelyIgnoreFunctions: !0 };\nfunction defaultDiffer(prevProp, nextProp) {\n return \"object\" !== typeof nextProp || null === nextProp\n ? !0\n : ReactNativePrivateInterface.deepDiffer(\n prevProp,\n nextProp,\n deepDifferOptions\n );\n}\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (isArrayImpl(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return isArrayImpl(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!isArrayImpl(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!isArrayImpl(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n defaultDiffer(prevProp, nextProp) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : defaultDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var propKey$2 in prevProps)\n void 0 === nextProps[propKey$2] &&\n (!(attributeConfig = validAttributes[propKey$2]) ||\n (updatePayload && void 0 !== updatePayload[propKey$2]) ||\n ((prevProp = prevProps[propKey$2]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[propKey$2] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[propKey$2] ||\n ((removedKeys[propKey$2] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n isInsideEventHandler = !1;\n }\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (isArrayImpl(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nfunction dispatchEvent(target, topLevelType, nativeEvent) {\n var eventTarget = null;\n if (null != target) {\n var stateNode = target.stateNode;\n null != stateNode && (eventTarget = stateNode.canonical);\n }\n batchedUpdates(function() {\n var JSCompiler_inline_result = eventTarget;\n for (\n var events = null, legacyPlugins = plugins, i = 0;\n i < legacyPlugins.length;\n i++\n ) {\n var possiblePlugin = legacyPlugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n target,\n nativeEvent,\n JSCompiler_inline_result\n )) &&\n (events = accumulateInto(events, possiblePlugin));\n }\n JSCompiler_inline_result = events;\n null !== JSCompiler_inline_result &&\n (eventQueue = accumulateInto(eventQueue, JSCompiler_inline_result));\n JSCompiler_inline_result = eventQueue;\n eventQueue = null;\n if (JSCompiler_inline_result) {\n forEachAccumulated(\n JSCompiler_inline_result,\n executeDispatchesAndReleaseTopLevel\n );\n if (eventQueue)\n throw Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n );\n if (hasRethrowError)\n throw ((JSCompiler_inline_result = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n JSCompiler_inline_result);\n }\n });\n}\nvar scheduleCallback = Scheduler.unstable_scheduleCallback,\n cancelCallback = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority = Scheduler.unstable_NormalPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n rendererID = null,\n injectedHook = null;\nfunction onCommitRoot(root) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n try {\n injectedHook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 128 === (root.current.flags & 128)\n );\n } catch (err) {}\n}\nvar nextTransitionLane = 64,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 4194240;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return lanes & 130023424;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 1073741824;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n nonIdlePendingLanes = pendingLanes & 268435455;\n if (0 !== nonIdlePendingLanes) {\n var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;\n 0 !== nonIdleUnblockedLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes)));\n } else\n (nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes));\n if (0 === nextLanes) return 0;\n if (\n 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (pingedLanes = wipLanes & -wipLanes),\n suspendedLanes >= pingedLanes ||\n (16 === suspendedLanes && 0 !== (pingedLanes & 4194240)))\n )\n return wipLanes;\n 0 !== (nextLanes & 4) && (nextLanes |= pendingLanes & 16);\n wipLanes = root.entangledLanes;\n if (0 !== wipLanes)\n for (root = root.entanglements, wipLanes &= nextLanes; 0 < wipLanes; )\n (pendingLanes = 31 - clz32(wipLanes)),\n (suspendedLanes = 1 << pendingLanes),\n (nextLanes |= root[pendingLanes]),\n (wipLanes &= ~suspendedLanes);\n return nextLanes;\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n return currentTime + 250;\n case 8:\n case 16:\n case 32:\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return -1;\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction getLanesToRetrySynchronouslyOnError(root) {\n root = root.pendingLanes & -1073741825;\n return 0 !== root ? root : root & 1073741824 ? 1073741824 : 0;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated(root, updateLane, eventTime) {\n root.pendingLanes |= updateLane;\n 536870912 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0));\n root = root.eventTimes;\n updateLane = 31 - clz32(updateLane);\n root[updateLane] = eventTime;\n}\nfunction markRootFinished(root, remainingLanes) {\n var noLongerPendingLanes = root.pendingLanes & ~remainingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.mutableReadLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n remainingLanes = root.entanglements;\n var eventTimes = root.eventTimes;\n for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {\n var index$7 = 31 - clz32(noLongerPendingLanes),\n lane = 1 << index$7;\n remainingLanes[index$7] = 0;\n eventTimes[index$7] = -1;\n root[index$7] = -1;\n noLongerPendingLanes &= ~lane;\n }\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$8 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$8;\n (lane & entangledLanes) | (root[index$8] & entangledLanes) &&\n (root[index$8] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(lanes) {\n return 0 === lanes ? 32 : (31 - ((log(lanes) / LN2) | 0)) | 0;\n}\nvar currentUpdatePriority = 0;\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 1 < lanes\n ? 4 < lanes\n ? 0 !== (lanes & 268435455)\n ? 16\n : 536870912\n : 4\n : 1;\n}\nfunction shim() {\n throw Error(\n \"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction shim$1() {\n throw Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nvar _nativeFabricUIManage = nativeFabricUIManager,\n createNode = _nativeFabricUIManage.createNode,\n cloneNode = _nativeFabricUIManage.cloneNode,\n cloneNodeWithNewChildren = _nativeFabricUIManage.cloneNodeWithNewChildren,\n cloneNodeWithNewChildrenAndProps =\n _nativeFabricUIManage.cloneNodeWithNewChildrenAndProps,\n cloneNodeWithNewProps = _nativeFabricUIManage.cloneNodeWithNewProps,\n createChildNodeSet = _nativeFabricUIManage.createChildSet,\n appendChildNode = _nativeFabricUIManage.appendChild,\n appendChildNodeToSet = _nativeFabricUIManage.appendChildToSet,\n completeRoot = _nativeFabricUIManage.completeRoot,\n registerEventHandler = _nativeFabricUIManage.registerEventHandler,\n fabricMeasure = _nativeFabricUIManage.measure,\n fabricMeasureInWindow = _nativeFabricUIManage.measureInWindow,\n fabricMeasureLayout = _nativeFabricUIManage.measureLayout,\n FabricDiscretePriority = _nativeFabricUIManage.unstable_DiscreteEventPriority,\n fabricGetCurrentEventPriority =\n _nativeFabricUIManage.unstable_getCurrentEventPriority,\n getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n nextReactTag = 2;\nregisterEventHandler && registerEventHandler(dispatchEvent);\nvar ReactFabricHostComponent = (function() {\n function ReactFabricHostComponent(\n tag,\n viewConfig,\n props,\n internalInstanceHandle\n ) {\n this._nativeTag = tag;\n this.viewConfig = viewConfig;\n this.currentProps = props;\n this._internalInstanceHandle = internalInstanceHandle;\n }\n var _proto = ReactFabricHostComponent.prototype;\n _proto.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this);\n };\n _proto.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this);\n };\n _proto.measure = function(callback) {\n fabricMeasure(\n this._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureInWindow = function(callback) {\n fabricMeasureInWindow(\n this._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureLayout = function(relativeToNativeNode, onSuccess, onFail) {\n \"number\" !== typeof relativeToNativeNode &&\n relativeToNativeNode instanceof ReactFabricHostComponent &&\n fabricMeasureLayout(\n this._internalInstanceHandle.stateNode.node,\n relativeToNativeNode._internalInstanceHandle.stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n };\n _proto.setNativeProps = function() {};\n return ReactFabricHostComponent;\n})();\nfunction createTextInstance(\n text,\n rootContainerInstance,\n hostContext,\n internalInstanceHandle\n) {\n if (!hostContext.isInAParentText)\n throw Error(\"Text strings must be rendered within a component.\");\n hostContext = nextReactTag;\n nextReactTag += 2;\n return {\n node: createNode(\n hostContext,\n \"RCTRawText\",\n rootContainerInstance,\n { text: text },\n internalInstanceHandle\n )\n };\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout;\nfunction cloneHiddenInstance(instance) {\n var node = instance.node;\n var JSCompiler_inline_result = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n instance.canonical.viewConfig.validAttributes\n );\n return {\n node: cloneNodeWithNewProps(node, JSCompiler_inline_result),\n canonical: instance.canonical\n };\n}\nfunction describeComponentFrame(name, source, ownerName) {\n source = \"\";\n ownerName && (source = \" (created by \" + ownerName + \")\");\n return \"\\n in \" + (name || \"Unknown\") + source;\n}\nfunction describeFunctionComponentFrame(fn, source) {\n return fn\n ? describeComponentFrame(fn.displayName || fn.name || null, source, null)\n : \"\";\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = createCursor(emptyContextObject),\n didPerformWorkStackCursor = createCursor(!1),\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext() {\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n );\n push(contextStackCursor, context);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n type = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in type))\n throw Error(\n (getComponentNameFromFiber(fiber) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n );\n return Object.assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n workInProgress =\n ((workInProgress = workInProgress.stateNode) &&\n workInProgress.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didPerformWorkStackCursor.current);\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n );\n didChange\n ? ((workInProgress = processChildContext(\n workInProgress,\n type,\n previousContext\n )),\n (instance.__reactInternalMemoizedMergedChildContext = workInProgress),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n push(contextStackCursor, workInProgress))\n : pop(didPerformWorkStackCursor);\n push(didPerformWorkStackCursor, didChange);\n}\nvar syncQueue = null,\n includesLegacySyncCallbacks = !1,\n isFlushingSyncQueue = !1;\nfunction flushSyncCallbacks() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0,\n previousUpdatePriority = currentUpdatePriority;\n try {\n var queue = syncQueue;\n for (currentUpdatePriority = 1; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n syncQueue = null;\n includesLegacySyncCallbacks = !1;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n error);\n } finally {\n (currentUpdatePriority = previousUpdatePriority),\n (isFlushingSyncQueue = !1);\n }\n }\n return null;\n}\nvar ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++)\n if (\n !hasOwnProperty.call(objB, keysA[keysB]) ||\n !objectIs(objA[keysA[keysB]], objB[keysA[keysB]])\n )\n return !1;\n return !0;\n}\nfunction describeFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return describeComponentFrame(fiber.type, null, null);\n case 16:\n return describeComponentFrame(\"Lazy\", null, null);\n case 13:\n return describeComponentFrame(\"Suspense\", null, null);\n case 19:\n return describeComponentFrame(\"SuspenseList\", null, null);\n case 0:\n case 2:\n case 15:\n return describeFunctionComponentFrame(fiber.type, null);\n case 11:\n return describeFunctionComponentFrame(fiber.type.render, null);\n case 1:\n return (fiber = describeFunctionComponentFrame(fiber.type, null)), fiber;\n default:\n return \"\";\n }\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = Object.assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n return baseProps;\n }\n return baseProps;\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastFullyObservedContext = null;\nfunction resetContextDependencies() {\n lastFullyObservedContext = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction popProvider(context) {\n var currentValue = valueCursor.current;\n pop(valueCursor);\n context._currentValue2 = currentValue;\n}\nfunction scheduleWorkOnParentPath(parent, renderLanes) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n if ((parent.childLanes & renderLanes) === renderLanes)\n if (\n null === alternate ||\n (alternate.childLanes & renderLanes) === renderLanes\n )\n break;\n else alternate.childLanes |= renderLanes;\n else\n (parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes);\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderLanes) {\n currentlyRenderingFiber = workInProgress;\n lastFullyObservedContext = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (0 !== (workInProgress.lanes & renderLanes) && (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context) {\n var value = context._currentValue2;\n if (lastFullyObservedContext !== context)\n if (\n ((context = { context: context, memoizedValue: value, next: null }),\n null === lastContextDependency)\n ) {\n if (null === currentlyRenderingFiber)\n throw Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n lastContextDependency = context;\n currentlyRenderingFiber.dependencies = {\n lanes: 0,\n firstContext: context\n };\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar interleavedQueues = null,\n hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, interleaved: null, lanes: 0 },\n effects: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n effects: current.effects\n });\n}\nfunction createUpdate(eventTime, lane) {\n return {\n eventTime: eventTime,\n lane: lane,\n tag: 0,\n payload: null,\n callback: null,\n next: null\n };\n}\nfunction enqueueUpdate(fiber, update) {\n var updateQueue = fiber.updateQueue;\n null !== updateQueue &&\n ((updateQueue = updateQueue.shared),\n null !== workInProgressRoot &&\n 0 !== (fiber.mode & 1) &&\n 0 === (executionContext & 8)\n ? ((fiber = updateQueue.interleaved),\n null === fiber\n ? ((update.next = update),\n null === interleavedQueues\n ? (interleavedQueues = [updateQueue])\n : interleavedQueues.push(updateQueue))\n : ((update.next = fiber.next), (fiber.next = update)),\n (updateQueue.interleaved = update))\n : ((fiber = updateQueue.pending),\n null === fiber\n ? (update.next = update)\n : ((update.next = fiber.next), (fiber.next = update)),\n (updateQueue.pending = update)));\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194240))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n eventTime: queue.eventTime,\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: queue.callback,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n effects: current.effects\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance,\n renderLanes\n) {\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane,\n updateEventTime = pendingQueue.eventTime;\n if ((renderLanes & updateLane) === updateLane) {\n null !== current &&\n (current = current.next = {\n eventTime: updateEventTime,\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n updateEventTime = instance;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(\n updateEventTime,\n newState,\n updateLane\n );\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -16385) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(updateEventTime, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = Object.assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n null !== pendingQueue.callback &&\n 0 !== pendingQueue.lane &&\n ((workInProgress$jscomp$0.flags |= 64),\n (updateLane = queue.effects),\n null === updateLane\n ? (queue.effects = [pendingQueue])\n : updateLane.push(pendingQueue));\n } else\n (updateEventTime = {\n eventTime: updateEventTime,\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = updateEventTime),\n (lastPendingUpdate = newState))\n : (current = current.next = updateEventTime),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (updateLane = pendingQueue),\n (pendingQueue = updateLane.next),\n (updateLane.next = null),\n (queue.lastBaseUpdate = updateLane),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n props = queue.shared.interleaved;\n if (null !== props) {\n queue = props;\n do (lastBaseUpdate |= queue.lane), (queue = queue.next);\n while (queue !== props);\n } else null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n finishedWork = finishedQueue.effects;\n finishedQueue.effects = null;\n if (null !== finishedWork)\n for (\n finishedQueue = 0;\n finishedQueue < finishedWork.length;\n finishedQueue++\n ) {\n var effect = finishedWork[finishedQueue],\n callback = effect.callback;\n if (null !== callback) {\n effect.callback = null;\n if (\"function\" !== typeof callback)\n throw Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n callback\n );\n callback.call(instance);\n }\n }\n}\nvar emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : Object.assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternals)\n ? getNearestMountedFiber(component) === component\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n payload = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== payload && entangleTransitions(payload, inst, lane);\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n payload = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== payload && entangleTransitions(payload, inst, lane);\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n enqueueUpdate(inst, update);\n callback = scheduleUpdateOnFiber(inst, lane, eventTime);\n null !== callback && entangleTransitions(callback, inst, lane);\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternals = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(workInProgress, ctor, newProps, renderLanes) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n initializeUpdateQueue(workInProgress);\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n instance.state = workInProgress.memoizedState;\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n processUpdateQueue(workInProgress, newProps, instance, renderLanes),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4);\n}\nfunction coerceRef(returnFiber, current, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n if (element) {\n if (1 !== element.tag)\n throw Error(\n \"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\"\n );\n var inst = element.stateNode;\n }\n if (!inst)\n throw Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n );\n var stringRef = \"\" + returnFiber;\n if (\n null !== current &&\n null !== current.ref &&\n \"function\" === typeof current.ref &&\n current.ref._stringRef === stringRef\n )\n return current.ref;\n current = function(value) {\n var refs = inst.refs;\n refs === emptyRefsObject && (refs = inst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current._stringRef = stringRef;\n return current;\n }\n if (\"string\" !== typeof returnFiber)\n throw Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n );\n if (!element._owner)\n throw Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://reactjs.org/link/refs-must-have-owner for more information.\"\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects) return lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 2);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n );\n if (null !== current && current.elementType === elementType)\n return (\n (lanes = useFiber(current, element.props)),\n (lanes.ref = coerceRef(returnFiber, current, element)),\n (lanes.return = returnFiber),\n lanes\n );\n lanes = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n lanes.ref = coerceRef(returnFiber, current, element);\n lanes.return = returnFiber;\n return lanes;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(returnFiber, null, newChild)),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n lanes\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw Error(\"An iterable object provided no iterator.\");\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n return function(returnFiber, currentFirstChild, newChild, lanes) {\n var isUnkeyedTopLevelFragment =\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key;\n isUnkeyedTopLevelFragment && (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n var key = newChild.key;\n for (\n isUnkeyedTopLevelFragment = currentFirstChild;\n null !== isUnkeyedTopLevelFragment;\n\n ) {\n if (isUnkeyedTopLevelFragment.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === isUnkeyedTopLevelFragment.tag) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.props.children\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n } else if (isUnkeyedTopLevelFragment.elementType === key) {\n deleteRemainingChildren(\n returnFiber,\n isUnkeyedTopLevelFragment.sibling\n );\n currentFirstChild = useFiber(\n isUnkeyedTopLevelFragment,\n newChild.props\n );\n currentFirstChild.ref = coerceRef(\n returnFiber,\n isUnkeyedTopLevelFragment,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, isUnkeyedTopLevelFragment);\n break;\n } else deleteChild(returnFiber, isUnkeyedTopLevelFragment);\n isUnkeyedTopLevelFragment = isUnkeyedTopLevelFragment.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (\n isUnkeyedTopLevelFragment = newChild.key;\n null !== currentFirstChild;\n\n ) {\n if (currentFirstChild.key === isUnkeyedTopLevelFragment)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || []\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n if (\"string\" === typeof newChild || \"number\" === typeof newChild)\n return (\n (newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(currentFirstChild, newChild)),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber)\n );\n if (\"undefined\" === typeof newChild && !isUnkeyedTopLevelFragment)\n switch (returnFiber.tag) {\n case 1:\n case 0:\n case 11:\n case 15:\n throw Error(\n (getComponentNameFromFiber(returnFiber) || \"Component\") +\n \"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.\"\n );\n }\n return deleteRemainingChildren(returnFiber, currentFirstChild);\n };\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = createCursor(NO_CONTEXT),\n contextFiberStackCursor = createCursor(NO_CONTEXT),\n rootInstanceStackCursor = createCursor(NO_CONTEXT);\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor$1, NO_CONTEXT);\n pop(contextStackCursor$1);\n push(contextStackCursor$1, { isInAParentText: !1 });\n}\nfunction popHostContainer() {\n pop(contextStackCursor$1);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var JSCompiler_inline_result = fiber.type;\n JSCompiler_inline_result =\n \"AndroidTextInput\" === JSCompiler_inline_result ||\n \"RCTMultilineTextInputView\" === JSCompiler_inline_result ||\n \"RCTSinglelineTextInputView\" === JSCompiler_inline_result ||\n \"RCTText\" === JSCompiler_inline_result ||\n \"RCTVirtualText\" === JSCompiler_inline_result;\n JSCompiler_inline_result =\n context.isInAParentText !== JSCompiler_inline_result\n ? { isInAParentText: JSCompiler_inline_result }\n : context;\n context !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor$1, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1), pop(contextFiberStackCursor));\n}\nvar suspenseStackCursor = createCursor(0);\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (null !== state && (null === state.dehydrated || shim$1() || shim$1()))\n return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar workInProgressSources = [];\nfunction resetWorkInProgressVersions() {\n for (var i = 0; i < workInProgressSources.length; i++)\n workInProgressSources[i]._workInProgressVersionSecondary = null;\n workInProgressSources.length = 0;\n}\nvar ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig,\n renderLanes = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\nfunction throwInvalidHookError() {\n throw Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber$1 = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactCurrentDispatcher$1.current =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n current = Component(props, secondArg);\n if (didScheduleRenderPhaseUpdateDuringThisPass) {\n nextRenderLanes = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (!(25 > nextRenderLanes))\n throw Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n );\n nextRenderLanes += 1;\n workInProgressHook = currentHook = null;\n workInProgress.updateQueue = null;\n ReactCurrentDispatcher$1.current = HooksDispatcherOnRerender;\n current = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n workInProgress = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdate = !1;\n if (workInProgress)\n throw Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n );\n return current;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber$1.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber$1.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook)\n throw Error(\"Rendered more hooks than during the previous render.\");\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var current = currentHook,\n baseQueue = current.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n if (null !== baseQueue) {\n pendingQueue = baseQueue.next;\n current = current.baseState;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = pendingQueue;\n do {\n var updateLane = update.lane;\n if ((renderLanes & updateLane) === updateLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next = {\n lane: 0,\n action: update.action,\n eagerReducer: update.eagerReducer,\n eagerState: update.eagerState,\n next: null\n }),\n (current =\n update.eagerReducer === reducer\n ? update.eagerState\n : reducer(current, update.action));\n else {\n var clone = {\n lane: updateLane,\n action: update.action,\n eagerReducer: update.eagerReducer,\n eagerState: update.eagerState,\n next: null\n };\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = clone),\n (baseFirst = current))\n : (newBaseQueueLast = newBaseQueueLast.next = clone);\n currentlyRenderingFiber$1.lanes |= updateLane;\n workInProgressRootSkippedLanes |= updateLane;\n }\n update = update.next;\n } while (null !== update && update !== pendingQueue);\n null === newBaseQueueLast\n ? (baseFirst = current)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n objectIs(current, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = current;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = current;\n }\n reducer = queue.interleaved;\n if (null !== reducer) {\n baseQueue = reducer;\n do\n (pendingQueue = baseQueue.lane),\n (currentlyRenderingFiber$1.lanes |= pendingQueue),\n (workInProgressRootSkippedLanes |= pendingQueue),\n (baseQueue = baseQueue.next);\n while (baseQueue !== reducer);\n } else null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction readFromUnsubcribedMutableSource(root, source, getSnapshot) {\n var getVersion = source._getVersion;\n getVersion = getVersion(source._source);\n var JSCompiler_inline_result = source._workInProgressVersionSecondary;\n if (null !== JSCompiler_inline_result)\n root = JSCompiler_inline_result === getVersion;\n else if (\n ((root = root.mutableReadLanes), (root = (renderLanes & root) === root))\n )\n (source._workInProgressVersionSecondary = getVersion),\n workInProgressSources.push(source);\n if (root) return getSnapshot(source._source);\n workInProgressSources.push(source);\n throw Error(\n \"Cannot read from mutable source during the current render without tearing. This may be a bug in React. Please file an issue.\"\n );\n}\nfunction useMutableSource(hook, source, getSnapshot, subscribe) {\n var root = workInProgressRoot;\n if (null === root)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n var getVersion = source._getVersion,\n version = getVersion(source._source),\n dispatcher = ReactCurrentDispatcher$1.current,\n _dispatcher$useState = dispatcher.useState(function() {\n return readFromUnsubcribedMutableSource(root, source, getSnapshot);\n }),\n setSnapshot = _dispatcher$useState[1],\n snapshot = _dispatcher$useState[0];\n _dispatcher$useState = workInProgressHook;\n var memoizedState = hook.memoizedState,\n refs = memoizedState.refs,\n prevGetSnapshot = refs.getSnapshot,\n prevSource = memoizedState.source;\n memoizedState = memoizedState.subscribe;\n var fiber = currentlyRenderingFiber$1;\n hook.memoizedState = { refs: refs, source: source, subscribe: subscribe };\n dispatcher.useEffect(\n function() {\n refs.getSnapshot = getSnapshot;\n refs.setSnapshot = setSnapshot;\n var maybeNewVersion = getVersion(source._source);\n objectIs(version, maybeNewVersion) ||\n ((maybeNewVersion = getSnapshot(source._source)),\n objectIs(snapshot, maybeNewVersion) ||\n (setSnapshot(maybeNewVersion),\n (maybeNewVersion = requestUpdateLane(fiber)),\n (root.mutableReadLanes |= maybeNewVersion & root.pendingLanes)),\n markRootEntangled(root, root.mutableReadLanes));\n },\n [getSnapshot, source, subscribe]\n );\n dispatcher.useEffect(\n function() {\n return subscribe(source._source, function() {\n var latestGetSnapshot = refs.getSnapshot,\n latestSetSnapshot = refs.setSnapshot;\n try {\n latestSetSnapshot(latestGetSnapshot(source._source));\n var lane = requestUpdateLane(fiber);\n root.mutableReadLanes |= lane & root.pendingLanes;\n } catch (error) {\n latestSetSnapshot(function() {\n throw error;\n });\n }\n });\n },\n [source, subscribe]\n );\n (objectIs(prevGetSnapshot, getSnapshot) &&\n objectIs(prevSource, source) &&\n objectIs(memoizedState, subscribe)) ||\n ((hook = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: snapshot\n }),\n (hook.dispatch = setSnapshot = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n hook\n )),\n (_dispatcher$useState.queue = hook),\n (_dispatcher$useState.baseQueue = null),\n (snapshot = readFromUnsubcribedMutableSource(root, source, getSnapshot)),\n (_dispatcher$useState.memoizedState = _dispatcher$useState.baseState = snapshot));\n return snapshot;\n}\nfunction updateMutableSource(source, getSnapshot, subscribe) {\n var hook = updateWorkInProgressHook();\n return useMutableSource(hook, source, getSnapshot, subscribe);\n}\nfunction mountState(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = hook.queue = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n initialState = initialState.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n create = currentlyRenderingFiber$1.updateQueue;\n null === create\n ? ((create = { lastEffect: null }),\n (currentlyRenderingFiber$1.updateQueue = create),\n (create.lastEffect = tag.next = tag))\n : ((destroy = create.lastEffect),\n null === destroy\n ? (create.lastEffect = tag.next = tag)\n : ((deps = destroy.next),\n (destroy.next = tag),\n (tag.next = deps),\n (create.lastEffect = tag)));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(\n 1 | hookFlags,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n hook.memoizedState = pushEffect(hookFlags, create, destroy, deps);\n return;\n }\n }\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);\n}\nfunction mountEffect(create, deps) {\n return mountEffectImpl(1049600, 4, create, deps);\n}\nfunction updateEffect(create, deps) {\n return updateEffectImpl(1024, 4, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n 2,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n}\nfunction startTransition(setPending, callback) {\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority =\n 0 !== previousPriority && 4 > previousPriority ? previousPriority : 4;\n setPending(!0);\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setPending(!1), callback();\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$1.transition = prevTransition);\n }\n}\nfunction dispatchAction(fiber, queue, action) {\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(fiber),\n update = {\n lane: lane,\n action: action,\n eagerReducer: null,\n eagerState: null,\n next: null\n },\n alternate = fiber.alternate;\n if (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n )\n (didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0),\n (lane = queue.pending),\n null === lane\n ? (update.next = update)\n : ((update.next = lane.next), (lane.next = update)),\n (queue.pending = update);\n else {\n if (\n null !== workInProgressRoot &&\n 0 !== (fiber.mode & 1) &&\n 0 === (executionContext & 8)\n ) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update),\n null === interleavedQueues\n ? (interleavedQueues = [queue])\n : interleavedQueues.push(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n } else\n (interleaved = queue.pending),\n null === interleaved\n ? (update.next = update)\n : ((update.next = interleaved.next), (interleaved.next = update)),\n (queue.pending = update);\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.eagerReducer = alternate;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState)) return;\n } catch (error) {\n } finally {\n }\n update = scheduleUpdateOnFiber(fiber, lane, eventTime);\n 0 !== (lane & 4194240) &&\n null !== update &&\n ((fiber = queue.lanes),\n (fiber &= update.pendingLanes),\n (lane |= fiber),\n (queue.lanes = lane),\n markRootEntangled(update, lane));\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useMutableSource: throwInvalidHookError,\n useOpaqueIdentifier: throwInvalidHookError,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n 2,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = hook.queue = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n reducer = reducer.dispatch = dispatchAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: mountState,\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _mountState = mountState(value),\n prevValue = _mountState[0],\n setValue = _mountState[1];\n mountEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var _mountState2 = mountState(!1),\n isPending = _mountState2[0];\n _mountState2 = startTransition.bind(null, _mountState2[1]);\n mountWorkInProgressHook().memoizedState = _mountState2;\n return [isPending, _mountState2];\n },\n useMutableSource: function(source, getSnapshot, subscribe) {\n var hook = mountWorkInProgressHook();\n hook.memoizedState = {\n refs: { getSnapshot: getSnapshot, setSnapshot: null },\n source: source,\n subscribe: subscribe\n };\n return useMutableSource(hook, source, getSnapshot, subscribe);\n },\n useOpaqueIdentifier: function() {\n throw Error(\"Not yet implemented\");\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function() {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _updateState = updateReducer(basicStateReducer),\n prevValue = _updateState[0],\n setValue = _updateState[1];\n updateEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var isPending = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useOpaqueIdentifier: function() {\n return updateReducer(basicStateReducer)[0];\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnRerender = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function() {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var _rerenderState = rerenderReducer(basicStateReducer),\n prevValue = _rerenderState[0],\n setValue = _rerenderState[1];\n updateEffect(\n function() {\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = 1;\n try {\n setValue(value);\n } finally {\n ReactCurrentBatchConfig$1.transition = prevTransition;\n }\n },\n [value]\n );\n return prevValue;\n },\n useTransition: function() {\n var isPending = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useOpaqueIdentifier: function() {\n return rerenderReducer(basicStateReducer)[0];\n },\n unstable_isNewReconciler: !1\n };\nfunction createCapturedValue(value, source) {\n try {\n var info = \"\",\n node = source;\n do (info += describeFiber(node)), (node = node.return);\n while (node);\n var JSCompiler_inline_result = info;\n } catch (x) {\n JSCompiler_inline_result =\n \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n return { value: value, source: source, stack: JSCompiler_inline_result };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw Error(\n \"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\"\n );\nfunction logCapturedError(boundary, errorInfo) {\n try {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog({\n componentStack: null !== errorInfo.stack ? errorInfo.stack : \"\",\n error: errorInfo.value,\n errorBoundary:\n null !== boundary && 1 === boundary.tag ? boundary.stateNode : null\n }) && console.error(errorInfo.value);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n lane.payload = { element: null };\n var error = errorInfo.value;\n lane.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logCapturedError(fiber, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n lane.payload = function() {\n logCapturedError(fiber, errorInfo);\n return getDerivedStateFromError(error);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (lane.callback = function() {\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this),\n logCapturedError(fiber, errorInfo));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return lane;\n}\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderLanes);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -1029),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n updateLanes,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n updateLanes,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (\n 0 === (updateLanes & renderLanes) &&\n ((updateLanes = type.memoizedProps),\n (Component = Component.compare),\n (Component = null !== Component ? Component : shallowEqual),\n Component(updateLanes, nextProps) && current.ref === workInProgress.ref)\n )\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n updateLanes,\n renderLanes\n) {\n if (\n null !== current &&\n shallowEqual(current.memoizedProps, nextProps) &&\n current.ref === workInProgress.ref\n ) {\n didReceiveUpdate = !1;\n if (0 === (renderLanes & updateLanes))\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n 0 !== (current.flags & 32768) && (didReceiveUpdate = !0);\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n if (\n \"hidden\" === nextProps.mode ||\n \"unstable-defer-without-hiding\" === nextProps.mode\n )\n if (0 === (workInProgress.mode & 1))\n (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= renderLanes);\n else {\n if (0 === (renderLanes & 1073741824))\n return (\n (current =\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes),\n (workInProgress.lanes = workInProgress.childLanes = 1073741824),\n (workInProgress.memoizedState = {\n baseLanes: current,\n cachePool: null\n }),\n (workInProgress.updateQueue = null),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= current),\n null\n );\n workInProgress.memoizedState = { baseLanes: 0, cachePool: null };\n nextProps = null !== prevState ? prevState.baseLanes : renderLanes;\n push(subtreeRenderLanesCursor, subtreeRenderLanes);\n subtreeRenderLanes |= nextProps;\n }\n else\n null !== prevState\n ? ((nextProps = prevState.baseLanes | renderLanes),\n (workInProgress.memoizedState = null))\n : (nextProps = renderLanes),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= nextProps);\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current && null !== ref) ||\n (null !== current && current.ref !== ref)\n )\n workInProgress.flags |= 256;\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderLanes);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n context,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -1029),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderLanes);\n if (null === workInProgress.stateNode)\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2)),\n constructClassInstance(workInProgress, Component, nextProps),\n mountClassInstance(workInProgress, Component, nextProps, renderLanes),\n (nextProps = !0);\n else if (null === current) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n oldContext = workInProgress.memoizedState;\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (nextProps = !1));\n } else {\n instance = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n oldProps = workInProgress.memoizedProps;\n contextType =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps);\n instance.props = contextType;\n hasNewLifecycles = workInProgress.pendingProps;\n oldState = instance.context;\n oldContext = Component.contextType;\n \"object\" === typeof oldContext && null !== oldContext\n ? (oldContext = readContext(oldContext))\n : ((oldContext = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (oldContext = getMaskedContext(workInProgress, oldContext)));\n var getDerivedStateFromProps$jscomp$0 = Component.getDerivedStateFromProps;\n (getDerivedStateFromProps =\n \"function\" === typeof getDerivedStateFromProps$jscomp$0 ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== hasNewLifecycles || oldState !== oldContext) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n oldContext\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n var newState = workInProgress.memoizedState;\n oldProps !== hasNewLifecycles ||\n oldState !== newState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps$jscomp$0 &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps$jscomp$0,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType,\n nextProps,\n oldState,\n newState,\n oldContext\n ) ||\n !1)\n ? (getDerivedStateFromProps ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(nextProps, newState, oldContext),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldContext\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 512))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 512),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (instance.props = nextProps),\n (instance.state = newState),\n (instance.context = oldContext),\n (nextProps = contextType))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 512),\n (nextProps = !1));\n }\n return finishClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderLanes\n );\n}\nfunction finishClassComponent(\n current,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderLanes\n) {\n markRef(current, workInProgress);\n var didCaptureError = 0 !== (workInProgress.flags & 128);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$1.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.flags |= 1;\n null !== current && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = { dehydrated: null, retryLane: 0 };\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: null };\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n showFallback = !1,\n JSCompiler_temp;\n (JSCompiler_temp = 0 !== (workInProgress.flags & 128)) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseContext & 2));\n JSCompiler_temp\n ? ((showFallback = !0), (workInProgress.flags &= -129))\n : (null !== current && null === current.memoizedState) ||\n void 0 === nextProps.fallback ||\n !0 === nextProps.unstable_avoidThisFallback ||\n (suspenseContext |= 1);\n push(suspenseStackCursor, suspenseContext & 1);\n if (null === current) {\n current = nextProps.children;\n suspenseContext = nextProps.fallback;\n if (showFallback)\n return (\n (current = mountSuspenseFallbackChildren(\n workInProgress,\n current,\n suspenseContext,\n renderLanes\n )),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n current\n );\n if (\"number\" === typeof nextProps.unstable_expectedLoadTime)\n return (\n (current = mountSuspenseFallbackChildren(\n workInProgress,\n current,\n suspenseContext,\n renderLanes\n )),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n (workInProgress.lanes = 4194304),\n current\n );\n renderLanes = createFiberFromOffscreen(\n { mode: \"visible\", children: current },\n workInProgress.mode,\n renderLanes,\n null\n );\n renderLanes.return = workInProgress;\n return (workInProgress.child = renderLanes);\n }\n if (null !== current.memoizedState) {\n if (showFallback)\n return (\n (nextProps = updateSuspenseFallbackChildren(\n current,\n workInProgress,\n nextProps.children,\n nextProps.fallback,\n renderLanes\n )),\n (showFallback = workInProgress.child),\n (suspenseContext = current.child.memoizedState),\n (showFallback.memoizedState =\n null === suspenseContext\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: suspenseContext.baseLanes | renderLanes,\n cachePool: null\n }),\n (showFallback.childLanes = current.childLanes & ~renderLanes),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n nextProps\n );\n renderLanes = updateSuspensePrimaryChildren(\n current,\n workInProgress,\n nextProps.children,\n renderLanes\n );\n workInProgress.memoizedState = null;\n return renderLanes;\n }\n if (showFallback)\n return (\n (nextProps = updateSuspenseFallbackChildren(\n current,\n workInProgress,\n nextProps.children,\n nextProps.fallback,\n renderLanes\n )),\n (showFallback = workInProgress.child),\n (suspenseContext = current.child.memoizedState),\n (showFallback.memoizedState =\n null === suspenseContext\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: suspenseContext.baseLanes | renderLanes,\n cachePool: null\n }),\n (showFallback.childLanes = current.childLanes & ~renderLanes),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n nextProps\n );\n renderLanes = updateSuspensePrimaryChildren(\n current,\n workInProgress,\n nextProps.children,\n renderLanes\n );\n workInProgress.memoizedState = null;\n return renderLanes;\n}\nfunction mountSuspenseFallbackChildren(\n workInProgress,\n primaryChildren,\n fallbackChildren,\n renderLanes\n) {\n var mode = workInProgress.mode,\n progressedPrimaryFragment = workInProgress.child;\n primaryChildren = { mode: \"hidden\", children: primaryChildren };\n 0 === (mode & 1) && null !== progressedPrimaryFragment\n ? ((progressedPrimaryFragment.childLanes = 0),\n (progressedPrimaryFragment.pendingProps = primaryChildren))\n : (progressedPrimaryFragment = createFiberFromOffscreen(\n primaryChildren,\n mode,\n 0,\n null\n ));\n fallbackChildren = createFiberFromFragment(\n fallbackChildren,\n mode,\n renderLanes,\n null\n );\n progressedPrimaryFragment.return = workInProgress;\n fallbackChildren.return = workInProgress;\n progressedPrimaryFragment.sibling = fallbackChildren;\n workInProgress.child = progressedPrimaryFragment;\n return fallbackChildren;\n}\nfunction updateSuspensePrimaryChildren(\n current,\n workInProgress,\n primaryChildren,\n renderLanes\n) {\n var currentPrimaryChildFragment = current.child;\n current = currentPrimaryChildFragment.sibling;\n primaryChildren = createWorkInProgress(currentPrimaryChildFragment, {\n mode: \"visible\",\n children: primaryChildren\n });\n 0 === (workInProgress.mode & 1) && (primaryChildren.lanes = renderLanes);\n primaryChildren.return = workInProgress;\n primaryChildren.sibling = null;\n null !== current &&\n ((renderLanes = workInProgress.deletions),\n null === renderLanes\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : renderLanes.push(current));\n return (workInProgress.child = primaryChildren);\n}\nfunction updateSuspenseFallbackChildren(\n current,\n workInProgress,\n primaryChildren,\n fallbackChildren,\n renderLanes\n) {\n var mode = workInProgress.mode;\n current = current.child;\n var currentFallbackChildFragment = current.sibling,\n primaryChildProps = { mode: \"hidden\", children: primaryChildren };\n 0 === (mode & 1) && workInProgress.child !== current\n ? ((primaryChildren = workInProgress.child),\n (primaryChildren.childLanes = 0),\n (primaryChildren.pendingProps = primaryChildProps),\n (workInProgress.deletions = null))\n : ((primaryChildren = createWorkInProgress(current, primaryChildProps)),\n (primaryChildren.subtreeFlags = current.subtreeFlags & 1835008));\n null !== currentFallbackChildFragment\n ? (fallbackChildren = createWorkInProgress(\n currentFallbackChildFragment,\n fallbackChildren\n ))\n : ((fallbackChildren = createFiberFromFragment(\n fallbackChildren,\n mode,\n renderLanes,\n null\n )),\n (fallbackChildren.flags |= 2));\n fallbackChildren.return = workInProgress;\n primaryChildren.return = workInProgress;\n primaryChildren.sibling = fallbackChildren;\n workInProgress.child = primaryChildren;\n return fallbackChildren;\n}\nfunction scheduleWorkOnFiber(fiber, renderLanes) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleWorkOnParentPath(fiber.return, renderLanes);\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(current, workInProgress, nextProps.children, renderLanes);\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & 2))\n (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128);\n else {\n if (null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleWorkOnFiber(current, renderLanes);\n else if (19 === current.tag) scheduleWorkOnFiber(current, renderLanes);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n nextProps &= 1;\n }\n push(suspenseStackCursor, nextProps);\n if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderLanes = workInProgress.child;\n for (revealOrder = null; null !== renderLanes; )\n (current = renderLanes.alternate),\n null !== current &&\n null === findFirstSuspended(current) &&\n (revealOrder = renderLanes),\n (renderLanes = renderLanes.sibling);\n renderLanes = revealOrder;\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode\n );\n break;\n case \"backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes)) return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(\"Resuming work not yet implemented.\");\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling = createWorkInProgress(\n current,\n current.pendingProps\n )),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nfunction hadNoMutationsEffects(current, completedWork) {\n if (null !== current && current.child === completedWork.child) return !0;\n if (0 !== (completedWork.flags & 16)) return !1;\n for (current = completedWork.child; null !== current; ) {\n if (0 !== (current.flags & 6454) || 0 !== (current.subtreeFlags & 6454))\n return !1;\n current = current.sibling;\n }\n return !0;\n}\nvar appendAllChildren,\n updateHostContainer,\n updateHostComponent$1,\n updateHostText$1;\nappendAllChildren = function(\n parent,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(instance));\n appendChildNode(parent.node, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNode(parent.node, instance.node);\n } else if (4 !== node.tag) {\n if (\n 13 === node.tag &&\n 0 !== (node.flags & 4) &&\n (instance = null !== node.memoizedState)\n ) {\n var primaryChildParent = node.child;\n if (\n null !== primaryChildParent &&\n (null !== primaryChildParent.child &&\n ((primaryChildParent.child.return = primaryChildParent),\n appendAllChildren(parent, primaryChildParent, !0, instance)),\n (instance = primaryChildParent.sibling),\n null !== instance)\n ) {\n instance.return = node;\n node = instance;\n continue;\n }\n }\n if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nfunction appendAllChildrenToContainer(\n containerChildSet,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(instance));\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (4 !== node.tag) {\n if (\n 13 === node.tag &&\n 0 !== (node.flags & 4) &&\n (instance = null !== node.memoizedState)\n ) {\n var primaryChildParent = node.child;\n if (\n null !== primaryChildParent &&\n (null !== primaryChildParent.child &&\n ((primaryChildParent.child.return = primaryChildParent),\n appendAllChildrenToContainer(\n containerChildSet,\n primaryChildParent,\n !0,\n instance\n )),\n (instance = primaryChildParent.sibling),\n null !== instance)\n ) {\n instance.return = node;\n node = instance;\n continue;\n }\n }\n if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nupdateHostContainer = function(current, workInProgress) {\n var portalOrRoot = workInProgress.stateNode;\n if (!hadNoMutationsEffects(current, workInProgress)) {\n current = portalOrRoot.containerInfo;\n var newChildSet = createChildNodeSet(current);\n appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);\n portalOrRoot.pendingChildren = newChildSet;\n workInProgress.flags |= 4;\n completeRoot(current, newChildSet);\n }\n};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n type = current.stateNode;\n var oldProps = current.memoizedProps;\n if (\n (current = hadNoMutationsEffects(current, workInProgress)) &&\n oldProps === newProps\n )\n workInProgress.stateNode = type;\n else {\n var recyclableInstance = workInProgress.stateNode;\n requiredContext(contextStackCursor$1.current);\n var updatePayload = null;\n oldProps !== newProps &&\n ((oldProps = diffProperties(\n null,\n oldProps,\n newProps,\n recyclableInstance.canonical.viewConfig.validAttributes\n )),\n (recyclableInstance.canonical.currentProps = newProps),\n (updatePayload = oldProps));\n current && null === updatePayload\n ? (workInProgress.stateNode = type)\n : ((newProps = updatePayload),\n (oldProps = type.node),\n (type = {\n node: current\n ? null !== newProps\n ? cloneNodeWithNewProps(oldProps, newProps)\n : cloneNode(oldProps)\n : null !== newProps\n ? cloneNodeWithNewChildrenAndProps(oldProps, newProps)\n : cloneNodeWithNewChildren(oldProps),\n canonical: type.canonical\n }),\n (workInProgress.stateNode = type),\n current\n ? (workInProgress.flags |= 4)\n : appendAllChildren(type, workInProgress, !1, !1));\n }\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText\n ? ((current = requiredContext(rootInstanceStackCursor.current)),\n (oldText = requiredContext(contextStackCursor$1.current)),\n (workInProgress.stateNode = createTextInstance(\n newText,\n current,\n oldText,\n workInProgress\n )),\n (workInProgress.flags |= 4))\n : (workInProgress.stateNode = current.stateNode);\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var lastTailNode$69 = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (lastTailNode$69 = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === lastTailNode$69\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode$69.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$70 = completedWork.child; null !== child$70; )\n (newChildLanes |= child$70.lanes | child$70.childLanes),\n (subtreeFlags |= child$70.subtreeFlags & 1835008),\n (subtreeFlags |= child$70.flags & 1835008),\n (child$70.return = completedWork),\n (child$70 = child$70.sibling);\n else\n for (child$70 = completedWork.child; null !== child$70; )\n (newChildLanes |= child$70.lanes | child$70.childLanes),\n (subtreeFlags |= child$70.subtreeFlags),\n (subtreeFlags |= child$70.flags),\n (child$70.return = completedWork),\n (child$70 = child$70.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n switch (workInProgress.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 3:\n return (\n (newProps = workInProgress.stateNode),\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n newProps.pendingContext &&\n ((newProps.context = newProps.pendingContext),\n (newProps.pendingContext = null)),\n (null !== current && null !== current.child) ||\n newProps.hydrate ||\n (workInProgress.flags |= 512),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 5:\n popHostContext(workInProgress);\n renderLanes = requiredContext(rootInstanceStackCursor.current);\n var type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n updateHostComponent$1(\n current,\n workInProgress,\n type,\n newProps,\n renderLanes\n ),\n current.ref !== workInProgress.ref && (workInProgress.flags |= 256);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n return null;\n }\n requiredContext(contextStackCursor$1.current);\n current = nextReactTag;\n nextReactTag += 2;\n type = getViewConfigForType(type);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n newProps,\n type.validAttributes\n );\n renderLanes = createNode(\n current,\n type.uiViewClassName,\n renderLanes,\n updatePayload,\n workInProgress\n );\n current = new ReactFabricHostComponent(\n current,\n type,\n newProps,\n workInProgress\n );\n current = { node: renderLanes, canonical: current };\n appendAllChildren(current, workInProgress, !1, !1);\n workInProgress.stateNode = current;\n null !== workInProgress.ref && (workInProgress.flags |= 256);\n }\n bubbleProperties(workInProgress);\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n updateHostText$1(\n current,\n workInProgress,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current = requiredContext(rootInstanceStackCursor.current);\n renderLanes = requiredContext(contextStackCursor$1.current);\n workInProgress.stateNode = createTextInstance(\n newProps,\n current,\n renderLanes,\n workInProgress\n );\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n pop(suspenseStackCursor);\n newProps = workInProgress.memoizedState;\n if (0 !== (workInProgress.flags & 128))\n return (workInProgress.lanes = renderLanes), workInProgress;\n newProps = null !== newProps;\n renderLanes = !1;\n null !== current && (renderLanes = null !== current.memoizedState);\n if (newProps && !renderLanes && 0 !== (workInProgress.mode & 1))\n if (\n (null === current &&\n !0 !== workInProgress.memoizedProps.unstable_avoidThisFallback) ||\n 0 !== (suspenseStackCursor.current & 1)\n )\n 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3);\n else {\n if (\n 0 === workInProgressRootExitStatus ||\n 3 === workInProgressRootExitStatus\n )\n workInProgressRootExitStatus = 4;\n null === workInProgressRoot ||\n (0 === (workInProgressRootSkippedLanes & 268435455) &&\n 0 === (workInProgressRootUpdatedLanes & 268435455)) ||\n markRootSuspended$1(\n workInProgressRoot,\n workInProgressRootRenderLanes\n );\n }\n newProps && (workInProgress.flags |= 4);\n bubbleProperties(workInProgress);\n return null;\n case 4:\n return (\n popHostContainer(),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type._context),\n bubbleProperties(workInProgress),\n null\n );\n case 17:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 19:\n pop(suspenseStackCursor);\n type = workInProgress.memoizedState;\n if (null === type) return bubbleProperties(workInProgress), null;\n newProps = 0 !== (workInProgress.flags & 128);\n updatePayload = type.rendering;\n if (null === updatePayload)\n if (newProps) cutOffTailIfNeeded(type, !1);\n else {\n if (\n 0 !== workInProgressRootExitStatus ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n updatePayload = findFirstSuspended(current);\n if (null !== updatePayload) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(type, !1);\n current = updatePayload.updateQueue;\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4));\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (newProps = workInProgress.child; null !== newProps; )\n (renderLanes = newProps),\n (type = current),\n (renderLanes.flags &= 1835010),\n (updatePayload = renderLanes.alternate),\n null === updatePayload\n ? ((renderLanes.childLanes = 0),\n (renderLanes.lanes = type),\n (renderLanes.child = null),\n (renderLanes.subtreeFlags = 0),\n (renderLanes.memoizedProps = null),\n (renderLanes.memoizedState = null),\n (renderLanes.updateQueue = null),\n (renderLanes.dependencies = null),\n (renderLanes.stateNode = null))\n : ((renderLanes.childLanes = updatePayload.childLanes),\n (renderLanes.lanes = updatePayload.lanes),\n (renderLanes.child = updatePayload.child),\n (renderLanes.subtreeFlags = 0),\n (renderLanes.deletions = null),\n (renderLanes.memoizedProps =\n updatePayload.memoizedProps),\n (renderLanes.memoizedState =\n updatePayload.memoizedState),\n (renderLanes.updateQueue = updatePayload.updateQueue),\n (renderLanes.type = updatePayload.type),\n (type = updatePayload.dependencies),\n (renderLanes.dependencies =\n null === type\n ? null\n : {\n lanes: type.lanes,\n firstContext: type.firstContext\n })),\n (newProps = newProps.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current & 1) | 2\n );\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== type.tail &&\n now() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!newProps)\n if (\n ((current = findFirstSuspended(updatePayload)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (newProps = !0),\n (current = current.updateQueue),\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4)),\n cutOffTailIfNeeded(type, !0),\n null === type.tail &&\n \"hidden\" === type.tailMode &&\n !updatePayload.alternate)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now() - type.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 1073741824 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n type.isBackwards\n ? ((updatePayload.sibling = workInProgress.child),\n (workInProgress.child = updatePayload))\n : ((current = type.last),\n null !== current\n ? (current.sibling = updatePayload)\n : (workInProgress.child = updatePayload),\n (type.last = updatePayload));\n }\n if (null !== type.tail)\n return (\n (workInProgress = type.tail),\n (type.rendering = workInProgress),\n (type.tail = workInProgress.sibling),\n (type.renderingStartTime = now()),\n (workInProgress.sibling = null),\n (current = suspenseStackCursor.current),\n push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),\n workInProgress\n );\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popRenderLanes(),\n (renderLanes = null !== workInProgress.memoizedState),\n null !== current &&\n (null !== current.memoizedState) !== renderLanes &&\n \"unstable-defer-without-hiding\" !== newProps.mode &&\n (workInProgress.flags |= 4),\n (renderLanes &&\n 0 === (subtreeRenderLanes & 1073741824) &&\n 0 !== (workInProgress.mode & 1)) ||\n bubbleProperties(workInProgress),\n null\n );\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction unwindWork(workInProgress) {\n switch (workInProgress.tag) {\n case 1:\n isContextProvider(workInProgress.type) && popContext();\n var flags = workInProgress.flags;\n return flags & 16384\n ? ((workInProgress.flags = (flags & -16385) | 128), workInProgress)\n : null;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n flags = workInProgress.flags;\n if (0 !== (flags & 128))\n throw Error(\n \"The root failed to unmount after an error. This is likely a bug in React. Please file an issue.\"\n );\n workInProgress.flags = (flags & -16385) | 128;\n return workInProgress;\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n return (\n pop(suspenseStackCursor),\n (flags = workInProgress.flags),\n flags & 16384\n ? ((workInProgress.flags = (flags & -16385) | 128), workInProgress)\n : null\n );\n case 19:\n return pop(suspenseStackCursor), null;\n case 4:\n return popHostContainer(), null;\n case 10:\n return popProvider(workInProgress.type._context), null;\n case 22:\n case 23:\n return popRenderLanes(), null;\n case 24:\n return null;\n default:\n return null;\n }\n}\nvar PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null;\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n else ref.current = null;\n}\nvar shouldFireAfterActiveInstanceBlur = !1;\nfunction commitBeforeMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; )\n if (\n ((root = nextEffect),\n (firstChild = root.child),\n 0 !== (root.subtreeFlags & 516) && null !== firstChild)\n )\n (firstChild.return = root), (nextEffect = firstChild);\n else\n for (; null !== nextEffect; ) {\n root = nextEffect;\n try {\n var current = root.alternate;\n if (0 !== (root.flags & 512))\n switch (root.tag) {\n case 0:\n case 11:\n case 15:\n break;\n case 1:\n if (null !== current) {\n var prevProps = current.memoizedProps,\n prevState = current.memoizedState,\n instance = root.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n root.elementType === root.type\n ? prevProps\n : resolveDefaultProps(root.type, prevProps),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n break;\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n firstChild = root.sibling;\n if (null !== firstChild) {\n firstChild.return = root.return;\n nextEffect = firstChild;\n break;\n }\n nextEffect = root.return;\n }\n current = shouldFireAfterActiveInstanceBlur;\n shouldFireAfterActiveInstanceBlur = !1;\n return current;\n}\nfunction commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor$jscomp$0\n) {\n var updateQueue = finishedWork.updateQueue;\n updateQueue = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== updateQueue) {\n var effect = (updateQueue = updateQueue.next);\n do {\n if ((effect.tag & flags) === flags) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n if (void 0 !== destroy) {\n var current = finishedWork,\n nearestMountedAncestor = nearestMountedAncestor$jscomp$0;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n }\n }\n effect = effect.next;\n } while (effect !== updateQueue);\n }\n}\nfunction commitHookEffectListMount(tag, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & tag) === tag) {\n var create$82 = effect.create;\n effect.destroy = create$82();\n }\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n fiber.stateNode = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n}\nfunction commitWork(current, finishedWork) {\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n commitHookEffectListUnmount(3, finishedWork, finishedWork.return);\n return;\n case 12:\n return;\n case 13:\n null !== finishedWork.memoizedState &&\n (globalMostRecentFallbackTime = now());\n attachSuspenseRetryListeners(finishedWork);\n return;\n case 19:\n attachSuspenseRetryListeners(finishedWork);\n return;\n case 22:\n case 23:\n return;\n }\n a: {\n switch (finishedWork.tag) {\n case 1:\n case 5:\n case 6:\n break a;\n case 3:\n case 4:\n break a;\n }\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var wakeables = finishedWork.updateQueue;\n if (null !== wakeables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n wakeables.forEach(function(wakeable) {\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n retryCache.has(wakeable) ||\n (retryCache.add(wakeable), wakeable.then(retry, retry));\n });\n }\n}\nfunction commitMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; ) {\n root = nextEffect;\n firstChild = root.deletions;\n if (null !== firstChild)\n for (var i = 0; i < firstChild.length; i++) {\n var childToDelete = firstChild[i];\n try {\n a: for (var node = childToDelete; ; ) {\n var current = node;\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onCommitFiberUnmount\n )\n try {\n injectedHook.onCommitFiberUnmount(rendererID, current);\n } catch (err) {}\n switch (current.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n var updateQueue = current.updateQueue;\n if (null !== updateQueue) {\n var lastEffect = updateQueue.lastEffect;\n if (null !== lastEffect) {\n var firstEffect = lastEffect.next,\n effect = firstEffect;\n do {\n var _effect = effect,\n destroy = _effect.destroy,\n tag = _effect.tag;\n if (void 0 !== destroy && 0 !== (tag & 2)) {\n _effect = current;\n var nearestMountedAncestor = root;\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(\n _effect,\n nearestMountedAncestor,\n error\n );\n }\n }\n effect = effect.next;\n } while (effect !== firstEffect);\n }\n }\n break;\n case 1:\n safelyDetachRef(current, root);\n var instance = current.stateNode;\n if (\"function\" === typeof instance.componentWillUnmount)\n try {\n (effect = current),\n (_effect = instance),\n (_effect.props = effect.memoizedProps),\n (_effect.state = effect.memoizedState),\n _effect.componentWillUnmount();\n } catch (unmountError) {\n captureCommitPhaseError(current, root, unmountError);\n }\n break;\n case 5:\n safelyDetachRef(current, root);\n break;\n case 4:\n createChildNodeSet(current.stateNode.containerInfo);\n }\n if (null !== node.child)\n (node.child.return = node), (node = node.child);\n else {\n if (node === childToDelete) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === childToDelete)\n break a;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n var alternate = childToDelete.alternate;\n null !== alternate && (alternate.return = null);\n childToDelete.return = null;\n } catch (error) {\n captureCommitPhaseError(childToDelete, root, error);\n }\n }\n firstChild = root.child;\n if (0 !== (root.subtreeFlags & 6454) && null !== firstChild)\n (firstChild.return = root), (nextEffect = firstChild);\n else\n for (; null !== nextEffect; ) {\n root = nextEffect;\n try {\n var flags = root.flags;\n if (flags & 256) {\n var current$jscomp$0 = root.alternate;\n if (null !== current$jscomp$0) {\n var currentRef = current$jscomp$0.ref;\n null !== currentRef &&\n (\"function\" === typeof currentRef\n ? currentRef(null)\n : (currentRef.current = null));\n }\n }\n switch (flags & 2054) {\n case 2:\n root.flags &= -3;\n break;\n case 6:\n root.flags &= -3;\n commitWork(root.alternate, root);\n break;\n case 2048:\n root.flags &= -2049;\n break;\n case 2052:\n root.flags &= -2049;\n commitWork(root.alternate, root);\n break;\n case 4:\n commitWork(root.alternate, root);\n }\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n firstChild = root.sibling;\n if (null !== firstChild) {\n firstChild.return = root.return;\n nextEffect = firstChild;\n break;\n }\n nextEffect = root.return;\n }\n }\n}\nfunction commitLayoutEffects(finishedWork) {\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n var fiber = nextEffect,\n firstChild = fiber.child;\n if (0 !== (fiber.subtreeFlags & 324) && null !== firstChild)\n (firstChild.return = fiber), (nextEffect = firstChild);\n else\n for (fiber = finishedWork; null !== nextEffect; ) {\n firstChild = nextEffect;\n if (0 !== (firstChild.flags & 324)) {\n var current = firstChild.alternate;\n try {\n if (0 !== (firstChild.flags & 68))\n switch (firstChild.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(3, firstChild);\n break;\n case 1:\n var instance = firstChild.stateNode;\n if (firstChild.flags & 4)\n if (null === current) instance.componentDidMount();\n else {\n var prevProps =\n firstChild.elementType === firstChild.type\n ? current.memoizedProps\n : resolveDefaultProps(\n firstChild.type,\n current.memoizedProps\n );\n instance.componentDidUpdate(\n prevProps,\n current.memoizedState,\n instance.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = firstChild.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(firstChild, updateQueue, instance);\n break;\n case 3:\n var updateQueue$83 = firstChild.updateQueue;\n if (null !== updateQueue$83) {\n current = null;\n if (null !== firstChild.child)\n switch (firstChild.child.tag) {\n case 5:\n current = firstChild.child.stateNode.canonical;\n break;\n case 1:\n current = firstChild.child.stateNode;\n }\n commitUpdateQueue(firstChild, updateQueue$83, current);\n }\n break;\n case 5:\n null === current && firstChild.flags & 4 && shim();\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n break;\n case 19:\n case 17:\n case 21:\n case 22:\n case 23:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (firstChild.flags & 256) {\n current = void 0;\n var ref = firstChild.ref;\n if (null !== ref) {\n var instance$jscomp$0 = firstChild.stateNode;\n switch (firstChild.tag) {\n case 5:\n current = instance$jscomp$0.canonical;\n break;\n default:\n current = instance$jscomp$0;\n }\n \"function\" === typeof ref\n ? ref(current)\n : (ref.current = current);\n }\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n }\n if (firstChild === fiber) {\n nextEffect = null;\n break;\n }\n current = firstChild.sibling;\n if (null !== current) {\n current.return = firstChild.return;\n nextEffect = current;\n break;\n }\n nextEffect = firstChild.return;\n }\n }\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig,\n executionContext = 0,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n subtreeRenderLanes = 0,\n subtreeRenderLanesCursor = createCursor(0),\n workInProgressRootExitStatus = 0,\n workInProgressRootFatalError = null,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n globalMostRecentFallbackTime = 0,\n workInProgressRootRenderTargetTime = Infinity,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsLanes = 0,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = -1,\n currentEventTransitionLane = 0;\nfunction requestEventTime() {\n return 0 !== (executionContext & 24)\n ? now()\n : -1 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = now());\n}\nfunction requestUpdateLane(fiber) {\n if (0 === (fiber.mode & 1)) return 1;\n if (0 !== (executionContext & 8) && 0 !== workInProgressRootRenderLanes)\n return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;\n if (0 !== ReactCurrentBatchConfig.transition)\n return (\n 0 === currentEventTransitionLane &&\n ((fiber = nextTransitionLane),\n (nextTransitionLane <<= 1),\n 0 === (nextTransitionLane & 4194240) && (nextTransitionLane = 64),\n (currentEventTransitionLane = fiber)),\n currentEventTransitionLane\n );\n fiber = currentUpdatePriority;\n if (0 === fiber)\n a: {\n fiber = fabricGetCurrentEventPriority\n ? fabricGetCurrentEventPriority()\n : null;\n if (null != fiber)\n switch (fiber) {\n case FabricDiscretePriority:\n fiber = 1;\n break a;\n }\n fiber = 16;\n }\n return fiber;\n}\nfunction scheduleUpdateOnFiber(fiber, lane, eventTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n ));\n var root = markUpdateLaneFromFiberToRoot(fiber, lane);\n if (null === root) return null;\n markRootUpdated(root, lane, eventTime);\n root === workInProgressRoot &&\n (0 === (executionContext & 8) && (workInProgressRootUpdatedLanes |= lane),\n 4 === workInProgressRootExitStatus &&\n markRootSuspended$1(root, workInProgressRootRenderLanes));\n 1 === lane\n ? 0 !== (executionContext & 4) && 0 === (executionContext & 24)\n ? performSyncWorkOnRoot(root)\n : (ensureRootIsScheduled(root, eventTime),\n 0 === executionContext &&\n 0 === (fiber.mode & 1) &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks()))\n : ensureRootIsScheduled(root, eventTime);\n return root;\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n alternate = sourceFiber;\n for (sourceFiber = sourceFiber.return; null !== sourceFiber; )\n (sourceFiber.childLanes |= lane),\n (alternate = sourceFiber.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n (alternate = sourceFiber),\n (sourceFiber = sourceFiber.return);\n return 3 === alternate.tag ? alternate.stateNode : null;\n}\nfunction ensureRootIsScheduled(root, currentTime) {\n for (\n var existingCallbackNode = root.callbackNode,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes;\n 0 < lanes;\n\n ) {\n var index$5 = 31 - clz32(lanes),\n lane = 1 << index$5,\n expirationTime = expirationTimes[index$5];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index$5] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n suspendedLanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === suspendedLanes)\n null !== existingCallbackNode && cancelCallback(existingCallbackNode),\n (root.callbackNode = null),\n (root.callbackPriority = 0);\n else if (\n ((currentTime = suspendedLanes & -suspendedLanes),\n root.callbackPriority !== currentTime)\n ) {\n null != existingCallbackNode && cancelCallback(existingCallbackNode);\n if (1 === currentTime)\n 0 === root.tag\n ? ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n (includesLegacySyncCallbacks = !0),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode))\n : ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n (existingCallbackNode = null);\n else {\n switch (lanesToEventPriority(suspendedLanes)) {\n case 1:\n existingCallbackNode = ImmediatePriority;\n break;\n case 4:\n existingCallbackNode = UserBlockingPriority;\n break;\n case 16:\n existingCallbackNode = NormalPriority;\n break;\n case 536870912:\n existingCallbackNode = IdlePriority;\n break;\n default:\n existingCallbackNode = NormalPriority;\n }\n existingCallbackNode = scheduleCallback(\n existingCallbackNode,\n performConcurrentWorkOnRoot.bind(null, root)\n );\n }\n root.callbackPriority = currentTime;\n root.callbackNode = existingCallbackNode;\n }\n}\nfunction performConcurrentWorkOnRoot(root, didTimeout) {\n currentEventTime = -1;\n currentEventTransitionLane = 0;\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n var originalCallbackNode = root.callbackNode;\n if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var lanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === lanes) return null;\n var JSCompiler_inline_result =\n 0 !== (lanes & root.expiredLanes) ? !1 : 0 === (lanes & 30);\n if (JSCompiler_inline_result && !didTimeout) {\n didTimeout = lanes;\n JSCompiler_inline_result = executionContext;\n executionContext |= 8;\n var prevDispatcher = pushDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== didTimeout\n )\n (workInProgressRootRenderTargetTime = now() + 500),\n prepareFreshStack(root, didTimeout);\n do\n try {\n workLoopConcurrent();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n ReactCurrentDispatcher$2.current = prevDispatcher;\n executionContext = JSCompiler_inline_result;\n null !== workInProgress\n ? (didTimeout = 0)\n : ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n (didTimeout = workInProgressRootExitStatus));\n } else didTimeout = renderRootSync(root, lanes);\n if (0 !== didTimeout) {\n 2 === didTimeout &&\n ((executionContext |= 32),\n root.hydrate && ((root.hydrate = !1), shim(root.containerInfo)),\n (JSCompiler_inline_result = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== JSCompiler_inline_result &&\n ((lanes = JSCompiler_inline_result),\n (didTimeout = renderRootSync(root, JSCompiler_inline_result))));\n if (1 === didTimeout)\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n switch (didTimeout) {\n case 0:\n case 1:\n throw Error(\"Root did not complete. This is a bug in React.\");\n case 2:\n commitRoot(root);\n break;\n case 3:\n markRootSuspended$1(root, lanes);\n if (\n (lanes & 130023424) === lanes &&\n ((didTimeout = globalMostRecentFallbackTime + 500 - now()),\n 10 < didTimeout)\n ) {\n if (0 !== getNextLanes(root, 0)) break;\n JSCompiler_inline_result = root.suspendedLanes;\n if ((JSCompiler_inline_result & lanes) !== lanes) {\n requestEventTime();\n root.pingedLanes |= root.suspendedLanes & JSCompiler_inline_result;\n break;\n }\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root),\n didTimeout\n );\n break;\n }\n commitRoot(root);\n break;\n case 4:\n markRootSuspended$1(root, lanes);\n if ((lanes & 4194240) === lanes) break;\n didTimeout = root.eventTimes;\n for (JSCompiler_inline_result = -1; 0 < lanes; ) {\n var index$4 = 31 - clz32(lanes);\n prevDispatcher = 1 << index$4;\n index$4 = didTimeout[index$4];\n index$4 > JSCompiler_inline_result &&\n (JSCompiler_inline_result = index$4);\n lanes &= ~prevDispatcher;\n }\n lanes = JSCompiler_inline_result;\n lanes = now() - lanes;\n lanes =\n (120 > lanes\n ? 120\n : 480 > lanes\n ? 480\n : 1080 > lanes\n ? 1080\n : 1920 > lanes\n ? 1920\n : 3e3 > lanes\n ? 3e3\n : 4320 > lanes\n ? 4320\n : 1960 * ceil(lanes / 1960)) - lanes;\n if (10 < lanes) {\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(null, root),\n lanes\n );\n break;\n }\n commitRoot(root);\n break;\n case 5:\n commitRoot(root);\n break;\n default:\n throw Error(\"Unknown root exit status.\");\n }\n }\n ensureRootIsScheduled(root, now());\n return root.callbackNode === originalCallbackNode\n ? performConcurrentWorkOnRoot.bind(null, root)\n : null;\n}\nfunction markRootSuspended$1(root, suspendedLanes) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n for (root = root.expirationTimes; 0 < suspendedLanes; ) {\n var index$6 = 31 - clz32(suspendedLanes),\n lane = 1 << index$6;\n root[index$6] = -1;\n suspendedLanes &= ~lane;\n }\n}\nfunction performSyncWorkOnRoot(root) {\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n flushPassiveEffects();\n var lanes = getNextLanes(root, 0);\n if (0 === (lanes & 1)) return ensureRootIsScheduled(root, now()), null;\n var exitStatus = renderRootSync(root, lanes);\n if (0 !== root.tag && 2 === exitStatus) {\n executionContext |= 32;\n root.hydrate && ((root.hydrate = !1), shim(root.containerInfo));\n var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);\n 0 !== errorRetryLanes &&\n ((lanes = errorRetryLanes), (exitStatus = renderRootSync(root, lanes)));\n }\n if (1 === exitStatus)\n throw ((exitStatus = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n exitStatus);\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n commitRoot(root);\n ensureRootIsScheduled(root, now());\n return null;\n}\nfunction popRenderLanes() {\n subtreeRenderLanes = subtreeRenderLanesCursor.current;\n pop(subtreeRenderLanesCursor);\n}\nfunction prepareFreshStack(root, lanes) {\n root.finishedWork = null;\n root.finishedLanes = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n switch (interruptedWork.tag) {\n case 1:\n interruptedWork = interruptedWork.type.childContextTypes;\n null !== interruptedWork &&\n void 0 !== interruptedWork &&\n popContext();\n break;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer();\n break;\n case 13:\n pop(suspenseStackCursor);\n break;\n case 19:\n pop(suspenseStackCursor);\n break;\n case 10:\n popProvider(interruptedWork.type._context);\n break;\n case 22:\n case 23:\n popRenderLanes();\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes = subtreeRenderLanes = lanes;\n workInProgressRootExitStatus = 0;\n workInProgressRootFatalError = null;\n workInProgressRootPingedLanes = workInProgressRootUpdatedLanes = workInProgressRootSkippedLanes = 0;\n if (null !== interleavedQueues) {\n for (root = 0; root < interleavedQueues.length; root++)\n if (\n ((lanes = interleavedQueues[root]),\n (timeoutHandle = lanes.interleaved),\n null !== timeoutHandle)\n ) {\n lanes.interleaved = null;\n interruptedWork = timeoutHandle.next;\n var lastPendingUpdate = lanes.pending;\n if (null !== lastPendingUpdate) {\n var firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = interruptedWork;\n timeoutHandle.next = firstPendingUpdate;\n }\n lanes.pending = timeoutHandle;\n }\n interleavedQueues = null;\n }\n}\nfunction handleError(root$jscomp$0, thrownValue) {\n do {\n var erroredWork = workInProgress;\n try {\n resetContextDependencies();\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n if (didScheduleRenderPhaseUpdate) {\n for (\n var hook = currentlyRenderingFiber$1.memoizedState;\n null !== hook;\n\n ) {\n var queue = hook.queue;\n null !== queue && (queue.pending = null);\n hook = hook.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n ReactCurrentOwner$2.current = null;\n if (null === erroredWork || null === erroredWork.return) {\n workInProgressRootExitStatus = 1;\n workInProgressRootFatalError = thrownValue;\n workInProgress = null;\n break;\n }\n a: {\n var root = root$jscomp$0,\n returnFiber = erroredWork.return,\n sourceFiber = erroredWork,\n value = thrownValue;\n thrownValue = workInProgressRootRenderLanes;\n sourceFiber.flags |= 8192;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var wakeable = value,\n tag = sourceFiber.tag;\n if (\n 0 === (sourceFiber.mode & 1) &&\n (0 === tag || 11 === tag || 15 === tag)\n ) {\n var currentSource = sourceFiber.alternate;\n currentSource\n ? ((sourceFiber.updateQueue = currentSource.updateQueue),\n (sourceFiber.memoizedState = currentSource.memoizedState),\n (sourceFiber.lanes = currentSource.lanes))\n : ((sourceFiber.updateQueue = null),\n (sourceFiber.memoizedState = null));\n }\n var hasInvisibleParentBoundary =\n 0 !== (suspenseStackCursor.current & 1),\n workInProgress$30 = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === workInProgress$30.tag)) {\n var nextState = workInProgress$30.memoizedState;\n if (null !== nextState)\n JSCompiler_temp = null !== nextState.dehydrated ? !0 : !1;\n else {\n var props = workInProgress$30.memoizedProps;\n JSCompiler_temp =\n void 0 === props.fallback\n ? !1\n : !0 !== props.unstable_avoidThisFallback\n ? !0\n : hasInvisibleParentBoundary\n ? !1\n : !0;\n }\n }\n if (JSCompiler_temp) {\n var wakeables = workInProgress$30.updateQueue;\n if (null === wakeables) {\n var updateQueue = new Set();\n updateQueue.add(wakeable);\n workInProgress$30.updateQueue = updateQueue;\n } else wakeables.add(wakeable);\n if (\n 0 === (workInProgress$30.mode & 1) &&\n workInProgress$30 !== returnFiber\n ) {\n workInProgress$30.flags |= 128;\n sourceFiber.flags |= 32768;\n sourceFiber.flags &= -10053;\n if (1 === sourceFiber.tag)\n if (null === sourceFiber.alternate) sourceFiber.tag = 17;\n else {\n var update = createUpdate(-1, 1);\n update.tag = 2;\n enqueueUpdate(sourceFiber, update);\n }\n sourceFiber.lanes |= 1;\n break a;\n }\n value = void 0;\n sourceFiber = thrownValue;\n var pingCache = root.pingCache;\n null === pingCache\n ? ((pingCache = root.pingCache = new PossiblyWeakMap()),\n (value = new Set()),\n pingCache.set(wakeable, value))\n : ((value = pingCache.get(wakeable)),\n void 0 === value &&\n ((value = new Set()), pingCache.set(wakeable, value)));\n if (!value.has(sourceFiber)) {\n value.add(sourceFiber);\n var ping = pingSuspendedRoot.bind(\n null,\n root,\n wakeable,\n sourceFiber\n );\n wakeable.then(ping, ping);\n }\n workInProgress$30.flags |= 16384;\n workInProgress$30.lanes = thrownValue;\n break a;\n }\n workInProgress$30 = workInProgress$30.return;\n } while (null !== workInProgress$30);\n value = Error(\n (getComponentNameFromFiber(sourceFiber) || \"A React component\") +\n \" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a component higher in the tree to provide a loading indicator or placeholder to display.\"\n );\n }\n 5 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2);\n value = createCapturedValue(value, sourceFiber);\n workInProgress$30 = returnFiber;\n do {\n switch (workInProgress$30.tag) {\n case 3:\n root = value;\n workInProgress$30.flags |= 16384;\n thrownValue &= -thrownValue;\n workInProgress$30.lanes |= thrownValue;\n var update$31 = createRootErrorUpdate(\n workInProgress$30,\n root,\n thrownValue\n );\n enqueueCapturedUpdate(workInProgress$30, update$31);\n break a;\n case 1:\n root = value;\n var ctor = workInProgress$30.type,\n instance = workInProgress$30.stateNode;\n if (\n 0 === (workInProgress$30.flags & 128) &&\n (\"function\" === typeof ctor.getDerivedStateFromError ||\n (null !== instance &&\n \"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance))))\n ) {\n workInProgress$30.flags |= 16384;\n thrownValue &= -thrownValue;\n workInProgress$30.lanes |= thrownValue;\n var update$34 = createClassErrorUpdate(\n workInProgress$30,\n root,\n thrownValue\n );\n enqueueCapturedUpdate(workInProgress$30, update$34);\n break a;\n }\n }\n workInProgress$30 = workInProgress$30.return;\n } while (null !== workInProgress$30);\n }\n completeUnitOfWork(erroredWork);\n } catch (yetAnotherThrownValue) {\n thrownValue = yetAnotherThrownValue;\n workInProgress === erroredWork &&\n null !== erroredWork &&\n (workInProgress = erroredWork = erroredWork.return);\n continue;\n }\n break;\n } while (1);\n}\nfunction pushDispatcher() {\n var prevDispatcher = ReactCurrentDispatcher$2.current;\n ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction renderRootSync(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= 8;\n var prevDispatcher = pushDispatcher();\n (workInProgressRoot === root && workInProgressRootRenderLanes === lanes) ||\n prepareFreshStack(root, lanes);\n do\n try {\n workLoopSync();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n executionContext = prevExecutionContext;\n ReactCurrentDispatcher$2.current = prevDispatcher;\n if (null !== workInProgress)\n throw Error(\n \"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.\"\n );\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n return workInProgressRootExitStatus;\n}\nfunction workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction workLoopConcurrent() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$1(unitOfWork.alternate, unitOfWork, subtreeRenderLanes);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n ReactCurrentOwner$2.current = null;\n}\nfunction completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n var current = completedWork.alternate;\n unitOfWork = completedWork.return;\n if (0 === (completedWork.flags & 8192)) {\n if (\n ((current = completeWork(current, completedWork, subtreeRenderLanes)),\n null !== current)\n ) {\n workInProgress = current;\n return;\n }\n } else {\n current = unwindWork(completedWork);\n if (null !== current) {\n current.flags &= 8191;\n workInProgress = current;\n return;\n }\n null !== unitOfWork &&\n ((unitOfWork.flags |= 8192),\n (unitOfWork.subtreeFlags = 0),\n (unitOfWork.deletions = null));\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction commitRoot(root) {\n var previousUpdateLanePriority = currentUpdatePriority,\n prevTransition = ReactCurrentBatchConfig$2.transition;\n try {\n (ReactCurrentBatchConfig$2.transition = 0),\n (currentUpdatePriority = 1),\n commitRootImpl(root, previousUpdateLanePriority);\n } finally {\n (ReactCurrentBatchConfig$2.transition = prevTransition),\n (currentUpdatePriority = previousUpdateLanePriority);\n }\n return null;\n}\nfunction commitRootImpl(root, renderPriorityLevel) {\n do flushPassiveEffects();\n while (null !== rootWithPendingPassiveEffects);\n if (0 !== (executionContext & 24))\n throw Error(\"Should not already be working.\");\n var finishedWork = root.finishedWork,\n lanes = root.finishedLanes;\n if (null === finishedWork) return null;\n root.finishedWork = null;\n root.finishedLanes = 0;\n if (finishedWork === root.current)\n throw Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n );\n root.callbackNode = null;\n root.callbackPriority = 0;\n var remainingLanes = finishedWork.lanes | finishedWork.childLanes;\n markRootFinished(root, remainingLanes);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n (0 === (finishedWork.subtreeFlags & 1040) &&\n 0 === (finishedWork.flags & 1040)) ||\n rootDoesHavePassiveEffects ||\n ((rootDoesHavePassiveEffects = !0),\n scheduleCallback(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n remainingLanes = 0 !== (finishedWork.flags & 8054);\n if (0 !== (finishedWork.subtreeFlags & 8054) || remainingLanes) {\n remainingLanes = ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition = 0;\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority = 1;\n var prevExecutionContext = executionContext;\n executionContext |= 16;\n ReactCurrentOwner$2.current = null;\n commitBeforeMutationEffects(root, finishedWork);\n commitMutationEffects(root, finishedWork);\n root.current = finishedWork;\n commitLayoutEffects(finishedWork, root, lanes);\n requestPaint();\n executionContext = prevExecutionContext;\n currentUpdatePriority = previousPriority;\n ReactCurrentBatchConfig$2.transition = remainingLanes;\n } else root.current = finishedWork;\n rootDoesHavePassiveEffects &&\n ((rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsLanes = lanes));\n remainingLanes = root.pendingLanes;\n 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);\n 0 !== (remainingLanes & 1)\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n onCommitRoot(finishedWork.stateNode, renderPriorityLevel);\n ensureRootIsScheduled(root, now());\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n if (0 !== (executionContext & 4)) return null;\n 0 !== (pendingPassiveEffectsLanes & 1) &&\n 0 !== root.tag &&\n flushPassiveEffects();\n flushSyncCallbacks();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null !== rootWithPendingPassiveEffects) {\n var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),\n prevTransition = ReactCurrentBatchConfig$2.transition,\n previousPriority = currentUpdatePriority;\n try {\n ReactCurrentBatchConfig$2.transition = 0;\n currentUpdatePriority = 16 > renderPriority ? 16 : renderPriority;\n if (null === rootWithPendingPassiveEffects)\n var JSCompiler_inline_result = !1;\n else {\n renderPriority = rootWithPendingPassiveEffects;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsLanes = 0;\n if (0 !== (executionContext & 24))\n throw Error(\"Cannot flush passive effects while already rendering.\");\n var prevExecutionContext = executionContext;\n executionContext |= 16;\n for (nextEffect = renderPriority.current; null !== nextEffect; ) {\n var fiber = nextEffect,\n child = fiber.child;\n if (0 !== (nextEffect.flags & 16)) {\n var deletions = fiber.deletions;\n if (null !== deletions) {\n for (var i = 0; i < deletions.length; i++) {\n var fiberToDelete = deletions[i];\n for (nextEffect = fiberToDelete; null !== nextEffect; ) {\n var fiber$jscomp$0 = nextEffect;\n switch (fiber$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(4, fiber$jscomp$0, fiber);\n }\n var child$jscomp$0 = fiber$jscomp$0.child;\n if (null !== child$jscomp$0)\n (child$jscomp$0.return = fiber$jscomp$0),\n (nextEffect = child$jscomp$0);\n else\n for (; null !== nextEffect; ) {\n fiber$jscomp$0 = nextEffect;\n var sibling = fiber$jscomp$0.sibling,\n returnFiber = fiber$jscomp$0.return;\n detachFiberAfterEffects(fiber$jscomp$0);\n if (fiber$jscomp$0 === fiberToDelete) {\n nextEffect = null;\n break;\n }\n if (null !== sibling) {\n sibling.return = returnFiber;\n nextEffect = sibling;\n break;\n }\n nextEffect = returnFiber;\n }\n }\n }\n var previousFiber = fiber.alternate;\n if (null !== previousFiber) {\n var detachedChild = previousFiber.child;\n if (null !== detachedChild) {\n previousFiber.child = null;\n do {\n var detachedSibling = detachedChild.sibling;\n detachedChild.sibling = null;\n detachedChild = detachedSibling;\n } while (null !== detachedChild);\n }\n }\n nextEffect = fiber;\n }\n }\n if (0 !== (fiber.subtreeFlags & 1040) && null !== child)\n (child.return = fiber), (nextEffect = child);\n else\n b: for (; null !== nextEffect; ) {\n fiber = nextEffect;\n if (0 !== (fiber.flags & 1024))\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(5, fiber, fiber.return);\n }\n var sibling$jscomp$0 = fiber.sibling;\n if (null !== sibling$jscomp$0) {\n sibling$jscomp$0.return = fiber.return;\n nextEffect = sibling$jscomp$0;\n break b;\n }\n nextEffect = fiber.return;\n }\n }\n var finishedWork = renderPriority.current;\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n child = nextEffect;\n var firstChild = child.child;\n if (0 !== (child.subtreeFlags & 1040) && null !== firstChild)\n (firstChild.return = child), (nextEffect = firstChild);\n else\n b: for (child = finishedWork; null !== nextEffect; ) {\n deletions = nextEffect;\n if (0 !== (deletions.flags & 1024))\n try {\n switch (deletions.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(5, deletions);\n }\n } catch (error) {\n captureCommitPhaseError(deletions, deletions.return, error);\n }\n if (deletions === child) {\n nextEffect = null;\n break b;\n }\n var sibling$jscomp$1 = deletions.sibling;\n if (null !== sibling$jscomp$1) {\n sibling$jscomp$1.return = deletions.return;\n nextEffect = sibling$jscomp$1;\n break b;\n }\n nextEffect = deletions.return;\n }\n }\n executionContext = prevExecutionContext;\n flushSyncCallbacks();\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, renderPriority);\n } catch (err) {}\n JSCompiler_inline_result = !0;\n }\n return JSCompiler_inline_result;\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$2.transition = prevTransition);\n }\n }\n return !1;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1);\n enqueueUpdate(rootFiber, sourceFiber);\n sourceFiber = requestEventTime();\n rootFiber = markUpdateLaneFromFiberToRoot(rootFiber, 1);\n null !== rootFiber &&\n (markRootUpdated(rootFiber, 1, sourceFiber),\n ensureRootIsScheduled(rootFiber, sourceFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (\n nearestMountedAncestor = sourceFiber.return;\n null !== nearestMountedAncestor;\n\n ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n break;\n } else if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValue(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n enqueueUpdate(nearestMountedAncestor, sourceFiber);\n sourceFiber = requestEventTime();\n nearestMountedAncestor = markUpdateLaneFromFiberToRoot(\n nearestMountedAncestor,\n 1\n );\n null !== nearestMountedAncestor &&\n (markRootUpdated(nearestMountedAncestor, 1, sourceFiber),\n ensureRootIsScheduled(nearestMountedAncestor, sourceFiber));\n break;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n wakeable = requestEventTime();\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (4 === workInProgressRootExitStatus ||\n (3 === workInProgressRootExitStatus &&\n (workInProgressRootRenderLanes & 130023424) ===\n workInProgressRootRenderLanes &&\n 500 > now() - globalMostRecentFallbackTime)\n ? prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes));\n ensureRootIsScheduled(root, wakeable);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryCache = boundaryFiber.stateNode;\n null !== retryCache && retryCache.delete(wakeable);\n wakeable = 0;\n 0 === wakeable &&\n (0 === (boundaryFiber.mode & 1)\n ? (wakeable = 1)\n : ((wakeable = nextRetryLane),\n (nextRetryLane <<= 1),\n 0 === (nextRetryLane & 130023424) && (nextRetryLane = 4194304)));\n retryCache = requestEventTime();\n boundaryFiber = markUpdateLaneFromFiberToRoot(boundaryFiber, wakeable);\n null !== boundaryFiber &&\n (markRootUpdated(boundaryFiber, wakeable, retryCache),\n ensureRootIsScheduled(boundaryFiber, retryCache));\n}\nvar beginWork$1;\nbeginWork$1 = function(current, workInProgress, renderLanes) {\n var updateLanes = workInProgress.lanes;\n if (null !== current)\n if (\n current.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (0 === (renderLanes & updateLanes)) {\n didReceiveUpdate = !1;\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n break;\n case 10:\n updateLanes = workInProgress.type._context;\n var nextValue = workInProgress.memoizedProps.value;\n push(valueCursor, updateLanes._currentValue2);\n updateLanes._currentValue2 = nextValue;\n break;\n case 13:\n if (null !== workInProgress.memoizedState) {\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(\n current,\n workInProgress,\n renderLanes\n );\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== workInProgress ? workInProgress.sibling : null;\n }\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n break;\n case 19:\n updateLanes = 0 !== (renderLanes & workInProgress.childLanes);\n if (0 !== (current.flags & 128)) {\n if (updateLanes)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n nextValue = workInProgress.memoizedState;\n null !== nextValue &&\n ((nextValue.rendering = null),\n (nextValue.tail = null),\n (nextValue.lastEffect = null));\n push(suspenseStackCursor, suspenseStackCursor.current);\n if (updateLanes) break;\n else return null;\n case 22:\n case 23:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(current, workInProgress, renderLanes)\n );\n }\n return bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n }\n didReceiveUpdate = 0 !== (current.flags & 32768) ? !0 : !1;\n }\n else didReceiveUpdate = !1;\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 2:\n updateLanes = workInProgress.type;\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n current = workInProgress.pendingProps;\n nextValue = getMaskedContext(workInProgress, contextStackCursor.current);\n prepareToReadContext(workInProgress, renderLanes);\n nextValue = renderWithHooks(\n null,\n workInProgress,\n updateLanes,\n current,\n nextValue,\n renderLanes\n );\n workInProgress.flags |= 1;\n if (\n \"object\" === typeof nextValue &&\n null !== nextValue &&\n \"function\" === typeof nextValue.render &&\n void 0 === nextValue.$$typeof\n ) {\n workInProgress.tag = 1;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n if (isContextProvider(updateLanes)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== nextValue.state && void 0 !== nextValue.state\n ? nextValue.state\n : null;\n initializeUpdateQueue(workInProgress);\n nextValue.updater = classComponentUpdater;\n workInProgress.stateNode = nextValue;\n nextValue._reactInternals = workInProgress;\n mountClassInstance(workInProgress, updateLanes, current, renderLanes);\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n updateLanes,\n !0,\n hasContext,\n renderLanes\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(null, workInProgress, nextValue, renderLanes),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n nextValue = workInProgress.elementType;\n a: {\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n current = workInProgress.pendingProps;\n hasContext = nextValue._init;\n nextValue = hasContext(nextValue._payload);\n workInProgress.type = nextValue;\n hasContext = workInProgress.tag = resolveLazyComponentTag(nextValue);\n current = resolveDefaultProps(nextValue, current);\n switch (hasContext) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n nextValue,\n current,\n renderLanes\n );\n break a;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n nextValue,\n resolveDefaultProps(nextValue.type, current),\n updateLanes,\n renderLanes\n );\n break a;\n }\n throw Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n nextValue +\n \". Lazy element type must resolve to a class or function.\"\n );\n }\n return workInProgress;\n case 0:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateFunctionComponent(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 1:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateClassComponent(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n updateLanes = workInProgress.updateQueue;\n if (null === current || null === updateLanes)\n throw Error(\n \"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.\"\n );\n nextValue = workInProgress.pendingProps;\n updateLanes = workInProgress.memoizedState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, nextValue, null, renderLanes);\n nextValue = workInProgress.memoizedState.element;\n nextValue === updateLanes\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ))\n : (reconcileChildren(current, workInProgress, nextValue, renderLanes),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n (updateLanes = workInProgress.pendingProps.children),\n markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, updateLanes, renderLanes),\n workInProgress.child\n );\n case 6:\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (updateLanes = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n updateLanes,\n renderLanes\n ))\n : reconcileChildren(\n current,\n workInProgress,\n updateLanes,\n renderLanes\n ),\n workInProgress.child\n );\n case 11:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n updateForwardRef(\n current,\n workInProgress,\n updateLanes,\n nextValue,\n renderLanes\n )\n );\n case 7:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n a: {\n updateLanes = workInProgress.type._context;\n nextValue = workInProgress.pendingProps;\n hasContext = workInProgress.memoizedProps;\n var newValue = nextValue.value;\n push(valueCursor, updateLanes._currentValue2);\n updateLanes._currentValue2 = newValue;\n if (null !== hasContext)\n if (objectIs(hasContext.value, newValue)) {\n if (\n hasContext.children === nextValue.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n } else\n for (\n newValue = workInProgress.child,\n null !== newValue && (newValue.return = workInProgress);\n null !== newValue;\n\n ) {\n var list = newValue.dependencies;\n if (null !== list) {\n hasContext = newValue.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (dependency.context === updateLanes) {\n if (1 === newValue.tag) {\n dependency = createUpdate(-1, renderLanes & -renderLanes);\n dependency.tag = 2;\n var updateQueue = newValue.updateQueue;\n if (null !== updateQueue) {\n updateQueue = updateQueue.shared;\n var pending = updateQueue.pending;\n null === pending\n ? (dependency.next = dependency)\n : ((dependency.next = pending.next),\n (pending.next = dependency));\n updateQueue.pending = dependency;\n }\n }\n newValue.lanes |= renderLanes;\n dependency = newValue.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleWorkOnParentPath(newValue.return, renderLanes);\n list.lanes |= renderLanes;\n break;\n }\n dependency = dependency.next;\n }\n } else\n hasContext =\n 10 === newValue.tag\n ? newValue.type === workInProgress.type\n ? null\n : newValue.child\n : newValue.child;\n if (null !== hasContext) hasContext.return = newValue;\n else\n for (hasContext = newValue; null !== hasContext; ) {\n if (hasContext === workInProgress) {\n hasContext = null;\n break;\n }\n newValue = hasContext.sibling;\n if (null !== newValue) {\n newValue.return = hasContext.return;\n hasContext = newValue;\n break;\n }\n hasContext = hasContext.return;\n }\n newValue = hasContext;\n }\n reconcileChildren(\n current,\n workInProgress,\n nextValue.children,\n renderLanes\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (nextValue = workInProgress.type),\n (updateLanes = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress, renderLanes),\n (nextValue = readContext(nextValue)),\n (updateLanes = updateLanes(nextValue)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, updateLanes, renderLanes),\n workInProgress.child\n );\n case 14:\n return (\n (nextValue = workInProgress.type),\n (hasContext = resolveDefaultProps(\n nextValue,\n workInProgress.pendingProps\n )),\n (hasContext = resolveDefaultProps(nextValue.type, hasContext)),\n updateMemoComponent(\n current,\n workInProgress,\n nextValue,\n hasContext,\n updateLanes,\n renderLanes\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n updateLanes,\n renderLanes\n );\n case 17:\n return (\n (updateLanes = workInProgress.type),\n (nextValue = workInProgress.pendingProps),\n (nextValue =\n workInProgress.elementType === updateLanes\n ? nextValue\n : resolveDefaultProps(updateLanes, nextValue)),\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2)),\n (workInProgress.tag = 1),\n isContextProvider(updateLanes)\n ? ((current = !0), pushContextProvider(workInProgress))\n : (current = !1),\n prepareToReadContext(workInProgress, renderLanes),\n constructClassInstance(workInProgress, updateLanes, nextValue),\n mountClassInstance(workInProgress, updateLanes, nextValue, renderLanes),\n finishClassComponent(\n null,\n workInProgress,\n updateLanes,\n !0,\n current,\n renderLanes\n )\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n case 23:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n};\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 1835008;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_DEBUG_TRACING_MODE_TYPE:\n fiberTag = 8;\n mode |= 4;\n break;\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 8;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_OFFSCREEN_TYPE:\n return createFiberFromOffscreen(pendingProps, mode, lanes, key);\n case REACT_LEGACY_HIDDEN_TYPE:\n return (\n (type = createFiber(23, pendingProps, key, mode)),\n (type.elementType = REACT_LEGACY_HIDDEN_TYPE),\n (type.lanes = lanes),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n (null == type ? type : typeof type) +\n \".\"\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiber(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromOffscreen(pendingProps, mode, lanes, key) {\n pendingProps = createFiber(22, pendingProps, key, mode);\n pendingProps.elementType = REACT_OFFSCREEN_TYPE;\n pendingProps.lanes = lanes;\n return pendingProps;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiber(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(containerInfo, tag, hydrate) {\n this.tag = tag;\n this.containerInfo = containerInfo;\n this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = -1;\n this.pendingContext = this.context = null;\n this.hydrate = hydrate;\n this.callbackNode = null;\n this.callbackPriority = 0;\n this.eventTimes = createLaneMap(0);\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;\n this.entanglements = createLaneMap(0);\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw Error(\"Unable to find node on an unmounted component.\");\n throw Error(\n \"Argument appears to not be a ReactComponent. Keys: \" +\n Object.keys(component)\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current = container.current,\n eventTime = requestEventTime(),\n lane = requestUpdateLane(current);\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternals;\n b: {\n if (\n getNearestMountedFiber(parentComponent) !== parentComponent ||\n 1 !== parentComponent.tag\n )\n throw Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n );\n var JSCompiler_inline_result = parentComponent;\n do {\n switch (JSCompiler_inline_result.tag) {\n case 3:\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(JSCompiler_inline_result.type)) {\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n JSCompiler_inline_result = JSCompiler_inline_result.return;\n } while (null !== JSCompiler_inline_result);\n throw Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n JSCompiler_inline_result\n );\n break a;\n }\n }\n parentComponent = JSCompiler_inline_result;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = createUpdate(eventTime, lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback && (container.callback = callback);\n enqueueUpdate(current, container);\n element = scheduleUpdateOnFiber(current, lane, eventTime);\n null !== element && entangleTransitions(element, current, lane);\n return lane;\n}\nfunction emptyFindFiberByHostInstance() {\n return null;\n}\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n 0 === executionContext &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n }\n};\nvar roots = new Map(),\n devToolsConfig$jscomp$inline_939 = {\n findFiberByHostInstance: getInstanceFromInstance,\n bundleType: 0,\n version: \"18.0.0-experimental-568dc3532\",\n rendererPackageName: \"react-native-renderer\",\n rendererConfig: {\n getInspectorDataForViewTag: function() {\n throw Error(\n \"getInspectorDataForViewTag() is not available in production\"\n );\n },\n getInspectorDataForViewAtPoint: function() {\n throw Error(\n \"getInspectorDataForViewAtPoint() is not available in production.\"\n );\n }.bind(null, findNodeHandle)\n }\n };\nvar internals$jscomp$inline_1177 = {\n bundleType: devToolsConfig$jscomp$inline_939.bundleType,\n version: devToolsConfig$jscomp$inline_939.version,\n rendererPackageName: devToolsConfig$jscomp$inline_939.rendererPackageName,\n rendererConfig: devToolsConfig$jscomp$inline_939.rendererConfig,\n overrideHookState: null,\n overrideHookStateDeletePath: null,\n overrideHookStateRenamePath: null,\n overrideProps: null,\n overridePropsDeletePath: null,\n overridePropsRenamePath: null,\n setErrorHandler: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance:\n devToolsConfig$jscomp$inline_939.findFiberByHostInstance ||\n emptyFindFiberByHostInstance,\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null,\n reconcilerVersion: \"18.0.0-experimental-568dc3532\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n var hook$jscomp$inline_1178 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (\n !hook$jscomp$inline_1178.isDisabled &&\n hook$jscomp$inline_1178.supportsFiber\n )\n try {\n (rendererID = hook$jscomp$inline_1178.inject(\n internals$jscomp$inline_1177\n )),\n (injectedHook = hook$jscomp$inline_1178);\n } catch (err) {}\n}\nexports.createPortal = function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n};\nexports.dispatchCommand = function(handle, command, args) {\n null != handle._nativeTag &&\n (handle._internalInstanceHandle\n ? nativeFabricUIManager.dispatchCommand(\n handle._internalInstanceHandle.stateNode.node,\n command,\n args\n )\n : ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(\n handle._nativeTag,\n command,\n args\n ));\n};\nexports.findHostInstance_DEPRECATED = function(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (componentOrHandle._nativeTag) return componentOrHandle;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical\n : componentOrHandle;\n};\nexports.findNodeHandle = findNodeHandle;\nexports.render = function(element, containerTag, callback, concurrentRoot) {\n var root = roots.get(containerTag);\n root ||\n ((root = concurrentRoot ? 1 : 0),\n (concurrentRoot = new FiberRootNode(containerTag, root, !1)),\n (root = createFiber(3, null, null, 1 === root ? 1 : 0)),\n (concurrentRoot.current = root),\n (root.stateNode = concurrentRoot),\n (root.memoizedState = { element: null }),\n initializeUpdateQueue(root),\n (root = concurrentRoot),\n roots.set(containerTag, root));\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode.canonical;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n};\nexports.sendAccessibilityEvent = function(handle, eventType) {\n null != handle._nativeTag &&\n (handle._internalInstanceHandle\n ? nativeFabricUIManager.sendAccessibilityEvent(\n handle._internalInstanceHandle.stateNode.node,\n eventType\n )\n : ReactNativePrivateInterface.legacySendAccessibilityEvent(\n handle._nativeTag,\n eventType\n ));\n};\nexports.stopSurface = function(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n};\nexports.unmountComponentAtNode = function(containerTag) {\n this.stopSurface(containerTag);\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport logError from '../Utilities/logError';\nimport NativeAppState from './NativeAppState';\nimport Platform from '../Utilities/Platform';\n\nexport type AppStateValues = 'inactive' | 'background' | 'active';\n\ntype AppStateEventDefinitions = {\n change: [AppStateValues],\n memoryWarning: [],\n blur: [],\n focus: [],\n};\n\ntype NativeAppStateEventDefinitions = {\n appStateDidChange: [{app_state: AppStateValues}],\n appStateFocusChange: [boolean],\n memoryWarning: [],\n};\n\n/**\n * `AppState` can tell you if the app is in the foreground or background,\n * and notify you when the state changes.\n *\n * See https://reactnative.dev/docs/appstate.html\n */\nclass AppState {\n currentState: ?string = null;\n isAvailable: boolean;\n\n _emitter: ?NativeEventEmitter;\n\n constructor() {\n if (NativeAppState == null) {\n this.isAvailable = false;\n } else {\n this.isAvailable = true;\n\n const emitter: NativeEventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAppState,\n );\n this._emitter = emitter;\n\n this.currentState = NativeAppState.getConstants().initialAppState;\n\n let eventUpdated = false;\n\n // TODO: this is a terrible solution - in order to ensure `currentState`\n // prop is up to date, we have to register an observer that updates it\n // whenever the state changes, even if nobody cares. We should just\n // deprecate the `currentState` property and get rid of this.\n emitter.addListener('appStateDidChange', appStateData => {\n eventUpdated = true;\n this.currentState = appStateData.app_state;\n });\n\n // TODO: see above - this request just populates the value of `currentState`\n // when the module is first initialized. Would be better to get rid of the\n // prop and expose `getCurrentAppState` method directly.\n // $FlowExpectedError[incompatible-call]\n NativeAppState.getCurrentAppState(appStateData => {\n // It's possible that the state will have changed here & listeners need to be notified\n if (!eventUpdated && this.currentState !== appStateData.app_state) {\n this.currentState = appStateData.app_state;\n emitter.emit('appStateDidChange', appStateData);\n }\n }, logError);\n }\n }\n\n // TODO: now that AppState is a subclass of NativeEventEmitter, we could\n // deprecate `addEventListener` and `removeEventListener` and just use\n // addListener` and `listener.remove()` directly. That will be a breaking\n // change though, as both the method and event names are different\n // (addListener events are currently required to be globally unique).\n /**\n * Add a handler to AppState changes by listening to the `change` event type\n * and providing the handler.\n *\n * See https://reactnative.dev/docs/appstate.html#addeventlistener\n */\n addEventListener>(\n type: K,\n handler: (...$ElementType) => void,\n ): EventSubscription {\n const emitter = this._emitter;\n if (emitter == null) {\n throw new Error('Cannot use AppState when `isAvailable` is false.');\n }\n switch (type) {\n case 'change':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const changeHandler: AppStateValues => void = handler;\n return emitter.addListener('appStateDidChange', appStateData => {\n changeHandler(appStateData.app_state);\n });\n case 'memoryWarning':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const memoryWarningHandler: () => void = handler;\n return emitter.addListener('memoryWarning', memoryWarningHandler);\n case 'blur':\n case 'focus':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const focusOrBlurHandler: () => void = handler;\n return emitter.addListener('appStateFocusChange', hasFocus => {\n if (type === 'blur' && !hasFocus) {\n focusOrBlurHandler();\n }\n if (type === 'focus' && hasFocus) {\n focusOrBlurHandler();\n }\n });\n }\n throw new Error('Trying to subscribe to unknown event: ' + type);\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n removeEventListener>(\n type: K,\n listener: (...$ElementType) => mixed,\n ): void {\n const emitter = this._emitter;\n if (emitter == null) {\n throw new Error('Cannot use AppState when `isAvailable` is false.');\n }\n // NOTE: This will report a deprecation notice via `console.error`.\n switch (type) {\n case 'change':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n // $FlowIssue[incompatible-call]\n emitter.removeListener('appStateDidChange', listener);\n return;\n case 'memoryWarning':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n emitter.removeListener('memoryWarning', listener);\n return;\n case 'blur':\n case 'focus':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n // $FlowIssue[incompatible-call]\n emitter.addListener('appStateFocusChange', listener);\n return;\n }\n throw new Error('Trying to unsubscribe from unknown event: ' + type);\n }\n}\n\nmodule.exports = (new AppState(): AppState);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Small utility that can be used as an error handler. You cannot just pass\n * `console.error` as a failure callback - it's not properly bound. If passes an\n * `Error` object, it will print the message and stack.\n */\nconst logError = function(...args: $ReadOnlyArray) {\n if (args.length === 1 && args[0] instanceof Error) {\n const err = args[0];\n console.error('Error: \"' + err.message + '\". Stack:\\n' + err.stack);\n } else {\n console.error.apply(console, args);\n }\n};\n\nmodule.exports = logError;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n initialAppState: string,\n |};\n +getCurrentAppState: (\n success: (appState: {|app_state: string|}) => void,\n error: (error: Object) => void,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('AppState'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @jsdoc\n */\n\nimport NativeAsyncLocalStorage from './NativeAsyncLocalStorage';\nimport NativeAsyncSQLiteDBStorage from './NativeAsyncSQLiteDBStorage';\nimport invariant from 'invariant';\n\n// Use SQLite if available, otherwise file storage.\nconst RCTAsyncStorage = NativeAsyncSQLiteDBStorage || NativeAsyncLocalStorage;\n\ntype GetRequest = {\n keys: Array,\n callback: ?(errors: ?Array, result: ?Array>) => void,\n keyIndex: number,\n resolve: (\n result?:\n | void\n | null\n | Promise>>\n | Array>,\n ) => void,\n reject: (error?: mixed) => void,\n};\n\n/**\n * `AsyncStorage` is a simple, unencrypted, asynchronous, persistent, key-value\n * storage system that is global to the app. It should be used instead of\n * LocalStorage.\n *\n * See https://reactnative.dev/docs/asyncstorage.html\n */\nconst AsyncStorage = {\n _getRequests: ([]: Array),\n _getKeys: ([]: Array),\n _immediate: (null: ?number),\n\n /**\n * Fetches an item for a `key` and invokes a callback upon completion.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#getitem\n */\n getItem: function(\n key: string,\n callback?: ?(error: ?Error, result: ?string) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiGet([key], function(errors, result) {\n // Unpack result to get value from [[key,value]]\n const value = result && result[0] && result[0][1] ? result[0][1] : null;\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0], value);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve(value);\n }\n });\n });\n },\n\n /**\n * Sets the value for a `key` and invokes a callback upon completion.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#setitem\n */\n setItem: function(\n key: string,\n value: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiSet([[key, value]], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Removes an item for a `key` and invokes a callback upon completion.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#removeitem\n */\n removeItem: function(\n key: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiRemove([key], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Merges an existing `key` value with an input value, assuming both values\n * are stringified JSON.\n *\n * **NOTE:** This is not supported by all native implementations.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#mergeitem\n */\n mergeItem: function(\n key: string,\n value: string,\n callback?: ?(error: ?Error) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiMerge([[key, value]], function(errors) {\n const errs = convertErrors(errors);\n callback && callback(errs && errs[0]);\n if (errs) {\n reject(errs[0]);\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Erases *all* `AsyncStorage` for all clients, libraries, etc. You probably\n * don't want to call this; use `removeItem` or `multiRemove` to clear only\n * your app's keys.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#clear\n */\n clear: function(callback?: ?(error: ?Error) => void): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.clear(function(error) {\n callback && callback(convertError(error));\n if (error && convertError(error)) {\n reject(convertError(error));\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Gets *all* keys known to your app; for all callers, libraries, etc.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#getallkeys\n */\n getAllKeys: function(\n callback?: ?(error: ?Error, keys: ?Array) => void,\n ): Promise> {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.getAllKeys(function(error, keys) {\n callback && callback(convertError(error), keys);\n if (error) {\n reject(convertError(error));\n } else {\n resolve(keys);\n }\n });\n });\n },\n\n /**\n * The following batched functions are useful for executing a lot of\n * operations at once, allowing for native optimizations and provide the\n * convenience of a single callback after all operations are complete.\n *\n * These functions return arrays of errors, potentially one for every key.\n * For key-specific errors, the Error object will have a key property to\n * indicate which key caused the error.\n */\n\n /**\n * Flushes any pending requests using a single batch call to get the data.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#flushgetrequests\n * */\n flushGetRequests: function(): void {\n const getRequests = this._getRequests;\n const getKeys = this._getKeys;\n\n this._getRequests = [];\n this._getKeys = [];\n\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n RCTAsyncStorage.multiGet(getKeys, function(errors, result) {\n // Even though the runtime complexity of this is theoretically worse vs if we used a map,\n // it's much, much faster in practice for the data sets we deal with (we avoid\n // allocating result pair arrays). This was heavily benchmarked.\n //\n // Is there a way to avoid using the map but fix the bug in this breaking test?\n // https://github.com/facebook/react-native/commit/8dd8ad76579d7feef34c014d387bf02065692264\n const map = {};\n result &&\n result.forEach(([key, value]) => {\n map[key] = value;\n return value;\n });\n const reqLength = getRequests.length;\n for (let i = 0; i < reqLength; i++) {\n const request = getRequests[i];\n const requestKeys = request.keys;\n const requestResult = requestKeys.map(key => [key, map[key]]);\n request.callback && request.callback(null, requestResult);\n request.resolve && request.resolve(requestResult);\n }\n });\n },\n\n /**\n * This allows you to batch the fetching of items given an array of `key`\n * inputs. Your callback will be invoked with an array of corresponding\n * key-value pairs found.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#multiget\n */\n // $FlowFixMe[signature-verification-failure]\n multiGet: function(\n keys: Array,\n callback?: ?(errors: ?Array, result: ?Array>) => void,\n ): Promise>> {\n if (!this._immediate) {\n this._immediate = setImmediate(() => {\n this._immediate = null;\n this.flushGetRequests();\n });\n }\n\n return new Promise>>((resolve, reject) => {\n this._getRequests.push({\n keys,\n callback,\n // do we need this?\n keyIndex: this._getKeys.length,\n resolve,\n reject,\n });\n // avoid fetching duplicates\n keys.forEach(key => {\n if (this._getKeys.indexOf(key) === -1) {\n this._getKeys.push(key);\n }\n });\n });\n },\n\n /**\n * Use this as a batch operation for storing multiple key-value pairs. When\n * the operation completes you'll get a single callback with any errors.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#multiset\n */\n multiSet: function(\n keyValuePairs: Array>,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiSet(keyValuePairs, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Call this to batch the deletion of all keys in the `keys` array.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#multiremove\n */\n multiRemove: function(\n keys: Array,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiRemove(keys, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve();\n }\n });\n });\n },\n\n /**\n * Batch operation to merge in existing and new values for a given set of\n * keys. This assumes that the values are stringified JSON.\n *\n * **NOTE**: This is not supported by all native implementations.\n *\n * See https://reactnative.dev/docs/asyncstorage.html#multimerge\n */\n multiMerge: function(\n keyValuePairs: Array>,\n callback?: ?(errors: ?Array) => void,\n ): Promise {\n invariant(RCTAsyncStorage, 'RCTAsyncStorage not available');\n return new Promise((resolve, reject) => {\n RCTAsyncStorage.multiMerge(keyValuePairs, function(errors) {\n const error = convertErrors(errors);\n callback && callback(error);\n if (error) {\n reject(error);\n } else {\n resolve();\n }\n });\n });\n },\n};\n\n// Not all native implementations support merge.\n// TODO: Check whether above comment is correct. multiMerge is guaranteed to\n// exist in the module spec so we should be able to just remove this check.\nif (RCTAsyncStorage && !RCTAsyncStorage.multiMerge) {\n // $FlowFixMe[unclear-type]\n delete (AsyncStorage: any).mergeItem;\n // $FlowFixMe[unclear-type]\n delete (AsyncStorage: any).multiMerge;\n}\n\nfunction convertErrors(\n // NOTE: The native module spec only has the Array case, but the Android\n // implementation passes a single object.\n errs: ?(\n | {message: string, key?: string}\n | Array<{message: string, key?: string}>\n ),\n) {\n if (!errs) {\n return null;\n }\n return (Array.isArray(errs) ? errs : [errs]).map(e => convertError(e));\n}\n\ndeclare function convertError(void | null): null;\ndeclare function convertError({message: string, key?: string}): Error;\nfunction convertError(error) {\n if (!error) {\n return null;\n }\n const out = new Error(error.message);\n // $FlowFixMe[unclear-type]\n (out: any).key = error.key;\n return out;\n}\n\nmodule.exports = AsyncStorage;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {};\n +multiGet: (\n keys: Array,\n callback: (\n errors: ?Array<{message: string, key?: string}>,\n kvPairs: ?Array>,\n ) => void,\n ) => void;\n +multiSet: (\n kvPairs: Array>,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +multiMerge: (\n kvPairs: Array>,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +multiRemove: (\n keys: Array,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +clear: (callback: (error: {message: string, key?: string}) => void) => void;\n +getAllKeys: (\n callback: (\n error: ?{message: string, key?: string},\n allKeys: ?Array,\n ) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AsyncLocalStorage'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {};\n +multiGet: (\n keys: Array,\n callback: (\n errors: ?Array<{message: string, key?: string}>,\n kvPairs: ?Array>,\n ) => void,\n ) => void;\n +multiSet: (\n kvPairs: Array>,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +multiMerge: (\n kvPairs: Array>,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +multiRemove: (\n keys: Array,\n callback: (errors: ?Array<{message: string, key?: string}>) => void,\n ) => void;\n +clear: (callback: (error: {message: string, key?: string}) => void) => void;\n +getAllKeys: (\n callback: (\n error: ?{message: string, key?: string},\n allKeys: ?Array,\n ) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AsyncSQLiteDBStorage'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeClipboard from './NativeClipboard';\n\n/**\n * `Clipboard` gives you an interface for setting and getting content from Clipboard on both iOS and Android\n */\nmodule.exports = {\n /**\n * Get content of string type, this method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _getContent() {\n * var content = await Clipboard.getString();\n * }\n * ```\n */\n getString(): Promise {\n return NativeClipboard.getString();\n },\n /**\n * Set content of string type. You can use following code to set clipboard content\n * ```javascript\n * _setContent() {\n * Clipboard.setString('hello world');\n * }\n * ```\n * @param the content to be stored in the clipboard.\n */\n setString(content: string) {\n NativeClipboard.setString(content);\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +getString: () => Promise;\n +setString: (content: string) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Clipboard'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {Options, DatePickerOpenAction} from './DatePickerAndroidTypes';\n\nclass DatePickerAndroid {\n static async open(options: ?Options): Promise {\n throw new Error('DatePickerAndroid is not supported on this platform.');\n }\n\n /**\n * A date has been selected.\n */\n static +dateSetAction: 'dateSetAction' = 'dateSetAction';\n /**\n * The dialog has been dismissed.\n */\n static +dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = DatePickerAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeDeviceInfo from './NativeDeviceInfo';\n\nmodule.exports = NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport NativeDevSettings from '../NativeModules/specs/NativeDevSettings';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport Platform from '../Utilities/Platform';\n\nlet DevSettings: {\n addMenuItem(title: string, handler: () => mixed): void,\n reload(reason?: string): void,\n onFastRefresh(): void,\n} = {\n addMenuItem(title: string, handler: () => mixed): void {},\n reload(reason?: string): void {},\n onFastRefresh(): void {},\n};\n\ntype DevSettingsEventDefinitions = {\n didPressMenuItem: [{title: string}],\n};\n\nif (__DEV__) {\n const emitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeDevSettings,\n );\n const subscriptions = new Map();\n\n DevSettings = {\n addMenuItem(title: string, handler: () => mixed): void {\n // Make sure items are not added multiple times. This can\n // happen when hot reloading the module that registers the\n // menu items. The title is used as the id which means we\n // don't support multiple items with the same name.\n let subscription = subscriptions.get(title);\n if (subscription != null) {\n subscription.remove();\n } else {\n NativeDevSettings.addMenuItem(title);\n }\n\n subscription = emitter.addListener('didPressMenuItem', event => {\n if (event.title === title) {\n handler();\n }\n });\n subscriptions.set(title, subscription);\n },\n reload(reason?: string): void {\n if (NativeDevSettings.reloadWithReason != null) {\n NativeDevSettings.reloadWithReason(reason ?? 'Uncategorized from JS');\n } else {\n NativeDevSettings.reload();\n }\n },\n onFastRefresh(): void {\n NativeDevSettings.onFastRefresh?.();\n },\n };\n}\n\nmodule.exports = DevSettings;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +reload: () => void;\n +reloadWithReason?: (reason: string) => void;\n +onFastRefresh?: () => void;\n +setHotLoadingEnabled: (isHotLoadingEnabled: boolean) => void;\n +setIsDebuggingRemotely: (isDebuggingRemotelyEnabled: boolean) => void;\n +setProfilingEnabled: (isProfilingEnabled: boolean) => void;\n +toggleElementInspector: () => void;\n +addMenuItem: (title: string) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n\n // iOS only.\n +setIsShakeToShowDevMenuEnabled: (enabled: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('DevSettings'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeImagePickerIOS from './NativeImagePickerIOS';\nimport invariant from 'invariant';\n\nconst ImagePickerIOS = {\n canRecordVideos: function(callback: (result: boolean) => void): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n return NativeImagePickerIOS.canRecordVideos(callback);\n },\n canUseCamera: function(callback: (result: boolean) => void): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n return NativeImagePickerIOS.canUseCamera(callback);\n },\n openCameraDialog: function(\n config: $ReadOnly<{|\n unmirrorFrontFacingCamera?: boolean,\n videoMode?: boolean,\n |}>,\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n\n var newConfig = {\n videoMode: true,\n unmirrorFrontFacingCamera: false,\n };\n\n if (config.videoMode != null) {\n newConfig.videoMode = config.videoMode;\n }\n\n if (config.unmirrorFrontFacingCamera != null) {\n newConfig.unmirrorFrontFacingCamera = config.unmirrorFrontFacingCamera;\n }\n\n return NativeImagePickerIOS.openCameraDialog(\n newConfig,\n successCallback,\n cancelCallback,\n );\n },\n openSelectDialog: function(\n config: $ReadOnly<{|\n showImages?: boolean,\n showVideos?: boolean,\n |}>,\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n\n var newConfig = {\n showImages: true,\n showVideos: false,\n };\n\n if (config.showImages != null) {\n newConfig.showImages = config.showImages;\n }\n\n if (config.showVideos != null) {\n newConfig.showVideos = config.showVideos;\n }\n\n return NativeImagePickerIOS.openSelectDialog(\n newConfig,\n successCallback,\n cancelCallback,\n );\n },\n /**\n * In iOS 13, the video URLs returned by the Image Picker are invalidated when\n * the picker is dismissed, unless reference to it is held. This API allows\n * the application to signal when it's finished with the video so that the\n * reference can be cleaned up.\n * It is safe to call this method for urlsthat aren't video URLs;\n * it will be a no-op.\n */\n removePendingVideo: function(url: string): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n NativeImagePickerIOS.removePendingVideo(url);\n },\n /**\n * WARNING: In most cases, removePendingVideo should be used instead because\n * clearAllPendingVideos could clear out pending videos made by other callers.\n */\n clearAllPendingVideos: function(): void {\n invariant(NativeImagePickerIOS, 'ImagePickerIOS is not available');\n NativeImagePickerIOS.clearAllPendingVideos();\n },\n};\n\nmodule.exports = ImagePickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +canRecordVideos: (callback: (result: boolean) => void) => void;\n +canUseCamera: (callback: (result: boolean) => void) => void;\n +openCameraDialog: (\n config: {|\n unmirrorFrontFacingCamera: boolean,\n videoMode: boolean,\n |},\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ) => void;\n +openSelectDialog: (\n config: {|\n showImages: boolean,\n showVideos: boolean,\n |},\n successCallback: (imageURL: string, height: number, width: number) => void,\n cancelCallback: () => void,\n ) => void;\n +clearAllPendingVideos: () => void;\n +removePendingVideo: (url: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('ImagePickerIOS'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport InteractionManager from '../Interaction/InteractionManager';\nimport Platform from '../Utilities/Platform';\nimport NativeLinkingManager from './NativeLinkingManager';\nimport NativeIntentAndroid from './NativeIntentAndroid';\nimport invariant from 'invariant';\nimport nullthrows from 'nullthrows';\n\ntype LinkingEventDefinitions = {\n url: [{url: string}],\n};\n\n/**\n * `Linking` gives you a general interface to interact with both incoming\n * and outgoing app links.\n *\n * See https://reactnative.dev/docs/linking.html\n */\nclass Linking extends NativeEventEmitter {\n constructor() {\n super(Platform.OS === 'ios' ? nullthrows(NativeLinkingManager) : undefined);\n }\n\n /**\n * Add a handler to Linking changes by listening to the `url` event type\n * and providing the handler\n *\n * See https://reactnative.dev/docs/linking.html#addeventlistener\n */\n addEventListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context: $FlowFixMe,\n ): EventSubscription {\n return this.addListener(eventType, listener);\n }\n\n /**\n * @deprecated Use `remove` on the EventSubscription from `addEventListener`.\n */\n removeEventListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n ): void {\n // NOTE: This will report a deprecation notice via `console.error`.\n this.removeListener(eventType, listener);\n }\n\n /**\n * Try to open the given `url` with any of the installed apps.\n *\n * See https://reactnative.dev/docs/linking.html#openurl\n */\n openURL(url: string): Promise {\n this._validateURL(url);\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).openURL(url);\n } else {\n return nullthrows(NativeLinkingManager).openURL(url);\n }\n }\n\n /**\n * Determine whether or not an installed app can handle a given URL.\n *\n * See https://reactnative.dev/docs/linking.html#canopenurl\n */\n canOpenURL(url: string): Promise {\n this._validateURL(url);\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).canOpenURL(url);\n } else {\n return nullthrows(NativeLinkingManager).canOpenURL(url);\n }\n }\n\n /**\n * Open app settings.\n *\n * See https://reactnative.dev/docs/linking.html#opensettings\n */\n openSettings(): Promise {\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).openSettings();\n } else {\n return nullthrows(NativeLinkingManager).openSettings();\n }\n }\n\n /**\n * If the app launch was triggered by an app link,\n * it will give the link url, otherwise it will give `null`\n *\n * See https://reactnative.dev/docs/linking.html#getinitialurl\n */\n getInitialURL(): Promise {\n return Platform.OS === 'android'\n ? InteractionManager.runAfterInteractions().then(() =>\n nullthrows(NativeIntentAndroid).getInitialURL(),\n )\n : nullthrows(NativeLinkingManager).getInitialURL();\n }\n\n /*\n * Launch an Android intent with extras (optional)\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/linking.html#sendintent\n */\n sendIntent(\n action: string,\n extras?: Array<{\n key: string,\n value: string | number | boolean,\n ...\n }>,\n ): Promise {\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).sendIntent(action, extras);\n } else {\n return new Promise((resolve, reject) => reject(new Error('Unsupported')));\n }\n }\n\n _validateURL(url: string) {\n invariant(\n typeof url === 'string',\n 'Invalid URL: should be a string. Was: ' + url,\n );\n invariant(url, 'Invalid URL: cannot be empty');\n }\n}\n\nmodule.exports = (new Linking(): Linking);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // Common interface\n +getInitialURL: () => Promise;\n +canOpenURL: (url: string) => Promise;\n +openURL: (url: string) => Promise;\n +openSettings: () => Promise;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('LinkingManager'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getInitialURL: () => Promise;\n +canOpenURL: (url: string) => Promise;\n +openURL: (url: string) => Promise;\n +openSettings: () => Promise;\n +sendIntent: (\n action: string,\n extras: ?Array<{\n key: string,\n value: string | number | boolean, // TODO(T67672788): Union types are not type safe\n ...\n }>,\n ) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('IntentAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport Platform from '../Utilities/Platform';\nimport RCTLog from '../Utilities/RCTLog';\n\nimport type {IgnorePattern, LogData} from './Data/LogBoxData';\nimport type {ExtendedExceptionData} from './Data/parseLogBoxLog';\n\nexport type {LogData, ExtendedExceptionData, IgnorePattern};\n\nlet LogBox;\n\ninterface ILogBox {\n install(): void;\n uninstall(): void;\n isInstalled(): boolean;\n ignoreLogs($ReadOnlyArray): void;\n ignoreAllLogs(?boolean): void;\n clearAllLogs(): void;\n addLog(log: LogData): void;\n addException(error: ExtendedExceptionData): void;\n}\n\n/**\n * LogBox displays logs in the app.\n */\nif (__DEV__) {\n const LogBoxData = require('./Data/LogBoxData');\n const {parseLogBoxLog, parseInterpolation} = require('./Data/parseLogBoxLog');\n\n let originalConsoleError;\n let originalConsoleWarn;\n let consoleErrorImpl;\n let consoleWarnImpl;\n\n let isLogBoxInstalled: boolean = false;\n\n LogBox = {\n install(): void {\n if (isLogBoxInstalled) {\n return;\n }\n\n isLogBoxInstalled = true;\n\n // Trigger lazy initialization of module.\n require('../NativeModules/specs/NativeLogBox');\n\n // IMPORTANT: we only overwrite `console.error` and `console.warn` once.\n // When we uninstall we keep the same reference and only change its\n // internal implementation\n const isFirstInstall = originalConsoleError == null;\n if (isFirstInstall) {\n originalConsoleError = console.error.bind(console);\n originalConsoleWarn = console.warn.bind(console);\n\n // $FlowExpectedError[cannot-write]\n console.error = (...args) => {\n consoleErrorImpl(...args);\n };\n // $FlowExpectedError[cannot-write]\n console.warn = (...args) => {\n consoleWarnImpl(...args);\n };\n }\n\n consoleErrorImpl = registerError;\n consoleWarnImpl = registerWarning;\n\n if ((console: any).disableYellowBox === true) {\n LogBoxData.setDisabled(true);\n console.warn(\n 'console.disableYellowBox has been deprecated and will be removed in a future release. Please use LogBox.ignoreAllLogs(value) instead.',\n );\n }\n\n (Object.defineProperty: any)(console, 'disableYellowBox', {\n configurable: true,\n get: () => LogBoxData.isDisabled(),\n set: value => {\n LogBoxData.setDisabled(value);\n console.warn(\n 'console.disableYellowBox has been deprecated and will be removed in a future release. Please use LogBox.ignoreAllLogs(value) instead.',\n );\n },\n });\n\n if (Platform.isTesting) {\n LogBoxData.setDisabled(true);\n }\n\n RCTLog.setWarningHandler((...args) => {\n registerWarning(...args);\n });\n },\n\n uninstall(): void {\n if (!isLogBoxInstalled) {\n return;\n }\n\n isLogBoxInstalled = false;\n\n // IMPORTANT: we don't re-assign to `console` in case the method has been\n // decorated again after installing LogBox. E.g.:\n // Before uninstalling: original > LogBox > OtherErrorHandler\n // After uninstalling: original > LogBox (noop) > OtherErrorHandler\n consoleErrorImpl = originalConsoleError;\n consoleWarnImpl = originalConsoleWarn;\n delete (console: any).disableLogBox;\n },\n\n isInstalled(): boolean {\n return isLogBoxInstalled;\n },\n\n ignoreLogs(patterns: $ReadOnlyArray): void {\n LogBoxData.addIgnorePatterns(patterns);\n },\n\n ignoreAllLogs(value?: ?boolean): void {\n LogBoxData.setDisabled(value == null ? true : value);\n },\n\n clearAllLogs(): void {\n LogBoxData.clear();\n },\n\n addLog(log: LogData): void {\n if (isLogBoxInstalled) {\n LogBoxData.addLog(log);\n }\n },\n\n addException(error: ExtendedExceptionData): void {\n if (isLogBoxInstalled) {\n LogBoxData.addException(error);\n }\n },\n };\n\n const isRCTLogAdviceWarning = (...args) => {\n // RCTLogAdvice is a native logging function designed to show users\n // a message in the console, but not show it to them in Logbox.\n return typeof args[0] === 'string' && args[0].startsWith('(ADVICE)');\n };\n\n const isWarningModuleWarning = (...args) => {\n return typeof args[0] === 'string' && args[0].startsWith('Warning: ');\n };\n\n const registerWarning = (...args): void => {\n // Let warnings within LogBox itself fall through.\n if (LogBoxData.isLogBoxErrorMessage(String(args[0]))) {\n originalConsoleError(...args);\n return;\n }\n\n try {\n if (!isRCTLogAdviceWarning(...args)) {\n const {category, message, componentStack} = parseLogBoxLog(args);\n\n if (!LogBoxData.isMessageIgnored(message.content)) {\n // Be sure to pass LogBox warnings through.\n originalConsoleWarn(...args);\n\n LogBoxData.addLog({\n level: 'warn',\n category,\n message,\n componentStack,\n });\n }\n }\n } catch (err) {\n LogBoxData.reportLogBoxError(err);\n }\n };\n\n const registerError = (...args): void => {\n // Let errors within LogBox itself fall through.\n if (LogBoxData.isLogBoxErrorMessage(args[0])) {\n originalConsoleError(...args);\n return;\n }\n\n try {\n if (!isWarningModuleWarning(...args)) {\n // Only show LogBox for the 'warning' module, otherwise pass through.\n // By passing through, this will get picked up by the React console override,\n // potentially adding the component stack. React then passes it back to the\n // React Native ExceptionsManager, which reports it to LogBox as an error.\n //\n // The 'warning' module needs to be handled here because React internally calls\n // `console.error('Warning: ')` with the component stack already included.\n originalConsoleError(...args);\n return;\n }\n\n const format = args[0].replace('Warning: ', '');\n const filterResult = LogBoxData.checkWarningFilter(format);\n if (filterResult.suppressCompletely) {\n return;\n }\n\n let level = 'error';\n if (filterResult.suppressDialog_LEGACY === true) {\n level = 'warn';\n } else if (filterResult.forceDialogImmediately === true) {\n level = 'fatal'; // Do not downgrade. These are real bugs with same severity as throws.\n }\n\n // Unfortunately, we need to add the Warning: prefix back for downstream dependencies.\n args[0] = `Warning: ${filterResult.finalFormat}`;\n const {category, message, componentStack} = parseLogBoxLog(args);\n\n if (!LogBoxData.isMessageIgnored(message.content)) {\n // Interpolate the message so they are formatted for adb and other CLIs.\n // This is different than the message.content above because it includes component stacks.\n const interpolated = parseInterpolation(args);\n originalConsoleError(interpolated.message.content);\n\n LogBoxData.addLog({\n level,\n category,\n message,\n componentStack,\n });\n }\n } catch (err) {\n LogBoxData.reportLogBoxError(err);\n }\n };\n} else {\n LogBox = {\n install(): void {\n // Do nothing.\n },\n\n uninstall(): void {\n // Do nothing.\n },\n\n isInstalled(): boolean {\n return false;\n },\n\n ignoreLogs(patterns: $ReadOnlyArray): void {\n // Do nothing.\n },\n\n ignoreAllLogs(value?: ?boolean): void {\n // Do nothing.\n },\n\n clearAllLogs(): void {\n // Do nothing.\n },\n\n addLog(log: LogData): void {\n // Do nothing.\n },\n\n addException(error: ExtendedExceptionData): void {\n // Do nothing.\n },\n };\n}\n\nmodule.exports = (LogBox: ILogBox);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst InteractionManager = require('./InteractionManager');\nconst TouchHistoryMath = require('./TouchHistoryMath');\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\n\nconst currentCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;\nconst currentCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;\nconst previousCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidXOfTouchesChangedAfter;\nconst previousCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidYOfTouchesChangedAfter;\nconst currentCentroidX = TouchHistoryMath.currentCentroidX;\nconst currentCentroidY = TouchHistoryMath.currentCentroidY;\n\n/**\n * `PanResponder` reconciles several touches into a single gesture. It makes\n * single-touch gestures resilient to extra touches, and can be used to\n * recognize simple multi-touch gestures.\n *\n * By default, `PanResponder` holds an `InteractionManager` handle to block\n * long-running JS events from interrupting active gestures.\n *\n * It provides a predictable wrapper of the responder handlers provided by the\n * [gesture responder system](docs/gesture-responder-system.html).\n * For each handler, it provides a new `gestureState` object alongside the\n * native event object:\n *\n * ```\n * onPanResponderMove: (event, gestureState) => {}\n * ```\n *\n * A native event is a synthetic touch event with the following form:\n *\n * - `nativeEvent`\n * + `changedTouches` - Array of all touch events that have changed since the last event\n * + `identifier` - The ID of the touch\n * + `locationX` - The X position of the touch, relative to the element\n * + `locationY` - The Y position of the touch, relative to the element\n * + `pageX` - The X position of the touch, relative to the root element\n * + `pageY` - The Y position of the touch, relative to the root element\n * + `target` - The node id of the element receiving the touch event\n * + `timestamp` - A time identifier for the touch, useful for velocity calculation\n * + `touches` - Array of all current touches on the screen\n *\n * A `gestureState` object has the following:\n *\n * - `stateID` - ID of the gestureState- persisted as long as there at least\n * one touch on screen\n * - `moveX` - the latest screen coordinates of the recently-moved touch\n * - `moveY` - the latest screen coordinates of the recently-moved touch\n * - `x0` - the screen coordinates of the responder grant\n * - `y0` - the screen coordinates of the responder grant\n * - `dx` - accumulated distance of the gesture since the touch started\n * - `dy` - accumulated distance of the gesture since the touch started\n * - `vx` - current velocity of the gesture\n * - `vy` - current velocity of the gesture\n * - `numberActiveTouches` - Number of touches currently on screen\n *\n * ### Basic Usage\n *\n * ```\n * componentWillMount: function() {\n * this._panResponder = PanResponder.create({\n * // Ask to be the responder:\n * onStartShouldSetPanResponder: (evt, gestureState) => true,\n * onStartShouldSetPanResponderCapture: (evt, gestureState) => true,\n * onMoveShouldSetPanResponder: (evt, gestureState) => true,\n * onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,\n *\n * onPanResponderGrant: (evt, gestureState) => {\n * // The gesture has started. Show visual feedback so the user knows\n * // what is happening!\n *\n * // gestureState.d{x,y} will be set to zero now\n * },\n * onPanResponderMove: (evt, gestureState) => {\n * // The most recent move distance is gestureState.move{X,Y}\n *\n * // The accumulated gesture distance since becoming responder is\n * // gestureState.d{x,y}\n * },\n * onPanResponderTerminationRequest: (evt, gestureState) => true,\n * onPanResponderRelease: (evt, gestureState) => {\n * // The user has released all touches while this view is the\n * // responder. This typically means a gesture has succeeded\n * },\n * onPanResponderTerminate: (evt, gestureState) => {\n * // Another component has become the responder, so this gesture\n * // should be cancelled\n * },\n * onShouldBlockNativeResponder: (evt, gestureState) => {\n * // Returns whether this component should block native components from becoming the JS\n * // responder. Returns true by default. Is currently only supported on android.\n * return true;\n * },\n * });\n * },\n *\n * render: function() {\n * return (\n * \n * );\n * },\n *\n * ```\n *\n * ### Working Example\n *\n * To see it in action, try the\n * [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/HEAD/packages/rn-tester/js/examples/PanResponder/PanResponderExample.js)\n */\n\nexport type GestureState = {|\n /**\n * ID of the gestureState - persisted as long as there at least one touch on screen\n */\n stateID: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveX: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveY: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n x0: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n y0: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dx: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dy: number,\n\n /**\n * Current velocity of the gesture\n */\n vx: number,\n\n /**\n * Current velocity of the gesture\n */\n vy: number,\n\n /**\n * Number of touches currently on screen\n */\n numberActiveTouches: number,\n\n /**\n * All `gestureState` accounts for timeStamps up until this value\n *\n * @private\n */\n _accountsForMovesUpTo: number,\n|};\n\ntype ActiveCallback = (\n event: PressEvent,\n gestureState: GestureState,\n) => boolean;\n\ntype PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;\n\ntype PanResponderConfig = $ReadOnly<{|\n onMoveShouldSetPanResponder?: ?ActiveCallback,\n onMoveShouldSetPanResponderCapture?: ?ActiveCallback,\n onStartShouldSetPanResponder?: ?ActiveCallback,\n onStartShouldSetPanResponderCapture?: ?ActiveCallback,\n /**\n * The body of `onResponderGrant` returns a bool, but the vast majority of\n * callsites return void and this TODO notice is found in it:\n * TODO: t7467124 investigate if this can be removed\n */\n onPanResponderGrant?: ?(PassiveCallback | ActiveCallback),\n onPanResponderReject?: ?PassiveCallback,\n onPanResponderStart?: ?PassiveCallback,\n onPanResponderEnd?: ?PassiveCallback,\n onPanResponderRelease?: ?PassiveCallback,\n onPanResponderMove?: ?PassiveCallback,\n onPanResponderTerminate?: ?PassiveCallback,\n onPanResponderTerminationRequest?: ?ActiveCallback,\n onShouldBlockNativeResponder?: ?ActiveCallback,\n|}>;\n\nconst PanResponder = {\n /**\n *\n * A graphical explanation of the touch data flow:\n *\n * +----------------------------+ +--------------------------------+\n * | ResponderTouchHistoryStore | |TouchHistoryMath |\n * +----------------------------+ +----------+---------------------+\n * |Global store of touchHistory| |Allocation-less math util |\n * |including activeness, start | |on touch history (centroids |\n * |position, prev/cur position.| |and multitouch movement etc) |\n * | | | |\n * +----^-----------------------+ +----^---------------------------+\n * | |\n * | (records relevant history |\n * | of touches relevant for |\n * | implementing higher level |\n * | gestures) |\n * | |\n * +----+-----------------------+ +----|---------------------------+\n * | ResponderEventPlugin | | | Your App/Component |\n * +----------------------------+ +----|---------------------------+\n * |Negotiates which view gets | Low level | | High level |\n * |onResponderMove events. | events w/ | +-+-------+ events w/ |\n * |Also records history into | touchHistory| | Pan | multitouch + |\n * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|\n * +----------------------------+ attached to | | | distance and |\n * each event | +---------+ velocity. |\n * | |\n * | |\n * +--------------------------------+\n *\n *\n *\n * Gesture that calculates cumulative movement over time in a way that just\n * \"does the right thing\" for multiple touches. The \"right thing\" is very\n * nuanced. When moving two touches in opposite directions, the cumulative\n * distance is zero in each dimension. When two touches move in parallel five\n * pixels in the same direction, the cumulative distance is five, not ten. If\n * two touches start, one moves five in a direction, then stops and the other\n * touch moves fives in the same direction, the cumulative distance is ten.\n *\n * This logic requires a kind of processing of time \"clusters\" of touch events\n * so that two touch moves that essentially occur in parallel but move every\n * other frame respectively, are considered part of the same movement.\n *\n * Explanation of some of the non-obvious fields:\n *\n * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is\n * invalid. If a move event has been observed, `(moveX, moveY)` is the\n * centroid of the most recently moved \"cluster\" of active touches.\n * (Currently all move have the same timeStamp, but later we should add some\n * threshold for what is considered to be \"moving\"). If a palm is\n * accidentally counted as a touch, but a finger is moving greatly, the palm\n * will move slightly, but we only want to count the single moving touch.\n * - x0/y0: Centroid location (non-cumulative) at the time of becoming\n * responder.\n * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch\n * distance. Accounts for touch moves that are clustered together in time,\n * moving the same direction. Only valid when currently responder (otherwise,\n * it only represents the drag distance below the threshold).\n * - vx/vy: Velocity.\n */\n\n _initializeGestureState(gestureState: GestureState) {\n gestureState.moveX = 0;\n gestureState.moveY = 0;\n gestureState.x0 = 0;\n gestureState.y0 = 0;\n gestureState.dx = 0;\n gestureState.dy = 0;\n gestureState.vx = 0;\n gestureState.vy = 0;\n gestureState.numberActiveTouches = 0;\n // All `gestureState` accounts for timeStamps up until:\n gestureState._accountsForMovesUpTo = 0;\n },\n\n /**\n * This is nuanced and is necessary. It is incorrect to continuously take all\n * active *and* recently moved touches, find the centroid, and track how that\n * result changes over time. Instead, we must take all recently moved\n * touches, and calculate how the centroid has changed just for those\n * recently moved touches, and append that change to an accumulator. This is\n * to (at least) handle the case where the user is moving three fingers, and\n * then one of the fingers stops but the other two continue.\n *\n * This is very different than taking all of the recently moved touches and\n * storing their centroid as `dx/dy`. For correctness, we must *accumulate\n * changes* in the centroid of recently moved touches.\n *\n * There is also some nuance with how we handle multiple moved touches in a\n * single event. With the way `ReactNativeEventEmitter` dispatches touches as\n * individual events, multiple touches generate two 'move' events, each of\n * them triggering `onResponderMove`. But with the way `PanResponder` works,\n * all of the gesture inference is performed on the first dispatch, since it\n * looks at all of the touches (even the ones for which there hasn't been a\n * native dispatch yet). Therefore, `PanResponder` does not call\n * `onResponderMove` passed the first dispatch. This diverges from the\n * typical responder callback pattern (without using `PanResponder`), but\n * avoids more dispatches than necessary.\n */\n _updateGestureStateOnMove(\n gestureState: GestureState,\n touchHistory: $PropertyType,\n ) {\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n gestureState.moveX = currentCentroidXOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n gestureState.moveY = currentCentroidYOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n const movedAfter = gestureState._accountsForMovesUpTo;\n const prevX = previousCentroidXOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n const prevY = previousCentroidYOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n const nextDX = gestureState.dx + (x - prevX);\n const nextDY = gestureState.dy + (y - prevY);\n\n // TODO: This must be filtered intelligently.\n const dt =\n touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n gestureState.vx = (nextDX - gestureState.dx) / dt;\n gestureState.vy = (nextDY - gestureState.dy) / dt;\n\n gestureState.dx = nextDX;\n gestureState.dy = nextDY;\n gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n },\n\n /**\n * @param {object} config Enhanced versions of all of the responder callbacks\n * that provide not only the typical `ResponderSyntheticEvent`, but also the\n * `PanResponder` gesture state. Simply replace the word `Responder` with\n * `PanResponder` in each of the typical `onResponder*` callbacks. For\n * example, the `config` object would look like:\n *\n * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onPanResponderReject: (e, gestureState) => {...}`\n * - `onPanResponderGrant: (e, gestureState) => {...}`\n * - `onPanResponderStart: (e, gestureState) => {...}`\n * - `onPanResponderEnd: (e, gestureState) => {...}`\n * - `onPanResponderRelease: (e, gestureState) => {...}`\n * - `onPanResponderMove: (e, gestureState) => {...}`\n * - `onPanResponderTerminate: (e, gestureState) => {...}`\n * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`\n * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`\n *\n * In general, for events that have capture equivalents, we update the\n * gestureState once in the capture phase and can use it in the bubble phase\n * as well.\n *\n * Be careful with onStartShould* callbacks. They only reflect updated\n * `gestureState` for start/end events that bubble/capture to the Node.\n * Once the node is the responder, you can rely on every start/end event\n * being processed by the gesture and `gestureState` being updated\n * accordingly. (numberActiveTouches) may not be totally accurate unless you\n * are the responder.\n */\n create(\n config: PanResponderConfig,\n ): $TEMPORARY$object<{|\n getInteractionHandle: () => ?number,\n panHandlers: $TEMPORARY$object<{|\n onMoveShouldSetResponder: (event: PressEvent) => boolean,\n onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,\n onResponderEnd: (event: PressEvent) => void,\n onResponderGrant: (event: PressEvent) => boolean,\n onResponderMove: (event: PressEvent) => void,\n onResponderReject: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderStart: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: (event: PressEvent) => boolean,\n onStartShouldSetResponder: (event: PressEvent) => boolean,\n onStartShouldSetResponderCapture: (event: PressEvent) => boolean,\n |}>,\n |}> {\n const interactionState = {\n handle: (null: ?number),\n };\n const gestureState: GestureState = {\n // Useful for debugging\n stateID: Math.random(),\n moveX: 0,\n moveY: 0,\n x0: 0,\n y0: 0,\n dx: 0,\n dy: 0,\n vx: 0,\n vy: 0,\n numberActiveTouches: 0,\n _accountsForMovesUpTo: 0,\n };\n const panHandlers = {\n onStartShouldSetResponder(event: PressEvent): boolean {\n return config.onStartShouldSetPanResponder == null\n ? false\n : config.onStartShouldSetPanResponder(event, gestureState);\n },\n onMoveShouldSetResponder(event: PressEvent): boolean {\n return config.onMoveShouldSetPanResponder == null\n ? false\n : config.onMoveShouldSetPanResponder(event, gestureState);\n },\n onStartShouldSetResponderCapture(event: PressEvent): boolean {\n // TODO: Actually, we should reinitialize the state any time\n // touches.length increases from 0 active to > 0 active.\n if (event.nativeEvent.touches.length === 1) {\n PanResponder._initializeGestureState(gestureState);\n }\n gestureState.numberActiveTouches =\n event.touchHistory.numberActiveTouches;\n return config.onStartShouldSetPanResponderCapture != null\n ? config.onStartShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onMoveShouldSetResponderCapture(event: PressEvent): boolean {\n const touchHistory = event.touchHistory;\n // Responder system incorrectly dispatches should* to current responder\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return false;\n }\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n return config.onMoveShouldSetPanResponderCapture\n ? config.onMoveShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onResponderGrant(event: PressEvent): boolean {\n if (!interactionState.handle) {\n interactionState.handle = InteractionManager.createInteractionHandle();\n }\n gestureState.x0 = currentCentroidX(event.touchHistory);\n gestureState.y0 = currentCentroidY(event.touchHistory);\n gestureState.dx = 0;\n gestureState.dy = 0;\n if (config.onPanResponderGrant) {\n config.onPanResponderGrant(event, gestureState);\n }\n // TODO: t7467124 investigate if this can be removed\n return config.onShouldBlockNativeResponder == null\n ? true\n : config.onShouldBlockNativeResponder(event, gestureState);\n },\n\n onResponderReject(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderReject,\n event,\n gestureState,\n );\n },\n\n onResponderRelease(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderRelease,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderStart(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n if (config.onPanResponderStart) {\n config.onPanResponderStart(event, gestureState);\n }\n },\n\n onResponderMove(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n // Guard against the dispatch of two touch moves when there are two\n // simultaneously changed touches.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return;\n }\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n if (config.onPanResponderMove) {\n config.onPanResponderMove(event, gestureState);\n }\n },\n\n onResponderEnd(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n clearInteractionHandle(\n interactionState,\n config.onPanResponderEnd,\n event,\n gestureState,\n );\n },\n\n onResponderTerminate(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderTerminate,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderTerminationRequest(event: PressEvent): boolean {\n return config.onPanResponderTerminationRequest == null\n ? true\n : config.onPanResponderTerminationRequest(event, gestureState);\n },\n };\n return {\n panHandlers,\n getInteractionHandle(): ?number {\n return interactionState.handle;\n },\n };\n },\n};\n\nfunction clearInteractionHandle(\n interactionState: {handle: ?number, ...},\n callback: ?(ActiveCallback | PassiveCallback),\n event: PressEvent,\n gestureState: GestureState,\n) {\n if (interactionState.handle) {\n InteractionManager.clearInteractionHandle(interactionState.handle);\n interactionState.handle = null;\n }\n if (callback) {\n callback(event, gestureState);\n }\n}\n\nexport type PanResponderInstance = $Call<\n $PropertyType,\n PanResponderConfig,\n>;\n\nmodule.exports = PanResponder;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nconst TouchHistoryMath = {\n /**\n * This code is optimized and not intended to look beautiful. This allows\n * computing of touch centroids that have moved after `touchesChangedAfter`\n * timeStamp. You can compute the current centroid involving all touches\n * moves after `touchesChangedAfter`, or you can compute the previous\n * centroid of all touches that were moved after `touchesChangedAfter`.\n *\n * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n * data.\n * @param {number} touchesChangedAfter timeStamp after which moved touches\n * are considered \"actively moving\" - not just \"active\".\n * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n * @param {boolean} ofCurrent Compute current centroid for actively moving\n * touches vs. previous centroid of now actively moving touches.\n * @return {number} value of centroid in specified dimension.\n */\n centroidDimension: function(\n touchHistory,\n touchesChangedAfter,\n isXAxis,\n ofCurrent,\n ) {\n const touchBank = touchHistory.touchBank;\n let total = 0;\n let count = 0;\n\n const oneTouchData =\n touchHistory.numberActiveTouches === 1\n ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch]\n : null;\n\n if (oneTouchData !== null) {\n if (\n oneTouchData.touchActive &&\n oneTouchData.currentTimeStamp > touchesChangedAfter\n ) {\n total +=\n ofCurrent && isXAxis\n ? oneTouchData.currentPageX\n : ofCurrent && !isXAxis\n ? oneTouchData.currentPageY\n : !ofCurrent && isXAxis\n ? oneTouchData.previousPageX\n : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (let i = 0; i < touchBank.length; i++) {\n const touchTrack = touchBank[i];\n if (\n touchTrack !== null &&\n touchTrack !== undefined &&\n touchTrack.touchActive &&\n touchTrack.currentTimeStamp >= touchesChangedAfter\n ) {\n let toAdd; // Yuck, program temporarily in invalid state.\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n total += toAdd;\n count++;\n }\n }\n }\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n\n currentCentroidXOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidYOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n previousCentroidXOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n false, // ofCurrent\n );\n },\n\n previousCentroidYOfTouchesChangedAfter: function(\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n false, // ofCurrent\n );\n },\n\n currentCentroidX: function(touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidY: function(touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n noCentroid: -1,\n};\n\nmodule.exports = TouchHistoryMath;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nconst Platform = require('../Utilities/Platform');\n\nimport NativeDialogManagerAndroid from '../NativeModules/specs/NativeDialogManagerAndroid';\nimport NativePermissionsAndroid from './NativePermissionsAndroid';\nimport type {\n PermissionStatus,\n PermissionType,\n} from './NativePermissionsAndroid';\nimport invariant from 'invariant';\n\nexport type Rationale = {\n title: string,\n message: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n ...\n};\n\nconst PERMISSION_REQUEST_RESULT = Object.freeze({\n GRANTED: 'granted',\n DENIED: 'denied',\n NEVER_ASK_AGAIN: 'never_ask_again',\n});\n\nconst PERMISSIONS = Object.freeze({\n READ_CALENDAR: 'android.permission.READ_CALENDAR',\n WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR',\n CAMERA: 'android.permission.CAMERA',\n READ_CONTACTS: 'android.permission.READ_CONTACTS',\n WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS',\n GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS',\n ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION',\n ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION',\n ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION',\n RECORD_AUDIO: 'android.permission.RECORD_AUDIO',\n READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',\n CALL_PHONE: 'android.permission.CALL_PHONE',\n READ_CALL_LOG: 'android.permission.READ_CALL_LOG',\n WRITE_CALL_LOG: 'android.permission.WRITE_CALL_LOG',\n ADD_VOICEMAIL: 'com.android.voicemail.permission.ADD_VOICEMAIL',\n USE_SIP: 'android.permission.USE_SIP',\n PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS',\n BODY_SENSORS: 'android.permission.BODY_SENSORS',\n SEND_SMS: 'android.permission.SEND_SMS',\n RECEIVE_SMS: 'android.permission.RECEIVE_SMS',\n READ_SMS: 'android.permission.READ_SMS',\n RECEIVE_WAP_PUSH: 'android.permission.RECEIVE_WAP_PUSH',\n RECEIVE_MMS: 'android.permission.RECEIVE_MMS',\n READ_EXTERNAL_STORAGE: 'android.permission.READ_EXTERNAL_STORAGE',\n WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE',\n BLUETOOTH_CONNECT: 'android.permission.BLUETOOTH_CONNECT',\n BLUETOOTH_SCAN: 'android.permission.BLUETOOTH_SCAN',\n BLUETOOTH_ADVERTISE: 'android.permission.BLUETOOTH_ADVERTISE',\n});\n\n/**\n * `PermissionsAndroid` provides access to Android M's new permissions model.\n *\n * See https://reactnative.dev/docs/permissionsandroid.html\n */\n\nclass PermissionsAndroid {\n PERMISSIONS: {|\n ACCESS_BACKGROUND_LOCATION: string,\n ACCESS_COARSE_LOCATION: string,\n ACCESS_FINE_LOCATION: string,\n ADD_VOICEMAIL: string,\n BLUETOOTH_ADVERTISE: string,\n BLUETOOTH_CONNECT: string,\n BLUETOOTH_SCAN: string,\n BODY_SENSORS: string,\n CALL_PHONE: string,\n CAMERA: string,\n GET_ACCOUNTS: string,\n PROCESS_OUTGOING_CALLS: string,\n READ_CALENDAR: string,\n READ_CALL_LOG: string,\n READ_CONTACTS: string,\n READ_EXTERNAL_STORAGE: string,\n READ_PHONE_STATE: string,\n READ_SMS: string,\n RECEIVE_MMS: string,\n RECEIVE_SMS: string,\n RECEIVE_WAP_PUSH: string,\n RECORD_AUDIO: string,\n SEND_SMS: string,\n USE_SIP: string,\n WRITE_CALENDAR: string,\n WRITE_CALL_LOG: string,\n WRITE_CONTACTS: string,\n WRITE_EXTERNAL_STORAGE: string,\n |} = PERMISSIONS;\n RESULTS: {|\n DENIED: $TEMPORARY$string<'denied'>,\n GRANTED: $TEMPORARY$string<'granted'>,\n NEVER_ASK_AGAIN: $TEMPORARY$string<'never_ask_again'>,\n |} = PERMISSION_REQUEST_RESULT;\n\n /**\n * DEPRECATED - use check\n *\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * @deprecated\n */\n checkPermission(permission: PermissionType): Promise {\n console.warn(\n '\"PermissionsAndroid.checkPermission\" is deprecated. Use \"PermissionsAndroid.check\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * See https://reactnative.dev/docs/permissionsandroid.html#check\n */\n check(permission: PermissionType): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * DEPRECATED - use request\n *\n * Prompts the user to enable a permission and returns a promise resolving to a\n * boolean value indicating whether the user allowed or denied the request\n *\n * If the optional rationale argument is included (which is an object with a\n * `title` and `message`), this function checks with the OS whether it is\n * necessary to show a dialog explaining why the permission is needed\n * (https://developer.android.com/training/permissions/requesting.html#explain)\n * and then shows the system permission dialog\n *\n * @deprecated\n */\n async requestPermission(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n console.warn(\n '\"PermissionsAndroid.requestPermission\" is deprecated. Use \"PermissionsAndroid.request\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n const response = await this.request(permission, rationale);\n return response === this.RESULTS.GRANTED;\n }\n\n /**\n * Prompts the user to enable a permission and returns a promise resolving to a\n * string value indicating whether the user allowed or denied the request\n *\n * See https://reactnative.dev/docs/permissionsandroid.html#request\n */\n async request(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(this.RESULTS.DENIED);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n if (rationale) {\n const shouldShowRationale = await NativePermissionsAndroid.shouldShowRequestPermissionRationale(\n permission,\n );\n\n if (shouldShowRationale && !!NativeDialogManagerAndroid) {\n return new Promise((resolve, reject) => {\n const options = {\n ...rationale,\n };\n NativeDialogManagerAndroid.showAlert(\n /* $FlowFixMe[incompatible-exact] (>=0.111.0 site=react_native_fb)\n * This comment suppresses an error found when Flow v0.111 was\n * deployed. To see the error, delete this comment and run Flow.\n */\n options,\n () => reject(new Error('Error showing rationale')),\n () =>\n resolve(NativePermissionsAndroid.requestPermission(permission)),\n );\n });\n }\n }\n return NativePermissionsAndroid.requestPermission(permission);\n }\n\n /**\n * Prompts the user to enable multiple permissions in the same dialog and\n * returns an object with the permissions as keys and strings as values\n * indicating whether the user allowed or denied the request\n *\n * See https://reactnative.dev/docs/permissionsandroid.html#requestmultiple\n */\n requestMultiple(\n permissions: Array,\n ): Promise<{[permission: PermissionType]: PermissionStatus, ...}> {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve({});\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.requestMultiplePermissions(permissions);\n }\n}\n\nconst PermissionsAndroidInstance: PermissionsAndroid = new PermissionsAndroid();\n\nmodule.exports = PermissionsAndroidInstance;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\n// TODO: Use proper enum types.\nexport type PermissionStatus = string;\nexport type PermissionType = string;\n/*\nexport type PermissionStatus = 'granted' | 'denied' | 'never_ask_again';\nexport type PermissionType =\n | 'android.permission.READ_CALENDAR'\n | 'android.permission.WRITE_CALENDAR'\n | 'android.permission.CAMERA'\n | 'android.permission.READ_CONTACTS'\n | 'android.permission.WRITE_CONTACTS'\n | 'android.permission.GET_ACCOUNTS'\n | 'android.permission.ACCESS_BACKGROUND_LOCATION'\n | 'android.permission.ACCESS_FINE_LOCATION'\n | 'android.permission.ACCESS_COARSE_LOCATION'\n | 'android.permission.RECORD_AUDIO'\n | 'android.permission.READ_PHONE_STATE'\n | 'android.permission.CALL_PHONE'\n | 'android.permission.READ_CALL_LOG'\n | 'android.permission.WRITE_CALL_LOG'\n | 'com.android.voicemail.permission.ADD_VOICEMAIL'\n | 'android.permission.USE_SIP'\n | 'android.permission.PROCESS_OUTGOING_CALLS'\n | 'android.permission.BODY_SENSORS'\n | 'android.permission.SEND_SMS'\n | 'android.permission.RECEIVE_SMS'\n | 'android.permission.READ_SMS'\n | 'android.permission.RECEIVE_WAP_PUSH'\n | 'android.permission.RECEIVE_MMS'\n | 'android.permission.READ_EXTERNAL_STORAGE'\n | 'android.permission.WRITE_EXTERNAL_STORAGE'\n | 'android.permission.BLUETOOTH_CONNECT'\n | 'android.permission.BLUETOOTH_SCAN'\n | 'android.permission.BLUETOOTH_ADVERTISE';\n*/\n\nexport interface Spec extends TurboModule {\n +checkPermission: (permission: PermissionType) => Promise;\n +requestPermission: (permission: PermissionType) => Promise;\n +shouldShowRequestPermissionRationale: (\n permission: string,\n ) => Promise;\n +requestMultiplePermissions: (\n permissions: Array,\n ) => Promise<{[permission: PermissionType]: PermissionStatus, ...}>;\n}\n\nexport default (TurboModuleRegistry.get('PermissionsAndroid'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport NativePushNotificationManagerIOS from './NativePushNotificationManagerIOS';\nimport invariant from 'invariant';\nimport Platform from '../Utilities/Platform';\n\ntype NativePushNotificationIOSEventDefinitions = {\n remoteNotificationReceived: [\n {\n notificationId: string,\n remote: boolean,\n ...\n },\n ],\n remoteNotificationsRegistered: [\n {\n deviceToken?: ?string,\n ...\n },\n ],\n remoteNotificationRegistrationError: [\n {\n message: string,\n code: number,\n details: {...},\n },\n ],\n localNotificationReceived: [{...}],\n};\n\nconst PushNotificationEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativePushNotificationManagerIOS,\n);\n\nconst _notifHandlers = new Map();\n\nconst DEVICE_NOTIF_EVENT = 'remoteNotificationReceived';\nconst NOTIF_REGISTER_EVENT = 'remoteNotificationsRegistered';\nconst NOTIF_REGISTRATION_ERROR_EVENT = 'remoteNotificationRegistrationError';\nconst DEVICE_LOCAL_NOTIF_EVENT = 'localNotificationReceived';\n\nexport type ContentAvailable = 1 | null | void;\n\nexport type FetchResult = {\n NewData: string,\n NoData: string,\n ResultFailed: string,\n ...\n};\n\n/**\n * An event emitted by PushNotificationIOS.\n */\nexport type PushNotificationEventName = $Keys<{\n /**\n * Fired when a remote notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n notification: string,\n /**\n * Fired when a local notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n localNotification: string,\n /**\n * Fired when the user registers for remote notifications. The handler will be\n * invoked with a hex string representing the deviceToken.\n */\n register: string,\n /**\n * Fired when the user fails to register for remote notifications. Typically\n * occurs when APNS is having issues, or the device is a simulator. The\n * handler will be invoked with {message: string, code: number, details: any}.\n */\n registrationError: string,\n ...\n}>;\n\n/**\n *\n * Handle push notifications for your app, including permission handling and\n * icon badge number.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html\n */\nclass PushNotificationIOS {\n _data: Object;\n _alert: string | Object;\n _sound: string;\n _category: string;\n _contentAvailable: ContentAvailable;\n _badgeCount: number;\n _notificationId: string;\n _isRemote: boolean;\n _remoteNotificationCompleteCallbackCalled: boolean;\n _threadID: string;\n\n static FetchResult: FetchResult = {\n NewData: 'UIBackgroundFetchResultNewData',\n NoData: 'UIBackgroundFetchResultNoData',\n ResultFailed: 'UIBackgroundFetchResultFailed',\n };\n\n /**\n * Schedules the localNotification for immediate presentation.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#presentlocalnotification\n */\n static presentLocalNotification(details: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.presentLocalNotification(details);\n }\n\n /**\n * Schedules the localNotification for future presentation.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#schedulelocalnotification\n */\n static scheduleLocalNotification(details: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.scheduleLocalNotification(details);\n }\n\n /**\n * Cancels all scheduled localNotifications.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#cancelalllocalnotifications\n */\n static cancelAllLocalNotifications() {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelAllLocalNotifications();\n }\n\n /**\n * Remove all delivered notifications from Notification Center.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#removealldeliverednotifications\n */\n static removeAllDeliveredNotifications(): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeAllDeliveredNotifications();\n }\n\n /**\n * Provides you with a list of the app’s notifications that are still displayed in Notification Center.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getdeliverednotifications\n */\n static getDeliveredNotifications(\n callback: (notifications: Array) => void,\n ): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getDeliveredNotifications(callback);\n }\n\n /**\n * Removes the specified notifications from Notification Center\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#removedeliverednotifications\n */\n static removeDeliveredNotifications(identifiers: Array): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeDeliveredNotifications(identifiers);\n }\n\n /**\n * Sets the badge number for the app icon on the home screen.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#setapplicationiconbadgenumber\n */\n static setApplicationIconBadgeNumber(number: number) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.setApplicationIconBadgeNumber(number);\n }\n\n /**\n * Gets the current badge number for the app icon on the home screen.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getapplicationiconbadgenumber\n */\n static getApplicationIconBadgeNumber(callback: Function) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getApplicationIconBadgeNumber(callback);\n }\n\n /**\n * Cancel local notifications.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#cancellocalnotification\n */\n static cancelLocalNotifications(userInfo: Object) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelLocalNotifications(userInfo);\n }\n\n /**\n * Gets the local notifications that are currently scheduled.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getscheduledlocalnotifications\n */\n static getScheduledLocalNotifications(callback: Function) {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getScheduledLocalNotifications(callback);\n }\n\n /**\n * Attaches a listener to remote or local notification events while the app\n * is running in the foreground or the background.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#addeventlistener\n */\n static addEventListener(type: PushNotificationEventName, handler: Function) {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n let listener;\n if (type === 'notification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'localNotification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_LOCAL_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'register') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTER_EVENT,\n registrationInfo => {\n handler(registrationInfo.deviceToken);\n },\n );\n } else if (type === 'registrationError') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTRATION_ERROR_EVENT,\n errorInfo => {\n handler(errorInfo);\n },\n );\n }\n _notifHandlers.set(type, listener);\n }\n\n /**\n * Removes the event listener. Do this in `componentWillUnmount` to prevent\n * memory leaks.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#removeeventlistener\n */\n static removeEventListener(\n type: PushNotificationEventName,\n handler: Function,\n ) {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n const listener = _notifHandlers.get(type);\n if (!listener) {\n return;\n }\n listener.remove();\n _notifHandlers.delete(type);\n }\n\n /**\n * Requests notification permissions from iOS, prompting the user's\n * dialog box. By default, it will request all notification permissions, but\n * a subset of these can be requested by passing a map of requested\n * permissions.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#requestpermissions\n */\n static requestPermissions(permissions?: {\n alert?: boolean,\n badge?: boolean,\n sound?: boolean,\n ...\n }): Promise<{\n alert: boolean,\n badge: boolean,\n sound: boolean,\n ...\n }> {\n let requestedPermissions = {\n alert: true,\n badge: true,\n sound: true,\n };\n if (permissions) {\n requestedPermissions = {\n alert: !!permissions.alert,\n badge: !!permissions.badge,\n sound: !!permissions.sound,\n };\n }\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.requestPermissions(\n requestedPermissions,\n );\n }\n\n /**\n * Unregister for all remote notifications received via Apple Push Notification service.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#abandonpermissions\n */\n static abandonPermissions() {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.abandonPermissions();\n }\n\n /**\n * See what push permissions are currently enabled. `callback` will be\n * invoked with a `permissions` object.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#checkpermissions\n */\n static checkPermissions(callback: Function) {\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.checkPermissions(callback);\n }\n\n /**\n * This method returns a promise that resolves to either the notification\n * object if the app was launched by a push notification, or `null` otherwise.\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getinitialnotification\n */\n static getInitialNotification(): Promise {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.getInitialNotification().then(\n notification => {\n return notification && new PushNotificationIOS(notification);\n },\n );\n }\n\n /**\n * This method returns a promise that resolves to notification authorization status.\n */\n static getAuthorizationStatus(\n callback: (authorizationStatus: number) => void,\n ): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n\n NativePushNotificationManagerIOS.getAuthorizationStatus(callback);\n }\n\n /**\n * You will never need to instantiate `PushNotificationIOS` yourself.\n * Listening to the `notification` event and invoking\n * `getInitialNotification` is sufficient\n *\n */\n constructor(nativeNotif: Object) {\n this._data = {};\n this._remoteNotificationCompleteCallbackCalled = false;\n this._isRemote = nativeNotif.remote;\n if (this._isRemote) {\n this._notificationId = nativeNotif.notificationId;\n }\n\n if (nativeNotif.remote) {\n // Extract data from Apple's `aps` dict as defined:\n // https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html\n Object.keys(nativeNotif).forEach(notifKey => {\n const notifVal = nativeNotif[notifKey];\n if (notifKey === 'aps') {\n this._alert = notifVal.alert;\n this._sound = notifVal.sound;\n this._badgeCount = notifVal.badge;\n this._category = notifVal.category;\n this._contentAvailable = notifVal['content-available'];\n this._threadID = notifVal['thread-id'];\n } else {\n this._data[notifKey] = notifVal;\n }\n });\n } else {\n // Local notifications aren't being sent down with `aps` dict.\n this._badgeCount = nativeNotif.applicationIconBadgeNumber;\n this._sound = nativeNotif.soundName;\n this._alert = nativeNotif.alertBody;\n this._data = nativeNotif.userInfo;\n this._category = nativeNotif.category;\n }\n }\n\n /**\n * This method is available for remote notifications that have been received via:\n * `application:didReceiveRemoteNotification:fetchCompletionHandler:`\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#finish\n */\n finish(fetchResult: string) {\n if (\n !this._isRemote ||\n !this._notificationId ||\n this._remoteNotificationCompleteCallbackCalled\n ) {\n return;\n }\n this._remoteNotificationCompleteCallbackCalled = true;\n\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.onFinishRemoteNotification(\n this._notificationId,\n fetchResult,\n );\n }\n\n /**\n * An alias for `getAlert` to get the notification's main message string\n */\n getMessage(): ?string | ?Object {\n // alias because \"alert\" is an ambiguous name\n return this._alert;\n }\n\n /**\n * Gets the sound string from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getsound\n */\n getSound(): ?string {\n return this._sound;\n }\n\n /**\n * Gets the category string from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getcategory\n */\n getCategory(): ?string {\n return this._category;\n }\n\n /**\n * Gets the notification's main message from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getalert\n */\n getAlert(): ?string | ?Object {\n return this._alert;\n }\n\n /**\n * Gets the content-available number from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getcontentavailable\n */\n getContentAvailable(): ContentAvailable {\n return this._contentAvailable;\n }\n\n /**\n * Gets the badge count number from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getbadgecount\n */\n getBadgeCount(): ?number {\n return this._badgeCount;\n }\n\n /**\n * Gets the data object on the notif\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getdata\n */\n getData(): ?Object {\n return this._data;\n }\n\n /**\n * Gets the thread ID on the notif\n *\n * See https://reactnative.dev/docs/pushnotificationios.html#getthreadid\n */\n getThreadID(): ?string {\n return this._threadID;\n }\n}\n\nmodule.exports = PushNotificationIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype Permissions = {|\n alert: boolean,\n badge: boolean,\n sound: boolean,\n|};\n\ntype Notification = {|\n +alertTitle?: ?string,\n // Actual type: string | number\n +fireDate?: ?number,\n +alertBody?: ?string,\n +alertAction?: ?string,\n +userInfo?: ?Object,\n +category?: ?string,\n // Actual type: 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute'\n +repeatInterval?: ?string,\n +applicationIconBadgeNumber?: ?number,\n +isSilent?: ?boolean,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +onFinishRemoteNotification: (\n notificationId: string,\n /**\n * Type:\n * 'UIBackgroundFetchResultNewData' |\n * 'UIBackgroundFetchResultNoData' |\n * 'UIBackgroundFetchResultFailed'\n */\n fetchResult: string,\n ) => void;\n +setApplicationIconBadgeNumber: (num: number) => void;\n +getApplicationIconBadgeNumber: (callback: (num: number) => void) => void;\n +requestPermissions: (permission: {|\n +alert: boolean,\n +badge: boolean,\n +sound: boolean,\n |}) => Promise;\n +abandonPermissions: () => void;\n +checkPermissions: (callback: (permissions: Permissions) => void) => void;\n +presentLocalNotification: (notification: Notification) => void;\n +scheduleLocalNotification: (notification: Notification) => void;\n +cancelAllLocalNotifications: () => void;\n +cancelLocalNotifications: (userInfo: Object) => void;\n +getInitialNotification: () => Promise;\n +getScheduledLocalNotifications: (\n callback: (notification: Notification) => void,\n ) => void;\n +removeAllDeliveredNotifications: () => void;\n +removeDeliveredNotifications: (identifiers: Array) => void;\n +getDeliveredNotifications: (\n callback: (notification: Array) => void,\n ) => void;\n +getAuthorizationStatus: (\n callback: (authorizationStatus: number) => void,\n ) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'PushNotificationManager',\n): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeSettingsManager from './NativeSettingsManager';\nimport invariant from 'invariant';\n\nconst subscriptions: Array<{\n keys: Array,\n callback: ?Function,\n ...\n}> = [];\n\nconst Settings = {\n _settings: (NativeSettingsManager &&\n NativeSettingsManager.getConstants().settings: any),\n\n get(key: string): mixed {\n // $FlowFixMe[object-this-reference]\n return this._settings[key];\n },\n\n set(settings: Object) {\n // $FlowFixMe[object-this-reference]\n this._settings = Object.assign(this._settings, settings);\n NativeSettingsManager.setValues(settings);\n },\n\n watchKeys(keys: string | Array, callback: Function): number {\n if (typeof keys === 'string') {\n keys = [keys];\n }\n\n invariant(\n Array.isArray(keys),\n 'keys should be a string or array of strings',\n );\n\n const sid = subscriptions.length;\n subscriptions.push({keys: keys, callback: callback});\n return sid;\n },\n\n clearWatch(watchId: number) {\n if (watchId < subscriptions.length) {\n subscriptions[watchId] = {keys: [], callback: null};\n }\n },\n\n _sendObservations(body: Object) {\n Object.keys(body).forEach(key => {\n const newValue = body[key];\n // $FlowFixMe[object-this-reference]\n const didChange = this._settings[key] !== newValue;\n // $FlowFixMe[object-this-reference]\n this._settings[key] = newValue;\n\n if (didChange) {\n subscriptions.forEach(sub => {\n if (sub.keys.indexOf(key) !== -1 && sub.callback) {\n sub.callback();\n }\n });\n }\n });\n },\n};\n\nRCTDeviceEventEmitter.addListener(\n 'settingsUpdated',\n Settings._sendObservations.bind(Settings),\n);\n\nmodule.exports = Settings;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n settings: Object,\n |};\n +setValues: (values: Object) => void;\n +deleteValues: (values: Array) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'SettingsManager',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nconst Platform = require('../Utilities/Platform');\n\nconst invariant = require('invariant');\nconst processColor = require('../StyleSheet/processColor');\n\nimport NativeActionSheetManager from '../ActionSheetIOS/NativeActionSheetManager';\nimport NativeShareModule from './NativeShareModule';\n\ntype Content =\n | {\n title?: string,\n message: string,\n ...\n }\n | {\n title?: string,\n url: string,\n ...\n };\ntype Options = {\n dialogTitle?: string,\n excludedActivityTypes?: Array,\n tintColor?: string,\n subject?: string,\n ...\n};\n\nclass Share {\n /**\n * Open a dialog to share text content.\n *\n * In iOS, Returns a Promise which will be invoked an object containing `action`, `activityType`.\n * If the user dismissed the dialog, the Promise will still be resolved with action being `Share.dismissedAction`\n * and all the other keys being undefined.\n *\n * In Android, Returns a Promise which always be resolved with action being `Share.sharedAction`.\n *\n * ### Content\n *\n * - `message` - a message to share\n *\n * #### iOS\n *\n * - `url` - an URL to share\n *\n * At least one of URL and message is required.\n *\n * #### Android\n *\n * - `title` - title of the message\n *\n * ### Options\n *\n * #### iOS\n *\n * - `subject` - a subject to share via email\n * - `excludedActivityTypes`\n * - `tintColor`\n *\n * #### Android\n *\n * - `dialogTitle`\n *\n */\n static share(\n content: Content,\n options: Options = {},\n ): Promise<{action: string, activityType: ?string}> {\n invariant(\n typeof content === 'object' && content !== null,\n 'Content to share must be a valid object',\n );\n invariant(\n typeof content.url === 'string' || typeof content.message === 'string',\n 'At least one of URL and message is required',\n );\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n\n if (Platform.OS === 'android') {\n invariant(\n NativeShareModule,\n 'ShareModule should be registered on Android.',\n );\n invariant(\n content.title == null || typeof content.title === 'string',\n 'Invalid title: title should be a string.',\n );\n\n const newContent = {\n title: content.title,\n message:\n typeof content.message === 'string' ? content.message : undefined,\n };\n\n return NativeShareModule.share(newContent, options.dialogTitle).then(\n result => ({\n activityType: null,\n ...result,\n }),\n );\n } else if (Platform.OS === 'ios') {\n return new Promise((resolve, reject) => {\n const tintColor = processColor(options.tintColor);\n\n invariant(\n tintColor == null || typeof tintColor === 'number',\n 'Unexpected color given for options.tintColor',\n );\n\n invariant(\n NativeActionSheetManager,\n 'NativeActionSheetManager is not registered on iOS, but it should be.',\n );\n\n NativeActionSheetManager.showShareActionSheetWithOptions(\n {\n message:\n typeof content.message === 'string' ? content.message : undefined,\n url: typeof content.url === 'string' ? content.url : undefined,\n subject: options.subject,\n tintColor: typeof tintColor === 'number' ? tintColor : undefined,\n excludedActivityTypes: options.excludedActivityTypes,\n },\n error => reject(error),\n (success, activityType) => {\n if (success) {\n resolve({\n action: 'sharedAction',\n activityType: activityType,\n });\n } else {\n resolve({\n action: 'dismissedAction',\n activityType: null,\n });\n }\n },\n );\n });\n } else {\n return Promise.reject(new Error('Unsupported platform'));\n }\n }\n\n /**\n * The content was successfully shared.\n */\n static sharedAction: 'sharedAction' = 'sharedAction';\n\n /**\n * The dialog has been dismissed.\n * @platform ios\n */\n static dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = Share;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +share: (\n content: {|title?: string, message?: string|},\n dialogTitle?: string,\n ) => Promise<{|action: string|}>;\n}\n\nexport default (TurboModuleRegistry.get('ShareModule'): ?Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n'use strict';\n\nconst ToastAndroid = {\n show: function(message: string, duration: number): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n\n showWithGravity: function(\n message: string,\n duration: number,\n gravity: number,\n ): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n\n showWithGravityAndOffset: function(\n message: string,\n duration: number,\n gravity: number,\n xOffset: number,\n yOffset: number,\n ): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n};\n\nmodule.exports = ToastAndroid;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport {useMemo} from 'react';\nimport {useSubscription} from 'use-subscription';\nimport Appearance from './Appearance';\nimport type {ColorSchemeName} from './NativeAppearance';\n\nexport default function useColorScheme(): ?ColorSchemeName {\n const subscription = useMemo(\n () => ({\n getCurrentValue: () => Appearance.getColorScheme(),\n subscribe: callback => {\n const appearanceSubscription = Appearance.addChangeListener(callback);\n return () => {\n appearanceSubscription.remove();\n };\n },\n }),\n [],\n );\n\n return useSubscription(subscription);\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/use-subscription.production.min.js');\n} else {\n module.exports = require('./cjs/use-subscription.development.js');\n}\n","/** @license React v1.5.0\n * use-subscription.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var e=require(\"object-assign\"),g=require(\"react\");\nexports.useSubscription=function(a){var c=a.getCurrentValue,d=a.subscribe,b=g.useState(function(){return{getCurrentValue:c,subscribe:d,value:c()}});a=b[0];var f=b[1];b=a.value;if(a.getCurrentValue!==c||a.subscribe!==d)b=c(),f({getCurrentValue:c,subscribe:d,value:b});g.useDebugValue(b);g.useEffect(function(){function b(){if(!a){var b=c();f(function(a){return a.getCurrentValue!==c||a.subscribe!==d||a.value===b?a:e({},a,{value:b})})}}var a=!1,h=d(b);b();return function(){a=!0;h()}},[c,d]);return b};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport Dimensions from './Dimensions';\nimport {\n type DisplayMetrics,\n type DisplayMetricsAndroid,\n} from './NativeDeviceInfo';\nimport {useEffect, useState} from 'react';\n\nexport default function useWindowDimensions():\n | DisplayMetrics\n | DisplayMetricsAndroid {\n const [dimensions, setDimensions] = useState(() => Dimensions.get('window'));\n useEffect(() => {\n function handleChange({window}) {\n if (\n dimensions.width !== window.width ||\n dimensions.height !== window.height ||\n dimensions.scale !== window.scale ||\n dimensions.fontScale !== window.fontScale\n ) {\n setDimensions(window);\n }\n }\n const subscription = Dimensions.addEventListener('change', handleChange);\n // We might have missed an update between calling `get` in render and\n // `addEventListener` in this handler, so we set it here. If there was\n // no change, React will filter out this update as a no-op.\n handleChange({window: Dimensions.get('window')});\n return () => {\n subscription.remove();\n };\n }, [dimensions]);\n return dimensions;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst deepFreezeAndThrowOnMutationInDev = require('./Utilities/deepFreezeAndThrowOnMutationInDev');\n\n/**\n * A collection of Unicode sequences for various characters and emoji.\n *\n * - More explicit than using the sequences directly in code.\n * - Source code should be limited to ASCII.\n * - Less chance of typos.\n */\nconst UTFSequence: {|\n BOM: string,\n BULLET: string,\n BULLET_SP: string,\n MDASH: string,\n MDASH_SP: string,\n MIDDOT: string,\n MIDDOT_KATAKANA: string,\n MIDDOT_SP: string,\n NBSP: string,\n NDASH: string,\n NDASH_SP: string,\n PIZZA: string,\n TRIANGLE_LEFT: string,\n TRIANGLE_RIGHT: string,\n|} = deepFreezeAndThrowOnMutationInDev({\n BOM: '\\ufeff', // byte order mark\n BULLET: '\\u2022', // bullet: •\n BULLET_SP: '\\u00A0\\u2022\\u00A0', //  • \n MIDDOT: '\\u00B7', // normal middle dot: ·\n MIDDOT_SP: '\\u00A0\\u00B7\\u00A0', //  · \n MIDDOT_KATAKANA: '\\u30FB', // katakana middle dot\n MDASH: '\\u2014', // em dash: —\n MDASH_SP: '\\u00A0\\u2014\\u00A0', //  — \n NDASH: '\\u2013', // en dash: –\n NDASH_SP: '\\u00A0\\u2013\\u00A0', //  – \n NBSP: '\\u00A0', // non-breaking space:  \n PIZZA: '\\uD83C\\uDF55',\n TRIANGLE_LEFT: '\\u25c0', // black left-pointing triangle\n TRIANGLE_RIGHT: '\\u25b6', // black right-pointing triangle\n});\n\nmodule.exports = UTFSequence;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @jsdoc\n */\n\nimport NativeVibration from './NativeVibration';\nconst Platform = require('../Utilities/Platform');\n\n/**\n * Vibration API\n *\n * See https://reactnative.dev/docs/vibration.html\n */\n\nlet _vibrating: boolean = false;\nlet _id: number = 0; // _id is necessary to prevent race condition.\nconst _default_vibration_length = 400;\n\nfunction vibrateByPattern(pattern: Array, repeat: boolean = false) {\n if (_vibrating) {\n return;\n }\n _vibrating = true;\n if (pattern[0] === 0) {\n NativeVibration.vibrate(_default_vibration_length);\n // $FlowFixMe[reassign-const]\n pattern = pattern.slice(1);\n }\n if (pattern.length === 0) {\n _vibrating = false;\n return;\n }\n setTimeout(() => vibrateScheduler(++_id, pattern, repeat, 1), pattern[0]);\n}\n\nfunction vibrateScheduler(\n id,\n pattern: Array,\n repeat: boolean,\n nextIndex: number,\n) {\n if (!_vibrating || id !== _id) {\n return;\n }\n NativeVibration.vibrate(_default_vibration_length);\n if (nextIndex >= pattern.length) {\n if (repeat) {\n // $FlowFixMe[reassign-const]\n nextIndex = 0;\n } else {\n _vibrating = false;\n return;\n }\n }\n setTimeout(\n () => vibrateScheduler(id, pattern, repeat, nextIndex + 1),\n pattern[nextIndex],\n );\n}\n\nconst Vibration = {\n /**\n * Trigger a vibration with specified `pattern`.\n *\n * See https://reactnative.dev/docs/vibration.html#vibrate\n */\n vibrate: function(\n pattern: number | Array = _default_vibration_length,\n repeat: boolean = false,\n ) {\n if (Platform.OS === 'android') {\n if (typeof pattern === 'number') {\n NativeVibration.vibrate(pattern);\n } else if (Array.isArray(pattern)) {\n NativeVibration.vibrateByPattern(pattern, repeat ? 0 : -1);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n } else {\n if (_vibrating) {\n return;\n }\n if (typeof pattern === 'number') {\n NativeVibration.vibrate(pattern);\n } else if (Array.isArray(pattern)) {\n vibrateByPattern(pattern, repeat);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n }\n },\n /**\n * Stop vibration\n *\n * See https://reactnative.dev/docs/vibration.html#cancel\n */\n cancel: function() {\n if (Platform.OS === 'ios') {\n _vibrating = false;\n } else {\n NativeVibration.cancel();\n }\n },\n};\n\nmodule.exports = Vibration;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +vibrate: (pattern: number) => void;\n\n // Android only\n +vibrateByPattern: (pattern: Array, repeat: number) => void;\n +cancel: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Vibration'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\nconst LogBox = require('../LogBox/LogBox');\n\nimport type {IgnorePattern} from '../LogBox/Data/LogBoxData';\n\ntype Props = $ReadOnly<{||}>;\n\nlet YellowBox;\nif (__DEV__) {\n YellowBox = class extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.ignoreLogs() instead.',\n );\n\n LogBox.ignoreLogs(patterns);\n }\n\n static install(): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.install() instead.',\n );\n LogBox.install();\n }\n\n static uninstall(): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.uninstall() instead.',\n );\n LogBox.uninstall();\n }\n\n render(): React.Node {\n return null;\n }\n };\n} else {\n YellowBox = class extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n // Do nothing.\n }\n\n static install(): void {\n // Do nothing.\n }\n\n static uninstall(): void {\n // Do nothing.\n }\n\n render(): React.Node {\n return null;\n }\n };\n}\n\n// $FlowFixMe[method-unbinding]\nmodule.exports = (YellowBox: Class> & {\n ignoreWarnings($ReadOnlyArray): void,\n install(): void,\n uninstall(): void,\n ...\n});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ColorValue} from './StyleSheet';\nimport {DynamicColorIOSPrivate} from './PlatformColorValueTypes';\n\nexport type DynamicColorIOSTuple = {\n light: ColorValue,\n dark: ColorValue,\n highContrastLight?: ColorValue,\n highContrastDark?: ColorValue,\n};\n\nexport const DynamicColorIOS = (tuple: DynamicColorIOSTuple): ColorValue => {\n return DynamicColorIOSPrivate({\n light: tuple.light,\n dark: tuple.dark,\n highContrastLight: tuple.highContrastLight,\n highContrastDark: tuple.highContrastDark,\n });\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst PointPropType: React$PropType$Primitive<{\n x?: number,\n y?: number,\n ...\n}> = PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number,\n});\n\nmodule.exports = PointPropType;\n","// TODO use State from RNModule\n\nexport const State = {\n UNDETERMINED: 0,\n FAILED: 1,\n BEGAN: 2,\n CANCELLED: 3,\n ACTIVE: 4,\n END: 5,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type State = typeof State[keyof typeof State];\n","export const EventType = {\n UNDETERMINED: 0,\n TOUCHES_DOWN: 1,\n TOUCHES_MOVE: 2,\n TOUCHES_UP: 3,\n TOUCHES_CANCELLED: 4,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type EventType = typeof EventType[keyof typeof EventType];\n","import { isJestEnv } from '../utils';\nimport { GestureType } from './gestures/gesture';\nimport { GestureEvent, HandlerStateChangeEvent } from './gestureHandlerCommon';\n\nexport const handlerIDToTag: Record = {};\nconst gestures = new Map();\nconst oldHandlers = new Map();\nconst testIDs = new Map();\n\nlet handlerTag = 1;\n\nexport function getNextHandlerTag(): number {\n return handlerTag++;\n}\n\nexport function registerHandler(\n handlerTag: number,\n handler: GestureType,\n testID?: string\n) {\n gestures.set(handlerTag, handler);\n if (isJestEnv() && testID) {\n testIDs.set(testID, handlerTag);\n }\n}\n\nexport function registerOldGestureHandler(\n handlerTag: number,\n handler: GestureHandlerCallbacks\n) {\n oldHandlers.set(handlerTag, handler);\n}\n\nexport function unregisterHandler(handlerTag: number, testID?: string) {\n gestures.delete(handlerTag);\n if (isJestEnv() && testID) {\n testIDs.delete(testID);\n }\n}\n\nexport function findHandler(handlerTag: number) {\n return gestures.get(handlerTag);\n}\n\nexport function findOldGestureHandler(handlerTag: number) {\n return oldHandlers.get(handlerTag);\n}\n\nexport function findHandlerByTestID(testID: string) {\n const handlerTag = testIDs.get(testID);\n if (handlerTag !== undefined) {\n return findHandler(handlerTag) ?? null;\n }\n return null;\n}\n\nexport interface GestureHandlerCallbacks {\n onGestureEvent: (event: GestureEvent) => void;\n onGestureStateChange: (event: HandlerStateChangeEvent) => void;\n}\n","export function toArray(object: T | T[]): T[] {\n if (!Array.isArray(object)) {\n return [object];\n }\n\n return object;\n}\n\nexport type withPrevAndCurrentMapFn = (\n previous: Transformed | null,\n current: T\n) => Transformed;\nexport function withPrevAndCurrent(\n array: T[],\n mapFn: withPrevAndCurrentMapFn\n): Transformed[] {\n const previousArr: (null | Transformed)[] = [null];\n const currentArr = [...array];\n const transformedArr: Transformed[] = [];\n currentArr.forEach((current, i) => {\n const previous = previousArr[i];\n const transformed = mapFn(previous, current);\n previousArr.push(transformed);\n transformedArr.push(transformed);\n });\n return transformedArr;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function hasProperty(object: object, key: string) {\n return Object.prototype.hasOwnProperty.call(object, key);\n}\n\nexport function isJestEnv(): boolean {\n return hasProperty(global, 'process') && !!process.env.JEST_WORKER_ID;\n}\n\nexport function tagMessage(msg: string) {\n return `[react-native-gesture-handler] ${msg}`;\n}\n\nexport function isFabric(): boolean {\n // @ts-expect-error nativeFabricUIManager is not yet included in the RN types\n return !!global?.nativeFabricUIManager;\n}\n","import { NativeModules } from 'react-native';\nimport { ActionType } from './ActionType';\nimport { tagMessage } from './utils';\nconst { RNGestureHandlerModule } = NativeModules;\n\nif (RNGestureHandlerModule == null) {\n console.error(\n tagMessage(\n `react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).\n\n For installation instructions, please refer to https://docs.swmansion.com/react-native-gesture-handler/docs/#installation`\n .split('\\n')\n .map((line) => line.trim())\n .join('\\n')\n )\n );\n}\n\nexport type RNGestureHandlerModuleProps = {\n handleSetJSResponder: (tag: number, blockNativeResponder: boolean) => void;\n handleClearJSResponder: () => void;\n createGestureHandler: (\n handlerName: string,\n handlerTag: number,\n config: Readonly>\n ) => void;\n attachGestureHandler: (\n handlerTag: number,\n newView: number,\n actionType: ActionType\n ) => void;\n updateGestureHandler: (\n handlerTag: number,\n newConfig: Readonly>\n ) => void;\n dropGestureHandler: (handlerTag: number) => void;\n install: () => void;\n};\n\nexport default RNGestureHandlerModule as RNGestureHandlerModuleProps;\n","export const Directions = {\n RIGHT: 1,\n LEFT: 2,\n UP: 4,\n DOWN: 8,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type Directions = typeof Directions[keyof typeof Directions];\n","import * as React from 'react';\nimport { StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport GestureHandlerRootView from './GestureHandlerRootView';\n\nexport default function gestureHandlerRootHOC

(\n Component: React.ComponentType

,\n containerStyles?: StyleProp\n): React.ComponentType

{\n function Wrapper(props: P) {\n return (\n \n \n \n );\n }\n\n Wrapper.displayName = `gestureHandlerRootHOC(${\n Component.displayName || Component.name\n })`;\n\n hoistNonReactStatics(Wrapper, Component);\n\n return Wrapper;\n}\n\nconst styles = StyleSheet.create({\n container: { flex: 1 },\n});\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/** @license React v16.8.4\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';Object.defineProperty(exports,\"__esModule\",{value:!0});\nvar b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?Symbol.for(\"react.memo\"):\n60115,r=b?Symbol.for(\"react.lazy\"):60116;function t(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return u}}case r:case q:case d:return u}}}function v(a){return t(a)===m}exports.typeOf=t;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;\nexports.Fragment=e;exports.Lazy=r;exports.Memo=q;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||\"object\"===typeof a&&null!==a&&(a.$$typeof===r||a.$$typeof===q||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||t(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return t(a)===k};\nexports.isContextProvider=function(a){return t(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return t(a)===n};exports.isFragment=function(a){return t(a)===e};exports.isLazy=function(a){return t(a)===r};exports.isMemo=function(a){return t(a)===q};exports.isPortal=function(a){return t(a)===d};exports.isProfiler=function(a){return t(a)===g};exports.isStrictMode=function(a){return t(a)===f};\nexports.isSuspense=function(a){return t(a)===p};\n","import * as React from 'react';\nimport { PropsWithChildren } from 'react';\nimport { View, ViewProps } from 'react-native';\n\nexport interface GestureHandlerRootViewProps\n extends PropsWithChildren {}\n\nexport default function GestureHandlerRootView(\n props: GestureHandlerRootViewProps\n) {\n return ;\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const tapGestureHandlerProps = [\n 'maxDurationMs',\n 'maxDelayMs',\n 'numberOfTaps',\n 'maxDeltaX',\n 'maxDeltaY',\n 'maxDist',\n 'minPointers',\n] as const;\n\nexport type TapGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\nexport interface TapGestureConfig {\n /**\n * Minimum number of pointers (fingers) required to be placed before the\n * handler activates. Should be a positive integer.\n * The default value is 1.\n */\n minPointers?: number;\n\n /**\n * Maximum time, expressed in milliseconds, that defines how fast a finger\n * must be released after a touch. The default value is 500.\n */\n maxDurationMs?: number;\n\n /**\n * Maximum time, expressed in milliseconds, that can pass before the next tap\n * if many taps are required. The default value is 500.\n */\n maxDelayMs?: number;\n\n /**\n * Number of tap gestures required to activate the handler. The default value\n * is 1.\n */\n numberOfTaps?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel along the X axis during a tap gesture. If the finger\n * travels further than the defined distance along the X axis and the handler\n * hasn't yet activated, it will fail to recognize the gesture.\n */\n maxDeltaX?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel along the Y axis during a tap gesture. If the finger\n * travels further than the defined distance along the Y axis and the handler\n * hasn't yet activated, it will fail to recognize the gesture.\n */\n maxDeltaY?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel during a tap gesture. If the finger travels further than\n * the defined distance and the handler hasn't yet\n * activated, it will fail to recognize the gesture.\n */\n maxDist?: number;\n}\n\nexport interface TapGestureHandlerProps\n extends BaseGestureHandlerProps,\n TapGestureConfig {}\n\nexport const tapHandlerName = 'TapGestureHandler';\n\nexport type TapGestureHandler = typeof TapGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const TapGestureHandler = createHandler<\n TapGestureHandlerProps,\n TapGestureHandlerEventPayload\n>({\n name: tapHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...tapGestureHandlerProps,\n ] as const,\n config: {},\n});\n","import * as React from 'react';\nimport {\n Platform,\n Touchable,\n UIManager,\n DeviceEventEmitter,\n EmitterSubscription,\n} from 'react-native';\n// @ts-ignore - it isn't typed by TS & don't have definitelyTyped types\nimport deepEqual from 'lodash/isEqual';\nimport RNGestureHandlerModule from '../RNGestureHandlerModule';\nimport type RNGestureHandlerModuleWeb from '../RNGestureHandlerModule.web';\nimport { State } from '../State';\nimport {\n handlerIDToTag,\n getNextHandlerTag,\n registerOldGestureHandler,\n} from './handlersRegistry';\n\nimport {\n BaseGestureHandlerProps,\n filterConfig,\n GestureEvent,\n HandlerStateChangeEvent,\n findNodeHandle,\n} from './gestureHandlerCommon';\nimport { ValueOf } from '../typeUtils';\nimport { isFabric, isJestEnv, tagMessage } from '../utils';\nimport { ActionType } from '../ActionType';\n\nconst UIManagerAny = UIManager as any;\n\nconst customGHEventsConfigFabricAndroid = {\n topOnGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },\n topOnGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n};\n\nconst customGHEventsConfig = {\n onGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },\n onGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n\n // When using React Native Gesture Handler for Animated.event with useNativeDriver: true\n // on Android with Fabric enabled, the native part still sends the native events to JS\n // but prefixed with \"top\". We cannot simply rename the events above so they are prefixed\n // with \"top\" instead of \"on\" because in such case Animated.events would not be registered.\n // That's why we need to register another pair of event names.\n // The incoming events will be queued but never handled.\n // Without this piece of code below, you'll get the following JS error:\n // Unsupported top level event type \"topOnGestureHandlerEvent\" dispatched\n ...(isFabric() &&\n Platform.OS === 'android' &&\n customGHEventsConfigFabricAndroid),\n};\n\n// Add gesture specific events to genericDirectEventTypes object exported from UIManager\n// native module.\n// Once new event types are registered with react it is possible to dispatch these\n// events to all kind of native views.\nUIManagerAny.genericDirectEventTypes = {\n ...UIManagerAny.genericDirectEventTypes,\n ...customGHEventsConfig,\n};\n// In newer versions of RN the `genericDirectEventTypes` is located in the object\n// returned by UIManager.getViewManagerConfig('getConstants') or in older RN UIManager.getConstants(), we need to add it there as well to make\n// it compatible with RN 61+\nconst UIManagerConstants =\n UIManagerAny.getViewManagerConfig?.('getConstants') ??\n UIManagerAny.getConstants?.();\n\nif (UIManagerConstants) {\n UIManagerConstants.genericDirectEventTypes = {\n ...UIManagerConstants.genericDirectEventTypes,\n ...customGHEventsConfig,\n };\n}\n\n// Wrap JS responder calls and notify gesture handler manager\nconst {\n setJSResponder: oldSetJSResponder = () => {\n //no operation\n },\n clearJSResponder: oldClearJSResponder = () => {\n //no operation\n },\n} = UIManagerAny;\nUIManagerAny.setJSResponder = (tag: number, blockNativeResponder: boolean) => {\n RNGestureHandlerModule.handleSetJSResponder(tag, blockNativeResponder);\n oldSetJSResponder(tag, blockNativeResponder);\n};\nUIManagerAny.clearJSResponder = () => {\n RNGestureHandlerModule.handleClearJSResponder();\n oldClearJSResponder();\n};\n\nlet allowTouches = true;\nconst DEV_ON_ANDROID = __DEV__ && Platform.OS === 'android';\n// Toggled inspector blocks touch events in order to allow inspecting on Android\n// This needs to be a global variable in order to set initial state for `allowTouches` property in Handler component\nif (DEV_ON_ANDROID) {\n DeviceEventEmitter.addListener('toggleElementInspector', () => {\n allowTouches = !allowTouches;\n });\n}\n\ntype HandlerProps> = Readonly<\n React.PropsWithChildren>\n>;\nfunction hasUnresolvedRefs>(\n props: HandlerProps\n) {\n // TODO(TS) - add type for extract arg\n const extract = (refs: any | any[]) => {\n if (!Array.isArray(refs)) {\n return refs && refs.current === null;\n }\n return refs.some((r) => r && r.current === null);\n };\n return extract(props['simultaneousHandlers']) || extract(props['waitFor']);\n}\n\nconst stateToPropMappings = {\n [State.UNDETERMINED]: undefined,\n [State.BEGAN]: 'onBegan',\n [State.FAILED]: 'onFailed',\n [State.CANCELLED]: 'onCancelled',\n [State.ACTIVE]: 'onActivated',\n [State.END]: 'onEnded',\n} as const;\n\ntype CreateHandlerArgs<\n HandlerPropsT extends Record\n> = Readonly<{\n name: string;\n allowedProps: Readonly[]>;\n config: Readonly>;\n transformProps?: (props: HandlerPropsT) => HandlerPropsT;\n customNativeProps?: Readonly;\n}>;\n\n// TODO(TS) fix event types\ntype InternalEventHandlers = {\n onGestureHandlerEvent?: (event: any) => void;\n onGestureHandlerStateChange?: (event: any) => void;\n};\n\nlet showedRngh2Notice = false;\nfunction showRngh2NoticeIfNeeded() {\n if (!showedRngh2Notice) {\n console.warn(\n tagMessage(\n \"Seems like you're using an old API with gesture components, check out new Gestures system!\"\n )\n );\n showedRngh2Notice = true;\n }\n}\n\n// TODO(TS) - make sure that BaseGestureHandlerProps doesn't need other generic parameter to work with custom properties.\nexport default function createHandler<\n T extends BaseGestureHandlerProps,\n U extends Record\n>({\n name,\n allowedProps = [],\n config = {},\n transformProps,\n customNativeProps = [],\n}: CreateHandlerArgs): React.ComponentType> {\n interface HandlerState {\n allowTouches: boolean;\n }\n class Handler extends React.Component<\n T & InternalEventHandlers,\n HandlerState\n > {\n static displayName = name;\n\n private handlerTag: number;\n private config: Record;\n private propsRef: React.MutableRefObject;\n private viewNode: any;\n private viewTag?: number;\n private updateEnqueued: ReturnType | null = null;\n private inspectorToggleListener?: EmitterSubscription;\n\n constructor(props: T & InternalEventHandlers) {\n super(props);\n this.handlerTag = getNextHandlerTag();\n this.config = {};\n this.propsRef = React.createRef();\n this.state = { allowTouches };\n if (props.id) {\n if (handlerIDToTag[props.id] !== undefined) {\n throw new Error(`Handler with ID \"${props.id}\" already registered`);\n }\n handlerIDToTag[props.id] = this.handlerTag;\n }\n if (__DEV__ && !isJestEnv()) {\n showRngh2NoticeIfNeeded();\n }\n }\n\n componentDidMount() {\n const props: HandlerProps = this.props;\n\n if (DEV_ON_ANDROID) {\n this.inspectorToggleListener = DeviceEventEmitter.addListener(\n 'toggleElementInspector',\n () => {\n this.setState((_) => ({ allowTouches }));\n this.update();\n }\n );\n }\n if (hasUnresolvedRefs(props)) {\n // If there are unresolved refs (e.g. \".current\" has not yet been set)\n // passed as `simultaneousHandlers` or `waitFor`, we enqueue a call to\n // _update method that will try to update native handler props using\n // setImmediate. This makes it so update() function gets called after all\n // react components are mounted and we expect the missing ref object to\n // be resolved by then.\n this.updateEnqueued = setImmediate(() => {\n this.updateEnqueued = null;\n this.update();\n });\n }\n\n this.createGestureHandler(\n filterConfig(\n transformProps ? transformProps(this.props) : this.props,\n [...allowedProps, ...customNativeProps],\n config\n )\n );\n\n this.attachGestureHandler(findNodeHandle(this.viewNode) as number); // TODO(TS) - check if this can be null\n }\n\n componentDidUpdate() {\n const viewTag = findNodeHandle(this.viewNode);\n if (this.viewTag !== viewTag) {\n this.attachGestureHandler(viewTag as number); // TODO(TS) - check interaction between _viewTag & findNodeHandle\n }\n this.update();\n }\n\n componentWillUnmount() {\n this.inspectorToggleListener?.remove();\n RNGestureHandlerModule.dropGestureHandler(this.handlerTag);\n if (this.updateEnqueued) {\n clearImmediate(this.updateEnqueued);\n }\n // We can't use this.props.id directly due to TS generic type narrowing bug, see https://github.com/microsoft/TypeScript/issues/13995 for more context\n const handlerID: string | undefined = this.props.id;\n if (handlerID) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete handlerIDToTag[handlerID];\n }\n }\n\n private onGestureHandlerEvent = (event: GestureEvent) => {\n if (event.nativeEvent.handlerTag === this.handlerTag) {\n if (typeof this.props.onGestureEvent === 'function') {\n this.props.onGestureEvent?.(event);\n }\n } else {\n this.props.onGestureHandlerEvent?.(event);\n }\n };\n\n // TODO(TS) - make sure this is right type for event\n private onGestureHandlerStateChange = (\n event: HandlerStateChangeEvent\n ) => {\n if (event.nativeEvent.handlerTag === this.handlerTag) {\n if (typeof this.props.onHandlerStateChange === 'function') {\n this.props.onHandlerStateChange?.(event);\n }\n\n const state: ValueOf = event.nativeEvent.state;\n const stateEventName = stateToPropMappings[state];\n const eventHandler = stateEventName && this.props[stateEventName];\n if (eventHandler && typeof eventHandler === 'function') {\n eventHandler(event);\n }\n } else {\n this.props.onGestureHandlerStateChange?.(event);\n }\n };\n\n private refHandler = (node: any) => {\n this.viewNode = node;\n\n const child = React.Children.only(this.props.children);\n // TODO(TS) fix ref type\n const { ref }: any = child;\n if (ref !== null) {\n if (typeof ref === 'function') {\n ref(node);\n } else {\n ref.current = node;\n }\n }\n };\n\n private createGestureHandler = (\n newConfig: Readonly>\n ) => {\n this.config = newConfig;\n\n RNGestureHandlerModule.createGestureHandler(\n name,\n this.handlerTag,\n newConfig\n );\n };\n\n private attachGestureHandler = (newViewTag: number) => {\n this.viewTag = newViewTag;\n\n if (Platform.OS === 'web') {\n // typecast due to dynamic resolution, attachGestureHandler should have web version signature in this branch\n (RNGestureHandlerModule.attachGestureHandler as typeof RNGestureHandlerModuleWeb.attachGestureHandler)(\n this.handlerTag,\n newViewTag,\n ActionType.JS_FUNCTION_OLD_API, // ignored on web\n this.propsRef\n );\n } else {\n registerOldGestureHandler(this.handlerTag, {\n onGestureEvent: this.onGestureHandlerEvent,\n onGestureStateChange: this.onGestureHandlerStateChange,\n });\n\n const actionType = (() => {\n if (\n this.props?.onGestureEvent &&\n 'current' in this.props.onGestureEvent\n ) {\n // Reanimated worklet\n return ActionType.REANIMATED_WORKLET;\n } else if (\n this.props?.onGestureEvent &&\n '__isNative' in this.props.onGestureEvent\n ) {\n // Animated.event with useNativeDriver: true\n return ActionType.NATIVE_ANIMATED_EVENT;\n } else {\n // JS callback or Animated.event with useNativeDriver: false\n return ActionType.JS_FUNCTION_OLD_API;\n }\n })();\n\n RNGestureHandlerModule.attachGestureHandler(\n this.handlerTag,\n newViewTag,\n actionType\n );\n }\n };\n\n private updateGestureHandler = (\n newConfig: Readonly>\n ) => {\n this.config = newConfig;\n\n RNGestureHandlerModule.updateGestureHandler(this.handlerTag, newConfig);\n };\n\n private update() {\n const newConfig = filterConfig(\n transformProps ? transformProps(this.props) : this.props,\n [...allowedProps, ...customNativeProps],\n config\n );\n if (!deepEqual(this.config, newConfig)) {\n this.updateGestureHandler(newConfig);\n }\n }\n\n setNativeProps(updates: any) {\n const mergedProps = { ...this.props, ...updates };\n const newConfig = filterConfig(\n transformProps ? transformProps(mergedProps) : mergedProps,\n [...allowedProps, ...customNativeProps],\n config\n );\n this.updateGestureHandler(newConfig);\n }\n\n render() {\n let gestureEventHandler = this.onGestureHandlerEvent;\n // Another instance of https://github.com/microsoft/TypeScript/issues/13995\n type OnGestureEventHandlers = {\n onGestureEvent?: BaseGestureHandlerProps['onGestureEvent'];\n onGestureHandlerEvent?: InternalEventHandlers['onGestureHandlerEvent'];\n };\n const {\n onGestureEvent,\n onGestureHandlerEvent,\n }: OnGestureEventHandlers = this.props;\n if (onGestureEvent && typeof onGestureEvent !== 'function') {\n // If it's not a method it should be an native Animated.event\n // object. We set it directly as the handler for the view\n // In this case nested handlers are not going to be supported\n if (onGestureHandlerEvent) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n gestureEventHandler = onGestureEvent;\n } else {\n if (\n onGestureHandlerEvent &&\n typeof onGestureHandlerEvent !== 'function'\n ) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n }\n\n let gestureStateEventHandler = this.onGestureHandlerStateChange;\n // Another instance of https://github.com/microsoft/TypeScript/issues/13995\n type OnGestureStateChangeHandlers = {\n onHandlerStateChange?: BaseGestureHandlerProps['onHandlerStateChange'];\n onGestureHandlerStateChange?: InternalEventHandlers['onGestureHandlerStateChange'];\n };\n const {\n onHandlerStateChange,\n onGestureHandlerStateChange,\n }: OnGestureStateChangeHandlers = this.props;\n if (onHandlerStateChange && typeof onHandlerStateChange !== 'function') {\n // If it's not a method it should be an native Animated.event\n // object. We set it directly as the handler for the view\n // In this case nested handlers are not going to be supported\n if (onGestureHandlerStateChange) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n gestureStateEventHandler = onHandlerStateChange;\n } else {\n if (\n onGestureHandlerStateChange &&\n typeof onGestureHandlerStateChange !== 'function'\n ) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n }\n const events = {\n onGestureHandlerEvent: this.state.allowTouches\n ? gestureEventHandler\n : undefined,\n onGestureHandlerStateChange: this.state.allowTouches\n ? gestureStateEventHandler\n : undefined,\n };\n\n this.propsRef.current = events;\n\n const child: any = React.Children.only(this.props.children);\n let grandChildren = child.props.children;\n if (\n Touchable.TOUCH_TARGET_DEBUG &&\n child.type &&\n (child.type === 'RNGestureHandlerButton' ||\n child.type.name === 'View' ||\n child.type.displayName === 'View')\n ) {\n grandChildren = React.Children.toArray(grandChildren);\n grandChildren.push(\n Touchable.renderDebugView({\n color: 'mediumspringgreen',\n hitSlop: child.props.hitSlop,\n })\n );\n }\n\n return React.cloneElement(\n child,\n {\n ref: this.refHandler,\n collapsable: false,\n ...(isJestEnv()\n ? {\n handlerType: name,\n handlerTag: this.handlerTag,\n }\n : {}),\n testID: this.props.testID ?? child.props.testID,\n ...events,\n },\n grandChildren\n );\n }\n }\n return Handler;\n}\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","// Previous types exported gesture handlers as classes which creates an interface and variable, both named the same as class.\n// Without those types, we'd introduce breaking change, forcing users to prefix every handler type specification with typeof\n// e.g. React.createRef -> React.createRef.\n// See https://www.typescriptlang.org/docs/handbook/classes.html#constructor-functions for reference.\nimport * as React from 'react';\nimport { Platform, findNodeHandle as findNodeHandleRN } from 'react-native';\n\nimport { State } from '../State';\nimport { EventType } from '../EventType';\nimport { ValueOf } from '../typeUtils';\nimport { handlerIDToTag } from './handlersRegistry';\nimport { toArray } from '../utils';\n\nconst commonProps = [\n 'id',\n 'enabled',\n 'shouldCancelWhenOutside',\n 'hitSlop',\n] as const;\n\nconst componentInteractionProps = ['waitFor', 'simultaneousHandlers'] as const;\n\nexport const baseGestureHandlerProps = [\n ...commonProps,\n ...componentInteractionProps,\n 'onBegan',\n 'onFailed',\n 'onCancelled',\n 'onActivated',\n 'onEnded',\n 'onGestureEvent',\n 'onHandlerStateChange',\n] as const;\n\nexport const baseGestureHandlerWithMonitorProps = [\n ...commonProps,\n 'needsPointerData',\n 'manualActivation',\n];\n\nexport interface GestureEventPayload {\n handlerTag: number;\n numberOfPointers: number;\n state: ValueOf;\n}\nexport interface HandlerStateChangeEventPayload extends GestureEventPayload {\n oldState: ValueOf;\n}\n\nexport type HitSlop =\n | number\n | Partial<\n Record<\n 'left' | 'right' | 'top' | 'bottom' | 'vertical' | 'horizontal',\n number\n >\n >\n | Record<'width' | 'left', number>\n | Record<'width' | 'right', number>\n | Record<'height' | 'top', number>\n | Record<'height' | 'bottom', number>;\n\n//TODO(TS) events in handlers\n\nexport interface GestureEvent> {\n nativeEvent: Readonly;\n}\nexport interface HandlerStateChangeEvent<\n ExtraEventPayloadT = Record\n> {\n nativeEvent: Readonly;\n}\n\nexport type TouchData = {\n id: number;\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\n\nexport type GestureTouchEvent = {\n handlerTag: number;\n numberOfTouches: number;\n state: ValueOf;\n eventType: EventType;\n allTouches: TouchData[];\n changedTouches: TouchData[];\n};\n\nexport type GestureUpdateEvent<\n GestureEventPayloadT = Record\n> = GestureEventPayload & GestureEventPayloadT;\n\nexport type GestureStateChangeEvent<\n GestureStateChangeEventPayloadT = Record\n> = HandlerStateChangeEventPayload & GestureStateChangeEventPayloadT;\n\nexport type CommonGestureConfig = {\n enabled?: boolean;\n shouldCancelWhenOutside?: boolean;\n hitSlop?: HitSlop;\n};\n\n// Events payloads are types instead of interfaces due to TS limitation.\n// See https://github.com/microsoft/TypeScript/issues/15300 for more info.\nexport type BaseGestureHandlerProps<\n ExtraEventPayloadT extends Record = Record\n> = CommonGestureConfig & {\n id?: string;\n waitFor?: React.Ref | React.Ref[];\n simultaneousHandlers?: React.Ref | React.Ref[];\n testID?: string;\n // TODO(TS) - fix event types\n onBegan?: (event: HandlerStateChangeEvent) => void;\n onFailed?: (event: HandlerStateChangeEvent) => void;\n onCancelled?: (event: HandlerStateChangeEvent) => void;\n onActivated?: (event: HandlerStateChangeEvent) => void;\n onEnded?: (event: HandlerStateChangeEvent) => void;\n\n //TODO(TS) consider using NativeSyntheticEvent\n onGestureEvent?: (event: GestureEvent) => void;\n onHandlerStateChange?: (\n event: HandlerStateChangeEvent\n ) => void;\n};\n\nfunction isConfigParam(param: unknown, name: string) {\n // param !== Object(param) returns false if `param` is a function\n // or an object and returns true if `param` is null\n return (\n param !== undefined &&\n (param !== Object(param) ||\n !('__isNative' in (param as Record))) &&\n name !== 'onHandlerStateChange' &&\n name !== 'onGestureEvent'\n );\n}\n\nexport function filterConfig(\n props: Record,\n validProps: string[],\n defaults: Record = {}\n) {\n const filteredConfig = { ...defaults };\n for (const key of validProps) {\n let value = props[key];\n if (isConfigParam(value, key)) {\n if (key === 'simultaneousHandlers' || key === 'waitFor') {\n value = transformIntoHandlerTags(props[key]);\n } else if (key === 'hitSlop' && typeof value !== 'object') {\n value = { top: value, left: value, bottom: value, right: value };\n }\n filteredConfig[key] = value;\n }\n }\n return filteredConfig;\n}\n\nfunction transformIntoHandlerTags(handlerIDs: any) {\n handlerIDs = toArray(handlerIDs);\n\n if (Platform.OS === 'web') {\n return handlerIDs\n .map(({ current }: { current: any }) => current)\n .filter((handle: any) => handle);\n }\n // converts handler string IDs into their numeric tags\n return handlerIDs\n .map(\n (handlerID: any) =>\n handlerIDToTag[handlerID] || handlerID.current?.handlerTag || -1\n )\n .filter((handlerTag: number) => handlerTag > 0);\n}\n\nexport function findNodeHandle(\n node: null | number | React.Component | React.ComponentClass\n): null | number | React.Component | React.ComponentClass {\n if (Platform.OS === 'web') return node;\n return findNodeHandleRN(node);\n}\n","export const ActionType = {\n REANIMATED_WORKLET: 1,\n NATIVE_ANIMATED_EVENT: 2,\n JS_FUNCTION_OLD_API: 3,\n JS_FUNCTION_NEW_API: 4,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type ActionType = typeof ActionType[keyof typeof ActionType];\n","import React from 'react';\nimport { tagMessage } from '../utils';\nimport PlatformConstants from '../PlatformConstants';\nimport createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const forceTouchGestureHandlerProps = [\n 'minForce',\n 'maxForce',\n 'feedbackOnActivation',\n] as const;\n\nclass ForceTouchFallback extends React.Component {\n static forceTouchAvailable = false;\n componentDidMount() {\n console.warn(\n tagMessage(\n 'ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'\n )\n );\n }\n render() {\n return this.props.children;\n }\n}\n\nexport type ForceTouchGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n\n /**\n * The pressure of a touch.\n */\n force: number;\n};\n\nexport interface ForceTouchGestureConfig {\n /**\n *\n * A minimal pressure that is required before handler can activate. Should be a\n * value from range `[0.0, 1.0]`. Default is `0.2`.\n */\n minForce?: number;\n\n /**\n * A maximal pressure that could be applied for handler. If the pressure is\n * greater, handler fails. Should be a value from range `[0.0, 1.0]`.\n */\n maxForce?: number;\n\n /**\n * Boolean value defining if haptic feedback has to be performed on\n * activation.\n */\n feedbackOnActivation?: boolean;\n}\n\nexport interface ForceTouchGestureHandlerProps\n extends BaseGestureHandlerProps,\n ForceTouchGestureConfig {}\n\nexport type ForceTouchGestureHandler = typeof ForceTouchGestureHandler & {\n forceTouchAvailable: boolean;\n};\n\nexport const forceTouchHandlerName = 'ForceTouchGestureHandler';\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const ForceTouchGestureHandler = PlatformConstants?.forceTouchAvailable\n ? createHandler<\n ForceTouchGestureHandlerProps,\n ForceTouchGestureHandlerEventPayload\n >({\n name: forceTouchHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...forceTouchGestureHandlerProps,\n ] as const,\n config: {},\n })\n : ForceTouchFallback;\n\n(ForceTouchGestureHandler as ForceTouchGestureHandler).forceTouchAvailable =\n PlatformConstants?.forceTouchAvailable || false;\n","import { NativeModules, Platform } from 'react-native';\n\ntype PlatformConstants = {\n forceTouchAvailable: boolean;\n};\n\nexport default (NativeModules?.PlatformConstants ??\n Platform.constants) as PlatformConstants;\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const longPressGestureHandlerProps = [\n 'minDurationMs',\n 'maxDist',\n] as const;\n\nexport type LongPressGestureHandlerEventPayload = {\n /**\n * X coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the view attached to the handler.\n */\n x: number;\n\n /**\n * Y coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the view attached to the handler.\n */\n y: number;\n\n /**\n * X coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the window. It is recommended to use `absoluteX` instead of\n * `x` in cases when the view attached to the handler can be transformed as an\n * effect of the gesture.\n */\n absoluteX: number;\n\n /**\n * Y coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the window. It is recommended to use `absoluteY` instead of\n * `y` in cases when the view attached to the handler can be transformed as an\n * effect of the gesture.\n */\n absoluteY: number;\n\n /**\n * Duration of the long press (time since the start of the event), expressed\n * in milliseconds.\n */\n duration: number;\n};\n\nexport interface LongPressGestureConfig {\n /**\n * Minimum time, expressed in milliseconds, that a finger must remain pressed on\n * the corresponding view. The default value is 500.\n */\n minDurationMs?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel during a long press gesture. If the finger travels\n * further than the defined distance and the handler hasn't yet activated, it\n * will fail to recognize the gesture. The default value is 10.\n */\n maxDist?: number;\n}\n\nexport interface LongPressGestureHandlerProps\n extends BaseGestureHandlerProps,\n LongPressGestureConfig {}\n\nexport const longPressHandlerName = 'LongPressGestureHandler';\n\nexport type LongPressGestureHandler = typeof LongPressGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const LongPressGestureHandler = createHandler<\n LongPressGestureHandlerProps,\n LongPressGestureHandlerEventPayload\n>({\n name: longPressHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...longPressGestureHandlerProps,\n ] as const,\n config: {},\n});\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const panGestureHandlerProps = [\n 'activeOffsetY',\n 'activeOffsetX',\n 'failOffsetY',\n 'failOffsetX',\n 'minDist',\n 'minVelocity',\n 'minVelocityX',\n 'minVelocityY',\n 'minPointers',\n 'maxPointers',\n 'avgTouches',\n 'enableTrackpadTwoFingerGesture',\n] as const;\n\nexport const panGestureHandlerCustomNativeProps = [\n 'activeOffsetYStart',\n 'activeOffsetYEnd',\n 'activeOffsetXStart',\n 'activeOffsetXEnd',\n 'failOffsetYStart',\n 'failOffsetYEnd',\n 'failOffsetXStart',\n 'failOffsetXEnd',\n] as const;\n\nexport type PanGestureHandlerEventPayload = {\n /**\n * X coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the view\n * attached to the handler. Expressed in point units.\n */\n x: number;\n\n /**\n * Y coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the view\n * attached to the handler. Expressed in point units.\n */\n y: number;\n\n /**\n * X coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the window.\n * The value is expressed in point units. It is recommended to use it instead\n * of `x` in cases when the original view can be transformed as an effect of\n * the gesture.\n */\n absoluteX: number;\n\n /**\n * Y coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the window.\n * The value is expressed in point units. It is recommended to use it instead\n * of `y` in cases when the original view can be transformed as an\n * effect of the gesture.\n */\n absoluteY: number;\n\n /**\n * Translation of the pan gesture along X axis accumulated over the time of\n * the gesture. The value is expressed in the point units.\n */\n translationX: number;\n\n /**\n * Translation of the pan gesture along Y axis accumulated over the time of\n * the gesture. The value is expressed in the point units.\n */\n translationY: number;\n\n /**\n * Velocity of the pan gesture along the X axis in the current moment. The\n * value is expressed in point units per second.\n */\n velocityX: number;\n\n /**\n * Velocity of the pan gesture along the Y axis in the current moment. The\n * value is expressed in point units per second.\n */\n velocityY: number;\n};\n\ninterface CommonPanProperties {\n /**\n * Minimum distance the finger (or multiple finger) need to travel before the\n * handler activates. Expressed in points.\n */\n minDist?: number;\n\n /**\n * Android only.\n */\n avgTouches?: boolean;\n\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * enableTrackpadTwoFingerGesture swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n /**\n * A number of fingers that is required to be placed before handler can\n * activate. Should be a higher or equal to 0 integer.\n */\n minPointers?: number;\n\n /**\n * When the given number of fingers is placed on the screen and handler hasn't\n * yet activated it will fail recognizing the gesture. Should be a higher or\n * equal to 0 integer.\n */\n maxPointers?: number;\n\n minVelocity?: number;\n minVelocityX?: number;\n minVelocityY?: number;\n}\n\nexport interface PanGestureConfig extends CommonPanProperties {\n activeOffsetYStart?: number;\n activeOffsetYEnd?: number;\n activeOffsetXStart?: number;\n activeOffsetXEnd?: number;\n failOffsetYStart?: number;\n failOffsetYEnd?: number;\n failOffsetXStart?: number;\n failOffsetXEnd?: number;\n}\n\nexport interface PanGestureHandlerProps\n extends BaseGestureHandlerProps,\n CommonPanProperties {\n /**\n * Range along X axis (in points) where fingers travels without activation of\n * handler. Moving outside of this range implies activation of handler. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n activeOffsetY?: number | number[];\n\n /**\n * Range along X axis (in points) where fingers travels without activation of\n * handler. Moving outside of this range implies activation of handler. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n activeOffsetX?: number | number[];\n\n /**\n * When the finger moves outside this range (in points) along Y axis and\n * handler hasn't yet activated it will fail recognizing the gesture. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n failOffsetY?: number | number[];\n\n /**\n * When the finger moves outside this range (in points) along X axis and\n * handler hasn't yet activated it will fail recognizing the gesture. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n failOffsetX?: number | number[];\n}\n\nexport const panHandlerName = 'PanGestureHandler';\n\nexport type PanGestureHandler = typeof PanGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const PanGestureHandler = createHandler<\n PanGestureHandlerProps,\n PanGestureHandlerEventPayload\n>({\n name: panHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...panGestureHandlerProps,\n ] as const,\n config: {},\n transformProps: managePanProps,\n customNativeProps: panGestureHandlerCustomNativeProps,\n});\n\nfunction validatePanGestureHandlerProps(props: PanGestureHandlerProps) {\n if (\n Array.isArray(props.activeOffsetX) &&\n (props.activeOffsetX[0] > 0 || props.activeOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.activeOffsetY) &&\n (props.activeOffsetY[0] > 0 || props.activeOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetY should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetX) &&\n (props.failOffsetX[0] > 0 || props.failOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetY) &&\n (props.failOffsetY[0] > 0 || props.failOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetY should be negative, a the second one should be positive`\n );\n }\n\n if (props.minDist && (props.failOffsetX || props.failOffsetY)) {\n throw new Error(\n `It is not supported to use minDist with failOffsetX or failOffsetY, use activeOffsetX and activeOffsetY instead`\n );\n }\n\n if (props.minDist && (props.activeOffsetX || props.activeOffsetY)) {\n throw new Error(\n `It is not supported to use minDist with activeOffsetX or activeOffsetY`\n );\n }\n}\n\nfunction transformPanGestureHandlerProps(props: PanGestureHandlerProps) {\n type InternalPanGHKeys =\n | 'activeOffsetXStart'\n | 'activeOffsetXEnd'\n | 'failOffsetXStart'\n | 'failOffsetXEnd'\n | 'activeOffsetYStart'\n | 'activeOffsetYEnd'\n | 'failOffsetYStart'\n | 'failOffsetYEnd';\n type PanGestureHandlerInternalProps = PanGestureHandlerProps &\n Partial>;\n\n const res: PanGestureHandlerInternalProps = { ...props };\n\n if (props.activeOffsetX !== undefined) {\n delete res.activeOffsetX;\n if (Array.isArray(props.activeOffsetX)) {\n res.activeOffsetXStart = props.activeOffsetX[0];\n res.activeOffsetXEnd = props.activeOffsetX[1];\n } else if (props.activeOffsetX < 0) {\n res.activeOffsetXStart = props.activeOffsetX;\n } else {\n res.activeOffsetXEnd = props.activeOffsetX;\n }\n }\n\n if (props.activeOffsetY !== undefined) {\n delete res.activeOffsetY;\n if (Array.isArray(props.activeOffsetY)) {\n res.activeOffsetYStart = props.activeOffsetY[0];\n res.activeOffsetYEnd = props.activeOffsetY[1];\n } else if (props.activeOffsetY < 0) {\n res.activeOffsetYStart = props.activeOffsetY;\n } else {\n res.activeOffsetYEnd = props.activeOffsetY;\n }\n }\n\n if (props.failOffsetX !== undefined) {\n delete res.failOffsetX;\n if (Array.isArray(props.failOffsetX)) {\n res.failOffsetXStart = props.failOffsetX[0];\n res.failOffsetXEnd = props.failOffsetX[1];\n } else if (props.failOffsetX < 0) {\n res.failOffsetXStart = props.failOffsetX;\n } else {\n res.failOffsetXEnd = props.failOffsetX;\n }\n }\n\n if (props.failOffsetY !== undefined) {\n delete res.failOffsetY;\n if (Array.isArray(props.failOffsetY)) {\n res.failOffsetYStart = props.failOffsetY[0];\n res.failOffsetYEnd = props.failOffsetY[1];\n } else if (props.failOffsetY < 0) {\n res.failOffsetYStart = props.failOffsetY;\n } else {\n res.failOffsetYEnd = props.failOffsetY;\n }\n }\n\n return res;\n}\n\nexport function managePanProps(props: PanGestureHandlerProps) {\n if (__DEV__) {\n validatePanGestureHandlerProps(props);\n }\n return transformPanGestureHandlerProps(props);\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport type PinchGestureHandlerEventPayload = {\n /**\n * The scale factor relative to the points of the two touches in screen\n * coordinates.\n */\n scale: number;\n\n /**\n * Position expressed in points along X axis of center anchor point of\n * gesture.\n */\n focalX: number;\n\n /**\n * Position expressed in points along Y axis of center anchor point of\n * gesture.\n */\n focalY: number;\n\n /**\n *\n * Velocity of the pan gesture the current moment. The value is expressed in\n * point units per second.\n */\n velocity: number;\n};\n\nexport interface PinchGestureHandlerProps\n extends BaseGestureHandlerProps {}\n\nexport const pinchHandlerName = 'PinchGestureHandler';\n\nexport type PinchGestureHandler = typeof PinchGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const PinchGestureHandler = createHandler<\n PinchGestureHandlerProps,\n PinchGestureHandlerEventPayload\n>({\n name: pinchHandlerName,\n allowedProps: baseGestureHandlerProps,\n config: {},\n});\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport type RotationGestureHandlerEventPayload = {\n /**\n * Amount rotated, expressed in radians, from the gesture's focal point\n * (anchor).\n */\n rotation: number;\n\n /**\n * X coordinate, expressed in points, of the gesture's central focal point\n * (anchor).\n */\n anchorX: number;\n\n /**\n * Y coordinate, expressed in points, of the gesture's central focal point\n * (anchor).\n */\n anchorY: number;\n\n /**\n *\n * Instantaneous velocity, expressed in point units per second, of the\n * gesture.\n */\n velocity: number;\n};\n\nexport interface RotationGestureHandlerProps\n extends BaseGestureHandlerProps {}\n\nexport const rotationHandlerName = 'RotationGestureHandler';\n\nexport type RotationGestureHandler = typeof RotationGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const RotationGestureHandler = createHandler<\n RotationGestureHandlerProps,\n RotationGestureHandlerEventPayload\n>({\n name: rotationHandlerName,\n allowedProps: baseGestureHandlerProps,\n config: {},\n});\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const flingGestureHandlerProps = [\n 'numberOfPointers',\n 'direction',\n] as const;\n\nexport type FlingGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\nexport interface FlingGestureConfig {\n /**\n * Expressed allowed direction of movement. It's possible to pass one or many\n * directions in one parameter:\n *\n * ```js\n * direction={Directions.RIGHT | Directions.LEFT}\n * ```\n *\n * or\n *\n * ```js\n * direction={Directions.DOWN}\n * ```\n */\n direction?: number;\n\n /**\n * Determine exact number of points required to handle the fling gesture.\n */\n numberOfPointers?: number;\n}\n\nexport interface FlingGestureHandlerProps\n extends BaseGestureHandlerProps,\n FlingGestureConfig {}\n\nexport const flingHandlerName = 'FlingGestureHandler';\n\nexport type FlingGestureHandler = typeof FlingGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const FlingGestureHandler = createHandler<\n FlingGestureHandlerProps,\n FlingGestureHandlerEventPayload\n>({\n name: flingHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...flingGestureHandlerProps,\n ] as const,\n config: {},\n});\n","import * as React from 'react';\nimport { useImperativeHandle, useRef } from 'react';\n\nimport {\n NativeViewGestureHandler,\n NativeViewGestureHandlerProps,\n nativeViewProps,\n} from './NativeViewGestureHandler';\n\n/*\n * This array should consist of:\n * - All keys in propTypes from NativeGestureHandler\n * (and all keys in GestureHandlerPropTypes)\n * - 'onGestureHandlerEvent'\n * - 'onGestureHandlerStateChange'\n */\nconst NATIVE_WRAPPER_PROPS_FILTER = [\n ...nativeViewProps,\n 'onGestureHandlerEvent',\n 'onGestureHandlerStateChange',\n] as const;\n\nexport default function createNativeWrapper

(\n Component: React.ComponentType

,\n config: Readonly = {}\n) {\n const ComponentWrapper = React.forwardRef<\n React.ComponentType,\n P & NativeViewGestureHandlerProps\n >((props, ref) => {\n // filter out props that should be passed to gesture handler wrapper\n const gestureHandlerProps = Object.keys(props).reduce(\n (res, key) => {\n // TS being overly protective with it's types, see https://github.com/microsoft/TypeScript/issues/26255#issuecomment-458013731 for more info\n const allowedKeys: readonly string[] = NATIVE_WRAPPER_PROPS_FILTER;\n if (allowedKeys.includes(key)) {\n // @ts-ignore FIXME(TS)\n res[key] = props[key];\n }\n return res;\n },\n { ...config } // watch out not to modify config\n );\n const _ref = useRef>();\n const _gestureHandlerRef = useRef>();\n useImperativeHandle(\n ref,\n // @ts-ignore TODO(TS) decide how nulls work in this context\n () => {\n const node = _gestureHandlerRef.current;\n // add handlerTag for relations config\n if (_ref.current && node) {\n // @ts-ignore FIXME(TS) think about createHandler return type\n _ref.current.handlerTag = node.handlerTag;\n return _ref.current;\n }\n return null;\n },\n [_ref, _gestureHandlerRef]\n );\n return (\n \n \n \n );\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n ComponentWrapper.displayName =\n Component?.displayName ||\n // @ts-ignore if render doesn't exist it will return undefined and go further\n Component?.render?.name ||\n (typeof Component === 'string' && Component) ||\n 'ComponentWrapper';\n\n return ComponentWrapper;\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const nativeViewGestureHandlerProps = [\n 'shouldActivateOnStart',\n 'disallowInterruption',\n] as const;\n\nexport interface NativeViewGestureConfig {\n /**\n * Android only.\n *\n * Determines whether the handler should check for an existing touch event on\n * instantiation.\n */\n shouldActivateOnStart?: boolean;\n\n /**\n * When `true`, cancels all other gesture handlers when this\n * `NativeViewGestureHandler` receives an `ACTIVE` state event.\n */\n disallowInterruption?: boolean;\n}\n\nexport interface NativeViewGestureHandlerProps\n extends BaseGestureHandlerProps,\n NativeViewGestureConfig {}\n\nexport type NativeViewGestureHandlerPayload = {\n /**\n * True if gesture was performed inside of containing view, false otherwise.\n */\n pointerInside: boolean;\n};\n\nexport const nativeViewProps = [\n ...baseGestureHandlerProps,\n ...nativeViewGestureHandlerProps,\n] as const;\n\nexport const nativeViewHandlerName = 'NativeViewGestureHandler';\n\nexport type NativeViewGestureHandler = typeof NativeViewGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const NativeViewGestureHandler = createHandler<\n NativeViewGestureHandlerProps,\n NativeViewGestureHandlerPayload\n>({\n name: nativeViewHandlerName,\n allowedProps: nativeViewProps,\n config: {},\n});\n","import React, { useEffect, useRef } from 'react';\nimport {\n GestureType,\n HandlerCallbacks,\n BaseGesture,\n GestureRef,\n CALLBACK_TYPE,\n} from './gesture';\nimport { Reanimated, SharedValue } from './reanimatedWrapper';\nimport { registerHandler, unregisterHandler } from '../handlersRegistry';\nimport RNGestureHandlerModule from '../../RNGestureHandlerModule';\nimport {\n baseGestureHandlerWithMonitorProps,\n filterConfig,\n findNodeHandle,\n GestureTouchEvent,\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from '../gestureHandlerCommon';\nimport {\n GestureStateManager,\n GestureStateManagerType,\n} from './gestureStateManager';\nimport { flingGestureHandlerProps } from '../FlingGestureHandler';\nimport { forceTouchGestureHandlerProps } from '../ForceTouchGestureHandler';\nimport { longPressGestureHandlerProps } from '../LongPressGestureHandler';\nimport {\n panGestureHandlerProps,\n panGestureHandlerCustomNativeProps,\n} from '../PanGestureHandler';\nimport { tapGestureHandlerProps } from '../TapGestureHandler';\nimport { State } from '../../State';\nimport { EventType } from '../../EventType';\nimport { ComposedGesture } from './gestureComposition';\nimport { ActionType } from '../../ActionType';\nimport { isFabric, tagMessage } from '../../utils';\nimport { getShadowNodeFromRef } from '../../getShadowNodeFromRef';\n\ndeclare global {\n function isFormsStackingContext(node: unknown): boolean | null; // JSI function\n}\n\nconst ALLOWED_PROPS = [\n ...baseGestureHandlerWithMonitorProps,\n ...tapGestureHandlerProps,\n ...panGestureHandlerProps,\n ...panGestureHandlerCustomNativeProps,\n ...longPressGestureHandlerProps,\n ...forceTouchGestureHandlerProps,\n ...flingGestureHandlerProps,\n];\n\nexport type GestureConfigReference = {\n config: GestureType[];\n animatedEventHandler: unknown;\n animatedHandlers: SharedValue<\n HandlerCallbacks>[] | null\n > | null;\n firstExecution: boolean;\n useReanimatedHook: boolean;\n};\n\nfunction convertToHandlerTag(ref: GestureRef): number {\n if (typeof ref === 'number') {\n return ref;\n } else if (ref instanceof BaseGesture) {\n return ref.handlerTag;\n } else {\n // @ts-ignore in this case it should be a ref either to gesture object or\n // a gesture handler component, in both cases handlerTag property exists\n return ref.current?.handlerTag ?? -1;\n }\n}\n\nfunction extractValidHandlerTags(interactionGroup: GestureRef[] | undefined) {\n return (\n interactionGroup?.map(convertToHandlerTag)?.filter((tag) => tag > 0) ?? []\n );\n}\n\nfunction dropHandlers(preparedGesture: GestureConfigReference) {\n for (const handler of preparedGesture.config) {\n RNGestureHandlerModule.dropGestureHandler(handler.handlerTag);\n\n unregisterHandler(handler.handlerTag, handler.config.testId);\n }\n}\n\nfunction checkGestureCallbacksForWorklets(gesture: GestureType) {\n // if a gesture is explicitly marked to run on the JS thread there is no need to check\n // if callbacks are worklets as the user is aware they will be ran on the JS thread\n if (gesture.config.runOnJS) {\n return;\n }\n\n const areSomeNotWorklets = gesture.handlers.isWorklet.includes(false);\n const areSomeWorklets = gesture.handlers.isWorklet.includes(true);\n\n // if some of the callbacks are worklets and some are not, and the gesture is not\n // explicitly marked with `.runOnJS(true)` show an error\n if (areSomeNotWorklets && areSomeWorklets) {\n console.error(\n tagMessage(\n `Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread.`\n )\n );\n }\n}\n\ninterface AttachHandlersConfig {\n preparedGesture: GestureConfigReference;\n gestureConfig: ComposedGesture | GestureType | undefined;\n gesture: GestureType[];\n viewTag: number;\n}\n\nfunction attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n viewTag,\n}: AttachHandlersConfig) {\n if (!preparedGesture.firstExecution) {\n gestureConfig?.initialize();\n } else {\n preparedGesture.firstExecution = false;\n }\n\n // use setImmediate to extract handlerTags, because all refs should be initialized\n // when it's ran\n setImmediate(() => {\n gestureConfig?.prepare();\n });\n\n for (const handler of gesture) {\n checkGestureCallbacksForWorklets(handler);\n\n RNGestureHandlerModule.createGestureHandler(\n handler.handlerName,\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS)\n );\n\n registerHandler(handler.handlerTag, handler, handler.config.testId);\n\n // use setImmediate to extract handlerTags, because all refs should be initialized\n // when it's ran\n setImmediate(() => {\n let requireToFail: number[] = [];\n if (handler.config.requireToFail) {\n requireToFail = extractValidHandlerTags(handler.config.requireToFail);\n }\n\n let simultaneousWith: number[] = [];\n if (handler.config.simultaneousWith) {\n simultaneousWith = extractValidHandlerTags(\n handler.config.simultaneousWith\n );\n }\n\n RNGestureHandlerModule.updateGestureHandler(\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS, {\n simultaneousHandlers: simultaneousWith,\n waitFor: requireToFail,\n })\n );\n });\n }\n preparedGesture.config = gesture;\n\n for (const gesture of preparedGesture.config) {\n const actionType = gesture.shouldUseReanimated\n ? ActionType.REANIMATED_WORKLET\n : ActionType.JS_FUNCTION_NEW_API;\n\n RNGestureHandlerModule.attachGestureHandler(\n gesture.handlerTag,\n viewTag,\n actionType\n );\n }\n\n if (preparedGesture.animatedHandlers) {\n const isAnimatedGesture = (g: GestureType) => g.shouldUseReanimated;\n\n preparedGesture.animatedHandlers.value = (gesture\n .filter(isAnimatedGesture)\n .map((g) => g.handlers) as unknown) as HandlerCallbacks<\n Record\n >[];\n }\n}\n\nfunction updateHandlers(\n preparedGesture: GestureConfigReference,\n gestureConfig: ComposedGesture | GestureType | undefined,\n gesture: GestureType[]\n) {\n gestureConfig?.prepare();\n\n for (let i = 0; i < gesture.length; i++) {\n const handler = preparedGesture.config[i];\n checkGestureCallbacksForWorklets(handler);\n\n // only update handlerTag when it's actually different, it may be the same\n // if gesture config object is wrapped with useMemo\n if (gesture[i].handlerTag !== handler.handlerTag) {\n gesture[i].handlerTag = handler.handlerTag;\n gesture[i].handlers.handlerTag = handler.handlerTag;\n }\n }\n\n // use setImmediate to extract handlerTags, because when it's ran, all refs should be updated\n // and handlerTags in BaseGesture references should be updated in the loop above (we need to wait\n // in case of external relations)\n setImmediate(() => {\n for (let i = 0; i < gesture.length; i++) {\n const handler = preparedGesture.config[i];\n\n handler.config = gesture[i].config;\n handler.handlers = gesture[i].handlers;\n\n const requireToFail = extractValidHandlerTags(\n handler.config.requireToFail\n );\n\n const simultaneousWith = extractValidHandlerTags(\n handler.config.simultaneousWith\n );\n\n RNGestureHandlerModule.updateGestureHandler(\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS, {\n simultaneousHandlers: simultaneousWith,\n waitFor: requireToFail,\n })\n );\n\n registerHandler(handler.handlerTag, handler, handler.config.testId);\n }\n\n if (preparedGesture.animatedHandlers) {\n preparedGesture.animatedHandlers.value = (preparedGesture.config\n .filter((g) => g.shouldUseReanimated) // ignore gestures that shouldn't run on UI\n .map((g) => g.handlers) as unknown) as HandlerCallbacks<\n Record\n >[];\n }\n });\n}\n\nfunction needsToReattach(\n preparedGesture: GestureConfigReference,\n gesture: GestureType[]\n) {\n if (gesture.length !== preparedGesture.config.length) {\n return true;\n }\n for (let i = 0; i < gesture.length; i++) {\n if (\n gesture[i].handlerName !== preparedGesture.config[i].handlerName ||\n gesture[i].shouldUseReanimated !==\n preparedGesture.config[i].shouldUseReanimated\n ) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction useAnimatedGesture(\n preparedGesture: GestureConfigReference,\n needsRebuild: boolean\n) {\n if (!Reanimated) {\n return;\n }\n\n function isStateChangeEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n ): event is GestureStateChangeEvent {\n 'worklet';\n // @ts-ignore Yes, the oldState prop is missing on GestureTouchEvent, that's the point\n return event.oldState != null;\n }\n\n function isTouchEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n ): event is GestureTouchEvent {\n 'worklet';\n return event.eventType != null;\n }\n\n function getHandler(\n type: CALLBACK_TYPE,\n gesture: HandlerCallbacks>\n ) {\n 'worklet';\n switch (type) {\n case CALLBACK_TYPE.BEGAN:\n return gesture.onBegin;\n case CALLBACK_TYPE.START:\n return gesture.onStart;\n case CALLBACK_TYPE.UPDATE:\n return gesture.onUpdate;\n case CALLBACK_TYPE.CHANGE:\n return gesture.onChange;\n case CALLBACK_TYPE.END:\n return gesture.onEnd;\n case CALLBACK_TYPE.FINALIZE:\n return gesture.onFinalize;\n case CALLBACK_TYPE.TOUCHES_DOWN:\n return gesture.onTouchesDown;\n case CALLBACK_TYPE.TOUCHES_MOVE:\n return gesture.onTouchesMove;\n case CALLBACK_TYPE.TOUCHES_UP:\n return gesture.onTouchesUp;\n case CALLBACK_TYPE.TOUCHES_CANCELLED:\n return gesture.onTouchesCancelled;\n }\n }\n\n function touchEventTypeToCallbackType(eventType: EventType): CALLBACK_TYPE {\n 'worklet';\n switch (eventType) {\n case EventType.TOUCHES_DOWN:\n return CALLBACK_TYPE.TOUCHES_DOWN;\n case EventType.TOUCHES_MOVE:\n return CALLBACK_TYPE.TOUCHES_MOVE;\n case EventType.TOUCHES_UP:\n return CALLBACK_TYPE.TOUCHES_UP;\n case EventType.TOUCHES_CANCELLED:\n return CALLBACK_TYPE.TOUCHES_CANCELLED;\n }\n return CALLBACK_TYPE.UNDEFINED;\n }\n\n function runWorklet(\n type: CALLBACK_TYPE,\n gesture: HandlerCallbacks>,\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent,\n ...args: any[]\n ) {\n 'worklet';\n const handler = getHandler(type, gesture);\n if (gesture.isWorklet[type]) {\n // @ts-ignore Logic below makes sure the correct event is send to the\n // correct handler.\n handler?.(event, ...args);\n } else if (handler) {\n console.warn(tagMessage('Animated gesture callback must be a worklet'));\n }\n }\n\n // Hooks are called conditionally, but the condition is whether the\n // react-native-reanimated is installed, which shouldn't change while running\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const sharedHandlersCallbacks = Reanimated.useSharedValue<\n HandlerCallbacks>[] | null\n >(null);\n\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const lastUpdateEvent = Reanimated.useSharedValue<\n (GestureUpdateEvent | undefined)[]\n >([]);\n\n // not every gesture needs a state controller, init them lazily\n const stateControllers: GestureStateManagerType[] = [];\n\n const callback = (\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent\n ) => {\n 'worklet';\n\n const currentCallback = sharedHandlersCallbacks.value;\n if (!currentCallback) {\n return;\n }\n\n for (let i = 0; i < currentCallback.length; i++) {\n const gesture = currentCallback[i];\n\n if (event.handlerTag === gesture.handlerTag) {\n if (isStateChangeEvent(event)) {\n if (\n event.oldState === State.UNDETERMINED &&\n event.state === State.BEGAN\n ) {\n runWorklet(CALLBACK_TYPE.BEGAN, gesture, event);\n } else if (\n (event.oldState === State.BEGAN ||\n event.oldState === State.UNDETERMINED) &&\n event.state === State.ACTIVE\n ) {\n runWorklet(CALLBACK_TYPE.START, gesture, event);\n lastUpdateEvent.value[gesture.handlerTag] = undefined;\n } else if (\n event.oldState !== event.state &&\n event.state === State.END\n ) {\n if (event.oldState === State.ACTIVE) {\n runWorklet(CALLBACK_TYPE.END, gesture, event, true);\n }\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, true);\n } else if (\n (event.state === State.FAILED || event.state === State.CANCELLED) &&\n event.state !== event.oldState\n ) {\n if (event.oldState === State.ACTIVE) {\n runWorklet(CALLBACK_TYPE.END, gesture, event, false);\n }\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, false);\n }\n } else if (isTouchEvent(event)) {\n if (!stateControllers[i]) {\n stateControllers[i] = GestureStateManager.create(event.handlerTag);\n }\n\n if (event.eventType !== EventType.UNDETERMINED) {\n runWorklet(\n touchEventTypeToCallbackType(event.eventType),\n gesture,\n event,\n stateControllers[i]\n );\n }\n } else {\n runWorklet(CALLBACK_TYPE.UPDATE, gesture, event);\n\n if (gesture.onChange && gesture.changeEventCalculator) {\n runWorklet(\n CALLBACK_TYPE.CHANGE,\n gesture,\n gesture.changeEventCalculator?.(\n event,\n lastUpdateEvent.value[gesture.handlerTag]\n )\n );\n\n lastUpdateEvent.value[gesture.handlerTag] = event;\n }\n }\n }\n }\n };\n\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const event = Reanimated.useEvent(\n callback,\n ['onGestureHandlerStateChange', 'onGestureHandlerEvent'],\n needsRebuild\n );\n\n preparedGesture.animatedEventHandler = event;\n preparedGesture.animatedHandlers = sharedHandlersCallbacks;\n}\n\ninterface GestureDetectorProps {\n gesture?: ComposedGesture | GestureType;\n}\nexport const GestureDetector: React.FunctionComponent = (\n props\n) => {\n const gestureConfig = props.gesture;\n const gesture = gestureConfig?.toGestureArray?.() ?? [];\n const useReanimatedHook = gesture.some((g) => g.shouldUseReanimated);\n const viewRef = useRef(null);\n const firstRenderRef = useRef(true);\n\n const preparedGesture = React.useRef({\n config: gesture,\n animatedEventHandler: null,\n animatedHandlers: null,\n firstExecution: true,\n useReanimatedHook: useReanimatedHook,\n }).current;\n\n if (useReanimatedHook !== preparedGesture.useReanimatedHook) {\n throw new Error(\n tagMessage(\n 'You cannot change the thread the callbacks are ran on while the app is running'\n )\n );\n }\n\n // Reanimated event should be rebuilt only when gestures are reattached, otherwise\n // config update will be enough as all necessary items are stored in shared values anyway\n const needsToRebuildReanimatedEvent =\n preparedGesture.firstExecution || needsToReattach(preparedGesture, gesture);\n\n if (preparedGesture.firstExecution) {\n gestureConfig?.initialize?.();\n }\n\n if (useReanimatedHook) {\n // Whether animatedGesture or gesture is used shouldn't change while the app is running\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useAnimatedGesture(preparedGesture, needsToRebuildReanimatedEvent);\n }\n\n useEffect(() => {\n firstRenderRef.current = true;\n const viewTag = findNodeHandle(viewRef.current) as number;\n attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n viewTag,\n });\n\n return () => {\n dropHandlers(preparedGesture);\n };\n }, []);\n\n useEffect(() => {\n if (!firstRenderRef.current) {\n const viewTag = findNodeHandle(viewRef.current) as number;\n\n if (needsToReattach(preparedGesture, gesture)) {\n dropHandlers(preparedGesture);\n attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n viewTag,\n });\n } else {\n updateHandlers(preparedGesture, gestureConfig, gesture);\n }\n } else {\n firstRenderRef.current = false;\n }\n }, [props]);\n\n const refFunction = (ref: unknown) => {\n if (ref !== null) {\n //@ts-ignore Just setting the ref\n viewRef.current = ref;\n\n if (isFabric()) {\n const node = getShadowNodeFromRef(ref);\n if (global.isFormsStackingContext(node) === false) {\n setImmediate(() => {\n // For some weird reason, console.error on iOS delays\n // the execution of RNGestureHandlerModule.attachGestureHandler,\n // so that's why we use setImmediate here.\n console.error(\n tagMessage(\n 'GestureDetector has received a child that may get view-flattened. ' +\n '\\nTo prevent it from misbehaving you need to wrap the child with a ``.'\n )\n );\n });\n }\n }\n }\n };\n\n if (useReanimatedHook) {\n return (\n \n {props.children}\n \n );\n } else {\n return {props.children};\n }\n};\n\nclass Wrap extends React.Component<{ onGestureHandlerEvent?: unknown }> {\n render() {\n // I don't think that fighting with types over such a simple function is worth it\n // The only thing it does is add 'collapsable: false' to the child component\n // to make sure it is in the native view hierarchy so the detector can find\n // correct viewTag to attach to.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const child: any = React.Children.only(this.props.children);\n return React.cloneElement(\n child,\n { collapsable: false },\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n child.props.children\n );\n }\n}\n\nconst AnimatedWrap = Reanimated?.default?.createAnimatedComponent(Wrap) ?? Wrap;\n","import { FlingGestureHandlerEventPayload } from '../FlingGestureHandler';\nimport { ForceTouchGestureHandlerEventPayload } from '../ForceTouchGestureHandler';\nimport {\n HitSlop,\n CommonGestureConfig,\n GestureTouchEvent,\n GestureStateChangeEvent,\n GestureUpdateEvent,\n} from '../gestureHandlerCommon';\nimport { getNextHandlerTag } from '../handlersRegistry';\nimport { GestureStateManagerType } from './gestureStateManager';\nimport { LongPressGestureHandlerEventPayload } from '../LongPressGestureHandler';\nimport { PanGestureHandlerEventPayload } from '../PanGestureHandler';\nimport { PinchGestureHandlerEventPayload } from '../PinchGestureHandler';\nimport { RotationGestureHandlerEventPayload } from '../RotationGestureHandler';\nimport { TapGestureHandlerEventPayload } from '../TapGestureHandler';\nimport { NativeViewGestureHandlerPayload } from '../NativeViewGestureHandler';\n\nexport type GestureType =\n | BaseGesture>\n | BaseGesture>\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture;\n\nexport type GestureRef =\n | number\n | GestureType\n | React.RefObject\n | React.RefObject; // allow adding a ref to a gesture handler\nexport interface BaseGestureConfig\n extends CommonGestureConfig,\n Record {\n ref?: React.MutableRefObject;\n requireToFail?: GestureRef[];\n simultaneousWith?: GestureRef[];\n needsPointerData?: boolean;\n manualActivation?: boolean;\n runOnJS?: boolean;\n testId?: string;\n}\n\ntype TouchEventHandlerType = (\n event: GestureTouchEvent,\n stateManager: GestureStateManagerType\n) => void;\n\nexport type HandlerCallbacks> = {\n handlerTag: number;\n onBegin?: (event: GestureStateChangeEvent) => void;\n onStart?: (event: GestureStateChangeEvent) => void;\n onEnd?: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void;\n onFinalize?: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void;\n onUpdate?: (event: GestureUpdateEvent) => void;\n onChange?: (event: any) => void;\n onTouchesDown?: TouchEventHandlerType;\n onTouchesMove?: TouchEventHandlerType;\n onTouchesUp?: TouchEventHandlerType;\n onTouchesCancelled?: TouchEventHandlerType;\n changeEventCalculator?: (\n current: GestureUpdateEvent>,\n previous?: GestureUpdateEvent>\n ) => GestureUpdateEvent>;\n isWorklet: boolean[];\n};\n\nexport const CALLBACK_TYPE = {\n UNDEFINED: 0,\n BEGAN: 1,\n START: 2,\n UPDATE: 3,\n CHANGE: 4,\n END: 5,\n FINALIZE: 6,\n TOUCHES_DOWN: 7,\n TOUCHES_MOVE: 8,\n TOUCHES_UP: 9,\n TOUCHES_CANCELLED: 10,\n} as const;\n\n// Allow using CALLBACK_TYPE as object and type\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type CALLBACK_TYPE = typeof CALLBACK_TYPE[keyof typeof CALLBACK_TYPE];\n\nexport abstract class Gesture {\n /**\n * Return array of gestures, providing the same interface for creating and updating\n * handlers, no matter which object was used to create gesture instance.\n */\n abstract toGestureArray(): GestureType[];\n\n /**\n * Assign handlerTag to the gesture instance and set ref.current (if a ref is set)\n */\n abstract initialize(): void;\n\n /**\n * Make sure that values of properties defining relations are arrays. Do any necessary\n * preprocessing required to configure relations between handlers. Called just before\n * updating the handler on the native side.\n */\n abstract prepare(): void;\n}\n\nexport abstract class BaseGesture<\n EventPayloadT extends Record\n> extends Gesture {\n public handlerTag = -1;\n public handlerName = '';\n public config: BaseGestureConfig = {};\n public handlers: HandlerCallbacks = {\n handlerTag: -1,\n isWorklet: [],\n };\n\n private addDependency(\n key: 'simultaneousWith' | 'requireToFail',\n gesture: Exclude\n ) {\n const value = this.config[key];\n this.config[key] = value\n ? Array().concat(value, gesture)\n : [gesture];\n }\n\n withRef(ref: React.MutableRefObject) {\n this.config.ref = ref;\n return this;\n }\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n protected isWorklet(callback: Function) {\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n return callback.__workletHash !== undefined;\n }\n\n onBegin(callback: (event: GestureStateChangeEvent) => void) {\n this.handlers.onBegin = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.BEGAN] = this.isWorklet(callback);\n return this;\n }\n\n onStart(callback: (event: GestureStateChangeEvent) => void) {\n this.handlers.onStart = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.START] = this.isWorklet(callback);\n return this;\n }\n\n onEnd(\n callback: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void\n ) {\n this.handlers.onEnd = callback;\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n this.handlers.isWorklet[CALLBACK_TYPE.END] = this.isWorklet(callback);\n return this;\n }\n\n onFinalize(\n callback: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void\n ) {\n this.handlers.onFinalize = callback;\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n this.handlers.isWorklet[CALLBACK_TYPE.FINALIZE] = this.isWorklet(callback);\n return this;\n }\n\n onTouchesDown(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesDown = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_DOWN] = this.isWorklet(\n callback\n );\n\n return this;\n }\n\n onTouchesMove(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesMove = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_MOVE] = this.isWorklet(\n callback\n );\n\n return this;\n }\n\n onTouchesUp(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesUp = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_UP] = this.isWorklet(\n callback\n );\n\n return this;\n }\n\n onTouchesCancelled(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesCancelled = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_CANCELLED] = this.isWorklet(\n callback\n );\n\n return this;\n }\n\n enabled(enabled: boolean) {\n this.config.enabled = enabled;\n return this;\n }\n\n shouldCancelWhenOutside(value: boolean) {\n this.config.shouldCancelWhenOutside = value;\n return this;\n }\n\n hitSlop(hitSlop: HitSlop) {\n this.config.hitSlop = hitSlop;\n return this;\n }\n\n runOnJS(runOnJS: boolean) {\n this.config.runOnJS = runOnJS;\n return this;\n }\n\n simultaneousWithExternalGesture(...gestures: Exclude[]) {\n for (const gesture of gestures) {\n this.addDependency('simultaneousWith', gesture);\n }\n return this;\n }\n\n requireExternalGestureToFail(...gestures: Exclude[]) {\n for (const gesture of gestures) {\n this.addDependency('requireToFail', gesture);\n }\n return this;\n }\n\n withTestId(id: string) {\n this.config.testId = id;\n return this;\n }\n\n initialize() {\n this.handlerTag = getNextHandlerTag();\n\n this.handlers = { ...this.handlers, handlerTag: this.handlerTag };\n\n if (this.config.ref) {\n this.config.ref.current = this as GestureType;\n }\n }\n\n toGestureArray(): GestureType[] {\n return [this as GestureType];\n }\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n prepare() {}\n\n get shouldUseReanimated(): boolean {\n // use Reanimated when runOnJS isn't set explicitly and all defined callbacks are worklets\n return (\n this.config.runOnJS !== true && !this.handlers.isWorklet.includes(false)\n );\n }\n}\n\nexport abstract class ContinousBaseGesture<\n EventPayloadT extends Record,\n EventChangePayloadT extends Record\n> extends BaseGesture {\n onUpdate(callback: (event: GestureUpdateEvent) => void) {\n this.handlers.onUpdate = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.UPDATE] = this.isWorklet(callback);\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent\n ) => void\n ) {\n this.handlers.onChange = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.CHANGE] = this.isWorklet(callback);\n return this;\n }\n\n manualActivation(manualActivation: boolean) {\n this.config.manualActivation = manualActivation;\n return this;\n }\n}\n","import { ComponentClass } from 'react';\nimport {\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from '../gestureHandlerCommon';\nimport { tagMessage } from '../../utils';\n\nexport interface SharedValue {\n value: T;\n}\n\nlet Reanimated: {\n default: {\n // Slightly modified definition copied from 'react-native-reanimated'\n // eslint-disable-next-line @typescript-eslint/ban-types\n createAnimatedComponent

(\n component: ComponentClass

,\n options?: unknown\n ): ComponentClass

;\n };\n useEvent: (\n callback: (event: GestureUpdateEvent | GestureStateChangeEvent) => void,\n events: string[],\n rebuild: boolean\n ) => unknown;\n useSharedValue: (value: T) => SharedValue;\n setGestureState: (handlerTag: number, newState: number) => void;\n};\n\ntry {\n Reanimated = require('react-native-reanimated');\n\n if (!Reanimated.setGestureState) {\n Reanimated.setGestureState = () => {\n 'worklet';\n console.warn(\n tagMessage(\n 'Please use newer version of react-native-reanimated in order to control state of the gestures.'\n )\n );\n };\n }\n // When 'react-native-reanimated' is not available we want to\n // quietly continue\n // eslint-disable-next-line no-empty\n} catch (e) {}\n\nexport { Reanimated };\n","import { LogBox } from 'react-native';\nimport createAnimatedComponent from './createAnimatedComponent';\nimport {\n addWhitelistedNativeProps,\n addWhitelistedUIProps,\n} from './ConfigHelper';\nimport * as reanimated1 from './reanimated1';\nimport ReanimatedComponents from './reanimated2/component';\n\nconst Animated = {\n // components\n ...ReanimatedComponents,\n createAnimatedComponent,\n // configuration\n addWhitelistedNativeProps,\n addWhitelistedUIProps,\n // reanimated 1\n ...reanimated1,\n};\n\nexport * from './reanimated2';\nexport * from './reanimated1';\nexport default Animated;\n\n// I think we can ignore this message as long as Gesture Handler doesn't\n// try to load the Reanimated module. I figured it should be here instead of\n// RNGH because this prevents the message from being displayed for all\n// versions of RNGH.\nLogBox.ignoreLogs([\n 'RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks',\n]);\n","import React, { Component, ComponentType, MutableRefObject, Ref } from 'react';\nimport { findNodeHandle, Platform, StyleSheet } from 'react-native';\nimport ReanimatedEventEmitter from './ReanimatedEventEmitter';\n\n// @ts-ignore JS file\nimport AnimatedEvent from './reanimated1/core/AnimatedEvent';\n// @ts-ignore JS file\nimport AnimatedNode from './reanimated1/core/AnimatedNode';\n// @ts-ignore JS file\nimport AnimatedValue from './reanimated1/core/AnimatedValue';\n// @ts-ignore JS file\nimport { createOrReusePropsNode } from './reanimated1/core/AnimatedProps';\nimport WorkletEventHandler from './reanimated2/WorkletEventHandler';\nimport setAndForwardRef from './setAndForwardRef';\nimport './reanimated2/layoutReanimation/LayoutAnimationRepository';\n\nimport invariant from 'invariant';\nimport { adaptViewConfig } from './ConfigHelper';\nimport { RNRenderer } from './reanimated2/platform-specific/RNRenderer';\nimport {\n makeMutable,\n runOnUI,\n enableLayoutAnimations,\n} from './reanimated2/core';\nimport {\n DefaultEntering,\n DefaultExiting,\n DefaultLayout,\n} from './reanimated2/layoutReanimation/defaultAnimations/Default';\nimport {\n isJest,\n isChromeDebugger,\n shouldBeUseWeb,\n} from './reanimated2/PlatformChecker';\nimport { initialUpdaterRun } from './reanimated2/animation';\nimport {\n BaseAnimationBuilder,\n EntryExitAnimationFunction,\n ILayoutAnimationBuilder,\n} from './reanimated2/layoutReanimation';\nimport { SharedValue, StyleProps } from './reanimated2/commonTypes';\nimport {\n ViewDescriptorsSet,\n ViewRefSet,\n} from './reanimated2/ViewDescriptorsSet';\n\nconst NODE_MAPPING = new Map();\n\ninterface ListenerData {\n viewTag: number;\n props: StyleProps;\n}\n\nfunction listener(data: ListenerData) {\n const component = NODE_MAPPING.get(data.viewTag);\n component && component._updateFromNative(data.props);\n}\n\nfunction dummyListener() {\n // empty listener we use to assign to listener properties for which animated\n // event is used.\n}\n\nfunction hasAnimatedNodes(value: unknown): boolean {\n if (value instanceof AnimatedNode) {\n return true;\n }\n if (Array.isArray(value)) {\n return value.some((item) => hasAnimatedNodes(item));\n }\n if (value && typeof value === 'object') {\n return Object.keys(value).some((key) =>\n hasAnimatedNodes((value as Record)[key])\n );\n }\n return false;\n}\n\ntype NestedArray = T | NestedArray[];\nfunction flattenArray(array: NestedArray): T[] {\n if (!Array.isArray(array)) {\n return [array];\n }\n const resultArr: T[] = [];\n\n const _flattenArray = (arr: NestedArray[]): void => {\n arr.forEach((item) => {\n if (Array.isArray(item)) {\n _flattenArray(item);\n } else {\n resultArr.push(item);\n }\n });\n };\n _flattenArray(array);\n return resultArr;\n}\n\nfunction onlyAnimatedStyles(styles: StyleProps[]) {\n return styles.filter((style) => style?.viewDescriptors);\n}\n\nfunction isSameAnimatedStyle(\n style1?: StyleProps,\n style2?: StyleProps\n): boolean {\n // We cannot use equality check to compare useAnimatedStyle outputs directly.\n // Instead, we can compare its viewsRefs.\n return style1?.viewsRef === style2?.viewsRef;\n}\n\nconst isSameAnimatedProps = isSameAnimatedStyle;\n\nconst has = (\n key: K,\n x: unknown\n): x is { [key in K]: unknown } => {\n if (typeof x === 'function' || typeof x === 'object') {\n if (x === null || x === undefined) {\n return false;\n } else {\n return key in x;\n }\n }\n return false;\n};\n\ninterface AnimatedProps extends Record {\n viewDescriptors?: ViewDescriptorsSet;\n viewsRef?: ViewRefSet;\n initial?: SharedValue;\n}\n\nexport type AnimatedComponentProps

> = P & {\n forwardedRef?: Ref;\n style?: NestedArray;\n animatedProps?: Partial>;\n animatedStyle?: StyleProps;\n layout?:\n | BaseAnimationBuilder\n | ILayoutAnimationBuilder\n | typeof BaseAnimationBuilder;\n entering?:\n | BaseAnimationBuilder\n | typeof BaseAnimationBuilder\n | EntryExitAnimationFunction\n | Keyframe;\n exiting?:\n | BaseAnimationBuilder\n | typeof BaseAnimationBuilder\n | EntryExitAnimationFunction\n | Keyframe;\n};\n\ntype Options

= {\n setNativeProps: (ref: ComponentRef, props: P) => void;\n};\n\ninterface ComponentRef extends Component {\n setNativeProps?: (props: Record) => void;\n getScrollableNode?: () => ComponentRef;\n}\n\ninterface InitialComponentProps extends Record {\n ref?: Ref;\n collapsable?: boolean;\n}\n\ninterface PropsAnimated {\n __onEvaluate: () => StyleProps;\n __detach: () => void;\n __getValue: () => StyleProps;\n update: () => void;\n setNativeView: (view: Component) => void;\n}\n\nexport default function createAnimatedComponent(\n Component: ComponentType,\n options?: Options\n): ComponentType> {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.'\n );\n\n class AnimatedComponent extends React.Component<\n AnimatedComponentProps\n > {\n _invokeAnimatedPropsCallbackOnMount = false;\n _styles: StyleProps[] | null = null;\n _animatedProps?: Partial>;\n _viewTag = -1;\n _isFirstRender = true;\n animatedStyle: { value: StyleProps } = { value: {} };\n sv: SharedValue> | null;\n _propsAnimated?: PropsAnimated;\n _component: ComponentRef | null = null;\n static displayName: string;\n\n constructor(props: AnimatedComponentProps) {\n super(props);\n this._attachProps(this.props);\n if (isJest()) {\n this.animatedStyle = { value: {} };\n }\n this.sv = makeMutable({});\n }\n\n componentWillUnmount() {\n this._detachPropUpdater();\n this._propsAnimated && this._propsAnimated.__detach();\n this._detachNativeEvents();\n this._detachStyles();\n this.sv = null;\n }\n\n componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n this._animatedPropsCallback();\n }\n\n this._propsAnimated &&\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this._propsAnimated.setNativeView(this._component!);\n this._attachNativeEvents();\n this._attachPropUpdater();\n this._attachAnimatedStyles();\n }\n\n _getEventViewRef() {\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n return this._component?.getScrollableNode\n ? this._component.getScrollableNode()\n : this._component;\n }\n\n _attachNativeEvents() {\n const node = this._getEventViewRef();\n const viewTag = findNodeHandle(options?.setNativeProps ? this : node);\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n (prop as AnimatedEvent).attachEvent(node, key);\n } else if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n prop.current.registerForEvents(viewTag as number, key);\n }\n }\n }\n\n _detachNativeEvents() {\n const node = this._getEventViewRef();\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n (prop as AnimatedEvent).detachEvent(node, key);\n } else if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n prop.current.unregisterFromEvents();\n }\n }\n }\n\n _detachStyles() {\n if (Platform.OS === 'web' && this._styles !== null) {\n for (const style of this._styles) {\n if (style?.viewsRef) {\n style.viewsRef.remove(this);\n }\n }\n } else if (this._viewTag !== -1 && this._styles !== null) {\n for (const style of this._styles) {\n style.viewDescriptors.remove(this._viewTag);\n }\n if (this.props.animatedProps?.viewDescriptors) {\n this.props.animatedProps.viewDescriptors.remove(this._viewTag);\n }\n }\n }\n\n _reattachNativeEvents(\n prevProps: AnimatedComponentProps\n ) {\n const node = this._getEventViewRef();\n const attached = new Set();\n const nextEvts = new Set();\n let viewTag: number | undefined;\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n nextEvts.add((prop as AnimatedEvent).__nodeID);\n } else if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n if (viewTag === undefined) {\n viewTag = prop.current.viewTag;\n }\n }\n }\n for (const key in prevProps) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent) {\n if (!nextEvts.has((prop as AnimatedEvent).__nodeID)) {\n // event was in prev props but not in current props, we detach\n (prop as AnimatedEvent).detachEvent(node, key);\n } else {\n // event was in prev and is still in current props\n attached.add((prop as AnimatedEvent).__nodeID);\n }\n } else if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler &&\n prop.current.reattachNeeded\n ) {\n prop.current.unregisterFromEvents();\n }\n }\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (\n prop instanceof AnimatedEvent &&\n !attached.has((prop as AnimatedEvent).__nodeID)\n ) {\n // not yet attached\n (prop as AnimatedEvent).attachEvent(node, key);\n } else if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler &&\n prop.current.reattachNeeded\n ) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n prop.current.registerForEvents(viewTag!, key);\n prop.current.reattachNeeded = false;\n }\n }\n }\n\n // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on native components\n // If you want to animate a composite component, you need to re-render it.\n // In this case, we have a fallback that uses forceUpdate.\n _animatedPropsCallback = () => {\n if (this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (typeof this._component.setNativeProps !== 'function') {\n this.forceUpdate();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this._component.setNativeProps(this._propsAnimated!.__getValue());\n }\n };\n\n _attachProps(nextProps: StyleProps) {\n const oldPropsAnimated = this._propsAnimated;\n\n this._propsAnimated = createOrReusePropsNode(\n nextProps,\n this._animatedPropsCallback,\n oldPropsAnimated\n );\n // If prop node has been reused we don't need to call into \"__detach\"\n if (oldPropsAnimated !== this._propsAnimated) {\n // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n oldPropsAnimated && oldPropsAnimated.__detach();\n }\n }\n\n _updateFromNative(props: StyleProps) {\n if (options?.setNativeProps) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n options.setNativeProps(this._component!, props);\n } else {\n // eslint-disable-next-line no-unused-expressions\n this._component?.setNativeProps?.(props);\n }\n }\n\n _attachPropUpdater() {\n const viewTag = findNodeHandle(this);\n NODE_MAPPING.set(viewTag, this);\n if (NODE_MAPPING.size === 1) {\n ReanimatedEventEmitter.addListener('onReanimatedPropsChange', listener);\n }\n }\n\n _attachAnimatedStyles() {\n const styles = this.props.style\n ? onlyAnimatedStyles(flattenArray(this.props.style))\n : [];\n const prevStyles = this._styles;\n this._styles = styles;\n\n const prevAnimatedProps = this._animatedProps;\n this._animatedProps = this.props.animatedProps;\n\n let viewTag: number | null;\n let viewName: string | null;\n if (Platform.OS === 'web') {\n viewTag = findNodeHandle(this);\n viewName = null;\n } else {\n // hostInstance can be null for a component that doesn't render anything (render function returns null). Example: svg Stop: https://github.com/react-native-svg/react-native-svg/blob/develop/src/elements/Stop.tsx\n const hostInstance = RNRenderer.findHostInstance_DEPRECATED(this);\n if (!hostInstance) {\n throw new Error(\n 'Cannot find host instance for this component. Maybe it renders nothing?'\n );\n }\n // we can access view tag in the same way it's accessed here https://github.com/facebook/react/blob/e3f4eb7272d4ca0ee49f27577156b57eeb07cf73/packages/react-native-renderer/src/ReactFabric.js#L146\n viewTag = hostInstance?._nativeTag;\n /**\n * RN uses viewConfig for components for storing different properties of the component(example: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollView/ScrollViewViewConfig.js#L16).\n * The name we're looking for is in the field named uiViewClassName.\n */\n viewName = hostInstance?.viewConfig?.uiViewClassName;\n // update UI props whitelist for this view\n const hasReanimated2Props =\n this.props.animatedProps?.viewDescriptors || styles.length;\n if (hasReanimated2Props && hostInstance?.viewConfig) {\n adaptViewConfig(hostInstance.viewConfig);\n }\n }\n this._viewTag = viewTag as number;\n\n // remove old styles\n if (prevStyles) {\n // in most of the cases, views have only a single animated style and it remains unchanged\n const hasOneSameStyle =\n styles.length === 1 &&\n prevStyles.length === 1 &&\n isSameAnimatedStyle(styles[0], prevStyles[0]);\n\n if (!hasOneSameStyle) {\n // otherwise, remove each style that is not present in new styles\n for (const prevStyle of prevStyles) {\n const isPresent = styles.some((style) =>\n isSameAnimatedStyle(style, prevStyle)\n );\n if (!isPresent) {\n prevStyle.viewDescriptors.remove(viewTag);\n }\n }\n }\n }\n\n styles.forEach((style) => {\n style.viewDescriptors.add({ tag: viewTag, name: viewName });\n if (isJest()) {\n /**\n * We need to connect Jest's TestObject instance whose contains just props object\n * with the updateProps() function where we update the properties of the component.\n * We can't update props object directly because TestObject contains a copy of props - look at render function:\n * const props = this._filterNonAnimatedProps(this.props);\n */\n this.animatedStyle.value = {\n ...this.animatedStyle.value,\n ...style.initial.value,\n };\n style.animatedStyle.current = this.animatedStyle;\n }\n });\n\n // detach old animatedProps\n if (\n prevAnimatedProps &&\n !isSameAnimatedProps(prevAnimatedProps, this.props.animatedProps)\n ) {\n prevAnimatedProps.viewDescriptors!.remove(viewTag as number);\n }\n\n // attach animatedProps property\n if (this.props.animatedProps?.viewDescriptors) {\n this.props.animatedProps.viewDescriptors.add({\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n tag: viewTag!,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n name: viewName!,\n });\n }\n }\n\n _detachPropUpdater() {\n const viewTag = findNodeHandle(this);\n NODE_MAPPING.delete(viewTag);\n if (NODE_MAPPING.size === 0) {\n ReanimatedEventEmitter.removeAllListeners('onReanimatedPropsChange');\n }\n }\n\n componentDidUpdate(\n prevProps: AnimatedComponentProps\n ) {\n this._attachProps(this.props);\n this._reattachNativeEvents(prevProps);\n\n this._propsAnimated &&\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this._propsAnimated.setNativeView(this._component!);\n this._attachAnimatedStyles();\n }\n\n _setComponentRef = setAndForwardRef({\n getForwardedRef: () =>\n this.props.forwardedRef as MutableRefObject<\n Component, Record, unknown>\n >,\n setLocalRef: (ref) => {\n // TODO update config\n const tag = findNodeHandle(ref);\n if (\n (this.props.layout || this.props.entering || this.props.exiting) &&\n tag != null\n ) {\n if (!shouldBeUseWeb()) {\n enableLayoutAnimations(true, false);\n }\n let layout = this.props.layout ? this.props.layout : DefaultLayout;\n let entering = this.props.entering\n ? this.props.entering\n : DefaultEntering;\n let exiting = this.props.exiting\n ? this.props.exiting\n : DefaultExiting;\n\n if (has('build', layout)) {\n layout = layout.build();\n }\n\n if (has('build', entering)) {\n entering = entering.build() as EntryExitAnimationFunction;\n }\n\n if (has('build', exiting)) {\n exiting = exiting.build() as EntryExitAnimationFunction;\n }\n\n const config = {\n layout,\n entering,\n exiting,\n sv: this.sv,\n };\n runOnUI(() => {\n 'worklet';\n global.LayoutAnimationRepository.registerConfig(tag, config);\n })();\n }\n\n if (ref !== this._component) {\n this._component = ref;\n }\n },\n });\n\n _filterNonAnimatedStyle(inputStyle: StyleProps) {\n const style: StyleProps = {};\n for (const key in inputStyle) {\n const value = inputStyle[key];\n if (!hasAnimatedNodes(value)) {\n style[key] = value;\n } else if (value instanceof AnimatedValue) {\n // if any style in animated component is set directly to the `Value` we set those styles to the first value of `Value` node in order\n // to avoid flash of default styles when `Value` is being asynchrounously sent via bridge and initialized in the native side.\n style[key] = value._startingValue;\n }\n }\n return style;\n }\n\n _filterNonAnimatedProps(\n inputProps: AnimatedComponentProps\n ): Record {\n const props: Record = {};\n for (const key in inputProps) {\n const value = inputProps[key];\n if (key === 'style') {\n const styleProp = inputProps.style;\n const styles = flattenArray(styleProp ?? []);\n const processedStyle: StyleProps = styles.map((style) => {\n if (style && style.viewDescriptors) {\n // this is how we recognize styles returned by useAnimatedStyle\n style.viewsRef.add(this);\n if (this._isFirstRender) {\n return {\n ...style.initial.value,\n ...initialUpdaterRun(style.initial.updater),\n };\n } else {\n return style.initial.value;\n }\n } else {\n return style;\n }\n });\n props[key] = this._filterNonAnimatedStyle(\n StyleSheet.flatten(processedStyle)\n );\n } else if (key === 'animatedProps') {\n const animatedProp = inputProps.animatedProps as Partial<\n AnimatedComponentProps\n >;\n if (animatedProp.initial !== undefined) {\n Object.keys(animatedProp.initial.value).forEach((key) => {\n props[key] = animatedProp.initial?.value[key];\n animatedProp.viewsRef?.add(this);\n });\n }\n } else if (value instanceof AnimatedEvent) {\n // we cannot filter out event listeners completely as some components\n // rely on having a callback registered in order to generate events\n // alltogether. Therefore we provide a dummy callback here to allow\n // native event dispatcher to hijack events.\n props[key] = dummyListener;\n } else if (\n has('current', value) &&\n value.current instanceof WorkletEventHandler\n ) {\n if (value.current.eventNames.length > 0) {\n value.current.eventNames.forEach((eventName) => {\n props[eventName] = has('listeners', value.current)\n ? (value.current.listeners as Record)[\n eventName\n ]\n : dummyListener;\n });\n } else {\n props[key] = dummyListener;\n }\n } else if (!(value instanceof AnimatedNode)) {\n if (key !== 'onGestureHandlerStateChange' || !isChromeDebugger()) {\n props[key] = value;\n }\n } else if (value instanceof AnimatedValue) {\n // if any prop in animated component is set directly to the `Value` we set those props to the first value of `Value` node in order\n // to avoid default values for a short moment when `Value` is being asynchrounously sent via bridge and initialized in the native side.\n props[key] = (value as AnimatedValue)._startingValue;\n }\n }\n return props;\n }\n\n render() {\n const props = this._filterNonAnimatedProps(this.props);\n if (isJest()) {\n props.animatedStyle = this.animatedStyle;\n }\n\n if (this._isFirstRender) {\n this._isFirstRender = false;\n }\n\n const platformProps = Platform.select({\n web: {},\n default: { collapsable: false },\n });\n return (\n \n );\n }\n }\n\n AnimatedComponent.displayName = `AnimatedComponent(${\n Component.displayName || Component.name || 'Component'\n })`;\n\n return React.forwardRef((props, ref) => {\n return (\n \n );\n });\n}\n","import ReanimatedModule from './ReanimatedModule';\nimport { NativeEventEmitter } from 'react-native';\n\nexport default new NativeEventEmitter(ReanimatedModule);\n","import { NativeModules } from 'react-native';\nimport ReanimatedModuleCompat from './ReanimatedModuleCompat';\nimport { nativeShouldBeMock } from './reanimated2/PlatformChecker';\n\nlet exportedModule;\nif (nativeShouldBeMock()) {\n exportedModule = ReanimatedModuleCompat;\n} else {\n const { ReanimatedModule } = NativeModules;\n exportedModule = ReanimatedModule;\n}\n\nexport default exportedModule;\n","export default {\n async disconnectNodeFromView(): Promise {\n // noop\n },\n async attachEvent(\n _viewTag: number,\n _eventName: string,\n _nodeID: number\n ): Promise {\n // noop\n },\n async detachEvent(\n _viewTag: number,\n _eventName: string,\n _nodeID: number\n ): Promise {\n // noop\n },\n async createNode(\n _nodeID: number,\n _config: Record\n ): Promise {\n // noop\n },\n async dropNode(_nodeID: number): Promise {\n // noop\n },\n async configureProps(\n _nativeProps: string[],\n _uiProps: string[]\n ): Promise {\n // noop\n },\n async disconnectNodes(): Promise {\n // noop\n },\n async addListener(): Promise {\n // noop\n },\n async removeListeners(): Promise {\n // noop\n },\n async removeAllListeners(): Promise {\n // noop\n },\n async animateNextTransition(): Promise {\n console.warn(\n 'Reanimated: animateNextTransition is unimplemented on current platform'\n );\n },\n};\n","import { Platform } from 'react-native';\n\nexport function isJest(): boolean {\n return !!process.env.JEST_WORKER_ID;\n}\n\nexport function isChromeDebugger(): boolean {\n return !(global as any).nativeCallSyncHook || (global as any).__REMOTEDEV__;\n}\n\nexport function isWeb(): boolean {\n return Platform.OS === 'web';\n}\n\nexport function shouldBeUseWeb() {\n return isJest() || isChromeDebugger() || isWeb();\n}\n\nexport function nativeShouldBeMock() {\n return isJest() || isChromeDebugger();\n}\n","import { Platform, findNodeHandle } from 'react-native';\nimport ReanimatedModule from '../../ReanimatedModule';\n\nimport AnimatedNode from './AnimatedNode';\nimport InternalAnimatedValue from './AnimatedValue';\nimport { createAnimatedAlways } from './AnimatedAlways';\n\nimport invariant from 'invariant';\nimport createEventObjectProxyPolyfill from './createEventObjectProxyPolyfill';\n\nfunction sanitizeArgMapping(argMapping) {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n const eventMappings = [];\n const alwaysNodes = [];\n\n const getNode = (node) => {\n if (\n Platform.OS === 'web' ||\n Platform.OS === 'windows' ||\n Platform.OS === 'macos'\n ) {\n return node;\n }\n return node.__nodeID;\n };\n\n const traverse = (value, path) => {\n if (value instanceof InternalAnimatedValue) {\n eventMappings.push(path.concat(getNode(value)));\n } else if (typeof value === 'object' && value.__val) {\n eventMappings.push(path.concat(getNode(value.__val)));\n } else if (typeof value === 'function') {\n const node = new InternalAnimatedValue(0);\n alwaysNodes.push(createAnimatedAlways(value(node)));\n eventMappings.push(path.concat(getNode(node)));\n } else if (typeof value === 'object') {\n for (const key in value) {\n traverse(value[key], path.concat(key));\n }\n }\n };\n\n invariant(\n argMapping[0] && argMapping[0].nativeEvent,\n 'Native driven events only support animated values contained inside `nativeEvent`.'\n );\n\n // Assume that the event containing `nativeEvent` is always the first argument.\n const ev = argMapping[0].nativeEvent;\n if (typeof ev === 'object') {\n traverse(ev, []);\n } else if (typeof ev === 'function') {\n const proxyHandler = {\n get: function (target, name) {\n if (name === '__isProxy') {\n return true;\n }\n if (!target[name] && name !== '__val') {\n target[name] = new Proxy({}, proxyHandler);\n }\n return target[name];\n },\n set: function (target, prop, value) {\n if (prop === '__val') {\n target[prop] = value;\n return true;\n }\n return false;\n },\n };\n\n const proxy =\n typeof Proxy === 'function'\n ? new Proxy({}, proxyHandler)\n : createEventObjectProxyPolyfill();\n alwaysNodes.push(createAnimatedAlways(ev(proxy)));\n traverse(proxy, []);\n }\n\n return { eventMappings, alwaysNodes };\n}\n\nexport default class AnimatedEvent extends AnimatedNode {\n constructor(argMapping, _config = {}) {\n const { eventMappings, alwaysNodes } = sanitizeArgMapping(argMapping);\n super({ type: 'event', argMapping: eventMappings });\n this._alwaysNodes = alwaysNodes;\n }\n\n toString() {\n return `AnimatedEvent, id: ${this.__nodeID}`;\n }\n\n // The below field is a temporary workaround to make AnimatedEvent object be recognized\n // as Animated.event event callback and therefore filtered out from being send over the\n // bridge which was causing the object to be frozen in JS.\n __isNative = true;\n\n attachEvent(viewRef, eventName) {\n for (let i = 0; i < this._alwaysNodes.length; i++) {\n this._alwaysNodes[i].__attach();\n }\n this.__attach();\n const viewTag = findNodeHandle(viewRef);\n ReanimatedModule.attachEvent(viewTag, eventName, this.__nodeID);\n }\n\n __onEvaluate() {\n return 0;\n }\n\n detachEvent(viewRef, eventName) {\n for (let i = 0; i < this._alwaysNodes.length; i++) {\n this._alwaysNodes[i].isNativelyInitialized() &&\n this._alwaysNodes[i].__detach();\n }\n const viewTag = findNodeHandle(viewRef);\n ReanimatedModule.detachEvent(viewTag, eventName, this.__nodeID);\n this.__detach();\n }\n}\n\nexport function createAnimatedEvent(argMapping, config) {\n return new AnimatedEvent(argMapping, config);\n}\n","import ReanimatedModule from '../../ReanimatedModule';\nimport { Platform } from 'react-native';\n\nconst UPDATED_NODES = [];\n\nlet loopID = 1;\nlet propUpdatesEnqueued = null;\nlet nodeCount = 0;\nlet callID = '';\n\nexport function getCallID() {\n return callID;\n}\n\nexport function setCallID(nextCallID) {\n callID = nextCallID;\n}\n\nfunction sanitizeConfig(config) {\n if (\n Platform.OS === 'web' ||\n Platform.OS === 'windows' ||\n Platform.OS === 'macos' ||\n ['undefined', 'string', 'function', 'boolean', 'number'].includes(\n typeof config\n )\n ) {\n return config;\n } else if (Array.isArray(config)) {\n return config.map(sanitizeConfig);\n } else if (config instanceof AnimatedNode) {\n return config.__nodeID;\n } else if (typeof config === 'object') {\n const output = {};\n for (const property in config) {\n if (property in config) {\n output[property] = sanitizeConfig(config[property]);\n }\n }\n return output;\n }\n // unhandled\n return config;\n}\n\nfunction runPropUpdates() {\n const visitedNodes = new Set();\n const findAndUpdateNodes = (node) => {\n if (!node) {\n console.warn('findAndUpdateNodes was passed a nullish node');\n return;\n }\n\n if (visitedNodes.has(node)) {\n return;\n } else {\n visitedNodes.add(node);\n }\n if (typeof node.update === 'function') {\n node.update();\n } else {\n const nodes = node.__getChildren();\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n findAndUpdateNodes(nodes[i]);\n }\n }\n }\n };\n for (let i = 0; i < UPDATED_NODES.length; i++) {\n const node = UPDATED_NODES[i];\n findAndUpdateNodes(node);\n }\n UPDATED_NODES.length = 0; // clear array\n propUpdatesEnqueued = null;\n loopID += 1;\n}\n\nconst scheduleUpdates =\n Platform.OS === 'web' ? requestAnimationFrame : setImmediate;\n\nexport default class AnimatedNode {\n __nodeID;\n __lastLoopID = { '': -1 };\n __memoizedValue = { '': null };\n __children = [];\n\n constructor(nodeConfig, inputNodes) {\n this.__nodeID = ++nodeCount;\n this.__nodeConfig = sanitizeConfig(nodeConfig);\n this.__initialized = false;\n this.__inputNodes =\n inputNodes && inputNodes.filter((node) => node instanceof AnimatedNode);\n }\n\n toString() {\n return `AnimatedNode, id: ${this.__nodeID}`;\n }\n\n __attach() {\n this.__nativeInitialize();\n\n const nodes = this.__inputNodes;\n\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n nodes[i].__addChild(this);\n }\n }\n }\n\n __detach() {\n const nodes = this.__inputNodes;\n\n if (nodes) {\n for (let i = 0, l = nodes.length; i < l; i++) {\n nodes[i].__removeChild(this);\n }\n }\n\n this.__nativeTearDown();\n }\n\n __getValue() {\n if (!(callID in this.__lastLoopID) || this.__lastLoopID[callID] < loopID) {\n this.__lastLoopID[callID] = loopID;\n const result = this.__onEvaluate();\n this.__memoizedValue[callID] = result;\n return result;\n }\n return this.__memoizedValue[callID];\n }\n\n __forceUpdateCache(newValue) {\n this.__memoizedValue[callID] = newValue;\n this.__markUpdated();\n }\n\n __dangerouslyRescheduleEvaluate() {\n this.__lastLoopID[callID] = -1;\n this.__markUpdated();\n }\n\n __markUpdated() {\n UPDATED_NODES.push(this);\n if (!propUpdatesEnqueued) {\n propUpdatesEnqueued = scheduleUpdates(runPropUpdates);\n }\n }\n\n __nativeInitialize() {\n if (!this.__initialized) {\n ReanimatedModule.createNode(this.__nodeID, { ...this.__nodeConfig });\n this.__initialized = true;\n }\n }\n\n __nativeTearDown() {\n if (this.__initialized) {\n ReanimatedModule.dropNode(this.__nodeID);\n this.__initialized = false;\n }\n }\n\n isNativelyInitialized() {\n return this.__initialized;\n }\n\n __onEvaluate() {\n throw new Error('Missing implementation of onEvaluate');\n }\n\n __getProps() {\n return this.__getValue();\n }\n\n __getChildren() {\n return this.__children;\n }\n\n __addChild(child) {\n if (this.__children.length === 0) {\n this.__attach();\n }\n this.__children.push(child);\n child.__nativeInitialize();\n\n if (ReanimatedModule.connectNodes) {\n ReanimatedModule.connectNodes(this.__nodeID, child.__nodeID);\n } else {\n child.__dangerouslyRescheduleEvaluate();\n }\n }\n\n __removeChild(child) {\n const index = this.__children.indexOf(child);\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n\n if (ReanimatedModule.disconnectNodes) {\n ReanimatedModule.disconnectNodes(this.__nodeID, child.__nodeID);\n }\n\n this.__children.splice(index, 1);\n if (this.__children.length === 0) {\n this.__detach();\n }\n }\n\n _connectAnimatedView(nativeViewTag) {\n if (ReanimatedModule.connectNodeToView) {\n ReanimatedModule.connectNodeToView(this.__nodeID, nativeViewTag);\n } else {\n this.__dangerouslyRescheduleEvaluate();\n }\n }\n\n _disconnectAnimatedView(nativeViewTag) {\n ReanimatedModule.disconnectNodeFromView(this.__nodeID, nativeViewTag);\n }\n}\n","import { createAnimatedSet as set } from '../core/AnimatedSet';\nimport interpolate from '../derived/interpolate';\nimport InternalAnimatedValue from './InternalAnimatedValue';\nimport { Platform } from 'react-native';\nimport { evaluateOnce } from '../derived/evaluateOnce';\nimport ReanimatedModule from '../../ReanimatedModule';\nimport { val } from '../val';\n\n// Animated value wrapped with extra methods for omit cycle of dependencies\nexport default class AnimatedValue extends InternalAnimatedValue {\n setValue(value) {\n this.__detachAnimation(this._animation);\n if (\n Platform.OS === 'web' ||\n Platform.OS === 'windows' ||\n Platform.OS === 'macos'\n ) {\n this._updateValue(val(value));\n } else {\n if (ReanimatedModule.setValue && typeof value === 'number') {\n // FIXME Remove it after some time\n // For OTA-safety\n // FIXME handle setting value with a node\n ReanimatedModule.setValue(this.__nodeID, value);\n } else {\n evaluateOnce(set(this, value), this);\n }\n }\n }\n\n toString() {\n return `AnimatedValue, id: ${this.__nodeID}`;\n }\n\n interpolate(config) {\n return interpolate(this, config);\n }\n}\n","import AnimatedNode from './AnimatedNode';\nimport invariant from 'invariant';\nimport { val } from '../val';\nimport { adapt } from '../core/AnimatedBlock';\n\nclass AnimatedSet extends AnimatedNode {\n _what;\n _value;\n\n constructor(what, value) {\n invariant(\n what instanceof AnimatedNode,\n `Reanimated: Animated.set first argument should be of type AnimatedNode but got ${what}`\n );\n invariant(\n value instanceof AnimatedNode,\n `Reanimated: Animated.set second argument should be of type AnimatedNode, String or Number but got ${value}`\n );\n super({ type: 'set', what, value }, [value]);\n invariant(!what._constant, 'Value to be set cannot be constant');\n this._what = what;\n this._value = value;\n }\n\n toString() {\n return `AnimatedSet, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n const newValue = val(this._value);\n this._what.setValue(newValue);\n return newValue;\n }\n}\n\nexport function createAnimatedSet(what, value) {\n return new AnimatedSet(what, adapt(value));\n}\n","export function val(v) {\n return v && v.__getValue ? v.__getValue() : v || 0;\n}\n","import invariant from 'invariant';\nimport { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\nimport InternalAnimatedValue from './InternalAnimatedValue';\n\nclass AnimatedBlock extends AnimatedNode {\n _array;\n\n constructor(array) {\n invariant(\n array.every((el) => el instanceof AnimatedNode),\n `Reanimated: Animated.block node argument should be an array with elements of type AnimatedNode. One or more of them are not AnimatedNodes`\n );\n super({ type: 'block', block: array }, array);\n this._array = array;\n }\n\n toString() {\n return `AnimatedBlock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n let result;\n this._array.forEach((node) => {\n result = val(node);\n });\n return result;\n }\n}\n\nexport function createAnimatedBlock(items) {\n return adapt(items);\n}\n\nfunction nodify(v) {\n if (typeof v === 'object' && v?.__isProxy) {\n if (!v.__val) {\n v.__val = new InternalAnimatedValue(0);\n }\n return v.__val;\n }\n // TODO: cache some typical static values (e.g. 0, 1, -1)\n return v instanceof AnimatedNode\n ? v\n : InternalAnimatedValue.valueForConstant(v);\n}\n\nexport function adapt(v) {\n return Array.isArray(v)\n ? new AnimatedBlock(v.map((node) => adapt(node)))\n : nodify(v);\n}\n","import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\nimport ReanimatedModule from '../../ReanimatedModule';\nimport invariant from 'invariant';\n\nfunction sanitizeValue(value) {\n return value === null || value === undefined || typeof value === 'string'\n ? value\n : Number(value);\n}\n\nconst CONSTANT_VALUES = new Map();\n\nfunction initializeConstantValues() {\n if (CONSTANT_VALUES.size !== 0) {\n return;\n }\n [0, -1, 1, -2, 2].forEach((v) =>\n CONSTANT_VALUES.set(v, new InternalAnimatedValue(v, true))\n );\n}\n\n/**\n * This class has been made internal in order to omit dependencies' cycles which\n * were caused by imperative setValue and interpolate – they are currently exposed with AnimatedValue.js\n */\nexport default class InternalAnimatedValue extends AnimatedNode {\n static valueForConstant(number) {\n initializeConstantValues();\n return (\n CONSTANT_VALUES.get(number) || new InternalAnimatedValue(number, true)\n );\n }\n\n constructor(value, constant = false) {\n invariant(value !== null, 'Animated.Value cannot be set to the null');\n super({ type: 'value', value: sanitizeValue(value) });\n this._startingValue = this._value = value;\n this._animation = null;\n this._constant = constant;\n }\n\n __detach() {\n if (!this._constant) {\n if (ReanimatedModule.getValue) {\n ReanimatedModule.getValue(\n this.__nodeID,\n (val) => (this.__nodeConfig.value = val)\n );\n } else {\n this.__nodeConfig.value = this.__getValue();\n }\n }\n this.__detachAnimation(this._animation);\n super.__detach();\n }\n\n __detachAnimation(animation) {\n animation && animation.__detach();\n if (this._animation === animation) {\n this._animation = null;\n }\n }\n\n __attachAnimation(animation) {\n this.__detachAnimation(this._animation);\n this._animation = animation;\n }\n\n __onEvaluate() {\n if (this.__inputNodes && this.__inputNodes.length) {\n this.__inputNodes.forEach(val);\n }\n return this._value;\n }\n\n // AnimatedValue will override this method to modify the value of a native node.\n setValue(value) {\n this.__detachAnimation(this._animation);\n this._updateValue(value);\n }\n\n _updateValue(value) {\n this._value = value;\n this.__forceUpdateCache(value);\n }\n}\n","import {\n lessThan,\n multiply,\n sub,\n add,\n divide,\n greaterThan,\n lessOrEq,\n eq,\n} from '../operators';\nimport invariant from 'invariant';\n\nimport AnimatedNode from '../core/AnimatedNode';\nimport { createAnimatedCond as cond } from '../core/AnimatedCond';\nimport { createAnimatedFunction as proc } from '../core/AnimatedFunction';\n\nconst interpolateInternalSingleProc = proc(function (\n value,\n inS,\n inE,\n outS,\n outE\n) {\n const progress = divide(sub(value, inS), sub(inE, inS));\n // logic below was made in order to provide a compatibility witn an Animated API\n const resultForNonZeroRange = add(outS, multiply(progress, sub(outE, outS)));\n const result = cond(\n eq(inS, inE),\n cond(lessOrEq(value, inS), outS, outE),\n resultForNonZeroRange\n );\n return result;\n});\n\nfunction interpolateInternalSingle(value, inputRange, outputRange, offset) {\n const inS = inputRange[offset];\n const inE = inputRange[offset + 1];\n const outS = outputRange[offset];\n const outE = outputRange[offset + 1];\n return interpolateInternalSingleProc(value, inS, inE, outS, outE);\n}\n\nfunction interpolateInternal(value, inputRange, outputRange, offset = 0) {\n if (inputRange.length - offset === 2) {\n return interpolateInternalSingle(value, inputRange, outputRange, offset);\n }\n return cond(\n lessThan(value, inputRange[offset + 1]),\n interpolateInternalSingle(value, inputRange, outputRange, offset),\n interpolateInternal(value, inputRange, outputRange, offset + 1)\n );\n}\n\nexport const Extrapolate = {\n EXTEND: 'extend',\n CLAMP: 'clamp',\n IDENTITY: 'identity',\n};\n\nfunction checkNonDecreasing(name, arr) {\n for (let i = 1; i < arr.length; ++i) {\n // We can't validate animated nodes in JS.\n if (arr[i] instanceof AnimatedNode || arr[i - 1] instanceof AnimatedNode)\n continue;\n invariant(\n arr[i] >= arr[i - 1],\n '%s must be monotonically non-decreasing. (%s)',\n name,\n arr\n );\n }\n}\n\nfunction checkMinElements(name, arr) {\n invariant(\n arr.length >= 2,\n '%s must have at least 2 elements. (%s)',\n name,\n arr\n );\n}\n\nfunction checkValidNumbers(name, arr) {\n for (let i = 0; i < arr.length; i++) {\n // We can't validate animated nodes in JS.\n if (arr[i] instanceof AnimatedNode || typeof arr[i] !== 'number') continue;\n invariant(\n Number.isFinite(arr[i]),\n '%s cannot include %s. (%s)',\n name,\n arr[i],\n arr\n );\n }\n}\n\nfunction convertToRadians(outputRange) {\n for (const [i, value] of outputRange.entries()) {\n if (typeof value === 'string' && value.endsWith('deg')) {\n outputRange[i] = parseFloat(value) * (Math.PI / 180);\n } else if (typeof value === 'string' && value.endsWith('rad')) {\n outputRange[i] = parseFloat(value);\n }\n }\n}\n\nexport default function interpolate(value, config) {\n const {\n inputRange,\n outputRange,\n extrapolate = Extrapolate.EXTEND,\n extrapolateLeft,\n extrapolateRight,\n } = config;\n\n checkMinElements('inputRange', inputRange);\n checkValidNumbers('inputRange', inputRange);\n checkMinElements('outputRange', outputRange);\n checkValidNumbers('outputRange', outputRange);\n checkNonDecreasing('inputRange', inputRange);\n invariant(\n inputRange.length === outputRange.length,\n 'inputRange and outputRange must be the same length.'\n );\n\n convertToRadians(outputRange);\n const left = extrapolateLeft || extrapolate;\n const right = extrapolateRight || extrapolate;\n let output = interpolateInternal(value, inputRange, outputRange);\n\n if (left === Extrapolate.EXTEND) {\n } else if (left === Extrapolate.CLAMP) {\n output = cond(lessThan(value, inputRange[0]), outputRange[0], output);\n } else if (left === Extrapolate.IDENTITY) {\n output = cond(lessThan(value, inputRange[0]), value, output);\n }\n\n if (right === Extrapolate.EXTEND) {\n } else if (right === Extrapolate.CLAMP) {\n output = cond(\n greaterThan(value, inputRange[inputRange.length - 1]),\n outputRange[outputRange.length - 1],\n output\n );\n } else if (right === Extrapolate.IDENTITY) {\n output = cond(\n greaterThan(value, inputRange[inputRange.length - 1]),\n value,\n output\n );\n }\n\n return output;\n}\n","import { createAnimatedOperator } from './core/AnimatedOperator';\n\nconst operator = createAnimatedOperator;\n\nexport const add = operator('add');\nexport const sub = operator('sub');\nexport const multiply = operator('multiply');\nexport const divide = operator('divide');\nexport const pow = operator('pow');\nexport const modulo = operator('modulo');\nexport const sqrt = operator('sqrt');\nexport const log = operator('log');\nexport const sin = operator('sin');\nexport const cos = operator('cos');\nexport const exp = operator('exp');\nexport const round = operator('round');\nexport const lessThan = operator('lessThan');\nexport const eq = operator('eq');\nexport const greaterThan = operator('greaterThan');\nexport const lessOrEq = operator('lessOrEq');\nexport const greaterOrEq = operator('greaterOrEq');\nexport const neq = operator('neq');\nexport const and = operator('and');\nexport const or = operator('or');\nexport const defined = operator('defined');\nexport const not = operator('not');\nexport const tan = operator('tan');\nexport const acos = operator('acos');\nexport const asin = operator('asin');\nexport const atan = operator('atan');\nexport const abs = operator('abs');\nexport const ceil = operator('ceil');\nexport const floor = operator('floor');\nexport const max = operator('max');\nexport const min = operator('min');\n","import AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nimport invariant from 'invariant';\nimport { adapt } from '../core/AnimatedBlock';\n\nfunction reduce(fn) {\n return (input) => input.reduce((a, b) => fn(val(a), val(b)));\n}\n\nfunction reduceFrom(fn, initialValue) {\n return (input) => input.reduce((a, b) => fn(val(a), val(b)), initialValue);\n}\n\nfunction infix(fn) {\n return (input) => fn(val(input[0]), val(input[1]));\n}\n\nfunction single(fn) {\n return (input) => fn(val(input[0]));\n}\n\nconst OPERATIONS = {\n // arithmetic\n add: reduce((a, b) => a + b),\n sub: reduce((a, b) => a - b),\n multiply: reduce((a, b) => a * b),\n divide: reduce((a, b) => a / b),\n pow: reduce((a, b) => Math.pow(a, b)),\n modulo: reduce((a, b) => ((a % b) + b) % b),\n sqrt: single((a) => Math.sqrt(a)),\n log: single((a) => Math.log(a)),\n sin: single((a) => Math.sin(a)),\n cos: single((a) => Math.cos(a)),\n tan: single((a) => Math.tan(a)),\n acos: single((a) => Math.acos(a)),\n asin: single((a) => Math.asin(a)),\n atan: single((a) => Math.atan(a)),\n exp: single((a) => Math.exp(a)),\n round: single((a) => Math.round(a)),\n abs: single((a) => Math.abs(a)),\n ceil: single((a) => Math.ceil(a)),\n floor: single((a) => Math.floor(a)),\n max: reduce((a, b) => Math.max(a, b)),\n min: reduce((a, b) => Math.min(a, b)),\n\n // logical\n and: reduceFrom((a, b) => a && b, true),\n or: reduceFrom((a, b) => a || b, false),\n not: single((a) => !a),\n defined: single((a) => a !== null && a !== undefined && !isNaN(a)),\n\n // comparing\n lessThan: infix((a, b) => a < b),\n /* eslint-disable-next-line eqeqeq */\n eq: infix((a, b) => a == b),\n greaterThan: infix((a, b) => a > b),\n lessOrEq: infix((a, b) => a <= b),\n greaterOrEq: infix((a, b) => a >= b),\n /* eslint-disable-next-line eqeqeq */\n neq: infix((a, b) => a != b),\n};\n\nclass AnimatedOperator extends AnimatedNode {\n _input;\n _op;\n _operation;\n\n constructor(operator, input) {\n invariant(\n typeof operator === 'string',\n `Reanimated: Animated.operator node first argument should be of type String, but got: ${operator}`\n );\n invariant(\n input.every(\n (el) =>\n el instanceof AnimatedNode ||\n typeof el === 'string' ||\n typeof el === 'number'\n ),\n `Reanimated: Animated.operator node second argument should be one or more of type AnimatedNode, String or Number but got ${input}`\n );\n super({ type: 'op', op: operator, input }, input);\n this._op = operator;\n this._input = input;\n }\n\n toString() {\n return `AnimatedOperator, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n if (!this._operation) {\n this._operation = OPERATIONS[this._op];\n invariant(this._operation, `Illegal operator '%s'`, this._op);\n }\n return this._operation(this._input);\n }\n}\n\nexport function createAnimatedOperator(name) {\n return (...args) => new AnimatedOperator(name, args.map(adapt));\n}\n","import invariant from 'invariant';\nimport { adapt } from '../core/AnimatedBlock';\nimport { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\n\nclass AnimatedCond extends AnimatedNode {\n _condition;\n _ifBlock;\n _elseBlock;\n\n constructor(condition, ifBlock, elseBlock) {\n invariant(\n condition instanceof AnimatedNode,\n `Reanimated: Animated.cond node first argument should be of type AnimatedNode but got ${condition}`\n );\n invariant(\n ifBlock instanceof AnimatedNode,\n `Reanimated: Animated.cond node second argument should be of type AnimatedNode but got ${ifBlock}`\n );\n invariant(\n elseBlock instanceof AnimatedNode || elseBlock === undefined,\n `Reanimated: Animated.cond node third argument should be of type AnimatedNode or should be undefined but got ${elseBlock}`\n );\n super(\n {\n type: 'cond',\n cond: condition,\n ifBlock,\n elseBlock,\n },\n [condition, ifBlock, elseBlock]\n );\n this._condition = condition;\n this._ifBlock = ifBlock;\n this._elseBlock = elseBlock;\n }\n\n toString() {\n return `AnimatedCond, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n if (val(this._condition)) {\n return val(this._ifBlock);\n } else {\n return this._elseBlock !== undefined ? val(this._elseBlock) : undefined;\n }\n }\n}\n\nexport function createAnimatedCond(cond, ifBlock, elseBlock) {\n return new AnimatedCond(\n adapt(cond),\n adapt(ifBlock),\n elseBlock === undefined ? undefined : adapt(elseBlock)\n );\n}\n","import AnimatedNode from './AnimatedNode';\nimport { createAnimatedCallFunc } from './AnimatedCallFunc';\nimport { createAnimatedParam } from './AnimatedParam';\nimport { val } from '../val';\nimport invariant from 'invariant';\n\nclass AnimatedFunction extends AnimatedNode {\n _what;\n\n constructor(what, ...params) {\n invariant(\n what instanceof AnimatedNode,\n `Reanimated: AnimatedCallFunc 'what' argument should be of type AnimatedNode but got ${what}`\n );\n super(\n {\n type: 'func',\n what,\n },\n [what, ...params]\n );\n this._what = what;\n this.__attach();\n }\n\n __onEvaluate() {\n return val(this._what);\n }\n\n toString() {\n return `AnimatedFunction, id: ${this.__nodeID}`;\n }\n}\n\nexport function createAnimatedFunction(cb) {\n const params = new Array(cb.length);\n for (let i = 0; i < params.length; i++) {\n params[i] = createAnimatedParam();\n }\n // eslint-disable-next-line standard/no-callback-literal\n const what = cb(...params);\n const func = new AnimatedFunction(what, ...params);\n return (...args) => {\n if (args.length !== params.length) {\n throw new Error(\n 'Parameter mismatch when calling reanimated function. Expected ' +\n params.length +\n ' parameters, got ' +\n args.length +\n '.'\n );\n }\n return createAnimatedCallFunc(func, args, params);\n };\n}\n","import AnimatedNode, { getCallID, setCallID } from './AnimatedNode';\nimport { adapt } from './AnimatedBlock';\nimport { val } from '../val';\nimport invariant from 'invariant';\n\nclass AnimatedCallFunc extends AnimatedNode {\n _previousCallID;\n _what;\n _args;\n _params;\n constructor(what, args, params) {\n invariant(\n what instanceof AnimatedNode,\n `Reanimated: AnimatedCallFunc 'what' argument should be of type AnimatedNode but got ${what}`\n );\n invariant(\n args.every((el) => el instanceof AnimatedNode),\n `Reanimated: every AnimatedCallFunc 'args' argument should be of type AnimatedNode but got ${args}`\n );\n invariant(\n params.every((el) => el instanceof AnimatedNode),\n `Reanimated: every AnimatedCallFunc 'params' argument should be of type AnimatedNode but got ${params}`\n );\n super(\n {\n type: 'callfunc',\n what,\n args,\n params,\n },\n [...args]\n );\n this._what = what;\n this._args = args;\n this._params = params;\n }\n\n toString() {\n return `AnimatedCallFunc, id: ${this.__nodeID}`;\n }\n\n beginContext() {\n this._previousCallID = getCallID();\n setCallID(getCallID() + '/' + this.__nodeID);\n\n this._params.forEach((param, index) => {\n param.beginContext(this._args[index], this._previousCallID);\n });\n }\n\n endContext() {\n this._params.forEach((param) => {\n param.endContext();\n });\n setCallID(this._previousCallID);\n }\n\n __onEvaluate() {\n this.beginContext();\n const value = val(this._what);\n this.endContext();\n return value;\n }\n}\n\nexport function createAnimatedCallFunc(proc, args, params) {\n return new AnimatedCallFunc(\n proc,\n args.map((p) => adapt(p)),\n params\n );\n}\n","import invariant from 'invariant';\nimport AnimatedNode, { getCallID, setCallID } from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport { val } from '../val';\n\nexport class AnimatedParam extends AnimatedNode {\n argsStack = [];\n _prevCallID;\n\n constructor() {\n super({ type: 'param' }, []);\n this.__attach();\n }\n\n beginContext(ref, prevCallID) {\n this._prevCallID = prevCallID;\n this.argsStack.push(ref);\n }\n\n endContext() {\n this.argsStack.pop();\n }\n\n _getTopNode() {\n if (this.argsStack.length === 0)\n throw new Error(`param: Invocation failed because argsStack is empty`);\n const top = this.argsStack[this.argsStack.length - 1];\n return top;\n }\n\n setValue(value) {\n const top = this._getTopNode();\n if (top.setValue) {\n const callID = getCallID();\n setCallID(this._prevCallID);\n top.setValue(value);\n setCallID(callID);\n } else {\n throw new Error(\n `param: setValue(${value}) failed because the top element has no known method for updating it's current value.`\n );\n }\n }\n\n __onEvaluate() {\n const callID = getCallID();\n setCallID(this._prevCallID);\n const top = this._getTopNode();\n const value = val(top);\n setCallID(callID);\n return value;\n }\n\n start() {\n const node = this._getTopNode();\n invariant(\n node instanceof AnimatedClock || node instanceof AnimatedParam,\n `param: top node should be of type AnimatedClock but got ${node}`\n );\n node.start();\n }\n\n stop() {\n const node = this._getTopNode();\n invariant(\n node instanceof AnimatedClock || node instanceof AnimatedParam,\n `param: top node should be of type AnimatedClock but got ${node}`\n );\n node.stop();\n }\n\n isRunning() {\n const node = this._getTopNode();\n\n if (node instanceof AnimatedParam) {\n return node.isRunning();\n }\n invariant(\n node instanceof AnimatedClock,\n `param: top node should be of type AnimatedClock but got ${node}`\n );\n return node.isStarted();\n }\n}\n\nexport function createAnimatedParam() {\n return new AnimatedParam();\n}\n","import InternalAnimatedValue from './InternalAnimatedValue';\nimport AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedMainClock extends InternalAnimatedValue {\n _frameCallback;\n\n constructor() {\n super({ type: 'MAIN_CLOCK' });\n }\n\n __onEvaluate() {\n return +new Date();\n }\n\n _runFrame = () => {\n this._updateValue(0);\n if (this.__children.length > 0) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n };\n\n __attach() {\n super.__attach();\n if (!this._frameCallback) {\n this._frameCallback = requestAnimationFrame(this._runFrame);\n }\n }\n\n __detach() {\n if (this._frameCallback) {\n cancelAnimationFrame(this._frameCallback);\n this._frameCallback = null;\n }\n super.__detach();\n }\n}\n\nconst mainClock = new AnimatedMainClock();\n\nexport default class AnimatedClock extends AnimatedNode {\n _started;\n _attached;\n\n constructor() {\n super({ type: 'clock' });\n }\n\n toString() {\n return `AnimatedClock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return val(mainClock);\n }\n\n __attach() {\n super.__attach();\n if (this._started && !this._attached) {\n mainClock.__addChild(this);\n }\n this._attached = true;\n }\n\n __detach() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._attached = false;\n super.__detach();\n }\n\n start() {\n if (!this._started && this._attached) {\n mainClock.__addChild(this);\n }\n this._started = true;\n }\n\n stop() {\n if (this._started && this._attached) {\n mainClock.__removeChild(this);\n }\n this._started = false;\n }\n\n isStarted() {\n return this._started;\n }\n}\n","import AnimatedValue from '../core/InternalAnimatedValue';\nimport { createAnimatedSet as set } from '../core/AnimatedSet';\nimport { createAnimatedCall as call } from '../core/AnimatedCall';\nimport { createAnimatedAlways as always } from '../core/AnimatedAlways';\nimport { createAnimatedCond as cond } from '../core/AnimatedCond';\n\n/**\n * evaluate given node and notify children\n * @param node - node to be evaluated\n * @param input - nodes (or one node) representing values which states input for node.\n * @param callback - after callback\n */\n\nexport function evaluateOnce(node, input = [], callback) {\n if (!Array.isArray(input)) {\n input = [input];\n }\n const done = new AnimatedValue(0);\n const evalNode = cond(\n done,\n 0,\n call([node, set(done, 1)], () => {\n callback && callback();\n for (let i = 0; i < input.length; i++) {\n input[i].__removeChild(alwaysNode);\n alwaysNode.__detach();\n }\n })\n );\n const alwaysNode = always(evalNode);\n for (let i = 0; i < input.length; i++) {\n input[i].__addChild(alwaysNode);\n alwaysNode.__attach();\n }\n}\n","import invariant from 'invariant';\nimport ReanimatedEventEmitter from '../../ReanimatedEventEmitter';\nimport { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\n\nconst NODE_MAPPING = new Map();\n\nfunction listener(data) {\n const node = NODE_MAPPING.get(data.id);\n node && node._callback(data.args);\n}\n\nclass AnimatedCall extends AnimatedNode {\n _callback;\n _args;\n\n constructor(args, jsFunction) {\n invariant(\n args.every((el) => el instanceof AnimatedNode),\n `Reanimated: Animated.call node args should be an array with elements of type AnimatedNode. One or more of them are not AnimatedNodes`\n );\n super({ type: 'call', input: args }, args);\n this._callback = jsFunction;\n this._args = args;\n }\n\n toString() {\n return `AnimatedCall, id: ${this.__nodeID}`;\n }\n\n __attach() {\n super.__attach();\n NODE_MAPPING.set(this.__nodeID, this);\n if (NODE_MAPPING.size === 1) {\n ReanimatedEventEmitter.addListener('onReanimatedCall', listener);\n }\n }\n\n __detach() {\n NODE_MAPPING.delete(this.__nodeID);\n if (NODE_MAPPING.size === 0) {\n ReanimatedEventEmitter.removeAllListeners('onReanimatedCall');\n }\n super.__detach();\n }\n\n __onEvaluate() {\n this._callback(this._args.map(val));\n return 0;\n }\n}\n\nexport function createAnimatedCall(args, func) {\n return new AnimatedCall(args, func);\n}\n","import AnimatedNode from './AnimatedNode';\nimport invariant from 'invariant';\nimport { val } from '../val';\n\nclass AnimatedAlways extends AnimatedNode {\n _what;\n\n constructor(what) {\n invariant(\n what instanceof AnimatedNode,\n `Reanimated: Animated.always node argument should be of type AnimatedNode but got ${what}`\n );\n super({ type: 'always', what }, [what]);\n this._what = what;\n }\n\n toString() {\n return `AnimatedAlways, id: ${this.__nodeID}`;\n }\n\n update() {\n this.__getValue();\n }\n\n __onEvaluate() {\n val(this._what);\n return 0;\n }\n}\n\nexport function createAnimatedAlways(item) {\n return new AnimatedAlways(item);\n}\n","// JSC on Android and iOS 8 & 9 does not support proxies.\n// The below workaround provides a proxy-like functionality for event data by\n// creating an object which contains predefined fields for the most commonly\n// used event attributes. If your app uses even attribute which is not listed\n// here please submit a PR to add that and we will merge it right away\nexport default function createEventObjectProxyPolyfill() {\n const nodesMap = {\n // Gesture handlers-related event\n translationX: {},\n translationY: {},\n state: {},\n oldState: {},\n absoluteX: {},\n absoluteY: {},\n x: {},\n y: {},\n velocityX: {},\n velocityY: {},\n scale: {},\n focalX: {},\n focalY: {},\n rotation: {},\n anchorX: {},\n anchorY: {},\n velocity: {},\n numberOfPointers: {},\n // onLayour-related event\n layout: { x: {}, y: {}, width: {}, height: {} },\n // ScrollView event\n contentOffset: { y: {}, x: {} },\n layoutMeasurement: { width: {}, height: {} },\n contentSize: { width: {}, height: {} },\n zoomScale: {},\n contentInset: { right: {}, top: {}, left: {}, bottom: {} },\n };\n const traverse = (obj) => {\n for (const key in obj) {\n traverse(obj[key]);\n Object.assign(obj[key], { __isProxy: true });\n }\n };\n traverse(nodesMap);\n return nodesMap;\n}\n","import { findNodeHandle } from 'react-native';\n\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedEvent from './AnimatedEvent';\nimport { createOrReuseStyleNode } from './AnimatedStyle';\n\nimport invariant from 'invariant';\nimport deepEqual from 'lodash.isequal';\nimport { val } from '../val';\n\nfunction sanitizeProps(inputProps) {\n let props;\n for (const key in inputProps) {\n const value = inputProps[key];\n if (value instanceof AnimatedNode && !(value instanceof AnimatedEvent)) {\n if (props === undefined) {\n props = {};\n }\n props[key] = value.__nodeID;\n }\n }\n return props;\n}\n\nexport function createOrReusePropsNode(props, callback, oldNode) {\n if (props.style) {\n const style = createOrReuseStyleNode(\n props.style,\n oldNode && oldNode._props.style\n );\n if (style) {\n props = {\n ...props,\n style,\n };\n }\n }\n const config = sanitizeProps(props);\n if (config === undefined) {\n return undefined;\n }\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedProps(props, config, callback);\n}\n\nclass AnimatedProps extends AnimatedNode {\n constructor(props, config, callback) {\n super(\n { type: 'props', props: config },\n Object.values(props).filter((n) => !(n instanceof AnimatedEvent))\n );\n this._config = config;\n this._props = props;\n this._callback = callback;\n this.__attach();\n }\n\n toString() {\n return `AnimatedProps, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n const props = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getValue();\n }\n }\n return props;\n }\n\n __detach() {\n const nativeViewTag = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree'\n );\n this._disconnectAnimatedView(nativeViewTag);\n super.__detach();\n }\n\n update() {\n this._callback();\n\n if (!this._animatedView) {\n return;\n }\n\n val(this);\n }\n\n setNativeView(animatedView) {\n if (this._animatedView === animatedView) {\n return;\n }\n this._animatedView = animatedView;\n\n const nativeViewTag = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree'\n );\n this._connectAnimatedView(nativeViewTag);\n }\n}\n","import { StyleSheet } from 'react-native';\n\nimport AnimatedNode from './AnimatedNode';\nimport { createOrReuseTransformNode } from './AnimatedTransform';\n\nimport deepEqual from 'lodash.isequal';\n\nfunction sanitizeStyle(inputStyle) {\n let style;\n for (const key in inputStyle) {\n const value = inputStyle[key];\n if (value instanceof AnimatedNode) {\n if (style === undefined) {\n style = {};\n }\n style[key] = value.__nodeID;\n }\n }\n return style;\n}\n\nexport function createOrReuseStyleNode(style, oldNode) {\n style = StyleSheet.flatten(style) || {};\n if (style.transform) {\n const transform = createOrReuseTransformNode(\n style.transform,\n oldNode && oldNode._style.transform\n );\n if (transform) {\n style = {\n ...style,\n transform,\n };\n }\n }\n const config = sanitizeStyle(style);\n if (config === undefined) {\n return undefined;\n }\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedStyle(style, config);\n}\n\n/**\n * AnimatedStyle should never be directly instantiated, use createOrReuseStyleNode\n * in order to make a new instance of this node.\n */\nexport default class AnimatedStyle extends AnimatedNode {\n constructor(style, config) {\n super({ type: 'style', style: config }, Object.values(style));\n this._config = config;\n this._style = style;\n }\n\n toString() {\n return `AnimatedStyle, id: ${this.__nodeID}`;\n }\n\n _walkStyleAndGetAnimatedValues(style) {\n const updatedStyle = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n return updatedStyle;\n }\n\n __onEvaluate() {\n return this._walkStyleAndGetAnimatedValues(this._style);\n }\n}\n","import AnimatedNode from './AnimatedNode';\n\nimport deepEqual from 'lodash.isequal';\n\nfunction sanitizeTransform(inputTransform) {\n const outputTransform = [];\n let hasAnimatedTransform = false;\n inputTransform.forEach((transform) => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n hasAnimatedTransform = true;\n outputTransform.push({\n property: key,\n nodeID: value.__nodeID,\n });\n } else {\n outputTransform.push({\n property: key,\n value,\n });\n }\n }\n });\n return hasAnimatedTransform ? outputTransform : undefined;\n}\n\nfunction extractAnimatedParentNodes(transform) {\n const parents = [];\n transform.forEach((transform) => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n parents.push(value);\n }\n }\n });\n return parents;\n}\n\nexport function createOrReuseTransformNode(transform, oldNode) {\n const config = sanitizeTransform(transform);\n if (config === undefined) {\n return undefined;\n }\n if (oldNode && deepEqual(config, oldNode._config)) {\n return oldNode;\n }\n return new AnimatedTransform(transform, config);\n}\n\nclass AnimatedTransform extends AnimatedNode {\n constructor(transform, config) {\n super(\n { type: 'transform', transform: config },\n extractAnimatedParentNodes(transform)\n );\n this._config = config;\n this._transform = transform;\n }\n\n toString() {\n return `AnimatedTransform, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return this._transform.map((transform) => {\n const result = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = value.__getValue();\n }\n }\n return result;\n });\n }\n}\n","/**\n * Lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\n/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = isEqual;\n","import { NativeEvent } from './commonTypes';\nimport NativeReanimatedModule from './NativeReanimated';\n\nfunction jsListener>(\n eventName: string,\n handler: (event: T) => void\n) {\n return (evt: T) => {\n handler({ ...evt.nativeEvent, eventName });\n };\n}\n\nexport default class WorkletEventHandler> {\n worklet: (event: T) => void;\n eventNames: string[];\n reattachNeeded: boolean;\n listeners: Record void>;\n viewTag: number | undefined;\n registrations: string[];\n constructor(worklet: (event: T) => void, eventNames: string[] = []) {\n this.worklet = worklet;\n this.eventNames = eventNames;\n this.reattachNeeded = false;\n this.listeners = {};\n this.viewTag = undefined;\n this.registrations = [];\n\n if (!NativeReanimatedModule.native) {\n this.listeners = eventNames.reduce(\n (acc: Record void>, eventName: string) => {\n acc[eventName] = jsListener(eventName, worklet);\n return acc;\n },\n {}\n );\n }\n }\n\n updateWorklet(newWorklet: (event: T) => void): void {\n this.worklet = newWorklet;\n this.reattachNeeded = true;\n }\n\n registerForEvents(viewTag: number, fallbackEventName?: string): void {\n this.viewTag = viewTag;\n this.registrations = this.eventNames.map((eventName) =>\n NativeReanimatedModule.registerEventHandler(\n viewTag + eventName,\n this.worklet\n )\n );\n if (this.registrations.length === 0 && fallbackEventName) {\n this.registrations.push(\n NativeReanimatedModule.registerEventHandler(\n viewTag + fallbackEventName,\n this.worklet\n )\n );\n }\n }\n\n unregisterFromEvents(): void {\n this.registrations.forEach((id) =>\n NativeReanimatedModule.unregisterEventHandler(id)\n );\n this.registrations = [];\n }\n}\n","import reanimatedJS from '../js-reanimated';\nimport { shouldBeUseWeb } from '../PlatformChecker';\nimport { Platform } from 'react-native';\nimport { NativeReanimated } from './NativeReanimated';\n\nlet exportedModule;\nif (shouldBeUseWeb()) {\n exportedModule = reanimatedJS;\n} else {\n exportedModule = new NativeReanimated();\n if (exportedModule.useOnlyV1 && Platform.OS === 'android') {\n console.warn(\n `If you want to use Reanimated 2 then go through our installation steps https://docs.swmansion.com/react-native-reanimated/docs/installation`\n );\n }\n}\n\nexport default exportedModule as NativeReanimated;\n","import JSReanimated from './JSReanimated';\nimport { shouldBeUseWeb } from '../PlatformChecker';\nimport { AnimatedStyle, StyleProps } from '../commonTypes';\n\nconst reanimatedJS = new JSReanimated();\n\ninterface JSReanimatedComponent {\n previousStyle: StyleProps;\n setNativeProps: (style: StyleProps) => void;\n props: Record;\n _touchableNode: {\n setAttribute: (key: string, props: unknown) => void;\n };\n}\n\nif (shouldBeUseWeb()) {\n global._frameTimestamp = null;\n global._setGlobalConsole = (_val) => {\n // noop\n };\n global._measure = () => {\n console.warn(\n \"[Reanimated] You can't use 'measue' method with Chrome Debugger or with web version\"\n );\n return {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n pageX: 0,\n pageY: 0,\n };\n };\n global._scrollTo = () => {\n console.warn(\n \"[Reanimated] You can't use 'scrollTo' method with Chrome Debugger or with web version\"\n );\n };\n global._setGestureState = () => {\n console.warn(\n \"[Reanimated] You can't use 'setGestureState' method with Chrome Debugger or with web version\"\n );\n };\n}\n\nexport const _updatePropsJS = (\n updates: StyleProps | AnimatedStyle,\n viewRef: { _component?: JSReanimatedComponent }\n): void => {\n if (viewRef._component) {\n const component = viewRef._component;\n const [rawStyles] = Object.keys(updates).reduce(\n (acc: [StyleProps, AnimatedStyle], key) => {\n const value = updates[key];\n const index = typeof value === 'function' ? 1 : 0;\n acc[index][key] = value;\n return acc;\n },\n [{}, {}]\n );\n\n if (typeof component.setNativeProps === 'function') {\n setNativeProps(component, rawStyles);\n } else if (Object.keys(component.props).length > 0) {\n Object.keys(component.props).forEach((key) => {\n if (!rawStyles[key]) {\n return;\n }\n const dashedKey = key.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase());\n component._touchableNode.setAttribute(dashedKey, rawStyles[key]);\n });\n } else {\n console.warn('It is not possible to manipulate component');\n }\n }\n};\n\nconst setNativeProps = (\n component: JSReanimatedComponent,\n style: StyleProps\n): void => {\n const previousStyle = component.previousStyle ? component.previousStyle : {};\n const currentStyle = { ...previousStyle, ...style };\n component.previousStyle = currentStyle;\n component.setNativeProps({ style: currentStyle });\n};\n\nexport default reanimatedJS;\n","import MapperRegistry from './MapperRegistry';\nimport Mapper from './Mapper';\nimport MutableValue from './MutableValue';\nimport { NativeReanimated } from '../NativeReanimated/NativeReanimated';\nimport { Timestamp, NestedObjectValues } from '../commonTypes';\n\nexport default class JSReanimated extends NativeReanimated {\n _valueSetter?: (value: T) => void = undefined;\n\n _renderRequested = false;\n _mapperRegistry: MapperRegistry = new MapperRegistry(this);\n _frames: ((timestamp: Timestamp) => void)[] = [];\n timeProvider: { now: () => number };\n\n constructor() {\n super(false);\n if (process.env.JEST_WORKER_ID) {\n this.timeProvider = { now: () => Date.now() };\n } else {\n this.timeProvider = { now: () => window.performance.now() };\n }\n }\n\n pushFrame(frame: (timestamp: Timestamp) => void): void {\n this._frames.push(frame);\n this.maybeRequestRender();\n }\n\n getTimestamp(): number {\n return this.timeProvider.now();\n }\n\n maybeRequestRender(): void {\n if (!this._renderRequested) {\n this._renderRequested = true;\n\n requestAnimationFrame((_timestampMs) => {\n this._renderRequested = false;\n\n this._onRender(this.getTimestamp());\n });\n }\n }\n\n _onRender(timestampMs: number): void {\n this._mapperRegistry.execute();\n\n const frames = [...this._frames];\n this._frames = [];\n\n for (let i = 0, len = frames.length; i < len; ++i) {\n frames[i](timestampMs);\n }\n\n if (this._mapperRegistry.needRunOnRender) {\n this._mapperRegistry.execute();\n }\n }\n\n installCoreFunctions(valueSetter: (value: T) => void): void {\n this._valueSetter = valueSetter;\n }\n\n makeShareable(value: T): T {\n return value;\n }\n\n makeMutable(value: T): MutableValue {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return new MutableValue(value, this._valueSetter!);\n }\n\n makeRemote(object = {}): T {\n return object as T;\n }\n\n startMapper(\n mapper: () => void,\n inputs: NestedObjectValues>[] = [],\n outputs: NestedObjectValues>[] = []\n ): number {\n const instance = new Mapper(this, mapper, inputs, outputs);\n const mapperId = this._mapperRegistry.startMapper(instance);\n this.maybeRequestRender();\n return mapperId;\n }\n\n stopMapper(mapperId: number): void {\n this._mapperRegistry.stopMapper(mapperId);\n }\n\n registerEventHandler(_: string, __: (event: T) => void): string {\n // noop\n return '';\n }\n\n unregisterEventHandler(_: string): void {\n // noop\n }\n\n enableLayoutAnimations() {\n console.warn(\n '[Reanimated] enableLayoutAnimations is not available for WEB yet'\n );\n }\n}\n","import { JSReanimated } from './commonTypes';\nimport Mapper from './Mapper';\n\nexport default class MapperRegistry {\n sortedMappers: Mapper[] = [];\n mappers: Map> = new Map();\n _module: JSReanimated;\n\n updatedSinceLastExecute = false;\n\n constructor(module: JSReanimated) {\n this._module = module;\n }\n\n startMapper(mapper: Mapper): number {\n this.mappers.set(mapper.id, mapper);\n this.updatedSinceLastExecute = true;\n return mapper.id;\n }\n\n stopMapper(id: number): void {\n this.mappers.delete(id);\n this.updatedSinceLastExecute = true;\n }\n\n execute(): void {\n if (this.updatedSinceLastExecute) {\n this.updateOrder();\n this.updatedSinceLastExecute = false;\n }\n\n for (let i = 0, len = this.sortedMappers.length; i < len; ++i) {\n const mapper = this.sortedMappers[i];\n if (mapper.dirty) {\n mapper.execute();\n }\n }\n }\n\n updateOrder(): void {\n const nodes = [...this.mappers.values()].map((mapper) => new Node(mapper));\n\n const mappersById: Record> = {};\n this.mappers.forEach((mapper) => {\n mappersById[mapper.id] = mapper;\n });\n\n // create a graph from array of nodes\n for (let i = 0, nodesLen = nodes.length; i < nodesLen; ++i) {\n const node = nodes[i];\n if (node.mapper.outputs.length === 0) {\n continue;\n }\n for (let j = 0; j < nodesLen; ++j) {\n const restNode = nodes[j];\n if (i === j || restNode.mapper.inputs.length === 0) {\n continue;\n }\n for (\n let outi = 0, outputsLen = node.mapper.outputs.length;\n outi < outputsLen;\n ++outi\n ) {\n for (\n let resti = 0, restLen = restNode.mapper.inputs.length;\n resti < restLen;\n ++resti\n ) {\n if (\n node.mapper.outputs[outi]._id ===\n restNode.mapper.inputs[resti]._id\n ) {\n node.children.push(restNode);\n }\n }\n }\n }\n }\n\n const post: Record = {};\n let postCounter = 1;\n const dfs = (node: Node) => {\n const index = nodes.indexOf(node);\n if (index === -1) {\n // this node has already been handled\n return;\n }\n ++postCounter;\n nodes.splice(index, 1);\n if (node.children.length === 0 && nodes.length > 0) {\n post[node.mapper.id] = postCounter++;\n dfs(nodes[0]);\n return;\n }\n for (let i = 0, len = node.children.length; i < len; ++i) {\n dfs(node.children[i]);\n }\n post[node.mapper.id] = postCounter++;\n };\n\n while (nodes.length) dfs(nodes[0]);\n\n const postArray = Object.keys(post).map((key) => {\n const num = parseInt(key);\n return [num, post[num]];\n });\n postArray.sort((a, b) => {\n return b[1] - a[1];\n });\n\n // clear sorted mappers\n this.sortedMappers = [];\n\n for (let i = 0, len = postArray.length; i < len; ++i) {\n const [id] = postArray[i];\n this.sortedMappers.push(mappersById[id]);\n }\n }\n\n get needRunOnRender(): boolean {\n return this.updatedSinceLastExecute;\n }\n}\n\nclass Node {\n mapper: Mapper;\n children: Node[];\n\n constructor(mapper: Mapper, children = []) {\n this.mapper = mapper;\n this.children = children;\n }\n}\n","import { NestedObjectValues } from '../commonTypes';\nimport { JSReanimated } from './commonTypes';\nimport MutableValue from './MutableValue';\n\nexport default class Mapper {\n static MAPPER_ID = 1;\n id: number;\n inputs: MutableValue[];\n outputs: MutableValue[];\n mapper: () => void;\n\n dirty = true;\n\n constructor(\n module: JSReanimated,\n mapper: () => void,\n inputs: NestedObjectValues>[] = [],\n outputs: NestedObjectValues>[] = []\n ) {\n this.id = Mapper.MAPPER_ID++;\n this.inputs = this.extractMutablesFromArray(inputs);\n this.outputs = this.extractMutablesFromArray(outputs);\n this.mapper = mapper;\n\n const markDirty = () => {\n this.dirty = true;\n module.maybeRequestRender();\n };\n\n this.inputs.forEach((input) => {\n input.addListener(markDirty);\n });\n }\n\n execute(): void {\n this.dirty = false;\n this.mapper();\n }\n\n extractMutablesFromArray(\n array: NestedObjectValues>\n ): MutableValue[] {\n const res: MutableValue[] = [];\n\n function extractMutables(value: NestedObjectValues>) {\n if (value == null) {\n // return;\n } else if (value instanceof MutableValue) {\n res.push(value);\n } else if (Array.isArray(value)) {\n value.forEach((v) => extractMutables(v));\n } else if (typeof value === 'object') {\n Object.keys(value).forEach((key) => {\n extractMutables(value[key]);\n });\n }\n }\n\n extractMutables(array);\n return res;\n }\n}\n","export default class MutableValue {\n static MUTABLE_ID = 1;\n _id: number;\n _value: T;\n _setter: (value: T) => void;\n _animation = null;\n _listeners: (() => void)[] = [];\n\n constructor(value: T, setter: (value: T) => void) {\n this._id = MutableValue.MUTABLE_ID++;\n this._value = value;\n this._setter = setter;\n }\n\n get value(): T {\n return this._value;\n }\n\n set value(nextValue: T) {\n this._setter(nextValue);\n }\n\n // this changes the value finally and is supposed to be called from this._setter\n _setValue(newValue: T): void {\n this._value = newValue;\n this._triggerListener();\n }\n\n addListener(listener: () => void): void {\n this._listeners.push(listener);\n }\n\n _triggerListener(): void {\n for (let i = 0, len = this._listeners.length; i < len; ++i) {\n this._listeners[i]();\n }\n }\n}\n","import { SharedValue } from '../commonTypes';\nimport { Descriptor } from '../hook/commonTypes';\n\nconst InnerNativeModule = global.__reanimatedModuleProxy;\n\nexport class NativeReanimated {\n native: boolean;\n useOnlyV1: boolean;\n\n constructor(native = true) {\n this.native = native;\n this.useOnlyV1 = InnerNativeModule === null;\n }\n\n installCoreFunctions(valueSetter: (value: T) => void): void {\n return InnerNativeModule.installCoreFunctions(valueSetter);\n }\n\n makeShareable(value: T): T {\n return InnerNativeModule.makeShareable(value);\n }\n\n makeMutable(value: T): SharedValue {\n return InnerNativeModule.makeMutable(value);\n }\n\n makeRemote(object = {}): T {\n return InnerNativeModule.makeRemote(object);\n }\n\n startMapper(\n mapper: () => void,\n inputs: any[] = [],\n outputs: any[] = [],\n updater: () => void,\n viewDescriptors: Descriptor[] | SharedValue\n ): number {\n return InnerNativeModule.startMapper(\n mapper,\n inputs,\n outputs,\n updater,\n viewDescriptors\n );\n }\n\n stopMapper(mapperId: number): void {\n return InnerNativeModule.stopMapper(mapperId);\n }\n\n registerEventHandler(\n eventHash: string,\n eventHandler: (event: T) => void\n ): string {\n return InnerNativeModule.registerEventHandler(eventHash, eventHandler);\n }\n\n unregisterEventHandler(id: string): void {\n return InnerNativeModule.unregisterEventHandler(id);\n }\n\n getViewProp(\n viewTag: string,\n propName: string,\n callback?: (result: T) => void\n ): Promise {\n return InnerNativeModule.getViewProp(viewTag, propName, callback);\n }\n\n enableLayoutAnimations(flag: boolean): void {\n InnerNativeModule.enableLayoutAnimations(flag);\n }\n}\n","/**\n * imported from react-native\n */\n\nimport { MutableRefObject } from 'react';\n\n/**\n * This is a helper function for when a component needs to be able to forward a ref\n * to a child component, but still needs to have access to that component as part of\n * its implementation.\n *\n * Its main use case is in wrappers for native components.\n *\n * Usage:\n *\n * class MyView extends React.Component {\n * _nativeRef = null;\n *\n * _setNativeRef = setAndForwardRef({\n * getForwardedRef: () => this.props.forwardedRef,\n * setLocalRef: ref => {\n * this._nativeRef = ref;\n * },\n * });\n *\n * render() {\n * return ;\n * }\n * }\n *\n * const MyViewWithRef = React.forwardRef((props, ref) => (\n * \n * ));\n *\n * module.exports = MyViewWithRef;\n */\n\nexport type ForwardedRef = () => MutableRefObject | ((ref: T) => void);\n\nfunction setAndForwardRef({\n getForwardedRef,\n setLocalRef,\n}: {\n getForwardedRef: ForwardedRef;\n setLocalRef: (ref: T) => void;\n}): (ref: T) => void {\n return function forwardRef(ref: T) {\n const forwardedRef = getForwardedRef();\n\n setLocalRef(ref);\n\n // Forward to user ref prop (if one has been specified)\n if (typeof forwardedRef === 'function') {\n // Handle function-based refs. String-based refs are handled as functions.\n forwardedRef(ref);\n } else if (typeof forwardedRef === 'object' && forwardedRef != null) {\n // Handle createRef-based refs\n forwardedRef.current = ref;\n }\n };\n}\n\nexport default setAndForwardRef;\n","/* global _stopObservingProgress, _startObservingProgress */\nimport { runOnUI } from '../core';\nimport { withStyleAnimation } from '../animation/styleAnimation';\nimport { ColorProperties } from '../UpdateProps';\nimport { processColor } from '../Colors';\n\nrunOnUI(() => {\n 'worklet';\n\n const configs: Record = {};\n const enteringAnimationForTag: Record = {};\n\n global.LayoutAnimationRepository = {\n configs,\n registerConfig(tag, config) {\n configs[tag] = config;\n enteringAnimationForTag[tag] = null;\n },\n removeConfig(tag) {\n delete configs[tag];\n delete enteringAnimationForTag[tag];\n },\n startAnimationForTag(tag, type, yogaValues) {\n if (configs[tag] == null) {\n return; // :(\n }\n const style = configs[tag][type](yogaValues);\n let currentAnimation = style.animations;\n if (type === 'entering') {\n enteringAnimationForTag[tag] = style;\n } else if (type === 'layout' && enteringAnimationForTag[tag] !== null) {\n const entryAniamtion = enteringAnimationForTag[tag].animations;\n const layoutAnimation = style.animations;\n currentAnimation = {};\n for (const key in entryAniamtion) {\n currentAnimation[key] = entryAniamtion[key];\n }\n for (const key in layoutAnimation) {\n currentAnimation[key] = layoutAnimation[key];\n }\n }\n\n const sv: { value: boolean; _value: boolean } = configs[tag].sv;\n _stopObservingProgress(tag, false);\n _startObservingProgress(tag, sv);\n\n const backupColor: Record = {};\n for (const key in style.initialValues) {\n if (ColorProperties.includes(key)) {\n const value = style.initialValues[key];\n backupColor[key] = value;\n style.initialValues[key] = processColor(value);\n }\n }\n\n sv.value = Object.assign({}, sv._value, style.initialValues);\n _stopObservingProgress(tag, false);\n const animation = withStyleAnimation(currentAnimation);\n\n animation.callback = (finished?: boolean) => {\n if (finished) {\n _stopObservingProgress(tag, finished);\n }\n style.callback && style.callback(finished);\n };\n\n if (backupColor) {\n configs[tag].sv._value = { ...configs[tag].sv.value, ...backupColor };\n }\n\n configs[tag].sv.value = animation;\n _startObservingProgress(tag, sv);\n },\n };\n})();\n","/* global _WORKLET _getCurrentTime _frameTimestamp _eventTimestamp, _setGlobalConsole */\nimport NativeReanimatedModule from './NativeReanimated';\nimport { Platform } from 'react-native';\nimport { nativeShouldBeMock, shouldBeUseWeb, isWeb } from './PlatformChecker';\nimport {\n BasicWorkletFunction,\n WorkletFunction,\n ComplexWorkletFunction,\n SharedValue,\n AnimationObject,\n AnimatableValue,\n Timestamp,\n} from './commonTypes';\nimport { Descriptor } from './hook/commonTypes';\nimport JSReanimated from './js-reanimated/JSReanimated';\n\nglobal.__reanimatedWorkletInit = function (worklet: WorkletFunction) {\n worklet.__worklet = true;\n};\n\nif (global._setGlobalConsole === undefined) {\n // it can happen when Reanimated plugin wasn't added, but the user uses the only API from version 1\n global._setGlobalConsole = () => {\n // noop\n };\n}\n\nexport type ReanimatedConsole = Pick<\n Console,\n 'debug' | 'log' | 'warn' | 'info' | 'error'\n>;\n\nexport type WorkletValue =\n | (() => AnimationObject)\n | AnimationObject\n | AnimatableValue\n | Descriptor;\ninterface WorkletValueSetterContext {\n _animation?: AnimationObject | null;\n _value?: AnimatableValue | Descriptor;\n value?: AnimatableValue;\n _setValue?: (val: AnimatableValue | Descriptor) => void;\n}\n\nconst testWorklet: BasicWorkletFunction = () => {\n 'worklet';\n};\n\nexport const checkPluginState: (throwError: boolean) => boolean = (\n throwError = true\n) => {\n if (!testWorklet.__workletHash && !shouldBeUseWeb()) {\n if (throwError) {\n throw new Error(\n \"Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?\"\n );\n }\n return false;\n }\n return true;\n};\n\nexport const isConfigured: (throwError?: boolean) => boolean = (\n throwError = false\n) => {\n return checkPluginState(throwError) && !NativeReanimatedModule.useOnlyV1;\n};\n\nexport const isConfiguredCheck: () => void = () => {\n if (!isConfigured(true)) {\n throw new Error(\n 'If you want to use Reanimated 2 then go through our installation steps https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation'\n );\n }\n};\n\nfunction _toArrayReanimated(object: Iterable | ArrayLike | T[]): T[] {\n 'worklet';\n if (Array.isArray(object)) {\n return object;\n }\n if (\n typeof Symbol !== 'undefined' &&\n (typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') in\n Object(object)\n ) {\n return Array.from(object);\n }\n throw new Error(\n 'Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'\n );\n}\n\nfunction _mergeObjectsReanimated(): unknown {\n 'worklet';\n // we can't use rest parameters in worklets at the moment\n // eslint-disable-next-line prefer-rest-params\n const arr = Array.from(arguments);\n return Object.assign.apply(null, [arr[0], ...arr.slice(1)]);\n}\n\nglobal.__reanimatedWorkletInit = function (worklet: WorkletFunction) {\n worklet.__worklet = true;\n\n if (worklet._closure) {\n const closure = worklet._closure;\n Object.keys(closure).forEach((key) => {\n if (key === '_toConsumableArray') {\n closure[key] = _toArrayReanimated;\n }\n\n if (key === '_objectSpread') {\n closure[key] = _mergeObjectsReanimated;\n }\n });\n }\n};\n\nfunction pushFrame(frame: (timestamp: Timestamp) => void): void {\n (NativeReanimatedModule as JSReanimated).pushFrame(frame);\n}\n\nexport function requestFrame(frame: (timestamp: Timestamp) => void): void {\n 'worklet';\n if (NativeReanimatedModule.native) {\n requestAnimationFrame(frame);\n } else {\n pushFrame(frame);\n }\n}\n\nglobal._WORKLET = false;\nglobal._log = function (s: string) {\n console.log(s);\n};\n\nexport function runOnUI(\n worklet: ComplexWorkletFunction\n): (...args: A) => void {\n return makeShareable(worklet);\n}\n\nexport function makeShareable(value: T): T {\n isConfiguredCheck();\n return NativeReanimatedModule.makeShareable(value);\n}\n\nexport function getViewProp(viewTag: string, propName: string): Promise {\n return new Promise((resolve, reject) => {\n return NativeReanimatedModule.getViewProp(\n viewTag,\n propName,\n (result: T) => {\n if (typeof result === 'string' && result.substr(0, 6) === 'error:') {\n reject(result);\n } else {\n resolve(result);\n }\n }\n );\n });\n}\n\nlet _getTimestamp: () => number;\nif (nativeShouldBeMock()) {\n _getTimestamp = () => {\n return (NativeReanimatedModule as JSReanimated).getTimestamp();\n };\n} else {\n _getTimestamp = () => {\n 'worklet';\n if (_frameTimestamp) {\n return _frameTimestamp;\n }\n if (_eventTimestamp) {\n return _eventTimestamp;\n }\n return _getCurrentTime();\n };\n}\n\nexport function getTimestamp(): number {\n 'worklet';\n if (Platform.OS === 'web') {\n return (NativeReanimatedModule as JSReanimated).getTimestamp();\n }\n return _getTimestamp();\n}\n\nfunction workletValueSetter(\n this: WorkletValueSetterContext,\n value: T\n): void {\n 'worklet';\n const previousAnimation = this._animation;\n if (previousAnimation) {\n previousAnimation.cancelled = true;\n this._animation = null;\n }\n if (\n typeof value === 'function' ||\n (value !== null &&\n typeof value === 'object' &&\n (value as AnimationObject).onFrame !== undefined)\n ) {\n const animation: AnimationObject =\n typeof value === 'function'\n ? (value as () => AnimationObject)()\n : (value as AnimationObject);\n // prevent setting again to the same value\n // and triggering the mappers that treat this value as an input\n // this happens when the animation's target value(stored in animation.current until animation.onStart is called) is set to the same value as a current one(this._value)\n // built in animations that are not higher order(withTiming, withSpring) hold target value in .current\n if (this._value === animation.current && !animation.isHigherOrder) {\n animation.callback && animation.callback(true);\n return;\n }\n // animated set\n const initializeAnimation = (timestamp: number) => {\n animation.onStart(animation, this.value, timestamp, previousAnimation);\n };\n initializeAnimation(getTimestamp());\n const step = (timestamp: number) => {\n if (animation.cancelled) {\n animation.callback && animation.callback(false /* finished */);\n return;\n }\n const finished = animation.onFrame(animation, timestamp);\n animation.finished = true;\n animation.timestamp = timestamp;\n this._value = animation.current;\n if (finished) {\n animation.callback && animation.callback(true /* finished */);\n } else {\n requestAnimationFrame(step);\n }\n };\n\n this._animation = animation;\n\n if (_frameTimestamp) {\n // frame\n step(_frameTimestamp);\n } else {\n requestAnimationFrame(step);\n }\n } else {\n // prevent setting again to the same value\n // and triggering the mappers that treat this value as an input\n if (this._value === value) {\n return;\n }\n this._value = value as Descriptor | AnimatableValue;\n }\n}\n\n// We cannot use pushFrame\n// so we use own implementation for js\nfunction workletValueSetterJS(\n this: WorkletValueSetterContext,\n value: T\n): void {\n const previousAnimation = this._animation;\n if (previousAnimation) {\n previousAnimation.cancelled = true;\n this._animation = null;\n }\n if (\n typeof value === 'function' ||\n (value !== null &&\n typeof value === 'object' &&\n (value as AnimationObject).onFrame)\n ) {\n // animated set\n const animation: AnimationObject =\n typeof value === 'function'\n ? (value as () => AnimationObject)()\n : (value as AnimationObject);\n let initializeAnimation: ((timestamp: number) => void) | null = (\n timestamp: number\n ) => {\n animation.onStart(animation, this.value, timestamp, previousAnimation);\n };\n const step = (timestamp: number) => {\n if (animation.cancelled) {\n animation.callback && animation.callback(false /* finished */);\n return;\n }\n if (initializeAnimation) {\n initializeAnimation(timestamp);\n initializeAnimation = null; // prevent closure from keeping ref to previous animation\n }\n const finished = animation.onFrame(animation, timestamp);\n animation.timestamp = timestamp;\n this._setValue && this._setValue(animation.current as AnimatableValue);\n if (finished) {\n animation.callback && animation.callback(true /* finished */);\n } else {\n requestFrame(step);\n }\n };\n\n this._animation = animation;\n\n requestFrame(step);\n } else {\n this._setValue && this._setValue(value as AnimatableValue | Descriptor);\n }\n}\n\nexport function makeMutable(value: T): SharedValue {\n isConfiguredCheck();\n return NativeReanimatedModule.makeMutable(value);\n}\n\nexport function makeRemote(object = {}): T {\n isConfiguredCheck();\n return NativeReanimatedModule.makeRemote(object);\n}\n\nexport function startMapper(\n mapper: () => void,\n inputs: any[] = [],\n outputs: any[] = [],\n updater: () => void = () => {\n // noop\n },\n viewDescriptors: Descriptor[] | SharedValue = []\n): number {\n isConfiguredCheck();\n return NativeReanimatedModule.startMapper(\n mapper,\n inputs,\n outputs,\n updater,\n viewDescriptors\n );\n}\n\nexport function stopMapper(mapperId: number): void {\n NativeReanimatedModule.stopMapper(mapperId);\n}\n\nexport interface RunOnJSFunction {\n __callAsync?: (...args: A) => void;\n (...args: A): R;\n}\n\nexport function runOnJS(\n fun: RunOnJSFunction\n): () => void {\n 'worklet';\n if (!_WORKLET) {\n return fun;\n }\n if (!fun.__callAsync) {\n throw new Error(\n \"Attempting to call runOnJS with an object that is not a host function. Using runOnJS is only possible with methods that are defined on the main React-Native Javascript thread and that aren't marked as worklets\"\n );\n } else {\n return fun.__callAsync;\n }\n}\n\nif (!NativeReanimatedModule.useOnlyV1) {\n NativeReanimatedModule.installCoreFunctions(\n NativeReanimatedModule.native\n ? (workletValueSetter as (value: T) => void)\n : (workletValueSetterJS as (value: T) => void)\n );\n\n if (!isWeb() && isConfigured()) {\n const capturableConsole = console;\n runOnUI(() => {\n 'worklet';\n const console = {\n debug: runOnJS(capturableConsole.debug),\n log: runOnJS(capturableConsole.log),\n warn: runOnJS(capturableConsole.warn),\n error: runOnJS(capturableConsole.error),\n info: runOnJS(capturableConsole.info),\n };\n _setGlobalConsole(console);\n if (global.performance == null) {\n global.performance = {\n now: global._chronoNow,\n };\n }\n })();\n }\n}\n\ntype FeaturesConfig = {\n enableLayoutAnimations: boolean;\n setByUser: boolean;\n};\n\nlet featuresConfig: FeaturesConfig = {\n enableLayoutAnimations: false,\n setByUser: false,\n};\n\nexport function enableLayoutAnimations(\n flag: boolean,\n isCallByUser = true\n): void {\n if (isCallByUser) {\n featuresConfig = {\n enableLayoutAnimations: flag,\n setByUser: true,\n };\n NativeReanimatedModule.enableLayoutAnimations(flag);\n } else if (\n !featuresConfig.setByUser &&\n featuresConfig.enableLayoutAnimations !== flag\n ) {\n featuresConfig.enableLayoutAnimations = flag;\n NativeReanimatedModule.enableLayoutAnimations(flag);\n }\n}\n","import { defineAnimation } from './util';\nimport {\n Timestamp,\n AnimatableValue,\n AnimationObject,\n Animation,\n AnimatedStyle,\n NestedObject,\n NestedObjectValues,\n} from '../commonTypes';\nimport { StyleLayoutAnimation } from './commonTypes';\nimport { withTiming } from './timing';\nimport { ColorProperties } from '../UpdateProps';\nimport { processColor } from '../Colors';\n\n// resolves path to value for nested objects\n// if path cannot be resolved returns undefined\nexport function resolvePath(\n obj: NestedObject,\n path: AnimatableValue[] | AnimatableValue\n): NestedObjectValues | undefined {\n 'worklet';\n const keys: AnimatableValue[] = Array.isArray(path) ? path : [path];\n return keys.reduce | undefined>((acc, current) => {\n if (Array.isArray(acc) && typeof current === 'number') {\n return acc[current];\n } else if (typeof acc === 'object' && (current as number | string) in acc) {\n return (acc as { [key: string]: NestedObjectValues })[\n current as number | string\n ];\n }\n return undefined;\n }, obj);\n}\n\n// set value at given path\ntype Path = Array | string | number;\nexport function setPath(\n obj: NestedObject,\n path: Path,\n value: NestedObjectValues\n): void {\n 'worklet';\n const keys: Path = Array.isArray(path) ? path : [path];\n let currObj: NestedObjectValues = obj;\n for (let i = 0; i < keys.length - 1; i++) {\n // creates entry if there isn't one\n currObj = currObj as { [key: string]: NestedObjectValues };\n if (!currObj[keys[i]]) {\n // if next key is a number create an array\n if (typeof keys[i + 1] === 'number') {\n currObj[keys[i]] = [];\n } else {\n currObj[keys[i]] = {};\n }\n }\n currObj = currObj[keys[i]];\n }\n\n (currObj as { [key: string]: NestedObjectValues })[\n keys[keys.length - 1]\n ] = value;\n}\n\ninterface NestedObjectEntry {\n value: NestedObjectValues;\n path: (string | number)[];\n}\n\nexport function withStyleAnimation(\n styleAnimations: AnimatedStyle\n): StyleLayoutAnimation {\n 'worklet';\n return defineAnimation({}, () => {\n 'worklet';\n\n const onFrame = (\n animation: StyleLayoutAnimation,\n now: Timestamp\n ): boolean => {\n let stillGoing = false;\n const entriesToCheck: NestedObjectEntry[] = [\n { value: animation.styleAnimations, path: [] },\n ];\n while (entriesToCheck.length > 0) {\n const currentEntry: NestedObjectEntry = entriesToCheck.pop() as NestedObjectEntry;\n if (Array.isArray(currentEntry.value)) {\n for (let index = 0; index < currentEntry.value.length; index++) {\n entriesToCheck.push({\n value: currentEntry.value[index],\n path: currentEntry.path.concat(index),\n });\n }\n } else if (\n typeof currentEntry.value === 'object' &&\n currentEntry.value.onFrame === undefined\n ) {\n // nested object\n for (const key of Object.keys(currentEntry.value)) {\n entriesToCheck.push({\n value: currentEntry.value[key],\n path: currentEntry.path.concat(key),\n });\n }\n } else {\n const currentStyleAnimation: AnimationObject = currentEntry.value as AnimationObject;\n if (currentStyleAnimation.finished) {\n continue;\n }\n const finished = currentStyleAnimation.onFrame(\n currentStyleAnimation,\n now\n );\n if (finished) {\n currentStyleAnimation.finished = true;\n if (currentStyleAnimation.callback) {\n currentStyleAnimation.callback(true);\n }\n } else {\n stillGoing = true;\n }\n\n if (ColorProperties.includes(currentEntry.path[0] as string)) {\n currentStyleAnimation.current = processColor(\n currentStyleAnimation.current\n ) as number;\n }\n\n setPath(\n animation.current,\n currentEntry.path,\n currentStyleAnimation.current\n );\n }\n }\n return !stillGoing;\n };\n\n const onStart = (\n animation: StyleLayoutAnimation,\n value: AnimatedStyle,\n now: Timestamp,\n previousAnimation: StyleLayoutAnimation\n ): void => {\n const entriesToCheck: NestedObjectEntry<\n AnimationObject | AnimatableValue\n >[] = [{ value: styleAnimations, path: [] }];\n while (entriesToCheck.length > 0) {\n const currentEntry: NestedObjectEntry<\n AnimationObject | AnimatableValue\n > = entriesToCheck.pop() as NestedObjectEntry<\n AnimationObject | AnimatableValue\n >;\n if (Array.isArray(currentEntry.value)) {\n for (let index = 0; index < currentEntry.value.length; index++) {\n entriesToCheck.push({\n value: currentEntry.value[index],\n path: currentEntry.path.concat(index),\n });\n }\n } else if (\n typeof currentEntry.value === 'object' &&\n currentEntry.value.onStart === undefined\n ) {\n for (const key of Object.keys(currentEntry.value)) {\n entriesToCheck.push({\n value: currentEntry.value[key],\n path: currentEntry.path.concat(key),\n });\n }\n } else {\n const prevAnimation = resolvePath(\n previousAnimation?.styleAnimations,\n currentEntry.path\n );\n let prevVal = resolvePath(value, currentEntry.path);\n if (prevAnimation && !prevVal) {\n prevVal = prevAnimation.current;\n }\n setPath(animation.current, currentEntry.path, prevVal);\n let currentAnimation: AnimationObject;\n if (\n typeof currentEntry.value !== 'object' ||\n !currentEntry.value.onStart\n ) {\n currentAnimation = withTiming(\n currentEntry.value as AnimatableValue,\n { duration: 0 }\n );\n setPath(\n animation.styleAnimations,\n currentEntry.path,\n currentAnimation\n );\n } else {\n currentAnimation = currentEntry.value as Animation;\n }\n currentAnimation.onStart(\n currentAnimation,\n prevVal,\n now,\n prevAnimation\n );\n }\n }\n };\n\n const callback = (finished: boolean): void => {\n if (!finished) {\n const animationsToCheck: NestedObjectValues[] = [\n styleAnimations,\n ];\n while (animationsToCheck.length > 0) {\n const currentAnimation: NestedObjectValues = animationsToCheck.pop() as NestedObjectValues;\n if (Array.isArray(currentAnimation)) {\n for (const element of currentAnimation) {\n animationsToCheck.push(element);\n }\n } else if (\n typeof currentAnimation === 'object' &&\n currentAnimation.onStart === undefined\n ) {\n for (const value of Object.values(currentAnimation)) {\n animationsToCheck.push(value);\n }\n } else {\n const currentStyleAnimation: AnimationObject = currentAnimation as AnimationObject;\n if (\n !currentStyleAnimation.finished &&\n currentStyleAnimation.callback\n ) {\n currentStyleAnimation.callback(false);\n }\n }\n }\n }\n };\n\n return {\n isHigherOrder: true,\n onFrame,\n onStart,\n current: {},\n styleAnimations,\n callback,\n } as StyleLayoutAnimation;\n });\n}\n","import {\n HigherOrderAnimation,\n NextAnimation,\n DelayAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n} from './commonTypes';\n/* global _WORKLET */\nimport { ParsedColorArray, convertToHSVA, isColor, toRGBA } from '../Colors';\n\nimport {\n AnimatedStyle,\n SharedValue,\n AnimatableValue,\n Animation,\n AnimationObject,\n Timestamp,\n} from '../commonTypes';\nimport NativeReanimatedModule from '../NativeReanimated';\n\nlet IN_STYLE_UPDATER = false;\n\nexport type UserUpdater = () => AnimatedStyle;\n\nexport function initialUpdaterRun(updater: () => T): T {\n IN_STYLE_UPDATER = true;\n const result = updater();\n IN_STYLE_UPDATER = false;\n return result;\n}\ninterface RecognizedPrefixSuffix {\n prefix?: string;\n suffix?: string;\n strippedValue: number;\n}\n\nfunction recognizePrefixSuffix(value: string | number): RecognizedPrefixSuffix {\n 'worklet';\n if (typeof value === 'string') {\n const match = value.match(\n /([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/\n );\n if (!match) {\n throw Error(\n \"Couldn't parse animation value. Check if there isn't any typo.\"\n );\n }\n const prefix = match[1];\n const suffix = match[4];\n // number with scientific notation\n const number = match[2] + (match[3] ?? '');\n return { prefix, suffix, strippedValue: parseFloat(number) };\n } else {\n return { strippedValue: value };\n }\n}\n\nfunction decorateAnimation(\n animation: T\n): void {\n 'worklet';\n if ((animation as HigherOrderAnimation).isHigherOrder) {\n return;\n }\n\n const baseOnStart = (animation as Animation).onStart;\n const baseOnFrame = (animation as Animation).onFrame;\n const animationCopy = Object.assign({}, animation);\n delete animationCopy.callback;\n\n const prefNumberSuffOnStart = (\n animation: Animation,\n value: string | number,\n timestamp: number,\n previousAnimation: Animation\n ) => {\n // recognize prefix, suffix, and updates stripped value on animation start\n const { prefix, suffix, strippedValue } = recognizePrefixSuffix(value);\n animation.__prefix = prefix;\n animation.__suffix = suffix;\n animation.strippedCurrent = strippedValue;\n const { strippedValue: strippedToValue } = recognizePrefixSuffix(\n animation.toValue as string | number\n );\n animation.current = strippedValue;\n animation.startValue = strippedValue;\n animation.toValue = strippedToValue;\n if (previousAnimation && previousAnimation !== animation) {\n previousAnimation.current = previousAnimation.strippedCurrent;\n }\n\n baseOnStart(animation, strippedValue, timestamp, previousAnimation);\n\n animation.current =\n (animation.__prefix ?? '') +\n animation.current +\n (animation.__suffix ?? '');\n\n if (previousAnimation && previousAnimation !== animation) {\n previousAnimation.current =\n (previousAnimation.__prefix ?? '') +\n previousAnimation.current +\n (previousAnimation.__suffix ?? '');\n }\n };\n const prefNumberSuffOnFrame = (\n animation: Animation,\n timestamp: number\n ) => {\n animation.current = animation.strippedCurrent;\n const res = baseOnFrame(animation, timestamp);\n animation.strippedCurrent = animation.current;\n animation.current =\n (animation.__prefix ?? '') +\n animation.current +\n (animation.__suffix ?? '');\n return res;\n };\n\n const tab = ['H', 'S', 'V', 'A'];\n const colorOnStart = (\n animation: Animation,\n value: string | number,\n timestamp: Timestamp,\n previousAnimation: Animation\n ): void => {\n let HSVAValue: ParsedColorArray;\n let HSVACurrent: ParsedColorArray;\n let HSVAToValue: ParsedColorArray;\n const res: Array = [];\n if (isColor(value)) {\n HSVACurrent = convertToHSVA(animation.current);\n HSVAValue = convertToHSVA(value);\n if (animation.toValue) {\n HSVAToValue = convertToHSVA(animation.toValue);\n }\n }\n tab.forEach((i, index) => {\n animation[i] = Object.assign({}, animationCopy);\n animation[i].current = HSVACurrent[index];\n animation[i].toValue = HSVAToValue ? HSVAToValue[index] : undefined;\n animation[i].onStart(\n animation[i],\n HSVAValue[index],\n timestamp,\n previousAnimation ? previousAnimation[i] : undefined\n );\n res.push(animation[i].current);\n });\n\n animation.current = toRGBA(res as ParsedColorArray);\n };\n\n const colorOnFrame = (\n animation: Animation,\n timestamp: Timestamp\n ): boolean => {\n const HSVACurrent = convertToHSVA(animation.current);\n const res: Array = [];\n let finished = true;\n tab.forEach((i, index) => {\n animation[i].current = HSVACurrent[index];\n // @ts-ignore: disable-next-line\n finished &= animation[i].onFrame(animation[i], timestamp);\n res.push(animation[i].current);\n });\n\n animation.current = toRGBA(res as ParsedColorArray);\n return finished;\n };\n\n const arrayOnStart = (\n animation: Animation,\n value: Array,\n timestamp: Timestamp,\n previousAnimation: Animation\n ): void => {\n value.forEach((v, i) => {\n animation[i] = Object.assign({}, animationCopy);\n animation[i].current = v;\n animation[i].toValue = (animation.toValue as Array)[i];\n animation[i].onStart(\n animation[i],\n v,\n timestamp,\n previousAnimation ? previousAnimation[i] : undefined\n );\n });\n\n animation.current = value;\n };\n\n const arrayOnFrame = (\n animation: Animation,\n timestamp: Timestamp\n ): boolean => {\n let finished = true;\n (animation.current as Array).forEach((v, i) => {\n // @ts-ignore: disable-next-line\n finished &= animation[i].onFrame(animation[i], timestamp);\n (animation.current as Array)[i] = animation[i].current;\n });\n\n return finished;\n };\n\n animation.onStart = (\n animation: Animation,\n value: number,\n timestamp: Timestamp,\n previousAnimation: Animation\n ) => {\n if (isColor(value)) {\n colorOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = colorOnFrame;\n return;\n } else if (Array.isArray(value)) {\n arrayOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = arrayOnFrame;\n return;\n } else if (typeof value === 'string') {\n prefNumberSuffOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = prefNumberSuffOnFrame;\n return;\n }\n baseOnStart(animation, value, timestamp, previousAnimation);\n };\n}\n\ntype AnimationToDecoration<\n T extends AnimationObject | StyleLayoutAnimation\n> = T extends StyleLayoutAnimation\n ? Record\n : T extends DelayAnimation\n ? NextAnimation\n : T extends RepeatAnimation\n ? NextAnimation\n : T extends SequenceAnimation\n ? NextAnimation\n : AnimatableValue | T;\n\nexport function defineAnimation<\n T extends AnimationObject | StyleLayoutAnimation\n>(starting: AnimationToDecoration, factory: () => T): T {\n 'worklet';\n if (IN_STYLE_UPDATER) {\n return starting as T;\n }\n const create = () => {\n 'worklet';\n const animation = factory();\n decorateAnimation(animation);\n return animation;\n };\n\n if (_WORKLET || !NativeReanimatedModule.native) {\n return create();\n }\n // @ts-ignore: eslint-disable-line\n return create;\n}\n\nexport function cancelAnimation(sharedValue: SharedValue): void {\n 'worklet';\n // setting the current value cancels the animation if one is currently running\n sharedValue.value = sharedValue.value; // eslint-disable-line no-self-assign\n}\n\n// TODO it should work only if there was no animation before.\nexport function withStartValue(\n startValue: AnimatableValue,\n animation: NextAnimation\n): Animation {\n 'worklet';\n return defineAnimation(startValue, () => {\n 'worklet';\n if (!_WORKLET && typeof animation === 'function') {\n animation = animation();\n }\n (animation as Animation).current = startValue;\n return animation as Animation;\n });\n}\n","/* global _WORKLET */\n/**\n * Copied from:\n * react-native/Libraries/StyleSheet/normalizeColor.js\n * react-native/Libraries/StyleSheet/processColor.js\n * https://github.com/wcandillon/react-native-redash/blob/master/src/Colors.ts\n */\n\n/* eslint no-bitwise: 0 */\nimport { Platform } from 'react-native';\nimport { makeRemote, makeShareable, isConfigured } from './core';\n\ninterface RGB {\n r: number;\n g: number;\n b: number;\n}\n\ninterface HSV {\n h: number;\n s: number;\n v: number;\n}\n\n// var INTEGER = '[-+]?\\\\d+';\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args: unknown[]): string {\n 'worklet';\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\n// matchers use RegExp objects which needs to be created separately on JS and on\n// the UI thread. We keep separate cache of Regexes for UI and JS using the below\n// objects, then pick the right cache in getMatchers() method.\nconst jsCachedMatchers: Matchers = {};\nconst uiCachedMatchers: Matchers = !isConfigured() ? {} : makeRemote({});\ntype Matchers = {\n rgb?: RegExp;\n rgba?: RegExp;\n hsl?: RegExp;\n hsla?: RegExp;\n hex3?: RegExp;\n hex4?: RegExp;\n hex5?: RegExp;\n hex6?: RegExp;\n hex8?: RegExp;\n};\nfunction getMatchers(): Matchers {\n 'worklet';\n const cachedMatchers: Matchers = _WORKLET\n ? uiCachedMatchers\n : jsCachedMatchers;\n if (cachedMatchers.rgb === undefined) {\n cachedMatchers.rgb = new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER));\n cachedMatchers.rgba = new RegExp(\n 'rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER)\n );\n cachedMatchers.hsl = new RegExp(\n 'hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)\n );\n cachedMatchers.hsla = new RegExp(\n 'hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)\n );\n cachedMatchers.hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\n cachedMatchers.hex4 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\n cachedMatchers.hex6 = /^#([0-9a-fA-F]{6})$/;\n cachedMatchers.hex8 = /^#([0-9a-fA-F]{8})$/;\n }\n return cachedMatchers;\n}\n// cachedMatchers is lazy loaded and it is frozen when worklet is being created,\n// it is possible to call getMatchers() when the object is frozen, then cachedMatchers\n// has no assigned regexes\ngetMatchers();\n\nfunction hue2rgb(p: number, q: number, t: number): number {\n 'worklet';\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h: number, s: number, l: number): number {\n 'worklet';\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\nfunction parse255(str: string): number {\n 'worklet';\n const int = Number.parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str: string): number {\n 'worklet';\n const int = Number.parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str: string): number {\n 'worklet';\n const num = Number.parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str: string): number {\n 'worklet';\n // parseFloat conveniently ignores the final %\n const int = Number.parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nconst names: any = !isConfigured()\n ? null\n : makeShareable({\n transparent: 0x00000000,\n\n // http://www.w3.org/TR/css3-color/#svg-color\n aliceblue: 0xf0f8ffff,\n antiquewhite: 0xfaebd7ff,\n aqua: 0x00ffffff,\n aquamarine: 0x7fffd4ff,\n azure: 0xf0ffffff,\n beige: 0xf5f5dcff,\n bisque: 0xffe4c4ff,\n black: 0x000000ff,\n blanchedalmond: 0xffebcdff,\n blue: 0x0000ffff,\n blueviolet: 0x8a2be2ff,\n brown: 0xa52a2aff,\n burlywood: 0xdeb887ff,\n burntsienna: 0xea7e5dff,\n cadetblue: 0x5f9ea0ff,\n chartreuse: 0x7fff00ff,\n chocolate: 0xd2691eff,\n coral: 0xff7f50ff,\n cornflowerblue: 0x6495edff,\n cornsilk: 0xfff8dcff,\n crimson: 0xdc143cff,\n cyan: 0x00ffffff,\n darkblue: 0x00008bff,\n darkcyan: 0x008b8bff,\n darkgoldenrod: 0xb8860bff,\n darkgray: 0xa9a9a9ff,\n darkgreen: 0x006400ff,\n darkgrey: 0xa9a9a9ff,\n darkkhaki: 0xbdb76bff,\n darkmagenta: 0x8b008bff,\n darkolivegreen: 0x556b2fff,\n darkorange: 0xff8c00ff,\n darkorchid: 0x9932ccff,\n darkred: 0x8b0000ff,\n darksalmon: 0xe9967aff,\n darkseagreen: 0x8fbc8fff,\n darkslateblue: 0x483d8bff,\n darkslategray: 0x2f4f4fff,\n darkslategrey: 0x2f4f4fff,\n darkturquoise: 0x00ced1ff,\n darkviolet: 0x9400d3ff,\n deeppink: 0xff1493ff,\n deepskyblue: 0x00bfffff,\n dimgray: 0x696969ff,\n dimgrey: 0x696969ff,\n dodgerblue: 0x1e90ffff,\n firebrick: 0xb22222ff,\n floralwhite: 0xfffaf0ff,\n forestgreen: 0x228b22ff,\n fuchsia: 0xff00ffff,\n gainsboro: 0xdcdcdcff,\n ghostwhite: 0xf8f8ffff,\n gold: 0xffd700ff,\n goldenrod: 0xdaa520ff,\n gray: 0x808080ff,\n green: 0x008000ff,\n greenyellow: 0xadff2fff,\n grey: 0x808080ff,\n honeydew: 0xf0fff0ff,\n hotpink: 0xff69b4ff,\n indianred: 0xcd5c5cff,\n indigo: 0x4b0082ff,\n ivory: 0xfffff0ff,\n khaki: 0xf0e68cff,\n lavender: 0xe6e6faff,\n lavenderblush: 0xfff0f5ff,\n lawngreen: 0x7cfc00ff,\n lemonchiffon: 0xfffacdff,\n lightblue: 0xadd8e6ff,\n lightcoral: 0xf08080ff,\n lightcyan: 0xe0ffffff,\n lightgoldenrodyellow: 0xfafad2ff,\n lightgray: 0xd3d3d3ff,\n lightgreen: 0x90ee90ff,\n lightgrey: 0xd3d3d3ff,\n lightpink: 0xffb6c1ff,\n lightsalmon: 0xffa07aff,\n lightseagreen: 0x20b2aaff,\n lightskyblue: 0x87cefaff,\n lightslategray: 0x778899ff,\n lightslategrey: 0x778899ff,\n lightsteelblue: 0xb0c4deff,\n lightyellow: 0xffffe0ff,\n lime: 0x00ff00ff,\n limegreen: 0x32cd32ff,\n linen: 0xfaf0e6ff,\n magenta: 0xff00ffff,\n maroon: 0x800000ff,\n mediumaquamarine: 0x66cdaaff,\n mediumblue: 0x0000cdff,\n mediumorchid: 0xba55d3ff,\n mediumpurple: 0x9370dbff,\n mediumseagreen: 0x3cb371ff,\n mediumslateblue: 0x7b68eeff,\n mediumspringgreen: 0x00fa9aff,\n mediumturquoise: 0x48d1ccff,\n mediumvioletred: 0xc71585ff,\n midnightblue: 0x191970ff,\n mintcream: 0xf5fffaff,\n mistyrose: 0xffe4e1ff,\n moccasin: 0xffe4b5ff,\n navajowhite: 0xffdeadff,\n navy: 0x000080ff,\n oldlace: 0xfdf5e6ff,\n olive: 0x808000ff,\n olivedrab: 0x6b8e23ff,\n orange: 0xffa500ff,\n orangered: 0xff4500ff,\n orchid: 0xda70d6ff,\n palegoldenrod: 0xeee8aaff,\n palegreen: 0x98fb98ff,\n paleturquoise: 0xafeeeeff,\n palevioletred: 0xdb7093ff,\n papayawhip: 0xffefd5ff,\n peachpuff: 0xffdab9ff,\n peru: 0xcd853fff,\n pink: 0xffc0cbff,\n plum: 0xdda0ddff,\n powderblue: 0xb0e0e6ff,\n purple: 0x800080ff,\n rebeccapurple: 0x663399ff,\n red: 0xff0000ff,\n rosybrown: 0xbc8f8fff,\n royalblue: 0x4169e1ff,\n saddlebrown: 0x8b4513ff,\n salmon: 0xfa8072ff,\n sandybrown: 0xf4a460ff,\n seagreen: 0x2e8b57ff,\n seashell: 0xfff5eeff,\n sienna: 0xa0522dff,\n silver: 0xc0c0c0ff,\n skyblue: 0x87ceebff,\n slateblue: 0x6a5acdff,\n slategray: 0x708090ff,\n slategrey: 0x708090ff,\n snow: 0xfffafaff,\n springgreen: 0x00ff7fff,\n steelblue: 0x4682b4ff,\n tan: 0xd2b48cff,\n teal: 0x008080ff,\n thistle: 0xd8bfd8ff,\n tomato: 0xff6347ff,\n turquoise: 0x40e0d0ff,\n violet: 0xee82eeff,\n wheat: 0xf5deb3ff,\n white: 0xffffffff,\n whitesmoke: 0xf5f5f5ff,\n yellow: 0xffff00ff,\n yellowgreen: 0x9acd32ff,\n });\n\nfunction normalizeColor(color: unknown): number | null {\n 'worklet';\n\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n if (typeof color !== 'string') {\n return null;\n }\n\n const matchers = getMatchers();\n\n let match: RegExpExecArray | null | undefined;\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers?.hex6?.exec(color))) {\n return Number.parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n if (names[color] !== undefined) {\n return names[color];\n }\n\n if ((match = matchers?.rgb?.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.rgba?.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.hex3?.exec(color))) {\n return (\n Number.parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers?.hex8?.exec(color))) {\n return Number.parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers?.hex4?.exec(color))) {\n return (\n Number.parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16\n ) >>> 0\n );\n }\n\n if ((match = matchers?.hsl?.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]) // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.hsla?.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]) // l\n ) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nexport const opacity = (c: number): number => {\n 'worklet';\n return ((c >> 24) & 255) / 255;\n};\n\nexport const red = (c: number): number => {\n 'worklet';\n return (c >> 16) & 255;\n};\n\nexport const green = (c: number): number => {\n 'worklet';\n return (c >> 8) & 255;\n};\n\nexport const blue = (c: number): number => {\n 'worklet';\n return c & 255;\n};\n\nexport const rgbaColor = (\n r: number,\n g: number,\n b: number,\n alpha = 1\n): number | string => {\n 'worklet';\n if (Platform.OS === 'web' || !_WORKLET) {\n return `rgba(${r}, ${g}, ${b}, ${alpha})`;\n }\n\n const c =\n Math.round(alpha * 255) * (1 << 24) +\n Math.round(r) * (1 << 16) +\n Math.round(g) * (1 << 8) +\n Math.round(b);\n if (Platform.OS === 'android') {\n // on Android color is represented as signed 32 bit int\n return c < (1 << 31) >>> 0 ? c : c - 4294967296; // 4294967296 == Math.pow(2, 32);\n }\n return c;\n};\n\n/* accepts parameters\n * r Object = {r:x, g:y, b:z}\n * OR\n * r, g, b\n * 0 <= r, g, b <= 255\n * returns 0 <= h, s, v <= 1\n */\nexport function RGBtoHSV(rgb: RGB): HSV;\nexport function RGBtoHSV(r: number, g: number, b: number): HSV;\nexport function RGBtoHSV(r: any, g?: any, b?: any): HSV {\n 'worklet';\n /* eslint-disable */\n if (arguments.length === 1) {\n g = r.g;\n b = r.b;\n r = r.r;\n }\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const d = max - min;\n const s = max === 0 ? 0 : d / max;\n const v = max / 255;\n\n let h;\n\n switch (max) {\n default:\n /* fallthrough */\n case min:\n h = 0;\n break;\n case r:\n h = g - b + d * (g < b ? 6 : 0);\n h /= 6 * d;\n break;\n case g:\n h = b - r + d * 2;\n h /= 6 * d;\n break;\n case b:\n h = r - g + d * 4;\n h /= 6 * d;\n break;\n }\n\n return {\n h: h,\n s: s,\n v: v,\n };\n /* eslint-enable */\n}\n\n/* accepts parameters\n * h Object = {h:x, s:y, v:z}\n * OR\n * h, s, v\n * 0 <= h, s, v <= 1\n * returns 0 <= r, g, b <= 255\n */\nfunction HSVtoRGB(hsv: HSV): RGB;\nfunction HSVtoRGB(h: number, s: number, v: number): RGB;\nfunction HSVtoRGB(h: any, s?: any, v?: any) {\n 'worklet';\n /* eslint-disable */\n var r, g, b, i, f, p, q, t;\n if (arguments.length === 1) {\n s = h.s;\n v = h.v;\n h = h.h;\n }\n i = Math.floor(h * 6);\n f = h * 6 - i;\n p = v * (1 - s);\n q = v * (1 - f * s);\n t = v * (1 - (1 - f) * s);\n switch (i % 6) {\n case 0:\n (r = v), (g = t), (b = p);\n break;\n case 1:\n (r = q), (g = v), (b = p);\n break;\n case 2:\n (r = p), (g = v), (b = t);\n break;\n case 3:\n (r = p), (g = q), (b = v);\n break;\n case 4:\n (r = t), (g = p), (b = v);\n break;\n case 5:\n (r = v), (g = p), (b = q);\n break;\n }\n return {\n r: Math.round(r * 255),\n g: Math.round(g * 255),\n b: Math.round(b * 255),\n };\n /* eslint-enable */\n}\n\nexport const hsvToColor = (\n h: number,\n s: number,\n v: number\n): number | string => {\n 'worklet';\n const { r, g, b } = HSVtoRGB(h, s, v);\n return rgbaColor(r, g, b);\n};\n\nexport function processColorInitially(\n color: unknown\n): number | null | undefined {\n 'worklet';\n if (color === null || color === undefined || typeof color === 'number') {\n return color;\n }\n\n let normalizedColor = normalizeColor(color);\n\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n normalizedColor = ((normalizedColor << 24) | (normalizedColor >>> 8)) >>> 0; // argb\n return normalizedColor;\n}\n\nexport function isColor(value: unknown): boolean {\n 'worklet';\n if (typeof value !== 'string') {\n return false;\n }\n return processColorInitially(value) != null;\n}\n\nexport function processColor(color: unknown): number | null | undefined {\n 'worklet';\n let normalizedColor = processColorInitially(color);\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n if (Platform.OS === 'android') {\n // Android use 32 bit *signed* integer to represent the color\n // We utilize the fact that bitwise operations in JS also operates on\n // signed 32 bit integers, so that we can use those to convert from\n // *unsigned* to *signed* 32bit int that way.\n normalizedColor = normalizedColor | 0x0;\n }\n\n return normalizedColor;\n}\n\nexport type ParsedColorArray = [number, number, number, number];\n\nexport function convertToHSVA(color: unknown): ParsedColorArray {\n 'worklet';\n const processedColor = processColorInitially(color)!; // argb;\n const a = (processedColor >>> 24) / 255;\n const r = (processedColor << 8) >>> 24;\n const g = (processedColor << 16) >>> 24;\n const b = (processedColor << 24) >>> 24;\n const { h, s, v } = RGBtoHSV(r, g, b);\n return [h, s, v, a];\n}\n\nexport function toRGBA(HSVA: ParsedColorArray): string {\n 'worklet';\n const { r, g, b } = HSVtoRGB(HSVA[0], HSVA[1], HSVA[2]);\n return `rgba(${r}, ${g}, ${b}, ${HSVA[3]})`;\n}\n","import { Easing, EasingFn, EasingFactoryFn } from '../Easing';\nimport { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n Timestamp,\n AnimatableValue,\n} from '../commonTypes';\n\ninterface TimingConfig {\n duration?: number;\n easing?: EasingFn | EasingFactoryFn;\n}\n\nexport interface TimingAnimation extends Animation {\n type: string;\n easing: EasingFn;\n startValue: AnimatableValue;\n startTime: Timestamp;\n progress: number;\n toValue: AnimatableValue;\n current: AnimatableValue;\n}\n\nexport interface InnerTimingAnimation\n extends Omit {\n toValue: number;\n current: number;\n}\n\nexport function withTiming(\n toValue: AnimatableValue,\n userConfig?: TimingConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(toValue, () => {\n 'worklet';\n const config: Required = {\n duration: 300,\n easing: Easing.inOut(Easing.quad),\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n function timing(animation: InnerTimingAnimation, now: Timestamp): boolean {\n const { toValue, startTime, startValue } = animation;\n const runtime = now - startTime;\n\n if (runtime >= config.duration) {\n // reset startTime to avoid reusing finished animation config in `start` method\n animation.startTime = 0;\n animation.current = toValue;\n return true;\n }\n const progress = animation.easing(runtime / config.duration);\n animation.current =\n (startValue as number) + (toValue - (startValue as number)) * progress;\n return false;\n }\n\n function onStart(\n animation: TimingAnimation,\n value: number,\n now: Timestamp,\n previousAnimation: Animation\n ): void {\n if (\n previousAnimation &&\n (previousAnimation as TimingAnimation).type === 'timing' &&\n (previousAnimation as TimingAnimation).toValue === toValue &&\n (previousAnimation as TimingAnimation).startTime\n ) {\n // to maintain continuity of timing animations we check if we are starting\n // new timing over the old one with the same parameters. If so, we want\n // to copy animation timeline properties\n animation.startTime = (previousAnimation as TimingAnimation).startTime;\n animation.startValue = (previousAnimation as TimingAnimation).startValue;\n } else {\n animation.startTime = now;\n animation.startValue = value;\n }\n animation.current = value;\n if (typeof config.easing === 'object') {\n animation.easing = config.easing.factory();\n } else {\n animation.easing = config.easing;\n }\n }\n\n return {\n type: 'timing',\n onFrame: timing,\n onStart: onStart as (animation: TimingAnimation, now: number) => boolean,\n progress: 0,\n toValue,\n startValue: 0,\n startTime: 0,\n easing: () => 0,\n current: toValue,\n callback,\n } as TimingAnimation;\n });\n}\n","// spread and rest parameters can't be used in worklets right now\n/* eslint-disable prefer-rest-params */\n/* eslint-disable prefer-spread */\n\n/* global _WORKLET */\n\n// @ts-ignore reanimated1/Easing is JS file\nimport EasingNode from '../reanimated1/Easing';\nimport { Bezier } from './Bezier';\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\n\nexport type EasingFn = (t: number) => number;\n\nexport type EasingFactoryFn = { factory: () => EasingFn };\n/**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\nfunction linear(t: number): number {\n 'worklet';\n return t;\n}\n\n/**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\nfunction ease(t: number): number {\n 'worklet';\n return Bezier(0.42, 0, 1, 1)(t);\n}\n\n/**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\nfunction quad(t: number): number {\n 'worklet';\n return t * t;\n}\n\n/**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\nfunction cubic(t: number): number {\n 'worklet';\n return t * t * t;\n}\n\n/**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\nfunction poly(n: number): EasingFn {\n 'worklet';\n return (t) => Math.pow(t, n);\n}\n\n/**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\nfunction sin(t: number): number {\n 'worklet';\n return 1 - Math.cos((t * Math.PI) / 2);\n}\n\n/**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\nfunction circle(t: number): number {\n 'worklet';\n return 1 - Math.sqrt(1 - t * t);\n}\n\n/**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\nfunction exp(t: number): number {\n 'worklet';\n return Math.pow(2, 10 * (t - 1));\n}\n\n/**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\nfunction elastic(bounciness = 1): EasingFn {\n 'worklet';\n const p = bounciness * Math.PI;\n return (t) => {\n 'worklet';\n return 1 - Math.pow(Math.cos((t * Math.PI) / 2), 3) * Math.cos(t * p);\n };\n}\n\n/**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\nfunction back(s = 1.70158): (t: number) => number {\n 'worklet';\n return (t) => t * t * ((s + 1) * t - s);\n}\n\n/**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\nfunction bounce(t: number): number {\n 'worklet';\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n const t2 = t - 1.5 / 2.75;\n return 7.5625 * t2 * t2 + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n const t2 = t - 2.25 / 2.75;\n return 7.5625 * t2 * t2 + 0.9375;\n }\n\n const t2 = t - 2.625 / 2.75;\n return 7.5625 * t2 * t2 + 0.984375;\n}\n\n/**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\nfunction bezier(\n x1: number,\n y1: number,\n x2: number,\n y2: number\n): { factory: () => (x: number) => number } {\n 'worklet';\n return {\n factory: () => {\n 'worklet';\n return Bezier(x1, y1, x2, y2);\n },\n };\n}\n\nfunction bezierFn(\n x1: number,\n y1: number,\n x2: number,\n y2: number\n): (x: number) => number {\n 'worklet';\n return Bezier(x1, y1, x2, y2);\n}\n\n/**\n * Runs an easing function forwards.\n */\nfunction in_(easing: EasingFn): EasingFn {\n 'worklet';\n return easing;\n}\n\n/**\n * Runs an easing function backwards.\n */\nfunction out(easing: EasingFn): EasingFn {\n 'worklet';\n return (t) => {\n 'worklet';\n return 1 - easing(1 - t);\n };\n}\n\n/**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\nfunction inOut(easing: EasingFn): EasingFn {\n 'worklet';\n return (t) => {\n 'worklet';\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n return 1 - easing((1 - t) * 2) / 2;\n };\n}\n\nconst EasingObject = {\n linear,\n ease,\n quad,\n cubic,\n poly,\n sin,\n circle,\n exp,\n elastic,\n back,\n bounce,\n bezier,\n bezierFn,\n in: in_,\n out,\n inOut,\n};\n\n// TODO type worklets\nfunction createChecker(\n worklet: any,\n workletName: string,\n prevArgs?: unknown\n): any {\n /* should return Animated.Value or worklet */\n function checkIfReaOne(): any {\n 'worklet';\n if (arguments && !_WORKLET) {\n for (let i = 0; i < arguments.length; i++) {\n const arg = arguments[i];\n if (arg && arg.__nodeID) {\n console.warn(\n `Easing was renamed to EasingNode in Reanimated 2. Please use EasingNode instead`\n );\n if (prevArgs) {\n return EasingNode[workletName]\n .apply(undefined, prevArgs)\n .apply(undefined, arguments);\n }\n return EasingNode[workletName].apply(undefined, arguments);\n }\n }\n }\n // @ts-ignore this is implicitly any - TODO\n const res = worklet.apply(this, arguments);\n if (!_WORKLET && res && typeof res === 'function' && res.__worklet) {\n return createChecker(res, workletName, arguments);\n }\n return res;\n }\n // use original worklet on UI side\n checkIfReaOne._closure = worklet._closure;\n checkIfReaOne.asString = worklet.asString;\n checkIfReaOne.__workletHash = worklet.__workletHash;\n checkIfReaOne.__location = worklet.__location;\n return checkIfReaOne;\n}\n\ntype EasingObjT = Array;\n(Object.keys(EasingObject) as EasingObjT).forEach((key) => {\n EasingObject[key] = createChecker(EasingObject[key], key);\n});\n\nexport const Easing = EasingObject;\n","import {\n cond,\n lessThan,\n multiply,\n pow,\n cos,\n sqrt,\n sub,\n add,\n divide,\n} from './base';\nimport AnimatedBezier from './core/AnimatedBezier';\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nexport default class Easing {\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n static linear(t) {\n return t;\n }\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n static ease(t) {\n return new AnimatedBezier(t, 0.42, 0, 1, 1);\n }\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n static quad(t) {\n return multiply(t, t);\n }\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n static cubic(t) {\n return multiply(t, t, t);\n }\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n static poly(n) {\n return (t) => pow(t, n);\n }\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n static sin(t) {\n return sub(1, cos(multiply(t, Math.PI, 0.5)));\n }\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n static circle(t) {\n return sub(1, sqrt(sub(1, multiply(t, t))));\n }\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n static exp(t) {\n return pow(2, multiply(10, sub(t, 1)));\n }\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n static elastic(bounciness = 1) {\n const p = bounciness * Math.PI;\n return (t) =>\n sub(\n 1,\n multiply(pow(cos(multiply(t, Math.PI, 0.5)), 3), cos(multiply(t, p)))\n );\n }\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\n static back(s) {\n if (s === undefined) {\n s = 1.70158;\n }\n return (t) => multiply(t, t, sub(multiply(add(s, 1), t), s));\n }\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n static bounce(t) {\n const sq = (v) => multiply(7.5625, v, v);\n return cond(\n lessThan(t, 1 / 2.75),\n sq(t),\n cond(\n lessThan(t, 2 / 2.75),\n add(0.75, sq(sub(t, 1.5 / 2.75))),\n cond(\n lessThan(t, 2.5 / 2.76),\n add(0.9375, sq(sub(t, 2.25 / 2.75))),\n add(0.984375, sq(sub(t, 2.625 / 2.75)))\n )\n )\n );\n }\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n static bezier(x1, y1, x2, y2) {\n return (t) => new AnimatedBezier(t, x1, y1, x2, y2);\n }\n\n /**\n * Runs an easing function forwards.\n */\n static in(easing) {\n return easing;\n }\n\n /**\n * Runs an easing function backwards.\n */\n static out(easing) {\n return (t) => sub(1, easing(sub(1, t)));\n }\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n static inOut(easing) {\n return (t) =>\n cond(\n lessThan(t, 0.5),\n divide(easing(multiply(t, 2)), 2),\n sub(1, divide(easing(multiply(sub(1, t), 2)), 2))\n );\n }\n}\n","export { createAnimatedCond as cond } from './core/AnimatedCond';\nexport { createAnimatedSet as set } from './core/AnimatedSet';\nexport { createAnimatedStartClock as startClock } from './core/AnimatedStartClock';\nexport { createAnimatedStopClock as stopClock } from './core/AnimatedStopClock';\nexport { createAnimatedClockTest as clockRunning } from './core/AnimatedClockTest';\nexport { createAnimatedDebug as debug } from './core/AnimatedDebug';\nexport { createAnimatedCall as call } from './core/AnimatedCall';\nexport { createAnimatedEvent as event } from './core/AnimatedEvent';\nexport { createAnimatedAlways as always } from './core/AnimatedAlways';\nexport { createAnimatedConcat as concat } from './core/AnimatedConcat';\nexport { createAnimatedBlock as block, adapt } from './core/AnimatedBlock';\nexport { createAnimatedFunction as proc } from './core/AnimatedFunction';\nexport * from './operators';\n","import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport { AnimatedParam } from './AnimatedParam';\nimport invariant from 'invariant';\n\nclass AnimatedStartClock extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n invariant(\n clockNode instanceof AnimatedClock || clockNode instanceof AnimatedParam,\n `Reanimated: Animated.startClock argument should be of type AnimatedClock but got ${clockNode}`\n );\n super({ type: 'clockStart', clock: clockNode });\n this._clockNode = clockNode;\n }\n\n toString() {\n return `AnimatedStartClock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n this._clockNode.start();\n return 0;\n }\n}\n\nexport function createAnimatedStartClock(clock) {\n return new AnimatedStartClock(clock);\n}\n","import AnimatedNode from './AnimatedNode';\nimport AnimatedClock from './AnimatedClock';\nimport { AnimatedParam } from './AnimatedParam';\nimport invariant from 'invariant';\n\nclass AnimatedStopClock extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n invariant(\n clockNode instanceof AnimatedClock || clockNode instanceof AnimatedParam,\n `Reanimated: Animated.stopClock argument should be of type AnimatedClock but got ${clockNode}`\n );\n super({ type: 'clockStop', clock: clockNode });\n this._clockNode = clockNode;\n }\n\n toString() {\n return `AnimatedStopClock, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n this._clockNode.stop();\n return 0;\n }\n}\n\nexport function createAnimatedStopClock(clock) {\n return new AnimatedStopClock(clock);\n}\n","import AnimatedNode from './AnimatedNode';\n\nclass AnimatedClockTest extends AnimatedNode {\n _clockNode;\n\n constructor(clockNode) {\n super({ type: 'clockTest', clock: clockNode });\n this._clockNode = clockNode;\n }\n\n toString() {\n return `AnimatedClockTest, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return this._clockNode.isStarted() ? 1 : 0;\n }\n}\n\nexport function createAnimatedClockTest(clock) {\n return new AnimatedClockTest(clock);\n}\n","import invariant from 'invariant';\nimport { NativeModules } from 'react-native';\nimport { val } from '../val';\nimport { adapt, createAnimatedBlock as block } from './AnimatedBlock';\nimport { createAnimatedCall as call } from './AnimatedCall';\nimport AnimatedNode from './AnimatedNode';\n\nclass AnimatedDebug extends AnimatedNode {\n _message;\n _value;\n\n constructor(message, value) {\n invariant(\n typeof message === 'string',\n `Reanimated: Animated.debug node first argument should be of type string but got ${message}`\n );\n invariant(\n value instanceof AnimatedNode,\n `Reanimated: Animated.debug node second argument should be of type AnimatedNode but got ${value}`\n );\n super({ type: 'debug', message, value }, [value]);\n this._message = message;\n this._value = value;\n }\n\n toString() {\n return `AnimatedDebug, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n const value = val(this._value);\n console.log(this._message, value);\n return value;\n }\n}\n\nexport function createAnimatedDebug(message, value) {\n if (__DEV__) {\n // hack to detect if app is running in remote debugger\n // https://stackoverflow.com/questions/39022216\n const runningInRemoteDebugger = typeof atob !== 'undefined';\n\n // read the executionEnvironment off of expo-constants without explicitly\n // depending on the package\n const runningInExpoShell =\n NativeModules.NativeUnimoduleProxy?.modulesConstants?.ExponentConstants\n ?.executionEnvironment === 'storeClient';\n\n if (runningInRemoteDebugger || runningInExpoShell) {\n // When running in expo or remote debugger we use JS console.log to output variables\n // otherwise we output to the native console using native debug node\n return block([\n call([value], ([a]) => console.log(`${message} ${a}`)),\n value,\n ]);\n } else {\n return new AnimatedDebug(message, adapt(value));\n }\n }\n // Debugging is disabled in PROD\n return value;\n}\n","import invariant from 'invariant';\nimport { adapt } from '../core/AnimatedBlock';\nimport AnimatedNode from './AnimatedNode';\nimport { val } from '../val';\n\nclass AnimatedConcat extends AnimatedNode {\n constructor(input) {\n invariant(\n input.every(\n (el) =>\n el instanceof AnimatedNode ||\n typeof el === 'number' ||\n typeof el === 'string'\n ),\n `Reanimated: Animated.concat node arguments should be of type AnimatedNode or String or Number. One or more of them are not of that type. Node: ${input}`\n );\n super({ type: 'concat', input }, input);\n this._input = input;\n }\n\n __onEvaluate() {\n return this._input.reduce((prev, current) => prev + val(current), '');\n }\n\n toString() {\n return `AnimatedConcat, id: ${this.__nodeID}`;\n }\n}\n\nexport function createAnimatedConcat(...args) {\n return new AnimatedConcat(args.map(adapt));\n}\n","import { val } from '../val';\nimport AnimatedNode from './AnimatedNode';\nimport invariant from 'invariant';\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\nvar NEWTON_ITERATIONS = 4;\nvar NEWTON_MIN_SLOPE = 0.001;\nvar SUBDIVISION_PRECISION = 0.0000001;\nvar SUBDIVISION_MAX_ITERATIONS = 10;\n\nvar kSplineTableSize = 11;\nvar kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\nvar float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\nfunction C(aA1) {\n return 3.0 * aA1;\n}\n\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\n// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, aA, aB, mX1, mX2) {\n var currentX = 0;\n var currentT = 0;\n var i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\n\nfunction bezier(mX1, mY1, mX2, mY2) {\n // Precompute samples table\n var sampleValues = float32ArraySupported\n ? new Float32Array(kSplineTableSize)\n : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n var dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n\n var initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2\n );\n }\n }\n\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n\nexport default class AnimatedBezier extends AnimatedNode {\n _value;\n _bezier;\n\n constructor(value, mX1, mY1, mX2, mY2) {\n invariant(\n value instanceof AnimatedNode,\n `Reanimated: Bezier node argument should be of type AnimatedNode but got ${value}`\n );\n super({ type: 'bezier', mX1, mY1, mX2, mY2, input: value }, [value]);\n this._value = value;\n this._bezier = bezier(mX1, mY1, mX2, mY2);\n }\n\n toString() {\n return `AnimatedBezier, id: ${this.__nodeID}`;\n }\n\n __onEvaluate() {\n return this._bezier(val(this._value));\n }\n}\n","/**\n * https://github.com/gre/bezier-easing\n * BezierEasing - use bezier curve for transition easing function\n * by Gaëtan Renaudeau 2014 - 2015 – MIT License\n */\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\n\nexport function Bezier(\n mX1: number,\n mY1: number,\n mX2: number,\n mY2: number\n): (x: number) => number {\n 'worklet';\n\n const NEWTON_ITERATIONS = 4;\n const NEWTON_MIN_SLOPE = 0.001;\n const SUBDIVISION_PRECISION = 0.0000001;\n const SUBDIVISION_MAX_ITERATIONS = 10;\n\n const kSplineTableSize = 11;\n const kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\n function A(aA1: number, aA2: number): number {\n 'worklet';\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n }\n function B(aA1: number, aA2: number): number {\n 'worklet';\n return 3.0 * aA2 - 6.0 * aA1;\n }\n function C(aA1: number) {\n 'worklet';\n return 3.0 * aA1;\n }\n\n // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\n function calcBezier(aT: number, aA1: number, aA2: number): number {\n 'worklet';\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n }\n\n // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\n function getSlope(aT: number, aA1: number, aA2: number): number {\n 'worklet';\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function binarySubdivide(\n aX: number,\n aA: number,\n aB: number,\n mX1: number,\n mX2: number\n ): number {\n 'worklet';\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n }\n\n function newtonRaphsonIterate(\n aX: number,\n aGuessT: number,\n mX1: number,\n mX2: number\n ): number {\n 'worklet';\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n }\n\n function LinearEasing(x: number): number {\n 'worklet';\n return x;\n }\n\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n if (mX1 === mY1 && mX2 === mY2) {\n return LinearEasing;\n }\n\n // FIXME: Float32Array is not available in Hermes right now\n //\n // var float32ArraySupported = typeof Float32Array === 'function';\n // const sampleValues = float32ArraySupported\n // ? new Float32Array(kSplineTableSize)\n // : new Array(kSplineTableSize);\n\n // Precompute samples table\n const sampleValues = new Array(kSplineTableSize);\n\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n\n function getTForX(aX: number): number {\n 'worklet';\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n const dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2\n );\n }\n }\n\n return function BezierEasing(x) {\n 'worklet';\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n","/* global _updateProps */\nimport { MutableRefObject } from 'react';\nimport { processColor } from './Colors';\nimport { AnimatedStyle, SharedValue, StyleProps } from './commonTypes';\nimport { makeShareable, isConfigured } from './core';\nimport { Descriptor } from './hook/commonTypes';\nimport { _updatePropsJS } from './js-reanimated';\nimport { shouldBeUseWeb } from './PlatformChecker';\nimport { ViewRefSet } from './ViewDescriptorsSet';\n\n// copied from react-native/Libraries/Components/View/ReactNativeStyleAttributes\nexport const colorProps = [\n 'backgroundColor',\n 'borderBottomColor',\n 'borderColor',\n 'borderLeftColor',\n 'borderRightColor',\n 'borderTopColor',\n 'borderStartColor',\n 'borderEndColor',\n 'color',\n 'shadowColor',\n 'textDecorationColor',\n 'tintColor',\n 'textShadowColor',\n 'overlayColor',\n];\n\nexport const ColorProperties = !isConfigured() ? [] : makeShareable(colorProps);\n\nlet updatePropsByPlatform;\nif (shouldBeUseWeb()) {\n updatePropsByPlatform = (\n _: SharedValue,\n updates: StyleProps | AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined\n ): void => {\n 'worklet';\n if (maybeViewRef) {\n maybeViewRef.items.forEach((item, _) => {\n _updatePropsJS(updates, item);\n });\n }\n };\n} else {\n updatePropsByPlatform = (\n viewDescriptors: SharedValue,\n updates: StyleProps | AnimatedStyle,\n _: ViewRefSet | undefined\n ): void => {\n 'worklet';\n\n for (const key in updates) {\n if (ColorProperties.indexOf(key) !== -1) {\n updates[key] = processColor(updates[key]);\n }\n }\n\n viewDescriptors.value.forEach((viewDescriptor) => {\n _updateProps(\n viewDescriptor.tag,\n viewDescriptor.name || 'RCTView',\n updates\n );\n });\n };\n}\n\nexport const updateProps: (\n viewDescriptor: SharedValue,\n updates: StyleProps | AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined\n) => void = updatePropsByPlatform;\n\nexport const updatePropsJestWrapper = (\n viewDescriptors: SharedValue,\n updates: AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined,\n animatedStyle: MutableRefObject,\n adapters: ((updates: AnimatedStyle) => void)[]\n): void => {\n adapters.forEach((adapter) => {\n adapter(updates);\n });\n animatedStyle.current.value = {\n ...animatedStyle.current.value,\n ...updates,\n };\n\n updateProps(viewDescriptors, updates, maybeViewRef);\n};\n\nexport default updateProps;\n","import ReanimatedModule from './ReanimatedModule';\n\n/**\n * Styles allowed to be direcly updated in UI thread\n */\nlet UI_THREAD_PROPS_WHITELIST: Record = {\n opacity: true,\n transform: true,\n /* colors */\n backgroundColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderStartColor: true,\n borderTopColor: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\n/**\n * Whitelist of view props that can be updated in native thread via UIManagerModule\n */\nlet NATIVE_THREAD_PROPS_WHITELIST: Record = {\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n height: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n elevation: true,\n fontSize: true,\n lineHeight: true,\n textShadowRadius: true,\n letterSpacing: true,\n /* strings */\n display: true,\n backfaceVisibility: true,\n overflow: true,\n resizeMode: true,\n fontStyle: true,\n fontWeight: true,\n textAlign: true,\n textDecorationLine: true,\n fontFamily: true,\n textAlignVertical: true,\n fontVariant: true,\n textDecorationStyle: true,\n textTransform: true,\n writingDirection: true,\n /* text color */\n color: true,\n tintColor: true,\n shadowColor: true,\n placeholderTextColor: true,\n};\n\nfunction configureProps(): void {\n ReanimatedModule.configureProps(\n Object.keys(NATIVE_THREAD_PROPS_WHITELIST),\n Object.keys(UI_THREAD_PROPS_WHITELIST)\n );\n}\n\nexport function addWhitelistedNativeProps(\n props: Record\n): void {\n const oldSize = Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length;\n NATIVE_THREAD_PROPS_WHITELIST = {\n ...NATIVE_THREAD_PROPS_WHITELIST,\n ...props,\n };\n if (oldSize !== Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nexport function addWhitelistedUIProps(props: Record): void {\n const oldSize = Object.keys(UI_THREAD_PROPS_WHITELIST).length;\n UI_THREAD_PROPS_WHITELIST = { ...UI_THREAD_PROPS_WHITELIST, ...props };\n if (oldSize !== Object.keys(UI_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nconst PROCESSED_VIEW_NAMES = new Set();\n\ninterface ViewConfig {\n uiViewClassName: string;\n validAttributes: Record;\n}\n/**\n * updates UI props whitelist for given view host instance\n * this will work just once for every view name\n */\n\nexport function adaptViewConfig(viewConfig: ViewConfig): void {\n const viewName = viewConfig.uiViewClassName;\n const props = viewConfig.validAttributes;\n\n // update whitelist of UI props for this view name only once\n if (!PROCESSED_VIEW_NAMES.has(viewName)) {\n const propsToAdd: Record = {};\n Object.keys(props).forEach((key) => {\n // we don't want to add native props as they affect layout\n // we also skip props which repeat here\n if (\n !(key in NATIVE_THREAD_PROPS_WHITELIST) &&\n !(key in UI_THREAD_PROPS_WHITELIST)\n ) {\n propsToAdd[key] = true;\n }\n });\n addWhitelistedUIProps(propsToAdd);\n\n PROCESSED_VIEW_NAMES.add(viewName);\n }\n}\n\nconfigureProps();\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nexport { default as RNRenderer } from 'react-native/Libraries/Renderer/shims/ReactNative';\n","import {\n LayoutAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n} from '../animationBuilder/commonTypes';\n\nexport const DefaultLayout: LayoutAnimationFunction = (values) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.targetOriginX,\n originY: values.targetOriginY,\n width: values.targetWidth,\n height: values.targetHeight,\n },\n animations: {},\n };\n};\n\nexport const DefaultEntering: AnimationConfigFunction = (\n values\n) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.targetOriginX,\n originY: values.targetOriginY,\n width: values.targetWidth,\n height: values.targetHeight,\n },\n animations: {},\n };\n};\n\nexport const DefaultExiting: AnimationConfigFunction = (\n values\n) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {},\n };\n};\n","export {\n HigherOrderAnimation,\n NextAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n} from './commonTypes';\nexport { cancelAnimation, defineAnimation, initialUpdaterRun } from './util';\nexport { withTiming, TimingAnimation } from './timing';\nexport { withSpring, SpringAnimation } from './spring';\nexport { withDecay, DecayAnimation } from './decay';\nexport { withDelay } from './delay';\nexport { withRepeat } from './repeat';\nexport { withSequence } from './sequence';\nexport { withStyleAnimation } from './styleAnimation';\n","import {\n AnimatedStyle,\n StyleProps,\n AnimatableValue,\n AnimationObject,\n Animation,\n Timestamp,\n AnimationCallback,\n} from '../commonTypes';\n\nexport interface HigherOrderAnimation {\n isHigherOrder?: boolean;\n}\n\nexport type NextAnimation = T | (() => T);\n\nexport interface DelayAnimation\n extends Animation,\n HigherOrderAnimation {\n startTime: Timestamp;\n started: boolean;\n previousAnimation: DelayAnimation | null;\n current: AnimatableValue;\n}\n\nexport interface RepeatAnimation\n extends Animation,\n HigherOrderAnimation {\n reps: number;\n startValue: AnimatableValue;\n toValue?: AnimatableValue;\n previousAnimation?: RepeatAnimation;\n}\n\nexport interface SequenceAnimation\n extends Animation,\n HigherOrderAnimation {\n animationIndex: number;\n}\n\nexport interface StyleLayoutAnimation extends HigherOrderAnimation {\n current: StyleProps;\n styleAnimations: AnimatedStyle;\n onFrame: (animation: StyleLayoutAnimation, timestamp: Timestamp) => boolean;\n onStart: (\n nextAnimation: StyleLayoutAnimation,\n current: AnimatedStyle,\n timestamp: Timestamp,\n previousAnimation: StyleLayoutAnimation\n ) => void;\n callback?: AnimationCallback;\n}\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\n\ninterface SpringConfig {\n mass?: number;\n stiffness?: number;\n overshootClamping?: boolean;\n restDisplacementThreshold?: number;\n restSpeedThreshold?: number;\n velocity?: number;\n damping?: number;\n}\n\nexport interface SpringAnimation extends Animation {\n current: AnimatableValue;\n toValue: AnimatableValue;\n velocity: number;\n lastTimestamp: Timestamp;\n}\n\nexport interface InnerSpringAnimation\n extends Omit {\n toValue: number;\n current: number;\n}\n\nexport function withSpring(\n toValue: AnimatableValue,\n userConfig?: SpringConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(toValue, () => {\n 'worklet';\n\n // TODO: figure out why we can't use spread or Object.assign here\n // when user config is \"frozen object\" we can't enumerate it (perhaps\n // something is wrong with the object prototype).\n const config: Required = {\n damping: 10,\n mass: 1,\n stiffness: 100,\n overshootClamping: false,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 2,\n velocity: 0,\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n function spring(animation: InnerSpringAnimation, now: Timestamp): boolean {\n const { toValue, lastTimestamp, current, velocity } = animation;\n\n const deltaTime = Math.min(now - lastTimestamp, 64);\n animation.lastTimestamp = now;\n\n const c = config.damping;\n const m = config.mass;\n const k = config.stiffness;\n\n const v0 = -velocity;\n const x0 = toValue - current;\n\n const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = omega0 * Math.sqrt(1 - zeta ** 2); // exponential decay\n\n const t = deltaTime / 1000;\n\n const sin1 = Math.sin(omega1 * t);\n const cos1 = Math.cos(omega1 * t);\n\n // under damped\n const underDampedEnvelope = Math.exp(-zeta * omega0 * t);\n const underDampedFrag1 =\n underDampedEnvelope *\n (sin1 * ((v0 + zeta * omega0 * x0) / omega1) + x0 * cos1);\n\n const underDampedPosition = toValue - underDampedFrag1;\n // This looks crazy -- it's actually just the derivative of the oscillation function\n const underDampedVelocity =\n zeta * omega0 * underDampedFrag1 -\n underDampedEnvelope *\n (cos1 * (v0 + zeta * omega0 * x0) - omega1 * x0 * sin1);\n\n // critically damped\n const criticallyDampedEnvelope = Math.exp(-omega0 * t);\n const criticallyDampedPosition =\n toValue - criticallyDampedEnvelope * (x0 + (v0 + omega0 * x0) * t);\n\n const criticallyDampedVelocity =\n criticallyDampedEnvelope *\n (v0 * (t * omega0 - 1) + t * x0 * omega0 * omega0);\n\n const isOvershooting = () => {\n if (config.overshootClamping && config.stiffness !== 0) {\n return current < toValue\n ? animation.current > toValue\n : animation.current < toValue;\n } else {\n return false;\n }\n };\n\n const isVelocity = Math.abs(velocity) < config.restSpeedThreshold;\n const isDisplacement =\n config.stiffness === 0 ||\n Math.abs(toValue - current) < config.restDisplacementThreshold;\n\n if (zeta < 1) {\n animation.current = underDampedPosition;\n animation.velocity = underDampedVelocity;\n } else {\n animation.current = criticallyDampedPosition;\n animation.velocity = criticallyDampedVelocity;\n }\n\n if (isOvershooting() || (isVelocity && isDisplacement)) {\n if (config.stiffness !== 0) {\n animation.velocity = 0;\n animation.current = toValue;\n }\n // clear lastTimestamp to avoid using stale value by the next spring animation that starts after this one\n animation.lastTimestamp = 0;\n return true;\n }\n return false;\n }\n\n function onStart(\n animation: SpringAnimation,\n value: number,\n now: Timestamp,\n previousAnimation: SpringAnimation\n ): void {\n animation.current = value;\n if (previousAnimation) {\n animation.velocity =\n previousAnimation.velocity || animation.velocity || 0;\n animation.lastTimestamp = previousAnimation.lastTimestamp || now;\n } else {\n animation.lastTimestamp = now;\n }\n }\n\n return {\n onFrame: spring,\n onStart,\n toValue,\n velocity: config.velocity || 0,\n current: toValue,\n callback,\n lastTimestamp: 0,\n } as SpringAnimation;\n });\n}\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimationObject,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\nimport { Platform } from 'react-native';\n\ninterface DecayConfig {\n deceleration?: number;\n velocityFactor?: number;\n clamp?: number[];\n velocity?: number;\n}\n\ninterface DefaultDecayConfig {\n deceleration: number;\n velocityFactor: number;\n clamp?: number[];\n velocity: number;\n}\n\nexport interface DecayAnimation extends Animation {\n lastTimestamp: Timestamp;\n startTimestamp: Timestamp;\n initialVelocity: number;\n velocity: number;\n current: AnimatableValue;\n}\n\nexport interface InnerDecayAnimation\n extends Omit,\n AnimationObject {\n current: number;\n}\n\nexport function withDecay(\n userConfig: DecayConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(0, () => {\n 'worklet';\n const config: DefaultDecayConfig = {\n deceleration: 0.998,\n velocityFactor: Platform.OS !== 'web' ? 1 : 1000,\n velocity: 0,\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n const VELOCITY_EPS = Platform.OS !== 'web' ? 1 : 1 / 20;\n const SLOPE_FACTOR = 0.1;\n\n function decay(animation: InnerDecayAnimation, now: number): boolean {\n const {\n lastTimestamp,\n startTimestamp,\n initialVelocity,\n current,\n velocity,\n } = animation;\n\n const deltaTime = Math.min(now - lastTimestamp, 64);\n const v =\n velocity *\n Math.exp(\n -(1 - config.deceleration) * (now - startTimestamp) * SLOPE_FACTOR\n );\n animation.current =\n current + (v * config.velocityFactor * deltaTime) / 1000; // /1000 because time is in ms not in s\n animation.velocity = v;\n animation.lastTimestamp = now;\n\n if (config.clamp) {\n if (initialVelocity < 0 && animation.current <= config.clamp[0]) {\n animation.current = config.clamp[0];\n return true;\n } else if (\n initialVelocity > 0 &&\n animation.current >= config.clamp[1]\n ) {\n animation.current = config.clamp[1];\n return true;\n }\n }\n\n return Math.abs(v) < VELOCITY_EPS;\n }\n\n function validateConfig(): void {\n if (config.clamp) {\n if (!Array.isArray(config.clamp)) {\n throw Error(\n `config.clamp must be an array but is ${typeof config.clamp}`\n );\n }\n if (config.clamp.length !== 2) {\n throw Error(\n `clamp array must contain 2 items but is given ${config.clamp.length}`\n );\n }\n }\n if (config.velocityFactor <= 0) {\n throw Error(\n `config.velocityFactor must be greather then 0 but is ${config.velocityFactor}`\n );\n }\n }\n\n function onStart(\n animation: DecayAnimation,\n value: number,\n now: Timestamp\n ): void {\n animation.current = value;\n animation.lastTimestamp = now;\n animation.startTimestamp = now;\n animation.initialVelocity = config.velocity;\n validateConfig();\n }\n\n return {\n onFrame: decay,\n onStart,\n callback,\n velocity: config.velocity ?? 0,\n initialVelocity: 0,\n current: 0,\n lastTimestamp: 0,\n startTimestamp: 0,\n } as DecayAnimation;\n });\n}\n","import { defineAnimation } from './util';\nimport { Animation, Timestamp, AnimatableValue } from '../commonTypes';\nimport { NextAnimation, DelayAnimation } from './commonTypes';\n\nexport function withDelay(\n delayMs: number,\n _nextAnimation: NextAnimation\n): Animation {\n 'worklet';\n return defineAnimation(_nextAnimation, () => {\n 'worklet';\n const nextAnimation =\n typeof _nextAnimation === 'function' ? _nextAnimation() : _nextAnimation;\n\n function delay(animation: DelayAnimation, now: Timestamp): boolean {\n const { startTime, started, previousAnimation } = animation;\n\n if (now - startTime > delayMs) {\n if (!started) {\n nextAnimation.onStart(\n nextAnimation,\n animation.current,\n now,\n previousAnimation as DelayAnimation\n );\n animation.previousAnimation = null;\n animation.started = true;\n }\n const finished = nextAnimation.onFrame(nextAnimation, now);\n animation.current = nextAnimation.current;\n return finished;\n } else if (previousAnimation) {\n const finished =\n previousAnimation.finished ||\n previousAnimation.onFrame(previousAnimation, now);\n animation.current = previousAnimation.current;\n if (finished) {\n animation.previousAnimation = null;\n }\n }\n return false;\n }\n\n function onStart(\n animation: DelayAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: DelayAnimation\n ): void {\n animation.startTime = now;\n animation.started = false;\n animation.current = value;\n if (previousAnimation === animation) {\n animation.previousAnimation = previousAnimation.previousAnimation;\n } else {\n animation.previousAnimation = previousAnimation;\n }\n }\n\n const callback = (finished?: boolean): void => {\n if (nextAnimation.callback) {\n nextAnimation.callback(finished);\n }\n };\n\n return {\n isHigherOrder: true,\n onFrame: delay,\n onStart,\n current: nextAnimation.current,\n callback,\n previousAnimation: null,\n startTime: 0,\n started: false,\n };\n });\n}\n\n/**\n * @deprecated Kept for backward compatibility. Will be removed soon.\n */\nexport function delay(\n delayMs: number,\n _nextAnimation: NextAnimation\n): Animation {\n 'worklet';\n console.warn('Method `delay` is deprecated. Please use `withDelay` instead');\n return withDelay(delayMs, _nextAnimation);\n}\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\nimport { NextAnimation, RepeatAnimation } from './commonTypes';\n\nexport interface InnerRepeatAnimation\n extends Omit {\n toValue: number;\n startValue: number;\n}\n\nexport function withRepeat(\n _nextAnimation: NextAnimation,\n numberOfReps = 2,\n reverse = false,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(_nextAnimation, () => {\n 'worklet';\n\n const nextAnimation: RepeatAnimation =\n typeof _nextAnimation === 'function' ? _nextAnimation() : _nextAnimation;\n\n function repeat(animation: InnerRepeatAnimation, now: Timestamp): boolean {\n const finished = nextAnimation.onFrame(nextAnimation, now);\n animation.current = nextAnimation.current;\n if (finished) {\n animation.reps += 1;\n // call inner animation's callback on every repetition\n // as the second argument the animation's current value is passed\n if (nextAnimation.callback) {\n nextAnimation.callback(true /* finished */, animation.current);\n }\n if (numberOfReps > 0 && animation.reps >= numberOfReps) {\n return true;\n }\n\n const startValue = reverse\n ? (nextAnimation.current as number)\n : animation.startValue;\n if (reverse) {\n nextAnimation.toValue = animation.startValue;\n animation.startValue = startValue;\n }\n nextAnimation.onStart(\n nextAnimation,\n startValue,\n now,\n nextAnimation.previousAnimation as RepeatAnimation\n );\n return false;\n }\n return false;\n }\n\n const repCallback = (finished: boolean): void => {\n if (callback) {\n callback(finished);\n }\n // when cancelled call inner animation's callback\n if (!finished && nextAnimation.callback) {\n nextAnimation.callback(false /* finished */);\n }\n };\n\n function onStart(\n animation: RepeatAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: RepeatAnimation\n ): void {\n animation.startValue = value;\n animation.reps = 0;\n nextAnimation.onStart(nextAnimation, value, now, previousAnimation);\n }\n\n return {\n isHigherOrder: true,\n onFrame: repeat,\n onStart,\n reps: 0,\n current: nextAnimation.current,\n callback: repCallback,\n startValue: 0,\n } as RepeatAnimation;\n });\n}\n\n/**\n * @deprecated Kept for backward compatibility. Will be removed soon.\n */\nexport function repeat(\n _nextAnimation: NextAnimation,\n numberOfReps = 2,\n reverse = false,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n console.warn(\n 'Method `repeat` is deprecated. Please use `withRepeat` instead'\n );\n return withRepeat(_nextAnimation, numberOfReps, reverse, callback);\n}\n\nexport function loop(\n nextAnimation: NextAnimation,\n numberOfLoops = 1\n): Animation {\n 'worklet';\n console.warn('Method `loop` is deprecated. Please use `withRepeat` instead');\n return repeat(nextAnimation, Math.round(numberOfLoops * 2), true);\n}\n","import { defineAnimation } from './util';\nimport { NextAnimation, SequenceAnimation } from './commonTypes';\nimport {\n Animation,\n AnimatableValue,\n AnimationObject,\n Timestamp,\n} from '../commonTypes';\n\nexport function withSequence(\n ..._animations: NextAnimation[]\n): Animation {\n 'worklet';\n return defineAnimation(\n _animations[0] as SequenceAnimation,\n () => {\n 'worklet';\n const animations = _animations.map((a) => {\n const result = typeof a === 'function' ? a() : a;\n result.finished = false;\n return result;\n });\n const firstAnimation = animations[0];\n\n const callback = (finished: boolean): void => {\n if (finished) {\n // we want to call the callback after every single animation\n // not after all of them\n return;\n }\n // this is going to be called only if sequence has been cancelled\n animations.forEach((animation) => {\n if (typeof animation.callback === 'function' && !animation.finished) {\n animation.callback(finished);\n }\n });\n };\n\n function sequence(animation: SequenceAnimation, now: Timestamp): boolean {\n const currentAnim = animations[animation.animationIndex];\n const finished = currentAnim.onFrame(currentAnim, now);\n animation.current = currentAnim.current;\n if (finished) {\n // we want to call the callback after every single animation\n if (currentAnim.callback) {\n currentAnim.callback(true /* finished */);\n }\n currentAnim.finished = true;\n animation.animationIndex += 1;\n if (animation.animationIndex < animations.length) {\n const nextAnim = animations[animation.animationIndex];\n nextAnim.onStart(nextAnim, currentAnim.current, now, currentAnim);\n return false;\n }\n return true;\n }\n return false;\n }\n\n function onStart(\n animation: SequenceAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: SequenceAnimation\n ): void {\n if (animations.length === 1) {\n throw Error(\n 'withSequence() animation require more than one animation as argument'\n );\n }\n animation.animationIndex = 0;\n if (previousAnimation === undefined) {\n previousAnimation = animations[\n animations.length - 1\n ] as SequenceAnimation;\n }\n firstAnimation.onStart(firstAnimation, value, now, previousAnimation);\n }\n\n return {\n isHigherOrder: true,\n onFrame: sequence,\n onStart,\n animationIndex: 0,\n current: firstAnimation.current,\n callback,\n } as SequenceAnimation;\n }\n );\n}\n\n/**\n * @deprecated Kept for backward compatibility. Will be removed soon.\n */\nexport function sequence(\n ..._animations: NextAnimation[]\n): Animation {\n 'worklet';\n console.warn(\n 'Method `sequence` is deprecated. Please use `withSequence` instead'\n );\n return withSequence(..._animations);\n}\n","import EasingNode from './Easing';\nimport AnimatedClock from './core/AnimatedClock';\nimport AnimatedValue from './core/AnimatedValue';\nimport AnimatedNode from './core/AnimatedNode';\nimport AnimatedCode from './core/AnimatedCode';\nimport decay from './animations/decay';\nimport timing from './animations/timing';\nimport spring from './animations/spring';\nimport Animation from './animations/Animation';\nimport {\n Transition,\n Transitioning,\n createTransitioningComponent,\n} from './Transitioning';\nimport SpringUtils from './animations/SpringUtils';\nimport useValue from './useValue';\nimport backwardCompatibleAnimWrapper from './animations/backwardCompatibleAnimWrapper';\n\nconst decayWrapper = backwardCompatibleAnimWrapper(\n decay,\n Animation.decayDefaultState\n);\nconst timingWrapper = backwardCompatibleAnimWrapper(\n timing,\n Animation.timingDefaultState\n);\nconst springWrapper = backwardCompatibleAnimWrapper(\n spring,\n Animation.springDefaultState\n);\n\n// operations\nexport * from './base';\nexport * from './derived';\nexport {\n AnimatedCode as Code,\n // transitions\n EasingNode,\n Transitioning,\n Transition,\n createTransitioningComponent,\n // nodes\n AnimatedClock as Clock,\n AnimatedValue as Value,\n AnimatedNode as Node,\n // animations\n decayWrapper as decay,\n timingWrapper as timing,\n springWrapper as spring,\n SpringUtils,\n // hooks\n useValue,\n};\n","import useCode from '../derived/useCode';\nimport AnimatedNode from './AnimatedNode';\n\nfunction assertNodesNotNull(code, children, exec) {\n if (!code) {\n const error = !children\n ? `Got \"${typeof children}\" type passed to children`\n : `Got \"${typeof exec}\" type passed to exec`;\n\n throw new Error(\n ` expects the 'exec' prop or children to be an animated node or a function returning an animated node. ${error}`\n );\n }\n}\n\nfunction Code({ exec, children, dependencies }) {\n const nodes = children || exec;\n\n let code = null;\n if (nodes instanceof AnimatedNode) {\n code = () => nodes;\n } else if (typeof nodes === 'function') {\n code = nodes;\n }\n\n assertNodesNotNull(code, children, exec);\n\n useCode(code, dependencies);\n return null;\n}\n\nexport default Code;\n","import React from 'react';\nimport { always, block } from '../base';\n\n/**\n * @callback NodeFactory\n * Function to create a node or an array of nodes.\n * @returns {(Node[] | Node | null | undefined | Boolean)}\n */\n\n/**\n * React hook to run a node.\n * @param {NodeFactory} nodeFactory Function to build the node to run.\n * @param dependencies Array of dependencies. Refresh the node on changes.\n */\nexport default function useCode(nodeFactory, dependencies) {\n if (!(React.useEffect instanceof Function)) return;\n\n React.useEffect(() => {\n // check and correct 1st parameter\n if (!(nodeFactory instanceof Function)) {\n console.warn(\n 'useCode() first argument should be a function that returns an animation node.'\n );\n\n const node = nodeFactory;\n nodeFactory = () => node;\n }\n\n let node = nodeFactory();\n if (node) {\n // allow factory to return array\n if (node instanceof Array) node = block(node);\n\n const animatedAlways = always(node);\n animatedAlways.__attach();\n\n // return undo function\n return () => animatedAlways.__detach();\n }\n }, dependencies);\n}\n","import {\n cond,\n sub,\n pow,\n divide,\n multiply,\n add,\n block,\n set,\n lessThan,\n proc,\n abs,\n} from '../base';\n\nconst VELOCITY_EPS = 5;\n\nfunction decay(clock, state, config) {\n const lastTime = cond(state.time, state.time, clock);\n const deltaTime = sub(clock, lastTime);\n\n // v0 = v / 1000\n // v = v0 * powf(deceleration, dt);\n // v = v * 1000;\n\n // x0 = x;\n // x = x0 + v0 * deceleration * (1 - powf(deceleration, dt)) / (1 - deceleration)\n const kv = pow(config.deceleration, deltaTime);\n const kx = divide(\n multiply(config.deceleration, sub(1, kv)),\n sub(1, config.deceleration)\n );\n const v0 = divide(state.velocity, 1000);\n const v = multiply(v0, kv, 1000);\n const x = add(state.position, multiply(v0, kx));\n return block([\n set(state.position, x),\n set(state.velocity, v),\n set(state.time, clock),\n cond(lessThan(abs(v), VELOCITY_EPS), set(state.finished, 1)),\n ]);\n}\n\nconst procDecay = proc(\n (clock, time, velocity, position, finished, deceleration) =>\n decay(clock, { time, velocity, position, finished }, { deceleration })\n);\n\nexport default function decayAnimation(\n clock,\n { time, velocity, position, finished },\n { deceleration }\n) {\n return procDecay(clock, time, velocity, position, finished, deceleration);\n}\n","import {\n cond,\n sub,\n divide,\n multiply,\n add,\n block,\n set,\n greaterOrEq,\n proc,\n} from '../base';\n\nconst internalTiming = proc(function (\n clock,\n time,\n frameTime,\n position,\n finished,\n toValue,\n duration,\n nextProgress,\n progress,\n newFrameTime\n) {\n const state = {\n time,\n finished,\n frameTime,\n position,\n };\n\n const config = {\n duration,\n toValue,\n };\n\n const distanceLeft = sub(config.toValue, state.position);\n const fullDistance = divide(distanceLeft, sub(1, progress));\n const startPosition = sub(config.toValue, fullDistance);\n const nextPosition = add(startPosition, multiply(fullDistance, nextProgress));\n\n return block([\n cond(\n greaterOrEq(newFrameTime, config.duration),\n [set(state.position, config.toValue), set(state.finished, 1)],\n set(state.position, nextPosition)\n ),\n set(state.frameTime, newFrameTime),\n set(state.time, clock),\n ]);\n});\n\nexport default function timing(clock, state, config) {\n if (config.duration === 0) {\n // when duration is zero we end the timing immediately\n return block([set(state.position, config.toValue), set(state.finished, 1)]);\n }\n const lastTime = cond(state.time, state.time, clock);\n const newFrameTime = add(state.frameTime, sub(clock, lastTime));\n const nextProgress = config.easing(divide(newFrameTime, config.duration));\n const progress = config.easing(divide(state.frameTime, config.duration));\n return internalTiming(\n clock,\n state.time,\n state.frameTime,\n state.position,\n state.finished,\n config.toValue,\n config.duration,\n nextProgress,\n progress,\n newFrameTime\n );\n}\n","import {\n cond,\n sub,\n divide,\n multiply,\n sqrt,\n add,\n block,\n set,\n exp,\n sin,\n cos,\n eq,\n or,\n neq,\n and,\n lessThan,\n greaterThan,\n proc,\n min,\n abs,\n} from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nconst MAX_STEPS_MS = 64;\n\nfunction spring(clock, state, config) {\n const lastTime = cond(state.time, state.time, clock);\n\n const deltaTime = min(sub(clock, lastTime), MAX_STEPS_MS);\n\n const c = config.damping;\n const m = config.mass;\n const k = config.stiffness;\n\n const v0 = multiply(-1, state.velocity);\n const x0 = sub(config.toValue, state.position);\n\n const zeta = divide(c, multiply(2, sqrt(multiply(k, m)))); // damping ratio\n const omega0 = sqrt(divide(k, m)); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = multiply(omega0, sqrt(sub(1, multiply(zeta, zeta)))); // exponential decay\n\n const t = divide(deltaTime, 1000); // in seconds\n\n const sin1 = sin(multiply(omega1, t));\n const cos1 = cos(multiply(omega1, t));\n\n // under damped\n const underDampedEnvelope = exp(multiply(-1, zeta, omega0, t));\n const underDampedFrag1 = multiply(\n underDampedEnvelope,\n add(\n multiply(sin1, divide(add(v0, multiply(zeta, omega0, x0)), omega1)),\n multiply(x0, cos1)\n )\n );\n const underDampedPosition = sub(config.toValue, underDampedFrag1);\n // This looks crazy -- it's actually just the derivative of the oscillation function\n const underDampedVelocity = sub(\n multiply(zeta, omega0, underDampedFrag1),\n multiply(\n underDampedEnvelope,\n sub(\n multiply(cos1, add(v0, multiply(zeta, omega0, x0))),\n multiply(omega1, x0, sin1)\n )\n )\n );\n\n // critically damped\n const criticallyDampedEnvelope = exp(multiply(-1, omega0, t));\n const criticallyDampedPosition = sub(\n config.toValue,\n multiply(\n criticallyDampedEnvelope,\n add(x0, multiply(add(v0, multiply(omega0, x0)), t))\n )\n );\n const criticallyDampedVelocity = multiply(\n criticallyDampedEnvelope,\n add(\n multiply(v0, sub(multiply(t, omega0), 1)),\n multiply(t, x0, omega0, omega0)\n )\n );\n\n // conditions for stopping the spring animations\n const prevPosition = state.prevPosition\n ? state.prevPosition\n : new AnimatedValue(0);\n\n const isOvershooting = cond(\n and(config.overshootClamping, neq(config.stiffness, 0)),\n cond(\n lessThan(prevPosition, config.toValue),\n greaterThan(state.position, config.toValue),\n lessThan(state.position, config.toValue)\n )\n );\n const isVelocity = lessThan(abs(state.velocity), config.restSpeedThreshold);\n const isDisplacement = or(\n eq(config.stiffness, 0),\n lessThan(\n abs(sub(config.toValue, state.position)),\n config.restDisplacementThreshold\n )\n );\n\n return block([\n set(prevPosition, state.position),\n cond(\n lessThan(zeta, 1),\n [\n set(state.position, underDampedPosition),\n set(state.velocity, underDampedVelocity),\n ],\n [\n set(state.position, criticallyDampedPosition),\n set(state.velocity, criticallyDampedVelocity),\n ]\n ),\n set(state.time, clock),\n cond(or(isOvershooting, and(isVelocity, isDisplacement)), [\n cond(neq(config.stiffness, 0), [\n set(state.velocity, 0),\n set(state.position, config.toValue),\n ]),\n set(state.finished, 1),\n ]),\n ]);\n}\n\nconst procSpring = proc(\n (\n finished,\n velocity,\n position,\n time,\n prevPosition,\n toValue,\n damping,\n mass,\n stiffness,\n overshootClamping,\n restSpeedThreshold,\n restDisplacementThreshold,\n clock\n ) =>\n spring(\n clock,\n {\n finished,\n velocity,\n position,\n time,\n prevPosition,\n },\n {\n toValue,\n damping,\n mass,\n stiffness,\n overshootClamping,\n restDisplacementThreshold,\n restSpeedThreshold,\n }\n )\n);\n\nexport default function springAnimation(\n clock,\n { finished, velocity, position, time, prevPosition },\n {\n toValue,\n damping,\n mass,\n stiffness,\n overshootClamping,\n restDisplacementThreshold,\n restSpeedThreshold,\n }\n) {\n return procSpring(\n finished,\n velocity,\n position,\n time,\n prevPosition,\n toValue,\n damping,\n mass,\n stiffness,\n overshootClamping,\n restSpeedThreshold,\n restDisplacementThreshold,\n clock\n );\n}\n","import AnimatedValue from '../core/InternalAnimatedValue';\n\nclass Animation {\n static springDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n velocity: new AnimatedValue(0),\n time: new AnimatedValue(0),\n };\n }\n\n static decayDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n velocity: new AnimatedValue(0),\n time: new AnimatedValue(0),\n };\n }\n\n static timingDefaultState() {\n return {\n position: new AnimatedValue(0),\n finished: new AnimatedValue(0),\n time: new AnimatedValue(0),\n frameTime: new AnimatedValue(0),\n };\n }\n}\n\nexport default Animation;\n","import React from 'react';\nimport { View, findNodeHandle } from 'react-native';\nimport ReanimatedModule from '../ReanimatedModule';\n\nconst TransitioningContext = React.createContext();\n\nfunction configFromProps(type, props) {\n const config = { type };\n if ('durationMs' in props) {\n config.durationMs = props.durationMs;\n }\n if ('interpolation' in props) {\n config.interpolation = props.interpolation;\n }\n if ('type' in props) {\n config.animation = props.type;\n }\n if ('delayMs' in props) {\n config.delayMs = props.delayMs;\n }\n if ('propagation' in props) {\n config.propagation = props.propagation;\n }\n return config;\n}\n\n/**\n * The below wrapper is used to support legacy context API with Context.Consumer\n * render prop. We need it as we want to access `context` from within\n * `componentDidMount` callback. If we decided to drop support for older\n * react native we could rewrite it using hooks or `static contextType` API.\n */\nfunction wrapTransitioningContext(Comp) {\n return (props) => {\n return (\n \n {(context) => }\n \n );\n };\n}\n\nclass In extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('in', this.props));\n }\n\n render() {\n return this.props.children || null;\n }\n}\n\nclass Change extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('change', this.props));\n }\n\n render() {\n return this.props.children || null;\n }\n}\n\nclass Out extends React.Component {\n componentDidMount() {\n this.props.context.push(configFromProps('out', this.props));\n }\n\n render() {\n return this.props.children || null;\n }\n}\n\nclass Together extends React.Component {\n transitions = [];\n componentDidMount() {\n const config = configFromProps('group', this.props);\n config.transitions = this.transitions;\n this.props.context.push(config);\n }\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nclass Sequence extends React.Component {\n transitions = [];\n componentDidMount() {\n const config = configFromProps('group', this.props);\n config.sequence = true;\n config.transitions = this.transitions;\n this.props.context.push(config);\n }\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nfunction createTransitioningComponent(Component) {\n class Wrapped extends React.Component {\n propTypes = Component.propTypes;\n transitions = [];\n viewRef = React.createRef();\n\n componentDidMount() {\n if (this.props.animateMount) {\n this.animateNextTransition();\n }\n }\n\n setNativeProps(props) {\n this.viewRef.current.setNativeProps(props);\n }\n\n animateNextTransition() {\n const viewTag = findNodeHandle(this.viewRef.current);\n ReanimatedModule.animateNextTransition(viewTag, {\n transitions: this.transitions,\n });\n }\n\n render() {\n const { transition, ...rest } = this.props;\n return (\n \n \n {transition}\n \n \n \n );\n }\n }\n return Wrapped;\n}\n\nconst Transitioning = {\n View: createTransitioningComponent(View),\n};\n\nconst Transition = {\n Sequence: wrapTransitioningContext(Sequence),\n Together: wrapTransitioningContext(Together),\n In: wrapTransitioningContext(In),\n Out: wrapTransitioningContext(Out),\n Change: wrapTransitioningContext(Change),\n};\n\nexport { Transitioning, Transition, createTransitioningComponent };\n","import {\n cond,\n sub,\n divide,\n multiply,\n add,\n pow,\n lessOrEq,\n and,\n greaterThan,\n} from './../base';\nimport AnimatedValue from './../core/InternalAnimatedValue';\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction stiffnessFromOrigamiNode(oValue) {\n return add(multiply(sub(oValue, 30), 3.62), 194);\n}\n\nfunction dampingFromOrigamiNode(oValue) {\n return add(multiply(sub(oValue, 8), 3), 25);\n}\n\nfunction makeConfigFromOrigamiTensionAndFriction(prevConfig) {\n const { tension, friction, ...rest } = prevConfig;\n return {\n ...rest,\n stiffness:\n typeof tension === 'number'\n ? stiffnessFromOrigamiValue(tension)\n : stiffnessFromOrigamiNode(tension),\n damping:\n typeof friction === 'number'\n ? dampingFromOrigamiValue(friction)\n : dampingFromOrigamiNode(friction),\n };\n}\n\nfunction makeConfigFromBouncinessAndSpeed(prevConfig) {\n const { bounciness, speed, ...rest } = prevConfig;\n if (typeof bounciness === 'number' && typeof speed === 'number') {\n return fromBouncinessAndSpeedNumbers(bounciness, speed, rest);\n }\n return fromBouncinessAndSpeedNodes(bounciness, speed, rest);\n}\n\nfunction fromBouncinessAndSpeedNodes(bounciness, speed, rest) {\n function normalize(value, startValue, endValue) {\n return divide(sub(value, startValue), sub(endValue, startValue));\n }\n\n function projectNormal(n, start, end) {\n return add(start, multiply(n, sub(end, start)));\n }\n\n function linearInterpolation(t, start, end) {\n return add(multiply(t, end), multiply(sub(1, t), start));\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(sub(multiply(2, t), multiply(t, t)), start, end);\n }\n\n function b3Friction1(x) {\n return add(\n sub(multiply(0.0007, pow(x, 3)), multiply(0.031, pow(x, 2))),\n multiply(0.64, x),\n 1.28\n );\n }\n\n function b3Friction2(x) {\n return add(\n sub(multiply(0.000044, pow(x, 3)), multiply(0.006, pow(x, 2))),\n multiply(0.36, x),\n 2\n );\n }\n\n function b3Friction3(x) {\n return add(\n sub(multiply(0.00000045, pow(x, 3)), multiply(0.000332, pow(x, 2))),\n multiply(0.1078, x),\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n return cond(\n lessOrEq(tension, 18),\n b3Friction1(tension),\n cond(\n and(greaterThan(tension, 18), lessOrEq(tension, 44)),\n b3Friction2(tension),\n b3Friction3(tension)\n )\n );\n }\n\n let b = normalize(divide(bounciness, 1.7), 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(divide(speed, 1.7), 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01\n );\n return {\n ...rest,\n stiffness: stiffnessFromOrigamiNode(bouncyTension),\n damping: dampingFromOrigamiNode(bouncyFriction),\n };\n}\n\nfunction fromBouncinessAndSpeedNumbers(bounciness, speed, rest) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n let b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(speed / 1.7, 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01\n );\n\n return {\n ...rest,\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n\nfunction makeDefaultConfig() {\n return {\n stiffness: new AnimatedValue(100),\n mass: new AnimatedValue(1),\n damping: new AnimatedValue(10),\n overshootClamping: false,\n restSpeedThreshold: 0.001,\n restDisplacementThreshold: 0.001,\n toValue: new AnimatedValue(0),\n };\n}\n\nexport default {\n makeDefaultConfig,\n makeConfigFromBouncinessAndSpeed,\n makeConfigFromOrigamiTensionAndFriction,\n};\n","import React from 'react';\nimport AnimatedValue from './core/AnimatedValue';\n\nexport default function useValue(initialValue) {\n const ref = React.useRef(null);\n if (ref.current === null) {\n ref.current = new AnimatedValue(initialValue);\n }\n return ref.current;\n}\n","import {\n always,\n block,\n call,\n clockRunning,\n cond,\n set,\n startClock,\n stopClock,\n} from '../base';\nimport Clock from '../core/AnimatedClock';\nimport { evaluateOnce } from '../derived/evaluateOnce';\n\nfunction createOldAnimationObject(node, animationStateDefaults, value, config) {\n const newClock = new Clock();\n const currentState = animationStateDefaults();\n let alwaysNode;\n let isStarted = false;\n let isDone = false;\n let wasStopped = false;\n let animationCallback;\n const animation = {\n start: (currentAnimationCallback) => {\n animationCallback = currentAnimationCallback;\n if (isStarted) {\n animationCallback && animationCallback({ finished: false });\n return;\n }\n if (isDone) {\n console.warn('Animation has been finished before');\n // inconsistent with React Native\n return;\n }\n\n if (!value.isNativelyInitialized()) {\n return;\n }\n\n isStarted = true;\n evaluateOnce(\n set(currentState.position, value),\n currentState.position,\n () => {\n alwaysNode = always(\n set(\n value,\n block([\n cond(clockRunning(newClock), 0, startClock(newClock)),\n node(newClock, currentState, config),\n cond(currentState.finished, [\n call([], () => {\n isStarted = false;\n if (!wasStopped) {\n isDone = true;\n }\n value.__detachAnimation(animation);\n isDone = true;\n if (!wasStopped) {\n wasStopped = false;\n }\n }),\n stopClock(newClock),\n ]),\n currentState.position,\n ])\n )\n );\n value.__attachAnimation(animation);\n alwaysNode.__addChild(value);\n }\n );\n },\n __detach: () => {\n animationCallback && animationCallback({ finished: isDone });\n animationCallback = null;\n value.__initialized && alwaysNode.__removeChild(value);\n },\n stop: () => {\n if (isDone) {\n console.warn(\n 'Calling stop has no effect as the animation has already completed'\n );\n return;\n }\n if (!isStarted) {\n console.warn(\n \"Calling stop has no effect as the animation hasn't been started\"\n );\n return;\n }\n wasStopped = true;\n evaluateOnce(set(currentState.finished, 1), currentState.finished);\n },\n __stopImmediately_testOnly: (result) => {\n animation.stop();\n isDone = result;\n value.__detachAnimation(animation);\n },\n };\n return animation;\n}\n\n/**\n * Depending on the arguments list we either return animation node or return an\n * animation object that is compatible with the original Animated API\n */\nexport default function backwardsCompatibleAnimWrapper(\n node,\n animationStateDefaults\n) {\n return (clock, state, config) => {\n if (config !== undefined) {\n return node(clock, state, config);\n }\n return createOldAnimationObject(node, animationStateDefaults, clock, state);\n };\n}\n","export { default as acc } from './acc';\nexport { default as color } from './color';\nexport { default as diff } from './diff';\nexport { default as diffClamp } from './diffClamp';\nexport { default as interpolateNode, Extrapolate } from './interpolate';\nexport { default as interpolateColors } from './interpolateColors';\nexport { default as onChange } from './onChange';\nexport { default as useCode } from './useCode';\n","import { set, add, proc } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nconst procAcc = proc(function (v, acc) {\n return set(acc, add(acc, v));\n});\n\nexport default function acc(v) {\n const acc = new AnimatedValue(0);\n return procAcc(v, acc);\n}\n","import { Platform } from 'react-native';\n\nimport {\n add,\n cond,\n concat,\n lessThan,\n multiply,\n round,\n sub,\n proc,\n} from '../base';\nimport AnimatedNode from '../core/AnimatedNode';\n\nconst procColor = proc(function (r, g, b, a) {\n const color = add(\n multiply(a, 1 << 24),\n multiply(round(r), 1 << 16),\n multiply(round(g), 1 << 8),\n round(b)\n );\n\n if (Platform.OS === 'android') {\n // on Android color is represented as signed 32 bit int\n return cond(\n lessThan(color, (1 << 31) >>> 0),\n color,\n sub(color, Math.pow(2, 32))\n );\n }\n return color;\n});\n\nexport default function color(r, g, b, a = 1) {\n if (Platform.OS === 'web') {\n // doesn't support bit shifting\n return concat('rgba(', r, ',', g, ',', b, ',', a, ')');\n }\n\n if (a instanceof AnimatedNode) {\n a = round(multiply(a, 255));\n } else {\n a = Math.round(a * 255);\n }\n\n return procColor(r, g, b, a);\n}\n","import { cond, block, defined, sub, set, proc } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nconst procDiff = proc(function (v, stash, prev) {\n return block([\n set(stash, cond(defined(prev), sub(v, prev), 0)),\n set(prev, v),\n stash,\n ]);\n});\n\nexport default function diff(v) {\n const stash = new AnimatedValue(0);\n const prev = new AnimatedValue();\n return procDiff(v, stash, prev);\n}\n","import { cond, defined, set, add, min, max } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\nimport diff from './diff';\n\nexport default function diffClamp(a, minVal, maxVal) {\n const value = new AnimatedValue();\n return set(\n value,\n min(max(add(cond(defined(value), value, a), diff(a)), minVal), maxVal)\n );\n}\n","import { processColor } from 'react-native';\nimport { round } from '../base';\nimport color from './color';\nimport interpolate, { Extrapolate } from './interpolate';\n\nfunction red(c) {\n return (c >> 16) & 255;\n}\nfunction green(c) {\n return (c >> 8) & 255;\n}\nfunction blue(c) {\n return c & 255;\n}\nfunction opacity(c) {\n return ((c >> 24) & 255) / 255;\n}\n\n/**\n * Use this if you want to interpolate an `Animated.Value` into color values.\n *\n * #### Why is this needed?\n *\n * Unfortunately, if you'll pass color values directly into the `outputRange` option\n * of `interpolate()` function, that won't really work (at least at the moment).\n * See https://github.com/software-mansion/react-native-reanimated/issues/181 .\n *\n * So, for now you can just use this helper instead.\n */\nexport default function interpolateColors(animationValue, options) {\n const { inputRange, outputColorRange } = options;\n const colors = outputColorRange.map(processColor);\n\n const r = round(\n interpolate(animationValue, {\n inputRange,\n outputRange: colors.map(red),\n extrapolate: Extrapolate.CLAMP,\n })\n );\n const g = round(\n interpolate(animationValue, {\n inputRange,\n outputRange: colors.map(green),\n extrapolate: Extrapolate.CLAMP,\n })\n );\n const b = round(\n interpolate(animationValue, {\n inputRange,\n outputRange: colors.map(blue),\n extrapolate: Extrapolate.CLAMP,\n })\n );\n const a = interpolate(animationValue, {\n inputRange,\n outputRange: colors.map(opacity),\n extrapolate: Extrapolate.CLAMP,\n });\n\n return color(r, g, b, a);\n}\n","import { block, cond, defined, neq, not, set, proc } from '../base';\nimport AnimatedValue from '../core/InternalAnimatedValue';\n\nconst procOnChange = proc(function (value, action, prevValue) {\n return block([\n cond(not(defined(prevValue)), set(prevValue, value)),\n cond(neq(value, prevValue), [set(prevValue, value), action]),\n ]);\n});\n\nexport default function onChange(value, action) {\n const prevValue = new AnimatedValue();\n return procOnChange(value, action, prevValue);\n}\n","import ReanimatedFlatlist from './FlatList';\nimport WrappedComponents from './WrappedComponents';\n\nconst ReanimatedComponents = {\n ...WrappedComponents,\n FlatList: ReanimatedFlatlist,\n};\n\nexport default ReanimatedComponents;\n","import React from 'react';\nimport { FlatList, FlatListProps, LayoutChangeEvent } from 'react-native';\nimport WrappedComponents from './WrappedComponents';\nimport createAnimatedComponent from '../../createAnimatedComponent';\nimport { ILayoutAnimationBuilder } from '../layoutReanimation/animationBuilder/commonTypes';\n\nconst AnimatedFlatList = createAnimatedComponent(FlatList as any) as any;\n\nconst createCellRenderer = (itemLayoutAnimation?: ILayoutAnimationBuilder) => {\n const cellRenderer: React.FC<{\n onLayout: (event: LayoutChangeEvent) => void;\n }> = (props) => {\n return (\n \n {props.children}\n \n );\n };\n\n return cellRenderer;\n};\n\ninterface ReanimatedFlatlistProps extends FlatListProps {\n itemLayoutAnimation?: ILayoutAnimationBuilder;\n}\n\ntype ReanimatedFlatListFC = React.FC>;\n\nconst ReanimatedFlatlist: ReanimatedFlatListFC = ({\n itemLayoutAnimation,\n ...restProps\n}) => {\n const cellRenderer = React.useMemo(\n () => createCellRenderer(itemLayoutAnimation),\n []\n );\n return (\n \n );\n};\n\nexport default ReanimatedFlatlist;\n","import { Image, ScrollView, Text, View } from 'react-native';\nimport createAnimatedComponent from '../../createAnimatedComponent';\n\nconst WrappedComponents = {\n View: createAnimatedComponent(View),\n Text: createAnimatedComponent(Text as any),\n Image: createAnimatedComponent(Image as any),\n ScrollView: createAnimatedComponent(ScrollView),\n};\n\nexport default WrappedComponents;\n","export * from './core';\nexport * from './hook';\nexport * from './animation';\nexport * from './interpolation';\nexport * from './interpolateColor';\nexport * from './Easing';\nexport * from './NativeMethods';\nexport * from './Colors';\nexport * from './PropAdapters';\nexport * from './layoutReanimation';\nexport * from './utils';\nexport * from './commonTypes';\n","export { DependencyList, Context } from './commonTypes';\nexport {\n useAnimatedProps,\n useEvent,\n useHandler,\n useWorkletCallback,\n} from './Hooks';\nexport { useSharedValue } from './useSharedValue';\nexport { useAnimatedStyle, AnimatedStyleResult } from './useAnimatedStyle';\nexport {\n useAnimatedGestureHandler,\n GestureHandlerEvent,\n GestureHandlers,\n} from './useAnimatedGestureHandler';\nexport {\n useAnimatedReaction,\n AnimatedReactionWorkletFunction,\n} from './useAnimatedReaction';\nexport { useAnimatedRef } from './useAnimatedRef';\nexport {\n useAnimatedScrollHandler,\n ScrollHandler,\n ScrollHandlers,\n} from './useAnimatedScrollHandler';\nexport { useDerivedValue, DerivedValue } from './useDerivedValue';\n","export type DependencyList = Array | undefined;\n\nexport type Context = Record;\n\nexport interface ContextWithDependencies {\n context: TContext;\n savedDependencies: DependencyList;\n}\nexport interface Descriptor {\n tag: number;\n name: string;\n}\n\nexport interface RefObjectFunction {\n current: T | null;\n (component?: T): number;\n}\n","import { useCallback } from 'react';\nimport { DependencyList } from './commonTypes';\nimport { useAnimatedStyle } from './useAnimatedStyle';\n\n// TODO: we should make sure that when useAP is used we are not assigning styles\n// when you need styles to animated you should always use useAS\nexport const useAnimatedProps = useAnimatedStyle;\n\nexport function useWorkletCallback(\n fun: (...args: A) => R,\n deps?: DependencyList\n): (...args: Parameters) => R {\n return useCallback(fun, deps ?? []);\n}\n\nexport { useEvent, useHandler } from './utils';\n","/* global _frameTimestamp */\nimport { MutableRefObject, useEffect, useRef } from 'react';\n\nimport {\n startMapper,\n stopMapper,\n makeRemote,\n requestFrame,\n getTimestamp,\n makeMutable,\n} from '../core';\nimport updateProps, { updatePropsJestWrapper } from '../UpdateProps';\nimport { initialUpdaterRun } from '../animation';\nimport NativeReanimatedModule from '../NativeReanimated';\nimport { useSharedValue } from './useSharedValue';\nimport {\n buildWorkletsHash,\n canApplyOptimalisation,\n getStyleWithoutAnimations,\n hasColorProps,\n isAnimated,\n parseColors,\n styleDiff,\n validateAnimatedStyles,\n} from './utils';\nimport { DependencyList, Descriptor } from './commonTypes';\nimport {\n makeViewDescriptorsSet,\n makeViewsRefSet,\n ViewDescriptorsSet,\n ViewRefSet,\n} from '../ViewDescriptorsSet';\nimport { isJest, shouldBeUseWeb } from '../PlatformChecker';\nimport {\n AnimationObject,\n Timestamp,\n AdapterWorkletFunction,\n AnimatedStyle,\n BasicWorkletFunction,\n BasicWorkletFunctionOptional,\n NestedObjectValues,\n SharedValue,\n} from '../commonTypes';\nexport interface AnimatedStyleResult {\n viewDescriptors: ViewDescriptorsSet;\n initial: AnimatedStyle;\n viewsRef: ViewRefSet;\n animatedStyle?: MutableRefObject;\n}\n\ninterface AnimatedState {\n last: AnimatedStyle;\n animations: AnimatedStyle;\n isAnimationRunning: boolean;\n isAnimationCancelled: boolean;\n}\n\ninterface AnimationRef {\n initial: {\n value: AnimatedStyle;\n updater: () => AnimatedStyle;\n };\n remoteState: AnimatedState;\n sharableViewDescriptors: SharedValue;\n}\n\nfunction prepareAnimation(\n animatedProp: AnimatedStyle,\n lastAnimation: AnimatedStyle,\n lastValue: AnimatedStyle\n): void {\n 'worklet';\n if (Array.isArray(animatedProp)) {\n animatedProp.forEach((prop, index) =>\n prepareAnimation(\n prop,\n lastAnimation && lastAnimation[index],\n lastValue && lastValue[index]\n )\n );\n // return animatedProp;\n }\n if (typeof animatedProp === 'object' && animatedProp.onFrame) {\n const animation = animatedProp;\n\n let value = animation.current;\n if (lastValue !== undefined) {\n if (typeof lastValue === 'object') {\n if (lastValue.value !== undefined) {\n // previously it was a shared value\n value = lastValue.value;\n } else if (lastValue.onFrame !== undefined) {\n if (lastAnimation?.current !== undefined) {\n // it was an animation before, copy its state\n value = lastAnimation.current;\n } else if (lastValue?.current !== undefined) {\n // it was initialized\n value = lastValue.current;\n }\n }\n } else {\n // previously it was a plain value, just set it as starting point\n value = lastValue;\n }\n }\n\n animation.callStart = (timestamp: Timestamp) => {\n animation.onStart(animation, value, timestamp, lastAnimation);\n };\n animation.callStart(getTimestamp());\n animation.callStart = null;\n } else if (typeof animatedProp === 'object') {\n // it is an object\n Object.keys(animatedProp).forEach((key) =>\n prepareAnimation(\n animatedProp[key],\n lastAnimation && lastAnimation[key],\n lastValue && lastValue[key]\n )\n );\n }\n}\n\nfunction runAnimations(\n animation: AnimatedStyle,\n timestamp: Timestamp,\n key: number | string,\n result: AnimatedStyle,\n animationsActive: SharedValue\n): boolean {\n 'worklet';\n if (!animationsActive.value) {\n return true;\n }\n if (Array.isArray(animation)) {\n result[key] = [];\n let allFinished = true;\n animation.forEach((entry, index) => {\n if (\n !runAnimations(entry, timestamp, index, result[key], animationsActive)\n ) {\n allFinished = false;\n }\n });\n return allFinished;\n } else if (typeof animation === 'object' && animation.onFrame) {\n let finished = true;\n if (!animation.finished) {\n if (animation.callStart) {\n animation.callStart(timestamp);\n animation.callStart = null;\n }\n finished = animation.onFrame(animation, timestamp);\n animation.timestamp = timestamp;\n if (finished) {\n animation.finished = true;\n animation.callback && animation.callback(true /* finished */);\n }\n }\n result[key] = animation.current;\n return finished;\n } else if (typeof animation === 'object') {\n result[key] = {};\n let allFinished = true;\n Object.keys(animation).forEach((k) => {\n if (\n !runAnimations(\n animation[k],\n timestamp,\n k,\n result[key],\n animationsActive\n )\n ) {\n allFinished = false;\n }\n });\n return allFinished;\n } else {\n result[key] = animation;\n return true;\n }\n}\n\nfunction styleUpdater(\n viewDescriptors: SharedValue,\n updater: BasicWorkletFunction,\n state: AnimatedState,\n maybeViewRef: ViewRefSet | undefined,\n animationsActive: SharedValue\n): void {\n 'worklet';\n const animations = state.animations ?? {};\n const newValues = updater() ?? {};\n const oldValues = state.last;\n\n let hasAnimations = false;\n for (const key in newValues) {\n const value = newValues[key];\n if (isAnimated(value)) {\n prepareAnimation(value, animations[key], oldValues[key]);\n animations[key] = value;\n hasAnimations = true;\n } else {\n delete animations[key];\n }\n }\n\n if (hasAnimations) {\n const frame = (timestamp: Timestamp) => {\n const { animations, last, isAnimationCancelled } = state;\n if (isAnimationCancelled) {\n state.isAnimationRunning = false;\n return;\n }\n\n const updates: AnimatedStyle = {};\n let allFinished = true;\n for (const propName in animations) {\n const finished = runAnimations(\n animations[propName],\n timestamp,\n propName,\n updates,\n animationsActive\n );\n if (finished) {\n last[propName] = updates[propName];\n delete animations[propName];\n } else {\n allFinished = false;\n }\n }\n\n if (updates) {\n updateProps(viewDescriptors, updates, maybeViewRef);\n }\n\n if (!allFinished) {\n requestFrame(frame);\n } else {\n state.isAnimationRunning = false;\n }\n };\n\n state.animations = animations;\n if (!state.isAnimationRunning) {\n state.isAnimationCancelled = false;\n state.isAnimationRunning = true;\n if (_frameTimestamp) {\n frame(_frameTimestamp);\n } else {\n requestFrame(frame);\n }\n }\n state.last = Object.assign({}, oldValues, newValues);\n const style = getStyleWithoutAnimations(state.last);\n if (style) {\n updateProps(viewDescriptors, style, maybeViewRef);\n }\n } else {\n state.isAnimationCancelled = true;\n state.animations = [];\n\n const diff = styleDiff(oldValues, newValues);\n state.last = Object.assign({}, oldValues, newValues);\n if (diff) {\n updateProps(viewDescriptors, newValues, maybeViewRef);\n }\n }\n}\n\nfunction jestStyleUpdater(\n viewDescriptors: SharedValue,\n updater: BasicWorkletFunction,\n state: AnimatedState,\n maybeViewRef: ViewRefSet | undefined,\n animationsActive: SharedValue,\n animatedStyle: MutableRefObject,\n adapters: AdapterWorkletFunction[] = []\n): void {\n 'worklet';\n const animations: AnimatedStyle = state.animations ?? {};\n const newValues = updater() ?? {};\n const oldValues = state.last;\n\n // extract animated props\n let hasAnimations = false;\n Object.keys(animations).forEach((key) => {\n const value = newValues[key];\n if (!isAnimated(value)) {\n delete animations[key];\n }\n });\n Object.keys(newValues).forEach((key) => {\n const value = newValues[key];\n if (isAnimated(value)) {\n prepareAnimation(value, animations[key], oldValues[key]);\n animations[key] = value;\n hasAnimations = true;\n }\n });\n\n function frame(timestamp: Timestamp) {\n const { animations, last, isAnimationCancelled } = state;\n if (isAnimationCancelled) {\n state.isAnimationRunning = false;\n return;\n }\n\n const updates: AnimatedStyle = {};\n let allFinished = true;\n Object.keys(animations).forEach((propName) => {\n const finished = runAnimations(\n animations[propName],\n timestamp,\n propName,\n updates,\n animationsActive\n );\n if (finished) {\n last[propName] = updates[propName];\n delete animations[propName];\n } else {\n allFinished = false;\n }\n });\n\n if (Object.keys(updates).length) {\n updatePropsJestWrapper(\n viewDescriptors,\n updates,\n maybeViewRef,\n animatedStyle,\n adapters\n );\n }\n\n if (!allFinished) {\n requestFrame(frame);\n } else {\n state.isAnimationRunning = false;\n }\n }\n\n if (hasAnimations) {\n state.animations = animations;\n if (!state.isAnimationRunning) {\n state.isAnimationCancelled = false;\n state.isAnimationRunning = true;\n if (_frameTimestamp) {\n frame(_frameTimestamp);\n } else {\n requestFrame(frame);\n }\n }\n } else {\n state.isAnimationCancelled = true;\n state.animations = [];\n }\n\n // calculate diff\n const diff = styleDiff(oldValues, newValues);\n state.last = Object.assign({}, oldValues, newValues);\n\n if (Object.keys(diff).length !== 0) {\n updatePropsJestWrapper(\n viewDescriptors,\n diff,\n maybeViewRef,\n animatedStyle,\n adapters\n );\n }\n}\n\n// check for invalid usage of shared values in returned object\nfunction checkSharedValueUsage(\n prop: NestedObjectValues,\n currentKey?: string\n): void {\n if (Array.isArray(prop)) {\n // if it's an array (i.ex. transform) validate all its elements\n for (const element of prop) {\n checkSharedValueUsage(element, currentKey);\n }\n } else if (typeof prop === 'object' && prop.value === undefined) {\n // if it's a nested object, run validation for all its props\n for (const key of Object.keys(prop)) {\n checkSharedValueUsage(prop[key], key);\n }\n } else if (\n currentKey !== undefined &&\n typeof prop === 'object' &&\n prop.value !== undefined\n ) {\n // if shared value is passed insted of its value, throw an error\n throw new Error(\n `invalid value passed to \\`${currentKey}\\`, maybe you forgot to use \\`.value\\`?`\n );\n }\n}\n\nexport function useAnimatedStyle(\n updater: BasicWorkletFunction,\n dependencies?: DependencyList,\n adapters?: AdapterWorkletFunction | AdapterWorkletFunction[]\n): AnimatedStyleResult {\n const viewsRef: ViewRefSet = makeViewsRefSet();\n const viewDescriptors: ViewDescriptorsSet = makeViewDescriptorsSet();\n const initRef = useRef();\n const inputs = Object.values(updater._closure ?? {});\n const adaptersArray: AdapterWorkletFunction[] = adapters\n ? Array.isArray(adapters)\n ? adapters\n : [adapters]\n : [];\n const adaptersHash = adapters ? buildWorkletsHash(adaptersArray) : null;\n const animationsActive = useSharedValue(true);\n const animatedStyle: MutableRefObject = useRef(\n {}\n );\n\n // build dependencies\n if (!dependencies) {\n dependencies = [...inputs, updater.__workletHash];\n } else {\n dependencies.push(updater.__workletHash);\n }\n adaptersHash && dependencies.push(adaptersHash);\n\n if (!initRef.current) {\n const initialStyle: AnimatedStyle = initialUpdaterRun(updater);\n validateAnimatedStyles(initialStyle);\n initRef.current = {\n initial: {\n value: initialStyle,\n updater: updater,\n },\n remoteState: makeRemote({ last: initialStyle }),\n sharableViewDescriptors: makeMutable([]),\n };\n viewDescriptors.rebuildsharableViewDescriptors(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n initRef.current!.sharableViewDescriptors\n );\n }\n dependencies.push(initRef.current?.sharableViewDescriptors.value);\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const { initial, remoteState, sharableViewDescriptors } = initRef.current!;\n const maybeViewRef = NativeReanimatedModule.native ? undefined : viewsRef;\n\n useEffect(() => {\n let fun;\n let updaterFn = updater as BasicWorkletFunctionOptional;\n let optimalization = updater.__optimalization;\n if (adapters) {\n updaterFn = () => {\n 'worklet';\n const newValues = updater();\n adaptersArray.forEach((adapter) => {\n adapter(newValues);\n });\n return newValues;\n };\n }\n\n if (canApplyOptimalisation(updaterFn) && !shouldBeUseWeb()) {\n if (hasColorProps(updaterFn())) {\n updaterFn = () => {\n 'worklet';\n const newValues = updaterFn();\n const oldValues = remoteState.last;\n const diff = styleDiff(oldValues, newValues);\n remoteState.last = Object.assign({}, oldValues, newValues);\n parseColors(diff);\n return diff;\n };\n } else {\n updaterFn = () => {\n 'worklet';\n const newValues = updaterFn();\n const oldValues = remoteState.last;\n const diff = styleDiff(oldValues, newValues);\n remoteState.last = Object.assign({}, oldValues, newValues);\n return diff;\n };\n }\n } else if (!shouldBeUseWeb()) {\n optimalization = 0;\n updaterFn = () => {\n 'worklet';\n const style = updaterFn();\n parseColors(style);\n return style;\n };\n }\n if (typeof updater.__optimalization !== undefined) {\n updaterFn.__optimalization = optimalization;\n }\n\n if (isJest()) {\n fun = () => {\n 'worklet';\n jestStyleUpdater(\n sharableViewDescriptors,\n updater,\n remoteState,\n maybeViewRef,\n animationsActive,\n animatedStyle,\n adaptersArray\n );\n };\n } else {\n fun = () => {\n 'worklet';\n styleUpdater(\n sharableViewDescriptors,\n updaterFn,\n remoteState,\n maybeViewRef,\n animationsActive\n );\n };\n }\n const mapperId = startMapper(\n fun,\n inputs,\n [],\n updaterFn,\n // TODO fix this\n sharableViewDescriptors\n );\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n\n useEffect(() => {\n animationsActive.value = true;\n return () => {\n // initRef.current = null;\n // viewsRef = null;\n animationsActive.value = false;\n };\n }, []);\n\n checkSharedValueUsage(initial.value);\n\n if (process.env.JEST_WORKER_ID) {\n return { viewDescriptors, initial: initial, viewsRef, animatedStyle };\n } else {\n return { viewDescriptors, initial: initial, viewsRef };\n }\n}\n","import { useEffect, useRef } from 'react';\nimport { cancelAnimation } from '../animation';\nimport { SharedValue } from '../commonTypes';\nimport { makeMutable } from '../core';\n\nexport function useSharedValue(init: T): SharedValue {\n const ref = useRef>(makeMutable(init));\n\n if (ref.current === null) {\n ref.current = makeMutable(init);\n }\n\n useEffect(() => {\n return () => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n cancelAnimation(ref.current!);\n };\n }, []);\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return ref.current!;\n}\n","import { MutableRefObject, useEffect, useRef } from 'react';\nimport { processColor } from '../Colors';\nimport {\n AnimatedStyle,\n NativeEvent,\n NestedObjectValues,\n StyleProps,\n WorkletFunction,\n AnimationObject,\n} from '../commonTypes';\nimport { makeRemote } from '../core';\nimport { isWeb, isJest } from '../PlatformChecker';\nimport { colorProps } from '../UpdateProps';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport {\n Context,\n ContextWithDependencies,\n DependencyList,\n} from './commonTypes';\n\ninterface Handler extends WorkletFunction {\n (event: T, context: TContext): void;\n}\n\ninterface Handlers {\n [key: string]: Handler | undefined;\n}\n\nexport interface UseHandlerContext {\n context: TContext;\n doDependenciesDiffer: boolean;\n useWeb: boolean;\n}\n\nexport function useEvent>(\n handler: (event: T) => void,\n eventNames: string[] = [],\n rebuild = false\n): MutableRefObject | null> {\n const initRef = useRef | null>(null);\n if (initRef.current === null) {\n initRef.current = new WorkletEventHandler(handler, eventNames);\n } else if (rebuild) {\n initRef.current.updateWorklet(handler);\n }\n\n useEffect(() => {\n return () => {\n initRef.current = null;\n };\n }, []);\n\n return initRef;\n}\n\nexport function useHandler(\n handlers: Handlers,\n dependencies?: DependencyList\n): UseHandlerContext {\n const initRef = useRef | null>(null);\n if (initRef.current === null) {\n initRef.current = {\n context: makeRemote({}),\n savedDependencies: [],\n };\n }\n\n useEffect(() => {\n return () => {\n initRef.current = null;\n };\n }, []);\n\n const { context, savedDependencies } = initRef.current;\n\n dependencies = buildDependencies(dependencies, handlers);\n\n const doDependenciesDiffer = !areDependenciesEqual(\n dependencies,\n savedDependencies\n );\n initRef.current.savedDependencies = dependencies;\n const useWeb = isWeb() || isJest();\n\n return { context, doDependenciesDiffer, useWeb };\n}\n\n// builds one big hash from multiple worklets' hashes\nexport function buildWorkletsHash(\n handlers: Record | Array\n): string {\n return Object.values(handlers).reduce(\n (acc: string, worklet: WorkletFunction) =>\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n acc + worklet.__workletHash!.toString(),\n ''\n );\n}\n\n// builds dependencies array for gesture handlers\nexport function buildDependencies(\n dependencies: DependencyList,\n handlers: Record\n): Array {\n const handlersList: WorkletFunction[] = Object.values(handlers).filter(\n (handler) => handler !== undefined\n ) as WorkletFunction[];\n if (!dependencies) {\n dependencies = handlersList.map((handler) => {\n return {\n workletHash: handler.__workletHash,\n closure: handler._closure,\n };\n });\n } else {\n dependencies.push(buildWorkletsHash(handlersList));\n }\n return dependencies;\n}\n\n// this is supposed to work as useEffect comparison\nexport function areDependenciesEqual(\n nextDeps: DependencyList,\n prevDeps: DependencyList\n): boolean {\n function is(x: number, y: number) {\n /* eslint-disable no-self-compare */\n return (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y);\n /* eslint-enable no-self-compare */\n }\n const objectIs: (nextDeps: unknown, prevDeps: unknown) => boolean =\n typeof Object.is === 'function' ? Object.is : is;\n\n function areHookInputsEqual(\n nextDeps: DependencyList,\n prevDeps: DependencyList\n ): boolean {\n if (!nextDeps || !prevDeps || prevDeps.length !== nextDeps.length) {\n return false;\n }\n for (let i = 0; i < prevDeps.length; ++i) {\n if (!objectIs(nextDeps[i], prevDeps[i])) {\n return false;\n }\n }\n return true;\n }\n\n return areHookInputsEqual(nextDeps, prevDeps);\n}\n\nexport function hasColorProps(updates: AnimatedStyle): boolean {\n const colorPropsSet = new Set(colorProps);\n for (const key in updates) {\n if (colorPropsSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n\nexport function parseColors(updates: AnimatedStyle): void {\n 'worklet';\n for (const key in updates) {\n if (colorProps.indexOf(key) !== -1) {\n // value could be an animation in which case processColor will recognize it and will return undefined\n // -> in such a case we don't want to override style of that key\n const processedColor = processColor(updates[key]);\n if (processedColor !== undefined) {\n updates[key] = processedColor;\n }\n }\n }\n}\n\nexport function canApplyOptimalisation(upadterFn: WorkletFunction): number {\n const FUNCTIONLESS_FLAG = 0b00000001;\n const STATEMENTLESS_FLAG = 0b00000010;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const optimalization = upadterFn.__optimalization!;\n return (\n optimalization & FUNCTIONLESS_FLAG && optimalization & STATEMENTLESS_FLAG\n );\n}\n\nexport function isAnimated(prop: NestedObjectValues): boolean {\n 'worklet';\n const propsToCheck: NestedObjectValues[] = [prop];\n while (propsToCheck.length > 0) {\n const currentProp: NestedObjectValues = propsToCheck.pop() as NestedObjectValues;\n if (Array.isArray(currentProp)) {\n for (const item of currentProp) {\n propsToCheck.push(item);\n }\n } else if (currentProp?.onFrame !== undefined) {\n return true;\n } else if (typeof currentProp === 'object') {\n for (const item of Object.values(currentProp)) {\n propsToCheck.push(item);\n }\n }\n // if none of the above, it's not the animated prop, check next one\n }\n\n // when none of the props were animated return false\n return false;\n}\n\nexport function styleDiff(\n oldStyle: AnimatedStyle,\n newStyle: AnimatedStyle\n): Partial {\n 'worklet';\n const diff: any = {};\n for (const key in oldStyle) {\n if (newStyle[key] === undefined) {\n diff[key] = null;\n }\n }\n for (const key in newStyle) {\n const value = newStyle[key];\n const oldValue = oldStyle[key];\n\n if (isAnimated(value)) {\n // do nothing\n continue;\n }\n if (oldValue !== value) {\n diff[key] = value;\n }\n }\n return diff;\n}\n\nexport function getStyleWithoutAnimations(newStyle: AnimatedStyle): StyleProps {\n 'worklet';\n const diff: StyleProps = {};\n\n for (const key in newStyle) {\n const value = newStyle[key];\n if (isAnimated(value)) {\n continue;\n }\n diff[key] = value;\n }\n return diff;\n}\n\nexport const validateAnimatedStyles = (styles: AnimatedStyle): void => {\n 'worklet';\n if (typeof styles !== 'object') {\n throw new Error(\n `useAnimatedStyle has to return an object, found ${typeof styles} instead`\n );\n } else if (Array.isArray(styles)) {\n throw new Error(\n 'useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.'\n );\n }\n};\n","import { useRef } from 'react';\nimport { makeMutable } from './core';\nimport { SharedValue } from './commonTypes';\nimport { Descriptor } from './hook/commonTypes';\nimport { Platform } from 'react-native';\n\nexport interface ViewRefSet {\n items: Set;\n add: (item: T) => void;\n remove: (item: T) => void;\n}\n\nexport interface ViewDescriptorsSet {\n batchToRemove: Set;\n tags: Set;\n waitForInsertSync: boolean;\n waitForRemoveSync: boolean;\n sharableViewDescriptors: SharedValue;\n items: Descriptor[];\n add: (item: Descriptor) => void;\n remove: (viewTag: number) => void;\n rebuildsharableViewDescriptors: (\n sharableViewDescriptor: SharedValue\n ) => void;\n}\n\nconst scheduleUpdates =\n Platform.OS === 'web' ? requestAnimationFrame : setImmediate;\n\nexport function makeViewDescriptorsSet(): ViewDescriptorsSet {\n const ref = useRef(null);\n if (ref.current === null) {\n const data: ViewDescriptorsSet = {\n batchToRemove: new Set(),\n tags: new Set(),\n waitForInsertSync: false,\n waitForRemoveSync: false,\n sharableViewDescriptors: makeMutable([]),\n items: [],\n\n add: (item: Descriptor) => {\n if (data.tags.has(item.tag)) {\n return;\n }\n data.tags.add(item.tag);\n data.items.push(item);\n\n if (!data.waitForInsertSync) {\n data.waitForInsertSync = true;\n\n scheduleUpdates(() => {\n data.sharableViewDescriptors.value = data.items;\n data.waitForInsertSync = false;\n });\n }\n },\n\n remove: (viewTag: number) => {\n data.batchToRemove.add(viewTag);\n\n if (!data.waitForRemoveSync) {\n data.waitForRemoveSync = true;\n\n scheduleUpdates(() => {\n const items = [];\n for (const item of data.items) {\n if (data.batchToRemove.has(item.tag)) {\n data.tags.delete(item.tag);\n } else {\n items.push(item);\n }\n }\n data.items = items;\n data.sharableViewDescriptors.value = items;\n data.batchToRemove = new Set();\n data.waitForRemoveSync = false;\n });\n }\n },\n\n rebuildsharableViewDescriptors: (\n sharableViewDescriptors: SharedValue\n ) => {\n data.sharableViewDescriptors = sharableViewDescriptors;\n },\n };\n ref.current = data;\n }\n\n return ref.current;\n}\n\nexport function makeViewsRefSet(): ViewRefSet {\n const ref = useRef | null>(null);\n if (ref.current === null) {\n const data: ViewRefSet = {\n items: new Set(),\n\n add: (item: T) => {\n if (data.items.has(item)) return;\n data.items.add(item);\n },\n\n remove: (item: T) => {\n data.items.delete(item);\n },\n };\n ref.current = data;\n }\n\n return ref.current;\n}\n","import { MutableRefObject } from 'react';\nimport { WorkletFunction } from '../commonTypes';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport { Context, DependencyList } from './commonTypes';\nimport { useEvent, useHandler } from './Hooks';\n\ninterface Handler extends WorkletFunction {\n (event: T, context: TContext, isCanceledOrFailed?: boolean): void;\n}\n\nexport interface GestureHandlers {\n [key: string]: Handler | undefined;\n onStart?: Handler;\n onActive?: Handler;\n onEnd?: Handler;\n onFail?: Handler;\n onCancel?: Handler;\n onFinish?: Handler;\n}\n\nexport enum EventType {\n UNDETERMINED = 0,\n FAILED,\n BEGAN,\n CANCELLED,\n ACTIVE,\n END,\n}\n\nexport interface GestureHandlerStateChangeNativeEvent {\n handlerTag: number;\n numberOfPointers: number;\n state: EventType;\n oldState: EventType;\n}\n\nexport interface GestureHandlerEvent\n extends GestureHandlerStateChangeNativeEvent {\n nativeEvent: T;\n}\n\nexport function useAnimatedGestureHandler<\n T extends GestureHandlerEvent,\n TContext extends Context\n>(\n handlers: GestureHandlers,\n dependencies?: DependencyList\n): MutableRefObject | null> | ((e: T) => void) {\n const { context, doDependenciesDiffer, useWeb } = useHandler(\n handlers,\n dependencies\n );\n\n const handler = (e: T) => {\n 'worklet';\n const event = useWeb ? e.nativeEvent : e;\n\n if (event.state === EventType.BEGAN && handlers.onStart) {\n handlers.onStart(event, context);\n }\n if (event.state === EventType.ACTIVE && handlers.onActive) {\n handlers.onActive(event, context);\n }\n if (\n event.oldState === EventType.ACTIVE &&\n event.state === EventType.END &&\n handlers.onEnd\n ) {\n handlers.onEnd(event, context);\n }\n if (\n event.oldState === EventType.BEGAN &&\n event.state === EventType.FAILED &&\n handlers.onFail\n ) {\n handlers.onFail(event, context);\n }\n if (\n event.oldState === EventType.ACTIVE &&\n event.state === EventType.CANCELLED &&\n handlers.onCancel\n ) {\n handlers.onCancel(event, context);\n }\n if (\n (event.oldState === EventType.BEGAN ||\n event.oldState === EventType.ACTIVE) &&\n event.state !== EventType.BEGAN &&\n event.state !== EventType.ACTIVE &&\n handlers.onFinish\n ) {\n handlers.onFinish(\n event,\n context,\n event.state === EventType.CANCELLED || event.state === EventType.FAILED\n );\n }\n };\n\n if (useWeb) {\n return handler;\n }\n\n return useEvent(\n handler,\n ['onGestureHandlerStateChange', 'onGestureHandlerEvent'],\n doDependenciesDiffer\n );\n}\n","import { useEffect } from 'react';\nimport { BasicWorkletFunction, WorkletFunction } from '../commonTypes';\nimport { startMapper, stopMapper } from '../core';\nimport { DependencyList } from './commonTypes';\nimport { useSharedValue } from './useSharedValue';\n\nexport interface AnimatedReactionWorkletFunction extends WorkletFunction {\n (prepared: T, previous: T | null): void;\n}\n/**\n * @param prepare - worklet used for data preparation for the second parameter\n * @param react - worklet which takes data prepared by the one in the first parameter and performs certain actions\n * the first worklet defines the inputs, in other words on which shared values change will it be called.\n * the second one can modify any shared values but those which are mentioned in the first worklet. Beware of that, because this may result in endless loop and high cpu usage.\n */\nexport function useAnimatedReaction(\n prepare: BasicWorkletFunction,\n react: AnimatedReactionWorkletFunction,\n dependencies: DependencyList\n): void {\n const previous = useSharedValue(null);\n if (dependencies === undefined) {\n dependencies = [\n Object.values(prepare._closure ?? {}),\n Object.values(react._closure ?? {}),\n prepare.__workletHash,\n react.__workletHash,\n ];\n } else {\n dependencies.push(prepare.__workletHash, react.__workletHash);\n }\n\n useEffect(() => {\n const fun = () => {\n 'worklet';\n const input = prepare();\n react(input, previous.value);\n previous.value = input;\n };\n const mapperId = startMapper(\n fun,\n Object.values(prepare._closure ?? {}),\n []\n );\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n}\n","import { Component, useRef } from 'react';\nimport { getTag } from '../NativeMethods';\nimport { useSharedValue } from './useSharedValue';\nimport { RefObjectFunction } from './commonTypes';\n\nexport function useAnimatedRef(): RefObjectFunction {\n const tag = useSharedValue(-1);\n const ref = useRef>();\n\n if (!ref.current) {\n const fun: RefObjectFunction = >((component) => {\n 'worklet';\n // enters when ref is set by attaching to a component\n if (component) {\n tag.value = getTag(component);\n fun.current = component;\n }\n return tag.value;\n });\n\n Object.defineProperty(fun, 'current', {\n value: null,\n writable: true,\n enumerable: false,\n });\n ref.current = fun;\n }\n\n return ref.current;\n}\n","/* global _WORKLET _measure _scrollTo _setGestureState */\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { Component } from 'react';\nimport { findNodeHandle } from 'react-native';\nimport { RefObjectFunction } from './commonTypes';\nimport { shouldBeUseWeb } from './PlatformChecker';\n\nexport function getTag(\n view: null | number | React.Component | React.ComponentClass\n): null | number {\n return findNodeHandle(view);\n}\n\nexport interface MeasuredDimensions {\n x: number;\n y: number;\n width: number;\n height: number;\n pageX: number;\n pageY: number;\n}\n\nconst isNativeIndefined = shouldBeUseWeb();\n\nexport function measure(\n animatedRef: RefObjectFunction\n): MeasuredDimensions {\n 'worklet';\n if (!_WORKLET || isNativeIndefined) {\n console.warn(\n '[reanimated.measure] method cannot be used for web or Chrome Debugger'\n );\n return {\n x: NaN,\n y: NaN,\n width: NaN,\n height: NaN,\n pageX: NaN,\n pageY: NaN,\n };\n }\n const viewTag = animatedRef();\n const result = _measure(viewTag);\n if (result.x === -1234567) {\n throw new Error(`The view with tag ${viewTag} could not be measured`);\n }\n return result;\n}\n\nexport function scrollTo(\n animatedRef: RefObjectFunction,\n x: number,\n y: number,\n animated: boolean\n): void {\n 'worklet';\n if (!_WORKLET || isNativeIndefined) {\n return;\n }\n const viewTag = animatedRef();\n _scrollTo(viewTag, x, y, animated);\n}\n\nexport function setGestureState(handlerTag: number, newState: number): void {\n 'worklet';\n if (!_WORKLET || isNativeIndefined) {\n console.warn(\n '[Reanimated] You can not use setGestureState in non-worklet function.'\n );\n return;\n }\n _setGestureState(handlerTag, newState);\n}\n","import { RefObject } from 'react';\nimport { NativeScrollEvent } from 'react-native';\nimport { NativeEvent, WorkletFunction } from '../commonTypes';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport { Context, DependencyList } from './commonTypes';\nimport { useEvent, useHandler } from './Hooks';\n\nexport interface ScrollHandler\n extends WorkletFunction {\n (event: NativeScrollEvent, context?: TContext): void;\n}\n\ninterface ScrollEvent extends NativeScrollEvent, NativeEvent {\n eventName: string;\n}\nexport interface ScrollHandlers {\n [key: string]: ScrollHandler | undefined;\n onScroll?: ScrollHandler;\n onBeginDrag?: ScrollHandler;\n onEndDrag?: ScrollHandler;\n onMomentumBegin?: ScrollHandler;\n onMomentumEnd?: ScrollHandler;\n}\n\nexport function useAnimatedScrollHandler(\n handlers: ScrollHandlers | ScrollHandler,\n dependencies?: DependencyList\n): RefObject> {\n // case when handlers is a function\n const scrollHandlers: ScrollHandlers =\n typeof handlers === 'function' ? { onScroll: handlers } : handlers;\n const { context, doDependenciesDiffer } = useHandler(\n scrollHandlers,\n dependencies\n );\n\n // build event subscription array\n const subscribeForEvents = ['onScroll'];\n if (scrollHandlers.onBeginDrag !== undefined) {\n subscribeForEvents.push('onScrollBeginDrag');\n }\n if (scrollHandlers.onEndDrag !== undefined) {\n subscribeForEvents.push('onScrollEndDrag');\n }\n if (scrollHandlers.onMomentumBegin !== undefined) {\n subscribeForEvents.push('onMomentumScrollBegin');\n }\n if (scrollHandlers.onMomentumEnd !== undefined) {\n subscribeForEvents.push('onMomentumScrollEnd');\n }\n\n return useEvent(\n (event: ScrollEvent) => {\n 'worklet';\n const {\n onScroll,\n onBeginDrag,\n onEndDrag,\n onMomentumBegin,\n onMomentumEnd,\n } = scrollHandlers;\n if (onScroll && event.eventName.endsWith('onScroll')) {\n onScroll(event, context);\n } else if (onBeginDrag && event.eventName.endsWith('onScrollBeginDrag')) {\n onBeginDrag(event, context);\n } else if (onEndDrag && event.eventName.endsWith('onScrollEndDrag')) {\n onEndDrag(event, context);\n } else if (\n onMomentumBegin &&\n event.eventName.endsWith('onMomentumScrollBegin')\n ) {\n onMomentumBegin(event, context);\n } else if (\n onMomentumEnd &&\n event.eventName.endsWith('onMomentumScrollEnd')\n ) {\n onMomentumEnd(event, context);\n }\n },\n subscribeForEvents,\n doDependenciesDiffer\n );\n}\n","import { useEffect, useRef } from 'react';\nimport { initialUpdaterRun } from '../animation';\nimport { BasicWorkletFunction, SharedValue } from '../commonTypes';\nimport { makeMutable, startMapper, stopMapper } from '../core';\nimport { DependencyList } from './commonTypes';\n\nexport type DerivedValue = Readonly>;\n\nexport function useDerivedValue(\n processor: BasicWorkletFunction,\n dependencies: DependencyList\n): DerivedValue {\n const initRef = useRef | null>(null);\n const inputs = Object.values(processor._closure ?? {});\n\n // build dependencies\n if (dependencies === undefined) {\n dependencies = [...inputs, processor.__workletHash];\n } else {\n dependencies.push(processor.__workletHash);\n }\n\n if (initRef.current === null) {\n initRef.current = makeMutable(initialUpdaterRun(processor));\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const sharedValue: SharedValue = initRef.current!;\n\n useEffect(() => {\n const fun = () => {\n 'worklet';\n sharedValue.value = processor();\n };\n const mapperId = startMapper(fun, inputs, [sharedValue]);\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n\n useEffect(() => {\n return () => {\n initRef.current = null;\n };\n }, []);\n\n return sharedValue;\n}\n","// @ts-ignore JS file\nimport interpolateNode from '../reanimated1/derived/interpolate';\n\nexport enum Extrapolation {\n IDENTITY = 'identity',\n CLAMP = 'clamp',\n EXTEND = 'extend',\n}\n\nexport interface InterpolatedNode {\n __nodeId: number;\n}\n\ninterface InterpolationNarrowedInput {\n leftEdgeInput: number;\n rightEdgeInput: number;\n leftEdgeOutput: number;\n rightEdgeOutput: number;\n}\n\nexport interface ExtrapolationConfig {\n extrapolateLeft?: Extrapolation | string;\n extrapolateRight?: Extrapolation | string;\n}\n\ninterface RequiredExtrapolationConfig {\n extrapolateLeft: Extrapolation;\n extrapolateRight: Extrapolation;\n}\n\nexport type ExtrapolationType =\n | ExtrapolationConfig\n | Extrapolation\n | string\n | undefined;\n\nfunction isNode(x: number | InterpolatedNode): x is InterpolatedNode {\n 'worklet';\n return (x as InterpolatedNode).__nodeId !== undefined;\n}\n\nfunction getVal(\n type: Extrapolation,\n coef: number,\n val: number,\n leftEdgeOutput: number,\n rightEdgeOutput: number,\n x: number\n): number {\n 'worklet';\n\n switch (type) {\n case Extrapolation.IDENTITY:\n return x;\n case Extrapolation.CLAMP:\n if (coef * val < coef * leftEdgeOutput) {\n return leftEdgeOutput;\n }\n return rightEdgeOutput;\n case Extrapolation.EXTEND:\n default:\n return val;\n }\n}\n\nfunction isExtrapolate(value: string): value is Extrapolation {\n 'worklet';\n\n return (\n value === Extrapolation.EXTEND ||\n value === Extrapolation.CLAMP ||\n value === Extrapolation.IDENTITY\n );\n}\n\n// validates extrapolations type\n// if type is correct, converts it to ExtrapolationConfig\nfunction validateType(type: ExtrapolationType): RequiredExtrapolationConfig {\n 'worklet';\n // initialize extrapolationConfig with default extrapolation\n const extrapolationConfig: RequiredExtrapolationConfig = {\n extrapolateLeft: Extrapolation.EXTEND,\n extrapolateRight: Extrapolation.EXTEND,\n };\n\n if (!type) {\n return extrapolationConfig;\n }\n\n if (typeof type === 'string') {\n if (!isExtrapolate(type)) {\n throw new Error(\n `Reanimated: not supported value for \"interpolate\" \\nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\n interpolate(value, [inputRange], [outputRange], \"clamp\")`\n );\n }\n extrapolationConfig.extrapolateLeft = type;\n extrapolationConfig.extrapolateRight = type;\n return extrapolationConfig;\n }\n\n // otherwise type is extrapolation config object\n if (\n (type.extrapolateLeft && !isExtrapolate(type.extrapolateLeft)) ||\n (type.extrapolateRight && !isExtrapolate(type.extrapolateRight))\n ) {\n throw new Error(\n `Reanimated: not supported value for \"interpolate\" \\nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\n interpolate(value, [inputRange], [outputRange], {\n extrapolateLeft: Extrapolation.CLAMP,\n extrapolateRight: Extrapolation.IDENTITY\n }})`\n );\n }\n\n Object.assign(extrapolationConfig, type);\n return extrapolationConfig;\n}\n\nfunction internalInterpolate(\n x: number,\n narrowedInput: InterpolationNarrowedInput,\n extrapolationConfig: RequiredExtrapolationConfig\n) {\n 'worklet';\n const {\n leftEdgeInput,\n rightEdgeInput,\n leftEdgeOutput,\n rightEdgeOutput,\n } = narrowedInput;\n if (rightEdgeInput - leftEdgeInput === 0) return leftEdgeOutput;\n const progress = (x - leftEdgeInput) / (rightEdgeInput - leftEdgeInput);\n const val = leftEdgeOutput + progress * (rightEdgeOutput - leftEdgeOutput);\n const coef = rightEdgeOutput >= leftEdgeOutput ? 1 : -1;\n\n if (coef * val < coef * leftEdgeOutput) {\n return getVal(\n extrapolationConfig.extrapolateLeft,\n coef,\n val,\n leftEdgeOutput,\n rightEdgeOutput,\n x\n );\n } else if (coef * val > coef * rightEdgeOutput) {\n return getVal(\n extrapolationConfig.extrapolateRight,\n coef,\n val,\n leftEdgeOutput,\n rightEdgeOutput,\n x\n );\n }\n\n return val;\n}\n\n// TODO: support default values in worklets:\n// e.g. function interpolate(x, input, output, type = Extrapolatation.CLAMP)\nexport function interpolate(\n x: number | InterpolatedNode,\n input: readonly number[],\n output: readonly number[],\n type?: ExtrapolationType\n): number {\n 'worklet';\n if (input.length < 2 || output.length < 2) {\n throw Error(\n 'Interpolation input and output should contain at least two values.'\n );\n }\n\n const extrapolationConfig = validateType(type);\n\n if (isNode(x)) {\n console.warn(\n `interpolate() was renamed to interpolateNode() in Reanimated 2. Please use interpolateNode() instead`\n );\n return interpolateNode(x, {\n inputRange: input,\n outputRange: output,\n extrapolateLeft: extrapolationConfig.extrapolateLeft,\n extrapolateRight: extrapolationConfig.extrapolateRight,\n });\n }\n\n const length = input.length;\n const narrowedInput: InterpolationNarrowedInput = {\n leftEdgeInput: input[0],\n rightEdgeInput: input[1],\n leftEdgeOutput: output[0],\n rightEdgeOutput: output[1],\n };\n if (length > 2) {\n if (x > input[length - 1]) {\n narrowedInput.leftEdgeInput = input[length - 2];\n narrowedInput.rightEdgeInput = input[length - 1];\n narrowedInput.leftEdgeOutput = output[length - 2];\n narrowedInput.rightEdgeOutput = output[length - 1];\n } else {\n for (let i = 1; i < length; ++i) {\n if (x <= input[i]) {\n narrowedInput.leftEdgeInput = input[i - 1];\n narrowedInput.rightEdgeInput = input[i];\n narrowedInput.leftEdgeOutput = output[i - 1];\n narrowedInput.rightEdgeOutput = output[i];\n break;\n }\n }\n }\n }\n\n return internalInterpolate(x, narrowedInput, extrapolationConfig);\n}\n","import {\n hsvToColor,\n RGBtoHSV,\n rgbaColor,\n processColor,\n red,\n green,\n blue,\n opacity,\n} from './Colors';\nimport { makeMutable } from './core';\nimport { interpolate } from './interpolation';\n// @ts-ignore JS file\nimport { Extrapolate } from '../reanimated1/derived';\nimport { SharedValue } from './commonTypes';\nimport { useSharedValue } from './hook/useSharedValue';\n\nconst interpolateColorsHSV = (\n value: number,\n inputRange: readonly number[],\n colors: InterpolateHSV\n) => {\n 'worklet';\n const h = interpolate(value, inputRange, colors.h, Extrapolate.CLAMP);\n const s = interpolate(value, inputRange, colors.s, Extrapolate.CLAMP);\n const v = interpolate(value, inputRange, colors.v, Extrapolate.CLAMP);\n return hsvToColor(h, s, v);\n};\n\nconst interpolateColorsRGB = (\n value: number,\n inputRange: readonly number[],\n colors: InterpolateRGB\n) => {\n 'worklet';\n const r = interpolate(value, inputRange, colors.r, Extrapolate.CLAMP);\n const g = interpolate(value, inputRange, colors.g, Extrapolate.CLAMP);\n const b = interpolate(value, inputRange, colors.b, Extrapolate.CLAMP);\n const a = interpolate(value, inputRange, colors.a, Extrapolate.CLAMP);\n return rgbaColor(r, g, b, a);\n};\n\ninterface InterpolateRGB {\n r: number[];\n g: number[];\n b: number[];\n a: number[];\n}\n\nconst getInterpolateRGB = (\n colors: readonly (string | number)[]\n): InterpolateRGB => {\n 'worklet';\n\n const r = [];\n const g = [];\n const b = [];\n const a = [];\n for (let i = 0; i < colors.length; ++i) {\n const color = colors[i];\n const proocessedColor = processColor(color);\n // explicit check in case if processedColor is 0\n if (proocessedColor !== null && proocessedColor !== undefined) {\n r.push(red(proocessedColor));\n g.push(green(proocessedColor));\n b.push(blue(proocessedColor));\n a.push(opacity(proocessedColor));\n }\n }\n return { r, g, b, a };\n};\n\ninterface InterpolateHSV {\n h: number[];\n s: number[];\n v: number[];\n}\n\nconst getInterpolateHSV = (\n colors: readonly (string | number)[]\n): InterpolateHSV => {\n 'worklet';\n const h = [];\n const s = [];\n const v = [];\n for (let i = 0; i < colors.length; ++i) {\n const color = colors[i];\n const proocessedColor = RGBtoHSV(processColor(color) as any);\n if (proocessedColor) {\n h.push(proocessedColor.h);\n s.push(proocessedColor.s);\n v.push(proocessedColor.v);\n }\n }\n return { h, s, v };\n};\n\nexport const interpolateColor = (\n value: number,\n inputRange: readonly number[],\n outputRange: readonly (string | number)[],\n colorSpace: 'RGB' | 'HSV' = 'RGB'\n): string | number => {\n 'worklet';\n if (colorSpace === 'HSV') {\n return interpolateColorsHSV(\n value,\n inputRange,\n getInterpolateHSV(outputRange)\n );\n } else if (colorSpace === 'RGB') {\n return interpolateColorsRGB(\n value,\n inputRange,\n getInterpolateRGB(outputRange)\n );\n }\n throw new Error(\n `Invalid color space provided: ${colorSpace}. Supported values are: ['RGB', 'HSV']`\n );\n};\n\nexport enum ColorSpace {\n RGB = 0,\n HSV = 1,\n}\n\nexport interface InterpolateConfig {\n inputRange: readonly number[];\n outputRange: readonly (string | number)[];\n colorSpace: ColorSpace;\n cache: SharedValue;\n}\n\nexport function useInterpolateConfig(\n inputRange: readonly number[],\n outputRange: readonly (string | number)[],\n colorSpace = ColorSpace.RGB\n): SharedValue {\n return useSharedValue({\n inputRange,\n outputRange,\n colorSpace,\n cache: makeMutable(null),\n });\n}\n\nexport const interpolateSharableColor = (\n value: number,\n interpolateConfig: SharedValue\n): string | number => {\n 'worklet';\n let colors = interpolateConfig.value.cache.value;\n if (interpolateConfig.value.colorSpace === ColorSpace.RGB) {\n if (!colors) {\n colors = getInterpolateRGB(interpolateConfig.value.outputRange);\n interpolateConfig.value.cache.value = colors;\n }\n return interpolateColorsRGB(\n value,\n interpolateConfig.value.inputRange,\n colors as InterpolateRGB\n );\n } else if (interpolateConfig.value.colorSpace === ColorSpace.HSV) {\n if (!colors) {\n colors = getInterpolateHSV(interpolateConfig.value.outputRange);\n interpolateConfig.value.cache.value = colors;\n }\n return interpolateColorsHSV(\n value,\n interpolateConfig.value.inputRange,\n colors as InterpolateHSV\n );\n }\n throw new Error(\n `Invalid color space provided: ${interpolateConfig.value.colorSpace}. Supported values are: ['RGB', 'HSV']`\n );\n};\n","import { addWhitelistedNativeProps } from '../ConfigHelper';\nimport { AdapterWorkletFunction } from './commonTypes';\n\nexport function createAnimatedPropAdapter(\n adapter: AdapterWorkletFunction,\n nativeProps?: string[]\n): AdapterWorkletFunction {\n const nativePropsToAdd: { [key: string]: boolean } = {};\n // eslint-disable-next-line no-unused-expressions\n nativeProps?.forEach((prop) => {\n nativePropsToAdd[prop] = true;\n });\n addWhitelistedNativeProps(nativePropsToAdd);\n return adapter;\n}\n\n// ADAPTERS\n\nexport const SVGAdapter: AdapterWorkletFunction = createAnimatedPropAdapter(\n (props) => {\n 'worklet';\n const keys = Object.keys(props);\n // transform\n if (keys.includes('transform')) {\n if (Array.isArray(props.transform)) {\n // case of array with 6 values => https://github.com/react-native-svg/react-native-svg/blob/b2e2c355204ff4b10973d3afce1495f7e4167ff7/src/elements/Shape.tsx#L200\n if (props.transform.length !== 6) {\n throw new Error(\n `invalid transform length of ${props.transform.length}, should be 6`\n );\n }\n const transform: number[] = props.transform as number[];\n const x: number = (props.x as number) ?? 0;\n const y: number = (props.y as number) ?? 0;\n props.transform = [\n { translateX: transform[0] * x + transform[2] * y + transform[4] },\n { translateY: transform[1] * x + transform[3] * y + transform[5] },\n ];\n } else if (typeof props.transform === 'string') {\n // case of string 'translate(translateX translateY)'\n // todo: handle other cases of transform string like here https://github.com/react-native-svg/react-native-svg/blob/b2e2c355204ff4b10973d3afce1495f7e4167ff7/src/lib/extract/extractTransform.ts#L184\n const transform: string = props.transform as string;\n const arr = transform\n .replace('translate(', '')\n .replace(')', '')\n .split(' ');\n props.transform = [\n { translateX: parseFloat(arr[0]) },\n { translateY: parseFloat(arr[1]) },\n ];\n }\n }\n // todo: other props\n }\n);\n\nexport const TextInputAdapter = createAnimatedPropAdapter(\n (props) => {\n 'worklet';\n const keys = Object.keys(props);\n // convert text to value like RN does here: https://github.com/facebook/react-native/blob/f2c6279ca497b34d5a2bfbb6f2d33dc7a7bea02a/Libraries/Components/TextInput/TextInput.js#L878\n if (keys.includes('value')) {\n props.text = props.value;\n delete props.value;\n }\n },\n ['text']\n);\n","import './LayoutAnimationRepository';\nexport * from './animationBuilder';\nexport * from './defaultAnimations';\nexport * from './defaultTransitions';\n","export { BaseAnimationBuilder } from './BaseAnimationBuilder';\nexport { ComplexAnimationBuilder } from './ComplexAnimationBuilder';\nexport { Keyframe } from './Keyframe';\nexport {\n LayoutAnimation,\n AnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationFunction,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n ILayoutAnimationBuilder,\n BaseLayoutAnimationConfig,\n BaseBuilderAnimationConfig,\n LayoutAnimationAndConfig,\n IEntryExitAnimationBuilder,\n} from './commonTypes';\n","import { withDelay } from '../../animation';\nimport {\n EntryExitAnimationFunction,\n AnimationFunction,\n LayoutAnimationFunction,\n} from './commonTypes';\n\nexport class BaseAnimationBuilder {\n durationV?: number;\n delayV?: number;\n randomizeDelay = false;\n callbackV?: (finished: boolean) => void;\n\n static createInstance: () => BaseAnimationBuilder;\n build = (): EntryExitAnimationFunction | LayoutAnimationFunction => {\n throw Error('Unimplemented method in child class.');\n };\n\n static duration(durationMs: number): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.duration(durationMs);\n }\n\n duration(durationMs: number): BaseAnimationBuilder {\n this.durationV = durationMs;\n return this;\n }\n\n static delay(delayMs: number): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.delay(delayMs);\n }\n\n delay(delayMs: number): BaseAnimationBuilder {\n this.delayV = delayMs;\n return this;\n }\n\n static withCallback(\n callback: (finished: boolean) => void\n ): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.withCallback(callback);\n }\n\n withCallback(callback: (finsihed: boolean) => void): BaseAnimationBuilder {\n this.callbackV = callback;\n return this;\n }\n\n // 300ms is the default animation duration. If any animation has different default has to override this method.\n static getDuration(): number {\n return 300;\n }\n\n getDuration(): number {\n return this.durationV ?? 300;\n }\n\n static randomDelay(): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.randomDelay();\n }\n\n randomDelay(): BaseAnimationBuilder {\n this.randomizeDelay = true;\n return this;\n }\n\n // when randomizeDelay is set to true, randomize delay between 0 and provided value (or 1000ms if delay is not provided)\n getDelay(): number {\n return this.randomizeDelay\n ? Math.random() * (this.delayV ?? 1000)\n : this.delayV ?? 0;\n }\n\n getDelayFunction(): AnimationFunction {\n const isDelayProvided = this.randomizeDelay || this.delayV;\n return isDelayProvided\n ? withDelay\n : (_, animation) => {\n 'worklet';\n return animation;\n };\n }\n\n static build(): EntryExitAnimationFunction | LayoutAnimationFunction {\n const instance = this.createInstance();\n return instance.build();\n }\n}\n","import { withTiming, withSpring } from '../../animation';\nimport {\n AnimationFunction,\n BaseBuilderAnimationConfig,\n LayoutAnimationAndConfig,\n} from './commonTypes';\nimport { EasingFn } from '../../Easing';\nimport { BaseAnimationBuilder } from './BaseAnimationBuilder';\nexport class ComplexAnimationBuilder extends BaseAnimationBuilder {\n easingV?: EasingFn;\n rotateV?: string;\n type?: AnimationFunction;\n dampingV?: number;\n massV?: number;\n stiffnessV?: number;\n overshootClampingV?: number;\n restDisplacementThresholdV?: number;\n restSpeedThresholdV?: number;\n\n static createInstance: () => ComplexAnimationBuilder;\n\n static easing(easingFunction: EasingFn): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.easing(easingFunction);\n }\n\n easing(easingFunction: EasingFn): ComplexAnimationBuilder {\n this.easingV = easingFunction;\n return this;\n }\n\n static rotate(degree: string): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.rotate(degree);\n }\n\n rotate(degree: string): ComplexAnimationBuilder {\n this.rotateV = degree;\n return this;\n }\n\n static springify(): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.springify();\n }\n\n springify(): ComplexAnimationBuilder {\n this.type = withSpring as AnimationFunction;\n return this;\n }\n\n static damping(damping: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.damping(damping);\n }\n\n damping(damping: number): ComplexAnimationBuilder {\n this.dampingV = damping;\n return this;\n }\n\n static mass(mass: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.mass(mass);\n }\n\n mass(mass: number): ComplexAnimationBuilder {\n this.massV = mass;\n return this;\n }\n\n static stiffness(stiffness: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.stiffness(stiffness);\n }\n\n stiffness(stiffness: number): ComplexAnimationBuilder {\n this.stiffnessV = stiffness;\n return this;\n }\n\n static overshootClamping(overshootClamping: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.overshootClamping(overshootClamping);\n }\n\n overshootClamping(overshootClamping: number): ComplexAnimationBuilder {\n this.overshootClampingV = overshootClamping;\n return this;\n }\n\n static restDisplacementThreshold(\n restDisplacementThreshold: number\n ): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.restDisplacementThreshold(restDisplacementThreshold);\n }\n\n restDisplacementThreshold(\n restDisplacementThreshold: number\n ): ComplexAnimationBuilder {\n this.restDisplacementThresholdV = restDisplacementThreshold;\n return this;\n }\n\n static restSpeedThreshold(\n restSpeedThreshold: number\n ): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.restSpeedThreshold(restSpeedThreshold);\n }\n\n restSpeedThreshold(restSpeedThreshold: number): ComplexAnimationBuilder {\n this.restSpeedThresholdV = restSpeedThreshold;\n return this;\n }\n\n getAnimationAndConfig(): LayoutAnimationAndConfig {\n const duration = this.durationV;\n const easing = this.easingV;\n const rotate = this.rotateV;\n const type = this.type ? this.type : (withTiming as AnimationFunction);\n const damping = this.dampingV;\n const mass = this.massV;\n const stiffness = this.stiffnessV;\n const overshootClamping = this.overshootClampingV;\n const restDisplacementThreshold = this.restDisplacementThresholdV;\n const restSpeedThreshold = this.restSpeedThresholdV;\n\n const animation = type;\n\n const config: BaseBuilderAnimationConfig = {};\n\n if (type === withTiming) {\n if (easing) {\n config.easing = easing;\n }\n if (duration) {\n config.duration = duration;\n }\n if (rotate) {\n config.rotate = rotate;\n }\n } else {\n if (damping) {\n config.damping = damping;\n }\n if (mass) {\n config.mass = mass;\n }\n if (stiffness) {\n config.stiffness = stiffness;\n }\n if (overshootClamping) {\n config.overshootClamping = overshootClamping;\n }\n if (restDisplacementThreshold) {\n config.restDisplacementThreshold = restDisplacementThreshold;\n }\n if (restSpeedThreshold) {\n config.restSpeedThreshold = restSpeedThreshold;\n }\n if (rotate) {\n config.rotate = rotate;\n }\n }\n return [animation, config];\n }\n}\n","import { Easing, EasingFn } from '../../Easing';\nimport { withDelay, withSequence, withTiming } from '../../animation';\nimport {\n AnimationFunction,\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n KeyframeProps,\n} from './commonTypes';\nimport { TransformProperty, StyleProps } from '../../commonTypes';\nexport interface KeyframePoint {\n duration: number;\n value: number | string;\n easing?: EasingFn;\n}\nexport interface ParsedKeyframesDefinition {\n initialValues: StyleProps;\n keyframes: Record;\n}\nexport class Keyframe implements IEntryExitAnimationBuilder {\n durationV?: number;\n delayV?: number;\n callbackV?: (finished: boolean) => void;\n definitions: Record;\n\n /*\n Keyframe definition should be passed in the constructor as the map\n which keys are between range 0 - 100 (%) and correspond to the point in the animation progress.\n */\n constructor(definitions: Record) {\n this.definitions = definitions;\n }\n\n private parseDefinitions(): ParsedKeyframesDefinition {\n /* \n Each style property contain an array with all their key points: \n value, duration of transition to that value, and optional easing function (defaults to Linear)\n */\n const parsedKeyframes: Record = {};\n /*\n Parsing keyframes 'from' and 'to'.\n */\n if (this.definitions.from) {\n if (this.definitions['0']) {\n throw Error(\n \"You cannot provide both keyframe 0 and 'from' as they both specified initial values\"\n );\n }\n this.definitions['0'] = this.definitions.from;\n delete this.definitions.from;\n }\n if (this.definitions.to) {\n if (this.definitions['100']) {\n throw Error(\n \"You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.\"\n );\n }\n this.definitions['100'] = this.definitions.to;\n delete this.definitions.to;\n }\n /* \n One of the assumptions is that keyframe 0 is required to properly set initial values.\n Every other keyframe should contain properties from the set provided as initial values.\n */\n if (!this.definitions['0']) {\n throw Error(\n \"Please provide 0, or 'from' keyframe with initial state of your object.\"\n );\n }\n const initialValues: StyleProps = this.definitions['0'] as StyleProps;\n /*\n Initialize parsedKeyframes for properties provided in initial keyframe\n */\n Object.keys(initialValues).forEach((styleProp: string) => {\n if (styleProp === 'transform') {\n initialValues[styleProp]?.forEach((transformStyle, index) => {\n Object.keys(transformStyle).forEach((transformProp: string) => {\n parsedKeyframes[\n index.toString() + '_transform:' + transformProp\n ] = [];\n });\n });\n } else {\n parsedKeyframes[styleProp] = [];\n }\n });\n\n const duration: number = this.durationV ? this.durationV : 500;\n const animationKeyPoints: Array = Array.from(\n Object.keys(this.definitions)\n );\n\n const getAnimationDuration = (\n key: string,\n currentKeyPoint: number\n ): number => {\n const maxDuration = (currentKeyPoint / 100) * duration;\n const currentDuration = parsedKeyframes[key].reduce(\n (acc: number, value: KeyframePoint) => acc + value.duration,\n 0\n );\n return maxDuration - currentDuration;\n };\n\n /* \n Other keyframes can't contain properties that were not specified in initial keyframe.\n */\n const addKeyPoint = ({\n key,\n value,\n currentKeyPoint,\n easing,\n }: {\n key: string;\n value: string | number;\n currentKeyPoint: number;\n easing?: EasingFn;\n }): void => {\n if (!(key in parsedKeyframes)) {\n throw Error(\n \"Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')\"\n );\n }\n parsedKeyframes[key].push({\n duration: getAnimationDuration(key, currentKeyPoint),\n value: value,\n easing: easing,\n });\n };\n animationKeyPoints\n .filter((value: string) => parseInt(value) !== 0)\n .sort((a: string, b: string) => parseInt(a) - parseInt(b))\n .forEach((keyPoint: string) => {\n if (parseInt(keyPoint) < 0 || parseInt(keyPoint) > 100) {\n throw Error('Keyframe should be in between range 0 - 100.');\n }\n const keyframe: KeyframeProps = this.definitions[keyPoint];\n const easing = keyframe.easing;\n delete keyframe.easing;\n const addKeyPointWith = (key: string, value: string | number) =>\n addKeyPoint({\n key,\n value,\n currentKeyPoint: parseInt(keyPoint),\n easing,\n });\n Object.keys(keyframe).forEach((key: string) => {\n if (key === 'transform') {\n keyframe[key]?.forEach(\n (transformStyle: { [key: string]: any }, index) => {\n Object.keys(transformStyle).forEach((transformProp: string) => {\n addKeyPointWith(\n index.toString() + '_transform:' + transformProp,\n transformStyle[transformProp]\n );\n });\n }\n );\n } else {\n addKeyPointWith(key, keyframe[key]);\n }\n });\n });\n return { initialValues: initialValues, keyframes: parsedKeyframes };\n }\n\n duration(durationMs: number): Keyframe {\n this.durationV = durationMs;\n return this;\n }\n\n delay(delayMs: number): Keyframe {\n this.delayV = delayMs;\n return this;\n }\n\n withCallback(callback: (finsihed: boolean) => void): Keyframe {\n this.callbackV = callback;\n return this;\n }\n\n private getDelayFunction(): AnimationFunction {\n const delay = this.delayV;\n return delay\n ? withDelay\n : (_, animation) => {\n 'worklet';\n return animation;\n };\n }\n\n build = (): EntryExitAnimationFunction => {\n const delay = this.delayV;\n const delayFunction = this.getDelayFunction();\n const { keyframes, initialValues } = this.parseDefinitions();\n const callback = this.callbackV;\n\n return (_targetValues) => {\n 'worklet';\n const animations: StyleProps = {};\n\n /* \n For each style property, an animations sequence is created that corresponds with its key points.\n Transform style properties require special handling because of their nested structure.\n */\n const addAnimation = (key: string) => {\n const keyframePoints = keyframes[key];\n // in case if property was only passed as initial value\n if (keyframePoints.length === 0) return;\n const animation = delayFunction(\n delay,\n keyframePoints.length === 1\n ? withTiming(keyframePoints[0].value, {\n duration: keyframePoints[0].duration,\n easing: keyframePoints[0].easing\n ? keyframePoints[0].easing\n : Easing.linear,\n })\n : withSequence.apply(\n this,\n keyframePoints.map((keyframePoint: KeyframePoint) =>\n withTiming(keyframePoint.value, {\n duration: keyframePoint.duration,\n easing: keyframePoint.easing\n ? keyframePoint.easing\n : Easing.linear,\n })\n )\n )\n );\n if (key.includes('transform')) {\n if (!('transform' in animations)) {\n animations.transform = [];\n }\n animations.transform?.push({\n [key.split(':')[1]]: animation,\n });\n } else {\n animations[key] = animation;\n }\n };\n Object.keys(initialValues).forEach((key: string) => {\n if (key.includes('transform')) {\n initialValues[key].forEach(\n (transformProp: Record, index: number) => {\n Object.keys(transformProp).forEach((transformPropKey: string) => {\n addAnimation(\n index.toString() + '_transform:' + transformPropKey\n );\n });\n }\n );\n } else {\n addAnimation(key);\n }\n });\n return {\n animations: animations,\n initialValues: initialValues,\n callback: callback,\n };\n };\n };\n}\n","import { EasingFn } from '../../Easing';\nimport { StyleProps } from '../../commonTypes';\n\nexport interface KeyframeProps extends StyleProps {\n easing?: EasingFn;\n [key: string]: any;\n}\n\nexport type LayoutAnimation = {\n initialValues: StyleProps;\n animations: StyleProps;\n callback?: (finished: boolean) => void;\n};\n\nexport type AnimationFunction = (a?: any, b?: any, c?: any) => any; // this is just a temporary mock\n\nexport interface EntryAnimationsValues {\n targetOriginX: number;\n targetOriginY: number;\n targetWidth: number;\n targetHeight: number;\n targetGlobalOriginX: number;\n targetGlobalOriginY: number;\n}\n\nexport interface ExitAnimationsValues {\n currentOriginX: number;\n currentOriginY: number;\n currentWidth: number;\n currentHeight: number;\n currentGlobalOriginX: number;\n currentGlobalOriginY: number;\n}\n\nexport type EntryExitAnimationFunction = (\n targetValues: EntryAnimationsValues | ExitAnimationsValues\n) => LayoutAnimation;\n\nexport type AnimationConfigFunction = (targetValues: T) => LayoutAnimation;\n\nexport interface LayoutAnimationsValues {\n currentOriginX: number;\n currentOriginY: number;\n currentWidth: number;\n currentHeight: number;\n currentGlobalOriginX: number;\n currentGlobalOriginY: number;\n targetOriginX: number;\n targetOriginY: number;\n targetWidth: number;\n targetHeight: number;\n targetGlobalOriginX: number;\n targetGlobalOriginY: number;\n windowWidth: number;\n windowHeight: number;\n}\n\nexport type LayoutAnimationFunction = (\n targetValues: LayoutAnimationsValues\n) => LayoutAnimation;\n\nexport interface ILayoutAnimationBuilder {\n build: () => LayoutAnimationFunction;\n}\n\nexport interface BaseLayoutAnimationConfig {\n duration?: number;\n easing?: EasingFn;\n type?: AnimationFunction;\n damping?: number;\n mass?: number;\n stiffness?: number;\n overshootClamping?: number;\n restDisplacementThreshold?: number;\n restSpeedThreshold?: number;\n}\n\nexport interface BaseBuilderAnimationConfig extends BaseLayoutAnimationConfig {\n rotate?: number | string;\n}\n\nexport type LayoutAnimationAndConfig = [\n AnimationFunction,\n BaseBuilderAnimationConfig\n];\n\nexport interface IEntryExitAnimationBuilder {\n build: () => EntryExitAnimationFunction;\n}\n\nexport interface IEntryAnimationBuilder {\n build: () => AnimationConfigFunction;\n}\n\nexport interface IExitAnimationBuilder {\n build: () => AnimationConfigFunction;\n}\n","export * from './Flip';\nexport * from './Stretch';\nexport * from './Fade';\nexport * from './Slide';\nexport * from './Zoom';\nexport * from './Bounce';\nexport * from './Lightspeed';\nexport * from './Pinwheel';\nexport * from './Rotate';\nexport * from './Roll';\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class FlipInXUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): FlipInXUp {\n return new FlipInXUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '90deg' },\n { translateY: -targetValues.targetHeight },\n ],\n },\n animations: {\n transform: [\n { perspective: 500 },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInYLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): FlipInYLeft {\n return new FlipInYLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '-90deg' },\n { translateX: -targetValues.targetWidth },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInXDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): FlipInXDown {\n return new FlipInXDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '-90deg' },\n { translateY: targetValues.targetHeight },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInYRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): FlipInYRight {\n return new FlipInYRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '90deg' },\n { translateX: targetValues.targetWidth },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInEasyX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FlipInEasyX {\n return new FlipInEasyX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateX: '90deg' }],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInEasyY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FlipInEasyY {\n return new FlipInEasyY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateY: '90deg' }],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutXUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): FlipOutXUp {\n return new FlipOutXUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '0deg' },\n { translateY: 0 },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('90deg', config)) },\n {\n translateY: delayFunction(\n delay,\n animation(-targetValues.currentHeight, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutYLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): FlipOutYLeft {\n return new FlipOutYLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '0deg' },\n { translateX: 0 },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(-targetValues.currentWidth, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutXDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): FlipOutXDown {\n return new FlipOutXDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '0deg' },\n { translateY: 0 },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('-90deg', config)) },\n {\n translateY: delayFunction(\n delay,\n animation(targetValues.currentHeight, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutYRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): FlipOutYRight {\n return new FlipOutYRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '0deg' },\n { translateX: 0 },\n ],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(targetValues.currentWidth, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutEasyX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FlipOutEasyX {\n return new FlipOutEasyX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateX: '0deg' }],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('90deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutEasyY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FlipOutEasyY {\n return new FlipOutEasyY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateY: '0deg' }],\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('90deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class StretchInX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): StretchInX {\n return new StretchInX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleX: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scaleX: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchInY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): StretchInY {\n return new StretchInY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleY: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scaleY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchOutX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): StretchOutX {\n return new StretchOutX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleX: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scaleX: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchOutY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): StretchOutY {\n return new StretchOutY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleY: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scaleY: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class FadeIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeIn {\n return new FadeIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return (_) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n },\n initialValues: {\n opacity: 0,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeInRight {\n return new FadeInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: 25 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeInLeft {\n return new FadeInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: -25 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeInUp {\n return new FadeInUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateY: -25 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeInDown {\n return new FadeInDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateY: 25 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeOut {\n return new FadeOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return (_) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n },\n initialValues: {\n opacity: 1,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeOutRight {\n return new FadeOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateX: delayFunction(delay, animation(25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeOutLeft {\n return new FadeOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateX: delayFunction(delay, animation(-25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeOutUp {\n return new FadeOutUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateY: delayFunction(delay, animation(-25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): FadeOutDown {\n return new FadeOutDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateY: delayFunction(delay, animation(25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { Dimensions } from 'react-native';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nconst { width, height } = Dimensions.get('window');\n\nexport class SlideInRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): SlideInRight {\n return new SlideInRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n },\n initialValues: {\n originX: values.targetOriginX + width,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): SlideInLeft {\n return new SlideInLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n },\n initialValues: {\n originX: values.targetOriginX - width,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): SlideOutRight {\n return new SlideOutRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(Math.max(values.currentOriginX + width, width), config)\n ),\n },\n initialValues: {\n originX: values.currentOriginX,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): SlideOutLeft {\n return new SlideOutLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(Math.min(values.currentOriginX - width, -width), config)\n ),\n },\n initialValues: {\n originX: values.currentOriginX,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): SlideInUp {\n return new SlideInUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n },\n initialValues: {\n originY: -height,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): SlideInDown {\n return new SlideInDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n },\n initialValues: {\n originY: values.targetOriginY + height,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): SlideOutUp {\n return new SlideOutUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(Math.min(values.currentOriginY - height, -height), config)\n ),\n },\n initialValues: { originY: values.currentOriginY },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): SlideOutDown {\n return new SlideOutDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(Math.max(values.currentOriginY + height, height), config)\n ),\n },\n initialValues: { originY: values.currentOriginY },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { Dimensions } from 'react-native';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nconst { width, height } = Dimensions.get('window');\n\nexport class ZoomIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomIn {\n return new ZoomIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomInRotate {\n return new ZoomInRotate();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(1, config)) },\n { rotate: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }, { rotate: rotate }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomInLeft {\n return new ZoomInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: -width }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomInRight {\n return new ZoomInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: width }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomInUp {\n return new ZoomInUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -height }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomInDown {\n return new ZoomInDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: height }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInEasyUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): ZoomInEasyUp {\n return new ZoomInEasyUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.targetHeight }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInEasyDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): ZoomInEasyDown {\n return new ZoomInEasyDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.targetHeight }, { scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOut {\n return new ZoomOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOutRotate {\n return new ZoomOutRotate();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation(rotate, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }, { rotate: '0' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOutLeft {\n return new ZoomOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(-width, config)) },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOutRight {\n return new ZoomOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(width, config)) },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOutUp {\n return new ZoomOutUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(-height, config)) },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): ZoomOutDown {\n return new ZoomOutDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(height, config)) },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutEasyUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): ZoomOutEasyUp {\n return new ZoomOutEasyUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutEasyDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): ZoomOutEasyDown {\n return new ZoomOutEasyDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { withSequence, withTiming } from '../../animation';\nimport { Dimensions } from 'react-native';\nimport { BaseAnimationBuilder } from '../animationBuilder/BaseAnimationBuilder';\n\nconst { width, height } = Dimensions.get('window');\n\nexport class BounceIn\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceIn {\n return new BounceIn();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n scale: delayFunction(\n delay,\n withSequence(\n withTiming(1.2, { duration: duration * 0.55 }),\n withTiming(0.9, { duration: duration * 0.15 }),\n withTiming(1.1, { duration: duration * 0.15 }),\n withTiming(1, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInDown\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceInDown {\n return new BounceInDown();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(-20, { duration: duration * 0.55 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [\n {\n translateY: height,\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInUp\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceInUp {\n return new BounceInUp();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(20, { duration: duration * 0.55 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: -height }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInLeft\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceInLeft {\n return new BounceInLeft();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(20, { duration: duration * 0.55 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: -width }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInRight\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceInRight {\n return new BounceInRight();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(-20, { duration: duration * 0.55 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: width }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOut\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceOut {\n return new BounceOut();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n scale: delayFunction(\n delay,\n withSequence(\n withTiming(1.1, { duration: duration * 0.15 }),\n withTiming(0.9, { duration: duration * 0.15 }),\n withTiming(1.2, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.55 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutDown\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceOutDown {\n return new BounceOutDown();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-20, { duration: duration * 0.15 }),\n withTiming(height, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutUp\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceOutUp {\n return new BounceOutUp();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(20, { duration: duration * 0.15 }),\n withTiming(-height, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutLeft\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceOutRight {\n return new BounceOutLeft();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(20, { duration: duration * 0.15 }),\n withTiming(-width, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutRight\n extends BaseAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): BounceOutRight {\n return new BounceOutRight();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-20, { duration: duration * 0.15 }),\n withTiming(width, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n","import { Dimensions } from 'react-native';\nimport { withSequence, withTiming } from '../../animation';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nconst { width } = Dimensions.get('window');\n\nexport class LightSpeedInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): LightSpeedInRight {\n return new LightSpeedInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, withTiming(1, { duration: duration })),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(0, { ...config, duration: duration * 0.7 })\n ),\n },\n {\n skewX: delayFunction(\n delay,\n withSequence(\n withTiming('10deg', { duration: duration * 0.7 }),\n withTiming('-5deg', { duration: duration * 0.15 }),\n withTiming('0deg', { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: width }, { skewX: '-45deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): LightSpeedInLeft {\n return new LightSpeedInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, withTiming(1, { duration: duration })),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(0, { ...config, duration: duration * 0.7 })\n ),\n },\n {\n skewX: delayFunction(\n delay,\n withSequence(\n withTiming('-10deg', { duration: duration * 0.7 }),\n withTiming('5deg', { duration: duration * 0.15 }),\n withTiming('0deg', { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: -width }, { skewX: '45deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): LightSpeedOutRight {\n return new LightSpeedOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n translateX: delayFunction(delay, animation(width, config)),\n },\n {\n skewX: delayFunction(delay, animation('-45deg', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }, { skewX: '0deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): LightSpeedOutLeft {\n return new LightSpeedOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n translateX: delayFunction(delay, animation(-width, config)),\n },\n {\n skewX: delayFunction(delay, animation('45deg', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }, { skewX: '0deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n","import { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class PinwheelIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): PinwheelIn {\n return new PinwheelIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (_values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n {\n scale: delayFunction(delay, animation(1, config)),\n },\n {\n rotate: delayFunction(delay, animation('0', config)),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n {\n scale: 0,\n },\n {\n rotate: '5',\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class PinwheelOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): PinwheelOut {\n return new PinwheelOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (_values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n scale: delayFunction(delay, animation(0, config)),\n },\n {\n rotate: delayFunction(delay, animation('5', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [\n {\n scale: 1,\n },\n {\n rotate: '0',\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n","import { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class RotateInDownLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): RotateInDownLeft {\n return new RotateInDownLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '-90deg' },\n { translateX: values.targetWidth / 2 - values.targetHeight / 2 },\n { translateY: -(values.targetWidth / 2 - values.targetHeight / 2) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInDownRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): RotateInDownRight {\n return new RotateInDownRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '90deg' },\n { translateX: -(values.targetWidth / 2 - values.targetHeight / 2) },\n { translateY: -(values.targetWidth / 2 - values.targetHeight / 2) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInUpLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): RotateInUpLeft {\n return new RotateInUpLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '90deg' },\n { translateX: values.targetWidth / 2 - values.targetHeight / 2 },\n { translateY: values.targetWidth / 2 - values.targetHeight / 2 },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInUpRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder {\n static createInstance(): RotateInUpRight {\n return new RotateInUpRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '-90deg' },\n { translateX: -(values.targetWidth / 2 - values.targetHeight / 2) },\n { translateY: values.targetWidth / 2 - values.targetHeight / 2 },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutDownLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): RotateOutDownLeft {\n return new RotateOutDownLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutDownRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): RotateOutDownRight {\n return new RotateOutDownRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutUpLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): RotateOutUpLeft {\n return new RotateOutUpLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutUpRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder {\n static createInstance(): RotateOutUpRight {\n return new RotateOutUpRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n },\n callback: callback,\n };\n };\n };\n}\n","import { Dimensions } from 'react-native';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nconst { width } = Dimensions.get('window');\n\nexport class RollInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): RollInLeft {\n return new RollInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0), config) },\n { rotate: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: -width }, { rotate: '-180deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): RollInRight {\n return new RollInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: width }, { rotate: '180deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): RollOutLeft {\n return new RollOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(-width, config)) },\n { rotate: delayFunction(delay, animation('-180deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { rotate: '0deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder {\n static createInstance(): RollOutRight {\n return new RollOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(width, config)) },\n { rotate: delayFunction(delay, animation('180deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { rotate: '0deg' }],\n },\n callback: callback,\n };\n };\n };\n}\n","export * from './LinearTransition';\nexport * from './FadingTransition';\nexport * from './SequencedTransition';\nexport * from './JumpingTransition';\nexport * from './CurvedTransition';\nexport * from './EntryExitTransition';\n","import { ComplexAnimationBuilder } from '../animationBuilder/ComplexAnimationBuilder';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\n\nexport class LinearTransition\n extends ComplexAnimationBuilder\n implements ILayoutAnimationBuilder {\n static createInstance(): LinearTransition {\n return new LinearTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n width: delayFunction(delay, animation(values.targetWidth, config)),\n height: delayFunction(delay, animation(values.targetHeight, config)),\n },\n callback: callback,\n };\n };\n };\n}\n\nexport const Layout = LinearTransition;\n","import { withSequence, withTiming } from '../../animation';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\n\nexport class FadingTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder {\n static createInstance(): FadingTransition {\n return new FadingTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = this.durationV ?? 500;\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n opacity: 1,\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n opacity: delayFunction(\n delay,\n withSequence(\n withTiming(0, { duration: duration }),\n withTiming(1, { duration: duration })\n )\n ),\n originX: delayFunction(\n delay + duration,\n withTiming(values.targetOriginX, { duration: 50 })\n ),\n originY: delayFunction(\n delay + duration,\n withTiming(values.targetOriginY, { duration: 50 })\n ),\n width: delayFunction(\n delay + duration,\n withTiming(values.targetWidth, { duration: 50 })\n ),\n height: delayFunction(\n delay + duration,\n withTiming(values.targetHeight, { duration: 50 })\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import { withSequence, withTiming } from '../../animation';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\n\nexport class SequencedTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder {\n reversed = false;\n\n static createInstance(): SequencedTransition {\n return new SequencedTransition();\n }\n\n static reverse(): SequencedTransition {\n const instance = SequencedTransition.createInstance();\n return instance.reverse();\n }\n\n reverse(): SequencedTransition {\n this.reversed = !this.reversed;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const sequenceDuration = (this.durationV ?? 500) / 2;\n const config = { duration: sequenceDuration };\n const reverse = this.reversed;\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.currentOriginX : values.targetOriginX,\n config\n ),\n withTiming(values.targetOriginX, config)\n )\n ),\n originY: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.targetOriginY : values.currentOriginY,\n config\n ),\n withTiming(values.targetOriginY, config)\n )\n ),\n width: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.currentWidth : values.targetWidth,\n config\n ),\n withTiming(values.targetWidth, config)\n )\n ),\n height: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.targetHeight : values.currentHeight,\n config\n ),\n withTiming(values.targetHeight, config)\n )\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { withSequence, withTiming } from '../../animation';\nimport { Easing } from '../../Easing';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nexport class JumpingTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder {\n static createInstance(): JumpingTransition {\n return new JumpingTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = (this.durationV ?? 300) / 2;\n const config = { duration: duration * 2 };\n\n return (values) => {\n 'worklet';\n const d = Math.max(\n Math.abs(values.targetOriginX - values.currentOriginX),\n Math.abs(values.targetOriginY - values.currentOriginY)\n );\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withTiming(values.targetOriginX, config)\n ),\n originY: delayFunction(\n delay,\n withSequence(\n withTiming(\n Math.min(values.targetOriginY, values.currentOriginY) - d,\n {\n duration,\n easing: Easing.out(Easing.exp),\n }\n ),\n withTiming(values.targetOriginY, {\n ...config,\n duration,\n easing: Easing.bounce,\n })\n )\n ),\n width: delayFunction(delay, withTiming(values.targetWidth, config)),\n height: delayFunction(delay, withTiming(values.targetHeight, config)),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nimport { EasingFn, Easing } from '../../Easing';\nimport { withTiming } from '../../animation';\n\nexport class CurvedTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder {\n easingXV: EasingFn = Easing.in(Easing.ease);\n easingYV: EasingFn = Easing.out(Easing.ease);\n easingWidthV: EasingFn = Easing.in(Easing.exp);\n easingHeightV: EasingFn = Easing.out(Easing.exp);\n static createInstance(): CurvedTransition {\n return new CurvedTransition();\n }\n\n static easingX(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingX(easing);\n }\n\n easingX(easing: EasingFn): CurvedTransition {\n this.easingXV = easing;\n return this;\n }\n\n static easingY(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingY(easing);\n }\n\n easingY(easing: EasingFn): CurvedTransition {\n this.easingYV = easing;\n return this;\n }\n\n static easingWidth(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingWidth(easing);\n }\n\n easingWidth(easing: EasingFn): CurvedTransition {\n this.easingWidthV = easing;\n return this;\n }\n\n static easingHeight(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingHeight(easing);\n }\n\n easingHeight(easing: EasingFn): CurvedTransition {\n this.easingHeightV = easing;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = this.durationV ?? 300;\n const easing = {\n easingX: this.easingXV,\n easingY: this.easingYV,\n easingWidth: this.easingWidthV,\n easingHeight: this.easingHeightV,\n };\n\n return (values) => {\n 'worklet';\n\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withTiming(values.targetOriginX, {\n duration,\n easing: easing.easingX,\n })\n ),\n originY: delayFunction(\n delay,\n withTiming(values.targetOriginY, {\n duration,\n easing: easing.easingY,\n })\n ),\n width: delayFunction(\n delay,\n withTiming(values.targetWidth, {\n duration,\n easing: easing.easingWidth,\n })\n ),\n height: delayFunction(\n delay,\n withTiming(values.targetHeight, {\n duration,\n easing: easing.easingHeight,\n })\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nimport { withSequence, withTiming } from '../../animation';\nimport { FadeIn, FadeOut } from '../defaultAnimations/Fade';\nimport {\n StyleProps,\n TransformProperty,\n AnimationObject,\n} from '../../commonTypes';\n\nexport class EntryExitTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder {\n enteringV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeIn;\n\n exitingV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeOut;\n\n static createInstance(): EntryExitTransition {\n return new EntryExitTransition();\n }\n\n static entering(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n const instance = this.createInstance();\n return instance.entering(animation);\n }\n\n entering(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n this.enteringV = animation;\n return this;\n }\n\n static exiting(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n const instance = this.createInstance();\n return instance.exiting(animation);\n }\n\n exiting(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n this.exitingV = animation;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const enteringAnimation = this.enteringV.build();\n const exitingAnimation = this.exitingV.build();\n const exitingDuration = this.exitingV.getDuration();\n\n return (values) => {\n 'worklet';\n const enteringValues = enteringAnimation(values);\n const exitingValues = exitingAnimation(values);\n const animations: StyleProps = {\n transform: [],\n };\n\n for (const prop of Object.keys(exitingValues.animations)) {\n if (prop === 'transform') {\n exitingValues.animations[prop]?.forEach((value, index) => {\n for (const transformProp of Object.keys(value)) {\n animations.transform?.push({\n [transformProp]: delayFunction(\n delay,\n withSequence(\n value[transformProp as keyof TransformProperty],\n withTiming(\n exitingValues.initialValues.transform\n ? exitingValues.initialValues.transform[index][\n transformProp as keyof TransformProperty\n ]\n : 0,\n { duration: 0 }\n )\n )\n ),\n } as TransformProperty);\n }\n });\n } else {\n const sequence =\n enteringValues.animations[prop] !== undefined\n ? [\n exitingValues.animations[prop],\n withTiming(enteringValues.initialValues[prop], {\n duration: 0,\n }),\n enteringValues.animations[prop],\n ]\n : [\n exitingValues.animations[prop],\n withTiming(\n Object.keys(values).includes(prop)\n ? values[prop as keyof LayoutAnimationsValues]\n : exitingValues.initialValues[prop],\n { duration: 0 }\n ),\n ];\n\n animations[prop] = delayFunction(delay, withSequence(...sequence));\n }\n }\n for (const prop of Object.keys(enteringValues.animations)) {\n if (prop === 'transform') {\n enteringValues.animations[prop]?.forEach((value, index) => {\n for (const transformProp of Object.keys(value)) {\n animations.transform?.push({\n [transformProp]: delayFunction(\n delay + exitingDuration,\n withSequence(\n withTiming(\n enteringValues.initialValues.transform\n ? enteringValues.initialValues.transform[index][\n transformProp as keyof TransformProperty\n ]\n : 0,\n { duration: exitingDuration }\n ),\n value[transformProp as keyof TransformProperty]\n )\n ),\n } as TransformProperty);\n }\n });\n } else if (animations[prop] !== undefined) {\n // it was already added in the previous loop\n continue;\n } else {\n animations[prop] = delayFunction(\n delay,\n withSequence(\n withTiming(enteringValues.initialValues[prop], { duration: 0 }),\n enteringValues.animations[prop]\n )\n );\n }\n }\n\n const mergedTransform = (\n exitingValues.initialValues.transform ?? []\n ).concat(\n (enteringValues.animations.transform ?? []).map((value) => {\n for (const transformProp of Object.keys(value)) {\n const current = (value[\n transformProp as keyof TransformProperty\n ] as AnimationObject).current;\n if (typeof current === 'string') {\n if (current.includes('deg'))\n return ({\n [transformProp]: '0deg',\n } as unknown) as TransformProperty;\n else\n return ({\n [transformProp]: '0',\n } as unknown) as TransformProperty;\n } else if (transformProp.includes('translate')) {\n return ({ [transformProp]: 0 } as unknown) as TransformProperty;\n } else {\n return ({ [transformProp]: 1 } as unknown) as TransformProperty;\n }\n }\n return value;\n })\n );\n\n return {\n initialValues: {\n ...exitingValues.initialValues,\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n transform: mergedTransform,\n },\n animations: {\n originX: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetOriginX, { duration: exitingDuration })\n ),\n originY: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetOriginY, { duration: exitingDuration })\n ),\n width: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetWidth, { duration: exitingDuration })\n ),\n height: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetHeight, { duration: exitingDuration })\n ),\n ...animations,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport function combineTransition(\n exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder,\n entering: BaseAnimationBuilder | typeof BaseAnimationBuilder\n): EntryExitTransition {\n return EntryExitTransition.entering(entering).exiting(exiting);\n}\n","import { Component } from 'react';\nimport { measure } from './NativeMethods';\nimport { RefObjectFunction } from './hook/commonTypes';\n\nexport interface ComponentCoords {\n x: number;\n y: number;\n}\n\nexport function getRelativeCoords(\n parentRef: RefObjectFunction,\n x: number,\n y: number\n): ComponentCoords {\n 'worklet';\n const parentCoords = measure(parentRef);\n return {\n x: x - parentCoords.x,\n y: y - parentCoords.y,\n };\n}\n","import {\n PerpectiveTransform,\n RotateTransform,\n RotateXTransform,\n RotateYTransform,\n RotateZTransform,\n ScaleTransform,\n ScaleXTransform,\n ScaleYTransform,\n TranslateXTransform,\n TranslateYTransform,\n SkewXTransform,\n SkewYTransform,\n MatrixTransform,\n ViewStyle,\n TextStyle,\n} from 'react-native';\nimport { Context } from './hook/commonTypes';\n\nexport type TransformProperty =\n | PerpectiveTransform\n | RotateTransform\n | RotateXTransform\n | RotateYTransform\n | RotateZTransform\n | ScaleTransform\n | ScaleXTransform\n | ScaleYTransform\n | TranslateXTransform\n | TranslateYTransform\n | SkewXTransform\n | SkewYTransform\n | MatrixTransform;\n\nexport interface StyleProps extends ViewStyle, TextStyle {\n originX?: number;\n originY?: number;\n [key: string]: any;\n}\n\nexport interface AnimatedStyle\n extends Record> {\n [key: string]: any;\n transform?: Array>>;\n}\nexport interface SharedValue {\n value: T;\n}\n\nexport interface WorkletFunction {\n _closure?: Context;\n __workletHash?: number;\n __optimalization?: number;\n __worklet?: boolean;\n}\n\nexport interface BasicWorkletFunction extends WorkletFunction {\n (): T;\n}\n\nexport interface BasicWorkletFunctionOptional extends WorkletFunction {\n (): Partial;\n}\n\nexport interface NativeEvent {\n nativeEvent: T;\n}\nexport interface ComplexWorkletFunction\n extends WorkletFunction {\n (...args: A): R;\n}\n\nexport interface NestedObject {\n [key: string]: NestedObjectValues;\n}\n\nexport type NestedObjectValues =\n | T\n | Array>\n | NestedObject;\n\nexport interface AdapterWorkletFunction extends WorkletFunction {\n (value: NestedObject): void;\n}\n\nexport type AnimatableValue = number | string | Array;\n\nexport interface AnimationObject {\n [key: string]: any;\n callback: AnimationCallback;\n current?: AnimatableValue;\n toValue?: AnimationObject['current'];\n startValue?: AnimationObject['current'];\n finished?: boolean;\n strippedCurrent?: number;\n cancelled?: boolean;\n\n __prefix?: string;\n __suffix?: string;\n onFrame: (animation: any, timestamp: Timestamp) => boolean;\n onStart: (\n nextAnimation: any,\n current: any,\n timestamp: Timestamp,\n previousAnimation: any\n ) => void;\n}\n\nexport interface Animation extends AnimationObject {\n onFrame: (animation: T, timestamp: Timestamp) => boolean;\n onStart: (\n nextAnimation: T,\n current: T extends NumericAnimation ? number : AnimatableValue,\n timestamp: Timestamp,\n previousAnimation: T\n ) => void;\n}\n\nexport interface NumericAnimation {\n current?: number;\n}\n\nexport type AnimationCallback = (\n finished?: boolean,\n current?: AnimatableValue\n) => void;\n\nexport type Timestamp = number;\n","import { Reanimated } from './reanimatedWrapper';\nimport { State } from '../../State';\nimport { tagMessage } from '../../utils';\n\nexport interface GestureStateManagerType {\n begin: () => void;\n activate: () => void;\n fail: () => void;\n end: () => void;\n}\n\nconst warningMessage = tagMessage(\n 'react-native-reanimated is required in order to use synchronous state management'\n);\n\nexport const GestureStateManager = {\n create(handlerTag: number): GestureStateManagerType {\n 'worklet';\n return {\n begin: () => {\n 'worklet';\n if (Reanimated) {\n Reanimated.setGestureState(handlerTag, State.BEGAN);\n } else {\n console.warn(warningMessage);\n }\n },\n\n activate: () => {\n 'worklet';\n if (Reanimated) {\n Reanimated.setGestureState(handlerTag, State.ACTIVE);\n } else {\n console.warn(warningMessage);\n }\n },\n\n fail: () => {\n 'worklet';\n if (Reanimated) {\n Reanimated.setGestureState(handlerTag, State.FAILED);\n } else {\n console.warn(warningMessage);\n }\n },\n\n end: () => {\n 'worklet';\n if (Reanimated) {\n Reanimated.setGestureState(handlerTag, State.END);\n } else {\n console.warn(warningMessage);\n }\n },\n };\n },\n};\n","// Used by GestureDetector (unsupported on web at the moment) to check whether the\n// attached view may get flattened on Fabric. This implementation causes errors\n// on web due to the static resolution of `require` statements by webpack breaking\n// the conditional importing. Solved by making .web file.\nlet findHostInstance_DEPRECATED = (_ref: any) => null;\n\ntry {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n findHostInstance_DEPRECATED = require('react-native/Libraries/Renderer/shims/ReactFabric')\n .findHostInstance_DEPRECATED;\n} catch (e) {\n // do nothing\n}\n\nexport function getShadowNodeFromRef(ref: any) {\n // @ts-ignore Fabric\n return findHostInstance_DEPRECATED(ref)._internalInstanceHandle.stateNode\n .node;\n}\n","import { FlingGesture } from './flingGesture';\nimport { ForceTouchGesture } from './forceTouchGesture';\nimport { Gesture } from './gesture';\nimport {\n ComposedGesture,\n ExclusiveGesture,\n SimultaneousGesture,\n} from './gestureComposition';\nimport { LongPressGesture } from './longPressGesture';\nimport { PanGesture } from './panGesture';\nimport { PinchGesture } from './pinchGesture';\nimport { RotationGesture } from './rotationGesture';\nimport { TapGesture } from './tapGesture';\nimport { NativeGesture } from './nativeGesture';\nimport { ManualGesture } from './manualGesture';\n\nexport const GestureObjects = {\n Tap: () => {\n return new TapGesture();\n },\n\n Pan: () => {\n return new PanGesture();\n },\n\n Pinch: () => {\n return new PinchGesture();\n },\n\n Rotation: () => {\n return new RotationGesture();\n },\n\n Fling: () => {\n return new FlingGesture();\n },\n\n LongPress: () => {\n return new LongPressGesture();\n },\n\n ForceTouch: () => {\n return new ForceTouchGesture();\n },\n\n Native: () => {\n return new NativeGesture();\n },\n\n Manual: () => {\n return new ManualGesture();\n },\n\n /**\n * Builds a composed gesture consisting of gestures provided as parameters.\n * The first one that becomes active cancels the rest of gestures.\n */\n Race: (...gestures: Gesture[]) => {\n return new ComposedGesture(...gestures);\n },\n\n /**\n * Builds a composed gesture that allows all base gestures to run simultaneously.\n */\n Simultaneous(...gestures: Gesture[]) {\n return new SimultaneousGesture(...gestures);\n },\n\n /**\n * Builds a composed gesture where only one of the provided gestures can become active.\n * Priority is decided through the order of gestures: the first one has higher priority\n * than the second one, second one has higher priority than the third one, and so on.\n * For example, to make a gesture that recognizes both single and double tap you need\n * to call Exclusive(doubleTap, singleTap).\n */\n Exclusive(...gestures: Gesture[]) {\n return new ExclusiveGesture(...gestures);\n },\n};\n","import { BaseGesture, BaseGestureConfig } from './gesture';\nimport {\n FlingGestureConfig,\n FlingGestureHandlerEventPayload,\n} from '../FlingGestureHandler';\n\nexport class FlingGesture extends BaseGesture {\n public config: BaseGestureConfig & FlingGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'FlingGestureHandler';\n }\n\n numberOfPointers(pointers: number) {\n this.config.numberOfPointers = pointers;\n return this;\n }\n\n direction(direction: number) {\n this.config.direction = direction;\n return this;\n }\n}\n\nexport type FlingGestureType = InstanceType;\n","import { BaseGestureConfig, ContinousBaseGesture } from './gesture';\nimport {\n ForceTouchGestureConfig,\n ForceTouchGestureHandlerEventPayload,\n} from '../ForceTouchGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\nexport type ForceTouchGestureChangeEventPayload = {\n forceChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: ForceTouchGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n forceChange: current.force,\n };\n } else {\n changePayload = {\n forceChange: current.force - previous.force,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class ForceTouchGesture extends ContinousBaseGesture<\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureChangeEventPayload\n> {\n public config: BaseGestureConfig & ForceTouchGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'ForceTouchGestureHandler';\n }\n\n minForce(force: number) {\n this.config.minForce = force;\n return this;\n }\n\n maxForce(force: number) {\n this.config.maxForce = force;\n return this;\n }\n\n feedbackOnActivation(value: boolean) {\n this.config.feedbackOnActivation = value;\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n GestureUpdateEvent<\n ForceTouchGestureHandlerEventPayload &\n ForceTouchGestureChangeEventPayload\n >\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, ForceTouchGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type ForceTouchGestureType = InstanceType;\n","import { BaseGesture, Gesture, GestureRef, GestureType } from './gesture';\n\nfunction extendRelation(\n currentRelation: GestureRef[] | undefined,\n extendWith: GestureType[]\n) {\n if (currentRelation === undefined) {\n return [...extendWith];\n } else {\n return [...currentRelation, ...extendWith];\n }\n}\n\nexport class ComposedGesture extends Gesture {\n protected gestures: Gesture[] = [];\n protected simultaneousGestures: GestureType[] = [];\n protected requireGesturesToFail: GestureType[] = [];\n\n constructor(...gestures: Gesture[]) {\n super();\n this.gestures = gestures;\n }\n\n protected prepareSingleGesture(\n gesture: Gesture,\n simultaneousGestures: GestureType[],\n requireGesturesToFail: GestureType[]\n ) {\n if (gesture instanceof BaseGesture) {\n const newConfig = { ...gesture.config };\n\n newConfig.simultaneousWith = extendRelation(\n newConfig.simultaneousWith,\n simultaneousGestures\n );\n newConfig.requireToFail = extendRelation(\n newConfig.requireToFail,\n requireGesturesToFail\n );\n\n gesture.config = newConfig;\n } else if (gesture instanceof ComposedGesture) {\n gesture.simultaneousGestures = simultaneousGestures;\n gesture.requireGesturesToFail = requireGesturesToFail;\n gesture.prepare();\n }\n }\n\n prepare() {\n for (const gesture of this.gestures) {\n this.prepareSingleGesture(\n gesture,\n this.simultaneousGestures,\n this.requireGesturesToFail\n );\n }\n }\n\n initialize() {\n for (const gesture of this.gestures) {\n gesture.initialize();\n }\n }\n\n toGestureArray(): GestureType[] {\n return this.gestures.flatMap((gesture) => gesture.toGestureArray());\n }\n}\n\nexport class SimultaneousGesture extends ComposedGesture {\n prepare() {\n const simultaneousArray = this.gestures\n .flatMap((gesture) => gesture.toGestureArray())\n .concat(this.simultaneousGestures);\n\n for (const gesture of this.gestures) {\n this.prepareSingleGesture(\n gesture,\n simultaneousArray,\n this.requireGesturesToFail\n );\n }\n }\n}\n\nexport class ExclusiveGesture extends ComposedGesture {\n prepare() {\n const gestureArrays = this.gestures.map((gesture) =>\n gesture.toGestureArray()\n );\n\n let requireToFail: GestureType[] = [];\n\n for (let i = 0; i < this.gestures.length; i++) {\n this.prepareSingleGesture(\n this.gestures[i],\n this.simultaneousGestures,\n this.requireGesturesToFail.concat(requireToFail)\n );\n\n requireToFail = requireToFail.concat(gestureArrays[i]);\n }\n }\n}\n\nexport type ComposedGestureType = InstanceType;\nexport type RaceGestureType = ComposedGestureType;\nexport type SimultaneousGestureType = InstanceType;\nexport type ExclusiveGestureType = InstanceType;\n","import { BaseGesture, BaseGestureConfig } from './gesture';\nimport {\n LongPressGestureConfig,\n LongPressGestureHandlerEventPayload,\n} from '../LongPressGestureHandler';\n\nexport class LongPressGesture extends BaseGesture {\n public config: BaseGestureConfig & LongPressGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'LongPressGestureHandler';\n }\n\n minDuration(duration: number) {\n this.config.minDurationMs = duration;\n return this;\n }\n\n maxDistance(distance: number) {\n this.config.maxDist = distance;\n return this;\n }\n}\n\nexport type LongPressGestureType = InstanceType;\n","import { BaseGestureConfig, ContinousBaseGesture } from './gesture';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\nimport {\n PanGestureConfig,\n PanGestureHandlerEventPayload,\n} from '../PanGestureHandler';\n\nexport type PanGestureChangeEventPayload = {\n changeX: number;\n changeY: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: PanGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n changeX: current.translationX,\n changeY: current.translationY,\n };\n } else {\n changePayload = {\n changeX: current.translationX - previous.translationX,\n changeY: current.translationY - previous.translationY,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class PanGesture extends ContinousBaseGesture<\n PanGestureHandlerEventPayload,\n PanGestureChangeEventPayload\n> {\n public config: BaseGestureConfig & PanGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'PanGestureHandler';\n }\n\n activeOffsetY(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.activeOffsetYStart = offset[0];\n this.config.activeOffsetYEnd = offset[1];\n } else if (offset < 0) {\n this.config.activeOffsetYStart = offset;\n } else {\n this.config.activeOffsetYEnd = offset;\n }\n return this;\n }\n\n activeOffsetX(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.activeOffsetXStart = offset[0];\n this.config.activeOffsetXEnd = offset[1];\n } else if (offset < 0) {\n this.config.activeOffsetXStart = offset;\n } else {\n this.config.activeOffsetXEnd = offset;\n }\n return this;\n }\n\n failOffsetY(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.failOffsetYStart = offset[0];\n this.config.failOffsetYEnd = offset[1];\n } else if (offset < 0) {\n this.config.failOffsetYStart = offset;\n } else {\n this.config.failOffsetYEnd = offset;\n }\n return this;\n }\n\n failOffsetX(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.failOffsetXStart = offset[0];\n this.config.failOffsetXEnd = offset[1];\n } else if (offset < 0) {\n this.config.failOffsetXStart = offset;\n } else {\n this.config.failOffsetXEnd = offset;\n }\n return this;\n }\n\n minPointers(minPointers: number) {\n this.config.minPointers = minPointers;\n return this;\n }\n\n maxPointers(maxPointers: number) {\n this.config.maxPointers = maxPointers;\n return this;\n }\n\n minDistance(distance: number) {\n this.config.minDist = distance;\n return this;\n }\n\n minVelocity(velocity: number) {\n this.config.minVelocity = velocity;\n return this;\n }\n\n minVelocityX(velocity: number) {\n this.config.minVelocityX = velocity;\n return this;\n }\n\n minVelocityY(velocity: number) {\n this.config.minVelocityY = velocity;\n return this;\n }\n\n averageTouches(value: boolean) {\n this.config.avgTouches = value;\n return this;\n }\n\n enableTrackpadTwoFingerGesture(value: boolean) {\n this.config.enableTrackpadTwoFingerGesture = value;\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n PanGestureHandlerEventPayload & PanGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, PanGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type PanGestureType = InstanceType;\n","import { ContinousBaseGesture } from './gesture';\nimport { PinchGestureHandlerEventPayload } from '../PinchGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\nexport type PinchGestureChangeEventPayload = {\n scaleChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: PinchGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n scaleChange: current.scale,\n };\n } else {\n changePayload = {\n scaleChange: current.scale / previous.scale,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class PinchGesture extends ContinousBaseGesture<\n PinchGestureHandlerEventPayload,\n PinchGestureChangeEventPayload\n> {\n constructor() {\n super();\n\n this.handlerName = 'PinchGestureHandler';\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n PinchGestureHandlerEventPayload & PinchGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, PinchGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type PinchGestureType = InstanceType;\n","import { ContinousBaseGesture } from './gesture';\nimport { RotationGestureHandlerEventPayload } from '../RotationGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\ntype RotationGestureChangeEventPayload = {\n rotationChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: RotationGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n rotationChange: current.rotation,\n };\n } else {\n changePayload = {\n rotationChange: current.rotation - previous.rotation,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class RotationGesture extends ContinousBaseGesture<\n RotationGestureHandlerEventPayload,\n RotationGestureChangeEventPayload\n> {\n constructor() {\n super();\n\n this.handlerName = 'RotationGestureHandler';\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n RotationGestureHandlerEventPayload & RotationGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, RotationGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type RotationGestureType = InstanceType;\n","import { BaseGestureConfig, BaseGesture } from './gesture';\nimport {\n TapGestureConfig,\n TapGestureHandlerEventPayload,\n} from '../TapGestureHandler';\n\nexport class TapGesture extends BaseGesture {\n public config: BaseGestureConfig & TapGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'TapGestureHandler';\n }\n\n minPointers(minPointers: number) {\n this.config.minPointers = minPointers;\n return this;\n }\n\n numberOfTaps(count: number) {\n this.config.numberOfTaps = count;\n return this;\n }\n\n maxDistance(maxDist: number) {\n this.config.maxDist = maxDist;\n return this;\n }\n\n maxDuration(duration: number) {\n this.config.maxDurationMs = duration;\n return this;\n }\n\n maxDelay(delay: number) {\n this.config.maxDelayMs = delay;\n return this;\n }\n\n maxDeltaX(delta: number) {\n this.config.maxDeltaX = delta;\n return this;\n }\n\n maxDeltaY(delta: number) {\n this.config.maxDeltaY = delta;\n return this;\n }\n}\n\nexport type TapGestureType = InstanceType;\n","import { BaseGestureConfig, BaseGesture } from './gesture';\nimport {\n NativeViewGestureConfig,\n NativeViewGestureHandlerPayload,\n} from '../NativeViewGestureHandler';\n\nexport class NativeGesture extends BaseGesture {\n public config: BaseGestureConfig & NativeViewGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'NativeViewGestureHandler';\n }\n\n shouldActivateOnStart(value: boolean) {\n this.config.shouldActivateOnStart = value;\n return this;\n }\n\n disallowInterruption(value: boolean) {\n this.config.disallowInterruption = value;\n return this;\n }\n}\n\nexport type NativeGestureType = InstanceType;\n","import { GestureUpdateEvent } from '../gestureHandlerCommon';\nimport { ContinousBaseGesture } from './gesture';\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent>,\n _previous?: GestureUpdateEvent>\n) {\n 'worklet';\n return current;\n}\n\nexport class ManualGesture extends ContinousBaseGesture<\n Record,\n Record\n> {\n constructor() {\n super();\n\n this.handlerName = 'ManualGestureHandler';\n }\n\n onChange(\n callback: (event: GestureUpdateEvent>) => void\n ) {\n // @ts-ignore TS being overprotective, Record is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type ManualGestureType = InstanceType;\n","import * as React from 'react';\nimport {\n Animated,\n Platform,\n processColor,\n StyleSheet,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nimport createNativeWrapper from '../handlers/createNativeWrapper';\nimport GestureHandlerButton from './GestureHandlerButton';\nimport { State } from '../State';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../handlers/gestureHandlerCommon';\nimport {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from '../handlers/NativeViewGestureHandler';\n\nexport interface RawButtonProps extends NativeViewGestureHandlerProps {\n /**\n * Defines if more than one button could be pressed simultaneously. By default\n * set true.\n */\n exclusive?: boolean;\n // TODO: we should transform props in `createNativeWrapper`\n\n /**\n * Android only.\n *\n * Defines color of native ripple animation used since API level 21.\n */\n rippleColor?: any; // it was present in BaseButtonProps before but is used here in code\n}\n\nexport interface BaseButtonProps extends RawButtonProps {\n /**\n * Called when the button gets pressed (analogous to `onPress` in\n * `TouchableHighlight` from RN core).\n */\n onPress?: (pointerInside: boolean) => void;\n\n /**\n * Called when button changes from inactive to active and vice versa. It\n * passes active state as a boolean variable as a first parameter for that\n * method.\n */\n onActiveStateChange?: (active: boolean) => void;\n style?: StyleProp;\n testID?: string;\n}\n\nexport interface RectButtonProps extends BaseButtonProps {\n /**\n * Background color that will be dimmed when button is in active state.\n */\n underlayColor?: string;\n\n /**\n * iOS only.\n *\n * Opacity applied to the underlay when button is in active state.\n */\n activeOpacity?: number;\n}\n\nexport interface BorderlessButtonProps extends BaseButtonProps {\n /**\n * Android only.\n *\n * Set this to false if you want the ripple animation to render only within view bounds.\n */\n borderless?: boolean;\n\n /**\n * iOS only.\n *\n * Opacity applied to the button when it is in an active state.\n */\n activeOpacity?: number;\n}\n\nexport const RawButton = createNativeWrapper(GestureHandlerButton, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: false,\n});\n\nexport class BaseButton extends React.Component {\n private lastActive: boolean;\n\n constructor(props: BaseButtonProps) {\n super(props);\n this.lastActive = false;\n }\n\n private handleEvent = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { state, oldState, pointerInside } = nativeEvent;\n const active = pointerInside && state === State.ACTIVE;\n\n if (active !== this.lastActive && this.props.onActiveStateChange) {\n this.props.onActiveStateChange(active);\n }\n\n if (\n oldState === State.ACTIVE &&\n state !== State.CANCELLED &&\n this.lastActive &&\n this.props.onPress\n ) {\n this.props.onPress(active);\n }\n\n this.lastActive = active;\n };\n\n // Normally, the parent would execute it's handler first, then forward the\n // event to listeners. However, here our handler is virtually only forwarding\n // events to listeners, so we reverse the order to keep the proper order of\n // the callbacks (from \"raw\" ones to \"processed\").\n private onHandlerStateChange = (\n e: HandlerStateChangeEvent\n ) => {\n this.props.onHandlerStateChange?.(e);\n this.handleEvent(e);\n };\n\n private onGestureEvent = (\n e: GestureEvent\n ) => {\n this.props.onGestureEvent?.(e);\n this.handleEvent(\n e as HandlerStateChangeEvent\n ); // TODO: maybe it is not correct\n };\n\n render() {\n const { rippleColor, ...rest } = this.props;\n\n return (\n \n );\n }\n}\n\nconst AnimatedBaseButton = Animated.createAnimatedComponent(BaseButton);\n\nconst btnStyles = StyleSheet.create({\n underlay: {\n position: 'absolute',\n left: 0,\n right: 0,\n bottom: 0,\n top: 0,\n },\n});\n\nexport class RectButton extends React.Component {\n static defaultProps = {\n activeOpacity: 0.105,\n underlayColor: 'black',\n };\n\n private opacity: Animated.Value;\n\n constructor(props: RectButtonProps) {\n super(props);\n this.opacity = new Animated.Value(0);\n }\n\n private onActiveStateChange = (active: boolean) => {\n if (Platform.OS !== 'android') {\n this.opacity.setValue(active ? this.props.activeOpacity! : 0);\n }\n\n this.props.onActiveStateChange?.(active);\n };\n\n render() {\n const { children, style, ...rest } = this.props;\n\n const resolvedStyle = StyleSheet.flatten(style ?? {});\n\n return (\n \n \n {children}\n \n );\n }\n}\n\nexport class BorderlessButton extends React.Component {\n static defaultProps = {\n activeOpacity: 0.3,\n borderless: true,\n };\n\n private opacity: Animated.Value;\n\n constructor(props: BorderlessButtonProps) {\n super(props);\n this.opacity = new Animated.Value(1);\n }\n\n private onActiveStateChange = (active: boolean) => {\n if (Platform.OS !== 'android') {\n this.opacity.setValue(active ? this.props.activeOpacity! : 1);\n }\n\n this.props.onActiveStateChange?.(active);\n };\n\n render() {\n const { children, style, ...rest } = this.props;\n\n return (\n \n {children}\n \n );\n }\n}\n\nexport { default as PureNativeButton } from './GestureHandlerButton';\n","/* eslint-disable @typescript-eslint/no-var-requires */\nimport { HostComponent, requireNativeComponent } from 'react-native';\nimport { RawButtonProps } from './GestureButtons';\nimport { isFabric } from '../utils';\n\nconst RNGestureHandlerButtonNativeComponent = isFabric()\n ? require('../fabric/RNGestureHandlerButtonNativeComponent').default\n : requireNativeComponent('RNGestureHandlerButton');\n\nexport default RNGestureHandlerButtonNativeComponent as HostComponent;\n","/**\n * @flow strict-local\n * @format\n */\n/* eslint-disable */\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type { HostComponent } from 'react-native';\nimport type { ColorValue } from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';\nimport type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps, // This is required.\n exclusive: boolean,\n foreground: boolean,\n borderless: boolean,\n enabled: boolean,\n rippleColor: ColorValue,\n rippleRadius: Int32,\n|}>;\n\ntype ComponentType = HostComponent;\n\nexport default (codegenNativeComponent(\n 'RNGestureHandlerButton',\n {}\n): ComponentType);\n","export { default as TouchableNativeFeedback } from './TouchableNativeFeedback';\nexport { default as TouchableWithoutFeedback } from './TouchableWithoutFeedback';\nexport { default as TouchableOpacity } from './TouchableOpacity';\nexport { default as TouchableHighlight } from './TouchableHighlight';\n","import { TouchableNativeFeedback } from 'react-native';\n\nexport default TouchableNativeFeedback;\n","import * as React from 'react';\nimport { PropsWithChildren } from 'react';\nimport GenericTouchable, { GenericTouchableProps } from './GenericTouchable';\n\nconst TouchableWithoutFeedback = React.forwardRef<\n GenericTouchable,\n PropsWithChildren\n>((props, ref) => );\n\nTouchableWithoutFeedback.defaultProps = GenericTouchable.defaultProps;\n\nexport default TouchableWithoutFeedback;\n","import * as React from 'react';\nimport { Component } from 'react';\nimport {\n Animated,\n Platform,\n StyleProp,\n ViewStyle,\n TouchableWithoutFeedbackProps,\n} from 'react-native';\n\nimport { State } from '../../State';\nimport { BaseButton } from '../GestureButtons';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../../handlers/gestureHandlerCommon';\nimport { NativeViewGestureHandlerPayload } from '../../handlers/NativeViewGestureHandler';\nimport { TouchableNativeFeedbackExtraProps } from './TouchableNativeFeedback.android';\n\n/**\n * Each touchable is a states' machine which preforms transitions.\n * On very beginning (and on the very end or recognition) touchable is\n * UNDETERMINED. Then it moves to BEGAN. If touchable recognizes that finger\n * travel outside it transits to special MOVED_OUTSIDE state. Gesture recognition\n * finishes in UNDETERMINED state.\n */\nexport const TOUCHABLE_STATE = {\n UNDETERMINED: 0,\n BEGAN: 1,\n MOVED_OUTSIDE: 2,\n} as const;\n\ntype TouchableState = typeof TOUCHABLE_STATE[keyof typeof TOUCHABLE_STATE];\n\nexport interface GenericTouchableProps extends TouchableWithoutFeedbackProps {\n // Decided to drop not used fields from RN's implementation.\n // e.g. onBlur and onFocus as well as deprecated props. - TODO: this comment may be unuseful in this moment\n\n // TODO: in RN these events get native event parameter, which prolly could be used in our implementation too\n onPress?: () => void;\n onPressIn?: () => void;\n onPressOut?: () => void;\n onLongPress?: () => void;\n\n nativeID?: string;\n shouldActivateOnStart?: boolean;\n disallowInterruption?: boolean;\n\n containerStyle?: StyleProp;\n}\n\ninterface InternalProps {\n extraButtonProps: TouchableNativeFeedbackExtraProps;\n onStateChange?: (oldState: TouchableState, newState: TouchableState) => void;\n}\n\n// TODO: maybe can be better\n// TODO: all clearTimeout have ! added, maybe they shouldn't ?\ntype Timeout = ReturnType | null | undefined;\n\n/**\n * GenericTouchable is not intented to be used as it is.\n * Should be treated as a source for the rest of touchables\n */\n\nexport default class GenericTouchable extends Component<\n GenericTouchableProps & InternalProps\n> {\n static defaultProps = {\n delayLongPress: 600,\n extraButtonProps: {\n rippleColor: 'transparent',\n exclusive: true,\n },\n };\n\n // timeout handlers\n pressInTimeout: Timeout;\n pressOutTimeout: Timeout;\n longPressTimeout: Timeout;\n\n // This flag is required since recognition of longPress implies not-invoking onPress\n longPressDetected = false;\n\n pointerInside = true;\n\n // State of touchable\n STATE: TouchableState = TOUCHABLE_STATE.UNDETERMINED;\n\n // handlePressIn in called on first touch on traveling inside component.\n // Handles state transition with delay.\n handlePressIn() {\n if (this.props.delayPressIn) {\n this.pressInTimeout = setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n this.pressInTimeout = null;\n }, this.props.delayPressIn);\n } else {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n if (this.props.onLongPress) {\n const time =\n (this.props.delayPressIn || 0) + (this.props.delayLongPress || 0);\n this.longPressTimeout = setTimeout(this.onLongPressDetected, time);\n }\n }\n // handleMoveOutside in called on traveling outside component.\n // Handles state transition with delay.\n handleMoveOutside() {\n if (this.props.delayPressOut) {\n this.pressOutTimeout =\n this.pressOutTimeout ||\n setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n }\n }\n\n // handleGoToUndetermined transits to UNDETERMINED state with proper delay\n handleGoToUndetermined() {\n clearTimeout(this.pressOutTimeout!); // TODO: maybe it can be undefined\n if (this.props.delayPressOut) {\n this.pressOutTimeout = setTimeout(() => {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n }\n }\n\n componentDidMount() {\n this.reset();\n }\n // reset timeout to prevent memory leaks.\n reset() {\n this.longPressDetected = false;\n this.pointerInside = true;\n clearTimeout(this.pressInTimeout!);\n clearTimeout(this.pressOutTimeout!);\n clearTimeout(this.longPressTimeout!);\n this.pressOutTimeout = null;\n this.longPressTimeout = null;\n this.pressInTimeout = null;\n }\n\n // All states' transitions are defined here.\n moveToState(newState: TouchableState) {\n if (newState === this.STATE) {\n // Ignore dummy transitions\n return;\n }\n if (newState === TOUCHABLE_STATE.BEGAN) {\n // First touch and moving inside\n this.props.onPressIn?.();\n } else if (newState === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // Moving outside\n this.props.onPressOut?.();\n } else if (newState === TOUCHABLE_STATE.UNDETERMINED) {\n // Need to reset each time on transition to UNDETERMINED\n this.reset();\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n // ... and if it happens inside button.\n this.props.onPressOut?.();\n }\n }\n // Finally call lister (used by subclasses)\n this.props.onStateChange?.(this.STATE, newState);\n // ... and make transition.\n this.STATE = newState;\n }\n\n onGestureEvent = ({\n nativeEvent: { pointerInside },\n }: GestureEvent) => {\n if (this.pointerInside !== pointerInside) {\n if (pointerInside) {\n this.onMoveIn();\n } else {\n this.onMoveOut();\n }\n }\n this.pointerInside = pointerInside;\n };\n\n onHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { state } = nativeEvent;\n if (state === State.CANCELLED || state === State.FAILED) {\n // Need to handle case with external cancellation (e.g. by ScrollView)\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n } else if (\n // This platform check is an implication of slightly different behavior of handlers on different platform.\n // And Android \"Active\" state is achieving on first move of a finger, not on press in.\n // On iOS event on \"Began\" is not delivered.\n state === (Platform.OS !== 'android' ? State.ACTIVE : State.BEGAN) &&\n this.STATE === TOUCHABLE_STATE.UNDETERMINED\n ) {\n // Moving inside requires\n this.handlePressIn();\n } else if (state === State.END) {\n const shouldCallOnPress =\n !this.longPressDetected &&\n this.STATE !== TOUCHABLE_STATE.MOVED_OUTSIDE &&\n this.pressOutTimeout === null;\n this.handleGoToUndetermined();\n if (shouldCallOnPress) {\n // Calls only inside component whether no long press was called previously\n this.props.onPress?.();\n }\n }\n };\n\n onLongPressDetected = () => {\n this.longPressDetected = true;\n // checked for in the caller of `onLongPressDetected`, but better to check twice\n this.props.onLongPress?.();\n };\n\n componentWillUnmount() {\n // to prevent memory leaks\n this.reset();\n }\n\n onMoveIn() {\n if (this.STATE === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // This call is not throttled with delays (like in RN's implementation).\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n }\n\n onMoveOut() {\n // long press should no longer be detected\n clearTimeout(this.longPressTimeout!);\n this.longPressTimeout = null;\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n this.handleMoveOutside();\n }\n }\n\n render() {\n const coreProps = {\n accessible: this.props.accessible !== false,\n accessibilityLabel: this.props.accessibilityLabel,\n accessibilityHint: this.props.accessibilityHint,\n accessibilityRole: this.props.accessibilityRole,\n // TODO: check if changed to no 's' correctly, also removed 2 props that are no longer available: `accessibilityComponentType` and `accessibilityTraits`,\n // would be good to check if it is ok for sure, see: https://github.com/facebook/react-native/issues/24016\n accessibilityState: this.props.accessibilityState,\n nativeID: this.props.nativeID,\n onLayout: this.props.onLayout,\n hitSlop: this.props.hitSlop,\n };\n\n return (\n \n \n {this.props.children}\n \n \n );\n }\n}\n","import {\n Animated,\n Easing,\n StyleSheet,\n View,\n TouchableOpacityProps,\n} from 'react-native';\nimport GenericTouchable, {\n TOUCHABLE_STATE,\n GenericTouchableProps,\n} from './GenericTouchable';\nimport * as React from 'react';\nimport { Component } from 'react';\n\ninterface GHTouchableOpacityProps {\n useNativeAnimations?: boolean;\n}\n\n/**\n * TouchableOpacity bases on timing animation which has been used in RN's core\n */\nexport default class TouchableOpacity extends Component<\n TouchableOpacityProps & GenericTouchableProps & GHTouchableOpacityProps\n> {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.2,\n };\n\n // opacity is 1 one by default but could be overwritten\n getChildStyleOpacityWithDefault = () => {\n const childStyle = StyleSheet.flatten(this.props.style) || {};\n return childStyle.opacity == null ? 1 : childStyle.opacity;\n };\n\n opacity = new Animated.Value(this.getChildStyleOpacityWithDefault());\n\n setOpacityTo = (value: number, duration: number) => {\n Animated.timing(this.opacity, {\n toValue: value,\n duration: duration,\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: this.props.useNativeAnimations ?? true,\n }).start();\n };\n\n onStateChange = (_from: number, to: number) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.setOpacityTo(this.props.activeOpacity!, 0);\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.setOpacityTo(this.getChildStyleOpacityWithDefault(), 150);\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n return (\n \n {this.props.children ? this.props.children : }\n \n );\n }\n}\n","import * as React from 'react';\nimport { Component } from 'react';\nimport GenericTouchable, {\n GenericTouchableProps,\n TOUCHABLE_STATE,\n} from './GenericTouchable';\nimport {\n StyleSheet,\n View,\n TouchableHighlightProps,\n ColorValue,\n ViewProps,\n} from 'react-native';\n\ninterface State {\n extraChildStyle: null | {\n opacity?: number;\n };\n extraUnderlayStyle: null | {\n backgroundColor?: ColorValue;\n };\n}\n\n/**\n * TouchableHighlight follows RN's implementation\n */\nexport default class TouchableHighlight extends Component<\n TouchableHighlightProps & GenericTouchableProps,\n State\n> {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black',\n };\n\n constructor(props: TouchableHighlightProps & GenericTouchableProps) {\n super(props);\n this.state = {\n extraChildStyle: null,\n extraUnderlayStyle: null,\n };\n }\n\n // Copied from RN\n showUnderlay = () => {\n if (!this.hasPressHandler()) {\n return;\n }\n this.setState({\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n });\n this.props.onShowUnderlay?.();\n };\n\n hasPressHandler = () =>\n this.props.onPress ||\n this.props.onPressIn ||\n this.props.onPressOut ||\n this.props.onLongPress;\n\n hideUnderlay = () => {\n this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null,\n });\n this.props.onHideUnderlay?.();\n };\n\n renderChildren() {\n if (!this.props.children) {\n return ;\n }\n\n const child = React.Children.only(\n this.props.children\n ) as React.ReactElement; // TODO: not sure if OK but fixes error\n return React.cloneElement(child, {\n style: StyleSheet.compose(child.props.style, this.state.extraChildStyle),\n });\n }\n\n onStateChange = (_from: number, to: number) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.showUnderlay();\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.hideUnderlay();\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n const { extraUnderlayStyle } = this.state;\n return (\n \n {this.renderChildren()}\n \n );\n }\n}\n","import * as React from 'react';\nimport {\n PropsWithChildren,\n ForwardedRef,\n RefAttributes,\n ReactElement,\n} from 'react';\nimport {\n ScrollView as RNScrollView,\n ScrollViewProps as RNScrollViewProps,\n Switch as RNSwitch,\n SwitchProps as RNSwitchProps,\n TextInput as RNTextInput,\n TextInputProps as RNTextInputProps,\n DrawerLayoutAndroid as RNDrawerLayoutAndroid,\n DrawerLayoutAndroidProps as RNDrawerLayoutAndroidProps,\n FlatList as RNFlatList,\n FlatListProps as RNFlatListProps,\n} from 'react-native';\n\nimport createNativeWrapper from '../handlers/createNativeWrapper';\n\nimport {\n NativeViewGestureHandlerProps,\n nativeViewProps,\n} from '../handlers/NativeViewGestureHandler';\n\nexport const ScrollView = createNativeWrapper<\n PropsWithChildren\n>(RNScrollView, {\n disallowInterruption: true,\n shouldCancelWhenOutside: false,\n});\n// backward type compatibility with https://github.com/software-mansion/react-native-gesture-handler/blob/db78d3ca7d48e8ba57482d3fe9b0a15aa79d9932/react-native-gesture-handler.d.ts#L440-L457\n// include methods of wrapped components by creating an intersection type with the RN component instead of duplicating them.\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type ScrollView = typeof ScrollView & RNScrollView;\n\nexport const Switch = createNativeWrapper(RNSwitch, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: true,\n disallowInterruption: true,\n});\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type Switch = typeof Switch & RNSwitch;\n\nexport const TextInput = createNativeWrapper(RNTextInput);\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type TextInput = typeof TextInput & RNTextInput;\n\nexport const DrawerLayoutAndroid = createNativeWrapper<\n PropsWithChildren\n>(RNDrawerLayoutAndroid, { disallowInterruption: true });\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type DrawerLayoutAndroid = typeof DrawerLayoutAndroid &\n RNDrawerLayoutAndroid;\n\nexport const FlatList = React.forwardRef((props, ref) => {\n const flatListProps = {};\n const scrollViewProps = {};\n for (const [propName, value] of Object.entries(props)) {\n // https://github.com/microsoft/TypeScript/issues/26255\n if ((nativeViewProps as readonly string[]).includes(propName)) {\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n scrollViewProps[propName] = value;\n } else {\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n flatListProps[propName] = value;\n }\n }\n return (\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n (\n \n )}\n />\n );\n}) as (\n props: PropsWithChildren<\n RNFlatListProps &\n RefAttributes> &\n NativeViewGestureHandlerProps\n >,\n ref: ForwardedRef>\n) => ReactElement | null;\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type FlatList = typeof FlatList & RNFlatList;\n","// Similarily to the DrawerLayout component this deserves to be put in a\n// separate repo. Although, keeping it here for the time being will allow us to\n// move faster and fix possible issues quicker\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport {\n Animated,\n StyleSheet,\n View,\n I18nManager,\n LayoutChangeEvent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../handlers/gestureHandlerCommon';\nimport {\n PanGestureHandler,\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from '../handlers/PanGestureHandler';\nimport {\n TapGestureHandler,\n TapGestureHandlerEventPayload,\n} from '../handlers/TapGestureHandler';\nimport { State } from '../State';\n\nconst DRAG_TOSS = 0.05;\n\ntype SwipeableExcludes = Exclude<\n keyof PanGestureHandlerProps,\n 'onGestureEvent' | 'onHandlerStateChange'\n>;\n\nexport interface SwipeableProps\n extends Pick {\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * `enableTrackpadTwoFingerGesture` swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n /**\n * Specifies how much the visual interaction will be delayed compared to the\n * gesture distance. e.g. value of 1 will indicate that the swipeable panel\n * should exactly follow the gesture, 2 means it is going to be two times\n * \"slower\".\n */\n friction?: number;\n\n /**\n * Distance from the left edge at which released panel will animate to the\n * open state (or the open panel will animate into the closed state). By\n * default it's a half of the panel's width.\n */\n leftThreshold?: number;\n\n /**\n * Distance from the right edge at which released panel will animate to the\n * open state (or the open panel will animate into the closed state). By\n * default it's a half of the panel's width.\n */\n rightThreshold?: number;\n\n /**\n * Value indicating if the swipeable panel can be pulled further than the left\n * actions panel's width. It is set to true by default as long as the left\n * panel render method is present.\n */\n overshootLeft?: boolean;\n\n /**\n * Value indicating if the swipeable panel can be pulled further than the\n * right actions panel's width. It is set to true by default as long as the\n * right panel render method is present.\n */\n overshootRight?: boolean;\n\n /**\n * Specifies how much the visual interaction will be delayed compared to the\n * gesture distance at overshoot. Default value is 1, it mean no friction, for\n * a native feel, try 8 or above.\n */\n overshootFriction?: number;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableOpen()\n *\n * Called when left action panel gets open.\n */\n onSwipeableLeftOpen?: () => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableOpen()\n *\n * Called when right action panel gets open.\n */\n onSwipeableRightOpen?: () => void;\n\n /**\n * Called when action panel gets open (either right or left).\n */\n onSwipeableOpen?: (direction: 'left' | 'right') => void;\n\n /**\n * Called when action panel is closed.\n */\n onSwipeableClose?: (direction: 'left' | 'right') => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableWillOpen()\n *\n * Called when left action panel starts animating on open.\n */\n onSwipeableLeftWillOpen?: () => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableWillOpen()\n *\n * Called when right action panel starts animating on open.\n */\n onSwipeableRightWillOpen?: () => void;\n\n /**\n * Called when action panel starts animating on open (either right or left).\n */\n onSwipeableWillOpen?: (direction: 'left' | 'right') => void;\n\n /**\n * Called when action panel starts animating on close.\n */\n onSwipeableWillClose?: (direction: 'left' | 'right') => void;\n\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1] dragAnimatedValue: [0, +]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderLeftActions?: (\n progressAnimatedValue: Animated.AnimatedInterpolation,\n dragAnimatedValue: Animated.AnimatedInterpolation\n ) => React.ReactNode;\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1] dragAnimatedValue: [0, -]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderRightActions?: (\n progressAnimatedValue: Animated.AnimatedInterpolation,\n dragAnimatedValue: Animated.AnimatedInterpolation\n ) => React.ReactNode;\n\n useNativeAnimations?: boolean;\n\n animationOptions?: Record;\n\n /**\n * Style object for the container (`Animated.View`), for example to override\n * `overflow: 'hidden'`.\n */\n containerStyle?: StyleProp;\n\n /**\n * Style object for the children container (`Animated.View`), for example to\n * apply `flex: 1`\n */\n childrenContainerStyle?: StyleProp;\n}\n\ntype SwipeableState = {\n dragX: Animated.Value;\n rowTranslation: Animated.Value;\n rowState: number;\n leftWidth?: number;\n rightOffset?: number;\n rowWidth?: number;\n};\n\nexport default class Swipeable extends Component<\n SwipeableProps,\n SwipeableState\n> {\n static defaultProps = {\n friction: 1,\n overshootFriction: 1,\n useNativeAnimations: true,\n };\n\n constructor(props: SwipeableProps) {\n super(props);\n const dragX = new Animated.Value(0);\n this.state = {\n dragX,\n rowTranslation: new Animated.Value(0),\n rowState: 0,\n leftWidth: undefined,\n rightOffset: undefined,\n rowWidth: undefined,\n };\n this.updateAnimatedEvent(props, this.state);\n\n this.onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragX } }],\n { useNativeDriver: props.useNativeAnimations! }\n );\n }\n\n UNSAFE_componentWillUpdate(props: SwipeableProps, state: SwipeableState) {\n if (\n this.props.friction !== props.friction ||\n this.props.overshootLeft !== props.overshootLeft ||\n this.props.overshootRight !== props.overshootRight ||\n this.props.overshootFriction !== props.overshootFriction ||\n this.state.leftWidth !== state.leftWidth ||\n this.state.rightOffset !== state.rightOffset ||\n this.state.rowWidth !== state.rowWidth\n ) {\n this.updateAnimatedEvent(props, state);\n }\n }\n\n private onGestureEvent?: (\n event: GestureEvent\n ) => void;\n private transX?: Animated.AnimatedInterpolation;\n private showLeftAction?: Animated.AnimatedInterpolation | Animated.Value;\n private leftActionTranslate?: Animated.AnimatedInterpolation;\n private showRightAction?: Animated.AnimatedInterpolation | Animated.Value;\n private rightActionTranslate?: Animated.AnimatedInterpolation;\n\n private updateAnimatedEvent = (\n props: SwipeableProps,\n state: SwipeableState\n ) => {\n const { friction, overshootFriction } = props;\n const { dragX, rowTranslation, leftWidth = 0, rowWidth = 0 } = state;\n const { rightOffset = rowWidth } = state;\n const rightWidth = Math.max(0, rowWidth - rightOffset);\n\n const {\n overshootLeft = leftWidth > 0,\n overshootRight = rightWidth > 0,\n } = props;\n\n const transX = Animated.add(\n rowTranslation,\n dragX.interpolate({\n inputRange: [0, friction!],\n outputRange: [0, 1],\n })\n ).interpolate({\n inputRange: [-rightWidth - 1, -rightWidth, leftWidth, leftWidth + 1],\n outputRange: [\n -rightWidth - (overshootRight ? 1 / overshootFriction! : 0),\n -rightWidth,\n leftWidth,\n leftWidth + (overshootLeft ? 1 / overshootFriction! : 0),\n ],\n });\n this.transX = transX;\n this.showLeftAction =\n leftWidth > 0\n ? transX.interpolate({\n inputRange: [-1, 0, leftWidth],\n outputRange: [0, 0, 1],\n })\n : new Animated.Value(0);\n this.leftActionTranslate = this.showLeftAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n this.showRightAction =\n rightWidth > 0\n ? transX.interpolate({\n inputRange: [-rightWidth, 0, 1],\n outputRange: [1, 0, 0],\n })\n : new Animated.Value(0);\n this.rightActionTranslate = this.showRightAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n };\n\n private onTapHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this.close();\n }\n };\n\n private onHandlerStateChange = (\n ev: HandlerStateChangeEvent\n ) => {\n if (ev.nativeEvent.oldState === State.ACTIVE) {\n this.handleRelease(ev);\n }\n };\n\n private handleRelease = (\n ev: HandlerStateChangeEvent\n ) => {\n const { velocityX, translationX: dragX } = ev.nativeEvent;\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n const {\n friction,\n leftThreshold = leftWidth / 2,\n rightThreshold = rightWidth / 2,\n } = this.props;\n\n const startOffsetX = this.currentOffset() + dragX / friction!;\n const translationX = (dragX + DRAG_TOSS * velocityX) / friction!;\n\n let toValue = 0;\n if (rowState === 0) {\n if (translationX > leftThreshold) {\n toValue = leftWidth;\n } else if (translationX < -rightThreshold) {\n toValue = -rightWidth;\n }\n } else if (rowState === 1) {\n // swiped to left\n if (translationX > -leftThreshold) {\n toValue = leftWidth;\n }\n } else {\n // swiped to right\n if (translationX < rightThreshold) {\n toValue = -rightWidth;\n }\n }\n\n this.animateRow(startOffsetX, toValue, velocityX / friction!);\n };\n\n private animateRow = (\n fromValue: number,\n toValue: number,\n velocityX?:\n | number\n | {\n x: number;\n y: number;\n }\n ) => {\n const { dragX, rowTranslation } = this.state;\n dragX.setValue(0);\n rowTranslation.setValue(fromValue);\n\n this.setState({ rowState: Math.sign(toValue) });\n Animated.spring(rowTranslation, {\n restSpeedThreshold: 1.7,\n restDisplacementThreshold: 0.4,\n velocity: velocityX,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations!,\n ...this.props.animationOptions,\n }).start(({ finished }) => {\n if (finished) {\n if (toValue > 0) {\n this.props.onSwipeableLeftOpen?.();\n this.props.onSwipeableOpen?.('left');\n } else if (toValue < 0) {\n this.props.onSwipeableRightOpen?.();\n this.props.onSwipeableOpen?.('right');\n } else {\n const closingDirection = fromValue > 0 ? 'left' : 'right';\n this.props.onSwipeableClose?.(closingDirection);\n }\n }\n });\n if (toValue > 0) {\n this.props.onSwipeableLeftWillOpen?.();\n this.props.onSwipeableWillOpen?.('left');\n } else if (toValue < 0) {\n this.props.onSwipeableRightWillOpen?.();\n this.props.onSwipeableWillOpen?.('right');\n } else {\n const closingDirection = fromValue > 0 ? 'left' : 'right';\n this.props.onSwipeableWillClose?.(closingDirection);\n }\n };\n\n private onRowLayout = ({ nativeEvent }: LayoutChangeEvent) => {\n this.setState({ rowWidth: nativeEvent.layout.width });\n };\n\n private currentOffset = () => {\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n if (rowState === 1) {\n return leftWidth;\n } else if (rowState === -1) {\n return -rightWidth;\n }\n return 0;\n };\n\n close = () => {\n this.animateRow(this.currentOffset(), 0);\n };\n\n openLeft = () => {\n const { leftWidth = 0 } = this.state;\n this.animateRow(this.currentOffset(), leftWidth);\n };\n\n openRight = () => {\n const { rowWidth = 0 } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n this.animateRow(this.currentOffset(), -rightWidth);\n };\n\n render() {\n const { rowState } = this.state;\n const { children, renderLeftActions, renderRightActions } = this.props;\n\n const left = renderLeftActions && (\n \n {renderLeftActions(this.showLeftAction!, this.transX!)}\n \n this.setState({ leftWidth: nativeEvent.layout.x })\n }\n />\n \n );\n\n const right = renderRightActions && (\n \n {renderRightActions(this.showRightAction!, this.transX!)}\n \n this.setState({ rightOffset: nativeEvent.layout.x })\n }\n />\n \n );\n\n return (\n \n \n {left}\n {right}\n \n \n {children}\n \n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n overflow: 'hidden',\n },\n leftActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row',\n },\n rightActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row' : 'row-reverse',\n },\n});\n","// This component is based on RN's DrawerLayoutAndroid API\n//\n// It perhaps deserves to be put in a separate repo, but since it relies on\n// react-native-gesture-handler library which isn't very popular at the moment I\n// decided to keep it here for the time being. It will allow us to move faster\n// and fix issues that may arise in gesture handler library that could be found\n// when using the drawer component\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport invariant from 'invariant';\nimport {\n Animated,\n StyleSheet,\n View,\n Keyboard,\n StatusBar,\n I18nManager,\n StatusBarAnimation,\n StyleProp,\n ViewStyle,\n LayoutChangeEvent,\n NativeSyntheticEvent,\n} from 'react-native';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../handlers/gestureHandlerCommon';\nimport {\n PanGestureHandler,\n PanGestureHandlerEventPayload,\n} from '../handlers/PanGestureHandler';\nimport {\n TapGestureHandler,\n TapGestureHandlerEventPayload,\n} from '../handlers/TapGestureHandler';\nimport { State } from '../State';\n\nconst DRAG_TOSS = 0.05;\n\nconst IDLE: DrawerState = 'Idle';\nconst DRAGGING: DrawerState = 'Dragging';\nconst SETTLING: DrawerState = 'Settling';\n\nexport type DrawerPosition = 'left' | 'right';\n\nexport type DrawerState = 'Idle' | 'Dragging' | 'Settling';\n\nexport type DrawerType = 'front' | 'back' | 'slide';\n\nexport type DrawerLockMode = 'unlocked' | 'locked-closed' | 'locked-open';\n\nexport type DrawerKeyboardDismissMode = 'none' | 'on-drag';\n\nexport interface DrawerLayoutProps {\n /**\n * This attribute is present in the standard implementation already and is one\n * of the required params. Gesture handler version of DrawerLayout make it\n * possible for the function passed as `renderNavigationView` to take an\n * Animated value as a parameter that indicates the progress of drawer\n * opening/closing animation (progress value is 0 when closed and 1 when\n * opened). This can be used by the drawer component to animated its children\n * while the drawer is opening or closing.\n */\n renderNavigationView: (\n progressAnimatedValue: Animated.Value\n ) => React.ReactNode;\n\n drawerPosition?: DrawerPosition;\n\n drawerWidth?: number;\n\n drawerBackgroundColor?: string;\n\n drawerLockMode?: DrawerLockMode;\n\n keyboardDismissMode?: DrawerKeyboardDismissMode;\n\n /**\n * Called when the drawer is closed.\n */\n onDrawerClose?: () => void;\n\n /**\n * Called when the drawer is opened.\n */\n onDrawerOpen?: () => void;\n\n /**\n * Called when the status of the drawer changes.\n */\n onDrawerStateChanged?: (\n newState: DrawerState,\n drawerWillShow: boolean\n ) => void;\n useNativeAnimations?: boolean;\n\n drawerType?: DrawerType;\n\n /**\n * Defines how far from the edge of the content view the gesture should\n * activate.\n */\n edgeWidth?: number;\n\n minSwipeDistance?: number;\n\n /**\n * When set to true Drawer component will use\n * {@link https://reactnative.dev/docs/statusbar StatusBar} API to hide the OS\n * status bar whenever the drawer is pulled or when its in an \"open\" state.\n */\n hideStatusBar?: boolean;\n\n /**\n * @default 'slide'\n *\n * Can be used when hideStatusBar is set to true and will select the animation\n * used for hiding/showing the status bar. See\n * {@link https://reactnative.dev/docs/statusbar StatusBar} documentation for\n * more details\n */\n statusBarAnimation?: StatusBarAnimation;\n\n /**\n * @default black\n *\n * Color of a semi-transparent overlay to be displayed on top of the content\n * view when drawer gets open. A solid color should be used as the opacity is\n * added by the Drawer itself and the opacity of the overlay is animated (from\n * 0% to 70%).\n */\n overlayColor?: string;\n\n contentContainerStyle?: StyleProp;\n\n drawerContainerStyle?: StyleProp;\n\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * `enableTrackpadTwoFingerGesture` swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n onDrawerSlide?: (position: number) => void;\n\n onGestureRef?: (ref: PanGestureHandler) => void;\n}\n\nexport type DrawerLayoutState = {\n dragX: Animated.Value;\n touchX: Animated.Value;\n drawerTranslation: Animated.Value;\n containerWidth: number;\n};\n\nexport type DrawerMovementOption = {\n velocity?: number;\n speed?: number;\n};\nexport default class DrawerLayout extends Component<\n DrawerLayoutProps,\n DrawerLayoutState\n> {\n static defaultProps = {\n drawerWidth: 200,\n drawerPosition: 'left',\n useNativeAnimations: true,\n drawerType: 'front',\n edgeWidth: 20,\n minSwipeDistance: 3,\n overlayColor: 'rgba(0, 0, 0, 0.7)',\n drawerLockMode: 'unlocked',\n enableTrackpadTwoFingerGesture: false,\n };\n\n constructor(props: DrawerLayoutProps) {\n super(props);\n\n const dragX = new Animated.Value(0);\n const touchX = new Animated.Value(0);\n const drawerTranslation = new Animated.Value(0);\n\n this.state = {\n dragX,\n touchX,\n drawerTranslation,\n containerWidth: 0,\n };\n\n this.updateAnimatedEvent(props, this.state);\n }\n\n UNSAFE_componentWillUpdate(\n props: DrawerLayoutProps,\n state: DrawerLayoutState\n ) {\n if (\n this.props.drawerPosition !== props.drawerPosition ||\n this.props.drawerWidth !== props.drawerWidth ||\n this.props.drawerType !== props.drawerType ||\n this.state.containerWidth !== state.containerWidth\n ) {\n this.updateAnimatedEvent(props, state);\n }\n }\n\n private openValue?: Animated.AnimatedInterpolation;\n private onGestureEvent?: (\n event: GestureEvent\n ) => void;\n private accessibilityIsModalView = React.createRef();\n private pointerEventsView = React.createRef();\n private panGestureHandler = React.createRef();\n private drawerShown = false;\n\n static positions = {\n Left: 'left',\n Right: 'right',\n };\n\n private updateAnimatedEvent = (\n props: DrawerLayoutProps,\n state: DrawerLayoutState\n ) => {\n // Event definition is based on\n const { drawerPosition, drawerWidth, drawerType } = props;\n const {\n dragX: dragXValue,\n touchX: touchXValue,\n drawerTranslation,\n containerWidth,\n } = state;\n\n let dragX = dragXValue;\n let touchX = touchXValue;\n\n if (drawerPosition !== 'left') {\n // Most of the code is written in a way to handle left-side drawer. In\n // order to handle right-side drawer the only thing we need to do is to\n // reverse events coming from gesture handler in a way they emulate\n // left-side drawer gestures. E.g. dragX is simply -dragX, and touchX is\n // calulcated by subtracing real touchX from the width of the container\n // (such that when touch happens at the right edge the value is simply 0)\n dragX = Animated.multiply(\n new Animated.Value(-1),\n dragXValue\n ) as Animated.Value; // TODO(TS): (for all \"as\" in this file) make sure we can map this\n touchX = Animated.add(\n new Animated.Value(containerWidth),\n Animated.multiply(new Animated.Value(-1), touchXValue)\n ) as Animated.Value; // TODO(TS): make sure we can map this;\n touchXValue.setValue(containerWidth);\n } else {\n touchXValue.setValue(0);\n }\n\n // While closing the drawer when user starts gesture outside of its area (in greyed\n // out part of the window), we want the drawer to follow only once finger reaches the\n // edge of the drawer.\n // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by\n // dots. The touch gesture starts at '*' and moves left, touch path is indicated by\n // an arrow pointing left\n // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // +---------------+ +---------------+ +---------------+ +---------------+\n //\n // For the above to work properly we define animated value that will keep\n // start position of the gesture. Then we use that value to calculate how\n // much we need to subtract from the dragX. If the gesture started on the\n // greyed out area we take the distance from the edge of the drawer to the\n // start position. Otherwise we don't subtract at all and the drawer be\n // pulled back as soon as you start the pan.\n //\n // This is used only when drawerType is \"front\"\n //\n let translationX = dragX;\n if (drawerType === 'front') {\n const startPositionX = Animated.add(\n touchX,\n Animated.multiply(new Animated.Value(-1), dragX)\n );\n\n const dragOffsetFromOnStartPosition = startPositionX.interpolate({\n inputRange: [drawerWidth! - 1, drawerWidth!, drawerWidth! + 1],\n outputRange: [0, 0, 1],\n });\n translationX = Animated.add(\n dragX,\n dragOffsetFromOnStartPosition\n ) as Animated.Value; // TODO: as above\n }\n\n this.openValue = Animated.add(translationX, drawerTranslation).interpolate({\n inputRange: [0, drawerWidth!],\n outputRange: [0, 1],\n extrapolate: 'clamp',\n });\n\n const gestureOptions: {\n useNativeDriver: boolean;\n // TODO: make sure it is correct\n listener?: (\n ev: NativeSyntheticEvent\n ) => void;\n } = {\n useNativeDriver: props.useNativeAnimations!,\n };\n\n if (this.props.onDrawerSlide) {\n gestureOptions.listener = (ev) => {\n const translationX = Math.floor(Math.abs(ev.nativeEvent.translationX));\n const position = translationX / this.state.containerWidth;\n\n this.props.onDrawerSlide?.(position);\n };\n }\n\n this.onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragXValue, x: touchXValue } }],\n gestureOptions\n );\n };\n\n private handleContainerLayout = ({ nativeEvent }: LayoutChangeEvent) => {\n this.setState({ containerWidth: nativeEvent.layout.width });\n };\n\n private emitStateChanged = (\n newState: DrawerState,\n drawerWillShow: boolean\n ) => {\n this.props.onDrawerStateChanged?.(newState, drawerWillShow);\n };\n\n private openingHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this.handleRelease({ nativeEvent });\n } else if (nativeEvent.state === State.ACTIVE) {\n this.emitStateChanged(DRAGGING, false);\n if (this.props.keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(true, this.props.statusBarAnimation || 'slide');\n }\n }\n };\n\n private onTapHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (\n this.drawerShown &&\n nativeEvent.oldState === State.ACTIVE &&\n this.props.drawerLockMode !== 'locked-open'\n ) {\n this.closeDrawer();\n }\n };\n\n private handleRelease = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { drawerWidth, drawerPosition, drawerType } = this.props;\n const { containerWidth } = this.state;\n let { translationX: dragX, velocityX, x: touchX } = nativeEvent;\n\n if (drawerPosition !== 'left') {\n // See description in _updateAnimatedEvent about why events are flipped\n // for right-side drawer\n dragX = -dragX;\n touchX = containerWidth - touchX;\n velocityX = -velocityX;\n }\n\n const gestureStartX = touchX - dragX;\n let dragOffsetBasedOnStart = 0;\n\n if (drawerType === 'front') {\n dragOffsetBasedOnStart =\n gestureStartX > drawerWidth! ? gestureStartX - drawerWidth! : 0;\n }\n\n const startOffsetX =\n dragX + dragOffsetBasedOnStart + (this.drawerShown ? drawerWidth! : 0);\n const projOffsetX = startOffsetX + DRAG_TOSS * velocityX;\n\n const shouldOpen = projOffsetX > drawerWidth! / 2;\n\n if (shouldOpen) {\n this.animateDrawer(startOffsetX, drawerWidth!, velocityX);\n } else {\n this.animateDrawer(startOffsetX, 0, velocityX);\n }\n };\n\n private updateShowing = (showing: boolean) => {\n this.drawerShown = showing;\n this.accessibilityIsModalView.current?.setNativeProps({\n accessibilityViewIsModal: showing,\n });\n this.pointerEventsView.current?.setNativeProps({\n pointerEvents: showing ? 'auto' : 'none',\n });\n const { drawerPosition, minSwipeDistance, edgeWidth } = this.props;\n const fromLeft = drawerPosition === 'left';\n // gestureOrientation is 1 if the expected gesture is from left to right and\n // -1 otherwise e.g. when drawer is on the left and is closed we expect left\n // to right gesture, thus orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this.drawerShown ? -1 : 1);\n // When drawer is closed we want the hitSlop to be horizontally shorter than\n // the container size by the value of SLOP. This will make it only activate\n // when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: showing ? undefined : edgeWidth }\n : { right: 0, width: showing ? undefined : edgeWidth };\n // @ts-ignore internal API, maybe could be fixed in handler types\n this.panGestureHandler.current?.setNativeProps({\n hitSlop,\n activeOffsetX: gestureOrientation * minSwipeDistance!,\n });\n };\n\n private animateDrawer = (\n fromValue: number | null | undefined,\n toValue: number,\n velocity: number,\n speed?: number\n ) => {\n this.state.dragX.setValue(0);\n this.state.touchX.setValue(\n this.props.drawerPosition === 'left' ? 0 : this.state.containerWidth\n );\n\n if (fromValue != null) {\n let nextFramePosition = fromValue;\n if (this.props.useNativeAnimations) {\n // When using native driver, we predict the next position of the\n // animation because it takes one frame of a roundtrip to pass RELEASE\n // event from native driver to JS before we can start animating. Without\n // it, it is more noticable that the frame is dropped.\n if (fromValue < toValue && velocity > 0) {\n nextFramePosition = Math.min(fromValue + velocity / 60.0, toValue);\n } else if (fromValue > toValue && velocity < 0) {\n nextFramePosition = Math.max(fromValue + velocity / 60.0, toValue);\n }\n }\n this.state.drawerTranslation.setValue(nextFramePosition);\n }\n\n const willShow = toValue !== 0;\n this.updateShowing(willShow);\n this.emitStateChanged(SETTLING, willShow);\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(willShow, this.props.statusBarAnimation || 'slide');\n }\n Animated.spring(this.state.drawerTranslation, {\n velocity,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations!,\n speed: speed ?? undefined,\n }).start(({ finished }) => {\n if (finished) {\n this.emitStateChanged(IDLE, willShow);\n if (willShow) {\n this.props.onDrawerOpen?.();\n } else {\n this.props.onDrawerClose?.();\n }\n }\n });\n };\n\n openDrawer = (options: DrawerMovementOption = {}) => {\n this.animateDrawer(\n // TODO: decide if it should be null or undefined is the proper value\n undefined,\n this.props.drawerWidth!,\n options.velocity ? options.velocity : 0,\n options.speed\n );\n\n // We need to force the update, otherwise the overlay is not rerendered and\n // it would not be clickable\n this.forceUpdate();\n };\n\n closeDrawer = (options: DrawerMovementOption = {}) => {\n // TODO: decide if it should be null or undefined is the proper value\n this.animateDrawer(\n undefined,\n 0,\n options.velocity ? options.velocity : 0,\n options.speed\n );\n\n // We need to force the update, otherwise the overlay is not rerendered and\n // it would be still clickable\n this.forceUpdate();\n };\n\n private renderOverlay = () => {\n /* Overlay styles */\n invariant(this.openValue, 'should be set');\n const overlayOpacity = this.openValue.interpolate({\n inputRange: [0, 1],\n outputRange: [0, 1],\n extrapolate: 'clamp',\n });\n const dynamicOverlayStyles = {\n opacity: overlayOpacity,\n backgroundColor: this.props.overlayColor,\n };\n\n return (\n \n \n \n );\n };\n\n private renderDrawer = () => {\n const {\n drawerBackgroundColor,\n drawerWidth,\n drawerPosition,\n drawerType,\n drawerContainerStyle,\n contentContainerStyle,\n } = this.props;\n\n const fromLeft = drawerPosition === 'left';\n const drawerSlide = drawerType !== 'back';\n const containerSlide = drawerType !== 'front';\n\n // we rely on row and row-reverse flex directions to position the drawer\n // properly. Apparently for RTL these are flipped which requires us to use\n // the opposite setting for the drawer to appear from left or right\n // according to the drawerPosition prop\n const reverseContentDirection = I18nManager.isRTL ? fromLeft : !fromLeft;\n\n const dynamicDrawerStyles = {\n backgroundColor: drawerBackgroundColor,\n width: drawerWidth,\n };\n const openValue = this.openValue;\n invariant(openValue, 'should be set');\n\n let containerStyles;\n if (containerSlide) {\n const containerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: fromLeft ? [0, drawerWidth!] : [0, -drawerWidth!],\n extrapolate: 'clamp',\n });\n containerStyles = {\n transform: [{ translateX: containerTranslateX }],\n };\n }\n\n let drawerTranslateX: number | Animated.AnimatedInterpolation = 0;\n if (drawerSlide) {\n const closedDrawerOffset = fromLeft ? -drawerWidth! : drawerWidth!;\n drawerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: [closedDrawerOffset, 0],\n extrapolate: 'clamp',\n });\n }\n const drawerStyles: {\n transform: { translateX: number | Animated.AnimatedInterpolation }[];\n flexDirection: 'row-reverse' | 'row';\n } = {\n transform: [{ translateX: drawerTranslateX }],\n flexDirection: reverseContentDirection ? 'row-reverse' : 'row',\n };\n\n return (\n \n \n {typeof this.props.children === 'function'\n ? this.props.children(this.openValue)\n : this.props.children}\n {this.renderOverlay()}\n \n \n \n {this.props.renderNavigationView(this.openValue as Animated.Value)}\n \n \n \n );\n };\n\n private setPanGestureRef = (ref: PanGestureHandler) => {\n // TODO(TS): make sure it is OK taken from\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31065#issuecomment-596081842\n (this\n .panGestureHandler as React.MutableRefObject).current = ref;\n this.props.onGestureRef?.(ref);\n };\n\n render() {\n const {\n drawerPosition,\n drawerLockMode,\n edgeWidth,\n minSwipeDistance,\n } = this.props;\n\n const fromLeft = drawerPosition === 'left';\n\n // gestureOrientation is 1 if the expected gesture is from left to right and\n // -1 otherwise e.g. when drawer is on the left and is closed we expect left\n // to right gesture, thus orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this.drawerShown ? -1 : 1);\n\n // When drawer is closed we want the hitSlop to be horizontally shorter than\n // the container size by the value of SLOP. This will make it only activate\n // when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: this.drawerShown ? undefined : edgeWidth }\n : { right: 0, width: this.drawerShown ? undefined : edgeWidth };\n\n return (\n \n {this.renderDrawer()}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n drawerContainer: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1001,\n flexDirection: 'row',\n },\n containerInFront: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1002,\n },\n containerOnBack: {\n ...StyleSheet.absoluteFillObject,\n },\n main: {\n flex: 1,\n zIndex: 0,\n overflow: 'hidden',\n },\n overlay: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1000,\n },\n});\n","/**\n * Internal dependencies\n */\nimport createHooks from './createHooks';\n\n/** @typedef {(...args: any[])=>any} Callback */\n\n/**\n * @typedef Handler\n * @property {Callback} callback The callback\n * @property {string} namespace The namespace\n * @property {number} priority The namespace\n */\n\n/**\n * @typedef Hook\n * @property {Handler[]} handlers Array of handlers\n * @property {number} runs Run counter\n */\n\n/**\n * @typedef Current\n * @property {string} name Hook name\n * @property {number} currentIndex The index\n */\n\n/**\n * @typedef {Record & {__current: Current[]}} Store\n */\n\n/**\n * @typedef {'actions' | 'filters'} StoreKey\n */\n\n/**\n * @typedef {import('./createHooks').Hooks} Hooks\n */\n\nexport const defaultHooks = createHooks();\n\nconst {\n\taddAction,\n\taddFilter,\n\tremoveAction,\n\tremoveFilter,\n\thasAction,\n\thasFilter,\n\tremoveAllActions,\n\tremoveAllFilters,\n\tdoAction,\n\tapplyFilters,\n\tcurrentAction,\n\tcurrentFilter,\n\tdoingAction,\n\tdoingFilter,\n\tdidAction,\n\tdidFilter,\n\tactions,\n\tfilters,\n} = defaultHooks;\n\nexport {\n\tcreateHooks,\n\taddAction,\n\taddFilter,\n\tremoveAction,\n\tremoveFilter,\n\thasAction,\n\thasFilter,\n\tremoveAllActions,\n\tremoveAllFilters,\n\tdoAction,\n\tapplyFilters,\n\tcurrentAction,\n\tcurrentFilter,\n\tdoingAction,\n\tdoingFilter,\n\tdidAction,\n\tdidFilter,\n\tactions,\n\tfilters,\n};\n","/**\n * Internal dependencies\n */\nimport createAddHook from './createAddHook';\nimport createRemoveHook from './createRemoveHook';\nimport createHasHook from './createHasHook';\nimport createRunHook from './createRunHook';\nimport createCurrentHook from './createCurrentHook';\nimport createDoingHook from './createDoingHook';\nimport createDidHook from './createDidHook';\n\n/**\n * Internal class for constructing hooks. Use `createHooks()` function\n *\n * Note, it is necessary to expose this class to make its type public.\n *\n * @private\n */\nexport class _Hooks {\n\tconstructor() {\n\t\t/** @type {import('.').Store} actions */\n\t\tthis.actions = Object.create( null );\n\t\tthis.actions.__current = [];\n\n\t\t/** @type {import('.').Store} filters */\n\t\tthis.filters = Object.create( null );\n\t\tthis.filters.__current = [];\n\n\t\tthis.addAction = createAddHook( this, 'actions' );\n\t\tthis.addFilter = createAddHook( this, 'filters' );\n\t\tthis.removeAction = createRemoveHook( this, 'actions' );\n\t\tthis.removeFilter = createRemoveHook( this, 'filters' );\n\t\tthis.hasAction = createHasHook( this, 'actions' );\n\t\tthis.hasFilter = createHasHook( this, 'filters' );\n\t\tthis.removeAllActions = createRemoveHook( this, 'actions', true );\n\t\tthis.removeAllFilters = createRemoveHook( this, 'filters', true );\n\t\tthis.doAction = createRunHook( this, 'actions' );\n\t\tthis.applyFilters = createRunHook( this, 'filters', true );\n\t\tthis.currentAction = createCurrentHook( this, 'actions' );\n\t\tthis.currentFilter = createCurrentHook( this, 'filters' );\n\t\tthis.doingAction = createDoingHook( this, 'actions' );\n\t\tthis.doingFilter = createDoingHook( this, 'filters' );\n\t\tthis.didAction = createDidHook( this, 'actions' );\n\t\tthis.didFilter = createDidHook( this, 'filters' );\n\t}\n}\n\n/** @typedef {_Hooks} Hooks */\n\n/**\n * Returns an instance of the hooks object.\n *\n * @return {Hooks} A Hooks instance.\n */\nfunction createHooks() {\n\treturn new _Hooks();\n}\n\nexport default createHooks;\n","/**\n * Internal dependencies\n */\nimport validateNamespace from './validateNamespace.js';\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback AddHook\n *\n * Adds the hook to the appropriate hooks container.\n *\n * @param {string} hookName Name of hook to add\n * @param {string} namespace The unique namespace identifying the callback in the form `vendor/plugin/function`.\n * @param {import('.').Callback} callback Function to call when the hook is run\n * @param {number} [priority=10] Priority of this hook\n */\n\n/**\n * Returns a function which, when invoked, will add a hook.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {AddHook} Function that adds a new hook.\n */\nfunction createAddHook( hooks, storeKey ) {\n\treturn function addHook( hookName, namespace, callback, priority = 10 ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! validateNamespace( namespace ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( 'function' !== typeof callback ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error( 'The hook callback must be a function.' );\n\t\t\treturn;\n\t\t}\n\n\t\t// Validate numeric priority\n\t\tif ( 'number' !== typeof priority ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error(\n\t\t\t\t'If specified, the hook priority must be a number.'\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tconst handler = { callback, priority, namespace };\n\n\t\tif ( hooksStore[ hookName ] ) {\n\t\t\t// Find the correct insert index of the new hook.\n\t\t\tconst handlers = hooksStore[ hookName ].handlers;\n\n\t\t\t/** @type {number} */\n\t\t\tlet i;\n\t\t\tfor ( i = handlers.length; i > 0; i-- ) {\n\t\t\t\tif ( priority >= handlers[ i - 1 ].priority ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( i === handlers.length ) {\n\t\t\t\t// If append, operate via direct assignment.\n\t\t\t\thandlers[ i ] = handler;\n\t\t\t} else {\n\t\t\t\t// Otherwise, insert before index via splice.\n\t\t\t\thandlers.splice( i, 0, handler );\n\t\t\t}\n\n\t\t\t// We may also be currently executing this hook. If the callback\n\t\t\t// we're adding would come after the current callback, there's no\n\t\t\t// problem; otherwise we need to increase the execution index of\n\t\t\t// any other runs by 1 to account for the added element.\n\t\t\thooksStore.__current.forEach( ( hookInfo ) => {\n\t\t\t\tif (\n\t\t\t\t\thookInfo.name === hookName &&\n\t\t\t\t\thookInfo.currentIndex >= i\n\t\t\t\t) {\n\t\t\t\t\thookInfo.currentIndex++;\n\t\t\t\t}\n\t\t\t} );\n\t\t} else {\n\t\t\t// This is the first hook of its type.\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\thandlers: [ handler ],\n\t\t\t\truns: 0,\n\t\t\t};\n\t\t}\n\n\t\tif ( hookName !== 'hookAdded' ) {\n\t\t\thooks.doAction(\n\t\t\t\t'hookAdded',\n\t\t\t\thookName,\n\t\t\t\tnamespace,\n\t\t\t\tcallback,\n\t\t\t\tpriority\n\t\t\t);\n\t\t}\n\t};\n}\n\nexport default createAddHook;\n","/**\n * Validate a namespace string.\n *\n * @param {string} namespace The namespace to validate - should take the form\n * `vendor/plugin/function`.\n *\n * @return {boolean} Whether the namespace is valid.\n */\nfunction validateNamespace( namespace ) {\n\tif ( 'string' !== typeof namespace || '' === namespace ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The namespace must be a non-empty string.' );\n\t\treturn false;\n\t}\n\n\tif ( ! /^[a-zA-Z][a-zA-Z0-9_.\\-\\/]*$/.test( namespace ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error(\n\t\t\t'The namespace can only contain numbers, letters, dashes, periods, underscores and slashes.'\n\t\t);\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n\nexport default validateNamespace;\n","/**\n * Validate a hookName string.\n *\n * @param {string} hookName The hook name to validate. Should be a non empty string containing\n * only numbers, letters, dashes, periods and underscores. Also,\n * the hook name cannot begin with `__`.\n *\n * @return {boolean} Whether the hook name is valid.\n */\nfunction validateHookName( hookName ) {\n\tif ( 'string' !== typeof hookName || '' === hookName ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The hook name must be a non-empty string.' );\n\t\treturn false;\n\t}\n\n\tif ( /^__/.test( hookName ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error( 'The hook name cannot begin with `__`.' );\n\t\treturn false;\n\t}\n\n\tif ( ! /^[a-zA-Z][a-zA-Z0-9_.-]*$/.test( hookName ) ) {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.error(\n\t\t\t'The hook name can only contain numbers, letters, dashes, periods and underscores.'\n\t\t);\n\t\treturn false;\n\t}\n\n\treturn true;\n}\n\nexport default validateHookName;\n","/**\n * Internal dependencies\n */\nimport validateNamespace from './validateNamespace.js';\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback RemoveHook\n * Removes the specified callback (or all callbacks) from the hook with a given hookName\n * and namespace.\n *\n * @param {string} hookName The name of the hook to modify.\n * @param {string} namespace The unique namespace identifying the callback in the\n * form `vendor/plugin/function`.\n *\n * @return {number | undefined} The number of callbacks removed.\n */\n\n/**\n * Returns a function which, when invoked, will remove a specified hook or all\n * hooks by the given name.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n * @param {boolean} [removeAll=false] Whether to remove all callbacks for a hookName,\n * without regard to namespace. Used to create\n * `removeAll*` functions.\n *\n * @return {RemoveHook} Function that removes hooks.\n */\nfunction createRemoveHook( hooks, storeKey, removeAll = false ) {\n\treturn function removeHook( hookName, namespace ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! removeAll && ! validateNamespace( namespace ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Bail if no hooks exist by this name.\n\t\tif ( ! hooksStore[ hookName ] ) {\n\t\t\treturn 0;\n\t\t}\n\n\t\tlet handlersRemoved = 0;\n\n\t\tif ( removeAll ) {\n\t\t\thandlersRemoved = hooksStore[ hookName ].handlers.length;\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\truns: hooksStore[ hookName ].runs,\n\t\t\t\thandlers: [],\n\t\t\t};\n\t\t} else {\n\t\t\t// Try to find the specified callback to remove.\n\t\t\tconst handlers = hooksStore[ hookName ].handlers;\n\t\t\tfor ( let i = handlers.length - 1; i >= 0; i-- ) {\n\t\t\t\tif ( handlers[ i ].namespace === namespace ) {\n\t\t\t\t\thandlers.splice( i, 1 );\n\t\t\t\t\thandlersRemoved++;\n\t\t\t\t\t// This callback may also be part of a hook that is\n\t\t\t\t\t// currently executing. If the callback we're removing\n\t\t\t\t\t// comes after the current callback, there's no problem;\n\t\t\t\t\t// otherwise we need to decrease the execution index of any\n\t\t\t\t\t// other runs by 1 to account for the removed element.\n\t\t\t\t\thooksStore.__current.forEach( ( hookInfo ) => {\n\t\t\t\t\t\tif (\n\t\t\t\t\t\t\thookInfo.name === hookName &&\n\t\t\t\t\t\t\thookInfo.currentIndex >= i\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\thookInfo.currentIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( hookName !== 'hookRemoved' ) {\n\t\t\thooks.doAction( 'hookRemoved', hookName, namespace );\n\t\t}\n\n\t\treturn handlersRemoved;\n\t};\n}\n\nexport default createRemoveHook;\n","/**\n * @callback HasHook\n *\n * Returns whether any handlers are attached for the given hookName and optional namespace.\n *\n * @param {string} hookName The name of the hook to check for.\n * @param {string} [namespace] Optional. The unique namespace identifying the callback\n * in the form `vendor/plugin/function`.\n *\n * @return {boolean} Whether there are handlers that are attached to the given hook.\n */\n/**\n * Returns a function which, when invoked, will return whether any handlers are\n * attached to a particular hook.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {HasHook} Function that returns whether any handlers are\n * attached to a particular hook and optional namespace.\n */\nfunction createHasHook( hooks, storeKey ) {\n\treturn function hasHook( hookName, namespace ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\t// Use the namespace if provided.\n\t\tif ( 'undefined' !== typeof namespace ) {\n\t\t\treturn (\n\t\t\t\thookName in hooksStore &&\n\t\t\t\thooksStore[ hookName ].handlers.some(\n\t\t\t\t\t( hook ) => hook.namespace === namespace\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\treturn hookName in hooksStore;\n\t};\n}\n\nexport default createHasHook;\n","/**\n * Returns a function which, when invoked, will execute all callbacks\n * registered to a hook of the specified type, optionally returning the final\n * value of the call chain.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n * @param {boolean} [returnFirstArg=false] Whether each hook callback is expected to\n * return its first argument.\n *\n * @return {(hookName:string, ...args: unknown[]) => unknown} Function that runs hook callbacks.\n */\nfunction createRunHook( hooks, storeKey, returnFirstArg = false ) {\n\treturn function runHooks( hookName, ...args ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! hooksStore[ hookName ] ) {\n\t\t\thooksStore[ hookName ] = {\n\t\t\t\thandlers: [],\n\t\t\t\truns: 0,\n\t\t\t};\n\t\t}\n\n\t\thooksStore[ hookName ].runs++;\n\n\t\tconst handlers = hooksStore[ hookName ].handlers;\n\n\t\t// The following code is stripped from production builds.\n\t\tif ( 'production' !== process.env.NODE_ENV ) {\n\t\t\t// Handle any 'all' hooks registered.\n\t\t\tif ( 'hookAdded' !== hookName && hooksStore.all ) {\n\t\t\t\thandlers.push( ...hooksStore.all.handlers );\n\t\t\t}\n\t\t}\n\n\t\tif ( ! handlers || ! handlers.length ) {\n\t\t\treturn returnFirstArg ? args[ 0 ] : undefined;\n\t\t}\n\n\t\tconst hookInfo = {\n\t\t\tname: hookName,\n\t\t\tcurrentIndex: 0,\n\t\t};\n\n\t\thooksStore.__current.push( hookInfo );\n\n\t\twhile ( hookInfo.currentIndex < handlers.length ) {\n\t\t\tconst handler = handlers[ hookInfo.currentIndex ];\n\n\t\t\tconst result = handler.callback.apply( null, args );\n\t\t\tif ( returnFirstArg ) {\n\t\t\t\targs[ 0 ] = result;\n\t\t\t}\n\n\t\t\thookInfo.currentIndex++;\n\t\t}\n\n\t\thooksStore.__current.pop();\n\n\t\tif ( returnFirstArg ) {\n\t\t\treturn args[ 0 ];\n\t\t}\n\t};\n}\n\nexport default createRunHook;\n","/**\n * Returns a function which, when invoked, will return the name of the\n * currently running hook, or `null` if no hook of the given type is currently\n * running.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {() => string | null} Function that returns the current hook name or null.\n */\nfunction createCurrentHook( hooks, storeKey ) {\n\treturn function currentHook() {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\treturn (\n\t\t\thooksStore.__current[ hooksStore.__current.length - 1 ]?.name ??\n\t\t\tnull\n\t\t);\n\t};\n}\n\nexport default createCurrentHook;\n","/**\n * @callback DoingHook\n * Returns whether a hook is currently being executed.\n *\n * @param {string} [hookName] The name of the hook to check for. If\n * omitted, will check for any hook being executed.\n *\n * @return {boolean} Whether the hook is being executed.\n */\n\n/**\n * Returns a function which, when invoked, will return whether a hook is\n * currently being executed.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {DoingHook} Function that returns whether a hook is currently\n * being executed.\n */\nfunction createDoingHook( hooks, storeKey ) {\n\treturn function doingHook( hookName ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\t// If the hookName was not passed, check for any current hook.\n\t\tif ( 'undefined' === typeof hookName ) {\n\t\t\treturn 'undefined' !== typeof hooksStore.__current[ 0 ];\n\t\t}\n\n\t\t// Return the __current hook.\n\t\treturn hooksStore.__current[ 0 ]\n\t\t\t? hookName === hooksStore.__current[ 0 ].name\n\t\t\t: false;\n\t};\n}\n\nexport default createDoingHook;\n","/**\n * Internal dependencies\n */\nimport validateHookName from './validateHookName.js';\n\n/**\n * @callback DidHook\n *\n * Returns the number of times an action has been fired.\n *\n * @param {string} hookName The hook name to check.\n *\n * @return {number | undefined} The number of times the hook has run.\n */\n\n/**\n * Returns a function which, when invoked, will return the number of times a\n * hook has been called.\n *\n * @param {import('.').Hooks} hooks Hooks instance.\n * @param {import('.').StoreKey} storeKey\n *\n * @return {DidHook} Function that returns a hook's call count.\n */\nfunction createDidHook( hooks, storeKey ) {\n\treturn function didHook( hookName ) {\n\t\tconst hooksStore = hooks[ storeKey ];\n\n\t\tif ( ! validateHookName( hookName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn hooksStore[ hookName ] && hooksStore[ hookName ].runs\n\t\t\t? hooksStore[ hookName ].runs\n\t\t\t: 0;\n\t};\n}\n\nexport default createDidHook;\n","export { default as createInterpolateElement } from './create-interpolate-element';\nexport * from './react';\nexport * from './react-platform';\nexport * from './utils';\nexport { default as Platform } from './platform';\nexport { default as renderToString } from './serialize';\nexport { default as RawHTML } from './raw-html';\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Internal dependencies\n */\nimport { createElement, cloneElement, Fragment, isValidElement } from './react';\n\n/** @typedef {import('./react').WPElement} WPElement */\n\nlet indoc, offset, output, stack;\n\n/**\n * Matches tags in the localized string\n *\n * This is used for extracting the tag pattern groups for parsing the localized\n * string and along with the map converting it to a react element.\n *\n * There are four references extracted using this tokenizer:\n *\n * match: Full match of the tag (i.e. , ,
)\n * isClosing: The closing slash, it it exists.\n * name: The name portion of the tag (strong, br) (if )\n * isSelfClosed: The slash on a self closing tag, if it exists.\n *\n * @type {RegExp}\n */\nconst tokenizer = /<(\\/)?(\\w+)\\s*(\\/)?>/g;\n\n/**\n * The stack frame tracking parse progress.\n *\n * @typedef Frame\n *\n * @property {WPElement} element A parent element which may still have\n * @property {number} tokenStart Offset at which parent element first\n * appears.\n * @property {number} tokenLength Length of string marking start of parent\n * element.\n * @property {number} [prevOffset] Running offset at which parsing should\n * continue.\n * @property {number} [leadingTextStart] Offset at which last closing element\n * finished, used for finding text between\n * elements.\n * @property {WPElement[]} children Children.\n */\n\n/**\n * Tracks recursive-descent parse state.\n *\n * This is a Stack frame holding parent elements until all children have been\n * parsed.\n *\n * @private\n * @param {WPElement} element A parent element which may still have\n * nested children not yet parsed.\n * @param {number} tokenStart Offset at which parent element first\n * appears.\n * @param {number} tokenLength Length of string marking start of parent\n * element.\n * @param {number} [prevOffset] Running offset at which parsing should\n * continue.\n * @param {number} [leadingTextStart] Offset at which last closing element\n * finished, used for finding text between\n * elements.\n *\n * @return {Frame} The stack frame tracking parse progress.\n */\nfunction createFrame(\n\telement,\n\ttokenStart,\n\ttokenLength,\n\tprevOffset,\n\tleadingTextStart\n) {\n\treturn {\n\t\telement,\n\t\ttokenStart,\n\t\ttokenLength,\n\t\tprevOffset,\n\t\tleadingTextStart,\n\t\tchildren: [],\n\t};\n}\n\n/**\n * This function creates an interpolated element from a passed in string with\n * specific tags matching how the string should be converted to an element via\n * the conversion map value.\n *\n * @example\n * For example, for the given string:\n *\n * \"This is a string with
a link and a self-closing\n * tag\"\n *\n * You would have something like this as the conversionMap value:\n *\n * ```js\n * {\n * span: ,\n * a: ,\n * CustomComponentB: ,\n * }\n * ```\n *\n * @param {string} interpolatedString The interpolation string to be parsed.\n * @param {Object} conversionMap The map used to convert the string to\n * a react element.\n * @throws {TypeError}\n * @return {WPElement} A wp element.\n */\nconst createInterpolateElement = ( interpolatedString, conversionMap ) => {\n\tindoc = interpolatedString;\n\toffset = 0;\n\toutput = [];\n\tstack = [];\n\ttokenizer.lastIndex = 0;\n\n\tif ( ! isValidConversionMap( conversionMap ) ) {\n\t\tthrow new TypeError(\n\t\t\t'The conversionMap provided is not valid. It must be an object with values that are WPElements'\n\t\t);\n\t}\n\n\tdo {\n\t\t// twiddle our thumbs\n\t} while ( proceed( conversionMap ) );\n\treturn createElement( Fragment, null, ...output );\n};\n\n/**\n * Validate conversion map.\n *\n * A map is considered valid if it's an object and every value in the object\n * is a WPElement\n *\n * @private\n *\n * @param {Object} conversionMap The map being validated.\n *\n * @return {boolean} True means the map is valid.\n */\nconst isValidConversionMap = ( conversionMap ) => {\n\tconst isObject = typeof conversionMap === 'object';\n\tconst values = isObject && Object.values( conversionMap );\n\treturn (\n\t\tisObject &&\n\t\tvalues.length &&\n\t\tvalues.every( ( element ) => isValidElement( element ) )\n\t);\n};\n\n/**\n * This is the iterator over the matches in the string.\n *\n * @private\n *\n * @param {Object} conversionMap The conversion map for the string.\n *\n * @return {boolean} true for continuing to iterate, false for finished.\n */\nfunction proceed( conversionMap ) {\n\tconst next = nextToken();\n\tconst [ tokenType, name, startOffset, tokenLength ] = next;\n\tconst stackDepth = stack.length;\n\tconst leadingTextStart = startOffset > offset ? offset : null;\n\tif ( ! conversionMap[ name ] ) {\n\t\taddText();\n\t\treturn false;\n\t}\n\tswitch ( tokenType ) {\n\t\tcase 'no-more-tokens':\n\t\t\tif ( stackDepth !== 0 ) {\n\t\t\t\tconst {\n\t\t\t\t\tleadingTextStart: stackLeadingText,\n\t\t\t\t\ttokenStart,\n\t\t\t\t} = stack.pop();\n\t\t\t\toutput.push( indoc.substr( stackLeadingText, tokenStart ) );\n\t\t\t}\n\t\t\taddText();\n\t\t\treturn false;\n\n\t\tcase 'self-closed':\n\t\t\tif ( 0 === stackDepth ) {\n\t\t\t\tif ( null !== leadingTextStart ) {\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tindoc.substr(\n\t\t\t\t\t\t\tleadingTextStart,\n\t\t\t\t\t\t\tstartOffset - leadingTextStart\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\toutput.push( conversionMap[ name ] );\n\t\t\t\toffset = startOffset + tokenLength;\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// Otherwise we found an inner element.\n\t\t\taddChild(\n\t\t\t\tcreateFrame( conversionMap[ name ], startOffset, tokenLength )\n\t\t\t);\n\t\t\toffset = startOffset + tokenLength;\n\t\t\treturn true;\n\n\t\tcase 'opener':\n\t\t\tstack.push(\n\t\t\t\tcreateFrame(\n\t\t\t\t\tconversionMap[ name ],\n\t\t\t\t\tstartOffset,\n\t\t\t\t\ttokenLength,\n\t\t\t\t\tstartOffset + tokenLength,\n\t\t\t\t\tleadingTextStart\n\t\t\t\t)\n\t\t\t);\n\t\t\toffset = startOffset + tokenLength;\n\t\t\treturn true;\n\n\t\tcase 'closer':\n\t\t\t// If we're not nesting then this is easy - close the block.\n\t\t\tif ( 1 === stackDepth ) {\n\t\t\t\tcloseOuterElement( startOffset );\n\t\t\t\toffset = startOffset + tokenLength;\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// Otherwise we're nested and we have to close out the current\n\t\t\t// block and add it as a innerBlock to the parent.\n\t\t\tconst stackTop = stack.pop();\n\t\t\tconst text = indoc.substr(\n\t\t\t\tstackTop.prevOffset,\n\t\t\t\tstartOffset - stackTop.prevOffset\n\t\t\t);\n\t\t\tstackTop.children.push( text );\n\t\t\tstackTop.prevOffset = startOffset + tokenLength;\n\t\t\tconst frame = createFrame(\n\t\t\t\tstackTop.element,\n\t\t\t\tstackTop.tokenStart,\n\t\t\t\tstackTop.tokenLength,\n\t\t\t\tstartOffset + tokenLength\n\t\t\t);\n\t\t\tframe.children = stackTop.children;\n\t\t\taddChild( frame );\n\t\t\toffset = startOffset + tokenLength;\n\t\t\treturn true;\n\n\t\tdefault:\n\t\t\taddText();\n\t\t\treturn false;\n\t}\n}\n\n/**\n * Grabs the next token match in the string and returns it's details.\n *\n * @private\n *\n * @return {Array} An array of details for the token matched.\n */\nfunction nextToken() {\n\tconst matches = tokenizer.exec( indoc );\n\t// We have no more tokens.\n\tif ( null === matches ) {\n\t\treturn [ 'no-more-tokens' ];\n\t}\n\tconst startedAt = matches.index;\n\tconst [ match, isClosing, name, isSelfClosed ] = matches;\n\tconst length = match.length;\n\tif ( isSelfClosed ) {\n\t\treturn [ 'self-closed', name, startedAt, length ];\n\t}\n\tif ( isClosing ) {\n\t\treturn [ 'closer', name, startedAt, length ];\n\t}\n\treturn [ 'opener', name, startedAt, length ];\n}\n\n/**\n * Pushes text extracted from the indoc string to the output stack given the\n * current rawLength value and offset (if rawLength is provided ) or the\n * indoc.length and offset.\n *\n * @private\n */\nfunction addText() {\n\tconst length = indoc.length - offset;\n\tif ( 0 === length ) {\n\t\treturn;\n\t}\n\toutput.push( indoc.substr( offset, length ) );\n}\n\n/**\n * Pushes a child element to the associated parent element's children for the\n * parent currently active in the stack.\n *\n * @private\n *\n * @param {Frame} frame The Frame containing the child element and it's\n * token information.\n */\nfunction addChild( frame ) {\n\tconst { element, tokenStart, tokenLength, prevOffset, children } = frame;\n\tconst parent = stack[ stack.length - 1 ];\n\tconst text = indoc.substr(\n\t\tparent.prevOffset,\n\t\ttokenStart - parent.prevOffset\n\t);\n\n\tif ( text ) {\n\t\tparent.children.push( text );\n\t}\n\n\tparent.children.push( cloneElement( element, null, ...children ) );\n\tparent.prevOffset = prevOffset ? prevOffset : tokenStart + tokenLength;\n}\n\n/**\n * This is called for closing tags. It creates the element currently active in\n * the stack.\n *\n * @private\n *\n * @param {number} endOffset Offset at which the closing tag for the element\n * begins in the string. If this is greater than the\n * prevOffset attached to the element, then this\n * helps capture any remaining nested text nodes in\n * the element.\n */\nfunction closeOuterElement( endOffset ) {\n\tconst {\n\t\telement,\n\t\tleadingTextStart,\n\t\tprevOffset,\n\t\ttokenStart,\n\t\tchildren,\n\t} = stack.pop();\n\n\tconst text = endOffset\n\t\t? indoc.substr( prevOffset, endOffset - prevOffset )\n\t\t: indoc.substr( prevOffset );\n\n\tif ( text ) {\n\t\tchildren.push( text );\n\t}\n\n\tif ( null !== leadingTextStart ) {\n\t\toutput.push(\n\t\t\tindoc.substr( leadingTextStart, tokenStart - leadingTextStart )\n\t\t);\n\t}\n\n\toutput.push( cloneElement( element, null, ...children ) );\n}\n\nexport default createInterpolateElement;\n","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * External dependencies\n */\n// eslint-disable-next-line @typescript-eslint/no-restricted-imports\nimport {\n\tChildren,\n\tcloneElement,\n\tComponent,\n\tcreateContext,\n\tcreateElement,\n\tcreateRef,\n\tforwardRef,\n\tFragment,\n\tisValidElement,\n\tmemo,\n\tStrictMode,\n\tuseState,\n\tuseEffect,\n\tuseContext,\n\tuseReducer,\n\tuseCallback,\n\tuseMemo,\n\tuseRef,\n\tuseImperativeHandle,\n\tuseLayoutEffect,\n\tuseDebugValue,\n\tlazy,\n\tSuspense,\n} from 'react';\nimport { isString } from 'lodash';\n\n/**\n * Object containing a React element.\n *\n * @typedef {import('react').ReactElement} WPElement\n */\n\n/**\n * Object containing a React component.\n *\n * @typedef {import('react').ComponentType} WPComponent\n */\n\n/**\n * Object containing a React synthetic event.\n *\n * @typedef {import('react').SyntheticEvent} WPSyntheticEvent\n */\n\n/**\n * Object that provides utilities for dealing with React children.\n */\nexport { Children };\n\n/**\n * Creates a copy of an element with extended props.\n *\n * @param {WPElement} element Element\n * @param {?Object} props Props to apply to cloned element\n *\n * @return {WPElement} Cloned element.\n */\nexport { cloneElement };\n\n/**\n * A base class to create WordPress Components (Refs, state and lifecycle hooks)\n */\nexport { Component };\n\n/**\n * Creates a context object containing two components: a provider and consumer.\n *\n * @param {Object} defaultValue A default data stored in the context.\n *\n * @return {Object} Context object.\n */\nexport { createContext };\n\n/**\n * Returns a new element of given type. Type can be either a string tag name or\n * another function which itself returns an element.\n *\n * @param {?(string|Function)} type Tag name or element creator\n * @param {Object} props Element properties, either attribute\n * set to apply to DOM node or values to\n * pass through to element creator\n * @param {...WPElement} children Descendant elements\n *\n * @return {WPElement} Element.\n */\nexport { createElement };\n\n/**\n * Returns an object tracking a reference to a rendered element via its\n * `current` property as either a DOMElement or Element, dependent upon the\n * type of element rendered with the ref attribute.\n *\n * @return {Object} Ref object.\n */\nexport { createRef };\n\n/**\n * Component enhancer used to enable passing a ref to its wrapped component.\n * Pass a function argument which receives `props` and `ref` as its arguments,\n * returning an element using the forwarded ref. The return value is a new\n * component which forwards its ref.\n *\n * @param {Function} forwarder Function passed `props` and `ref`, expected to\n * return an element.\n *\n * @return {WPComponent} Enhanced component.\n */\nexport { forwardRef };\n\n/**\n * A component which renders its children without any wrapping element.\n */\nexport { Fragment };\n\n/**\n * Checks if an object is a valid WPElement.\n *\n * @param {Object} objectToCheck The object to be checked.\n *\n * @return {boolean} true if objectToTest is a valid WPElement and false otherwise.\n */\nexport { isValidElement };\n\n/**\n * @see https://reactjs.org/docs/react-api.html#reactmemo\n */\nexport { memo };\n\n/**\n * Component that activates additional checks and warnings for its descendants.\n */\nexport { StrictMode };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usecallback\n */\nexport { useCallback };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usecontext\n */\nexport { useContext };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usedebugvalue\n */\nexport { useDebugValue };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#useeffect\n */\nexport { useEffect };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#useimperativehandle\n */\nexport { useImperativeHandle };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */\nexport { useLayoutEffect };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usememo\n */\nexport { useMemo };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usereducer\n */\nexport { useReducer };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n */\nexport { useRef };\n\n/**\n * @see https://reactjs.org/docs/hooks-reference.html#usestate\n */\nexport { useState };\n\n/**\n * @see https://reactjs.org/docs/react-api.html#reactlazy\n */\nexport { lazy };\n\n/**\n * @see https://reactjs.org/docs/react-api.html#reactsuspense\n */\nexport { Suspense };\n\n/**\n * Concatenate two or more React children objects.\n *\n * @param {...?Object} childrenArguments Array of children arguments (array of arrays/strings/objects) to concatenate.\n *\n * @return {Array} The concatenated value.\n */\nexport function concatChildren( ...childrenArguments ) {\n\treturn childrenArguments.reduce( ( accumulator, children, i ) => {\n\t\tChildren.forEach( children, ( child, j ) => {\n\t\t\tif ( child && 'string' !== typeof child ) {\n\t\t\t\tchild = cloneElement( child, {\n\t\t\t\t\tkey: [ i, j ].join(),\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\taccumulator.push( child );\n\t\t} );\n\n\t\treturn accumulator;\n\t}, [] );\n}\n\n/**\n * Switches the nodeName of all the elements in the children object.\n *\n * @param {?Object} children Children object.\n * @param {string} nodeName Node name.\n *\n * @return {?Object} The updated children object.\n */\nexport function switchChildrenNodeName( children, nodeName ) {\n\treturn (\n\t\tchildren &&\n\t\tChildren.map( children, ( elt, index ) => {\n\t\t\tif ( isString( elt ) ) {\n\t\t\t\treturn createElement( nodeName, { key: index }, elt );\n\t\t\t}\n\t\t\tconst { children: childrenProp, ...props } = elt.props;\n\t\t\treturn createElement(\n\t\t\t\tnodeName,\n\t\t\t\t{ key: index, ...props },\n\t\t\t\tchildrenProp\n\t\t\t);\n\t\t} )\n\t);\n}\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '