peachsim 0.1.801 → 0.1.810
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.
- package/cli/outbound-endpoints.ts +4 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +11 -4
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +11 -4
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +131 -102
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +137 -108
- package/dist-lib/swift-compile.cjs +11 -4
- package/dist-lib/swift-compile.mjs +11 -4
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +11 -4
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +119 -0
- package/dist-lib/worklet-executable.mjs +93 -0
- package/package.json +9 -1
- package/src/swift-compile.ts +11 -2
- package/src/vite-plugin.ts +5 -2
- package/src/worklet-executable.ts +125 -0
- package/src/worklets-babel.ts +47 -6
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.810 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -7775,9 +7775,9 @@ var init_registry = __esm({
|
|
|
7775
7775
|
{
|
|
7776
7776
|
range: ">=14.0.0",
|
|
7777
7777
|
coverage: 0.93,
|
|
7778
|
-
note: "real getUserMedia preview + canvas-backed photo capture with base64 + MediaRecorder-backed video recording. recordAsync starts a MediaRecorder against the live stream (mp4 with webm fallback when video/mp4 is not supported), maxDuration auto-stops, stopRecording returns a real blob URL via URL.createObjectURL. Permissions go through navigator.permissions + getUserMedia probes.
|
|
7779
|
-
working: "CameraView (live video stream via getUserMedia), facing/mirror support, takePictureAsync (canvas capture with base64), recordAsync via MediaRecorder with mp4/webm fallback returning a blob URL, stopRecording, maxDuration auto-stop, useCameraPermissions, useMicrophonePermissions, getCameraPermissionsAsync, requestCameraPermissionsAsync, getMicrophonePermissionsAsync, requestMicrophonePermissionsAsync, pausePreview/resumePreview, getAvailablePictureSizesAsync (real video.videoWidth/videoHeight), Camera.Constants compat, enums (CameraType/FlashMode/AutoFocus/CameraMode/VideoQuality/PermissionStatus)",
|
|
7780
|
-
missing: "
|
|
7778
|
+
note: "real getUserMedia preview + canvas-backed photo capture with base64 + MediaRecorder-backed video recording. recordAsync starts a MediaRecorder against the live stream (mp4 with webm fallback when video/mp4 is not supported), maxDuration auto-stops, stopRecording returns a real blob URL via URL.createObjectURL. Permissions go through navigator.permissions + getUserMedia probes. Live barcode scanning uses the lazy engine wasm reader; flash/torch/zoom remain unavailable.",
|
|
7779
|
+
working: "CameraView (live video stream via getUserMedia), live barcode scanning with native result geometry, facing/mirror support, takePictureAsync (canvas capture with base64), recordAsync via MediaRecorder with mp4/webm fallback returning a blob URL, stopRecording, maxDuration auto-stop, useCameraPermissions, useMicrophonePermissions, getCameraPermissionsAsync, requestCameraPermissionsAsync, getMicrophonePermissionsAsync, requestMicrophonePermissionsAsync, pausePreview/resumePreview, getAvailablePictureSizesAsync (real video.videoWidth/videoHeight), Camera.Constants compat, enums (CameraType/FlashMode/AutoFocus/CameraMode/VideoQuality/PermissionStatus)",
|
|
7780
|
+
missing: "scanFromURLAsync (no browser equivalent without an external library), flash/torch/zoom (browser MediaTrackConstraints expose torch on Android Chrome only \u2014 not wired), maxFileSize honoring (would need stream-size accounting)"
|
|
7781
7781
|
}
|
|
7782
7782
|
]
|
|
7783
7783
|
},
|
|
@@ -12932,9 +12932,9 @@ var init_registry = __esm({
|
|
|
12932
12932
|
{
|
|
12933
12933
|
range: ">=1.0.0",
|
|
12934
12934
|
coverage: 0.85,
|
|
12935
|
-
note: "native-seam: the BarcodeFormat enum + LINKING_ERROR proxy run from the bundle; the BarcodeScanning native module backs scan() with the
|
|
12936
|
-
working: "scan(imageURL) for file:// (VFS) / http(s) / data: images, all
|
|
12937
|
-
missing: "
|
|
12935
|
+
note: "native-seam: the BarcodeFormat enum + LINKING_ERROR proxy run from the bundle; the BarcodeScanning native module backs scan() with the lazy engine wasm reader, loading the source image through the shared expo-file-system VFS / fetch loader and mapping results to upstream\u2019s exact { format, value } shape with the BarcodeFormat enum values",
|
|
12936
|
+
working: "scan(imageURL) for file:// (VFS) / http(s) / data: images, all native scanner symbologies mapped to BarcodeFormat (QR/CODE_128/39/93/CODABAR/DATA_MATRIX/EAN/ITF/UPC/PDF417/AZTEC), BarcodeFormat enum",
|
|
12937
|
+
missing: "no richer ML Kit bounding-box/cornerPoints payload (upstream Barcode is only { format, value }); no barcode resolves an empty array"
|
|
12938
12938
|
}
|
|
12939
12939
|
]
|
|
12940
12940
|
},
|
|
@@ -29437,7 +29437,7 @@ function swiftTargetDependencies(files2, targets) {
|
|
|
29437
29437
|
}
|
|
29438
29438
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
29439
29439
|
const hash = (0, import_node_crypto3.createHash)("sha256");
|
|
29440
|
-
hash.update(`swift-compile/
|
|
29440
|
+
hash.update(`swift-compile/v20
|
|
29441
29441
|
${release}
|
|
29442
29442
|
`);
|
|
29443
29443
|
if (input.oneModule) hash.update("one-module\n");
|
|
@@ -30050,7 +30050,9 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
30050
30050
|
numberOfRowsInSection: "tableView:numberOfRowsInSection:",
|
|
30051
30051
|
cellForRowAt: "tableView:cellForRowAtIndexPath:",
|
|
30052
30052
|
titleForHeaderInSection: "tableView:titleForHeaderInSection:",
|
|
30053
|
-
titleForFooterInSection: "tableView:titleForFooterInSection:"
|
|
30053
|
+
titleForFooterInSection: "tableView:titleForFooterInSection:",
|
|
30054
|
+
canEditRowAt: "tableView:canEditRowAtIndexPath:",
|
|
30055
|
+
commit: "tableView:commitEditingStyle:forRowAtIndexPath:"
|
|
30054
30056
|
};
|
|
30055
30057
|
const delegate = {
|
|
30056
30058
|
willDisplay: "tableView:willDisplayCell:forRowAtIndexPath:",
|
|
@@ -30074,7 +30076,12 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
30074
30076
|
willDeselectRowAt: "tableView:willDeselectRowAtIndexPath:",
|
|
30075
30077
|
didSelectRowAt: "tableView:didSelectRowAtIndexPath:",
|
|
30076
30078
|
didDeselectRowAt: "tableView:didDeselectRowAtIndexPath:",
|
|
30077
|
-
accessoryButtonTappedForRowWith: "tableView:accessoryButtonTappedForRowWithIndexPath:"
|
|
30079
|
+
accessoryButtonTappedForRowWith: "tableView:accessoryButtonTappedForRowWithIndexPath:",
|
|
30080
|
+
editingStyleForRowAt: "tableView:editingStyleForRowAtIndexPath:",
|
|
30081
|
+
leadingSwipeActionsConfigurationForRowAt: "tableView:leadingSwipeActionsConfigurationForRowAtIndexPath:",
|
|
30082
|
+
trailingSwipeActionsConfigurationForRowAt: "tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:",
|
|
30083
|
+
willBeginEditingRowAt: "tableView:willBeginEditingRowAtIndexPath:",
|
|
30084
|
+
didEndEditingRowAt: "tableView:didEndEditingRowAtIndexPath:"
|
|
30078
30085
|
};
|
|
30079
30086
|
const braces = [...code.matchAll(/[{}]/g)].map((match) => match.index);
|
|
30080
30087
|
const edits = [];
|
|
@@ -41467,7 +41474,7 @@ var init_devices = __esm({
|
|
|
41467
41474
|
PIXEL_8_LANDSCAPE_STATUS_BAR_HEIGHT = Math.round(28 * 2.625) / 2.625;
|
|
41468
41475
|
DUO_DIVISION_REGION_WIDTH = 40;
|
|
41469
41476
|
devices = {
|
|
41470
|
-
"canvas-workspace": iosDevice({
|
|
41477
|
+
"canvas-workspace": /* @__PURE__ */ iosDevice({
|
|
41471
41478
|
model: "canvas-workspace",
|
|
41472
41479
|
name: "Canvas Workspace",
|
|
41473
41480
|
width: 1440,
|
|
@@ -41476,9 +41483,9 @@ var init_devices = __esm({
|
|
|
41476
41483
|
statusBarHeight: 0,
|
|
41477
41484
|
landscapeStatusBarHeight: 0,
|
|
41478
41485
|
homeIndicatorHeight: 0,
|
|
41479
|
-
cornerRadius: cornerRadii(0),
|
|
41480
|
-
continuousCornerRadius: cornerRadii(0),
|
|
41481
|
-
frameInsets: uniformFrameInsets(16),
|
|
41486
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(0),
|
|
41487
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(0),
|
|
41488
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(16),
|
|
41482
41489
|
dynamicIsland: null,
|
|
41483
41490
|
safeAreaInsets: { top: 0, bottom: 0, left: 0, right: 0 },
|
|
41484
41491
|
iosVersion: "27.0",
|
|
@@ -41486,7 +41493,7 @@ var init_devices = __esm({
|
|
|
41486
41493
|
// height so the experimental profile still shows a keyboard.
|
|
41487
41494
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41488
41495
|
physicalPPI: 110,
|
|
41489
|
-
hardwareButtons: modernButtons(
|
|
41496
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41490
41497
|
[185.8, 41.7],
|
|
41491
41498
|
[258.2, 67.6],
|
|
41492
41499
|
[344, 67.6],
|
|
@@ -41494,7 +41501,7 @@ var init_devices = __esm({
|
|
|
41494
41501
|
),
|
|
41495
41502
|
experimental: true
|
|
41496
41503
|
}),
|
|
41497
|
-
"iphone-se": iosDevice({
|
|
41504
|
+
"iphone-se": /* @__PURE__ */ iosDevice({
|
|
41498
41505
|
model: "iphone-se",
|
|
41499
41506
|
name: "iPhone SE",
|
|
41500
41507
|
width: 375,
|
|
@@ -41503,12 +41510,12 @@ var init_devices = __esm({
|
|
|
41503
41510
|
statusBarHeight: 20,
|
|
41504
41511
|
landscapeStatusBarHeight: 0,
|
|
41505
41512
|
homeIndicatorHeight: 0,
|
|
41506
|
-
cornerRadius: cornerRadii(0),
|
|
41507
|
-
continuousCornerRadius: cornerRadii(0),
|
|
41513
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(0),
|
|
41514
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(0),
|
|
41508
41515
|
// legacy home-button frame uses asymmetric LEGACY_*_BEZEL constants in the
|
|
41509
41516
|
// shell (111pt forehead/chin, 29pt sides); uniform frameInsets are a sane
|
|
41510
41517
|
// modern-path value and mirror the SE's ~28.7pt side bezel.
|
|
41511
|
-
frameInsets: uniformFrameInsets(28.7),
|
|
41518
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(28.7),
|
|
41512
41519
|
dynamicIsland: null,
|
|
41513
41520
|
safeAreaInsets: { top: 20, bottom: 0, left: 0, right: 0 },
|
|
41514
41521
|
iosVersion: "27.0",
|
|
@@ -41516,7 +41523,7 @@ var init_devices = __esm({
|
|
|
41516
41523
|
physicalPPI: 326,
|
|
41517
41524
|
hardwareButtons: LEGACY_HARDWARE_BUTTONS
|
|
41518
41525
|
}),
|
|
41519
|
-
"iphone-14": iosDevice({
|
|
41526
|
+
"iphone-14": /* @__PURE__ */ iosDevice({
|
|
41520
41527
|
model: "iphone-14",
|
|
41521
41528
|
name: "iPhone 14",
|
|
41522
41529
|
width: 390,
|
|
@@ -41525,22 +41532,22 @@ var init_devices = __esm({
|
|
|
41525
41532
|
statusBarHeight: 47,
|
|
41526
41533
|
landscapeStatusBarHeight: 0,
|
|
41527
41534
|
homeIndicatorHeight: 34,
|
|
41528
|
-
cornerRadius: cornerRadii(46.2),
|
|
41529
|
-
continuousCornerRadius: cornerRadii(67.462),
|
|
41530
|
-
frameInsets: uniformFrameInsets(19.5),
|
|
41535
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(46.2),
|
|
41536
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(67.462),
|
|
41537
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(19.5),
|
|
41531
41538
|
dynamicIsland: null,
|
|
41532
41539
|
safeAreaInsets: { top: 47, bottom: 34, left: 0, right: 0 },
|
|
41533
41540
|
iosVersion: "27.0",
|
|
41534
41541
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41535
41542
|
physicalPPI: 460,
|
|
41536
|
-
hardwareButtons: modernButtons(
|
|
41543
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41537
41544
|
[141.7, 29.7],
|
|
41538
41545
|
[205.9, 69.6],
|
|
41539
41546
|
[289.5, 69.6],
|
|
41540
41547
|
[228.9, 114.5]
|
|
41541
41548
|
)
|
|
41542
41549
|
}),
|
|
41543
|
-
"iphone-15": iosDevice({
|
|
41550
|
+
"iphone-15": /* @__PURE__ */ iosDevice({
|
|
41544
41551
|
model: "iphone-15",
|
|
41545
41552
|
name: "iPhone 15",
|
|
41546
41553
|
width: 393,
|
|
@@ -41549,23 +41556,23 @@ var init_devices = __esm({
|
|
|
41549
41556
|
statusBarHeight: 59,
|
|
41550
41557
|
landscapeStatusBarHeight: 0,
|
|
41551
41558
|
homeIndicatorHeight: 34,
|
|
41552
|
-
cornerRadius: cornerRadii(53.9),
|
|
41553
|
-
continuousCornerRadius: cornerRadii(73.402),
|
|
41554
|
-
frameInsets: uniformFrameInsets(18.2),
|
|
41559
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41560
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(73.402),
|
|
41561
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(18.2),
|
|
41555
41562
|
dynamicIsland: { width: 125, height: 110 / 3, top: 34 / 3 },
|
|
41556
41563
|
statusRowCenter: 32.75,
|
|
41557
41564
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41558
41565
|
iosVersion: "27.0",
|
|
41559
41566
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41560
41567
|
physicalPPI: 460,
|
|
41561
|
-
hardwareButtons: modernButtons(
|
|
41568
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41562
41569
|
[171.7, 32],
|
|
41563
41570
|
[235.8, 65.3],
|
|
41564
41571
|
[320.5, 65.3],
|
|
41565
41572
|
[280.6, 105.2]
|
|
41566
41573
|
)
|
|
41567
41574
|
}),
|
|
41568
|
-
"iphone-15-plus": iosDevice({
|
|
41575
|
+
"iphone-15-plus": /* @__PURE__ */ iosDevice({
|
|
41569
41576
|
model: "iphone-15-plus",
|
|
41570
41577
|
name: "iPhone 15 Plus",
|
|
41571
41578
|
width: 430,
|
|
@@ -41574,23 +41581,23 @@ var init_devices = __esm({
|
|
|
41574
41581
|
statusBarHeight: 59,
|
|
41575
41582
|
landscapeStatusBarHeight: 0,
|
|
41576
41583
|
homeIndicatorHeight: 34,
|
|
41577
|
-
cornerRadius: cornerRadii(53.9),
|
|
41578
|
-
continuousCornerRadius: cornerRadii(74.654),
|
|
41579
|
-
frameInsets: uniformFrameInsets(17.3),
|
|
41584
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41585
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(74.654),
|
|
41586
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(17.3),
|
|
41580
41587
|
dynamicIsland: { width: 376 / 3, height: 110 / 3, top: 34 / 3 },
|
|
41581
41588
|
statusRowCenter: 30.05,
|
|
41582
41589
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41583
41590
|
iosVersion: "27.0",
|
|
41584
41591
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41585
41592
|
physicalPPI: 460,
|
|
41586
|
-
hardwareButtons: modernButtons(
|
|
41593
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41587
41594
|
[172.1, 33],
|
|
41588
41595
|
[236.1, 66.6],
|
|
41589
41596
|
[321.2, 66.6],
|
|
41590
41597
|
[281, 106.8]
|
|
41591
41598
|
)
|
|
41592
41599
|
}),
|
|
41593
|
-
"iphone-15-pro": iosDevice({
|
|
41600
|
+
"iphone-15-pro": /* @__PURE__ */ iosDevice({
|
|
41594
41601
|
model: "iphone-15-pro",
|
|
41595
41602
|
name: "iPhone 15 Pro",
|
|
41596
41603
|
width: 393,
|
|
@@ -41599,23 +41606,23 @@ var init_devices = __esm({
|
|
|
41599
41606
|
statusBarHeight: 59,
|
|
41600
41607
|
landscapeStatusBarHeight: 0,
|
|
41601
41608
|
homeIndicatorHeight: 34,
|
|
41602
|
-
cornerRadius: cornerRadii(53.9),
|
|
41603
|
-
continuousCornerRadius: cornerRadii(73.402),
|
|
41604
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41609
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41610
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(73.402),
|
|
41611
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41605
41612
|
dynamicIsland: { width: 125, height: 110 / 3, top: 34 / 3 },
|
|
41606
41613
|
statusRowCenter: 32.4,
|
|
41607
41614
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41608
41615
|
iosVersion: "27.0",
|
|
41609
41616
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41610
41617
|
physicalPPI: 460,
|
|
41611
|
-
hardwareButtons: modernButtons(
|
|
41618
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41612
41619
|
[159.1, 31.5],
|
|
41613
41620
|
[220.1, 61.9],
|
|
41614
41621
|
[299, 61.9],
|
|
41615
41622
|
[260.8, 98.9]
|
|
41616
41623
|
)
|
|
41617
41624
|
}),
|
|
41618
|
-
"iphone-15-pro-max": iosDevice({
|
|
41625
|
+
"iphone-15-pro-max": /* @__PURE__ */ iosDevice({
|
|
41619
41626
|
model: "iphone-15-pro-max",
|
|
41620
41627
|
name: "iPhone 15 Pro Max",
|
|
41621
41628
|
width: 430,
|
|
@@ -41624,23 +41631,23 @@ var init_devices = __esm({
|
|
|
41624
41631
|
statusBarHeight: 59,
|
|
41625
41632
|
landscapeStatusBarHeight: 0,
|
|
41626
41633
|
homeIndicatorHeight: 34,
|
|
41627
|
-
cornerRadius: cornerRadii(53.9),
|
|
41628
|
-
continuousCornerRadius: cornerRadii(74.654),
|
|
41629
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41634
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41635
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(74.654),
|
|
41636
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41630
41637
|
dynamicIsland: { width: 376 / 3, height: 110 / 3, top: 34 / 3 },
|
|
41631
41638
|
statusRowCenter: 32.3,
|
|
41632
41639
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41633
41640
|
iosVersion: "27.0",
|
|
41634
41641
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41635
41642
|
physicalPPI: 460,
|
|
41636
|
-
hardwareButtons: modernButtons(
|
|
41643
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41637
41644
|
[173.3, 32.2],
|
|
41638
41645
|
[253.4, 61.7],
|
|
41639
41646
|
[343.3, 61.7],
|
|
41640
41647
|
[268.5, 98.5]
|
|
41641
41648
|
)
|
|
41642
41649
|
}),
|
|
41643
|
-
"iphone-16": iosDevice({
|
|
41650
|
+
"iphone-16": /* @__PURE__ */ iosDevice({
|
|
41644
41651
|
model: "iphone-16",
|
|
41645
41652
|
name: "iPhone 16",
|
|
41646
41653
|
width: 393,
|
|
@@ -41653,23 +41660,23 @@ var init_devices = __esm({
|
|
|
41653
41660
|
// mask (extracted from the simdevicetype bundle PDF; see
|
|
41654
41661
|
// packages/peach-engine/assets/device-frame-geometry). radius is a paint clip only — the
|
|
41655
41662
|
// calibrated conformance-oracle layout fields below are unchanged.
|
|
41656
|
-
cornerRadius: cornerRadii(53.9),
|
|
41657
|
-
continuousCornerRadius: cornerRadii(73.402),
|
|
41658
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41663
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41664
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(73.402),
|
|
41665
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41659
41666
|
dynamicIsland: { width: 125, height: 110 / 3, top: 34 / 3 },
|
|
41660
41667
|
statusRowCenter: 29.65,
|
|
41661
41668
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41662
41669
|
iosVersion: "27.0",
|
|
41663
41670
|
keyboardPanelHeights: { qwerty: 301, pad: 302, emoji: 395 },
|
|
41664
41671
|
physicalPPI: 460,
|
|
41665
|
-
hardwareButtons: modernButtons(
|
|
41672
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41666
41673
|
[159.1, 31.5],
|
|
41667
41674
|
[220.1, 61.9],
|
|
41668
41675
|
[299, 61.9],
|
|
41669
41676
|
[260.8, 98.9]
|
|
41670
41677
|
)
|
|
41671
41678
|
}),
|
|
41672
|
-
"iphone-16-plus": iosDevice({
|
|
41679
|
+
"iphone-16-plus": /* @__PURE__ */ iosDevice({
|
|
41673
41680
|
model: "iphone-16-plus",
|
|
41674
41681
|
name: "iPhone 16 Plus",
|
|
41675
41682
|
width: 430,
|
|
@@ -41678,23 +41685,23 @@ var init_devices = __esm({
|
|
|
41678
41685
|
statusBarHeight: 59,
|
|
41679
41686
|
landscapeStatusBarHeight: 0,
|
|
41680
41687
|
homeIndicatorHeight: 34,
|
|
41681
|
-
cornerRadius: cornerRadii(53.9),
|
|
41682
|
-
continuousCornerRadius: cornerRadii(74.654),
|
|
41683
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41688
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(53.9),
|
|
41689
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(74.654),
|
|
41690
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41684
41691
|
dynamicIsland: { width: 376 / 3, height: 110 / 3, top: 34 / 3 },
|
|
41685
41692
|
statusRowCenter: 30.05,
|
|
41686
41693
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
41687
41694
|
iosVersion: "27.0",
|
|
41688
41695
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41689
41696
|
physicalPPI: 460,
|
|
41690
|
-
hardwareButtons: modernButtons(
|
|
41697
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41691
41698
|
[173.3, 32.2],
|
|
41692
41699
|
[253.4, 61.7],
|
|
41693
41700
|
[343.3, 61.7],
|
|
41694
41701
|
[268.5, 98.5]
|
|
41695
41702
|
)
|
|
41696
41703
|
}),
|
|
41697
|
-
"iphone-16-pro": iosDevice({
|
|
41704
|
+
"iphone-16-pro": /* @__PURE__ */ iosDevice({
|
|
41698
41705
|
model: "iphone-16-pro",
|
|
41699
41706
|
name: "iPhone 16 Pro",
|
|
41700
41707
|
width: 402,
|
|
@@ -41705,23 +41712,23 @@ var init_devices = __esm({
|
|
|
41705
41712
|
statusBarHeight: 62,
|
|
41706
41713
|
landscapeStatusBarHeight: 0,
|
|
41707
41714
|
homeIndicatorHeight: 34,
|
|
41708
|
-
cornerRadius: cornerRadii(61),
|
|
41709
|
-
continuousCornerRadius: cornerRadii(84.661),
|
|
41710
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41715
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(61),
|
|
41716
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(84.661),
|
|
41717
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41711
41718
|
dynamicIsland: { width: 125, height: 110 / 3, top: 14 },
|
|
41712
41719
|
statusRowCenter: 32.5,
|
|
41713
41720
|
safeAreaInsets: { top: 62, bottom: 34, left: 0, right: 0 },
|
|
41714
41721
|
iosVersion: "27.0",
|
|
41715
41722
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41716
41723
|
physicalPPI: 460,
|
|
41717
|
-
hardwareButtons: modernButtons(
|
|
41724
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41718
41725
|
[159.1, 31.5],
|
|
41719
41726
|
[220.1, 61.9],
|
|
41720
41727
|
[299, 61.9],
|
|
41721
41728
|
[260.8, 98.9]
|
|
41722
41729
|
)
|
|
41723
41730
|
}),
|
|
41724
|
-
"iphone-16-pro-max": iosDevice({
|
|
41731
|
+
"iphone-16-pro-max": /* @__PURE__ */ iosDevice({
|
|
41725
41732
|
model: "iphone-16-pro-max",
|
|
41726
41733
|
name: "iPhone 16 Pro Max",
|
|
41727
41734
|
width: 440,
|
|
@@ -41733,23 +41740,23 @@ var init_devices = __esm({
|
|
|
41733
41740
|
statusBarHeight: 62,
|
|
41734
41741
|
landscapeStatusBarHeight: 0,
|
|
41735
41742
|
homeIndicatorHeight: 34,
|
|
41736
|
-
cornerRadius: cornerRadii(61.3),
|
|
41737
|
-
continuousCornerRadius: cornerRadii(85.163),
|
|
41738
|
-
frameInsets: uniformFrameInsets(15.4),
|
|
41743
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(61.3),
|
|
41744
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(85.163),
|
|
41745
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.4),
|
|
41739
41746
|
dynamicIsland: { width: 376 / 3, height: 110 / 3, top: 14 },
|
|
41740
41747
|
statusRowCenter: 33,
|
|
41741
41748
|
safeAreaInsets: { top: 62, bottom: 34, left: 0, right: 0 },
|
|
41742
41749
|
iosVersion: "27.0",
|
|
41743
41750
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41744
41751
|
physicalPPI: 460,
|
|
41745
|
-
hardwareButtons: modernButtons(
|
|
41752
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41746
41753
|
[178.8, 32.2],
|
|
41747
41754
|
[266.8, 61.8],
|
|
41748
41755
|
[352.7, 61.8],
|
|
41749
41756
|
[292.2, 98.3]
|
|
41750
41757
|
)
|
|
41751
41758
|
}),
|
|
41752
|
-
"iphone-17": iosDevice({
|
|
41759
|
+
"iphone-17": /* @__PURE__ */ iosDevice({
|
|
41753
41760
|
model: "iphone-17",
|
|
41754
41761
|
name: "iPhone 17",
|
|
41755
41762
|
width: 402,
|
|
@@ -41759,24 +41766,24 @@ var init_devices = __esm({
|
|
|
41759
41766
|
statusBarHeight: 62,
|
|
41760
41767
|
landscapeStatusBarHeight: 0,
|
|
41761
41768
|
homeIndicatorHeight: 34,
|
|
41762
|
-
cornerRadius: cornerRadii(61),
|
|
41763
|
-
continuousCornerRadius: cornerRadii(84.661),
|
|
41769
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(61),
|
|
41770
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(84.661),
|
|
41764
41771
|
// display border 1.44mm plus the visible flat housing rail.
|
|
41765
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41772
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41766
41773
|
dynamicIsland: { width: 125, height: 110 / 3, top: 14 },
|
|
41767
41774
|
statusRowCenter: 32.65,
|
|
41768
41775
|
safeAreaInsets: { top: 62, bottom: 34, left: 0, right: 0 },
|
|
41769
41776
|
iosVersion: "27.0",
|
|
41770
41777
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41771
41778
|
physicalPPI: 460,
|
|
41772
|
-
hardwareButtons: modernButtons(
|
|
41779
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41773
41780
|
[159.1, 31.5],
|
|
41774
41781
|
[220.1, 61.9],
|
|
41775
41782
|
[299, 61.9],
|
|
41776
41783
|
[260.8, 98.9]
|
|
41777
41784
|
)
|
|
41778
41785
|
}),
|
|
41779
|
-
"iphone-17-air": iosDevice({
|
|
41786
|
+
"iphone-17-air": /* @__PURE__ */ iosDevice({
|
|
41780
41787
|
model: "iphone-17-air",
|
|
41781
41788
|
// apple markets this as "iphone air" (not "iphone 17 air"). the real air
|
|
41782
41789
|
// is 420x912 with thin bezels and a lower-sitting island. it is not the
|
|
@@ -41791,8 +41798,8 @@ var init_devices = __esm({
|
|
|
41791
41798
|
statusBarHeight: 68,
|
|
41792
41799
|
landscapeStatusBarHeight: 0,
|
|
41793
41800
|
homeIndicatorHeight: 34,
|
|
41794
|
-
cornerRadius: cornerRadii(64.6),
|
|
41795
|
-
continuousCornerRadius: cornerRadii(88.313),
|
|
41801
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(64.6),
|
|
41802
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(88.313),
|
|
41796
41803
|
// WHICH QUANTITY THIS IS, because it has been flipped twice and each pass
|
|
41797
41804
|
// read the other one as a bug: frameInsets is the VISIBLE FACE-ON frame —
|
|
41798
41805
|
// the black display border plus however much housing rail you actually see
|
|
@@ -41808,21 +41815,21 @@ var init_devices = __esm({
|
|
|
41808
41815
|
// So: 1.435mm display border = 8.69pt, plus ~2pt of rail that is actually
|
|
41809
41816
|
// face-on. The 17 Pro's flat rail contributes ~6.6pt on the same basis,
|
|
41810
41817
|
// which is why it sits at 15.3 and the Air should not.
|
|
41811
|
-
frameInsets: uniformFrameInsets(10.7),
|
|
41818
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(10.7),
|
|
41812
41819
|
dynamicIsland: { width: 125, height: 110 / 3, top: 20 },
|
|
41813
41820
|
statusRowCenter: 39,
|
|
41814
41821
|
safeAreaInsets: { top: 68, bottom: 34, left: 0, right: 0 },
|
|
41815
41822
|
iosVersion: "27.0",
|
|
41816
41823
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41817
41824
|
physicalPPI: 460,
|
|
41818
|
-
hardwareButtons: modernButtons(
|
|
41825
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41819
41826
|
[178.8, 32.2],
|
|
41820
41827
|
[266.8, 61.8],
|
|
41821
41828
|
[352.7, 61.8],
|
|
41822
41829
|
[292.2, 98.3]
|
|
41823
41830
|
)
|
|
41824
41831
|
}),
|
|
41825
|
-
"iphone-17-pro": iosDevice({
|
|
41832
|
+
"iphone-17-pro": /* @__PURE__ */ iosDevice({
|
|
41826
41833
|
model: "iphone-17-pro",
|
|
41827
41834
|
name: "iPhone 17 Pro",
|
|
41828
41835
|
width: 402,
|
|
@@ -41835,27 +41842,27 @@ var init_devices = __esm({
|
|
|
41835
41842
|
statusBarHeight: 62,
|
|
41836
41843
|
landscapeStatusBarHeight: 0,
|
|
41837
41844
|
homeIndicatorHeight: 34,
|
|
41838
|
-
cornerRadius: cornerRadii(61),
|
|
41839
|
-
continuousCornerRadius: cornerRadii(84.661),
|
|
41845
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(61),
|
|
41846
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(84.661),
|
|
41840
41847
|
// the ios 27 simulator's ContainerRelativeShape at the root draws 62
|
|
41841
41848
|
// less its smallest inset from the display (54 at 8pt, 32 at 30pt).
|
|
41842
|
-
systemCornerRadius: cornerRadii(62),
|
|
41849
|
+
systemCornerRadius: /* @__PURE__ */ cornerRadii(62),
|
|
41843
41850
|
// display border 1.44mm plus the visible flat housing rail.
|
|
41844
|
-
frameInsets: uniformFrameInsets(15.3),
|
|
41851
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.3),
|
|
41845
41852
|
dynamicIsland: { width: 125, height: 110 / 3, top: 14 },
|
|
41846
41853
|
statusRowCenter: 33,
|
|
41847
41854
|
safeAreaInsets: { top: 62, bottom: 34, left: 0, right: 0 },
|
|
41848
41855
|
iosVersion: "27.0",
|
|
41849
41856
|
keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
|
|
41850
41857
|
physicalPPI: 460,
|
|
41851
|
-
hardwareButtons: modernButtons(
|
|
41858
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41852
41859
|
[159.1, 31.5],
|
|
41853
41860
|
[220.1, 61.9],
|
|
41854
41861
|
[299, 61.9],
|
|
41855
41862
|
[260.8, 98.9]
|
|
41856
41863
|
)
|
|
41857
41864
|
}),
|
|
41858
|
-
"iphone-17-pro-max": iosDevice({
|
|
41865
|
+
"iphone-17-pro-max": /* @__PURE__ */ iosDevice({
|
|
41859
41866
|
model: "iphone-17-pro-max",
|
|
41860
41867
|
name: "iPhone 17 Pro Max",
|
|
41861
41868
|
width: 440,
|
|
@@ -41866,17 +41873,17 @@ var init_devices = __esm({
|
|
|
41866
41873
|
statusBarHeight: 62,
|
|
41867
41874
|
landscapeStatusBarHeight: 0,
|
|
41868
41875
|
homeIndicatorHeight: 34,
|
|
41869
|
-
cornerRadius: cornerRadii(61.3),
|
|
41870
|
-
continuousCornerRadius: cornerRadii(85.163),
|
|
41876
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(61.3),
|
|
41877
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(85.163),
|
|
41871
41878
|
// display border 1.36mm plus the visible flat housing rail.
|
|
41872
|
-
frameInsets: uniformFrameInsets(15.4),
|
|
41879
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(15.4),
|
|
41873
41880
|
dynamicIsland: { width: 376 / 3, height: 110 / 3, top: 14 },
|
|
41874
41881
|
statusRowCenter: 33,
|
|
41875
41882
|
safeAreaInsets: { top: 62, bottom: 34, left: 0, right: 0 },
|
|
41876
41883
|
iosVersion: "27.0",
|
|
41877
41884
|
keyboardPanelHeights: { qwerty: 311, pad: 311, emoji: 405 },
|
|
41878
41885
|
physicalPPI: 460,
|
|
41879
|
-
hardwareButtons: modernButtons(
|
|
41886
|
+
hardwareButtons: /* @__PURE__ */ modernButtons(
|
|
41880
41887
|
[178.8, 32.2],
|
|
41881
41888
|
[266.8, 61.8],
|
|
41882
41889
|
[352.7, 61.8],
|
|
@@ -41887,7 +41894,7 @@ var init_devices = __esm({
|
|
|
41887
41894
|
// offered on contributor surfaces only while the 27 home and the hinge
|
|
41888
41895
|
// measurements are still settling (nate, 2026-09-15).
|
|
41889
41896
|
developmentOnly: true,
|
|
41890
|
-
|
|
41897
|
+
.../* @__PURE__ */ iosDevice({
|
|
41891
41898
|
model: "iphone-duo",
|
|
41892
41899
|
name: "iPhone Duo",
|
|
41893
41900
|
width: 466,
|
|
@@ -41937,7 +41944,7 @@ var init_devices = __esm({
|
|
|
41937
41944
|
keyboardPanelHeights: { qwerty: 252, pad: 256, emoji: 338 },
|
|
41938
41945
|
physicalPPI: 460,
|
|
41939
41946
|
// official model extraction for button positions is outside this slice.
|
|
41940
|
-
hardwareButtons: modernButtons([0, 0], [0, 0], [0, 0], [0, 0]),
|
|
41947
|
+
hardwareButtons: /* @__PURE__ */ modernButtons([0, 0], [0, 0], [0, 0], [0, 0]),
|
|
41941
41948
|
posture: "closed",
|
|
41942
41949
|
supportedPostures: ["closed", "open"]
|
|
41943
41950
|
}),
|
|
@@ -41953,9 +41960,21 @@ var init_devices = __esm({
|
|
|
41953
41960
|
// frame and hardware buttons are not sourced yet, so this stays off the
|
|
41954
41961
|
// shipping picker the same way the duo does.
|
|
41955
41962
|
developmentOnly: true,
|
|
41956
|
-
|
|
41963
|
+
.../* @__PURE__ */ ipadProDevice(
|
|
41964
|
+
"ipad-pro-11",
|
|
41965
|
+
"iPad Pro 11-inch (M5)",
|
|
41966
|
+
834,
|
|
41967
|
+
1210,
|
|
41968
|
+
11
|
|
41969
|
+
)
|
|
41957
41970
|
},
|
|
41958
|
-
"ipad-pro-13":
|
|
41971
|
+
"ipad-pro-13": /* @__PURE__ */ ipadProDevice(
|
|
41972
|
+
"ipad-pro-13",
|
|
41973
|
+
"iPad Pro 13-inch (M5)",
|
|
41974
|
+
1032,
|
|
41975
|
+
1376,
|
|
41976
|
+
13
|
|
41977
|
+
),
|
|
41959
41978
|
"pixel-8": {
|
|
41960
41979
|
model: "pixel-8",
|
|
41961
41980
|
platform: "android",
|
|
@@ -41977,8 +41996,8 @@ var init_devices = __esm({
|
|
|
41977
41996
|
left: 0,
|
|
41978
41997
|
right: 0
|
|
41979
41998
|
},
|
|
41980
|
-
cornerRadius: cornerRadii(39),
|
|
41981
|
-
continuousCornerRadius: cornerRadii(39),
|
|
41999
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(39),
|
|
42000
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(39),
|
|
41982
42001
|
// android studio's pixel 8 device art places the 1080x2400 display at
|
|
41983
42002
|
// (49,55) in a 1187x2513 body. the right side button occupies the final
|
|
41984
42003
|
// 8 physical pixels, so the body insets are 49/50/58/55 at 2.625x.
|
|
@@ -42027,8 +42046,8 @@ var init_devices = __esm({
|
|
|
42027
42046
|
left: 0,
|
|
42028
42047
|
right: 0
|
|
42029
42048
|
},
|
|
42030
|
-
cornerRadius: cornerRadii(39),
|
|
42031
|
-
continuousCornerRadius: cornerRadii(39),
|
|
42049
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(39),
|
|
42050
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(39),
|
|
42032
42051
|
frameInsets: {
|
|
42033
42052
|
top: 55 / 2.625,
|
|
42034
42053
|
right: 50 / 2.625,
|
|
@@ -42069,10 +42088,10 @@ var init_devices = __esm({
|
|
|
42069
42088
|
keyboardPanelHeights: { qwerty: 308, pad: 308, emoji: 395 },
|
|
42070
42089
|
navigationBarMode: "gesture",
|
|
42071
42090
|
displayCutout: { top: 40, bottom: 0, left: 0, right: 0 },
|
|
42072
|
-
cornerRadius: cornerRadii(41),
|
|
42073
|
-
continuousCornerRadius: cornerRadii(41),
|
|
42091
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(41),
|
|
42092
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(41),
|
|
42074
42093
|
// Pixel 9 Pro XL body 162.8×76.6mm over a 70.2mm panel → ~1.8mm ≈ 12pt.
|
|
42075
|
-
frameInsets: uniformFrameInsets(12),
|
|
42094
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(12),
|
|
42076
42095
|
dynamicIsland: null,
|
|
42077
42096
|
cameraCutout: { diameter: 24 },
|
|
42078
42097
|
safeAreaInsets: {
|
|
@@ -42107,11 +42126,11 @@ var init_devices = __esm({
|
|
|
42107
42126
|
keyboardPanelHeights: { qwerty: 308, pad: 308, emoji: 395 },
|
|
42108
42127
|
navigationBarMode: "gesture",
|
|
42109
42128
|
displayCutout: { top: 40, bottom: 0, left: 0, right: 0 },
|
|
42110
|
-
cornerRadius: cornerRadii(40),
|
|
42111
|
-
continuousCornerRadius: cornerRadii(40),
|
|
42129
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(40),
|
|
42130
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(40),
|
|
42112
42131
|
// the 72mm body surrounds a roughly 65.1mm-wide 6.3-inch panel, which
|
|
42113
42132
|
// resolves to about 18 logical points of frame around the 1080px display.
|
|
42114
|
-
frameInsets: uniformFrameInsets(18),
|
|
42133
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(18),
|
|
42115
42134
|
dynamicIsland: null,
|
|
42116
42135
|
cameraCutout: { diameter: 26 },
|
|
42117
42136
|
safeAreaInsets: {
|
|
@@ -42146,11 +42165,11 @@ var init_devices = __esm({
|
|
|
42146
42165
|
keyboardPanelHeights: { qwerty: 308, pad: 308, emoji: 395 },
|
|
42147
42166
|
navigationBarMode: "gesture",
|
|
42148
42167
|
displayCutout: { top: 36, bottom: 0, left: 0, right: 0 },
|
|
42149
|
-
cornerRadius: cornerRadii(36),
|
|
42150
|
-
continuousCornerRadius: cornerRadii(36),
|
|
42168
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(36),
|
|
42169
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(36),
|
|
42151
42170
|
// Galaxy S24 body 147.0×70.6mm over a 65.9mm panel → ~1.2mm ≈ 8pt (Samsung
|
|
42152
42171
|
// flat-display bezels are noticeably thinner than Pixel's).
|
|
42153
|
-
frameInsets: uniformFrameInsets(8),
|
|
42172
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(8),
|
|
42154
42173
|
dynamicIsland: null,
|
|
42155
42174
|
cameraCutout: { diameter: 18 },
|
|
42156
42175
|
safeAreaInsets: {
|
|
@@ -42186,10 +42205,10 @@ var init_devices = __esm({
|
|
|
42186
42205
|
keyboardPanelHeights: { qwerty: 308, pad: 308, emoji: 395 },
|
|
42187
42206
|
navigationBarMode: "gesture",
|
|
42188
42207
|
displayCutout: { top: 36, bottom: 0, left: 0, right: 0 },
|
|
42189
|
-
cornerRadius: cornerRadii(24),
|
|
42190
|
-
continuousCornerRadius: cornerRadii(24),
|
|
42208
|
+
cornerRadius: /* @__PURE__ */ cornerRadii(24),
|
|
42209
|
+
continuousCornerRadius: /* @__PURE__ */ cornerRadii(24),
|
|
42191
42210
|
// Galaxy S24 Ultra body 162.3×79.0mm over a 72.4mm panel → ~1.5mm ≈ 9pt.
|
|
42192
|
-
frameInsets: uniformFrameInsets(9),
|
|
42211
|
+
frameInsets: /* @__PURE__ */ uniformFrameInsets(9),
|
|
42193
42212
|
dynamicIsland: null,
|
|
42194
42213
|
cameraCutout: { diameter: 18 },
|
|
42195
42214
|
safeAreaInsets: {
|
|
@@ -43048,9 +43067,17 @@ var init_metroDebugSourceMap = __esm({
|
|
|
43048
43067
|
|
|
43049
43068
|
// ../contrast-bundler/src/metroCloudArtifact.ts
|
|
43050
43069
|
async function minify(code, sourceLine, options, withMap) {
|
|
43051
|
-
const
|
|
43070
|
+
const mapped = new import_magic_string.default(code);
|
|
43071
|
+
const compiled = (0, import_worklet_executable.compileWorkletExecutables)(code, (offset, text3) => {
|
|
43072
|
+
mapped.appendLeft(offset, text3);
|
|
43073
|
+
});
|
|
43074
|
+
const result = await (0, import_terser.minify)(compiled, {
|
|
43052
43075
|
...options,
|
|
43053
|
-
...withMap ? {
|
|
43076
|
+
...withMap ? {
|
|
43077
|
+
sourceMap: {
|
|
43078
|
+
content: mapped.generateMap({ hires: true, source: "0" }).toString()
|
|
43079
|
+
}
|
|
43080
|
+
} : {}
|
|
43054
43081
|
});
|
|
43055
43082
|
if (typeof result.code !== "string") {
|
|
43056
43083
|
throw new Error(`peach Cloud could not re-print the statement at line ${sourceLine}`);
|
|
@@ -43216,14 +43243,16 @@ async function buildRnxCloudArtifact(bundle, options = {}) {
|
|
|
43216
43243
|
}
|
|
43217
43244
|
};
|
|
43218
43245
|
}
|
|
43219
|
-
var import_config2, import_metro_production_bundle, import_native_app_identity, import_native_firebase_metadata, import_terser, MODULE_PATHS_REQUIRED, SOURCE_MAP_REQUIRED, MINIFY_OPTIONS;
|
|
43246
|
+
var import_magic_string, import_config2, import_metro_production_bundle, import_native_app_identity, import_native_firebase_metadata, import_worklet_executable, import_terser, MODULE_PATHS_REQUIRED, SOURCE_MAP_REQUIRED, MINIFY_OPTIONS;
|
|
43220
43247
|
var init_metroCloudArtifact = __esm({
|
|
43221
43248
|
"../contrast-bundler/src/metroCloudArtifact.ts"() {
|
|
43222
43249
|
"use strict";
|
|
43250
|
+
import_magic_string = __toESM(require("magic-string"), 1);
|
|
43223
43251
|
import_config2 = require("peachsim/config");
|
|
43224
43252
|
import_metro_production_bundle = require("peachsim/metro-production-bundle");
|
|
43225
43253
|
import_native_app_identity = require("peachsim/native-app-identity");
|
|
43226
43254
|
import_native_firebase_metadata = require("peachsim/native-firebase-metadata");
|
|
43255
|
+
import_worklet_executable = require("peachsim/worklet-executable");
|
|
43227
43256
|
import_terser = require("terser");
|
|
43228
43257
|
init_metroAssetArtifact();
|
|
43229
43258
|
init_metroDebugSourceMap();
|