@redacto.io/consent-sdk-js 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/redacto-privacy-center.global.js +1 -1
- package/dist/redacto-privacy-center.global.js.map +1 -1
- package/dist/redacto-privacy-center.js +5 -1
- package/dist/redacto-privacy-center.mjs +5 -1
- package/dist/redacto.d.mts +20 -1
- package/dist/redacto.d.ts +20 -1
- package/dist/redacto.global.js +76 -76
- package/dist/redacto.global.js.map +1 -1
- package/dist/redacto.js +914 -333
- package/dist/redacto.mjs +852 -333
- package/package.json +2 -2
package/dist/redacto.mjs
CHANGED
|
@@ -473,7 +473,11 @@ var NOTICE_CHROME_EN = {
|
|
|
473
473
|
productPoliciesLabel: "Privacy policies:",
|
|
474
474
|
hintNothingChosen: "Select at least one purpose to confirm.",
|
|
475
475
|
hintNothingEngaged: "Select or change a purpose for the product you are consenting to.",
|
|
476
|
-
hintRequiredOutstanding: "Accept the required purposes to confirm."
|
|
476
|
+
hintRequiredOutstanding: "Accept the required purposes to confirm.",
|
|
477
|
+
errorTitle: "Error Loading Consent Notice",
|
|
478
|
+
errorMessage: "Failed to load consent notice. Please try again.",
|
|
479
|
+
errorRefresh: "Refresh",
|
|
480
|
+
errorClose: "Close error message"
|
|
477
481
|
};
|
|
478
482
|
var TRANSLATIONS = {
|
|
479
483
|
en: NOTICE_CHROME_EN,
|
|
@@ -496,7 +500,11 @@ var TRANSLATIONS = {
|
|
|
496
500
|
productPoliciesLabel: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u0940\u0924\u093F\u092F\u093E\u0901:",
|
|
497
501
|
hintNothingChosen: "\u092A\u0941\u0937\u094D\u091F\u093F \u0915\u0947 \u0932\u093F\u090F \u0915\u092E \u0938\u0947 \u0915\u092E \u090F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091A\u0941\u0928\u0947\u0902\u0964",
|
|
498
502
|
hintNothingEngaged: "\u091C\u093F\u0938 \u0909\u0924\u094D\u092A\u093E\u0926 \u0915\u0947 \u0932\u093F\u090F \u0906\u092A \u0938\u0939\u092E\u0924\u093F \u0926\u0947 \u0930\u0939\u0947 \u0939\u0948\u0902, \u0909\u0938\u0915\u093E \u0915\u094B\u0908 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091A\u0941\u0928\u0947\u0902 \u092F\u093E \u092C\u0926\u0932\u0947\u0902\u0964",
|
|
499
|
-
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F \u0915\u0947 \u0932\u093F\u090F \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u0947\u0902\u0964"
|
|
503
|
+
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F \u0915\u0947 \u0932\u093F\u090F \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u0947\u0902\u0964",
|
|
504
|
+
errorTitle: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u092E\u0947\u0902 \u0924\u094D\u0930\u0941\u091F\u093F",
|
|
505
|
+
errorMessage: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0928\u0939\u0940\u0902 \u0939\u094B \u0938\u0915\u0940\u0964 \u0915\u0943\u092A\u092F\u093E \u092B\u093F\u0930 \u0938\u0947 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",
|
|
506
|
+
errorRefresh: "\u0930\u0940\u092B\u093C\u094D\u0930\u0947\u0936 \u0915\u0930\u0947\u0902",
|
|
507
|
+
errorClose: "\u0924\u094D\u0930\u0941\u091F\u093F \u0938\u0902\u0926\u0947\u0936 \u092C\u0902\u0926 \u0915\u0930\u0947\u0902"
|
|
500
508
|
},
|
|
501
509
|
bn: {
|
|
502
510
|
yes: "\u09B9\u09CD\u09AF\u09BE\u0981",
|
|
@@ -517,7 +525,11 @@ var TRANSLATIONS = {
|
|
|
517
525
|
productPoliciesLabel: "\u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A8\u09C0\u09A4\u09BF:",
|
|
518
526
|
hintNothingChosen: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09A4\u09C7 \u0985\u09A8\u09CD\u09A4\u09A4 \u098F\u0995\u099F\u09BF \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8\u0964",
|
|
519
527
|
hintNothingEngaged: "\u0986\u09AA\u09A8\u09BF \u09AF\u09C7 \u09AA\u09A3\u09CD\u09AF\u09C7 \u09B8\u09AE\u09CD\u09AE\u09A4\u09BF \u09A6\u09BF\u099A\u09CD\u099B\u09C7\u09A8 \u09A4\u09BE\u09B0 \u098F\u0995\u099F\u09BF \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8 \u09AC\u09BE \u09AA\u09B0\u09BF\u09AC\u09B0\u09CD\u09A4\u09A8 \u0995\u09B0\u09C1\u09A8\u0964",
|
|
520
|
-
hintRequiredOutstanding: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09A4\u09C7 \u0986\u09AC\u09B6\u09CD\u09AF\u0995 \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF\u0997\u09C1\u09B2\u09BF \u0997\u09CD\u09B0\u09B9\u09A3 \u0995\u09B0\u09C1\u09A8\u0964"
|
|
528
|
+
hintRequiredOutstanding: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09A4\u09C7 \u0986\u09AC\u09B6\u09CD\u09AF\u0995 \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF\u0997\u09C1\u09B2\u09BF \u0997\u09CD\u09B0\u09B9\u09A3 \u0995\u09B0\u09C1\u09A8\u0964",
|
|
529
|
+
errorTitle: "\u09B8\u09AE\u09CD\u09AE\u09A4\u09BF \u09AC\u09BF\u099C\u09CD\u099E\u09AA\u09CD\u09A4\u09BF \u09B2\u09CB\u09A1 \u0995\u09B0\u09A4\u09C7 \u09A4\u09CD\u09B0\u09C1\u099F\u09BF",
|
|
530
|
+
errorMessage: "\u09B8\u09AE\u09CD\u09AE\u09A4\u09BF \u09AC\u09BF\u099C\u09CD\u099E\u09AA\u09CD\u09A4\u09BF \u09B2\u09CB\u09A1 \u0995\u09B0\u09BE \u09AF\u09BE\u09AF\u09BC\u09A8\u09BF\u0964 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09C1\u09A8\u0964",
|
|
531
|
+
errorRefresh: "\u09B0\u09BF\u09AB\u09CD\u09B0\u09C7\u09B6 \u0995\u09B0\u09C1\u09A8",
|
|
532
|
+
errorClose: "\u09A4\u09CD\u09B0\u09C1\u099F\u09BF \u09AC\u09BE\u09B0\u09CD\u09A4\u09BE \u09AC\u09A8\u09CD\u09A7 \u0995\u09B0\u09C1\u09A8"
|
|
521
533
|
},
|
|
522
534
|
mr: {
|
|
523
535
|
yes: "\u0939\u094B\u092F",
|
|
@@ -538,7 +550,11 @@ var TRANSLATIONS = {
|
|
|
538
550
|
productPoliciesLabel: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0927\u094B\u0930\u0923\u0947:",
|
|
539
551
|
hintNothingChosen: "\u092A\u0941\u0937\u094D\u091F\u0940 \u0915\u0930\u0923\u094D\u092F\u093E\u0938\u093E\u0920\u0940 \u0915\u093F\u092E\u093E\u0928 \u090F\u0915 \u0909\u0926\u094D\u0926\u093F\u0937\u094D\u091F \u0928\u093F\u0935\u0921\u093E.",
|
|
540
552
|
hintNothingEngaged: "\u0924\u0941\u092E\u094D\u0939\u0940 \u091C\u094D\u092F\u093E \u0909\u0924\u094D\u092A\u093E\u0926\u0928\u093E\u0932\u093E \u0938\u0902\u092E\u0924\u0940 \u0926\u0947\u0924 \u0906\u0939\u093E\u0924 \u0924\u094D\u092F\u093E\u091A\u0947 \u0909\u0926\u094D\u0926\u093F\u0937\u094D\u091F \u0928\u093F\u0935\u0921\u093E \u0915\u093F\u0902\u0935\u093E \u092C\u0926\u0932\u093E.",
|
|
541
|
-
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u0940 \u0915\u0930\u0923\u094D\u092F\u093E\u0938\u093E\u0920\u0940 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u093F\u0937\u094D\u091F\u0947 \u0938\u094D\u0935\u0940\u0915\u093E\u0930\u093E."
|
|
553
|
+
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u0940 \u0915\u0930\u0923\u094D\u092F\u093E\u0938\u093E\u0920\u0940 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u093F\u0937\u094D\u091F\u0947 \u0938\u094D\u0935\u0940\u0915\u093E\u0930\u093E.",
|
|
554
|
+
errorTitle: "\u0938\u0902\u092E\u0924\u0940 \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0915\u0930\u0924\u093E\u0928\u093E \u0924\u094D\u0930\u0941\u091F\u0940",
|
|
555
|
+
errorMessage: "\u0938\u0902\u092E\u0924\u0940 \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0939\u094B\u090A \u0936\u0915\u0932\u0940 \u0928\u093E\u0939\u0940. \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u094D\u0939\u093E \u092A\u094D\u0930\u092F\u0924\u094D\u0928 \u0915\u0930\u093E.",
|
|
556
|
+
errorRefresh: "\u0930\u0940\u092B\u094D\u0930\u0947\u0936 \u0915\u0930\u093E",
|
|
557
|
+
errorClose: "\u0924\u094D\u0930\u0941\u091F\u0940 \u0938\u0902\u0926\u0947\u0936 \u092C\u0902\u0926 \u0915\u0930\u093E"
|
|
542
558
|
},
|
|
543
559
|
ta: {
|
|
544
560
|
yes: "\u0B86\u0BAE\u0BCD",
|
|
@@ -559,7 +575,11 @@ var TRANSLATIONS = {
|
|
|
559
575
|
productPoliciesLabel: "\u0BA4\u0BA9\u0BBF\u0BAF\u0BC1\u0BB0\u0BBF\u0BAE\u0BC8\u0B95\u0BCD \u0B95\u0BCA\u0BB3\u0BCD\u0B95\u0BC8\u0B95\u0BB3\u0BCD:",
|
|
560
576
|
hintNothingChosen: "\u0B89\u0BB1\u0BC1\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4 \u0B95\u0BC1\u0BB1\u0BC8\u0BA8\u0BCD\u0BA4\u0BA4\u0BC1 \u0B92\u0BB0\u0BC1 \u0BA8\u0BCB\u0B95\u0BCD\u0B95\u0BA4\u0BCD\u0BA4\u0BC8\u0BA4\u0BCD \u0BA4\u0BC7\u0BB0\u0BCD\u0BA8\u0BCD\u0BA4\u0BC6\u0B9F\u0BC1\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD.",
|
|
561
577
|
hintNothingEngaged: "\u0BA8\u0BC0\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0B92\u0BAA\u0BCD\u0BAA\u0BC1\u0BA4\u0BB2\u0BCD \u0B85\u0BB3\u0BBF\u0B95\u0BCD\u0B95\u0BC1\u0BAE\u0BCD \u0BA4\u0BAF\u0BBE\u0BB0\u0BBF\u0BAA\u0BCD\u0BAA\u0BBF\u0BA9\u0BCD \u0BA8\u0BCB\u0B95\u0BCD\u0B95\u0BA4\u0BCD\u0BA4\u0BC8\u0BA4\u0BCD \u0BA4\u0BC7\u0BB0\u0BCD\u0BA8\u0BCD\u0BA4\u0BC6\u0B9F\u0BC1\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BA4\u0BC1 \u0BAE\u0BBE\u0BB1\u0BCD\u0BB1\u0BB5\u0BC1\u0BAE\u0BCD.",
|
|
562
|
-
hintRequiredOutstanding: "\u0B89\u0BB1\u0BC1\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4 \u0BA4\u0BC7\u0BB5\u0BC8\u0BAF\u0BBE\u0BA9 \u0BA8\u0BCB\u0B95\u0BCD\u0B95\u0B99\u0BCD\u0B95\u0BB3\u0BC8 \u0B8F\u0BB1\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD."
|
|
578
|
+
hintRequiredOutstanding: "\u0B89\u0BB1\u0BC1\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4 \u0BA4\u0BC7\u0BB5\u0BC8\u0BAF\u0BBE\u0BA9 \u0BA8\u0BCB\u0B95\u0BCD\u0B95\u0B99\u0BCD\u0B95\u0BB3\u0BC8 \u0B8F\u0BB1\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD.",
|
|
579
|
+
errorTitle: "\u0B92\u0BAA\u0BCD\u0BAA\u0BC1\u0BA4\u0BB2\u0BCD \u0B85\u0BB1\u0BBF\u0BB5\u0BBF\u0BAA\u0BCD\u0BAA\u0BC8 \u0B8F\u0BB1\u0BCD\u0BB1\u0BC1\u0BB5\u0BA4\u0BBF\u0BB2\u0BCD \u0BAA\u0BBF\u0BB4\u0BC8",
|
|
580
|
+
errorMessage: "\u0B92\u0BAA\u0BCD\u0BAA\u0BC1\u0BA4\u0BB2\u0BCD \u0B85\u0BB1\u0BBF\u0BB5\u0BBF\u0BAA\u0BCD\u0BAA\u0BC8 \u0B8F\u0BB1\u0BCD\u0BB1 \u0BAE\u0BC1\u0B9F\u0BBF\u0BAF\u0BB5\u0BBF\u0BB2\u0BCD\u0BB2\u0BC8. \u0BAE\u0BC0\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0BAF\u0BB2\u0BB5\u0BC1\u0BAE\u0BCD.",
|
|
581
|
+
errorRefresh: "\u0BAA\u0BC1\u0BA4\u0BC1\u0BAA\u0BCD\u0BAA\u0BBF",
|
|
582
|
+
errorClose: "\u0BAA\u0BBF\u0BB4\u0BC8\u0B9A\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BA4\u0BBF\u0BAF\u0BC8 \u0BAE\u0BC2\u0B9F\u0BC1"
|
|
563
583
|
},
|
|
564
584
|
te: {
|
|
565
585
|
yes: "\u0C05\u0C35\u0C41\u0C28\u0C41",
|
|
@@ -580,7 +600,11 @@ var TRANSLATIONS = {
|
|
|
580
600
|
productPoliciesLabel: "\u0C17\u0C4B\u0C2A\u0C4D\u0C2F\u0C24\u0C3E \u0C35\u0C3F\u0C27\u0C3E\u0C28\u0C3E\u0C32\u0C41:",
|
|
581
601
|
hintNothingChosen: "\u0C28\u0C3F\u0C30\u0C4D\u0C27\u0C3E\u0C30\u0C3F\u0C02\u0C1A\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C15\u0C28\u0C40\u0C38\u0C02 \u0C12\u0C15 \u0C2A\u0C4D\u0C30\u0C2F\u0C4B\u0C1C\u0C28\u0C3E\u0C28\u0C4D\u0C28\u0C3F \u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F.",
|
|
582
602
|
hintNothingEngaged: "\u0C2E\u0C40\u0C30\u0C41 \u0C38\u0C2E\u0C4D\u0C2E\u0C24\u0C3F \u0C07\u0C38\u0C4D\u0C24\u0C41\u0C28\u0C4D\u0C28 \u0C09\u0C24\u0C4D\u0C2A\u0C24\u0C4D\u0C24\u0C3F\u0C15\u0C3F \u0C12\u0C15 \u0C2A\u0C4D\u0C30\u0C2F\u0C4B\u0C1C\u0C28\u0C3E\u0C28\u0C4D\u0C28\u0C3F \u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F \u0C32\u0C47\u0C26\u0C3E \u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C02\u0C21\u0C3F.",
|
|
583
|
-
hintRequiredOutstanding: "\u0C28\u0C3F\u0C30\u0C4D\u0C27\u0C3E\u0C30\u0C3F\u0C02\u0C1A\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C05\u0C35\u0C38\u0C30\u0C2E\u0C48\u0C28 \u0C2A\u0C4D\u0C30\u0C2F\u0C4B\u0C1C\u0C28\u0C3E\u0C32\u0C28\u0C41 \u0C05\u0C02\u0C17\u0C40\u0C15\u0C30\u0C3F\u0C02\u0C1A\u0C02\u0C21\u0C3F."
|
|
603
|
+
hintRequiredOutstanding: "\u0C28\u0C3F\u0C30\u0C4D\u0C27\u0C3E\u0C30\u0C3F\u0C02\u0C1A\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F \u0C05\u0C35\u0C38\u0C30\u0C2E\u0C48\u0C28 \u0C2A\u0C4D\u0C30\u0C2F\u0C4B\u0C1C\u0C28\u0C3E\u0C32\u0C28\u0C41 \u0C05\u0C02\u0C17\u0C40\u0C15\u0C30\u0C3F\u0C02\u0C1A\u0C02\u0C21\u0C3F.",
|
|
604
|
+
errorTitle: "\u0C38\u0C2E\u0C4D\u0C2E\u0C24\u0C3F \u0C28\u0C4B\u0C1F\u0C40\u0C38\u0C41\u0C28\u0C41 \u0C32\u0C4B\u0C21\u0C4D \u0C1A\u0C47\u0C2F\u0C21\u0C02\u0C32\u0C4B \u0C32\u0C4B\u0C2A\u0C02",
|
|
605
|
+
errorMessage: "\u0C38\u0C2E\u0C4D\u0C2E\u0C24\u0C3F \u0C28\u0C4B\u0C1F\u0C40\u0C38\u0C41\u0C28\u0C41 \u0C32\u0C4B\u0C21\u0C4D \u0C1A\u0C47\u0C2F\u0C32\u0C47\u0C15\u0C2A\u0C4B\u0C2F\u0C3E\u0C02. \u0C26\u0C2F\u0C1A\u0C47\u0C38\u0C3F \u0C2E\u0C33\u0C4D\u0C32\u0C40 \u0C2A\u0C4D\u0C30\u0C2F\u0C24\u0C4D\u0C28\u0C3F\u0C02\u0C1A\u0C02\u0C21\u0C3F.",
|
|
606
|
+
errorRefresh: "\u0C30\u0C3F\u0C2B\u0C4D\u0C30\u0C46\u0C37\u0C4D \u0C1A\u0C47\u0C2F\u0C02\u0C21\u0C3F",
|
|
607
|
+
errorClose: "\u0C32\u0C4B\u0C2A\u0C02 \u0C38\u0C02\u0C26\u0C47\u0C36\u0C3E\u0C28\u0C4D\u0C28\u0C3F \u0C2E\u0C42\u0C38\u0C3F\u0C35\u0C47\u0C2F\u0C02\u0C21\u0C3F"
|
|
584
608
|
},
|
|
585
609
|
gu: {
|
|
586
610
|
yes: "\u0AB9\u0ABE",
|
|
@@ -601,7 +625,11 @@ var TRANSLATIONS = {
|
|
|
601
625
|
productPoliciesLabel: "\u0A97\u0ACB\u0AAA\u0AA8\u0AC0\u0AAF\u0AA4\u0ABE \u0AA8\u0AC0\u0AA4\u0ABF\u0A93:",
|
|
602
626
|
hintNothingChosen: "\u0AAA\u0AC1\u0AB7\u0ACD\u0A9F\u0ABF \u0A95\u0AB0\u0AB5\u0ABE \u0A93\u0A9B\u0ABE\u0AAE\u0ABE\u0A82 \u0A93\u0A9B\u0ACB \u0A8F\u0A95 \u0AB9\u0AC7\u0AA4\u0AC1 \u0AAA\u0AB8\u0A82\u0AA6 \u0A95\u0AB0\u0ACB.",
|
|
603
627
|
hintNothingEngaged: "\u0AA4\u0AAE\u0AC7 \u0A9C\u0AC7 \u0A89\u0AA4\u0ACD\u0AAA\u0ABE\u0AA6\u0AA8\u0AA8\u0AC7 \u0AB8\u0A82\u0AAE\u0AA4\u0ABF \u0A86\u0AAA\u0AC0 \u0AB0\u0AB9\u0ACD\u0AAF\u0ABE \u0A9B\u0ACB \u0AA4\u0AC7\u0AA8\u0ACB \u0AB9\u0AC7\u0AA4\u0AC1 \u0AAA\u0AB8\u0A82\u0AA6 \u0A95\u0AB0\u0ACB \u0A85\u0AA5\u0AB5\u0ABE \u0AAC\u0AA6\u0AB2\u0ACB.",
|
|
604
|
-
hintRequiredOutstanding: "\u0AAA\u0AC1\u0AB7\u0ACD\u0A9F\u0ABF \u0A95\u0AB0\u0AB5\u0ABE \u0A9C\u0AB0\u0AC2\u0AB0\u0AC0 \u0AB9\u0AC7\u0AA4\u0AC1\u0A93 \u0AB8\u0ACD\u0AB5\u0AC0\u0A95\u0ABE\u0AB0\u0ACB."
|
|
628
|
+
hintRequiredOutstanding: "\u0AAA\u0AC1\u0AB7\u0ACD\u0A9F\u0ABF \u0A95\u0AB0\u0AB5\u0ABE \u0A9C\u0AB0\u0AC2\u0AB0\u0AC0 \u0AB9\u0AC7\u0AA4\u0AC1\u0A93 \u0AB8\u0ACD\u0AB5\u0AC0\u0A95\u0ABE\u0AB0\u0ACB.",
|
|
629
|
+
errorTitle: "\u0AB8\u0A82\u0AAE\u0AA4\u0ABF \u0AB8\u0AC2\u0A9A\u0AA8\u0ABE \u0AB2\u0ACB\u0AA1 \u0A95\u0AB0\u0AB5\u0ABE\u0AAE\u0ABE\u0A82 \u0AAD\u0AC2\u0AB2",
|
|
630
|
+
errorMessage: "\u0AB8\u0A82\u0AAE\u0AA4\u0ABF \u0AB8\u0AC2\u0A9A\u0AA8\u0ABE \u0AB2\u0ACB\u0AA1 \u0AA5\u0A88 \u0AB6\u0A95\u0AC0 \u0AA8\u0AB9\u0AC0\u0A82. \u0A95\u0AC3\u0AAA\u0ABE \u0A95\u0AB0\u0AC0\u0AA8\u0AC7 \u0AAB\u0AB0\u0AC0 \u0AAA\u0ACD\u0AB0\u0AAF\u0ABE\u0AB8 \u0A95\u0AB0\u0ACB.",
|
|
631
|
+
errorRefresh: "\u0AB0\u0ABF\u0AAB\u0ACD\u0AB0\u0AC7\u0AB6 \u0A95\u0AB0\u0ACB",
|
|
632
|
+
errorClose: "\u0AAD\u0AC2\u0AB2 \u0AB8\u0A82\u0AA6\u0AC7\u0AB6 \u0AAC\u0A82\u0AA7 \u0A95\u0AB0\u0ACB"
|
|
605
633
|
},
|
|
606
634
|
kn: {
|
|
607
635
|
yes: "\u0CB9\u0CCC\u0CA6\u0CC1",
|
|
@@ -622,7 +650,11 @@ var TRANSLATIONS = {
|
|
|
622
650
|
productPoliciesLabel: "\u0C97\u0CCC\u0CAA\u0CCD\u0CAF\u0CA4\u0CBE \u0CA8\u0CC0\u0CA4\u0CBF\u0C97\u0CB3\u0CC1:",
|
|
623
651
|
hintNothingChosen: "\u0C96\u0C9A\u0CBF\u0CA4\u0CAA\u0CA1\u0CBF\u0CB8\u0CB2\u0CC1 \u0C95\u0CA8\u0CBF\u0CB7\u0CCD\u0CA0 \u0C92\u0C82\u0CA6\u0CC1 \u0C89\u0CA6\u0CCD\u0CA6\u0CC7\u0CB6\u0CB5\u0CA8\u0CCD\u0CA8\u0CC1 \u0C86\u0CAF\u0CCD\u0C95\u0CC6\u0CAE\u0CBE\u0CA1\u0CBF.",
|
|
624
652
|
hintNothingEngaged: "\u0CA8\u0CC0\u0CB5\u0CC1 \u0CB8\u0CAE\u0CCD\u0CAE\u0CA4\u0CBF \u0CA8\u0CC0\u0CA1\u0CC1\u0CA4\u0CCD\u0CA4\u0CBF\u0CB0\u0CC1\u0CB5 \u0C89\u0CA4\u0CCD\u0CAA\u0CA8\u0CCD\u0CA8\u0CA6 \u0C89\u0CA6\u0CCD\u0CA6\u0CC7\u0CB6\u0CB5\u0CA8\u0CCD\u0CA8\u0CC1 \u0C86\u0CAF\u0CCD\u0C95\u0CC6\u0CAE\u0CBE\u0CA1\u0CBF \u0C85\u0CA5\u0CB5\u0CBE \u0CAC\u0CA6\u0CB2\u0CBE\u0CAF\u0CBF\u0CB8\u0CBF.",
|
|
625
|
-
hintRequiredOutstanding: "\u0C96\u0C9A\u0CBF\u0CA4\u0CAA\u0CA1\u0CBF\u0CB8\u0CB2\u0CC1 \u0C85\u0C97\u0CA4\u0CCD\u0CAF\u0CB5\u0CBF\u0CB0\u0CC1\u0CB5 \u0C89\u0CA6\u0CCD\u0CA6\u0CC7\u0CB6\u0C97\u0CB3\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF."
|
|
653
|
+
hintRequiredOutstanding: "\u0C96\u0C9A\u0CBF\u0CA4\u0CAA\u0CA1\u0CBF\u0CB8\u0CB2\u0CC1 \u0C85\u0C97\u0CA4\u0CCD\u0CAF\u0CB5\u0CBF\u0CB0\u0CC1\u0CB5 \u0C89\u0CA6\u0CCD\u0CA6\u0CC7\u0CB6\u0C97\u0CB3\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF.",
|
|
654
|
+
errorTitle: "\u0CB8\u0CAE\u0CCD\u0CAE\u0CA4\u0CBF \u0CB8\u0CC2\u0C9A\u0CA8\u0CC6\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB2\u0CCB\u0CA1\u0CCD \u0CAE\u0CBE\u0CA1\u0CC1\u0CB5\u0CB2\u0CCD\u0CB2\u0CBF \u0CA6\u0CCB\u0CB7",
|
|
655
|
+
errorMessage: "\u0CB8\u0CAE\u0CCD\u0CAE\u0CA4\u0CBF \u0CB8\u0CC2\u0C9A\u0CA8\u0CC6\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CB2\u0CCB\u0CA1\u0CCD \u0CAE\u0CBE\u0CA1\u0CB2\u0CBE\u0C97\u0CB2\u0CBF\u0CB2\u0CCD\u0CB2. \u0CA6\u0CAF\u0CB5\u0CBF\u0C9F\u0CCD\u0C9F\u0CC1 \u0CAE\u0CA4\u0CCD\u0CA4\u0CC6 \u0CAA\u0CCD\u0CB0\u0CAF\u0CA4\u0CCD\u0CA8\u0CBF\u0CB8\u0CBF.",
|
|
656
|
+
errorRefresh: "\u0CB0\u0CBF\u0CAB\u0CCD\u0CB0\u0CC6\u0CB6\u0CCD \u0CAE\u0CBE\u0CA1\u0CBF",
|
|
657
|
+
errorClose: "\u0CA6\u0CCB\u0CB7 \u0CB8\u0C82\u0CA6\u0CC7\u0CB6\u0CB5\u0CA8\u0CCD\u0CA8\u0CC1 \u0CAE\u0CC1\u0C9A\u0CCD\u0C9A\u0CBF"
|
|
626
658
|
},
|
|
627
659
|
ml: {
|
|
628
660
|
yes: "\u0D05\u0D24\u0D46",
|
|
@@ -643,7 +675,11 @@ var TRANSLATIONS = {
|
|
|
643
675
|
productPoliciesLabel: "\u0D38\u0D4D\u0D35\u0D15\u0D3E\u0D30\u0D4D\u0D2F\u0D24\u0D3E \u0D28\u0D2F\u0D19\u0D4D\u0D19\u0D7E:",
|
|
644
676
|
hintNothingChosen: "\u0D38\u0D4D\u0D25\u0D3F\u0D30\u0D40\u0D15\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D7B \u0D15\u0D41\u0D31\u0D1E\u0D4D\u0D1E\u0D24\u0D4D \u0D12\u0D30\u0D41 \u0D09\u0D26\u0D4D\u0D26\u0D47\u0D36\u0D4D\u0D2F\u0D2E\u0D46\u0D19\u0D4D\u0D15\u0D3F\u0D32\u0D41\u0D02 \u0D24\u0D3F\u0D30\u0D1E\u0D4D\u0D1E\u0D46\u0D1F\u0D41\u0D15\u0D4D\u0D15\u0D41\u0D15.",
|
|
645
677
|
hintNothingEngaged: "\u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D7E \u0D38\u0D2E\u0D4D\u0D2E\u0D24\u0D02 \u0D28\u0D7D\u0D15\u0D41\u0D28\u0D4D\u0D28 \u0D09\u0D7D\u0D2A\u0D4D\u0D2A\u0D28\u0D4D\u0D28\u0D24\u0D4D\u0D24\u0D3F\u0D28\u0D4D\u0D31\u0D46 \u0D09\u0D26\u0D4D\u0D26\u0D47\u0D36\u0D4D\u0D2F\u0D02 \u0D24\u0D3F\u0D30\u0D1E\u0D4D\u0D1E\u0D46\u0D1F\u0D41\u0D15\u0D4D\u0D15\u0D41\u0D15\u0D2F\u0D4B \u0D2E\u0D3E\u0D31\u0D4D\u0D31\u0D41\u0D15\u0D2F\u0D4B \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D41\u0D15.",
|
|
646
|
-
hintRequiredOutstanding: "\u0D38\u0D4D\u0D25\u0D3F\u0D30\u0D40\u0D15\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D7B \u0D06\u0D35\u0D36\u0D4D\u0D2F\u0D2E\u0D3E\u0D2F \u0D09\u0D26\u0D4D\u0D26\u0D47\u0D36\u0D4D\u0D2F\u0D19\u0D4D\u0D19\u0D7E \u0D38\u0D4D\u0D35\u0D40\u0D15\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D15."
|
|
678
|
+
hintRequiredOutstanding: "\u0D38\u0D4D\u0D25\u0D3F\u0D30\u0D40\u0D15\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D7B \u0D06\u0D35\u0D36\u0D4D\u0D2F\u0D2E\u0D3E\u0D2F \u0D09\u0D26\u0D4D\u0D26\u0D47\u0D36\u0D4D\u0D2F\u0D19\u0D4D\u0D19\u0D7E \u0D38\u0D4D\u0D35\u0D40\u0D15\u0D30\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D15.",
|
|
679
|
+
errorTitle: "\u0D38\u0D2E\u0D4D\u0D2E\u0D24 \u0D05\u0D31\u0D3F\u0D2F\u0D3F\u0D2A\u0D4D\u0D2A\u0D4D \u0D32\u0D4B\u0D21\u0D4D \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D41\u0D28\u0D4D\u0D28\u0D24\u0D3F\u0D7D \u0D2A\u0D3F\u0D36\u0D15\u0D4D",
|
|
680
|
+
errorMessage: "\u0D38\u0D2E\u0D4D\u0D2E\u0D24 \u0D05\u0D31\u0D3F\u0D2F\u0D3F\u0D2A\u0D4D\u0D2A\u0D4D \u0D32\u0D4B\u0D21\u0D4D \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D3E\u0D28\u0D3E\u0D2F\u0D3F\u0D32\u0D4D\u0D32. \u0D35\u0D40\u0D23\u0D4D\u0D1F\u0D41\u0D02 \u0D36\u0D4D\u0D30\u0D2E\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D15.",
|
|
681
|
+
errorRefresh: "\u0D2A\u0D41\u0D24\u0D41\u0D15\u0D4D\u0D15\u0D41\u0D15",
|
|
682
|
+
errorClose: "\u0D2A\u0D3F\u0D36\u0D15\u0D4D \u0D38\u0D28\u0D4D\u0D26\u0D47\u0D36\u0D02 \u0D05\u0D1F\u0D2F\u0D4D\u0D15\u0D4D\u0D15\u0D41\u0D15"
|
|
647
683
|
},
|
|
648
684
|
pa: {
|
|
649
685
|
yes: "\u0A39\u0A3E\u0A02",
|
|
@@ -664,7 +700,11 @@ var TRANSLATIONS = {
|
|
|
664
700
|
productPoliciesLabel: "\u0A2A\u0A30\u0A26\u0A47\u0A26\u0A3E\u0A30\u0A40 \u0A28\u0A40\u0A24\u0A40\u0A06\u0A02:",
|
|
665
701
|
hintNothingChosen: "\u0A2A\u0A41\u0A38\u0A3C\u0A1F\u0A40 \u0A32\u0A08 \u0A18\u0A71\u0A1F\u0A4B-\u0A18\u0A71\u0A1F \u0A07\u0A71\u0A15 \u0A2E\u0A70\u0A24\u0A35 \u0A1A\u0A41\u0A23\u0A4B\u0964",
|
|
666
702
|
hintNothingEngaged: "\u0A1C\u0A3F\u0A38 \u0A09\u0A24\u0A2A\u0A3E\u0A26 \u0A32\u0A08 \u0A24\u0A41\u0A38\u0A40\u0A02 \u0A38\u0A39\u0A3F\u0A2E\u0A24\u0A40 \u0A26\u0A47 \u0A30\u0A39\u0A47 \u0A39\u0A4B, \u0A09\u0A38 \u0A26\u0A3E \u0A2E\u0A70\u0A24\u0A35 \u0A1A\u0A41\u0A23\u0A4B \u0A1C\u0A3E\u0A02 \u0A2C\u0A26\u0A32\u0A4B\u0964",
|
|
667
|
-
hintRequiredOutstanding: "\u0A2A\u0A41\u0A38\u0A3C\u0A1F\u0A40 \u0A32\u0A08 \u0A32\u0A4B\u0A5C\u0A40\u0A02\u0A26\u0A47 \u0A2E\u0A70\u0A24\u0A35 \u0A38\u0A35\u0A40\u0A15\u0A3E\u0A30 \u0A15\u0A30\u0A4B\u0964"
|
|
703
|
+
hintRequiredOutstanding: "\u0A2A\u0A41\u0A38\u0A3C\u0A1F\u0A40 \u0A32\u0A08 \u0A32\u0A4B\u0A5C\u0A40\u0A02\u0A26\u0A47 \u0A2E\u0A70\u0A24\u0A35 \u0A38\u0A35\u0A40\u0A15\u0A3E\u0A30 \u0A15\u0A30\u0A4B\u0964",
|
|
704
|
+
errorTitle: "\u0A38\u0A39\u0A3F\u0A2E\u0A24\u0A40 \u0A38\u0A42\u0A1A\u0A28\u0A3E \u0A32\u0A4B\u0A21 \u0A15\u0A30\u0A28 \u0A35\u0A3F\u0A71\u0A1A \u0A17\u0A32\u0A24\u0A40",
|
|
705
|
+
errorMessage: "\u0A38\u0A39\u0A3F\u0A2E\u0A24\u0A40 \u0A38\u0A42\u0A1A\u0A28\u0A3E \u0A32\u0A4B\u0A21 \u0A28\u0A39\u0A40\u0A02 \u0A39\u0A4B \u0A38\u0A15\u0A40\u0964 \u0A15\u0A3F\u0A30\u0A2A\u0A3E \u0A15\u0A30\u0A15\u0A47 \u0A26\u0A41\u0A2C\u0A3E\u0A30\u0A3E \u0A15\u0A4B\u0A38\u0A3C\u0A3F\u0A38\u0A3C \u0A15\u0A30\u0A4B\u0964",
|
|
706
|
+
errorRefresh: "\u0A30\u0A3F\u0A2B\u0A4D\u0A30\u0A48\u0A38\u0A3C \u0A15\u0A30\u0A4B",
|
|
707
|
+
errorClose: "\u0A17\u0A32\u0A24\u0A40 \u0A38\u0A41\u0A28\u0A47\u0A39\u0A3E \u0A2C\u0A70\u0A26 \u0A15\u0A30\u0A4B"
|
|
668
708
|
},
|
|
669
709
|
or: {
|
|
670
710
|
yes: "\u0B39\u0B01",
|
|
@@ -685,7 +725,11 @@ var TRANSLATIONS = {
|
|
|
685
725
|
productPoliciesLabel: "\u0B17\u0B4B\u0B2A\u0B28\u0B40\u0B5F\u0B24\u0B3E \u0B28\u0B40\u0B24\u0B3F:",
|
|
686
726
|
hintNothingChosen: "\u0B28\u0B3F\u0B36\u0B4D\u0B1A\u0B3F\u0B24 \u0B15\u0B30\u0B3F\u0B2C\u0B3E\u0B15\u0B41 \u0B05\u0B24\u0B3F \u0B15\u0B2E\u0B30\u0B47 \u0B17\u0B4B\u0B1F\u0B3F\u0B0F \u0B09\u0B26\u0B4D\u0B26\u0B47\u0B36\u0B4D\u0B5F \u0B1A\u0B5F\u0B28 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41\u0964",
|
|
687
727
|
hintNothingEngaged: "\u0B06\u0B2A\u0B23 \u0B38\u0B2E\u0B4D\u0B2E\u0B24\u0B3F \u0B26\u0B47\u0B09\u0B25\u0B3F\u0B2C\u0B3E \u0B09\u0B24\u0B4D\u0B2A\u0B3E\u0B26\u0B30 \u0B09\u0B26\u0B4D\u0B26\u0B47\u0B36\u0B4D\u0B5F \u0B1A\u0B5F\u0B28 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41 \u0B15\u0B3F\u0B2E\u0B4D\u0B2C\u0B3E \u0B2C\u0B26\u0B33\u0B3E\u0B28\u0B4D\u0B24\u0B41\u0964",
|
|
688
|
-
hintRequiredOutstanding: "\u0B28\u0B3F\u0B36\u0B4D\u0B1A\u0B3F\u0B24 \u0B15\u0B30\u0B3F\u0B2C\u0B3E\u0B15\u0B41 \u0B06\u0B2C\u0B36\u0B4D\u0B5F\u0B15 \u0B09\u0B26\u0B4D\u0B26\u0B47\u0B36\u0B4D\u0B5F \u0B17\u0B4D\u0B30\u0B39\u0B23 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41\u0964"
|
|
728
|
+
hintRequiredOutstanding: "\u0B28\u0B3F\u0B36\u0B4D\u0B1A\u0B3F\u0B24 \u0B15\u0B30\u0B3F\u0B2C\u0B3E\u0B15\u0B41 \u0B06\u0B2C\u0B36\u0B4D\u0B5F\u0B15 \u0B09\u0B26\u0B4D\u0B26\u0B47\u0B36\u0B4D\u0B5F \u0B17\u0B4D\u0B30\u0B39\u0B23 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41\u0964",
|
|
729
|
+
errorTitle: "\u0B38\u0B2E\u0B4D\u0B2E\u0B24\u0B3F \u0B38\u0B42\u0B1A\u0B28\u0B3E \u0B32\u0B4B\u0B21\u0B4D \u0B15\u0B30\u0B3F\u0B2C\u0B3E\u0B30\u0B47 \u0B24\u0B4D\u0B30\u0B41\u0B1F\u0B3F",
|
|
730
|
+
errorMessage: "\u0B38\u0B2E\u0B4D\u0B2E\u0B24\u0B3F \u0B38\u0B42\u0B1A\u0B28\u0B3E \u0B32\u0B4B\u0B21\u0B4D \u0B39\u0B4B\u0B07\u0B2A\u0B3E\u0B30\u0B3F\u0B32\u0B3E \u0B28\u0B3E\u0B39\u0B3F\u0B01\u0964 \u0B26\u0B5F\u0B3E\u0B15\u0B30\u0B3F \u0B2A\u0B41\u0B23\u0B3F \u0B1A\u0B47\u0B37\u0B4D\u0B1F\u0B3E \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41\u0964",
|
|
731
|
+
errorRefresh: "\u0B30\u0B3F\u0B2B\u0B4D\u0B30\u0B47\u0B38\u0B4D \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41",
|
|
732
|
+
errorClose: "\u0B24\u0B4D\u0B30\u0B41\u0B1F\u0B3F \u0B2C\u0B3E\u0B30\u0B4D\u0B24\u0B4D\u0B24\u0B3E \u0B2C\u0B28\u0B4D\u0B26 \u0B15\u0B30\u0B28\u0B4D\u0B24\u0B41"
|
|
689
733
|
},
|
|
690
734
|
as: {
|
|
691
735
|
yes: "\u09B9\u09AF\u09BC",
|
|
@@ -706,7 +750,11 @@ var TRANSLATIONS = {
|
|
|
706
750
|
productPoliciesLabel: "\u0997\u09CB\u09AA\u09A8\u09C0\u09AF\u09BC\u09A4\u09BE \u09A8\u09C0\u09A4\u09BF\u09B8\u09AE\u09C2\u09B9:",
|
|
707
751
|
hintNothingChosen: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09F0\u09BF\u09AC\u09B2\u09C8 \u0985\u09A8\u09CD\u09A4\u09A4\u0983 \u098F\u099F\u09BE \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF \u09A8\u09BF\u09F0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09F0\u0995\u0964",
|
|
708
752
|
hintNothingEngaged: "\u0986\u09AA\u09C1\u09A8\u09BF \u09B8\u09A8\u09CD\u09AE\u09A4\u09BF \u09A6\u09BF \u09A5\u0995\u09BE \u09B8\u09BE\u09AE\u0997\u09CD\u09F0\u09C0\u09F0 \u098F\u099F\u09BE \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF \u09A8\u09BF\u09F0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09F0\u0995 \u09AC\u09BE \u09B8\u09B2\u09A8\u09BF \u0995\u09F0\u0995\u0964",
|
|
709
|
-
hintRequiredOutstanding: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09F0\u09BF\u09AC\u09B2\u09C8 \u09AA\u09CD\u09F0\u09AF\u09BC\u09CB\u099C\u09A8\u09C0\u09AF\u09BC \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF\u09AC\u09CB\u09F0 \u0997\u09CD\u09F0\u09B9\u09A3 \u0995\u09F0\u0995\u0964"
|
|
753
|
+
hintRequiredOutstanding: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09F0\u09BF\u09AC\u09B2\u09C8 \u09AA\u09CD\u09F0\u09AF\u09BC\u09CB\u099C\u09A8\u09C0\u09AF\u09BC \u0989\u09A6\u09CD\u09A6\u09C7\u09B6\u09CD\u09AF\u09AC\u09CB\u09F0 \u0997\u09CD\u09F0\u09B9\u09A3 \u0995\u09F0\u0995\u0964",
|
|
754
|
+
errorTitle: "\u09B8\u09A8\u09CD\u09AE\u09A4\u09BF \u099C\u09BE\u09A8\u09A8\u09C0 \u09B2'\u09A1 \u0995\u09F0\u09CB\u0981\u09A4\u09C7 \u09A4\u09CD\u09F0\u09C1\u099F\u09BF",
|
|
755
|
+
errorMessage: "\u09B8\u09A8\u09CD\u09AE\u09A4\u09BF \u099C\u09BE\u09A8\u09A8\u09C0 \u09B2'\u09A1 \u0995\u09F0\u09BF\u09AC \u09AA\u09F0\u09BE \u09A8\u0997'\u09B2\u0964 \u0985\u09A8\u09C1\u0997\u09CD\u09F0\u09B9 \u0995\u09F0\u09BF \u09AA\u09C1\u09A8\u09F0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09F0\u0995\u0964",
|
|
756
|
+
errorRefresh: "\u09F0\u09BF\u09AB\u09CD\u09F0\u09C7\u099B \u0995\u09F0\u0995",
|
|
757
|
+
errorClose: "\u09A4\u09CD\u09F0\u09C1\u099F\u09BF \u09AC\u09BE\u09F0\u09CD\u09A4\u09BE \u09AC\u09A8\u09CD\u09A7 \u0995\u09F0\u0995"
|
|
710
758
|
},
|
|
711
759
|
ur: {
|
|
712
760
|
yes: "\u06C1\u0627\u06BA",
|
|
@@ -727,7 +775,11 @@ var TRANSLATIONS = {
|
|
|
727
775
|
productPoliciesLabel: "\u067E\u0631\u0627\u0626\u06CC\u0648\u06CC\u0633\u06CC \u067E\u0627\u0644\u06CC\u0633\u06CC\u0627\u06BA:",
|
|
728
776
|
hintNothingChosen: "\u062A\u0635\u062F\u06CC\u0642 \u06A9\u06D2 \u0644\u06CC\u06D2 \u06A9\u0645 \u0627\u0632 \u06A9\u0645 \u0627\u06CC\u06A9 \u0645\u0642\u0635\u062F \u0645\u0646\u062A\u062E\u0628 \u06A9\u0631\u06CC\u06BA\u06D4",
|
|
729
777
|
hintNothingEngaged: "\u062C\u0633 \u067E\u0631\u0648\u0688\u06A9\u0679 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0622\u067E \u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u062F\u06D2 \u0631\u06C1\u06D2 \u06C1\u06CC\u06BA\u060C \u0627\u0633 \u06A9\u0627 \u0645\u0642\u0635\u062F \u0645\u0646\u062A\u062E\u0628 \u06A9\u0631\u06CC\u06BA \u06CC\u0627 \u062A\u0628\u062F\u06CC\u0644 \u06A9\u0631\u06CC\u06BA\u06D4",
|
|
730
|
-
hintRequiredOutstanding: "\u062A\u0635\u062F\u06CC\u0642 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u0637\u0644\u0648\u0628\u06C1 \u0645\u0642\u0627\u0635\u062F \u0642\u0628\u0648\u0644 \u06A9\u0631\u06CC\u06BA\u06D4"
|
|
778
|
+
hintRequiredOutstanding: "\u062A\u0635\u062F\u06CC\u0642 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u0637\u0644\u0648\u0628\u06C1 \u0645\u0642\u0627\u0635\u062F \u0642\u0628\u0648\u0644 \u06A9\u0631\u06CC\u06BA\u06D4",
|
|
779
|
+
errorTitle: "\u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u0646\u0648\u0679\u0633 \u0644\u0648\u0688 \u06A9\u0631\u0646\u06D2 \u0645\u06CC\u06BA \u062E\u0631\u0627\u0628\u06CC",
|
|
780
|
+
errorMessage: "\u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u0646\u0648\u0679\u0633 \u0644\u0648\u0688 \u0646\u06C1\u06CC\u06BA \u06C1\u0648 \u0633\u06A9\u0627\u06D4 \u0628\u0631\u0627\u06C1 \u06A9\u0631\u0645 \u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",
|
|
781
|
+
errorRefresh: "\u0631\u06CC\u0641\u0631\u06CC\u0634 \u06A9\u0631\u06CC\u06BA",
|
|
782
|
+
errorClose: "\u062E\u0631\u0627\u0628\u06CC \u06A9\u0627 \u067E\u06CC\u063A\u0627\u0645 \u0628\u0646\u062F \u06A9\u0631\u06CC\u06BA"
|
|
731
783
|
},
|
|
732
784
|
ne: {
|
|
733
785
|
yes: "\u0939\u094B",
|
|
@@ -748,7 +800,11 @@ var TRANSLATIONS = {
|
|
|
748
800
|
productPoliciesLabel: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u0940\u0924\u093F\u0939\u0930\u0942:",
|
|
749
801
|
hintNothingChosen: "\u092A\u0941\u0937\u094D\u091F\u093F \u0917\u0930\u094D\u0928 \u0915\u092E\u094D\u0924\u0940\u092E\u093E \u090F\u0909\u091F\u093E \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091B\u093E\u0928\u094D\u0928\u0941\u0939\u094B\u0938\u094D\u0964",
|
|
750
802
|
hintNothingEngaged: "\u0924\u092A\u093E\u0908\u0902\u0932\u0947 \u0938\u0939\u092E\u0924\u093F \u0926\u093F\u0907\u0930\u0939\u0928\u0941\u092D\u090F\u0915\u094B \u0909\u0924\u094D\u092A\u093E\u0926\u0928\u0915\u094B \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091B\u093E\u0928\u094D\u0928\u0941\u0939\u094B\u0938\u094D \u0935\u093E \u092A\u0930\u093F\u0935\u0930\u094D\u0924\u0928 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D\u0964",
|
|
751
|
-
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F \u0917\u0930\u094D\u0928 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D\u0964"
|
|
803
|
+
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F \u0917\u0930\u094D\u0928 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D\u0964",
|
|
804
|
+
errorTitle: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0917\u0930\u094D\u0926\u093E \u0924\u094D\u0930\u0941\u091F\u093F",
|
|
805
|
+
errorMessage: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0939\u0941\u0928 \u0938\u0915\u0947\u0928\u0964 \u0915\u0943\u092A\u092F\u093E \u092B\u0947\u0930\u093F \u092A\u094D\u0930\u092F\u093E\u0938 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D\u0964",
|
|
806
|
+
errorRefresh: "\u0930\u093F\u092B\u094D\u0930\u0947\u0938 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D",
|
|
807
|
+
errorClose: "\u0924\u094D\u0930\u0941\u091F\u093F \u0938\u0928\u094D\u0926\u0947\u0936 \u092C\u0928\u094D\u0926 \u0917\u0930\u094D\u0928\u0941\u0939\u094B\u0938\u094D"
|
|
752
808
|
},
|
|
753
809
|
sa: {
|
|
754
810
|
yes: "\u0906\u092E\u094D",
|
|
@@ -769,7 +825,11 @@ var TRANSLATIONS = {
|
|
|
769
825
|
productPoliciesLabel: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E\u0928\u0940\u0924\u092F\u0903:",
|
|
770
826
|
hintNothingChosen: "\u0928\u093F\u0936\u094D\u091A\u0947\u0924\u0941\u0902 \u0928\u094D\u092F\u0942\u0928\u093E\u0924\u093F\u0928\u094D\u092F\u0942\u0928\u092E\u094D \u090F\u0915\u0902 \u092A\u094D\u0930\u092F\u094B\u091C\u0928\u0902 \u091A\u093F\u0928\u094B\u0924\u0941\u0964",
|
|
771
827
|
hintNothingEngaged: "\u092F\u0938\u094D\u092E\u0948 \u0909\u0924\u094D\u092A\u093E\u0926\u093E\u092F \u092D\u0935\u093E\u0928\u094D \u0938\u092E\u094D\u092E\u0924\u093F\u0902 \u0926\u0926\u093E\u0924\u093F \u0924\u0938\u094D\u092F \u092A\u094D\u0930\u092F\u094B\u091C\u0928\u0902 \u091A\u093F\u0928\u094B\u0924\u0941 \u092A\u0930\u093F\u0935\u0930\u094D\u0924\u092F\u0924\u0941 \u0935\u093E\u0964",
|
|
772
|
-
hintRequiredOutstanding: "\u0928\u093F\u0936\u094D\u091A\u0947\u0924\u0941\u092E\u094D \u0906\u0935\u0936\u094D\u092F\u0915\u093E\u0928\u093F \u092A\u094D\u0930\u092F\u094B\u091C\u0928\u093E\u0928\u093F \u0938\u094D\u0935\u0940\u0915\u0941\u0930\u094D\u0935\u0928\u094D\u0924\u0941\u0964"
|
|
828
|
+
hintRequiredOutstanding: "\u0928\u093F\u0936\u094D\u091A\u0947\u0924\u0941\u092E\u094D \u0906\u0935\u0936\u094D\u092F\u0915\u093E\u0928\u093F \u092A\u094D\u0930\u092F\u094B\u091C\u0928\u093E\u0928\u093F \u0938\u094D\u0935\u0940\u0915\u0941\u0930\u094D\u0935\u0928\u094D\u0924\u0941\u0964",
|
|
829
|
+
errorTitle: "\u0938\u092E\u094D\u092E\u0924\u093F\u0938\u0942\u091A\u0928\u093E\u092F\u093E\u0903 \u0906\u0930\u094B\u092A\u0923\u0947 \u0926\u094B\u0937\u0903",
|
|
830
|
+
errorMessage: "\u0938\u092E\u094D\u092E\u0924\u093F\u0938\u0942\u091A\u0928\u093E \u0906\u0930\u094B\u092A\u092F\u093F\u0924\u0941\u0902 \u0928 \u0936\u0915\u094D\u0924\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u0924\u0924\u093E\u092E\u094D\u0964",
|
|
831
|
+
errorRefresh: "\u0928\u0935\u0940\u0915\u0941\u0930\u0941",
|
|
832
|
+
errorClose: "\u0926\u094B\u0937\u0938\u0928\u094D\u0926\u0947\u0936\u0902 \u092A\u093F\u0927\u0947\u0939\u093F"
|
|
773
833
|
},
|
|
774
834
|
mai: {
|
|
775
835
|
yes: "\u0939\u0901",
|
|
@@ -790,7 +850,11 @@ var TRANSLATIONS = {
|
|
|
790
850
|
productPoliciesLabel: "\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0928\u0940\u0924\u093F:",
|
|
791
851
|
hintNothingChosen: "\u092A\u0941\u0937\u094D\u091F\u093F\u0915 \u0932\u0947\u0932 \u0915\u092E \u0938\u0901 \u0915\u092E \u090F\u0915\u091F\u093E \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091A\u0941\u0928\u0942\u0964",
|
|
792
852
|
hintNothingEngaged: "\u091C\u093E\u0939\u093F \u0909\u0924\u094D\u092A\u093E\u0926\u0915 \u0932\u0947\u0932 \u0905\u0939\u093E\u0901 \u0938\u0939\u092E\u0924\u093F \u0926 \u0930\u0939\u0932 \u091B\u0940, \u0913\u0915\u0930 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u091A\u0941\u0928\u0942 \u0935\u093E \u092C\u0926\u0932\u0942\u0964",
|
|
793
|
-
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F\u0915 \u0932\u0947\u0932 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u0942\u0964"
|
|
853
|
+
hintRequiredOutstanding: "\u092A\u0941\u0937\u094D\u091F\u093F\u0915 \u0932\u0947\u0932 \u0906\u0935\u0936\u094D\u092F\u0915 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u0942\u0964",
|
|
854
|
+
errorTitle: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0915\u0930\u092C\u093E\u092E\u0947 \u0924\u094D\u0930\u0941\u091F\u093F",
|
|
855
|
+
errorMessage: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0928\u0939\u093F \u092D' \u0938\u0915\u0932\u0964 \u0915\u0943\u092A\u092F\u093E \u092B\u0947\u0930 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0942\u0964",
|
|
856
|
+
errorRefresh: "\u0930\u093F\u092B\u094D\u0930\u0947\u0936 \u0915\u0930\u0942",
|
|
857
|
+
errorClose: "\u0924\u094D\u0930\u0941\u091F\u093F \u0938\u0902\u0926\u0947\u0936 \u092C\u0902\u0926 \u0915\u0930\u0942"
|
|
794
858
|
},
|
|
795
859
|
gom: {
|
|
796
860
|
yes: "\u0939\u0902\u092F",
|
|
@@ -811,7 +875,11 @@ var TRANSLATIONS = {
|
|
|
811
875
|
productPoliciesLabel: "\u0917\u0941\u092A\u093F\u0924\u092A\u0923 \u0927\u094B\u0930\u0923\u093E\u0902:",
|
|
812
876
|
hintNothingChosen: "\u0916\u093E\u0924\u094D\u0930\u0940 \u0915\u0930\u092A\u093E\u0915 \u0909\u0923\u0947\u0902\u0924 \u0909\u0923\u0947\u0902 \u090F\u0915 \u0909\u0926\u094D\u0926\u093F\u0936\u094D\u091F \u0928\u093F\u0935\u0921\u093E\u0924.",
|
|
813
877
|
hintNothingEngaged: "\u0924\u0941\u092E\u0940 \u091C\u093E\u091A\u094D\u092F\u093E \u0909\u0924\u094D\u092A\u093E\u0926\u0928\u093E\u0915 \u0938\u0902\u092E\u0924\u0940 \u0926\u093F\u0924\u093E\u0924 \u0924\u093E\u091A\u0947\u0902 \u0909\u0926\u094D\u0926\u093F\u0936\u094D\u091F \u0928\u093F\u0935\u0921\u093E\u0924 \u0935\u093E \u092C\u0926\u0932\u093E\u0924.",
|
|
814
|
-
hintRequiredOutstanding: "\u0916\u093E\u0924\u094D\u0930\u0940 \u0915\u0930\u092A\u093E\u0915 \u091C\u093E\u092F \u0906\u0936\u093F\u0932\u094D\u0932\u0940\u0902 \u0909\u0926\u094D\u0926\u093F\u0936\u094D\u091F\u093E\u0902 \u0938\u094D\u0935\u0940\u0915\u093E\u0930\u093E\u0924."
|
|
878
|
+
hintRequiredOutstanding: "\u0916\u093E\u0924\u094D\u0930\u0940 \u0915\u0930\u092A\u093E\u0915 \u091C\u093E\u092F \u0906\u0936\u093F\u0932\u094D\u0932\u0940\u0902 \u0909\u0926\u094D\u0926\u093F\u0936\u094D\u091F\u093E\u0902 \u0938\u094D\u0935\u0940\u0915\u093E\u0930\u093E\u0924.",
|
|
879
|
+
errorTitle: "\u0938\u0902\u092E\u0924\u0940 \u0938\u0941\u091A\u094B\u0935\u0923\u0940 \u0932\u094B\u0921 \u0915\u0930\u0924\u0928\u093E \u091A\u0942\u0915",
|
|
880
|
+
errorMessage: "\u0938\u0902\u092E\u0924\u0940 \u0938\u0941\u091A\u094B\u0935\u0923\u0940 \u0932\u094B\u0921 \u091C\u093E\u0935\u0902\u0915 \u0936\u0915\u0932\u0940 \u0928\u093E. \u0909\u092A\u0915\u093E\u0930 \u0915\u0930\u0942\u0928 \u092A\u0930\u0924 \u092F\u0924\u094D\u0928 \u0915\u0930\u093E\u0924.",
|
|
881
|
+
errorRefresh: "\u0930\u093F\u092B\u094D\u0930\u0947\u0936 \u0915\u0930\u093E\u0924",
|
|
882
|
+
errorClose: "\u091A\u0941\u0915\u0940\u091A\u094B \u0938\u0902\u0926\u0947\u0936 \u092C\u0902\u0926 \u0915\u0930\u093E\u0924"
|
|
815
883
|
},
|
|
816
884
|
doi: {
|
|
817
885
|
yes: "\u0939\u093E\u0901",
|
|
@@ -832,7 +900,11 @@ var TRANSLATIONS = {
|
|
|
832
900
|
productPoliciesLabel: "\u0928\u093F\u091C\u0924\u093E \u0928\u0940\u0924\u093F\u092F\u093E\u0902:",
|
|
833
901
|
hintNothingChosen: "\u092A\u0941\u0936\u094D\u091F\u0940 \u0906\u0938\u094D\u0924\u0948 \u0918\u091F\u094D\u091F\u094B\u0918\u091F\u094D\u091F \u0907\u0915 \u092E\u0915\u0938\u0926 \u091A\u0941\u0928\u094B\u0964",
|
|
834
902
|
hintNothingEngaged: "\u091C\u093F\u0938 \u0909\u0924\u094D\u092A\u093E\u0926 \u0906\u0938\u094D\u0924\u0948 \u0924\u0941\u0938 \u0938\u0939\u092E\u0924\u093F \u0926\u0947\u0906 \u0915\u0930\u0926\u0947 \u0913, \u0909\u0902\u0926\u093E \u092E\u0915\u0938\u0926 \u091A\u0941\u0928\u094B \u091C\u093E\u0902 \u092C\u0926\u0932\u094B\u0964",
|
|
835
|
-
hintRequiredOutstanding: "\u092A\u0941\u0936\u094D\u091F\u0940 \u0906\u0938\u094D\u0924\u0948 \u0932\u094B\u0921\u093C\u091A\u0926\u0947 \u092E\u0915\u0938\u0926 \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u094B\u0964"
|
|
903
|
+
hintRequiredOutstanding: "\u092A\u0941\u0936\u094D\u091F\u0940 \u0906\u0938\u094D\u0924\u0948 \u0932\u094B\u0921\u093C\u091A\u0926\u0947 \u092E\u0915\u0938\u0926 \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u094B\u0964",
|
|
904
|
+
errorTitle: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u091A \u0917\u0932\u0924\u0940",
|
|
905
|
+
errorMessage: "\u0938\u0939\u092E\u0924\u093F \u0938\u0942\u091A\u0928\u093E \u0932\u094B\u0921 \u0928\u0947\u0908\u0902 \u0939\u094B\u0908 \u0938\u0915\u0940\u0964 \u0915\u0943\u092A\u093E \u0915\u0930\u093F\u092F\u0948 \u092B\u094D\u0939\u0940 \u0915\u094B\u0936\u0936 \u0915\u0930\u094B\u0964",
|
|
906
|
+
errorRefresh: "\u0930\u093F\u092B\u094D\u0930\u0947\u0936 \u0915\u0930\u094B",
|
|
907
|
+
errorClose: "\u0917\u0932\u0924\u0940 \u0926\u093E \u0938\u0902\u0926\u0947\u0936 \u092C\u0902\u0926 \u0915\u0930\u094B"
|
|
836
908
|
},
|
|
837
909
|
brx: {
|
|
838
910
|
yes: "\u0928\u0902\u0917\u094C",
|
|
@@ -853,7 +925,11 @@ var TRANSLATIONS = {
|
|
|
853
925
|
productPoliciesLabel: "\u0917\u0941\u092C\u0948 \u0928\u0940\u0924\u093F:",
|
|
854
926
|
hintNothingChosen: "\u0925\u093F\u0915 \u0916\u093E\u0932\u093E\u092E\u0928\u094B \u0916\u092E\u0938\u093F\u0928 \u092E\u094B\u0928\u0938\u0947 \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F \u0938\u093E\u092F\u0916\u0964",
|
|
855
927
|
hintNothingEngaged: "\u0928\u094B\u0902\u0925\u093E\u0919\u093E \u0930\u093E\u091C\u093F \u0939\u094B\u0917\u093E\u0938\u093F\u0928\u094B \u0926\u0902 \u092C\u0948 \u092A\u094D\u0930'\u0921\u093E\u0915\u094D\u091F\u0928\u093F \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F\u0916\u094C \u0938\u093E\u092F\u0916 \u090F\u092C\u093E \u0938\u094B\u0932\u093E\u092F\u0964",
|
|
856
|
-
hintRequiredOutstanding: "\u0925\u093F\u0915 \u0916\u093E\u0932\u093E\u092E\u0928\u094B \u0928\u093E\u0902\u0917\u094C \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F\u092B\u094B\u0930\u0916\u094C \u0932\u093E\u0964"
|
|
928
|
+
hintRequiredOutstanding: "\u0925\u093F\u0915 \u0916\u093E\u0932\u093E\u092E\u0928\u094B \u0928\u093E\u0902\u0917\u094C \u0909\u0926\u094D\u0926\u0947\u0936\u094D\u092F\u092B\u094B\u0930\u0916\u094C \u0932\u093E\u0964",
|
|
929
|
+
errorTitle: "\u0917\u0928\u093E\u092F\u0925\u093F \u092B\u094B\u0930\u092E\u093E\u092F\u0928\u093E\u092F \u0932\u094B\u0921 \u0916\u093E\u0932\u093E\u092E\u0928\u093E\u092F\u093E\u0935 \u0917\u094B\u0930\u094B\u0928\u094D\u0925\u093F",
|
|
930
|
+
errorMessage: "\u0917\u0928\u093E\u092F\u0925\u093F \u092B\u094B\u0930\u092E\u093E\u092F\u0928\u093E\u092F \u0932\u094B\u0921 \u0916\u093E\u0932\u093E\u092E\u0928\u094B \u0939\u093E\u092F\u093E\u0916\u0948\u0964 \u0905\u0928\u0928\u093E\u0928\u0948 \u092B\u093F\u0928 \u0928\u093E\u091C\u093E\u0964",
|
|
931
|
+
errorRefresh: "\u0930\u093F\u092B\u094D\u0930\u0947\u0938 \u0916\u093E\u0932\u093E\u092E",
|
|
932
|
+
errorClose: "\u0917\u094B\u0930\u094B\u0928\u094D\u0925\u093F \u0916\u094C\u0930\u093E\u0902 \u092C\u0928\u094D\u0926 \u0916\u093E\u0932\u093E\u092E"
|
|
857
933
|
},
|
|
858
934
|
"mni-Mtei": {
|
|
859
935
|
yes: "\uABCD\uABE3\uABCF",
|
|
@@ -874,7 +950,11 @@ var TRANSLATIONS = {
|
|
|
874
950
|
productPoliciesLabel: "\uABD1\uABD4\uABE3\uABE0\uABC4\uABD2\uABE4 \uABC4\uABE5\uABDF\uABD7\uABDD\uABC1\uABE4\uABE1:",
|
|
875
951
|
hintNothingChosen: "\uABC6\uABE8\uABDD\uABC3\uABE4 \uABCD\uABE5\uABCC\uABC5\uABD5 \uABCC\uABE5\uABDD\uABC5 \uABCC\uABE5\uABDD\uABC5 \uABC4\uABE5\uABDF\uABD7\uABDD \uABD1\uABC3 \uABC8\uABDC\uABC2\uABE8\u0964",
|
|
876
952
|
hintNothingEngaged: "\uABC5\uABEA\uABC5 \uABD1\uABCC\uABE5\uABD5 \uABC4\uABE4\uABD4\uABE4\uABD5 \uABC4\uABED\uABD4\uABE3\uABD7\uABDB\uABE0 \uABD1\uABD7\uABE8\uABD2\uABE4 \uABC4\uABE5\uABDF\uABD7\uABDD \uABC8\uABDC\uABC2\uABE8 \uABC5\uABE0\uABD4\uABD2 \uABCD\uABE3\uABE1\uABD7\uABE3\uABDB\uABC2\uABE8\u0964",
|
|
877
|
-
hintRequiredOutstanding: "\uABC6\uABE8\uABDD\uABC3\uABE4 \uABCD\uABE5\uABCC\uABC5\uABD5 \uABD7\uABD4\uABC0\uABE5\uABD4 \uABD1\uABE3\uABCF\uABD5 \uABC4\uABE5\uABDF\uABD7\uABDD\uABC1\uABE4\uABE1 \uABCC\uABE5\uABD5\uABE4\uABCC\uABE8\u0964"
|
|
953
|
+
hintRequiredOutstanding: "\uABC6\uABE8\uABDD\uABC3\uABE4 \uABCD\uABE5\uABCC\uABC5\uABD5 \uABD7\uABD4\uABC0\uABE5\uABD4 \uABD1\uABE3\uABCF\uABD5 \uABC4\uABE5\uABDF\uABD7\uABDD\uABC1\uABE4\uABE1 \uABCC\uABE5\uABD5\uABE4\uABCC\uABE8\u0964",
|
|
954
|
+
errorTitle: "\uABD1\uABCC\uABE5\uABD5\uABD2\uABE4 \uABC8\uABEA\uABCD\uABDF\uABD5 \uABC2\uABE3\uABD7 \uABC7\uABE7\uABD5\uABD7 \uABD1\uABD4\uABE5\uABDF\uABD5",
|
|
955
|
+
errorMessage: "\uABD1\uABCC\uABE5\uABD5\uABD2\uABE4 \uABC8\uABEA\uABCD\uABDF\uABD5 \uABC2\uABE3\uABD7 \uABC7\uABE7\uABD5 \uABC9\uABC3\uABD7\uABE6\uABEB \uABD1\uABC3\uABE8\uABDB \uABCD\uABDF\uABC5 \uABCD\uABE3\uABE0\uABC5\uABD5\uABE4\uABCC\uABE8\uABEB",
|
|
956
|
+
errorRefresh: "\uABD4\uABE4\uABD0\uABED\uABD4\uABE6\uABC1 \uABC7\uABE7\uABD5\uABE4\uABCC\uABE8",
|
|
957
|
+
errorClose: "\uABD1\uABD4\uABE5\uABDF\uABD5 \uABC4\uABE5\uABCE\uABD6\uABE6\uABDC \uABCA\uABE4\uABE1\uABD5\uABE4\uABCC\uABE8"
|
|
878
958
|
},
|
|
879
959
|
sat: {
|
|
880
960
|
yes: "\u1C66\u1C5A\u1C6D",
|
|
@@ -895,7 +975,11 @@ var TRANSLATIONS = {
|
|
|
895
975
|
productPoliciesLabel: "\u1C71\u1C64\u1C61\u1C6E\u1C68\u1C5F\u1C5C \u1C71\u1C64\u1C5B\u1C64 \u1C60\u1C5A:",
|
|
896
976
|
hintNothingChosen: "\u1C5B\u1C77\u1C64\u1C60 \u1C5E\u1C5F\u1C79\u1C5C\u1C64\u1C6B \u1C60\u1C5A\u1C62 \u1C5B\u1C6E \u1C60\u1C5A\u1C62 \u1C62\u1C64\u1C6B \u1C69\u1C6B\u1C6B\u1C6E\u1C65\u1C6D \u1C75\u1C5F\u1C6A\u1C77\u1C5F\u1C63 \u1C62\u1C6E\u0964",
|
|
897
977
|
hintNothingEngaged: "\u1C5F\u1C62 \u1C68\u1C5F\u1C61\u1C64 \u1C6E\u1C62 \u1C60\u1C5F\u1C71 \u1C6F\u1C5A\u1C71\u1C5A\u1C5B \u1C68\u1C6E\u1C6D\u1C5F\u1C5C \u1C69\u1C6B\u1C6B\u1C6E\u1C65\u1C6D \u1C75\u1C5F\u1C6A\u1C77\u1C5F\u1C63 \u1C62\u1C6E \u1C5F\u1C68 \u1C75\u1C5F\u1C5D \u1C75\u1C5A\u1C6B\u1C5A\u1C5E \u1C62\u1C6E\u0964",
|
|
898
|
-
hintRequiredOutstanding: "\u1C5B\u1C77\u1C64\u1C60 \u1C5E\u1C5F\u1C79\u1C5C\u1C64\u1C6B \u1C61\u1C5F\u1C79\u1C68\u1C69\u1C68\u1C64 \u1C69\u1C6B\u1C6B\u1C6E\u1C65\u1C6D \u1C60\u1C5A \u1C66\u1C5F\u1C5B\u1C5F\u1C63 \u1C62\u1C6E\u0964"
|
|
978
|
+
hintRequiredOutstanding: "\u1C5B\u1C77\u1C64\u1C60 \u1C5E\u1C5F\u1C79\u1C5C\u1C64\u1C6B \u1C61\u1C5F\u1C79\u1C68\u1C69\u1C68\u1C64 \u1C69\u1C6B\u1C6B\u1C6E\u1C65\u1C6D \u1C60\u1C5A \u1C66\u1C5F\u1C5B\u1C5F\u1C63 \u1C62\u1C6E\u0964",
|
|
979
|
+
errorTitle: "\u1C5F\u1C79\u1C6D\u1C6B\u1C5F\u1C79\u1C68 \u1C65\u1C69\u1C6A\u1C71\u1C5F \u1C5E\u1C5A\u1C70 \u1C68\u1C6E \u1C75\u1C77\u1C69\u1C5E",
|
|
980
|
+
errorMessage: "\u1C5F\u1C79\u1C6D\u1C6B\u1C5F\u1C79\u1C68 \u1C65\u1C69\u1C6A\u1C71\u1C5F \u1C5E\u1C5A\u1C70 \u1C75\u1C5F\u1C5D \u1C66\u1C69\u1C6D \u1C6B\u1C5F\u1C72\u1C6E\u1C6D\u1C5F\u1C6B \u1C7E \u1C6B\u1C5F\u1C6D\u1C5F \u1C60\u1C5F\u1C5B\u1C6E \u1C6B\u1C69\u1C66\u1C72\u1C5F\u1C79 \u1C6A\u1C6E\u1C65\u1C74\u1C5F\u1C6D \u1C62\u1C6E \u1C7E",
|
|
981
|
+
errorRefresh: "\u1C68\u1C64\u1C6F\u1C77\u1C68\u1C6E\u1C65 \u1C62\u1C6E",
|
|
982
|
+
errorClose: "\u1C75\u1C77\u1C69\u1C5E \u1C60\u1C77\u1C5A\u1C75\u1C5A\u1C68 \u1C75\u1C5A\u1C78\u1C6B\u1C5A\u1C6D \u1C62\u1C6E"
|
|
899
983
|
},
|
|
900
984
|
sd: {
|
|
901
985
|
yes: "\u0647\u0627",
|
|
@@ -916,7 +1000,11 @@ var TRANSLATIONS = {
|
|
|
916
1000
|
productPoliciesLabel: "\u0631\u0627\u0632\u062F\u0627\u0631\u064A \u067E\u0627\u0644\u064A\u0633\u064A\u0648\u0646:",
|
|
917
1001
|
hintNothingChosen: "\u062A\u0635\u062F\u064A\u0642 \u0644\u0627\u0621\u0650 \u06AF\u0647\u067D \u06FE \u06AF\u0647\u067D \u0647\u06AA \u0645\u0642\u0635\u062F \u0686\u0648\u0646\u068A\u064A\u0648.",
|
|
918
1002
|
hintNothingEngaged: "\u062C\u0646\u0647\u0646 \u067E\u0631\u0627\u068A\u06AA\u067D \u0644\u0627\u0621\u0650 \u062A\u0648\u0647\u0627\u0646 \u0631\u0636\u0627\u0645\u0646\u062F\u064A \u068F\u0626\u064A \u0631\u0647\u064A\u0627 \u0622\u0647\u064A\u0648\u060C \u0627\u0646 \u062C\u0648 \u0645\u0642\u0635\u062F \u0686\u0648\u0646\u068A\u064A\u0648 \u064A\u0627 \u062A\u0628\u062F\u064A\u0644 \u06AA\u0631\u064A\u0648.",
|
|
919
|
-
hintRequiredOutstanding: "\u062A\u0635\u062F\u064A\u0642 \u0644\u0627\u0621\u0650 \u06AF\u0647\u0631\u0628\u0644 \u0645\u0642\u0635\u062F \u0642\u0628\u0648\u0644 \u06AA\u0631\u064A\u0648."
|
|
1003
|
+
hintRequiredOutstanding: "\u062A\u0635\u062F\u064A\u0642 \u0644\u0627\u0621\u0650 \u06AF\u0647\u0631\u0628\u0644 \u0645\u0642\u0635\u062F \u0642\u0628\u0648\u0644 \u06AA\u0631\u064A\u0648.",
|
|
1004
|
+
errorTitle: "\u0631\u0636\u0627\u0645\u0646\u062F\u064A\u0621\u064E \u062C\u0648 \u0646\u0648\u067D\u064A\u0633 \u0644\u0648\u068A \u06AA\u0631\u06BB \u06FE \u063A\u0644\u0637\u064A",
|
|
1005
|
+
errorMessage: "\u0631\u0636\u0627\u0645\u0646\u062F\u064A\u0621\u064E \u062C\u0648 \u0646\u0648\u067D\u064A\u0633 \u0644\u0648\u068A \u0646\u0647 \u067F\u064A \u0633\u06AF\u0647\u064A\u0648. \u0645\u0647\u0631\u0628\u0627\u0646\u064A \u06AA\u0631\u064A \u067B\u064A\u0647\u0631 \u06AA\u0648\u0634\u0634 \u06AA\u0631\u064A\u0648.",
|
|
1006
|
+
errorRefresh: "\u0631\u064A\u0641\u0631\u064A\u0634 \u06AA\u0631\u064A\u0648",
|
|
1007
|
+
errorClose: "\u063A\u0644\u0637\u064A\u0621\u064E \u062C\u0648 \u067E\u064A\u063A\u0627\u0645 \u0628\u0646\u062F \u06AA\u0631\u064A\u0648"
|
|
920
1008
|
},
|
|
921
1009
|
ks: {
|
|
922
1010
|
yes: "\u0622\u06C1\u0646",
|
|
@@ -937,7 +1025,11 @@ var TRANSLATIONS = {
|
|
|
937
1025
|
productPoliciesLabel: "\u0631\u0627\u0632\u062F\u0627\u0631\u06CC \u067E\u0627\u0644\u06CC\u0633\u06CC:",
|
|
938
1026
|
hintNothingChosen: "\u062A\u0635\u062F\u06CC\u0642\u06C1\u0655 \u062E\u0672\u0637\u0631\u0655 \u06A9\u0645 \u0627\u0632 \u06A9\u0645 \u0627\u06A9\u06BE \u0645\u0642\u0635\u062F \u0698\u0627\u0631\u06CC\u0648\u06D4",
|
|
939
1027
|
hintNothingEngaged: "\u06CC\u064E\u0645\u06C1 \u067E\u0631\u0627\u0688\u06A9\u0679\u0633 \u062E\u0672\u0637\u0631\u0655 \u062A\u0648\u06C1\u06C1\u0650 \u0686\u06BE\u0650\u0648 \u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u062F\u0650\u0648\u0627\u0646\u060C \u062A\u064E\u0645\u06C1 \u06C1\u064F\u0646\u065B\u062F \u0645\u0642\u0635\u062F \u0698\u0627\u0631\u06CC\u0648 \u06CC\u0627 \u0628\u062F\u0644\u0627\u0648\u06D4",
|
|
940
|
-
hintRequiredOutstanding: "\u062A\u0635\u062F\u06CC\u0642\u06C1\u0655 \u062E\u0672\u0637\u0631\u0655 \u0636\u0631\u0648\u0631\u06CC \u0645\u0642\u0635\u062F \u0642\u0628\u0648\u0644 \u06A9\u0631\u06CC\u0648\u06D4"
|
|
1028
|
+
hintRequiredOutstanding: "\u062A\u0635\u062F\u06CC\u0642\u06C1\u0655 \u062E\u0672\u0637\u0631\u0655 \u0636\u0631\u0648\u0631\u06CC \u0645\u0642\u0635\u062F \u0642\u0628\u0648\u0644 \u06A9\u0631\u06CC\u0648\u06D4",
|
|
1029
|
+
errorTitle: "\u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u0646\u0648\u0679\u0633 \u0644\u0648\u0688 \u06A9\u0631\u0646\u0633 \u0645\u0646\u065B\u0632 \u063A\u0644\u0637\u06CC",
|
|
1030
|
+
errorMessage: "\u0631\u0636\u0627\u0645\u0646\u062F\u06CC \u0646\u0648\u0679\u0633 \u06C1\u06CC\u0648\u065A\u06A9 \u0646\u06C1\u0655 \u0644\u0648\u0688 \u06AF\u0698\u0650\u062A\u06BE\u06D4 \u0645\u06C1\u0631\u0628\u0672\u0646\u06CC \u06A9\u0654\u0631\u0650\u062A\u06BE \u06A9\u0654\u0631\u0650\u0648 \u0628\u06CC\u065A\u06CC\u06C1\u0650 \u06A9\u0648\u0634\u0634\u06D4",
|
|
1031
|
+
errorRefresh: "\u0631\u06CC\u0641\u0631\u06CC\u0634 \u06A9\u0654\u0631\u0650\u0648",
|
|
1032
|
+
errorClose: "\u063A\u0644\u0637\u06CC \u06C1\u064F\u0646\u062F \u067E\u06CC\u063A\u0627\u0645 \u06A9\u0654\u0631\u0650\u0648 \u0628\u0646\u062F"
|
|
941
1033
|
}
|
|
942
1034
|
};
|
|
943
1035
|
|
|
@@ -1087,6 +1179,9 @@ var NOTICE_FONT_CSS = `
|
|
|
1087
1179
|
font-family: inherit;
|
|
1088
1180
|
}
|
|
1089
1181
|
`;
|
|
1182
|
+
var NOTICE_ERROR_COLOR = "#DC2626";
|
|
1183
|
+
var NOTICE_ERROR_COLOR_HOVER = "#B91C1C";
|
|
1184
|
+
var NOTICE_ERROR_BUTTON_TEXT_COLOR = "#FFFFFF";
|
|
1090
1185
|
|
|
1091
1186
|
// src/api/index.ts
|
|
1092
1187
|
var BASE_URL = DEFAULT_CONSENT_API_BASE_URL;
|
|
@@ -1648,6 +1743,7 @@ var TTS_TEXT_ATTRIBUTE = "data-redacto-tts-text";
|
|
|
1648
1743
|
var DEFAULT_NOTICE_CHROME = {
|
|
1649
1744
|
showsProductSection: true,
|
|
1650
1745
|
showsDataElements: true,
|
|
1746
|
+
showsDataElementControls: true,
|
|
1651
1747
|
descriptionPlacement: "always",
|
|
1652
1748
|
showsPurposeSectionHeading: true,
|
|
1653
1749
|
controlPosition: "right",
|
|
@@ -1667,6 +1763,7 @@ var noticeChromeOptions = (served) => {
|
|
|
1667
1763
|
return {
|
|
1668
1764
|
showsProductSection: served.show_product_section !== false,
|
|
1669
1765
|
showsDataElements: served.show_data_elements !== false,
|
|
1766
|
+
showsDataElementControls: served.show_data_element_controls !== false,
|
|
1670
1767
|
descriptionPlacement: placement != null ? placement : DEFAULT_NOTICE_CHROME.descriptionPlacement,
|
|
1671
1768
|
showsPurposeSectionHeading: served.show_purpose_section_heading !== false,
|
|
1672
1769
|
controlPosition: served.control_position === "left" ? "left" : "right",
|
|
@@ -2244,6 +2341,178 @@ var injectCheckboxStyles = (root) => {
|
|
|
2244
2341
|
}
|
|
2245
2342
|
};
|
|
2246
2343
|
|
|
2344
|
+
// src/core/required-marker.ts
|
|
2345
|
+
function createRequiredMarker(label = REQUIRED_MARKER_ARIA_LABEL) {
|
|
2346
|
+
return el(
|
|
2347
|
+
"span",
|
|
2348
|
+
{ style: REQUIRED_MARKER_STYLE, "aria-label": label },
|
|
2349
|
+
REQUIRED_MARKER_GLYPH
|
|
2350
|
+
);
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
// src/core/productMatrix.ts
|
|
2354
|
+
var productPurposeKey = (productUuid, purposeUuid) => productUuid ? `${productUuid}:${purposeUuid}` : purposeUuid;
|
|
2355
|
+
var purposeCoversProduct = (purpose, productUuid) => {
|
|
2356
|
+
const scope = purpose.product_uuids;
|
|
2357
|
+
if (!scope || scope.length === 0) return true;
|
|
2358
|
+
return scope.includes(productUuid);
|
|
2359
|
+
};
|
|
2360
|
+
var isMultiProduct = (products) => Boolean(products && products.length > 1);
|
|
2361
|
+
var purposeNamesProduct = (purpose, productUuid) => {
|
|
2362
|
+
var _a;
|
|
2363
|
+
return Boolean((_a = purpose.product_uuids) == null ? void 0 : _a.includes(productUuid));
|
|
2364
|
+
};
|
|
2365
|
+
var noticeScopesPurposes = (purposes) => purposes.some((purpose) => {
|
|
2366
|
+
var _a, _b;
|
|
2367
|
+
return ((_b = (_a = purpose.product_uuids) == null ? void 0 : _a.length) != null ? _b : 0) > 0;
|
|
2368
|
+
});
|
|
2369
|
+
var serverMarksMandatoryProducts = (products) => Boolean(
|
|
2370
|
+
products && products.length > 0 && products.every((product) => product.mandatory !== void 0)
|
|
2371
|
+
);
|
|
2372
|
+
var gatedProductUuids = (products) => new Set(
|
|
2373
|
+
(products != null ? products : []).filter((product) => product.mandatory === true).map((product) => product.uuid)
|
|
2374
|
+
);
|
|
2375
|
+
var rowProductUuid = (row, products) => {
|
|
2376
|
+
var _a;
|
|
2377
|
+
return (_a = row.productUuid) != null ? _a : (products == null ? void 0 : products.length) === 1 ? products[0].uuid : void 0;
|
|
2378
|
+
};
|
|
2379
|
+
var mandatoryProductsFirst = (products) => {
|
|
2380
|
+
const mandatory = products.filter((product) => product.mandatory === true);
|
|
2381
|
+
if (mandatory.length === 0 || mandatory.length === products.length) {
|
|
2382
|
+
return products;
|
|
2383
|
+
}
|
|
2384
|
+
return [
|
|
2385
|
+
...mandatory,
|
|
2386
|
+
...products.filter((product) => product.mandatory !== true)
|
|
2387
|
+
];
|
|
2388
|
+
};
|
|
2389
|
+
var inSavedOrder = (purposes, saved) => {
|
|
2390
|
+
if (!saved || saved.length === 0) return purposes;
|
|
2391
|
+
const byUuid = new Map(purposes.map((p) => [p.uuid, p]));
|
|
2392
|
+
const ordered = [];
|
|
2393
|
+
for (const uuid of saved) {
|
|
2394
|
+
const found = byUuid.get(uuid);
|
|
2395
|
+
if (found) ordered.push(found);
|
|
2396
|
+
}
|
|
2397
|
+
const rest = purposes.filter((p) => !saved.includes(p.uuid));
|
|
2398
|
+
return [...ordered, ...rest];
|
|
2399
|
+
};
|
|
2400
|
+
var groupPurposesByProduct = (products, purposes, order) => {
|
|
2401
|
+
if (!products || products.length === 0) return [];
|
|
2402
|
+
return mandatoryProductsFirst(products).map((product) => {
|
|
2403
|
+
const covered = purposes.filter(
|
|
2404
|
+
(purpose) => purposeCoversProduct(purpose, product.uuid)
|
|
2405
|
+
);
|
|
2406
|
+
return { product, purposes: inSavedOrder(covered, order == null ? void 0 : order[product.uuid]) };
|
|
2407
|
+
}).filter((group) => group.purposes.length > 0);
|
|
2408
|
+
};
|
|
2409
|
+
var expandPurposesByProduct = (products, purposes, order) => {
|
|
2410
|
+
if (!isMultiProduct(products)) return [];
|
|
2411
|
+
const rows = [];
|
|
2412
|
+
for (const group of groupPurposesByProduct(products, purposes, order)) {
|
|
2413
|
+
for (const purpose of group.purposes) {
|
|
2414
|
+
rows.push({ product: group.product, purpose });
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
return rows;
|
|
2418
|
+
};
|
|
2419
|
+
var noticePurposeRows = (products, purposes, order) => {
|
|
2420
|
+
if (!isMultiProduct(products)) {
|
|
2421
|
+
const sole = products == null ? void 0 : products[0];
|
|
2422
|
+
return inSavedOrder(purposes, sole ? order == null ? void 0 : order[sole.uuid] : void 0).map(
|
|
2423
|
+
(purpose) => ({ purpose, productUuid: void 0 })
|
|
2424
|
+
);
|
|
2425
|
+
}
|
|
2426
|
+
return expandPurposesByProduct(products, purposes, order).map((row) => ({
|
|
2427
|
+
purpose: row.purpose,
|
|
2428
|
+
productUuid: row.product.uuid
|
|
2429
|
+
}));
|
|
2430
|
+
};
|
|
2431
|
+
var purposesInRenderOrder = (products, purposes, order) => {
|
|
2432
|
+
const seen = /* @__PURE__ */ new Set();
|
|
2433
|
+
const ordered = [];
|
|
2434
|
+
for (const { purpose } of noticePurposeRows(products, purposes, order)) {
|
|
2435
|
+
if (!seen.has(purpose.uuid)) {
|
|
2436
|
+
seen.add(purpose.uuid);
|
|
2437
|
+
ordered.push(purpose);
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
return ordered;
|
|
2441
|
+
};
|
|
2442
|
+
|
|
2443
|
+
// src/appearance/constants.ts
|
|
2444
|
+
var STYLE_RADII = {
|
|
2445
|
+
classic: { modal: "8px", button: "8px", panel: "8px", control: "6px" },
|
|
2446
|
+
minimal: { modal: "4px", button: "4px", panel: "4px", control: "4px" },
|
|
2447
|
+
soft: { modal: "24px", button: "999px", panel: "16px", control: "12px" },
|
|
2448
|
+
glass: { modal: "28px", button: "999px", panel: "20px", control: "12px" }
|
|
2449
|
+
};
|
|
2450
|
+
var DEFAULT_ACCENT_COLOR = "#4f87ff";
|
|
2451
|
+
var DEFAULT_HEADING_COLOR = "#323B4B";
|
|
2452
|
+
var DEFAULT_TEXT_COLOR = "#344054";
|
|
2453
|
+
var DEFAULT_PURPOSE_SECTION_HEADING = "Manage What You Share";
|
|
2454
|
+
var GLASS_DESKTOP_CARD_WIDTH = "min(640px, calc(100% - 48px))";
|
|
2455
|
+
var SHEET_PANEL_GAP = "10px";
|
|
2456
|
+
var SOLID_SURFACE_DEFAULTS = {
|
|
2457
|
+
panel: "#ffffff",
|
|
2458
|
+
edge: "#e4e7ec",
|
|
2459
|
+
outline: "#d0d5dd"
|
|
2460
|
+
};
|
|
2461
|
+
var APPEARANCE_CACHE_KEY_PREFIX = "redacto_notice_appearance:";
|
|
2462
|
+
var LAYOUT_STYLE_ID = "redacto-notice-layout-styles";
|
|
2463
|
+
var GLASS_STYLE_ID = "redacto-notice-glass-styles";
|
|
2464
|
+
var SWITCH_STYLE_ID = "redacto-notice-switch-styles";
|
|
2465
|
+
var DOCK_ATTRIBUTE = "data-redacto-sheet";
|
|
2466
|
+
var DOCKED = "dock";
|
|
2467
|
+
var MOTION_ATTRIBUTE = "data-redacto-motion";
|
|
2468
|
+
var MOTION_OFF = "off";
|
|
2469
|
+
var NOTICE_ID_ATTRIBUTE = "data-redacto-notice-id";
|
|
2470
|
+
var CUSTOM_CSS_ATTRIBUTE = "data-redacto-notice-css";
|
|
2471
|
+
var CONTROL_ATTRIBUTE = "data-redacto-control";
|
|
2472
|
+
var SWITCH_CONTROL = "switch";
|
|
2473
|
+
var SWITCH_SIZES = {
|
|
2474
|
+
large: { width: 44, height: 26, thumb: 20 },
|
|
2475
|
+
medium: { width: 40, height: 24, thumb: 18 }
|
|
2476
|
+
};
|
|
2477
|
+
var SWITCH_THUMB_INSET = 3;
|
|
2478
|
+
var PX_LENGTH_RE = /^(\d+(?:\.\d+)?)px$/;
|
|
2479
|
+
var FONT_SIZE_PRECISION = 10;
|
|
2480
|
+
var DARK_SCHEME_QUERY = "(prefers-color-scheme: dark)";
|
|
2481
|
+
var CORNER_OFFSET = "24px";
|
|
2482
|
+
var BOTTOM_BAR_CONTENT_WIDTH = "1100px";
|
|
2483
|
+
var LOGO_WIDTH_RATIO = 4.375;
|
|
2484
|
+
var ACCORDION_NAME_MAX_CHARS = 80;
|
|
2485
|
+
var PART_ATTRIBUTE = "data-redacto-part";
|
|
2486
|
+
var NOTICE_KEYFRAMES = {
|
|
2487
|
+
rise: "redacto-notice-rise",
|
|
2488
|
+
float: "redacto-notice-float",
|
|
2489
|
+
/**
|
|
2490
|
+
* The float frames under a second name, for the desktop loader pill. The pill
|
|
2491
|
+
* and the card are one element; only a change of animation-name restarts the
|
|
2492
|
+
* entrance when the card replaces the pill.
|
|
2493
|
+
*/
|
|
2494
|
+
floatPill: "redacto-notice-float-pill",
|
|
2495
|
+
fade: "redacto-notice-fade",
|
|
2496
|
+
settle: "redacto-notice-settle",
|
|
2497
|
+
pop: "redacto-notice-pop",
|
|
2498
|
+
spin: "redacto-notice-spin"
|
|
2499
|
+
};
|
|
2500
|
+
var GLASS_ROW_CLASS = "redacto-glass-row";
|
|
2501
|
+
var GLASS_VARS = {
|
|
2502
|
+
accent: "--redacto-glass-accent",
|
|
2503
|
+
accentMid: "--redacto-glass-accent-mid",
|
|
2504
|
+
accentFaint: "--redacto-glass-accent-faint",
|
|
2505
|
+
track: "--redacto-glass-track",
|
|
2506
|
+
outline: "--redacto-glass-outline",
|
|
2507
|
+
hairline: "--redacto-glass-hairline",
|
|
2508
|
+
control: "--redacto-glass-control"
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2511
|
+
// src/appearance/parts.ts
|
|
2512
|
+
var part = (name) => ({
|
|
2513
|
+
[PART_ATTRIBUTE]: name
|
|
2514
|
+
});
|
|
2515
|
+
|
|
2247
2516
|
// src/styles/modal.ts
|
|
2248
2517
|
var visuallyHidden = {
|
|
2249
2518
|
position: "absolute",
|
|
@@ -2593,6 +2862,11 @@ var styles = {
|
|
|
2593
2862
|
dataElementItemLeading: {
|
|
2594
2863
|
justifyContent: "flex-start"
|
|
2595
2864
|
},
|
|
2865
|
+
// The data elements with no tick of their own, as one comma-separated line
|
|
2866
|
+
// that wraps like prose.
|
|
2867
|
+
dataElementList: {
|
|
2868
|
+
display: "block"
|
|
2869
|
+
},
|
|
2596
2870
|
// Applied only where the control is taller than a checkbox: a yes/no pair,
|
|
2597
2871
|
// a dropdown or a switch. Unconditionally these leave the checkbox rows
|
|
2598
2872
|
// loose.
|
|
@@ -2835,221 +3109,49 @@ var styles = {
|
|
|
2835
3109
|
boxSizing: "border-box"
|
|
2836
3110
|
},
|
|
2837
3111
|
sectionHeader: {
|
|
2838
|
-
display: "flex",
|
|
2839
|
-
justifyContent: "space-between",
|
|
2840
|
-
alignItems: "center",
|
|
2841
|
-
margin: "0 0 8px",
|
|
2842
|
-
padding: 0,
|
|
2843
|
-
boxSizing: "border-box"
|
|
2844
|
-
},
|
|
2845
|
-
sectionBody: {
|
|
2846
|
-
paddingLeft: "18px",
|
|
2847
|
-
margin: "0 0 14px",
|
|
2848
|
-
boxSizing: "border-box"
|
|
2849
|
-
},
|
|
2850
|
-
sectionTitle: {
|
|
2851
|
-
fontWeight: 600,
|
|
2852
|
-
fontSize: "17px",
|
|
2853
|
-
lineHeight: "150%",
|
|
2854
|
-
letterSpacing: "0.2px",
|
|
2855
|
-
margin: 0,
|
|
2856
|
-
padding: 0,
|
|
2857
|
-
textAlign: "left"
|
|
2858
|
-
},
|
|
2859
|
-
chevronButton: {
|
|
2860
|
-
background: "none",
|
|
2861
|
-
border: "none",
|
|
2862
|
-
padding: 0,
|
|
2863
|
-
margin: 0,
|
|
2864
|
-
cursor: "pointer",
|
|
2865
|
-
display: "flex",
|
|
2866
|
-
alignItems: "center"
|
|
2867
|
-
},
|
|
2868
|
-
confirmHint: {
|
|
2869
|
-
fontSize: "13px",
|
|
2870
|
-
lineHeight: "18px",
|
|
2871
|
-
color: "#6b6b6b",
|
|
2872
|
-
margin: 0,
|
|
2873
|
-
paddingTop: "12px",
|
|
2874
|
-
boxSizing: "border-box"
|
|
2875
|
-
},
|
|
2876
|
-
// The required-purposes hint the console switched off: it still describes
|
|
2877
|
-
// the held Accept selected button.
|
|
2878
|
-
confirmHintHidden: visuallyHidden
|
|
2879
|
-
};
|
|
2880
|
-
|
|
2881
|
-
// src/core/required-marker.ts
|
|
2882
|
-
function createRequiredMarker(label = REQUIRED_MARKER_ARIA_LABEL) {
|
|
2883
|
-
return el(
|
|
2884
|
-
"span",
|
|
2885
|
-
{ style: REQUIRED_MARKER_STYLE, "aria-label": label },
|
|
2886
|
-
REQUIRED_MARKER_GLYPH
|
|
2887
|
-
);
|
|
2888
|
-
}
|
|
2889
|
-
|
|
2890
|
-
// src/core/productMatrix.ts
|
|
2891
|
-
var productPurposeKey = (productUuid, purposeUuid) => productUuid ? `${productUuid}:${purposeUuid}` : purposeUuid;
|
|
2892
|
-
var purposeCoversProduct = (purpose, productUuid) => {
|
|
2893
|
-
const scope = purpose.product_uuids;
|
|
2894
|
-
if (!scope || scope.length === 0) return true;
|
|
2895
|
-
return scope.includes(productUuid);
|
|
2896
|
-
};
|
|
2897
|
-
var isMultiProduct = (products) => Boolean(products && products.length > 1);
|
|
2898
|
-
var purposeNamesProduct = (purpose, productUuid) => {
|
|
2899
|
-
var _a;
|
|
2900
|
-
return Boolean((_a = purpose.product_uuids) == null ? void 0 : _a.includes(productUuid));
|
|
2901
|
-
};
|
|
2902
|
-
var noticeScopesPurposes = (purposes) => purposes.some((purpose) => {
|
|
2903
|
-
var _a, _b;
|
|
2904
|
-
return ((_b = (_a = purpose.product_uuids) == null ? void 0 : _a.length) != null ? _b : 0) > 0;
|
|
2905
|
-
});
|
|
2906
|
-
var serverMarksMandatoryProducts = (products) => Boolean(
|
|
2907
|
-
products && products.length > 0 && products.every((product) => product.mandatory !== void 0)
|
|
2908
|
-
);
|
|
2909
|
-
var gatedProductUuids = (products) => new Set(
|
|
2910
|
-
(products != null ? products : []).filter((product) => product.mandatory === true).map((product) => product.uuid)
|
|
2911
|
-
);
|
|
2912
|
-
var rowProductUuid = (row, products) => {
|
|
2913
|
-
var _a;
|
|
2914
|
-
return (_a = row.productUuid) != null ? _a : (products == null ? void 0 : products.length) === 1 ? products[0].uuid : void 0;
|
|
2915
|
-
};
|
|
2916
|
-
var mandatoryProductsFirst = (products) => {
|
|
2917
|
-
const mandatory = products.filter((product) => product.mandatory === true);
|
|
2918
|
-
if (mandatory.length === 0 || mandatory.length === products.length) {
|
|
2919
|
-
return products;
|
|
2920
|
-
}
|
|
2921
|
-
return [
|
|
2922
|
-
...mandatory,
|
|
2923
|
-
...products.filter((product) => product.mandatory !== true)
|
|
2924
|
-
];
|
|
2925
|
-
};
|
|
2926
|
-
var inSavedOrder = (purposes, saved) => {
|
|
2927
|
-
if (!saved || saved.length === 0) return purposes;
|
|
2928
|
-
const byUuid = new Map(purposes.map((p) => [p.uuid, p]));
|
|
2929
|
-
const ordered = [];
|
|
2930
|
-
for (const uuid of saved) {
|
|
2931
|
-
const found = byUuid.get(uuid);
|
|
2932
|
-
if (found) ordered.push(found);
|
|
2933
|
-
}
|
|
2934
|
-
const rest = purposes.filter((p) => !saved.includes(p.uuid));
|
|
2935
|
-
return [...ordered, ...rest];
|
|
2936
|
-
};
|
|
2937
|
-
var groupPurposesByProduct = (products, purposes, order) => {
|
|
2938
|
-
if (!products || products.length === 0) return [];
|
|
2939
|
-
return mandatoryProductsFirst(products).map((product) => {
|
|
2940
|
-
const covered = purposes.filter(
|
|
2941
|
-
(purpose) => purposeCoversProduct(purpose, product.uuid)
|
|
2942
|
-
);
|
|
2943
|
-
return { product, purposes: inSavedOrder(covered, order == null ? void 0 : order[product.uuid]) };
|
|
2944
|
-
}).filter((group) => group.purposes.length > 0);
|
|
2945
|
-
};
|
|
2946
|
-
var expandPurposesByProduct = (products, purposes, order) => {
|
|
2947
|
-
if (!isMultiProduct(products)) return [];
|
|
2948
|
-
const rows = [];
|
|
2949
|
-
for (const group of groupPurposesByProduct(products, purposes, order)) {
|
|
2950
|
-
for (const purpose of group.purposes) {
|
|
2951
|
-
rows.push({ product: group.product, purpose });
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2954
|
-
return rows;
|
|
2955
|
-
};
|
|
2956
|
-
var noticePurposeRows = (products, purposes, order) => {
|
|
2957
|
-
if (!isMultiProduct(products)) {
|
|
2958
|
-
const sole = products == null ? void 0 : products[0];
|
|
2959
|
-
return inSavedOrder(purposes, sole ? order == null ? void 0 : order[sole.uuid] : void 0).map(
|
|
2960
|
-
(purpose) => ({ purpose, productUuid: void 0 })
|
|
2961
|
-
);
|
|
2962
|
-
}
|
|
2963
|
-
return expandPurposesByProduct(products, purposes, order).map((row) => ({
|
|
2964
|
-
purpose: row.purpose,
|
|
2965
|
-
productUuid: row.product.uuid
|
|
2966
|
-
}));
|
|
2967
|
-
};
|
|
2968
|
-
var purposesInRenderOrder = (products, purposes, order) => {
|
|
2969
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2970
|
-
const ordered = [];
|
|
2971
|
-
for (const { purpose } of noticePurposeRows(products, purposes, order)) {
|
|
2972
|
-
if (!seen.has(purpose.uuid)) {
|
|
2973
|
-
seen.add(purpose.uuid);
|
|
2974
|
-
ordered.push(purpose);
|
|
2975
|
-
}
|
|
2976
|
-
}
|
|
2977
|
-
return ordered;
|
|
2978
|
-
};
|
|
2979
|
-
|
|
2980
|
-
// src/appearance/constants.ts
|
|
2981
|
-
var STYLE_RADII = {
|
|
2982
|
-
classic: { modal: "8px", button: "8px", panel: "8px", control: "6px" },
|
|
2983
|
-
minimal: { modal: "4px", button: "4px", panel: "4px", control: "4px" },
|
|
2984
|
-
soft: { modal: "24px", button: "999px", panel: "16px", control: "12px" },
|
|
2985
|
-
glass: { modal: "28px", button: "999px", panel: "20px", control: "12px" }
|
|
2986
|
-
};
|
|
2987
|
-
var DEFAULT_ACCENT_COLOR = "#4f87ff";
|
|
2988
|
-
var DEFAULT_HEADING_COLOR = "#323B4B";
|
|
2989
|
-
var DEFAULT_TEXT_COLOR = "#344054";
|
|
2990
|
-
var DEFAULT_PURPOSE_SECTION_HEADING = "Manage What You Share";
|
|
2991
|
-
var GLASS_DESKTOP_CARD_WIDTH = "min(640px, calc(100% - 48px))";
|
|
2992
|
-
var SHEET_PANEL_GAP = "10px";
|
|
2993
|
-
var SOLID_SURFACE_DEFAULTS = {
|
|
2994
|
-
panel: "#ffffff",
|
|
2995
|
-
edge: "#e4e7ec",
|
|
2996
|
-
outline: "#d0d5dd"
|
|
2997
|
-
};
|
|
2998
|
-
var APPEARANCE_CACHE_KEY_PREFIX = "redacto_notice_appearance:";
|
|
2999
|
-
var LAYOUT_STYLE_ID = "redacto-notice-layout-styles";
|
|
3000
|
-
var GLASS_STYLE_ID = "redacto-notice-glass-styles";
|
|
3001
|
-
var SWITCH_STYLE_ID = "redacto-notice-switch-styles";
|
|
3002
|
-
var DOCK_ATTRIBUTE = "data-redacto-sheet";
|
|
3003
|
-
var DOCKED = "dock";
|
|
3004
|
-
var MOTION_ATTRIBUTE = "data-redacto-motion";
|
|
3005
|
-
var MOTION_OFF = "off";
|
|
3006
|
-
var NOTICE_ID_ATTRIBUTE = "data-redacto-notice-id";
|
|
3007
|
-
var CUSTOM_CSS_ATTRIBUTE = "data-redacto-notice-css";
|
|
3008
|
-
var CONTROL_ATTRIBUTE = "data-redacto-control";
|
|
3009
|
-
var SWITCH_CONTROL = "switch";
|
|
3010
|
-
var SWITCH_SIZES = {
|
|
3011
|
-
large: { width: 44, height: 26, thumb: 20 },
|
|
3012
|
-
medium: { width: 40, height: 24, thumb: 18 }
|
|
3013
|
-
};
|
|
3014
|
-
var SWITCH_THUMB_INSET = 3;
|
|
3015
|
-
var PX_LENGTH_RE = /^(\d+(?:\.\d+)?)px$/;
|
|
3016
|
-
var FONT_SIZE_PRECISION = 10;
|
|
3017
|
-
var DARK_SCHEME_QUERY = "(prefers-color-scheme: dark)";
|
|
3018
|
-
var CORNER_OFFSET = "24px";
|
|
3019
|
-
var BOTTOM_BAR_CONTENT_WIDTH = "1100px";
|
|
3020
|
-
var LOGO_WIDTH_RATIO = 4.375;
|
|
3021
|
-
var ACCORDION_NAME_MAX_CHARS = 80;
|
|
3022
|
-
var PART_ATTRIBUTE = "data-redacto-part";
|
|
3023
|
-
var NOTICE_KEYFRAMES = {
|
|
3024
|
-
rise: "redacto-notice-rise",
|
|
3025
|
-
float: "redacto-notice-float",
|
|
3026
|
-
/**
|
|
3027
|
-
* The float frames under a second name, for the desktop loader pill. The pill
|
|
3028
|
-
* and the card are one element; only a change of animation-name restarts the
|
|
3029
|
-
* entrance when the card replaces the pill.
|
|
3030
|
-
*/
|
|
3031
|
-
floatPill: "redacto-notice-float-pill",
|
|
3032
|
-
fade: "redacto-notice-fade",
|
|
3033
|
-
settle: "redacto-notice-settle",
|
|
3034
|
-
pop: "redacto-notice-pop",
|
|
3035
|
-
spin: "redacto-notice-spin"
|
|
3036
|
-
};
|
|
3037
|
-
var GLASS_ROW_CLASS = "redacto-glass-row";
|
|
3038
|
-
var GLASS_VARS = {
|
|
3039
|
-
accent: "--redacto-glass-accent",
|
|
3040
|
-
accentMid: "--redacto-glass-accent-mid",
|
|
3041
|
-
accentFaint: "--redacto-glass-accent-faint",
|
|
3042
|
-
track: "--redacto-glass-track",
|
|
3043
|
-
outline: "--redacto-glass-outline",
|
|
3044
|
-
hairline: "--redacto-glass-hairline",
|
|
3045
|
-
control: "--redacto-glass-control"
|
|
3112
|
+
display: "flex",
|
|
3113
|
+
justifyContent: "space-between",
|
|
3114
|
+
alignItems: "center",
|
|
3115
|
+
margin: "0 0 8px",
|
|
3116
|
+
padding: 0,
|
|
3117
|
+
boxSizing: "border-box"
|
|
3118
|
+
},
|
|
3119
|
+
sectionBody: {
|
|
3120
|
+
paddingLeft: "18px",
|
|
3121
|
+
margin: "0 0 14px",
|
|
3122
|
+
boxSizing: "border-box"
|
|
3123
|
+
},
|
|
3124
|
+
sectionTitle: {
|
|
3125
|
+
fontWeight: 600,
|
|
3126
|
+
fontSize: "17px",
|
|
3127
|
+
lineHeight: "150%",
|
|
3128
|
+
letterSpacing: "0.2px",
|
|
3129
|
+
margin: 0,
|
|
3130
|
+
padding: 0,
|
|
3131
|
+
textAlign: "left"
|
|
3132
|
+
},
|
|
3133
|
+
chevronButton: {
|
|
3134
|
+
background: "none",
|
|
3135
|
+
border: "none",
|
|
3136
|
+
padding: 0,
|
|
3137
|
+
margin: 0,
|
|
3138
|
+
cursor: "pointer",
|
|
3139
|
+
display: "flex",
|
|
3140
|
+
alignItems: "center"
|
|
3141
|
+
},
|
|
3142
|
+
confirmHint: {
|
|
3143
|
+
fontSize: "13px",
|
|
3144
|
+
lineHeight: "18px",
|
|
3145
|
+
color: "#6b6b6b",
|
|
3146
|
+
margin: 0,
|
|
3147
|
+
paddingTop: "12px",
|
|
3148
|
+
boxSizing: "border-box"
|
|
3149
|
+
},
|
|
3150
|
+
// The required-purposes hint the console switched off: it still describes
|
|
3151
|
+
// the held Accept selected button.
|
|
3152
|
+
confirmHintHidden: visuallyHidden
|
|
3046
3153
|
};
|
|
3047
3154
|
|
|
3048
|
-
// src/appearance/parts.ts
|
|
3049
|
-
var part = (name) => ({
|
|
3050
|
-
[PART_ATTRIBUTE]: name
|
|
3051
|
-
});
|
|
3052
|
-
|
|
3053
3155
|
// src/modal/consentSelection.ts
|
|
3054
3156
|
var dataElementKey = (purposeUuid, elementUuid, productUuid) => `${productPurposeKey(productUuid, purposeUuid)}-${elementUuid}`;
|
|
3055
3157
|
var buildSelectionForMode = (rows, mode, current) => {
|
|
@@ -3073,6 +3175,10 @@ var seededDataElements = (purpose) => {
|
|
|
3073
3175
|
const granted = mandatory.length > 0 ? mandatory : purpose.data_elements.filter((element) => element.enabled);
|
|
3074
3176
|
return new Set(granted.map((element) => element.uuid));
|
|
3075
3177
|
};
|
|
3178
|
+
var liveDataElements = (purpose) => new Set(
|
|
3179
|
+
purpose.data_elements.filter((element) => element.enabled).map((element) => element.uuid)
|
|
3180
|
+
);
|
|
3181
|
+
var tickGrantFor = (showsDataElementControls) => showsDataElementControls ? seededDataElements : liveDataElements;
|
|
3076
3182
|
|
|
3077
3183
|
// src/modal/chromeCopy.ts
|
|
3078
3184
|
var primaryOf = (tag) => tag.split("-")[0].toLowerCase();
|
|
@@ -3094,6 +3200,15 @@ var noticeChromeCopy = (language) => {
|
|
|
3094
3200
|
const bundle = bundleFor(code);
|
|
3095
3201
|
return bundle ? { ...NOTICE_CHROME_EN, ...bundle } : NOTICE_CHROME_EN;
|
|
3096
3202
|
};
|
|
3203
|
+
var noticeChromeLanguage = (language) => {
|
|
3204
|
+
var _a;
|
|
3205
|
+
const code = toLanguageCode(language);
|
|
3206
|
+
if (!code) {
|
|
3207
|
+
return "en";
|
|
3208
|
+
}
|
|
3209
|
+
const bundle = bundleFor(code);
|
|
3210
|
+
return bundle ? (_a = Object.keys(TRANSLATIONS).find((key) => TRANSLATIONS[key] === bundle)) != null ? _a : "en" : "en";
|
|
3211
|
+
};
|
|
3097
3212
|
var savedAnswerLabel = (copy, answer) => copy.savedAnswer.replace("{answer}", answer);
|
|
3098
3213
|
var NOTICE_CHROME_LANGUAGES = Object.keys(TRANSLATIONS);
|
|
3099
3214
|
|
|
@@ -3547,6 +3662,16 @@ function renderModalPurposes(purposes, options) {
|
|
|
3547
3662
|
deContainer.appendChild(descEl);
|
|
3548
3663
|
}
|
|
3549
3664
|
if (hasDataElements) {
|
|
3665
|
+
const elementList = chrome.showsDataElementControls ? null : el("div", {
|
|
3666
|
+
...part("data-element"),
|
|
3667
|
+
style: {
|
|
3668
|
+
...styles2.dataElementItem,
|
|
3669
|
+
...styles2.dataElementText,
|
|
3670
|
+
...responsive.dataElementText,
|
|
3671
|
+
...styles2.dataElementList,
|
|
3672
|
+
color: textColor
|
|
3673
|
+
}
|
|
3674
|
+
});
|
|
3550
3675
|
for (const dataElement of purpose.data_elements) {
|
|
3551
3676
|
const combinedId = `${stateKey}-${dataElement.uuid}`;
|
|
3552
3677
|
const elementName = getTranslatedText("data_elements.name", dataElement.name, dataElement.uuid);
|
|
@@ -3563,6 +3688,13 @@ function renderModalPurposes(purposes, options) {
|
|
|
3563
3688
|
if (isBlockingRequiredElement(dataElement)) {
|
|
3564
3689
|
labelSpan.appendChild(createRequiredMarker());
|
|
3565
3690
|
}
|
|
3691
|
+
if (elementList) {
|
|
3692
|
+
if (elementList.childNodes.length > 0) {
|
|
3693
|
+
elementList.appendChild(document.createTextNode(", "));
|
|
3694
|
+
}
|
|
3695
|
+
elementList.appendChild(labelSpan);
|
|
3696
|
+
continue;
|
|
3697
|
+
}
|
|
3566
3698
|
let deRightElement;
|
|
3567
3699
|
if (!locked) {
|
|
3568
3700
|
const control = renderSelectionControl({
|
|
@@ -3603,6 +3735,9 @@ function renderModalPurposes(purposes, options) {
|
|
|
3603
3735
|
);
|
|
3604
3736
|
deContainer.appendChild(deRow);
|
|
3605
3737
|
}
|
|
3738
|
+
if (elementList) {
|
|
3739
|
+
deContainer.appendChild(elementList);
|
|
3740
|
+
}
|
|
3606
3741
|
}
|
|
3607
3742
|
purposeWrapper.appendChild(optionRow);
|
|
3608
3743
|
if (hasDisclosure) {
|
|
@@ -5064,17 +5199,17 @@ var productBoxPurposes = (purposes) => {
|
|
|
5064
5199
|
const required = purposes.filter(hasRequiredDataElement);
|
|
5065
5200
|
return required.length > 0 ? required : [...purposes];
|
|
5066
5201
|
};
|
|
5067
|
-
var purposeToggle = (purpose, productUuid, selectedPurposes) => {
|
|
5202
|
+
var purposeToggle = (purpose, productUuid, selectedPurposes, grants = seededDataElements) => {
|
|
5068
5203
|
const key = productPurposeKey(productUuid, purpose.uuid);
|
|
5069
5204
|
const nextState = !selectedPurposes[key];
|
|
5070
|
-
const seeded =
|
|
5205
|
+
const seeded = grants(purpose);
|
|
5071
5206
|
const selectedDataElements = {};
|
|
5072
5207
|
purpose.data_elements.forEach((element) => {
|
|
5073
5208
|
selectedDataElements[`${key}-${element.uuid}`] = nextState && seeded.has(element.uuid);
|
|
5074
5209
|
});
|
|
5075
5210
|
return { selectedPurposes: { [key]: nextState }, selectedDataElements };
|
|
5076
5211
|
};
|
|
5077
|
-
var sectionToggle = (sectionPurposes, keyProductUuid, selectedPurposes, next) => {
|
|
5212
|
+
var sectionToggle = (sectionPurposes, keyProductUuid, selectedPurposes, next, grants = seededDataElements) => {
|
|
5078
5213
|
const nextState = next != null ? next : !sectionPurposes.every(
|
|
5079
5214
|
(purpose) => selectedPurposes[productPurposeKey(keyProductUuid, purpose.uuid)]
|
|
5080
5215
|
);
|
|
@@ -5083,7 +5218,7 @@ var sectionToggle = (sectionPurposes, keyProductUuid, selectedPurposes, next) =>
|
|
|
5083
5218
|
sectionPurposes.forEach((purpose) => {
|
|
5084
5219
|
const key = productPurposeKey(keyProductUuid, purpose.uuid);
|
|
5085
5220
|
purposeOverrides[key] = nextState;
|
|
5086
|
-
const seeded =
|
|
5221
|
+
const seeded = grants(purpose);
|
|
5087
5222
|
purpose.data_elements.forEach((element) => {
|
|
5088
5223
|
elementOverrides[`${key}-${element.uuid}`] = nextState && seeded.has(element.uuid);
|
|
5089
5224
|
});
|
|
@@ -6053,7 +6188,7 @@ var hasRecordedPurposeState = (selection) => {
|
|
|
6053
6188
|
}
|
|
6054
6189
|
return Object.keys((_a = selection.data_elements) != null ? _a : {}).length > 0;
|
|
6055
6190
|
};
|
|
6056
|
-
var buildPreselection = (purposes, mode) => {
|
|
6191
|
+
var buildPreselection = (purposes, mode, grants = seededDataElements) => {
|
|
6057
6192
|
if (mode === "ALL") {
|
|
6058
6193
|
return buildSelectionForMode(
|
|
6059
6194
|
purposes.map((purpose) => ({ purpose, productUuid: void 0 })),
|
|
@@ -6064,20 +6199,21 @@ var buildPreselection = (purposes, mode) => {
|
|
|
6064
6199
|
const selectedPurposes = {};
|
|
6065
6200
|
const selectedDataElements = {};
|
|
6066
6201
|
purposes.forEach((purpose) => {
|
|
6067
|
-
|
|
6202
|
+
const isPreselected = mode === "MANDATORY" && hasRequiredDataElement(purpose);
|
|
6203
|
+
const granted = isPreselected ? grants(purpose) : void 0;
|
|
6068
6204
|
purpose.data_elements.forEach((element) => {
|
|
6069
|
-
|
|
6070
|
-
selectedDataElements[dataElementKey(purpose.uuid, element.uuid)] =
|
|
6071
|
-
hasPreselectedElement = hasPreselectedElement || isPreselected;
|
|
6205
|
+
var _a;
|
|
6206
|
+
selectedDataElements[dataElementKey(purpose.uuid, element.uuid)] = (_a = granted == null ? void 0 : granted.has(element.uuid)) != null ? _a : false;
|
|
6072
6207
|
});
|
|
6073
|
-
selectedPurposes[purpose.uuid] =
|
|
6208
|
+
selectedPurposes[purpose.uuid] = isPreselected;
|
|
6074
6209
|
});
|
|
6075
6210
|
return { selectedPurposes, selectedDataElements };
|
|
6076
6211
|
};
|
|
6077
|
-
var openingSelection = (purposes, preselection, recordedFor) => {
|
|
6212
|
+
var openingSelection = (purposes, preselection, recordedFor, grants = seededDataElements) => {
|
|
6078
6213
|
const hint = buildPreselection(
|
|
6079
6214
|
purposes,
|
|
6080
|
-
resolvePurposePreselection(preselection)
|
|
6215
|
+
resolvePurposePreselection(preselection),
|
|
6216
|
+
grants
|
|
6081
6217
|
);
|
|
6082
6218
|
const isRecorded = (purposeUuid, productUuid) => hasRecordedPurposeState(recordedFor(purposeUuid, productUuid));
|
|
6083
6219
|
return {
|
|
@@ -6091,11 +6227,12 @@ var openingSelection = (purposes, preselection, recordedFor) => {
|
|
|
6091
6227
|
}
|
|
6092
6228
|
};
|
|
6093
6229
|
};
|
|
6094
|
-
var applyPreselection = (rows, preselection, recordedFor, seeded) => {
|
|
6230
|
+
var applyPreselection = (rows, preselection, recordedFor, seeded, grants = seededDataElements) => {
|
|
6095
6231
|
const opening = openingSelection(
|
|
6096
6232
|
rows.map((row) => row.purpose),
|
|
6097
6233
|
preselection,
|
|
6098
|
-
recordedFor
|
|
6234
|
+
recordedFor,
|
|
6235
|
+
grants
|
|
6099
6236
|
);
|
|
6100
6237
|
const selectedPurposes = { ...seeded.selectedPurposes };
|
|
6101
6238
|
const selectedDataElements = { ...seeded.selectedDataElements };
|
|
@@ -6129,7 +6266,194 @@ var preselectionForRows = (rows, preselection) => {
|
|
|
6129
6266
|
return { selectedPurposes, selectedDataElements };
|
|
6130
6267
|
};
|
|
6131
6268
|
|
|
6269
|
+
// src/privacy-center-native/shared/font-catalogue.generated.ts
|
|
6270
|
+
var NOTICE_FONT_CATALOGUE2 = [
|
|
6271
|
+
{
|
|
6272
|
+
id: "montserrat",
|
|
6273
|
+
slug: "montserrat",
|
|
6274
|
+
value: "Montserrat",
|
|
6275
|
+
label: "Montserrat",
|
|
6276
|
+
cssFamily: "Montserrat",
|
|
6277
|
+
stack: 'Montserrat, "Trebuchet MS", "Segoe UI", Arial, sans-serif',
|
|
6278
|
+
genericFallback: "sans-serif",
|
|
6279
|
+
source: "webfont",
|
|
6280
|
+
weights: [400, 500, 600, 700],
|
|
6281
|
+
formats: ["woff2", "ttf"]
|
|
6282
|
+
},
|
|
6283
|
+
{
|
|
6284
|
+
id: "arial",
|
|
6285
|
+
slug: "arial",
|
|
6286
|
+
value: "Arial",
|
|
6287
|
+
label: "Arial",
|
|
6288
|
+
cssFamily: "Arial",
|
|
6289
|
+
stack: "Arial, Helvetica, sans-serif",
|
|
6290
|
+
genericFallback: "sans-serif",
|
|
6291
|
+
source: "system"
|
|
6292
|
+
},
|
|
6293
|
+
{
|
|
6294
|
+
id: "georgia",
|
|
6295
|
+
slug: "georgia",
|
|
6296
|
+
value: "Georgia",
|
|
6297
|
+
label: "Georgia",
|
|
6298
|
+
cssFamily: "Georgia",
|
|
6299
|
+
stack: 'Georgia, "Times New Roman", Times, serif',
|
|
6300
|
+
genericFallback: "serif",
|
|
6301
|
+
source: "system"
|
|
6302
|
+
},
|
|
6303
|
+
{
|
|
6304
|
+
id: "times new roman",
|
|
6305
|
+
slug: "times-new-roman",
|
|
6306
|
+
value: "Times New Roman",
|
|
6307
|
+
label: "Times New Roman",
|
|
6308
|
+
cssFamily: "Times New Roman",
|
|
6309
|
+
stack: '"Times New Roman", Times, serif',
|
|
6310
|
+
genericFallback: "serif",
|
|
6311
|
+
source: "system"
|
|
6312
|
+
},
|
|
6313
|
+
{
|
|
6314
|
+
id: "trebuchet ms",
|
|
6315
|
+
slug: "trebuchet-ms",
|
|
6316
|
+
value: "Trebuchet MS",
|
|
6317
|
+
label: "Trebuchet MS",
|
|
6318
|
+
cssFamily: "Trebuchet MS",
|
|
6319
|
+
stack: '"Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif',
|
|
6320
|
+
genericFallback: "sans-serif",
|
|
6321
|
+
source: "system"
|
|
6322
|
+
},
|
|
6323
|
+
{
|
|
6324
|
+
id: "verdana",
|
|
6325
|
+
slug: "verdana",
|
|
6326
|
+
value: "Verdana",
|
|
6327
|
+
label: "Verdana",
|
|
6328
|
+
cssFamily: "Verdana",
|
|
6329
|
+
stack: "Verdana, Geneva, sans-serif",
|
|
6330
|
+
genericFallback: "sans-serif",
|
|
6331
|
+
source: "system"
|
|
6332
|
+
}
|
|
6333
|
+
];
|
|
6334
|
+
var NOTICE_FONT_ENTRY_BY_ID = Object.fromEntries(NOTICE_FONT_CATALOGUE2.map((entry) => [entry.id, entry]));
|
|
6335
|
+
|
|
6336
|
+
// src/privacy-center-native/shared/constants.ts
|
|
6337
|
+
var NOTICE_FONT_STACKS = Object.fromEntries(
|
|
6338
|
+
NOTICE_FONT_CATALOGUE2.map((entry) => [entry.id, entry.stack])
|
|
6339
|
+
);
|
|
6340
|
+
var FONT_NAME_QUOTE_CHARACTERS = /["']/g;
|
|
6341
|
+
var FONT_FAMILY_SEPARATOR = ",";
|
|
6342
|
+
var NOTICE_FONT_FACE_STYLE_ID_PREFIX = "redacto-notice-font-face-";
|
|
6343
|
+
var NOTICE_FONT_LOAD_ERROR_MESSAGE = "[redacto] notice webfont payload failed to load; falling back to the next family in the stack";
|
|
6344
|
+
var NOTICE_FONT_ROOT_ATTRIBUTE2 = "data-redacto-notice-font";
|
|
6345
|
+
var NOTICE_FONT_ROOT_PROPS = {
|
|
6346
|
+
[NOTICE_FONT_ROOT_ATTRIBUTE2]: ""
|
|
6347
|
+
};
|
|
6348
|
+
var NOTICE_FONT_CSS2 = `
|
|
6349
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] button,
|
|
6350
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] input,
|
|
6351
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] optgroup,
|
|
6352
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] option,
|
|
6353
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] select,
|
|
6354
|
+
[${NOTICE_FONT_ROOT_ATTRIBUTE2}] textarea {
|
|
6355
|
+
font-family: inherit;
|
|
6356
|
+
}
|
|
6357
|
+
`;
|
|
6358
|
+
|
|
6359
|
+
// src/privacy-center-native/shared/fonts/font-sources.generated.ts
|
|
6360
|
+
var NOTICE_FONT_SOURCE_IMPORTS = {
|
|
6361
|
+
"montserrat": () => import("./montserrat.generated-75WXFSY6.mjs")
|
|
6362
|
+
};
|
|
6363
|
+
|
|
6364
|
+
// src/privacy-center-native/shared/notice-webfont.ts
|
|
6365
|
+
var noticeFontOptions = {};
|
|
6366
|
+
var configureNoticeFonts = (options) => {
|
|
6367
|
+
noticeFontOptions = { ...noticeFontOptions, ...options };
|
|
6368
|
+
};
|
|
6369
|
+
var toFamilyTokens = (value) => value.split(FONT_FAMILY_SEPARATOR).map(
|
|
6370
|
+
(token) => token.trim().replace(FONT_NAME_QUOTE_CHARACTERS, "").toLowerCase()
|
|
6371
|
+
);
|
|
6372
|
+
var findNoticeFontEntry = (value) => {
|
|
6373
|
+
const id = toFamilyTokens(value).find(
|
|
6374
|
+
(token) => Boolean(NOTICE_FONT_ENTRY_BY_ID[token])
|
|
6375
|
+
);
|
|
6376
|
+
if (!id) {
|
|
6377
|
+
return void 0;
|
|
6378
|
+
}
|
|
6379
|
+
return NOTICE_FONT_ENTRY_BY_ID[id];
|
|
6380
|
+
};
|
|
6381
|
+
var toFontFaceCss = (entry, sources) => sources.map(
|
|
6382
|
+
({ weight, url }) => [
|
|
6383
|
+
"@font-face {",
|
|
6384
|
+
` font-family: "${entry.cssFamily}";`,
|
|
6385
|
+
" font-style: normal;",
|
|
6386
|
+
` font-weight: ${weight};`,
|
|
6387
|
+
// `swap`, never the `auto` default: auto gives most browsers a ~3s block
|
|
6388
|
+
// period with INVISIBLE text, which is unacceptable for a consent notice.
|
|
6389
|
+
" font-display: swap;",
|
|
6390
|
+
// `local()` still leads: the bundled copy is Latin + Latin-Extended only,
|
|
6391
|
+
// so a visitor's own installation covers more scripts than ours does.
|
|
6392
|
+
` src: local("${entry.cssFamily}"),`,
|
|
6393
|
+
// Quoted url(): a data URI carries `,` and `;`, which are hostile to an
|
|
6394
|
+
// unquoted url token. Base64 never contains a double quote.
|
|
6395
|
+
` url("${url}") format("woff2");`,
|
|
6396
|
+
"}"
|
|
6397
|
+
].join("\n")
|
|
6398
|
+
).join("\n\n");
|
|
6399
|
+
var fontSourceLoads = /* @__PURE__ */ new Map();
|
|
6400
|
+
var loadFontSources = (entry, importSources) => {
|
|
6401
|
+
const pending2 = fontSourceLoads.get(entry.id);
|
|
6402
|
+
if (pending2) {
|
|
6403
|
+
return pending2;
|
|
6404
|
+
}
|
|
6405
|
+
const load = importSources().then((module) => module.NOTICE_FONT_SOURCES).catch((error) => {
|
|
6406
|
+
fontSourceLoads.delete(entry.id);
|
|
6407
|
+
throw error;
|
|
6408
|
+
});
|
|
6409
|
+
fontSourceLoads.set(entry.id, load);
|
|
6410
|
+
return load;
|
|
6411
|
+
};
|
|
6412
|
+
var injectedFontFaceIds = /* @__PURE__ */ new Set();
|
|
6413
|
+
var injectFontFace = (entry, sources) => {
|
|
6414
|
+
if (injectedFontFaceIds.has(entry.id)) {
|
|
6415
|
+
return;
|
|
6416
|
+
}
|
|
6417
|
+
injectedFontFaceIds.add(entry.id);
|
|
6418
|
+
const styleId = `${NOTICE_FONT_FACE_STYLE_ID_PREFIX}${entry.slug}`;
|
|
6419
|
+
if (document.getElementById(styleId)) {
|
|
6420
|
+
return;
|
|
6421
|
+
}
|
|
6422
|
+
const style = document.createElement("style");
|
|
6423
|
+
style.id = styleId;
|
|
6424
|
+
style.textContent = toFontFaceCss(entry, sources);
|
|
6425
|
+
document.head.appendChild(style);
|
|
6426
|
+
};
|
|
6427
|
+
var loadNoticeWebfont = async (value, signal) => {
|
|
6428
|
+
if (typeof document === "undefined" || noticeFontOptions.disabled) {
|
|
6429
|
+
return;
|
|
6430
|
+
}
|
|
6431
|
+
if (signal == null ? void 0 : signal.aborted) {
|
|
6432
|
+
return;
|
|
6433
|
+
}
|
|
6434
|
+
const entry = findNoticeFontEntry(value);
|
|
6435
|
+
if (!entry || entry.source !== "webfont" || injectedFontFaceIds.has(entry.id)) {
|
|
6436
|
+
return;
|
|
6437
|
+
}
|
|
6438
|
+
const importSources = NOTICE_FONT_SOURCE_IMPORTS[entry.slug];
|
|
6439
|
+
if (!importSources) {
|
|
6440
|
+
return;
|
|
6441
|
+
}
|
|
6442
|
+
try {
|
|
6443
|
+
const sources = await loadFontSources(entry, importSources);
|
|
6444
|
+
if (signal == null ? void 0 : signal.aborted) {
|
|
6445
|
+
return;
|
|
6446
|
+
}
|
|
6447
|
+
injectFontFace(entry, sources);
|
|
6448
|
+
} catch (error) {
|
|
6449
|
+
console.error(NOTICE_FONT_LOAD_ERROR_MESSAGE, error);
|
|
6450
|
+
}
|
|
6451
|
+
};
|
|
6452
|
+
|
|
6132
6453
|
// src/modal/notice-font.ts
|
|
6454
|
+
var loadNoticeFont = (fontFamily) => {
|
|
6455
|
+
void loadNoticeWebfont(fontFamily);
|
|
6456
|
+
};
|
|
6133
6457
|
var entryById = (id) => NOTICE_FONT_CATALOGUE.find((entry) => entry.id === id);
|
|
6134
6458
|
var toFontFamilyValue = (value) => {
|
|
6135
6459
|
var _a, _b;
|
|
@@ -7134,7 +7458,29 @@ var baseResponsive = (isMobile) => ({
|
|
|
7134
7458
|
fontSize: isMobile ? "14px" : "16px",
|
|
7135
7459
|
padding: isMobile ? "10px 20px" : "9px 45px"
|
|
7136
7460
|
},
|
|
7137
|
-
dpoText: { fontSize: isMobile ? "13px" : "14px" }
|
|
7461
|
+
dpoText: { fontSize: isMobile ? "13px" : "14px" },
|
|
7462
|
+
errorDialog: {
|
|
7463
|
+
padding: isMobile ? "12px" : "16px",
|
|
7464
|
+
maxWidth: isMobile ? "100%" : "400px",
|
|
7465
|
+
marginBottom: isMobile ? "16px" : "20px"
|
|
7466
|
+
},
|
|
7467
|
+
errorTitle: {
|
|
7468
|
+
fontSize: isMobile ? "16px" : "18px",
|
|
7469
|
+
margin: isMobile ? "0 0 8px 0" : "0 0 12px 0"
|
|
7470
|
+
},
|
|
7471
|
+
errorMessage: {
|
|
7472
|
+
fontSize: isMobile ? "12px" : "14px",
|
|
7473
|
+
margin: isMobile ? "0 0 12px 0" : "0 0 16px 0"
|
|
7474
|
+
},
|
|
7475
|
+
errorButton: {
|
|
7476
|
+
padding: isMobile ? "6px 12px" : "8px 16px",
|
|
7477
|
+
fontSize: isMobile ? "12px" : "14px"
|
|
7478
|
+
},
|
|
7479
|
+
closeButton: {
|
|
7480
|
+
top: isMobile ? "4px" : "8px",
|
|
7481
|
+
right: isMobile ? "4px" : "8px",
|
|
7482
|
+
padding: isMobile ? "2px" : "4px"
|
|
7483
|
+
}
|
|
7138
7484
|
});
|
|
7139
7485
|
var buildModalLook = ({
|
|
7140
7486
|
noticeId,
|
|
@@ -7262,7 +7608,6 @@ var buildModalLook = ({
|
|
|
7262
7608
|
parts: { ...parts, accordion: scaleFontSizes(parts.accordion, textScale) },
|
|
7263
7609
|
sheetParts: (_l = skin == null ? void 0 : skin.parts) != null ? _l : null,
|
|
7264
7610
|
docked,
|
|
7265
|
-
showsLoaderPill: getAppearanceLayout(style).loaderPill,
|
|
7266
7611
|
textScale,
|
|
7267
7612
|
headingColor,
|
|
7268
7613
|
textColor,
|
|
@@ -7615,12 +7960,31 @@ var paintRoot = (element, style, attributes, variables = {}) => {
|
|
|
7615
7960
|
applyStyles(element, style);
|
|
7616
7961
|
applyCssVariables(element, variables);
|
|
7617
7962
|
};
|
|
7963
|
+
var pageScrollLockHolders = 0;
|
|
7964
|
+
var savedBodyOverflow = "";
|
|
7965
|
+
var savedHtmlOverflow = "";
|
|
7966
|
+
function acquirePageScrollLock() {
|
|
7967
|
+
if (pageScrollLockHolders === 0) {
|
|
7968
|
+
savedBodyOverflow = document.body.style.overflow;
|
|
7969
|
+
savedHtmlOverflow = document.documentElement.style.overflow;
|
|
7970
|
+
document.body.style.overflow = "hidden";
|
|
7971
|
+
document.documentElement.style.overflow = "hidden";
|
|
7972
|
+
}
|
|
7973
|
+
pageScrollLockHolders += 1;
|
|
7974
|
+
}
|
|
7975
|
+
function releasePageScrollLock() {
|
|
7976
|
+
if (pageScrollLockHolders === 0) return;
|
|
7977
|
+
pageScrollLockHolders -= 1;
|
|
7978
|
+
if (pageScrollLockHolders === 0) {
|
|
7979
|
+
document.body.style.overflow = savedBodyOverflow;
|
|
7980
|
+
document.documentElement.style.overflow = savedHtmlOverflow;
|
|
7981
|
+
}
|
|
7982
|
+
}
|
|
7618
7983
|
var ModalController = class {
|
|
7619
7984
|
constructor(options) {
|
|
7620
7985
|
this.hostEl = null;
|
|
7621
7986
|
this.shadowRoot = null;
|
|
7622
|
-
this.
|
|
7623
|
-
this.previousHtmlOverflow = null;
|
|
7987
|
+
this.holdsPageScrollLock = false;
|
|
7624
7988
|
this.overlayEl = null;
|
|
7625
7989
|
this.modalEl = null;
|
|
7626
7990
|
this.purposeRefs = null;
|
|
@@ -7730,14 +8094,7 @@ var ModalController = class {
|
|
|
7730
8094
|
if (this.hostEl && this.hostEl.parentNode) {
|
|
7731
8095
|
this.hostEl.parentNode.removeChild(this.hostEl);
|
|
7732
8096
|
}
|
|
7733
|
-
|
|
7734
|
-
document.body.style.overflow = this.previousBodyOverflow;
|
|
7735
|
-
this.previousBodyOverflow = null;
|
|
7736
|
-
}
|
|
7737
|
-
if (this.previousHtmlOverflow !== null) {
|
|
7738
|
-
document.documentElement.style.overflow = this.previousHtmlOverflow;
|
|
7739
|
-
this.previousHtmlOverflow = null;
|
|
7740
|
-
}
|
|
8097
|
+
this.unlockPageScroll();
|
|
7741
8098
|
this.hostEl = null;
|
|
7742
8099
|
this.shadowRoot = null;
|
|
7743
8100
|
this.overlayEl = null;
|
|
@@ -7972,7 +8329,8 @@ var ModalController = class {
|
|
|
7972
8329
|
productSeed.selectedPurposes && productSeed.selectedDataElements ? {
|
|
7973
8330
|
selectedPurposes: productSeed.selectedPurposes,
|
|
7974
8331
|
selectedDataElements: productSeed.selectedDataElements
|
|
7975
|
-
} : seedSelection(seedRows, recordedFor)
|
|
8332
|
+
} : seedSelection(seedRows, recordedFor),
|
|
8333
|
+
this.tickGrant(activeConfig.appearance)
|
|
7976
8334
|
);
|
|
7977
8335
|
const selectedLanguage = resolveDisplayLanguage(
|
|
7978
8336
|
this.options.language,
|
|
@@ -8118,8 +8476,10 @@ var ModalController = class {
|
|
|
8118
8476
|
if (look.skin) injectGlassStyles(root);
|
|
8119
8477
|
if (look.drawsSwitches) injectSwitchStyles(root);
|
|
8120
8478
|
this.customCss.apply(root, this.options.noticeId, look.appearance.customCss);
|
|
8479
|
+
if (!loading) this.revealDialog();
|
|
8121
8480
|
if (this.overlayEl) {
|
|
8122
|
-
|
|
8481
|
+
const overlayStyle2 = loading ? { ...look.overlayStyle, backgroundColor: "transparent" } : look.overlayStyle;
|
|
8482
|
+
paintRoot(this.overlayEl, overlayStyle2, {
|
|
8123
8483
|
...look.rootAttributes,
|
|
8124
8484
|
...part("overlay")
|
|
8125
8485
|
});
|
|
@@ -8130,9 +8490,35 @@ var ModalController = class {
|
|
|
8130
8490
|
...dockAttributes(look),
|
|
8131
8491
|
[NOTICE_FONT_ROOT_ATTRIBUTE]: ""
|
|
8132
8492
|
};
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8493
|
+
paintRoot(this.modalEl, { ...look.modalStyle, fontFamily }, attributes, look.cssVariables);
|
|
8494
|
+
}
|
|
8495
|
+
/**
|
|
8496
|
+
* Mounts the dialog the first time there is something to show in it: the
|
|
8497
|
+
* notice, or the error that replaced it. The backdrop that held the page
|
|
8498
|
+
* while the notice was read is swapped for a fresh one, so its dim and the
|
|
8499
|
+
* dialog's entrance start together, with the notice.
|
|
8500
|
+
*/
|
|
8501
|
+
revealDialog() {
|
|
8502
|
+
const root = this.shadowRoot;
|
|
8503
|
+
if (!root || !this.modalEl || this.modalEl.isConnected) return;
|
|
8504
|
+
if (this.overlayEl) {
|
|
8505
|
+
const overlay = el("div", { role: "presentation" });
|
|
8506
|
+
this.overlayEl.replaceWith(overlay);
|
|
8507
|
+
this.overlayEl = overlay;
|
|
8508
|
+
} else {
|
|
8509
|
+
this.lockPageScroll();
|
|
8510
|
+
}
|
|
8511
|
+
root.appendChild(this.modalEl);
|
|
8512
|
+
}
|
|
8513
|
+
lockPageScroll() {
|
|
8514
|
+
if (this.holdsPageScrollLock) return;
|
|
8515
|
+
this.holdsPageScrollLock = true;
|
|
8516
|
+
acquirePageScrollLock();
|
|
8517
|
+
}
|
|
8518
|
+
unlockPageScroll() {
|
|
8519
|
+
if (!this.holdsPageScrollLock) return;
|
|
8520
|
+
this.holdsPageScrollLock = false;
|
|
8521
|
+
releasePageScrollLock();
|
|
8136
8522
|
}
|
|
8137
8523
|
renderOverlayWithLoading() {
|
|
8138
8524
|
this.hostEl = document.createElement("div");
|
|
@@ -8145,10 +8531,7 @@ var ModalController = class {
|
|
|
8145
8531
|
this.hostEl.style.zIndex = "2147483646";
|
|
8146
8532
|
document.body.appendChild(this.hostEl);
|
|
8147
8533
|
this.shadowRoot = this.hostEl.attachShadow({ mode: "open" });
|
|
8148
|
-
this.
|
|
8149
|
-
this.previousHtmlOverflow = document.documentElement.style.overflow;
|
|
8150
|
-
document.body.style.overflow = "hidden";
|
|
8151
|
-
document.documentElement.style.overflow = "hidden";
|
|
8534
|
+
if (this.options.blockUI !== false) this.lockPageScroll();
|
|
8152
8535
|
injectCheckboxStyles(this.shadowRoot);
|
|
8153
8536
|
injectNoticeFontStyles(this.shadowRoot);
|
|
8154
8537
|
this.ttsManager = new TTSManager(
|
|
@@ -8164,47 +8547,19 @@ var ModalController = class {
|
|
|
8164
8547
|
"aria-modal": "true",
|
|
8165
8548
|
"aria-label": "Privacy consent"
|
|
8166
8549
|
});
|
|
8167
|
-
this.shadowRoot.appendChild(this.modalEl);
|
|
8168
8550
|
this.renderLoading();
|
|
8169
8551
|
}
|
|
8552
|
+
/**
|
|
8553
|
+
* While the notice is read nothing is drawn but the invisible backdrop: no
|
|
8554
|
+
* dialog, no spinner, no loader pill. A principal who has already consented
|
|
8555
|
+
* gets `onAccept` with nothing having painted.
|
|
8556
|
+
*/
|
|
8170
8557
|
renderLoading() {
|
|
8171
8558
|
var _a;
|
|
8172
8559
|
if (!this.modalEl) return;
|
|
8173
8560
|
const look = this.lookFor(this.store.getState());
|
|
8174
8561
|
const fontFamily = resolveNoticeFontFamily({ hostFont: (_a = this.options.settings) == null ? void 0 : _a.font });
|
|
8175
8562
|
this.paintChrome(look, fontFamily, true);
|
|
8176
|
-
clearElement(this.modalEl);
|
|
8177
|
-
const { styles: styles2 } = look;
|
|
8178
|
-
if (look.showsLoaderPill && look.skin) {
|
|
8179
|
-
this.modalEl.appendChild(
|
|
8180
|
-
el(
|
|
8181
|
-
"div",
|
|
8182
|
-
{
|
|
8183
|
-
role: "status",
|
|
8184
|
-
"aria-live": "polite",
|
|
8185
|
-
"aria-label": "Loading consent notice",
|
|
8186
|
-
style: { display: "flex", alignItems: "center", gap: "10px" }
|
|
8187
|
-
},
|
|
8188
|
-
el("div", { style: styles2.loadingSpinner, "aria-hidden": "true" }),
|
|
8189
|
-
el("p", { style: { ...look.skin.parts.loaderText, color: look.headingColor } }, "Loading...")
|
|
8190
|
-
)
|
|
8191
|
-
);
|
|
8192
|
-
return;
|
|
8193
|
-
}
|
|
8194
|
-
const loadingEl = el(
|
|
8195
|
-
"div",
|
|
8196
|
-
{
|
|
8197
|
-
role: "status",
|
|
8198
|
-
"aria-live": "polite",
|
|
8199
|
-
"aria-label": "Loading consent notice",
|
|
8200
|
-
style: styles2.loadingContainer
|
|
8201
|
-
},
|
|
8202
|
-
el("div", { style: styles2.loadingSpinner, "aria-hidden": "true" }),
|
|
8203
|
-
el("p", { style: { ...styles2.privacyText, color: look.textColor } }, "Loading...")
|
|
8204
|
-
);
|
|
8205
|
-
this.modalEl.appendChild(
|
|
8206
|
-
el("div", { style: { ...styles2.content, ...look.responsive.content } }, loadingEl)
|
|
8207
|
-
);
|
|
8208
8563
|
}
|
|
8209
8564
|
/** The look as the purpose rows and product sections read it. */
|
|
8210
8565
|
purposeLook(look, language) {
|
|
@@ -8322,6 +8677,7 @@ var ModalController = class {
|
|
|
8322
8677
|
hostFont: settingsObj == null ? void 0 : settingsObj.font,
|
|
8323
8678
|
noticeFont: activeConfig.font_preference
|
|
8324
8679
|
});
|
|
8680
|
+
loadNoticeFont(fontFamily);
|
|
8325
8681
|
this.paintChrome(look, fontFamily, false);
|
|
8326
8682
|
this.disposeSections();
|
|
8327
8683
|
this.modalEl.removeAttribute("aria-labelledby");
|
|
@@ -8704,7 +9060,7 @@ var ModalController = class {
|
|
|
8704
9060
|
marginRight: isMobile ? "16px" : "24px"
|
|
8705
9061
|
} : {},
|
|
8706
9062
|
backgroundColor: "#FEE2E2",
|
|
8707
|
-
color:
|
|
9063
|
+
color: NOTICE_ERROR_COLOR,
|
|
8708
9064
|
padding: "12px",
|
|
8709
9065
|
borderRadius: "6px",
|
|
8710
9066
|
fontSize: "14px",
|
|
@@ -9034,26 +9390,154 @@ var ModalController = class {
|
|
|
9034
9390
|
return typeof value === "string" && value ? value : defaultText;
|
|
9035
9391
|
}
|
|
9036
9392
|
renderError(message) {
|
|
9393
|
+
var _a, _b;
|
|
9037
9394
|
if (!this.modalEl) return;
|
|
9395
|
+
const look = this.lookFor(this.store.getState());
|
|
9396
|
+
this.paintChrome(
|
|
9397
|
+
look,
|
|
9398
|
+
resolveNoticeFontFamily({ hostFont: (_a = this.options.settings) == null ? void 0 : _a.font }),
|
|
9399
|
+
false
|
|
9400
|
+
);
|
|
9038
9401
|
clearElement(this.modalEl);
|
|
9039
|
-
const
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9402
|
+
const { responsive } = look;
|
|
9403
|
+
const chrome = noticeChromeCopy(this.store.getState().selectedLanguage);
|
|
9404
|
+
const iconSize = this.mediaQuery.matches ? "14" : "16";
|
|
9405
|
+
const closeButton = el(
|
|
9406
|
+
"button",
|
|
9407
|
+
{
|
|
9408
|
+
type: "button",
|
|
9409
|
+
"aria-label": chrome.errorClose,
|
|
9410
|
+
onClick: () => this.handleDecline(),
|
|
9411
|
+
style: {
|
|
9412
|
+
position: "absolute",
|
|
9413
|
+
top: responsive.closeButton.top,
|
|
9414
|
+
right: responsive.closeButton.right,
|
|
9415
|
+
background: "none",
|
|
9416
|
+
border: "none",
|
|
9417
|
+
color: NOTICE_ERROR_COLOR,
|
|
9418
|
+
cursor: "pointer",
|
|
9419
|
+
padding: responsive.closeButton.padding,
|
|
9420
|
+
display: "flex",
|
|
9421
|
+
alignItems: "center",
|
|
9422
|
+
justifyContent: "center"
|
|
9423
|
+
}
|
|
9424
|
+
},
|
|
9425
|
+
svg(
|
|
9426
|
+
"svg",
|
|
9427
|
+
{
|
|
9428
|
+
width: iconSize,
|
|
9429
|
+
height: iconSize,
|
|
9430
|
+
viewBox: "0 0 16 16",
|
|
9431
|
+
fill: "none",
|
|
9432
|
+
"aria-hidden": "true"
|
|
9433
|
+
},
|
|
9434
|
+
svg("path", {
|
|
9435
|
+
d: "M12 4L4 12M4 4L12 12",
|
|
9436
|
+
stroke: "currentColor",
|
|
9437
|
+
"stroke-width": "2",
|
|
9438
|
+
"stroke-linecap": "round",
|
|
9439
|
+
"stroke-linejoin": "round"
|
|
9440
|
+
})
|
|
9441
|
+
)
|
|
9442
|
+
);
|
|
9443
|
+
const refreshButton = el(
|
|
9444
|
+
"button",
|
|
9445
|
+
{
|
|
9446
|
+
type: "button",
|
|
9447
|
+
"aria-label": chrome.errorRefresh,
|
|
9448
|
+
onClick: () => this.retryNotice(),
|
|
9449
|
+
onMouseOver: (event) => {
|
|
9450
|
+
event.currentTarget.style.backgroundColor = NOTICE_ERROR_COLOR_HOVER;
|
|
9451
|
+
},
|
|
9452
|
+
onMouseOut: (event) => {
|
|
9453
|
+
event.currentTarget.style.backgroundColor = NOTICE_ERROR_COLOR;
|
|
9454
|
+
},
|
|
9044
9455
|
style: {
|
|
9045
|
-
backgroundColor:
|
|
9046
|
-
color:
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9456
|
+
backgroundColor: NOTICE_ERROR_COLOR,
|
|
9457
|
+
color: NOTICE_ERROR_BUTTON_TEXT_COLOR,
|
|
9458
|
+
border: "none",
|
|
9459
|
+
padding: responsive.errorButton.padding,
|
|
9460
|
+
borderRadius: "6px",
|
|
9461
|
+
cursor: "pointer",
|
|
9462
|
+
fontSize: responsive.errorButton.fontSize,
|
|
9463
|
+
fontWeight: "500",
|
|
9464
|
+
transition: "background-color 0.2s"
|
|
9053
9465
|
}
|
|
9054
|
-
},
|
|
9466
|
+
},
|
|
9467
|
+
chrome.errorRefresh
|
|
9468
|
+
);
|
|
9469
|
+
this.modalEl.appendChild(
|
|
9470
|
+
el(
|
|
9471
|
+
"div",
|
|
9472
|
+
{
|
|
9473
|
+
role: "alert",
|
|
9474
|
+
lang: noticeChromeLanguage(this.store.getState().selectedLanguage),
|
|
9475
|
+
"aria-live": "assertive",
|
|
9476
|
+
"aria-label": chrome.errorTitle,
|
|
9477
|
+
style: {
|
|
9478
|
+
...look.styles.content,
|
|
9479
|
+
...responsive.content,
|
|
9480
|
+
display: "flex",
|
|
9481
|
+
flexDirection: "column",
|
|
9482
|
+
alignItems: "center",
|
|
9483
|
+
justifyContent: "center",
|
|
9484
|
+
textAlign: "center",
|
|
9485
|
+
padding: "40px 20px"
|
|
9486
|
+
}
|
|
9487
|
+
},
|
|
9488
|
+
el(
|
|
9489
|
+
"div",
|
|
9490
|
+
{
|
|
9491
|
+
style: {
|
|
9492
|
+
color: NOTICE_ERROR_COLOR,
|
|
9493
|
+
padding: responsive.errorDialog.padding,
|
|
9494
|
+
borderRadius: "8px",
|
|
9495
|
+
marginBottom: responsive.errorDialog.marginBottom,
|
|
9496
|
+
width: "100%",
|
|
9497
|
+
maxWidth: responsive.errorDialog.maxWidth,
|
|
9498
|
+
position: "relative"
|
|
9499
|
+
}
|
|
9500
|
+
},
|
|
9501
|
+
closeButton,
|
|
9502
|
+
el(
|
|
9503
|
+
"h3",
|
|
9504
|
+
{
|
|
9505
|
+
style: {
|
|
9506
|
+
margin: responsive.errorTitle.margin,
|
|
9507
|
+
fontSize: responsive.errorTitle.fontSize,
|
|
9508
|
+
fontWeight: "600"
|
|
9509
|
+
}
|
|
9510
|
+
},
|
|
9511
|
+
chrome.errorTitle
|
|
9512
|
+
),
|
|
9513
|
+
el(
|
|
9514
|
+
"p",
|
|
9515
|
+
{
|
|
9516
|
+
style: {
|
|
9517
|
+
margin: responsive.errorMessage.margin,
|
|
9518
|
+
fontSize: responsive.errorMessage.fontSize,
|
|
9519
|
+
lineHeight: "1.5"
|
|
9520
|
+
}
|
|
9521
|
+
},
|
|
9522
|
+
message || chrome.errorMessage
|
|
9523
|
+
),
|
|
9524
|
+
refreshButton
|
|
9525
|
+
)
|
|
9526
|
+
)
|
|
9055
9527
|
);
|
|
9056
|
-
this.
|
|
9528
|
+
(_b = this.keyboardCleanup) == null ? void 0 : _b.call(this);
|
|
9529
|
+
this.keyboardCleanup = setupKeyboardTrap(this.modalEl, () => this.handleDecline());
|
|
9530
|
+
}
|
|
9531
|
+
retryNotice() {
|
|
9532
|
+
var _a;
|
|
9533
|
+
if (this.store.getState().isLoading || !this.modalEl) return;
|
|
9534
|
+
(_a = this.keyboardCleanup) == null ? void 0 : _a.call(this);
|
|
9535
|
+
this.keyboardCleanup = null;
|
|
9536
|
+
this.modalEl.remove();
|
|
9537
|
+
clearElement(this.modalEl);
|
|
9538
|
+
if (!this.overlayEl) this.unlockPageScroll();
|
|
9539
|
+
this.renderLoading();
|
|
9540
|
+
void this.fetchNotice();
|
|
9057
9541
|
}
|
|
9058
9542
|
getTranslatedText(key, defaultText, itemId) {
|
|
9059
9543
|
var _a, _b, _c, _d;
|
|
@@ -9114,6 +9598,10 @@ var ModalController = class {
|
|
|
9114
9598
|
}
|
|
9115
9599
|
});
|
|
9116
9600
|
}
|
|
9601
|
+
/** What a tick grants on this notice: every live data element once they carry no tick of their own. */
|
|
9602
|
+
tickGrant(appearance) {
|
|
9603
|
+
return tickGrantFor(noticeChromeOptions(appearance).showsDataElementControls);
|
|
9604
|
+
}
|
|
9117
9605
|
handlePurposeCheckboxChange(purposeUuid, productUuid) {
|
|
9118
9606
|
var _a;
|
|
9119
9607
|
this.otpSession.dropStashedAccept();
|
|
@@ -9122,7 +9610,12 @@ var ModalController = class {
|
|
|
9122
9610
|
if (!content) return;
|
|
9123
9611
|
const purpose = content.purposes.find((p) => p.uuid === purposeUuid);
|
|
9124
9612
|
if (!purpose) return;
|
|
9125
|
-
const next = purposeToggle(
|
|
9613
|
+
const next = purposeToggle(
|
|
9614
|
+
purpose,
|
|
9615
|
+
productUuid,
|
|
9616
|
+
state.selectedPurposes,
|
|
9617
|
+
this.tickGrant(content.appearance)
|
|
9618
|
+
);
|
|
9126
9619
|
this.store.setState({
|
|
9127
9620
|
selectedPurposes: { ...state.selectedPurposes, ...next.selectedPurposes },
|
|
9128
9621
|
selectedDataElements: { ...state.selectedDataElements, ...next.selectedDataElements }
|
|
@@ -9167,6 +9660,7 @@ var ModalController = class {
|
|
|
9167
9660
|
return state.alreadyConsentedPurposes.some((purpose) => purpose.uuid === purposeUuid);
|
|
9168
9661
|
}
|
|
9169
9662
|
handleProductCheckboxChange(productUuid, choice) {
|
|
9663
|
+
var _a;
|
|
9170
9664
|
this.otpSession.dropStashedAccept();
|
|
9171
9665
|
const state = this.store.getState();
|
|
9172
9666
|
const section = this.productSections.find((refs) => refs.productUuid === productUuid);
|
|
@@ -9175,7 +9669,13 @@ var ModalController = class {
|
|
|
9175
9669
|
(purpose) => !this.isRowLocked(state, purpose.uuid, section.keyProductUuid)
|
|
9176
9670
|
);
|
|
9177
9671
|
if (editable.length === 0) return;
|
|
9178
|
-
const next = sectionToggle(
|
|
9672
|
+
const next = sectionToggle(
|
|
9673
|
+
editable,
|
|
9674
|
+
section.keyProductUuid,
|
|
9675
|
+
state.selectedPurposes,
|
|
9676
|
+
choice,
|
|
9677
|
+
this.tickGrant((_a = state.content) == null ? void 0 : _a.detail.active_config.appearance)
|
|
9678
|
+
);
|
|
9179
9679
|
this.store.setState({
|
|
9180
9680
|
selectedPurposes: { ...state.selectedPurposes, ...next.selectedPurposes },
|
|
9181
9681
|
selectedDataElements: { ...state.selectedDataElements, ...next.selectedDataElements }
|
|
@@ -10526,16 +11026,18 @@ var InlineController = class {
|
|
|
10526
11026
|
if (state.errorMessage) {
|
|
10527
11027
|
this.errorEl.textContent = state.errorMessage;
|
|
10528
11028
|
}
|
|
11029
|
+
const fontFamily = resolveNoticeFontFamily({
|
|
11030
|
+
hostFont: (_a = this.options.settings) == null ? void 0 : _a.font,
|
|
11031
|
+
noticeFont: state.content.font_preference
|
|
11032
|
+
});
|
|
11033
|
+
loadNoticeFont(fontFamily);
|
|
10529
11034
|
const look = buildInlineLook({
|
|
10530
11035
|
noticeId: this.options.notice_uuid,
|
|
10531
11036
|
content: state.content,
|
|
10532
11037
|
settings: this.options.settings,
|
|
10533
11038
|
prefersDark: this.colorScheme.matches,
|
|
10534
11039
|
isMobile: this.mediaQuery.matches,
|
|
10535
|
-
fontFamily
|
|
10536
|
-
hostFont: (_a = this.options.settings) == null ? void 0 : _a.font,
|
|
10537
|
-
noticeFont: state.content.font_preference
|
|
10538
|
-
})
|
|
11040
|
+
fontFamily
|
|
10539
11041
|
});
|
|
10540
11042
|
this.look = look;
|
|
10541
11043
|
if (look.drawsSwitches) injectSwitchStyles(this.shadowRoot);
|
|
@@ -12631,11 +13133,12 @@ var renderNoticeText = (ctx) => {
|
|
|
12631
13133
|
anchorText
|
|
12632
13134
|
);
|
|
12633
13135
|
const showNoticePolicyLink = shouldShowNoticePolicyLink(content.products, ctx.productPolicyLinks);
|
|
13136
|
+
const inlinesPolicyLink = noticeChromeOptions(content.appearance).inlinesPolicyLink;
|
|
12634
13137
|
return el(
|
|
12635
13138
|
"p",
|
|
12636
13139
|
{ ...part("notice-text"), style: textStyle(ctx) },
|
|
12637
13140
|
el("span", { id: "privacy-notice-text" }, t("notice_text", content.notice_text)),
|
|
12638
|
-
showNoticePolicyLink && el("br"),
|
|
13141
|
+
showNoticePolicyLink && (inlinesPolicyLink ? " " : el("br")),
|
|
12639
13142
|
showNoticePolicyLink && el(
|
|
12640
13143
|
"span",
|
|
12641
13144
|
null,
|
|
@@ -13551,7 +14054,11 @@ var AssistedController = class {
|
|
|
13551
14054
|
void this.ttsManager.fetchAudioUrls({
|
|
13552
14055
|
noticeUuid: content.notice_uuid,
|
|
13553
14056
|
language: selectedLanguage,
|
|
13554
|
-
content
|
|
14057
|
+
content,
|
|
14058
|
+
chrome: {
|
|
14059
|
+
...DEFAULT_NOTICE_CHROME,
|
|
14060
|
+
privacyCenterAsText: noticeChromeOptions(content.appearance).privacyCenterAsText
|
|
14061
|
+
}
|
|
13555
14062
|
});
|
|
13556
14063
|
}
|
|
13557
14064
|
viewContext(state, content) {
|
|
@@ -13707,6 +14214,11 @@ var AssistedController = class {
|
|
|
13707
14214
|
const content = state.content;
|
|
13708
14215
|
const ctx = this.viewContext(state, content);
|
|
13709
14216
|
const { look } = ctx;
|
|
14217
|
+
const noticeFont = resolveNoticeFontFamily({
|
|
14218
|
+
hostFont: (_d = this.options.settings) == null ? void 0 : _d.font,
|
|
14219
|
+
noticeFont: content.font_preference
|
|
14220
|
+
});
|
|
14221
|
+
loadNoticeFont(noticeFont);
|
|
13710
14222
|
const noticeTitle = ctx.t("notice_banner_heading", content.notice_banner_heading || "Privacy Notice");
|
|
13711
14223
|
this.modalEl.setAttribute("aria-label", noticeTitle);
|
|
13712
14224
|
for (const [name, value] of Object.entries(look.rootAttributes)) {
|
|
@@ -13716,10 +14228,7 @@ var AssistedController = class {
|
|
|
13716
14228
|
applyStyles(this.modalEl, {
|
|
13717
14229
|
...look.styles.modal,
|
|
13718
14230
|
width: ctx.isMobile ? "90%" : "700px",
|
|
13719
|
-
fontFamily:
|
|
13720
|
-
hostFont: (_d = this.options.settings) == null ? void 0 : _d.font,
|
|
13721
|
-
noticeFont: content.font_preference
|
|
13722
|
-
})
|
|
14231
|
+
fontFamily: noticeFont
|
|
13723
14232
|
});
|
|
13724
14233
|
applyCssVariables(this.modalEl, look.rootVariables);
|
|
13725
14234
|
if (this.overlayEl) {
|
|
@@ -14147,6 +14656,15 @@ function getErrorMessage(errorCode) {
|
|
|
14147
14656
|
return "Verification failed. Please try again.";
|
|
14148
14657
|
}
|
|
14149
14658
|
}
|
|
14659
|
+
var sameOriginUrlOrRoot = (candidate) => {
|
|
14660
|
+
if (!candidate) return "/";
|
|
14661
|
+
try {
|
|
14662
|
+
const url = new URL(candidate, window.location.origin);
|
|
14663
|
+
return url.origin === window.location.origin ? url.href : "/";
|
|
14664
|
+
} catch {
|
|
14665
|
+
return "/";
|
|
14666
|
+
}
|
|
14667
|
+
};
|
|
14150
14668
|
function handleDigilockerCallback(options) {
|
|
14151
14669
|
var _a, _b, _c;
|
|
14152
14670
|
injectCheckboxStyles(document);
|
|
@@ -14205,7 +14723,7 @@ function handleDigilockerCallback(options) {
|
|
|
14205
14723
|
statusEl.textContent = result === "verified" ? "Verification successful! Redirecting..." : "Verification failed. Redirecting...";
|
|
14206
14724
|
spinnerEl.style.display = "none";
|
|
14207
14725
|
setTimeout(() => {
|
|
14208
|
-
window.location.href = originalUrl;
|
|
14726
|
+
window.location.href = sameOriginUrlOrRoot(originalUrl);
|
|
14209
14727
|
}, 1500);
|
|
14210
14728
|
};
|
|
14211
14729
|
if (urlStatus === "verified" && verificationReference) {
|
|
@@ -14492,6 +15010,7 @@ var src_default = RedactoConsent;
|
|
|
14492
15010
|
export {
|
|
14493
15011
|
ApiError,
|
|
14494
15012
|
assisted,
|
|
15013
|
+
configureNoticeFonts,
|
|
14495
15014
|
src_default as default,
|
|
14496
15015
|
destroy,
|
|
14497
15016
|
digilockerCallback,
|