@getpaseo/server 0.13.1 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/builtin-plugins",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -534,9 +534,9 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{v
534
534
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"watchdog",{enumerable:!0,get:function(){return s}}),_e.startWatchdog=function(){if(!c||!s||f)return;f=!0;const e=c.startRecorder({version:(0,u.resolveAppVersion)()??"unknown",build:String(o.default.expoConfig?.extra?.diagnosticRevision??"unknown"),builtAt:String(o.default.expoConfig?.extra?.diagnosticBuildTime??"unknown"),reactProfiling:"true"});setInterval(()=>c.heartbeat(),e),setInterval(()=>s.flushRenders(),1e3)};var e,t=r(d[0]),n=r(d[1]),o=(e=n)&&e.__esModule?e:{default:e},u=r(d[2]),l=r(d[3]);const c=!0===o.default.expoConfig?.extra?.watchdogBuild?(0,t.requireOptionalNativeModule)("PaseoNativeTrace"):null,s=c?(0,l.createRecorder)((e,t)=>c.record(e,t),()=>performance.now()):null;let f=!1},463,[4,464,467,469]);
535
535
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"AppOwnership",{enumerable:!0,get:function(){return u.AppOwnership}}),Object.defineProperty(_e,"ExecutionEnvironment",{enumerable:!0,get:function(){return u.ExecutionEnvironment}}),Object.defineProperty(_e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return u.UserInterfaceIdiom}}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return h}});var n=r(d[0]);r(d[1]);var t=e(r(d[2])),u=r(d[3]),l=e(r(d[4]));l.default||console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");const o=(0,n.requireOptionalNativeModule)('ExpoUpdates');let s=null;if(o){let e;o.manifest?e=o.manifest:o.manifestString&&(e=JSON.parse(o.manifestString)),e&&Object.keys(e).length>0&&(s=e)}let f=null;if(t.default.EXDevLauncher){let e;t.default.EXDevLauncher.manifestString&&(e=JSON.parse(t.default.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(f=e)}let c=null;if(l.default&&l.default.manifest){const e=l.default.manifest;c='string'==typeof e?JSON.parse(e):e}let p=s??f??c;const{name:E,appOwnership:b,...x}=l.default||{},v={...x,appOwnership:b??null};function O(e){return!_(e)}function _(e){return'metadata'in e}function S(e=!1){if(!p){const e=null===p?'null':'undefined';if(x.executionEnvironment,u.ExecutionEnvironment.Bare,x.executionEnvironment===u.ExecutionEnvironment.StoreClient||x.executionEnvironment===u.ExecutionEnvironment.Standalone)throw new n.CodedError('ERR_CONSTANTS_MANIFEST_UNAVAILABLE',`Constants.manifest is ${e}, must be an object.`)}return p}Object.defineProperties(v,{__unsafeNoWarnManifest:{get(){const e=S(!0);return e&&O(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){const e=S(!0);return e&&_(e)?e:null},enumerable:!1},manifest:{get(){const e=S();return e&&O(e)?e:null},enumerable:!0},manifest2:{get(){const e=S();return e&&_(e)?e:null},enumerable:!0},expoConfig:{get(){const e=S(!0);return e?o&&o.isEmbeddedLaunch?c:_(e)?e.extra?.expoClient??null:O(e)?e:null:null},enumerable:!0},expoGoConfig:{get(){const e=S(!0);return e?_(e)?e.extra?.expoGo??null:O(e)?e:null:null},enumerable:!0},easConfig:{get(){const e=S(!0);return e?_(e)?e.extra?.eas??null:O(e)?e:null:null},enumerable:!0},__rawManifest_TEST:{get:()=>p,set(e){p=e},enumerable:!1}});var h=v},464,[4,25,404,465,466]);
536
536
  __d(function(g,r,i,a,m,e,d){"use strict";var t,n,o;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"AppOwnership",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ExecutionEnvironment",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return o}}),(function(t){t.Expo="expo"})(t||(t={})),(function(t){t.Bare="bare",t.Standalone="standalone",t.StoreClient="storeClient"})(n||(n={})),(function(t){t.Handset="handset",t.Tablet="tablet",t.Desktop="desktop",t.TV="tv",t.Unsupported="unsupported"})(o||(o={}))},465,[]);
537
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var n=r(d[0]);const t=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const n=navigator.userAgent.toLowerCase();if(n.includes('edge'))return'Edge';if(n.includes('edg'))return'Chromium Edge';if(n.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(n.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(n.includes('trident'))return'IE';if(n.includes('firefox'))return'Firefox';if(n.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return n.ExecutionEnvironment.Bare},get sessionId(){return t},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"voice-mobile\",\"version\":\"0.13.0\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"backgroundColor\":\"#ffffff\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"fdroidBuild\":false,\"profileBuild\":false,\"watchdogBuild\":false,\"router\":{},\"eas\":{\"projectId\":\"0e7f65ce-0367-46c8-a238-2b65963d235a\"}},\"owner\":\"getpaseo\",\"sdkVersion\":\"57.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},466,[465]);
537
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var n=r(d[0]);const t=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const n=navigator.userAgent.toLowerCase();if(n.includes('edge'))return'Edge';if(n.includes('edg'))return'Chromium Edge';if(n.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(n.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(n.includes('trident'))return'IE';if(n.includes('firefox'))return'Firefox';if(n.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return n.ExecutionEnvironment.Bare},get sessionId(){return t},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"voice-mobile\",\"version\":\"0.13.1\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"backgroundColor\":\"#ffffff\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"fdroidBuild\":false,\"profileBuild\":false,\"watchdogBuild\":false,\"router\":{},\"eas\":{\"projectId\":\"0e7f65ce-0367-46c8-a238-2b65963d235a\"}},\"owner\":\"getpaseo\",\"sdkVersion\":\"57.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},466,[465]);
538
538
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.resolveAppVersion=function(){const e=u(t.default?.version);if(e)return e;const o=u(n.default.expoConfig?.version);if(o)return o;const f=u(n.default.manifest?.version);if(f)return f;return null};var n=e(r(d[0])),t=e(r(d[1]));function u(e){if("string"!=typeof e)return null;const n=e.trim();return 0===n.length?null:n}},467,[464,468]);
539
- __d(function(e,r,t,a,o,i,n){o.exports={name:"@getpaseo/app",version:"0.13.1",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","eas-build-post-install":"npm --prefix ../.. run build:app-deps",android:"npm run dev:android","android:development":"npm run dev:android","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --clean --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm run dev:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project=browser","test:e2e:diff-performance":"cross-env PASEO_DIFF_PERF_E2E=1 playwright test --project=browser e2e/browser/diff-performance.spec.ts","test:e2e:stream-smoothness":"cross-env PASEO_AGENT_STREAM_PERF_E2E=1 playwright test --project=browser e2e/browser/agent-stream-smoothness.spec.ts","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:relay-deployment":"npm --prefix ../.. run build:server && npm --prefix ../.. run build:daemon-web-ui && cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=relay-deployment e2e/browser/relay-deployment-reconnect.real.spec.ts","test:e2e:ui":"playwright test --ui",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web","profile:composer-typing":"node ./scripts/profile-composer-typing.mjs","profile:explorer-toggle":"node ./scripts/profile-explorer-toggle.mjs","profile:side-pane":"playwright test --config playwright.profile.config.ts side-pane-performance.spec.ts","profile:workspace-switching":"node ./scripts/profile-workspace-switching.mjs","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main","build:mermaid-runtime":"node ./src/components/markdown/fence/mermaid/build-runtime.mjs","dev:android":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --clean --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","dev:ios":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo run:ios","build:apk":"npm --prefix ../.. run build:apk","build:apk:arm64":"npm --prefix ../.. run build:apk:arm64","test:android":"expo prebuild --platform android --no-install && cd android && ./gradlew :paseo-native-trace:testReleaseUnitTest --no-daemon --max-workers=2 -Dorg.gradle.parallel=false"},dependencies:{"@codemirror/commands":"6.10.4","@codemirror/language":"6.12.4","@codemirror/search":"6.7.1","@codemirror/state":"6.7.1","@codemirror/view":"6.43.6","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@floating-ui/react-native":"^0.10.7","@getpaseo/client":"*","@getpaseo/expo-two-way-audio":"*","@getpaseo/highlight":"*","@getpaseo/plugin":"*","@getpaseo/protocol":"*","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@marijn/find-cluster-break":"^1.0.2","@mattermost/react-native-paste-input":"2.0.1","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"0.3.2","@react-native/normalize-colors":"0.86.3","@react-navigation/native":"^7.1.8","@replit/codemirror-vim":"6.3.0","@shopify/react-native-skia":"2.6.2","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"^0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"~57.0.30","expo-asset":"~57.0.20","expo-audio":"~57.0.5","expo-build-properties":"~57.0.22","expo-camera":"~57.0.6","expo-clipboard":"~57.0.2","expo-constants":"~57.0.22","expo-crypto":"~57.0.4","expo-dev-client":"~57.0.20","expo-document-picker":"~57.0.3","expo-file-system":"~57.0.7","expo-haptics":"~57.0.3","expo-image":"~57.0.5","expo-image-manipulator":"~57.0.21","expo-image-picker":"~57.0.20","expo-keep-awake":"~57.0.2","expo-linking":"~57.0.13","expo-localization":"~57.0.2","expo-notifications":"~57.0.23","expo-router":"~57.0.28","expo-sharing":"~57.0.23","expo-splash-screen":"~57.0.10","expo-sqlite":"~57.0.4","expo-system-ui":"~57.0.4","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^1.50.0","markdown-it":"^10.0.0","mdast-util-from-markdown":"2.0.3","mdast-util-gfm-table":"^2.0.0",mermaid:"^11.16.0","micromark-extension-gfm-table":"^2.1.2","micromark-util-decode-string":"2.0.1","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.2.3","react-dom":"19.2.3","react-freeze":"1.0.4","react-i18next":"^17.0.8","react-native":"0.86.3","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-enriched-markdown":"1.2.0-nightly-20261014-766fc0e67","react-native-gesture-handler":"~2.32.0","react-native-keyboard-controller":"1.21.12","react-native-nitro-modules":"0.35.5","react-native-reanimated":"4.5.1","react-native-safe-area-context":"~5.7.0","react-native-screens":"~4.26.0","react-native-svg":"15.15.4","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"13.16.1","react-native-worklets":"0.10.1","tiny-invariant":"^1.3.3",turndown:"^7.2.4","turndown-plugin-gfm":"^1.0.2","use-sync-external-store":"^1.6.0",yaml:"^2.8.4",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/markdown-it":"^14.1.2","@types/node":"~22.19.0","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/turndown":"^5.0.6","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@xterm/headless":"^6.1.0-beta.213","babel-preset-expo":"~57.0.16",dotenv:"^17.2.3","eas-cli":"^16.24.1",esbuild:"0.28.1",eslint:"^9.25.0","eslint-config-expo":"~57.0.2","expo-gradle-jvmargs":"^1.1.2","fake-indexeddb":"^6.2.5",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"},"enriched-markdown":{enableMath:!1,enableCodeHighlight:!0,codeHighlightLanguages:["json","html","css","markdown","yaml","go","java","javascript","python","c","rust","bash","typescript","tsx","cpp","swift","php","ruby","c-sharp"],enableVideo:!1},reanimated:{staticFeatureFlags:{FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS:!1}}}},468,[]);
539
+ __d(function(e,r,t,a,o,i,n){o.exports={name:"@getpaseo/app",version:"0.13.2",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","eas-build-post-install":"npm --prefix ../.. run build:app-deps",android:"npm run dev:android","android:development":"npm run dev:android","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --clean --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm run dev:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project=browser","test:e2e:diff-performance":"cross-env PASEO_DIFF_PERF_E2E=1 playwright test --project=browser e2e/browser/diff-performance.spec.ts","test:e2e:stream-smoothness":"cross-env PASEO_AGENT_STREAM_PERF_E2E=1 playwright test --project=browser e2e/browser/agent-stream-smoothness.spec.ts","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:relay-deployment":"npm --prefix ../.. run build:server && npm --prefix ../.. run build:daemon-web-ui && cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=relay-deployment e2e/browser/relay-deployment-reconnect.real.spec.ts","test:e2e:ui":"playwright test --ui",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web","profile:composer-typing":"node ./scripts/profile-composer-typing.mjs","profile:explorer-toggle":"node ./scripts/profile-explorer-toggle.mjs","profile:side-pane":"playwright test --config playwright.profile.config.ts side-pane-performance.spec.ts","profile:workspace-switching":"node ./scripts/profile-workspace-switching.mjs","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main","build:mermaid-runtime":"node ./src/components/markdown/fence/mermaid/build-runtime.mjs","dev:android":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --clean --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","dev:ios":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo run:ios","build:apk":"npm --prefix ../.. run build:apk","build:apk:arm64":"npm --prefix ../.. run build:apk:arm64","test:android":"expo prebuild --platform android --no-install && cd android && ./gradlew :paseo-native-trace:testReleaseUnitTest --no-daemon --max-workers=2 -Dorg.gradle.parallel=false"},dependencies:{"@codemirror/commands":"6.10.4","@codemirror/language":"6.12.4","@codemirror/search":"6.7.1","@codemirror/state":"6.7.1","@codemirror/view":"6.43.6","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@floating-ui/react-native":"^0.10.7","@getpaseo/client":"*","@getpaseo/expo-two-way-audio":"*","@getpaseo/highlight":"*","@getpaseo/plugin":"*","@getpaseo/protocol":"*","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@marijn/find-cluster-break":"^1.0.2","@mattermost/react-native-paste-input":"2.0.1","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"0.3.2","@react-native/normalize-colors":"0.86.3","@react-navigation/native":"^7.1.8","@replit/codemirror-vim":"6.3.0","@shopify/react-native-skia":"2.6.2","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"^0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"~57.0.30","expo-asset":"~57.0.20","expo-audio":"~57.0.5","expo-build-properties":"~57.0.22","expo-camera":"~57.0.6","expo-clipboard":"~57.0.2","expo-constants":"~57.0.22","expo-crypto":"~57.0.4","expo-dev-client":"~57.0.20","expo-document-picker":"~57.0.3","expo-file-system":"~57.0.7","expo-haptics":"~57.0.3","expo-image":"~57.0.5","expo-image-manipulator":"~57.0.21","expo-image-picker":"~57.0.20","expo-keep-awake":"~57.0.2","expo-linking":"~57.0.13","expo-localization":"~57.0.2","expo-notifications":"~57.0.23","expo-router":"~57.0.28","expo-sharing":"~57.0.23","expo-splash-screen":"~57.0.10","expo-sqlite":"~57.0.4","expo-system-ui":"~57.0.4","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^1.50.0","markdown-it":"^10.0.0","mdast-util-from-markdown":"2.0.3","mdast-util-gfm-table":"^2.0.0",mermaid:"^11.16.0","micromark-extension-gfm-table":"^2.1.2","micromark-util-decode-string":"2.0.1","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.2.3","react-dom":"19.2.3","react-freeze":"1.0.4","react-i18next":"^17.0.8","react-native":"0.86.3","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-enriched-markdown":"1.2.0-nightly-20261014-766fc0e67","react-native-gesture-handler":"~2.32.0","react-native-keyboard-controller":"1.21.12","react-native-nitro-modules":"0.35.5","react-native-reanimated":"4.5.5","react-native-safe-area-context":"~5.7.0","react-native-screens":"~4.26.0","react-native-svg":"15.15.4","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"13.16.1","react-native-worklets":"0.10.4","tiny-invariant":"^1.3.3",turndown:"^7.2.4","turndown-plugin-gfm":"^1.0.2","use-sync-external-store":"^1.6.0",yaml:"^2.8.4",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/markdown-it":"^14.1.2","@types/node":"~22.19.0","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/turndown":"^5.0.6","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@xterm/headless":"^6.1.0-beta.213","babel-preset-expo":"~57.0.16",dotenv:"^17.2.3","eas-cli":"^16.24.1",esbuild:"0.28.1",eslint:"^9.25.0","eslint-config-expo":"~57.0.2","expo-gradle-jvmargs":"^1.1.2","fake-indexeddb":"^6.2.5",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"},"enriched-markdown":{enableMath:!1,enableCodeHighlight:!0,codeHighlightLanguages:["json","html","css","markdown","yaml","go","java","javascript","python","c","rust","bash","typescript","tsx","cpp","swift","php","ruby","c-sharp"],enableVideo:!1},expo:{install:{exclude:["react-native-reanimated","react-native-worklets"]}},reanimated:{staticFeatureFlags:{FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS:!1}}}},468,[]);
540
540
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.createRecorder=function(t,n){let s=0;const o=new Map,c=(s,o={})=>t(s,{...o,jsMonoMs:String(n())});return{record:c,trace(t){const o=String(++s);let u=0;const l=[];return{isEnabled:()=>!0,beginSection(s,M){const S=`${o}:${++u}`;c(`${s}.begin`,{...t,...M,client:o,span:S,parent:l.at(-1)?.id??""}),l.push({id:S,name:s,start:n()})},endSection(){const s=l.pop();s&&c(`${s.name}.end`,{...t,client:o,span:s.id,durationMs:String(n()-s.start)})}}},render(t){t.actualDuration>=16&&c("react.render.slow",{region:t.id,phase:t.phase,renderMs:String(t.actualDuration),startMs:String(t.startTime),commitMs:String(t.commitTime)});const n=o.has(t.id)||o.size<128?t.id:"other",s=o.get(n)??{count:0,totalMs:0,maxMs:0};s.count++,s.totalMs+=t.actualDuration,s.maxMs=Math.max(s.maxMs,t.actualDuration),o.set(n,s)},flushRenders(){for(const[t,n]of o)c("react.render.summary",{region:t,count:String(n.count),totalMs:String(n.totalMs),maxMs:String(n.maxMs)});o.clear()}}}},469,[]);
541
541
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.RootApp=function(){const e=(0,o.c)(1);let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,h.jsx)(t.RenderProfile,{id:"App",children:(0,h.jsx)(v,{context:p})}),e[0]=n):n=e[0];return n},_e.RootRouter=v;var e,o=r(d[0]),t=r(d[1]),n=r(d[2]),c=r(d[3]),l=r(d[4]),s=(e=l)&&e.__esModule?e:{default:e},u=r(d[5]),x=r(d[6]),f=r(d[7]),j=r(d[8]),_=r(d[9]),h=r(d[10]);const{ctx:p}=r(d[11]);function v(e){const t=(0,o.c)(7),{context:l}=e,[p,v]=(0,n.useState)(0);let y;t[0]===Symbol.for("react.memo_cache_sentinel")?(y=()=>v(R),t[0]=y):y=t[0];const P=y,S=0===p?void 0:"/open-project";let b,A;return t[1]!==l||t[2]!==S?(b=(0,h.jsx)(s.default.Provider,{children:(0,h.jsx)(c.ExpoRoot,{context:l,location:S})}),t[1]=l,t[2]=S,t[3]=b):b=t[3],t[4]!==p||t[5]!==b?(A=(0,h.jsx)(u.QueryClientProvider,{client:f.queryClient,children:(0,h.jsx)(j.I18nProvider,{children:(0,h.jsx)(x.SafeAreaProvider,{children:(0,h.jsx)(_.RootErrorBoundary,{onReload:P,children:b},p)})})}),t[4]=p,t[5]=b,t[6]=A):A=t[6],A}function R(e){return e+1}},470,[471,473,35,474,907,912,478,960,961,3349,320,3359]);
542
542
  __d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},471,[472]);
@@ -1254,16 +1254,16 @@ __d(function(g,r,i,_a,m,e,d){'use strict';const t=r(d[0]);m.exports=(s,c,n)=>t(s
1254
1254
  __d(function(g,r,i,a,m,e,d){'use strict';const t=r(d[0]);m.exports=(n,s)=>{const l=t(n,s);return l&&l.prerelease.length?l.prerelease:null}},1132,[1133]);
1255
1255
  __d(function(g,r,i,a,m,e,d){'use strict';const t=r(d[0]);m.exports=(n,c,u=!1)=>{if(n instanceof t)return n;try{return new t(n,c)}catch(t){if(!u)return null;throw t}}},1133,[1125]);
1256
1256
  __d(function(g,r,_i,a,m,e,d){'use strict';const t=r(d[0]),o=r(d[1]),{ANY:s}=o,n=r(d[2]),l=r(d[3]),u=r(d[4]),f=r(d[5]),i=r(d[6]),v=r(d[7]);m.exports=(c,p,w,h)=>{let b,k,E,_,x;switch(c=new t(c,h),p=new n(p,h),w){case'>':b=u,k=i,E=f,_='>',x='>=';break;case'<':b=f,k=v,E=u,_='<',x='<=';break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(c,p,h))return!1;for(let t=0;t<p.set.length;++t){const n=p.set[t];let l=null,u=null;if(n.forEach(t=>{t.semver===s&&(t=new o('>=0.0.0')),l=l||t,u=u||t,b(t.semver,l.semver,h)?l=t:E(t.semver,u.semver,h)&&(u=t)}),l.operator===_||l.operator===x)return!1;if((!u.operator||u.operator===_)&&k(c,u.semver))return!1;if(u.operator===x&&E(c,u.semver))return!1}return!0}},1134,[1125,1118,1115,1114,1128,1130,1131,1129]);
1257
- __d(function(t,e,a,x,r,i,n){r.exports={fabric:{nightly:{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["nightly"]},"4.5.x":{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["0.10.x"]},"4.4.x":{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["0.9.x","0.10.x"]},"4.3.x":{"react-native":["0.81","0.82","0.83","0.84","0.85"],"react-native-worklets":["0.8.x"]},"4.2.x":{"react-native":["0.80","0.81","0.82","0.83","0.84"],"react-native-worklets":["0.7.x","0.8.x"]},"4.1.x":{"react-native":["0.78","0.79","0.80","0.81","0.82"],"react-native-worklets":["0.5.x","0.6.x","0.7.x","0.8.x"]},"4.0.x":{"react-native":["0.78","0.79","0.80","0.81"],"react-native-worklets":["0.4.x"]},"3.19.x":{"react-native":["0.78","0.79","0.80","0.81"]},"3.18.x":{"react-native":["0.75","0.76","0.77","0.78","0.79","0.80"]},"3.17.x":{"react-native":["0.75","0.76","0.77","0.78","0.79"]},"3.16.x":{"react-native":["0.74","0.75","0.76","0.77"]},"3.15.x":{"react-native":["0.74","0.75"]},"3.9.x - 3.14.x":{"react-native":["0.74"]},"3.6.x - 3.8.x":{"react-native":["0.72","0.73"]},"3.1.x - 3.5.x":{"react-native":["0.72"]},"3.0.x":{"react-native":["0.71"]}},paper:{"3.19.x":{"react-native":["0.78","0.79","0.80","0.81"]},"3.18.x":{"react-native":["0.75","0.76","0.77","0.78","0.79","0.80"]},"3.17.x":{"react-native":["0.75","0.76","0.77","0.78","0.79"]},"3.16.x":{"react-native":["0.74","0.75","0.76","0.77"]},"3.15.x":{"react-native":["0.72","0.73","0.74","0.75"]},"3.9.x - 3.14.x":{"react-native":["0.71","0.72","0.73","0.74"]},"3.6.x - 3.8.x":{"react-native":["0.66","0.67","0.68","0.69","0.70","0.71","0.72","0.73"]},"3.5.x":{"react-native":["0.66","0.67","0.68","0.69","0.70","0.71","0.72"]},"3.3.x - 3.4.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71","0.72"]},"3.0.x - 3.2.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71"]},"2.14.x - 2.17.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71"]},"2.11.x - 2.13.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70"]},"2.10.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69"]},"2.5.x - 2.9.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68"]},"2.3.x - 2.4.x":{"react-native":["0.63","0.64","0.65","0.66","0.67"]}}}},1135,[]);
1258
- __d(function(e,t,a,r,n,i,s){n.exports={name:"react-native-worklets",version:"0.10.1",description:"The React Native multithreading library",keywords:["react-native","react","native","worklets"],scripts:{build:"yarn workspace babel-plugin-worklets build && yarn set-version && yarn run --top-level bob build","circular-dependency-check":"yarn madge --extensions js,jsx --circular lib","find-unused-code:js":"knip",format:"yarn format:js && yarn format:plugin && yarn format:common && yarn format:android && yarn format:apple","format:android":"yarn format:android:java && yarn format:android:cpp && yarn format:android:cmake","format:android:cpp":"find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i","format:android:cmake":"find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/format-cmake.sh","format:android:java":"node ../../scripts/format-java.js","format:apple":"find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i","format:common":"find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i","format:js":"yarn run --top-level oxfmt src","format:plugin":"yarn workspace babel-plugin-worklets format",lint:"yarn lint:js && yarn lint:plugin && yarn lint:android && yarn lint:apple && yarn lint:clang-tidy","lint:android":"../../scripts/validate-android.sh && ../../scripts/validate-common.sh && ./android/gradlew -p android spotlessCheck -q && yarn format:common --dry-run -Werror && yarn format:android:cpp --dry-run -Werror && yarn lint:cmake","lint:apple":"../../scripts/validate-apple.sh && ../../scripts/validate-common.sh && yarn format:common --dry-run -Werror && yarn format:apple --dry-run -Werror","lint:cmake":"find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/lint-cmake.sh","lint:clang-tidy":"yarn lint:clang-tidy:ios && yarn lint:clang-tidy:android","lint:clang-tidy:ios":"../../scripts/llvm-tools/clang-tidy-lint.sh --platform=ios","lint:clang-tidy:android":"../../scripts/llvm-tools/clang-tidy-lint.sh --platform=android","lint:js":"eslint src && yarn run --top-level oxfmt --check src","lint:plugin":"yarn workspace babel-plugin-worklets lint",prepack:"yarn build","set-version":"node scripts/set-version.js",test:"jest","type:check":"yarn type:check:src:native && yarn type:check:src:web && yarn type:check:plugin && yarn type:check:app && yarn type:check:tests","type:check:src:native":"yarn tsc --noEmit","type:check:src:web":"yarn tsc --noEmit --project tsconfig.web.json","type:check:app":"yarn workspace common-app type:check","type:check:plugin":"yarn workspace babel-plugin-worklets type:check","type:check:tests":"../../scripts/test-ts.sh __typetests__","type:check:strict":"yarn type:check:strict:src && yarn type:check:strict:app","type:check:strict:src":"yarn tsc --noEmit --customConditions react-native-strict-api","type:check:strict:app":"yarn workspace common-app type:check:strict","tree-shake:check:web":"yarn is-tree-shakable --resolution web","validate-peers":"node ../../scripts/validate-compatibility-peer-dependencies.js"},repository:{type:"git",url:"git+https://github.com/software-mansion/react-native-reanimated.git",directory:"packages/react-native-worklets"},license:"MIT",readmeFilename:"README.md",bugs:{url:"https://github.com/software-mansion/react-native-reanimated/issues"},homepage:"https://docs.swmansion.com/react-native-worklets",peerDependencies:{"@babel/core":"*","@react-native/metro-config":"*",react:"*","react-native":"0.83 - 0.86"},dependencies:{"@babel/plugin-transform-arrow-functions":"^7.27.1","@babel/plugin-transform-class-properties":"^7.28.6","@babel/plugin-transform-classes":"^7.28.6","@babel/plugin-transform-nullish-coalescing-operator":"^7.28.6","@babel/plugin-transform-optional-chaining":"^7.28.6","@babel/plugin-transform-shorthand-properties":"^7.27.1","@babel/plugin-transform-template-literals":"^7.27.1","@babel/plugin-transform-unicode-regex":"^7.27.1","@babel/preset-typescript":"^7.28.5","@babel/types":"^7.27.1","convert-source-map":"^2.0.0",semver:"^7.7.4"},devDependencies:{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@react-native-community/cli":"20.1.0","@react-native/eslint-config":"0.83.0","@react-native/jest-preset":"patch:@react-native/jest-preset@npm%3A0.85.2#~/.yarn/patches/@react-native-jest-preset-npm-0.85.2-d3275e8971.patch","@types/jest":"30.0.0","@types/node":"24.7.0","@types/react":"19.2.2","clang-format-node":"1.3.5","code-tag":"1.2.0",eslint:"9.37.0","is-tree-shakable":"0.5.0",jest:"30.2.0",knip:"5.61.3",madge:"8.0.0",react:"19.2.3","react-native":"0.85.2",typescript:"5.9.3"},main:"./lib/module/index",module:"./lib/module/index","react-native":"./src/index",source:"./src/index",types:"lib/typescript/index.d.ts",files:["src","lib","android","apple","Common","compatibility.json","bundleMode/index.js","bundleMode/index.d.ts","bundleMode/shims/*.js","scripts/worklets_utils.rb","scripts/validate-react-native-version.js","jest","plugin/index.js","plugin/index.d.ts","*.podspec","react-native.config.js","!apple/build","!android/build","!android/gradle","!android/gradlew","!android/gradlew.bat","!android/local.properties","!.worklets",".worklets/dummy.md","!**/__tests__","!**/__fixtures__","!**/__mocks__","!**/.*"],sideEffects:["./src/index.ts","./lib/module/index.js","./**/runtimeKind.{js,ts}","./**/serializable.native.{js,ts}","./**/initializers.native.{js,ts}","./**/featureFlags.native.{js,ts}"],codegenConfig:{name:"rnworklets",type:"modules",jsSrcsDir:"src/specs",android:{javaPackageName:"com.swmansion.worklets"}}}},1136,[]);
1259
- __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"jsVersion",{enumerable:!0,get:function(){return t}});const t='4.5.1'},1137,[]);
1257
+ __d(function(t,e,a,x,r,i,n){r.exports={fabric:{nightly:{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["nightly"]},"4.5.x":{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["0.10.x","0.11.x"]},"4.4.x":{"react-native":["0.83","0.84","0.85","0.86"],"react-native-worklets":["0.9.x","0.10.x"]},"4.3.x":{"react-native":["0.81","0.82","0.83","0.84","0.85"],"react-native-worklets":["0.8.x"]},"4.2.x":{"react-native":["0.80","0.81","0.82","0.83","0.84"],"react-native-worklets":["0.7.x","0.8.x"]},"4.1.x":{"react-native":["0.78","0.79","0.80","0.81","0.82"],"react-native-worklets":["0.5.x","0.6.x","0.7.x","0.8.x"]},"4.0.x":{"react-native":["0.78","0.79","0.80","0.81"],"react-native-worklets":["0.4.x"]},"3.19.x":{"react-native":["0.78","0.79","0.80","0.81"]},"3.18.x":{"react-native":["0.75","0.76","0.77","0.78","0.79","0.80"]},"3.17.x":{"react-native":["0.75","0.76","0.77","0.78","0.79"]},"3.16.x":{"react-native":["0.74","0.75","0.76","0.77"]},"3.15.x":{"react-native":["0.74","0.75"]},"3.9.x - 3.14.x":{"react-native":["0.74"]},"3.6.x - 3.8.x":{"react-native":["0.72","0.73"]},"3.1.x - 3.5.x":{"react-native":["0.72"]},"3.0.x":{"react-native":["0.71"]}},paper:{"3.19.x":{"react-native":["0.78","0.79","0.80","0.81"]},"3.18.x":{"react-native":["0.75","0.76","0.77","0.78","0.79","0.80"]},"3.17.x":{"react-native":["0.75","0.76","0.77","0.78","0.79"]},"3.16.x":{"react-native":["0.74","0.75","0.76","0.77"]},"3.15.x":{"react-native":["0.72","0.73","0.74","0.75"]},"3.9.x - 3.14.x":{"react-native":["0.71","0.72","0.73","0.74"]},"3.6.x - 3.8.x":{"react-native":["0.66","0.67","0.68","0.69","0.70","0.71","0.72","0.73"]},"3.5.x":{"react-native":["0.66","0.67","0.68","0.69","0.70","0.71","0.72"]},"3.3.x - 3.4.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71","0.72"]},"3.0.x - 3.2.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71"]},"2.14.x - 2.17.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70","0.71"]},"2.11.x - 2.13.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69","0.70"]},"2.10.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68","0.69"]},"2.5.x - 2.9.x":{"react-native":["0.63","0.64","0.65","0.66","0.67","0.68"]},"2.3.x - 2.4.x":{"react-native":["0.63","0.64","0.65","0.66","0.67"]}}}},1135,[]);
1258
+ __d(function(e,t,a,r,n,i,s){n.exports={name:"react-native-worklets",version:"0.10.4",description:"The React Native multithreading library",keywords:["react-native","react","native","worklets"],scripts:{build:"yarn workspace babel-plugin-worklets build && yarn set-version && yarn run --top-level bob build","circular-dependency-check":"yarn madge --extensions js,jsx --circular lib","find-unused-code:js":"knip",format:"yarn format:js && yarn format:plugin && yarn format:common && yarn format:android && yarn format:apple","format:android":"yarn format:android:java && yarn format:android:cpp && yarn format:android:cmake","format:android:cpp":"find android/src -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i","format:android:cmake":"find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/format-cmake.sh","format:android:java":"node ../../scripts/format-java.js","format:apple":"find apple -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i","format:common":"find Common -iname \"*.h\" -o -iname \"*.cpp\" | xargs clang-format -i","format:js":"yarn run --top-level oxfmt src","format:plugin":"yarn workspace babel-plugin-worklets format",lint:"yarn lint:js && yarn lint:plugin && yarn lint:android && yarn lint:apple && yarn lint:clang-tidy","lint:android":"../../scripts/validate-android.sh && ../../scripts/validate-common.sh && ./android/gradlew -p android spotlessCheck -q && yarn format:common --dry-run -Werror && yarn format:android:cpp --dry-run -Werror && yarn lint:cmake","lint:apple":"../../scripts/validate-apple.sh && ../../scripts/validate-common.sh && yarn format:common --dry-run -Werror && yarn format:apple --dry-run -Werror","lint:cmake":"find ./android -type d \\( -name build -o -name .cxx \\) -prune -o -type f -name 'CMakeLists.txt' -print | xargs ../../scripts/lint-cmake.sh","lint:clang-tidy":"yarn lint:clang-tidy:ios && yarn lint:clang-tidy:android","lint:clang-tidy:ios":"../../scripts/llvm-tools/clang-tidy-lint.sh --platform=ios","lint:clang-tidy:android":"../../scripts/llvm-tools/clang-tidy-lint.sh --platform=android","lint:js":"eslint src && yarn run --top-level oxfmt --check src","lint:plugin":"yarn workspace babel-plugin-worklets lint",prepack:"yarn build","set-version":"node scripts/set-version.js",test:"jest","type:check":"yarn type:check:src:native && yarn type:check:src:web && yarn type:check:plugin && yarn type:check:app && yarn type:check:tests","type:check:src:native":"yarn tsc --noEmit","type:check:src:web":"yarn tsc --noEmit --project tsconfig.web.json","type:check:app":"yarn workspace common-app type:check","type:check:plugin":"yarn workspace babel-plugin-worklets type:check","type:check:tests":"../../scripts/test-ts.sh __typetests__","type:check:strict":"yarn type:check:strict:src && yarn type:check:strict:app","type:check:strict:src":"yarn tsc --noEmit --customConditions react-native-strict-api","type:check:strict:app":"yarn workspace common-app type:check:strict","tree-shake:check:web":"yarn is-tree-shakable --resolution web","validate-peers":"node ../../scripts/validate-compatibility-peer-dependencies.js"},repository:{type:"git",url:"git+https://github.com/software-mansion/react-native-reanimated.git",directory:"packages/react-native-worklets"},license:"MIT",readmeFilename:"README.md",bugs:{url:"https://github.com/software-mansion/react-native-reanimated/issues"},homepage:"https://docs.swmansion.com/react-native-worklets",peerDependencies:{"@babel/core":"*","@react-native/metro-config":"*",react:"*","react-native":"0.83 - 0.86"},dependencies:{"@babel/plugin-transform-arrow-functions":"^7.27.1","@babel/plugin-transform-class-properties":"^7.28.6","@babel/plugin-transform-classes":"^7.28.6","@babel/plugin-transform-nullish-coalescing-operator":"^7.28.6","@babel/plugin-transform-optional-chaining":"^7.28.6","@babel/plugin-transform-shorthand-properties":"^7.27.1","@babel/plugin-transform-template-literals":"^7.27.1","@babel/plugin-transform-unicode-regex":"^7.27.1","@babel/preset-typescript":"^7.28.5","@babel/types":"^7.27.1","convert-source-map":"^2.0.0",semver:"^7.7.4"},devDependencies:{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@react-native-community/cli":"20.1.0","@react-native/eslint-config":"0.83.0","@react-native/jest-preset":"patch:@react-native/jest-preset@npm%3A0.85.2#~/.yarn/patches/@react-native-jest-preset-npm-0.85.2-d3275e8971.patch","@types/jest":"30.0.0","@types/node":"24.7.0","@types/react":"19.2.2","clang-format-node":"1.3.5","code-tag":"1.2.0",eslint:"9.37.0","is-tree-shakable":"0.5.0",jest:"30.2.0",knip:"5.61.3",madge:"8.0.0",react:"19.2.3","react-native":"0.85.2",typescript:"5.9.3"},main:"./lib/module/index",module:"./lib/module/index","react-native":"./src/index",source:"./src/index",types:"lib/typescript/index.d.ts",files:["src","lib","android","apple","Common","compatibility.json","bundleMode/index.js","bundleMode/index.d.ts","bundleMode/shims/*.js","scripts/worklets_utils.rb","scripts/validate-react-native-version.js","jest","plugin/index.js","plugin/index.d.ts","*.podspec","react-native.config.js","!apple/build","!android/build","!android/gradle","!android/gradlew","!android/gradlew.bat","!android/local.properties","!.worklets",".worklets/dummy.md","!**/__tests__","!**/__fixtures__","!**/__mocks__","!**/.*"],sideEffects:["./src/index.ts","./lib/module/index.js","./**/runtimeKind.{js,ts}","./**/serializable.native.{js,ts}","./**/initializers.native.{js,ts}","./**/featureFlags.native.{js,ts}"],codegenConfig:{name:"rnworklets",type:"modules",jsSrcsDir:"src/specs",android:{javaPackageName:"com.swmansion.worklets"}}}},1136,[]);
1259
+ __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"jsVersion",{enumerable:!0,get:function(){return t}});const t='4.5.5'},1137,[]);
1260
1260
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FlatList",{enumerable:!0,get:function(){return t.ReanimatedFlatList}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return n.AnimatedImage}}),Object.defineProperty(e,"ScrollView",{enumerable:!0,get:function(){return o.AnimatedScrollView}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return u.AnimatedText}}),Object.defineProperty(e,"View",{enumerable:!0,get:function(){return c.AnimatedView}}),Object.defineProperty(e,"addWhitelistedNativeProps",{enumerable:!0,get:function(){return l.addWhitelistedNativeProps}}),Object.defineProperty(e,"addWhitelistedUIProps",{enumerable:!0,get:function(){return l.addWhitelistedUIProps}}),Object.defineProperty(e,"createAnimatedComponent",{enumerable:!0,get:function(){return f.createAnimatedComponent}});var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4]),l=r(d[5]),f=r(d[6])},1138,[1139,1269,1271,1293,1268,1294,1141]);
1261
1261
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ReanimatedFlatList",{enumerable:!0,get:function(){return y}});var t=r(d[0]),n=r(d[1]);r(d[2]);var o=r(d[3]),c=r(d[4]),s=r(d[5]),u=r(d[6]);const l=(0,o.createAnimatedComponent)(t.FlatList),f=(t,n)=>o=>(0,u.jsx)(s.AnimatedView,{layout:t?.current,onLayout:o.onLayout,style:[o.style,'function'==typeof n?.current?n?.current({index:o.index,item:o.item}):n?.current],children:o.children}),y=function(t){const{itemLayoutAnimation:o,skipEnteringExitingAnimations:s,CellRendererComponentStyle:y,ref:p,...x}=t;'scrollEventThrottle'in x||(x.scrollEventThrottle=1);const v=(0,n.useRef)(o);v.current=o;const C=(0,n.useRef)(y);C.current=y;const E=(0,n.useMemo)(()=>f(v,C),[]),L=(0,u.jsx)(l,{ref:p,...x,CellRendererComponent:E});return void 0===s?L:(0,u.jsx)(c.LayoutAnimationConfig,{skipEntering:!0,skipExiting:!0,children:L})}},1139,[1140,35,185,1141,1170,1268,320]);
1262
1262
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FlatList",{enumerable:!0,get:function(){return u}});var e,t=r(d[0]),n=(e=t)&&e.__esModule?e:{default:e};const u=(0,r(d[1]).createUnistylesElement)(n.default)},1140,[185,315]);
1263
1263
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createAnimatedComponent",{enumerable:!0,get:function(){return t.createAnimatedComponent}}),Object.defineProperty(e,"NativeEventsManager",{enumerable:!0,get:function(){return n.NativeEventsManager}});var t=r(d[0]),n=r(d[1])},1141,[1142,1265]);
1264
1264
  __d(function(g,r,i,a,m,_e,d){'use strict';Object.defineProperty(_e,'__esModule',{value:!0}),_e.createAnimatedComponent=function(e,n){class o extends s.default{static displayName=`AnimatedComponent(${e.displayName||e.name||'Component'})`;constructor(s){const t=n?.jsProps??e.jsProps,l=t?.length?{...n,jsProps:t}:n;super(e,s,o.displayName,l)}}const l=e=>(0,t.jsx)(o,{...e,ref:null,...null===e.ref?null:{forwardedRef:e.ref}});return l.displayName=e.displayName||e.name||'Component',l};var e,n=r(d[0]),s=(e=n)&&e.__esModule?e:{default:e},t=r(d[1])},1142,[1143,320]);
1265
- __d(function(g,r,i,a,m,_e,d){'use strict';function t(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return R}}),r(d[0]);var e=r(d[1]),s=r(d[2]),n=r(d[3]),o=r(d[4]),p=r(d[5]),h=t(r(d[6])),l=r(d[7]),_=r(d[8]),y=r(d[9]),u=r(d[10]),c=r(d[11]),A=r(d[12]),S=r(d[13]),T=t(r(d[14])),f=r(d[15]),E=r(d[16]),v=r(d[17]),I=r(d[18]);let P=0;n.IS_WEB&&(0,y.configureWebLayoutAnimations)();const N=(0,l.getStaticFeatureFlag)('FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS')&&!n.IS_WEB;class R extends h.default{_animatedStyles=[];_prevAnimatedStyles=[];_animatedProps=[];_prevAnimatedProps=[];_isFirstRender=!0;jestAnimatedStyle={value:{}};jestAnimatedProps={value:{}};_InlinePropManager=new S.InlinePropManager;_PropsFilter=new E.PropsFilter;static contextType=p.SkipEnteringContext;reanimatedID=P++;constructor(t,e,s,p){super(t,e),this._options=p,this._displayName=s,N&&(this.state={settledProps:{}}),n.IS_JEST&&(this.jestAnimatedStyle={value:{}},this.jestAnimatedProps={value:{}}),this._configureSharedTransition(!0);const h=this.props.entering,l=this.context?.current;l||this._configureLayoutAnimation(o.LayoutAnimationType.ENTERING,h)}componentDidMount(){if(super.componentDidMount(),n.IS_WEB||(this._NativeEventsManager=new f.NativeEventsManager(this,this._options)),this._NativeEventsManager?.attachEvents(),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),N){const t=this.getComponentViewTag();-1!==t&&c.PropsRegistryGarbageCollector.registerView(t,this)}if(this._options?.jsProps?.length&&T.default.registerComponent(this,this._options.jsProps),this._configureLayoutAnimation(o.LayoutAnimationType.LAYOUT,this.props.layout),this._configureLayoutAnimation(o.LayoutAnimationType.EXITING,this.props.exiting),n.IS_WEB&&this._componentDOMRef){const t=this._componentDOMRef,e=t.dummyClone;for(;e?.firstChild;)t.appendChild(e.firstChild);if(delete t.dummyClone,this.props.exiting&&(0,y.saveSnapshot)(t),!this.props.entering)return void(this._isFirstRender=!1);if((0,y.getReducedMotionFromConfig)(this.props.entering))return this._isFirstRender=!1,void this.props.entering.callbackV?.(!0);const s=this.context?.current;s?t.style&&(t.style.visibility='initial'):(0,y.startWebLayoutAnimation)(this.props,t,o.LayoutAnimationType.ENTERING)}this._isFirstRender=!1}componentWillUnmount(){if(super.componentWillUnmount(),this._NativeEventsManager?.detachEvents(),this._detachStyles(),this._InlinePropManager.detachInlineProps(),N){const t=this.getComponentViewTag();-1!==t&&c.PropsRegistryGarbageCollector.unregisterView(t)}this._options?.jsProps?.length&&T.default.unregisterComponent(this);const t=this.props.exiting;if(n.IS_WEB&&this._componentDOMRef&&t){if((0,y.getReducedMotionFromConfig)(t))return void t.callbackV?.(!0);(0,u.addHTMLMutationObserver)(),(0,y.startWebLayoutAnimation)(this.props,this._componentDOMRef,o.LayoutAnimationType.EXITING)}}_syncStylePropsBackToReact(t){N&&this.setState(e=>({settledProps:{...e.settledProps,...t}}))}_detachStyles(){const t=this.getComponentViewTag();if(-1!==t){for(const e of this._animatedStyles)e.viewDescriptors.remove(t);for(const e of this._animatedProps)e?.viewDescriptors?.remove(t)}}setNativeProps(t){this._options?.setNativeProps?this._options.setNativeProps(this._componentRef,t):this._componentRef?.setNativeProps?.(t)}_handleAnimatedStylesUpdate(t,e,s){const{viewTag:o,shadowNodeWrapper:p}=this._getViewInfo(),h=new Set(e),l=t=>t.viewDescriptors.has(o);if(t){if(1===e.length&&1===t.length&&e[0]===t[0]&&l(t[0]))return;for(const s of t){e.some(t=>!(t!==s||!l(t))&&(h.delete(t),!0))||s.viewDescriptors.remove(o)}}h.forEach(t=>{t.viewDescriptors.add({tag:o,shadowNodeWrapper:p},t.styleUpdaterContainer),n.IS_JEST&&(Object.assign(s.value,t.initial.value),t.jestAnimatedValues.current=s)})}_updateAnimatedStylesAndProps(){this._handleAnimatedStylesUpdate(this._prevAnimatedStyles,this._animatedStyles,this.jestAnimatedStyle),this._handleAnimatedStylesUpdate(this._prevAnimatedProps,this._animatedProps,this.jestAnimatedProps)}componentDidUpdate(t,e,s){if(this._configureLayoutAnimation(o.LayoutAnimationType.LAYOUT,this.props.layout,t.layout),this._configureLayoutAnimation(o.LayoutAnimationType.EXITING,this.props.exiting,t.exiting),this._configureSharedTransition(),this._NativeEventsManager?.updateEvents(t),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),n.IS_WEB&&this.props.exiting&&this._componentDOMRef&&(0,y.saveSnapshot)(this._componentDOMRef),n.IS_WEB&&s&&this.props.layout){if((0,y.getReducedMotionFromConfig)(this.props.layout))return void this.props.layout.callbackV?.(!0);(0,y.tryActivateLayoutTransition)(this.props,this._componentDOMRef,s)}}_updateStyles(t){const e=(0,v.filterStyles)((0,v.flattenArray)(t.style??[]));this._prevAnimatedStyles=this._animatedStyles,this._animatedStyles=e.animatedStyles;const s=(0,v.filterStyles)((0,v.flattenArray)(t.animatedProps??[]));if(this._prevAnimatedProps=this._animatedProps,this._animatedProps=s.animatedStyles,s.cssStyle){const e={...t,...s.cssStyle};delete e.style,delete e.animatedProps,this._cssStyle=e}else this._cssStyle=e.cssStyle??{}}_configureLayoutAnimation(t,e,p){n.IS_WEB||e===p||(0,A.updateLayoutAnimations)(t===o.LayoutAnimationType.ENTERING?this.reanimatedID:this.getComponentViewTag(),t,e&&(0,s.maybeBuild)(e))}_configureSharedTransition(t){if(!(0,l.getStaticFeatureFlag)('ENABLE_SHARED_ELEMENT_TRANSITIONS'))return;if(!this.props.sharedTransitionTag)return void(this._sharedTransitionTag&&((0,A.updateLayoutAnimations)(t?this.reanimatedID:this.getComponentViewTag(),t?o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION_NATIVE_ID:o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION,void 0,void 0,void 0),this._sharedTransitionTag=void 0));this._sharedTransitionTag=this.props.sharedTransitionTag;const e=this.props.sharedTransitionStyle??this._sharedTransition??new _.SharedTransition;this._sharedTransition!==e&&((0,A.updateLayoutAnimations)(t?this.reanimatedID:this.getComponentViewTag(),t?o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION_NATIVE_ID:o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION,(0,s.maybeBuild)(e),void 0,this.props.sharedTransitionTag),this._sharedTransition=e)}getSnapshotBeforeUpdate(){return n.IS_WEB&&this.props.layout&&this._componentDOMRef?.getBoundingClientRect?this._componentDOMRef.getBoundingClientRect():null}render(){const t=this._PropsFilter.filterNonAnimatedProps(this);n.IS_JEST&&(t.jestAnimatedStyle=this.jestAnimatedStyle,t.jestAnimatedProps=this.jestAnimatedProps),this._isFirstRender&&n.IS_WEB&&t.entering&&!(0,y.getReducedMotionFromConfig)(t.entering)&&(t.style=Array.isArray(t.style)?t.style.concat([{visibility:'hidden'}]):{...t.style??{},visibility:'hidden'});const s=this.context?.current;let o,p;return n.IS_JEST?p={jestInlineStyle:this.props.style&&L(this.props.style),jestAnimatedStyle:this.jestAnimatedStyle,jestAnimatedProps:this.jestAnimatedProps}:s||n.IS_WEB||(o=`${this.reanimatedID}`),'RadialGradient'!==this.ChildComponent.displayName&&'LinearGradient'!==this.ChildComponent.displayName||void 0===t.children&&(t.children=(0,I.jsx)(e.Fragment,{})),N?super.render({nativeID:o,...t,...this.state.settledProps,style:[...(0,v.flattenArray)(t.style),this.state.settledProps],...p}):super.render({nativeID:o,...t,...p})}}function L(t){return t?Array.isArray(t)?t.filter(t=>!(t&&'viewDescriptors'in t)).map(t=>Array.isArray(t)?L(t):t):t?.viewDescriptors?{}:t:t}},1143,[1144,35,1169,1032,1110,1170,1177,1105,1227,1232,1250,1257,1258,1259,1262,1265,1267,1264,320]);
1266
- __d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),o=r(d[3]),u=r(d[4]),l=r(d[5]);const _=1e9,c=(0,u.getStaticFeatureFlag)('USE_ANIMATION_BACKEND'),A=(function({_worklet_14066200087475_init_data:t,TAG_OFFSET:n}){const s=function(t,s,o){s.addListener(t+n,()=>{g._notifyAboutProgress(t,s.value),o()})};return s.__closure={TAG_OFFSET:n},s.__workletHash=0xccb0adc0bb3,s.__initData=t,s})({_worklet_14066200087475_init_data:{code:"function startObservingProgress_reactNativeReanimated_animationsManagerJs1(tag,sharedValue,scheduleFlush){const{TAG_OFFSET}=this.__closure;sharedValue.addListener(tag+TAG_OFFSET,function(){global._notifyAboutProgress(tag,sharedValue.value);scheduleFlush();});}"},TAG_OFFSET:_}),h=(function({_worklet_10519792981855_init_data:t,TAG_OFFSET:n}){const s=function(t,s,o,u=!1){s.removeListener(t+n),g._notifyAboutEnd(t,u),o()};return s.__closure={TAG_OFFSET:n},s.__workletHash=0x9915486175f,s.__initData=t,s})({_worklet_10519792981855_init_data:{code:"function stopObservingProgress_reactNativeReanimated_animationsManagerJs2(tag,sharedValue,scheduleFlush,removeView=false){const{TAG_OFFSET}=this.__closure;sharedValue.removeListener(tag+TAG_OFFSET);global._notifyAboutEnd(tag,removeView);scheduleFlush();}"},TAG_OFFSET:_}),v=(function({_worklet_13857133375907_init_data:t,USE_ANIMATION_BACKEND:n,makeMutableUI:s,stopObservingProgress:o,withStyleAnimation:u,LayoutAnimationType:l,startObservingProgress:_}){const c=function(){const t=new Map,c=new Map;let A=!1;const h=()=>{n||A||(A=!0,globalThis.requestAnimationFrameFinalizer(()=>{A=!1,g._maybeFlushUIUpdatesQueue()}))};return{start(n,A,v,b){const f=b(v);let F=f.animations;const T=t.get(n);T&&(F={...T,...f.animations}),t.set(n,F);let y=c.get(n);void 0===y?(y=s(f.initialValues),c.set(n,y)):(o(n,y,h),y._value=f.initialValues);const O=u(F);O.callback=s=>{if(s){t.delete(n),c.delete(n);const s=A===l.EXITING;o(n,y,h,s)}f.callback&&f.callback(void 0!==s&&s)},_(n,y,h),y.value=O},stop(t){const n=c.get(t);n&&o(t,n,h)}}};return c.__closure={USE_ANIMATION_BACKEND:n,makeMutableUI:s,stopObservingProgress:o,withStyleAnimation:u,LayoutAnimationType:l,startObservingProgress:_},c.__workletHash=0xc9a5d8331a3,c.__initData=t,c})({_worklet_13857133375907_init_data:{code:"function createLayoutAnimationManager_reactNativeReanimated_animationsManagerJs3(){const{USE_ANIMATION_BACKEND,makeMutableUI,stopObservingProgress,withStyleAnimation,LayoutAnimationType,startObservingProgress}=this.__closure;const currentAnimationForTag=new Map();const mutableValuesForTag=new Map();let flushRequested=false;const scheduleFlush=function(){if(USE_ANIMATION_BACKEND||flushRequested){return;}flushRequested=true;globalThis.requestAnimationFrameFinalizer(function(){flushRequested=false;global._maybeFlushUIUpdatesQueue();});};return{start:function(tag,type,yogaValues,config){const style=config(yogaValues);let currentAnimation=style.animations;const previousAnimation=currentAnimationForTag.get(tag);if(previousAnimation){currentAnimation={...previousAnimation,...style.animations};}currentAnimationForTag.set(tag,currentAnimation);let value=mutableValuesForTag.get(tag);if(value===undefined){value=makeMutableUI(style.initialValues);mutableValuesForTag.set(tag,value);}else{stopObservingProgress(tag,value,scheduleFlush);value._value=style.initialValues;}const animation=withStyleAnimation(currentAnimation);animation.callback=function(finished){if(finished){currentAnimationForTag.delete(tag);mutableValuesForTag.delete(tag);const shouldRemoveView=type===LayoutAnimationType.EXITING;stopObservingProgress(tag,value,scheduleFlush,shouldRemoveView);}if(style.callback){style.callback(finished===undefined?false:finished);}};startObservingProgress(tag,value,scheduleFlush);value.value=animation;},stop:function(tag){const value=mutableValuesForTag.get(tag);if(!value){return;}stopObservingProgress(tag,value,scheduleFlush);}};}"},USE_ANIMATION_BACKEND:c,makeMutableUI:l.makeMutableUI,stopObservingProgress:h,withStyleAnimation:n.withStyleAnimation,LayoutAnimationType:o.LayoutAnimationType,startObservingProgress:A}),b={code:"function reactNativeReanimated_animationsManagerJs4(){const{createLayoutAnimationManager}=this.__closure;global.LayoutAnimationsManager=createLayoutAnimationManager();}"};s.SHOULD_BE_USE_WEB||(0,t.runOnUISync)((function({_worklet_12746540537052_init_data:t,createLayoutAnimationManager:n}){const s=function(){g.LayoutAnimationsManager=n()};return s.__closure={createLayoutAnimationManager:n},s.__workletHash=0xb97c90554dc,s.__initData=t,s})({_worklet_12746540537052_init_data:b,createLayoutAnimationManager:v}))},1144,[1013,1145,1032,1110,1105,1149]);
1265
+ __d(function(g,r,i,a,m,_e,d){'use strict';function t(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return R}}),r(d[0]);var e=r(d[1]),s=r(d[2]),n=r(d[3]),o=r(d[4]),p=r(d[5]),h=t(r(d[6])),l=r(d[7]),_=r(d[8]),y=r(d[9]),u=r(d[10]),c=r(d[11]),A=r(d[12]),S=r(d[13]),T=t(r(d[14])),f=r(d[15]),E=r(d[16]),v=r(d[17]),I=r(d[18]);let P=0;n.IS_WEB&&(0,y.configureWebLayoutAnimations)();const N=(0,l.getStaticFeatureFlag)('FORCE_REACT_RENDER_FOR_SETTLED_ANIMATIONS')&&!(0,l.getStaticFeatureFlag)('USE_ANIMATION_BACKEND')&&!n.IS_WEB;class R extends h.default{_animatedStyles=[];_prevAnimatedStyles=[];_animatedProps=[];_prevAnimatedProps=[];_isFirstRender=!0;jestAnimatedStyle={value:{}};jestAnimatedProps={value:{}};_InlinePropManager=new S.InlinePropManager;_PropsFilter=new E.PropsFilter;static contextType=p.SkipEnteringContext;reanimatedID=P++;constructor(t,e,s,p){super(t,e),this._options=p,this._displayName=s,N&&(this.state={settledProps:{}}),n.IS_JEST&&(this.jestAnimatedStyle={value:{}},this.jestAnimatedProps={value:{}}),this._configureSharedTransition(!0);const h=this.props.entering,l=this.context?.current;l||this._configureLayoutAnimation(o.LayoutAnimationType.ENTERING,h)}componentDidMount(){if(super.componentDidMount(),n.IS_WEB||(this._NativeEventsManager=new f.NativeEventsManager(this,this._options)),this._NativeEventsManager?.attachEvents(),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),N){const t=this.getComponentViewTag();-1!==t&&c.PropsRegistryGarbageCollector.registerView(t,this)}if(this._options?.jsProps?.length&&T.default.registerComponent(this,this._options.jsProps),this._configureLayoutAnimation(o.LayoutAnimationType.LAYOUT,this.props.layout),this._configureLayoutAnimation(o.LayoutAnimationType.EXITING,this.props.exiting),n.IS_WEB&&this._componentDOMRef){const t=this._componentDOMRef,e=t.dummyClone;for(;e?.firstChild;)t.appendChild(e.firstChild);if(delete t.dummyClone,this.props.exiting&&(0,y.saveSnapshot)(t),!this.props.entering)return void(this._isFirstRender=!1);if((0,y.getReducedMotionFromConfig)(this.props.entering))return this._isFirstRender=!1,void this.props.entering.callbackV?.(!0);const s=this.context?.current;s?t.style&&(t.style.visibility='initial'):(0,y.startWebLayoutAnimation)(this.props,t,o.LayoutAnimationType.ENTERING)}this._isFirstRender=!1}componentWillUnmount(){if(super.componentWillUnmount(),this._NativeEventsManager?.detachEvents(),this._detachStyles(),this._InlinePropManager.detachInlineProps(),N){const t=this.getComponentViewTag();-1!==t&&c.PropsRegistryGarbageCollector.unregisterView(t)}this._options?.jsProps?.length&&T.default.unregisterComponent(this);const t=this.props.exiting;if(n.IS_WEB&&this._componentDOMRef&&t){if((0,y.getReducedMotionFromConfig)(t))return void t.callbackV?.(!0);(0,u.addHTMLMutationObserver)(),(0,y.startWebLayoutAnimation)(this.props,this._componentDOMRef,o.LayoutAnimationType.EXITING)}}_syncStylePropsBackToReact(t){N&&this.setState(e=>({settledProps:{...e.settledProps,...t}}))}_detachStyles(){const t=this.getComponentViewTag();if(-1!==t){for(const e of this._animatedStyles)e.viewDescriptors.remove(t);for(const e of this._animatedProps)e?.viewDescriptors?.remove(t)}}setNativeProps(t){this._options?.setNativeProps?this._options.setNativeProps(this._componentRef,t):this._componentRef?.setNativeProps?.(t)}_handleAnimatedStylesUpdate(t,e,s){const{viewTag:o,shadowNodeWrapper:p}=this._getViewInfo(),h=new Set(e),l=t=>t.viewDescriptors.has(o);if(t){if(1===e.length&&1===t.length&&e[0]===t[0]&&l(t[0]))return;for(const s of t){e.some(t=>!(t!==s||!l(t))&&(h.delete(t),!0))||s.viewDescriptors.remove(o)}}h.forEach(t=>{t.viewDescriptors.add({tag:o,shadowNodeWrapper:p},t.styleUpdaterContainer),n.IS_JEST&&(Object.assign(s.value,t.initial.value),t.jestAnimatedValues.current=s)})}_updateAnimatedStylesAndProps(){this._handleAnimatedStylesUpdate(this._prevAnimatedStyles,this._animatedStyles,this.jestAnimatedStyle),this._handleAnimatedStylesUpdate(this._prevAnimatedProps,this._animatedProps,this.jestAnimatedProps)}componentDidUpdate(t,e,s){if(this._configureLayoutAnimation(o.LayoutAnimationType.LAYOUT,this.props.layout,t.layout),this._configureLayoutAnimation(o.LayoutAnimationType.EXITING,this.props.exiting,t.exiting),this._configureSharedTransition(),this._NativeEventsManager?.updateEvents(t),this._updateAnimatedStylesAndProps(),this._InlinePropManager.attachInlineProps(this,this._getViewInfo()),n.IS_WEB&&this.props.exiting&&this._componentDOMRef&&(0,y.saveSnapshot)(this._componentDOMRef),n.IS_WEB&&s&&this.props.layout){if((0,y.getReducedMotionFromConfig)(this.props.layout))return void this.props.layout.callbackV?.(!0);(0,y.tryActivateLayoutTransition)(this.props,this._componentDOMRef,s)}}_updateStyles(t){const e=(0,v.filterStyles)((0,v.flattenArray)(t.style??[]));this._prevAnimatedStyles=this._animatedStyles,this._animatedStyles=e.animatedStyles;const s=(0,v.filterStyles)((0,v.flattenArray)(t.animatedProps??[]));if(this._prevAnimatedProps=this._animatedProps,this._animatedProps=s.animatedStyles,s.cssStyle){const e={...t,...s.cssStyle};delete e.style,delete e.animatedProps,this._cssStyle=e}else this._cssStyle=e.cssStyle??{}}_configureLayoutAnimation(t,e,p){n.IS_WEB||e===p||(0,A.updateLayoutAnimations)(t===o.LayoutAnimationType.ENTERING?this.reanimatedID:this.getComponentViewTag(),t,e&&(0,s.maybeBuild)(e))}_configureSharedTransition(t){if(!(0,l.getStaticFeatureFlag)('ENABLE_SHARED_ELEMENT_TRANSITIONS'))return;if(!this.props.sharedTransitionTag)return void(this._sharedTransitionTag&&((0,A.updateLayoutAnimations)(t?this.reanimatedID:this.getComponentViewTag(),t?o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION_NATIVE_ID:o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION,void 0,void 0,void 0),this._sharedTransitionTag=void 0));this._sharedTransitionTag=this.props.sharedTransitionTag;const e=this.props.sharedTransitionStyle??this._sharedTransition??new _.SharedTransition;this._sharedTransition!==e&&((0,A.updateLayoutAnimations)(t?this.reanimatedID:this.getComponentViewTag(),t?o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION_NATIVE_ID:o.LayoutAnimationType.SHARED_ELEMENT_TRANSITION,(0,s.maybeBuild)(e),void 0,this.props.sharedTransitionTag),this._sharedTransition=e)}getSnapshotBeforeUpdate(){return n.IS_WEB&&this.props.layout&&this._componentDOMRef?.getBoundingClientRect?this._componentDOMRef.getBoundingClientRect():null}render(){const t=this._PropsFilter.filterNonAnimatedProps(this);n.IS_JEST&&(t.jestAnimatedStyle=this.jestAnimatedStyle,t.jestAnimatedProps=this.jestAnimatedProps),this._isFirstRender&&n.IS_WEB&&t.entering&&!(0,y.getReducedMotionFromConfig)(t.entering)&&(t.style=Array.isArray(t.style)?t.style.concat([{visibility:'hidden'}]):{...t.style??{},visibility:'hidden'});const s=this.context?.current;let o,p;return n.IS_JEST?p={jestInlineStyle:this.props.style&&D(this.props.style),jestAnimatedStyle:this.jestAnimatedStyle,jestAnimatedProps:this.jestAnimatedProps}:s||n.IS_WEB||(o=`${this.reanimatedID}`),'RadialGradient'!==this.ChildComponent.displayName&&'LinearGradient'!==this.ChildComponent.displayName||void 0===t.children&&(t.children=(0,I.jsx)(e.Fragment,{})),N?super.render({nativeID:o,...t,...this.state.settledProps,style:[...(0,v.flattenArray)(t.style),this.state.settledProps],...p}):super.render({nativeID:o,...t,...p})}}function D(t){return t?Array.isArray(t)?t.filter(t=>!(t&&'viewDescriptors'in t)).map(t=>Array.isArray(t)?D(t):t):t?.viewDescriptors?{}:t:t}},1143,[1144,35,1169,1032,1110,1170,1177,1105,1227,1232,1250,1257,1258,1259,1262,1265,1267,1264,320]);
1266
+ __d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),u=r(d[5]);const c=1e9,_=(0,l.getStaticFeatureFlag)('USE_ANIMATION_BACKEND'),A=(function({_worklet_14066200087475_init_data:t,TAG_OFFSET:n}){const o=function(t,o,s){o.addListener(t+n,()=>{g._notifyAboutProgress(t,o.value),s()})};return o.__closure={TAG_OFFSET:n},o.__workletHash=0xccb0adc0bb3,o.__initData=t,o})({_worklet_14066200087475_init_data:{code:"function startObservingProgress_reactNativeReanimated_animationsManagerJs1(tag,sharedValue,scheduleFlush){const{TAG_OFFSET}=this.__closure;sharedValue.addListener(tag+TAG_OFFSET,function(){global._notifyAboutProgress(tag,sharedValue.value);scheduleFlush();});}"},TAG_OFFSET:c}),F=(function({_worklet_10519792981855_init_data:t,TAG_OFFSET:n}){const o=function(t,o,s,l=!1){o.removeListener(t+n),g._notifyAboutEnd(t,l),s()};return o.__closure={TAG_OFFSET:n},o.__workletHash=0x9915486175f,o.__initData=t,o})({_worklet_10519792981855_init_data:{code:"function stopObservingProgress_reactNativeReanimated_animationsManagerJs2(tag,sharedValue,scheduleFlush,removeView=false){const{TAG_OFFSET}=this.__closure;sharedValue.removeListener(tag+TAG_OFFSET);global._notifyAboutEnd(tag,removeView);scheduleFlush();}"},TAG_OFFSET:c}),T=(function({_worklet_6563267147235_init_data:t,USE_ANIMATION_BACKEND:n,makeMutableUI:o,stopObservingProgress:s,withStyleAnimation:l,LayoutAnimationType:u,startObservingProgress:c,TAG_OFFSET:_,cancelAnimation:A}){const F=function(){const t=new Map,F=new Map;let T=!1;const v=()=>{n||T||(T=!0,globalThis.requestAnimationFrameFinalizer(()=>{T=!1,g._maybeFlushUIUpdatesQueue()}))};return{start(n,_,A,T){const h=T(A);let b=h.animations;const f=t.get(n);f&&(b={...f,...h.animations}),t.set(n,b);let y=F.get(n);void 0===y?(y=o(h.initialValues),F.set(n,y)):(s(n,y,v),y._value=h.initialValues);const O=l(b,o=>{if(o){t.delete(n),F.delete(n);const o=_===u.EXITING;s(n,y,v,o)}h.callback&&h.callback(o)});c(n,y,v),y.value=O},stop(n){const o=F.get(n);o&&(o.removeListener(n+_),A(o),t.delete(n),F.delete(n))}}};return F.__closure={USE_ANIMATION_BACKEND:n,makeMutableUI:o,stopObservingProgress:s,withStyleAnimation:l,LayoutAnimationType:u,startObservingProgress:c,TAG_OFFSET:_,cancelAnimation:A},F.__workletHash=6563267147235,F.__initData=t,F})({_worklet_6563267147235_init_data:{code:"function createLayoutAnimationManager_reactNativeReanimated_animationsManagerJs3(){const{USE_ANIMATION_BACKEND,makeMutableUI,stopObservingProgress,withStyleAnimation,LayoutAnimationType,startObservingProgress,TAG_OFFSET,cancelAnimation}=this.__closure;const currentAnimationForTag=new Map();const mutableValuesForTag=new Map();let flushRequested=false;const scheduleFlush=function(){if(USE_ANIMATION_BACKEND||flushRequested){return;}flushRequested=true;globalThis.requestAnimationFrameFinalizer(function(){flushRequested=false;global._maybeFlushUIUpdatesQueue();});};return{start:function(tag,type,yogaValues,config){const style=config(yogaValues);let currentAnimation=style.animations;const previousAnimation=currentAnimationForTag.get(tag);if(previousAnimation){currentAnimation={...previousAnimation,...style.animations};}currentAnimationForTag.set(tag,currentAnimation);let value=mutableValuesForTag.get(tag);if(value===undefined){value=makeMutableUI(style.initialValues);mutableValuesForTag.set(tag,value);}else{stopObservingProgress(tag,value,scheduleFlush);value._value=style.initialValues;}const animation=withStyleAnimation(currentAnimation,function(finished){if(finished){currentAnimationForTag.delete(tag);mutableValuesForTag.delete(tag);const shouldRemoveView=type===LayoutAnimationType.EXITING;stopObservingProgress(tag,value,scheduleFlush,shouldRemoveView);}if(style.callback){style.callback(finished);}});startObservingProgress(tag,value,scheduleFlush);value.value=animation;},stop:function(tag){const value=mutableValuesForTag.get(tag);if(!value){return;}value.removeListener(tag+TAG_OFFSET);cancelAnimation(value);currentAnimationForTag.delete(tag);mutableValuesForTag.delete(tag);}};}"},USE_ANIMATION_BACKEND:_,makeMutableUI:u.makeMutableUI,stopObservingProgress:F,withStyleAnimation:n.withStyleAnimation,LayoutAnimationType:s.LayoutAnimationType,startObservingProgress:A,TAG_OFFSET:c,cancelAnimation:n.cancelAnimation}),v={code:"function reactNativeReanimated_animationsManagerJs4(){const{createLayoutAnimationManager}=this.__closure;global.LayoutAnimationsManager=createLayoutAnimationManager();}"};o.SHOULD_BE_USE_WEB||(0,t.runOnUISync)((function({_worklet_12746540537052_init_data:t,createLayoutAnimationManager:n}){const o=function(){g.LayoutAnimationsManager=n()};return o.__closure={createLayoutAnimationManager:n},o.__workletHash=0xb97c90554dc,o.__initData=t,o})({_worklet_12746540537052_init_data:v,createLayoutAnimationManager:T}))},1144,[1013,1145,1032,1110,1105,1149]);
1267
1267
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withClamp",{enumerable:!0,get:function(){return n.withClamp}}),Object.defineProperty(e,"withDecay",{enumerable:!0,get:function(){return t.withDecay}}),Object.defineProperty(e,"withDelay",{enumerable:!0,get:function(){return u.withDelay}}),Object.defineProperty(e,"withRepeat",{enumerable:!0,get:function(){return o.withRepeat}}),Object.defineProperty(e,"withSequence",{enumerable:!0,get:function(){return f.withSequence}}),Object.defineProperty(e,"GentleSpringConfig",{enumerable:!0,get:function(){return p.GentleSpringConfig}}),Object.defineProperty(e,"GentleSpringConfigWithDuration",{enumerable:!0,get:function(){return p.GentleSpringConfigWithDuration}}),Object.defineProperty(e,"Reanimated3DefaultSpringConfig",{enumerable:!0,get:function(){return p.Reanimated3DefaultSpringConfig}}),Object.defineProperty(e,"Reanimated3DefaultSpringConfigWithDuration",{enumerable:!0,get:function(){return p.Reanimated3DefaultSpringConfigWithDuration}}),Object.defineProperty(e,"SnappySpringConfig",{enumerable:!0,get:function(){return p.SnappySpringConfig}}),Object.defineProperty(e,"SnappySpringConfigWithDuration",{enumerable:!0,get:function(){return p.SnappySpringConfigWithDuration}}),Object.defineProperty(e,"WigglySpringConfig",{enumerable:!0,get:function(){return p.WigglySpringConfig}}),Object.defineProperty(e,"WigglySpringConfigWithDuration",{enumerable:!0,get:function(){return p.WigglySpringConfigWithDuration}}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return p.withSpring}}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return c.withStyleAnimation}}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return l.withTiming}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return b.cancelAnimation}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return b.defineAnimation}}),Object.defineProperty(e,"initialUpdaterRun",{enumerable:!0,get:function(){return b.initialUpdaterRun}});var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=r(d[3]),f=r(d[4]),p=r(d[5]),c=r(d[6]),l=r(d[7]),b=r(d[8])},1145,[1146,1153,1158,1159,1160,1161,1165,1166,1147]);
1268
1268
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withClamp",{enumerable:!0,get:function(){return t}});var n=r(d[0]),o=r(d[1]);const t=(function({_worklet_8069500317376_init_data:n,defineAnimation:o,_worklet_11055536105172_init_data:t,recognizePrefixSuffix:u,logger:f,getReduceMotionForAnimation:l}){const c=function(n,c){return o(c,(function({_worklet_11055536105172_init_data:n,_animationToClamp:o,config:t,recognizePrefixSuffix:u,logger:f,getReduceMotionForAnimation:l}){const c=function(){const n='function'==typeof o?o():o,c=void 0===t.min?void 0:u(t.min).strippedValue,p=void 0===t.max?void 0:u(t.max).strippedValue;return{isHigherOrder:!0,onFrame:function(o,t){const l=n.onFrame(n,t);if(void 0===n.current)return f.warn("Error inside 'withClamp' animation, the inner animation has invalid current value"),!0;{const{prefix:t,strippedValue:f,suffix:l}=u(n.current);let s;s=void 0!==p&&p<f?p:void 0!==c&&c>f?c:f,o.current='number'==typeof n.current?s:`${void 0===t?'':t}${s}${void 0===l?'':l}`}return l},onStart:function(o,u,l,c){o.current=u,o.previousAnimation=n;const p=c?.previousAnimation;void 0!==t.max&&void 0!==t.min&&t.max<t.min&&f.warn('Wrong config was provided to withClamp. Min value is bigger than max'),n.onStart(n,p?.current||u,l,p)},current:n.current,callback:o=>{n.callback&&n.callback(o)},previousAnimation:null,reduceMotion:l(t.reduceMotion)}};return c.__closure={_animationToClamp:o,config:t,recognizePrefixSuffix:u,logger:f,getReduceMotionForAnimation:l},c.__workletHash=0xa0e114d66d4,c.__initData=n,c})({_worklet_11055536105172_init_data:t,_animationToClamp:c,config:n,recognizePrefixSuffix:u,logger:f,getReduceMotionForAnimation:l}))};return c.__closure={defineAnimation:o,_worklet_11055536105172_init_data:t,recognizePrefixSuffix:u,logger:f,getReduceMotionForAnimation:l},c.__workletHash=8069500317376,c.__initData=n,c})({_worklet_8069500317376_init_data:{code:"function reactNativeReanimated_clampJs2(config,_animationToClamp){const{defineAnimation,_worklet_11055536105172_init_data,recognizePrefixSuffix,logger,getReduceMotionForAnimation}=this.__closure;return defineAnimation(_animationToClamp,function reactNativeReanimated_clampJs1Factory({_worklet_11055536105172_init_data:_worklet_11055536105172_init_data,_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_clampJs1=function(){const animationToClamp=typeof _animationToClamp==='function'?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){logger.warn(\"Error inside 'withClamp' animation, the inner animation has invalid current value\");return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMax<strippedValue){newValue=strippedMax;}else if(strippedMin!==undefined&&strippedMin>strippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.max<config.min){logger.warn('Wrong config was provided to withClamp. Min value is bigger than max');}animationToClamp.onStart(animationToClamp,(animationBeforeClamped===null||animationBeforeClamped===void 0?void 0:animationBeforeClamped.current)||value,now,animationBeforeClamped);}const callback=function(finished){if(animationToClamp.callback){animationToClamp.callback(finished);}};return{isHigherOrder:true,onFrame:clampOnFrame,onStart:onStart,current:animationToClamp.current,callback:callback,previousAnimation:null,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};};reactNativeReanimated_clampJs1.__closure={_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_clampJs1.__workletHash=11055536105172;reactNativeReanimated_clampJs1.__initData=_worklet_11055536105172_init_data;return reactNativeReanimated_clampJs1;}({_worklet_11055536105172_init_data:_worklet_11055536105172_init_data,_animationToClamp:_animationToClamp,config:config,recognizePrefixSuffix:recognizePrefixSuffix,logger:logger,getReduceMotionForAnimation:getReduceMotionForAnimation}));}"},defineAnimation:o.defineAnimation,_worklet_11055536105172_init_data:{code:"function reactNativeReanimated_clampJs1(){const{_animationToClamp,config,recognizePrefixSuffix,logger,getReduceMotionForAnimation}=this.__closure;const animationToClamp=typeof _animationToClamp==='function'?_animationToClamp():_animationToClamp;const strippedMin=config.min===undefined?undefined:recognizePrefixSuffix(config.min).strippedValue;const strippedMax=config.max===undefined?undefined:recognizePrefixSuffix(config.max).strippedValue;function clampOnFrame(animation,now){const finished=animationToClamp.onFrame(animationToClamp,now);if(animationToClamp.current===undefined){logger.warn(\"Error inside 'withClamp' animation, the inner animation has invalid current value\");return true;}else{const{prefix:prefix,strippedValue:strippedValue,suffix:suffix}=recognizePrefixSuffix(animationToClamp.current);let newValue;if(strippedMax!==undefined&&strippedMax<strippedValue){newValue=strippedMax;}else if(strippedMin!==undefined&&strippedMin>strippedValue){newValue=strippedMin;}else{newValue=strippedValue;}animation.current=typeof animationToClamp.current==='number'?newValue:\"\"+(prefix===undefined?'':prefix)+newValue+(suffix===undefined?'':suffix);}return finished;}function onStart(animation,value,now,previousAnimation){animation.current=value;animation.previousAnimation=animationToClamp;const animationBeforeClamped=previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.previousAnimation;if(config.max!==undefined&&config.min!==undefined&&config.max<config.min){logger.warn('Wrong config was provided to withClamp. Min value is bigger than max');}animationToClamp.onStart(animationToClamp,(animationBeforeClamped===null||animationBeforeClamped===void 0?void 0:animationBeforeClamped.current)||value,now,animationBeforeClamped);}const callback=function(finished){if(animationToClamp.callback){animationToClamp.callback(finished);}};return{isHigherOrder:true,onFrame:clampOnFrame,onStart:onStart,current:animationToClamp.current,callback:callback,previousAnimation:null,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}"},recognizePrefixSuffix:o.recognizePrefixSuffix,logger:n.logger,getReduceMotionForAnimation:o.getReduceMotionForAnimation})},1146,[1032,1147]);
1269
1269
  __d(function(g,r,_i,_a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"isValidLayoutAnimationProp",{enumerable:!0,get:function(){return _}}),Object.defineProperty(e,"assertEasingIsWorklet",{enumerable:!0,get:function(){return l}}),e.initialUpdaterRun=function(t){s.current=!0;const i=t();return s.current=!1,i},Object.defineProperty(e,"recognizePrefixSuffix",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"getReduceMotionFromConfig",{enumerable:!0,get:function(){return v}}),Object.defineProperty(e,"getReduceMotionForAnimation",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"defineAnimation",{enumerable:!0,get:function(){return h}}),Object.defineProperty(e,"cancelAnimation",{enumerable:!0,get:function(){return y}});var t=r(d[0]),i=r(d[1]),n=r(d[2]),a=r(d[3]),o=r(d[4]),u=r(d[5]);const s={current:!1},c=(0,t.createSerializable)({current:!1});t.serializableMappingCache.set(s,c);const _=(function({_worklet_6433531961713_init_data:t,LAYOUT_ANIMATION_SUPPORTED_PROPS:i}){const n=function(t){return t in i};return n.__closure={LAYOUT_ANIMATION_SUPPORTED_PROPS:i},n.__workletHash=6433531961713,n.__initData=t,n})({_worklet_6433531961713_init_data:{code:"function isValidLayoutAnimationProp_reactNativeReanimated_utilJs1(prop){const{LAYOUT_ANIMATION_SUPPORTED_PROPS}=this.__closure;return prop in LAYOUT_ANIMATION_SUPPORTED_PROPS;}"},LAYOUT_ANIMATION_SUPPORTED_PROPS:{originX:!0,originY:!0,width:!0,height:!0,borderRadius:!0,globalOriginX:!0,globalOriginY:!0,opacity:!0,transform:!0,backgroundColor:!0}}),l=(function({_worklet_1290699946524_init_data:t,RuntimeKind:i,SHOULD_BE_USE_WEB:n,isWorkletFunction:a}){const o=function(t){if(globalThis.__RUNTIME_KIND===i.ReactNative&&!n&&!t?.factory&&!a(t))throw new Error('[Reanimated] The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated.')};return o.__closure={RuntimeKind:i,SHOULD_BE_USE_WEB:n,isWorkletFunction:a},o.__workletHash=1290699946524,o.__initData=t,o})({_worklet_1290699946524_init_data:{code:"function assertEasingIsWorklet_reactNativeReanimated_utilJs2(easing){const{RuntimeKind,SHOULD_BE_USE_WEB,isWorkletFunction}=this.__closure;if(globalThis.__RUNTIME_KIND!==RuntimeKind.ReactNative){return;}if(SHOULD_BE_USE_WEB){return;}if(easing!==null&&easing!==void 0&&easing.factory){return;}if(!isWorkletFunction(easing)){throw new Error('[Reanimated] The easing function is not a worklet. Please make sure you import `Easing` from react-native-reanimated.');}}"},RuntimeKind:t.RuntimeKind,SHOULD_BE_USE_WEB:n.SHOULD_BE_USE_WEB,isWorkletFunction:t.isWorkletFunction});const f=(function({_worklet_12820712716502_init_data:t}){const i=function(t){if('string'==typeof t){const i=t.match(/([A-Za-z]*)(-?\d*\.?\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/);if(!i)throw new Error("[Reanimated] Couldn't parse animation value.");const n=i[1],a=i[4],o=i[2]+(i[3]??'');return{prefix:n,suffix:a,strippedValue:parseFloat(o)}}return{strippedValue:t}};return i.__closure={},i.__workletHash=0xba90e06f8d6,i.__initData=t,i})({_worklet_12820712716502_init_data:{code:"function recognizePrefixSuffix_reactNativeReanimated_utilJs3(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 new Error(\"[Reanimated] Couldn't parse animation value.\");}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};}}"}}),p=o.ReducedMotionManager.uiValue,v=(function({_worklet_9218816022141_init_data:t,ReduceMotion:i,isReduceMotionOnUI:n}){const a=function(t){return t&&t!==i.System?t===i.Always:n.value};return a.__closure={ReduceMotion:i,isReduceMotionOnUI:n},a.__workletHash=9218816022141,a.__initData=t,a})({_worklet_9218816022141_init_data:{code:"function getReduceMotionFromConfig_reactNativeReanimated_utilJs4(config){const{ReduceMotion,isReduceMotionOnUI}=this.__closure;return!config||config===ReduceMotion.System?isReduceMotionOnUI.value:config===ReduceMotion.Always;}"},ReduceMotion:a.ReduceMotion,isReduceMotionOnUI:p}),A=(function({_worklet_4956957273507_init_data:t,getReduceMotionFromConfig:i}){const n=function(t){if(t)return i(t)};return n.__closure={getReduceMotionFromConfig:i},n.__workletHash=4956957273507,n.__initData=t,n})({_worklet_4956957273507_init_data:{code:"function getReduceMotionForAnimation_reactNativeReanimated_utilJs5(config){const{getReduceMotionFromConfig}=this.__closure;if(!config){return undefined;}return getReduceMotionFromConfig(config);}"},getReduceMotionFromConfig:v}),R=(function({_worklet_12489618165961_init_data:t,addMatrices:i,scaleMatrix:n,subtractMatrices:a}){const o=function(t,o,u){return i(o,n(a(u,o),t))};return o.__closure={addMatrices:i,scaleMatrix:n,subtractMatrices:a},o.__workletHash=0xb5bf74110c9,o.__initData=t,o})({_worklet_12489618165961_init_data:{code:"function applyProgressToMatrix_reactNativeReanimated_utilJs6(progress,a,b){const{addMatrices,scaleMatrix,subtractMatrices}=this.__closure;return addMatrices(a,scaleMatrix(subtractMatrices(b,a),progress));}"},addMatrices:u.addMatrices,scaleMatrix:u.scaleMatrix,subtractMatrices:u.subtractMatrices}),M=(function({_worklet_7101026900556_init_data:t}){const i=function(t,i,n){return i+t*(n-i)};return i.__closure={},i.__workletHash=7101026900556,i.__initData=t,i})({_worklet_7101026900556_init_data:{code:"function applyProgressToNumber_reactNativeReanimated_utilJs7(progress,a,b){return a+progress*(b-a);}"}}),x=(function({_worklet_6884630105099_init_data:t,getReduceMotionFromConfig:i,recognizePrefixSuffix:n,isColor:a,toLinearSpace:o,convertToRGBA:u,clampRGBA:s,rgbaArrayToRGBAColor:c,toGammaSpace:_,decomposeMatrixIntoMatricesAndAngles:l,applyProgressToMatrix:f,applyProgressToNumber:p,getRotationMatrix:v,multiplyMatrices:A,flatten:R,isAffineMatrixFlat:M}){const x=function(t){const x=t.onStart,h=t.onFrame;if(t.isHigherOrder)return void(t.onStart=(t,n,a,o)=>(void 0===t.reduceMotion&&(t.reduceMotion=i()),x(t,n,a,o)));const S=Object.assign({},t);delete S.callback;const y=(t,i,a,o)=>{const{prefix:u,suffix:s,strippedValue:c}=n(i);t.__prefix=u,t.__suffix=s,t.strippedCurrent=c;const{strippedValue:_}=n(t.toValue);if(t.current=c,t.startValue=c,t.toValue=_,o&&o!==t){const{prefix:t,suffix:i,strippedValue:a}=n(o.current);o.current=a,o.__prefix=t,o.__suffix=i}x(t,c,a,o),t.current=(t.__prefix??'')+t.current+(t.__suffix??''),o&&o!==t&&(o.current=(o.__prefix??'')+o.current+(o.__suffix??''))},k=(t,i)=>{t.current=t.strippedCurrent;const n=h(t,i);return t.strippedCurrent=t.current,t.current=(t.__prefix??'')+t.current+(t.__suffix??''),n},O=['R','G','B','A'],b=(t,i,n,l)=>{let f,p,v;const A=[];a(i)&&(p=o(u(t.current)),f=o(u(i)),t.toValue&&(v=o(u(t.toValue)))),O.forEach((i,a)=>{t[i]=Object.assign({},S),t[i].current=p[a],t[i].toValue=v?v[a]:void 0,t[i].onStart(t[i],f[a],n,l?l[i]:void 0),A.push(t[i].current)}),t.unroundedCurrent=A,s(A),t.current=c(_(A))},E=(t,i)=>{const n=[];let a=!0;return t.current=t.nonscaledCurrent,O.forEach(o=>{const u=t[o].onFrame(t[o],i);a=a&&u,n.push(t[o].current)}),s(n),t.nonscaledCurrent=n,t.current=c(_(n)),a},T=(t,i,n,a)=>{const o=t.toValue;t.startMatrices=l(i),t.stopMatrices=l(o),t[0]=Object.assign({},S),t[0].current=0,t[0].toValue=100,t[0].onStart(t[0],0,n,a?a[0]:void 0),t.current=i},w=(t,i)=>{let n=!0;const a=t[0].onFrame(t[0],i);n=n&&a;const o=t[0].current/100,u=[];['translationMatrix','scaleMatrix','skewMatrix'].forEach((i,n)=>u.push(f(o,t.startMatrices[i],t.stopMatrices[i])));const[s,c,_]=u,l=[];['x','y','z'].forEach((i,n)=>{const a=p(o,t.startMatrices['r'+i],t.stopMatrices['r'+i]);l.push(v(a,i))});const[M,x,h]=l,S=A(M,A(x,h)),y=R(A(A(c,A(_,S)),s));return t.current=y,n},V=(t,i,n,a)=>{i.forEach((i,o)=>{t[o]=Object.assign({},S),t[o].current=i,t[o].toValue=t.toValue[o],t[o].onStart(t[o],i,n,a?a[o]:void 0)}),t.current=[...i]},N=(t,i)=>{let n=!0;return t.current.forEach((a,o)=>{const u=t[o].onFrame(t[o],i);n=n&&u,t.current[o]=t[o].current}),n},F=(t,i,n,a)=>{for(const o in i)t[o]=Object.assign({},S),t[o].onStart=t.onStart,t[o].current=i[o],t[o].toValue=t.toValue[o],t[o].onStart(t[o],i[o],n,a?a[o]:void 0);t.current=i},U=(t,i)=>{let n=!0;const a={};for(const o in t.current){const u=t[o].onFrame(t[o],i);n=n&&u,a[o]=t[o].current}return t.current=a,n};t.onStart=(t,n,o,u)=>(void 0===t.reduceMotion&&(t.reduceMotion=i()),t.reduceMotion?(void 0!==t.toValue?t.current=t.toValue:x(t,n,o,u),t.startTime=0,void(t.onFrame=()=>!0)):a(n)?(b(t,n,o,u),void(t.onFrame=E)):M(n)?(T(t,n,o,u),void(t.onFrame=w)):Array.isArray(n)?(V(t,n,o,u),void(t.onFrame=N)):'string'==typeof n?(y(t,n,o,u),void(t.onFrame=k)):'object'==typeof n&&null!==n?(F(t,n,o,u),void(t.onFrame=U)):void x(t,n,o,u))};return x.__closure={getReduceMotionFromConfig:i,recognizePrefixSuffix:n,isColor:a,toLinearSpace:o,convertToRGBA:u,clampRGBA:s,rgbaArrayToRGBAColor:c,toGammaSpace:_,decomposeMatrixIntoMatricesAndAngles:l,applyProgressToMatrix:f,applyProgressToNumber:p,getRotationMatrix:v,multiplyMatrices:A,flatten:R,isAffineMatrixFlat:M},x.__workletHash=6884630105099,x.__initData=t,x})({_worklet_6884630105099_init_data:{code:"function decorateAnimation_reactNativeReanimated_utilJs8(animation){const{getReduceMotionFromConfig,recognizePrefixSuffix,isColor,toLinearSpace,convertToRGBA,clampRGBA,rgbaArrayToRGBAColor,toGammaSpace,decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix,applyProgressToNumber,getRotationMatrix,multiplyMatrices,flatten,isAffineMatrixFlat}=this.__closure;const baseOnStart=animation.onStart;const baseOnFrame=animation.onFrame;if(animation.isHigherOrder){animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}return baseOnStart(animation,value,timestamp,previousAnimation);};return;}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){const{prefix:paPrefix,suffix:paSuffix,strippedValue:paStrippedValue}=recognizePrefixSuffix(previousAnimation.current);previousAnimation.current=paStrippedValue;previousAnimation.__prefix=paPrefix;previousAnimation.__suffix=paSuffix;}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=['R','G','B','A'];const colorOnStart=function(animation,value,timestamp,previousAnimation){let RGBAValue;let RGBACurrent;let RGBAToValue;const res=[];if(isColor(value)){RGBACurrent=toLinearSpace(convertToRGBA(animation.current));RGBAValue=toLinearSpace(convertToRGBA(value));if(animation.toValue){RGBAToValue=toLinearSpace(convertToRGBA(animation.toValue));}}tab.forEach(function(i,index){animation[i]=Object.assign({},animationCopy);animation[i].current=RGBACurrent[index];animation[i].toValue=RGBAToValue?RGBAToValue[index]:undefined;animation[i].onStart(animation[i],RGBAValue[index],timestamp,previousAnimation?previousAnimation[i]:undefined);res.push(animation[i].current);});animation.unroundedCurrent=res;clampRGBA(res);animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));};const colorOnFrame=function(animation,timestamp){const res=[];let finished=true;animation.current=animation.nonscaledCurrent;tab.forEach(function(i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;res.push(animation[i].current);});clampRGBA(res);animation.nonscaledCurrent=res;animation.current=rgbaArrayToRGBAColor(toGammaSpace(res));return finished;};const transformationMatrixOnStart=function(animation,value,timestamp,previousAnimation){const toValue=animation.toValue;animation.startMatrices=decomposeMatrixIntoMatricesAndAngles(value);animation.stopMatrices=decomposeMatrixIntoMatricesAndAngles(toValue);animation[0]=Object.assign({},animationCopy);animation[0].current=0;animation[0].toValue=100;animation[0].onStart(animation[0],0,timestamp,previousAnimation?previousAnimation[0]:undefined);animation.current=value;};const transformationMatrixOnFrame=function(animation,timestamp){let finished=true;const result=animation[0].onFrame(animation[0],timestamp);finished=finished&&result;const progress=animation[0].current/100;const transforms=['translationMatrix','scaleMatrix','skewMatrix'];const mappedTransforms=[];transforms.forEach(function(key,_){return mappedTransforms.push(applyProgressToMatrix(progress,animation.startMatrices[key],animation.stopMatrices[key]));});const[currentTranslation,currentScale,skewMatrix]=mappedTransforms;const rotations=['x','y','z'];const mappedRotations=[];rotations.forEach(function(key,_){const angle=applyProgressToNumber(progress,animation.startMatrices['r'+key],animation.stopMatrices['r'+key]);mappedRotations.push(getRotationMatrix(angle,key));});const[rotationMatrixX,rotationMatrixY,rotationMatrixZ]=mappedRotations;const rotationMatrix=multiplyMatrices(rotationMatrixX,multiplyMatrices(rotationMatrixY,rotationMatrixZ));const updated=flatten(multiplyMatrices(multiplyMatrices(currentScale,multiplyMatrices(skewMatrix,rotationMatrix)),currentTranslation));animation.current=updated;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(_,i){const result=animation[i].onFrame(animation[i],timestamp);finished=finished&&result;animation.current[i]=animation[i].current;});return finished;};const objectOnStart=function(animation,value,timestamp,previousAnimation){for(const key in value){animation[key]=Object.assign({},animationCopy);animation[key].onStart=animation.onStart;animation[key].current=value[key];animation[key].toValue=animation.toValue[key];animation[key].onStart(animation[key],value[key],timestamp,previousAnimation?previousAnimation[key]:undefined);}animation.current=value;};const objectOnFrame=function(animation,timestamp){let finished=true;const newObject={};for(const key in animation.current){const result=animation[key].onFrame(animation[key],timestamp);finished=finished&&result;newObject[key]=animation[key].current;}animation.current=newObject;return finished;};animation.onStart=function(animation,value,timestamp,previousAnimation){if(animation.reduceMotion===undefined){animation.reduceMotion=getReduceMotionFromConfig();}if(animation.reduceMotion){if(animation.toValue!==undefined){animation.current=animation.toValue;}else{baseOnStart(animation,value,timestamp,previousAnimation);}animation.startTime=0;animation.onFrame=function(){return true;};return;}if(isColor(value)){colorOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=colorOnFrame;return;}else if(isAffineMatrixFlat(value)){transformationMatrixOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=transformationMatrixOnFrame;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;}else if(typeof value==='object'&&value!==null){objectOnStart(animation,value,timestamp,previousAnimation);animation.onFrame=objectOnFrame;return;}baseOnStart(animation,value,timestamp,previousAnimation);};}"},getReduceMotionFromConfig:v,recognizePrefixSuffix:f,isColor:i.isColor,toLinearSpace:i.toLinearSpace,convertToRGBA:i.convertToRGBA,clampRGBA:i.clampRGBA,rgbaArrayToRGBAColor:i.rgbaArrayToRGBAColor,toGammaSpace:i.toGammaSpace,decomposeMatrixIntoMatricesAndAngles:u.decomposeMatrixIntoMatricesAndAngles,applyProgressToMatrix:R,applyProgressToNumber:M,getRotationMatrix:u.getRotationMatrix,multiplyMatrices:u.multiplyMatrices,flatten:u.flatten,isAffineMatrixFlat:u.isAffineMatrixFlat}),h=(function({_worklet_2430273465728_init_data:t,RuntimeKind:i,IN_STYLE_UPDATER:n,_worklet_14703534120414_init_data:a,decorateAnimation:o,SHOULD_BE_USE_WEB:u}){const s=function(t,s){if(globalThis.__RUNTIME_KIND===i.ReactNative&&n.current)return t;const c=(function({_worklet_14703534120414_init_data:t,factory:i,decorateAnimation:n}){const a=function(){const t=i();return n(t),t};return a.__closure={factory:i,decorateAnimation:n},a.__workletHash=0xd5f6eed9dde,a.__initData=t,a})({_worklet_14703534120414_init_data:a,factory:s,decorateAnimation:o});return globalThis.__RUNTIME_KIND!==i.ReactNative||u?c():(c.__isAnimationDefinition=!0,c)};return s.__closure={RuntimeKind:i,IN_STYLE_UPDATER:n,_worklet_14703534120414_init_data:a,decorateAnimation:o,SHOULD_BE_USE_WEB:u},s.__workletHash=2430273465728,s.__initData=t,s})({_worklet_2430273465728_init_data:{code:"function defineAnimation_reactNativeReanimated_utilJs10(starting,factory){const{RuntimeKind,IN_STYLE_UPDATER,_worklet_14703534120414_init_data,decorateAnimation,SHOULD_BE_USE_WEB}=this.__closure;if(globalThis.__RUNTIME_KIND===RuntimeKind.ReactNative&&IN_STYLE_UPDATER.current){return starting;}const create=function defineAnimation_reactNativeReanimated_utilJs10({_worklet_14703534120414_init_data:_worklet_14703534120414_init_data,factory:factory,decorateAnimation:decorateAnimation}){const reactNativeReanimated_utilJs9=function(){const animation=factory();decorateAnimation(animation);return animation;};reactNativeReanimated_utilJs9.__closure={factory:factory,decorateAnimation:decorateAnimation};reactNativeReanimated_utilJs9.__workletHash=14703534120414;reactNativeReanimated_utilJs9.__initData=_worklet_14703534120414_init_data;return reactNativeReanimated_utilJs9;}({_worklet_14703534120414_init_data:_worklet_14703534120414_init_data,factory:factory,decorateAnimation:decorateAnimation});if(globalThis.__RUNTIME_KIND!==RuntimeKind.ReactNative||SHOULD_BE_USE_WEB){return create();}create.__isAnimationDefinition=true;return create;}"},RuntimeKind:t.RuntimeKind,IN_STYLE_UPDATER:s,_worklet_14703534120414_init_data:{code:"function reactNativeReanimated_utilJs9(){const{factory,decorateAnimation}=this.__closure;const animation=factory();decorateAnimation(animation);return animation;}"},decorateAnimation:x,SHOULD_BE_USE_WEB:n.SHOULD_BE_USE_WEB}),S=(function({_worklet_9545730948209_init_data:t,RuntimeKind:i,scheduleOnUI:n,_worklet_26771732208_init_data:a}){const o=function(t){globalThis.__RUNTIME_KIND!==i.ReactNative?t.value=t.value:n((function({_worklet_26771732208_init_data:t,sharedValue:i}){const n=function(){i.value=i.value};return n.__closure={sharedValue:i},n.__workletHash=26771732208,n.__initData=t,n})({_worklet_26771732208_init_data:a,sharedValue:t}))};return o.__closure={RuntimeKind:i,scheduleOnUI:n,_worklet_26771732208_init_data:a},o.__workletHash=9545730948209,o.__initData=t,o})({_worklet_9545730948209_init_data:{code:"function cancelAnimationNative_reactNativeReanimated_utilJs12(sharedValue){const{RuntimeKind,scheduleOnUI,_worklet_26771732208_init_data}=this.__closure;if(globalThis.__RUNTIME_KIND!==RuntimeKind.ReactNative){sharedValue.value=sharedValue.value;}else{scheduleOnUI(function cancelAnimationNative_reactNativeReanimated_utilJs12({_worklet_26771732208_init_data:_worklet_26771732208_init_data,sharedValue:sharedValue}){const reactNativeReanimated_utilJs11=function(){sharedValue.value=sharedValue.value;};reactNativeReanimated_utilJs11.__closure={sharedValue:sharedValue};reactNativeReanimated_utilJs11.__workletHash=26771732208;reactNativeReanimated_utilJs11.__initData=_worklet_26771732208_init_data;return reactNativeReanimated_utilJs11;}({_worklet_26771732208_init_data:_worklet_26771732208_init_data,sharedValue:sharedValue}));}}"},RuntimeKind:t.RuntimeKind,scheduleOnUI:t.scheduleOnUI,_worklet_26771732208_init_data:{code:"function reactNativeReanimated_utilJs11(){const{sharedValue}=this.__closure;sharedValue.value=sharedValue.value;}"}});const y=n.SHOULD_BE_USE_WEB?function(t){t.value=t.value}:S},1147,[1013,1041,1032,1110,1148,1152]);
@@ -1284,7 +1284,7 @@ __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{v
1284
1284
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withSpring",{enumerable:!0,get:function(){return l}});var n=r(d[0]),t=r(d[1]),o=r(d[2]);const l=(function({_worklet_10725281669831_init_data:n,defineAnimation:t,_worklet_12888193502494_init_data:o,GentleSpringConfig:l,GentleSpringConfigWithDuration:s,safeMergeConfigs:u,checkIfConfigIsValid:c,underDampedSpringCalculations:p,criticallyDampedSpringCalculations:f,isAnimationTerminatingCalculation:v,calculateNewStiffnessToMatchDuration:C,initialCalculations:A,scaleZetaToMatchClamps:T,getEnergy:y,getReduceMotionForAnimation:_}){const S=function(n,S,h){return t(n,(function({_worklet_12888193502494_init_data:n,GentleSpringConfig:t,GentleSpringConfigWithDuration:o,safeMergeConfigs:l,userConfig:s,checkIfConfigIsValid:u,underDampedSpringCalculations:c,criticallyDampedSpringCalculations:p,isAnimationTerminatingCalculation:f,calculateNewStiffnessToMatchDuration:v,initialCalculations:C,scaleZetaToMatchClamps:A,getEnergy:T,toValue:y,callback:_,getReduceMotionForAnimation:S}){const h=function(){const n={...t,...o,overshootClamping:!1,energyThreshold:6e-9,velocity:0,reduceMotion:void 0,clamp:void 0},h=l({...n,useDuration:!(!s?.duration&&!s?.dampingRatio),skipAnimation:!1},s);function M(n,t){return n?.lastTimestamp&&n?.startTimestamp&&n?.toValue===t.toValue&&n?.duration===t.duration&&n?.dampingRatio===t.dampingRatio}return h.skipAnimation=!u(h),0===h.duration&&(h.skipAnimation=!0),{onFrame:function(n,t){const{toValue:o,current:l}=n;if(h.skipAnimation)return n.current=o,n.lastTimestamp=0,!0;const{lastTimestamp:s,velocity:u}=n,v=Math.min(Math.max(t-s,0),64);n.lastTimestamp=t;const C=v/1e3,A=u,T=l-o,{zeta:y,omega0:_,omega1:S}=n,{position:M,velocity:D}=y<1?c(n,{zeta:y,v0:A,x0:T,omega0:_,omega1:S,t:C}):p(n,{v0:A,x0:T,omega0:_,t:C});return n.current=M,n.velocity=D,!!f(n,h)&&(n.velocity=0,n.current=o,n.lastTimestamp=0,!0)},onStart:function(n,t,o,l){n.current=t;let s=h.stiffness;const u=M(l,n),c=h.duration,p=u?l?.startValue:t-n.toValue;n.startValue=p,n.velocity=l?(u?l?.velocity:l?.velocity+h.velocity)||0:h.velocity||0;const f=Number(n.toValue);if((f>t&&n.velocity<0||f<t&&n.velocity>0)&&(n.velocity=0),u)n.zeta=l?.zeta||0,n.omega0=l?.omega0||0,n.omega1=l?.omega1||0;else{if(h.useDuration){const t=u?c-((l?.lastTimestamp||0)-(l?.startTimestamp||0)):c;h.duration=t,s=v(p,h,n.velocity),h.stiffness=s}const{zeta:t,omega0:o,omega1:f}=C(s,h);n.zeta=t,n.omega0=o,n.omega1=f,void 0!==h.clamp&&(n.zeta=A(n,h.clamp))}const y=T(p,h.velocity,h.stiffness,h.mass);n.initialEnergy=y,n.lastTimestamp=l?.lastTimestamp||o,n.startTimestamp=u&&l?.startTimestamp||o},toValue:y,velocity:h.velocity||0,current:y,startValue:0,callback:_,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:S(h.reduceMotion)}};return h.__closure={GentleSpringConfig:t,GentleSpringConfigWithDuration:o,safeMergeConfigs:l,userConfig:s,checkIfConfigIsValid:u,underDampedSpringCalculations:c,criticallyDampedSpringCalculations:p,isAnimationTerminatingCalculation:f,calculateNewStiffnessToMatchDuration:v,initialCalculations:C,scaleZetaToMatchClamps:A,getEnergy:T,toValue:y,callback:_,getReduceMotionForAnimation:S},h.__workletHash=0xbb8c4320d1e,h.__initData=n,h})({_worklet_12888193502494_init_data:o,GentleSpringConfig:l,GentleSpringConfigWithDuration:s,safeMergeConfigs:u,userConfig:S,checkIfConfigIsValid:c,underDampedSpringCalculations:p,criticallyDampedSpringCalculations:f,isAnimationTerminatingCalculation:v,calculateNewStiffnessToMatchDuration:C,initialCalculations:A,scaleZetaToMatchClamps:T,getEnergy:y,toValue:n,callback:h,getReduceMotionForAnimation:_}))};return S.__closure={defineAnimation:t,_worklet_12888193502494_init_data:o,GentleSpringConfig:l,GentleSpringConfigWithDuration:s,safeMergeConfigs:u,checkIfConfigIsValid:c,underDampedSpringCalculations:p,criticallyDampedSpringCalculations:f,isAnimationTerminatingCalculation:v,calculateNewStiffnessToMatchDuration:C,initialCalculations:A,scaleZetaToMatchClamps:T,getEnergy:y,getReduceMotionForAnimation:_},S.__workletHash=0x9c12c9aa2c7,S.__initData=n,S})({_worklet_10725281669831_init_data:{code:"function reactNativeReanimated_springJs2(toValue,userConfig,callback){const{defineAnimation,_worklet_12888193502494_init_data,GentleSpringConfig,GentleSpringConfigWithDuration,safeMergeConfigs,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration,initialCalculations,scaleZetaToMatchClamps,getEnergy,getReduceMotionForAnimation}=this.__closure;return defineAnimation(toValue,function reactNativeReanimated_springJs1Factory({_worklet_12888193502494_init_data:_worklet_12888193502494_init_data,GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_springJs1=function(){const defaultConfig={...GentleSpringConfig,...GentleSpringConfigWithDuration,overshootClamping:false,energyThreshold:6e-9,velocity:0,reduceMotion:undefined,clamp:undefined};const config=safeMergeConfigs({...defaultConfig,useDuration:!!(userConfig!==null&&userConfig!==void 0&&userConfig.duration||userConfig!==null&&userConfig!==void 0&&userConfig.dampingRatio),skipAnimation:false},userConfig);config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,current:current}=animation;if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=velocity;const x0=current-toValue;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;if(isAnimationTerminatingCalculation(animation,config)){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;let stiffness=config.stiffness;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:value-animation.toValue;animation.startValue=x0;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}const toValueNum=Number(animation.toValue);if(toValueNum>value&&animation.velocity<0||toValueNum<value&&animation.velocity>0){animation.velocity=0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;stiffness=calculateNewStiffnessToMatchDuration(x0,config,animation.velocity);config.stiffness=stiffness;}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(stiffness,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}const initialEnergy=getEnergy(x0,config.velocity,config.stiffness,config.mass);animation.initialEnergy=initialEnergy;animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};};reactNativeReanimated_springJs1.__closure={GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_springJs1.__workletHash=12888193502494;reactNativeReanimated_springJs1.__initData=_worklet_12888193502494_init_data;return reactNativeReanimated_springJs1;}({_worklet_12888193502494_init_data:_worklet_12888193502494_init_data,GentleSpringConfig:GentleSpringConfig,GentleSpringConfigWithDuration:GentleSpringConfigWithDuration,safeMergeConfigs:safeMergeConfigs,userConfig:userConfig,checkIfConfigIsValid:checkIfConfigIsValid,underDampedSpringCalculations:underDampedSpringCalculations,criticallyDampedSpringCalculations:criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:calculateNewStiffnessToMatchDuration,initialCalculations:initialCalculations,scaleZetaToMatchClamps:scaleZetaToMatchClamps,getEnergy:getEnergy,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}));}"},defineAnimation:n.defineAnimation,_worklet_12888193502494_init_data:{code:"function reactNativeReanimated_springJs1(){const{GentleSpringConfig,GentleSpringConfigWithDuration,safeMergeConfigs,userConfig,checkIfConfigIsValid,underDampedSpringCalculations,criticallyDampedSpringCalculations,isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration,initialCalculations,scaleZetaToMatchClamps,getEnergy,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig,_userConfig2;const defaultConfig={...GentleSpringConfig,...GentleSpringConfigWithDuration,overshootClamping:false,energyThreshold:6e-9,velocity:0,reduceMotion:undefined,clamp:undefined};const config=safeMergeConfigs({...defaultConfig,useDuration:!!((_userConfig=userConfig)!==null&&_userConfig!==void 0&&_userConfig.duration||(_userConfig2=userConfig)!==null&&_userConfig2!==void 0&&_userConfig2.dampingRatio),skipAnimation:false},userConfig);config.skipAnimation=!checkIfConfigIsValid(config);if(config.duration===0){config.skipAnimation=true;}function springOnFrame(animation,now){const{toValue:toValue,current:current}=animation;if(config.skipAnimation){animation.current=toValue;animation.lastTimestamp=0;return true;}const{lastTimestamp:lastTimestamp,velocity:velocity}=animation;const deltaTime=Math.min(Math.max(now-lastTimestamp,0),64);animation.lastTimestamp=now;const t=deltaTime/1000;const v0=velocity;const x0=current-toValue;const{zeta:zeta,omega0:omega0,omega1:omega1}=animation;const{position:newPosition,velocity:newVelocity}=zeta<1?underDampedSpringCalculations(animation,{zeta:zeta,v0:v0,x0:x0,omega0:omega0,omega1:omega1,t:t}):criticallyDampedSpringCalculations(animation,{v0:v0,x0:x0,omega0:omega0,t:t});animation.current=newPosition;animation.velocity=newVelocity;if(isAnimationTerminatingCalculation(animation,config)){animation.velocity=0;animation.current=toValue;animation.lastTimestamp=0;return true;}return false;}function isTriggeredTwice(previousAnimation,animation){return(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.toValue)===animation.toValue&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.duration)===animation.duration&&(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.dampingRatio)===animation.dampingRatio;}function onStart(animation,value,now,previousAnimation){animation.current=value;let stiffness=config.stiffness;const triggeredTwice=isTriggeredTwice(previousAnimation,animation);const duration=config.duration;const x0=triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startValue:value-animation.toValue;animation.startValue=x0;if(previousAnimation){animation.velocity=(triggeredTwice?previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity:(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.velocity)+config.velocity)||0;}else{animation.velocity=config.velocity||0;}const toValueNum=Number(animation.toValue);if(toValueNum>value&&animation.velocity<0||toValueNum<value&&animation.velocity>0){animation.velocity=0;}if(triggeredTwice){animation.zeta=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.zeta)||0;animation.omega0=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega0)||0;animation.omega1=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.omega1)||0;}else{if(config.useDuration){const actualDuration=triggeredTwice?duration-(((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||0)-((previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||0)):duration;config.duration=actualDuration;stiffness=calculateNewStiffnessToMatchDuration(x0,config,animation.velocity);config.stiffness=stiffness;}const{zeta:zeta,omega0:omega0,omega1:omega1}=initialCalculations(stiffness,config);animation.zeta=zeta;animation.omega0=omega0;animation.omega1=omega1;if(config.clamp!==undefined){animation.zeta=scaleZetaToMatchClamps(animation,config.clamp);}}const initialEnergy=getEnergy(x0,config.velocity,config.stiffness,config.mass);animation.initialEnergy=initialEnergy;animation.lastTimestamp=(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.lastTimestamp)||now;animation.startTimestamp=triggeredTwice?(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.startTimestamp)||now:now;}return{onFrame:springOnFrame,onStart:onStart,toValue:toValue,velocity:config.velocity||0,current:toValue,startValue:0,callback:callback,lastTimestamp:0,startTimestamp:0,zeta:0,omega0:0,omega1:0,initialEnergy:0,reduceMotion:getReduceMotionForAnimation(config.reduceMotion)};}"},GentleSpringConfig:t.GentleSpringConfig,GentleSpringConfigWithDuration:t.GentleSpringConfigWithDuration,safeMergeConfigs:o.safeMergeConfigs,checkIfConfigIsValid:o.checkIfConfigIsValid,underDampedSpringCalculations:o.underDampedSpringCalculations,criticallyDampedSpringCalculations:o.criticallyDampedSpringCalculations,isAnimationTerminatingCalculation:o.isAnimationTerminatingCalculation,calculateNewStiffnessToMatchDuration:o.calculateNewStiffnessToMatchDuration,initialCalculations:o.initialCalculations,scaleZetaToMatchClamps:o.scaleZetaToMatchClamps,getEnergy:o.getEnergy,getReduceMotionForAnimation:n.getReduceMotionForAnimation})},1162,[1147,1163,1164]);
1285
1285
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"Reanimated3DefaultSpringConfig",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"Reanimated3DefaultSpringConfigWithDuration",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"WigglySpringConfig",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"WigglySpringConfigWithDuration",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"GentleSpringConfig",{enumerable:!0,get:function(){return f}}),Object.defineProperty(e,"GentleSpringConfigWithDuration",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"SnappySpringConfig",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"SnappySpringConfigWithDuration",{enumerable:!0,get:function(){return c}});const n={damping:10,mass:1,stiffness:100},t={duration:1333,dampingRatio:.5},o={damping:90,mass:4,stiffness:900},u={duration:550,dampingRatio:.75},f={damping:120,mass:4,stiffness:900},p={duration:550,dampingRatio:1},s={damping:110,mass:4,stiffness:900,overshootClamping:!0},c={duration:550,dampingRatio:.92,overshootClamping:!0}},1163,[]);
1286
1286
  __d(function(g,r,i,a,_m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"checkIfConfigIsValid",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"safeMergeConfigs",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"initialCalculations",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"scaleZetaToMatchClamps",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"getEnergy",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"calculateNewStiffnessToMatchDuration",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"criticallyDampedSpringCalculations",{enumerable:!0,get:function(){return m}}),Object.defineProperty(e,"underDampedSpringCalculations",{enumerable:!0,get:function(){return _}}),Object.defineProperty(e,"isAnimationTerminatingCalculation",{enumerable:!0,get:function(){return f}});const t=(function({_worklet_221282826167_init_data:t,logger:n}){const o=function(t){let o='';return['stiffness','damping','dampingRatio','mass','energyThreshold'].forEach(n=>{const s=t[n];s<=0&&(o+=`, ${n} must be grater than zero but got ${s}`)}),t.duration<0&&(o+=`, duration can't be negative, got ${t.duration}`),t.clamp?.min&&t.clamp?.max&&t.clamp.min>t.clamp.max&&(o+=`, clamp.min should be lower than clamp.max, got clamp: {min: ${t.clamp.min}, max: ${t.clamp.max}} `),''!==o&&n.warn('Invalid spring config'+o),''===o};return o.__closure={logger:n},o.__workletHash=221282826167,o.__initData=t,o})({_worklet_221282826167_init_data:{code:"function checkIfConfigIsValid_reactNativeReanimated_springUtilsJs1(config){const{logger}=this.__closure;var _config$clamp,_config$clamp2;let errorMessage='';['stiffness','damping','dampingRatio','mass','energyThreshold'].forEach(function(prop){const value=config[prop];if(value<=0){errorMessage+=\", \"+prop+\" must be grater than zero but got \"+value;}});if(config.duration<0){errorMessage+=\", duration can't be negative, got \"+config.duration;}if((_config$clamp=config.clamp)!==null&&_config$clamp!==void 0&&_config$clamp.min&&(_config$clamp2=config.clamp)!==null&&_config$clamp2!==void 0&&_config$clamp2.max&&config.clamp.min>config.clamp.max){errorMessage+=\", clamp.min should be lower than clamp.max, got clamp: {min: \"+config.clamp.min+\", max: \"+config.clamp.max+\"} \";}if(errorMessage!==''){logger.warn('Invalid spring config'+errorMessage);}return errorMessage==='';}"},logger:r(d[0]).logger}),n=(function({_worklet_13079180228228_init_data:t}){const n=function(t,n){if(!n)return t;const o=Object.fromEntries(Object.entries(n).filter(([,t])=>void 0!==t));return{...t,...o}};return n.__closure={},n.__workletHash=0xbe53be43684,n.__initData=t,n})({_worklet_13079180228228_init_data:{code:"function safeMergeConfigs_reactNativeReanimated_springUtilsJs2(defaults,userConfig){if(!userConfig){return defaults;}const filtered=Object.fromEntries(Object.entries(userConfig).filter(function([,v]){return v!==undefined;}));return{...defaults,...filtered};}"}}),o=(function({_worklet_12836269530028_init_data:t}){const n=function({min:t,max:n,func:o,precision:s,maxIterations:c=20}){const l=o(n)>=o(t)?1:-1;let u=c,m=(n+t)/2;for(;Math.abs(o(m))>s&&u>0;)u-=1,o(m)*l<0?t=m:n=m,m=(t+n)/2;return m};return n.__closure={},n.__workletHash=0xbacad491bac,n.__initData=t,n})({_worklet_12836269530028_init_data:{code:"function bisectRoot_reactNativeReanimated_springUtilsJs3({min:min,max:max,func:func,precision:precision,maxIterations=20}){const direction=func(max)>=func(min)?1:-1;let idx=maxIterations;let current=(max+min)/2;while(Math.abs(func(current))>precision&&idx>0){idx-=1;if(func(current)*direction<0){min=current;}else{max=current;}current=(min+max)/2;}return current;}"}}),s=(function({_worklet_5803807490395_init_data:t}){const n=function(t=0,n){if(n.skipAnimation)return{zeta:0,omega0:0,omega1:0};if(n.useDuration){const{mass:o,dampingRatio:s}=n,c=Math.sqrt(t/o);return{zeta:s,omega0:c,omega1:s<1?c*Math.sqrt(1-s**2):0}}{const{damping:t,mass:o,stiffness:s}=n,c=t/(2*Math.sqrt(s*o)),l=Math.sqrt(s/o);return{zeta:c,omega0:l,omega1:c<1?l*Math.sqrt(1-c**2):0}}};return n.__closure={},n.__workletHash=5803807490395,n.__initData=t,n})({_worklet_5803807490395_init_data:{code:"function initialCalculations_reactNativeReanimated_springUtilsJs4(stiffness=0,config){if(config.skipAnimation){return{zeta:0,omega0:0,omega1:0};}if(config.useDuration){const{mass:m,dampingRatio:zeta}=config;const omega0=Math.sqrt(stiffness/m);const omega1=zeta<1?omega0*Math.sqrt(1-zeta**2):0;return{zeta:zeta,omega0:omega0,omega1:omega1};}else{const{damping:c,mass:m,stiffness:k}=config;const zeta=c/(2*Math.sqrt(k*m));const omega0=Math.sqrt(k/m);const omega1=zeta<1?omega0*Math.sqrt(1-zeta**2):0;return{zeta:zeta,omega0:omega0,omega1:omega1};}}"}}),c=(function({_worklet_7321811696421_init_data:t}){const n=function(t,n){const{zeta:o,toValue:s,startValue:c}=t,l=Number(s);if(0===c)return o;const[u,m]=c<=0?[n.min,n.max]:[n.max,n.min],_=void 0!==m?Math.abs((m-l)/c):void 0,f=void 0!==u?Math.abs((u-l)/c):void 0,p=[void 0!==_?Math.abs(Math.log(_)/Math.PI):void 0,void 0!==f?Math.abs(Math.log(f)/(2*Math.PI)):void 0].filter(t=>void 0!==t);return Math.max(...p,o)};return n.__closure={},n.__workletHash=7321811696421,n.__initData=t,n})({_worklet_7321811696421_init_data:{code:"function scaleZetaToMatchClamps_reactNativeReanimated_springUtilsJs5(animation,clamp){const{zeta:zeta,toValue:toValue,startValue:startValue}=animation;const toValueNum=Number(toValue);if(startValue===0){return zeta;}const[firstBound,secondBound]=startValue<=0?[clamp.min,clamp.max]:[clamp.max,clamp.min];const relativeExtremum1=secondBound!==undefined?Math.abs((secondBound-toValueNum)/startValue):undefined;const relativeExtremum2=firstBound!==undefined?Math.abs((firstBound-toValueNum)/startValue):undefined;const newZeta1=relativeExtremum1!==undefined?Math.abs(Math.log(relativeExtremum1)/Math.PI):undefined;const newZeta2=relativeExtremum2!==undefined?Math.abs(Math.log(relativeExtremum2)/(2*Math.PI)):undefined;const zetaSatisfyingClamp=[newZeta1,newZeta2].filter(function(x){return x!==undefined;});return Math.max(...zetaSatisfyingClamp,zeta);}"}}),l=(function({_worklet_17220470263105_init_data:t}){const n=function(t,n,o,s){return.5*o*t**2+.5*s*n**2};return n.__closure={},n.__workletHash=0xfa974034d41,n.__initData=t,n})({_worklet_17220470263105_init_data:{code:"function getEnergy_reactNativeReanimated_springUtilsJs6(displacement,velocity,stiffness,mass){const potentialEnergy=0.5*stiffness*displacement**2;const kineticEnergy=0.5*mass*velocity**2;return potentialEnergy+kineticEnergy;}"}}),u=(function({_worklet_4150803222832_init_data:t,_worklet_11588433980840_init_data:n,getEnergy:o,bisectRoot:s}){const c=function(t,c,l){if(c.skipAnimation)return 0;const{dampingRatio:u,energyThreshold:m,mass:_,duration:f}=c,p=(function({_worklet_11588433980840_init_data:t,targetDuration:n,m:o,zeta:s,x0:c,v0:l,getEnergy:u,threshold:m}){const _=function(t){const _=1.5*n/1e3,f=Math.sqrt(t/o)*s,p=(c+(l+c*f)*_)*Math.exp(-f*_),h=(c+(l+c*f)*_)*Math.exp(-f*_)*-f+(l+c*f)*Math.exp(-f*_),x=u(c,l,t,o);return u(p,h,t,o)/x-m};return _.__closure={targetDuration:n,m:o,zeta:s,x0:c,v0:l,getEnergy:u,threshold:m},_.__workletHash=0xa8a247dada8,_.__initData=t,_})({_worklet_11588433980840_init_data:n,targetDuration:f,m:_,zeta:u,x0:t,v0:l,getEnergy:o,threshold:m}),h=.001*c.energyThreshold;return s({min:Number.EPSILON,max:8e3,func:p,precision:h,maxIterations:100})};return c.__closure={_worklet_11588433980840_init_data:n,getEnergy:o,bisectRoot:s},c.__workletHash=4150803222832,c.__initData=t,c})({_worklet_4150803222832_init_data:{code:"function calculateNewStiffnessToMatchDuration_reactNativeReanimated_springUtilsJs8(x0,config,v0){const{_worklet_11588433980840_init_data,getEnergy,bisectRoot}=this.__closure;if(config.skipAnimation){return 0;}const{dampingRatio:zeta,energyThreshold:threshold,mass:m,duration:targetDuration}=config;const energyDiffForStiffness=function calculateNewStiffnessToMatchDuration_reactNativeReanimated_springUtilsJs8({_worklet_11588433980840_init_data:_worklet_11588433980840_init_data,targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold}){const reactNativeReanimated_springUtilsJs7=function(stiffness){const perceptualCoefficient=1.5;const MILLISECONDS_IN_SECOND=1000;const settlingDuration=targetDuration*perceptualCoefficient/MILLISECONDS_IN_SECOND;const omega0=Math.sqrt(stiffness/m)*zeta;const xtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration);const vtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration)*-omega0+(v0+x0*omega0)*Math.exp(-omega0*settlingDuration);const e0=getEnergy(x0,v0,stiffness,m);const etk=getEnergy(xtk,vtk,stiffness,m);const energyFraction=etk/e0;return energyFraction-threshold;};reactNativeReanimated_springUtilsJs7.__closure={targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold};reactNativeReanimated_springUtilsJs7.__workletHash=11588433980840;reactNativeReanimated_springUtilsJs7.__initData=_worklet_11588433980840_init_data;return reactNativeReanimated_springUtilsJs7;}({_worklet_11588433980840_init_data:_worklet_11588433980840_init_data,targetDuration:targetDuration,m:m,zeta:zeta,x0:x0,v0:v0,getEnergy:getEnergy,threshold:threshold});const precision=config.energyThreshold*1e-3;return bisectRoot({min:Number.EPSILON,max:8e3,func:energyDiffForStiffness,precision:precision,maxIterations:100});}"},_worklet_11588433980840_init_data:{code:"function reactNativeReanimated_springUtilsJs7(stiffness){const{targetDuration,m,zeta,x0,v0,getEnergy,threshold}=this.__closure;const perceptualCoefficient=1.5;const MILLISECONDS_IN_SECOND=1000;const settlingDuration=targetDuration*perceptualCoefficient/MILLISECONDS_IN_SECOND;const omega0=Math.sqrt(stiffness/m)*zeta;const xtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration);const vtk=(x0+(v0+x0*omega0)*settlingDuration)*Math.exp(-omega0*settlingDuration)*-omega0+(v0+x0*omega0)*Math.exp(-omega0*settlingDuration);const e0=getEnergy(x0,v0,stiffness,m);const etk=getEnergy(xtk,vtk,stiffness,m);const energyFraction=etk/e0;return energyFraction-threshold;}"},getEnergy:l,bisectRoot:o}),m=(function({_worklet_813182177167_init_data:t}){const n=function(t,n){const{toValue:o}=t,{v0:s,x0:c,omega0:l,t:u}=n,m=Math.exp(-l*u);return{position:o+m*(c+(s+l*c)*u),velocity:m*-l*(c+(s+l*c)*u)+m*(s+l*c)}};return n.__closure={},n.__workletHash=813182177167,n.__initData=t,n})({_worklet_813182177167_init_data:{code:"function criticallyDampedSpringCalculations_reactNativeReanimated_springUtilsJs9(animation,precalculatedValues){const{toValue:toValue}=animation;const{v0:v0,x0:x0,omega0:omega0,t:t}=precalculatedValues;const criticallyDampedEnvelope=Math.exp(-omega0*t);const criticallyDampedPosition=toValue+criticallyDampedEnvelope*(x0+(v0+omega0*x0)*t);const criticallyDampedVelocity=criticallyDampedEnvelope*-omega0*(x0+(v0+omega0*x0)*t)+criticallyDampedEnvelope*(v0+omega0*x0);return{position:criticallyDampedPosition,velocity:criticallyDampedVelocity};}"}}),_=(function({_worklet_10005016466840_init_data:t}){const n=function(t,n){const{toValue:o}=t,{zeta:s,t:c,omega0:l,omega1:u,x0:m,v0:_}=n,f=Math.sin(u*c),p=Math.cos(u*c),h=Math.exp(-s*l*c),x=h*(f*((_+s*l*m)/u)+m*p);return{position:o+x,velocity:-s*l*x+h*(p*(_+s*l*m)-u*m*f)}};return n.__closure={},n.__workletHash=0x9197973d598,n.__initData=t,n})({_worklet_10005016466840_init_data:{code:"function underDampedSpringCalculations_reactNativeReanimated_springUtilsJs10(animation,precalculatedValues){const{toValue:toValue}=animation;const{zeta:zeta,t:t,omega0:omega0,omega1:omega1,x0:x0,v0:v0}=precalculatedValues;const sin1=Math.sin(omega1*t);const cos1=Math.cos(omega1*t);const underDampedEnvelope=Math.exp(-zeta*omega0*t);const underDampedFrag1=underDampedEnvelope*(sin1*((v0+zeta*omega0*x0)/omega1)+x0*cos1);const underDampedPosition=toValue+underDampedFrag1;const underDampedVelocity=-zeta*omega0*underDampedFrag1+underDampedEnvelope*(cos1*(v0+zeta*omega0*x0)-omega1*x0*sin1);return{position:underDampedPosition,velocity:underDampedVelocity};}"}}),f=(function({_worklet_4898375016678_init_data:t,getEnergy:n}){const o=function(t,o){const{toValue:s,velocity:c,startValue:l,current:u,initialEnergy:m}=t;if(o.overshootClamping){const t=l>=0?s:s+l,n=t+Math.abs(l);if(u<t||u>n)return!0}const _=n(s-u,c,o.stiffness,o.mass);return 0===m||_/m<=o.energyThreshold};return o.__closure={getEnergy:n},o.__workletHash=4898375016678,o.__initData=t,o})({_worklet_4898375016678_init_data:{code:"function isAnimationTerminatingCalculation_reactNativeReanimated_springUtilsJs11(animation,config){const{getEnergy}=this.__closure;const{toValue:toValue,velocity:velocity,startValue:startValue,current:current,initialEnergy:initialEnergy}=animation;if(config.overshootClamping){const leftBound=startValue>=0?toValue:toValue+startValue;const rightBound=leftBound+Math.abs(startValue);if(current<leftBound||current>rightBound){return true;}}const currentEnergy=getEnergy(toValue-current,velocity,config.stiffness,config.mass);return initialEnergy===0||currentEnergy/initialEnergy<=config.energyThreshold;}"},getEnergy:l})},1164,[1032]);
1287
- __d(function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]),i=r(d[2]),o=r(d[3]);const l=(function({_worklet_11004623829338_init_data:t}){const n=function(t,n){return(Array.isArray(n)?n:[n]).reduce((t,n)=>Array.isArray(t)&&'number'==typeof n||null!==t&&'object'==typeof t&&n in t?t[n]:void 0,t)};return n.__closure={},n.__workletHash=0xa0236b1b95a,n.__initData=t,n})({_worklet_11004623829338_init_data:{code:"function resolvePath_reactNativeReanimated_styleAnimationJs1(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current==='number'){return acc[current];}else if(acc!==null&&typeof acc==='object'&&current in acc){return acc[current];}return undefined;},obj);}"}}),s=(function({_worklet_15386539109961_init_data:t}){const n=function(t,n,i){const o=Array.isArray(n)?n:[n];let l=t;for(let t=0;t<o.length-1;t++)o[t]in l||('number'==typeof o[t+1]?l[o[t]]=[]:l[o[t]]={}),l=l[o[t]];l[o[o.length-1]]=i};return n.__closure={},n.__workletHash=0xdfe7532ae49,n.__initData=t,n})({_worklet_15386539109961_init_data:{code:"function setPath_reactNativeReanimated_styleAnimationJs2(obj,path,value){const keys=Array.isArray(path)?path:[path];let currObj=obj;for(let i=0;i<keys.length-1;i++){currObj=currObj;if(!(keys[i]in currObj)){if(typeof keys[i+1]==='number'){currObj[keys[i]]=[];}else{currObj[keys[i]]={};}}currObj=currObj[keys[i]];}currObj[keys[keys.length-1]]=value;}"}}),c=(function({_worklet_16967997374903_init_data:t,defineAnimation:n,_worklet_16813428542450_init_data:i,ColorProperties:o,setPath:l,processColor:s,resolvePath:c,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h}){const _=function(t){return n({},(function({_worklet_16813428542450_init_data:t,ColorProperties:n,setPath:i,processColor:o,styleAnimations:l,resolvePath:s,__DEV__:c,logger:u,isValidLayoutAnimationProp:y,withTiming:p}){const h=function(){return{isHigherOrder:!0,onFrame:(t,l)=>{let s=!1;const c=[{value:t.styleAnimations,path:[]}];for(;c.length>0;){const u=c.pop();if(Array.isArray(u.value))for(let t=0;t<u.value.length;t++)c.push({value:u.value[t],path:u.path.concat(t)});else if('object'==typeof u.value&&void 0===u.value.onFrame)for(const t of Object.keys(u.value))c.push({value:u.value[t],path:u.path.concat(t)});else{const c=u.value;if(c.finished)continue;c.onFrame(c,l)?(c.finished=!0,c.callback&&c.callback(!0)):s=!0;const y=n.includes(u.path[0])||'boxShadow'===u.path[0]&&u.path.length>2&&'color'===u.path[2];i(t.current,u.path,y?o(c.current):c.current)}}return!s},onStart:(t,n,o,h)=>{const _=[{value:l,path:[]}];for(;_.length>0;){const l=_.pop();if(Array.isArray(l.value))for(let t=0;t<l.value.length;t++)_.push({value:l.value[t],path:l.path.concat(t)});else if('object'==typeof l.value&&void 0===l.value.onStart)for(const t of Object.keys(l.value))_.push({value:l.value[t],path:l.path.concat(t)});else{const _=s(h?.styleAnimations,l.path);let f,A=s(n,l.path);if(_&&!A&&(A=_.current),c){void 0===A&&u.warn(`Initial values for animation are missing for property ${l.path.join('.')}`);const t=l.path[0];'string'!=typeof t||y(t.trim())||u.warn(`'${t}' property is not officially supported for layout animations. It may not work as expected.`)}i(t.current,l.path,A),'object'==typeof l.value&&l.value.onStart?f=l.value:(f=p(l.value,{duration:0}),i(t.styleAnimations,l.path,f)),f.onStart(f,A,o,_)}}},current:{},styleAnimations:l,callback:t=>{if(!t){const t=[l];for(;t.length>0;){const n=t.pop();if(Array.isArray(n))for(const i of n)t.push(i);else if('object'==typeof n&&void 0===n.onStart)for(const i of Object.values(n))t.push(i);else{const t=n;!t.finished&&t.callback&&t.callback(!1)}}}}}};return h.__closure={ColorProperties:n,setPath:i,processColor:o,styleAnimations:l,resolvePath:s,__DEV__:c,logger:u,isValidLayoutAnimationProp:y,withTiming:p},h.__workletHash=0xf4aae6f8bf2,h.__initData=t,h})({_worklet_16813428542450_init_data:i,ColorProperties:o,setPath:l,processColor:s,styleAnimations:t,resolvePath:c,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h}))};return _.__closure={defineAnimation:n,_worklet_16813428542450_init_data:i,ColorProperties:o,setPath:l,processColor:s,resolvePath:c,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h},_.__workletHash=0xf6eab74c1b7,_.__initData=t,_})({_worklet_16967997374903_init_data:{code:"function withStyleAnimation_reactNativeReanimated_styleAnimationJs4(styleAnimations){const{defineAnimation,_worklet_16813428542450_init_data,ColorProperties,setPath,processColor,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming}=this.__closure;return defineAnimation({},function withStyleAnimation_reactNativeReanimated_styleAnimationJs4({_worklet_16813428542450_init_data:_worklet_16813428542450_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming}){const reactNativeReanimated_styleAnimationJs3=function(){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;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const callback=function(finished){if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};};reactNativeReanimated_styleAnimationJs3.__closure={ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming};reactNativeReanimated_styleAnimationJs3.__workletHash=16813428542450;reactNativeReanimated_styleAnimationJs3.__initData=_worklet_16813428542450_init_data;return reactNativeReanimated_styleAnimationJs3;}({_worklet_16813428542450_init_data:_worklet_16813428542450_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming}));}"},defineAnimation:o.defineAnimation,_worklet_16813428542450_init_data:{code:"function reactNativeReanimated_styleAnimationJs3(){const{ColorProperties,setPath,processColor,styleAnimations,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming}=this.__closure;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;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const callback=function(finished){if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:callback};}"},ColorProperties:t.ColorProperties,setPath:s,processColor:n.processColor,resolvePath:l,__DEV__:!1,logger:n.logger,isValidLayoutAnimationProp:o.isValidLayoutAnimationProp,withTiming:i.withTiming})},1165,[1041,1032,1166,1147]);
1287
+ __d(function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withStyleAnimation",{enumerable:!0,get:function(){return s}});var t=r(d[0]),n=r(d[1]),i=r(d[2]),o=r(d[3]);const l=(function({_worklet_11004623829338_init_data:t}){const n=function(t,n){return(Array.isArray(n)?n:[n]).reduce((t,n)=>Array.isArray(t)&&'number'==typeof n||null!==t&&'object'==typeof t&&n in t?t[n]:void 0,t)};return n.__closure={},n.__workletHash=0xa0236b1b95a,n.__initData=t,n})({_worklet_11004623829338_init_data:{code:"function resolvePath_reactNativeReanimated_styleAnimationJs1(obj,path){const keys=Array.isArray(path)?path:[path];return keys.reduce(function(acc,current){if(Array.isArray(acc)&&typeof current==='number'){return acc[current];}else if(acc!==null&&typeof acc==='object'&&current in acc){return acc[current];}return undefined;},obj);}"}}),c=(function({_worklet_15386539109961_init_data:t}){const n=function(t,n,i){const o=Array.isArray(n)?n:[n];let l=t;for(let t=0;t<o.length-1;t++)o[t]in l||('number'==typeof o[t+1]?l[o[t]]=[]:l[o[t]]={}),l=l[o[t]];l[o[o.length-1]]=i};return n.__closure={},n.__workletHash=0xdfe7532ae49,n.__initData=t,n})({_worklet_15386539109961_init_data:{code:"function setPath_reactNativeReanimated_styleAnimationJs2(obj,path,value){const keys=Array.isArray(path)?path:[path];let currObj=obj;for(let i=0;i<keys.length-1;i++){currObj=currObj;if(!(keys[i]in currObj)){if(typeof keys[i+1]==='number'){currObj[keys[i]]=[];}else{currObj[keys[i]]={};}}currObj=currObj[keys[i]];}currObj[keys[keys.length-1]]=value;}"}}),s=(function({_worklet_12101254352542_init_data:t,defineAnimation:n,_worklet_16631291077387_init_data:i,ColorProperties:o,setPath:l,processColor:c,resolvePath:s,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h}){const _=function(t,_){return n({},(function({_worklet_16631291077387_init_data:t,ColorProperties:n,setPath:i,processColor:o,styleAnimations:l,resolvePath:c,__DEV__:s,logger:u,isValidLayoutAnimationProp:y,withTiming:p,callback:h}){const _=function(){return{isHigherOrder:!0,onFrame:(t,l)=>{let c=!1;const s=[{value:t.styleAnimations,path:[]}];for(;s.length>0;){const u=s.pop();if(Array.isArray(u.value))for(let t=0;t<u.value.length;t++)s.push({value:u.value[t],path:u.path.concat(t)});else if('object'==typeof u.value&&void 0===u.value.onFrame)for(const t of Object.keys(u.value))s.push({value:u.value[t],path:u.path.concat(t)});else{const s=u.value;if(s.finished)continue;s.onFrame(s,l)?(s.finished=!0,s.callback&&s.callback(!0)):c=!0;const y=n.includes(u.path[0])||'boxShadow'===u.path[0]&&u.path.length>2&&'color'===u.path[2];i(t.current,u.path,y?o(s.current):s.current)}}return!c},onStart:(t,n,o,h)=>{const _=[{value:l,path:[]}];for(;_.length>0;){const l=_.pop();if(Array.isArray(l.value))for(let t=0;t<l.value.length;t++)_.push({value:l.value[t],path:l.path.concat(t)});else if('object'==typeof l.value&&void 0===l.value.onStart)for(const t of Object.keys(l.value))_.push({value:l.value[t],path:l.path.concat(t)});else{const _=c(h?.styleAnimations,l.path);let f,A=c(n,l.path);if(_&&!A&&(A=_.current),s){void 0===A&&u.warn(`Initial values for animation are missing for property ${l.path.join('.')}`);const t=l.path[0];'string'!=typeof t||y(t.trim())||u.warn(`'${t}' property is not officially supported for layout animations. It may not work as expected.`)}i(t.current,l.path,A),'object'==typeof l.value&&l.value.onStart?f=l.value:(f=p(l.value,{duration:0}),i(t.styleAnimations,l.path,f)),f.onStart(f,A,o,_)}}},current:{},styleAnimations:l,callback:t=>{if(!t){const t=[l];for(;t.length>0;){const n=t.pop();if(Array.isArray(n))for(const i of n)t.push(i);else if('object'==typeof n&&void 0===n.onStart)for(const i of Object.values(n))t.push(i);else{const t=n;!t.finished&&t.callback&&t.callback(!1)}}}h?.(t)}}};return _.__closure={ColorProperties:n,setPath:i,processColor:o,styleAnimations:l,resolvePath:c,__DEV__:s,logger:u,isValidLayoutAnimationProp:y,withTiming:p,callback:h},_.__workletHash=0xf204632630b,_.__initData=t,_})({_worklet_16631291077387_init_data:i,ColorProperties:o,setPath:l,processColor:c,styleAnimations:t,resolvePath:s,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h,callback:_}))};return _.__closure={defineAnimation:n,_worklet_16631291077387_init_data:i,ColorProperties:o,setPath:l,processColor:c,resolvePath:s,__DEV__:u,logger:y,isValidLayoutAnimationProp:p,withTiming:h},_.__workletHash=0xb018af78e9e,_.__initData=t,_})({_worklet_12101254352542_init_data:{code:"function withStyleAnimation_reactNativeReanimated_styleAnimationJs4(styleAnimations,callback){const{defineAnimation,_worklet_16631291077387_init_data,ColorProperties,setPath,processColor,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming}=this.__closure;return defineAnimation({},function withStyleAnimation_reactNativeReanimated_styleAnimationJs4({_worklet_16631291077387_init_data:_worklet_16631291077387_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback}){const reactNativeReanimated_styleAnimationJs3=function(){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;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const styleAnimationCallback=function(finished){if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}callback===null||callback===void 0||callback(finished);};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:styleAnimationCallback};};reactNativeReanimated_styleAnimationJs3.__closure={ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback};reactNativeReanimated_styleAnimationJs3.__workletHash=16631291077387;reactNativeReanimated_styleAnimationJs3.__initData=_worklet_16631291077387_init_data;return reactNativeReanimated_styleAnimationJs3;}({_worklet_16631291077387_init_data:_worklet_16631291077387_init_data,ColorProperties:ColorProperties,setPath:setPath,processColor:processColor,styleAnimations:styleAnimations,resolvePath:resolvePath,__DEV__:__DEV__,logger:logger,isValidLayoutAnimationProp:isValidLayoutAnimationProp,withTiming:withTiming,callback:callback}));}"},defineAnimation:o.defineAnimation,_worklet_16631291077387_init_data:{code:"function reactNativeReanimated_styleAnimationJs3(){const{ColorProperties,setPath,processColor,styleAnimations,resolvePath,__DEV__,logger,isValidLayoutAnimationProp,withTiming,callback}=this.__closure;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;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onFrame===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const currentStyleAnimation=currentEntry.value;if(currentStyleAnimation.finished){continue;}const finished=currentStyleAnimation.onFrame(currentStyleAnimation,now);if(finished){currentStyleAnimation.finished=true;if(currentStyleAnimation.callback){currentStyleAnimation.callback(true);}}else{stillGoing=true;}const isAnimatingColorProp=ColorProperties.includes(currentEntry.path[0])||currentEntry.path[0]==='boxShadow'&&currentEntry.path.length>2&&currentEntry.path[2]==='color';setPath(animation.current,currentEntry.path,isAnimatingColorProp?processColor(currentStyleAnimation.current):currentStyleAnimation.current);}}return!stillGoing;};const onStart=function(animation,value,now,previousAnimation){const entriesToCheck=[{value:styleAnimations,path:[]}];while(entriesToCheck.length>0){const currentEntry=entriesToCheck.pop();if(Array.isArray(currentEntry.value)){for(let index=0;index<currentEntry.value.length;index++){entriesToCheck.push({value:currentEntry.value[index],path:currentEntry.path.concat(index)});}}else if(typeof currentEntry.value==='object'&&currentEntry.value.onStart===undefined){for(const key of Object.keys(currentEntry.value)){entriesToCheck.push({value:currentEntry.value[key],path:currentEntry.path.concat(key)});}}else{const prevAnimation=resolvePath(previousAnimation===null||previousAnimation===void 0?void 0:previousAnimation.styleAnimations,currentEntry.path);let prevVal=resolvePath(value,currentEntry.path);if(prevAnimation&&!prevVal){prevVal=prevAnimation.current;}if(__DEV__){if(prevVal===undefined){logger.warn(\"Initial values for animation are missing for property \"+currentEntry.path.join('.'));}const propName=currentEntry.path[0];if(typeof propName==='string'&&!isValidLayoutAnimationProp(propName.trim())){logger.warn(\"'\"+propName+\"' property is not officially supported for layout animations. It may not work as expected.\");}}setPath(animation.current,currentEntry.path,prevVal);let currentAnimation;if(typeof currentEntry.value!=='object'||!currentEntry.value.onStart){currentAnimation=withTiming(currentEntry.value,{duration:0});setPath(animation.styleAnimations,currentEntry.path,currentAnimation);}else{currentAnimation=currentEntry.value;}currentAnimation.onStart(currentAnimation,prevVal,now,prevAnimation);}}};const styleAnimationCallback=function(finished){var _callback;if(!finished){const animationsToCheck=[styleAnimations];while(animationsToCheck.length>0){const currentAnimation=animationsToCheck.pop();if(Array.isArray(currentAnimation)){for(const element of currentAnimation){animationsToCheck.push(element);}}else if(typeof currentAnimation==='object'&&currentAnimation.onStart===undefined){for(const value of Object.values(currentAnimation)){animationsToCheck.push(value);}}else{const currentStyleAnimation=currentAnimation;if(!currentStyleAnimation.finished&&currentStyleAnimation.callback){currentStyleAnimation.callback(false);}}}}(_callback=callback)===null||_callback===void 0||_callback(finished);};return{isHigherOrder:true,onFrame:onFrame,onStart:onStart,current:{},styleAnimations:styleAnimations,callback:styleAnimationCallback};}"},ColorProperties:t.ColorProperties,setPath:c,processColor:n.processColor,resolvePath:l,__DEV__:!1,logger:n.logger,isValidLayoutAnimationProp:o.isValidLayoutAnimationProp,withTiming:i.withTiming})},1165,[1041,1032,1166,1147]);
1288
1288
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"withTiming",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=r(d[1]);const o=(function({_worklet_7022678487610_init_data:t,__DEV__:n,assertEasingIsWorklet:o,defineAnimation:s,_worklet_11349255384920_init_data:u,Easing:c,getReduceMotionForAnimation:l}){const _=function(t,_,f){return n&&_?.easing&&o(_.easing),s(t,(function({_worklet_11349255384920_init_data:t,Easing:n,userConfig:o,toValue:s,callback:u,getReduceMotionForAnimation:c}){const l=function(){const t={duration:300,easing:n.inOut(n.quad)};return o&&Object.keys(o).forEach(n=>t[n]=o[n]),{type:'timing',onFrame:function(n,o){const{toValue:s,startTime:u,startValue:c}=n,l=o-u;if(l>=t.duration)return n.startTime=0,n.current=s,!0;const _=n.easing(l/t.duration);return n.current=c+(s-c)*_,!1},onStart:function(n,o,u,c){c&&'timing'===c.type&&c.toValue===s&&c.startTime?(n.startTime=c.startTime,n.startValue=c.startValue):(n.startTime=u,n.startValue=o),n.current=o,'object'==typeof t.easing?n.easing=t.easing.factory():n.easing=t.easing},progress:0,toValue:s,startValue:0,startTime:0,easing:()=>0,current:s,callback:u,reduceMotion:c(o?.reduceMotion)}};return l.__closure={Easing:n,userConfig:o,toValue:s,callback:u,getReduceMotionForAnimation:c},l.__workletHash=0xa527455ef58,l.__initData=t,l})({_worklet_11349255384920_init_data:u,Easing:c,userConfig:_,toValue:t,callback:f,getReduceMotionForAnimation:l}))};return _.__closure={__DEV__:n,assertEasingIsWorklet:o,defineAnimation:s,_worklet_11349255384920_init_data:u,Easing:c,getReduceMotionForAnimation:l},_.__workletHash=7022678487610,_.__initData=t,_})({_worklet_7022678487610_init_data:{code:"function reactNativeReanimated_timingJs2(toValue,userConfig,callback){const{__DEV__,assertEasingIsWorklet,defineAnimation,_worklet_11349255384920_init_data,Easing,getReduceMotionForAnimation}=this.__closure;if(__DEV__&&userConfig!==null&&userConfig!==void 0&&userConfig.easing){assertEasingIsWorklet(userConfig.easing);}return defineAnimation(toValue,function reactNativeReanimated_timingJs1Factory({_worklet_11349255384920_init_data:_worklet_11349255384920_init_data,Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}){const reactNativeReanimated_timingJs1=function(){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,reduceMotion:getReduceMotionForAnimation(userConfig===null||userConfig===void 0?void 0:userConfig.reduceMotion)};};reactNativeReanimated_timingJs1.__closure={Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation};reactNativeReanimated_timingJs1.__workletHash=11349255384920;reactNativeReanimated_timingJs1.__initData=_worklet_11349255384920_init_data;return reactNativeReanimated_timingJs1;}({_worklet_11349255384920_init_data:_worklet_11349255384920_init_data,Easing:Easing,userConfig:userConfig,toValue:toValue,callback:callback,getReduceMotionForAnimation:getReduceMotionForAnimation}));}"},__DEV__:!1,assertEasingIsWorklet:n.assertEasingIsWorklet,defineAnimation:n.defineAnimation,_worklet_11349255384920_init_data:{code:"function reactNativeReanimated_timingJs1(){const{Easing,userConfig,toValue,callback,getReduceMotionForAnimation}=this.__closure;var _userConfig;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,reduceMotion:getReduceMotionForAnimation((_userConfig=userConfig)===null||_userConfig===void 0?void 0:_userConfig.reduceMotion)};}"},Easing:t.Easing,getReduceMotionForAnimation:n.getReduceMotionForAnimation})},1166,[1167,1147]);
1289
1289
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"EasingNameSymbol",{enumerable:!0,get:function(){return y}}),Object.defineProperty(e,"Easing",{enumerable:!0,get:function(){return M}});var t=r(d[0]);const _=(function({_worklet_10169431008313_init_data:t}){const _=function(t){return t};return _.__closure={},_.__workletHash=0x93fc152a439,_.__initData=t,_})({_worklet_10169431008313_init_data:{code:"function linear_reactNativeReanimated_EasingJs1(t){return t;}"}}),n=(function({_worklet_13574950385453_init_data:t,Bezier:_}){const n=function(t){return _(.42,0,1,1)(t)};return n.__closure={Bezier:_},n.__workletHash=0xc58aa18772d,n.__initData=t,n})({_worklet_13574950385453_init_data:{code:"function ease_reactNativeReanimated_EasingJs2(t){const{Bezier}=this.__closure;return Bezier(0.42,0,1,1)(t);}"},Bezier:t.Bezier}),o=(function({_worklet_11781588435417_init_data:t}){const _=function(t){return t*t};return _.__closure={},_.__workletHash=0xab71d64c1d9,_.__initData=t,_})({_worklet_11781588435417_init_data:{code:"function quad_reactNativeReanimated_EasingJs3(t){return t*t;}"}}),s=(function({_worklet_420874989599_init_data:t}){const _=function(t){return t*t*t};return _.__closure={},_.__workletHash=420874989599,_.__initData=t,_})({_worklet_420874989599_init_data:{code:"function cubic_reactNativeReanimated_EasingJs4(t){return t*t*t;}"}}),c=(function({_worklet_2239682373178_init_data:t,_worklet_12187764194072_init_data:_}){const n=function(t){return(function({_worklet_12187764194072_init_data:t,n:_}){const n=function(t){return Math.pow(t,_)};return n.__closure={n:_},n.__workletHash=0xb15af5afb18,n.__initData=t,n})({_worklet_12187764194072_init_data:_,n:t})};return n.__closure={_worklet_12187764194072_init_data:_},n.__workletHash=2239682373178,n.__initData=t,n})({_worklet_2239682373178_init_data:{code:"function poly_reactNativeReanimated_EasingJs6(n){const{_worklet_12187764194072_init_data}=this.__closure;return function poly_reactNativeReanimated_EasingJs6({_worklet_12187764194072_init_data:_worklet_12187764194072_init_data,n:n}){const reactNativeReanimated_EasingJs5=function(t){return Math.pow(t,n);};reactNativeReanimated_EasingJs5.__closure={n:n};reactNativeReanimated_EasingJs5.__workletHash=12187764194072;reactNativeReanimated_EasingJs5.__initData=_worklet_12187764194072_init_data;return reactNativeReanimated_EasingJs5;}({_worklet_12187764194072_init_data:_worklet_12187764194072_init_data,n:n});}"},_worklet_12187764194072_init_data:{code:"function reactNativeReanimated_EasingJs5(t){const{n}=this.__closure;return Math.pow(t,n);}"}}),u=(function({_worklet_6057811655898_init_data:t}){const _=function(t){return 1-Math.cos(t*Math.PI/2)};return _.__closure={},_.__workletHash=6057811655898,_.__initData=t,_})({_worklet_6057811655898_init_data:{code:"function sin_reactNativeReanimated_EasingJs7(t){return 1-Math.cos(t*Math.PI/2);}"}}),l=(function({_worklet_8811157154490_init_data:t}){const _=function(t){return 1-Math.sqrt(1-t*t)};return _.__closure={},_.__workletHash=8811157154490,_.__initData=t,_})({_worklet_8811157154490_init_data:{code:"function circle_reactNativeReanimated_EasingJs8(t){return 1-Math.sqrt(1-t*t);}"}}),w=(function({_worklet_16706510166078_init_data:t}){const _=function(t){return Math.pow(2,10*(t-1))};return _.__closure={},_.__workletHash=0xf31c99a983e,_.__initData=t,_})({_worklet_16706510166078_init_data:{code:"function exp_reactNativeReanimated_EasingJs9(t){return Math.pow(2,10*(t-1));}"}}),k=(function({_worklet_1724429585866_init_data:t,_worklet_16971658266951_init_data:_}){const n=function(t=1){const n=t*Math.PI;return(function({_worklet_16971658266951_init_data:t,p:_}){const n=function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*_)};return n.__closure={p:_},n.__workletHash=0xf6f85a98947,n.__initData=t,n})({_worklet_16971658266951_init_data:_,p:n})};return n.__closure={_worklet_16971658266951_init_data:_},n.__workletHash=1724429585866,n.__initData=t,n})({_worklet_1724429585866_init_data:{code:"function elastic_reactNativeReanimated_EasingJs11(bounciness=1){const{_worklet_16971658266951_init_data}=this.__closure;const p=bounciness*Math.PI;return function elastic_reactNativeReanimated_EasingJs11({_worklet_16971658266951_init_data:_worklet_16971658266951_init_data,p:p}){const reactNativeReanimated_EasingJs10=function(t){return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);};reactNativeReanimated_EasingJs10.__closure={p:p};reactNativeReanimated_EasingJs10.__workletHash=16971658266951;reactNativeReanimated_EasingJs10.__initData=_worklet_16971658266951_init_data;return reactNativeReanimated_EasingJs10;}({_worklet_16971658266951_init_data:_worklet_16971658266951_init_data,p:p});}"},_worklet_16971658266951_init_data:{code:"function reactNativeReanimated_EasingJs10(t){const{p}=this.__closure;return 1-Math.pow(Math.cos(t*Math.PI/2),3)*Math.cos(t*p);}"}}),f=(function({_worklet_5532378209073_init_data:t,_worklet_1903745630811_init_data:_}){const n=function(t=1.70158){return(function({_worklet_1903745630811_init_data:t,s:_}){const n=function(t){return t*t*((_+1)*t-_)};return n.__closure={s:_},n.__workletHash=1903745630811,n.__initData=t,n})({_worklet_1903745630811_init_data:_,s:t})};return n.__closure={_worklet_1903745630811_init_data:_},n.__workletHash=5532378209073,n.__initData=t,n})({_worklet_5532378209073_init_data:{code:"function back_reactNativeReanimated_EasingJs13(s=1.70158){const{_worklet_1903745630811_init_data}=this.__closure;return function back_reactNativeReanimated_EasingJs13({_worklet_1903745630811_init_data:_worklet_1903745630811_init_data,s:s}){const reactNativeReanimated_EasingJs12=function(t){return t*t*((s+1)*t-s);};reactNativeReanimated_EasingJs12.__closure={s:s};reactNativeReanimated_EasingJs12.__workletHash=1903745630811;reactNativeReanimated_EasingJs12.__initData=_worklet_1903745630811_init_data;return reactNativeReanimated_EasingJs12;}({_worklet_1903745630811_init_data:_worklet_1903745630811_init_data,s:s});}"},_worklet_1903745630811_init_data:{code:"function reactNativeReanimated_EasingJs12(t){const{s}=this.__closure;return t*t*((s+1)*t-s);}"}}),h=(function({_worklet_6227633941748_init_data:t}){const _=function(t){if(t<.36363636363636365)return 7.5625*t*t;if(t<.7272727272727273){const _=t-.5454545454545454;return 7.5625*_*_+.75}if(t<.9090909090909091){const _=t-.8181818181818182;return 7.5625*_*_+.9375}const _=t-.9545454545454546;return 7.5625*_*_+.984375};return _.__closure={},_.__workletHash=6227633941748,_.__initData=t,_})({_worklet_6227633941748_init_data:{code:"function bounce_reactNativeReanimated_EasingJs14(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;}"}}),N=(function({_worklet_5777629284029_init_data:t,_worklet_16812750165599_init_data:_,Bezier:n}){const o=function(t,o,s,c){return{factory:(function({_worklet_16812750165599_init_data:t,Bezier:_,x1:n,y1:o,x2:s,y2:c}){const u=function(){return _(n,o,s,c)};return u.__closure={Bezier:_,x1:n,y1:o,x2:s,y2:c},u.__workletHash=0xf4a8600565f,u.__initData=t,u})({_worklet_16812750165599_init_data:_,Bezier:n,x1:t,y1:o,x2:s,y2:c})}};return o.__closure={_worklet_16812750165599_init_data:_,Bezier:n},o.__workletHash=5777629284029,o.__initData=t,o})({_worklet_5777629284029_init_data:{code:"function bezier_reactNativeReanimated_EasingJs16(x1,y1,x2,y2){const{_worklet_16812750165599_init_data,Bezier}=this.__closure;return{factory:function bezier_reactNativeReanimated_EasingJs16({_worklet_16812750165599_init_data:_worklet_16812750165599_init_data,Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2}){const reactNativeReanimated_EasingJs15=function(){return Bezier(x1,y1,x2,y2);};reactNativeReanimated_EasingJs15.__closure={Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2};reactNativeReanimated_EasingJs15.__workletHash=16812750165599;reactNativeReanimated_EasingJs15.__initData=_worklet_16812750165599_init_data;return reactNativeReanimated_EasingJs15;}({_worklet_16812750165599_init_data:_worklet_16812750165599_init_data,Bezier:Bezier,x1:x1,y1:y1,x2:x2,y2:y2})};}"},_worklet_16812750165599_init_data:{code:"function reactNativeReanimated_EasingJs15(){const{Bezier,x1,y1,x2,y2}=this.__closure;return Bezier(x1,y1,x2,y2);}"},Bezier:t.Bezier}),v=(function({_worklet_1286668932581_init_data:t,Bezier:_}){const n=function(t,n,o,s){return _(t,n,o,s)};return n.__closure={Bezier:_},n.__workletHash=1286668932581,n.__initData=t,n})({_worklet_1286668932581_init_data:{code:"function bezierFn_reactNativeReanimated_EasingJs17(x1,y1,x2,y2){const{Bezier}=this.__closure;return Bezier(x1,y1,x2,y2);}"},Bezier:t.Bezier}),E=(function({_worklet_5692504487844_init_data:t}){const _=function(t){return t};return _.__closure={},_.__workletHash=5692504487844,_.__initData=t,_})({_worklet_5692504487844_init_data:{code:"function in__reactNativeReanimated_EasingJs18(easing){return easing;}"}}),J=(function({_worklet_15297387675330_init_data:t,_worklet_2198231836607_init_data:_}){const n=function(t){return(function({_worklet_2198231836607_init_data:t,easing:_}){const n=function(t){return 1-_(1-t)};return n.__closure={easing:_},n.__workletHash=2198231836607,n.__initData=t,n})({_worklet_2198231836607_init_data:_,easing:t})};return n.__closure={_worklet_2198231836607_init_data:_},n.__workletHash=0xde9b35bbec2,n.__initData=t,n})({_worklet_15297387675330_init_data:{code:"function out_reactNativeReanimated_EasingJs20(easing){const{_worklet_2198231836607_init_data}=this.__closure;return function out_reactNativeReanimated_EasingJs20({_worklet_2198231836607_init_data:_worklet_2198231836607_init_data,easing:easing}){const reactNativeReanimated_EasingJs19=function(t){return 1-easing(1-t);};reactNativeReanimated_EasingJs19.__closure={easing:easing};reactNativeReanimated_EasingJs19.__workletHash=2198231836607;reactNativeReanimated_EasingJs19.__initData=_worklet_2198231836607_init_data;return reactNativeReanimated_EasingJs19;}({_worklet_2198231836607_init_data:_worklet_2198231836607_init_data,easing:easing});}"},_worklet_2198231836607_init_data:{code:"function reactNativeReanimated_EasingJs19(t){const{easing}=this.__closure;return 1-easing(1-t);}"}}),R=(function({_worklet_6467848726002_init_data:t,_worklet_2567153952333_init_data:_}){const n=function(t){return(function({_worklet_2567153952333_init_data:t,easing:_}){const n=function(t){return t<.5?_(2*t)/2:1-_(2*(1-t))/2};return n.__closure={easing:_},n.__workletHash=2567153952333,n.__initData=t,n})({_worklet_2567153952333_init_data:_,easing:t})};return n.__closure={_worklet_2567153952333_init_data:_},n.__workletHash=6467848726002,n.__initData=t,n})({_worklet_6467848726002_init_data:{code:"function inOut_reactNativeReanimated_EasingJs22(easing){const{_worklet_2567153952333_init_data}=this.__closure;return function inOut_reactNativeReanimated_EasingJs22({_worklet_2567153952333_init_data:_worklet_2567153952333_init_data,easing:easing}){const reactNativeReanimated_EasingJs21=function(t){if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;};reactNativeReanimated_EasingJs21.__closure={easing:easing};reactNativeReanimated_EasingJs21.__workletHash=2567153952333;reactNativeReanimated_EasingJs21.__initData=_worklet_2567153952333_init_data;return reactNativeReanimated_EasingJs21;}({_worklet_2567153952333_init_data:_worklet_2567153952333_init_data,easing:easing});}"},_worklet_2567153952333_init_data:{code:"function reactNativeReanimated_EasingJs21(t){const{easing}=this.__closure;if(t<0.5){return easing(t*2)/2;}return 1-easing((1-t)*2)/2;}"}}),x=(function({_worklet_10232375283954_init_data:t,_worklet_5084799734468_init_data:_}){const n=function(t=10,n=!0){return(function({_worklet_5084799734468_init_data:t,n:_,roundToNextStep:n}){const o=function(t){const o=Math.min(Math.max(t,0),1)*_;return n?Math.ceil(o)/_:Math.floor(o)/_};return o.__closure={n:_,roundToNextStep:n},o.__workletHash=5084799734468,o.__initData=t,o})({_worklet_5084799734468_init_data:_,n:t,roundToNextStep:n})};return n.__closure={_worklet_5084799734468_init_data:_},n.__workletHash=0x94e691810f2,n.__initData=t,n})({_worklet_10232375283954_init_data:{code:"function steps_reactNativeReanimated_EasingJs24(n=10,roundToNextStep=true){const{_worklet_5084799734468_init_data}=this.__closure;return function steps_reactNativeReanimated_EasingJs24({_worklet_5084799734468_init_data:_worklet_5084799734468_init_data,n:n,roundToNextStep:roundToNextStep}){const reactNativeReanimated_EasingJs23=function(t){const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;};reactNativeReanimated_EasingJs23.__closure={n:n,roundToNextStep:roundToNextStep};reactNativeReanimated_EasingJs23.__workletHash=5084799734468;reactNativeReanimated_EasingJs23.__initData=_worklet_5084799734468_init_data;return reactNativeReanimated_EasingJs23;}({_worklet_5084799734468_init_data:_worklet_5084799734468_init_data,n:n,roundToNextStep:roundToNextStep});}"},_worklet_5084799734468_init_data:{code:"function reactNativeReanimated_EasingJs23(t){const{n,roundToNextStep}=this.__closure;const value=Math.min(Math.max(t,0),1)*n;if(roundToNextStep){return Math.ceil(value)/n;}return Math.floor(value)/n;}"}}),p={linear:_,ease:n,quad:o,cubic:s,poly:c,sin:u,circle:l,exp:w,elastic:k,back:f,bounce:h,bezier:N,bezierFn:v,steps:x,in:E,out:J,inOut:R},y=Symbol('easingName');for(const[t,_]of Object.entries(p))Object.defineProperty(_,y,{value:t,configurable:!1,enumerable:!1,writable:!1});const M=p},1167,[1168]);
1290
1290
  __d(function(g,r,_i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"Bezier",{enumerable:!0,get:function(){return c}});const t=(function({_worklet_8828646082676_init_data:t}){const i=function(t,i){return 1-3*i+3*t};return i.__closure={},i.__workletHash=8828646082676,i.__initData=t,i})({_worklet_8828646082676_init_data:{code:"function A_reactNativeReanimated_BezierJs1(aA1,aA2){return 1.0-3.0*aA2+3.0*aA1;}"}}),i=(function({_worklet_4203953384949_init_data:t}){const i=function(t,i){return 3*i-6*t};return i.__closure={},i.__workletHash=4203953384949,i.__initData=t,i})({_worklet_4203953384949_init_data:{code:"function B_reactNativeReanimated_BezierJs2(aA1,aA2){return 3.0*aA2-6.0*aA1;}"}}),n=(function({_worklet_8388140024310_init_data:t}){const i=function(t){return 3*t};return i.__closure={},i.__workletHash=8388140024310,i.__initData=t,i})({_worklet_8388140024310_init_data:{code:"function C_reactNativeReanimated_BezierJs3(aA1){return 3.0*aA1;}"}}),_=(function({_worklet_15740570894910_init_data:t,A:i,B:n,C:_}){const l=function(t,l,o){return((i(l,o)*t+n(l,o))*t+_(l))*t};return l.__closure={A:i,B:n,C:_},l.__workletHash=0xe50e323023e,l.__initData=t,l})({_worklet_15740570894910_init_data:{code:"function calcBezier_reactNativeReanimated_BezierJs4(aT,aA1,aA2){const{A,B,C}=this.__closure;return((A(aA1,aA2)*aT+B(aA1,aA2))*aT+C(aA1))*aT;}"},A:t,B:i,C:n}),l=(function({_worklet_4162364291299_init_data:t,A:i,B:n,C:_}){const l=function(t,l,o){return 3*i(l,o)*t*t+2*n(l,o)*t+_(l)};return l.__closure={A:i,B:n,C:_},l.__workletHash=4162364291299,l.__initData=t,l})({_worklet_4162364291299_init_data:{code:"function getSlope_reactNativeReanimated_BezierJs5(aT,aA1,aA2){const{A,B,C}=this.__closure;return 3.0*A(aA1,aA2)*aT*aT+2.0*B(aA1,aA2)*aT+C(aA1);}"},A:t,B:i,C:n}),o=(function({_worklet_9166841024279_init_data:t,calcBezier:i,SUBDIVISION_PRECISION:n,SUBDIVISION_MAX_ITERATIONS:_}){const l=function(t,l,o,S,c){let s,u,p=0;do{u=l+(o-l)/2,s=i(u,S,c)-t,s>0?o=u:l=u}while(Math.abs(s)>n&&++p<_);return u};return l.__closure={calcBezier:i,SUBDIVISION_PRECISION:n,SUBDIVISION_MAX_ITERATIONS:_},l.__workletHash=9166841024279,l.__initData=t,l})({_worklet_9166841024279_init_data:{code:"function binarySubdivide_reactNativeReanimated_BezierJs6(aX,aA,aB,mX1,mX2){const{calcBezier,SUBDIVISION_PRECISION,SUBDIVISION_MAX_ITERATIONS}=this.__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<SUBDIVISION_MAX_ITERATIONS);return currentT;}"},calcBezier:_,SUBDIVISION_PRECISION:1e-7,SUBDIVISION_MAX_ITERATIONS:10}),S=(function({_worklet_13606782449305_init_data:t,NEWTON_ITERATIONS:i,getSlope:n,calcBezier:_}){const l=function(t,l,o,S){for(let c=0;c<i;++c){const i=n(l,o,S);if(0===i)return l;l-=(_(l,o,S)-t)/i}return l};return l.__closure={NEWTON_ITERATIONS:i,getSlope:n,calcBezier:_},l.__workletHash=0xc60136f3699,l.__initData=t,l})({_worklet_13606782449305_init_data:{code:"function newtonRaphsonIterate_reactNativeReanimated_BezierJs7(aX,aGuessT,mX1,mX2){const{NEWTON_ITERATIONS,getSlope,calcBezier}=this.__closure;for(let i=0;i<NEWTON_ITERATIONS;++i){const currentSlope=getSlope(aGuessT,mX1,mX2);if(currentSlope===0.0){return aGuessT;}const currentX=calcBezier(aGuessT,mX1,mX2)-aX;aGuessT-=currentX/currentSlope;}return aGuessT;}"},NEWTON_ITERATIONS:4,getSlope:l,calcBezier:_}),c=(function({_worklet_5402449009101_init_data:t,_worklet_10506866815251_init_data:i,kSplineTableSize:n,calcBezier:_,kSampleStepSize:l,_worklet_8886713262827_init_data:o,getSlope:S,NEWTON_MIN_SLOPE:c,newtonRaphsonIterate:s,binarySubdivide:u,_worklet_10344582928838_init_data:p}){const X=function(t,X,T,k){const N=(function({_worklet_10506866815251_init_data:t}){const i=function(t){return t};return i.__closure={},i.__workletHash=0x98e52107113,i.__initData=t,i})({_worklet_10506866815251_init_data:i});if(!(t>=0&&t<=1&&T>=0&&T<=1))throw new Error('[Reanimated] Bezier x values must be in [0, 1] range.');if(t===X&&T===k)return N;const z=new Array(n);for(let i=0;i<n;++i)z[i]=_(i*l,t,T);const I=(function({_worklet_8886713262827_init_data:t,kSplineTableSize:i,sampleValues:n,kSampleStepSize:_,getSlope:l,mX1:o,mX2:S,NEWTON_MIN_SLOPE:c,newtonRaphsonIterate:s,binarySubdivide:u}){const p=function(t){let p=0,X=1;const T=i-1;for(;X!==T&&n[X]<=t;++X)p+=_;--X;const k=p+(t-n[X])/(n[X+1]-n[X])*_,N=l(k,o,S);return N>=c?s(t,k,o,S):0===N?k:u(t,p,p+_,o,S)};return p.__closure={kSplineTableSize:i,sampleValues:n,kSampleStepSize:_,getSlope:l,mX1:o,mX2:S,NEWTON_MIN_SLOPE:c,newtonRaphsonIterate:s,binarySubdivide:u},p.__workletHash=8886713262827,p.__initData=t,p})({_worklet_8886713262827_init_data:o,kSplineTableSize:n,sampleValues:z,kSampleStepSize:l,getSlope:S,mX1:t,mX2:T,NEWTON_MIN_SLOPE:c,newtonRaphsonIterate:s,binarySubdivide:u});return(function({_worklet_10344582928838_init_data:t,mX1:i,mY1:n,mX2:_,mY2:l,calcBezier:o,getTForX:S}){const c=function(t){return i===n&&_===l?t:0===t?0:1===t?1:o(S(t),n,l)};return c.__closure={mX1:i,mY1:n,mX2:_,mY2:l,calcBezier:o,getTForX:S},c.__workletHash=0x9688930d9c6,c.__initData=t,c})({_worklet_10344582928838_init_data:p,mX1:t,mY1:X,mX2:T,mY2:k,calcBezier:_,getTForX:I})};return X.__closure={_worklet_10506866815251_init_data:i,kSplineTableSize:n,calcBezier:_,kSampleStepSize:l,_worklet_8886713262827_init_data:o,getSlope:S,NEWTON_MIN_SLOPE:c,newtonRaphsonIterate:s,binarySubdivide:u,_worklet_10344582928838_init_data:p},X.__workletHash=5402449009101,X.__initData=t,X})({_worklet_5402449009101_init_data:{code:"function Bezier_reactNativeReanimated_BezierJs11(mX1,mY1,mX2,mY2){const{_worklet_10506866815251_init_data,kSplineTableSize,calcBezier,kSampleStepSize,_worklet_8886713262827_init_data,getSlope,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide,_worklet_10344582928838_init_data}=this.__closure;const LinearEasing=function Bezier_reactNativeReanimated_BezierJs11({_worklet_10506866815251_init_data:_worklet_10506866815251_init_data}){const LinearEasing=function(x){return x;};LinearEasing.__closure={};LinearEasing.__workletHash=10506866815251;LinearEasing.__initData=_worklet_10506866815251_init_data;return LinearEasing;}({_worklet_10506866815251_init_data:_worklet_10506866815251_init_data});if(!(mX1>=0&&mX1<=1&&mX2>=0&&mX2<=1)){throw new Error('[Reanimated] 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<kSplineTableSize;++i){sampleValues[i]=calcBezier(i*kSampleStepSize,mX1,mX2);}const getTForX=function getTForX_reactNativeReanimated_BezierJs9Factory({_worklet_8886713262827_init_data:_worklet_8886713262827_init_data,kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide}){const getTForX=function(aX){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);}};getTForX.__closure={kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide};getTForX.__workletHash=8886713262827;getTForX.__initData=_worklet_8886713262827_init_data;return getTForX;}({_worklet_8886713262827_init_data:_worklet_8886713262827_init_data,kSplineTableSize:kSplineTableSize,sampleValues:sampleValues,kSampleStepSize:kSampleStepSize,getSlope:getSlope,mX1:mX1,mX2:mX2,NEWTON_MIN_SLOPE:NEWTON_MIN_SLOPE,newtonRaphsonIterate:newtonRaphsonIterate,binarySubdivide:binarySubdivide});return function BezierEasing_reactNativeReanimated_BezierJs10Factory({_worklet_10344582928838_init_data:_worklet_10344582928838_init_data,mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX}){const BezierEasing=function(x){if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);};BezierEasing.__closure={mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX};BezierEasing.__workletHash=10344582928838;BezierEasing.__initData=_worklet_10344582928838_init_data;return BezierEasing;}({_worklet_10344582928838_init_data:_worklet_10344582928838_init_data,mX1:mX1,mY1:mY1,mX2:mX2,mY2:mY2,calcBezier:calcBezier,getTForX:getTForX});}"},_worklet_10506866815251_init_data:{code:"function LinearEasing_reactNativeReanimated_BezierJs8(x){return x;}"},kSplineTableSize:11,calcBezier:_,kSampleStepSize:.1,_worklet_8886713262827_init_data:{code:"function getTForX_reactNativeReanimated_BezierJs9(aX){const{kSplineTableSize,sampleValues,kSampleStepSize,getSlope,mX1,mX2,NEWTON_MIN_SLOPE,newtonRaphsonIterate,binarySubdivide}=this.__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);}}"},getSlope:l,NEWTON_MIN_SLOPE:.001,newtonRaphsonIterate:S,binarySubdivide:o,_worklet_10344582928838_init_data:{code:"function BezierEasing_reactNativeReanimated_BezierJs10(x){const{mX1,mY1,mX2,mY2,calcBezier,getTForX}=this.__closure;if(mX1===mY1&&mX2===mY2){return x;}if(x===0){return 0;}if(x===1){return 1;}return calcBezier(getTForX(x),mY1,mY2);}"}})},1168,[]);
@@ -1376,7 +1376,7 @@ __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{v
1376
1376
  __d(function(g,r,i,a,m,e,_d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.JumpingTransition=function(s,n){const{translateX:l,translateY:c,scaleX:o,scaleY:p}=n,u=Math.max(Math.abs(l),Math.abs(c))/2,x=c<=0?c-u:-c+u;return{name:s,style:{0:{transform:[{translateX:`${l}px`,translateY:`${c}px`,scale:`${o},${p}`}],easing:t.Easing.exp},50:{transform:[{translateX:l/2+"px",translateY:`${x}px`,scale:`${o},${p}`}]},100:{transform:[{translateX:'0px',translateY:'0px',scale:'1,1'}]}},duration:300}};var t=r(_d[0])},1254,[1167]);
1377
1377
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.LinearTransition=function(t,n){const{translateX:s,translateY:l,scaleX:c,scaleY:o}=n;return{name:t,style:{0:{transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]}},duration:300}}},1255,[]);
1378
1378
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.SequencedTransition=function(t,n){const{translateX:s,translateY:l,scaleX:c,scaleY:o,reversed:p}=n;return{name:t,style:{0:{transform:[{translateX:`${s}px`,translateY:`${l}px`,scale:`${c},${o}`}]},50:{transform:[{translateX:p?`${s}px`:'0px',translateY:p?'0px':`${l}px`,scale:p?`1,${c}`:`${o},1`}]},100:{transform:[{translateX:'0px',translateY:'0px',scale:'1,1'}]}},duration:300}}},1256,[]);
1379
- __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PropsRegistryGarbageCollector",{enumerable:!0,get:function(){return n}});var t=r(d[0]),s=r(d[1]);const n={viewsCount:0,viewsMap:new Map,intervalId:null,registerView(t,s){this.viewsMap.has(t)||(this.viewsMap.set(t,s),this.viewsCount++,1===this.viewsCount&&this.registerInterval())},unregisterView(t){this.viewsMap.delete(t),this.viewsCount--,0===this.viewsCount&&this.unregisterInterval()},syncPropsBackToReact(){const t=s.ReanimatedModule.getSettledUpdates();for(const{viewTag:s,styleProps:n}of t){if(null===n)continue;const t=this.viewsMap.get(s);o(n),t?._syncStylePropsBackToReact(n)}},registerInterval(){this.intervalId=setInterval(this.syncPropsBackToReact.bind(this),500)},unregisterInterval(){null!==this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}};function o(s){(0,t.unprocessColorsInProps)(s),l(s)}function l(s){Array.isArray(s.boxShadow)&&(s.boxShadow=s.boxShadow.map(s=>({...s,color:(0,t.unprocessColor)(s.color)})))}},1257,[1040,1106]);
1379
+ __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"PropsRegistryGarbageCollector",{enumerable:!0,get:function(){return n}});var t=r(d[0]),s=r(d[1]);const n={viewsMap:new Map,intervalId:null,registerView(t,s){this.viewsMap.has(t)||(this.viewsMap.set(t,s),1===this.viewsMap.size&&this.registerInterval())},unregisterView(t){this.viewsMap.delete(t)&&0===this.viewsMap.size&&this.unregisterInterval()},syncPropsBackToReact(){const t=s.ReanimatedModule.getSettledUpdates();for(const{viewTag:s,styleProps:n}of t){if(null===n)continue;const t=this.viewsMap.get(s);o(n),t?._syncStylePropsBackToReact(n)}},registerInterval(){this.intervalId=setInterval(this.syncPropsBackToReact.bind(this),500)},unregisterInterval(){null!==this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}};function o(s){(0,t.unprocessColorsInProps)(s),l(s)}function l(s){Array.isArray(s.boxShadow)&&(s.boxShadow=s.boxShadow.map(s=>({...s,color:(0,t.unprocessColor)(s.color)})))}},1257,[1040,1106]);
1380
1380
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"updateLayoutAnimations",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=r(d[1]),u=r(d[2]);let o;if(n.SHOULD_BE_USE_WEB)o=()=>{};else{const n=(function(){const t=[],n=[];return{update(u,o){o?n.push(u):t.push(u),t.length+n.length===1&&this.flush()},flush(){(0,u.configureLayoutAnimationBatch)(t.concat(n)),t.length=0,n.length=0}}})();o=(u,o,c,s,l)=>n.update({viewTag:u,type:o,config:c?(0,t.createSerializable)(c):void 0,sharedTransitionTag:l},s)}},1258,[1013,1032,1171]);
1381
1381
  __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0}),e.hasInlineStyles=f,e.getInlineStyle=function(n,s){if(s)return u(n);const o={};for(const[s,p]of Object.entries(n))(0,t.isSharedValue)(p)||'transform'===s&&l(p)||(o[s]=p);return o},Object.defineProperty(e,"InlinePropManager",{enumerable:!0,get:function(){return h}});var t=r(d[0]),n=r(d[1]),s=r(d[2]),o=r(d[3]),p=r(d[4]);function l(t){return!!Array.isArray(t)&&t.some(t=>f(t))}function c(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!0;for(const s of Object.keys(t))if(t[s]!==n[s])return!0;return!1}const u=(function({_worklet_11585428761297_init_data:t,isSharedValue:n}){const s=function(t){if(n(t))return t.value;if(Array.isArray(t))return t.map(s);if(t&&'object'==typeof t){const n={};for(const[o,p]of Object.entries(t))n[o]=s(p);return n}return t};return s.__closure={isSharedValue:n},s.__workletHash=0xa89715daad1,s.__initData=t,s})({_worklet_11585428761297_init_data:{code:"function getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(styleValue){const getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1=this._recur;const{isSharedValue}=this.__closure;if(isSharedValue(styleValue)){return styleValue.value;}if(Array.isArray(styleValue)){return styleValue.map(getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1);}if(styleValue&&typeof styleValue==='object'){const update={};for(const[key,value]of Object.entries(styleValue)){update[key]=getInlinePropsUpdate_reactNativeReanimated_InlinePropManagerJs1(value);}return update;}return styleValue;}"},isSharedValue:t.isSharedValue});function _(n){const s={};for(const o in n){const c=n[o];if('style'===o){(0,p.flattenArray)(n.style??[]).forEach(n=>{if(n)for(const[o,p]of Object.entries(n))((0,t.isSharedValue)(p)||'transform'===o&&l(p))&&(s[o]=p)})}else(0,t.isSharedValue)(c)&&(s[o]=c)}return s}function f(n){return!!n&&Object.keys(n).some(s=>{const o=n[s];return(0,t.isSharedValue)(o)||'transform'===s&&l(o)})}const P={code:"function reactNativeReanimated_InlinePropManagerJs2(){const{getInlinePropsUpdate,newInlineProps,updateProps,shareableViewDescriptors}=this.__closure;const update=getInlinePropsUpdate(newInlineProps);updateProps(shareableViewDescriptors,update);}"};class h{_inlinePropsViewDescriptors=null;_inlinePropsMapperId=null;_inlineProps={};attachInlineProps(t,p){const l=_(t.props);if(c(l,this._inlineProps)){if(!this._inlinePropsViewDescriptors){this._inlinePropsViewDescriptors=(0,o.makeViewDescriptorsSet)();const{viewTag:t,shadowNodeWrapper:n}=p;this._inlinePropsViewDescriptors.add({tag:t,shadowNodeWrapper:n})}const t=this._inlinePropsViewDescriptors.shareableViewDescriptors,c=(function({_worklet_5061273221373_init_data:t,getInlinePropsUpdate:n,newInlineProps:s,updateProps:o,shareableViewDescriptors:p}){const l=function(){const t=n(s);o(p,t)};return l.__closure={getInlinePropsUpdate:n,newInlineProps:s,updateProps:o,shareableViewDescriptors:p},l.__workletHash=5061273221373,l.__initData=t,l})({_worklet_5061273221373_init_data:P,getInlinePropsUpdate:u,newInlineProps:l,updateProps:s.updateProps,shareableViewDescriptors:t});this._inlineProps=l,this._inlinePropsMapperId&&(0,n.stopMapper)(this._inlinePropsMapperId),this._inlinePropsMapperId=null,Object.keys(l).length&&(this._inlinePropsMapperId=(0,n.startMapper)(c,Object.values(l)))}}detachInlineProps(){this._inlinePropsMapperId&&(0,n.stopMapper)(this._inlinePropsMapperId)}}},1259,[1097,1175,1260,1263,1264]);
1382
1382
  __d(function(g,r,i,a,m,_e,d){'use strict';Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"updateProps",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(_e,"updatePropsJestWrapper",{enumerable:!0,get:function(){return t.updatePropsJestWrapper}});var e,t=r(d[0]),u=(e=t)&&e.__esModule?e:{default:e}},1260,[1261]);
@@ -17092,7 +17092,7 @@ __d(function(g,r,i,a,m,_e,d){"use strict";function t(t){return t&&t.__esModule?t
17092
17092
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"clamp",{enumerable:!0,get:function(){return t}});const t=(function({_worklet_14352395092313_init_data:t}){const n=function(t,n,o){return Math.min(Math.max(n,t),o)};return n.__closure={},n.__workletHash=0xd0dad694159,n.__initData=t,n})({_worklet_14352395092313_init_data:{code:"function gorhom_clampJs1(value,lowerBound,upperBound){return Math.min(Math.max(lowerBound,value),upperBound);}"}})},3828,[]);
17093
17093
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"snapPoint",{enumerable:!0,get:function(){return t}});const t=(function({_worklet_14021864397446_init_data:t}){const n=function(t,n,o){const l=t+.2*n,s=o.map(t=>Math.abs(l-t)),c=Math.min.apply(null,s);return o.filter(t=>Math.abs(l-t)===c)[0]};return n.__closure={},n.__workletHash=0xcc0b83f1a86,n.__initData=t,n})({_worklet_14021864397446_init_data:{code:"function gorhom_snapPointJs1(value,velocity,points){const point=value+0.2*velocity;const deltas=points.map(function(p){return Math.abs(point-p);});const minDelta=Math.min.apply(null,deltas);return points.filter(function(p){return Math.abs(point-p)===minDelta;})[0];}"}})},3829,[]);
17094
17094
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useBottomSheetGestureHandlers",{enumerable:!0,get:function(){return n}});var t=r(d[0]),o=r(d[1]);const n=()=>{const n=(0,t.useContext)(o.BottomSheetGestureHandlersContext);if(null===n)throw"'useBottomSheetGestureHandlers' cannot be used out of the BottomSheet!";return n}},3830,[35,3806]);
17095
- __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.useAnimatedLayout=function(t,_,f,v,k){const y=(0,e.useMemo)(()=>_+f,[_,f]),T=(0,e.useMemo)(()=>{const e={...u};if(t){const _=t.get();e.containerHeight=v?_.height-y:_.height,e.containerOffset=_.offset}return k&&(e.handleHeight=0),e},[t,v,k,y]),[U]=(0,e.useState)(()=>(0,n.makeMutable)(T));return(0,n.useAnimatedReaction)((function({_worklet_16749227469433_init_data:t,state:e}){const _=()=>e.value.rawContainerHeight;return _.__closure={state:e},_.__workletHash=0xf3bbbc0ea79,_.__initData=t,_})({_worklet_16749227469433_init_data:l,state:U}),(function({_worklet_11904372984444_init_data:t,INITIAL_LAYOUT_VALUE:e,state:_,_worklet_13415680386644_init_data:o,modal:n,verticalInset:s}){const u=function(t,u){t!==u&&t!==e&&_.modify((function({_worklet_13415680386644_init_data:t,modal:e,result:_,verticalInset:o}){const n=function(t){return t.containerHeight=e?_-o:_,t};return n.__closure={modal:e,result:_,verticalInset:o},n.__workletHash=0xc3394dd2654,n.__initData=t,n})({_worklet_13415680386644_init_data:o,modal:n,result:t,verticalInset:s}))};return u.__closure={INITIAL_LAYOUT_VALUE:e,state:_,_worklet_13415680386644_init_data:o,modal:n,verticalInset:s},u.__workletHash=0xad3b3ec4a7c,u.__initData=t,u})({_worklet_11904372984444_init_data:I,INITIAL_LAYOUT_VALUE:s.INITIAL_LAYOUT_VALUE,state:U,_worklet_13415680386644_init_data:c,modal:v,verticalInset:y}),[U,y,v]),(0,n.useAnimatedReaction)((function({_worklet_16586074982495_init_data:t,containerLayoutState:e}){const _=()=>e?.get().height;return _.__closure={containerLayoutState:e},_.__workletHash=0xf15bf1b885f,_.__initData=t,_})({_worklet_16586074982495_init_data:L,containerLayoutState:t}),(function({_worklet_896068907356_init_data:t,INITIAL_LAYOUT_VALUE:e,state:_,_worklet_14187347869363_init_data:o,modal:n,verticalInset:s}){const u=function(t,u){t&&t!==u&&t!==e&&_.modify((function({_worklet_14187347869363_init_data:t,modal:e,result:_,verticalInset:o}){const n=function(t){return t.containerHeight=e?_-o:_,t};return n.__closure={modal:e,result:_,verticalInset:o},n.__workletHash=0xce73fd47eb3,n.__initData=t,n})({_worklet_14187347869363_init_data:o,modal:n,result:t,verticalInset:s}))};return u.__closure={INITIAL_LAYOUT_VALUE:e,state:_,_worklet_14187347869363_init_data:o,modal:n,verticalInset:s},u.__workletHash=896068907356,u.__initData=t,u})({_worklet_896068907356_init_data:w,INITIAL_LAYOUT_VALUE:s.INITIAL_LAYOUT_VALUE,state:U,_worklet_14187347869363_init_data:A,modal:v,verticalInset:y}),[U,y,v]),(0,e.useEffect)(()=>{o.default.addEventListener('change',({window:t})=>{U.modify((function({_worklet_10284813374852_init_data:t,window:e}){const _=function(t){return t.window=e,t};return _.__closure={window:e},_.__workletHash=0x95a9ea5d584,_.__initData=t,_})({_worklet_10284813374852_init_data:h,window:t}))})},[U]),U};var t,e=r(d[0]),_=r(d[1]),o=(t=_)&&t.__esModule?t:{default:t},n=r(d[2]),s=r(d[3]);const u={window:o.default.get('window'),rawContainerHeight:s.INITIAL_LAYOUT_VALUE,containerHeight:s.INITIAL_LAYOUT_VALUE,containerOffset:s.INITIAL_CONTAINER_LAYOUT.offset,handleHeight:s.INITIAL_LAYOUT_VALUE,footerHeight:s.INITIAL_LAYOUT_VALUE,contentHeight:s.INITIAL_LAYOUT_VALUE},l={code:"function gorhom_useAnimatedLayoutJs1(){const{state}=this.__closure;return state.value.rawContainerHeight;}"},c={code:"function gorhom_useAnimatedLayoutJs2(_state){const{modal,result,verticalInset}=this.__closure;_state.containerHeight=modal?result-verticalInset:result;return _state;}"},I={code:"function gorhom_useAnimatedLayoutJs3(result,previous){const{INITIAL_LAYOUT_VALUE,state,_worklet_13415680386644_init_data,modal,verticalInset}=this.__closure;if(result===previous){return;}if(result===INITIAL_LAYOUT_VALUE){return;}state.modify(function gorhom_useAnimatedLayoutJs2Factory({_worklet_13415680386644_init_data:_worklet_13415680386644_init_data,modal:modal,result:result,verticalInset:verticalInset}){const gorhom_useAnimatedLayoutJs2=function(_state){_state.containerHeight=modal?result-verticalInset:result;return _state;};gorhom_useAnimatedLayoutJs2.__closure={modal:modal,result:result,verticalInset:verticalInset};gorhom_useAnimatedLayoutJs2.__workletHash=13415680386644;gorhom_useAnimatedLayoutJs2.__initData=_worklet_13415680386644_init_data;return gorhom_useAnimatedLayoutJs2;}({_worklet_13415680386644_init_data:_worklet_13415680386644_init_data,modal:modal,result:result,verticalInset:verticalInset}));}"},L={code:"function gorhom_useAnimatedLayoutJs4(){const{containerLayoutState}=this.__closure;var _containerLayoutState;return(_containerLayoutState=containerLayoutState)===null||_containerLayoutState===void 0?void 0:_containerLayoutState.get().height;}"},A={code:"function gorhom_useAnimatedLayoutJs5(_state){const{modal,result,verticalInset}=this.__closure;_state.containerHeight=modal?result-verticalInset:result;return _state;}"},w={code:"function gorhom_useAnimatedLayoutJs6(result,previous){const{INITIAL_LAYOUT_VALUE,state,_worklet_14187347869363_init_data,modal,verticalInset}=this.__closure;if(!result||result===previous){return;}if(result===INITIAL_LAYOUT_VALUE){return;}state.modify(function gorhom_useAnimatedLayoutJs5Factory({_worklet_14187347869363_init_data:_worklet_14187347869363_init_data,modal:modal,result:result,verticalInset:verticalInset}){const gorhom_useAnimatedLayoutJs5=function(_state){_state.containerHeight=modal?result-verticalInset:result;return _state;};gorhom_useAnimatedLayoutJs5.__closure={modal:modal,result:result,verticalInset:verticalInset};gorhom_useAnimatedLayoutJs5.__workletHash=14187347869363;gorhom_useAnimatedLayoutJs5.__initData=_worklet_14187347869363_init_data;return gorhom_useAnimatedLayoutJs5;}({_worklet_14187347869363_init_data:_worklet_14187347869363_init_data,modal:modal,result:result,verticalInset:verticalInset}));}"},h={code:"function gorhom_useAnimatedLayoutJs7(_state){const{window}=this.__closure;_state.window=window;return _state;}"}},3831,[35,224,1010,3803]);
17095
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.useAnimatedLayout=function(t,_,f,v,k){const y=(0,e.useMemo)(()=>_+f,[_,f]),T=(0,e.useMemo)(()=>{const e={...u};if(t){const _=t.get();e.containerHeight=v?_.height-y:_.height,e.containerOffset=_.offset}return k&&(e.handleHeight=0),e},[t,v,k,y]),[U]=(0,e.useState)(()=>(0,n.makeMutable)(T));return(0,n.useAnimatedReaction)((function({_worklet_16749227469433_init_data:t,state:e}){const _=()=>e.value.rawContainerHeight;return _.__closure={state:e},_.__workletHash=0xf3bbbc0ea79,_.__initData=t,_})({_worklet_16749227469433_init_data:l,state:U}),(function({_worklet_11904372984444_init_data:t,INITIAL_LAYOUT_VALUE:e,state:_,_worklet_13415680386644_init_data:o,modal:n,verticalInset:s}){const u=function(t,u){t!==u&&t!==e&&_.modify((function({_worklet_13415680386644_init_data:t,modal:e,result:_,verticalInset:o}){const n=function(t){return t.containerHeight=e?_-o:_,t};return n.__closure={modal:e,result:_,verticalInset:o},n.__workletHash=0xc3394dd2654,n.__initData=t,n})({_worklet_13415680386644_init_data:o,modal:n,result:t,verticalInset:s}))};return u.__closure={INITIAL_LAYOUT_VALUE:e,state:_,_worklet_13415680386644_init_data:o,modal:n,verticalInset:s},u.__workletHash=0xad3b3ec4a7c,u.__initData=t,u})({_worklet_11904372984444_init_data:I,INITIAL_LAYOUT_VALUE:s.INITIAL_LAYOUT_VALUE,state:U,_worklet_13415680386644_init_data:c,modal:v,verticalInset:y}),[U,y,v]),(0,n.useAnimatedReaction)((function({_worklet_16586074982495_init_data:t,containerLayoutState:e}){const _=()=>e?.get().height;return _.__closure={containerLayoutState:e},_.__workletHash=0xf15bf1b885f,_.__initData=t,_})({_worklet_16586074982495_init_data:L,containerLayoutState:t}),(function({_worklet_896068907356_init_data:t,INITIAL_LAYOUT_VALUE:e,state:_,_worklet_14187347869363_init_data:o,modal:n,verticalInset:s}){const u=function(t,u){t&&t!==u&&t!==e&&_.modify((function({_worklet_14187347869363_init_data:t,modal:e,result:_,verticalInset:o}){const n=function(t){return t.containerHeight=e?_-o:_,t};return n.__closure={modal:e,result:_,verticalInset:o},n.__workletHash=0xce73fd47eb3,n.__initData=t,n})({_worklet_14187347869363_init_data:o,modal:n,result:t,verticalInset:s}))};return u.__closure={INITIAL_LAYOUT_VALUE:e,state:_,_worklet_14187347869363_init_data:o,modal:n,verticalInset:s},u.__workletHash=896068907356,u.__initData=t,u})({_worklet_896068907356_init_data:w,INITIAL_LAYOUT_VALUE:s.INITIAL_LAYOUT_VALUE,state:U,_worklet_14187347869363_init_data:A,modal:v,verticalInset:y}),[U,y,v]),(0,e.useEffect)(()=>{const t=o.default.addEventListener('change',({window:t})=>{U.modify((function({_worklet_10284813374852_init_data:t,window:e}){const _=function(t){return t.window=e,t};return _.__closure={window:e},_.__workletHash=0x95a9ea5d584,_.__initData=t,_})({_worklet_10284813374852_init_data:h,window:t}))});return()=>t.remove()},[U]),U};var t,e=r(d[0]),_=r(d[1]),o=(t=_)&&t.__esModule?t:{default:t},n=r(d[2]),s=r(d[3]);const u={window:o.default.get('window'),rawContainerHeight:s.INITIAL_LAYOUT_VALUE,containerHeight:s.INITIAL_LAYOUT_VALUE,containerOffset:s.INITIAL_CONTAINER_LAYOUT.offset,handleHeight:s.INITIAL_LAYOUT_VALUE,footerHeight:s.INITIAL_LAYOUT_VALUE,contentHeight:s.INITIAL_LAYOUT_VALUE},l={code:"function gorhom_useAnimatedLayoutJs1(){const{state}=this.__closure;return state.value.rawContainerHeight;}"},c={code:"function gorhom_useAnimatedLayoutJs2(_state){const{modal,result,verticalInset}=this.__closure;_state.containerHeight=modal?result-verticalInset:result;return _state;}"},I={code:"function gorhom_useAnimatedLayoutJs3(result,previous){const{INITIAL_LAYOUT_VALUE,state,_worklet_13415680386644_init_data,modal,verticalInset}=this.__closure;if(result===previous){return;}if(result===INITIAL_LAYOUT_VALUE){return;}state.modify(function gorhom_useAnimatedLayoutJs2Factory({_worklet_13415680386644_init_data:_worklet_13415680386644_init_data,modal:modal,result:result,verticalInset:verticalInset}){const gorhom_useAnimatedLayoutJs2=function(_state){_state.containerHeight=modal?result-verticalInset:result;return _state;};gorhom_useAnimatedLayoutJs2.__closure={modal:modal,result:result,verticalInset:verticalInset};gorhom_useAnimatedLayoutJs2.__workletHash=13415680386644;gorhom_useAnimatedLayoutJs2.__initData=_worklet_13415680386644_init_data;return gorhom_useAnimatedLayoutJs2;}({_worklet_13415680386644_init_data:_worklet_13415680386644_init_data,modal:modal,result:result,verticalInset:verticalInset}));}"},L={code:"function gorhom_useAnimatedLayoutJs4(){const{containerLayoutState}=this.__closure;var _containerLayoutState;return(_containerLayoutState=containerLayoutState)===null||_containerLayoutState===void 0?void 0:_containerLayoutState.get().height;}"},A={code:"function gorhom_useAnimatedLayoutJs5(_state){const{modal,result,verticalInset}=this.__closure;_state.containerHeight=modal?result-verticalInset:result;return _state;}"},w={code:"function gorhom_useAnimatedLayoutJs6(result,previous){const{INITIAL_LAYOUT_VALUE,state,_worklet_14187347869363_init_data,modal,verticalInset}=this.__closure;if(!result||result===previous){return;}if(result===INITIAL_LAYOUT_VALUE){return;}state.modify(function gorhom_useAnimatedLayoutJs5Factory({_worklet_14187347869363_init_data:_worklet_14187347869363_init_data,modal:modal,result:result,verticalInset:verticalInset}){const gorhom_useAnimatedLayoutJs5=function(_state){_state.containerHeight=modal?result-verticalInset:result;return _state;};gorhom_useAnimatedLayoutJs5.__closure={modal:modal,result:result,verticalInset:verticalInset};gorhom_useAnimatedLayoutJs5.__workletHash=14187347869363;gorhom_useAnimatedLayoutJs5.__initData=_worklet_14187347869363_init_data;return gorhom_useAnimatedLayoutJs5;}({_worklet_14187347869363_init_data:_worklet_14187347869363_init_data,modal:modal,result:result,verticalInset:verticalInset}));}"},h={code:"function gorhom_useAnimatedLayoutJs7(_state){const{window}=this.__closure;_state.window=window;return _state;}"}},3831,[35,224,1010,3803]);
17096
17096
  __d(function(g,r,i,a,m,_e,d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"useAnimatedKeyboard",{enumerable:!0,get:function(){return A}});var e=r(d[0]),n=t(r(d[1])),s=t(r(d[2]));r(d[3]);var o=r(d[4]),u=r(d[5]);const h='',c='',_={status:u.KEYBOARD_STATUS.UNDETERMINED,height:0,heightWithinContainer:0,easing:'keyboard',duration:500},S={code:"function gorhom_useAnimatedKeyboardJs1(status,height,duration,easing,bottomOffset){const{state,KEYBOARD_STATUS,temporaryCachedState}=this.__closure;const currentState=state.get();if(status===KEYBOARD_STATUS.SHOWN&&!currentState.target){temporaryCachedState.set({status:status,height:height,duration:duration,easing:easing});return;}temporaryCachedState.set(null);let adjustedHeight=status===KEYBOARD_STATUS.SHOWN?height:currentState.height;if(bottomOffset){adjustedHeight=adjustedHeight+bottomOffset;}state.set(function(state){return{status:status,easing:easing,duration:duration,height:adjustedHeight,target:state.target,heightWithinContainer:state.heightWithinContainer};});}"},l={code:"function gorhom_useAnimatedKeyboardJs2(){const{state}=this.__closure;return state.value.target;}"},f={code:"function gorhom_useAnimatedKeyboardJs3(result,previous){const{temporaryCachedState,handleKeyboardEvent}=this.__closure;if(!result||result===previous){return;}const cachedState=temporaryCachedState.get();if(!cachedState){return;}handleKeyboardEvent(cachedState.status,cachedState.height,cachedState.duration,cachedState.easing);}"},A=()=>{const t=(0,e.useRef)(new Set),A=(0,o.useSharedValue)(_),y=(0,o.useSharedValue)(null),O=(0,e.useCallback)((function({_worklet_15016264894810_init_data:t,state:e,KEYBOARD_STATUS:n,temporaryCachedState:s}){const o=function(t,o,u,h,c){const _=e.get();if(t===n.SHOWN&&!_.target)return void s.set({status:t,height:o,duration:u,easing:h});s.set(null);let S=t===n.SHOWN?o:_.height;c&&(S+=c),e.set(e=>({status:t,easing:h,duration:u,height:S,target:e.target,heightWithinContainer:e.heightWithinContainer}))};return o.__closure={state:e,KEYBOARD_STATUS:n,temporaryCachedState:s},o.__workletHash=0xda83f22895a,o.__initData=t,o})({_worklet_15016264894810_init_data:S,state:A,KEYBOARD_STATUS:u.KEYBOARD_STATUS,temporaryCachedState:y}),[A,y]);return(0,e.useEffect)(()=>{const t=n.default.get('screen').height,e=s.default.addListener(h,e=>{(0,o.runOnUI)(O)(u.KEYBOARD_STATUS.SHOWN,e.endCoordinates.height,e.duration,e.easing,t-e.endCoordinates.height-e.endCoordinates.screenY)}),_=s.default.addListener(c,t=>{(0,o.runOnUI)(O)(u.KEYBOARD_STATUS.HIDDEN,t.endCoordinates.height,t.duration,t.easing)});return()=>{e.remove(),_.remove()}},[O]),(0,o.useAnimatedReaction)((function({_worklet_7588873742592_init_data:t,state:e}){const n=()=>e.value.target;return n.__closure={state:e},n.__workletHash=7588873742592,n.__initData=t,n})({_worklet_7588873742592_init_data:l,state:A}),(function({_worklet_9948191630992_init_data:t,temporaryCachedState:e,handleKeyboardEvent:n}){const s=function(t,s){if(!t||t===s)return;const o=e.get();o&&n(o.status,o.height,o.duration,o.easing)};return s.__closure={temporaryCachedState:e,handleKeyboardEvent:n},s.__workletHash=9948191630992,s.__initData=t,s})({_worklet_9948191630992_init_data:f,temporaryCachedState:y,handleKeyboardEvent:O}),[y,O]),{state:A,textInputNodesRef:t}}},3832,[35,224,412,25,1010,3803]);
17097
17097
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useStableCallback=function(u){const c=(0,t.useRef)();return(0,t.useLayoutEffect)(()=>{c.current=u}),(0,t.useEffect)(()=>()=>{c.current=void 0},[]),(0,t.useCallback)((...t)=>c.current?.(...t),[])};var t=r(d[0])},3833,[35]);
17098
17098
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"usePropsValidator",{enumerable:!0,get:function(){return p}});var e,t=r(d[0]),n=(e=t)&&e.__esModule?e:{default:e},o=r(d[1]),s=r(d[2]);const p=({index:e,snapPoints:t,enableDynamicSizing:p,topInset:u,bottomInset:l,containerHeight:c,containerOffset:f})=>{(0,o.useMemo)(()=>{const o=t?'get'in t?t.get():t:[];(0,n.default)(o||p,"'snapPoints' was not provided! please provide at least one snap point."),o.forEach(e=>{const t='number'==typeof e?e:Number.parseInt(e.replace('%',''),10);(0,n.default)(t>0||t===s.INITIAL_SNAP_POINT,`Snap point '${e}' is invalid. if you want to allow user to close the sheet, Please use 'enablePanDownToClose' prop.`)}),(0,n.default)('value'in o||o.length>0||p,"'snapPoints' was provided with no points! please provide at least one snap point."),(0,n.default)('number'==typeof e||void 0===e,"'index' was provided but with wrong type ! expected type is a number."),(0,n.default)(p||'number'!=typeof e||e>=-1&&e<=o.length-1,"'index' was provided but out of the provided snap points range! expected value to be between -1, "+(o.length-1)),(0,n.default)('number'==typeof u||void 0===u,"'topInset' was provided but with wrong type ! expected type is a number."),(0,n.default)('number'==typeof l||void 0===l,"'bottomInset' was provided but with wrong type ! expected type is a number."),(0,n.default)(void 0===c,"'containerHeight' is deprecated, please use 'containerLayoutState'."),(0,n.default)(void 0===f,"'containerHeight' is deprecated, please use 'containerLayoutState'.")},[e,t,u,l,p,c,f])}},3834,[42,35,3835]);
@@ -95,6 +95,6 @@
95
95
  <body>
96
96
  <noscript>You need to enable JavaScript to run this app.</noscript>
97
97
  <div id="root"></div>
98
- <script src="/_expo/static/js/web/index-d0965dc045fe0b7fe2194efa2f14b76f.js" defer></script>
98
+ <script src="/_expo/static/js/web/index-38317b2dcafbf69ca611aad7da1d61b8.js" defer></script>
99
99
  </body>
100
100
  </html>
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/server",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Paseo backend server",
5
5
  "files": [
6
6
  "dist/server",
@@ -107,11 +107,11 @@
107
107
  "@agentclientprotocol/sdk": "^0.17.1",
108
108
  "@anthropic-ai/claude-agent-sdk": "0.3.246",
109
109
  "@anthropic-ai/sdk": "^0.104.2",
110
- "@getpaseo/client": "0.13.1",
111
- "@getpaseo/highlight": "0.13.1",
112
- "@getpaseo/plugin": "0.13.1",
113
- "@getpaseo/protocol": "0.13.1",
114
- "@getpaseo/relay": "0.13.1",
110
+ "@getpaseo/client": "0.13.2",
111
+ "@getpaseo/highlight": "0.13.2",
112
+ "@getpaseo/plugin": "0.13.2",
113
+ "@getpaseo/protocol": "0.13.2",
114
+ "@getpaseo/relay": "0.13.2",
115
115
  "@isaacs/ttlcache": "^2.1.4",
116
116
  "@modelcontextprotocol/sdk": "1.29.0",
117
117
  "@opencode-ai/sdk": "1.14.46",