@nice2dev/i18n 1.0.6 → 1.0.8
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/index.cjs +9 -9
- package/dist/index.mjs +1377 -732
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as
|
|
1
|
+
import { jsx as B } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as w, useContext as F, createContext as I, useEffect as L, useState as P, useCallback as Q } from "react";
|
|
3
3
|
const j = [
|
|
4
4
|
"en",
|
|
5
5
|
"pl",
|
|
@@ -23,7 +23,7 @@ const j = [
|
|
|
23
23
|
"ko",
|
|
24
24
|
"zh",
|
|
25
25
|
"ar"
|
|
26
|
-
],
|
|
26
|
+
], ve = {
|
|
27
27
|
// ── Global / Generic ──
|
|
28
28
|
ok: "OK",
|
|
29
29
|
cancel: "Cancel",
|
|
@@ -415,8 +415,176 @@ const j = [
|
|
|
415
415
|
"wm.closeAll": "Close all",
|
|
416
416
|
"wm.minimizeAll": "Minimize all",
|
|
417
417
|
"wm.newWindow": "New window",
|
|
418
|
-
"wm.moveToFront": "Move to front"
|
|
419
|
-
|
|
418
|
+
"wm.moveToFront": "Move to front",
|
|
419
|
+
// ── No-Code Foundation ──
|
|
420
|
+
"noCode.title": "No-Code Studio",
|
|
421
|
+
"noCode.description": "Build applications visually",
|
|
422
|
+
"noCode.newProject": "New Project",
|
|
423
|
+
"noCode.openProject": "Open Project",
|
|
424
|
+
"noCode.saveProject": "Save Project",
|
|
425
|
+
"noCode.exportProject": "Export Project",
|
|
426
|
+
"noCode.importProject": "Import Project",
|
|
427
|
+
"noCode.projectName": "Project Name",
|
|
428
|
+
"noCode.projectSettings": "Project Settings",
|
|
429
|
+
"noCode.recentProjects": "Recent Projects",
|
|
430
|
+
"noCode.templates": "Templates",
|
|
431
|
+
"noCode.preview": "Preview",
|
|
432
|
+
"noCode.codeView": "Code View",
|
|
433
|
+
"noCode.splitView": "Split View",
|
|
434
|
+
"noCode.visualView": "Visual View",
|
|
435
|
+
"noCode.generate": "Generate Code",
|
|
436
|
+
"noCode.deploy": "Deploy",
|
|
437
|
+
// No-Code: Component Designer
|
|
438
|
+
"noCode.componentDesigner.title": "Component Designer",
|
|
439
|
+
"noCode.componentDesigner.newComponent": "New Component",
|
|
440
|
+
"noCode.componentDesigner.componentName": "Component Name",
|
|
441
|
+
"noCode.componentDesigner.addProp": "Add Prop",
|
|
442
|
+
"noCode.componentDesigner.editProp": "Edit Prop",
|
|
443
|
+
"noCode.componentDesigner.deleteProp": "Delete Prop",
|
|
444
|
+
"noCode.componentDesigner.propName": "Prop Name",
|
|
445
|
+
"noCode.componentDesigner.propType": "Prop Type",
|
|
446
|
+
"noCode.componentDesigner.propRequired": "Required",
|
|
447
|
+
"noCode.componentDesigner.propDefault": "Default Value",
|
|
448
|
+
"noCode.componentDesigner.addState": "Add State",
|
|
449
|
+
"noCode.componentDesigner.stateName": "State Name",
|
|
450
|
+
"noCode.componentDesigner.stateType": "State Type",
|
|
451
|
+
"noCode.componentDesigner.stateDefault": "Initial Value",
|
|
452
|
+
"noCode.componentDesigner.addHook": "Add Hook",
|
|
453
|
+
"noCode.componentDesigner.hooks": "Hooks",
|
|
454
|
+
"noCode.componentDesigner.template": "Template",
|
|
455
|
+
"noCode.componentDesigner.styles": "Styles",
|
|
456
|
+
"noCode.componentDesigner.events": "Events",
|
|
457
|
+
"noCode.componentDesigner.palette": "Component Palette",
|
|
458
|
+
"noCode.componentDesigner.dragDrop": "Drag components here",
|
|
459
|
+
// No-Code: Page Builder
|
|
460
|
+
"noCode.pageBuilder.title": "Page Builder",
|
|
461
|
+
"noCode.pageBuilder.newPage": "New Page",
|
|
462
|
+
"noCode.pageBuilder.pageName": "Page Name",
|
|
463
|
+
"noCode.pageBuilder.pageRoute": "Route Path",
|
|
464
|
+
"noCode.pageBuilder.addSection": "Add Section",
|
|
465
|
+
"noCode.pageBuilder.editSection": "Edit Section",
|
|
466
|
+
"noCode.pageBuilder.deleteSection": "Delete Section",
|
|
467
|
+
"noCode.pageBuilder.sectionLayout": "Section Layout",
|
|
468
|
+
"noCode.pageBuilder.columns": "Columns",
|
|
469
|
+
"noCode.pageBuilder.responsive": "Responsive",
|
|
470
|
+
"noCode.pageBuilder.mobile": "Mobile",
|
|
471
|
+
"noCode.pageBuilder.tablet": "Tablet",
|
|
472
|
+
"noCode.pageBuilder.desktop": "Desktop",
|
|
473
|
+
"noCode.pageBuilder.showGrid": "Show Grid",
|
|
474
|
+
"noCode.pageBuilder.hideGrid": "Hide Grid",
|
|
475
|
+
"noCode.pageBuilder.metadata": "Page Metadata",
|
|
476
|
+
"noCode.pageBuilder.seo": "SEO Settings",
|
|
477
|
+
// No-Code: State Designer
|
|
478
|
+
"noCode.stateDesigner.title": "State Designer",
|
|
479
|
+
"noCode.stateDesigner.newStore": "New Store",
|
|
480
|
+
"noCode.stateDesigner.storeName": "Store Name",
|
|
481
|
+
"noCode.stateDesigner.storeType": "Store Type",
|
|
482
|
+
"noCode.stateDesigner.addState": "Add State Field",
|
|
483
|
+
"noCode.stateDesigner.addAction": "Add Action",
|
|
484
|
+
"noCode.stateDesigner.editAction": "Edit Action",
|
|
485
|
+
"noCode.stateDesigner.deleteAction": "Delete Action",
|
|
486
|
+
"noCode.stateDesigner.actionName": "Action Name",
|
|
487
|
+
"noCode.stateDesigner.actionParams": "Parameters",
|
|
488
|
+
"noCode.stateDesigner.actionBody": "Action Body",
|
|
489
|
+
"noCode.stateDesigner.asyncAction": "Async Action",
|
|
490
|
+
"noCode.stateDesigner.addSelector": "Add Selector",
|
|
491
|
+
"noCode.stateDesigner.selectorName": "Selector Name",
|
|
492
|
+
"noCode.stateDesigner.selectorBody": "Selector Logic",
|
|
493
|
+
"noCode.stateDesigner.persistence": "Persistence",
|
|
494
|
+
"noCode.stateDesigner.devtools": "DevTools",
|
|
495
|
+
// No-Code: API Flow
|
|
496
|
+
"noCode.apiFlow.title": "API Flow Designer",
|
|
497
|
+
"noCode.apiFlow.newEndpoint": "New Endpoint",
|
|
498
|
+
"noCode.apiFlow.endpointUrl": "Endpoint URL",
|
|
499
|
+
"noCode.apiFlow.method": "HTTP Method",
|
|
500
|
+
"noCode.apiFlow.headers": "Headers",
|
|
501
|
+
"noCode.apiFlow.body": "Request Body",
|
|
502
|
+
"noCode.apiFlow.response": "Response",
|
|
503
|
+
"noCode.apiFlow.auth": "Authentication",
|
|
504
|
+
"noCode.apiFlow.authType": "Auth Type",
|
|
505
|
+
"noCode.apiFlow.bearerToken": "Bearer Token",
|
|
506
|
+
"noCode.apiFlow.apiKey": "API Key",
|
|
507
|
+
"noCode.apiFlow.testEndpoint": "Test Endpoint",
|
|
508
|
+
"noCode.apiFlow.mockResponse": "Mock Response",
|
|
509
|
+
"noCode.apiFlow.errorHandling": "Error Handling",
|
|
510
|
+
"noCode.apiFlow.retry": "Retry Policy",
|
|
511
|
+
"noCode.apiFlow.cache": "Caching",
|
|
512
|
+
// No-Code: Data Mapper
|
|
513
|
+
"noCode.dataMapper.title": "Data Mapper",
|
|
514
|
+
"noCode.dataMapper.sourceSchema": "Source Schema",
|
|
515
|
+
"noCode.dataMapper.targetSchema": "Target Schema",
|
|
516
|
+
"noCode.dataMapper.addMapping": "Add Mapping",
|
|
517
|
+
"noCode.dataMapper.editMapping": "Edit Mapping",
|
|
518
|
+
"noCode.dataMapper.deleteMapping": "Delete Mapping",
|
|
519
|
+
"noCode.dataMapper.sourceField": "Source Field",
|
|
520
|
+
"noCode.dataMapper.targetField": "Target Field",
|
|
521
|
+
"noCode.dataMapper.transform": "Transform",
|
|
522
|
+
"noCode.dataMapper.validation": "Validation",
|
|
523
|
+
"noCode.dataMapper.testData": "Test Data",
|
|
524
|
+
"noCode.dataMapper.preview": "Preview Result",
|
|
525
|
+
"noCode.dataMapper.autoMap": "Auto Map",
|
|
526
|
+
// No-Code: Event Orchestrator
|
|
527
|
+
"noCode.eventOrchestrator.title": "Event Orchestrator",
|
|
528
|
+
"noCode.eventOrchestrator.newFlow": "New Event Flow",
|
|
529
|
+
"noCode.eventOrchestrator.flowName": "Flow Name",
|
|
530
|
+
"noCode.eventOrchestrator.trigger": "Trigger",
|
|
531
|
+
"noCode.eventOrchestrator.triggerType": "Trigger Type",
|
|
532
|
+
"noCode.eventOrchestrator.addHandler": "Add Handler",
|
|
533
|
+
"noCode.eventOrchestrator.editHandler": "Edit Handler",
|
|
534
|
+
"noCode.eventOrchestrator.deleteHandler": "Delete Handler",
|
|
535
|
+
"noCode.eventOrchestrator.handlerName": "Handler Name",
|
|
536
|
+
"noCode.eventOrchestrator.debounce": "Debounce",
|
|
537
|
+
"noCode.eventOrchestrator.throttle": "Throttle",
|
|
538
|
+
"noCode.eventOrchestrator.delay": "Delay",
|
|
539
|
+
"noCode.eventOrchestrator.condition": "Condition",
|
|
540
|
+
"noCode.eventOrchestrator.chain": "Chain Events",
|
|
541
|
+
// No-Code: Test Builder
|
|
542
|
+
"noCode.testBuilder.title": "Test Builder",
|
|
543
|
+
"noCode.testBuilder.newTest": "New Test",
|
|
544
|
+
"noCode.testBuilder.testName": "Test Name",
|
|
545
|
+
"noCode.testBuilder.testDescription": "Description",
|
|
546
|
+
"noCode.testBuilder.addScenario": "Add Scenario",
|
|
547
|
+
"noCode.testBuilder.editScenario": "Edit Scenario",
|
|
548
|
+
"noCode.testBuilder.deleteScenario": "Delete Scenario",
|
|
549
|
+
"noCode.testBuilder.addAssertion": "Add Assertion",
|
|
550
|
+
"noCode.testBuilder.assertionType": "Assertion Type",
|
|
551
|
+
"noCode.testBuilder.expected": "Expected Value",
|
|
552
|
+
"noCode.testBuilder.actual": "Actual Value",
|
|
553
|
+
"noCode.testBuilder.mock": "Mock Setup",
|
|
554
|
+
"noCode.testBuilder.runTests": "Run Tests",
|
|
555
|
+
"noCode.testBuilder.testsPassed": "Tests Passed",
|
|
556
|
+
"noCode.testBuilder.testsFailed": "Tests Failed",
|
|
557
|
+
"noCode.testBuilder.coverage": "Coverage",
|
|
558
|
+
"noCode.testBuilder.accessibility": "Accessibility Check",
|
|
559
|
+
// No-Code: Code Template
|
|
560
|
+
"noCode.codeTemplate.title": "Code Templates",
|
|
561
|
+
"noCode.codeTemplate.newTemplate": "New Template",
|
|
562
|
+
"noCode.codeTemplate.templateName": "Template Name",
|
|
563
|
+
"noCode.codeTemplate.templateEngine": "Template Engine",
|
|
564
|
+
"noCode.codeTemplate.variables": "Variables",
|
|
565
|
+
"noCode.codeTemplate.addVariable": "Add Variable",
|
|
566
|
+
"noCode.codeTemplate.variableName": "Variable Name",
|
|
567
|
+
"noCode.codeTemplate.variableType": "Variable Type",
|
|
568
|
+
"noCode.codeTemplate.variableDefault": "Default Value",
|
|
569
|
+
"noCode.codeTemplate.generateFiles": "Generate Files",
|
|
570
|
+
"noCode.codeTemplate.outputPath": "Output Path",
|
|
571
|
+
"noCode.codeTemplate.presets": "Presets",
|
|
572
|
+
"noCode.codeTemplate.presetReact": "React Component",
|
|
573
|
+
"noCode.codeTemplate.presetNextPage": "Next.js Page",
|
|
574
|
+
"noCode.codeTemplate.presetHook": "Custom Hook",
|
|
575
|
+
"noCode.codeTemplate.presetStore": "Store Module",
|
|
576
|
+
// No-Code: Code Preview
|
|
577
|
+
"noCode.codePreview.title": "Code Preview",
|
|
578
|
+
"noCode.codePreview.showDiff": "Show Diff",
|
|
579
|
+
"noCode.codePreview.hideDiff": "Hide Diff",
|
|
580
|
+
"noCode.codePreview.copyCode": "Copy Code",
|
|
581
|
+
"noCode.codePreview.downloadCode": "Download Code",
|
|
582
|
+
"noCode.codePreview.importCode": "Import Code",
|
|
583
|
+
"noCode.codePreview.language": "Language",
|
|
584
|
+
"noCode.codePreview.format": "Format Code",
|
|
585
|
+
"noCode.codePreview.linesChanged": "Lines Changed",
|
|
586
|
+
"noCode.codePreview.noChanges": "No Changes"
|
|
587
|
+
}, be = {
|
|
420
588
|
ok: "OK",
|
|
421
589
|
cancel: "Anuluj",
|
|
422
590
|
save: "Zapisz",
|
|
@@ -778,8 +946,167 @@ const j = [
|
|
|
778
946
|
"wm.closeAll": "Zamknij wszystkie",
|
|
779
947
|
"wm.minimizeAll": "Minimalizuj wszystkie",
|
|
780
948
|
"wm.newWindow": "Nowe okno",
|
|
781
|
-
"wm.moveToFront": "Na wierzch"
|
|
782
|
-
|
|
949
|
+
"wm.moveToFront": "Na wierzch",
|
|
950
|
+
// No-Code Foundation
|
|
951
|
+
"noCode.title": "Studio No-Code",
|
|
952
|
+
"noCode.description": "Twórz aplikacje wizualnie",
|
|
953
|
+
"noCode.newProject": "Nowy projekt",
|
|
954
|
+
"noCode.openProject": "Otwórz projekt",
|
|
955
|
+
"noCode.saveProject": "Zapisz projekt",
|
|
956
|
+
"noCode.exportProject": "Eksportuj projekt",
|
|
957
|
+
"noCode.importProject": "Importuj projekt",
|
|
958
|
+
"noCode.projectName": "Nazwa projektu",
|
|
959
|
+
"noCode.projectSettings": "Ustawienia projektu",
|
|
960
|
+
"noCode.recentProjects": "Ostatnie projekty",
|
|
961
|
+
"noCode.templates": "Szablony",
|
|
962
|
+
"noCode.preview": "Podgląd",
|
|
963
|
+
"noCode.codeView": "Widok kodu",
|
|
964
|
+
"noCode.splitView": "Widok podzielony",
|
|
965
|
+
"noCode.visualView": "Widok wizualny",
|
|
966
|
+
"noCode.generate": "Generuj kod",
|
|
967
|
+
"noCode.deploy": "Wdrożenie",
|
|
968
|
+
"noCode.componentDesigner.title": "Projektant komponentów",
|
|
969
|
+
"noCode.componentDesigner.newComponent": "Nowy komponent",
|
|
970
|
+
"noCode.componentDesigner.componentName": "Nazwa komponentu",
|
|
971
|
+
"noCode.componentDesigner.addProp": "Dodaj właściwość",
|
|
972
|
+
"noCode.componentDesigner.editProp": "Edytuj właściwość",
|
|
973
|
+
"noCode.componentDesigner.deleteProp": "Usuń właściwość",
|
|
974
|
+
"noCode.componentDesigner.propName": "Nazwa właściwości",
|
|
975
|
+
"noCode.componentDesigner.propType": "Typ właściwości",
|
|
976
|
+
"noCode.componentDesigner.propRequired": "Wymagane",
|
|
977
|
+
"noCode.componentDesigner.propDefault": "Wartość domyślna",
|
|
978
|
+
"noCode.componentDesigner.addState": "Dodaj stan",
|
|
979
|
+
"noCode.componentDesigner.stateName": "Nazwa stanu",
|
|
980
|
+
"noCode.componentDesigner.stateType": "Typ stanu",
|
|
981
|
+
"noCode.componentDesigner.stateDefault": "Wartość początkowa",
|
|
982
|
+
"noCode.componentDesigner.addHook": "Dodaj hook",
|
|
983
|
+
"noCode.componentDesigner.hooks": "Hooki",
|
|
984
|
+
"noCode.componentDesigner.template": "Szablon",
|
|
985
|
+
"noCode.componentDesigner.styles": "Style",
|
|
986
|
+
"noCode.componentDesigner.events": "Zdarzenia",
|
|
987
|
+
"noCode.componentDesigner.palette": "Paleta komponentów",
|
|
988
|
+
"noCode.componentDesigner.dragDrop": "Przeciągnij komponenty tutaj",
|
|
989
|
+
"noCode.pageBuilder.title": "Kreator stron",
|
|
990
|
+
"noCode.pageBuilder.newPage": "Nowa strona",
|
|
991
|
+
"noCode.pageBuilder.pageName": "Nazwa strony",
|
|
992
|
+
"noCode.pageBuilder.pageRoute": "Ścieżka",
|
|
993
|
+
"noCode.pageBuilder.addSection": "Dodaj sekcję",
|
|
994
|
+
"noCode.pageBuilder.editSection": "Edytuj sekcję",
|
|
995
|
+
"noCode.pageBuilder.deleteSection": "Usuń sekcję",
|
|
996
|
+
"noCode.pageBuilder.sectionLayout": "Układ sekcji",
|
|
997
|
+
"noCode.pageBuilder.columns": "Kolumny",
|
|
998
|
+
"noCode.pageBuilder.responsive": "Responsywność",
|
|
999
|
+
"noCode.pageBuilder.mobile": "Mobilne",
|
|
1000
|
+
"noCode.pageBuilder.tablet": "Tablet",
|
|
1001
|
+
"noCode.pageBuilder.desktop": "Desktop",
|
|
1002
|
+
"noCode.pageBuilder.showGrid": "Pokaż siatkę",
|
|
1003
|
+
"noCode.pageBuilder.hideGrid": "Ukryj siatkę",
|
|
1004
|
+
"noCode.pageBuilder.metadata": "Metadane strony",
|
|
1005
|
+
"noCode.pageBuilder.seo": "Ustawienia SEO",
|
|
1006
|
+
"noCode.stateDesigner.title": "Projektant stanu",
|
|
1007
|
+
"noCode.stateDesigner.newStore": "Nowy magazyn",
|
|
1008
|
+
"noCode.stateDesigner.storeName": "Nazwa magazynu",
|
|
1009
|
+
"noCode.stateDesigner.storeType": "Typ magazynu",
|
|
1010
|
+
"noCode.stateDesigner.addState": "Dodaj pole stanu",
|
|
1011
|
+
"noCode.stateDesigner.addAction": "Dodaj akcję",
|
|
1012
|
+
"noCode.stateDesigner.editAction": "Edytuj akcję",
|
|
1013
|
+
"noCode.stateDesigner.deleteAction": "Usuń akcję",
|
|
1014
|
+
"noCode.stateDesigner.actionName": "Nazwa akcji",
|
|
1015
|
+
"noCode.stateDesigner.actionParams": "Parametry",
|
|
1016
|
+
"noCode.stateDesigner.actionBody": "Ciało akcji",
|
|
1017
|
+
"noCode.stateDesigner.asyncAction": "Akcja asynchroniczna",
|
|
1018
|
+
"noCode.stateDesigner.addSelector": "Dodaj selektor",
|
|
1019
|
+
"noCode.stateDesigner.selectorName": "Nazwa selektora",
|
|
1020
|
+
"noCode.stateDesigner.selectorBody": "Logika selektora",
|
|
1021
|
+
"noCode.stateDesigner.persistence": "Trwałość",
|
|
1022
|
+
"noCode.stateDesigner.devtools": "Narzędzia deweloperskie",
|
|
1023
|
+
"noCode.apiFlow.title": "Projektant API",
|
|
1024
|
+
"noCode.apiFlow.newEndpoint": "Nowy endpoint",
|
|
1025
|
+
"noCode.apiFlow.endpointUrl": "URL endpointu",
|
|
1026
|
+
"noCode.apiFlow.method": "Metoda HTTP",
|
|
1027
|
+
"noCode.apiFlow.headers": "Nagłówki",
|
|
1028
|
+
"noCode.apiFlow.body": "Ciało żądania",
|
|
1029
|
+
"noCode.apiFlow.response": "Odpowiedź",
|
|
1030
|
+
"noCode.apiFlow.auth": "Uwierzytelnianie",
|
|
1031
|
+
"noCode.apiFlow.authType": "Typ uwierzytelniania",
|
|
1032
|
+
"noCode.apiFlow.bearerToken": "Token Bearer",
|
|
1033
|
+
"noCode.apiFlow.apiKey": "Klucz API",
|
|
1034
|
+
"noCode.apiFlow.testEndpoint": "Testuj endpoint",
|
|
1035
|
+
"noCode.apiFlow.mockResponse": "Mockowa odpowiedź",
|
|
1036
|
+
"noCode.apiFlow.errorHandling": "Obsługa błędów",
|
|
1037
|
+
"noCode.apiFlow.retry": "Polityka ponawiania",
|
|
1038
|
+
"noCode.apiFlow.cache": "Cache",
|
|
1039
|
+
"noCode.dataMapper.title": "Mapowanie danych",
|
|
1040
|
+
"noCode.dataMapper.sourceSchema": "Schemat źródłowy",
|
|
1041
|
+
"noCode.dataMapper.targetSchema": "Schemat docelowy",
|
|
1042
|
+
"noCode.dataMapper.addMapping": "Dodaj mapowanie",
|
|
1043
|
+
"noCode.dataMapper.editMapping": "Edytuj mapowanie",
|
|
1044
|
+
"noCode.dataMapper.deleteMapping": "Usuń mapowanie",
|
|
1045
|
+
"noCode.dataMapper.sourceField": "Pole źródłowe",
|
|
1046
|
+
"noCode.dataMapper.targetField": "Pole docelowe",
|
|
1047
|
+
"noCode.dataMapper.transform": "Transformacja",
|
|
1048
|
+
"noCode.dataMapper.validation": "Walidacja",
|
|
1049
|
+
"noCode.dataMapper.testData": "Dane testowe",
|
|
1050
|
+
"noCode.dataMapper.preview": "Podgląd wyniku",
|
|
1051
|
+
"noCode.dataMapper.autoMap": "Automapowanie",
|
|
1052
|
+
"noCode.eventOrchestrator.title": "Orkiestrator zdarzeń",
|
|
1053
|
+
"noCode.eventOrchestrator.newFlow": "Nowy przepływ",
|
|
1054
|
+
"noCode.eventOrchestrator.flowName": "Nazwa przepływu",
|
|
1055
|
+
"noCode.eventOrchestrator.trigger": "Wyzwalacz",
|
|
1056
|
+
"noCode.eventOrchestrator.triggerType": "Typ wyzwalacza",
|
|
1057
|
+
"noCode.eventOrchestrator.addHandler": "Dodaj handler",
|
|
1058
|
+
"noCode.eventOrchestrator.editHandler": "Edytuj handler",
|
|
1059
|
+
"noCode.eventOrchestrator.deleteHandler": "Usuń handler",
|
|
1060
|
+
"noCode.eventOrchestrator.handlerName": "Nazwa handlera",
|
|
1061
|
+
"noCode.eventOrchestrator.debounce": "Debounce",
|
|
1062
|
+
"noCode.eventOrchestrator.throttle": "Throttle",
|
|
1063
|
+
"noCode.eventOrchestrator.delay": "Opóźnienie",
|
|
1064
|
+
"noCode.eventOrchestrator.condition": "Warunek",
|
|
1065
|
+
"noCode.eventOrchestrator.chain": "Łańcuch zdarzeń",
|
|
1066
|
+
"noCode.testBuilder.title": "Kreator testów",
|
|
1067
|
+
"noCode.testBuilder.newTest": "Nowy test",
|
|
1068
|
+
"noCode.testBuilder.testName": "Nazwa testu",
|
|
1069
|
+
"noCode.testBuilder.testDescription": "Opis",
|
|
1070
|
+
"noCode.testBuilder.addScenario": "Dodaj scenariusz",
|
|
1071
|
+
"noCode.testBuilder.editScenario": "Edytuj scenariusz",
|
|
1072
|
+
"noCode.testBuilder.deleteScenario": "Usuń scenariusz",
|
|
1073
|
+
"noCode.testBuilder.addAssertion": "Dodaj asercję",
|
|
1074
|
+
"noCode.testBuilder.assertionType": "Typ asercji",
|
|
1075
|
+
"noCode.testBuilder.expected": "Oczekiwana wartość",
|
|
1076
|
+
"noCode.testBuilder.actual": "Rzeczywista wartość",
|
|
1077
|
+
"noCode.testBuilder.mock": "Konfiguracja mocków",
|
|
1078
|
+
"noCode.testBuilder.runTests": "Uruchom testy",
|
|
1079
|
+
"noCode.testBuilder.testsPassed": "Testy zaliczone",
|
|
1080
|
+
"noCode.testBuilder.testsFailed": "Testy niezaliczone",
|
|
1081
|
+
"noCode.testBuilder.coverage": "Pokrycie",
|
|
1082
|
+
"noCode.testBuilder.accessibility": "Sprawdzenie dostępności",
|
|
1083
|
+
"noCode.codeTemplate.title": "Szablony kodu",
|
|
1084
|
+
"noCode.codeTemplate.newTemplate": "Nowy szablon",
|
|
1085
|
+
"noCode.codeTemplate.templateName": "Nazwa szablonu",
|
|
1086
|
+
"noCode.codeTemplate.templateEngine": "Silnik szablonów",
|
|
1087
|
+
"noCode.codeTemplate.variables": "Zmienne",
|
|
1088
|
+
"noCode.codeTemplate.addVariable": "Dodaj zmienną",
|
|
1089
|
+
"noCode.codeTemplate.variableName": "Nazwa zmiennej",
|
|
1090
|
+
"noCode.codeTemplate.variableType": "Typ zmiennej",
|
|
1091
|
+
"noCode.codeTemplate.variableDefault": "Wartość domyślna",
|
|
1092
|
+
"noCode.codeTemplate.generateFiles": "Generuj pliki",
|
|
1093
|
+
"noCode.codeTemplate.outputPath": "Ścieżka wyjściowa",
|
|
1094
|
+
"noCode.codeTemplate.presets": "Ustawienia predefiniowane",
|
|
1095
|
+
"noCode.codeTemplate.presetReact": "Komponent React",
|
|
1096
|
+
"noCode.codeTemplate.presetNextPage": "Strona Next.js",
|
|
1097
|
+
"noCode.codeTemplate.presetHook": "Własny Hook",
|
|
1098
|
+
"noCode.codeTemplate.presetStore": "Moduł magazynu",
|
|
1099
|
+
"noCode.codePreview.title": "Podgląd kodu",
|
|
1100
|
+
"noCode.codePreview.showDiff": "Pokaż różnice",
|
|
1101
|
+
"noCode.codePreview.hideDiff": "Ukryj różnice",
|
|
1102
|
+
"noCode.codePreview.copyCode": "Kopiuj kod",
|
|
1103
|
+
"noCode.codePreview.downloadCode": "Pobierz kod",
|
|
1104
|
+
"noCode.codePreview.importCode": "Importuj kod",
|
|
1105
|
+
"noCode.codePreview.language": "Język",
|
|
1106
|
+
"noCode.codePreview.format": "Formatuj kod",
|
|
1107
|
+
"noCode.codePreview.linesChanged": "Zmienione linie",
|
|
1108
|
+
"noCode.codePreview.noChanges": "Brak zmian"
|
|
1109
|
+
}, Ce = {
|
|
783
1110
|
ok: "OK",
|
|
784
1111
|
cancel: "Abbrechen",
|
|
785
1112
|
save: "Speichern",
|
|
@@ -1141,8 +1468,167 @@ const j = [
|
|
|
1141
1468
|
"wm.closeAll": "Alle schließen",
|
|
1142
1469
|
"wm.minimizeAll": "Alle minimieren",
|
|
1143
1470
|
"wm.newWindow": "Neues Fenster",
|
|
1144
|
-
"wm.moveToFront": "In den Vordergrund"
|
|
1145
|
-
|
|
1471
|
+
"wm.moveToFront": "In den Vordergrund",
|
|
1472
|
+
// No-Code Foundation
|
|
1473
|
+
"noCode.title": "No-Code Studio",
|
|
1474
|
+
"noCode.description": "Anwendungen visuell erstellen",
|
|
1475
|
+
"noCode.newProject": "Neues Projekt",
|
|
1476
|
+
"noCode.openProject": "Projekt öffnen",
|
|
1477
|
+
"noCode.saveProject": "Projekt speichern",
|
|
1478
|
+
"noCode.exportProject": "Projekt exportieren",
|
|
1479
|
+
"noCode.importProject": "Projekt importieren",
|
|
1480
|
+
"noCode.projectName": "Projektname",
|
|
1481
|
+
"noCode.projectSettings": "Projekteinstellungen",
|
|
1482
|
+
"noCode.recentProjects": "Letzte Projekte",
|
|
1483
|
+
"noCode.templates": "Vorlagen",
|
|
1484
|
+
"noCode.preview": "Vorschau",
|
|
1485
|
+
"noCode.codeView": "Code-Ansicht",
|
|
1486
|
+
"noCode.splitView": "Geteilte Ansicht",
|
|
1487
|
+
"noCode.visualView": "Visuelle Ansicht",
|
|
1488
|
+
"noCode.generate": "Code generieren",
|
|
1489
|
+
"noCode.deploy": "Bereitstellen",
|
|
1490
|
+
"noCode.componentDesigner.title": "Komponenten-Designer",
|
|
1491
|
+
"noCode.componentDesigner.newComponent": "Neue Komponente",
|
|
1492
|
+
"noCode.componentDesigner.componentName": "Komponentenname",
|
|
1493
|
+
"noCode.componentDesigner.addProp": "Eigenschaft hinzufügen",
|
|
1494
|
+
"noCode.componentDesigner.editProp": "Eigenschaft bearbeiten",
|
|
1495
|
+
"noCode.componentDesigner.deleteProp": "Eigenschaft löschen",
|
|
1496
|
+
"noCode.componentDesigner.propName": "Eigenschaftsname",
|
|
1497
|
+
"noCode.componentDesigner.propType": "Eigenschaftstyp",
|
|
1498
|
+
"noCode.componentDesigner.propRequired": "Erforderlich",
|
|
1499
|
+
"noCode.componentDesigner.propDefault": "Standardwert",
|
|
1500
|
+
"noCode.componentDesigner.addState": "Status hinzufügen",
|
|
1501
|
+
"noCode.componentDesigner.stateName": "Statusname",
|
|
1502
|
+
"noCode.componentDesigner.stateType": "Statustyp",
|
|
1503
|
+
"noCode.componentDesigner.stateDefault": "Anfangswert",
|
|
1504
|
+
"noCode.componentDesigner.addHook": "Hook hinzufügen",
|
|
1505
|
+
"noCode.componentDesigner.hooks": "Hooks",
|
|
1506
|
+
"noCode.componentDesigner.template": "Vorlage",
|
|
1507
|
+
"noCode.componentDesigner.styles": "Stile",
|
|
1508
|
+
"noCode.componentDesigner.events": "Ereignisse",
|
|
1509
|
+
"noCode.componentDesigner.palette": "Komponentenpalette",
|
|
1510
|
+
"noCode.componentDesigner.dragDrop": "Komponenten hierher ziehen",
|
|
1511
|
+
"noCode.pageBuilder.title": "Seiten-Builder",
|
|
1512
|
+
"noCode.pageBuilder.newPage": "Neue Seite",
|
|
1513
|
+
"noCode.pageBuilder.pageName": "Seitenname",
|
|
1514
|
+
"noCode.pageBuilder.pageRoute": "Route",
|
|
1515
|
+
"noCode.pageBuilder.addSection": "Abschnitt hinzufügen",
|
|
1516
|
+
"noCode.pageBuilder.editSection": "Abschnitt bearbeiten",
|
|
1517
|
+
"noCode.pageBuilder.deleteSection": "Abschnitt löschen",
|
|
1518
|
+
"noCode.pageBuilder.sectionLayout": "Abschnittslayout",
|
|
1519
|
+
"noCode.pageBuilder.columns": "Spalten",
|
|
1520
|
+
"noCode.pageBuilder.responsive": "Responsiv",
|
|
1521
|
+
"noCode.pageBuilder.mobile": "Mobil",
|
|
1522
|
+
"noCode.pageBuilder.tablet": "Tablet",
|
|
1523
|
+
"noCode.pageBuilder.desktop": "Desktop",
|
|
1524
|
+
"noCode.pageBuilder.showGrid": "Raster anzeigen",
|
|
1525
|
+
"noCode.pageBuilder.hideGrid": "Raster ausblenden",
|
|
1526
|
+
"noCode.pageBuilder.metadata": "Seitenmetadaten",
|
|
1527
|
+
"noCode.pageBuilder.seo": "SEO-Einstellungen",
|
|
1528
|
+
"noCode.stateDesigner.title": "Status-Designer",
|
|
1529
|
+
"noCode.stateDesigner.newStore": "Neuer Store",
|
|
1530
|
+
"noCode.stateDesigner.storeName": "Store-Name",
|
|
1531
|
+
"noCode.stateDesigner.storeType": "Store-Typ",
|
|
1532
|
+
"noCode.stateDesigner.addState": "Statusfeld hinzufügen",
|
|
1533
|
+
"noCode.stateDesigner.addAction": "Aktion hinzufügen",
|
|
1534
|
+
"noCode.stateDesigner.editAction": "Aktion bearbeiten",
|
|
1535
|
+
"noCode.stateDesigner.deleteAction": "Aktion löschen",
|
|
1536
|
+
"noCode.stateDesigner.actionName": "Aktionsname",
|
|
1537
|
+
"noCode.stateDesigner.actionParams": "Parameter",
|
|
1538
|
+
"noCode.stateDesigner.actionBody": "Aktionskörper",
|
|
1539
|
+
"noCode.stateDesigner.asyncAction": "Asynchrone Aktion",
|
|
1540
|
+
"noCode.stateDesigner.addSelector": "Selektor hinzufügen",
|
|
1541
|
+
"noCode.stateDesigner.selectorName": "Selektorname",
|
|
1542
|
+
"noCode.stateDesigner.selectorBody": "Selektorlogik",
|
|
1543
|
+
"noCode.stateDesigner.persistence": "Persistenz",
|
|
1544
|
+
"noCode.stateDesigner.devtools": "Entwicklertools",
|
|
1545
|
+
"noCode.apiFlow.title": "API-Flow-Designer",
|
|
1546
|
+
"noCode.apiFlow.newEndpoint": "Neuer Endpunkt",
|
|
1547
|
+
"noCode.apiFlow.endpointUrl": "Endpunkt-URL",
|
|
1548
|
+
"noCode.apiFlow.method": "HTTP-Methode",
|
|
1549
|
+
"noCode.apiFlow.headers": "Header",
|
|
1550
|
+
"noCode.apiFlow.body": "Anfragekörper",
|
|
1551
|
+
"noCode.apiFlow.response": "Antwort",
|
|
1552
|
+
"noCode.apiFlow.auth": "Authentifizierung",
|
|
1553
|
+
"noCode.apiFlow.authType": "Authentifizierungstyp",
|
|
1554
|
+
"noCode.apiFlow.bearerToken": "Bearer-Token",
|
|
1555
|
+
"noCode.apiFlow.apiKey": "API-Schlüssel",
|
|
1556
|
+
"noCode.apiFlow.testEndpoint": "Endpunkt testen",
|
|
1557
|
+
"noCode.apiFlow.mockResponse": "Mock-Antwort",
|
|
1558
|
+
"noCode.apiFlow.errorHandling": "Fehlerbehandlung",
|
|
1559
|
+
"noCode.apiFlow.retry": "Wiederholungsrichtlinie",
|
|
1560
|
+
"noCode.apiFlow.cache": "Cache",
|
|
1561
|
+
"noCode.dataMapper.title": "Datenmapper",
|
|
1562
|
+
"noCode.dataMapper.sourceSchema": "Quellschema",
|
|
1563
|
+
"noCode.dataMapper.targetSchema": "Zielschema",
|
|
1564
|
+
"noCode.dataMapper.addMapping": "Zuordnung hinzufügen",
|
|
1565
|
+
"noCode.dataMapper.editMapping": "Zuordnung bearbeiten",
|
|
1566
|
+
"noCode.dataMapper.deleteMapping": "Zuordnung löschen",
|
|
1567
|
+
"noCode.dataMapper.sourceField": "Quellfeld",
|
|
1568
|
+
"noCode.dataMapper.targetField": "Zielfeld",
|
|
1569
|
+
"noCode.dataMapper.transform": "Transformation",
|
|
1570
|
+
"noCode.dataMapper.validation": "Validierung",
|
|
1571
|
+
"noCode.dataMapper.testData": "Testdaten",
|
|
1572
|
+
"noCode.dataMapper.preview": "Ergebnisvorschau",
|
|
1573
|
+
"noCode.dataMapper.autoMap": "Automatisch zuordnen",
|
|
1574
|
+
"noCode.eventOrchestrator.title": "Ereignis-Orchestrator",
|
|
1575
|
+
"noCode.eventOrchestrator.newFlow": "Neuer Flow",
|
|
1576
|
+
"noCode.eventOrchestrator.flowName": "Flow-Name",
|
|
1577
|
+
"noCode.eventOrchestrator.trigger": "Auslöser",
|
|
1578
|
+
"noCode.eventOrchestrator.triggerType": "Auslösertyp",
|
|
1579
|
+
"noCode.eventOrchestrator.addHandler": "Handler hinzufügen",
|
|
1580
|
+
"noCode.eventOrchestrator.editHandler": "Handler bearbeiten",
|
|
1581
|
+
"noCode.eventOrchestrator.deleteHandler": "Handler löschen",
|
|
1582
|
+
"noCode.eventOrchestrator.handlerName": "Handler-Name",
|
|
1583
|
+
"noCode.eventOrchestrator.debounce": "Entprellen",
|
|
1584
|
+
"noCode.eventOrchestrator.throttle": "Drosseln",
|
|
1585
|
+
"noCode.eventOrchestrator.delay": "Verzögerung",
|
|
1586
|
+
"noCode.eventOrchestrator.condition": "Bedingung",
|
|
1587
|
+
"noCode.eventOrchestrator.chain": "Ereigniskette",
|
|
1588
|
+
"noCode.testBuilder.title": "Test-Builder",
|
|
1589
|
+
"noCode.testBuilder.newTest": "Neuer Test",
|
|
1590
|
+
"noCode.testBuilder.testName": "Testname",
|
|
1591
|
+
"noCode.testBuilder.testDescription": "Beschreibung",
|
|
1592
|
+
"noCode.testBuilder.addScenario": "Szenario hinzufügen",
|
|
1593
|
+
"noCode.testBuilder.editScenario": "Szenario bearbeiten",
|
|
1594
|
+
"noCode.testBuilder.deleteScenario": "Szenario löschen",
|
|
1595
|
+
"noCode.testBuilder.addAssertion": "Assertion hinzufügen",
|
|
1596
|
+
"noCode.testBuilder.assertionType": "Assertionstyp",
|
|
1597
|
+
"noCode.testBuilder.expected": "Erwarteter Wert",
|
|
1598
|
+
"noCode.testBuilder.actual": "Tatsächlicher Wert",
|
|
1599
|
+
"noCode.testBuilder.mock": "Mock-Konfiguration",
|
|
1600
|
+
"noCode.testBuilder.runTests": "Tests ausführen",
|
|
1601
|
+
"noCode.testBuilder.testsPassed": "Tests bestanden",
|
|
1602
|
+
"noCode.testBuilder.testsFailed": "Tests fehlgeschlagen",
|
|
1603
|
+
"noCode.testBuilder.coverage": "Abdeckung",
|
|
1604
|
+
"noCode.testBuilder.accessibility": "Barrierefreiheitsprüfung",
|
|
1605
|
+
"noCode.codeTemplate.title": "Code-Vorlagen",
|
|
1606
|
+
"noCode.codeTemplate.newTemplate": "Neue Vorlage",
|
|
1607
|
+
"noCode.codeTemplate.templateName": "Vorlagenname",
|
|
1608
|
+
"noCode.codeTemplate.templateEngine": "Vorlagen-Engine",
|
|
1609
|
+
"noCode.codeTemplate.variables": "Variablen",
|
|
1610
|
+
"noCode.codeTemplate.addVariable": "Variable hinzufügen",
|
|
1611
|
+
"noCode.codeTemplate.variableName": "Variablenname",
|
|
1612
|
+
"noCode.codeTemplate.variableType": "Variablentyp",
|
|
1613
|
+
"noCode.codeTemplate.variableDefault": "Standardwert",
|
|
1614
|
+
"noCode.codeTemplate.generateFiles": "Dateien generieren",
|
|
1615
|
+
"noCode.codeTemplate.outputPath": "Ausgabepfad",
|
|
1616
|
+
"noCode.codeTemplate.presets": "Voreinstellungen",
|
|
1617
|
+
"noCode.codeTemplate.presetReact": "React-Komponente",
|
|
1618
|
+
"noCode.codeTemplate.presetNextPage": "Next.js-Seite",
|
|
1619
|
+
"noCode.codeTemplate.presetHook": "Benutzerdefinierter Hook",
|
|
1620
|
+
"noCode.codeTemplate.presetStore": "Store-Modul",
|
|
1621
|
+
"noCode.codePreview.title": "Code-Vorschau",
|
|
1622
|
+
"noCode.codePreview.showDiff": "Unterschiede anzeigen",
|
|
1623
|
+
"noCode.codePreview.hideDiff": "Unterschiede ausblenden",
|
|
1624
|
+
"noCode.codePreview.copyCode": "Code kopieren",
|
|
1625
|
+
"noCode.codePreview.downloadCode": "Code herunterladen",
|
|
1626
|
+
"noCode.codePreview.importCode": "Code importieren",
|
|
1627
|
+
"noCode.codePreview.language": "Sprache",
|
|
1628
|
+
"noCode.codePreview.format": "Code formatieren",
|
|
1629
|
+
"noCode.codePreview.linesChanged": "Geänderte Zeilen",
|
|
1630
|
+
"noCode.codePreview.noChanges": "Keine Änderungen"
|
|
1631
|
+
}, ye = {
|
|
1146
1632
|
ok: "OK",
|
|
1147
1633
|
cancel: "Annuler",
|
|
1148
1634
|
save: "Enregistrer",
|
|
@@ -1504,8 +1990,167 @@ const j = [
|
|
|
1504
1990
|
"wm.closeAll": "Tout fermer",
|
|
1505
1991
|
"wm.minimizeAll": "Tout réduire",
|
|
1506
1992
|
"wm.newWindow": "Nouvelle fenêtre",
|
|
1507
|
-
"wm.moveToFront": "Au premier plan"
|
|
1508
|
-
|
|
1993
|
+
"wm.moveToFront": "Au premier plan",
|
|
1994
|
+
// No-Code Foundation
|
|
1995
|
+
"noCode.title": "Studio No-Code",
|
|
1996
|
+
"noCode.description": "Créez des applications visuellement",
|
|
1997
|
+
"noCode.newProject": "Nouveau projet",
|
|
1998
|
+
"noCode.openProject": "Ouvrir le projet",
|
|
1999
|
+
"noCode.saveProject": "Enregistrer le projet",
|
|
2000
|
+
"noCode.exportProject": "Exporter le projet",
|
|
2001
|
+
"noCode.importProject": "Importer le projet",
|
|
2002
|
+
"noCode.projectName": "Nom du projet",
|
|
2003
|
+
"noCode.projectSettings": "Paramètres du projet",
|
|
2004
|
+
"noCode.recentProjects": "Projets récents",
|
|
2005
|
+
"noCode.templates": "Modèles",
|
|
2006
|
+
"noCode.preview": "Aperçu",
|
|
2007
|
+
"noCode.codeView": "Vue code",
|
|
2008
|
+
"noCode.splitView": "Vue divisée",
|
|
2009
|
+
"noCode.visualView": "Vue visuelle",
|
|
2010
|
+
"noCode.generate": "Générer le code",
|
|
2011
|
+
"noCode.deploy": "Déployer",
|
|
2012
|
+
"noCode.componentDesigner.title": "Concepteur de composants",
|
|
2013
|
+
"noCode.componentDesigner.newComponent": "Nouveau composant",
|
|
2014
|
+
"noCode.componentDesigner.componentName": "Nom du composant",
|
|
2015
|
+
"noCode.componentDesigner.addProp": "Ajouter une propriété",
|
|
2016
|
+
"noCode.componentDesigner.editProp": "Modifier la propriété",
|
|
2017
|
+
"noCode.componentDesigner.deleteProp": "Supprimer la propriété",
|
|
2018
|
+
"noCode.componentDesigner.propName": "Nom de la propriété",
|
|
2019
|
+
"noCode.componentDesigner.propType": "Type de propriété",
|
|
2020
|
+
"noCode.componentDesigner.propRequired": "Obligatoire",
|
|
2021
|
+
"noCode.componentDesigner.propDefault": "Valeur par défaut",
|
|
2022
|
+
"noCode.componentDesigner.addState": "Ajouter un état",
|
|
2023
|
+
"noCode.componentDesigner.stateName": "Nom de l'état",
|
|
2024
|
+
"noCode.componentDesigner.stateType": "Type d'état",
|
|
2025
|
+
"noCode.componentDesigner.stateDefault": "Valeur initiale",
|
|
2026
|
+
"noCode.componentDesigner.addHook": "Ajouter un hook",
|
|
2027
|
+
"noCode.componentDesigner.hooks": "Hooks",
|
|
2028
|
+
"noCode.componentDesigner.template": "Modèle",
|
|
2029
|
+
"noCode.componentDesigner.styles": "Styles",
|
|
2030
|
+
"noCode.componentDesigner.events": "Événements",
|
|
2031
|
+
"noCode.componentDesigner.palette": "Palette de composants",
|
|
2032
|
+
"noCode.componentDesigner.dragDrop": "Glissez les composants ici",
|
|
2033
|
+
"noCode.pageBuilder.title": "Créateur de pages",
|
|
2034
|
+
"noCode.pageBuilder.newPage": "Nouvelle page",
|
|
2035
|
+
"noCode.pageBuilder.pageName": "Nom de la page",
|
|
2036
|
+
"noCode.pageBuilder.pageRoute": "Chemin de route",
|
|
2037
|
+
"noCode.pageBuilder.addSection": "Ajouter une section",
|
|
2038
|
+
"noCode.pageBuilder.editSection": "Modifier la section",
|
|
2039
|
+
"noCode.pageBuilder.deleteSection": "Supprimer la section",
|
|
2040
|
+
"noCode.pageBuilder.sectionLayout": "Disposition de section",
|
|
2041
|
+
"noCode.pageBuilder.columns": "Colonnes",
|
|
2042
|
+
"noCode.pageBuilder.responsive": "Réactif",
|
|
2043
|
+
"noCode.pageBuilder.mobile": "Mobile",
|
|
2044
|
+
"noCode.pageBuilder.tablet": "Tablette",
|
|
2045
|
+
"noCode.pageBuilder.desktop": "Bureau",
|
|
2046
|
+
"noCode.pageBuilder.showGrid": "Afficher la grille",
|
|
2047
|
+
"noCode.pageBuilder.hideGrid": "Masquer la grille",
|
|
2048
|
+
"noCode.pageBuilder.metadata": "Métadonnées de page",
|
|
2049
|
+
"noCode.pageBuilder.seo": "Paramètres SEO",
|
|
2050
|
+
"noCode.stateDesigner.title": "Concepteur d'état",
|
|
2051
|
+
"noCode.stateDesigner.newStore": "Nouveau store",
|
|
2052
|
+
"noCode.stateDesigner.storeName": "Nom du store",
|
|
2053
|
+
"noCode.stateDesigner.storeType": "Type de store",
|
|
2054
|
+
"noCode.stateDesigner.addState": "Ajouter un champ d'état",
|
|
2055
|
+
"noCode.stateDesigner.addAction": "Ajouter une action",
|
|
2056
|
+
"noCode.stateDesigner.editAction": "Modifier l'action",
|
|
2057
|
+
"noCode.stateDesigner.deleteAction": "Supprimer l'action",
|
|
2058
|
+
"noCode.stateDesigner.actionName": "Nom de l'action",
|
|
2059
|
+
"noCode.stateDesigner.actionParams": "Paramètres",
|
|
2060
|
+
"noCode.stateDesigner.actionBody": "Corps de l'action",
|
|
2061
|
+
"noCode.stateDesigner.asyncAction": "Action asynchrone",
|
|
2062
|
+
"noCode.stateDesigner.addSelector": "Ajouter un sélecteur",
|
|
2063
|
+
"noCode.stateDesigner.selectorName": "Nom du sélecteur",
|
|
2064
|
+
"noCode.stateDesigner.selectorBody": "Logique du sélecteur",
|
|
2065
|
+
"noCode.stateDesigner.persistence": "Persistance",
|
|
2066
|
+
"noCode.stateDesigner.devtools": "Outils de développement",
|
|
2067
|
+
"noCode.apiFlow.title": "Concepteur API",
|
|
2068
|
+
"noCode.apiFlow.newEndpoint": "Nouveau endpoint",
|
|
2069
|
+
"noCode.apiFlow.endpointUrl": "URL du endpoint",
|
|
2070
|
+
"noCode.apiFlow.method": "Méthode HTTP",
|
|
2071
|
+
"noCode.apiFlow.headers": "En-têtes",
|
|
2072
|
+
"noCode.apiFlow.body": "Corps de requête",
|
|
2073
|
+
"noCode.apiFlow.response": "Réponse",
|
|
2074
|
+
"noCode.apiFlow.auth": "Authentification",
|
|
2075
|
+
"noCode.apiFlow.authType": "Type d'authentification",
|
|
2076
|
+
"noCode.apiFlow.bearerToken": "Token Bearer",
|
|
2077
|
+
"noCode.apiFlow.apiKey": "Clé API",
|
|
2078
|
+
"noCode.apiFlow.testEndpoint": "Tester le endpoint",
|
|
2079
|
+
"noCode.apiFlow.mockResponse": "Réponse simulée",
|
|
2080
|
+
"noCode.apiFlow.errorHandling": "Gestion des erreurs",
|
|
2081
|
+
"noCode.apiFlow.retry": "Politique de réessai",
|
|
2082
|
+
"noCode.apiFlow.cache": "Cache",
|
|
2083
|
+
"noCode.dataMapper.title": "Mappeur de données",
|
|
2084
|
+
"noCode.dataMapper.sourceSchema": "Schéma source",
|
|
2085
|
+
"noCode.dataMapper.targetSchema": "Schéma cible",
|
|
2086
|
+
"noCode.dataMapper.addMapping": "Ajouter un mapping",
|
|
2087
|
+
"noCode.dataMapper.editMapping": "Modifier le mapping",
|
|
2088
|
+
"noCode.dataMapper.deleteMapping": "Supprimer le mapping",
|
|
2089
|
+
"noCode.dataMapper.sourceField": "Champ source",
|
|
2090
|
+
"noCode.dataMapper.targetField": "Champ cible",
|
|
2091
|
+
"noCode.dataMapper.transform": "Transformation",
|
|
2092
|
+
"noCode.dataMapper.validation": "Validation",
|
|
2093
|
+
"noCode.dataMapper.testData": "Données de test",
|
|
2094
|
+
"noCode.dataMapper.preview": "Aperçu du résultat",
|
|
2095
|
+
"noCode.dataMapper.autoMap": "Mapping automatique",
|
|
2096
|
+
"noCode.eventOrchestrator.title": "Orchestrateur d'événements",
|
|
2097
|
+
"noCode.eventOrchestrator.newFlow": "Nouveau flux",
|
|
2098
|
+
"noCode.eventOrchestrator.flowName": "Nom du flux",
|
|
2099
|
+
"noCode.eventOrchestrator.trigger": "Déclencheur",
|
|
2100
|
+
"noCode.eventOrchestrator.triggerType": "Type de déclencheur",
|
|
2101
|
+
"noCode.eventOrchestrator.addHandler": "Ajouter un handler",
|
|
2102
|
+
"noCode.eventOrchestrator.editHandler": "Modifier le handler",
|
|
2103
|
+
"noCode.eventOrchestrator.deleteHandler": "Supprimer le handler",
|
|
2104
|
+
"noCode.eventOrchestrator.handlerName": "Nom du handler",
|
|
2105
|
+
"noCode.eventOrchestrator.debounce": "Rebond",
|
|
2106
|
+
"noCode.eventOrchestrator.throttle": "Limitation",
|
|
2107
|
+
"noCode.eventOrchestrator.delay": "Délai",
|
|
2108
|
+
"noCode.eventOrchestrator.condition": "Condition",
|
|
2109
|
+
"noCode.eventOrchestrator.chain": "Chaîne d'événements",
|
|
2110
|
+
"noCode.testBuilder.title": "Créateur de tests",
|
|
2111
|
+
"noCode.testBuilder.newTest": "Nouveau test",
|
|
2112
|
+
"noCode.testBuilder.testName": "Nom du test",
|
|
2113
|
+
"noCode.testBuilder.testDescription": "Description",
|
|
2114
|
+
"noCode.testBuilder.addScenario": "Ajouter un scénario",
|
|
2115
|
+
"noCode.testBuilder.editScenario": "Modifier le scénario",
|
|
2116
|
+
"noCode.testBuilder.deleteScenario": "Supprimer le scénario",
|
|
2117
|
+
"noCode.testBuilder.addAssertion": "Ajouter une assertion",
|
|
2118
|
+
"noCode.testBuilder.assertionType": "Type d'assertion",
|
|
2119
|
+
"noCode.testBuilder.expected": "Valeur attendue",
|
|
2120
|
+
"noCode.testBuilder.actual": "Valeur réelle",
|
|
2121
|
+
"noCode.testBuilder.mock": "Configuration des mocks",
|
|
2122
|
+
"noCode.testBuilder.runTests": "Exécuter les tests",
|
|
2123
|
+
"noCode.testBuilder.testsPassed": "Tests réussis",
|
|
2124
|
+
"noCode.testBuilder.testsFailed": "Tests échoués",
|
|
2125
|
+
"noCode.testBuilder.coverage": "Couverture",
|
|
2126
|
+
"noCode.testBuilder.accessibility": "Vérification d'accessibilité",
|
|
2127
|
+
"noCode.codeTemplate.title": "Modèles de code",
|
|
2128
|
+
"noCode.codeTemplate.newTemplate": "Nouveau modèle",
|
|
2129
|
+
"noCode.codeTemplate.templateName": "Nom du modèle",
|
|
2130
|
+
"noCode.codeTemplate.templateEngine": "Moteur de modèle",
|
|
2131
|
+
"noCode.codeTemplate.variables": "Variables",
|
|
2132
|
+
"noCode.codeTemplate.addVariable": "Ajouter une variable",
|
|
2133
|
+
"noCode.codeTemplate.variableName": "Nom de variable",
|
|
2134
|
+
"noCode.codeTemplate.variableType": "Type de variable",
|
|
2135
|
+
"noCode.codeTemplate.variableDefault": "Valeur par défaut",
|
|
2136
|
+
"noCode.codeTemplate.generateFiles": "Générer les fichiers",
|
|
2137
|
+
"noCode.codeTemplate.outputPath": "Chemin de sortie",
|
|
2138
|
+
"noCode.codeTemplate.presets": "Préréglages",
|
|
2139
|
+
"noCode.codeTemplate.presetReact": "Composant React",
|
|
2140
|
+
"noCode.codeTemplate.presetNextPage": "Page Next.js",
|
|
2141
|
+
"noCode.codeTemplate.presetHook": "Hook personnalisé",
|
|
2142
|
+
"noCode.codeTemplate.presetStore": "Module store",
|
|
2143
|
+
"noCode.codePreview.title": "Aperçu du code",
|
|
2144
|
+
"noCode.codePreview.showDiff": "Afficher les différences",
|
|
2145
|
+
"noCode.codePreview.hideDiff": "Masquer les différences",
|
|
2146
|
+
"noCode.codePreview.copyCode": "Copier le code",
|
|
2147
|
+
"noCode.codePreview.downloadCode": "Télécharger le code",
|
|
2148
|
+
"noCode.codePreview.importCode": "Importer le code",
|
|
2149
|
+
"noCode.codePreview.language": "Langage",
|
|
2150
|
+
"noCode.codePreview.format": "Formater le code",
|
|
2151
|
+
"noCode.codePreview.linesChanged": "Lignes modifiées",
|
|
2152
|
+
"noCode.codePreview.noChanges": "Aucune modification"
|
|
2153
|
+
}, Ee = {
|
|
1509
2154
|
ok: "OK",
|
|
1510
2155
|
cancel: "Cancelar",
|
|
1511
2156
|
save: "Guardar",
|
|
@@ -1982,7 +2627,7 @@ const j = [
|
|
|
1982
2627
|
"lang.ko": "Coreano",
|
|
1983
2628
|
"lang.zh": "Cinese",
|
|
1984
2629
|
"lang.ar": "Arabo"
|
|
1985
|
-
},
|
|
2630
|
+
}, ze = {
|
|
1986
2631
|
ok: "OK",
|
|
1987
2632
|
cancel: "Cancelar",
|
|
1988
2633
|
save: "Salvar",
|
|
@@ -2345,7 +2990,7 @@ const j = [
|
|
|
2345
2990
|
"wm.minimizeAll": "Minimizar todos",
|
|
2346
2991
|
"wm.newWindow": "Nova janela",
|
|
2347
2992
|
"wm.moveToFront": "Trazer para frente"
|
|
2348
|
-
},
|
|
2993
|
+
}, De = {
|
|
2349
2994
|
ok: "OK",
|
|
2350
2995
|
cancel: "Annuleren",
|
|
2351
2996
|
save: "Opslaan",
|
|
@@ -2430,7 +3075,7 @@ const j = [
|
|
|
2430
3075
|
"lang.ko": "Koreaans",
|
|
2431
3076
|
"lang.zh": "Chinees",
|
|
2432
3077
|
"lang.ar": "Arabisch"
|
|
2433
|
-
},
|
|
3078
|
+
}, Ae = {
|
|
2434
3079
|
ok: "OK",
|
|
2435
3080
|
cancel: "Avbryt",
|
|
2436
3081
|
save: "Spara",
|
|
@@ -2500,7 +3145,7 @@ const j = [
|
|
|
2500
3145
|
"lang.ko": "Koreanska",
|
|
2501
3146
|
"lang.zh": "Kinesiska",
|
|
2502
3147
|
"lang.ar": "Arabiska"
|
|
2503
|
-
},
|
|
3148
|
+
}, xe = {
|
|
2504
3149
|
ok: "OK",
|
|
2505
3150
|
cancel: "Avbryt",
|
|
2506
3151
|
save: "Lagre",
|
|
@@ -3115,7 +3760,7 @@ const j = [
|
|
|
3115
3760
|
"lang.ko": "Kórejčina",
|
|
3116
3761
|
"lang.zh": "Čínština",
|
|
3117
3762
|
"lang.ar": "Arabčina"
|
|
3118
|
-
},
|
|
3763
|
+
}, Ne = {
|
|
3119
3764
|
ok: "OK",
|
|
3120
3765
|
cancel: "Mégse",
|
|
3121
3766
|
save: "Mentés",
|
|
@@ -3178,7 +3823,7 @@ const j = [
|
|
|
3178
3823
|
"lang.ko": "Koreai",
|
|
3179
3824
|
"lang.zh": "Kínai",
|
|
3180
3825
|
"lang.ar": "Arab"
|
|
3181
|
-
},
|
|
3826
|
+
}, Me = {
|
|
3182
3827
|
ok: "OK",
|
|
3183
3828
|
cancel: "Anulare",
|
|
3184
3829
|
save: "Salvare",
|
|
@@ -3233,7 +3878,7 @@ const j = [
|
|
|
3233
3878
|
"lang.ko": "Coreeană",
|
|
3234
3879
|
"lang.zh": "Chineză",
|
|
3235
3880
|
"lang.ar": "Arabă"
|
|
3236
|
-
},
|
|
3881
|
+
}, Oe = {
|
|
3237
3882
|
ok: "OK",
|
|
3238
3883
|
cancel: "Отказ",
|
|
3239
3884
|
save: "Запис",
|
|
@@ -3288,7 +3933,7 @@ const j = [
|
|
|
3288
3933
|
"lang.ko": "Корейски",
|
|
3289
3934
|
"lang.zh": "Китайски",
|
|
3290
3935
|
"lang.ar": "Арабски"
|
|
3291
|
-
},
|
|
3936
|
+
}, Re = {
|
|
3292
3937
|
ok: "OK",
|
|
3293
3938
|
cancel: "Скасувати",
|
|
3294
3939
|
save: "Зберегти",
|
|
@@ -3651,7 +4296,7 @@ const j = [
|
|
|
3651
4296
|
"wm.minimizeAll": "Згорнути всі",
|
|
3652
4297
|
"wm.newWindow": "Нове вікно",
|
|
3653
4298
|
"wm.moveToFront": "На передній план"
|
|
3654
|
-
},
|
|
4299
|
+
}, Le = {
|
|
3655
4300
|
ok: "OK",
|
|
3656
4301
|
cancel: "キャンセル",
|
|
3657
4302
|
save: "保存",
|
|
@@ -4014,7 +4659,7 @@ const j = [
|
|
|
4014
4659
|
"wm.minimizeAll": "すべて最小化",
|
|
4015
4660
|
"wm.newWindow": "新しいウィンドウ",
|
|
4016
4661
|
"wm.moveToFront": "最前面に移動"
|
|
4017
|
-
},
|
|
4662
|
+
}, Be = {
|
|
4018
4663
|
ok: "확인",
|
|
4019
4664
|
cancel: "취소",
|
|
4020
4665
|
save: "저장",
|
|
@@ -4377,7 +5022,7 @@ const j = [
|
|
|
4377
5022
|
"wm.minimizeAll": "모두 최소화",
|
|
4378
5023
|
"wm.newWindow": "새 창",
|
|
4379
5024
|
"wm.moveToFront": "맨 앞으로"
|
|
4380
|
-
},
|
|
5025
|
+
}, Ie = {
|
|
4381
5026
|
ok: "确定",
|
|
4382
5027
|
cancel: "取消",
|
|
4383
5028
|
save: "保存",
|
|
@@ -4740,7 +5385,7 @@ const j = [
|
|
|
4740
5385
|
"wm.minimizeAll": "最小化全部",
|
|
4741
5386
|
"wm.newWindow": "新建窗口",
|
|
4742
5387
|
"wm.moveToFront": "置于最前"
|
|
4743
|
-
},
|
|
5388
|
+
}, Ue = {
|
|
4744
5389
|
ok: "حسناً",
|
|
4745
5390
|
cancel: "إلغاء",
|
|
4746
5391
|
save: "حفظ",
|
|
@@ -5103,75 +5748,75 @@ const j = [
|
|
|
5103
5748
|
"wm.minimizeAll": "تصغير الكل",
|
|
5104
5749
|
"wm.newWindow": "نافذة جديدة",
|
|
5105
5750
|
"wm.moveToFront": "نقل إلى الأمام"
|
|
5106
|
-
},
|
|
5107
|
-
en:
|
|
5108
|
-
pl:
|
|
5109
|
-
de:
|
|
5110
|
-
fr:
|
|
5111
|
-
es:
|
|
5751
|
+
}, v = {
|
|
5752
|
+
en: ve,
|
|
5753
|
+
pl: be,
|
|
5754
|
+
de: Ce,
|
|
5755
|
+
fr: ye,
|
|
5756
|
+
es: Ee,
|
|
5112
5757
|
it: Se,
|
|
5113
|
-
pt:
|
|
5114
|
-
nl:
|
|
5115
|
-
sv:
|
|
5116
|
-
no:
|
|
5758
|
+
pt: ze,
|
|
5759
|
+
nl: De,
|
|
5760
|
+
sv: Ae,
|
|
5761
|
+
no: xe,
|
|
5117
5762
|
da: Te,
|
|
5118
5763
|
fi: Pe,
|
|
5119
5764
|
cs: je,
|
|
5120
5765
|
sk: Fe,
|
|
5121
|
-
hu:
|
|
5122
|
-
ro:
|
|
5123
|
-
bg:
|
|
5124
|
-
uk:
|
|
5125
|
-
ja:
|
|
5126
|
-
ko:
|
|
5127
|
-
zh:
|
|
5128
|
-
ar:
|
|
5129
|
-
},
|
|
5766
|
+
hu: Ne,
|
|
5767
|
+
ro: Me,
|
|
5768
|
+
bg: Oe,
|
|
5769
|
+
uk: Re,
|
|
5770
|
+
ja: Le,
|
|
5771
|
+
ko: Be,
|
|
5772
|
+
zh: Ie,
|
|
5773
|
+
ar: Ue
|
|
5774
|
+
}, Ve = (e, o) => o, X = I(Ve), Oo = ({
|
|
5130
5775
|
t: e,
|
|
5131
|
-
lang:
|
|
5776
|
+
lang: o = "en",
|
|
5132
5777
|
overrides: t,
|
|
5133
|
-
children:
|
|
5778
|
+
children: a
|
|
5134
5779
|
}) => {
|
|
5135
|
-
const
|
|
5780
|
+
const n = w(() => {
|
|
5136
5781
|
if (e) return e;
|
|
5137
|
-
const
|
|
5138
|
-
return (s,
|
|
5139
|
-
}, [e,
|
|
5140
|
-
return /* @__PURE__ */
|
|
5782
|
+
const r = v[o] ?? v.en, i = t ? { ...r, ...t } : r;
|
|
5783
|
+
return (s, d) => i[s] ?? d;
|
|
5784
|
+
}, [e, o, t]);
|
|
5785
|
+
return /* @__PURE__ */ B(X.Provider, { value: n, children: a });
|
|
5141
5786
|
};
|
|
5142
|
-
function
|
|
5787
|
+
function Ro() {
|
|
5143
5788
|
return { t: F(X) };
|
|
5144
5789
|
}
|
|
5145
|
-
function
|
|
5146
|
-
const t =
|
|
5147
|
-
return (
|
|
5790
|
+
function Lo(e = "en", o) {
|
|
5791
|
+
const t = v[e] ?? v.en, a = o ? { ...t, ...o } : t;
|
|
5792
|
+
return (n, r) => a[n] ?? r;
|
|
5148
5793
|
}
|
|
5149
|
-
function
|
|
5150
|
-
let t = e.replace(/\{(\w+)\}/g, (
|
|
5151
|
-
const
|
|
5152
|
-
return
|
|
5794
|
+
function Bo(e, o = {}) {
|
|
5795
|
+
let t = e.replace(/\{(\w+)\}/g, (a, n) => {
|
|
5796
|
+
const r = o[n];
|
|
5797
|
+
return r !== void 0 ? String(r) : a;
|
|
5153
5798
|
});
|
|
5154
5799
|
return t = t.replace(
|
|
5155
5800
|
/\{(\w+),\s*plural,\s*one\{([^}]+)\}\s*other\{([^}]+)\}\}/g,
|
|
5156
|
-
(
|
|
5157
|
-
const s =
|
|
5158
|
-
return typeof s != "number" ?
|
|
5801
|
+
(a, n, r, i) => {
|
|
5802
|
+
const s = o[n];
|
|
5803
|
+
return typeof s != "number" ? a : (s === 1 ? r : i).replace(/#/g, String(s));
|
|
5159
5804
|
}
|
|
5160
5805
|
), t;
|
|
5161
5806
|
}
|
|
5162
|
-
function
|
|
5807
|
+
function He(e) {
|
|
5163
5808
|
return j.includes(e);
|
|
5164
5809
|
}
|
|
5165
|
-
function
|
|
5166
|
-
var
|
|
5810
|
+
function Io() {
|
|
5811
|
+
var o;
|
|
5167
5812
|
if (typeof navigator > "u") return "en";
|
|
5168
|
-
const e = (
|
|
5169
|
-
return
|
|
5813
|
+
const e = (o = navigator.language) == null ? void 0 : o.split("-")[0];
|
|
5814
|
+
return He(e) ? e : "en";
|
|
5170
5815
|
}
|
|
5171
|
-
function ee(e,
|
|
5172
|
-
var
|
|
5173
|
-
const t = Math.abs(e),
|
|
5174
|
-
switch (
|
|
5816
|
+
function ee(e, o) {
|
|
5817
|
+
var r;
|
|
5818
|
+
const t = Math.abs(e), a = Math.floor(t), n = e.toString().includes(".") && ((r = e.toString().split(".")[1]) == null ? void 0 : r.length) || 0;
|
|
5819
|
+
switch (n > 0 && parseInt(e.toString().split(".")[1] || "0", 10), o) {
|
|
5175
5820
|
// ── English-like (one/other) ───────────────────────────
|
|
5176
5821
|
case "en":
|
|
5177
5822
|
case "de":
|
|
@@ -5183,29 +5828,29 @@ function ee(e, a) {
|
|
|
5183
5828
|
case "it":
|
|
5184
5829
|
case "es":
|
|
5185
5830
|
case "pt":
|
|
5186
|
-
return
|
|
5831
|
+
return a === 1 && n === 0 ? "one" : "other";
|
|
5187
5832
|
// ── French (one/many/other) ────────────────────────────
|
|
5188
5833
|
case "fr":
|
|
5189
|
-
return
|
|
5834
|
+
return a === 0 || a === 1 ? "one" : t >= 1e6 ? "many" : "other";
|
|
5190
5835
|
// ── Polish (Slavic: one/few/many/other) ────────────────
|
|
5191
5836
|
case "pl":
|
|
5192
|
-
return
|
|
5837
|
+
return a === 1 && n === 0 ? "one" : n === 0 && a % 10 >= 2 && a % 10 <= 4 && !(a % 100 >= 12 && a % 100 <= 14) ? "few" : n === 0 && a !== 1 && (a % 10 === 0 || a % 10 === 1) || n === 0 && a % 10 >= 5 && a % 10 <= 9 || n === 0 && a % 100 >= 12 && a % 100 <= 14 ? "many" : "other";
|
|
5193
5838
|
// ── Ukrainian (Slavic: one/few/many/other) ─────────────
|
|
5194
5839
|
case "uk":
|
|
5195
|
-
return
|
|
5840
|
+
return n === 0 && a % 10 === 1 && a % 100 !== 11 ? "one" : n === 0 && a % 10 >= 2 && a % 10 <= 4 && !(a % 100 >= 12 && a % 100 <= 14) ? "few" : n === 0 && a % 10 === 0 || n === 0 && a % 10 >= 5 && a % 10 <= 9 || n === 0 && a % 100 >= 11 && a % 100 <= 14 ? "many" : "other";
|
|
5196
5841
|
// ── Bulgarian (one/other) ──────────────────────────────
|
|
5197
5842
|
case "bg":
|
|
5198
5843
|
return e === 1 ? "one" : "other";
|
|
5199
5844
|
// ── Czech/Slovak (Slavic: one/few/many/other) ──────────
|
|
5200
5845
|
case "cs":
|
|
5201
5846
|
case "sk":
|
|
5202
|
-
return
|
|
5847
|
+
return a === 1 && n === 0 ? "one" : a >= 2 && a <= 4 && n === 0 ? "few" : n !== 0 ? "many" : "other";
|
|
5203
5848
|
// ── Hungarian (one/other) ──────────────────────────────
|
|
5204
5849
|
case "hu":
|
|
5205
5850
|
return e === 1 ? "one" : "other";
|
|
5206
5851
|
// ── Romanian (one/few/other) ───────────────────────────
|
|
5207
5852
|
case "ro":
|
|
5208
|
-
return
|
|
5853
|
+
return a === 1 && n === 0 ? "one" : n !== 0 || e === 0 || e % 100 >= 2 && e % 100 <= 19 ? "few" : "other";
|
|
5209
5854
|
// ── Japanese/Korean/Chinese (other only) ─────────────────
|
|
5210
5855
|
case "ja":
|
|
5211
5856
|
case "ko":
|
|
@@ -5220,11 +5865,11 @@ function ee(e, a) {
|
|
|
5220
5865
|
return i >= 3 && i <= 10 ? "few" : i >= 11 && i <= 99 ? "many" : "other";
|
|
5221
5866
|
}
|
|
5222
5867
|
default:
|
|
5223
|
-
return
|
|
5868
|
+
return a === 1 && n === 0 ? "one" : "other";
|
|
5224
5869
|
}
|
|
5225
5870
|
}
|
|
5226
|
-
function
|
|
5227
|
-
switch (
|
|
5871
|
+
function oe(e, o) {
|
|
5872
|
+
switch (o) {
|
|
5228
5873
|
// ── English ────────────────────────────────────────────
|
|
5229
5874
|
case "en":
|
|
5230
5875
|
return e % 10 === 1 && e % 100 !== 11 ? "one" : e % 10 === 2 && e % 100 !== 12 ? "two" : e % 10 === 3 && e % 100 !== 13 ? "few" : "other";
|
|
@@ -5252,135 +5897,135 @@ function ae(e, a) {
|
|
|
5252
5897
|
return "other";
|
|
5253
5898
|
}
|
|
5254
5899
|
}
|
|
5255
|
-
function
|
|
5256
|
-
var
|
|
5900
|
+
function We(e) {
|
|
5901
|
+
var n;
|
|
5257
5902
|
if (e = e.trim(), !e.includes(","))
|
|
5258
5903
|
return { type: "simple", name: e };
|
|
5259
|
-
const
|
|
5260
|
-
if (!
|
|
5261
|
-
if (
|
|
5262
|
-
return { type: "number", name: t, style:
|
|
5263
|
-
if (
|
|
5264
|
-
return { type:
|
|
5265
|
-
if (
|
|
5266
|
-
const
|
|
5267
|
-
let
|
|
5268
|
-
for (; (
|
|
5269
|
-
i[
|
|
5270
|
-
return { type:
|
|
5904
|
+
const o = e.split(",").map((r) => r.trim()), t = o[0], a = (n = o[1]) == null ? void 0 : n.toLowerCase();
|
|
5905
|
+
if (!a || !t) return null;
|
|
5906
|
+
if (a === "number")
|
|
5907
|
+
return { type: "number", name: t, style: o[2] };
|
|
5908
|
+
if (a === "date" || a === "time")
|
|
5909
|
+
return { type: a, name: t, style: o[2] || "medium" };
|
|
5910
|
+
if (a === "plural" || a === "select" || a === "selectordinal") {
|
|
5911
|
+
const r = o.slice(2).join(",").trim(), i = {}, s = /(=?\w+)\s*\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
|
|
5912
|
+
let d;
|
|
5913
|
+
for (; (d = s.exec(r)) !== null; )
|
|
5914
|
+
i[d[1]] = d[2];
|
|
5915
|
+
return { type: a, name: t, options: i };
|
|
5271
5916
|
}
|
|
5272
5917
|
return { type: "simple", name: t };
|
|
5273
5918
|
}
|
|
5274
|
-
function
|
|
5275
|
-
const
|
|
5919
|
+
function Ke(e, o, t) {
|
|
5920
|
+
const a = {};
|
|
5276
5921
|
switch (t) {
|
|
5277
5922
|
case "currency":
|
|
5278
|
-
|
|
5923
|
+
a.style = "currency", a.currency = "USD";
|
|
5279
5924
|
break;
|
|
5280
5925
|
case "percent":
|
|
5281
|
-
|
|
5926
|
+
a.style = "percent";
|
|
5282
5927
|
break;
|
|
5283
5928
|
case "integer":
|
|
5284
|
-
|
|
5929
|
+
a.maximumFractionDigits = 0;
|
|
5285
5930
|
break;
|
|
5286
5931
|
}
|
|
5287
|
-
return new Intl.NumberFormat(
|
|
5932
|
+
return new Intl.NumberFormat(o, a).format(e);
|
|
5288
5933
|
}
|
|
5289
|
-
function
|
|
5290
|
-
const
|
|
5291
|
-
let
|
|
5934
|
+
function Ze(e, o, t) {
|
|
5935
|
+
const a = e instanceof Date ? e : new Date(e);
|
|
5936
|
+
let n;
|
|
5292
5937
|
switch (t) {
|
|
5293
5938
|
case "short":
|
|
5294
|
-
|
|
5939
|
+
n = { dateStyle: "short" };
|
|
5295
5940
|
break;
|
|
5296
5941
|
case "long":
|
|
5297
|
-
|
|
5942
|
+
n = { dateStyle: "long" };
|
|
5298
5943
|
break;
|
|
5299
5944
|
case "full":
|
|
5300
|
-
|
|
5945
|
+
n = { dateStyle: "full" };
|
|
5301
5946
|
break;
|
|
5302
5947
|
case "medium":
|
|
5303
5948
|
default:
|
|
5304
|
-
|
|
5949
|
+
n = { dateStyle: "medium" };
|
|
5305
5950
|
break;
|
|
5306
5951
|
}
|
|
5307
|
-
return new Intl.DateTimeFormat(
|
|
5952
|
+
return new Intl.DateTimeFormat(o, n).format(a);
|
|
5308
5953
|
}
|
|
5309
|
-
function
|
|
5310
|
-
const
|
|
5311
|
-
let
|
|
5954
|
+
function qe(e, o, t) {
|
|
5955
|
+
const a = e instanceof Date ? e : new Date(e);
|
|
5956
|
+
let n;
|
|
5312
5957
|
switch (t) {
|
|
5313
5958
|
case "short":
|
|
5314
|
-
|
|
5959
|
+
n = { timeStyle: "short" };
|
|
5315
5960
|
break;
|
|
5316
5961
|
case "long":
|
|
5317
|
-
|
|
5962
|
+
n = { timeStyle: "long" };
|
|
5318
5963
|
break;
|
|
5319
5964
|
case "full":
|
|
5320
|
-
|
|
5965
|
+
n = { timeStyle: "full" };
|
|
5321
5966
|
break;
|
|
5322
5967
|
case "medium":
|
|
5323
5968
|
default:
|
|
5324
|
-
|
|
5969
|
+
n = { timeStyle: "medium" };
|
|
5325
5970
|
break;
|
|
5326
5971
|
}
|
|
5327
|
-
return new Intl.DateTimeFormat(
|
|
5972
|
+
return new Intl.DateTimeFormat(o, n).format(a);
|
|
5328
5973
|
}
|
|
5329
|
-
function
|
|
5974
|
+
function V(e, o, t) {
|
|
5330
5975
|
return e.replace(/#/g, String(t));
|
|
5331
5976
|
}
|
|
5332
|
-
function Ge(e,
|
|
5333
|
-
const
|
|
5334
|
-
return e.replace(
|
|
5335
|
-
const
|
|
5336
|
-
if (!
|
|
5337
|
-
const
|
|
5338
|
-
if (
|
|
5339
|
-
switch (
|
|
5977
|
+
function Ge(e, o = {}, t = {}) {
|
|
5978
|
+
const a = t.lang || "en", n = t.locale || a, r = /\{([^{}]*(?:\{[^{}]*\}[^{}]*)*)\}/g;
|
|
5979
|
+
return e.replace(r, (i, s) => {
|
|
5980
|
+
const d = We(s);
|
|
5981
|
+
if (!d) return i;
|
|
5982
|
+
const l = o[d.name];
|
|
5983
|
+
if (l === void 0) return i;
|
|
5984
|
+
switch (d.type) {
|
|
5340
5985
|
case "simple":
|
|
5341
|
-
return String(
|
|
5986
|
+
return String(l);
|
|
5342
5987
|
case "number":
|
|
5343
|
-
return typeof
|
|
5988
|
+
return typeof l != "number" ? i : Ke(l, n, d.style);
|
|
5344
5989
|
case "date":
|
|
5345
|
-
return
|
|
5990
|
+
return Ze(l, n, d.style);
|
|
5346
5991
|
case "time":
|
|
5347
|
-
return
|
|
5992
|
+
return qe(l, n, d.style);
|
|
5348
5993
|
case "plural": {
|
|
5349
|
-
if (typeof
|
|
5350
|
-
const m = ee(
|
|
5351
|
-
return
|
|
5994
|
+
if (typeof l != "number" || !d.options) return i;
|
|
5995
|
+
const m = ee(l, a), f = `=${l}`, u = d.options[f] ?? d.options[m] ?? d.options.other ?? "";
|
|
5996
|
+
return V(u, d.name, l);
|
|
5352
5997
|
}
|
|
5353
5998
|
case "selectordinal": {
|
|
5354
|
-
if (typeof
|
|
5355
|
-
const m =
|
|
5356
|
-
return
|
|
5999
|
+
if (typeof l != "number" || !d.options) return i;
|
|
6000
|
+
const m = oe(l, a), f = d.options[m] ?? d.options.other ?? "";
|
|
6001
|
+
return V(f, d.name, l);
|
|
5357
6002
|
}
|
|
5358
6003
|
case "select": {
|
|
5359
|
-
if (!
|
|
5360
|
-
const m =
|
|
5361
|
-
return
|
|
6004
|
+
if (!d.options) return i;
|
|
6005
|
+
const m = d.options[String(l)] ?? d.options.other ?? "";
|
|
6006
|
+
return V(m, d.name, l);
|
|
5362
6007
|
}
|
|
5363
6008
|
default:
|
|
5364
6009
|
return i;
|
|
5365
6010
|
}
|
|
5366
6011
|
});
|
|
5367
6012
|
}
|
|
5368
|
-
function
|
|
5369
|
-
return function(
|
|
5370
|
-
const i = e[
|
|
5371
|
-
return
|
|
6013
|
+
function Uo(e, o = "en") {
|
|
6014
|
+
return function(a, n, r) {
|
|
6015
|
+
const i = e[a] ?? n;
|
|
6016
|
+
return r ? Ge(i, r, { lang: o }) : i;
|
|
5372
6017
|
};
|
|
5373
6018
|
}
|
|
5374
|
-
function
|
|
5375
|
-
const
|
|
5376
|
-
return (a
|
|
6019
|
+
function Vo(e, o, t = "en") {
|
|
6020
|
+
const a = ee(e, t);
|
|
6021
|
+
return (o[a] ?? o.other).replace(/#/g, String(e));
|
|
5377
6022
|
}
|
|
5378
|
-
function
|
|
5379
|
-
const
|
|
5380
|
-
return (a
|
|
6023
|
+
function Ho(e, o, t = "en") {
|
|
6024
|
+
const a = oe(e, t);
|
|
6025
|
+
return (o[a] ?? o.other).replace(/#/g, String(e));
|
|
5381
6026
|
}
|
|
5382
|
-
function
|
|
5383
|
-
return
|
|
6027
|
+
function Wo(e, o) {
|
|
6028
|
+
return o[e] ?? o.other;
|
|
5384
6029
|
}
|
|
5385
6030
|
const $e = [
|
|
5386
6031
|
"ar",
|
|
@@ -5396,28 +6041,28 @@ const $e = [
|
|
|
5396
6041
|
"ps"
|
|
5397
6042
|
// Pashto
|
|
5398
6043
|
];
|
|
5399
|
-
function
|
|
6044
|
+
function ae(e) {
|
|
5400
6045
|
return $e.includes(e);
|
|
5401
6046
|
}
|
|
5402
6047
|
function Je(e) {
|
|
5403
|
-
return
|
|
6048
|
+
return ae(e) ? "rtl" : "ltr";
|
|
5404
6049
|
}
|
|
5405
6050
|
function _e(e) {
|
|
5406
6051
|
if (typeof document > "u") return;
|
|
5407
|
-
const
|
|
5408
|
-
document.documentElement.setAttribute("dir",
|
|
6052
|
+
const o = Je(e);
|
|
6053
|
+
document.documentElement.setAttribute("dir", o), document.documentElement.setAttribute("lang", e);
|
|
5409
6054
|
}
|
|
5410
|
-
function
|
|
6055
|
+
function Ko() {
|
|
5411
6056
|
return typeof document > "u" ? "ltr" : document.documentElement.getAttribute("dir") || "ltr";
|
|
5412
6057
|
}
|
|
5413
|
-
function Ye(e,
|
|
5414
|
-
return
|
|
6058
|
+
function Ye(e, o) {
|
|
6059
|
+
return o ? e.rtl : e.ltr;
|
|
5415
6060
|
}
|
|
5416
|
-
function
|
|
6061
|
+
function Zo(e) {
|
|
5417
6062
|
return e === "left" ? "right" : "left";
|
|
5418
6063
|
}
|
|
5419
|
-
function Qe(e,
|
|
5420
|
-
return
|
|
6064
|
+
function Qe(e, o) {
|
|
6065
|
+
return o && {
|
|
5421
6066
|
left: "right",
|
|
5422
6067
|
right: "left",
|
|
5423
6068
|
start: "end",
|
|
@@ -5456,36 +6101,36 @@ function Xe(e) {
|
|
|
5456
6101
|
"text-align: right": "text-align: end"
|
|
5457
6102
|
}[e] || e;
|
|
5458
6103
|
}
|
|
5459
|
-
const
|
|
6104
|
+
const q = I({
|
|
5460
6105
|
dir: "ltr",
|
|
5461
6106
|
isRTL: !1,
|
|
5462
6107
|
flip: (e) => e,
|
|
5463
6108
|
value: (e) => e.ltr
|
|
5464
|
-
}),
|
|
6109
|
+
}), qo = ({
|
|
5465
6110
|
lang: e,
|
|
5466
|
-
autoSetDocument:
|
|
6111
|
+
autoSetDocument: o = !0,
|
|
5467
6112
|
children: t
|
|
5468
6113
|
}) => {
|
|
5469
|
-
const
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
}, [e,
|
|
5473
|
-
const
|
|
5474
|
-
dir:
|
|
5475
|
-
isRTL:
|
|
5476
|
-
flip: (i) => Qe(i,
|
|
5477
|
-
value: (i) => Ye(i,
|
|
5478
|
-
}), [
|
|
5479
|
-
return /* @__PURE__ */
|
|
6114
|
+
const a = ae(e), n = a ? "rtl" : "ltr";
|
|
6115
|
+
L(() => {
|
|
6116
|
+
o && _e(e);
|
|
6117
|
+
}, [e, o]);
|
|
6118
|
+
const r = w(() => ({
|
|
6119
|
+
dir: n,
|
|
6120
|
+
isRTL: a,
|
|
6121
|
+
flip: (i) => Qe(i, a),
|
|
6122
|
+
value: (i) => Ye(i, a)
|
|
6123
|
+
}), [n, a]);
|
|
6124
|
+
return /* @__PURE__ */ B(q.Provider, { value: r, children: t });
|
|
5480
6125
|
};
|
|
5481
|
-
function
|
|
5482
|
-
return F(
|
|
6126
|
+
function Go() {
|
|
6127
|
+
return F(q);
|
|
5483
6128
|
}
|
|
5484
|
-
function
|
|
5485
|
-
return F(
|
|
6129
|
+
function $o() {
|
|
6130
|
+
return F(q).isRTL;
|
|
5486
6131
|
}
|
|
5487
|
-
function
|
|
5488
|
-
const
|
|
6132
|
+
function Jo(e) {
|
|
6133
|
+
const o = [], t = [
|
|
5489
6134
|
"left",
|
|
5490
6135
|
"right",
|
|
5491
6136
|
"margin-left",
|
|
@@ -5495,11 +6140,11 @@ function $a(e) {
|
|
|
5495
6140
|
"border-left",
|
|
5496
6141
|
"border-right"
|
|
5497
6142
|
];
|
|
5498
|
-
for (const [
|
|
5499
|
-
t.includes(
|
|
5500
|
-
return
|
|
6143
|
+
for (const [a, n] of Object.entries(e))
|
|
6144
|
+
t.includes(a) && o.push(`Use logical property instead of '${a}' → '${Xe(a)}'`), a === "text-align" && (n === "left" || n === "right") && o.push(`Use 'text-align: start/end' instead of 'text-align: ${n}'`), a === "float" && (n === "left" || n === "right") && o.push(`Use flexbox or grid instead of 'float: ${n}' for RTL support`);
|
|
6145
|
+
return o;
|
|
5501
6146
|
}
|
|
5502
|
-
const
|
|
6147
|
+
const H = {
|
|
5503
6148
|
// Direction multiplier: 1 for LTR, -1 for RTL
|
|
5504
6149
|
dirMultiplier: "--nice-dir-multiplier",
|
|
5505
6150
|
// Inline start (left in LTR, right in RTL)
|
|
@@ -5507,40 +6152,40 @@ const K = {
|
|
|
5507
6152
|
// Inline end (right in LTR, left in RTL)
|
|
5508
6153
|
inlineEnd: "--nice-inline-end"
|
|
5509
6154
|
};
|
|
5510
|
-
function
|
|
6155
|
+
function _o(e) {
|
|
5511
6156
|
return {
|
|
5512
|
-
[
|
|
5513
|
-
[
|
|
5514
|
-
[
|
|
6157
|
+
[H.dirMultiplier]: e ? "-1" : "1",
|
|
6158
|
+
[H.inlineStart]: e ? "right" : "left",
|
|
6159
|
+
[H.inlineEnd]: e ? "left" : "right"
|
|
5515
6160
|
};
|
|
5516
6161
|
}
|
|
5517
|
-
function
|
|
5518
|
-
return Object.keys(
|
|
6162
|
+
function Yo() {
|
|
6163
|
+
return Object.keys(v.en);
|
|
5519
6164
|
}
|
|
5520
|
-
function
|
|
6165
|
+
function eo(e) {
|
|
5521
6166
|
if (e === "en") return [];
|
|
5522
|
-
const
|
|
5523
|
-
for (const [
|
|
5524
|
-
t[
|
|
5525
|
-
return
|
|
6167
|
+
const o = v.en, t = v[e], a = [];
|
|
6168
|
+
for (const [n, r] of Object.entries(o))
|
|
6169
|
+
t[n] || a.push({ key: n, englishValue: r });
|
|
6170
|
+
return a;
|
|
5526
6171
|
}
|
|
5527
|
-
function
|
|
5528
|
-
const
|
|
6172
|
+
function oo(e) {
|
|
6173
|
+
const o = Object.keys(v.en).length, t = Object.keys(v[e]).length, a = o - t, n = Math.round(t / o * 100);
|
|
5529
6174
|
return {
|
|
5530
6175
|
lang: e,
|
|
5531
|
-
totalKeys:
|
|
6176
|
+
totalKeys: o,
|
|
5532
6177
|
translatedKeys: t,
|
|
5533
|
-
missingKeys:
|
|
5534
|
-
coverage:
|
|
6178
|
+
missingKeys: a,
|
|
6179
|
+
coverage: n
|
|
5535
6180
|
};
|
|
5536
6181
|
}
|
|
5537
|
-
function
|
|
5538
|
-
return j.map((e) =>
|
|
6182
|
+
function ao() {
|
|
6183
|
+
return j.map((e) => oo(e));
|
|
5539
6184
|
}
|
|
5540
|
-
function
|
|
5541
|
-
const t =
|
|
5542
|
-
const
|
|
5543
|
-
return ` '${
|
|
6185
|
+
function Qo(e, o) {
|
|
6186
|
+
const t = o.map((a) => {
|
|
6187
|
+
const n = a.translated.replace(/'/g, "\\'");
|
|
6188
|
+
return ` '${a.key}': '${n}',`;
|
|
5544
6189
|
});
|
|
5545
6190
|
return `// Auto-translated additions for ${e} (review before merging)
|
|
5546
6191
|
// Generated on ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
@@ -5549,9 +6194,9 @@ ${t.join(`
|
|
|
5549
6194
|
`)}
|
|
5550
6195
|
}`;
|
|
5551
6196
|
}
|
|
5552
|
-
function
|
|
5553
|
-
const e =
|
|
5554
|
-
let
|
|
6197
|
+
function Xo() {
|
|
6198
|
+
const e = ao();
|
|
6199
|
+
let o = `# Translation Coverage Report
|
|
5555
6200
|
|
|
5556
6201
|
Generated: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
5557
6202
|
|
|
@@ -5561,28 +6206,28 @@ Generated: ${(/* @__PURE__ */ new Date()).toISOString()}
|
|
|
5561
6206
|
|----------|------------|---------|----------|
|
|
5562
6207
|
`;
|
|
5563
6208
|
for (const t of e) {
|
|
5564
|
-
const
|
|
5565
|
-
|
|
6209
|
+
const a = "█".repeat(Math.floor(t.coverage / 10)) + "░".repeat(10 - Math.floor(t.coverage / 10));
|
|
6210
|
+
o += `| ${t.lang} | ${t.translatedKeys} | ${t.missingKeys} | ${a} ${t.coverage}% |
|
|
5566
6211
|
`;
|
|
5567
6212
|
}
|
|
5568
|
-
|
|
6213
|
+
o += `
|
|
5569
6214
|
## Languages with Missing Translations
|
|
5570
6215
|
|
|
5571
6216
|
`;
|
|
5572
|
-
for (const t of e.filter((
|
|
5573
|
-
|
|
6217
|
+
for (const t of e.filter((a) => a.missingKeys > 0)) {
|
|
6218
|
+
o += `### ${t.lang.toUpperCase()} (${t.coverage}% complete)
|
|
5574
6219
|
|
|
5575
6220
|
`;
|
|
5576
|
-
const
|
|
5577
|
-
|
|
6221
|
+
const a = eo(t.lang);
|
|
6222
|
+
o += `Missing ${a.length} keys:
|
|
5578
6223
|
|
|
5579
|
-
`,
|
|
5580
|
-
`),
|
|
5581
|
-
... and ${
|
|
6224
|
+
`, o += "```\n", o += a.slice(0, 10).map((n) => n.key).join(`
|
|
6225
|
+
`), a.length > 10 && (o += `
|
|
6226
|
+
... and ${a.length - 10} more`), o += "\n```\n\n";
|
|
5582
6227
|
}
|
|
5583
|
-
return
|
|
6228
|
+
return o;
|
|
5584
6229
|
}
|
|
5585
|
-
const
|
|
6230
|
+
const to = {
|
|
5586
6231
|
en: "en-US",
|
|
5587
6232
|
pl: "pl-PL",
|
|
5588
6233
|
de: "de-DE",
|
|
@@ -5606,55 +6251,55 @@ const ta = {
|
|
|
5606
6251
|
zh: "zh-CN",
|
|
5607
6252
|
ar: "ar-SA"
|
|
5608
6253
|
};
|
|
5609
|
-
function
|
|
5610
|
-
return
|
|
6254
|
+
function D(e) {
|
|
6255
|
+
return to[e] ?? "en-US";
|
|
5611
6256
|
}
|
|
5612
|
-
function
|
|
5613
|
-
const t =
|
|
6257
|
+
function no(e, o = "medium") {
|
|
6258
|
+
const t = D(e), a = new Intl.DateTimeFormat(t, { dateStyle: o });
|
|
5614
6259
|
return {
|
|
5615
|
-
format: (
|
|
5616
|
-
formatRange: (
|
|
5617
|
-
const i =
|
|
5618
|
-
return
|
|
6260
|
+
format: (n) => a.format(n instanceof Date ? n : new Date(n)),
|
|
6261
|
+
formatRange: (n, r) => {
|
|
6262
|
+
const i = n instanceof Date ? n : new Date(n), s = r instanceof Date ? r : new Date(r);
|
|
6263
|
+
return a.formatRange(i, s);
|
|
5619
6264
|
},
|
|
5620
|
-
formatRelative: (
|
|
6265
|
+
formatRelative: (n) => lo(n instanceof Date ? n : new Date(n), t)
|
|
5621
6266
|
};
|
|
5622
6267
|
}
|
|
5623
|
-
function
|
|
5624
|
-
return
|
|
6268
|
+
function ea(e, o = "medium") {
|
|
6269
|
+
return w(() => no(e, o), [e, o]);
|
|
5625
6270
|
}
|
|
5626
|
-
function
|
|
5627
|
-
const t =
|
|
6271
|
+
function ro(e, o = "short") {
|
|
6272
|
+
const t = D(e), a = new Intl.DateTimeFormat(t, { timeStyle: o });
|
|
5628
6273
|
return {
|
|
5629
|
-
format: (
|
|
6274
|
+
format: (n) => a.format(n instanceof Date ? n : new Date(n))
|
|
5630
6275
|
};
|
|
5631
6276
|
}
|
|
5632
|
-
function
|
|
5633
|
-
return
|
|
6277
|
+
function oa(e, o = "short") {
|
|
6278
|
+
return w(() => ro(e, o), [e, o]);
|
|
5634
6279
|
}
|
|
5635
|
-
function
|
|
5636
|
-
const
|
|
6280
|
+
function io(e) {
|
|
6281
|
+
const o = D(e);
|
|
5637
6282
|
return {
|
|
5638
|
-
format: (t) => new Intl.NumberFormat(
|
|
5639
|
-
formatCompact: (t) => new Intl.NumberFormat(
|
|
5640
|
-
formatPercent: (t) => new Intl.NumberFormat(
|
|
6283
|
+
format: (t) => new Intl.NumberFormat(o).format(t),
|
|
6284
|
+
formatCompact: (t) => new Intl.NumberFormat(o, { notation: "compact" }).format(t),
|
|
6285
|
+
formatPercent: (t) => new Intl.NumberFormat(o, { style: "percent", maximumFractionDigits: 1 }).format(t)
|
|
5641
6286
|
};
|
|
5642
6287
|
}
|
|
5643
|
-
function
|
|
5644
|
-
return
|
|
6288
|
+
function aa(e) {
|
|
6289
|
+
return w(() => io(e), [e]);
|
|
5645
6290
|
}
|
|
5646
|
-
function
|
|
5647
|
-
const t =
|
|
6291
|
+
function so(e, o = "USD") {
|
|
6292
|
+
const t = D(e), a = new Intl.NumberFormat(t, { style: "currency", currency: o });
|
|
5648
6293
|
return {
|
|
5649
|
-
format: (
|
|
6294
|
+
format: (n) => a.format(n)
|
|
5650
6295
|
};
|
|
5651
6296
|
}
|
|
5652
|
-
function
|
|
5653
|
-
return
|
|
6297
|
+
function ta(e, o = "USD") {
|
|
6298
|
+
return w(() => so(e, o), [e, o]);
|
|
5654
6299
|
}
|
|
5655
|
-
function
|
|
5656
|
-
const t = Date.now(),
|
|
5657
|
-
return
|
|
6300
|
+
function lo(e, o) {
|
|
6301
|
+
const t = Date.now(), a = e.getTime() - t, n = Math.abs(a), r = new Intl.RelativeTimeFormat(o, { numeric: "auto" });
|
|
6302
|
+
return n < 6e4 ? r.format(Math.round(a / 1e3), "second") : n < 36e5 ? r.format(Math.round(a / 6e4), "minute") : n < 864e5 ? r.format(Math.round(a / 36e5), "hour") : n < 2592e6 ? r.format(Math.round(a / 864e5), "day") : n < 31536e6 ? r.format(Math.round(a / 2592e6), "month") : r.format(Math.round(a / 31536e6), "year");
|
|
5658
6303
|
}
|
|
5659
6304
|
const te = [
|
|
5660
6305
|
{ en: "Save", translations: { pl: "Zapisz", de: "Speichern", fr: "Enregistrer", es: "Guardar", uk: "Зберегти", cs: "Uložit", ja: "保存", ko: "저장", zh: "保存", ar: "حفظ" } },
|
|
@@ -5668,50 +6313,50 @@ const te = [
|
|
|
5668
6313
|
{ en: "Error", translations: { pl: "Błąd", de: "Fehler", fr: "Erreur", es: "Error", uk: "Помилка", cs: "Chyba", ja: "エラー", ko: "오류", zh: "错误", ar: "خطأ" } },
|
|
5669
6314
|
{ en: "Success", translations: { pl: "Sukces", de: "Erfolg", fr: "Succès", es: "Éxito", uk: "Успіх", cs: "Úspěch", ja: "成功", ko: "성공", zh: "成功", ar: "نجاح" } }
|
|
5670
6315
|
];
|
|
5671
|
-
function
|
|
6316
|
+
function co(e, o) {
|
|
5672
6317
|
const t = te.find(
|
|
5673
|
-
(
|
|
6318
|
+
(a) => a.en.toLowerCase() === e.toLowerCase()
|
|
5674
6319
|
);
|
|
5675
|
-
return t == null ? void 0 : t.translations[
|
|
6320
|
+
return t == null ? void 0 : t.translations[o];
|
|
5676
6321
|
}
|
|
5677
|
-
function
|
|
5678
|
-
const
|
|
6322
|
+
function na(e, o, t = 0.8) {
|
|
6323
|
+
const a = v.en, n = v[o], r = e.toLowerCase().trim();
|
|
5679
6324
|
let i;
|
|
5680
|
-
for (const [s,
|
|
5681
|
-
const
|
|
5682
|
-
if (!
|
|
5683
|
-
const m =
|
|
5684
|
-
m >= t && (!i || m > i.similarity) && (i = { key: s, english:
|
|
6325
|
+
for (const [s, d] of Object.entries(a)) {
|
|
6326
|
+
const l = n[s];
|
|
6327
|
+
if (!l) continue;
|
|
6328
|
+
const m = mo(r, d.toLowerCase().trim());
|
|
6329
|
+
m >= t && (!i || m > i.similarity) && (i = { key: s, english: d, translated: l, similarity: m });
|
|
5685
6330
|
}
|
|
5686
6331
|
return i;
|
|
5687
6332
|
}
|
|
5688
|
-
function
|
|
5689
|
-
return te.filter((
|
|
6333
|
+
function ra(e) {
|
|
6334
|
+
return te.filter((o) => o.translations[e] != null).map((o) => ({ en: o.en, translation: o.translations[e] }));
|
|
5690
6335
|
}
|
|
5691
|
-
function
|
|
5692
|
-
const
|
|
5693
|
-
for (const [
|
|
5694
|
-
const i =
|
|
5695
|
-
i && s && s !== i &&
|
|
6336
|
+
function ia(e) {
|
|
6337
|
+
const o = v[e], t = v.en, a = [];
|
|
6338
|
+
for (const [n, r] of Object.entries(t)) {
|
|
6339
|
+
const i = co(r, e), s = o[n];
|
|
6340
|
+
i && s && s !== i && a.push({ key: n, currentTranslation: s, glossaryTranslation: i });
|
|
5696
6341
|
}
|
|
5697
|
-
return
|
|
6342
|
+
return a;
|
|
5698
6343
|
}
|
|
5699
6344
|
function J(e) {
|
|
5700
|
-
const
|
|
6345
|
+
const o = /* @__PURE__ */ new Set();
|
|
5701
6346
|
for (let t = 0; t < e.length - 1; t++)
|
|
5702
|
-
|
|
5703
|
-
return
|
|
6347
|
+
o.add(e.substring(t, t + 2));
|
|
6348
|
+
return o;
|
|
5704
6349
|
}
|
|
5705
|
-
function
|
|
5706
|
-
if (e ===
|
|
5707
|
-
if (e.length < 2 ||
|
|
5708
|
-
const t = J(e),
|
|
5709
|
-
let
|
|
5710
|
-
for (const
|
|
5711
|
-
|
|
5712
|
-
return 2 *
|
|
6350
|
+
function mo(e, o) {
|
|
6351
|
+
if (e === o) return 1;
|
|
6352
|
+
if (e.length < 2 || o.length < 2) return 0;
|
|
6353
|
+
const t = J(e), a = J(o);
|
|
6354
|
+
let n = 0;
|
|
6355
|
+
for (const r of t)
|
|
6356
|
+
a.has(r) && n++;
|
|
6357
|
+
return 2 * n / (t.size + a.size);
|
|
5713
6358
|
}
|
|
5714
|
-
const
|
|
6359
|
+
const ne = {
|
|
5715
6360
|
UTC: ["UTC", "Etc/UTC", "Etc/GMT"],
|
|
5716
6361
|
NorthAmerica: [
|
|
5717
6362
|
"America/New_York",
|
|
@@ -5779,119 +6424,119 @@ function G() {
|
|
|
5779
6424
|
return "UTC";
|
|
5780
6425
|
}
|
|
5781
6426
|
}
|
|
5782
|
-
function
|
|
6427
|
+
function sa(e) {
|
|
5783
6428
|
try {
|
|
5784
6429
|
return new Intl.DateTimeFormat("en", { timeZone: e }), !0;
|
|
5785
6430
|
} catch {
|
|
5786
6431
|
return !1;
|
|
5787
6432
|
}
|
|
5788
6433
|
}
|
|
5789
|
-
function
|
|
5790
|
-
var
|
|
5791
|
-
const
|
|
6434
|
+
function N(e, o = "en", t = /* @__PURE__ */ new Date()) {
|
|
6435
|
+
var b, M;
|
|
6436
|
+
const a = D(o), n = new Intl.DateTimeFormat(a, {
|
|
5792
6437
|
timeZone: e,
|
|
5793
6438
|
timeZoneName: "long"
|
|
5794
|
-
}),
|
|
6439
|
+
}), r = new Intl.DateTimeFormat(a, {
|
|
5795
6440
|
timeZone: e,
|
|
5796
6441
|
timeZoneName: "short"
|
|
5797
|
-
}), i =
|
|
6442
|
+
}), i = n.formatToParts(t), s = r.formatToParts(t), d = ((b = i.find((x) => x.type === "timeZoneName")) == null ? void 0 : b.value) || e, l = ((M = s.find((x) => x.type === "timeZoneName")) == null ? void 0 : M.value) || e, m = new Date(t.toLocaleString("en-US", { timeZone: "UTC" })), f = new Date(t.toLocaleString("en-US", { timeZone: e })), u = Math.round((f.getTime() - m.getTime()) / 6e4), p = new Date(t.getFullYear(), 0, 1), k = new Date(t.getFullYear(), 6, 1), g = K(e, p), y = K(e, k), E = K(e, t), C = Math.min(g, y), A = E !== C && g !== y;
|
|
5798
6443
|
return {
|
|
5799
6444
|
id: e,
|
|
5800
|
-
displayName:
|
|
5801
|
-
shortName:
|
|
6445
|
+
displayName: d,
|
|
6446
|
+
shortName: l,
|
|
5802
6447
|
offsetMinutes: u,
|
|
5803
|
-
offsetString:
|
|
5804
|
-
isDST:
|
|
6448
|
+
offsetString: ho(u),
|
|
6449
|
+
isDST: A
|
|
5805
6450
|
};
|
|
5806
6451
|
}
|
|
5807
|
-
function
|
|
5808
|
-
return Object.values(
|
|
6452
|
+
function da(e = "en", o = /* @__PURE__ */ new Date()) {
|
|
6453
|
+
return Object.values(ne).flat().map((a) => N(a, e, o));
|
|
5809
6454
|
}
|
|
5810
|
-
function
|
|
6455
|
+
function la(e = "en", o = /* @__PURE__ */ new Date()) {
|
|
5811
6456
|
const t = {};
|
|
5812
|
-
for (const [
|
|
5813
|
-
t[
|
|
6457
|
+
for (const [a, n] of Object.entries(ne))
|
|
6458
|
+
t[a] = n.map((r) => N(r, e, o));
|
|
5814
6459
|
return t;
|
|
5815
6460
|
}
|
|
5816
|
-
function
|
|
5817
|
-
const
|
|
6461
|
+
function re(e, o, t) {
|
|
6462
|
+
const a = e.toLocaleString("en-US", { timeZone: o }), n = new Date(a), r = e.toLocaleString("en-US", { timeZone: t }), i = new Date(r), s = n.getTime() - i.getTime();
|
|
5818
6463
|
return new Date(e.getTime() + s);
|
|
5819
6464
|
}
|
|
5820
|
-
function
|
|
5821
|
-
const t =
|
|
5822
|
-
return
|
|
6465
|
+
function uo(e, o) {
|
|
6466
|
+
const t = o || G();
|
|
6467
|
+
return re(e, t, "UTC");
|
|
5823
6468
|
}
|
|
5824
|
-
function
|
|
5825
|
-
const t =
|
|
5826
|
-
return
|
|
6469
|
+
function po(e, o) {
|
|
6470
|
+
const t = o || G();
|
|
6471
|
+
return re(e, "UTC", t);
|
|
5827
6472
|
}
|
|
5828
|
-
function
|
|
5829
|
-
const
|
|
5830
|
-
timeZone:
|
|
5831
|
-
dateStyle:
|
|
5832
|
-
timeStyle:
|
|
5833
|
-
}),
|
|
5834
|
-
timeZone:
|
|
5835
|
-
dateStyle:
|
|
5836
|
-
timeStyle:
|
|
6473
|
+
function go(e, o, t = {}) {
|
|
6474
|
+
const a = D(e), { dateStyle: n = "medium", timeStyle: r = "short", nameStyle: i = "short" } = t, s = new Intl.DateTimeFormat(a, {
|
|
6475
|
+
timeZone: o,
|
|
6476
|
+
dateStyle: n,
|
|
6477
|
+
timeStyle: r
|
|
6478
|
+
}), d = new Intl.DateTimeFormat(a, {
|
|
6479
|
+
timeZone: o,
|
|
6480
|
+
dateStyle: n,
|
|
6481
|
+
timeStyle: r,
|
|
5837
6482
|
timeZoneName: i
|
|
5838
|
-
}),
|
|
5839
|
-
timeZone:
|
|
6483
|
+
}), l = new Intl.DateTimeFormat(a, {
|
|
6484
|
+
timeZone: o,
|
|
5840
6485
|
timeZoneName: "short"
|
|
5841
6486
|
});
|
|
5842
6487
|
return {
|
|
5843
6488
|
format: (m) => s.format(m),
|
|
5844
|
-
formatWithZone: (m) =>
|
|
5845
|
-
getOffset: (m) =>
|
|
6489
|
+
formatWithZone: (m) => d.format(m),
|
|
6490
|
+
getOffset: (m) => N(o, e, m).offsetString,
|
|
5846
6491
|
getAbbreviation: (m) => {
|
|
5847
6492
|
var u;
|
|
5848
|
-
return ((u =
|
|
6493
|
+
return ((u = l.formatToParts(m).find((p) => p.type === "timeZoneName")) == null ? void 0 : u.value) || "";
|
|
5849
6494
|
}
|
|
5850
6495
|
};
|
|
5851
6496
|
}
|
|
5852
|
-
function
|
|
5853
|
-
return
|
|
6497
|
+
function W(e, o = /* @__PURE__ */ new Date()) {
|
|
6498
|
+
return N(e, "en", o).isDST;
|
|
5854
6499
|
}
|
|
5855
|
-
function
|
|
5856
|
-
const t =
|
|
5857
|
-
let
|
|
5858
|
-
const
|
|
5859
|
-
for (
|
|
5860
|
-
if (
|
|
5861
|
-
|
|
5862
|
-
const
|
|
5863
|
-
|
|
5864
|
-
const i = new Date(
|
|
5865
|
-
for (i.setDate(i.getDate() + 2); i.getTime() -
|
|
5866
|
-
const s = new Date((
|
|
5867
|
-
|
|
6500
|
+
function ca(e, o = /* @__PURE__ */ new Date()) {
|
|
6501
|
+
const t = W(e, o);
|
|
6502
|
+
let a = new Date(o);
|
|
6503
|
+
const n = new Date(o);
|
|
6504
|
+
for (n.setFullYear(n.getFullYear() + 1); a < n; )
|
|
6505
|
+
if (a.setDate(a.getDate() + 1), W(e, a) !== t) {
|
|
6506
|
+
a.setDate(a.getDate() - 1);
|
|
6507
|
+
const r = new Date(a);
|
|
6508
|
+
r.setHours(0, 0, 0, 0);
|
|
6509
|
+
const i = new Date(a);
|
|
6510
|
+
for (i.setDate(i.getDate() + 2); i.getTime() - r.getTime() > 6e4; ) {
|
|
6511
|
+
const s = new Date((r.getTime() + i.getTime()) / 2);
|
|
6512
|
+
W(e, s) === t ? r.setTime(s.getTime()) : i.setTime(s.getTime());
|
|
5868
6513
|
}
|
|
5869
6514
|
return i;
|
|
5870
6515
|
}
|
|
5871
6516
|
return null;
|
|
5872
6517
|
}
|
|
5873
|
-
function
|
|
5874
|
-
const [
|
|
6518
|
+
function ma(e, o, t) {
|
|
6519
|
+
const [a] = P(() => G()), n = o || a, r = w(() => go(e, n, t), [e, n, t]), i = w(() => N(n, e), [n, e]);
|
|
5875
6520
|
return {
|
|
5876
|
-
timezone:
|
|
6521
|
+
timezone: n,
|
|
5877
6522
|
info: i,
|
|
5878
|
-
format:
|
|
5879
|
-
formatWithZone:
|
|
5880
|
-
getOffset:
|
|
5881
|
-
getAbbreviation:
|
|
5882
|
-
toUTC: (s) =>
|
|
5883
|
-
fromUTC: (s) =>
|
|
6523
|
+
format: r.format,
|
|
6524
|
+
formatWithZone: r.formatWithZone,
|
|
6525
|
+
getOffset: r.getOffset,
|
|
6526
|
+
getAbbreviation: r.getAbbreviation,
|
|
6527
|
+
toUTC: (s) => uo(s, n),
|
|
6528
|
+
fromUTC: (s) => po(s, n)
|
|
5884
6529
|
};
|
|
5885
6530
|
}
|
|
5886
|
-
function
|
|
5887
|
-
const t =
|
|
5888
|
-
return Math.round((
|
|
6531
|
+
function K(e, o) {
|
|
6532
|
+
const t = o.toLocaleString("en-US", { timeZone: "UTC" }), a = o.toLocaleString("en-US", { timeZone: e }), n = new Date(t), r = new Date(a);
|
|
6533
|
+
return Math.round((r.getTime() - n.getTime()) / 6e4);
|
|
5889
6534
|
}
|
|
5890
|
-
function
|
|
5891
|
-
const
|
|
5892
|
-
return `${
|
|
6535
|
+
function ho(e) {
|
|
6536
|
+
const o = e >= 0 ? "+" : "-", t = Math.abs(e), a = Math.floor(t / 60), n = t % 60;
|
|
6537
|
+
return `${o}${a.toString().padStart(2, "0")}:${n.toString().padStart(2, "0")}`;
|
|
5893
6538
|
}
|
|
5894
|
-
const
|
|
6539
|
+
const U = {
|
|
5895
6540
|
gregory: {
|
|
5896
6541
|
id: "gregory",
|
|
5897
6542
|
displayName: "Gregorian",
|
|
@@ -6049,70 +6694,70 @@ const W = {
|
|
|
6049
6694
|
zh: "gregory",
|
|
6050
6695
|
ar: "islamic"
|
|
6051
6696
|
};
|
|
6052
|
-
function se(e,
|
|
6053
|
-
const
|
|
6054
|
-
calendar:
|
|
6055
|
-
dateStyle:
|
|
6697
|
+
function se(e, o = "gregory", t = {}) {
|
|
6698
|
+
const a = D(e), { dateStyle: n = "medium", showEra: r = !1, showWeekday: i = !1 } = t, s = {
|
|
6699
|
+
calendar: o,
|
|
6700
|
+
dateStyle: n
|
|
6056
6701
|
};
|
|
6057
6702
|
i && (delete s.dateStyle, s.weekday = "long", s.year = "numeric", s.month = "long", s.day = "numeric");
|
|
6058
|
-
const
|
|
6059
|
-
calendar:
|
|
6703
|
+
const d = new Intl.DateTimeFormat(a, s), l = {
|
|
6704
|
+
calendar: o,
|
|
6060
6705
|
year: "numeric",
|
|
6061
6706
|
month: "long",
|
|
6062
6707
|
day: "numeric",
|
|
6063
6708
|
era: "long"
|
|
6064
|
-
}, m = new Intl.DateTimeFormat(
|
|
6709
|
+
}, m = new Intl.DateTimeFormat(a, l), f = new Intl.DateTimeFormat(a, { calendar: o, month: "long" }), u = new Intl.DateTimeFormat(a, { calendar: o, weekday: "long" });
|
|
6065
6710
|
return {
|
|
6066
|
-
format: (
|
|
6067
|
-
formatWithEra: (
|
|
6068
|
-
getMonthName: (
|
|
6711
|
+
format: (p) => d.format(p),
|
|
6712
|
+
formatWithEra: (p) => m.format(p),
|
|
6713
|
+
getMonthName: (p) => f.format(p),
|
|
6069
6714
|
getMonthNames: () => {
|
|
6070
|
-
const
|
|
6071
|
-
for (let
|
|
6072
|
-
k.setMonth(
|
|
6073
|
-
return
|
|
6715
|
+
const p = [], k = new Date(2024, 0, 15);
|
|
6716
|
+
for (let g = 0; g < 12; g++)
|
|
6717
|
+
k.setMonth(g), p.push(f.format(k));
|
|
6718
|
+
return p;
|
|
6074
6719
|
},
|
|
6075
|
-
getWeekdayName: (
|
|
6720
|
+
getWeekdayName: (p) => u.format(p),
|
|
6076
6721
|
getWeekdayNames: () => {
|
|
6077
|
-
const
|
|
6078
|
-
for (let
|
|
6079
|
-
k.setDate(7 +
|
|
6080
|
-
return
|
|
6722
|
+
const p = [], k = new Date(2024, 0, 7);
|
|
6723
|
+
for (let g = 0; g < 7; g++)
|
|
6724
|
+
k.setDate(7 + g), p.push(u.format(k));
|
|
6725
|
+
return p;
|
|
6081
6726
|
},
|
|
6082
|
-
parseParts: (
|
|
6083
|
-
var
|
|
6084
|
-
const
|
|
6085
|
-
calendar:
|
|
6727
|
+
parseParts: (p) => {
|
|
6728
|
+
var y, E, C, A;
|
|
6729
|
+
const g = new Intl.DateTimeFormat(a, {
|
|
6730
|
+
calendar: o,
|
|
6086
6731
|
year: "numeric",
|
|
6087
6732
|
month: "numeric",
|
|
6088
6733
|
day: "numeric",
|
|
6089
6734
|
era: "short"
|
|
6090
|
-
}).formatToParts(
|
|
6735
|
+
}).formatToParts(p);
|
|
6091
6736
|
return {
|
|
6092
|
-
calendar:
|
|
6093
|
-
year: parseInt(((
|
|
6094
|
-
month: parseInt(((
|
|
6095
|
-
day: parseInt(((
|
|
6096
|
-
era: (
|
|
6097
|
-
gregorianDate:
|
|
6737
|
+
calendar: o,
|
|
6738
|
+
year: parseInt(((y = g.find((b) => b.type === "year")) == null ? void 0 : y.value) || "0", 10),
|
|
6739
|
+
month: parseInt(((E = g.find((b) => b.type === "month")) == null ? void 0 : E.value) || "0", 10),
|
|
6740
|
+
day: parseInt(((C = g.find((b) => b.type === "day")) == null ? void 0 : C.value) || "0", 10),
|
|
6741
|
+
era: (A = g.find((b) => b.type === "era")) == null ? void 0 : A.value,
|
|
6742
|
+
gregorianDate: p
|
|
6098
6743
|
};
|
|
6099
6744
|
},
|
|
6100
|
-
getEraName: (
|
|
6101
|
-
var
|
|
6102
|
-
return (
|
|
6103
|
-
calendar:
|
|
6745
|
+
getEraName: (p) => {
|
|
6746
|
+
var y;
|
|
6747
|
+
return (y = new Intl.DateTimeFormat(a, {
|
|
6748
|
+
calendar: o,
|
|
6104
6749
|
era: "long"
|
|
6105
|
-
}).formatToParts(
|
|
6750
|
+
}).formatToParts(p).find((E) => E.type === "era")) == null ? void 0 : y.value;
|
|
6106
6751
|
}
|
|
6107
6752
|
};
|
|
6108
6753
|
}
|
|
6109
|
-
function
|
|
6110
|
-
return se(t,
|
|
6754
|
+
function de(e, o, t = "en") {
|
|
6755
|
+
return se(t, o).parseParts(e);
|
|
6111
6756
|
}
|
|
6112
|
-
function
|
|
6113
|
-
return
|
|
6757
|
+
function fo(e, o = "en") {
|
|
6758
|
+
return de(/* @__PURE__ */ new Date(), e, o);
|
|
6114
6759
|
}
|
|
6115
|
-
const
|
|
6760
|
+
const ua = [
|
|
6116
6761
|
"Muharram",
|
|
6117
6762
|
"Safar",
|
|
6118
6763
|
"Rabi' al-Awwal",
|
|
@@ -6126,13 +6771,13 @@ const uo = [
|
|
|
6126
6771
|
"Dhu al-Qi'dah",
|
|
6127
6772
|
"Dhu al-Hijjah"
|
|
6128
6773
|
];
|
|
6129
|
-
function
|
|
6774
|
+
function ko(e) {
|
|
6130
6775
|
return (11 * e + 14) % 30 < 11;
|
|
6131
6776
|
}
|
|
6132
|
-
function
|
|
6133
|
-
return
|
|
6777
|
+
function pa(e, o) {
|
|
6778
|
+
return o === 12 ? ko(e) ? 30 : 29 : o % 2 === 1 ? 30 : 29;
|
|
6134
6779
|
}
|
|
6135
|
-
const
|
|
6780
|
+
const ga = [
|
|
6136
6781
|
"Tishrei",
|
|
6137
6782
|
"Cheshvan",
|
|
6138
6783
|
"Kislev",
|
|
@@ -6145,7 +6790,7 @@ const po = [
|
|
|
6145
6790
|
"Tammuz",
|
|
6146
6791
|
"Av",
|
|
6147
6792
|
"Elul"
|
|
6148
|
-
],
|
|
6793
|
+
], ha = [
|
|
6149
6794
|
"Tishrei",
|
|
6150
6795
|
"Cheshvan",
|
|
6151
6796
|
"Kislev",
|
|
@@ -6160,27 +6805,27 @@ const po = [
|
|
|
6160
6805
|
"Av",
|
|
6161
6806
|
"Elul"
|
|
6162
6807
|
];
|
|
6163
|
-
function
|
|
6808
|
+
function fa(e) {
|
|
6164
6809
|
return (7 * e + 1) % 19 < 7;
|
|
6165
6810
|
}
|
|
6166
|
-
const
|
|
6811
|
+
const Z = [
|
|
6167
6812
|
{ name: "Meiji", kanji: "明治", startDate: new Date(1868, 9, 23) },
|
|
6168
6813
|
{ name: "Taisho", kanji: "大正", startDate: new Date(1912, 6, 30) },
|
|
6169
6814
|
{ name: "Showa", kanji: "昭和", startDate: new Date(1926, 11, 25) },
|
|
6170
6815
|
{ name: "Heisei", kanji: "平成", startDate: new Date(1989, 0, 8) },
|
|
6171
6816
|
{ name: "Reiwa", kanji: "令和", startDate: new Date(2019, 4, 1) }
|
|
6172
6817
|
];
|
|
6173
|
-
function
|
|
6174
|
-
for (let
|
|
6175
|
-
if (e >=
|
|
6176
|
-
return
|
|
6818
|
+
function wo(e) {
|
|
6819
|
+
for (let o = Z.length - 1; o >= 0; o--)
|
|
6820
|
+
if (e >= Z[o].startDate)
|
|
6821
|
+
return Z[o];
|
|
6177
6822
|
return null;
|
|
6178
6823
|
}
|
|
6179
|
-
function
|
|
6180
|
-
const
|
|
6181
|
-
return
|
|
6824
|
+
function ka(e) {
|
|
6825
|
+
const o = wo(e);
|
|
6826
|
+
return o ? e.getFullYear() - o.startDate.getFullYear() + 1 : null;
|
|
6182
6827
|
}
|
|
6183
|
-
const
|
|
6828
|
+
const wa = [
|
|
6184
6829
|
"Farvardin",
|
|
6185
6830
|
"Ordibehesht",
|
|
6186
6831
|
"Khordad",
|
|
@@ -6194,10 +6839,10 @@ const vo = [
|
|
|
6194
6839
|
"Bahman",
|
|
6195
6840
|
"Esfand"
|
|
6196
6841
|
];
|
|
6197
|
-
function
|
|
6842
|
+
function va(e) {
|
|
6198
6843
|
return ((e - 474) % 2820 + 2820) % 2820 * 682 % 2816 < 682;
|
|
6199
6844
|
}
|
|
6200
|
-
const
|
|
6845
|
+
const vo = [
|
|
6201
6846
|
"Rat",
|
|
6202
6847
|
"Ox",
|
|
6203
6848
|
"Tiger",
|
|
@@ -6211,10 +6856,10 @@ const va = [
|
|
|
6211
6856
|
"Dog",
|
|
6212
6857
|
"Pig"
|
|
6213
6858
|
];
|
|
6214
|
-
function
|
|
6215
|
-
return
|
|
6859
|
+
function ba(e) {
|
|
6860
|
+
return vo[(e - 4) % 12];
|
|
6216
6861
|
}
|
|
6217
|
-
const
|
|
6862
|
+
const bo = [
|
|
6218
6863
|
"Jia",
|
|
6219
6864
|
"Yi",
|
|
6220
6865
|
"Bing",
|
|
@@ -6226,45 +6871,45 @@ const ba = [
|
|
|
6226
6871
|
"Ren",
|
|
6227
6872
|
"Gui"
|
|
6228
6873
|
];
|
|
6229
|
-
function
|
|
6230
|
-
return
|
|
6874
|
+
function Ca(e) {
|
|
6875
|
+
return bo[(e - 4) % 10];
|
|
6231
6876
|
}
|
|
6232
|
-
function
|
|
6233
|
-
const
|
|
6234
|
-
() => se(e,
|
|
6235
|
-
[e,
|
|
6236
|
-
),
|
|
6877
|
+
function ya(e, o, t) {
|
|
6878
|
+
const a = o || ie[e], n = w(
|
|
6879
|
+
() => se(e, a, t),
|
|
6880
|
+
[e, a, t]
|
|
6881
|
+
), r = w(() => U[a], [a]), i = w(() => fo(a, e), [a, e]);
|
|
6237
6882
|
return {
|
|
6238
|
-
calendar:
|
|
6239
|
-
info:
|
|
6883
|
+
calendar: a,
|
|
6884
|
+
info: r,
|
|
6240
6885
|
current: i,
|
|
6241
|
-
format:
|
|
6242
|
-
formatWithEra:
|
|
6243
|
-
getMonthName:
|
|
6244
|
-
getMonthNames:
|
|
6245
|
-
getWeekdayName:
|
|
6246
|
-
getWeekdayNames:
|
|
6247
|
-
parseParts:
|
|
6248
|
-
getEraName:
|
|
6249
|
-
toCalendar: (s) =>
|
|
6886
|
+
format: n.format,
|
|
6887
|
+
formatWithEra: n.formatWithEra,
|
|
6888
|
+
getMonthName: n.getMonthName,
|
|
6889
|
+
getMonthNames: n.getMonthNames,
|
|
6890
|
+
getWeekdayName: n.getWeekdayName,
|
|
6891
|
+
getWeekdayNames: n.getWeekdayNames,
|
|
6892
|
+
parseParts: n.parseParts,
|
|
6893
|
+
getEraName: n.getEraName,
|
|
6894
|
+
toCalendar: (s) => de(s, a, e)
|
|
6250
6895
|
};
|
|
6251
6896
|
}
|
|
6252
|
-
function
|
|
6253
|
-
return Object.keys(
|
|
6897
|
+
function Ea() {
|
|
6898
|
+
return Object.keys(U);
|
|
6254
6899
|
}
|
|
6255
|
-
function
|
|
6256
|
-
const t = { ...
|
|
6900
|
+
function Sa(e, o = "en") {
|
|
6901
|
+
const t = { ...U[e] };
|
|
6257
6902
|
try {
|
|
6258
|
-
const
|
|
6259
|
-
|
|
6903
|
+
const a = D(o), r = new Intl.DisplayNames([a], { type: "calendar" }).of(e);
|
|
6904
|
+
r && (t.displayName = r);
|
|
6260
6905
|
} catch {
|
|
6261
6906
|
}
|
|
6262
6907
|
return t;
|
|
6263
6908
|
}
|
|
6264
|
-
function
|
|
6265
|
-
const
|
|
6266
|
-
for (const [
|
|
6267
|
-
|
|
6909
|
+
function za(e) {
|
|
6910
|
+
const o = ie[e], t = /* @__PURE__ */ new Set([o]);
|
|
6911
|
+
for (const [a, n] of Object.entries(U))
|
|
6912
|
+
n.associatedLanguages.includes(e) && t.add(a);
|
|
6268
6913
|
return t.add("gregory"), Array.from(t);
|
|
6269
6914
|
}
|
|
6270
6915
|
const $ = {
|
|
@@ -6322,7 +6967,7 @@ const $ = {
|
|
|
6322
6967
|
X: "Χ",
|
|
6323
6968
|
Y: "Ÿ",
|
|
6324
6969
|
Z: "Ž"
|
|
6325
|
-
},
|
|
6970
|
+
}, Co = {
|
|
6326
6971
|
...$,
|
|
6327
6972
|
// Additional mappings
|
|
6328
6973
|
a: "ặ",
|
|
@@ -6337,60 +6982,60 @@ const $ = {
|
|
|
6337
6982
|
O: "Ộ",
|
|
6338
6983
|
U: "Ụ",
|
|
6339
6984
|
Y: "Ỵ"
|
|
6340
|
-
},
|
|
6341
|
-
function
|
|
6342
|
-
const t =
|
|
6343
|
-
return e.split("").map((
|
|
6985
|
+
}, yo = "", Eo = "", _ = "", So = "~∼~≈";
|
|
6986
|
+
function Da(e, o = !1) {
|
|
6987
|
+
const t = o ? Co : $;
|
|
6988
|
+
return e.split("").map((a) => t[a] || a).join("");
|
|
6344
6989
|
}
|
|
6345
|
-
function
|
|
6346
|
-
return `${
|
|
6990
|
+
function Aa(e, o = "[", t = "]") {
|
|
6991
|
+
return `${o}${e}${t}`;
|
|
6347
6992
|
}
|
|
6348
|
-
function
|
|
6993
|
+
function zo(e, o = 0.3, t = !1) {
|
|
6349
6994
|
if (t)
|
|
6350
|
-
return
|
|
6351
|
-
const
|
|
6352
|
-
if (
|
|
6353
|
-
const
|
|
6354
|
-
return e +
|
|
6995
|
+
return Do(e);
|
|
6996
|
+
const n = Math.ceil(e.length * (1 + o)) - e.length;
|
|
6997
|
+
if (n <= 0) return e;
|
|
6998
|
+
const r = So[0].repeat(n);
|
|
6999
|
+
return e + r;
|
|
6355
7000
|
}
|
|
6356
|
-
function
|
|
6357
|
-
const
|
|
6358
|
-
return e.split("").map((t) =>
|
|
7001
|
+
function Do(e) {
|
|
7002
|
+
const o = /* @__PURE__ */ new Set(["a", "e", "i", "o", "u", "A", "E", "I", "O", "U"]);
|
|
7003
|
+
return e.split("").map((t) => o.has(t) ? t + t : t).join("");
|
|
6359
7004
|
}
|
|
6360
|
-
function
|
|
6361
|
-
return
|
|
7005
|
+
function Ao(e, o = !1) {
|
|
7006
|
+
return o ? `${Eo}${e}${_}` : `${yo}${e}${_}`;
|
|
6362
7007
|
}
|
|
6363
|
-
function
|
|
7008
|
+
function le(e, o = {}) {
|
|
6364
7009
|
const {
|
|
6365
7010
|
addBrackets: t = !0,
|
|
6366
|
-
expansionFactor:
|
|
6367
|
-
addAccents:
|
|
6368
|
-
addBidiMarkers:
|
|
7011
|
+
expansionFactor: a = 0.3,
|
|
7012
|
+
addAccents: n = !0,
|
|
7013
|
+
addBidiMarkers: r = !1,
|
|
6369
7014
|
useVowelDoubling: i = !1,
|
|
6370
7015
|
preservePlaceholders: s = !0,
|
|
6371
|
-
preserveHtml:
|
|
6372
|
-
prefix:
|
|
7016
|
+
preserveHtml: d = !0,
|
|
7017
|
+
prefix: l = "[",
|
|
6373
7018
|
suffix: m = "]"
|
|
6374
|
-
} =
|
|
6375
|
-
let u = e,
|
|
7019
|
+
} = o, f = /* @__PURE__ */ new Map();
|
|
7020
|
+
let u = e, p = 0;
|
|
6376
7021
|
s && (u = u.replace(/\{[^}]+\}/g, (k) => {
|
|
6377
|
-
const
|
|
6378
|
-
return f.set(
|
|
6379
|
-
})),
|
|
6380
|
-
const
|
|
6381
|
-
return f.set(
|
|
6382
|
-
})),
|
|
6383
|
-
for (const [k,
|
|
6384
|
-
u = u.replace(k,
|
|
7022
|
+
const g = `__PH${p++}__`;
|
|
7023
|
+
return f.set(g, k), g;
|
|
7024
|
+
})), d && (u = u.replace(/<[^>]+>/g, (k) => {
|
|
7025
|
+
const g = `__PH${p++}__`;
|
|
7026
|
+
return f.set(g, k), g;
|
|
7027
|
+
})), n && (u = xo(u, f)), a > 0 && (u = zo(u, a, i)), r && (u = Ao(u)), t && (u = `${l}${u}${m}`);
|
|
7028
|
+
for (const [k, g] of f.entries())
|
|
7029
|
+
u = u.replace(k, g);
|
|
6385
7030
|
return u;
|
|
6386
7031
|
}
|
|
6387
|
-
function
|
|
6388
|
-
const t = new Set(
|
|
6389
|
-
return e.split("").map((
|
|
6390
|
-
for (const
|
|
6391
|
-
if (e.includes(
|
|
6392
|
-
return
|
|
6393
|
-
return $[
|
|
7032
|
+
function xo(e, o) {
|
|
7033
|
+
const t = new Set(o.keys());
|
|
7034
|
+
return e.split("").map((a) => {
|
|
7035
|
+
for (const n of t)
|
|
7036
|
+
if (e.includes(n) && n.includes(a))
|
|
7037
|
+
return a;
|
|
7038
|
+
return $[a] || a;
|
|
6394
7039
|
}).join("");
|
|
6395
7040
|
}
|
|
6396
7041
|
function T(e) {
|
|
@@ -6427,22 +7072,22 @@ function T(e) {
|
|
|
6427
7072
|
};
|
|
6428
7073
|
}
|
|
6429
7074
|
}
|
|
6430
|
-
function
|
|
7075
|
+
function xa(e, o) {
|
|
6431
7076
|
const t = {};
|
|
6432
|
-
for (const [
|
|
6433
|
-
t[
|
|
7077
|
+
for (const [a, n] of Object.entries(e))
|
|
7078
|
+
t[a] = le(n, o);
|
|
6434
7079
|
return t;
|
|
6435
7080
|
}
|
|
6436
|
-
function
|
|
7081
|
+
function To(e) {
|
|
6437
7082
|
return /[^\x00-\x7F]/.test(e);
|
|
6438
7083
|
}
|
|
6439
|
-
function
|
|
7084
|
+
function Po(e) {
|
|
6440
7085
|
if (!e || /^[\d.,-]+$/.test(e) || e.startsWith("["))
|
|
6441
7086
|
return !1;
|
|
6442
|
-
const
|
|
6443
|
-
return
|
|
7087
|
+
const o = /[a-zA-Z]{2,}/.test(e), t = To(e);
|
|
7088
|
+
return o && !t;
|
|
6444
7089
|
}
|
|
6445
|
-
function
|
|
7090
|
+
function Ta(e, o) {
|
|
6446
7091
|
const t = {
|
|
6447
7092
|
totalKeys: Object.keys(e).length,
|
|
6448
7093
|
hardcodedStrings: [],
|
|
@@ -6450,18 +7095,18 @@ function To(e, a) {
|
|
|
6450
7095
|
placeholderMismatches: [],
|
|
6451
7096
|
potentialIssues: 0
|
|
6452
7097
|
};
|
|
6453
|
-
for (const [
|
|
6454
|
-
if (!
|
|
6455
|
-
t.emptyValues.push(
|
|
7098
|
+
for (const [a, n] of Object.entries(e)) {
|
|
7099
|
+
if (!n || n.trim() === "") {
|
|
7100
|
+
t.emptyValues.push(a), t.potentialIssues++;
|
|
6456
7101
|
continue;
|
|
6457
7102
|
}
|
|
6458
|
-
if (
|
|
6459
|
-
const
|
|
6460
|
-
(s.length > 0 ||
|
|
6461
|
-
key:
|
|
7103
|
+
if (Po(n) && t.hardcodedStrings.push(a), o && o[a]) {
|
|
7104
|
+
const r = Y(n), i = Y(o[a]), s = r.filter((l) => !i.includes(l)), d = i.filter((l) => !r.includes(l));
|
|
7105
|
+
(s.length > 0 || d.length > 0) && (t.placeholderMismatches.push({
|
|
7106
|
+
key: a,
|
|
6462
7107
|
placeholders: [
|
|
6463
|
-
...s.map((
|
|
6464
|
-
...
|
|
7108
|
+
...s.map((l) => `-${l}`),
|
|
7109
|
+
...d.map((l) => `+${l}`)
|
|
6465
7110
|
]
|
|
6466
7111
|
}), t.potentialIssues++);
|
|
6467
7112
|
}
|
|
@@ -6471,26 +7116,26 @@ function To(e, a) {
|
|
|
6471
7116
|
function Y(e) {
|
|
6472
7117
|
return (e.match(/\{([^}]+)\}/g) || []).map((t) => t.replace(/[{}]/g, "").split(",")[0].trim());
|
|
6473
7118
|
}
|
|
6474
|
-
const ce =
|
|
6475
|
-
function
|
|
7119
|
+
const ce = I(null);
|
|
7120
|
+
function Pa({
|
|
6476
7121
|
children: e,
|
|
6477
|
-
initialEnabled:
|
|
7122
|
+
initialEnabled: o = !1,
|
|
6478
7123
|
initialMode: t = "full"
|
|
6479
7124
|
}) {
|
|
6480
|
-
const [
|
|
7125
|
+
const [a, n] = P(o), [r, i] = P(t), s = w(() => T(r), [r]), d = w(() => (m) => a ? le(m, s) : m, [a, s]), l = w(
|
|
6481
7126
|
() => ({
|
|
6482
|
-
enabled:
|
|
6483
|
-
mode:
|
|
7127
|
+
enabled: a,
|
|
7128
|
+
mode: r,
|
|
6484
7129
|
options: s,
|
|
6485
|
-
toggle: () =>
|
|
7130
|
+
toggle: () => n((m) => !m),
|
|
6486
7131
|
setMode: i,
|
|
6487
|
-
transform:
|
|
7132
|
+
transform: d
|
|
6488
7133
|
}),
|
|
6489
|
-
[
|
|
7134
|
+
[a, r, s, d]
|
|
6490
7135
|
);
|
|
6491
|
-
return /* @__PURE__ */
|
|
7136
|
+
return /* @__PURE__ */ B(ce.Provider, { value: l, children: e });
|
|
6492
7137
|
}
|
|
6493
|
-
function
|
|
7138
|
+
function ja() {
|
|
6494
7139
|
const e = F(ce);
|
|
6495
7140
|
return e || {
|
|
6496
7141
|
enabled: !1,
|
|
@@ -6500,10 +7145,10 @@ function jo() {
|
|
|
6500
7145
|
},
|
|
6501
7146
|
setMode: () => {
|
|
6502
7147
|
},
|
|
6503
|
-
transform: (
|
|
7148
|
+
transform: (o) => o
|
|
6504
7149
|
};
|
|
6505
7150
|
}
|
|
6506
|
-
const
|
|
7151
|
+
const Fa = {
|
|
6507
7152
|
/** Minimal: brackets only */
|
|
6508
7153
|
MINIMAL: { addBrackets: !0, addAccents: !1, expansionFactor: 0 },
|
|
6509
7154
|
/** Accented: brackets + accents */
|
|
@@ -6521,372 +7166,372 @@ const Fo = {
|
|
|
6521
7166
|
/** CJK: Short expansion, no accents (CJK often shorter) */
|
|
6522
7167
|
CJK: { addBrackets: !0, addAccents: !1, expansionFactor: -0.1 }
|
|
6523
7168
|
};
|
|
6524
|
-
class
|
|
6525
|
-
constructor(
|
|
6526
|
-
this.cache = /* @__PURE__ */ new Map(), this.ttl =
|
|
7169
|
+
class jo {
|
|
7170
|
+
constructor(o = 0) {
|
|
7171
|
+
this.cache = /* @__PURE__ */ new Map(), this.ttl = o;
|
|
6527
7172
|
}
|
|
6528
|
-
getCacheKey(
|
|
6529
|
-
return t ? `${
|
|
7173
|
+
getCacheKey(o, t) {
|
|
7174
|
+
return t ? `${o}:${t}` : o;
|
|
6530
7175
|
}
|
|
6531
|
-
get(
|
|
6532
|
-
const
|
|
6533
|
-
return
|
|
7176
|
+
get(o, t) {
|
|
7177
|
+
const a = this.getCacheKey(o, t), n = this.cache.get(a);
|
|
7178
|
+
return n ? this.ttl > 0 && Date.now() > n.expiresAt ? (this.cache.delete(a), null) : n.data : null;
|
|
6534
7179
|
}
|
|
6535
|
-
set(
|
|
6536
|
-
const
|
|
6537
|
-
this.cache.set(
|
|
7180
|
+
set(o, t, a) {
|
|
7181
|
+
const n = this.getCacheKey(o, a), r = Date.now();
|
|
7182
|
+
this.cache.set(n, {
|
|
6538
7183
|
data: t,
|
|
6539
|
-
loadedAt:
|
|
6540
|
-
expiresAt: this.ttl > 0 ?
|
|
7184
|
+
loadedAt: r,
|
|
7185
|
+
expiresAt: this.ttl > 0 ? r + this.ttl : 1 / 0
|
|
6541
7186
|
});
|
|
6542
7187
|
}
|
|
6543
|
-
has(
|
|
6544
|
-
return this.get(
|
|
7188
|
+
has(o, t) {
|
|
7189
|
+
return this.get(o, t) !== null;
|
|
6545
7190
|
}
|
|
6546
|
-
delete(
|
|
7191
|
+
delete(o, t) {
|
|
6547
7192
|
if (t)
|
|
6548
|
-
this.cache.delete(this.getCacheKey(
|
|
7193
|
+
this.cache.delete(this.getCacheKey(o, t));
|
|
6549
7194
|
else
|
|
6550
|
-
for (const
|
|
6551
|
-
(
|
|
7195
|
+
for (const a of this.cache.keys())
|
|
7196
|
+
(a === o || a.startsWith(`${o}:`)) && this.cache.delete(a);
|
|
6552
7197
|
}
|
|
6553
7198
|
clear() {
|
|
6554
7199
|
this.cache.clear();
|
|
6555
7200
|
}
|
|
6556
7201
|
getStats() {
|
|
6557
|
-
const
|
|
7202
|
+
const o = /* @__PURE__ */ new Set();
|
|
6558
7203
|
for (const t of this.cache.keys())
|
|
6559
|
-
|
|
7204
|
+
o.add(t.split(":")[0]);
|
|
6560
7205
|
return {
|
|
6561
7206
|
size: this.cache.size,
|
|
6562
|
-
languages: Array.from(
|
|
7207
|
+
languages: Array.from(o)
|
|
6563
7208
|
};
|
|
6564
7209
|
}
|
|
6565
7210
|
}
|
|
6566
7211
|
function me(e) {
|
|
6567
7212
|
const {
|
|
6568
|
-
loadFn:
|
|
7213
|
+
loadFn: o,
|
|
6569
7214
|
fallbackLang: t = "en",
|
|
6570
|
-
cacheTtl:
|
|
6571
|
-
preloadLanguages:
|
|
6572
|
-
namespaces:
|
|
7215
|
+
cacheTtl: a = 0,
|
|
7216
|
+
preloadLanguages: n = [],
|
|
7217
|
+
namespaces: r = [],
|
|
6573
7218
|
defaultNamespace: i,
|
|
6574
7219
|
onLoadStart: s,
|
|
6575
|
-
onLoadComplete:
|
|
6576
|
-
onLoadError:
|
|
6577
|
-
} = e, m = new
|
|
6578
|
-
let
|
|
7220
|
+
onLoadComplete: d,
|
|
7221
|
+
onLoadError: l
|
|
7222
|
+
} = e, m = new jo(a), f = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
|
|
7223
|
+
let p = t;
|
|
6579
7224
|
const k = /* @__PURE__ */ new Set();
|
|
6580
|
-
function
|
|
6581
|
-
const c =
|
|
7225
|
+
function g() {
|
|
7226
|
+
const c = E();
|
|
6582
7227
|
k.forEach((h) => h(c));
|
|
6583
7228
|
}
|
|
6584
|
-
function
|
|
7229
|
+
function y(c, h) {
|
|
6585
7230
|
return h ? `${c}:${h}` : c;
|
|
6586
7231
|
}
|
|
6587
|
-
function
|
|
7232
|
+
function E() {
|
|
6588
7233
|
const c = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
|
|
6589
7234
|
for (const S of j)
|
|
6590
7235
|
m.has(S) && c.add(S);
|
|
6591
7236
|
for (const S of f) {
|
|
6592
|
-
const
|
|
6593
|
-
h.add(
|
|
7237
|
+
const O = S.split(":")[0];
|
|
7238
|
+
h.add(O);
|
|
6594
7239
|
}
|
|
6595
7240
|
return {
|
|
6596
7241
|
loadedLanguages: c,
|
|
6597
7242
|
loadingLanguages: h,
|
|
6598
7243
|
failedLanguages: new Map(u),
|
|
6599
|
-
currentLanguage:
|
|
7244
|
+
currentLanguage: p
|
|
6600
7245
|
};
|
|
6601
7246
|
}
|
|
6602
|
-
async function
|
|
6603
|
-
const S =
|
|
6604
|
-
if (
|
|
7247
|
+
async function C(c, h) {
|
|
7248
|
+
const S = y(c, h), O = m.get(c, h);
|
|
7249
|
+
if (O) return O;
|
|
6605
7250
|
if (f.has(S))
|
|
6606
|
-
return new Promise((
|
|
6607
|
-
const
|
|
6608
|
-
f.has(S) || (clearInterval(
|
|
7251
|
+
return new Promise((z) => {
|
|
7252
|
+
const R = setInterval(() => {
|
|
7253
|
+
f.has(S) || (clearInterval(R), z(m.get(c, h)));
|
|
6609
7254
|
}, 50);
|
|
6610
7255
|
});
|
|
6611
|
-
f.add(S), u.delete(c), s == null || s(c, h),
|
|
7256
|
+
f.add(S), u.delete(c), s == null || s(c, h), g();
|
|
6612
7257
|
try {
|
|
6613
|
-
const
|
|
6614
|
-
return m.set(c,
|
|
6615
|
-
} catch (
|
|
6616
|
-
const
|
|
6617
|
-
return u.set(c,
|
|
7258
|
+
const z = await o(c, h);
|
|
7259
|
+
return m.set(c, z, h), d == null || d(c, h), z;
|
|
7260
|
+
} catch (z) {
|
|
7261
|
+
const R = z instanceof Error ? z : new Error(String(z));
|
|
7262
|
+
return u.set(c, R), l == null || l(c, R, h), c !== t && !h ? (console.warn(`Failed to load ${c}, falling back to ${t}`), C(t, h)) : null;
|
|
6618
7263
|
} finally {
|
|
6619
|
-
f.delete(S),
|
|
7264
|
+
f.delete(S), g();
|
|
6620
7265
|
}
|
|
6621
7266
|
}
|
|
6622
|
-
async function
|
|
6623
|
-
await Promise.all(c.map((h) =>
|
|
7267
|
+
async function A(c) {
|
|
7268
|
+
await Promise.all(c.map((h) => C(h)));
|
|
6624
7269
|
}
|
|
6625
|
-
async function
|
|
6626
|
-
|
|
6627
|
-
|
|
7270
|
+
async function b() {
|
|
7271
|
+
n.length !== 0 && await Promise.allSettled(
|
|
7272
|
+
n.map((c) => r.length > 0 ? Promise.all(r.map((h) => C(c, h))) : C(c))
|
|
6628
7273
|
);
|
|
6629
7274
|
}
|
|
6630
|
-
function
|
|
7275
|
+
function M(c, h) {
|
|
6631
7276
|
return m.get(c, h);
|
|
6632
7277
|
}
|
|
6633
|
-
function
|
|
7278
|
+
function x(c, h) {
|
|
6634
7279
|
return m.has(c, h);
|
|
6635
7280
|
}
|
|
6636
|
-
function
|
|
7281
|
+
function pe(c) {
|
|
6637
7282
|
for (const h of f)
|
|
6638
7283
|
if (h === c || h.startsWith(`${c}:`))
|
|
6639
7284
|
return !0;
|
|
6640
7285
|
return !1;
|
|
6641
7286
|
}
|
|
6642
|
-
function
|
|
7287
|
+
function ge() {
|
|
6643
7288
|
return m.getStats().languages;
|
|
6644
7289
|
}
|
|
6645
7290
|
function he(c) {
|
|
6646
|
-
c ? m.delete(c) : m.clear(),
|
|
7291
|
+
c ? m.delete(c) : m.clear(), g();
|
|
6647
7292
|
}
|
|
6648
7293
|
async function fe(c) {
|
|
6649
|
-
|
|
7294
|
+
x(c) || await C(c), p = c, g();
|
|
6650
7295
|
}
|
|
6651
7296
|
function ke() {
|
|
6652
|
-
return
|
|
7297
|
+
return p;
|
|
6653
7298
|
}
|
|
6654
|
-
function
|
|
7299
|
+
function we(c) {
|
|
6655
7300
|
return k.add(c), () => k.delete(c);
|
|
6656
7301
|
}
|
|
6657
7302
|
return {
|
|
6658
|
-
loadLanguage:
|
|
6659
|
-
loadLanguages:
|
|
6660
|
-
preloadLanguages:
|
|
6661
|
-
getTranslations:
|
|
6662
|
-
isLoaded:
|
|
6663
|
-
isLoading:
|
|
6664
|
-
getLoadedLanguages:
|
|
7303
|
+
loadLanguage: C,
|
|
7304
|
+
loadLanguages: A,
|
|
7305
|
+
preloadLanguages: b,
|
|
7306
|
+
getTranslations: M,
|
|
7307
|
+
isLoaded: x,
|
|
7308
|
+
isLoading: pe,
|
|
7309
|
+
getLoadedLanguages: ge,
|
|
6665
7310
|
clearCache: he,
|
|
6666
|
-
getState:
|
|
7311
|
+
getState: E,
|
|
6667
7312
|
setLanguage: fe,
|
|
6668
7313
|
getCurrentLanguage: ke,
|
|
6669
|
-
subscribe:
|
|
7314
|
+
subscribe: we
|
|
6670
7315
|
};
|
|
6671
7316
|
}
|
|
6672
|
-
function
|
|
7317
|
+
function Na(e, o) {
|
|
6673
7318
|
return me({
|
|
6674
|
-
...
|
|
6675
|
-
loadFn: async (t,
|
|
6676
|
-
const
|
|
6677
|
-
if (!
|
|
6678
|
-
throw new Error(`Failed to load translations: ${
|
|
6679
|
-
return
|
|
7319
|
+
...o,
|
|
7320
|
+
loadFn: async (t, a) => {
|
|
7321
|
+
const n = a ? `${e}/${t}/${a}.json` : `${e}/${t}.json`, r = await fetch(n);
|
|
7322
|
+
if (!r.ok)
|
|
7323
|
+
throw new Error(`Failed to load translations: ${r.status}`);
|
|
7324
|
+
return r.json();
|
|
6680
7325
|
}
|
|
6681
7326
|
});
|
|
6682
7327
|
}
|
|
6683
|
-
function
|
|
7328
|
+
function Ma(e, o) {
|
|
6684
7329
|
return me({
|
|
6685
|
-
...
|
|
6686
|
-
loadFn: async (t,
|
|
7330
|
+
...o,
|
|
7331
|
+
loadFn: async (t, a) => (await e(t, a)).default
|
|
6687
7332
|
});
|
|
6688
7333
|
}
|
|
6689
|
-
const ue =
|
|
6690
|
-
function
|
|
7334
|
+
const ue = I(null);
|
|
7335
|
+
function Oa({
|
|
6691
7336
|
children: e,
|
|
6692
|
-
loader:
|
|
7337
|
+
loader: o,
|
|
6693
7338
|
initialLanguage: t,
|
|
6694
|
-
namespace:
|
|
7339
|
+
namespace: a
|
|
6695
7340
|
}) {
|
|
6696
|
-
const [
|
|
6697
|
-
|
|
6698
|
-
t && !
|
|
6699
|
-
}, [
|
|
6700
|
-
const
|
|
7341
|
+
const [n, r] = P(() => o.getState()), [i, s] = P(null);
|
|
7342
|
+
L(() => o.subscribe(r), [o]), L(() => {
|
|
7343
|
+
t && !o.isLoaded(t, a) && o.loadLanguage(t, a).catch(s);
|
|
7344
|
+
}, [o, t, a]);
|
|
7345
|
+
const d = w(() => o.getTranslations(n.currentLanguage, a) || {}, [o, n.currentLanguage, a]), l = Q(
|
|
6701
7346
|
async (f) => {
|
|
6702
7347
|
s(null);
|
|
6703
7348
|
try {
|
|
6704
|
-
await
|
|
7349
|
+
await o.setLanguage(f);
|
|
6705
7350
|
} catch (u) {
|
|
6706
7351
|
s(u instanceof Error ? u : new Error(String(u)));
|
|
6707
7352
|
}
|
|
6708
7353
|
},
|
|
6709
|
-
[
|
|
6710
|
-
), m =
|
|
7354
|
+
[o]
|
|
7355
|
+
), m = w(
|
|
6711
7356
|
() => ({
|
|
6712
|
-
loader:
|
|
6713
|
-
translations:
|
|
6714
|
-
isLoading:
|
|
7357
|
+
loader: o,
|
|
7358
|
+
translations: d,
|
|
7359
|
+
isLoading: n.loadingLanguages.size > 0,
|
|
6715
7360
|
error: i,
|
|
6716
|
-
setLanguage:
|
|
6717
|
-
currentLanguage:
|
|
6718
|
-
loadedLanguages: Array.from(
|
|
7361
|
+
setLanguage: l,
|
|
7362
|
+
currentLanguage: n.currentLanguage,
|
|
7363
|
+
loadedLanguages: Array.from(n.loadedLanguages)
|
|
6719
7364
|
}),
|
|
6720
|
-
[
|
|
7365
|
+
[o, d, n, i, l]
|
|
6721
7366
|
);
|
|
6722
|
-
return /* @__PURE__ */
|
|
7367
|
+
return /* @__PURE__ */ B(ue.Provider, { value: m, children: e });
|
|
6723
7368
|
}
|
|
6724
|
-
function
|
|
7369
|
+
function Fo() {
|
|
6725
7370
|
const e = F(ue);
|
|
6726
7371
|
if (!e)
|
|
6727
7372
|
throw new Error("useDynamicI18n must be used within DynamicI18nProvider");
|
|
6728
7373
|
return e;
|
|
6729
7374
|
}
|
|
6730
|
-
function
|
|
6731
|
-
const { translations:
|
|
6732
|
-
return
|
|
6733
|
-
e && !
|
|
6734
|
-
}, [
|
|
7375
|
+
function Ra(e) {
|
|
7376
|
+
const { translations: o, currentLanguage: t, loader: a, isLoading: n } = Fo();
|
|
7377
|
+
return L(() => {
|
|
7378
|
+
e && !a.isLoaded(t, e) && a.loadLanguage(t, e);
|
|
7379
|
+
}, [a, t, e]), { t: Q(
|
|
6735
7380
|
(i, s) => {
|
|
6736
|
-
let
|
|
7381
|
+
let d = o[i] || i;
|
|
6737
7382
|
if (s)
|
|
6738
|
-
for (const [
|
|
6739
|
-
|
|
6740
|
-
return
|
|
7383
|
+
for (const [l, m] of Object.entries(s))
|
|
7384
|
+
d = d.replace(new RegExp(`\\{${l}\\}`, "g"), String(m));
|
|
7385
|
+
return d;
|
|
6741
7386
|
},
|
|
6742
|
-
[
|
|
6743
|
-
), isLoading:
|
|
7387
|
+
[o]
|
|
7388
|
+
), isLoading: n, currentLanguage: t };
|
|
6744
7389
|
}
|
|
6745
|
-
function
|
|
7390
|
+
function La(e, o, t) {
|
|
6746
7391
|
switch (t) {
|
|
6747
7392
|
case "immediate":
|
|
6748
|
-
e.loadLanguages(
|
|
7393
|
+
e.loadLanguages(o);
|
|
6749
7394
|
break;
|
|
6750
7395
|
case "idle":
|
|
6751
7396
|
"requestIdleCallback" in window ? window.requestIdleCallback(() => {
|
|
6752
|
-
e.loadLanguages(
|
|
6753
|
-
}) : setTimeout(() => e.loadLanguages(
|
|
7397
|
+
e.loadLanguages(o);
|
|
7398
|
+
}) : setTimeout(() => e.loadLanguages(o), 1e3);
|
|
6754
7399
|
break;
|
|
6755
7400
|
case "visible":
|
|
6756
7401
|
if ("IntersectionObserver" in window) {
|
|
6757
|
-
const
|
|
7402
|
+
const n = new IntersectionObserver(
|
|
6758
7403
|
() => {
|
|
6759
|
-
e.loadLanguages(
|
|
7404
|
+
e.loadLanguages(o), n.disconnect();
|
|
6760
7405
|
},
|
|
6761
7406
|
{ threshold: 0.1 }
|
|
6762
7407
|
);
|
|
6763
|
-
|
|
7408
|
+
n.observe(document.body);
|
|
6764
7409
|
} else
|
|
6765
|
-
e.loadLanguages(
|
|
7410
|
+
e.loadLanguages(o);
|
|
6766
7411
|
break;
|
|
6767
7412
|
case "interaction":
|
|
6768
|
-
const
|
|
6769
|
-
e.loadLanguages(
|
|
7413
|
+
const a = () => {
|
|
7414
|
+
e.loadLanguages(o), window.removeEventListener("click", a), window.removeEventListener("keydown", a), window.removeEventListener("touchstart", a);
|
|
6770
7415
|
};
|
|
6771
|
-
window.addEventListener("click",
|
|
7416
|
+
window.addEventListener("click", a, { once: !0 }), window.addEventListener("keydown", a, { once: !0 }), window.addEventListener("touchstart", a, { once: !0 });
|
|
6772
7417
|
break;
|
|
6773
7418
|
}
|
|
6774
7419
|
}
|
|
6775
|
-
async function
|
|
6776
|
-
const { fallback: t = "en", preferredLanguages:
|
|
6777
|
-
for (const
|
|
6778
|
-
if (j.includes(
|
|
6779
|
-
return await e.setLanguage(
|
|
6780
|
-
const
|
|
6781
|
-
return j.includes(
|
|
7420
|
+
async function Ba(e, o) {
|
|
7421
|
+
const { fallback: t = "en", preferredLanguages: a = [] } = o || {};
|
|
7422
|
+
for (const r of a)
|
|
7423
|
+
if (j.includes(r))
|
|
7424
|
+
return await e.setLanguage(r), r;
|
|
7425
|
+
const n = navigator.language.split("-")[0].toLowerCase();
|
|
7426
|
+
return j.includes(n) ? (await e.setLanguage(n), n) : (await e.setLanguage(t), t);
|
|
6782
7427
|
}
|
|
6783
7428
|
export {
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
7429
|
+
U as CALENDAR_INFO,
|
|
7430
|
+
bo as CELESTIAL_STEMS,
|
|
7431
|
+
vo as CHINESE_ZODIAC,
|
|
6787
7432
|
ie as DEFAULT_CALENDAR,
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
7433
|
+
Oa as DynamicI18nProvider,
|
|
7434
|
+
ga as HEBREW_MONTHS,
|
|
7435
|
+
ha as HEBREW_MONTHS_LEAP,
|
|
7436
|
+
ua as HIJRI_MONTHS,
|
|
7437
|
+
Z as JAPANESE_ERAS,
|
|
6793
7438
|
te as NICE_GLOSSARY,
|
|
6794
|
-
|
|
7439
|
+
v as NICE_I18N_DICTIONARIES,
|
|
6795
7440
|
j as NICE_SUPPORTED_LANGS,
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
7441
|
+
Oo as NiceI18nProvider,
|
|
7442
|
+
wa as PERSIAN_MONTHS,
|
|
7443
|
+
Fa as PSEUDO_PRESETS,
|
|
7444
|
+
Pa as PseudoLocalizationProvider,
|
|
7445
|
+
qo as RTLProvider,
|
|
7446
|
+
H as RTL_CSS_VARS,
|
|
6802
7447
|
$e as RTL_LANGUAGES,
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
7448
|
+
ne as TIMEZONE_GROUPS,
|
|
7449
|
+
Da as addAccents,
|
|
7450
|
+
Ao as addBidiMarkers,
|
|
7451
|
+
Aa as addBrackets,
|
|
7452
|
+
Ta as analyzeDictionary,
|
|
7453
|
+
Jo as analyzeStylesForRTL,
|
|
7454
|
+
To as containsNonAscii,
|
|
7455
|
+
re as convertTimezone,
|
|
6811
7456
|
se as createCalendarFormatter,
|
|
6812
|
-
|
|
6813
|
-
|
|
7457
|
+
so as createCurrencyFormatter,
|
|
7458
|
+
no as createDateFormatter,
|
|
6814
7459
|
me as createDynamicLoader,
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
7460
|
+
Na as createFetchLoader,
|
|
7461
|
+
Uo as createICUTranslator,
|
|
7462
|
+
Ma as createImportLoader,
|
|
7463
|
+
io as createNumberFormatter,
|
|
7464
|
+
ro as createTimeFormatter,
|
|
7465
|
+
go as createTimezoneFormatter,
|
|
7466
|
+
Lo as createTranslator,
|
|
7467
|
+
Ba as detectAndLoad,
|
|
7468
|
+
Io as detectBrowserLanguage,
|
|
7469
|
+
Po as detectHardcodedText,
|
|
6825
7470
|
G as detectTimezone,
|
|
6826
|
-
|
|
6827
|
-
|
|
7471
|
+
zo as expandText,
|
|
7472
|
+
na as findSimilarTranslation,
|
|
6828
7473
|
Qe as flipAlignment,
|
|
6829
|
-
|
|
7474
|
+
Zo as flipHorizontal,
|
|
6830
7475
|
Ge as formatICU,
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
7476
|
+
Bo as formatMessage,
|
|
7477
|
+
po as fromUTC,
|
|
7478
|
+
Xo as generateCoverageReport,
|
|
7479
|
+
Qo as generateTranslationCode,
|
|
7480
|
+
da as getAllTimezones,
|
|
7481
|
+
ao as getAllTranslationStats,
|
|
7482
|
+
Ea as getAvailableCalendars,
|
|
7483
|
+
Sa as getCalendarInfo,
|
|
7484
|
+
Ca as getCelestialStem,
|
|
7485
|
+
ba as getChineseZodiac,
|
|
7486
|
+
fo as getCurrentCalendarDate,
|
|
7487
|
+
Ko as getDocumentDirection,
|
|
7488
|
+
ra as getGlossaryForLanguage,
|
|
7489
|
+
pa as getHijriMonthDays,
|
|
7490
|
+
wo as getJapaneseEra,
|
|
7491
|
+
ka as getJapaneseYear,
|
|
7492
|
+
D as getLocaleTag,
|
|
6848
7493
|
Xe as getLogicalProperty,
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
7494
|
+
eo as getMissingTranslations,
|
|
7495
|
+
ca as getNextDSTTransition,
|
|
7496
|
+
oe as getOrdinalCategory,
|
|
6852
7497
|
ee as getPluralCategory,
|
|
6853
7498
|
T as getPseudoLocalizationPreset,
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
7499
|
+
_o as getRTLCSSVars,
|
|
7500
|
+
za as getRecommendedCalendars,
|
|
7501
|
+
Yo as getSourceKeys,
|
|
6857
7502
|
Je as getTextDirection,
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
7503
|
+
N as getTimezoneInfo,
|
|
7504
|
+
la as getTimezonesGrouped,
|
|
7505
|
+
oo as getTranslationStats,
|
|
7506
|
+
W as isDSTActive,
|
|
7507
|
+
fa as isHebrewLeapYear,
|
|
7508
|
+
ko as isHijriLeapYear,
|
|
7509
|
+
va as isPersianLeapYear,
|
|
7510
|
+
ae as isRTLLanguage,
|
|
7511
|
+
He as isSupported,
|
|
7512
|
+
sa as isValidTimezone,
|
|
7513
|
+
co as lookupGlossary,
|
|
7514
|
+
Ho as ordinal,
|
|
7515
|
+
Vo as plural,
|
|
7516
|
+
La as preloadWithStrategy,
|
|
7517
|
+
le as pseudoLocalize,
|
|
7518
|
+
xa as pseudoLocalizeDictionary,
|
|
6874
7519
|
Ye as rtlValue,
|
|
6875
|
-
|
|
7520
|
+
Wo as select,
|
|
6876
7521
|
_e as setDocumentDirection,
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
7522
|
+
de as toCalendar,
|
|
7523
|
+
uo as toUTC,
|
|
7524
|
+
ya as useCalendar,
|
|
7525
|
+
Fo as useDynamicI18n,
|
|
7526
|
+
Ra as useDynamicTranslation,
|
|
7527
|
+
$o as useIsRTL,
|
|
7528
|
+
ta as useNiceCurrencyFormat,
|
|
7529
|
+
ea as useNiceDateFormat,
|
|
7530
|
+
aa as useNiceNumberFormat,
|
|
7531
|
+
oa as useNiceTimeFormat,
|
|
7532
|
+
Ro as useNiceTranslation,
|
|
7533
|
+
ja as usePseudoLocalization,
|
|
7534
|
+
Go as useRTL,
|
|
7535
|
+
ma as useTimezone,
|
|
7536
|
+
ia as validateAgainstGlossary
|
|
6892
7537
|
};
|