@googleapis/texttospeech 3.0.1 → 4.0.1
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/CHANGELOG.md +26 -0
- package/build/v1.d.ts +358 -0
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +267 -0
- package/build/v1beta1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +358 -0
- package/v1beta1.ts +267 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v4.0.0...texttospeech-v4.0.1) (2025-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **texttospeech:** update the API ([f844a60](https://github.com/googleapis/google-api-nodejs-client/commit/f844a6047427267fe9bfef8d22003cc3307c499a))
|
|
9
|
+
* **texttospeech:** update the API ([b6efa8f](https://github.com/googleapis/google-api-nodejs-client/commit/b6efa8f32811eb73c987eb2444c9aa40bb3a9ae7))
|
|
10
|
+
|
|
11
|
+
## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v3.0.1...texttospeech-v4.0.0) (2025-06-30)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ⚠ BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* upgrade to node 18
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
|
|
26
|
+
* **texttospeech:** update the API ([b6efa8f](https://github.com/googleapis/google-api-nodejs-client/commit/b6efa8f32811eb73c987eb2444c9aa40bb3a9ae7))
|
|
27
|
+
* **texttospeech:** update the API ([3275bbb](https://github.com/googleapis/google-api-nodejs-client/commit/3275bbb67c37875565897bb3ecc957f0525d1082))
|
|
28
|
+
|
|
3
29
|
## [3.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/texttospeech-v3.0.0...texttospeech-v3.0.1) (2025-06-04)
|
|
4
30
|
|
|
5
31
|
|
package/build/v1.d.ts
CHANGED
|
@@ -423,6 +423,56 @@ export declare namespace texttospeech_v1 {
|
|
|
423
423
|
constructor(context: APIRequestContext);
|
|
424
424
|
/**
|
|
425
425
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
426
|
+
* @example
|
|
427
|
+
* ```js
|
|
428
|
+
* // Before running the sample:
|
|
429
|
+
* // - Enable the API at:
|
|
430
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
431
|
+
* // - Login into gcloud by running:
|
|
432
|
+
* // ```sh
|
|
433
|
+
* // $ gcloud auth application-default login
|
|
434
|
+
* // ```
|
|
435
|
+
* // - Install the npm module by running:
|
|
436
|
+
* // ```sh
|
|
437
|
+
* // $ npm install googleapis
|
|
438
|
+
* // ```
|
|
439
|
+
*
|
|
440
|
+
* const {google} = require('googleapis');
|
|
441
|
+
* const texttospeech = google.texttospeech('v1');
|
|
442
|
+
*
|
|
443
|
+
* async function main() {
|
|
444
|
+
* const auth = new google.auth.GoogleAuth({
|
|
445
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
446
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
447
|
+
* });
|
|
448
|
+
*
|
|
449
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
450
|
+
* const authClient = await auth.getClient();
|
|
451
|
+
* google.options({auth: authClient});
|
|
452
|
+
*
|
|
453
|
+
* // Do the magic
|
|
454
|
+
* const res = await texttospeech.operations.cancel({
|
|
455
|
+
* // The name of the operation resource to be cancelled.
|
|
456
|
+
* name: 'operations/.*',
|
|
457
|
+
*
|
|
458
|
+
* // Request body metadata
|
|
459
|
+
* requestBody: {
|
|
460
|
+
* // request body parameters
|
|
461
|
+
* // {}
|
|
462
|
+
* },
|
|
463
|
+
* });
|
|
464
|
+
* console.log(res.data);
|
|
465
|
+
*
|
|
466
|
+
* // Example response
|
|
467
|
+
* // {}
|
|
468
|
+
* }
|
|
469
|
+
*
|
|
470
|
+
* main().catch(e => {
|
|
471
|
+
* console.error(e);
|
|
472
|
+
* throw e;
|
|
473
|
+
* });
|
|
474
|
+
*
|
|
475
|
+
* ```
|
|
426
476
|
*
|
|
427
477
|
* @param params - Parameters for request
|
|
428
478
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -437,6 +487,50 @@ export declare namespace texttospeech_v1 {
|
|
|
437
487
|
cancel(callback: BodyResponseCallback<Schema$Empty>): void;
|
|
438
488
|
/**
|
|
439
489
|
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
490
|
+
* @example
|
|
491
|
+
* ```js
|
|
492
|
+
* // Before running the sample:
|
|
493
|
+
* // - Enable the API at:
|
|
494
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
495
|
+
* // - Login into gcloud by running:
|
|
496
|
+
* // ```sh
|
|
497
|
+
* // $ gcloud auth application-default login
|
|
498
|
+
* // ```
|
|
499
|
+
* // - Install the npm module by running:
|
|
500
|
+
* // ```sh
|
|
501
|
+
* // $ npm install googleapis
|
|
502
|
+
* // ```
|
|
503
|
+
*
|
|
504
|
+
* const {google} = require('googleapis');
|
|
505
|
+
* const texttospeech = google.texttospeech('v1');
|
|
506
|
+
*
|
|
507
|
+
* async function main() {
|
|
508
|
+
* const auth = new google.auth.GoogleAuth({
|
|
509
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
510
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
511
|
+
* });
|
|
512
|
+
*
|
|
513
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
514
|
+
* const authClient = await auth.getClient();
|
|
515
|
+
* google.options({auth: authClient});
|
|
516
|
+
*
|
|
517
|
+
* // Do the magic
|
|
518
|
+
* const res = await texttospeech.operations.delete({
|
|
519
|
+
* // The name of the operation resource to be deleted.
|
|
520
|
+
* name: 'operations/.*',
|
|
521
|
+
* });
|
|
522
|
+
* console.log(res.data);
|
|
523
|
+
*
|
|
524
|
+
* // Example response
|
|
525
|
+
* // {}
|
|
526
|
+
* }
|
|
527
|
+
*
|
|
528
|
+
* main().catch(e => {
|
|
529
|
+
* console.error(e);
|
|
530
|
+
* throw e;
|
|
531
|
+
* });
|
|
532
|
+
*
|
|
533
|
+
* ```
|
|
440
534
|
*
|
|
441
535
|
* @param params - Parameters for request
|
|
442
536
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -477,6 +571,67 @@ export declare namespace texttospeech_v1 {
|
|
|
477
571
|
constructor(context: APIRequestContext);
|
|
478
572
|
/**
|
|
479
573
|
* Synthesizes long form text asynchronously.
|
|
574
|
+
* @example
|
|
575
|
+
* ```js
|
|
576
|
+
* // Before running the sample:
|
|
577
|
+
* // - Enable the API at:
|
|
578
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
579
|
+
* // - Login into gcloud by running:
|
|
580
|
+
* // ```sh
|
|
581
|
+
* // $ gcloud auth application-default login
|
|
582
|
+
* // ```
|
|
583
|
+
* // - Install the npm module by running:
|
|
584
|
+
* // ```sh
|
|
585
|
+
* // $ npm install googleapis
|
|
586
|
+
* // ```
|
|
587
|
+
*
|
|
588
|
+
* const {google} = require('googleapis');
|
|
589
|
+
* const texttospeech = google.texttospeech('v1');
|
|
590
|
+
*
|
|
591
|
+
* async function main() {
|
|
592
|
+
* const auth = new google.auth.GoogleAuth({
|
|
593
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
594
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
595
|
+
* });
|
|
596
|
+
*
|
|
597
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
598
|
+
* const authClient = await auth.getClient();
|
|
599
|
+
* google.options({auth: authClient});
|
|
600
|
+
*
|
|
601
|
+
* // Do the magic
|
|
602
|
+
* const res = await texttospeech.projects.locations.synthesizeLongAudio({
|
|
603
|
+
* // The resource states of the request in the form of `projects/x/locations/x`.
|
|
604
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
605
|
+
*
|
|
606
|
+
* // Request body metadata
|
|
607
|
+
* requestBody: {
|
|
608
|
+
* // request body parameters
|
|
609
|
+
* // {
|
|
610
|
+
* // "audioConfig": {},
|
|
611
|
+
* // "input": {},
|
|
612
|
+
* // "outputGcsUri": "my_outputGcsUri",
|
|
613
|
+
* // "voice": {}
|
|
614
|
+
* // }
|
|
615
|
+
* },
|
|
616
|
+
* });
|
|
617
|
+
* console.log(res.data);
|
|
618
|
+
*
|
|
619
|
+
* // Example response
|
|
620
|
+
* // {
|
|
621
|
+
* // "done": false,
|
|
622
|
+
* // "error": {},
|
|
623
|
+
* // "metadata": {},
|
|
624
|
+
* // "name": "my_name",
|
|
625
|
+
* // "response": {}
|
|
626
|
+
* // }
|
|
627
|
+
* }
|
|
628
|
+
*
|
|
629
|
+
* main().catch(e => {
|
|
630
|
+
* console.error(e);
|
|
631
|
+
* throw e;
|
|
632
|
+
* });
|
|
633
|
+
*
|
|
634
|
+
* ```
|
|
480
635
|
*
|
|
481
636
|
* @param params - Parameters for request
|
|
482
637
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -505,6 +660,56 @@ export declare namespace texttospeech_v1 {
|
|
|
505
660
|
constructor(context: APIRequestContext);
|
|
506
661
|
/**
|
|
507
662
|
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
663
|
+
* @example
|
|
664
|
+
* ```js
|
|
665
|
+
* // Before running the sample:
|
|
666
|
+
* // - Enable the API at:
|
|
667
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
668
|
+
* // - Login into gcloud by running:
|
|
669
|
+
* // ```sh
|
|
670
|
+
* // $ gcloud auth application-default login
|
|
671
|
+
* // ```
|
|
672
|
+
* // - Install the npm module by running:
|
|
673
|
+
* // ```sh
|
|
674
|
+
* // $ npm install googleapis
|
|
675
|
+
* // ```
|
|
676
|
+
*
|
|
677
|
+
* const {google} = require('googleapis');
|
|
678
|
+
* const texttospeech = google.texttospeech('v1');
|
|
679
|
+
*
|
|
680
|
+
* async function main() {
|
|
681
|
+
* const auth = new google.auth.GoogleAuth({
|
|
682
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
683
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
684
|
+
* });
|
|
685
|
+
*
|
|
686
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
687
|
+
* const authClient = await auth.getClient();
|
|
688
|
+
* google.options({auth: authClient});
|
|
689
|
+
*
|
|
690
|
+
* // Do the magic
|
|
691
|
+
* const res = await texttospeech.projects.locations.operations.get({
|
|
692
|
+
* // The name of the operation resource.
|
|
693
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
694
|
+
* });
|
|
695
|
+
* console.log(res.data);
|
|
696
|
+
*
|
|
697
|
+
* // Example response
|
|
698
|
+
* // {
|
|
699
|
+
* // "done": false,
|
|
700
|
+
* // "error": {},
|
|
701
|
+
* // "metadata": {},
|
|
702
|
+
* // "name": "my_name",
|
|
703
|
+
* // "response": {}
|
|
704
|
+
* // }
|
|
705
|
+
* }
|
|
706
|
+
*
|
|
707
|
+
* main().catch(e => {
|
|
708
|
+
* console.error(e);
|
|
709
|
+
* throw e;
|
|
710
|
+
* });
|
|
711
|
+
*
|
|
712
|
+
* ```
|
|
508
713
|
*
|
|
509
714
|
* @param params - Parameters for request
|
|
510
715
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -519,6 +724,59 @@ export declare namespace texttospeech_v1 {
|
|
|
519
724
|
get(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
520
725
|
/**
|
|
521
726
|
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
727
|
+
* @example
|
|
728
|
+
* ```js
|
|
729
|
+
* // Before running the sample:
|
|
730
|
+
* // - Enable the API at:
|
|
731
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
732
|
+
* // - Login into gcloud by running:
|
|
733
|
+
* // ```sh
|
|
734
|
+
* // $ gcloud auth application-default login
|
|
735
|
+
* // ```
|
|
736
|
+
* // - Install the npm module by running:
|
|
737
|
+
* // ```sh
|
|
738
|
+
* // $ npm install googleapis
|
|
739
|
+
* // ```
|
|
740
|
+
*
|
|
741
|
+
* const {google} = require('googleapis');
|
|
742
|
+
* const texttospeech = google.texttospeech('v1');
|
|
743
|
+
*
|
|
744
|
+
* async function main() {
|
|
745
|
+
* const auth = new google.auth.GoogleAuth({
|
|
746
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
747
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
748
|
+
* });
|
|
749
|
+
*
|
|
750
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
751
|
+
* const authClient = await auth.getClient();
|
|
752
|
+
* google.options({auth: authClient});
|
|
753
|
+
*
|
|
754
|
+
* // Do the magic
|
|
755
|
+
* const res = await texttospeech.projects.locations.operations.list({
|
|
756
|
+
* // The standard list filter.
|
|
757
|
+
* filter: 'placeholder-value',
|
|
758
|
+
* // The name of the operation's parent resource.
|
|
759
|
+
* name: 'projects/my-project/locations/my-location',
|
|
760
|
+
* // The standard list page size.
|
|
761
|
+
* pageSize: 'placeholder-value',
|
|
762
|
+
* // The standard list page token.
|
|
763
|
+
* pageToken: 'placeholder-value',
|
|
764
|
+
* });
|
|
765
|
+
* console.log(res.data);
|
|
766
|
+
*
|
|
767
|
+
* // Example response
|
|
768
|
+
* // {
|
|
769
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
770
|
+
* // "operations": []
|
|
771
|
+
* // }
|
|
772
|
+
* }
|
|
773
|
+
*
|
|
774
|
+
* main().catch(e => {
|
|
775
|
+
* console.error(e);
|
|
776
|
+
* throw e;
|
|
777
|
+
* });
|
|
778
|
+
*
|
|
779
|
+
* ```
|
|
522
780
|
*
|
|
523
781
|
* @param params - Parameters for request
|
|
524
782
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -561,6 +819,60 @@ export declare namespace texttospeech_v1 {
|
|
|
561
819
|
constructor(context: APIRequestContext);
|
|
562
820
|
/**
|
|
563
821
|
* Synthesizes speech synchronously: receive results after all text input has been processed.
|
|
822
|
+
* @example
|
|
823
|
+
* ```js
|
|
824
|
+
* // Before running the sample:
|
|
825
|
+
* // - Enable the API at:
|
|
826
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
827
|
+
* // - Login into gcloud by running:
|
|
828
|
+
* // ```sh
|
|
829
|
+
* // $ gcloud auth application-default login
|
|
830
|
+
* // ```
|
|
831
|
+
* // - Install the npm module by running:
|
|
832
|
+
* // ```sh
|
|
833
|
+
* // $ npm install googleapis
|
|
834
|
+
* // ```
|
|
835
|
+
*
|
|
836
|
+
* const {google} = require('googleapis');
|
|
837
|
+
* const texttospeech = google.texttospeech('v1');
|
|
838
|
+
*
|
|
839
|
+
* async function main() {
|
|
840
|
+
* const auth = new google.auth.GoogleAuth({
|
|
841
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
842
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
843
|
+
* });
|
|
844
|
+
*
|
|
845
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
846
|
+
* const authClient = await auth.getClient();
|
|
847
|
+
* google.options({auth: authClient});
|
|
848
|
+
*
|
|
849
|
+
* // Do the magic
|
|
850
|
+
* const res = await texttospeech.text.synthesize({
|
|
851
|
+
* // Request body metadata
|
|
852
|
+
* requestBody: {
|
|
853
|
+
* // request body parameters
|
|
854
|
+
* // {
|
|
855
|
+
* // "advancedVoiceOptions": {},
|
|
856
|
+
* // "audioConfig": {},
|
|
857
|
+
* // "input": {},
|
|
858
|
+
* // "voice": {}
|
|
859
|
+
* // }
|
|
860
|
+
* },
|
|
861
|
+
* });
|
|
862
|
+
* console.log(res.data);
|
|
863
|
+
*
|
|
864
|
+
* // Example response
|
|
865
|
+
* // {
|
|
866
|
+
* // "audioContent": "my_audioContent"
|
|
867
|
+
* // }
|
|
868
|
+
* }
|
|
869
|
+
*
|
|
870
|
+
* main().catch(e => {
|
|
871
|
+
* console.error(e);
|
|
872
|
+
* throw e;
|
|
873
|
+
* });
|
|
874
|
+
*
|
|
875
|
+
* ```
|
|
564
876
|
*
|
|
565
877
|
* @param params - Parameters for request
|
|
566
878
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -585,6 +897,52 @@ export declare namespace texttospeech_v1 {
|
|
|
585
897
|
constructor(context: APIRequestContext);
|
|
586
898
|
/**
|
|
587
899
|
* Returns a list of Voice supported for synthesis.
|
|
900
|
+
* @example
|
|
901
|
+
* ```js
|
|
902
|
+
* // Before running the sample:
|
|
903
|
+
* // - Enable the API at:
|
|
904
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
905
|
+
* // - Login into gcloud by running:
|
|
906
|
+
* // ```sh
|
|
907
|
+
* // $ gcloud auth application-default login
|
|
908
|
+
* // ```
|
|
909
|
+
* // - Install the npm module by running:
|
|
910
|
+
* // ```sh
|
|
911
|
+
* // $ npm install googleapis
|
|
912
|
+
* // ```
|
|
913
|
+
*
|
|
914
|
+
* const {google} = require('googleapis');
|
|
915
|
+
* const texttospeech = google.texttospeech('v1');
|
|
916
|
+
*
|
|
917
|
+
* async function main() {
|
|
918
|
+
* const auth = new google.auth.GoogleAuth({
|
|
919
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
920
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
921
|
+
* });
|
|
922
|
+
*
|
|
923
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
924
|
+
* const authClient = await auth.getClient();
|
|
925
|
+
* google.options({auth: authClient});
|
|
926
|
+
*
|
|
927
|
+
* // Do the magic
|
|
928
|
+
* const res = await texttospeech.voices.list({
|
|
929
|
+
* // Optional. Recommended. [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify `"en-NZ"`, all `"en-NZ"` voices will be returned. If you specify `"no"`, both `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be returned.
|
|
930
|
+
* languageCode: 'placeholder-value',
|
|
931
|
+
* });
|
|
932
|
+
* console.log(res.data);
|
|
933
|
+
*
|
|
934
|
+
* // Example response
|
|
935
|
+
* // {
|
|
936
|
+
* // "voices": []
|
|
937
|
+
* // }
|
|
938
|
+
* }
|
|
939
|
+
*
|
|
940
|
+
* main().catch(e => {
|
|
941
|
+
* console.error(e);
|
|
942
|
+
* throw e;
|
|
943
|
+
* });
|
|
944
|
+
*
|
|
945
|
+
* ```
|
|
588
946
|
*
|
|
589
947
|
* @param params - Parameters for request
|
|
590
948
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,eAAe,CAogD/B;AApgDD,WAAiB,eAAe;IAgE9B;;;;;;;;;;OAUG;IACH,MAAa,YAAY;QAOvB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,UAAU,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACxD,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpD,IAAI,CAAC,IAAI,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,CAAC;KACF;IAlBY,4BAAY,eAkBx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