@session-services/web-elements 0.1.28 → 0.1.30

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.
Files changed (32) hide show
  1. package/README.md +5 -0
  2. package/dist/cjs/{index-BYBgrATL.js → index-B2ZmNnji.js} +292 -245
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/session-services-elements.cjs.js +3 -3
  5. package/dist/cjs/session-services-formatted-text.cjs.entry.js +8 -20
  6. package/dist/cjs/session-services-ticketing.cjs.entry.js +1051 -526
  7. package/dist/collection/collection-manifest.json +4 -3
  8. package/dist/collection/components/session-services-ticketing/session-services-ticketing.js +116 -45
  9. package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.js +15 -5
  10. package/dist/collection/components/session-services-ticketing/session-services-ticketing.logic.test.js +28 -1
  11. package/dist/collection/components/session-services-ticketing/session-services-ticketing.test.js +71 -1
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/components/index.js +1 -1311
  14. package/dist/components/session-services-formatted-text.js +1 -1802
  15. package/dist/components/session-services-ticketing.js +1 -25072
  16. package/dist/esm/{index-CNOpF6tk.js → index-DhbVMqIT.js} +292 -245
  17. package/dist/esm/loader.js +3 -3
  18. package/dist/esm/session-services-elements.js +4 -4
  19. package/dist/esm/session-services-formatted-text.entry.js +8 -20
  20. package/dist/esm/session-services-ticketing.entry.js +1051 -526
  21. package/dist/session-services-elements/p-4dd3f723.entry.js +1 -0
  22. package/dist/session-services-elements/{p-703444ed.entry.js → p-8483ca88.entry.js} +1 -1
  23. package/dist/session-services-elements/p-DhbVMqIT.js +2 -0
  24. package/dist/session-services-elements/session-services-elements.esm.js +1 -1
  25. package/dist/types/components/session-services-ticketing/session-services-ticketing.d.ts +15 -4
  26. package/dist/types/components/session-services-ticketing/session-services-ticketing.logic.d.ts +5 -3
  27. package/dist/types/components.d.ts +36 -8
  28. package/dist/types/index.d.ts +1 -1
  29. package/dist/types/stencil-public-runtime.d.ts +67 -5
  30. package/package.json +17 -13
  31. package/dist/session-services-elements/p-1acfcdfd.entry.js +0 -1
  32. package/dist/session-services-elements/p-CNOpF6tk.js +0 -2
@@ -1,1802 +1 @@
1
- import { t as transformTag, p as proxyCustomElement, H, h, a as Host } from './index.js';
2
-
3
- var tlds = [
4
- "aaa",
5
- "aarp",
6
- "abb",
7
- "abbott",
8
- "abbvie",
9
- "abc",
10
- "able",
11
- "abogado",
12
- "abudhabi",
13
- "ac",
14
- "academy",
15
- "accenture",
16
- "accountant",
17
- "accountants",
18
- "aco",
19
- "actor",
20
- "ad",
21
- "ads",
22
- "adult",
23
- "ae",
24
- "aeg",
25
- "aero",
26
- "aetna",
27
- "af",
28
- "afl",
29
- "africa",
30
- "ag",
31
- "agakhan",
32
- "agency",
33
- "ai",
34
- "aig",
35
- "airbus",
36
- "airforce",
37
- "airtel",
38
- "akdn",
39
- "al",
40
- "alibaba",
41
- "alipay",
42
- "allfinanz",
43
- "allstate",
44
- "ally",
45
- "alsace",
46
- "alstom",
47
- "am",
48
- "amazon",
49
- "americanexpress",
50
- "americanfamily",
51
- "amex",
52
- "amfam",
53
- "amica",
54
- "amsterdam",
55
- "analytics",
56
- "android",
57
- "anquan",
58
- "anz",
59
- "ao",
60
- "aol",
61
- "apartments",
62
- "app",
63
- "apple",
64
- "aq",
65
- "aquarelle",
66
- "ar",
67
- "arab",
68
- "aramco",
69
- "archi",
70
- "army",
71
- "arpa",
72
- "art",
73
- "arte",
74
- "as",
75
- "asda",
76
- "asia",
77
- "associates",
78
- "at",
79
- "athleta",
80
- "attorney",
81
- "au",
82
- "auction",
83
- "audi",
84
- "audible",
85
- "audio",
86
- "auspost",
87
- "author",
88
- "auto",
89
- "autos",
90
- "aw",
91
- "aws",
92
- "ax",
93
- "axa",
94
- "az",
95
- "azure",
96
- "ba",
97
- "baby",
98
- "baidu",
99
- "banamex",
100
- "band",
101
- "bank",
102
- "bar",
103
- "barcelona",
104
- "barclaycard",
105
- "barclays",
106
- "barefoot",
107
- "bargains",
108
- "baseball",
109
- "basketball",
110
- "bauhaus",
111
- "bayern",
112
- "bb",
113
- "bbc",
114
- "bbt",
115
- "bbva",
116
- "bcg",
117
- "bcn",
118
- "bd",
119
- "be",
120
- "beats",
121
- "beauty",
122
- "beer",
123
- "berlin",
124
- "best",
125
- "bestbuy",
126
- "bet",
127
- "bf",
128
- "bg",
129
- "bh",
130
- "bharti",
131
- "bi",
132
- "bible",
133
- "bid",
134
- "bike",
135
- "bing",
136
- "bingo",
137
- "bio",
138
- "biz",
139
- "bj",
140
- "black",
141
- "blackfriday",
142
- "blockbuster",
143
- "blog",
144
- "bloomberg",
145
- "blue",
146
- "bm",
147
- "bms",
148
- "bmw",
149
- "bn",
150
- "bnpparibas",
151
- "bo",
152
- "boats",
153
- "boehringer",
154
- "bofa",
155
- "bom",
156
- "bond",
157
- "boo",
158
- "book",
159
- "booking",
160
- "bosch",
161
- "bostik",
162
- "boston",
163
- "bot",
164
- "boutique",
165
- "box",
166
- "br",
167
- "bradesco",
168
- "bridgestone",
169
- "broadway",
170
- "broker",
171
- "brother",
172
- "brussels",
173
- "bs",
174
- "bt",
175
- "build",
176
- "builders",
177
- "business",
178
- "buy",
179
- "buzz",
180
- "bv",
181
- "bw",
182
- "by",
183
- "bz",
184
- "bzh",
185
- "ca",
186
- "cab",
187
- "cafe",
188
- "cal",
189
- "call",
190
- "calvinklein",
191
- "cam",
192
- "camera",
193
- "camp",
194
- "canon",
195
- "capetown",
196
- "capital",
197
- "capitalone",
198
- "car",
199
- "caravan",
200
- "cards",
201
- "care",
202
- "career",
203
- "careers",
204
- "cars",
205
- "casa",
206
- "case",
207
- "cash",
208
- "casino",
209
- "cat",
210
- "catering",
211
- "catholic",
212
- "cba",
213
- "cbn",
214
- "cbre",
215
- "cc",
216
- "cd",
217
- "center",
218
- "ceo",
219
- "cern",
220
- "cf",
221
- "cfa",
222
- "cfd",
223
- "cg",
224
- "ch",
225
- "chanel",
226
- "channel",
227
- "charity",
228
- "chase",
229
- "chat",
230
- "cheap",
231
- "chintai",
232
- "christmas",
233
- "chrome",
234
- "church",
235
- "ci",
236
- "cipriani",
237
- "circle",
238
- "cisco",
239
- "citadel",
240
- "citi",
241
- "citic",
242
- "city",
243
- "ck",
244
- "cl",
245
- "claims",
246
- "cleaning",
247
- "click",
248
- "clinic",
249
- "clinique",
250
- "clothing",
251
- "cloud",
252
- "club",
253
- "clubmed",
254
- "cm",
255
- "cn",
256
- "co",
257
- "coach",
258
- "codes",
259
- "coffee",
260
- "college",
261
- "cologne",
262
- "com",
263
- "commbank",
264
- "community",
265
- "company",
266
- "compare",
267
- "computer",
268
- "comsec",
269
- "condos",
270
- "construction",
271
- "consulting",
272
- "contact",
273
- "contractors",
274
- "cooking",
275
- "cool",
276
- "coop",
277
- "corsica",
278
- "country",
279
- "coupon",
280
- "coupons",
281
- "courses",
282
- "cpa",
283
- "cr",
284
- "credit",
285
- "creditcard",
286
- "creditunion",
287
- "cricket",
288
- "crown",
289
- "crs",
290
- "cruise",
291
- "cruises",
292
- "cu",
293
- "cuisinella",
294
- "cv",
295
- "cw",
296
- "cx",
297
- "cy",
298
- "cymru",
299
- "cyou",
300
- "cz",
301
- "dad",
302
- "dance",
303
- "data",
304
- "date",
305
- "dating",
306
- "datsun",
307
- "day",
308
- "dclk",
309
- "dds",
310
- "de",
311
- "deal",
312
- "dealer",
313
- "deals",
314
- "degree",
315
- "delivery",
316
- "dell",
317
- "deloitte",
318
- "delta",
319
- "democrat",
320
- "dental",
321
- "dentist",
322
- "desi",
323
- "design",
324
- "dev",
325
- "dhl",
326
- "diamonds",
327
- "diet",
328
- "digital",
329
- "direct",
330
- "directory",
331
- "discount",
332
- "discover",
333
- "dish",
334
- "diy",
335
- "dj",
336
- "dk",
337
- "dm",
338
- "dnp",
339
- "do",
340
- "docs",
341
- "doctor",
342
- "dog",
343
- "domains",
344
- "dot",
345
- "download",
346
- "drive",
347
- "dtv",
348
- "dubai",
349
- "dupont",
350
- "durban",
351
- "dvag",
352
- "dvr",
353
- "dz",
354
- "earth",
355
- "eat",
356
- "ec",
357
- "eco",
358
- "edeka",
359
- "edu",
360
- "education",
361
- "ee",
362
- "eg",
363
- "email",
364
- "emerck",
365
- "energy",
366
- "engineer",
367
- "engineering",
368
- "enterprises",
369
- "epson",
370
- "equipment",
371
- "er",
372
- "ericsson",
373
- "erni",
374
- "es",
375
- "esq",
376
- "estate",
377
- "et",
378
- "eu",
379
- "eurovision",
380
- "eus",
381
- "events",
382
- "exchange",
383
- "expert",
384
- "exposed",
385
- "express",
386
- "extraspace",
387
- "fage",
388
- "fail",
389
- "fairwinds",
390
- "faith",
391
- "family",
392
- "fan",
393
- "fans",
394
- "farm",
395
- "farmers",
396
- "fashion",
397
- "fast",
398
- "fedex",
399
- "feedback",
400
- "ferrari",
401
- "ferrero",
402
- "fi",
403
- "fidelity",
404
- "fido",
405
- "film",
406
- "final",
407
- "finance",
408
- "financial",
409
- "fire",
410
- "firestone",
411
- "firmdale",
412
- "fish",
413
- "fishing",
414
- "fit",
415
- "fitness",
416
- "fj",
417
- "fk",
418
- "flickr",
419
- "flights",
420
- "flir",
421
- "florist",
422
- "flowers",
423
- "fly",
424
- "fm",
425
- "fo",
426
- "foo",
427
- "food",
428
- "football",
429
- "ford",
430
- "forex",
431
- "forsale",
432
- "forum",
433
- "foundation",
434
- "fox",
435
- "fr",
436
- "free",
437
- "fresenius",
438
- "frl",
439
- "frogans",
440
- "frontier",
441
- "ftr",
442
- "fujitsu",
443
- "fun",
444
- "fund",
445
- "furniture",
446
- "futbol",
447
- "fyi",
448
- "ga",
449
- "gal",
450
- "gallery",
451
- "gallo",
452
- "gallup",
453
- "game",
454
- "games",
455
- "gap",
456
- "garden",
457
- "gay",
458
- "gb",
459
- "gbiz",
460
- "gd",
461
- "gdn",
462
- "ge",
463
- "gea",
464
- "gent",
465
- "genting",
466
- "george",
467
- "gf",
468
- "gg",
469
- "ggee",
470
- "gh",
471
- "gi",
472
- "gift",
473
- "gifts",
474
- "gives",
475
- "giving",
476
- "gl",
477
- "glass",
478
- "gle",
479
- "global",
480
- "globo",
481
- "gm",
482
- "gmail",
483
- "gmbh",
484
- "gmo",
485
- "gmx",
486
- "gn",
487
- "godaddy",
488
- "gold",
489
- "goldpoint",
490
- "golf",
491
- "goo",
492
- "goodyear",
493
- "goog",
494
- "google",
495
- "gop",
496
- "got",
497
- "gov",
498
- "gp",
499
- "gq",
500
- "gr",
501
- "grainger",
502
- "graphics",
503
- "gratis",
504
- "green",
505
- "gripe",
506
- "grocery",
507
- "group",
508
- "gs",
509
- "gt",
510
- "gu",
511
- "gucci",
512
- "guge",
513
- "guide",
514
- "guitars",
515
- "guru",
516
- "gw",
517
- "gy",
518
- "hair",
519
- "hamburg",
520
- "hangout",
521
- "haus",
522
- "hbo",
523
- "hdfc",
524
- "hdfcbank",
525
- "health",
526
- "healthcare",
527
- "help",
528
- "helsinki",
529
- "here",
530
- "hermes",
531
- "hiphop",
532
- "hisamitsu",
533
- "hitachi",
534
- "hiv",
535
- "hk",
536
- "hkt",
537
- "hm",
538
- "hn",
539
- "hockey",
540
- "holdings",
541
- "holiday",
542
- "homedepot",
543
- "homegoods",
544
- "homes",
545
- "homesense",
546
- "honda",
547
- "horse",
548
- "hospital",
549
- "host",
550
- "hosting",
551
- "hot",
552
- "hotels",
553
- "hotmail",
554
- "house",
555
- "how",
556
- "hr",
557
- "hsbc",
558
- "ht",
559
- "hu",
560
- "hughes",
561
- "hyatt",
562
- "hyundai",
563
- "ibm",
564
- "icbc",
565
- "ice",
566
- "icu",
567
- "id",
568
- "ie",
569
- "ieee",
570
- "ifm",
571
- "ikano",
572
- "il",
573
- "im",
574
- "imamat",
575
- "imdb",
576
- "immo",
577
- "immobilien",
578
- "in",
579
- "inc",
580
- "industries",
581
- "infiniti",
582
- "info",
583
- "ing",
584
- "ink",
585
- "institute",
586
- "insurance",
587
- "insure",
588
- "int",
589
- "international",
590
- "intuit",
591
- "investments",
592
- "io",
593
- "ipiranga",
594
- "iq",
595
- "ir",
596
- "irish",
597
- "is",
598
- "ismaili",
599
- "ist",
600
- "istanbul",
601
- "it",
602
- "itau",
603
- "itv",
604
- "jaguar",
605
- "java",
606
- "jcb",
607
- "je",
608
- "jeep",
609
- "jetzt",
610
- "jewelry",
611
- "jio",
612
- "jll",
613
- "jm",
614
- "jmp",
615
- "jnj",
616
- "jo",
617
- "jobs",
618
- "joburg",
619
- "jot",
620
- "joy",
621
- "jp",
622
- "jpmorgan",
623
- "jprs",
624
- "juegos",
625
- "juniper",
626
- "kaufen",
627
- "kddi",
628
- "ke",
629
- "kerryhotels",
630
- "kerryproperties",
631
- "kfh",
632
- "kg",
633
- "kh",
634
- "ki",
635
- "kia",
636
- "kids",
637
- "kim",
638
- "kindle",
639
- "kitchen",
640
- "kiwi",
641
- "km",
642
- "kn",
643
- "koeln",
644
- "komatsu",
645
- "kosher",
646
- "kp",
647
- "kpmg",
648
- "kpn",
649
- "kr",
650
- "krd",
651
- "kred",
652
- "kuokgroup",
653
- "kw",
654
- "ky",
655
- "kyoto",
656
- "kz",
657
- "la",
658
- "lacaixa",
659
- "lamborghini",
660
- "lamer",
661
- "land",
662
- "landrover",
663
- "lanxess",
664
- "lasalle",
665
- "lat",
666
- "latino",
667
- "latrobe",
668
- "law",
669
- "lawyer",
670
- "lb",
671
- "lc",
672
- "lds",
673
- "lease",
674
- "leclerc",
675
- "lefrak",
676
- "legal",
677
- "lego",
678
- "lexus",
679
- "lgbt",
680
- "li",
681
- "lidl",
682
- "life",
683
- "lifeinsurance",
684
- "lifestyle",
685
- "lighting",
686
- "like",
687
- "lilly",
688
- "limited",
689
- "limo",
690
- "lincoln",
691
- "link",
692
- "live",
693
- "living",
694
- "lk",
695
- "llc",
696
- "llp",
697
- "loan",
698
- "loans",
699
- "locker",
700
- "locus",
701
- "lol",
702
- "london",
703
- "lotte",
704
- "lotto",
705
- "love",
706
- "lpl",
707
- "lplfinancial",
708
- "lr",
709
- "ls",
710
- "lt",
711
- "ltd",
712
- "ltda",
713
- "lu",
714
- "lundbeck",
715
- "luxe",
716
- "luxury",
717
- "lv",
718
- "ly",
719
- "ma",
720
- "madrid",
721
- "maif",
722
- "maison",
723
- "makeup",
724
- "man",
725
- "management",
726
- "mango",
727
- "map",
728
- "market",
729
- "marketing",
730
- "markets",
731
- "marriott",
732
- "marshalls",
733
- "mattel",
734
- "mba",
735
- "mc",
736
- "mckinsey",
737
- "md",
738
- "me",
739
- "med",
740
- "media",
741
- "meet",
742
- "melbourne",
743
- "meme",
744
- "memorial",
745
- "men",
746
- "menu",
747
- "merckmsd",
748
- "mg",
749
- "mh",
750
- "miami",
751
- "microsoft",
752
- "mil",
753
- "mini",
754
- "mint",
755
- "mit",
756
- "mitsubishi",
757
- "mk",
758
- "ml",
759
- "mlb",
760
- "mls",
761
- "mm",
762
- "mma",
763
- "mn",
764
- "mo",
765
- "mobi",
766
- "mobile",
767
- "moda",
768
- "moe",
769
- "moi",
770
- "mom",
771
- "monash",
772
- "money",
773
- "monster",
774
- "mormon",
775
- "mortgage",
776
- "moscow",
777
- "moto",
778
- "motorcycles",
779
- "mov",
780
- "movie",
781
- "mp",
782
- "mq",
783
- "mr",
784
- "ms",
785
- "msd",
786
- "mt",
787
- "mtn",
788
- "mtr",
789
- "mu",
790
- "museum",
791
- "music",
792
- "mv",
793
- "mw",
794
- "mx",
795
- "my",
796
- "mz",
797
- "na",
798
- "nab",
799
- "nagoya",
800
- "name",
801
- "navy",
802
- "nba",
803
- "nc",
804
- "ne",
805
- "nec",
806
- "net",
807
- "netbank",
808
- "netflix",
809
- "network",
810
- "neustar",
811
- "new",
812
- "news",
813
- "next",
814
- "nextdirect",
815
- "nexus",
816
- "nf",
817
- "nfl",
818
- "ng",
819
- "ngo",
820
- "nhk",
821
- "ni",
822
- "nico",
823
- "nike",
824
- "nikon",
825
- "ninja",
826
- "nissan",
827
- "nissay",
828
- "nl",
829
- "no",
830
- "nokia",
831
- "norton",
832
- "now",
833
- "nowruz",
834
- "nowtv",
835
- "np",
836
- "nr",
837
- "nra",
838
- "nrw",
839
- "ntt",
840
- "nu",
841
- "nyc",
842
- "nz",
843
- "obi",
844
- "observer",
845
- "office",
846
- "okinawa",
847
- "olayan",
848
- "olayangroup",
849
- "ollo",
850
- "om",
851
- "omega",
852
- "one",
853
- "ong",
854
- "onl",
855
- "online",
856
- "ooo",
857
- "open",
858
- "oracle",
859
- "orange",
860
- "org",
861
- "organic",
862
- "origins",
863
- "osaka",
864
- "otsuka",
865
- "ott",
866
- "ovh",
867
- "pa",
868
- "page",
869
- "panasonic",
870
- "paris",
871
- "pars",
872
- "partners",
873
- "parts",
874
- "party",
875
- "pay",
876
- "pccw",
877
- "pe",
878
- "pet",
879
- "pf",
880
- "pfizer",
881
- "pg",
882
- "ph",
883
- "pharmacy",
884
- "phd",
885
- "philips",
886
- "phone",
887
- "photo",
888
- "photography",
889
- "photos",
890
- "physio",
891
- "pics",
892
- "pictet",
893
- "pictures",
894
- "pid",
895
- "pin",
896
- "ping",
897
- "pink",
898
- "pioneer",
899
- "pizza",
900
- "pk",
901
- "pl",
902
- "place",
903
- "play",
904
- "playstation",
905
- "plumbing",
906
- "plus",
907
- "pm",
908
- "pn",
909
- "pnc",
910
- "pohl",
911
- "poker",
912
- "politie",
913
- "porn",
914
- "post",
915
- "pr",
916
- "praxi",
917
- "press",
918
- "prime",
919
- "pro",
920
- "prod",
921
- "productions",
922
- "prof",
923
- "progressive",
924
- "promo",
925
- "properties",
926
- "property",
927
- "protection",
928
- "pru",
929
- "prudential",
930
- "ps",
931
- "pt",
932
- "pub",
933
- "pw",
934
- "pwc",
935
- "py",
936
- "qa",
937
- "qpon",
938
- "quebec",
939
- "quest",
940
- "racing",
941
- "radio",
942
- "re",
943
- "read",
944
- "realestate",
945
- "realtor",
946
- "realty",
947
- "recipes",
948
- "red",
949
- "redumbrella",
950
- "rehab",
951
- "reise",
952
- "reisen",
953
- "reit",
954
- "reliance",
955
- "ren",
956
- "rent",
957
- "rentals",
958
- "repair",
959
- "report",
960
- "republican",
961
- "rest",
962
- "restaurant",
963
- "review",
964
- "reviews",
965
- "rexroth",
966
- "rich",
967
- "richardli",
968
- "ricoh",
969
- "ril",
970
- "rio",
971
- "rip",
972
- "ro",
973
- "rocks",
974
- "rodeo",
975
- "rogers",
976
- "room",
977
- "rs",
978
- "rsvp",
979
- "ru",
980
- "rugby",
981
- "ruhr",
982
- "run",
983
- "rw",
984
- "rwe",
985
- "ryukyu",
986
- "sa",
987
- "saarland",
988
- "safe",
989
- "safety",
990
- "sakura",
991
- "sale",
992
- "salon",
993
- "samsclub",
994
- "samsung",
995
- "sandvik",
996
- "sandvikcoromant",
997
- "sanofi",
998
- "sap",
999
- "sarl",
1000
- "sas",
1001
- "save",
1002
- "saxo",
1003
- "sb",
1004
- "sbi",
1005
- "sbs",
1006
- "sc",
1007
- "scb",
1008
- "schaeffler",
1009
- "schmidt",
1010
- "scholarships",
1011
- "school",
1012
- "schule",
1013
- "schwarz",
1014
- "science",
1015
- "scot",
1016
- "sd",
1017
- "se",
1018
- "search",
1019
- "seat",
1020
- "secure",
1021
- "security",
1022
- "seek",
1023
- "select",
1024
- "sener",
1025
- "services",
1026
- "seven",
1027
- "sew",
1028
- "sex",
1029
- "sexy",
1030
- "sfr",
1031
- "sg",
1032
- "sh",
1033
- "shangrila",
1034
- "sharp",
1035
- "shell",
1036
- "shia",
1037
- "shiksha",
1038
- "shoes",
1039
- "shop",
1040
- "shopping",
1041
- "shouji",
1042
- "show",
1043
- "si",
1044
- "silk",
1045
- "sina",
1046
- "singles",
1047
- "site",
1048
- "sj",
1049
- "sk",
1050
- "ski",
1051
- "skin",
1052
- "sky",
1053
- "skype",
1054
- "sl",
1055
- "sling",
1056
- "sm",
1057
- "smart",
1058
- "smile",
1059
- "sn",
1060
- "sncf",
1061
- "so",
1062
- "soccer",
1063
- "social",
1064
- "softbank",
1065
- "software",
1066
- "sohu",
1067
- "solar",
1068
- "solutions",
1069
- "song",
1070
- "sony",
1071
- "soy",
1072
- "spa",
1073
- "space",
1074
- "sport",
1075
- "spot",
1076
- "sr",
1077
- "srl",
1078
- "ss",
1079
- "st",
1080
- "stada",
1081
- "staples",
1082
- "star",
1083
- "statebank",
1084
- "statefarm",
1085
- "stc",
1086
- "stcgroup",
1087
- "stockholm",
1088
- "storage",
1089
- "store",
1090
- "stream",
1091
- "studio",
1092
- "study",
1093
- "style",
1094
- "su",
1095
- "sucks",
1096
- "supplies",
1097
- "supply",
1098
- "support",
1099
- "surf",
1100
- "surgery",
1101
- "suzuki",
1102
- "sv",
1103
- "swatch",
1104
- "swiss",
1105
- "sx",
1106
- "sy",
1107
- "sydney",
1108
- "systems",
1109
- "sz",
1110
- "tab",
1111
- "taipei",
1112
- "talk",
1113
- "taobao",
1114
- "target",
1115
- "tatamotors",
1116
- "tatar",
1117
- "tattoo",
1118
- "tax",
1119
- "taxi",
1120
- "tc",
1121
- "tci",
1122
- "td",
1123
- "tdk",
1124
- "team",
1125
- "tech",
1126
- "technology",
1127
- "tel",
1128
- "temasek",
1129
- "tennis",
1130
- "teva",
1131
- "tf",
1132
- "tg",
1133
- "th",
1134
- "thd",
1135
- "theater",
1136
- "theatre",
1137
- "tiaa",
1138
- "tickets",
1139
- "tienda",
1140
- "tips",
1141
- "tires",
1142
- "tirol",
1143
- "tj",
1144
- "tjmaxx",
1145
- "tjx",
1146
- "tk",
1147
- "tkmaxx",
1148
- "tl",
1149
- "tm",
1150
- "tmall",
1151
- "tn",
1152
- "to",
1153
- "today",
1154
- "tokyo",
1155
- "tools",
1156
- "top",
1157
- "toray",
1158
- "toshiba",
1159
- "total",
1160
- "tours",
1161
- "town",
1162
- "toyota",
1163
- "toys",
1164
- "tr",
1165
- "trade",
1166
- "trading",
1167
- "training",
1168
- "travel",
1169
- "travelers",
1170
- "travelersinsurance",
1171
- "trust",
1172
- "trv",
1173
- "tt",
1174
- "tube",
1175
- "tui",
1176
- "tunes",
1177
- "tushu",
1178
- "tv",
1179
- "tvs",
1180
- "tw",
1181
- "tz",
1182
- "ua",
1183
- "ubank",
1184
- "ubs",
1185
- "ug",
1186
- "uk",
1187
- "unicom",
1188
- "university",
1189
- "uno",
1190
- "uol",
1191
- "ups",
1192
- "us",
1193
- "uy",
1194
- "uz",
1195
- "va",
1196
- "vacations",
1197
- "vana",
1198
- "vanguard",
1199
- "vc",
1200
- "ve",
1201
- "vegas",
1202
- "ventures",
1203
- "verisign",
1204
- "vermögensberater",
1205
- "vermögensberatung",
1206
- "versicherung",
1207
- "vet",
1208
- "vg",
1209
- "vi",
1210
- "viajes",
1211
- "video",
1212
- "vig",
1213
- "viking",
1214
- "villas",
1215
- "vin",
1216
- "vip",
1217
- "virgin",
1218
- "visa",
1219
- "vision",
1220
- "viva",
1221
- "vivo",
1222
- "vlaanderen",
1223
- "vn",
1224
- "vodka",
1225
- "volvo",
1226
- "vote",
1227
- "voting",
1228
- "voto",
1229
- "voyage",
1230
- "vu",
1231
- "wales",
1232
- "walmart",
1233
- "walter",
1234
- "wang",
1235
- "wanggou",
1236
- "watch",
1237
- "watches",
1238
- "weather",
1239
- "weatherchannel",
1240
- "webcam",
1241
- "weber",
1242
- "website",
1243
- "wed",
1244
- "wedding",
1245
- "weibo",
1246
- "weir",
1247
- "wf",
1248
- "whoswho",
1249
- "wien",
1250
- "wiki",
1251
- "williamhill",
1252
- "win",
1253
- "windows",
1254
- "wine",
1255
- "winners",
1256
- "wme",
1257
- "wolterskluwer",
1258
- "woodside",
1259
- "work",
1260
- "works",
1261
- "world",
1262
- "wow",
1263
- "ws",
1264
- "wtc",
1265
- "wtf",
1266
- "xbox",
1267
- "xerox",
1268
- "xihuan",
1269
- "xin",
1270
- "xxx",
1271
- "xyz",
1272
- "yachts",
1273
- "yahoo",
1274
- "yamaxun",
1275
- "yandex",
1276
- "ye",
1277
- "yodobashi",
1278
- "yoga",
1279
- "yokohama",
1280
- "you",
1281
- "youtube",
1282
- "yt",
1283
- "yun",
1284
- "za",
1285
- "zappos",
1286
- "zara",
1287
- "zero",
1288
- "zip",
1289
- "zm",
1290
- "zone",
1291
- "zuerich",
1292
- "zw",
1293
- "ελ",
1294
- "ευ",
1295
- "бг",
1296
- "бел",
1297
- "дети",
1298
- "ею",
1299
- "католик",
1300
- "ком",
1301
- "мкд",
1302
- "мон",
1303
- "москва",
1304
- "онлайн",
1305
- "орг",
1306
- "рус",
1307
- "рф",
1308
- "сайт",
1309
- "срб",
1310
- "укр",
1311
- "қаз",
1312
- "հայ",
1313
- "ישראל",
1314
- "קום",
1315
- "ابوظبي",
1316
- "ارامكو",
1317
- "الاردن",
1318
- "البحرين",
1319
- "الجزائر",
1320
- "السعودية",
1321
- "العليان",
1322
- "المغرب",
1323
- "امارات",
1324
- "ایران",
1325
- "بارت",
1326
- "بازار",
1327
- "بيتك",
1328
- "بھارت",
1329
- "تونس",
1330
- "سودان",
1331
- "سورية",
1332
- "شبكة",
1333
- "عراق",
1334
- "عرب",
1335
- "عمان",
1336
- "فلسطين",
1337
- "قطر",
1338
- "كاثوليك",
1339
- "كوم",
1340
- "مصر",
1341
- "مليسيا",
1342
- "موريتانيا",
1343
- "موقع",
1344
- "همراه",
1345
- "پاکستان",
1346
- "ڀارت",
1347
- "कॉम",
1348
- "नेट",
1349
- "भारत",
1350
- "भारतम्",
1351
- "भारोत",
1352
- "संगठन",
1353
- "বাংলা",
1354
- "ভারত",
1355
- "ভাৰত",
1356
- "ਭਾਰਤ",
1357
- "ભારત",
1358
- "ଭାରତ",
1359
- "இந்தியா",
1360
- "இலங்கை",
1361
- "சிங்கப்பூர்",
1362
- "భారత్",
1363
- "ಭಾರತ",
1364
- "ഭാരതം",
1365
- "ලංකා",
1366
- "คอม",
1367
- "ไทย",
1368
- "ລາວ",
1369
- "გე",
1370
- "みんな",
1371
- "アマゾン",
1372
- "クラウド",
1373
- "グーグル",
1374
- "コム",
1375
- "ストア",
1376
- "セール",
1377
- "ファッション",
1378
- "ポイント",
1379
- "世界",
1380
- "中信",
1381
- "中国",
1382
- "中國",
1383
- "中文网",
1384
- "亚马逊",
1385
- "企业",
1386
- "佛山",
1387
- "信息",
1388
- "健康",
1389
- "八卦",
1390
- "公司",
1391
- "公益",
1392
- "台湾",
1393
- "台灣",
1394
- "商城",
1395
- "商店",
1396
- "商标",
1397
- "嘉里",
1398
- "嘉里大酒店",
1399
- "在线",
1400
- "大拿",
1401
- "天主教",
1402
- "娱乐",
1403
- "家電",
1404
- "广东",
1405
- "微博",
1406
- "慈善",
1407
- "我爱你",
1408
- "手机",
1409
- "招聘",
1410
- "政务",
1411
- "政府",
1412
- "新加坡",
1413
- "新闻",
1414
- "时尚",
1415
- "書籍",
1416
- "机构",
1417
- "淡马锡",
1418
- "游戏",
1419
- "澳門",
1420
- "点看",
1421
- "移动",
1422
- "组织机构",
1423
- "网址",
1424
- "网店",
1425
- "网站",
1426
- "网络",
1427
- "联通",
1428
- "谷歌",
1429
- "购物",
1430
- "通販",
1431
- "集团",
1432
- "電訊盈科",
1433
- "飞利浦",
1434
- "食品",
1435
- "餐厅",
1436
- "香格里拉",
1437
- "香港",
1438
- "닷넷",
1439
- "닷컴",
1440
- "삼성",
1441
- "한국"
1442
- ];
1443
-
1444
- const URL_WITH_PROTOCOL = /https?:\/\/[^\s<>"]+/gi;
1445
- const EMAIL = /[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi;
1446
- const INSTAGRAM = /@([a-z0-9][a-z0-9._]{0,29})\b/gi;
1447
- const SOUNDCLOUD = /https?:\/\/(?:www\.)?soundcloud\.com\/[a-z0-9_-]+(?:\/[^\s<>"]*)?/gi;
1448
- const DIVIDER = /^[-=]{3,}$/gm;
1449
- let bareDomainPattern = null;
1450
- function getBareDomainPattern() {
1451
- if (!bareDomainPattern) {
1452
- const tldPattern = tlds.join("|");
1453
- bareDomainPattern = new RegExp(
1454
- `\\b(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+(?:${tldPattern})\\b(?:\\/[^\\s<>"]*)?`,
1455
- "gi"
1456
- );
1457
- }
1458
- return bareDomainPattern;
1459
- }
1460
- const MAX_TEXT_LENGTH_FOR_BARE_DOMAIN = 2048;
1461
- function cleanUrl(url) {
1462
- return url.replace(/[.,;:!?)]+$/, "");
1463
- }
1464
- function matchIndex(match) {
1465
- return match.index ?? 0;
1466
- }
1467
- function isSoundCloudUrl(url) {
1468
- try {
1469
- const parsed = new URL(url);
1470
- return parsed.hostname === "soundcloud.com" || parsed.hostname === "www.soundcloud.com";
1471
- } catch {
1472
- return false;
1473
- }
1474
- }
1475
- function isLinkMatch(match) {
1476
- return Boolean(match);
1477
- }
1478
- function isInstagramBoundary(text, index) {
1479
- if (index === 0) return true;
1480
- const prev = text[index - 1];
1481
- return prev ? !/[a-z0-9._%+-]/i.test(prev) : true;
1482
- }
1483
- function soundCloudMatch(_text, match) {
1484
- const index = matchIndex(match);
1485
- const url = cleanUrl(match[0]);
1486
- return {
1487
- type: "soundcloud",
1488
- start: index,
1489
- end: index + url.length,
1490
- text: url,
1491
- href: url
1492
- };
1493
- }
1494
- function urlMatch(_text, match) {
1495
- const url = cleanUrl(match[0]);
1496
- if (isSoundCloudUrl(url)) return void 0;
1497
- const index = matchIndex(match);
1498
- return {
1499
- type: "url",
1500
- start: index,
1501
- end: index + url.length,
1502
- text: url,
1503
- href: url
1504
- };
1505
- }
1506
- function emailMatch(_text, match) {
1507
- const index = matchIndex(match);
1508
- return {
1509
- type: "email",
1510
- start: index,
1511
- end: index + match[0].length,
1512
- text: match[0],
1513
- href: `mailto:${match[0]}`
1514
- };
1515
- }
1516
- function instagramMatch(text, match) {
1517
- const index = matchIndex(match);
1518
- if (!isInstagramBoundary(text, index)) return void 0;
1519
- const username = match[1];
1520
- return {
1521
- type: "instagram",
1522
- start: index,
1523
- end: index + match[0].length,
1524
- text: match[0],
1525
- href: `https://instagram.com/${username}`
1526
- };
1527
- }
1528
- function bareDomainMatch(_text, match) {
1529
- const index = matchIndex(match);
1530
- const domain = cleanUrl(match[0]);
1531
- return {
1532
- type: "url",
1533
- start: index,
1534
- end: index + domain.length,
1535
- text: domain,
1536
- href: `https://${domain}`
1537
- };
1538
- }
1539
- const BASE_LINK_EXTRACTORS = [
1540
- { pattern: SOUNDCLOUD, toMatch: soundCloudMatch },
1541
- { pattern: URL_WITH_PROTOCOL, toMatch: urlMatch },
1542
- { pattern: EMAIL, toMatch: emailMatch },
1543
- { pattern: INSTAGRAM, toMatch: instagramMatch }
1544
- ];
1545
- function bareDomainExtractor() {
1546
- return { pattern: getBareDomainPattern(), toMatch: bareDomainMatch };
1547
- }
1548
- function matchesForExtractor(text, extractor) {
1549
- extractor.pattern.lastIndex = 0;
1550
- return Array.from(
1551
- text.matchAll(extractor.pattern),
1552
- (match) => extractor.toMatch(text, match)
1553
- ).filter(isLinkMatch);
1554
- }
1555
- function rangesOverlap(a, b) {
1556
- return a.start < b.end && a.end > b.start;
1557
- }
1558
- function withoutOverlaps(candidates) {
1559
- const matches = [];
1560
- const used = [];
1561
- for (const candidate of candidates) {
1562
- if (used.some((range) => rangesOverlap(candidate, range))) continue;
1563
- matches.push(candidate);
1564
- used.push(candidate);
1565
- }
1566
- return matches.sort((a, b) => a.start - b.start);
1567
- }
1568
- function findLinks(text) {
1569
- const extractors = text.length <= MAX_TEXT_LENGTH_FOR_BARE_DOMAIN ? [...BASE_LINK_EXTRACTORS, bareDomainExtractor()] : BASE_LINK_EXTRACTORS;
1570
- return withoutOverlaps(
1571
- extractors.flatMap((extractor) => matchesForExtractor(text, extractor))
1572
- );
1573
- }
1574
- function findDividers(text) {
1575
- const dividers = [];
1576
- DIVIDER.lastIndex = 0;
1577
- for (const match of text.matchAll(DIVIDER)) {
1578
- const index = match.index ?? 0;
1579
- dividers.push({
1580
- start: index,
1581
- end: index + match[0].length
1582
- });
1583
- }
1584
- return dividers;
1585
- }
1586
- function getDisplayUrl(url) {
1587
- try {
1588
- const parsed = new URL(url);
1589
- return parsed.hostname.replace(/^www\./, "") + (parsed.pathname !== "/" ? parsed.pathname : "");
1590
- } catch {
1591
- return url;
1592
- }
1593
- }
1594
- function parseFormattedText(text) {
1595
- if (!text) {
1596
- return [];
1597
- }
1598
- const segments = [];
1599
- const markers = buildMarkers(findLinks(text), findDividers(text));
1600
- let lastEnd = 0;
1601
- let lastWasDivider = false;
1602
- for (const marker of markers) {
1603
- if (marker.start < lastEnd) continue;
1604
- appendTextSegment(segments, text, lastEnd, marker.start, {
1605
- trimLeading: lastWasDivider,
1606
- trimTrailing: marker.type === "divider"
1607
- });
1608
- segments.push(markerSegment(marker));
1609
- lastEnd = marker.end;
1610
- lastWasDivider = marker.type === "divider";
1611
- }
1612
- appendTextSegment(segments, text, lastEnd, text.length, {
1613
- trimLeading: lastWasDivider,
1614
- trimTrailing: false
1615
- });
1616
- return segments;
1617
- }
1618
- function buildMarkers(links, dividers) {
1619
- return [
1620
- ...links.map((link) => ({
1621
- type: "link",
1622
- data: link,
1623
- start: link.start,
1624
- end: link.end
1625
- })),
1626
- ...dividers.map((divider) => ({
1627
- type: "divider",
1628
- start: divider.start,
1629
- end: divider.end
1630
- }))
1631
- ].sort((a, b) => a.start - b.start);
1632
- }
1633
- function trimTextSegment(content, opts) {
1634
- const leading = opts.trimLeading ? content.replace(/^\n+/, "") : content;
1635
- return opts.trimTrailing ? leading.replace(/\n+$/, "") : leading;
1636
- }
1637
- function appendTextSegment(segments, text, start, end, opts) {
1638
- if (start >= end) return;
1639
- const content = trimTextSegment(text.slice(start, end), opts);
1640
- if (content) segments.push({ type: "text", content });
1641
- }
1642
- function markerSegment(marker) {
1643
- if (marker.type === "divider") return { type: "divider", content: "" };
1644
- const link = marker.data;
1645
- if (link.type === "soundcloud") {
1646
- return {
1647
- type: "soundcloud",
1648
- content: link.text,
1649
- href: link.href
1650
- };
1651
- }
1652
- return {
1653
- type: "link",
1654
- content: link.text,
1655
- href: link.href,
1656
- linkType: link.type
1657
- };
1658
- }
1659
-
1660
- const sessionServicesFormattedTextCss = () => `:host{--foreground:oklch(0.145 0 0);--muted-foreground:oklch(0.556 0 0);--primary:oklch(0.42 0.24 264.376);--border:oklch(0.922 0 0);--ring:oklch(0.708 0 0);--radius:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
1661
- "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--transition-fast:150ms cubic-bezier(0.4, 0, 0.2, 1);--internal-foreground:var(--foreground, oklch(0.145 0 0));--internal-muted-foreground:var(--muted-foreground, oklch(0.556 0 0));--internal-primary:var(--primary, oklch(0.42 0.24 264.376));--internal-border:var(--border, oklch(0.922 0 0));--internal-ring:var(--ring, oklch(0.708 0 0));--internal-radius:var(--radius, 0.5rem);--internal-spacing-md:var(--spacing-md, 1rem);--internal-spacing-lg:var(--spacing-lg, 1.5rem);--internal-font-family:var(
1662
- --font-family,
1663
- ui-sans-serif,
1664
- system-ui,
1665
- -apple-system,
1666
- BlinkMacSystemFont,
1667
- "Segoe UI",
1668
- Roboto,
1669
- "Helvetica Neue",
1670
- Arial,
1671
- "Noto Sans",
1672
- sans-serif
1673
- );--internal-transition-fast:var(
1674
- --transition-fast,
1675
- 150ms cubic-bezier(0.4, 0, 0.2, 1)
1676
- );display:block;font-family:var(--internal-font-family);line-height:1.6;color:var(--internal-foreground)}:host([data-theme="dark"]){--foreground:oklch(0.96 0 0);--muted-foreground:oklch(0.78 0 0);--primary:oklch(0.623 0.214 259.815);--border:oklch(0.29 0 0);--ring:oklch(0.6 0 0)}*{box-sizing:border-box;margin:0;padding:0}*:focus:not(:focus-visible){outline:none}*:focus-visible{outline:2px solid var(--internal-ring);outline-offset:2px;border-radius:calc(var(--internal-radius) - 4px)}.formatted-text{color:var(--internal-foreground);white-space:pre-wrap;word-wrap:break-word}.formatted-link{color:var(--internal-primary);text-decoration:none;transition:color var(--internal-transition-fast)}.formatted-link:hover{color:oklch(from var(--internal-primary) calc(l + 0.1) c h);text-decoration:underline}.formatted-divider{height:0;border:none;border-top:1px solid var(--internal-border);margin:var(--internal-spacing-md) 0}.soundcloud-embed{margin:var(--internal-spacing-md) 0;border-radius:var(--internal-radius);overflow:hidden}.soundcloud-embed iframe{display:block;border:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}`;
1677
-
1678
- const SessionServicesFormattedText$1 = /*@__PURE__*/ proxyCustomElement(class SessionServicesFormattedText extends H {
1679
- constructor(registerHost) {
1680
- super();
1681
- if (registerHost !== false) {
1682
- this.__registerHost();
1683
- }
1684
- this.__attachShadow();
1685
- }
1686
- text = "";
1687
- theme = "system";
1688
- currentTheme = "light";
1689
- segments = [];
1690
- mediaQueryList;
1691
- componentWillLoad() {
1692
- this.setupTheme();
1693
- this.parseText();
1694
- }
1695
- textChanged() {
1696
- this.parseText();
1697
- }
1698
- themeChanged() {
1699
- this.setupTheme();
1700
- }
1701
- disconnectedCallback() {
1702
- this.removeThemeListener();
1703
- }
1704
- setupTheme() {
1705
- this.removeThemeListener();
1706
- if (this.theme !== "system") {
1707
- this.currentTheme = this.theme;
1708
- return;
1709
- }
1710
- this.setupSystemTheme();
1711
- }
1712
- removeThemeListener() {
1713
- this.mediaQueryList?.removeEventListener("change", this.handleSystemThemeChange);
1714
- }
1715
- setupSystemTheme() {
1716
- if (typeof globalThis.matchMedia !== "function") {
1717
- this.currentTheme = "light";
1718
- return;
1719
- }
1720
- this.mediaQueryList = globalThis.matchMedia("(prefers-color-scheme: dark)");
1721
- this.currentTheme = this.mediaQueryList.matches ? "dark" : "light";
1722
- this.mediaQueryList.addEventListener("change", this.handleSystemThemeChange);
1723
- }
1724
- handleSystemThemeChange = (e) => {
1725
- if (this.theme === "system") {
1726
- this.currentTheme = e.matches ? "dark" : "light";
1727
- }
1728
- };
1729
- parseText() {
1730
- this.segments = parseFormattedText(this.text);
1731
- }
1732
- renderLink(segment, key) {
1733
- const displayText = segment.linkType === "url"
1734
- ? getDisplayUrl(segment.href || "")
1735
- : segment.content;
1736
- return (h("a", { key: key, href: segment.href, target: "_blank", rel: "noopener noreferrer", class: "formatted-link" }, displayText, h("span", { class: "sr-only" }, " (opens in new tab)")));
1737
- }
1738
- renderSoundCloudEmbed(url, key, label) {
1739
- if (!isSoundCloudUrl(url)) {
1740
- return this.renderLink({
1741
- type: "link",
1742
- content: url,
1743
- href: url,
1744
- linkType: "url",
1745
- }, key);
1746
- }
1747
- const embedUrl = `https://w.soundcloud.com/player/?url=${encodeURIComponent(url)}&color=%23ff5500&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&show_teaser=false`;
1748
- // Extract path for accessible title (e.g., "artist/track-name" from URL)
1749
- const pathLabel = new URL(url).pathname.slice(1).replace(/-/g, " ");
1750
- const iframeTitle = `SoundCloud: ${label || pathLabel || url}`;
1751
- return (h("div", { key: key, class: "soundcloud-embed" }, h("iframe", { width: "100%", height: "166", scrolling: "no", allow: "autoplay", sandbox: "allow-scripts allow-same-origin allow-popups", src: embedUrl, title: iframeTitle, loading: "lazy" })));
1752
- }
1753
- renderSegment(segment, index) {
1754
- if (segment.type === "text")
1755
- return h("span", { key: index }, segment.content);
1756
- if (segment.type === "link")
1757
- return this.renderLink(segment, index);
1758
- if (segment.type === "divider")
1759
- return h("hr", { key: index, class: "formatted-divider" });
1760
- return this.renderMediaSegment(segment, index);
1761
- }
1762
- renderMediaSegment(segment, index) {
1763
- if (segment.type !== "soundcloud")
1764
- return null;
1765
- return this.renderSoundCloudEmbed(segment.href || "", index, segment.content);
1766
- }
1767
- render() {
1768
- return (h(Host, { key: '3b477ff5db918a1b3b6872f48d330305d320ae3b', "data-theme": this.currentTheme }, h("div", { key: 'efe7fc93f9f1c2b38271a30e4a8fdf7306793d6e', class: "formatted-text" }, this.segments.map((segment, index) => this.renderSegment(segment, index)))));
1769
- }
1770
- static get watchers() { return {
1771
- "text": ["textChanged"],
1772
- "theme": ["themeChanged"]
1773
- }; }
1774
- static get style() { return sessionServicesFormattedTextCss(); }
1775
- }, [769, "session-services-formatted-text", {
1776
- "text": [1],
1777
- "theme": [1],
1778
- "currentTheme": [32],
1779
- "segments": [32]
1780
- }, undefined, {
1781
- "text": ["textChanged"],
1782
- "theme": ["themeChanged"]
1783
- }]);
1784
- function defineCustomElement$1() {
1785
- if (typeof customElements === "undefined") {
1786
- return;
1787
- }
1788
- const components = ["session-services-formatted-text"];
1789
- components.forEach(tagName => { switch (tagName) {
1790
- case "session-services-formatted-text":
1791
- if (!customElements.get(transformTag(tagName))) {
1792
- customElements.define(transformTag(tagName), SessionServicesFormattedText$1);
1793
- }
1794
- break;
1795
- } });
1796
- }
1797
- defineCustomElement$1();
1798
-
1799
- const SessionServicesFormattedText = SessionServicesFormattedText$1;
1800
- const defineCustomElement = defineCustomElement$1;
1801
-
1802
- export { SessionServicesFormattedText, defineCustomElement };
1
+ import{t as e,p as a,H as t,h as r,a as n}from"./index.js";var o=["aaa","aarp","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","link","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mv","mw","mx","my","mz","na","nab","nagoya","name","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shell","shia","shiksha","shoes","shop","shopping","shouji","show","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volvo","vote","voting","voto","voyage","vu","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];const i=/^[-=]{3,}$/gm;let s=null;function l(){if(!s){const e=o.join("|");s=RegExp(`\\b(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+(?:${e})\\b(?:\\/[^\\s<>"]*)?`,"gi")}return s}function c(e){return e.replace(/[.,;:!?)]+$/,"")}function d(e){return e.index??0}function u(e){try{const a=new URL(e);return"soundcloud.com"===a.hostname||"www.soundcloud.com"===a.hostname}catch{return!1}}function m(e){return!!e}function h(e,a){const t=d(a),r=c(a[0]);return{type:"url",start:t,end:t+r.length,text:r,href:"https://"+r}}const g=[{pattern:/https?:\/\/(?:www\.)?soundcloud\.com\/[a-z0-9_-]+(?:\/[^\s<>"]*)?/gi,toMatch:function(e,a){const t=d(a),r=c(a[0]);return{type:"soundcloud",start:t,end:t+r.length,text:r,href:r}}},{pattern:/https?:\/\/[^\s<>"]+/gi,toMatch:function(e,a){const t=c(a[0]);if(u(t))return;const r=d(a);return{type:"url",start:r,end:r+t.length,text:t,href:t}}},{pattern:/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi,toMatch:function(e,a){const t=d(a);return{type:"email",start:t,end:t+a[0].length,text:a[0],href:"mailto:"+a[0]}}},{pattern:/@([a-z0-9][a-z0-9._]{0,29})\b/gi,toMatch:function(e,a){const t=d(a);if(function(e,a){if(0===a)return!0;const t=e[a-1];return!t||!/[a-z0-9._%+-]/i.test(t)}(e,t))return{type:"instagram",start:t,end:t+a[0].length,text:a[0],href:"https://instagram.com/"+a[1]}}}];function p(e,a){return e.start<a.end&&e.end>a.start}function b(e){if(!e)return[];const a=[],t=function(e,a){return[...e.map((e=>({type:"link",data:e,start:e.start,end:e.end}))),...a.map((e=>({type:"divider",start:e.start,end:e.end})))].sort(((e,a)=>e.start-a.start))}(function(e){return function(e){const a=[],t=[];for(const r of e)t.some((e=>p(r,e)))||(a.push(r),t.push(r));return a.sort(((e,a)=>e.start-a.start))}((e.length<=2048?[...g,{pattern:l(),toMatch:h}]:g).flatMap((a=>function(e,a){return a.pattern.lastIndex=0,Array.from(e.matchAll(a.pattern),(t=>a.toMatch(e,t))).filter(m)}(e,a))))}(e),function(e){const a=[];i.lastIndex=0;for(const t of e.matchAll(i)){const e=t.index??0;a.push({start:e,end:e+t[0].length})}return a}(e));let r=0,n=!1;for(const o of t)o.start<r||(f(a,e,r,o.start,{trimLeading:n,trimTrailing:"divider"===o.type}),a.push(y(o)),r=o.end,n="divider"===o.type);return f(a,e,r,e.length,{trimLeading:n,trimTrailing:!1}),a}function f(e,a,t,r,n){if(t>=r)return;const o=function(e,a){const t=a.trimLeading?e.replace(/^\n+/,""):e;return a.trimTrailing?t.replace(/\n+$/,""):t}(a.slice(t,r),n);o&&e.push({type:"text",content:o})}function y(e){if("divider"===e.type)return{type:"divider",content:""};const a=e.data;return"soundcloud"===a.type?{type:"soundcloud",content:a.text,href:a.href}:{type:"link",content:a.text,href:a.href,linkType:a.type}}const k=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}text="";theme="system";currentTheme="light";segments=[];mediaQueryList;componentWillLoad(){this.setupTheme(),this.parseText()}textChanged(){this.parseText()}themeChanged(){this.setupTheme()}disconnectedCallback(){this.removeThemeListener()}setupTheme(){this.removeThemeListener(),"system"===this.theme?this.setupSystemTheme():this.currentTheme=this.theme}removeThemeListener(){this.mediaQueryList?.removeEventListener("change",this.handleSystemThemeChange)}setupSystemTheme(){"function"==typeof globalThis.matchMedia?(this.mediaQueryList=globalThis.matchMedia("(prefers-color-scheme: dark)"),this.currentTheme=this.mediaQueryList.matches?"dark":"light",this.mediaQueryList.addEventListener("change",this.handleSystemThemeChange)):this.currentTheme="light"}handleSystemThemeChange=e=>{"system"===this.theme&&(this.currentTheme=e.matches?"dark":"light")};parseText(){this.segments=b(this.text)}renderLink(e,a){const t="url"===e.linkType?function(e){try{const a=new URL(e);return a.hostname.replace(/^www\./,"")+("/"!==a.pathname?a.pathname:"")}catch{return e}}(e.href||""):e.content;return r("a",{key:a,href:e.href,target:"_blank",rel:"noopener noreferrer",class:"formatted-link"},t,r("span",{class:"sr-only"}," (opens in new tab)"))}renderSoundCloudEmbed(e,a,t){if(!u(e))return this.renderLink({type:"link",content:e,href:e,linkType:"url"},a);const n=`https://w.soundcloud.com/player/?url=${encodeURIComponent(e)}&color=%23ff5500&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&show_teaser=false`,o=new URL(e).pathname.slice(1).replace(/-/g," ");return r("div",{key:a,class:"soundcloud-embed"},r("iframe",{width:"100%",height:"166",scrolling:"no",allow:"autoplay",sandbox:"allow-scripts allow-same-origin allow-popups",src:n,title:"SoundCloud: "+(t||o||e),loading:"lazy"}))}renderSegment(e,a){return"text"===e.type?r("span",{key:a},e.content):"link"===e.type?this.renderLink(e,a):"divider"===e.type?r("hr",{key:a,class:"formatted-divider"}):this.renderMediaSegment(e,a)}renderMediaSegment(e,a){return"soundcloud"!==e.type?null:this.renderSoundCloudEmbed(e.href||"",a,e.content)}render(){return r(n,{key:"3b477ff5db918a1b3b6872f48d330305d320ae3b","data-theme":this.currentTheme},r("div",{key:"efe7fc93f9f1c2b38271a30e4a8fdf7306793d6e",class:"formatted-text"},this.segments.map(((e,a)=>this.renderSegment(e,a)))))}static get watchers(){return{text:[{textChanged:0}],theme:[{themeChanged:0}]}}static get style(){return':host{--foreground:oklch(0.145 0 0);--muted-foreground:oklch(0.556 0 0);--primary:oklch(0.42 0.24 264.376);--border:oklch(0.922 0 0);--ring:oklch(0.708 0 0);--radius:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;--transition-fast:150ms cubic-bezier(0.4, 0, 0.2, 1);--internal-foreground:var(--foreground, oklch(0.145 0 0));--internal-muted-foreground:var(--muted-foreground, oklch(0.556 0 0));--internal-primary:var(--primary, oklch(0.42 0.24 264.376));--internal-border:var(--border, oklch(0.922 0 0));--internal-ring:var(--ring, oklch(0.708 0 0));--internal-radius:var(--radius, 0.5rem);--internal-spacing-md:var(--spacing-md, 1rem);--internal-spacing-lg:var(--spacing-lg, 1.5rem);--internal-font-family:var( --font-family, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif );--internal-transition-fast:var( --transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1) );display:block;font-family:var(--internal-font-family);line-height:1.6;color:var(--internal-foreground)}:host([data-theme="dark"]){--foreground:oklch(0.96 0 0);--muted-foreground:oklch(0.78 0 0);--primary:oklch(0.623 0.214 259.815);--border:oklch(0.29 0 0);--ring:oklch(0.6 0 0)}*{box-sizing:border-box;margin:0;padding:0}*:focus:not(:focus-visible){outline:none}*:focus-visible{outline:2px solid var(--internal-ring);outline-offset:2px;border-radius:calc(var(--internal-radius) - 4px)}.formatted-text{color:var(--internal-foreground);white-space:pre-wrap;word-wrap:break-word}.formatted-link{color:var(--internal-primary);text-decoration:none;transition:color var(--internal-transition-fast)}.formatted-link:hover{color:oklch(from var(--internal-primary) calc(l + 0.1) c h);text-decoration:underline}.formatted-divider{height:0;border:none;border-top:1px solid var(--internal-border);margin:var(--internal-spacing-md) 0}.soundcloud-embed{margin:var(--internal-spacing-md) 0;border-radius:var(--internal-radius);overflow:hidden}.soundcloud-embed iframe{display:block;border:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}'}},[513,"session-services-formatted-text",{text:[1],theme:[1],currentTheme:[32],segments:[32]},void 0,{text:[{textChanged:0}],theme:[{themeChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["session-services-formatted-text"].forEach((a=>{"session-services-formatted-text"===a&&(customElements.get(e(a))||customElements.define(e(a),k))}))}v();const w=k,x=v;export{w as SessionServicesFormattedText,x as defineCustomElement}