@wix/himalaya-cli 0.1859.0 → 0.1861.0
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/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{b2b76cc19f21f7c6d8b1a3cd6aa1ac0f194b052fa183761d08bd4f43fd46f844.bin → a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +631 -336
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/release-notes.md +11 -0
- package/guides/testing-himi-apps.md +4 -5
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -8458,7 +8458,6 @@ function assertExternalUrl(site, value2, where) {
|
|
|
8458
8458
|
var WIX_FREE_SITE_HOST_SUFFIXES, SITE_KINDS, SITE_LAYOUTS, SITE_PAGE_TITLES, SITE_TOP_BAR_MAX_ACTIONS, SITE_BUILTIN_NATIVE_SCREENS, SITE_PRIVATE_NATIVE_SCREENS, SITE_SHELL_MAX_TABS, SITE_SCREEN_PREFIX, SITE_PAGE_SCREEN_ID, BASE44_ORIGINS, PAGE_ID, SITE_PAGE_NODE_ID, SITE_SCREEN_FORMS, SITE_NODE_SCREEN_RENDERER, PLACEMENTS, ICONS, SITE_MEMBER_PAGE_SCREENS, SITE_MEMBER_CART_SCREENS, SITE_MEMBER_ONLY_SCREENS;
|
|
8459
8459
|
var init_site_shell = __esm({
|
|
8460
8460
|
"../../core/ts/src/site-shell.ts"() {
|
|
8461
|
-
"use strict";
|
|
8462
8461
|
init_define_HHP_CATALOG();
|
|
8463
8462
|
init_himi_package();
|
|
8464
8463
|
init_icon_catalog_generated();
|
|
@@ -41260,6 +41259,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
41260
41259
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
41261
41260
|
var init_idiom = __esm({
|
|
41262
41261
|
"../../core/ts/src/idiom.ts"() {
|
|
41262
|
+
"use strict";
|
|
41263
41263
|
init_define_HHP_CATALOG();
|
|
41264
41264
|
IDIOM_CONTEXTS = {
|
|
41265
41265
|
ios: { native: ["ios"] },
|
|
@@ -50354,6 +50354,408 @@ var init_menuItems = __esm({
|
|
|
50354
50354
|
}
|
|
50355
50355
|
});
|
|
50356
50356
|
|
|
50357
|
+
// ../../core/web-renderer/src/runtimeCopy.generated.ts
|
|
50358
|
+
var RUNTIME_COPY_DEFAULTS, RUNTIME_RENDERER_COPY;
|
|
50359
|
+
var init_runtimeCopy_generated = __esm({
|
|
50360
|
+
"../../core/web-renderer/src/runtimeCopy.generated.ts"() {
|
|
50361
|
+
init_define_HHP_CATALOG();
|
|
50362
|
+
RUNTIME_COPY_DEFAULTS = {
|
|
50363
|
+
"runtime.auth.signOutFailed": "Couldn\u2019t sign out. Check your connection and try again.",
|
|
50364
|
+
"runtime.auth.signOutPurgeFailed": "Signed out, but this device\u2019s data couldn\u2019t be cleared. Try again.",
|
|
50365
|
+
"runtime.boot.failed": "The app couldn't start. Please try again.",
|
|
50366
|
+
"runtime.boot.generic": "Something went wrong while starting the app.",
|
|
50367
|
+
"runtime.boot.known.connectionClosed": "The connection closed before the app finished loading.",
|
|
50368
|
+
"runtime.boot.known.insecure": "The app couldn\u2019t verify a secure connection to its server.",
|
|
50369
|
+
"runtime.boot.known.noCache": "The app has nothing saved to open offline.",
|
|
50370
|
+
"runtime.boot.known.revoked": "Part of the app is no longer available.",
|
|
50371
|
+
"runtime.boot.known.serverError": "Wix returned an error.",
|
|
50372
|
+
"runtime.boot.known.slow": "The app\u2019s server took too long to answer.",
|
|
50373
|
+
"runtime.boot.known.unreachable": "The app couldn\u2019t reach its server.",
|
|
50374
|
+
"runtime.boot.known.unreachableCheck": "The app couldn\u2019t reach its server \u2014 check the connection.",
|
|
50375
|
+
"runtime.boot.known.unverified": "Part of the app couldn\u2019t be verified.",
|
|
50376
|
+
"runtime.boot.updateFailed": "The app couldn't load its latest content.",
|
|
50377
|
+
"runtime.boot.updateRequired": "This screen needs a newer version of the app. Please update to continue.",
|
|
50378
|
+
"runtime.boot.withRetry": "{message} Try again in a moment.",
|
|
50379
|
+
"runtime.component.agenda.allDay": "All day",
|
|
50380
|
+
"runtime.component.agenda.today": "Today",
|
|
50381
|
+
"runtime.component.agenda.tomorrow": "Tomorrow",
|
|
50382
|
+
"runtime.component.alertDialog.label": "Alert",
|
|
50383
|
+
"runtime.component.badge.label": "Badge",
|
|
50384
|
+
"runtime.component.button.label": "Button",
|
|
50385
|
+
"runtime.component.calendar.changeTime": "Change time\u2026",
|
|
50386
|
+
"runtime.component.calendar.move": "Move\u2026",
|
|
50387
|
+
"runtime.component.calendar.next": "Next",
|
|
50388
|
+
"runtime.component.calendar.nextMonth": "Next month",
|
|
50389
|
+
"runtime.component.calendar.nextWeek": "Next week",
|
|
50390
|
+
"runtime.component.calendar.noEvents": "No events",
|
|
50391
|
+
"runtime.component.calendar.previous": "Previous",
|
|
50392
|
+
"runtime.component.calendar.previousMonth": "Previous month",
|
|
50393
|
+
"runtime.component.calendar.previousWeek": "Previous week",
|
|
50394
|
+
"runtime.component.calendar.showMonth": "Show month",
|
|
50395
|
+
"runtime.component.calendar.showWeek": "Show week",
|
|
50396
|
+
"runtime.component.chips.add": "Add a chip",
|
|
50397
|
+
"runtime.component.chips.chip": "chip",
|
|
50398
|
+
"runtime.component.chips.placeholder": "Add\u2026",
|
|
50399
|
+
"runtime.component.chips.remove": "Remove {name}",
|
|
50400
|
+
"runtime.component.colorPicker.choose": "Choose {color}",
|
|
50401
|
+
"runtime.component.datePicker.date": "Select date",
|
|
50402
|
+
"runtime.component.datePicker.dateTime": "Select date and time",
|
|
50403
|
+
"runtime.component.datePicker.time": "Select time",
|
|
50404
|
+
"runtime.component.fab.action": "Action",
|
|
50405
|
+
"runtime.component.form.loading": "Loading form\u2026",
|
|
50406
|
+
"runtime.component.form.refreshing": "Refreshing form\u2026",
|
|
50407
|
+
"runtime.component.form.unavailable": "Form unavailable. Please try again.",
|
|
50408
|
+
"runtime.component.image.label": "Image",
|
|
50409
|
+
"runtime.component.image.openPreview": "Opens image preview",
|
|
50410
|
+
"runtime.component.list.empty": "Nothing here yet",
|
|
50411
|
+
"runtime.component.list.pullToRefresh": "Pull to refresh",
|
|
50412
|
+
"runtime.component.list.refreshing": "Refreshing",
|
|
50413
|
+
"runtime.component.media.audio": "Audio",
|
|
50414
|
+
"runtime.component.media.cast": "Cast",
|
|
50415
|
+
"runtime.component.media.empty": "No media",
|
|
50416
|
+
"runtime.component.media.exitFullscreen": "Exit full screen",
|
|
50417
|
+
"runtime.component.media.fullscreen": "Fullscreen",
|
|
50418
|
+
"runtime.component.media.live": "LIVE",
|
|
50419
|
+
"runtime.component.media.loading": "Loading",
|
|
50420
|
+
"runtime.component.media.mute": "Mute",
|
|
50421
|
+
"runtime.component.media.next": "Next",
|
|
50422
|
+
"runtime.component.media.off": "Off",
|
|
50423
|
+
"runtime.component.media.pause": "Pause",
|
|
50424
|
+
"runtime.component.media.pictureInPicture": "Picture in Picture",
|
|
50425
|
+
"runtime.component.media.play": "Play",
|
|
50426
|
+
"runtime.component.media.playbackSpeed": "Playback speed",
|
|
50427
|
+
"runtime.component.media.position": "Media position",
|
|
50428
|
+
"runtime.component.media.previous": "Previous",
|
|
50429
|
+
"runtime.component.media.providerUnavailable": "Provider playback unavailable",
|
|
50430
|
+
"runtime.component.media.replay": "Replay",
|
|
50431
|
+
"runtime.component.media.showControls": "Show player controls",
|
|
50432
|
+
"runtime.component.media.skipBack": "Skip back {seconds} seconds",
|
|
50433
|
+
"runtime.component.media.skipForward": "Skip forward {seconds} seconds",
|
|
50434
|
+
"runtime.component.media.subtitles": "Subtitles",
|
|
50435
|
+
"runtime.component.media.subtitlesAndAudio": "Subtitles and audio",
|
|
50436
|
+
"runtime.component.media.tapToPlay": "Tap to play",
|
|
50437
|
+
"runtime.component.media.unmute": "Unmute",
|
|
50438
|
+
"runtime.component.media.untitled": "Untitled",
|
|
50439
|
+
"runtime.component.media.youtube": "YouTube video",
|
|
50440
|
+
"runtime.component.menu.item": "Item",
|
|
50441
|
+
"runtime.component.menu.moreActions": "More actions",
|
|
50442
|
+
"runtime.component.message.notSent": "Not sent",
|
|
50443
|
+
"runtime.component.message.sending": "Sending\u2026",
|
|
50444
|
+
"runtime.component.otp.label": "One-time code",
|
|
50445
|
+
"runtime.component.pager.carousel": "Carousel",
|
|
50446
|
+
"runtime.component.pager.page": "Page {page} of {count}",
|
|
50447
|
+
"runtime.component.pager.pages": "Pages",
|
|
50448
|
+
"runtime.component.pdf.controls": "Document controls",
|
|
50449
|
+
"runtime.component.pdf.download": "Download PDF",
|
|
50450
|
+
"runtime.component.pdf.downloadShort": "Download",
|
|
50451
|
+
"runtime.component.pdf.loading": "loading document",
|
|
50452
|
+
"runtime.component.pdf.nextPage": "Next page",
|
|
50453
|
+
"runtime.component.pdf.open": "Open",
|
|
50454
|
+
"runtime.component.pdf.openInTab": "Open PDF in a new tab",
|
|
50455
|
+
"runtime.component.pdf.page": "Page {page} of {count}",
|
|
50456
|
+
"runtime.component.pdf.pageCount": "{count, plural, one {# page} other {# pages}}",
|
|
50457
|
+
"runtime.component.pdf.pageOnly": "Page {page}",
|
|
50458
|
+
"runtime.component.pdf.previousPage": "Previous page",
|
|
50459
|
+
"runtime.component.pdf.zoomIn": "Zoom in",
|
|
50460
|
+
"runtime.component.pdf.zoomOut": "Zoom out",
|
|
50461
|
+
"runtime.component.picker.placeholder": "Select",
|
|
50462
|
+
"runtime.component.rating.label": "Rating, {summary}",
|
|
50463
|
+
"runtime.component.rating.rate": "{count, plural, one {Rate # star} other {Rate # stars}}",
|
|
50464
|
+
"runtime.component.rating.summary": "{value} of {max}",
|
|
50465
|
+
"runtime.component.region.failed": "Couldn't load this section",
|
|
50466
|
+
"runtime.component.richEditor.apply": "Apply",
|
|
50467
|
+
"runtime.component.richEditor.cancel": "Cancel",
|
|
50468
|
+
"runtime.component.richEditor.formatting": "Formatting",
|
|
50469
|
+
"runtime.component.richEditor.insertLink": "Insert link",
|
|
50470
|
+
"runtime.component.richEditor.label": "Rich text editor",
|
|
50471
|
+
"runtime.component.richEditor.linkAddress": "Link address",
|
|
50472
|
+
"runtime.component.richEditor.linkText": "Link text",
|
|
50473
|
+
"runtime.component.richEditor.linkTextPlaceholder": "Text (optional)",
|
|
50474
|
+
"runtime.component.richEditor.loading": "Loading editor",
|
|
50475
|
+
"runtime.component.richEditor.loadingVisible": "Loading editor\u2026",
|
|
50476
|
+
"runtime.component.richEditor.unavailable": "Editor unavailable",
|
|
50477
|
+
"runtime.component.search.field": "Search\u2026",
|
|
50478
|
+
"runtime.component.search.placeholder": "Search",
|
|
50479
|
+
"runtime.component.segmented.option": "Option {index}",
|
|
50480
|
+
"runtime.component.slider.maximum": "Maximum",
|
|
50481
|
+
"runtime.component.slider.minimum": "Minimum",
|
|
50482
|
+
"runtime.component.stepper.decrease": "Decrease",
|
|
50483
|
+
"runtime.component.stepper.increase": "Increase",
|
|
50484
|
+
"runtime.component.tag.label": "Tag",
|
|
50485
|
+
"runtime.component.voiceNote.label": "Voice message, {duration}",
|
|
50486
|
+
"runtime.component.voiceNote.loading": "Loading voice message",
|
|
50487
|
+
"runtime.component.voiceNote.minutes": "{minutes, plural, one {# minute} other {# minutes}}",
|
|
50488
|
+
"runtime.component.voiceNote.minutesSeconds": "{minutes, plural, one {# minute} other {# minutes}} {seconds, plural, one {# second} other {# seconds}}",
|
|
50489
|
+
"runtime.component.voiceNote.pause": "Pause voice message",
|
|
50490
|
+
"runtime.component.voiceNote.play": "Play voice message",
|
|
50491
|
+
"runtime.component.voiceNote.playbackSpeed": "Playback speed {rate}. Tap to change.",
|
|
50492
|
+
"runtime.component.voiceNote.retry": "Retry sending voice message",
|
|
50493
|
+
"runtime.component.voiceNote.seconds": "{seconds, plural, one {# second} other {# seconds}}",
|
|
50494
|
+
"runtime.component.voiceNote.sending": "Sending voice message",
|
|
50495
|
+
"runtime.component.webview.loading": "Loading",
|
|
50496
|
+
"runtime.component.webview.openInTab": "Open in a new tab",
|
|
50497
|
+
"runtime.component.wheel.label": "Wheel selection",
|
|
50498
|
+
"runtime.dialog.cancel": "Cancel",
|
|
50499
|
+
"runtime.dialog.confirm": "Confirm",
|
|
50500
|
+
"runtime.dialog.delete": "Delete",
|
|
50501
|
+
"runtime.dialog.discard.body": "Your changes will be lost.",
|
|
50502
|
+
"runtime.dialog.discard.confirm": "Discard",
|
|
50503
|
+
"runtime.dialog.discard.keep": "Keep editing",
|
|
50504
|
+
"runtime.dialog.discard.title": "Discard changes?",
|
|
50505
|
+
"runtime.dialog.ok": "OK",
|
|
50506
|
+
"runtime.lightbox.close": "Close",
|
|
50507
|
+
"runtime.lightbox.export.failed": "Couldn't save this image",
|
|
50508
|
+
"runtime.lightbox.export.permission": "Allow photo access in Settings to save images",
|
|
50509
|
+
"runtime.lightbox.export.saved": "Saved to your photos",
|
|
50510
|
+
"runtime.lightbox.more": "More",
|
|
50511
|
+
"runtime.lightbox.next": "Next image",
|
|
50512
|
+
"runtime.lightbox.position": "Image {index} of {count}",
|
|
50513
|
+
"runtime.lightbox.previous": "Previous image",
|
|
50514
|
+
"runtime.lightbox.save": "Save",
|
|
50515
|
+
"runtime.lightbox.share": "Share",
|
|
50516
|
+
"runtime.lightbox.viewer": "Image viewer",
|
|
50517
|
+
"runtime.nav.actionUnavailable": "Action unavailable. Please try again.",
|
|
50518
|
+
"runtime.nav.back": "Back",
|
|
50519
|
+
"runtime.nav.cancel": "Cancel",
|
|
50520
|
+
"runtime.nav.cancelSearch": "Cancel search",
|
|
50521
|
+
"runtime.nav.clearSearch": "Clear search",
|
|
50522
|
+
"runtime.nav.close": "Close",
|
|
50523
|
+
"runtime.nav.disabledSuffix": "{name}, disabled",
|
|
50524
|
+
"runtime.nav.dismiss": "Dismiss",
|
|
50525
|
+
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
50526
|
+
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
50527
|
+
"runtime.nav.done": "Done",
|
|
50528
|
+
"runtime.nav.drawer": "Navigation",
|
|
50529
|
+
"runtime.nav.edit": "Edit",
|
|
50530
|
+
"runtime.nav.hostedAppFailed": "Couldn't open {title}.",
|
|
50531
|
+
"runtime.nav.jumpToLatest": "Jump to latest",
|
|
50532
|
+
"runtime.nav.menu": "Menu",
|
|
50533
|
+
"runtime.nav.more": "More",
|
|
50534
|
+
"runtime.nav.moreActions": "More Actions",
|
|
50535
|
+
"runtime.nav.moreOptions": "More options",
|
|
50536
|
+
"runtime.nav.noScreen": "No screen.",
|
|
50537
|
+
"runtime.nav.resizeSheet": "Resize sheet",
|
|
50538
|
+
"runtime.nav.screenBlocked": "This screen's address can't be opened here.",
|
|
50539
|
+
"runtime.nav.screenFailed": "This screen couldn't render.",
|
|
50540
|
+
"runtime.nav.search": "Search",
|
|
50541
|
+
"runtime.nav.searchClear": "Clear",
|
|
50542
|
+
"runtime.nav.searchError": "Results weren't loaded due to a technical issue. Wait and try again.",
|
|
50543
|
+
"runtime.nav.searchNoResults": "No results",
|
|
50544
|
+
"runtime.nav.searchRecents": "Recent searches",
|
|
50545
|
+
"runtime.nav.searchTryAgain": "Try Again",
|
|
50546
|
+
"runtime.nav.selectionCount": "{count} selected",
|
|
50547
|
+
"runtime.nav.showActions": "Show actions",
|
|
50548
|
+
"runtime.nav.stillSaving": "Still saving\u2026",
|
|
50549
|
+
"runtime.nav.thisApp": "this app",
|
|
50550
|
+
"runtime.nav.toggleSidebar": "Toggle sidebar",
|
|
50551
|
+
"runtime.nav.voiceSearch": "Voice search",
|
|
50552
|
+
"runtime.offline.banner": "You're offline",
|
|
50553
|
+
"runtime.offline.loadFailed": "This content couldn't load. Try again.",
|
|
50554
|
+
"runtime.offline.pending": "{count, plural, one {# change waiting to sync} other {# changes waiting to sync}}",
|
|
50555
|
+
"runtime.offline.readStatus": "Showing saved content",
|
|
50556
|
+
"runtime.offline.readUnavailable": "This content isn't available offline. Connect to load it.",
|
|
50557
|
+
"runtime.offline.reading.failed": "This content could not load. Try again.",
|
|
50558
|
+
"runtime.offline.reading.snapshot": "You\u2019re offline. Showing previously loaded content.",
|
|
50559
|
+
"runtime.offline.reading.stale": "Couldn\u2019t refresh. Content may be outdated.",
|
|
50560
|
+
"runtime.offline.reading.unavailable": "You\u2019re offline. This content isn\u2019t available offline. Connect to load it.",
|
|
50561
|
+
"runtime.offline.refreshFailed": "Couldn't refresh. Content may be outdated.",
|
|
50562
|
+
"runtime.offline.syncing": "{count, plural, one {Syncing # change\u2026} other {Syncing # changes\u2026}}",
|
|
50563
|
+
"runtime.state.loading": "Loading\u2026",
|
|
50564
|
+
"runtime.state.offline.body": "Check your connection and try again.",
|
|
50565
|
+
"runtime.state.offline.cta": "Try again",
|
|
50566
|
+
"runtime.state.offline.title": "You're offline",
|
|
50567
|
+
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
50568
|
+
"runtime.state.permission.cta": "Go back",
|
|
50569
|
+
"runtime.state.permission.title": "You don't have access",
|
|
50570
|
+
"runtime.state.retry": "Try again",
|
|
50571
|
+
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
50572
|
+
"runtime.state.server.cta": "Try again",
|
|
50573
|
+
"runtime.state.server.title": "Unable to load this content",
|
|
50574
|
+
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
50575
|
+
"runtime.state.signIn.cta": "Sign in",
|
|
50576
|
+
"runtime.state.signIn.title": "Sign in to continue",
|
|
50577
|
+
"runtime.state.takeAction": "Take action",
|
|
50578
|
+
"runtime.webview.externalLink.body": "This link opens outside the app.",
|
|
50579
|
+
"runtime.webview.externalLink.bodyHost": "This link opens {host} outside the app.",
|
|
50580
|
+
"runtime.webview.externalLink.open": "Open",
|
|
50581
|
+
"runtime.webview.externalLink.title": "Open link?",
|
|
50582
|
+
"runtime.webview.offline.body": "Check your connection and try again.",
|
|
50583
|
+
"runtime.webview.offline.title": "You're offline",
|
|
50584
|
+
"runtime.webview.pageError": "This page couldn't be loaded",
|
|
50585
|
+
"runtime.worker.actionFailed": "That didn't work. Please try again.",
|
|
50586
|
+
"runtime.worker.failed": "Something went wrong while loading this screen."
|
|
50587
|
+
};
|
|
50588
|
+
RUNTIME_RENDERER_COPY = {
|
|
50589
|
+
"runtime.component.agenda.allDay": "All day",
|
|
50590
|
+
"runtime.component.agenda.today": "Today",
|
|
50591
|
+
"runtime.component.agenda.tomorrow": "Tomorrow",
|
|
50592
|
+
"runtime.component.alertDialog.label": "Alert",
|
|
50593
|
+
"runtime.component.badge.label": "Badge",
|
|
50594
|
+
"runtime.component.button.label": "Button",
|
|
50595
|
+
"runtime.component.calendar.changeTime": "Change time\u2026",
|
|
50596
|
+
"runtime.component.calendar.move": "Move\u2026",
|
|
50597
|
+
"runtime.component.calendar.next": "Next",
|
|
50598
|
+
"runtime.component.calendar.nextMonth": "Next month",
|
|
50599
|
+
"runtime.component.calendar.nextWeek": "Next week",
|
|
50600
|
+
"runtime.component.calendar.noEvents": "No events",
|
|
50601
|
+
"runtime.component.calendar.previous": "Previous",
|
|
50602
|
+
"runtime.component.calendar.previousMonth": "Previous month",
|
|
50603
|
+
"runtime.component.calendar.previousWeek": "Previous week",
|
|
50604
|
+
"runtime.component.calendar.showMonth": "Show month",
|
|
50605
|
+
"runtime.component.calendar.showWeek": "Show week",
|
|
50606
|
+
"runtime.component.chips.add": "Add a chip",
|
|
50607
|
+
"runtime.component.chips.chip": "chip",
|
|
50608
|
+
"runtime.component.chips.placeholder": "Add\u2026",
|
|
50609
|
+
"runtime.component.chips.remove": "Remove {name}",
|
|
50610
|
+
"runtime.component.colorPicker.choose": "Choose {color}",
|
|
50611
|
+
"runtime.component.datePicker.date": "Select date",
|
|
50612
|
+
"runtime.component.datePicker.dateTime": "Select date and time",
|
|
50613
|
+
"runtime.component.datePicker.time": "Select time",
|
|
50614
|
+
"runtime.component.fab.action": "Action",
|
|
50615
|
+
"runtime.component.form.loading": "Loading form\u2026",
|
|
50616
|
+
"runtime.component.form.refreshing": "Refreshing form\u2026",
|
|
50617
|
+
"runtime.component.form.unavailable": "Form unavailable. Please try again.",
|
|
50618
|
+
"runtime.component.list.pullToRefresh": "Pull to refresh",
|
|
50619
|
+
"runtime.component.list.refreshing": "Refreshing",
|
|
50620
|
+
"runtime.component.media.audio": "Audio",
|
|
50621
|
+
"runtime.component.media.cast": "Cast",
|
|
50622
|
+
"runtime.component.media.empty": "No media",
|
|
50623
|
+
"runtime.component.media.exitFullscreen": "Exit full screen",
|
|
50624
|
+
"runtime.component.media.fullscreen": "Fullscreen",
|
|
50625
|
+
"runtime.component.media.live": "LIVE",
|
|
50626
|
+
"runtime.component.media.loading": "Loading",
|
|
50627
|
+
"runtime.component.media.mute": "Mute",
|
|
50628
|
+
"runtime.component.media.next": "Next",
|
|
50629
|
+
"runtime.component.media.off": "Off",
|
|
50630
|
+
"runtime.component.media.pause": "Pause",
|
|
50631
|
+
"runtime.component.media.pictureInPicture": "Picture in Picture",
|
|
50632
|
+
"runtime.component.media.play": "Play",
|
|
50633
|
+
"runtime.component.media.playbackSpeed": "Playback speed",
|
|
50634
|
+
"runtime.component.media.position": "Media position",
|
|
50635
|
+
"runtime.component.media.previous": "Previous",
|
|
50636
|
+
"runtime.component.media.providerUnavailable": "Provider playback unavailable",
|
|
50637
|
+
"runtime.component.media.replay": "Replay",
|
|
50638
|
+
"runtime.component.media.showControls": "Show player controls",
|
|
50639
|
+
"runtime.component.media.skipBack": "Skip back {seconds} seconds",
|
|
50640
|
+
"runtime.component.media.skipForward": "Skip forward {seconds} seconds",
|
|
50641
|
+
"runtime.component.media.subtitles": "Subtitles",
|
|
50642
|
+
"runtime.component.media.subtitlesAndAudio": "Subtitles and audio",
|
|
50643
|
+
"runtime.component.media.tapToPlay": "Tap to play",
|
|
50644
|
+
"runtime.component.media.unmute": "Unmute",
|
|
50645
|
+
"runtime.component.media.untitled": "Untitled",
|
|
50646
|
+
"runtime.component.media.youtube": "YouTube video",
|
|
50647
|
+
"runtime.component.menu.item": "Item",
|
|
50648
|
+
"runtime.component.menu.moreActions": "More actions",
|
|
50649
|
+
"runtime.component.message.notSent": "Not sent",
|
|
50650
|
+
"runtime.component.message.sending": "Sending\u2026",
|
|
50651
|
+
"runtime.component.otp.label": "One-time code",
|
|
50652
|
+
"runtime.component.pager.carousel": "Carousel",
|
|
50653
|
+
"runtime.component.pager.page": "Page {page} of {count}",
|
|
50654
|
+
"runtime.component.pager.pages": "Pages",
|
|
50655
|
+
"runtime.component.pdf.controls": "Document controls",
|
|
50656
|
+
"runtime.component.pdf.download": "Download PDF",
|
|
50657
|
+
"runtime.component.pdf.downloadShort": "Download",
|
|
50658
|
+
"runtime.component.pdf.loading": "loading document",
|
|
50659
|
+
"runtime.component.pdf.nextPage": "Next page",
|
|
50660
|
+
"runtime.component.pdf.open": "Open",
|
|
50661
|
+
"runtime.component.pdf.openInTab": "Open PDF in a new tab",
|
|
50662
|
+
"runtime.component.pdf.page": "Page {page} of {count}",
|
|
50663
|
+
"runtime.component.pdf.pageCount": "{count, plural, one {# page} other {# pages}}",
|
|
50664
|
+
"runtime.component.pdf.pageOnly": "Page {page}",
|
|
50665
|
+
"runtime.component.pdf.previousPage": "Previous page",
|
|
50666
|
+
"runtime.component.pdf.zoomIn": "Zoom in",
|
|
50667
|
+
"runtime.component.pdf.zoomOut": "Zoom out",
|
|
50668
|
+
"runtime.component.picker.placeholder": "Select",
|
|
50669
|
+
"runtime.component.rating.label": "Rating, {summary}",
|
|
50670
|
+
"runtime.component.rating.rate": "{count, plural, one {Rate # star} other {Rate # stars}}",
|
|
50671
|
+
"runtime.component.rating.summary": "{value} of {max}",
|
|
50672
|
+
"runtime.component.richEditor.apply": "Apply",
|
|
50673
|
+
"runtime.component.richEditor.cancel": "Cancel",
|
|
50674
|
+
"runtime.component.richEditor.formatting": "Formatting",
|
|
50675
|
+
"runtime.component.richEditor.insertLink": "Insert link",
|
|
50676
|
+
"runtime.component.richEditor.label": "Rich text editor",
|
|
50677
|
+
"runtime.component.richEditor.linkAddress": "Link address",
|
|
50678
|
+
"runtime.component.richEditor.linkText": "Link text",
|
|
50679
|
+
"runtime.component.richEditor.linkTextPlaceholder": "Text (optional)",
|
|
50680
|
+
"runtime.component.richEditor.loading": "Loading editor",
|
|
50681
|
+
"runtime.component.richEditor.loadingVisible": "Loading editor\u2026",
|
|
50682
|
+
"runtime.component.richEditor.unavailable": "Editor unavailable",
|
|
50683
|
+
"runtime.component.search.field": "Search\u2026",
|
|
50684
|
+
"runtime.component.search.placeholder": "Search",
|
|
50685
|
+
"runtime.component.segmented.option": "Option {index}",
|
|
50686
|
+
"runtime.component.slider.maximum": "Maximum",
|
|
50687
|
+
"runtime.component.slider.minimum": "Minimum",
|
|
50688
|
+
"runtime.component.stepper.decrease": "Decrease",
|
|
50689
|
+
"runtime.component.stepper.increase": "Increase",
|
|
50690
|
+
"runtime.component.tag.label": "Tag",
|
|
50691
|
+
"runtime.component.voiceNote.label": "Voice message, {duration}",
|
|
50692
|
+
"runtime.component.voiceNote.loading": "Loading voice message",
|
|
50693
|
+
"runtime.component.voiceNote.minutes": "{minutes, plural, one {# minute} other {# minutes}}",
|
|
50694
|
+
"runtime.component.voiceNote.minutesSeconds": "{minutes, plural, one {# minute} other {# minutes}} {seconds, plural, one {# second} other {# seconds}}",
|
|
50695
|
+
"runtime.component.voiceNote.pause": "Pause voice message",
|
|
50696
|
+
"runtime.component.voiceNote.play": "Play voice message",
|
|
50697
|
+
"runtime.component.voiceNote.playbackSpeed": "Playback speed {rate}. Tap to change.",
|
|
50698
|
+
"runtime.component.voiceNote.retry": "Retry sending voice message",
|
|
50699
|
+
"runtime.component.voiceNote.seconds": "{seconds, plural, one {# second} other {# seconds}}",
|
|
50700
|
+
"runtime.component.voiceNote.sending": "Sending voice message",
|
|
50701
|
+
"runtime.component.webview.loading": "Loading",
|
|
50702
|
+
"runtime.component.webview.openInTab": "Open in a new tab",
|
|
50703
|
+
"runtime.component.wheel.label": "Wheel selection",
|
|
50704
|
+
"runtime.dialog.cancel": "Cancel",
|
|
50705
|
+
"runtime.dialog.confirm": "Confirm",
|
|
50706
|
+
"runtime.dialog.delete": "Delete",
|
|
50707
|
+
"runtime.nav.dismiss": "Dismiss",
|
|
50708
|
+
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
50709
|
+
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
50710
|
+
"runtime.nav.resizeSheet": "Resize sheet",
|
|
50711
|
+
"runtime.state.offline.body": "Check your connection and try again.",
|
|
50712
|
+
"runtime.state.offline.cta": "Try again",
|
|
50713
|
+
"runtime.state.offline.title": "You're offline",
|
|
50714
|
+
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
50715
|
+
"runtime.state.permission.cta": "Go back",
|
|
50716
|
+
"runtime.state.permission.title": "You don't have access",
|
|
50717
|
+
"runtime.state.retry": "Try again",
|
|
50718
|
+
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
50719
|
+
"runtime.state.server.cta": "Try again",
|
|
50720
|
+
"runtime.state.server.title": "Unable to load this content",
|
|
50721
|
+
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
50722
|
+
"runtime.state.signIn.cta": "Sign in",
|
|
50723
|
+
"runtime.state.signIn.title": "Sign in to continue",
|
|
50724
|
+
"runtime.state.takeAction": "Take action",
|
|
50725
|
+
"runtime.webview.pageError": "This page couldn't be loaded"
|
|
50726
|
+
};
|
|
50727
|
+
}
|
|
50728
|
+
});
|
|
50729
|
+
|
|
50730
|
+
// ../../core/web-renderer/src/runtimeCopy.ts
|
|
50731
|
+
function runtimeText(key4, args = {}, catalog4, locale = "en") {
|
|
50732
|
+
const template = catalog4?.get(key4) || RUNTIME_COPY_DEFAULTS[key4] || key4;
|
|
50733
|
+
return formatMessage(template, args, locale);
|
|
50734
|
+
}
|
|
50735
|
+
function runtimeEnglish(key4) {
|
|
50736
|
+
return RUNTIME_COPY_DEFAULTS[key4] ?? key4;
|
|
50737
|
+
}
|
|
50738
|
+
function rcopy(ctx, key4, args = {}) {
|
|
50739
|
+
return formatMessage(ctx.catalog?.get(key4) || RUNTIME_RENDERER_COPY[key4] || key4, args, ctx.localeTag ?? "en");
|
|
50740
|
+
}
|
|
50741
|
+
function rendererEnglish(key4) {
|
|
50742
|
+
return RUNTIME_RENDERER_COPY[key4] ?? key4;
|
|
50743
|
+
}
|
|
50744
|
+
function dateLocale(ctx) {
|
|
50745
|
+
const app2 = ctx.localeTag;
|
|
50746
|
+
const browser = typeof navigator !== "undefined" ? navigator.language : "";
|
|
50747
|
+
return app2 && browser.length > app2.length && browser.split("-")[0].toLowerCase() === app2.split("-")[0].toLowerCase() ? browser : app2;
|
|
50748
|
+
}
|
|
50749
|
+
var RuntimeCopy;
|
|
50750
|
+
var init_runtimeCopy = __esm({
|
|
50751
|
+
"../../core/web-renderer/src/runtimeCopy.ts"() {
|
|
50752
|
+
init_define_HHP_CATALOG();
|
|
50753
|
+
init_message_format();
|
|
50754
|
+
init_runtimeCopy_generated();
|
|
50755
|
+
RuntimeCopy = { text: runtimeText, english: runtimeEnglish };
|
|
50756
|
+
}
|
|
50757
|
+
});
|
|
50758
|
+
|
|
50357
50759
|
// ../../core/web-renderer/src/icons.tsx
|
|
50358
50760
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
50359
50761
|
function normalize3(name) {
|
|
@@ -50659,7 +51061,7 @@ function MenuPanel(props2) {
|
|
|
50659
51061
|
style: { display: "flex", alignItems: "center", gap: 10, padding: "9px 10px", borderRadius: 8, cursor: it2?.disabled ? "default" : "pointer", opacity: it2?.disabled ? 0.4 : 1, color: it2?.destructive ? C2("danger", "#E62214") : C2("textPrimary", "#13171e"), fontFamily: style.fontFamily, fontSize: style.fontSize },
|
|
50660
51062
|
children: [
|
|
50661
51063
|
it2?.leading ? /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", style: { display: "inline-grid", placeItems: "center", width: 20, height: 20 }, children: it2.leading }) : it2?.icon && /* @__PURE__ */ jsx7("span", { style: { display: "inline-grid", placeItems: "center", width: 20, height: 20 }, children: iconSvg(it2.icon, { size: 18, color: it2?.destructive ? C2("danger", "#E62214") : C2("textSecondary", "#636b78") }) }),
|
|
50662
|
-
/* @__PURE__ */ jsx7("span", { dir: "auto", children: style.text(it2?.label) || "
|
|
51064
|
+
/* @__PURE__ */ jsx7("span", { dir: "auto", children: style.text(it2?.label) || style.itemLabel || rendererEnglish("runtime.component.menu.item") }),
|
|
50663
51065
|
it2?.selected === true && /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", "data-testid": it2?.testId ? `${it2.testId}-check` : void 0, style: { marginInlineStart: "auto", display: "inline-grid", placeItems: "center" }, children: iconSvg("checkmark", { size: 16 }) }),
|
|
50664
51066
|
it2?.loading && /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", "data-himi-menu-spinner": "", "data-testid": it2?.testId ? `${it2.testId}-loading` : void 0, style: { marginInlineStart: "auto", width: 14, height: 14, boxSizing: "border-box", borderRadius: "50%", border: "2px solid currentColor", borderInlineEndColor: "transparent", animation: "himi-menu-spin 0.8s linear infinite" }, children: /* @__PURE__ */ jsx7("style", { children: "@keyframes himi-menu-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){[data-himi-menu-spinner]{animation:none!important}}" }) })
|
|
50665
51067
|
]
|
|
@@ -50674,6 +51076,7 @@ var init_menuPopover = __esm({
|
|
|
50674
51076
|
"../../core/web-renderer/src/menuPopover.tsx"() {
|
|
50675
51077
|
"use strict";
|
|
50676
51078
|
init_define_HHP_CATALOG();
|
|
51079
|
+
init_runtimeCopy();
|
|
50677
51080
|
init_icons();
|
|
50678
51081
|
init_modalStack();
|
|
50679
51082
|
useIsomorphicLayoutEffect2 = typeof globalThis.document === "undefined" ? React12.useEffect : React12.useLayoutEffect;
|
|
@@ -51459,6 +51862,7 @@ function MenuHeading({ label: label4 }) {
|
|
|
51459
51862
|
}
|
|
51460
51863
|
function MediaControls(props2) {
|
|
51461
51864
|
const { mediaRef, mediaKey: mediaKey2, layout: layout2, status: status2, live: live4, actions, foreground, accent } = props2;
|
|
51865
|
+
const t2 = (key4, args) => rcopy(props2.copy ?? {}, `runtime.component.media.${key4}`, args);
|
|
51462
51866
|
const playing = status2 === "playing";
|
|
51463
51867
|
const ended = status2 === "ended";
|
|
51464
51868
|
const [visible, setVisible] = React14.useState(true);
|
|
@@ -51557,12 +51961,12 @@ function MediaControls(props2) {
|
|
|
51557
51961
|
cast: props2.showsCast
|
|
51558
51962
|
}));
|
|
51559
51963
|
const transport = (large) => /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", gap: large ? 28 : 6 }, children: [
|
|
51560
|
-
shown3.has("media.previous") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51561
|
-
shown3.has("media.skipBack") && /* @__PURE__ */ jsx9(IconButton, { label:
|
|
51964
|
+
shown3.has("media.previous") && /* @__PURE__ */ jsx9(IconButton, { label: t2("previous"), icon: "previous", size: large ? 26 : 20, id: "media.previous", onClick: use(() => actions.select(-1)) }),
|
|
51965
|
+
shown3.has("media.skipBack") && /* @__PURE__ */ jsx9(IconButton, { label: t2("skipBack", { seconds: props2.backSeconds }), icon: "back", size: large ? 30 : 22, id: "media.skipBack", onClick: use(() => skip(-props2.backSeconds)), children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", style: { position: "absolute", fontSize: large ? 9 : 7, fontWeight: 700, marginTop: large ? 3 : 2 }, children: props2.backSeconds }) }),
|
|
51562
51966
|
/* @__PURE__ */ jsx9(
|
|
51563
51967
|
IconButton,
|
|
51564
51968
|
{
|
|
51565
|
-
label: playing ? "
|
|
51969
|
+
label: t2(playing ? "pause" : ended ? "replay" : "play"),
|
|
51566
51970
|
icon: playing ? "pause" : ended ? "replay" : "play",
|
|
51567
51971
|
size: large ? 44 : 28,
|
|
51568
51972
|
id: "media.play",
|
|
@@ -51575,16 +51979,16 @@ function MediaControls(props2) {
|
|
|
51575
51979
|
})
|
|
51576
51980
|
}
|
|
51577
51981
|
),
|
|
51578
|
-
shown3.has("media.skipForward") && /* @__PURE__ */ jsx9(IconButton, { label:
|
|
51579
|
-
shown3.has("media.next") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51982
|
+
shown3.has("media.skipForward") && /* @__PURE__ */ jsx9(IconButton, { label: t2("skipForward", { seconds: props2.forwardSeconds }), icon: "forward", size: large ? 30 : 22, id: "media.skipForward", onClick: use(() => skip(props2.forwardSeconds)), children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", style: { position: "absolute", fontSize: large ? 9 : 7, fontWeight: 700, marginTop: large ? 3 : 2 }, children: props2.forwardSeconds }) }),
|
|
51983
|
+
shown3.has("media.next") && /* @__PURE__ */ jsx9(IconButton, { label: t2("next"), icon: "next", size: large ? 26 : 20, id: "media.next", onClick: use(() => actions.select(1)) })
|
|
51580
51984
|
] });
|
|
51581
|
-
const timeline = shown3.has("media.live") ? /* @__PURE__ */ jsx9("div", { style: { display: "flex", width: "100%", padding: "4px 0" }, children: /* @__PURE__ */ jsx9("span", { "data-media-control": "media.live", style: { background: "#E53935", color: "#fff", borderRadius: 4, padding: "2px 6px", fontSize: 11, fontWeight: 700 }, children: "
|
|
51985
|
+
const timeline = shown3.has("media.live") ? /* @__PURE__ */ jsx9("div", { style: { display: "flex", width: "100%", padding: "4px 0" }, children: /* @__PURE__ */ jsx9("span", { "data-media-control": "media.live", style: { background: "#E53935", color: "#fff", borderRadius: 4, padding: "2px 6px", fontSize: 11, fontWeight: 700 }, children: t2("live") }) }) : /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", gap: 8, width: "100%", minWidth: 0 }, children: [
|
|
51582
51986
|
/* @__PURE__ */ jsx9("span", { ref: elapsed, "data-media-time": "elapsed", style: { fontSize: 12, fontVariantNumeric: "tabular-nums", whiteSpace: "nowrap" }, children: "0:00" }),
|
|
51583
51987
|
/* @__PURE__ */ jsx9(
|
|
51584
51988
|
"input",
|
|
51585
51989
|
{
|
|
51586
51990
|
ref: bar,
|
|
51587
|
-
"aria-label": "
|
|
51991
|
+
"aria-label": t2("position"),
|
|
51588
51992
|
type: "range",
|
|
51589
51993
|
min: 0,
|
|
51590
51994
|
max: 1,
|
|
@@ -51619,15 +52023,15 @@ function MediaControls(props2) {
|
|
|
51619
52023
|
/* @__PURE__ */ jsx9("span", { ref: remaining, "data-media-time": "remaining", style: { fontSize: 12, fontVariantNumeric: "tabular-nums", whiteSpace: "nowrap" }, children: "-0:00" })
|
|
51620
52024
|
] });
|
|
51621
52025
|
const buttons = /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", justifyContent: "flex-end" }, children: [
|
|
51622
|
-
/* @__PURE__ */ jsx9(IconButton, { label: props2.muted ? "
|
|
51623
|
-
shown3.has("media.speed") && /* @__PURE__ */ jsx9(Menu, { label: "
|
|
52026
|
+
/* @__PURE__ */ jsx9(IconButton, { label: t2(props2.muted ? "unmute" : "mute"), icon: props2.muted ? "muted" : "volume", size: 22, id: "media.mute", onClick: use(() => actions.setMuted(!props2.muted)) }),
|
|
52027
|
+
shown3.has("media.speed") && /* @__PURE__ */ jsx9(Menu, { label: t2("playbackSpeed"), id: "media.speed", text: mediaRateLabel(props2.rate), opened: menuOpened, children: (close) => props2.rates.map((value2) => /* @__PURE__ */ jsx9(MenuItem, { label: mediaRateLabel(value2), selected: value2 === props2.rate, onClick: () => {
|
|
51624
52028
|
close();
|
|
51625
52029
|
actions.setRate(value2);
|
|
51626
52030
|
} }, value2)) }),
|
|
51627
|
-
shown3.has("media.selection") && /* @__PURE__ */ jsx9(Menu, { label: "
|
|
52031
|
+
shown3.has("media.selection") && /* @__PURE__ */ jsx9(Menu, { label: t2("subtitlesAndAudio"), id: "media.selection", icon: "captions", opened: menuOpened, children: (close) => /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51628
52032
|
props2.captions.length > 0 && /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51629
|
-
props2.audio.length > 0 && /* @__PURE__ */ jsx9(MenuHeading, { label: "
|
|
51630
|
-
/* @__PURE__ */ jsx9(MenuItem, { label: "
|
|
52033
|
+
props2.audio.length > 0 && /* @__PURE__ */ jsx9(MenuHeading, { label: t2("subtitles") }),
|
|
52034
|
+
/* @__PURE__ */ jsx9(MenuItem, { label: t2("off"), selected: props2.captions.every((track2) => !track2.showing), onClick: () => {
|
|
51631
52035
|
close();
|
|
51632
52036
|
actions.setCaptions(-1);
|
|
51633
52037
|
} }),
|
|
@@ -51637,16 +52041,16 @@ function MediaControls(props2) {
|
|
|
51637
52041
|
} }, track2.index))
|
|
51638
52042
|
] }),
|
|
51639
52043
|
props2.audio.length > 0 && /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51640
|
-
/* @__PURE__ */ jsx9(MenuHeading, { label: "
|
|
52044
|
+
/* @__PURE__ */ jsx9(MenuHeading, { label: t2("audio") }),
|
|
51641
52045
|
props2.audio.map((track2) => /* @__PURE__ */ jsx9(MenuItem, { label: track2.label, selected: track2.enabled, onClick: () => {
|
|
51642
52046
|
close();
|
|
51643
52047
|
actions.setAudio(track2.index);
|
|
51644
52048
|
} }, `audio-${track2.index}`))
|
|
51645
52049
|
] })
|
|
51646
52050
|
] }) }),
|
|
51647
|
-
shown3.has("media.pip") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51648
|
-
shown3.has("media.cast") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51649
|
-
shown3.has("media.fullscreen") && /* @__PURE__ */ jsx9(IconButton, { label: props2.isFullscreen ? "
|
|
52051
|
+
shown3.has("media.pip") && /* @__PURE__ */ jsx9(IconButton, { label: t2("pictureInPicture"), icon: "pip", size: 22, id: "media.pip", onClick: use(actions.pictureInPicture) }),
|
|
52052
|
+
shown3.has("media.cast") && /* @__PURE__ */ jsx9(IconButton, { label: t2("cast"), icon: "cast", size: 22, id: "media.cast", onClick: use(actions.cast) }),
|
|
52053
|
+
shown3.has("media.fullscreen") && /* @__PURE__ */ jsx9(IconButton, { label: t2(props2.isFullscreen ? "exitFullscreen" : "fullscreen"), icon: props2.isFullscreen ? "fullscreenExit" : "fullscreen", size: 24, id: "media.fullscreen", onClick: use(actions.fullscreen) })
|
|
51650
52054
|
] });
|
|
51651
52055
|
if (layout2 === "bar") {
|
|
51652
52056
|
return /* @__PURE__ */ jsxs6("div", { "data-media-controls": "builtIn", style: { width: "100%", padding: "8px 12px", boxSizing: "border-box", color: foreground, background: "linear-gradient(transparent,rgba(0,0,0,.82))" }, children: [
|
|
@@ -51665,7 +52069,7 @@ function MediaControls(props2) {
|
|
|
51665
52069
|
"data-media-controls-visible": visible ? "true" : "false",
|
|
51666
52070
|
tabIndex: visible ? void 0 : 0,
|
|
51667
52071
|
role: visible ? void 0 : "button",
|
|
51668
|
-
"aria-label": visible ? void 0 : "
|
|
52072
|
+
"aria-label": visible ? void 0 : t2("showControls"),
|
|
51669
52073
|
onKeyDown: (event) => {
|
|
51670
52074
|
if (visible || event.key !== "Enter" && event.key !== " ") return;
|
|
51671
52075
|
event.preventDefault();
|
|
@@ -51730,6 +52134,7 @@ var init_mediaControls = __esm({
|
|
|
51730
52134
|
"../../core/web-renderer/src/mediaControls.tsx"() {
|
|
51731
52135
|
"use strict";
|
|
51732
52136
|
init_define_HHP_CATALOG();
|
|
52137
|
+
init_runtimeCopy();
|
|
51733
52138
|
MEDIA_CONTROLS_HIDE_MS = 3e3;
|
|
51734
52139
|
DEFAULT_PLAYBACK_RATES = [0.5, 0.75, 1, 1.25, 1.5, 2];
|
|
51735
52140
|
ICONS2 = {
|
|
@@ -52564,10 +52969,10 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52564
52969
|
if (!live4) {
|
|
52565
52970
|
const { paddingTop: _t2, paddingBottom: _b, paddingLeft: _l2, paddingRight: _r2, ...rootNoSides } = root;
|
|
52566
52971
|
const own6 = { ...rootNoSides, border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: 8, padding: 12, boxSizing: "border-box" };
|
|
52567
|
-
return /* @__PURE__ */ jsx10("div", { ...dom, style: addIntrinsicPadding(own6, wrap) ?? own6, children: /* @__PURE__ */ jsx10("span", { style: { color: C2("textSecondary", "#636B78") }, children: placeholder3 ||
|
|
52972
|
+
return /* @__PURE__ */ jsx10("div", { ...dom, style: addIntrinsicPadding(own6, wrap) ?? own6, children: /* @__PURE__ */ jsx10("span", { style: { color: C2("textSecondary", "#636B78") }, children: placeholder3 || rcopy(ctx, "runtime.component.richEditor.label") }) });
|
|
52568
52973
|
}
|
|
52569
52974
|
if (status2 === "unavailable") {
|
|
52570
|
-
return /* @__PURE__ */ jsx10("div", { ...dom, style: root, children: /* @__PURE__ */ jsx10("div", { "data-component-id": `${id}/fallback`, children: props2.fallback ? renderChild(props2.fallback) : /* @__PURE__ */ jsx10("p", { style: { margin: 0, color: C2("textSecondary", "#636B78") }, children: "
|
|
52975
|
+
return /* @__PURE__ */ jsx10("div", { ...dom, style: root, children: /* @__PURE__ */ jsx10("div", { "data-component-id": `${id}/fallback`, children: props2.fallback ? renderChild(props2.fallback) : /* @__PURE__ */ jsx10("p", { style: { margin: 0, color: C2("textSecondary", "#636B78") }, children: rcopy(ctx, "runtime.component.richEditor.unavailable") }) }) });
|
|
52571
52976
|
}
|
|
52572
52977
|
const ready = status2 === "ready";
|
|
52573
52978
|
return /* @__PURE__ */ jsxs7("div", { ...dom, style: root, children: [
|
|
@@ -52575,7 +52980,7 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52575
52980
|
"div",
|
|
52576
52981
|
{
|
|
52577
52982
|
role: "toolbar",
|
|
52578
|
-
"aria-label": "
|
|
52983
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.formatting"),
|
|
52579
52984
|
"data-component-id": `${id}/toolbar`,
|
|
52580
52985
|
style: { display: "flex", flexWrap: "wrap", gap: 4, padding: 4, background: C2("surfacePrimary", "#FFFFFF"), borderBottom: `1px solid ${C2("border", "#E3E3E3")}`, ...dockStyle(focused && ready, typeof window !== "undefined" ? window : void 0) },
|
|
52581
52986
|
children: tools.map((tool2) => {
|
|
@@ -52609,12 +53014,12 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52609
53014
|
})
|
|
52610
53015
|
}
|
|
52611
53016
|
),
|
|
52612
|
-
link4 && /* @__PURE__ */ jsxs7("div", { "data-component-id": `${id}/link_sheet`, role: "dialog", "aria-label":
|
|
53017
|
+
link4 && /* @__PURE__ */ jsxs7("div", { "data-component-id": `${id}/link_sheet`, role: "dialog", "aria-label": rcopy(ctx, "runtime.component.richEditor.insertLink"), style: { display: "flex", flexDirection: "column", gap: 8, padding: 12, borderBottom: `1px solid ${C2("border", "#E3E3E3")}` }, children: [
|
|
52613
53018
|
/* @__PURE__ */ jsx10(
|
|
52614
53019
|
"input",
|
|
52615
53020
|
{
|
|
52616
53021
|
"data-component-id": `${id}/link_url`,
|
|
52617
|
-
"aria-label":
|
|
53022
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.linkAddress"),
|
|
52618
53023
|
inputMode: "url",
|
|
52619
53024
|
placeholder: "https://",
|
|
52620
53025
|
value: link4.url,
|
|
@@ -52625,16 +53030,16 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52625
53030
|
"input",
|
|
52626
53031
|
{
|
|
52627
53032
|
"data-component-id": `${id}/link_text`,
|
|
52628
|
-
"aria-label":
|
|
52629
|
-
placeholder: "
|
|
53033
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.linkText"),
|
|
53034
|
+
placeholder: rcopy(ctx, "runtime.component.richEditor.linkTextPlaceholder"),
|
|
52630
53035
|
value: link4.text,
|
|
52631
53036
|
onChange: (e2) => setLink({ ...link4, text: e2.currentTarget.value })
|
|
52632
53037
|
}
|
|
52633
53038
|
),
|
|
52634
53039
|
link4.error && /* @__PURE__ */ jsx10("div", { role: "alert", style: { color: C2("danger", "#E62214"), fontSize: pxToRem(13) }, children: link4.error }),
|
|
52635
53040
|
/* @__PURE__ */ jsxs7("div", { style: { display: "flex", gap: 8 }, children: [
|
|
52636
|
-
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_apply`, onClick: applyLink, children: "
|
|
52637
|
-
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_cancel`, onClick: () => setLink(null), children: "
|
|
53041
|
+
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_apply`, onClick: applyLink, children: rcopy(ctx, "runtime.component.richEditor.apply") }),
|
|
53042
|
+
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_cancel`, onClick: () => setLink(null), children: rcopy(ctx, "runtime.component.richEditor.cancel") })
|
|
52638
53043
|
] })
|
|
52639
53044
|
] }),
|
|
52640
53045
|
src && /* @__PURE__ */ jsx10(
|
|
@@ -52643,7 +53048,7 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52643
53048
|
ref: iframeRef,
|
|
52644
53049
|
src,
|
|
52645
53050
|
sandbox: "allow-scripts",
|
|
52646
|
-
title: placeholder3 ||
|
|
53051
|
+
title: placeholder3 || rcopy(ctx, "runtime.component.richEditor.label"),
|
|
52647
53052
|
"data-component-id": `${id}/webview`,
|
|
52648
53053
|
style: { flex: "1 1 auto", width: "100%", border: 0, minHeight: fill2 ? 0 : minHeight, background: "transparent" }
|
|
52649
53054
|
}
|
|
@@ -52667,10 +53072,10 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52667
53072
|
{
|
|
52668
53073
|
"data-component-id": `${id}/loading`,
|
|
52669
53074
|
role: "progressbar",
|
|
52670
|
-
"aria-label":
|
|
53075
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.loading"),
|
|
52671
53076
|
"aria-busy": "true",
|
|
52672
53077
|
style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center", pointerEvents: "none", fontSize: pxToRem(13), color: C2("textSecondary", "#636B78") },
|
|
52673
|
-
children:
|
|
53078
|
+
children: rcopy(ctx, "runtime.component.richEditor.loadingVisible")
|
|
52674
53079
|
}
|
|
52675
53080
|
)
|
|
52676
53081
|
] });
|
|
@@ -52680,6 +53085,7 @@ var init_richContentEditor = __esm({
|
|
|
52680
53085
|
"../../core/web-renderer/src/richContentEditor.tsx"() {
|
|
52681
53086
|
"use strict";
|
|
52682
53087
|
init_define_HHP_CATALOG();
|
|
53088
|
+
init_runtimeCopy();
|
|
52683
53089
|
init_formBag();
|
|
52684
53090
|
init_modifiers();
|
|
52685
53091
|
init_bindings2();
|
|
@@ -53063,6 +53469,7 @@ var init_controls = __esm({
|
|
|
53063
53469
|
init_define_HHP_CATALOG();
|
|
53064
53470
|
init_image_preview_runtime();
|
|
53065
53471
|
init_helpers();
|
|
53472
|
+
init_runtimeCopy();
|
|
53066
53473
|
init_tokens2();
|
|
53067
53474
|
init_idiom_controls();
|
|
53068
53475
|
init_bindings2();
|
|
@@ -53229,7 +53636,7 @@ var init_controls = __esm({
|
|
|
53229
53636
|
...i2 === 0 ? { [A11Y_PART]: "focus" } : {},
|
|
53230
53637
|
role: "slider",
|
|
53231
53638
|
tabIndex: props2.disabled ? -1 : 0,
|
|
53232
|
-
"aria-label": i2 === 0 ? "
|
|
53639
|
+
"aria-label": rcopy(ctx, i2 === 0 ? "runtime.component.slider.minimum" : "runtime.component.slider.maximum"),
|
|
53233
53640
|
"aria-valuenow": p2,
|
|
53234
53641
|
"aria-valuemin": i2 === 0 ? min : lo2,
|
|
53235
53642
|
"aria-valuemax": i2 === 0 ? hi2 : max,
|
|
@@ -53573,7 +53980,7 @@ var init_controls = __esm({
|
|
|
53573
53980
|
style: { all: "unset", flex: 1, minWidth: 44, minHeight: seg2.height - 2 * seg2.trackPadding, textAlign: "center", padding: "7px 4px", borderRadius: outerR, fontFamily: FONT(ctx), fontWeight: 600, fontSize: pxToRem(13), cursor: "pointer", boxSizing: "border-box", background: on4 ? C2("surfacePrimary", "#fff") : seg2.outlined ? C2(pickRole(ctx.tokens.colors, seg2.roles.inactive), "#eee") : "transparent", color: on4 ? C2("textPrimary", "#111") : C2("textSecondary", "#777"), boxShadow: on4 && !seg2.outlined ? "0 1px 3px rgba(0,0,0,.12)" : "none", ...outlinedShape },
|
|
53574
53981
|
children: [
|
|
53575
53982
|
on4 && seg2.selectedCheck ? /* @__PURE__ */ jsx11("span", { "aria-hidden": "true", children: "\u2713 " }) : null,
|
|
53576
|
-
isolateRun(asText2(o2.label ?? o2.title ?? o2.id) ||
|
|
53983
|
+
isolateRun(asText2(o2.label ?? o2.title ?? o2.id) || rcopy(ctx, "runtime.component.segmented.option", { index: i2 + 1 }), ctx)
|
|
53577
53984
|
]
|
|
53578
53985
|
},
|
|
53579
53986
|
o2.id ?? i2
|
|
@@ -53838,9 +54245,10 @@ var init_listGestures = __esm({
|
|
|
53838
54245
|
"use strict";
|
|
53839
54246
|
init_define_HHP_CATALOG();
|
|
53840
54247
|
init_tokens2();
|
|
54248
|
+
init_runtimeCopy();
|
|
53841
54249
|
PULL_THRESHOLD = 56;
|
|
53842
54250
|
SWIPE_OPEN = 76;
|
|
53843
|
-
PullToRefreshList = ({ onRefresh, accent, fg, surface, label: label4 = "
|
|
54251
|
+
PullToRefreshList = ({ onRefresh, accent, fg, surface, label: label4 = rendererEnglish("runtime.component.list.pullToRefresh"), busyLabel = rendererEnglish("runtime.component.list.refreshing"), fontFamily = '"Wix Madefor Text", system-ui', style, children: children2, ...extras }) => {
|
|
53844
54252
|
const [pull, setPull] = useState5(0);
|
|
53845
54253
|
const [busy2, setBusy] = useState5(false);
|
|
53846
54254
|
const startY = useRef2(null);
|
|
@@ -53882,7 +54290,7 @@ var init_listGestures = __esm({
|
|
|
53882
54290
|
type: "button",
|
|
53883
54291
|
"data-testid": "list-pull-refresh",
|
|
53884
54292
|
"data-himalaya-pull-refresh": true,
|
|
53885
|
-
"aria-label": busy2 ?
|
|
54293
|
+
"aria-label": busy2 ? busyLabel : label4,
|
|
53886
54294
|
onClick: fire,
|
|
53887
54295
|
style: {
|
|
53888
54296
|
display: "flex",
|
|
@@ -55650,7 +56058,7 @@ var init_scrollLinkedRuntime = __esm({
|
|
|
55650
56058
|
});
|
|
55651
56059
|
|
|
55652
56060
|
// ../../core/web-renderer/src/pdfPainter.ts
|
|
55653
|
-
async function paintPdfDocument(document2, container, width = container.clientWidth || 600, startPage = 1, zoomPercent = 100, isCurrent = () => true, onPageCount) {
|
|
56061
|
+
async function paintPdfDocument(document2, container, width = container.clientWidth || 600, startPage = 1, zoomPercent = 100, isCurrent = () => true, onPageCount, pageLabel = (page, count3) => `Page ${page} of ${count3}`) {
|
|
55654
56062
|
if (!isCurrent()) return document2.numPages;
|
|
55655
56063
|
onPageCount?.(document2.numPages);
|
|
55656
56064
|
container.replaceChildren();
|
|
@@ -55664,7 +56072,7 @@ async function paintPdfDocument(document2, container, width = container.clientWi
|
|
|
55664
56072
|
const canvas = container.ownerDocument.createElement("canvas");
|
|
55665
56073
|
canvas.width = Math.ceil(viewport.width);
|
|
55666
56074
|
canvas.height = Math.ceil(viewport.height);
|
|
55667
|
-
canvas.setAttribute("aria-label",
|
|
56075
|
+
canvas.setAttribute("aria-label", pageLabel(pageNumber2, document2.numPages));
|
|
55668
56076
|
canvas.setAttribute("role", "img");
|
|
55669
56077
|
canvas.dataset.pdfPage = String(pageNumber2);
|
|
55670
56078
|
canvas.style.cssText = `display:block;width:${width * zoom}px;height:auto;background:#fff`;
|
|
@@ -136278,7 +136686,7 @@ async function destroyPdfDocumentLoad(loading) {
|
|
|
136278
136686
|
} catch {
|
|
136279
136687
|
}
|
|
136280
136688
|
}
|
|
136281
|
-
function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, style, onPageCount, onFallback, loadDocument = loadPdfDocument }) {
|
|
136689
|
+
function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, style, onPageCount, onFallback, loadDocument = loadPdfDocument, pageLabel, pageCountLabel }) {
|
|
136282
136690
|
const [pages2, setPages] = React21.useState(0);
|
|
136283
136691
|
const [failedRequest, setFailedRequest] = React21.useState(null);
|
|
136284
136692
|
const request2 = JSON.stringify([src, zoomPercent]);
|
|
@@ -136287,6 +136695,17 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136287
136695
|
const frameRef = React21.useRef(null);
|
|
136288
136696
|
const startPageRef = React21.useRef(startPage);
|
|
136289
136697
|
startPageRef.current = startPage;
|
|
136698
|
+
const pageLabelRef = React21.useRef(pageLabel);
|
|
136699
|
+
pageLabelRef.current = pageLabel;
|
|
136700
|
+
React21.useEffect(() => {
|
|
136701
|
+
if (!pages2 || !pageLabel) return;
|
|
136702
|
+
const canvases = containerRef.current?.querySelectorAll("canvas[data-pdf-page]");
|
|
136703
|
+
if (!canvases?.length) return;
|
|
136704
|
+
for (const canvas of Array.from(canvases)) {
|
|
136705
|
+
const next = pageLabel(Number(canvas.dataset.pdfPage), pages2);
|
|
136706
|
+
if (canvas.getAttribute("aria-label") !== next) canvas.setAttribute("aria-label", next);
|
|
136707
|
+
}
|
|
136708
|
+
});
|
|
136290
136709
|
React21.useEffect(() => {
|
|
136291
136710
|
if (failed2) onFallback?.();
|
|
136292
136711
|
}, [failed2, onFallback]);
|
|
@@ -136320,7 +136739,7 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136320
136739
|
}
|
|
136321
136740
|
loading = task;
|
|
136322
136741
|
const document2 = await task.promise;
|
|
136323
|
-
const count3 = await paintPdfDocument(document2, container, container.clientWidth || 600, startPageRef.current, zoomPercent, () => live4, onPageCount);
|
|
136742
|
+
const count3 = await paintPdfDocument(document2, container, container.clientWidth || 600, startPageRef.current, zoomPercent, () => live4, onPageCount, (page, count4) => pageLabelRef.current?.(page, count4) ?? `Page ${page} of ${count4}`);
|
|
136324
136743
|
if (live4) setPages(count3);
|
|
136325
136744
|
})().catch(() => {
|
|
136326
136745
|
if (live4) setFailedRequest(request2);
|
|
@@ -136346,10 +136765,7 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136346
136765
|
}
|
|
136347
136766
|
return /* @__PURE__ */ jsxs11("div", { ref: frameRef, "data-himalaya-pdf": "canvas-document", "data-himalaya-pdf-src": src, "data-himalaya-pdf-zoom": zoomPercent ?? 100, "data-himalaya-pdf-start-page": startPage ?? 1, "data-himalaya-pdf-native-src": nativeSrc, role: "group", "aria-label": title, "aria-busy": pages2 === 0, style: frame, children: [
|
|
136348
136767
|
/* @__PURE__ */ jsx14("div", { ref: containerRef, "data-himalaya-pdf-pages": "true" }),
|
|
136349
|
-
pages2 ? /* @__PURE__ */
|
|
136350
|
-
pages2,
|
|
136351
|
-
" pages"
|
|
136352
|
-
] }) : null
|
|
136768
|
+
pages2 ? /* @__PURE__ */ jsx14("span", { "data-himalaya-pdf-page-count": "true", style: { position: "absolute", width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0,0,0,0)", whiteSpace: "nowrap", border: 0 }, children: pageCountLabel ? pageCountLabel(pages2) : `${pages2} pages` }) : null
|
|
136353
136769
|
] });
|
|
136354
136770
|
}
|
|
136355
136771
|
var init_pdfDocument = __esm({
|
|
@@ -138166,12 +138582,12 @@ function voiceNoteClock(ms2) {
|
|
|
138166
138582
|
const total = Math.floor(Math.max(0, ms2) / 1e3);
|
|
138167
138583
|
return `${Math.floor(total / 60)}:${String(total % 60).padStart(2, "0")}`;
|
|
138168
138584
|
}
|
|
138169
|
-
function voiceNoteSpokenDuration(ms2) {
|
|
138585
|
+
function voiceNoteSpokenDuration(ms2, ctx = {}) {
|
|
138170
138586
|
const total = Math.floor(Math.max(0, ms2) / 1e3);
|
|
138171
|
-
const
|
|
138172
|
-
if (
|
|
138173
|
-
if (
|
|
138174
|
-
return
|
|
138587
|
+
const minutes = Math.floor(total / 60), seconds = total % 60;
|
|
138588
|
+
if (minutes === 0) return rcopy(ctx, "runtime.component.voiceNote.seconds", { seconds });
|
|
138589
|
+
if (seconds === 0) return rcopy(ctx, "runtime.component.voiceNote.minutes", { minutes });
|
|
138590
|
+
return rcopy(ctx, "runtime.component.voiceNote.minutesSeconds", { minutes, seconds });
|
|
138175
138591
|
}
|
|
138176
138592
|
function resolvePagedIndex(value2, count3) {
|
|
138177
138593
|
if (count3 <= 0) return void 0;
|
|
@@ -138419,9 +138835,9 @@ function parseLocalDate(when) {
|
|
|
138419
138835
|
const d2 = when instanceof Date ? new Date(when.getTime()) : new Date(when);
|
|
138420
138836
|
return isNaN(d2.getTime()) ? null : d2;
|
|
138421
138837
|
}
|
|
138422
|
-
function localTimeLabel(d2) {
|
|
138838
|
+
function localTimeLabel(d2, locale) {
|
|
138423
138839
|
try {
|
|
138424
|
-
return d2.toLocaleTimeString(
|
|
138840
|
+
return d2.toLocaleTimeString(locale, { hour: "numeric", minute: "2-digit" }).replace(/[\u202F\u00A0]/g, " ");
|
|
138425
138841
|
} catch {
|
|
138426
138842
|
const p2 = (n2) => String(n2).padStart(2, "0");
|
|
138427
138843
|
return `${p2(d2.getHours())}:${p2(d2.getMinutes())}`;
|
|
@@ -138547,11 +138963,11 @@ function calWeekAnchorForMonth(year, month, selectedDate) {
|
|
|
138547
138963
|
if (inMonth(today4)) return today4;
|
|
138548
138964
|
return localDayKey(new Date(year, month - 1, 1));
|
|
138549
138965
|
}
|
|
138550
|
-
function weekdayLabels(firstWeekday) {
|
|
138966
|
+
function weekdayLabels(firstWeekday, locale) {
|
|
138551
138967
|
const out2 = [];
|
|
138552
138968
|
const anchor = new Date(2024, 0, 7);
|
|
138553
138969
|
for (let i2 = 0; i2 < 7; i2++) {
|
|
138554
|
-
out2.push(new Date(anchor.getFullYear(), anchor.getMonth(), anchor.getDate() + firstWeekday + i2).toLocaleDateString(
|
|
138970
|
+
out2.push(new Date(anchor.getFullYear(), anchor.getMonth(), anchor.getDate() + firstWeekday + i2).toLocaleDateString(locale, { weekday: "short" }));
|
|
138555
138971
|
}
|
|
138556
138972
|
return out2;
|
|
138557
138973
|
}
|
|
@@ -139522,6 +139938,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139522
139938
|
return /* @__PURE__ */ jsx15(
|
|
139523
139939
|
PullToRefreshList,
|
|
139524
139940
|
{
|
|
139941
|
+
...ptrCopy(ctx),
|
|
139525
139942
|
onRefresh: () => ctx.onAction(resolveItemDeep2(boundRefresh, ctx)),
|
|
139526
139943
|
accent: C2("accentPrimary", "#116DFF"),
|
|
139527
139944
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -139593,6 +140010,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139593
140010
|
return /* @__PURE__ */ jsxs12(
|
|
139594
140011
|
PullToRefreshList,
|
|
139595
140012
|
{
|
|
140013
|
+
...ptrCopy(ctx),
|
|
139596
140014
|
onRefresh: () => ctx.onAction(resolveItemDeep2(refresh, ctx)),
|
|
139597
140015
|
accent: C2("accentPrimary", "#116DFF"),
|
|
139598
140016
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -139710,13 +140128,13 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139710
140128
|
const badgeLabel = m2?.accessibilityLabel ?? m2?.accessibility_label;
|
|
139711
140129
|
const badgeRole = roleDeclared ? void 0 : liveCount ? "status" : typeof badgeLabel === "string" && badgeLabel.trim() !== "" ? "img" : void 0;
|
|
139712
140130
|
const fg = _bt ? c2 : sevTextColor(ctx, props2.style ?? "info");
|
|
139713
|
-
return /* @__PURE__ */ jsx15("span", { role: badgeRole, style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "3px 9px", borderRadius: 999, fontSize: pxToRem(12), fontWeight: 700, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 16%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, color: fg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || "
|
|
140131
|
+
return /* @__PURE__ */ jsx15("span", { role: badgeRole, style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "3px 9px", borderRadius: 999, fontSize: pxToRem(12), fontWeight: 700, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 16%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, color: fg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || rcopy(ctx, "runtime.component.badge.label") });
|
|
139714
140132
|
}
|
|
139715
140133
|
case "Tag": {
|
|
139716
140134
|
const tagToken = boundTokenName(props2.tokenPath, props2.token, ctx);
|
|
139717
140135
|
const c2 = C2(tagToken ?? "accentPrimary", "#116DFF");
|
|
139718
140136
|
const tagFg = tagToken ? c2 : accentTextColor(ctx);
|
|
139719
|
-
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "5px 11px", borderRadius: 999, fontSize: pxToRem(13), fontWeight: 600, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 14%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, border: `1px solid color-mix(in srgb, ${c2} 30%, transparent)`, color: tagFg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || "
|
|
140137
|
+
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "5px 11px", borderRadius: 999, fontSize: pxToRem(13), fontWeight: 600, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 14%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, border: `1px solid color-mix(in srgb, ${c2} 30%, transparent)`, color: tagFg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || rcopy(ctx, "runtime.component.tag.label") });
|
|
139720
140138
|
}
|
|
139721
140139
|
case "ProgressBar":
|
|
139722
140140
|
return /* @__PURE__ */ jsx15(ProgressBarNode, { props: props2, ctx, wrap });
|
|
@@ -139906,7 +140324,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139906
140324
|
extended && /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15) }, children: txt(props2.label, ctx) })
|
|
139907
140325
|
] });
|
|
139908
140326
|
if (!actionable) return /* @__PURE__ */ jsx15("div", { style, children: content });
|
|
139909
|
-
return /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": extended ? void 0 : props2.icon || "
|
|
140327
|
+
return /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": extended ? void 0 : props2.icon || rcopy(ctx, "runtime.component.fab.action"), onClick: ctx.onAction ? (e2) => {
|
|
139910
140328
|
e2.stopPropagation();
|
|
139911
140329
|
ctx.onAction(resolveItemDeep2(props2.action, ctx));
|
|
139912
140330
|
} : void 0, style: { ...style, appearance: "none", border: 0, font: "inherit" }, children: content });
|
|
@@ -140062,7 +140480,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
140062
140480
|
// it. A presented alert is `presentation: "alert"` on a navigating Action, which the web host
|
|
140063
140481
|
// draws as its own modal dialog.
|
|
140064
140482
|
case "AlertDialog":
|
|
140065
|
-
return /* @__PURE__ */ jsxs12("div", { role: "alertdialog", "aria-label": props2.title != null ? asBoundText(props2.title, ctx) : "
|
|
140483
|
+
return /* @__PURE__ */ jsxs12("div", { role: "alertdialog", "aria-label": props2.title != null ? asBoundText(props2.title, ctx) : rcopy(ctx, "runtime.component.alertDialog.label"), style: { background: C2("surfacePrimary", "#fff"), borderRadius: ctx.radius("lg", 14), padding: 18, width: "100%", boxSizing: "border-box", border: `1px solid ${C2("border", "#e3e3e3")}`, boxShadow: "0 12px 30px -12px rgba(0,0,0,.4)", ...wrap }, children: [
|
|
140066
140484
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontWeight: 700, fontSize: pxToRem(17), color: C2("textPrimary", "#111") }, children: txt(props2.title, ctx) }),
|
|
140067
140485
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), lineHeight: 1.45, color: C2("textSecondary", "#666"), margin: "6px 0 16px" }, children: txt(props2.message, ctx) }),
|
|
140068
140486
|
Array.isArray(props2.buttons) && props2.buttons.length > 0 ? (
|
|
@@ -140072,8 +140490,8 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
140072
140490
|
// `alert.<id>` stays unique on screen (invariant 27).
|
|
140073
140491
|
/* @__PURE__ */ jsx15("div", { style: { display: "flex", gap: 10, ...props2.buttons.length > 2 && typeof window !== "undefined" && window.innerWidth < 360 ? { flexDirection: "column" } : {} }, children: [...props2.buttons.filter((b3) => b3?.role === "cancel"), ...props2.buttons.filter((b3) => b3?.role !== "cancel")].map((b3) => /* @__PURE__ */ jsx15("button", { type: "button", "data-testid": `alert_preview.${b3.id}`, onClick: b3.action ? actionClick(ctx, b3.action) : void 0, style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), ...b3.role === "cancel" ? { background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111") } : { background: b3.role === "destructive" ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff" }, cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(b3.label, ctx), ctx) }, String(b3.id))) })
|
|
140074
140492
|
) : /* @__PURE__ */ jsxs12("div", { style: { display: "flex", gap: 10 }, children: [
|
|
140075
|
-
props2.cancelAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.cancelAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111"), cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.cancelLabel, ctx) || "
|
|
140076
|
-
props2.confirmAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.confirmAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: props2.destructive ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff", cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.confirmLabel, ctx) || (props2.destructive ? "
|
|
140493
|
+
props2.cancelAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.cancelAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111"), cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.cancelLabel, ctx) || rcopy(ctx, "runtime.dialog.cancel"), ctx) }),
|
|
140494
|
+
props2.confirmAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.confirmAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: props2.destructive ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff", cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.confirmLabel, ctx) || rcopy(ctx, props2.destructive ? "runtime.dialog.delete" : "runtime.dialog.confirm"), ctx) })
|
|
140077
140495
|
] })
|
|
140078
140496
|
] });
|
|
140079
140497
|
// ───────────── embeddable WebView ─────────────
|
|
@@ -140121,7 +140539,7 @@ function listSeparatorStyle(separator, horizontal) {
|
|
|
140121
140539
|
const insetLeading = Math.max(0, Number(s5.insetLeading ?? s5.inset_leading ?? 0) || 0);
|
|
140122
140540
|
return { token, thickness, insetLeading };
|
|
140123
140541
|
}
|
|
140124
|
-
var MOTION_WRAPPER_ATTRS, AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, ENTRANCE_KEYFRAMES_CSS, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOCOMPLETE_TOKENS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AVATAR_RING_INSET, AVATAR_BORDER_INSET, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
140542
|
+
var MOTION_WRAPPER_ATTRS, AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, ENTRANCE_KEYFRAMES_CSS, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOCOMPLETE_TOKENS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AVATAR_RING_INSET, AVATAR_BORDER_INSET, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, ptrCopy, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
140125
140543
|
var init_renderNode = __esm({
|
|
140126
140544
|
"../../core/web-renderer/src/renderNode.tsx"() {
|
|
140127
140545
|
"use strict";
|
|
@@ -140194,6 +140612,7 @@ var init_renderNode = __esm({
|
|
|
140194
140612
|
init_rich_content();
|
|
140195
140613
|
init_rich_text_field();
|
|
140196
140614
|
init_richContent();
|
|
140615
|
+
init_runtimeCopy();
|
|
140197
140616
|
init_liveWaveform();
|
|
140198
140617
|
init_pageControl();
|
|
140199
140618
|
MOTION_WRAPPER_ATTRS = ["data-himalaya-parallax", "data-himalaya-reveal", "data-himalaya-scroll-progress", "data-himalaya-vectoranim", "data-himalaya-confetti-host"];
|
|
@@ -140946,7 +141365,7 @@ var init_renderNode = __esm({
|
|
|
140946
141365
|
const renderCfg = (cfg) => cfg && typeof cfg === "object" ? /* @__PURE__ */ jsxs12("div", { style: { textAlign: "center", padding: "24px 12px", color: C2("textSecondary", "#9aa2ad") }, children: [
|
|
140947
141366
|
cfg.title && /* @__PURE__ */ jsx15("div", { style: { fontSize: pxToRem(15), fontWeight: 600, color: C2("textPrimary", "#111") }, children: isolateRun(asText2(cfg.title), ctx) }),
|
|
140948
141367
|
(cfg.subtitle ?? cfg.message) && /* @__PURE__ */ jsx15("div", { style: { fontSize: pxToRem(13), marginTop: 4 }, children: isolateRun(asText2(cfg.subtitle ?? cfg.message), ctx) }),
|
|
140949
|
-
actionTextButton(ctx, cfg.retry ?? cfg.action, asText2(cfg.retryLabel) || asText2(cfg.actionLabel) || (cfg.retry != null ? "
|
|
141368
|
+
actionTextButton(ctx, cfg.retry ?? cfg.action, asText2(cfg.retryLabel) || asText2(cfg.actionLabel) || (cfg.retry != null ? rcopy(ctx, "runtime.state.retry") : rcopy(ctx, "runtime.state.takeAction")), accentTextColor(ctx), { margin: "12px auto 0", textAlign: "center" })
|
|
140950
141369
|
] }) : null;
|
|
140951
141370
|
let content = null;
|
|
140952
141371
|
switch (shown3) {
|
|
@@ -141338,7 +141757,7 @@ var init_renderNode = __esm({
|
|
|
141338
141757
|
const C2 = ctx.color;
|
|
141339
141758
|
const modal = previewMode || isOverlayModal("Menu", props2.modal);
|
|
141340
141759
|
const rawAnchorLabel = props2.anchor?.modifiers?.accessibilityLabel;
|
|
141341
|
-
const anchorLabel = String((typeof rawAnchorLabel === "string" && rawAnchorLabel.startsWith("$item") ? resolveItemDeep2(rawAnchorLabel, ctx) : rawAnchorLabel) ||
|
|
141760
|
+
const anchorLabel = String((typeof rawAnchorLabel === "string" && rawAnchorLabel.startsWith("$item") ? resolveItemDeep2(rawAnchorLabel, ctx) : rawAnchorLabel) || rcopy(ctx, "runtime.component.menu.moreActions"));
|
|
141342
141761
|
const flexGrow = typeof wrap?.flex === "string" ? parseFloat(wrap.flex) : typeof wrap?.flex === "number" ? wrap.flex : Number(wrap?.flexGrow ?? 0);
|
|
141343
141762
|
const fill2 = wrap?.width === "100%" || Number.isFinite(flexGrow) && flexGrow > 0;
|
|
141344
141763
|
const popupPlacement = menuPopupPlacement(fill2);
|
|
@@ -141533,7 +141952,7 @@ var init_renderNode = __esm({
|
|
|
141533
141952
|
setOpen(false);
|
|
141534
141953
|
ctx.onAction?.(resolveItemDeep2(it2.action, ctx));
|
|
141535
141954
|
},
|
|
141536
|
-
style: { color: C2, fontFamily: bodyFont(ctx), fontSize: pxToRem(15), text: asText2 }
|
|
141955
|
+
style: { color: C2, fontFamily: bodyFont(ctx), fontSize: pxToRem(15), text: asText2, itemLabel: rcopy(ctx, "runtime.component.menu.item") }
|
|
141537
141956
|
}
|
|
141538
141957
|
))
|
|
141539
141958
|
] });
|
|
@@ -141618,8 +142037,8 @@ var init_renderNode = __esm({
|
|
|
141618
142037
|
return { ...node3, props: { ...node3.props ?? {}, disabled: true } };
|
|
141619
142038
|
}, [props2.submitButton, valid3, waiting, unavailable2]);
|
|
141620
142039
|
return /* @__PURE__ */ jsxs12("div", { "aria-busy": waiting || void 0, style: { display: "flex", flexDirection: "column", gap: 14, width: "100%", ...wrap }, children: [
|
|
141621
|
-
waiting && /* @__PURE__ */ jsx15("span", { role: "status", children: refreshing ? "
|
|
141622
|
-
unavailable2 && /* @__PURE__ */ jsx15("span", { role: "status", children: "
|
|
142040
|
+
waiting && /* @__PURE__ */ jsx15("span", { role: "status", children: refreshing ? rcopy(ctx, "runtime.component.form.refreshing") : rcopy(ctx, "runtime.component.form.loading") }),
|
|
142041
|
+
unavailable2 && /* @__PURE__ */ jsx15("span", { role: "status", children: rcopy(ctx, "runtime.component.form.unavailable") }),
|
|
141623
142042
|
/* @__PURE__ */ jsxs12(FormValuesContext.Provider, { value: bag, children: [
|
|
141624
142043
|
/* @__PURE__ */ jsx15("fieldset", { disabled: waiting || unavailable2, style: { display: waiting && !refreshing ? "none" : "contents", border: 0, padding: 0, margin: 0, minWidth: 0 }, children: kids2(props2.fields, ctx) }),
|
|
141625
142044
|
submitNode && renderNode(submitNode, submitCtx)
|
|
@@ -142149,6 +142568,7 @@ var init_renderNode = __esm({
|
|
|
142149
142568
|
const builtInControls = /* @__PURE__ */ jsx15(
|
|
142150
142569
|
MediaControls,
|
|
142151
142570
|
{
|
|
142571
|
+
copy: ctx,
|
|
142152
142572
|
mediaRef,
|
|
142153
142573
|
mediaKey: mediaKey2,
|
|
142154
142574
|
layout: isAudio ? "bar" : "overlay",
|
|
@@ -142252,24 +142672,24 @@ var init_renderNode = __esm({
|
|
|
142252
142672
|
if (items.length === 0) {
|
|
142253
142673
|
const waiting = typeof itemsPath === "string" && isBinding(itemsPath);
|
|
142254
142674
|
return /* @__PURE__ */ jsxs12("div", { "data-media-player": sessionId, "data-media-empty": waiting ? "loading" : "none", style: { position: "relative", width: "100%", height: props2.height, aspectRatio: props2.height ? void 0 : String(ar2), minHeight: props2.height ? void 0 : 0, display: "grid", placeItems: "center", overflow: "hidden", borderRadius: ctx.radius("md", 8), background, color: foreground, ...wrap }, children: [
|
|
142255
|
-
slot("empty") ?? (waiting ? /* @__PURE__ */ jsx15("div", { role: "status", "aria-label": "
|
|
142675
|
+
slot("empty") ?? (waiting ? /* @__PURE__ */ jsx15("div", { role: "status", "aria-label": rcopy(ctx, "runtime.component.media.loading"), style: { width: 24, height: 24, borderRadius: "50%", border: "2px solid rgba(255,255,255,.3)", borderTopColor: "#fff", animation: "himalaya-media-spin 0.9s linear infinite" } }) : rcopy(ctx, "runtime.component.media.empty")),
|
|
142256
142676
|
waiting && /* @__PURE__ */ jsx15("style", { children: "@keyframes himalaya-media-spin{to{transform:rotate(360deg)}}" })
|
|
142257
142677
|
] });
|
|
142258
142678
|
}
|
|
142259
142679
|
return /* @__PURE__ */ jsxs12("div", { ref: hostRef, "data-media-player": sessionId, "data-media-provider": provider, "data-media-status": status2, "data-media-fullscreen": fullscreen ? "true" : "false", style: { position: hidden ? "fixed" : "relative", width: hidden ? 1 : "100%", height: hidden ? 1 : props2.height, aspectRatio: hidden || props2.height ? void 0 : String(ar2), overflow: "hidden", borderRadius: fullscreen ? 0 : ctx.radius("md", 8), background, color: foreground, display: hidden ? "block" : "flex", flexDirection: "column", isolation: "isolate", ...wrap }, children: [
|
|
142260
142680
|
slot("audioBackground"),
|
|
142261
142681
|
isUnsupportedProvider ? /* @__PURE__ */ jsxs12("div", { role: "status", style: { flex: 1, minHeight: 0, display: "grid", placeItems: "center", gap: 8, padding: 24, textAlign: "center", background: "#17191f", color: foreground }, children: [
|
|
142262
|
-
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700 }, children:
|
|
142682
|
+
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700 }, children: rcopy(ctx, "runtime.component.media.providerUnavailable") }),
|
|
142263
142683
|
/* @__PURE__ */ jsxs12("div", { style: { opacity: 0.75, fontSize: pxToRem(13) }, children: [
|
|
142264
142684
|
"This course uses an unsupported provider adapter: ",
|
|
142265
142685
|
provider,
|
|
142266
142686
|
"."
|
|
142267
142687
|
] })
|
|
142268
|
-
] }) : isYouTube ? /* @__PURE__ */ jsx15("iframe", { title: String(item2?.title ??
|
|
142688
|
+
] }) : isYouTube ? /* @__PURE__ */ jsx15("iframe", { title: String(item2?.title ?? rcopy(ctx, "runtime.component.media.youtube")), src: `https://www.youtube-nocookie.com/embed/${encodeURIComponent(youtubeId(item2))}?playsinline=1&autoplay=${props2.autoplay === "never" ? 0 : 1}&mute=${props2.muted === true ? 1 : 0}&controls=${chrome === "none" ? 0 : 1}`, allow: "autoplay; encrypted-media; picture-in-picture; fullscreen", allowFullScreen: true, style: { border: 0, width: "100%", flex: 1, minHeight: 0 } }, mediaKey2) : isAudio ? /* @__PURE__ */ jsxs12("div", { style: { position: "relative", flex: 1, minHeight: 0, display: "grid", gridTemplateColumns: props2.presentation === "compact" || props2.presentation === "mini" ? "72px 1fr" : "1fr", alignItems: "center", gap: 16, padding: hidden ? 0 : 16, boxSizing: "border-box" }, children: [
|
|
142269
142689
|
poster && /* @__PURE__ */ jsx15("img", { src: poster, alt: "", style: chrome === "custom" ? { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", opacity: 0.62 } : { width: props2.presentation === "compact" || props2.presentation === "mini" ? 72 : "min(55%, 260px)", aspectRatio: "1", objectFit: "cover", borderRadius: ctx.radius("md", 8), justifySelf: "center" } }),
|
|
142270
142690
|
chrome === "custom" && /* @__PURE__ */ jsx15("div", { style: { position: "absolute", inset: 0, background: "linear-gradient(transparent,rgba(0,0,0,.75))" } }),
|
|
142271
142691
|
!hidden && chrome !== "custom" && /* @__PURE__ */ jsxs12("div", { style: { textAlign: props2.presentation === "compact" || props2.presentation === "mini" ? layoutIsRTL(ctx) ? "right" : "left" : "center", minWidth: 0 }, children: [
|
|
142272
|
-
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.title ?? "
|
|
142692
|
+
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.title ?? rcopy(ctx, "runtime.component.media.untitled")) }),
|
|
142273
142693
|
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { opacity: 0.7, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.artist ?? item2?.album ?? "") })
|
|
142274
142694
|
] }),
|
|
142275
142695
|
/* @__PURE__ */ jsx15("audio", { ref: (el2) => {
|
|
@@ -142281,8 +142701,8 @@ var init_renderNode = __esm({
|
|
|
142281
142701
|
status2 === "idle" && slot("poster"),
|
|
142282
142702
|
slot("overlay"),
|
|
142283
142703
|
status2 === "loading" && slot("loading"),
|
|
142284
|
-
(status2 === "error" || status2 === "blocked") && (slot("error") ?? /* @__PURE__ */ jsx15("button", { onClick: () => void play(), style: { position: "absolute", inset: 0, margin: "auto", width: "fit-content", height: "fit-content", padding: "10px 16px", borderRadius: 999, border: 0 }, children:
|
|
142285
|
-
minimal && !isYouTube && /* @__PURE__ */ jsx15("button", { "aria-label": status2 === "playing" ? "
|
|
142704
|
+
(status2 === "error" || status2 === "blocked") && (slot("error") ?? /* @__PURE__ */ jsx15("button", { onClick: () => void play(), style: { position: "absolute", inset: 0, margin: "auto", width: "fit-content", height: "fit-content", padding: "10px 16px", borderRadius: 999, border: 0 }, children: rcopy(ctx, "runtime.component.media.tapToPlay") })),
|
|
142705
|
+
minimal && !isYouTube && /* @__PURE__ */ jsx15("button", { "aria-label": rcopy(ctx, status2 === "playing" ? "runtime.component.media.pause" : "runtime.component.media.play"), onClick: () => status2 === "playing" ? pause2() : void play(), style: { position: "absolute", inset: 0, margin: "auto", width: 54, height: 54, borderRadius: "50%", border: 0, background: foreground, color: background, fontSize: 24 }, children: status2 === "playing" ? "\u275A\u275A" : "\u25B6" }),
|
|
142286
142706
|
!hidden && !isYouTube && !isUnsupportedProvider && (showBuiltIn ? builtInControls : customControls),
|
|
142287
142707
|
fullscreen && slot("fullscreenOverlay")
|
|
142288
142708
|
] });
|
|
@@ -142374,7 +142794,7 @@ var init_renderNode = __esm({
|
|
|
142374
142794
|
{
|
|
142375
142795
|
"data-himalaya-pdf": "loading",
|
|
142376
142796
|
role: "img",
|
|
142377
|
-
"aria-label": "loading
|
|
142797
|
+
"aria-label": rcopy(ctx, "runtime.component.pdf.loading"),
|
|
142378
142798
|
"aria-busy": "true",
|
|
142379
142799
|
style: { ...frame, background: "#f4f4f4" }
|
|
142380
142800
|
}
|
|
@@ -142405,7 +142825,7 @@ var init_renderNode = __esm({
|
|
|
142405
142825
|
const data = base2 + pdfOpenFragment(sourceHash, { page, zoom: zoomable ? view.zoom : null, fitWidth: !zoomable });
|
|
142406
142826
|
const label4 = typeof props2.title === "string" && props2.title ? props2.title : "PDF document";
|
|
142407
142827
|
const documentStyle = showPageControls || zoomable || allowShare ? { display: "block", width: "100%", flex: "1 1 auto", minHeight: ph ? 0 : 280, border: "none" } : frame;
|
|
142408
|
-
const object16 = typeof window === "undefined" ? /* @__PURE__ */ jsx15("object", { "data-himalaya-pdf": "static-fallback", data, type: "application/pdf", "aria-label": label4, style: documentStyle }) : /* @__PURE__ */ jsx15(React22.Suspense, { fallback: /* @__PURE__ */ jsx15("div", { "data-himalaya-pdf": "loading", role: "img", "aria-label": "loading
|
|
142828
|
+
const object16 = typeof window === "undefined" ? /* @__PURE__ */ jsx15("object", { "data-himalaya-pdf": "static-fallback", data, type: "application/pdf", "aria-label": label4, style: documentStyle }) : /* @__PURE__ */ jsx15(React22.Suspense, { fallback: /* @__PURE__ */ jsx15("div", { "data-himalaya-pdf": "loading", role: "img", "aria-label": rcopy(ctx, "runtime.component.pdf.loading"), "aria-busy": "true", style: documentStyle }), children: /* @__PURE__ */ jsx15(
|
|
142409
142829
|
PdfDocumentCanvas,
|
|
142410
142830
|
{
|
|
142411
142831
|
src: loadSrc ?? src,
|
|
@@ -142416,6 +142836,8 @@ var init_renderNode = __esm({
|
|
|
142416
142836
|
onFallback,
|
|
142417
142837
|
startPage: shownPage,
|
|
142418
142838
|
zoomPercent: zoomable ? view.zoom ?? sourceZoomPercent(sourceHash) : void 0,
|
|
142839
|
+
pageLabel: (page2, count3) => rcopy(ctx, "runtime.component.pdf.page", { page: page2, count: count3 }),
|
|
142840
|
+
pageCountLabel: (count3) => rcopy(ctx, "runtime.component.pdf.pageCount", { count: count3 }),
|
|
142419
142841
|
style: documentStyle
|
|
142420
142842
|
}
|
|
142421
142843
|
) });
|
|
@@ -142443,26 +142865,26 @@ var init_renderNode = __esm({
|
|
|
142443
142865
|
{
|
|
142444
142866
|
"data-himalaya-pdf-controls": "",
|
|
142445
142867
|
role: "toolbar",
|
|
142446
|
-
"aria-label": "
|
|
142868
|
+
"aria-label": rcopy(ctx, "runtime.component.pdf.controls"),
|
|
142447
142869
|
style: { display: "flex", alignItems: "center", gap: 4, padding: "4px 8px", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), color: C2("textSecondary", "#636b78") },
|
|
142448
142870
|
children: [
|
|
142449
142871
|
showPageControls && /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
142450
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142451
|
-
/* @__PURE__ */ jsx15("span", { "data-himalaya-pdf-page": shownPage, "aria-live": "polite", children: pageCount != null ?
|
|
142452
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142872
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.previousPage"), disabled: shownPage <= 1, onClick: () => go2(shownPage - 1), style: shownPage <= 1 ? off : btn, children: "\u2039" }),
|
|
142873
|
+
/* @__PURE__ */ jsx15("span", { "data-himalaya-pdf-page": shownPage, "aria-live": "polite", children: pageCount != null ? rcopy(ctx, "runtime.component.pdf.page", { page: shownPage, count: pageCount }) : rcopy(ctx, "runtime.component.pdf.pageOnly", { page: shownPage }) }),
|
|
142874
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.nextPage"), disabled: atEnd, onClick: () => go2(shownPage + 1), style: atEnd ? off : btn, children: "\u203A" })
|
|
142453
142875
|
] }),
|
|
142454
142876
|
/* @__PURE__ */ jsx15("span", { style: { flex: "1 1 auto" } }),
|
|
142455
142877
|
zoomable && /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
142456
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142457
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142878
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.zoomOut"), onClick: () => zoomBy(-1), style: btn, children: "\u2212" }),
|
|
142879
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.zoomIn"), onClick: () => zoomBy(1), style: btn, children: "+" })
|
|
142458
142880
|
] }),
|
|
142459
142881
|
allowShare && (downloadHref ? (
|
|
142460
142882
|
// Bytes the page holds (a re-typed blob, or a CORS fetch): a real download.
|
|
142461
|
-
/* @__PURE__ */ jsx15("a", { href: downloadHref, download: fileName, "aria-label":
|
|
142883
|
+
/* @__PURE__ */ jsx15("a", { href: downloadHref, download: fileName, "aria-label": rcopy(ctx, "runtime.component.pdf.download"), style: { ...btn, textDecoration: "none", fontSize: pxToRem(12) }, children: rcopy(ctx, "runtime.component.pdf.downloadShort") })
|
|
142462
142884
|
) : (
|
|
142463
142885
|
// A cross-origin document the page cannot read: `download` would be ignored, so say what
|
|
142464
142886
|
// actually happens — it opens in a new tab.
|
|
142465
|
-
/* @__PURE__ */ jsx15("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label":
|
|
142887
|
+
/* @__PURE__ */ jsx15("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label": rcopy(ctx, "runtime.component.pdf.openInTab"), style: { ...btn, textDecoration: "none", fontSize: pxToRem(12) }, children: rcopy(ctx, "runtime.component.pdf.open") })
|
|
142466
142888
|
))
|
|
142467
142889
|
]
|
|
142468
142890
|
}
|
|
@@ -142525,7 +142947,7 @@ var init_renderNode = __esm({
|
|
|
142525
142947
|
const bandColor = typeof rawBand === "string" && rawBand.length > 0 ? rawBand : void 0;
|
|
142526
142948
|
return /* @__PURE__ */ jsxs12("div", { ...{ [ROLE_WHEN_NAMED]: "group" }, style: { width: "100%", position: "relative", ...fill2 ? { height: "100%", flex: "1 1 0", minHeight: 0, display: "flex", flexDirection: "column" } : {}, ...bandColor ? { background: bandColor, borderRadius: ctx.radius("md", 8), overflow: "hidden" } : {}, ...wrap }, children: [
|
|
142527
142949
|
bandColor ? /* @__PURE__ */ jsx15("div", { "data-testid": "webview-cover-band", style: { height: 8, background: bandColor } }) : null,
|
|
142528
|
-
htmlStr ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, srcDoc: htmlStr, sandbox: "allow-scripts" }, frameKey ?? void 0) : urlFrame ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, src: urlFrame.src, sandbox: urlFrame.sandbox }, frameKey ?? void 0) : /* @__PURE__ */ jsx15("div", { style: { ...frameStyle, display: "grid", placeItems: "center",
|
|
142950
|
+
htmlStr ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, srcDoc: htmlStr, sandbox: "allow-scripts" }, frameKey ?? void 0) : urlFrame ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, src: urlFrame.src, sandbox: urlFrame.sandbox }, frameKey ?? void 0) : /* @__PURE__ */ jsx15("div", { "data-webview-unavailable": urlStr ? "refused" : "empty", style: { ...frameStyle, display: "grid", placeItems: "center", background: ctx.color("surfacePrimary", "#fff"), color: ctx.color("textSecondary", "#636b78"), fontFamily: bodyFont(ctx), fontSize: pxToRem(13) }, children: urlStr ? rcopy(ctx, "runtime.webview.pageError") : null }),
|
|
142529
142951
|
bridgeChannel ? /* @__PURE__ */ jsx15(React22.Suspense, { fallback: null, children: /* @__PURE__ */ jsx15(
|
|
142530
142952
|
WebViewBridgeHost2,
|
|
142531
142953
|
{
|
|
@@ -142553,16 +142975,16 @@ var init_renderNode = __esm({
|
|
|
142553
142975
|
href: openInTabHref,
|
|
142554
142976
|
target: "_blank",
|
|
142555
142977
|
rel: "noopener noreferrer",
|
|
142556
|
-
"aria-label":
|
|
142978
|
+
"aria-label": rcopy(ctx, "runtime.component.webview.openInTab"),
|
|
142557
142979
|
style: { position: "absolute", right: 12, bottom: 12, zIndex: 2, display: "inline-flex", alignItems: "center", gap: 6, padding: "6px 12px", borderRadius: 999, background: "rgba(19,23,30,0.78)", color: "#fff", textDecoration: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), fontWeight: 600, boxShadow: "0 2px 8px rgba(0,0,0,0.25)" },
|
|
142558
142980
|
children: [
|
|
142559
142981
|
/* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: "\u2197" }),
|
|
142560
|
-
|
|
142982
|
+
rcopy(ctx, "runtime.component.webview.openInTab")
|
|
142561
142983
|
]
|
|
142562
142984
|
}
|
|
142563
142985
|
)
|
|
142564
142986
|
) : null,
|
|
142565
|
-
showLoading ? /* @__PURE__ */ jsxs12("div", { "data-testid": "webview-loading", role: "status", "aria-live": "polite", "aria-label": config.loadingText ? void 0 : "
|
|
142987
|
+
showLoading ? /* @__PURE__ */ jsxs12("div", { "data-testid": "webview-loading", role: "status", "aria-live": "polite", "aria-label": config.loadingText ? void 0 : rcopy(ctx, "runtime.component.webview.loading"), style: { position: "absolute", left: 0, right: 0, top: bandColor ? 8 : 0, bottom: 0, display: "grid", placeItems: "center", pointerEvents: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), color: ctx.color("textSecondary", "#666") }, children: [
|
|
142566
142988
|
config.showProgressBar ? /* @__PURE__ */ jsx15("div", { "aria-hidden": "true", style: { position: "absolute", left: 0, top: 0, height: 3, width: "40%", background: ctx.color("accentPrimary", "#116DFF") } }) : null,
|
|
142567
142989
|
config.loadingText ?? null
|
|
142568
142990
|
] }) : null
|
|
@@ -142602,12 +143024,12 @@ var init_renderNode = __esm({
|
|
|
142602
143024
|
const mode = pickerPresentation(props2, opts);
|
|
142603
143025
|
const labelOf2 = (o2) => asTextL10n(o2?.label ?? o2?.title ?? o2?.id, ctx);
|
|
142604
143026
|
const pickerA11yProps = formFieldA11y(props2);
|
|
142605
|
-
const pickerName = pickerA11yProps["aria-labelledby"] ? void 0 : String(placeholderText || "
|
|
143027
|
+
const pickerName = pickerA11yProps["aria-labelledby"] ? void 0 : String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder"));
|
|
142606
143028
|
if (mode === "menu" || mode === "sheet") {
|
|
142607
143029
|
const look = pickerFieldLook(props2.field, ctx);
|
|
142608
143030
|
const shownSel = ctx.onAction ? sel : ctx.empty ? null : selectedId;
|
|
142609
143031
|
const picked = opts.find((o2) => o2 != null && String(o2.id) === String(shownSel ?? ""));
|
|
142610
|
-
const text32 = picked ? labelOf2(picked) : String(placeholderText || "
|
|
143032
|
+
const text32 = picked ? labelOf2(picked) : String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder"));
|
|
142611
143033
|
const box = /* @__PURE__ */ jsx15(PickerFieldBox, { look, ctx, option: picked, text: text32, isPlaceholder: !picked, font: bodyFont(ctx) });
|
|
142612
143034
|
if (!ctx.onAction) return /* @__PURE__ */ jsx15("div", { style: { width: "100%", ...wrap }, children: box });
|
|
142613
143035
|
return /* @__PURE__ */ jsxs12("div", { ...{ [A11Y_PART]: "root" }, "data-hm-picker-focus": "", style: { position: "relative", width: "100%", ...wrap }, children: [
|
|
@@ -142649,7 +143071,7 @@ var init_renderNode = __esm({
|
|
|
142649
143071
|
...pickerA11yProps,
|
|
142650
143072
|
style: { width: "100%", background: C2("surfaceSecondary", "#f5f7fa"), border: "none", borderRadius: 12, padding: 6, boxSizing: "border-box", fontFamily: bodyFont(ctx), fontSize: pxToRem(16), color: C2("textPrimary", "#111"), textAlign: "center", ...wrap },
|
|
142651
143073
|
children: [
|
|
142652
|
-
wheelSelection === "" && /* @__PURE__ */ jsx15("option", { value: "", disabled: true, children: String(placeholderText || "
|
|
143074
|
+
wheelSelection === "" && /* @__PURE__ */ jsx15("option", { value: "", disabled: true, children: String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder")) }),
|
|
142653
143075
|
wheelOpts.map((o2, i2) => /* @__PURE__ */ jsx15("option", { value: o2?.id, style: { padding: "6px 0" }, children: labelOf2(o2) }, o2?.id ?? i2))
|
|
142654
143076
|
]
|
|
142655
143077
|
}
|
|
@@ -142731,10 +143153,10 @@ var init_renderNode = __esm({
|
|
|
142731
143153
|
if (dateBag && dateFieldId) dateBag.set(dateFieldId, dateBagVal);
|
|
142732
143154
|
}, [dateBagVal, dateFieldId, dateBag]);
|
|
142733
143155
|
if (!ctx.onAction) {
|
|
142734
|
-
let label4 = "
|
|
143156
|
+
let label4 = rcopy(ctx, "runtime.component.datePicker.date");
|
|
142735
143157
|
if (!ctx.empty && props2.valueUnix) {
|
|
142736
143158
|
const d2 = new Date(props2.valueUnix * 1e3);
|
|
142737
|
-
label4 = timeMode ? d2.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : dateTimeMode ? d2.toLocaleString(
|
|
143159
|
+
label4 = timeMode ? d2.toLocaleTimeString(dateLocale(ctx) ?? [], { hour: "2-digit", minute: "2-digit" }) : dateTimeMode ? d2.toLocaleString(dateLocale(ctx), { year: "numeric", month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" }) : d2.toLocaleDateString(dateLocale(ctx), { year: "numeric", month: "short", day: "numeric" });
|
|
142738
143160
|
}
|
|
142739
143161
|
return /* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", width: "100%", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), padding: "12px 14px", boxSizing: "border-box", fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#111"), ...wrap }, children: [
|
|
142740
143162
|
/* @__PURE__ */ jsx15("span", { children: isolateRun(label4, ctx) }),
|
|
@@ -142770,7 +143192,7 @@ var init_renderNode = __esm({
|
|
|
142770
143192
|
onChange: (e2) => emit(e2.currentTarget.value),
|
|
142771
143193
|
min: minUnix != null ? toInput(minUnix) : void 0,
|
|
142772
143194
|
max: maxUnix != null ? toInput(maxUnix) : void 0,
|
|
142773
|
-
"aria-label": formFieldA11y(props2)["aria-labelledby"] ? void 0 : timeMode ? "
|
|
143195
|
+
"aria-label": formFieldA11y(props2)["aria-labelledby"] ? void 0 : timeMode ? rcopy(ctx, "runtime.component.datePicker.time") : dateTimeMode ? rcopy(ctx, "runtime.component.datePicker.dateTime") : rcopy(ctx, "runtime.component.datePicker.date"),
|
|
142774
143196
|
...formFieldA11y(props2),
|
|
142775
143197
|
style: { width: "100%", boxSizing: "border-box", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), padding: "12px 14px", fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#111"), ...wrap }
|
|
142776
143198
|
}
|
|
@@ -142788,7 +143210,7 @@ var init_renderNode = __esm({
|
|
|
142788
143210
|
if (!ctx.onAction) {
|
|
142789
143211
|
return /* @__PURE__ */ jsxs12("div", { style: box, children: [
|
|
142790
143212
|
icon,
|
|
142791
|
-
placeholderText || "
|
|
143213
|
+
placeholderText || rcopy(ctx, "runtime.component.search.field")
|
|
142792
143214
|
] });
|
|
142793
143215
|
}
|
|
142794
143216
|
const onChange = props2.onChange;
|
|
@@ -142854,8 +143276,8 @@ var init_renderNode = __esm({
|
|
|
142854
143276
|
onKeyDown: (e2) => {
|
|
142855
143277
|
if (e2.key === "Enter") submit();
|
|
142856
143278
|
},
|
|
142857
|
-
placeholder: String(placeholderText || "
|
|
142858
|
-
"aria-label": String(placeholderText || "
|
|
143279
|
+
placeholder: String(placeholderText || rcopy(ctx, "runtime.component.search.field")),
|
|
143280
|
+
"aria-label": String(placeholderText || rcopy(ctx, "runtime.component.search.placeholder")),
|
|
142859
143281
|
style: searchFieldInputStyle(ctx, bodyFont(ctx))
|
|
142860
143282
|
}
|
|
142861
143283
|
),
|
|
@@ -142976,9 +143398,9 @@ var init_renderNode = __esm({
|
|
|
142976
143398
|
] });
|
|
142977
143399
|
}
|
|
142978
143400
|
return /* @__PURE__ */ jsxs12("div", { ...root, style: box, children: [
|
|
142979
|
-
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": "
|
|
143401
|
+
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": rcopy(ctx, "runtime.component.stepper.decrease"), disabled: disabled("min"), onClick: () => press(-step), style: { ...btn("min"), font: "inherit" }, children: "\u2212" }),
|
|
142980
143402
|
/* @__PURE__ */ jsx15("b", { ...valueA11y, "aria-valuenow": value2, tabIndex: 0, onKeyDown: onValueKeyDown, style: valueStyle, children: value2 }),
|
|
142981
|
-
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": "
|
|
143403
|
+
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": rcopy(ctx, "runtime.component.stepper.increase"), disabled: disabled("max"), onClick: () => press(step), style: { ...btn("max"), font: "inherit" }, children: "+" }),
|
|
142982
143404
|
/* @__PURE__ */ jsx15("span", { "aria-live": "polite", style: { position: "absolute", width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", border: 0 }, children: pressed.text + (pressed.count % 2 ? "\xA0" : "") })
|
|
142983
143405
|
] });
|
|
142984
143406
|
});
|
|
@@ -143127,6 +143549,7 @@ var init_renderNode = __esm({
|
|
|
143127
143549
|
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "column", width: "100%", ...wrap }, children: /* @__PURE__ */ jsx15(
|
|
143128
143550
|
PullToRefreshList,
|
|
143129
143551
|
{
|
|
143552
|
+
...ptrCopy(ctx),
|
|
143130
143553
|
onRefresh: () => ctx.onAction(resolveItemDeep2(refresh, ctx)),
|
|
143131
143554
|
accent: C2("accentPrimary", "#116DFF"),
|
|
143132
143555
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -143493,10 +143916,12 @@ var init_renderNode = __esm({
|
|
|
143493
143916
|
] });
|
|
143494
143917
|
});
|
|
143495
143918
|
ERROR_STATE_VARIANTS = {
|
|
143496
|
-
|
|
143497
|
-
|
|
143498
|
-
|
|
143499
|
-
|
|
143919
|
+
// RuntimeCopy keys (#6304): the canonical state-view copy Android reads too (#6301). Permission and
|
|
143920
|
+
// signIn paint no body, as on iOS and Android.
|
|
143921
|
+
server: { icon: "error", title: "runtime.state.server.title", body: "runtime.state.server.body", cta: "runtime.state.server.cta" },
|
|
143922
|
+
offline: { icon: "wifi", title: "runtime.state.offline.title", body: "runtime.state.offline.body", cta: "runtime.state.offline.cta" },
|
|
143923
|
+
permission: { icon: "error", title: "runtime.state.permission.title", body: null, cta: "runtime.state.permission.cta" },
|
|
143924
|
+
signIn: { icon: "person", title: "runtime.state.signIn.title", body: null, cta: "runtime.state.signIn.cta" }
|
|
143500
143925
|
};
|
|
143501
143926
|
ERROR_STATE_SPACING = {
|
|
143502
143927
|
padding: ["lg", 16],
|
|
@@ -143517,9 +143942,9 @@ var init_renderNode = __esm({
|
|
|
143517
143942
|
const r3 = resolveItemDeep2(v2, ctx);
|
|
143518
143943
|
return typeof r3 === "string" ? r3 : "";
|
|
143519
143944
|
};
|
|
143520
|
-
const title = own6(props2.title) || d2.title;
|
|
143521
|
-
const body = own6(props2.body) || d2.body;
|
|
143522
|
-
const label4 = own6(props2.ctaLabel).trim() ? own6(props2.ctaLabel) : d2.cta;
|
|
143945
|
+
const title = own6(props2.title) || rcopy(ctx, d2.title);
|
|
143946
|
+
const body = own6(props2.body) || (d2.body ? rcopy(ctx, d2.body) : "");
|
|
143947
|
+
const label4 = own6(props2.ctaLabel).trim() ? own6(props2.ctaLabel) : rcopy(ctx, d2.cta);
|
|
143523
143948
|
const titleFont = ctx.font("bodyEmphasis");
|
|
143524
143949
|
const bodyFont2 = ctx.font("caption");
|
|
143525
143950
|
const fontCss = (f2) => ({
|
|
@@ -143588,7 +144013,7 @@ var init_renderNode = __esm({
|
|
|
143588
144013
|
const ic = (name) => /* @__PURE__ */ jsx15("span", { style: { display: "inline-grid", placeItems: "center", width: glyph, height: glyph }, children: iconSvg(name, { size: glyph, color: fg }) });
|
|
143589
144014
|
const iconLabel = typeof resolvedLeadingIcon === "string" && resolvedLeadingIcon ? resolvedLeadingIcon.replace(/[_-]+/g, " ").replace(/\b\w/g, (c2) => c2.toUpperCase()) : "";
|
|
143590
144015
|
const hasTitle = typeof resolvedTitle === "string" && resolvedTitle.length > 0 || typeof resolvedTitle === "number";
|
|
143591
|
-
const accessibleLabel = hasTitle ? String(resolvedTitle) : asText2(txtRaw(props2.title, ctx)) || (props2.iconOnly ? iconLabel : "") || "
|
|
144016
|
+
const accessibleLabel = hasTitle ? String(resolvedTitle) : asText2(txtRaw(props2.title, ctx)) || (props2.iconOnly ? iconLabel : "") || rcopy(ctx, "runtime.component.button.label");
|
|
143592
144017
|
if (loading) ensureSpinKeyframes();
|
|
143593
144018
|
const rowStretch = ctx.rowStretch === true && !props2.iconOnly;
|
|
143594
144019
|
return /* @__PURE__ */ jsxs12(
|
|
@@ -143677,7 +144102,7 @@ var init_renderNode = __esm({
|
|
|
143677
144102
|
children: [
|
|
143678
144103
|
loading && /* @__PURE__ */ jsx15("span", { style: { width: glyph, height: glyph, boxSizing: "border-box", borderRadius: "50%", border: `2px solid ${rgba(fg, primary ? 0.4 : 0.35)}`, borderTopColor: fg, animation: ctx.empty ? void 0 : "himalaya-spin .7s linear infinite" } }),
|
|
143679
144104
|
!loading && resolvedLeadingIcon && ic(String(resolvedLeadingIcon)),
|
|
143680
|
-
!props2.iconOnly && (resolvedTitle != null && resolvedTitle !== "" ? isolateRun(String(resolvedTitle), ctx) : txt(props2.title, ctx) || "
|
|
144105
|
+
!props2.iconOnly && (resolvedTitle != null && resolvedTitle !== "" ? isolateRun(String(resolvedTitle), ctx) : txt(props2.title, ctx) || rcopy(ctx, "runtime.component.button.label")),
|
|
143681
144106
|
!loading && !props2.iconOnly && resolvedTrailingIcon && ic(String(resolvedTrailingIcon))
|
|
143682
144107
|
]
|
|
143683
144108
|
}
|
|
@@ -143729,7 +144154,7 @@ var init_renderNode = __esm({
|
|
|
143729
144154
|
{
|
|
143730
144155
|
...{ [A11Y_PART]: "node" },
|
|
143731
144156
|
tabIndex: 0,
|
|
143732
|
-
"aria-label":
|
|
144157
|
+
"aria-label": rcopy(ctx, "runtime.component.otp.label"),
|
|
143733
144158
|
value: val,
|
|
143734
144159
|
onChange: (e2) => {
|
|
143735
144160
|
const field = e2.currentTarget;
|
|
@@ -143807,7 +144232,7 @@ var init_renderNode = __esm({
|
|
|
143807
144232
|
}, [hideAfter, identity, held]);
|
|
143808
144233
|
if (phase === "gone") return null;
|
|
143809
144234
|
const tone = snackbarTone(props2.severity) ?? "info";
|
|
143810
|
-
const label4 = asBoundText(props2.actionLabel, ctx) ||
|
|
144235
|
+
const label4 = asBoundText(props2.actionLabel, ctx) || rcopy(ctx, "runtime.state.takeAction");
|
|
143811
144236
|
const onAction = props2.action != null ? actionClick(ctx, props2.action) : void 0;
|
|
143812
144237
|
return /* @__PURE__ */ jsx15(
|
|
143813
144238
|
"div",
|
|
@@ -144073,7 +144498,7 @@ var init_renderNode = __esm({
|
|
|
144073
144498
|
"button",
|
|
144074
144499
|
{
|
|
144075
144500
|
type: "button",
|
|
144076
|
-
"aria-label":
|
|
144501
|
+
"aria-label": rcopy(ctx, "runtime.nav.resizeSheet"),
|
|
144077
144502
|
"data-sheet-handle": "",
|
|
144078
144503
|
onClick: () => {
|
|
144079
144504
|
if (drag.current?.moved) {
|
|
@@ -144414,7 +144839,7 @@ var init_renderNode = __esm({
|
|
|
144414
144839
|
"button",
|
|
144415
144840
|
{
|
|
144416
144841
|
type: "button",
|
|
144417
|
-
"aria-label":
|
|
144842
|
+
"aria-label": rcopy(ctx, "runtime.nav.resizeSheet"),
|
|
144418
144843
|
"data-sheet-handle": "",
|
|
144419
144844
|
onClick: (e2) => {
|
|
144420
144845
|
e2.stopPropagation();
|
|
@@ -144682,7 +145107,7 @@ var init_renderNode = __esm({
|
|
|
144682
145107
|
/* @__PURE__ */ jsxs12("div", { ...hasAddField ? { [A11Y_PART]: "root" } : {}, style: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 6, width: "100%", minHeight: 44, padding: "8px 10px", boxSizing: "border-box", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), opacity: props2.disabled ? 0.5 : 1, ...wrap }, children: [
|
|
144683
145108
|
values.map((v2, i2) => /* @__PURE__ */ jsxs12("span", { style: { display: "inline-flex", alignItems: "center", gap: 5, padding: "4px 9px", borderRadius: 999, fontFamily: bodyFont(ctx), fontSize: pxToRem(13), background: C2("surfaceTertiary", "#eef0f3"), color: C2("textPrimary", "#13171e") }, children: [
|
|
144684
145109
|
isolateRun(asText2(v2), ctx),
|
|
144685
|
-
props2.onRemove && /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
145110
|
+
props2.onRemove && /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.chips.remove", { name: asText2(v2) }), disabled: !!props2.disabled || !ctx.onAction, onClick: () => {
|
|
144686
145111
|
if (props2.disabled || !ctx.onAction) return;
|
|
144687
145112
|
const action = resolveItemDeep2(props2.onRemove, ctx);
|
|
144688
145113
|
ctx.onAction({ ...action, args: { ...action.args, value: v2, index: i2 } });
|
|
@@ -144693,8 +145118,8 @@ var init_renderNode = __esm({
|
|
|
144693
145118
|
{
|
|
144694
145119
|
...{ [A11Y_PART]: "node" },
|
|
144695
145120
|
tabIndex: 0,
|
|
144696
|
-
"aria-label": placeholderText ||
|
|
144697
|
-
placeholder: placeholderText || "
|
|
145121
|
+
"aria-label": placeholderText || rcopy(ctx, "runtime.component.chips.add"),
|
|
145122
|
+
placeholder: placeholderText || rcopy(ctx, "runtime.component.chips.placeholder"),
|
|
144698
145123
|
dir: layoutIsRTL(ctx) ? "auto" : void 0,
|
|
144699
145124
|
value: draft,
|
|
144700
145125
|
disabled: !!props2.disabled,
|
|
@@ -144712,7 +145137,7 @@ var init_renderNode = __esm({
|
|
|
144712
145137
|
} : void 0,
|
|
144713
145138
|
style: { minWidth: 80, minHeight: 44, flex: "1 1 100px", border: 0, background: "transparent", color: C2("textPrimary", "#13171e"), outlineOffset: 3, fontFamily: bodyFont(ctx), fontSize: pxToRem(14) }
|
|
144714
145139
|
}
|
|
144715
|
-
) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888") }, children: values.length ? "" : placeholderText || "
|
|
145140
|
+
) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888") }, children: values.length ? "" : placeholderText || rcopy(ctx, "runtime.component.chips.placeholder") })
|
|
144716
145141
|
] })
|
|
144717
145142
|
);
|
|
144718
145143
|
});
|
|
@@ -144749,7 +145174,7 @@ var init_renderNode = __esm({
|
|
|
144749
145174
|
content,
|
|
144750
145175
|
hitArea
|
|
144751
145176
|
] }) : content,
|
|
144752
|
-
/* @__PURE__ */ jsxs12("button", { type: "button", "aria-label":
|
|
145177
|
+
/* @__PURE__ */ jsxs12("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.chips.remove", { name: asText2(txtRaw(props2.label, ctx)) || rcopy(ctx, "runtime.component.chips.chip") }), disabled: !remove, onClick: remove, style: { position: "relative", display: "inline-grid", placeItems: "center", width: 16, height: 16, padding: 0, border: 0, background: "transparent", color: "inherit", fontSize: 13, opacity: 0.7, cursor: remove ? "pointer" : "default" }, children: [
|
|
144753
145178
|
"\xD7",
|
|
144754
145179
|
hitArea
|
|
144755
145180
|
] })
|
|
@@ -144829,10 +145254,10 @@ var init_renderNode = __esm({
|
|
|
144829
145254
|
const base2 = invalidIcon ? ICON_FALLBACK : (typeof props2.icon === "string" && props2.icon ? props2.icon : "star").replace(/_fill$/, "");
|
|
144830
145255
|
const filledCount = Math.round(val);
|
|
144831
145256
|
const onClickStar = (i2) => ctx.onAction && props2.interactive && props2.onChange ? () => ctx.onAction({ ...props2.onChange, params: { ...props2.onChange?.params ?? {}, value: String(i2 + 1) }, args: { ...props2.onChange?.args ?? {}, value: i2 + 1 } }) : void 0;
|
|
144832
|
-
const cv = Number.isFinite(val) ? Math.max(0, Math.min(max, val)) : 0, summary2 =
|
|
144833
|
-
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", gap: m2.gap, ...wrap }, role: props2.interactive ? "group" : "img", "aria-label":
|
|
145257
|
+
const cv = Number.isFinite(val) ? Math.max(0, Math.min(max, val)) : 0, summary2 = rcopy(ctx, "runtime.component.rating.summary", { value: Number.isInteger(cv) ? String(cv) : cv.toFixed(1), max: String(max) });
|
|
145258
|
+
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", gap: m2.gap, ...wrap }, role: props2.interactive ? "group" : "img", "aria-label": rcopy(ctx, "runtime.component.rating.label", { summary: summary2 }), "data-a11y-value": summary2, children: Array.from({ length: max }).map((_2, i2) => {
|
|
144834
145259
|
const filled2 = i2 < filledCount;
|
|
144835
|
-
return onClickStar(i2) ? /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
145260
|
+
return onClickStar(i2) ? /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.rating.rate", { count: i2 + 1 }), "aria-pressed": i2 + 1 === Math.round(cv), onClick: onClickStar(i2), style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, padding: 0, border: 0, background: "transparent", cursor: "pointer", opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2) : /* @__PURE__ */ jsx15("span", { style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2);
|
|
144836
145261
|
}) });
|
|
144837
145262
|
});
|
|
144838
145263
|
AVATAR_RING_INSET = 2.5;
|
|
@@ -145297,7 +145722,7 @@ var init_renderNode = __esm({
|
|
|
145297
145722
|
const box = e2.currentTarget.getBoundingClientRect();
|
|
145298
145723
|
return box.width > 0 ? Math.min(Math.max((e2.clientX - box.left) / box.width, 0), 1) : 0;
|
|
145299
145724
|
};
|
|
145300
|
-
const transportLabel = isUploading ? "
|
|
145725
|
+
const transportLabel = rcopy(ctx, `runtime.component.voiceNote.${isUploading ? "sending" : isFailed ? "retry" : isLoading ? "loading" : isPlaying ? "pause" : "play"}`);
|
|
145301
145726
|
const onTransport = () => {
|
|
145302
145727
|
if (isUploading || isLoading) return;
|
|
145303
145728
|
if (isFailed) return emit(props2.onRetry);
|
|
@@ -145386,7 +145811,7 @@ var init_renderNode = __esm({
|
|
|
145386
145811
|
viewBox: `0 0 ${W2} ${H2}`,
|
|
145387
145812
|
preserveAspectRatio: "none",
|
|
145388
145813
|
role: "img",
|
|
145389
|
-
"aria-label":
|
|
145814
|
+
"aria-label": rcopy(ctx, "runtime.component.voiceNote.label", { duration: voiceNoteSpokenDuration(durationMs2, ctx) }),
|
|
145390
145815
|
style: { display: "block", cursor: canScrub ? "pointer" : "default", touchAction: canScrub ? "none" : void 0 },
|
|
145391
145816
|
onPointerDown: canScrub ? (e2) => {
|
|
145392
145817
|
e2.currentTarget.setPointerCapture?.(e2.pointerId);
|
|
@@ -145426,14 +145851,14 @@ var init_renderNode = __esm({
|
|
|
145426
145851
|
),
|
|
145427
145852
|
/* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", gap: 8, fontFamily: bodyFont(ctx) }, children: [
|
|
145428
145853
|
/* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), fontWeight: 500, fontVariantNumeric: "tabular-nums", color: isFailed ? danger : secondary }, children: voiceNoteClock(clockMs) }),
|
|
145429
|
-
isUploading && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: secondary }, children: "
|
|
145430
|
-
isFailed && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: danger }, children:
|
|
145854
|
+
isUploading && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: secondary }, children: rcopy(ctx, "runtime.component.message.sending") }),
|
|
145855
|
+
isFailed && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: danger }, children: rcopy(ctx, "runtime.component.message.notSent") }),
|
|
145431
145856
|
/* @__PURE__ */ jsx15("span", { style: { flex: 1 } }),
|
|
145432
145857
|
rates.length > 0 && isPlayable && /* @__PURE__ */ jsx15(
|
|
145433
145858
|
"button",
|
|
145434
145859
|
{
|
|
145435
145860
|
type: "button",
|
|
145436
|
-
"aria-label":
|
|
145861
|
+
"aria-label": rcopy(ctx, "runtime.component.voiceNote.playbackSpeed", { rate: rateText }),
|
|
145437
145862
|
onClick: () => {
|
|
145438
145863
|
const idx = rates.findIndex((r3) => Math.abs(r3 - effectiveRate) < 0.01);
|
|
145439
145864
|
const next = rates[(idx + 1) % rates.length];
|
|
@@ -145618,7 +146043,7 @@ var init_renderNode = __esm({
|
|
|
145618
146043
|
"data-component-id": liveWindowPlaceholderId(ownerId, index),
|
|
145619
146044
|
"data-live-window-placeholder": "",
|
|
145620
146045
|
role: "group",
|
|
145621
|
-
"aria-label":
|
|
146046
|
+
"aria-label": rcopy(ctx, "runtime.component.pager.page", { page: index + 1, count: count3 }),
|
|
145622
146047
|
style: { width: "100%", height: remembered ? remembered : "100%", minHeight: remembered ? remembered : "100%", position: "relative", overflow: "hidden", background: token && !isBinding(token) ? ctx.color(token, "transparent") : void 0 },
|
|
145623
146048
|
children: picture ? /* @__PURE__ */ jsx15("div", { "aria-hidden": "true", style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: renderNode({ type: picture.type, props: picture.props }, { ...ctx, onAction: null }) }) : null
|
|
145624
146049
|
}
|
|
@@ -145787,7 +146212,7 @@ var init_renderNode = __esm({
|
|
|
145787
146212
|
ref: rail,
|
|
145788
146213
|
"data-page-rail": "",
|
|
145789
146214
|
tabIndex: 0,
|
|
145790
|
-
"aria-label": props2.__pager ? "
|
|
146215
|
+
"aria-label": rcopy(ctx, props2.__pager ? "runtime.component.pager.pages" : "runtime.component.pager.carousel"),
|
|
145791
146216
|
onKeyDown: (event) => {
|
|
145792
146217
|
if (event.target !== event.currentTarget || boundRail || !["ArrowLeft", "ArrowRight", "Home", "End"].includes(event.key)) return;
|
|
145793
146218
|
event.preventDefault();
|
|
@@ -145815,7 +146240,7 @@ var init_renderNode = __esm({
|
|
|
145815
146240
|
children: boundRail ? /* @__PURE__ */ jsx15(BoundList, { ctx, itemsPath, template: items[0], renderRow: renderRailRow }) : entries.map((entry, index) => /* @__PURE__ */ jsx15("div", { style: { minWidth: "100%", scrollSnapAlign: "start", ...fills ? { display: "grid", gridTemplateRows: "minmax(0, 1fr)", gridTemplateColumns: "minmax(0, 1fr)" } : {} }, children: /* @__PURE__ */ jsx15(LiveWindowPage, { page: entry.node, index, count: pages2.length, current: settled, liveWindow: props2.liveWindow, ownerId: nodeId || (props2.__pager ? "pager" : "carousel"), heights: pageHeights, ctx: entry.ctx }) }, entry.key))
|
|
145816
146241
|
}
|
|
145817
146242
|
),
|
|
145818
|
-
!boundRail && pages2.length > 1 && (!props2.__pager || props2.showIndicator !== false) && /* @__PURE__ */ jsx15("div", { "aria-label":
|
|
146243
|
+
!boundRail && pages2.length > 1 && (!props2.__pager || props2.showIndicator !== false) && /* @__PURE__ */ jsx15("div", { "aria-label": rcopy(ctx, "runtime.component.pager.page", { page: current + 1, count: pages2.length }), style: { display: "flex", gap: 6, justifyContent: "center", marginTop: 10 }, children: pages2.map((_2, index) => /* @__PURE__ */ jsx15("span", { "aria-current": index === current ? "true" : void 0, style: { width: index === current ? 18 : 7, height: 7, borderRadius: 999, background: index === current ? ctx.color("accentPrimary", "#116DFF") : ctx.color("border", "#ccc") } }, index)) })
|
|
145819
146244
|
] });
|
|
145820
146245
|
});
|
|
145821
146246
|
WheelPickerNode = withExtras("WheelPickerNode", ({ props: props2, ctx, wrap }) => {
|
|
@@ -145846,7 +146271,7 @@ var init_renderNode = __esm({
|
|
|
145846
146271
|
{
|
|
145847
146272
|
ref: viewport,
|
|
145848
146273
|
role: "listbox",
|
|
145849
|
-
"aria-label":
|
|
146274
|
+
"aria-label": rcopy(ctx, "runtime.component.wheel.label"),
|
|
145850
146275
|
"aria-activedescendant": opts.length ? `${pickerId}-${selIdx}` : void 0,
|
|
145851
146276
|
"aria-disabled": !interactive,
|
|
145852
146277
|
tabIndex: interactive ? 0 : void 0,
|
|
@@ -145891,7 +146316,7 @@ var init_renderNode = __esm({
|
|
|
145891
146316
|
props2.label != null && /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#13171e") }, children: txt(props2.label, ctx) }),
|
|
145892
146317
|
/* @__PURE__ */ jsx15("span", { style: { marginLeft: "auto", fontFamily: "ui-monospace, monospace", fontSize: pxToRem(13), color: C2("textSecondary", "#636b78") }, children: isolateRun(asText2(cur), ctx) })
|
|
145893
146318
|
] }),
|
|
145894
|
-
/* @__PURE__ */ jsx15("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: swatches.map((s5, i2) => /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
146319
|
+
/* @__PURE__ */ jsx15("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: swatches.map((s5, i2) => /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.colorPicker.choose", { color: s5 }), "aria-pressed": s5 === cur, disabled: !onPick(s5), onClick: onPick(s5), style: { width: 44, height: 44, padding: 9, border: "none", background: "transparent", cursor: onPick(s5) ? "pointer" : "default", display: "grid", placeItems: "center" }, children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", style: { width: 26, height: 26, borderRadius: "50%", background: C2(s5, s5), boxShadow: s5 === cur ? `0 0 0 2px ${C2("surfacePrimary", "#fff")}, 0 0 0 4px ${C2(s5, s5)}` : "inset 0 0 0 1px rgba(0,0,0,.08)" } }) }, i2)) })
|
|
145895
146320
|
] });
|
|
145896
146321
|
});
|
|
145897
146322
|
FilterChipsNode = withExtras("FilterChipsNode", ({ props: props2, ctx, wrap }) => {
|
|
@@ -146437,7 +146862,7 @@ var init_renderNode = __esm({
|
|
|
146437
146862
|
ref: trackRef,
|
|
146438
146863
|
"data-page-rail": "",
|
|
146439
146864
|
tabIndex: 0,
|
|
146440
|
-
"aria-label": "
|
|
146865
|
+
"aria-label": rcopy(ctx, "runtime.component.pager.carousel"),
|
|
146441
146866
|
onScroll,
|
|
146442
146867
|
...mouseDrag.handlers,
|
|
146443
146868
|
onPointerDown: (event) => {
|
|
@@ -146458,7 +146883,7 @@ var init_renderNode = __esm({
|
|
|
146458
146883
|
children: pages2.map((pg, i2) => /* @__PURE__ */ jsx15("div", { style: { minWidth: "100%", scrollSnapAlign: "start" }, children: /* @__PURE__ */ jsx15(LiveWindowPage, { page: pg, index: i2, count: count3, current: settled, liveWindow: props2.liveWindow, ownerId: nodeId || "carousel", heights: pageHeights, ctx: pg.__itemScope ? { ...ctx, itemScope: pg.__itemScope, ...pg.__previewKey !== void 0 ? { imagePreviewRows: [...ctx.imagePreviewRows ?? [], pg.__previewKey] } : {} } : ctx }) }, pg?.id ?? i2))
|
|
146459
146884
|
}
|
|
146460
146885
|
),
|
|
146461
|
-
count3 > 1 && /* @__PURE__ */ jsx15("div", { "aria-label":
|
|
146886
|
+
count3 > 1 && /* @__PURE__ */ jsx15("div", { "aria-label": rcopy(ctx, "runtime.component.pager.page", { page: index + 1, count: count3 }), style: { display: "flex", gap: 6, justifyContent: "center", marginTop: 10 }, children: pages2.map((_2, i2) => /* @__PURE__ */ jsx15("span", { "aria-current": i2 === index ? "true" : void 0, style: { width: i2 === index ? 18 : 7, height: 7, borderRadius: 999, background: i2 === index ? C2("accentPrimary", "#116DFF") : C2("border", "#ccc") } }, i2)) })
|
|
146462
146887
|
]
|
|
146463
146888
|
}
|
|
146464
146889
|
);
|
|
@@ -146473,14 +146898,14 @@ var init_renderNode = __esm({
|
|
|
146473
146898
|
/* @__PURE__ */ jsxs12("div", { style: props2.dismissible === true ? { flex: 1, minWidth: 0 } : void 0, children: [
|
|
146474
146899
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(14), color: C2("textPrimary", "#111") }, children: txt(props2.title, ctx) }),
|
|
146475
146900
|
props2.message && /* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(13), lineHeight: 1.4, color: C2("textSecondary", "#666"), marginTop: 2 }, children: txt(props2.message, ctx) }),
|
|
146476
|
-
actionTextButton(ctx, props2.action, asBoundText(props2.actionLabel, ctx) ||
|
|
146901
|
+
actionTextButton(ctx, props2.action, asBoundText(props2.actionLabel, ctx) || rcopy(ctx, "runtime.state.takeAction"), C2("textPrimary", "#111"), { marginTop: 7, textDecoration: "underline" })
|
|
146477
146902
|
] }),
|
|
146478
146903
|
props2.dismissible === true && /* @__PURE__ */ jsx15(
|
|
146479
146904
|
"button",
|
|
146480
146905
|
{
|
|
146481
146906
|
type: "button",
|
|
146482
146907
|
"data-testid": "banner-dismiss",
|
|
146483
|
-
"aria-label": "
|
|
146908
|
+
"aria-label": rcopy(ctx, "runtime.nav.dismiss"),
|
|
146484
146909
|
onClick: (e2) => {
|
|
146485
146910
|
e2.stopPropagation();
|
|
146486
146911
|
setDismissed(true);
|
|
@@ -146585,6 +147010,7 @@ var init_renderNode = __esm({
|
|
|
146585
147010
|
]
|
|
146586
147011
|
}
|
|
146587
147012
|
);
|
|
147013
|
+
ptrCopy = (ctx) => ({ label: rcopy(ctx, "runtime.component.list.pullToRefresh"), busyLabel: rcopy(ctx, "runtime.component.list.refreshing") });
|
|
146588
147014
|
CALENDAR_DATE_ONLY_RE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
146589
147015
|
CAL_DEFAULT_MAX_DOTS = 4;
|
|
146590
147016
|
CAL_AGENDA_INITIAL_DAYS = 14;
|
|
@@ -146670,10 +147096,10 @@ var init_renderNode = __esm({
|
|
|
146670
147096
|
const date = calAddDays(weekStart, i2);
|
|
146671
147097
|
return { date, day: parseLocalDate(date)?.getDate() ?? 0, inMonth: true, isToday: date === todayKey };
|
|
146672
147098
|
})] : monthMatrix(year, month, firstWeekday);
|
|
146673
|
-
const heads = weekdayLabels(firstWeekday);
|
|
147099
|
+
const heads = weekdayLabels(firstWeekday, dateLocale(ctx));
|
|
146674
147100
|
const gridRef = React22.useRef(null);
|
|
146675
147101
|
const titleMonth = isWeek ? calWeekTitleMonth(weekStart) : { year, month };
|
|
146676
|
-
const monthLabel = new Date(titleMonth.year, titleMonth.month - 1, 1).toLocaleDateString(
|
|
147102
|
+
const monthLabel = new Date(titleMonth.year, titleMonth.month - 1, 1).toLocaleDateString(dateLocale(ctx), { month: "long", year: "numeric" });
|
|
146677
147103
|
const expandable2 = props2.expandable === true;
|
|
146678
147104
|
const visibleRange = (r3) => ({ startDate: r3[0][0].date, endDate: r3[r3.length - 1][6].date });
|
|
146679
147105
|
const canPage = true;
|
|
@@ -146733,7 +147159,7 @@ var init_renderNode = __esm({
|
|
|
146733
147159
|
"button",
|
|
146734
147160
|
{
|
|
146735
147161
|
type: "button",
|
|
146736
|
-
"aria-label": isWeek ? "
|
|
147162
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.previousWeek" : "runtime.component.calendar.previousMonth"),
|
|
146737
147163
|
onClick: () => page(-1),
|
|
146738
147164
|
disabled: !canPage,
|
|
146739
147165
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), padding: 6, opacity: canPage ? 1 : 0.4 },
|
|
@@ -146744,7 +147170,7 @@ var init_renderNode = __esm({
|
|
|
146744
147170
|
"button",
|
|
146745
147171
|
{
|
|
146746
147172
|
type: "button",
|
|
146747
|
-
"aria-label": isWeek ? "
|
|
147173
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.showMonth" : "runtime.component.calendar.showWeek"),
|
|
146748
147174
|
"aria-expanded": !isWeek,
|
|
146749
147175
|
onClick: toggleMode,
|
|
146750
147176
|
style: { display: "inline-flex", alignItems: "center", gap: 4, border: "none", background: "none", cursor: "pointer", padding: 4, fontFamily: bodyFont(ctx), fontWeight: 700, fontSize: pxToRem(15), color: C2("textPrimary", "#13171e") },
|
|
@@ -146758,7 +147184,7 @@ var init_renderNode = __esm({
|
|
|
146758
147184
|
"button",
|
|
146759
147185
|
{
|
|
146760
147186
|
type: "button",
|
|
146761
|
-
"aria-label": isWeek ? "
|
|
147187
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.nextWeek" : "runtime.component.calendar.nextMonth"),
|
|
146762
147188
|
onClick: () => page(1),
|
|
146763
147189
|
disabled: !canPage,
|
|
146764
147190
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), padding: 6, opacity: canPage ? 1 : 0.4 },
|
|
@@ -146894,14 +147320,14 @@ var init_renderNode = __esm({
|
|
|
146894
147320
|
const nowMinutes = now.getHours() * 60 + now.getMinutes();
|
|
146895
147321
|
const nowKey = localDayKey(now);
|
|
146896
147322
|
const showNow = props2.showNowLine === true && nowMinutes >= startHour * 60 && nowMinutes <= endHour * 60;
|
|
146897
|
-
const rangeLabel = days.length > 1 ? `${days[0].toLocaleDateString(
|
|
147323
|
+
const rangeLabel = days.length > 1 ? `${days[0].toLocaleDateString(dateLocale(ctx), { month: "short", day: "numeric" })} \u2013 ${days[days.length - 1].toLocaleDateString(dateLocale(ctx), { month: "short", day: "numeric" })}` : days[0].toLocaleDateString(dateLocale(ctx), { weekday: "long", month: "short", day: "numeric" });
|
|
146898
147324
|
return /* @__PURE__ */ jsxs12("div", { style: { width: "100%", boxSizing: "border-box", overflowX: "auto", ...wrap }, children: [
|
|
146899
147325
|
/* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: 8 }, children: [
|
|
146900
147326
|
/* @__PURE__ */ jsx15(
|
|
146901
147327
|
"button",
|
|
146902
147328
|
{
|
|
146903
147329
|
type: "button",
|
|
146904
|
-
"aria-label": "
|
|
147330
|
+
"aria-label": rcopy(ctx, "runtime.component.calendar.previous"),
|
|
146905
147331
|
onClick: () => shiftRange(-rangeStep),
|
|
146906
147332
|
disabled: !canPage,
|
|
146907
147333
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), opacity: canPage ? 1 : 0.4 },
|
|
@@ -146913,7 +147339,7 @@ var init_renderNode = __esm({
|
|
|
146913
147339
|
"button",
|
|
146914
147340
|
{
|
|
146915
147341
|
type: "button",
|
|
146916
|
-
"aria-label": "
|
|
147342
|
+
"aria-label": rcopy(ctx, "runtime.component.calendar.next"),
|
|
146917
147343
|
onClick: () => shiftRange(rangeStep),
|
|
146918
147344
|
disabled: !canPage,
|
|
146919
147345
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), opacity: canPage ? 1 : 0.4 },
|
|
@@ -146921,7 +147347,7 @@ var init_renderNode = __esm({
|
|
|
146921
147347
|
}
|
|
146922
147348
|
)
|
|
146923
147349
|
] }),
|
|
146924
|
-
/* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, minWidth: days.length * 90 }, children: laneMode ? laneCols.map((lane) => /* @__PURE__ */ jsx15("div", { "data-lane": lane.id, style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), fontWeight: 600, color: C2("textSecondary", "#888"), padding: "4px 2px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: laneTitle(lane.id) }, lane.id)) : days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, color: dayKeys[i2] === nowKey ? accentTextColor(ctx) : C2("textSecondary", "#888") }, children: d2.toLocaleDateString(
|
|
147350
|
+
/* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, minWidth: days.length * 90 }, children: laneMode ? laneCols.map((lane) => /* @__PURE__ */ jsx15("div", { "data-lane": lane.id, style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), fontWeight: 600, color: C2("textSecondary", "#888"), padding: "4px 2px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: laneTitle(lane.id) }, lane.id)) : days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, color: dayKeys[i2] === nowKey ? accentTextColor(ctx) : C2("textSecondary", "#888") }, children: d2.toLocaleDateString(dateLocale(ctx), { weekday: "short", day: "numeric" }) }, i2)) }),
|
|
146925
147351
|
days.some((_2, i2) => (byDay.get(dayKeys[i2])?.allDay.length ?? 0) > 0) && /* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, gap: 2, marginBottom: 4, minWidth: days.length * 90 }, children: days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, display: "flex", flexDirection: "column", gap: 2, padding: "0 1px" }, children: (byDay.get(dayKeys[i2])?.allDay ?? []).map((ev, j2) => {
|
|
146926
147352
|
const tappable = !!(ev?.onTap || props2.onSelectEvent);
|
|
146927
147353
|
return /* @__PURE__ */ jsx15(
|
|
@@ -147031,7 +147457,7 @@ var init_renderNode = __esm({
|
|
|
147031
147457
|
{
|
|
147032
147458
|
type: "button",
|
|
147033
147459
|
"data-edit-move": p2.ev?.id ?? "",
|
|
147034
|
-
"aria-label": `${moveLabel || "
|
|
147460
|
+
"aria-label": `${moveLabel || rcopy(ctx, "runtime.component.calendar.move")}: ${asText2(p2.ev?.title)}`,
|
|
147035
147461
|
onClick: (e2) => {
|
|
147036
147462
|
e2.stopPropagation();
|
|
147037
147463
|
const r3 = calMoveEvent(p2.startMin, p2.endMin, snapStep, snapStep);
|
|
@@ -147039,7 +147465,7 @@ var init_renderNode = __esm({
|
|
|
147039
147465
|
},
|
|
147040
147466
|
...{ [REVEAL_ON_FOCUS_ATTR]: "" },
|
|
147041
147467
|
style: revealOnFocusStyle(C2),
|
|
147042
|
-
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: moveLabel || "
|
|
147468
|
+
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: moveLabel || rcopy(ctx, "runtime.component.calendar.move") })
|
|
147043
147469
|
}
|
|
147044
147470
|
),
|
|
147045
147471
|
/* @__PURE__ */ jsx15(
|
|
@@ -147047,7 +147473,7 @@ var init_renderNode = __esm({
|
|
|
147047
147473
|
{
|
|
147048
147474
|
type: "button",
|
|
147049
147475
|
"data-edit-resize": p2.ev?.id ?? "",
|
|
147050
|
-
"aria-label": `${resizeLabel ||
|
|
147476
|
+
"aria-label": `${resizeLabel || rcopy(ctx, "runtime.component.calendar.changeTime")}: ${asText2(p2.ev?.title)}`,
|
|
147051
147477
|
onClick: (e2) => {
|
|
147052
147478
|
e2.stopPropagation();
|
|
147053
147479
|
const r3 = calResizeEvent(p2.startMin, p2.endMin, snapStep, snapStep);
|
|
@@ -147055,7 +147481,7 @@ var init_renderNode = __esm({
|
|
|
147055
147481
|
},
|
|
147056
147482
|
...{ [REVEAL_ON_FOCUS_ATTR]: "" },
|
|
147057
147483
|
style: revealOnFocusStyle(C2),
|
|
147058
|
-
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: resizeLabel ||
|
|
147484
|
+
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: resizeLabel || rcopy(ctx, "runtime.component.calendar.changeTime") })
|
|
147059
147485
|
}
|
|
147060
147486
|
),
|
|
147061
147487
|
/* @__PURE__ */ jsx15(
|
|
@@ -147161,24 +147587,24 @@ var init_renderNode = __esm({
|
|
|
147161
147587
|
return () => io2.disconnect();
|
|
147162
147588
|
}, [hasMore, windowEnd]);
|
|
147163
147589
|
if (groups.length === 0) {
|
|
147164
|
-
return /* @__PURE__ */ jsx15("div", { style: { width: "100%", padding: "28px 16px", boxSizing: "border-box", textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888"), ...wrap }, children: emptyLabel ||
|
|
147590
|
+
return /* @__PURE__ */ jsx15("div", { style: { width: "100%", padding: "28px 16px", boxSizing: "border-box", textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888"), ...wrap }, children: emptyLabel || rcopy(ctx, "runtime.component.calendar.noEvents") });
|
|
147165
147591
|
}
|
|
147166
147592
|
const sticky = props2.stickyHeaders === true;
|
|
147167
147593
|
const dayHeaderFont = ctx.font("caption");
|
|
147168
147594
|
const todayKey = localDayKey(/* @__PURE__ */ new Date());
|
|
147169
147595
|
const tomorrowKey = localDayKey(new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() + 1));
|
|
147170
147596
|
const dayHeaderLabel = (key4) => {
|
|
147171
|
-
if (key4 === todayKey) return "
|
|
147172
|
-
if (key4 === tomorrowKey) return "
|
|
147597
|
+
if (key4 === todayKey) return rcopy(ctx, "runtime.component.agenda.today");
|
|
147598
|
+
if (key4 === tomorrowKey) return rcopy(ctx, "runtime.component.agenda.tomorrow");
|
|
147173
147599
|
const d2 = parseLocalDate(key4);
|
|
147174
|
-
return d2 ? d2.toLocaleDateString(
|
|
147600
|
+
return d2 ? d2.toLocaleDateString(dateLocale(ctx), { weekday: "short", month: "short", day: "numeric" }) : key4;
|
|
147175
147601
|
};
|
|
147176
147602
|
return /* @__PURE__ */ jsxs12("div", { ref: containerRef, "data-agenda-days": shown3.length, style: { width: "100%", boxSizing: "border-box", ...wrap }, children: [
|
|
147177
147603
|
shown3.map((g2) => /* @__PURE__ */ jsxs12("div", { "data-daygroup": g2.key, children: [
|
|
147178
147604
|
/* @__PURE__ */ jsx15("div", { "data-dayheader": "", style: { position: sticky ? "sticky" : "static", top: 0, zIndex: 1, background: C2("surfaceSecondary", "#f5f7fa"), fontFamily: fontStack(dayHeaderFont.family, ctx.idiom), fontSize: dayHeaderFont.remSize, fontWeight: dayHeaderFont.weight, lineHeight: dayHeaderFont.line, letterSpacing: dayHeaderFont.letterSpacing, color: C2("textSecondary", "#888"), padding: "6px 16px", textAlign: "start" }, children: dayHeaderLabel(g2.key) }),
|
|
147179
147605
|
g2.items.map((ev, i2) => {
|
|
147180
147606
|
const start2 = parseLocalDate(ev.start);
|
|
147181
|
-
const timeStr = ev.allDay === true ?
|
|
147607
|
+
const timeStr = ev.allDay === true ? rcopy(ctx, "runtime.component.agenda.allDay") : start2 ? localTimeLabel(start2, dateLocale(ctx)) : "";
|
|
147182
147608
|
const tappable = !!(ev?.onTap || props2.onSelectEvent);
|
|
147183
147609
|
if (props2.eventTemplate) {
|
|
147184
147610
|
const itemCtx = { ...ctx, itemScope: calEventScope(ev, i2) };
|
|
@@ -147458,7 +147884,7 @@ function platformFrameElement(spec, ctx, content, text32, plainText3 = (v2) => S
|
|
|
147458
147884
|
const itemInk = nav.back === "arrow" ? ink : accent;
|
|
147459
147885
|
const trailing = spec.trailing.length > 0 && !barGone ? /* @__PURE__ */ jsx16("div", { style: { display: "flex", gap: nav.back === "arrow" ? 0 : 18, marginInlineStart: "auto", alignItems: "center", color: itemInk }, children: spec.trailing.map((it2, i2) => /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-item", style: { display: "inline-grid", placeItems: "center", minWidth: nav.back === "arrow" ? 48 : void 0, height: nav.back === "arrow" ? 48 : void 0, fontSize: 17 }, children: it2.avatar ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : it2.icon ? iconSvg(it2.icon, { size: nav.back === "arrow" ? 24 : 22, color: itemInk, rtl }) : text32(it2.label) }, i2)) }) : null;
|
|
147460
147886
|
const iconButton = (testId, name) => /* @__PURE__ */ jsx16("span", { "data-testid": testId, style: { display: "inline-grid", placeItems: "center", width: nav.back === "arrow" ? 48 : 30, height: nav.back === "arrow" ? 48 : 44, color: itemInk }, children: iconSvg(name, { size: nav.back === "arrow" ? 24 : 22, color: itemInk, rtl }) });
|
|
147461
|
-
const leading = barGone ? null : spec.leading === "menu" ? iconButton("platform-menu", "menu") : spec.leading === "avatar" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : spec.leading === "cancel" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-cancel", style: { color: itemInk, fontSize: 17, padding: nav.back === "arrow" ? "0 12px" : 0 }, children: text32(spec.cancelLabel ?? "
|
|
147887
|
+
const leading = barGone ? null : spec.leading === "menu" ? iconButton("platform-menu", "menu") : spec.leading === "avatar" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : spec.leading === "cancel" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-cancel", style: { color: itemInk, fontSize: 17, padding: nav.back === "arrow" ? "0 12px" : 0 }, children: text32(spec.cancelLabel ?? rcopy(ctx, "runtime.dialog.cancel")) }) : spec.leading === "back" ? nav.back === "arrow" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-back", style: { display: "inline-grid", placeItems: "center", width: 48, height: 48, color: ink }, children: iconSvg("arrow_left", { size: 24, color: ink, rtl }) }) : /* @__PURE__ */ jsxs13("span", { "data-testid": "platform-back", style: { display: "inline-flex", alignItems: "center", gap: 2, color: accent, fontSize: 17 }, children: [
|
|
147462
147888
|
iconSvg("chevron_left", { size: 22, color: accent, rtl }),
|
|
147463
147889
|
"Back"
|
|
147464
147890
|
] }) : null;
|
|
@@ -147520,6 +147946,7 @@ var init_platformFrame = __esm({
|
|
|
147520
147946
|
"../../core/web-renderer/src/platformFrame.tsx"() {
|
|
147521
147947
|
"use strict";
|
|
147522
147948
|
init_define_HHP_CATALOG();
|
|
147949
|
+
init_runtimeCopy();
|
|
147523
147950
|
init_idiom_controls();
|
|
147524
147951
|
init_icons();
|
|
147525
147952
|
init_tokens2();
|
|
@@ -147661,145 +148088,6 @@ var init_AppRegistry = __esm({
|
|
|
147661
148088
|
}
|
|
147662
148089
|
});
|
|
147663
148090
|
|
|
147664
|
-
// ../../core/web-renderer/src/runtimeCopy.generated.ts
|
|
147665
|
-
var RUNTIME_COPY_DEFAULTS;
|
|
147666
|
-
var init_runtimeCopy_generated = __esm({
|
|
147667
|
-
"../../core/web-renderer/src/runtimeCopy.generated.ts"() {
|
|
147668
|
-
init_define_HHP_CATALOG();
|
|
147669
|
-
RUNTIME_COPY_DEFAULTS = {
|
|
147670
|
-
"runtime.auth.signOutFailed": "Couldn\u2019t sign out. Check your connection and try again.",
|
|
147671
|
-
"runtime.auth.signOutPurgeFailed": "Signed out, but this device\u2019s data couldn\u2019t be cleared. Try again.",
|
|
147672
|
-
"runtime.boot.failed": "The app couldn't start. Please try again.",
|
|
147673
|
-
"runtime.boot.generic": "Something went wrong while starting the app.",
|
|
147674
|
-
"runtime.boot.known.connectionClosed": "The connection closed before the app finished loading.",
|
|
147675
|
-
"runtime.boot.known.insecure": "The app couldn\u2019t verify a secure connection to its server.",
|
|
147676
|
-
"runtime.boot.known.noCache": "The app has nothing saved to open offline.",
|
|
147677
|
-
"runtime.boot.known.revoked": "Part of the app is no longer available.",
|
|
147678
|
-
"runtime.boot.known.serverError": "Wix returned an error.",
|
|
147679
|
-
"runtime.boot.known.slow": "The app\u2019s server took too long to answer.",
|
|
147680
|
-
"runtime.boot.known.unreachable": "The app couldn\u2019t reach its server.",
|
|
147681
|
-
"runtime.boot.known.unreachableCheck": "The app couldn\u2019t reach its server \u2014 check the connection.",
|
|
147682
|
-
"runtime.boot.known.unverified": "Part of the app couldn\u2019t be verified.",
|
|
147683
|
-
"runtime.boot.updateFailed": "The app couldn't load its latest content.",
|
|
147684
|
-
"runtime.boot.updateRequired": "This screen needs a newer version of the app. Please update to continue.",
|
|
147685
|
-
"runtime.boot.withRetry": "{message} Try again in a moment.",
|
|
147686
|
-
"runtime.component.image.label": "Image",
|
|
147687
|
-
"runtime.component.image.openPreview": "Opens image preview",
|
|
147688
|
-
"runtime.component.list.empty": "Nothing here yet",
|
|
147689
|
-
"runtime.component.picker.placeholder": "Select",
|
|
147690
|
-
"runtime.component.region.failed": "Couldn't load this section",
|
|
147691
|
-
"runtime.component.search.placeholder": "Search",
|
|
147692
|
-
"runtime.dialog.cancel": "Cancel",
|
|
147693
|
-
"runtime.dialog.confirm": "Confirm",
|
|
147694
|
-
"runtime.dialog.delete": "Delete",
|
|
147695
|
-
"runtime.dialog.discard.body": "Your changes will be lost.",
|
|
147696
|
-
"runtime.dialog.discard.confirm": "Discard",
|
|
147697
|
-
"runtime.dialog.discard.keep": "Keep editing",
|
|
147698
|
-
"runtime.dialog.discard.title": "Discard changes?",
|
|
147699
|
-
"runtime.dialog.ok": "OK",
|
|
147700
|
-
"runtime.lightbox.close": "Close",
|
|
147701
|
-
"runtime.lightbox.export.failed": "Couldn't save this image",
|
|
147702
|
-
"runtime.lightbox.export.permission": "Allow photo access in Settings to save images",
|
|
147703
|
-
"runtime.lightbox.export.saved": "Saved to your photos",
|
|
147704
|
-
"runtime.lightbox.more": "More",
|
|
147705
|
-
"runtime.lightbox.next": "Next image",
|
|
147706
|
-
"runtime.lightbox.position": "Image {index} of {count}",
|
|
147707
|
-
"runtime.lightbox.previous": "Previous image",
|
|
147708
|
-
"runtime.lightbox.save": "Save",
|
|
147709
|
-
"runtime.lightbox.share": "Share",
|
|
147710
|
-
"runtime.lightbox.viewer": "Image viewer",
|
|
147711
|
-
"runtime.nav.actionUnavailable": "Action unavailable. Please try again.",
|
|
147712
|
-
"runtime.nav.back": "Back",
|
|
147713
|
-
"runtime.nav.cancel": "Cancel",
|
|
147714
|
-
"runtime.nav.cancelSearch": "Cancel search",
|
|
147715
|
-
"runtime.nav.clearSearch": "Clear search",
|
|
147716
|
-
"runtime.nav.close": "Close",
|
|
147717
|
-
"runtime.nav.disabledSuffix": "{name}, disabled",
|
|
147718
|
-
"runtime.nav.dismiss": "Dismiss",
|
|
147719
|
-
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
147720
|
-
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
147721
|
-
"runtime.nav.done": "Done",
|
|
147722
|
-
"runtime.nav.drawer": "Navigation",
|
|
147723
|
-
"runtime.nav.edit": "Edit",
|
|
147724
|
-
"runtime.nav.hostedAppFailed": "Couldn't open {title}.",
|
|
147725
|
-
"runtime.nav.jumpToLatest": "Jump to latest",
|
|
147726
|
-
"runtime.nav.menu": "Menu",
|
|
147727
|
-
"runtime.nav.more": "More",
|
|
147728
|
-
"runtime.nav.moreActions": "More Actions",
|
|
147729
|
-
"runtime.nav.moreOptions": "More options",
|
|
147730
|
-
"runtime.nav.noScreen": "No screen.",
|
|
147731
|
-
"runtime.nav.resizeSheet": "Resize sheet",
|
|
147732
|
-
"runtime.nav.screenBlocked": "This screen's address can't be opened here.",
|
|
147733
|
-
"runtime.nav.screenFailed": "This screen couldn't render.",
|
|
147734
|
-
"runtime.nav.search": "Search",
|
|
147735
|
-
"runtime.nav.searchClear": "Clear",
|
|
147736
|
-
"runtime.nav.searchError": "Results weren't loaded due to a technical issue. Wait and try again.",
|
|
147737
|
-
"runtime.nav.searchNoResults": "No results",
|
|
147738
|
-
"runtime.nav.searchRecents": "Recent searches",
|
|
147739
|
-
"runtime.nav.searchTryAgain": "Try Again",
|
|
147740
|
-
"runtime.nav.selectionCount": "{count} selected",
|
|
147741
|
-
"runtime.nav.showActions": "Show actions",
|
|
147742
|
-
"runtime.nav.stillSaving": "Still saving\u2026",
|
|
147743
|
-
"runtime.nav.thisApp": "this app",
|
|
147744
|
-
"runtime.nav.toggleSidebar": "Toggle sidebar",
|
|
147745
|
-
"runtime.nav.voiceSearch": "Voice search",
|
|
147746
|
-
"runtime.offline.banner": "You're offline",
|
|
147747
|
-
"runtime.offline.loadFailed": "This content couldn't load. Try again.",
|
|
147748
|
-
"runtime.offline.pending": "{count, plural, one {# change waiting to sync} other {# changes waiting to sync}}",
|
|
147749
|
-
"runtime.offline.readStatus": "Showing saved content",
|
|
147750
|
-
"runtime.offline.readUnavailable": "This content isn't available offline. Connect to load it.",
|
|
147751
|
-
"runtime.offline.reading.failed": "This content could not load. Try again.",
|
|
147752
|
-
"runtime.offline.reading.snapshot": "You\u2019re offline. Showing previously loaded content.",
|
|
147753
|
-
"runtime.offline.reading.stale": "Couldn\u2019t refresh. Content may be outdated.",
|
|
147754
|
-
"runtime.offline.reading.unavailable": "You\u2019re offline. This content isn\u2019t available offline. Connect to load it.",
|
|
147755
|
-
"runtime.offline.refreshFailed": "Couldn't refresh. Content may be outdated.",
|
|
147756
|
-
"runtime.offline.syncing": "{count, plural, one {Syncing # change\u2026} other {Syncing # changes\u2026}}",
|
|
147757
|
-
"runtime.state.loading": "Loading\u2026",
|
|
147758
|
-
"runtime.state.offline.body": "Check your connection and try again.",
|
|
147759
|
-
"runtime.state.offline.cta": "Try again",
|
|
147760
|
-
"runtime.state.offline.title": "You're offline",
|
|
147761
|
-
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
147762
|
-
"runtime.state.permission.cta": "Go back",
|
|
147763
|
-
"runtime.state.permission.title": "You don't have access",
|
|
147764
|
-
"runtime.state.retry": "Try again",
|
|
147765
|
-
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
147766
|
-
"runtime.state.server.cta": "Try again",
|
|
147767
|
-
"runtime.state.server.title": "Unable to load this content",
|
|
147768
|
-
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
147769
|
-
"runtime.state.signIn.cta": "Sign in",
|
|
147770
|
-
"runtime.state.signIn.title": "Sign in to continue",
|
|
147771
|
-
"runtime.state.takeAction": "Take action",
|
|
147772
|
-
"runtime.webview.externalLink.body": "This link opens outside the app.",
|
|
147773
|
-
"runtime.webview.externalLink.bodyHost": "This link opens {host} outside the app.",
|
|
147774
|
-
"runtime.webview.externalLink.open": "Open",
|
|
147775
|
-
"runtime.webview.externalLink.title": "Open link?",
|
|
147776
|
-
"runtime.webview.offline.body": "Check your connection and try again.",
|
|
147777
|
-
"runtime.webview.offline.title": "You're offline",
|
|
147778
|
-
"runtime.webview.pageError": "This page couldn't be loaded",
|
|
147779
|
-
"runtime.worker.actionFailed": "That didn't work. Please try again.",
|
|
147780
|
-
"runtime.worker.failed": "Something went wrong while loading this screen."
|
|
147781
|
-
};
|
|
147782
|
-
}
|
|
147783
|
-
});
|
|
147784
|
-
|
|
147785
|
-
// ../../core/web-renderer/src/runtimeCopy.ts
|
|
147786
|
-
function runtimeText(key4, args = {}, catalog4, locale = "en") {
|
|
147787
|
-
const template = catalog4?.get(key4) || RUNTIME_COPY_DEFAULTS[key4] || key4;
|
|
147788
|
-
return formatMessage(template, args, locale);
|
|
147789
|
-
}
|
|
147790
|
-
function runtimeEnglish(key4) {
|
|
147791
|
-
return RUNTIME_COPY_DEFAULTS[key4] ?? key4;
|
|
147792
|
-
}
|
|
147793
|
-
var RuntimeCopy;
|
|
147794
|
-
var init_runtimeCopy = __esm({
|
|
147795
|
-
"../../core/web-renderer/src/runtimeCopy.ts"() {
|
|
147796
|
-
init_define_HHP_CATALOG();
|
|
147797
|
-
init_message_format();
|
|
147798
|
-
init_runtimeCopy_generated();
|
|
147799
|
-
RuntimeCopy = { text: runtimeText, english: runtimeEnglish };
|
|
147800
|
-
}
|
|
147801
|
-
});
|
|
147802
|
-
|
|
147803
148091
|
// ../../core/web-renderer/src/index.ts
|
|
147804
148092
|
var src_exports2 = {};
|
|
147805
148093
|
__export(src_exports2, {
|
|
@@ -258474,53 +258762,53 @@ var init_preview_assets_generated = __esm({
|
|
|
258474
258762
|
init_define_HHP_CATALOG();
|
|
258475
258763
|
init_preview_assets_format();
|
|
258476
258764
|
PREVIEW_ASSET_MANIFEST = [
|
|
258477
|
-
{ key: "assets/DashboardHost-
|
|
258478
|
-
{ key: "assets/DevDrawer-
|
|
258479
|
-
{ key: "assets/IdiomCompare-
|
|
258480
|
-
{ key: "assets/LightboxViewer-
|
|
258481
|
-
{ key: "assets/OfflineReadingBar-
|
|
258482
|
-
{ key: "assets/PhonePreviewControl-
|
|
258483
|
-
{ key: "assets/SchemeCompare-
|
|
258484
|
-
{ key: "assets/TopBarSearchStates-
|
|
258485
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
258486
|
-
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258487
|
-
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258488
|
-
{ key: "assets/catalogFontFaces-
|
|
258489
|
-
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258490
|
-
{ key: "assets/files-transfer-
|
|
258491
|
-
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258492
|
-
{ key: "assets/frogApiRules-
|
|
258493
|
-
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258494
|
-
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258495
|
-
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258496
|
-
{ key: "assets/index-
|
|
258497
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258498
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258499
|
-
{ key: "assets/pdf-
|
|
258500
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258501
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
258502
|
-
{ key: "assets/pdfDocument-
|
|
258503
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258504
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
258505
|
-
{ key: "assets/webviewBridgeHost-
|
|
258506
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
258507
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
258508
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
258509
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
258510
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
258511
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
258512
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
258513
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
258514
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
258515
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
258516
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
258517
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
258518
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258519
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
258520
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
258521
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
258522
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
258523
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
258765
|
+
{ key: "assets/DashboardHost-BPaqCjxU.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "8739ba90c0763c07ef927790b70e3f51426d196e0f477e96bf683e4c186e557c" },
|
|
258766
|
+
{ key: "assets/DevDrawer-CsgsTrX0.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "6db2cbf3f8de16dc2404cbd134d53eaf3255ad4ef66c670eb7bdace91fa3aa7c" },
|
|
258767
|
+
{ key: "assets/IdiomCompare-8cCXWu_h.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "fcfbf8b5d41bb6fdf5831a87757a8612e14e37dc7bb9945eabb1047e39f7efe6" },
|
|
258768
|
+
{ key: "assets/LightboxViewer-cltFHD3r.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15926, sha256: "972623a83a71077f85893458b64038fdf8fb86e1334123db8fb909379c6ad64c" },
|
|
258769
|
+
{ key: "assets/OfflineReadingBar-DCBbrg6Q.js", contentType: "application/javascript; charset=utf-8", offset: 37628, length: 1695, sha256: "6676e25117eb634d590ed52d0fe0d9ce5bc865c7c7d6a7af79cb3b3f2645cdae" },
|
|
258770
|
+
{ key: "assets/PhonePreviewControl-C9m68tSR.js", contentType: "application/javascript; charset=utf-8", offset: 39323, length: 37851, sha256: "8168a5da026fd95d7c6c566a307e4f4313d353bae8ba6a720cab4b86d313ec79" },
|
|
258771
|
+
{ key: "assets/SchemeCompare-Bym-PxX-.js", contentType: "application/javascript; charset=utf-8", offset: 77174, length: 1858, sha256: "901b4b30d5818bcca340d8ffed8d33d6682f2c7a7d2545401e29cf0fac5b75c8" },
|
|
258772
|
+
{ key: "assets/TopBarSearchStates-ClYAN9Ri.js", contentType: "application/javascript; charset=utf-8", offset: 79032, length: 4068, sha256: "7fd7ee37c11f529e82138cea794af40205a0c6c5dbb16b0038216f2ba88cc7c1" },
|
|
258773
|
+
{ key: "assets/WixFrogTelemetrySink-D6HL6YTj.js", contentType: "application/javascript; charset=utf-8", offset: 83100, length: 3515, sha256: "96d42eab0b5eb1f9447adcf1b4c5677a0222f92ca16a13d0b12b1128cba524c3" },
|
|
258774
|
+
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86615, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
258775
|
+
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88807, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
258776
|
+
{ key: "assets/catalogFontFaces-C9SZMDnT.js", contentType: "application/javascript; charset=utf-8", offset: 124433, length: 1111, sha256: "3be21364351205bdda44afe74e65aba741ab000f4985ed21d2fcf4520c1cb71f" },
|
|
258777
|
+
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125544, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
258778
|
+
{ key: "assets/files-transfer-DudYjhqd.js", contentType: "application/javascript; charset=utf-8", offset: 128111, length: 6446, sha256: "227ce5e3110d5b225cf407e706ee3454d4fb9530676441480cc1118ecf5153ef" },
|
|
258779
|
+
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134557, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
258780
|
+
{ key: "assets/frogApiRules-oq_xUNnU.js", contentType: "application/javascript; charset=utf-8", offset: 135729, length: 2207, sha256: "dec0c6b9057670b0cf462160f3cc795f806751a33aafa150df664e8dcd34e9c6" },
|
|
258781
|
+
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 137936, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
258782
|
+
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 139003, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
258783
|
+
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 145581, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
258784
|
+
{ key: "assets/index-BXSqRCa5.js", contentType: "application/javascript; charset=utf-8", offset: 148285, length: 1689749, sha256: "b98c25993a717df4410d654ba87672faaa8e105ba16ff99a25becb3a4792c5f2" },
|
|
258785
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1838034, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
258786
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1845785, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
258787
|
+
{ key: "assets/pdf-PejcntYu.js", contentType: "application/javascript; charset=utf-8", offset: 1856316, length: 488215, sha256: "a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a" },
|
|
258788
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2344531, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
258789
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2344621, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
258790
|
+
{ key: "assets/pdfDocument-BFbYA_14.js", contentType: "application/javascript; charset=utf-8", offset: 3661655, length: 3836, sha256: "84724143ed7b39d7323df6be46f4adee3db57e1a7f69702339e05d4a94258bcd" },
|
|
258791
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3665491, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
258792
|
+
{ key: "assets/scrollLinkedRuntime-BfXoFGH6.js", contentType: "application/javascript; charset=utf-8", offset: 3667757, length: 2278, sha256: "85f3bfc3974ef91c658706126c63e3c4580de683269323d12ecc2e14ef49f018" },
|
|
258793
|
+
{ key: "assets/webviewBridgeHost-B2vNdomY.js", contentType: "application/javascript; charset=utf-8", offset: 3670035, length: 9889, sha256: "ecb6a089858c8d10d1a0dddc991c5c3733ceca982d84285b160faeecf1005986" },
|
|
258794
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3679924, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
258795
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3684534, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
258796
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4173118, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
258797
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4264042, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
258798
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4355026, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
258799
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4446006, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
258800
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4536878, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
258801
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4627858, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
258802
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4736494, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
258803
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4845578, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
258804
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4954626, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
258805
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5062326, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
258806
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5150434, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
258807
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5157252, length: 4924, sha256: "5cdee1e087cdba735d779469a48c42ac1ef3f37c5a582b7a46ad39eb7c949ad8" },
|
|
258808
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5162176, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
258809
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5173633, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
258810
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5174804, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
258811
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5199107, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
258524
258812
|
];
|
|
258525
258813
|
}
|
|
258526
258814
|
});
|
|
@@ -269759,9 +270047,11 @@ ${rows}
|
|
|
269759
270047
|
function renderTs(table) {
|
|
269760
270048
|
const sorted3 = {};
|
|
269761
270049
|
const nav = {};
|
|
270050
|
+
const renderer = {};
|
|
269762
270051
|
for (const k3 of Object.keys(table).sort()) {
|
|
269763
270052
|
sorted3[k3] = table[k3];
|
|
269764
270053
|
if (k3.startsWith("runtime.nav.") || k3.startsWith("runtime.offline.") || k3.startsWith("runtime.lightbox.") || k3.startsWith("runtime.auth.") || k3 === "runtime.state.loading" || k3 === "runtime.state.retry") nav[k3] = table[k3];
|
|
270054
|
+
if (!RENDERER_EXCLUDE.has(k3) && RENDERER_PREFIXES.some((p2) => k3.startsWith(p2))) renderer[k3] = table[k3];
|
|
269765
270055
|
}
|
|
269766
270056
|
return HEADER3("TypeScript") + `
|
|
269767
270057
|
/** \`key -> English\` (ICU MessageFormat) for every runtime-owned string. Read only through \`runtimeText\`. */
|
|
@@ -269769,6 +270059,9 @@ export const RUNTIME_COPY_DEFAULTS: Readonly<Record<string, string>> = ${JSON.st
|
|
|
269769
270059
|
|
|
269770
270060
|
/** The \`runtime.nav.*\` slice alone \u2014 what the web host's entry chunk reads, so it never carries the whole table. */
|
|
269771
270061
|
export const RUNTIME_NAV_COPY: Readonly<Record<string, string>> = ${JSON.stringify(nav, null, 2)};
|
|
270062
|
+
|
|
270063
|
+
/** The component / state / dialog / webview slice \u2014 what the renderer's \`rcopy\` reads, so the entry never carries boot, lightbox, nav, offline or worker copy. */
|
|
270064
|
+
export const RUNTIME_RENDERER_COPY: Readonly<Record<string, string>> = ${JSON.stringify(renderer, null, 2)};
|
|
269772
270065
|
`;
|
|
269773
270066
|
}
|
|
269774
270067
|
function rowId(key4) {
|
|
@@ -269803,7 +270096,7 @@ function expectedOutputs(table = loadTable()) {
|
|
|
269803
270096
|
}
|
|
269804
270097
|
return out2;
|
|
269805
270098
|
}
|
|
269806
|
-
var REPO_ROOT8, TABLE_PATH, SWIFT_OUT, KOTLIN_OUT, TS_OUT, HEADER3, RUNTIME_KIND;
|
|
270099
|
+
var REPO_ROOT8, TABLE_PATH, SWIFT_OUT, KOTLIN_OUT, TS_OUT, HEADER3, RENDERER_PREFIXES, RENDERER_EXCLUDE, RUNTIME_KIND;
|
|
269807
270100
|
var init_runtime_copy = __esm({
|
|
269808
270101
|
"../l10n/runtime-copy.ts"() {
|
|
269809
270102
|
init_define_HHP_CATALOG();
|
|
@@ -269816,6 +270109,8 @@ var init_runtime_copy = __esm({
|
|
|
269816
270109
|
// Regenerate: npm run l10n:runtime. The ${lang} half of the runtime's offline copy floor (#6298);
|
|
269817
270110
|
// the app's served \`$t:\` catalog wins over every value here.
|
|
269818
270111
|
`;
|
|
270112
|
+
RENDERER_PREFIXES = ["runtime.component.", "runtime.state.retry", "runtime.state.takeAction", "runtime.state.server.", "runtime.state.offline.", "runtime.state.permission.", "runtime.state.signIn.", "runtime.nav.resizeSheet", "runtime.nav.dismiss", "runtime.dialog.cancel", "runtime.dialog.confirm", "runtime.dialog.delete", "runtime.webview.pageError"];
|
|
270113
|
+
RENDERER_EXCLUDE = /* @__PURE__ */ new Set(["runtime.component.image.label", "runtime.component.image.openPreview", "runtime.component.region.failed", "runtime.component.list.empty"]);
|
|
269819
270114
|
RUNTIME_KIND = "Runtime.native";
|
|
269820
270115
|
if (false) main();
|
|
269821
270116
|
}
|