"use strict";(self.webpackChunkCustomerApp=self.webpackChunkCustomerApp||[]).push([[7037],{20260:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAnimatedComponent",{enumerable:!0,get:function(){return i.createAnimatedComponent}});var i=n(96332)},31080:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.configureLayoutAnimationBatch=function(e){r.default.configureLayoutAnimationBatch(e)},Object.defineProperty(t,"createWorkletRuntime",{enumerable:!0,get:function(){return c.createWorkletRuntime}}),t.enableLayoutAnimations=function(e){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?g.setByUser||g.enableLayoutAnimations===e||(g.enableLayoutAnimations=e,r.default.enableLayoutAnimations(e)):(g={enableLayoutAnimations:e,setByUser:!0},r.default.enableLayoutAnimations(e))},Object.defineProperty(t,"executeOnUIRuntimeSync",{enumerable:!0,get:function(){return A.executeOnUIRuntimeSync}}),t.getViewProp=function(e,t,n){if((0,a.isFabric)()&&!n)throw new Error("[Reanimated] Function `getViewProp` requires a component to be passed as an argument on Fabric.");return new Promise((function(i,a){return r.default.getViewProp(e,t,n,(function(e){"string"==typeof e&&"error:"===e.substr(0,6)?a(e):i(e)}))}))},t.initializeSensor=function(e,t){return f().initializeSensor(e,t)},t.isReanimated3=t.isConfigured=void 0,t.jsiConfigureProps=function(e,t){d||r.default.configureProps(e,t)},Object.defineProperty(t,"makeMutable",{enumerable:!0,get:function(){return p.makeMutable}}),Object.defineProperty(t,"makeShareable",{enumerable:!0,get:function(){return o.makeShareable}}),Object.defineProperty(t,"makeShareableCloneRecursive",{enumerable:!0,get:function(){return o.makeShareableCloneRecursive}}),t.registerEventHandler=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,a=(s=[new n.g.Error,-2,-27],u=function(t,i){n.g.__frameTimestamp=t,e(i),n.g.__flushAnimationFrame(t),n.g.__frameTimestamp=void 0},u.__closure={eventHandler:e},u.__workletHash=5990672709877,u.__initData=m,u.__stackDetails=s,u);var s,u;return r.default.registerEventHandler((0,o.makeShareableCloneRecursive)(a),t,i)},t.registerSensor=function(e,t,n){return f().registerSensor(e,t,(0,o.makeShareableCloneRecursive)(n))},Object.defineProperty(t,"runOnJS",{enumerable:!0,get:function(){return A.runOnJS}}),Object.defineProperty(t,"runOnRuntime",{enumerable:!0,get:function(){return c.runOnRuntime}}),Object.defineProperty(t,"runOnUI",{enumerable:!0,get:function(){return A.runOnUI}}),t.setShouldAnimateExitingForTag=function(e,t){r.default.setShouldAnimateExitingForTag(e,t)},Object.defineProperty(t,"startMapper",{enumerable:!0,get:function(){return l.startMapper}}),Object.defineProperty(t,"stopMapper",{enumerable:!0,get:function(){return l.stopMapper}}),t.subscribeForKeyboardEvents=function(e,t){var i,a=(s=[new n.g.Error,-2,-27],u=function(t,i){var r=n.g._getAnimationTimestamp();n.g.__frameTimestamp=r,e(t,i),n.g.__flushAnimationFrame(r),n.g.__frameTimestamp=void 0},u.__closure={eventHandler:e},u.__workletHash=0xf4dbf8a3558,u.__initData=h,u.__stackDetails=s,u);var s,u;return r.default.subscribeForKeyboardEvents((0,o.makeShareableCloneRecursive)(a),null!=(i=t.isStatusBarTranslucentAndroid)&&i)},t.unregisterEventHandler=function(e){return r.default.unregisterEventHandler(e)},t.unregisterSensor=function(e){return f().unregisterSensor(e)},t.unsubscribeFromKeyboardEvents=function(e){return r.default.unsubscribeFromKeyboardEvents(e)};var r=i(n(67571)),a=n(87605),o=n(91087),s=n(3802),u=n(72058),l=n(24225),A=n(40846),c=n(6594),p=n(85244),d=(0,a.shouldBeUseWeb)(),v=t.isReanimated3=function(){return!0};t.isConfigured=v;function f(){return n.g.__sensorContainer||(n.g.__sensorContainer=new u.SensorContainer),n.g.__sensorContainer}d&&(n.g._WORKLET=!1,n.g._log=console.log,n.g._getAnimationTimestamp=function(){return performance.now()});var m={code:"function handleAndFlushAnimationFrame_reactNativeReanimated_coreJs1(eventTimestamp,event){const{eventHandler}=this.__closure;global.__frameTimestamp=eventTimestamp;eventHandler(event);global.__flushAnimationFrame(eventTimestamp);global.__frameTimestamp=undefined;}",location:"/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/core.js",sourceMap:'{"version":3,"names":["handleAndFlushAnimationFrame_reactNativeReanimated_coreJs1","eventTimestamp","event","eventHandler","__closure","global","__frameTimestamp","__flushAnimationFrame","undefined"],"sources":["/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/core.js"],"mappings":"AA2DE,SAAAA,0DAA6DA,CAAAC,cAAA,CAAAC,KAAA,QAAAC,YAAA,OAAAC,SAAA,CAG3DC,MAAM,CAACC,gBAAgB,CAAGL,cAAc,CACxCE,YAAY,CAACD,KAAK,CAAC,CACnBG,MAAM,CAACE,qBAAqB,CAACN,cAAc,CAAC,CAC5CI,MAAM,CAACC,gBAAgB,CAAGE,SAAS,CACrC","ignoreList":[]}',version:"3.15.0"};var h={code:"function handleAndFlushAnimationFrame_reactNativeReanimated_coreJs2(state,height){const{eventHandler}=this.__closure;const now=global._getAnimationTimestamp();global.__frameTimestamp=now;eventHandler(state,height);global.__flushAnimationFrame(now);global.__frameTimestamp=undefined;}",location:"/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/core.js",sourceMap:'{"version":3,"names":["handleAndFlushAnimationFrame_reactNativeReanimated_coreJs2","state","height","eventHandler","__closure","now","global","_getAnimationTimestamp","__frameTimestamp","__flushAnimationFrame","undefined"],"sources":["/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/core.js"],"mappings":"AAyEE,SAAAA,2DAAAC,KAAA,CAAAC,MAAA,QAAAC,YAAA,OAAAC,SAAA,OAAAC,GAAA,CAAAC,MAAA,CAAAC,sBAAA,GACAD,MAAA,CAAAE,gBAAA,CAAAH,GAAA,CACAF,YAAS,CAAAF,KAAA,CAAAC,MAAA,EAGPI,MAAM,CAAAG,qBAAa,CAAAJ,GAAA,EACnBC,MAAM,CAACE,gBAAgB,CAAGE,SAAG,C","ignoreList":[]}',version:"3.15.0"};(0,a.isWeb)()||(0,s.initializeUIRuntime)();var g={enableLayoutAnimations:!1,setByUser:!1}},43101:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){var t=e.getForwardedRef,n=e.setLocalRef;return function(e){var i=t();n(e),"function"==typeof i?i(e):"object"==typeof i&&null!=i&&(i.current=e)}}},44885:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.NativeEventsManager=void 0;var r=i(n(17383)),a=i(n(34579)),o=n(58413),s=n(3093),u=i(n(4992));function l(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function A(e,t){return e.get(p(e,t))}function c(e,t,n){return e.set(p(e,t),n),n}function p(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var d=new WeakMap,v=new WeakMap,f=new WeakMap;t.NativeEventsManager=(0,a.default)((function e(t,n){(0,r.default)(this,e),l(this,d,void 0),l(this,v,void 0),l(this,f,-1),c(d,this,t),c(v,this,n),c(f,this,this.getEventViewTag())}),[{key:"attachEvents",value:function(){var e=this;h(A(d,this).props,(function(t,n){n.registerForEvents(A(f,e),t)}))}},{key:"detachEvents",value:function(){var e=this;h(A(d,this).props,(function(t,n){n.unregisterFromEvents(A(f,e))}))}},{key:"updateEvents",value:function(e){var t=this,n=this.getEventViewTag();if(A(f,this)!==n)return h(e,(function(e,n){n.unregisterFromEvents(A(f,t))})),c(f,this,n),void this.attachEvents();h(e,(function(e,n){var i=A(d,t).props[e];i?m(i)&&i.workletEventHandler!==n&&(n.unregisterFromEvents(A(f,t)),i.workletEventHandler.registerForEvents(A(f,t))):n.unregisterFromEvents(A(f,t))})),h(A(d,this).props,(function(n,i){e[n]||i.registerForEvents(A(f,t))}))}},{key:"getEventViewTag",value:function(){var e,t=A(d,this)._component;if(t.getScrollableNode){var n,i=t.getScrollableNode();e=null!=(n=(0,u.default)(i))?n:-1}else{var r,a;e=null!=(r=(0,u.default)(null!==(a=A(v,this))&&void 0!==a&&a.setNativeProps?A(d,this):t))?r:-1}return e}}]);function m(e){return(0,o.has)("workletEventHandler",e)&&e.workletEventHandler instanceof s.WorkletEventHandler}function h(e,t){for(var n in e){var i=e[n];m(i)&&t(n,i.workletEventHandler)}}},58413:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.flattenArray=function(e){if(!Array.isArray(e))return[e];var t=[],n=function(e){e.forEach((function(e){Array.isArray(e)?n(e):t.push(e)}))};return n(e),t},t.has=void 0;t.has=function(e,t){return("function"==typeof t||"object"==typeof t)&&(null!=t&&e in t)}},63519:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.InlinePropManager=void 0,t.getInlineStyle=function(e,t){if(t)return g(e);var n={};for(var i of Object.entries(e)){var r=(0,o.default)(i,2),a=r[0],s=r[1];(0,p.isSharedValue)(s)||"transform"===a&&v(s)||(n[a]=s)}return n},t.hasInlineStyles=C;var r=i(n(17383)),a=i(n(34579)),o=i(n(85715)),s=n(58413),u=n(88092),l=n(17545),A=i(n(83290)),c=n(24225),p=n(80569);function d(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){return!!Array.isArray(e)&&e.some((function(e){return C(e)}))}var f,m,h={code:"function getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(inlineProps){const getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1=this._recur;const{isSharedValue}=this.__closure;const update={};for(const[key,styleValue]of Object.entries(inlineProps)){if(isSharedValue(styleValue)){update[key]=styleValue.value;}else if(Array.isArray(styleValue)){update[key]=styleValue.map(function(item){return getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(item);});}else if(typeof styleValue==='object'){update[key]=getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(styleValue);}else{update[key]=styleValue;}}return update;}",location:"/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/InlinePropManager.js",sourceMap:'{"version":3,"names":["getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1","inlineProps","_recur","isSharedValue","__closure","update","key","styleValue","Object","entries","value","Array","isArray","map","item"],"sources":["/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/InlinePropManager.js"],"mappings":"AA4BA,SAAAA,+DAA2CA,CAAAC,WAAA,QAAAD,+DAAA,MAAAE,MAAA,OAAAC,aAAA,OAAAC,SAAA,CAGzC,KAAM,CAAAC,MAAM,CAAG,CAAC,CAAC,CACjB,IAAK,KAAM,CAACC,GAAG,CAAEC,UAAU,CAAC,EAAI,CAAAC,MAAM,CAACC,OAAO,CAACR,WAAW,CAAC,CAAE,CAC3D,GAAIE,aAAa,CAACI,UAAU,CAAC,CAAE,CAC7BF,MAAM,CAACC,GAAG,CAAC,CAAGC,UAAU,CAACG,KAAK,CAChC,CAAC,IAAM,IAAIC,KAAK,CAACC,OAAO,CAACL,UAAU,CAAC,CAAE,CACpCF,MAAM,CAACC,GAAG,CAAC,CAAGC,UAAU,CAACM,GAAG,CAAC,SAAAC,IAAI,CAAI,CACnC,MAAO,CAAAd,+DAA0B,CAAAc,IAAA,EACnC,CAAC,CAAC,CACJ,CAAC,IAAM,IAAI,MAAO,CAAAP,UAAU,GAAK,QAAQ,CAAE,CACzCF,MAAM,CAACC,GAAG,CAAC,CAAGN,+DAAgC,CAAAO,UAAA,EAChD,CAAC,IAAM,CACLF,MAAM,CAACC,GAAG,CAAC,CAAGC,UAAU,CAC1B,CACF,CACA,MAAO,CAAAF,MAAM,CACf","ignoreList":[]}',version:"3.15.0"},g=(f=[new n.g.Error,-2,-27],(m=function(e){var t={};for(var n of Object.entries(e)){var i=(0,o.default)(n,2),r=i[0],a=i[1];(0,p.isSharedValue)(a)?t[r]=a.value:Array.isArray(a)?t[r]=a.map((function(e){return g(e)})):t[r]="object"==typeof a?g(a):a}return t}).__closure={isSharedValue:p.isSharedValue},m.__workletHash=0xad6475858b6,m.__initData=h,m.__stackDetails=f,m);function C(e){return!!e&&Object.keys(e).some((function(t){var n=e[t];return(0,p.isSharedValue)(n)||"transform"===t&&v(n)}))}var _={code:"function reactNativeReanimated_InlinePropManagerJs2(){const{getInlinePropsUpdate,newInlineProps,updateProps,shareableViewDescriptors}=this.__closure;const update=getInlinePropsUpdate(newInlineProps);updateProps(shareableViewDescriptors,update);}",location:"/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/InlinePropManager.js",sourceMap:'{"version":3,"names":["reactNativeReanimated_InlinePropManagerJs2","getInlinePropsUpdate","newInlineProps","updateProps","shareableViewDescriptors","__closure","update"],"sources":["/codebuild/output/src482114067/src/github.com/uktech/customer_app_2.0/node_modules/react-native-reanimated/lib/module/createAnimatedComponent/InlinePropManager.js"],"mappings":"AAwH8B,SAAAA,0CAAMA,CAAA,QAAAC,oBAAA,CAAAC,cAAA,CAAAC,WAAA,CAAAC,wBAAA,OAAAC,SAAA,CAG5B,KAAM,CAAAC,MAAM,CAAGL,oBAAoB,CAACC,cAAc,CAAC,CACnDC,WAAW,CAACC,wBAAwB,CAAEE,MAAM,CAAC,CAC/C","ignoreList":[]}',version:"3.15.0"};t.InlinePropManager=(0,a.default)((function e(){(0,r.default)(this,e),d(this,"_inlinePropsViewDescriptors",null),d(this,"_inlinePropsMapperId",null),d(this,"_inlineProps",{})}),[{key:"attachInlineProps",value:function(e,t){var i=function(e){var t={};for(var n in e){var i,r=e[n];"style"===n?(0,s.flattenArray)(null!=(i=e.style)?i:[]).forEach((function(e){if(e)for(var n of Object.entries(e)){var i=(0,o.default)(n,2),r=i[0],a=i[1];((0,p.isSharedValue)(a)||"transform"===r&&v(a))&&(t[r]=a)}})):(0,p.isSharedValue)(r)&&(t[n]=r)}return t}(e.props);if(function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(var n of Object.keys(e))if(e[n]!==t[n])return!0;return!1}(i,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=(0,u.makeViewDescriptorsSet)();var r=t.viewTag,a=t.viewName,d=t.shadowNodeWrapper,f=t.viewConfig;Object.keys(i).length&&f&&(0,l.adaptViewConfig)(f),this._inlinePropsViewDescriptors.add({tag:r,name:a,shadowNodeWrapper:d})}var m=this._inlinePropsViewDescriptors.shareableViewDescriptors,h=function(){var e=[new n.g.Error,-5,-27],t=function(){var e=g(i);(0,A.default)(m,e)};return t.__closure={getInlinePropsUpdate:g,newInlineProps:i,updateProps:A.default,shareableViewDescriptors:m},t.__workletHash=5061273221373,t.__initData=_,t.__stackDetails=e,t}();this._inlineProps=i,this._inlinePropsMapperId&&(0,c.stopMapper)(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(i).length&&(this._inlinePropsMapperId=(0,c.startMapper)(h,Object.values(i)))}}},{key:"detachInlineProps",value:function(){this._inlinePropsMapperId&&(0,c.stopMapper)(this._inlinePropsMapperId)}}])},75164:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.PropsFilter=void 0;var r=i(n(17383)),a=i(n(34579)),o=n(80569),s=n(87605),u=n(3093),l=n(23134),A=n(63519),c=n(58413),p=i(n(41304));function d(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(){}t.PropsFilter=(0,a.default)((function e(){(0,r.default)(this,e),d(this,"_initialStyle",{})}),[{key:"filterNonAnimatedProps",value:function(e){var t=this,n=e.props,i={},r=function(){var r=n[a];if("style"===a){var d=n.style,f=(0,c.flattenArray)(null!=d?d:[]).map((function(n){return n&&n.viewDescriptors?(e._isFirstRender&&(t._initialStyle=Object.assign({},n.initial.value,t._initialStyle,(0,l.initialUpdaterRun)(n.initial.updater))),t._initialStyle):(0,A.hasInlineStyles)(n)?(0,A.getInlineStyle)(n,e._isFirstRender):n}));i[a]=p.default.flatten(f)}else if("animatedProps"===a){var m=n.animatedProps;void 0!==m.initial&&Object.keys(m.initial.value).forEach((function(e){var t;i[e]=null===(t=m.initial)||void 0===t?void 0:t.value[e]}))}else(0,c.has)("workletEventHandler",r)&&r.workletEventHandler instanceof u.WorkletEventHandler?r.workletEventHandler.eventNames.length>0?r.workletEventHandler.eventNames.forEach((function(e){i[e]=(0,c.has)("listeners",r.workletEventHandler)?r.workletEventHandler.listeners[e]:v})):i[a]=v:(0,o.isSharedValue)(r)?e._isFirstRender&&(i[a]=r.value):"onGestureHandlerStateChange"===a&&(0,s.isChromeDebugger)()||(i[a]=r)};for(var a in n)r();return i}}])},84257:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(17383)),a=i(n(34579));t.default=(0,a.default)((function e(){(0,r.default)(this,e)}),[{key:"addOnJSPropsChangeListener",value:function(e){}},{key:"removeOnJSPropsChangeListener",value:function(e){}}])},87073:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getViewInfo=void 0;t.getViewInfo=function(e){return void 0!==e._nativeTag&&null!==e.__nativeTag?(t.getViewInfo=n,n(e)):void 0!==e.__nativeTag&&null!==e.__nativeTag?(t.getViewInfo=i,i(e)):n(e)};function n(e){var t;return{viewName:null==e||null===(t=e.viewConfig)||void 0===t?void 0:t.uiViewClassName,viewTag:null==e?void 0:e._nativeTag,viewConfig:null==e?void 0:e.viewConfig}}function i(e){var t;return{viewName:null==e||null===(t=e._viewConfig)||void 0===t?void 0:t.uiViewClassName,viewTag:null==e?void 0:e.__nativeTag,viewConfig:null==e?void 0:e._viewConfig}}},88584:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.registerWorkletStackDetails=function(e,t){a.set(e,t)},t.reportFatalErrorOnJS=function(e){var t=e.message,i=e.stack,o=new Error;o.message=t,o.stack=i?function(e){var t=e.match(/worklet_(\d+):(\d+):(\d+)/g),n=e;return null==t||t.forEach((function(e){var t=e.split(/:|_/).map(Number),i=(0,r.default)(t,4),o=i[1],s=i[2],u=i[3],l=a.get(o);if(l){var A=(0,r.default)(l,3),c=A[0],p=A[1],d=A[2],v=function(e){var t,n=null===(t=e.stack)||void 0===t||null===(t=t.split("\n"))||void 0===t?void 0:t[0];if(n){var i=/@([^@]+):(\d+):(\d+)/.exec(n);if(i){var a=(0,r.default)(i,4),o=a[1],s=a[2],u=a[3];return[o,Number(s),Number(u)]}}return["unknown",0,0]}(c),f=(0,r.default)(v,3),m=f[0],h=s+f[1]+p,g=u+f[2]+d;n=n.replace(e,`${m}:${h}:${g}`)}})),n}(i):void 0,o.name="ReanimatedError",o.jsEngine="reanimated",n.g.ErrorUtils.reportFatalError(o)};var r=i(n(85715)),a=new Map},96332:(e,t,n)=>{var i=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimatedComponent=function(e,t){(0,p.default)("function"!=typeof e||e.prototype&&e.prototype.isReactComponent,`Looks like you're passing a function component \`${e.name}\` to \`createAnimatedComponent\` function which supports only class components. Please wrap your function component with \`React.forwardRef()\` or use a class component instead.`);var n=function(n){function i(e){var t,n,a,u;(0,r.default)(this,i),n=this,a=i,u=[e],a=(0,s.default)(a),N(t=(0,o.default)(n,O()?Reflect.construct(a,u||[],(0,s.default)(n).constructor):a.apply(n,u)),"_styles",null),N(t,"_animatedProps",void 0),N(t,"_componentViewTag",-1),N(t,"_isFirstRender",!0),N(t,"jestAnimatedStyle",{value:{}}),N(t,"_component",null),N(t,"_sharedElementTransition",null),N(t,"_jsPropsUpdater",new b.default),N(t,"_InlinePropManager",new E.InlinePropManager),N(t,"_PropsFilter",new T.PropsFilter),N(t,"_NativeEventsManager",void 0),N(t,"_viewInfo",void 0),N(t,"context",void 0),N(t,"reanimatedID",D++),N(t,"_setComponentRef",(0,P.default)({getForwardedRef:function(){return t.props.forwardedRef},setLocalRef:function(e){var n=V?e:(0,A.default)(e);t._componentViewTag=n;var r=t.props,a=r.layout,o=r.entering,s=r.exiting,u=r.sharedTransitionTag;if((a||o||s||u)&&null!=n){var l,c;if((0,M.shouldBeUseWeb)()||(0,f.enableLayoutAnimations)(!0,!1),u&&t._configureSharedTransition(),s&&(0,M.isFabric)())if(!("getReduceMotion"in s&&"function"==typeof s.getReduceMotion?(0,C.getReduceMotionFromConfig)(s.getReduceMotion()):(0,C.getReduceMotionFromConfig)()))(0,S.updateLayoutAnimations)(n,m.LayoutAnimationType.EXITING,(0,_.maybeBuild)(s,null===(c=t.props)||void 0===c?void 0:c.style,i.displayName));var p,d=null===(l=t.context)||void 0===l?void 0:l.current;if(o&&!d&&!V)(0,S.updateLayoutAnimations)(n,m.LayoutAnimationType.ENTERING,(0,_.maybeBuild)(o,null===(p=t.props)||void 0===p?void 0:p.style,i.displayName))}e!==t._component&&(t._component=e)}})),(0,M.isJest)()&&(t.jestAnimatedStyle={value:{}});var l,c=t.props.entering;c&&(0,M.isFabric)()&&(0,S.updateLayoutAnimations)(t.reanimatedID,m.LayoutAnimationType.ENTERING,(0,_.maybeBuild)(c,null===(l=t.props)||void 0===l?void 0:l.style,i.displayName));return t}return(0,u.default)(i,n),(0,a.default)(i,[{key:"componentDidMount",value:function(){var e;if(this._componentViewTag=this._getComponentViewTag(),V||(this._NativeEventsManager=new R.NativeEventsManager(this,t)),null===(e=this._NativeEventsManager)||void 0===e||e.attachEvents(),this._jsPropsUpdater.addOnJSPropsChangeListener(this),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),this.props.layout&&this._configureLayoutTransition(),V){if(this.props.exiting&&(0,I.saveSnapshot)(this._component),!this.props.entering||(0,I.getReducedMotionFromConfig)(this.props.entering))return void(this._isFirstRender=!1);(0,I.startWebLayoutAnimation)(this.props,this._component,m.LayoutAnimationType.ENTERING)}this._isFirstRender=!1}},{key:"componentWillUnmount",value:function(){var e,t;null===(e=this._NativeEventsManager)||void 0===e||e.detachEvents(),this._jsPropsUpdater.removeOnJSPropsChangeListener(this),this._detachStyles(),this._InlinePropManager.detachInlineProps(),this.props.sharedTransitionTag&&this._configureSharedTransition(!0),null===(t=this._sharedElementTransition)||void 0===t||t.unregisterTransition(this._componentViewTag,!0);var n=this.props.exiting;if(V&&this._component&&n&&!(0,I.getReducedMotionFromConfig)(n))(0,k.addHTMLMutationObserver)(),(0,I.startWebLayoutAnimation)(this.props,this._component,m.LayoutAnimationType.EXITING);else if(n&&!V&&!(0,M.isFabric)()){var r;if(!("getReduceMotion"in n&&"function"==typeof n.getReduceMotion?(0,C.getReduceMotionFromConfig)(n.getReduceMotion()):(0,C.getReduceMotionFromConfig)()))(0,S.updateLayoutAnimations)(this._componentViewTag,m.LayoutAnimationType.EXITING,(0,_.maybeBuild)(n,null===(r=this.props)||void 0===r?void 0:r.style,i.displayName))}}},{key:"_getComponentViewTag",value:function(){return this._getViewInfo().viewTag}},{key:"_detachStyles",value:function(){if(-1!==this._componentViewTag&&null!==this._styles){var e;for(var t of this._styles)t.viewDescriptors.remove(this._componentViewTag);null!==(e=this.props.animatedProps)&&void 0!==e&&e.viewDescriptors&&this.props.animatedProps.viewDescriptors.remove(this._componentViewTag),(0,M.isFabric)()&&(0,g.removeFromPropsRegistry)(this._componentViewTag)}}},{key:"_updateFromNative",value:function(e){var n,i;null!=t&&t.setNativeProps?t.setNativeProps(this._component,e):null===(n=this._component)||void 0===n||null===(i=n.setNativeProps)||void 0===i||i.call(n,e)}},{key:"_getViewInfo",value:function(){var e,t,n,i,r;if(void 0!==this._viewInfo)return this._viewInfo;var a,o=null,s=null!==(e=this._component)&&void 0!==e&&e.getAnimatableRef?null===(t=(n=this._component).getAnimatableRef)||void 0===t?void 0:t.call(n):this;if(V)i=this._component,r=null,o=null,a=null;else{var u=v.RNRenderer.findHostInstance_DEPRECATED(s);if(!u)throw new Error("[Reanimated] Cannot find host instance for this component. Maybe it renders nothing?");var l=(0,j.getViewInfo)(u);i=l.viewTag,r=l.viewName,a=l.viewConfig,o=(0,M.isFabric)()?(0,h.getShadowNodeWrapperFromRef)(this):null}return this._viewInfo={viewTag:i,viewName:r,shadowNodeWrapper:o,viewConfig:a},this._viewInfo}},{key:"_attachAnimatedStyles",value:function(){var e,t,n=this,i=this.props.style?function(e){return e.filter((function(e){return null==e?void 0:e.viewDescriptors}))}((0,w.flattenArray)(this.props.style)):[],r=this._styles;this._styles=i;var a=this._animatedProps;this._animatedProps=this.props.animatedProps;var o=this._getViewInfo(),s=o.viewTag,u=o.viewName,l=o.shadowNodeWrapper,A=o.viewConfig;if((((null===(e=this.props.animatedProps)||void 0===e?void 0:e.viewDescriptors)||i.length)&&A&&(0,d.adaptViewConfig)(A),this._componentViewTag=s,r)&&!(1===i.length&&1===r.length&&i[0]===r[0])){var c=function(e){i.some((function(t){return t===e}))||e.viewDescriptors.remove(s)};for(var p of r)c(p)}i.forEach((function(e){e.viewDescriptors.add({tag:s,name:u,shadowNodeWrapper:l}),(0,M.isJest)()&&(n.jestAnimatedStyle.value=Object.assign({},n.jestAnimatedStyle.value,e.initial.value),e.jestAnimatedStyle.current=n.jestAnimatedStyle)})),a&&a!==this.props.animatedProps&&a.viewDescriptors.remove(s),null!==(t=this.props.animatedProps)&&void 0!==t&&t.viewDescriptors&&this.props.animatedProps.viewDescriptors.add({tag:s,name:u,shadowNodeWrapper:l})}},{key:"componentDidUpdate",value:function(e,t,n){var i;this.props.layout!==e.layout&&this._configureLayoutTransition(),void 0===this.props.sharedTransitionTag&&void 0===e.sharedTransitionTag||this._configureSharedTransition(),null===(i=this._NativeEventsManager)||void 0===i||i.updateEvents(e),this._attachAnimatedStyles(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),V&&this.props.exiting&&(0,I.saveSnapshot)(this._component),V&&null!==n&&this.props.layout&&!(0,I.getReducedMotionFromConfig)(this.props.layout)&&(0,I.tryActivateLayoutTransition)(this.props,this._component,n)}},{key:"_configureLayoutTransition",value:function(){if(!V){var e=this.props.layout?(0,_.maybeBuild)(this.props.layout,void 0,i.displayName):void 0;(0,S.updateLayoutAnimations)(this._componentViewTag,m.LayoutAnimationType.LAYOUT,e)}}},{key:"_configureSharedTransition",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!V){var i,r=this.props.sharedTransitionTag;if(!r)return null===(i=this._sharedElementTransition)||void 0===i||i.unregisterTransition(this._componentViewTag,n),void(this._sharedElementTransition=null);var a=null!=(e=null!=(t=this.props.sharedTransitionStyle)?t:this._sharedElementTransition)?e:new m.SharedTransition;a.registerTransition(this._componentViewTag,r,n),this._sharedElementTransition=a}}},{key:"getSnapshotBeforeUpdate",value:function(){var e;return V&&void 0!==(null===(e=this._component)||void 0===e?void 0:e.getBoundingClientRect)?this._component.getBoundingClientRect():null}},{key:"render",value:function(){var t,n,i=this._PropsFilter.filterNonAnimatedProps(this);((0,M.isJest)()&&(i.jestAnimatedStyle=this.jestAnimatedStyle),this._isFirstRender&&V&&i.entering&&!(0,I.getReducedMotionFromConfig)(i.entering))&&(i.style=Object.assign({},null!=(n=i.style)?n:{},{visibility:"hidden"}));var r=c.default.select({web:{},default:{collapsable:!1}}),a=(null===(t=this.context)||void 0===t?void 0:t.current)||!(0,M.isFabric)()?void 0:`${this.reanimatedID}`;return l.default.createElement(e,F({nativeID:a},i,{ref:this._setComponentRef},r))}}])}(l.default.Component);return N(n,"displayName",void 0),N(n,"contextType",y.SkipEnteringContext),n.displayName=`AnimatedComponent(${e.displayName||e.name||"Component"})`,l.default.forwardRef((function(e,t){return l.default.createElement(n,F({},e,null===t?null:{forwardedRef:t}))}))};var r=i(n(17383)),a=i(n(34579)),o=i(n(28452)),s=i(n(63072)),u=i(n(29511)),l=i(n(36782)),A=i(n(4992)),c=i(n(67862));n(78753);var p=i(n(20311)),d=n(17545),v=n(20643),f=n(31080),m=n(57995),h=n(99633),g=n(95666),C=n(44752),_=n(37974),y=n(30817),b=i(n(84257)),w=n(58413),P=i(n(43101)),M=n(87605),E=n(63519),T=n(75164),I=n(36362),S=n(78811),k=n(84765),j=n(87073),R=n(44885);function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(O=function(){return!!e})()}function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},F.apply(this,arguments)}function N(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:i+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var V=(0,M.isWeb)();V&&(0,I.configureWebLayoutAnimations)();var D=0}}]);