@session-services/web-elements 0.1.17 → 0.1.18

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 (27) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/session-services-elements.cjs.js +1 -1
  4. package/dist/cjs/session-services-formatted-text.cjs.entry.js +1759 -0
  5. package/dist/cjs/session-services-ticketing.cjs.entry.js +2071 -834
  6. package/dist/collection/collection-manifest.json +1 -0
  7. package/dist/collection/components/session-services-formatted-text/session-services-formatted-text.css +135 -0
  8. package/dist/collection/components/session-services-formatted-text/session-services-formatted-text.js +162 -0
  9. package/dist/collection/components/session-services-ticketing/session-services-ticketing.css +175 -3
  10. package/dist/collection/components/session-services-ticketing/session-services-ticketing.js +50 -9
  11. package/dist/collection/index.js +1 -11
  12. package/dist/components/session-services-formatted-text.d.ts +11 -0
  13. package/dist/components/session-services-formatted-text.js +1786 -0
  14. package/dist/components/session-services-ticketing.js +2073 -835
  15. package/dist/esm/loader.js +1 -1
  16. package/dist/esm/session-services-elements.js +1 -1
  17. package/dist/esm/session-services-formatted-text.entry.js +1757 -0
  18. package/dist/esm/session-services-ticketing.entry.js +2071 -834
  19. package/dist/session-services-elements/p-62a8e2cc.entry.js +1 -0
  20. package/dist/session-services-elements/p-a2404c46.entry.js +1 -0
  21. package/dist/session-services-elements/session-services-elements.esm.js +1 -1
  22. package/dist/types/components/session-services-formatted-text/session-services-formatted-text.d.ts +19 -0
  23. package/dist/types/components/session-services-ticketing/session-services-ticketing.d.ts +6 -0
  24. package/dist/types/components.d.ts +29 -0
  25. package/dist/types/index.d.ts +1 -0
  26. package/package.json +10 -5
  27. package/dist/session-services-elements/p-448028d4.entry.js +0 -1
@@ -0,0 +1,1786 @@
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][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 isSoundCloudUrl(url) {
1465
+ try {
1466
+ const parsed = new URL(url);
1467
+ return parsed.hostname === "soundcloud.com" || parsed.hostname === "www.soundcloud.com";
1468
+ } catch {
1469
+ return false;
1470
+ }
1471
+ }
1472
+ function findLinks(text) {
1473
+ const matches = [];
1474
+ const usedRanges = [];
1475
+ const isOverlapping = (start, end) => {
1476
+ return usedRanges.some(
1477
+ ([s, e]) => start >= s && start < e || end > s && end <= e || start <= s && end >= e
1478
+ );
1479
+ };
1480
+ const addMatch = (match) => {
1481
+ if (!isOverlapping(match.start, match.end)) {
1482
+ matches.push(match);
1483
+ usedRanges.push([match.start, match.end]);
1484
+ }
1485
+ };
1486
+ SOUNDCLOUD.lastIndex = 0;
1487
+ for (const match of text.matchAll(SOUNDCLOUD)) {
1488
+ const index = match.index ?? 0;
1489
+ const url = cleanUrl(match[0]);
1490
+ addMatch({
1491
+ type: "soundcloud",
1492
+ start: index,
1493
+ end: index + url.length,
1494
+ text: url,
1495
+ href: url
1496
+ });
1497
+ }
1498
+ URL_WITH_PROTOCOL.lastIndex = 0;
1499
+ for (const match of text.matchAll(URL_WITH_PROTOCOL)) {
1500
+ const index = match.index ?? 0;
1501
+ const url = cleanUrl(match[0]);
1502
+ if (!isSoundCloudUrl(url)) {
1503
+ addMatch({
1504
+ type: "url",
1505
+ start: index,
1506
+ end: index + url.length,
1507
+ text: url,
1508
+ href: url
1509
+ });
1510
+ }
1511
+ }
1512
+ EMAIL.lastIndex = 0;
1513
+ for (const match of text.matchAll(EMAIL)) {
1514
+ const index = match.index ?? 0;
1515
+ addMatch({
1516
+ type: "email",
1517
+ start: index,
1518
+ end: index + match[0].length,
1519
+ text: match[0],
1520
+ href: `mailto:${match[0]}`
1521
+ });
1522
+ }
1523
+ INSTAGRAM.lastIndex = 0;
1524
+ for (const match of text.matchAll(INSTAGRAM)) {
1525
+ const index = match.index ?? 0;
1526
+ const username = match[1];
1527
+ addMatch({
1528
+ type: "instagram",
1529
+ start: index,
1530
+ end: index + match[0].length,
1531
+ text: match[0],
1532
+ href: `https://instagram.com/${username}`
1533
+ });
1534
+ }
1535
+ if (text.length <= MAX_TEXT_LENGTH_FOR_BARE_DOMAIN) {
1536
+ const bareDomain = getBareDomainPattern();
1537
+ bareDomain.lastIndex = 0;
1538
+ for (const match of text.matchAll(bareDomain)) {
1539
+ const index = match.index ?? 0;
1540
+ const domain = cleanUrl(match[0]);
1541
+ addMatch({
1542
+ type: "url",
1543
+ start: index,
1544
+ end: index + domain.length,
1545
+ text: domain,
1546
+ href: `https://${domain}`
1547
+ });
1548
+ }
1549
+ }
1550
+ return matches.sort((a, b) => a.start - b.start);
1551
+ }
1552
+ function findDividers(text) {
1553
+ const dividers = [];
1554
+ DIVIDER.lastIndex = 0;
1555
+ for (const match of text.matchAll(DIVIDER)) {
1556
+ const index = match.index ?? 0;
1557
+ dividers.push({
1558
+ start: index,
1559
+ end: index + match[0].length
1560
+ });
1561
+ }
1562
+ return dividers;
1563
+ }
1564
+ function getDisplayUrl(url) {
1565
+ try {
1566
+ const parsed = new URL(url);
1567
+ return parsed.hostname.replace(/^www\./, "") + (parsed.pathname !== "/" ? parsed.pathname : "");
1568
+ } catch {
1569
+ return url;
1570
+ }
1571
+ }
1572
+ function parseFormattedText(text) {
1573
+ if (!text) {
1574
+ return [];
1575
+ }
1576
+ const links = findLinks(text);
1577
+ const dividers = findDividers(text);
1578
+ const segments = [];
1579
+ const markers = [
1580
+ ...links.map((l) => ({
1581
+ type: "link",
1582
+ data: l,
1583
+ start: l.start,
1584
+ end: l.end
1585
+ })),
1586
+ ...dividers.map((d) => ({
1587
+ type: "divider",
1588
+ start: d.start,
1589
+ end: d.end
1590
+ }))
1591
+ ].sort((a, b) => a.start - b.start);
1592
+ let lastEnd = 0;
1593
+ let lastWasDivider = false;
1594
+ for (const marker of markers) {
1595
+ if (marker.start < lastEnd) continue;
1596
+ if (marker.start > lastEnd) {
1597
+ let textContent = text.slice(lastEnd, marker.start);
1598
+ if (lastWasDivider) {
1599
+ textContent = textContent.replace(/^\n+/, "");
1600
+ }
1601
+ if (marker.type === "divider") {
1602
+ textContent = textContent.replace(/\n+$/, "");
1603
+ }
1604
+ if (textContent) {
1605
+ segments.push({ type: "text", content: textContent });
1606
+ }
1607
+ }
1608
+ if (marker.type === "link") {
1609
+ const link = marker.data;
1610
+ if (link.type === "soundcloud") {
1611
+ segments.push({
1612
+ type: "soundcloud",
1613
+ content: link.text,
1614
+ href: link.href
1615
+ });
1616
+ } else {
1617
+ segments.push({
1618
+ type: "link",
1619
+ content: link.text,
1620
+ href: link.href,
1621
+ linkType: link.type
1622
+ });
1623
+ }
1624
+ lastWasDivider = false;
1625
+ } else {
1626
+ segments.push({ type: "divider", content: "" });
1627
+ lastWasDivider = true;
1628
+ }
1629
+ lastEnd = marker.end;
1630
+ }
1631
+ if (lastEnd < text.length) {
1632
+ let textContent = text.slice(lastEnd);
1633
+ if (lastWasDivider) {
1634
+ textContent = textContent.replace(/^\n+/, "");
1635
+ }
1636
+ if (textContent) {
1637
+ segments.push({ type: "text", content: textContent });
1638
+ }
1639
+ }
1640
+ return segments;
1641
+ }
1642
+
1643
+ 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,
1644
+ "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(
1645
+ --font-family,
1646
+ ui-sans-serif,
1647
+ system-ui,
1648
+ -apple-system,
1649
+ BlinkMacSystemFont,
1650
+ "Segoe UI",
1651
+ Roboto,
1652
+ "Helvetica Neue",
1653
+ Arial,
1654
+ "Noto Sans",
1655
+ sans-serif
1656
+ );--internal-transition-fast:var(
1657
+ --transition-fast,
1658
+ 150ms cubic-bezier(0.4, 0, 0.2, 1)
1659
+ );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}`;
1660
+
1661
+ const SessionServicesFormattedText$1 = /*@__PURE__*/ proxyCustomElement(class SessionServicesFormattedText extends H {
1662
+ constructor(registerHost) {
1663
+ super();
1664
+ if (registerHost !== false) {
1665
+ this.__registerHost();
1666
+ }
1667
+ this.__attachShadow();
1668
+ }
1669
+ text = "";
1670
+ theme = "system";
1671
+ currentTheme = "light";
1672
+ segments = [];
1673
+ mediaQueryList;
1674
+ componentWillLoad() {
1675
+ this.setupTheme();
1676
+ this.parseText();
1677
+ }
1678
+ textChanged() {
1679
+ this.parseText();
1680
+ }
1681
+ themeChanged() {
1682
+ this.setupTheme();
1683
+ }
1684
+ disconnectedCallback() {
1685
+ if (this.mediaQueryList) {
1686
+ this.mediaQueryList.removeEventListener("change", this.handleSystemThemeChange);
1687
+ }
1688
+ }
1689
+ setupTheme() {
1690
+ if (this.mediaQueryList) {
1691
+ this.mediaQueryList.removeEventListener("change", this.handleSystemThemeChange);
1692
+ }
1693
+ if (this.theme === "system") {
1694
+ // Guard for testing environments (JSDOM) where matchMedia may not exist
1695
+ if (typeof globalThis.matchMedia === "function") {
1696
+ this.mediaQueryList = globalThis.matchMedia("(prefers-color-scheme: dark)");
1697
+ this.currentTheme = this.mediaQueryList.matches ? "dark" : "light";
1698
+ this.mediaQueryList.addEventListener("change", this.handleSystemThemeChange);
1699
+ }
1700
+ else {
1701
+ this.currentTheme = "light";
1702
+ }
1703
+ }
1704
+ else {
1705
+ this.currentTheme = this.theme;
1706
+ }
1707
+ }
1708
+ handleSystemThemeChange = (e) => {
1709
+ if (this.theme === "system") {
1710
+ this.currentTheme = e.matches ? "dark" : "light";
1711
+ }
1712
+ };
1713
+ parseText() {
1714
+ this.segments = parseFormattedText(this.text);
1715
+ }
1716
+ renderLink(segment, key) {
1717
+ const displayText = segment.linkType === "url"
1718
+ ? getDisplayUrl(segment.href || "")
1719
+ : segment.content;
1720
+ 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)")));
1721
+ }
1722
+ renderSoundCloudEmbed(url, key, label) {
1723
+ if (!isSoundCloudUrl(url)) {
1724
+ return this.renderLink({
1725
+ type: "link",
1726
+ content: url,
1727
+ href: url,
1728
+ linkType: "url",
1729
+ }, key);
1730
+ }
1731
+ 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`;
1732
+ // Extract path for accessible title (e.g., "artist/track-name" from URL)
1733
+ const pathLabel = new URL(url).pathname.slice(1).replace(/-/g, " ");
1734
+ const iframeTitle = `SoundCloud: ${label || pathLabel || url}`;
1735
+ 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" })));
1736
+ }
1737
+ renderSegment(segment, index) {
1738
+ switch (segment.type) {
1739
+ case "text":
1740
+ return h("span", { key: index }, segment.content);
1741
+ case "link":
1742
+ return this.renderLink(segment, index);
1743
+ case "divider":
1744
+ return h("hr", { key: index, class: "formatted-divider" });
1745
+ case "soundcloud":
1746
+ return this.renderSoundCloudEmbed(segment.href || "", index, segment.content);
1747
+ default:
1748
+ return null;
1749
+ }
1750
+ }
1751
+ render() {
1752
+ return (h(Host, { key: '1a7f36efb8cdbd1efdaa97c36b60593a13c99c4e', "data-theme": this.currentTheme }, h("div", { key: 'fce1176ff0ef2ea5c3f1b282ab9a52554491f9bf', class: "formatted-text" }, this.segments.map((segment, index) => this.renderSegment(segment, index)))));
1753
+ }
1754
+ static get watchers() { return {
1755
+ "text": ["textChanged"],
1756
+ "theme": ["themeChanged"]
1757
+ }; }
1758
+ static get style() { return sessionServicesFormattedTextCss(); }
1759
+ }, [769, "session-services-formatted-text", {
1760
+ "text": [1],
1761
+ "theme": [1],
1762
+ "currentTheme": [32],
1763
+ "segments": [32]
1764
+ }, undefined, {
1765
+ "text": ["textChanged"],
1766
+ "theme": ["themeChanged"]
1767
+ }]);
1768
+ function defineCustomElement$1() {
1769
+ if (typeof customElements === "undefined") {
1770
+ return;
1771
+ }
1772
+ const components = ["session-services-formatted-text"];
1773
+ components.forEach(tagName => { switch (tagName) {
1774
+ case "session-services-formatted-text":
1775
+ if (!customElements.get(transformTag(tagName))) {
1776
+ customElements.define(transformTag(tagName), SessionServicesFormattedText$1);
1777
+ }
1778
+ break;
1779
+ } });
1780
+ }
1781
+ defineCustomElement$1();
1782
+
1783
+ const SessionServicesFormattedText = SessionServicesFormattedText$1;
1784
+ const defineCustomElement = defineCustomElement$1;
1785
+
1786
+ export { SessionServicesFormattedText, defineCustomElement };