@lilydesignsystem/web-components-headless-identifiers 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -55,6 +55,17 @@ var HANDLED2 = /* @__PURE__ */ new Set(["label", "value"]);
55
55
  var AlImaratRaqmAlHuwiyahView = class extends HTMLElement {
56
56
  #span = null;
57
57
  #text = null;
58
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
59
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
60
+ #pending = null;
61
+ static get observedAttributes() {
62
+ return ["value"];
63
+ }
64
+ attributeChangedCallback(name, _old, next) {
65
+ if (name !== "value" || next === null || !this.#text) return;
66
+ this.#text.data = next;
67
+ this.removeAttribute("value");
68
+ }
58
69
  connectedCallback() {
59
70
  if (this.#span) return;
60
71
  const span = document.createElement("span");
@@ -66,18 +77,20 @@ var AlImaratRaqmAlHuwiyahView = class extends HTMLElement {
66
77
  hidden.textContent = `${label} `;
67
78
  span.append(hidden);
68
79
  }
69
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
80
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
81
+ this.#pending = null;
70
82
  span.append(this.#text);
71
83
  passThroughAttributes(this, span, HANDLED2);
84
+ this.removeAttribute("value");
72
85
  this.appendChild(span);
73
86
  this.#span = span;
74
87
  }
75
88
  get value() {
76
- return this.#text?.data ?? this.getAttribute("value") ?? "";
89
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
77
90
  }
78
91
  set value(v) {
79
92
  if (this.#text) this.#text.data = v;
80
- else this.setAttribute("value", v);
93
+ else this.#pending = v;
81
94
  }
82
95
  };
83
96
 
@@ -115,6 +128,17 @@ var HANDLED4 = /* @__PURE__ */ new Set(["label", "value"]);
115
128
  var AlbaCommunityHealthIndexView = class extends HTMLElement {
116
129
  #span = null;
117
130
  #text = null;
131
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
132
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
133
+ #pending = null;
134
+ static get observedAttributes() {
135
+ return ["value"];
136
+ }
137
+ attributeChangedCallback(name, _old, next) {
138
+ if (name !== "value" || next === null || !this.#text) return;
139
+ this.#text.data = next;
140
+ this.removeAttribute("value");
141
+ }
118
142
  connectedCallback() {
119
143
  if (this.#span) return;
120
144
  const span = document.createElement("span");
@@ -126,18 +150,20 @@ var AlbaCommunityHealthIndexView = class extends HTMLElement {
126
150
  hidden.textContent = `${label} `;
127
151
  span.append(hidden);
128
152
  }
129
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
153
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
154
+ this.#pending = null;
130
155
  span.append(this.#text);
131
156
  passThroughAttributes(this, span, HANDLED4);
157
+ this.removeAttribute("value");
132
158
  this.appendChild(span);
133
159
  this.#span = span;
134
160
  }
135
161
  get value() {
136
- return this.#text?.data ?? this.getAttribute("value") ?? "";
162
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
137
163
  }
138
164
  set value(v) {
139
165
  if (this.#text) this.#text.data = v;
140
- else this.setAttribute("value", v);
166
+ else this.#pending = v;
141
167
  }
142
168
  };
143
169
 
@@ -175,6 +201,17 @@ var HANDLED6 = /* @__PURE__ */ new Set(["label", "value"]);
175
201
  var AotearoaNationalHealthIndexView = class extends HTMLElement {
176
202
  #span = null;
177
203
  #text = null;
204
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
205
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
206
+ #pending = null;
207
+ static get observedAttributes() {
208
+ return ["value"];
209
+ }
210
+ attributeChangedCallback(name, _old, next) {
211
+ if (name !== "value" || next === null || !this.#text) return;
212
+ this.#text.data = next;
213
+ this.removeAttribute("value");
214
+ }
178
215
  connectedCallback() {
179
216
  if (this.#span) return;
180
217
  const span = document.createElement("span");
@@ -186,18 +223,20 @@ var AotearoaNationalHealthIndexView = class extends HTMLElement {
186
223
  hidden.textContent = `${label} `;
187
224
  span.append(hidden);
188
225
  }
189
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
226
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
227
+ this.#pending = null;
190
228
  span.append(this.#text);
191
229
  passThroughAttributes(this, span, HANDLED6);
230
+ this.removeAttribute("value");
192
231
  this.appendChild(span);
193
232
  this.#span = span;
194
233
  }
195
234
  get value() {
196
- return this.#text?.data ?? this.getAttribute("value") ?? "";
235
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
197
236
  }
198
237
  set value(v) {
199
238
  if (this.#text) this.#text.data = v;
200
- else this.setAttribute("value", v);
239
+ else this.#pending = v;
201
240
  }
202
241
  };
203
242
 
@@ -238,6 +277,17 @@ var HANDLED8 = /* @__PURE__ */ new Set(["label", "value"]);
238
277
  var ArgentinaCodigoUnicoDeIdentificacionLaboralView = class extends HTMLElement {
239
278
  #span = null;
240
279
  #text = null;
280
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
281
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
282
+ #pending = null;
283
+ static get observedAttributes() {
284
+ return ["value"];
285
+ }
286
+ attributeChangedCallback(name, _old, next) {
287
+ if (name !== "value" || next === null || !this.#text) return;
288
+ this.#text.data = next;
289
+ this.removeAttribute("value");
290
+ }
241
291
  connectedCallback() {
242
292
  if (this.#span) return;
243
293
  const span = document.createElement("span");
@@ -252,18 +302,20 @@ var ArgentinaCodigoUnicoDeIdentificacionLaboralView = class extends HTMLElement
252
302
  hidden.textContent = `${label} `;
253
303
  span.append(hidden);
254
304
  }
255
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
305
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
306
+ this.#pending = null;
256
307
  span.append(this.#text);
257
308
  passThroughAttributes(this, span, HANDLED8);
309
+ this.removeAttribute("value");
258
310
  this.appendChild(span);
259
311
  this.#span = span;
260
312
  }
261
313
  get value() {
262
- return this.#text?.data ?? this.getAttribute("value") ?? "";
314
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
263
315
  }
264
316
  set value(v) {
265
317
  if (this.#text) this.#text.data = v;
266
- else this.setAttribute("value", v);
318
+ else this.#pending = v;
267
319
  }
268
320
  };
269
321
 
@@ -301,6 +353,17 @@ var HANDLED10 = /* @__PURE__ */ new Set(["label", "value"]);
301
353
  var AsSaudiyahRaqmAlHuwiyahAlWataniyahView = class extends HTMLElement {
302
354
  #span = null;
303
355
  #text = null;
356
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
357
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
358
+ #pending = null;
359
+ static get observedAttributes() {
360
+ return ["value"];
361
+ }
362
+ attributeChangedCallback(name, _old, next) {
363
+ if (name !== "value" || next === null || !this.#text) return;
364
+ this.#text.data = next;
365
+ this.removeAttribute("value");
366
+ }
304
367
  connectedCallback() {
305
368
  if (this.#span) return;
306
369
  const span = document.createElement("span");
@@ -312,18 +375,20 @@ var AsSaudiyahRaqmAlHuwiyahAlWataniyahView = class extends HTMLElement {
312
375
  hidden.textContent = `${label} `;
313
376
  span.append(hidden);
314
377
  }
315
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
378
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
379
+ this.#pending = null;
316
380
  span.append(this.#text);
317
381
  passThroughAttributes(this, span, HANDLED10);
382
+ this.removeAttribute("value");
318
383
  this.appendChild(span);
319
384
  this.#span = span;
320
385
  }
321
386
  get value() {
322
- return this.#text?.data ?? this.getAttribute("value") ?? "";
387
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
323
388
  }
324
389
  set value(v) {
325
390
  if (this.#text) this.#text.data = v;
326
- else this.setAttribute("value", v);
391
+ else this.#pending = v;
327
392
  }
328
393
  };
329
394
 
@@ -361,6 +426,17 @@ var HANDLED12 = /* @__PURE__ */ new Set(["label", "value"]);
361
426
  var AustraliaIndividualHealthcareIdentifierView = class extends HTMLElement {
362
427
  #span = null;
363
428
  #text = null;
429
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
430
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
431
+ #pending = null;
432
+ static get observedAttributes() {
433
+ return ["value"];
434
+ }
435
+ attributeChangedCallback(name, _old, next) {
436
+ if (name !== "value" || next === null || !this.#text) return;
437
+ this.#text.data = next;
438
+ this.removeAttribute("value");
439
+ }
364
440
  connectedCallback() {
365
441
  if (this.#span) return;
366
442
  const span = document.createElement("span");
@@ -372,18 +448,20 @@ var AustraliaIndividualHealthcareIdentifierView = class extends HTMLElement {
372
448
  hidden.textContent = `${label} `;
373
449
  span.append(hidden);
374
450
  }
375
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
451
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
452
+ this.#pending = null;
376
453
  span.append(this.#text);
377
454
  passThroughAttributes(this, span, HANDLED12);
455
+ this.removeAttribute("value");
378
456
  this.appendChild(span);
379
457
  this.#span = span;
380
458
  }
381
459
  get value() {
382
- return this.#text?.data ?? this.getAttribute("value") ?? "";
460
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
383
461
  }
384
462
  set value(v) {
385
463
  if (this.#text) this.#text.data = v;
386
- else this.setAttribute("value", v);
464
+ else this.#pending = v;
387
465
  }
388
466
  };
389
467
 
@@ -421,6 +499,17 @@ var HANDLED14 = /* @__PURE__ */ new Set(["label", "value"]);
421
499
  var AustraliaTaxFileNumberView = class extends HTMLElement {
422
500
  #span = null;
423
501
  #text = null;
502
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
503
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
504
+ #pending = null;
505
+ static get observedAttributes() {
506
+ return ["value"];
507
+ }
508
+ attributeChangedCallback(name, _old, next) {
509
+ if (name !== "value" || next === null || !this.#text) return;
510
+ this.#text.data = next;
511
+ this.removeAttribute("value");
512
+ }
424
513
  connectedCallback() {
425
514
  if (this.#span) return;
426
515
  const span = document.createElement("span");
@@ -432,18 +521,20 @@ var AustraliaTaxFileNumberView = class extends HTMLElement {
432
521
  hidden.textContent = `${label} `;
433
522
  span.append(hidden);
434
523
  }
435
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
524
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
525
+ this.#pending = null;
436
526
  span.append(this.#text);
437
527
  passThroughAttributes(this, span, HANDLED14);
528
+ this.removeAttribute("value");
438
529
  this.appendChild(span);
439
530
  this.#span = span;
440
531
  }
441
532
  get value() {
442
- return this.#text?.data ?? this.getAttribute("value") ?? "";
533
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
443
534
  }
444
535
  set value(v) {
445
536
  if (this.#text) this.#text.data = v;
446
- else this.setAttribute("value", v);
537
+ else this.#pending = v;
447
538
  }
448
539
  };
449
540
 
@@ -481,6 +572,17 @@ var HANDLED16 = /* @__PURE__ */ new Set(["label", "value"]);
481
572
  var BangladeshNationalIdentityCardView = class extends HTMLElement {
482
573
  #span = null;
483
574
  #text = null;
575
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
576
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
577
+ #pending = null;
578
+ static get observedAttributes() {
579
+ return ["value"];
580
+ }
581
+ attributeChangedCallback(name, _old, next) {
582
+ if (name !== "value" || next === null || !this.#text) return;
583
+ this.#text.data = next;
584
+ this.removeAttribute("value");
585
+ }
484
586
  connectedCallback() {
485
587
  if (this.#span) return;
486
588
  const span = document.createElement("span");
@@ -492,18 +594,20 @@ var BangladeshNationalIdentityCardView = class extends HTMLElement {
492
594
  hidden.textContent = `${label} `;
493
595
  span.append(hidden);
494
596
  }
495
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
597
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
598
+ this.#pending = null;
496
599
  span.append(this.#text);
497
600
  passThroughAttributes(this, span, HANDLED16);
601
+ this.removeAttribute("value");
498
602
  this.appendChild(span);
499
603
  this.#span = span;
500
604
  }
501
605
  get value() {
502
- return this.#text?.data ?? this.getAttribute("value") ?? "";
606
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
503
607
  }
504
608
  set value(v) {
505
609
  if (this.#text) this.#text.data = v;
506
- else this.setAttribute("value", v);
610
+ else this.#pending = v;
507
611
  }
508
612
  };
509
613
 
@@ -541,6 +645,17 @@ var HANDLED18 = /* @__PURE__ */ new Set(["label", "value"]);
541
645
  var BelgiqueNumeroDeRegistreNationalView = class extends HTMLElement {
542
646
  #span = null;
543
647
  #text = null;
648
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
649
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
650
+ #pending = null;
651
+ static get observedAttributes() {
652
+ return ["value"];
653
+ }
654
+ attributeChangedCallback(name, _old, next) {
655
+ if (name !== "value" || next === null || !this.#text) return;
656
+ this.#text.data = next;
657
+ this.removeAttribute("value");
658
+ }
544
659
  connectedCallback() {
545
660
  if (this.#span) return;
546
661
  const span = document.createElement("span");
@@ -552,18 +667,20 @@ var BelgiqueNumeroDeRegistreNationalView = class extends HTMLElement {
552
667
  hidden.textContent = `${label} `;
553
668
  span.append(hidden);
554
669
  }
555
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
670
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
671
+ this.#pending = null;
556
672
  span.append(this.#text);
557
673
  passThroughAttributes(this, span, HANDLED18);
674
+ this.removeAttribute("value");
558
675
  this.appendChild(span);
559
676
  this.#span = span;
560
677
  }
561
678
  get value() {
562
- return this.#text?.data ?? this.getAttribute("value") ?? "";
679
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
563
680
  }
564
681
  set value(v) {
565
682
  if (this.#text) this.#text.data = v;
566
- else this.setAttribute("value", v);
683
+ else this.#pending = v;
567
684
  }
568
685
  };
569
686
 
@@ -601,6 +718,17 @@ var HANDLED20 = /* @__PURE__ */ new Set(["label", "value"]);
601
718
  var BharatAadhaarView = class extends HTMLElement {
602
719
  #span = null;
603
720
  #text = null;
721
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
722
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
723
+ #pending = null;
724
+ static get observedAttributes() {
725
+ return ["value"];
726
+ }
727
+ attributeChangedCallback(name, _old, next) {
728
+ if (name !== "value" || next === null || !this.#text) return;
729
+ this.#text.data = next;
730
+ this.removeAttribute("value");
731
+ }
604
732
  connectedCallback() {
605
733
  if (this.#span) return;
606
734
  const span = document.createElement("span");
@@ -612,18 +740,20 @@ var BharatAadhaarView = class extends HTMLElement {
612
740
  hidden.textContent = `${label} `;
613
741
  span.append(hidden);
614
742
  }
615
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
743
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
744
+ this.#pending = null;
616
745
  span.append(this.#text);
617
746
  passThroughAttributes(this, span, HANDLED20);
747
+ this.removeAttribute("value");
618
748
  this.appendChild(span);
619
749
  this.#span = span;
620
750
  }
621
751
  get value() {
622
- return this.#text?.data ?? this.getAttribute("value") ?? "";
752
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
623
753
  }
624
754
  set value(v) {
625
755
  if (this.#text) this.#text.data = v;
626
- else this.setAttribute("value", v);
756
+ else this.#pending = v;
627
757
  }
628
758
  };
629
759
 
@@ -661,6 +791,17 @@ var HANDLED22 = /* @__PURE__ */ new Set(["label", "value"]);
661
791
  var BrasilCartaoNacionalDeSaudeView = class extends HTMLElement {
662
792
  #span = null;
663
793
  #text = null;
794
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
795
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
796
+ #pending = null;
797
+ static get observedAttributes() {
798
+ return ["value"];
799
+ }
800
+ attributeChangedCallback(name, _old, next) {
801
+ if (name !== "value" || next === null || !this.#text) return;
802
+ this.#text.data = next;
803
+ this.removeAttribute("value");
804
+ }
664
805
  connectedCallback() {
665
806
  if (this.#span) return;
666
807
  const span = document.createElement("span");
@@ -672,18 +813,20 @@ var BrasilCartaoNacionalDeSaudeView = class extends HTMLElement {
672
813
  hidden.textContent = `${label} `;
673
814
  span.append(hidden);
674
815
  }
675
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
816
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
817
+ this.#pending = null;
676
818
  span.append(this.#text);
677
819
  passThroughAttributes(this, span, HANDLED22);
820
+ this.removeAttribute("value");
678
821
  this.appendChild(span);
679
822
  this.#span = span;
680
823
  }
681
824
  get value() {
682
- return this.#text?.data ?? this.getAttribute("value") ?? "";
825
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
683
826
  }
684
827
  set value(v) {
685
828
  if (this.#text) this.#text.data = v;
686
- else this.setAttribute("value", v);
829
+ else this.#pending = v;
687
830
  }
688
831
  };
689
832
 
@@ -721,6 +864,17 @@ var HANDLED24 = /* @__PURE__ */ new Set(["label", "value"]);
721
864
  var BulgariaEdinenGrazhdanskiNomerView = class extends HTMLElement {
722
865
  #span = null;
723
866
  #text = null;
867
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
868
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
869
+ #pending = null;
870
+ static get observedAttributes() {
871
+ return ["value"];
872
+ }
873
+ attributeChangedCallback(name, _old, next) {
874
+ if (name !== "value" || next === null || !this.#text) return;
875
+ this.#text.data = next;
876
+ this.removeAttribute("value");
877
+ }
724
878
  connectedCallback() {
725
879
  if (this.#span) return;
726
880
  const span = document.createElement("span");
@@ -732,18 +886,20 @@ var BulgariaEdinenGrazhdanskiNomerView = class extends HTMLElement {
732
886
  hidden.textContent = `${label} `;
733
887
  span.append(hidden);
734
888
  }
735
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
889
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
890
+ this.#pending = null;
736
891
  span.append(this.#text);
737
892
  passThroughAttributes(this, span, HANDLED24);
893
+ this.removeAttribute("value");
738
894
  this.appendChild(span);
739
895
  this.#span = span;
740
896
  }
741
897
  get value() {
742
- return this.#text?.data ?? this.getAttribute("value") ?? "";
898
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
743
899
  }
744
900
  set value(v) {
745
901
  if (this.#text) this.#text.data = v;
746
- else this.setAttribute("value", v);
902
+ else this.#pending = v;
747
903
  }
748
904
  };
749
905
 
@@ -781,6 +937,17 @@ var HANDLED26 = /* @__PURE__ */ new Set(["label", "value"]);
781
937
  var CanadaSocialInsuranceNumberView = class extends HTMLElement {
782
938
  #span = null;
783
939
  #text = null;
940
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
941
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
942
+ #pending = null;
943
+ static get observedAttributes() {
944
+ return ["value"];
945
+ }
946
+ attributeChangedCallback(name, _old, next) {
947
+ if (name !== "value" || next === null || !this.#text) return;
948
+ this.#text.data = next;
949
+ this.removeAttribute("value");
950
+ }
784
951
  connectedCallback() {
785
952
  if (this.#span) return;
786
953
  const span = document.createElement("span");
@@ -792,18 +959,20 @@ var CanadaSocialInsuranceNumberView = class extends HTMLElement {
792
959
  hidden.textContent = `${label} `;
793
960
  span.append(hidden);
794
961
  }
795
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
962
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
963
+ this.#pending = null;
796
964
  span.append(this.#text);
797
965
  passThroughAttributes(this, span, HANDLED26);
966
+ this.removeAttribute("value");
798
967
  this.appendChild(span);
799
968
  this.#span = span;
800
969
  }
801
970
  get value() {
802
- return this.#text?.data ?? this.getAttribute("value") ?? "";
971
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
803
972
  }
804
973
  set value(v) {
805
974
  if (this.#text) this.#text.data = v;
806
- else this.setAttribute("value", v);
975
+ else this.#pending = v;
807
976
  }
808
977
  };
809
978
 
@@ -841,6 +1010,17 @@ var HANDLED28 = /* @__PURE__ */ new Set(["label", "value"]);
841
1010
  var CeskoCestovniPasView = class extends HTMLElement {
842
1011
  #span = null;
843
1012
  #text = null;
1013
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1014
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1015
+ #pending = null;
1016
+ static get observedAttributes() {
1017
+ return ["value"];
1018
+ }
1019
+ attributeChangedCallback(name, _old, next) {
1020
+ if (name !== "value" || next === null || !this.#text) return;
1021
+ this.#text.data = next;
1022
+ this.removeAttribute("value");
1023
+ }
844
1024
  connectedCallback() {
845
1025
  if (this.#span) return;
846
1026
  const span = document.createElement("span");
@@ -852,18 +1032,20 @@ var CeskoCestovniPasView = class extends HTMLElement {
852
1032
  hidden.textContent = `${label} `;
853
1033
  span.append(hidden);
854
1034
  }
855
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1035
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1036
+ this.#pending = null;
856
1037
  span.append(this.#text);
857
1038
  passThroughAttributes(this, span, HANDLED28);
1039
+ this.removeAttribute("value");
858
1040
  this.appendChild(span);
859
1041
  this.#span = span;
860
1042
  }
861
1043
  get value() {
862
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1044
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
863
1045
  }
864
1046
  set value(v) {
865
1047
  if (this.#text) this.#text.data = v;
866
- else this.setAttribute("value", v);
1048
+ else this.#pending = v;
867
1049
  }
868
1050
  };
869
1051
 
@@ -901,6 +1083,17 @@ var HANDLED30 = /* @__PURE__ */ new Set(["label", "value"]);
901
1083
  var CeskoRodneCisloView = class extends HTMLElement {
902
1084
  #span = null;
903
1085
  #text = null;
1086
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1087
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1088
+ #pending = null;
1089
+ static get observedAttributes() {
1090
+ return ["value"];
1091
+ }
1092
+ attributeChangedCallback(name, _old, next) {
1093
+ if (name !== "value" || next === null || !this.#text) return;
1094
+ this.#text.data = next;
1095
+ this.removeAttribute("value");
1096
+ }
904
1097
  connectedCallback() {
905
1098
  if (this.#span) return;
906
1099
  const span = document.createElement("span");
@@ -912,18 +1105,20 @@ var CeskoRodneCisloView = class extends HTMLElement {
912
1105
  hidden.textContent = `${label} `;
913
1106
  span.append(hidden);
914
1107
  }
915
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1108
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1109
+ this.#pending = null;
916
1110
  span.append(this.#text);
917
1111
  passThroughAttributes(this, span, HANDLED30);
1112
+ this.removeAttribute("value");
918
1113
  this.appendChild(span);
919
1114
  this.#span = span;
920
1115
  }
921
1116
  get value() {
922
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1117
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
923
1118
  }
924
1119
  set value(v) {
925
1120
  if (this.#text) this.#text.data = v;
926
- else this.setAttribute("value", v);
1121
+ else this.#pending = v;
927
1122
  }
928
1123
  };
929
1124
 
@@ -961,6 +1156,17 @@ var HANDLED32 = /* @__PURE__ */ new Set(["label", "value"]);
961
1156
  var ChileRolUnicoNacionalView = class extends HTMLElement {
962
1157
  #span = null;
963
1158
  #text = null;
1159
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1160
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1161
+ #pending = null;
1162
+ static get observedAttributes() {
1163
+ return ["value"];
1164
+ }
1165
+ attributeChangedCallback(name, _old, next) {
1166
+ if (name !== "value" || next === null || !this.#text) return;
1167
+ this.#text.data = next;
1168
+ this.removeAttribute("value");
1169
+ }
964
1170
  connectedCallback() {
965
1171
  if (this.#span) return;
966
1172
  const span = document.createElement("span");
@@ -972,18 +1178,20 @@ var ChileRolUnicoNacionalView = class extends HTMLElement {
972
1178
  hidden.textContent = `${label} `;
973
1179
  span.append(hidden);
974
1180
  }
975
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1181
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1182
+ this.#pending = null;
976
1183
  span.append(this.#text);
977
1184
  passThroughAttributes(this, span, HANDLED32);
1185
+ this.removeAttribute("value");
978
1186
  this.appendChild(span);
979
1187
  this.#span = span;
980
1188
  }
981
1189
  get value() {
982
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1190
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
983
1191
  }
984
1192
  set value(v) {
985
1193
  if (this.#text) this.#text.data = v;
986
- else this.setAttribute("value", v);
1194
+ else this.#pending = v;
987
1195
  }
988
1196
  };
989
1197
 
@@ -1021,6 +1229,17 @@ var HANDLED34 = /* @__PURE__ */ new Set(["label", "value"]);
1021
1229
  var ColombiaCedulaDeCiudadaniaView = class extends HTMLElement {
1022
1230
  #span = null;
1023
1231
  #text = null;
1232
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1233
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1234
+ #pending = null;
1235
+ static get observedAttributes() {
1236
+ return ["value"];
1237
+ }
1238
+ attributeChangedCallback(name, _old, next) {
1239
+ if (name !== "value" || next === null || !this.#text) return;
1240
+ this.#text.data = next;
1241
+ this.removeAttribute("value");
1242
+ }
1024
1243
  connectedCallback() {
1025
1244
  if (this.#span) return;
1026
1245
  const span = document.createElement("span");
@@ -1032,18 +1251,20 @@ var ColombiaCedulaDeCiudadaniaView = class extends HTMLElement {
1032
1251
  hidden.textContent = `${label} `;
1033
1252
  span.append(hidden);
1034
1253
  }
1035
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1254
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1255
+ this.#pending = null;
1036
1256
  span.append(this.#text);
1037
1257
  passThroughAttributes(this, span, HANDLED34);
1258
+ this.removeAttribute("value");
1038
1259
  this.appendChild(span);
1039
1260
  this.#span = span;
1040
1261
  }
1041
1262
  get value() {
1042
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1263
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1043
1264
  }
1044
1265
  set value(v) {
1045
1266
  if (this.#text) this.#text.data = v;
1046
- else this.setAttribute("value", v);
1267
+ else this.#pending = v;
1047
1268
  }
1048
1269
  };
1049
1270
 
@@ -1081,6 +1302,17 @@ var HANDLED36 = /* @__PURE__ */ new Set(["label", "value"]);
1081
1302
  var CostaRicaCedulaDeIdentidadView = class extends HTMLElement {
1082
1303
  #span = null;
1083
1304
  #text = null;
1305
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1306
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1307
+ #pending = null;
1308
+ static get observedAttributes() {
1309
+ return ["value"];
1310
+ }
1311
+ attributeChangedCallback(name, _old, next) {
1312
+ if (name !== "value" || next === null || !this.#text) return;
1313
+ this.#text.data = next;
1314
+ this.removeAttribute("value");
1315
+ }
1084
1316
  connectedCallback() {
1085
1317
  if (this.#span) return;
1086
1318
  const span = document.createElement("span");
@@ -1092,18 +1324,20 @@ var CostaRicaCedulaDeIdentidadView = class extends HTMLElement {
1092
1324
  hidden.textContent = `${label} `;
1093
1325
  span.append(hidden);
1094
1326
  }
1095
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1327
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1328
+ this.#pending = null;
1096
1329
  span.append(this.#text);
1097
1330
  passThroughAttributes(this, span, HANDLED36);
1331
+ this.removeAttribute("value");
1098
1332
  this.appendChild(span);
1099
1333
  this.#span = span;
1100
1334
  }
1101
1335
  get value() {
1102
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1336
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1103
1337
  }
1104
1338
  set value(v) {
1105
1339
  if (this.#text) this.#text.data = v;
1106
- else this.setAttribute("value", v);
1340
+ else this.#pending = v;
1107
1341
  }
1108
1342
  };
1109
1343
 
@@ -1141,6 +1375,17 @@ var HANDLED38 = /* @__PURE__ */ new Set(["label", "value"]);
1141
1375
  var CymruRhifYGwasanaethIechydGwladolView = class extends HTMLElement {
1142
1376
  #span = null;
1143
1377
  #text = null;
1378
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1379
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1380
+ #pending = null;
1381
+ static get observedAttributes() {
1382
+ return ["value"];
1383
+ }
1384
+ attributeChangedCallback(name, _old, next) {
1385
+ if (name !== "value" || next === null || !this.#text) return;
1386
+ this.#text.data = next;
1387
+ this.removeAttribute("value");
1388
+ }
1144
1389
  connectedCallback() {
1145
1390
  if (this.#span) return;
1146
1391
  const span = document.createElement("span");
@@ -1152,18 +1397,20 @@ var CymruRhifYGwasanaethIechydGwladolView = class extends HTMLElement {
1152
1397
  hidden.textContent = `${label} `;
1153
1398
  span.append(hidden);
1154
1399
  }
1155
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1400
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1401
+ this.#pending = null;
1156
1402
  span.append(this.#text);
1157
1403
  passThroughAttributes(this, span, HANDLED38);
1404
+ this.removeAttribute("value");
1158
1405
  this.appendChild(span);
1159
1406
  this.#span = span;
1160
1407
  }
1161
1408
  get value() {
1162
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1409
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1163
1410
  }
1164
1411
  set value(v) {
1165
1412
  if (this.#text) this.#text.data = v;
1166
- else this.setAttribute("value", v);
1413
+ else this.#pending = v;
1167
1414
  }
1168
1415
  };
1169
1416
 
@@ -1201,6 +1448,17 @@ var HANDLED40 = /* @__PURE__ */ new Set(["label", "value"]);
1201
1448
  var DanmarkPersonnummerView = class extends HTMLElement {
1202
1449
  #span = null;
1203
1450
  #text = null;
1451
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1452
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1453
+ #pending = null;
1454
+ static get observedAttributes() {
1455
+ return ["value"];
1456
+ }
1457
+ attributeChangedCallback(name, _old, next) {
1458
+ if (name !== "value" || next === null || !this.#text) return;
1459
+ this.#text.data = next;
1460
+ this.removeAttribute("value");
1461
+ }
1204
1462
  connectedCallback() {
1205
1463
  if (this.#span) return;
1206
1464
  const span = document.createElement("span");
@@ -1212,18 +1470,20 @@ var DanmarkPersonnummerView = class extends HTMLElement {
1212
1470
  hidden.textContent = `${label} `;
1213
1471
  span.append(hidden);
1214
1472
  }
1215
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1473
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1474
+ this.#pending = null;
1216
1475
  span.append(this.#text);
1217
1476
  passThroughAttributes(this, span, HANDLED40);
1477
+ this.removeAttribute("value");
1218
1478
  this.appendChild(span);
1219
1479
  this.#span = span;
1220
1480
  }
1221
1481
  get value() {
1222
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1482
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1223
1483
  }
1224
1484
  set value(v) {
1225
1485
  if (this.#text) this.#text.data = v;
1226
- else this.setAttribute("value", v);
1486
+ else this.#pending = v;
1227
1487
  }
1228
1488
  };
1229
1489
 
@@ -1261,6 +1521,17 @@ var HANDLED42 = /* @__PURE__ */ new Set(["label", "value"]);
1261
1521
  var DeutschlandKrankenversichertennummerView = class extends HTMLElement {
1262
1522
  #span = null;
1263
1523
  #text = null;
1524
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1525
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1526
+ #pending = null;
1527
+ static get observedAttributes() {
1528
+ return ["value"];
1529
+ }
1530
+ attributeChangedCallback(name, _old, next) {
1531
+ if (name !== "value" || next === null || !this.#text) return;
1532
+ this.#text.data = next;
1533
+ this.removeAttribute("value");
1534
+ }
1264
1535
  connectedCallback() {
1265
1536
  if (this.#span) return;
1266
1537
  const span = document.createElement("span");
@@ -1272,18 +1543,20 @@ var DeutschlandKrankenversichertennummerView = class extends HTMLElement {
1272
1543
  hidden.textContent = `${label} `;
1273
1544
  span.append(hidden);
1274
1545
  }
1275
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1546
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1547
+ this.#pending = null;
1276
1548
  span.append(this.#text);
1277
1549
  passThroughAttributes(this, span, HANDLED42);
1550
+ this.removeAttribute("value");
1278
1551
  this.appendChild(span);
1279
1552
  this.#span = span;
1280
1553
  }
1281
1554
  get value() {
1282
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1555
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1283
1556
  }
1284
1557
  set value(v) {
1285
1558
  if (this.#text) this.#text.data = v;
1286
- else this.setAttribute("value", v);
1559
+ else this.#pending = v;
1287
1560
  }
1288
1561
  };
1289
1562
 
@@ -1321,6 +1594,17 @@ var HANDLED44 = /* @__PURE__ */ new Set(["label", "value"]);
1321
1594
  var EcuadorCedulaDeIdentidadView = class extends HTMLElement {
1322
1595
  #span = null;
1323
1596
  #text = null;
1597
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1598
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1599
+ #pending = null;
1600
+ static get observedAttributes() {
1601
+ return ["value"];
1602
+ }
1603
+ attributeChangedCallback(name, _old, next) {
1604
+ if (name !== "value" || next === null || !this.#text) return;
1605
+ this.#text.data = next;
1606
+ this.removeAttribute("value");
1607
+ }
1324
1608
  connectedCallback() {
1325
1609
  if (this.#span) return;
1326
1610
  const span = document.createElement("span");
@@ -1332,18 +1616,20 @@ var EcuadorCedulaDeIdentidadView = class extends HTMLElement {
1332
1616
  hidden.textContent = `${label} `;
1333
1617
  span.append(hidden);
1334
1618
  }
1335
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1619
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1620
+ this.#pending = null;
1336
1621
  span.append(this.#text);
1337
1622
  passThroughAttributes(this, span, HANDLED44);
1623
+ this.removeAttribute("value");
1338
1624
  this.appendChild(span);
1339
1625
  this.#span = span;
1340
1626
  }
1341
1627
  get value() {
1342
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1628
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1343
1629
  }
1344
1630
  set value(v) {
1345
1631
  if (this.#text) this.#text.data = v;
1346
- else this.setAttribute("value", v);
1632
+ else this.#pending = v;
1347
1633
  }
1348
1634
  };
1349
1635
 
@@ -1381,6 +1667,17 @@ var HANDLED46 = /* @__PURE__ */ new Set(["label", "value"]);
1381
1667
  var EestiIsikukoodView = class extends HTMLElement {
1382
1668
  #span = null;
1383
1669
  #text = null;
1670
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1671
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1672
+ #pending = null;
1673
+ static get observedAttributes() {
1674
+ return ["value"];
1675
+ }
1676
+ attributeChangedCallback(name, _old, next) {
1677
+ if (name !== "value" || next === null || !this.#text) return;
1678
+ this.#text.data = next;
1679
+ this.removeAttribute("value");
1680
+ }
1384
1681
  connectedCallback() {
1385
1682
  if (this.#span) return;
1386
1683
  const span = document.createElement("span");
@@ -1392,18 +1689,20 @@ var EestiIsikukoodView = class extends HTMLElement {
1392
1689
  hidden.textContent = `${label} `;
1393
1690
  span.append(hidden);
1394
1691
  }
1395
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1692
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1693
+ this.#pending = null;
1396
1694
  span.append(this.#text);
1397
1695
  passThroughAttributes(this, span, HANDLED46);
1696
+ this.removeAttribute("value");
1398
1697
  this.appendChild(span);
1399
1698
  this.#span = span;
1400
1699
  }
1401
1700
  get value() {
1402
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1701
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1403
1702
  }
1404
1703
  set value(v) {
1405
1704
  if (this.#text) this.#text.data = v;
1406
- else this.setAttribute("value", v);
1705
+ else this.#pending = v;
1407
1706
  }
1408
1707
  };
1409
1708
 
@@ -1451,6 +1750,17 @@ var HANDLED48 = /* @__PURE__ */ new Set(["label", "value"]);
1451
1750
  var EireIndividualHealthIdentifierView = class extends HTMLElement {
1452
1751
  #span = null;
1453
1752
  #text = null;
1753
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1754
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1755
+ #pending = null;
1756
+ static get observedAttributes() {
1757
+ return ["value"];
1758
+ }
1759
+ attributeChangedCallback(name, _old, next) {
1760
+ if (name !== "value" || next === null || !this.#text) return;
1761
+ this.#text.data = next;
1762
+ this.removeAttribute("value");
1763
+ }
1454
1764
  connectedCallback() {
1455
1765
  if (this.#span) return;
1456
1766
  const span = document.createElement("span");
@@ -1462,18 +1772,20 @@ var EireIndividualHealthIdentifierView = class extends HTMLElement {
1462
1772
  hidden.textContent = `${label} `;
1463
1773
  span.append(hidden);
1464
1774
  }
1465
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1775
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1776
+ this.#pending = null;
1466
1777
  span.append(this.#text);
1467
1778
  passThroughAttributes(this, span, HANDLED48);
1779
+ this.removeAttribute("value");
1468
1780
  this.appendChild(span);
1469
1781
  this.#span = span;
1470
1782
  }
1471
1783
  get value() {
1472
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1784
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1473
1785
  }
1474
1786
  set value(v) {
1475
1787
  if (this.#text) this.#text.data = v;
1476
- else this.setAttribute("value", v);
1788
+ else this.#pending = v;
1477
1789
  }
1478
1790
  };
1479
1791
 
@@ -1511,6 +1823,17 @@ var HANDLED50 = /* @__PURE__ */ new Set(["label", "value"]);
1511
1823
  var ElladaDematerialisedSecuritiesSystemView = class extends HTMLElement {
1512
1824
  #span = null;
1513
1825
  #text = null;
1826
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1827
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1828
+ #pending = null;
1829
+ static get observedAttributes() {
1830
+ return ["value"];
1831
+ }
1832
+ attributeChangedCallback(name, _old, next) {
1833
+ if (name !== "value" || next === null || !this.#text) return;
1834
+ this.#text.data = next;
1835
+ this.removeAttribute("value");
1836
+ }
1514
1837
  connectedCallback() {
1515
1838
  if (this.#span) return;
1516
1839
  const span = document.createElement("span");
@@ -1522,18 +1845,20 @@ var ElladaDematerialisedSecuritiesSystemView = class extends HTMLElement {
1522
1845
  hidden.textContent = `${label} `;
1523
1846
  span.append(hidden);
1524
1847
  }
1525
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1848
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1849
+ this.#pending = null;
1526
1850
  span.append(this.#text);
1527
1851
  passThroughAttributes(this, span, HANDLED50);
1852
+ this.removeAttribute("value");
1528
1853
  this.appendChild(span);
1529
1854
  this.#span = span;
1530
1855
  }
1531
1856
  get value() {
1532
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1857
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1533
1858
  }
1534
1859
  set value(v) {
1535
1860
  if (this.#text) this.#text.data = v;
1536
- else this.setAttribute("value", v);
1861
+ else this.#pending = v;
1537
1862
  }
1538
1863
  };
1539
1864
 
@@ -1571,6 +1896,17 @@ var HANDLED52 = /* @__PURE__ */ new Set(["label", "value"]);
1571
1896
  var EnglandNationalHealthServiceNumberView = class extends HTMLElement {
1572
1897
  #span = null;
1573
1898
  #text = null;
1899
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1900
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1901
+ #pending = null;
1902
+ static get observedAttributes() {
1903
+ return ["value"];
1904
+ }
1905
+ attributeChangedCallback(name, _old, next) {
1906
+ if (name !== "value" || next === null || !this.#text) return;
1907
+ this.#text.data = next;
1908
+ this.removeAttribute("value");
1909
+ }
1574
1910
  connectedCallback() {
1575
1911
  if (this.#span) return;
1576
1912
  const span = document.createElement("span");
@@ -1582,18 +1918,20 @@ var EnglandNationalHealthServiceNumberView = class extends HTMLElement {
1582
1918
  hidden.textContent = `${label} `;
1583
1919
  span.append(hidden);
1584
1920
  }
1585
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1921
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1922
+ this.#pending = null;
1586
1923
  span.append(this.#text);
1587
1924
  passThroughAttributes(this, span, HANDLED52);
1925
+ this.removeAttribute("value");
1588
1926
  this.appendChild(span);
1589
1927
  this.#span = span;
1590
1928
  }
1591
1929
  get value() {
1592
- return this.#text?.data ?? this.getAttribute("value") ?? "";
1930
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1593
1931
  }
1594
1932
  set value(v) {
1595
1933
  if (this.#text) this.#text.data = v;
1596
- else this.setAttribute("value", v);
1934
+ else this.#pending = v;
1597
1935
  }
1598
1936
  };
1599
1937
 
@@ -1631,6 +1969,17 @@ var HANDLED54 = /* @__PURE__ */ new Set(["label", "value"]);
1631
1969
  var EspanaCodigoDeIdentificacionFiscalView = class extends HTMLElement {
1632
1970
  #span = null;
1633
1971
  #text = null;
1972
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
1973
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
1974
+ #pending = null;
1975
+ static get observedAttributes() {
1976
+ return ["value"];
1977
+ }
1978
+ attributeChangedCallback(name, _old, next) {
1979
+ if (name !== "value" || next === null || !this.#text) return;
1980
+ this.#text.data = next;
1981
+ this.removeAttribute("value");
1982
+ }
1634
1983
  connectedCallback() {
1635
1984
  if (this.#span) return;
1636
1985
  const span = document.createElement("span");
@@ -1642,18 +1991,20 @@ var EspanaCodigoDeIdentificacionFiscalView = class extends HTMLElement {
1642
1991
  hidden.textContent = `${label} `;
1643
1992
  span.append(hidden);
1644
1993
  }
1645
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
1994
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
1995
+ this.#pending = null;
1646
1996
  span.append(this.#text);
1647
1997
  passThroughAttributes(this, span, HANDLED54);
1998
+ this.removeAttribute("value");
1648
1999
  this.appendChild(span);
1649
2000
  this.#span = span;
1650
2001
  }
1651
2002
  get value() {
1652
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2003
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1653
2004
  }
1654
2005
  set value(v) {
1655
2006
  if (this.#text) this.#text.data = v;
1656
- else this.setAttribute("value", v);
2007
+ else this.#pending = v;
1657
2008
  }
1658
2009
  };
1659
2010
 
@@ -1691,6 +2042,17 @@ var HANDLED56 = /* @__PURE__ */ new Set(["label", "value"]);
1691
2042
  var EspanaTarjetaSanitariaIndividualView = class extends HTMLElement {
1692
2043
  #span = null;
1693
2044
  #text = null;
2045
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2046
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2047
+ #pending = null;
2048
+ static get observedAttributes() {
2049
+ return ["value"];
2050
+ }
2051
+ attributeChangedCallback(name, _old, next) {
2052
+ if (name !== "value" || next === null || !this.#text) return;
2053
+ this.#text.data = next;
2054
+ this.removeAttribute("value");
2055
+ }
1694
2056
  connectedCallback() {
1695
2057
  if (this.#span) return;
1696
2058
  const span = document.createElement("span");
@@ -1702,18 +2064,20 @@ var EspanaTarjetaSanitariaIndividualView = class extends HTMLElement {
1702
2064
  hidden.textContent = `${label} `;
1703
2065
  span.append(hidden);
1704
2066
  }
1705
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2067
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2068
+ this.#pending = null;
1706
2069
  span.append(this.#text);
1707
2070
  passThroughAttributes(this, span, HANDLED56);
2071
+ this.removeAttribute("value");
1708
2072
  this.appendChild(span);
1709
2073
  this.#span = span;
1710
2074
  }
1711
2075
  get value() {
1712
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2076
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1713
2077
  }
1714
2078
  set value(v) {
1715
2079
  if (this.#text) this.#text.data = v;
1716
- else this.setAttribute("value", v);
2080
+ else this.#pending = v;
1717
2081
  }
1718
2082
  };
1719
2083
 
@@ -1751,6 +2115,17 @@ var HANDLED58 = /* @__PURE__ */ new Set(["label", "value"]);
1751
2115
  var FranceNumeroDIdentificationAuRepertoireView = class extends HTMLElement {
1752
2116
  #span = null;
1753
2117
  #text = null;
2118
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2119
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2120
+ #pending = null;
2121
+ static get observedAttributes() {
2122
+ return ["value"];
2123
+ }
2124
+ attributeChangedCallback(name, _old, next) {
2125
+ if (name !== "value" || next === null || !this.#text) return;
2126
+ this.#text.data = next;
2127
+ this.removeAttribute("value");
2128
+ }
1754
2129
  connectedCallback() {
1755
2130
  if (this.#span) return;
1756
2131
  const span = document.createElement("span");
@@ -1762,18 +2137,20 @@ var FranceNumeroDIdentificationAuRepertoireView = class extends HTMLElement {
1762
2137
  hidden.textContent = `${label} `;
1763
2138
  span.append(hidden);
1764
2139
  }
1765
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2140
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2141
+ this.#pending = null;
1766
2142
  span.append(this.#text);
1767
2143
  passThroughAttributes(this, span, HANDLED58);
2144
+ this.removeAttribute("value");
1768
2145
  this.appendChild(span);
1769
2146
  this.#span = span;
1770
2147
  }
1771
2148
  get value() {
1772
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2149
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1773
2150
  }
1774
2151
  set value(v) {
1775
2152
  if (this.#text) this.#text.data = v;
1776
- else this.setAttribute("value", v);
2153
+ else this.#pending = v;
1777
2154
  }
1778
2155
  };
1779
2156
 
@@ -1811,6 +2188,17 @@ var HANDLED60 = /* @__PURE__ */ new Set(["label", "value"]);
1811
2188
  var GhanaCardPersonalIdentificationNumberView = class extends HTMLElement {
1812
2189
  #span = null;
1813
2190
  #text = null;
2191
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2192
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2193
+ #pending = null;
2194
+ static get observedAttributes() {
2195
+ return ["value"];
2196
+ }
2197
+ attributeChangedCallback(name, _old, next) {
2198
+ if (name !== "value" || next === null || !this.#text) return;
2199
+ this.#text.data = next;
2200
+ this.removeAttribute("value");
2201
+ }
1814
2202
  connectedCallback() {
1815
2203
  if (this.#span) return;
1816
2204
  const span = document.createElement("span");
@@ -1822,18 +2210,20 @@ var GhanaCardPersonalIdentificationNumberView = class extends HTMLElement {
1822
2210
  hidden.textContent = `${label} `;
1823
2211
  span.append(hidden);
1824
2212
  }
1825
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2213
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2214
+ this.#pending = null;
1826
2215
  span.append(this.#text);
1827
2216
  passThroughAttributes(this, span, HANDLED60);
2217
+ this.removeAttribute("value");
1828
2218
  this.appendChild(span);
1829
2219
  this.#span = span;
1830
2220
  }
1831
2221
  get value() {
1832
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2222
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1833
2223
  }
1834
2224
  set value(v) {
1835
2225
  if (this.#text) this.#text.data = v;
1836
- else this.setAttribute("value", v);
2226
+ else this.#pending = v;
1837
2227
  }
1838
2228
  };
1839
2229
 
@@ -1871,6 +2261,17 @@ var HANDLED62 = /* @__PURE__ */ new Set(["label", "value"]);
1871
2261
  var GuatemalaCodigoUnicoDeIdentificacionView = class extends HTMLElement {
1872
2262
  #span = null;
1873
2263
  #text = null;
2264
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2265
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2266
+ #pending = null;
2267
+ static get observedAttributes() {
2268
+ return ["value"];
2269
+ }
2270
+ attributeChangedCallback(name, _old, next) {
2271
+ if (name !== "value" || next === null || !this.#text) return;
2272
+ this.#text.data = next;
2273
+ this.removeAttribute("value");
2274
+ }
1874
2275
  connectedCallback() {
1875
2276
  if (this.#span) return;
1876
2277
  const span = document.createElement("span");
@@ -1882,18 +2283,20 @@ var GuatemalaCodigoUnicoDeIdentificacionView = class extends HTMLElement {
1882
2283
  hidden.textContent = `${label} `;
1883
2284
  span.append(hidden);
1884
2285
  }
1885
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2286
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2287
+ this.#pending = null;
1886
2288
  span.append(this.#text);
1887
2289
  passThroughAttributes(this, span, HANDLED62);
2290
+ this.removeAttribute("value");
1888
2291
  this.appendChild(span);
1889
2292
  this.#span = span;
1890
2293
  }
1891
2294
  get value() {
1892
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2295
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1893
2296
  }
1894
2297
  set value(v) {
1895
2298
  if (this.#text) this.#text.data = v;
1896
- else this.setAttribute("value", v);
2299
+ else this.#pending = v;
1897
2300
  }
1898
2301
  };
1899
2302
 
@@ -1931,6 +2334,17 @@ var HANDLED64 = /* @__PURE__ */ new Set(["label", "value"]);
1931
2334
  var HangukJuminDeungnokBeonhoView = class extends HTMLElement {
1932
2335
  #span = null;
1933
2336
  #text = null;
2337
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2338
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2339
+ #pending = null;
2340
+ static get observedAttributes() {
2341
+ return ["value"];
2342
+ }
2343
+ attributeChangedCallback(name, _old, next) {
2344
+ if (name !== "value" || next === null || !this.#text) return;
2345
+ this.#text.data = next;
2346
+ this.removeAttribute("value");
2347
+ }
1934
2348
  connectedCallback() {
1935
2349
  if (this.#span) return;
1936
2350
  const span = document.createElement("span");
@@ -1942,18 +2356,20 @@ var HangukJuminDeungnokBeonhoView = class extends HTMLElement {
1942
2356
  hidden.textContent = `${label} `;
1943
2357
  span.append(hidden);
1944
2358
  }
1945
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2359
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2360
+ this.#pending = null;
1946
2361
  span.append(this.#text);
1947
2362
  passThroughAttributes(this, span, HANDLED64);
2363
+ this.removeAttribute("value");
1948
2364
  this.appendChild(span);
1949
2365
  this.#span = span;
1950
2366
  }
1951
2367
  get value() {
1952
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2368
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
1953
2369
  }
1954
2370
  set value(v) {
1955
2371
  if (this.#text) this.#text.data = v;
1956
- else this.setAttribute("value", v);
2372
+ else this.#pending = v;
1957
2373
  }
1958
2374
  };
1959
2375
 
@@ -1991,6 +2407,17 @@ var HANDLED66 = /* @__PURE__ */ new Set(["label", "value"]);
1991
2407
  var HongKongIdentityCardView = class extends HTMLElement {
1992
2408
  #span = null;
1993
2409
  #text = null;
2410
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2411
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2412
+ #pending = null;
2413
+ static get observedAttributes() {
2414
+ return ["value"];
2415
+ }
2416
+ attributeChangedCallback(name, _old, next) {
2417
+ if (name !== "value" || next === null || !this.#text) return;
2418
+ this.#text.data = next;
2419
+ this.removeAttribute("value");
2420
+ }
1994
2421
  connectedCallback() {
1995
2422
  if (this.#span) return;
1996
2423
  const span = document.createElement("span");
@@ -2002,18 +2429,20 @@ var HongKongIdentityCardView = class extends HTMLElement {
2002
2429
  hidden.textContent = `${label} `;
2003
2430
  span.append(hidden);
2004
2431
  }
2005
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2432
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2433
+ this.#pending = null;
2006
2434
  span.append(this.#text);
2007
2435
  passThroughAttributes(this, span, HANDLED66);
2436
+ this.removeAttribute("value");
2008
2437
  this.appendChild(span);
2009
2438
  this.#span = span;
2010
2439
  }
2011
2440
  get value() {
2012
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2441
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2013
2442
  }
2014
2443
  set value(v) {
2015
2444
  if (this.#text) this.#text.data = v;
2016
- else this.setAttribute("value", v);
2445
+ else this.#pending = v;
2017
2446
  }
2018
2447
  };
2019
2448
 
@@ -2051,6 +2480,17 @@ var HANDLED68 = /* @__PURE__ */ new Set(["label", "value"]);
2051
2480
  var HrvatskaOsobniIdentifikacijskiBrojView = class extends HTMLElement {
2052
2481
  #span = null;
2053
2482
  #text = null;
2483
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2484
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2485
+ #pending = null;
2486
+ static get observedAttributes() {
2487
+ return ["value"];
2488
+ }
2489
+ attributeChangedCallback(name, _old, next) {
2490
+ if (name !== "value" || next === null || !this.#text) return;
2491
+ this.#text.data = next;
2492
+ this.removeAttribute("value");
2493
+ }
2054
2494
  connectedCallback() {
2055
2495
  if (this.#span) return;
2056
2496
  const span = document.createElement("span");
@@ -2062,18 +2502,20 @@ var HrvatskaOsobniIdentifikacijskiBrojView = class extends HTMLElement {
2062
2502
  hidden.textContent = `${label} `;
2063
2503
  span.append(hidden);
2064
2504
  }
2065
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2505
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2506
+ this.#pending = null;
2066
2507
  span.append(this.#text);
2067
2508
  passThroughAttributes(this, span, HANDLED68);
2509
+ this.removeAttribute("value");
2068
2510
  this.appendChild(span);
2069
2511
  this.#span = span;
2070
2512
  }
2071
2513
  get value() {
2072
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2514
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2073
2515
  }
2074
2516
  set value(v) {
2075
2517
  if (this.#text) this.#text.data = v;
2076
- else this.setAttribute("value", v);
2518
+ else this.#pending = v;
2077
2519
  }
2078
2520
  };
2079
2521
 
@@ -2111,6 +2553,17 @@ var HANDLED70 = /* @__PURE__ */ new Set(["label", "value"]);
2111
2553
  var IndonesiaNomorIndukKependudukanView = class extends HTMLElement {
2112
2554
  #span = null;
2113
2555
  #text = null;
2556
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2557
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2558
+ #pending = null;
2559
+ static get observedAttributes() {
2560
+ return ["value"];
2561
+ }
2562
+ attributeChangedCallback(name, _old, next) {
2563
+ if (name !== "value" || next === null || !this.#text) return;
2564
+ this.#text.data = next;
2565
+ this.removeAttribute("value");
2566
+ }
2114
2567
  connectedCallback() {
2115
2568
  if (this.#span) return;
2116
2569
  const span = document.createElement("span");
@@ -2122,18 +2575,20 @@ var IndonesiaNomorIndukKependudukanView = class extends HTMLElement {
2122
2575
  hidden.textContent = `${label} `;
2123
2576
  span.append(hidden);
2124
2577
  }
2125
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2578
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2579
+ this.#pending = null;
2126
2580
  span.append(this.#text);
2127
2581
  passThroughAttributes(this, span, HANDLED70);
2582
+ this.removeAttribute("value");
2128
2583
  this.appendChild(span);
2129
2584
  this.#span = span;
2130
2585
  }
2131
2586
  get value() {
2132
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2587
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2133
2588
  }
2134
2589
  set value(v) {
2135
2590
  if (this.#text) this.#text.data = v;
2136
- else this.setAttribute("value", v);
2591
+ else this.#pending = v;
2137
2592
  }
2138
2593
  };
2139
2594
 
@@ -2171,6 +2626,17 @@ var HANDLED72 = /* @__PURE__ */ new Set(["label", "value"]);
2171
2626
  var IranKodEMelliView = class extends HTMLElement {
2172
2627
  #span = null;
2173
2628
  #text = null;
2629
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2630
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2631
+ #pending = null;
2632
+ static get observedAttributes() {
2633
+ return ["value"];
2634
+ }
2635
+ attributeChangedCallback(name, _old, next) {
2636
+ if (name !== "value" || next === null || !this.#text) return;
2637
+ this.#text.data = next;
2638
+ this.removeAttribute("value");
2639
+ }
2174
2640
  connectedCallback() {
2175
2641
  if (this.#span) return;
2176
2642
  const span = document.createElement("span");
@@ -2182,18 +2648,20 @@ var IranKodEMelliView = class extends HTMLElement {
2182
2648
  hidden.textContent = `${label} `;
2183
2649
  span.append(hidden);
2184
2650
  }
2185
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2651
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2652
+ this.#pending = null;
2186
2653
  span.append(this.#text);
2187
2654
  passThroughAttributes(this, span, HANDLED72);
2655
+ this.removeAttribute("value");
2188
2656
  this.appendChild(span);
2189
2657
  this.#span = span;
2190
2658
  }
2191
2659
  get value() {
2192
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2660
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2193
2661
  }
2194
2662
  set value(v) {
2195
2663
  if (this.#text) this.#text.data = v;
2196
- else this.setAttribute("value", v);
2664
+ else this.#pending = v;
2197
2665
  }
2198
2666
  };
2199
2667
 
@@ -2231,6 +2699,17 @@ var HANDLED74 = /* @__PURE__ */ new Set(["label", "value"]);
2231
2699
  var IslandKennitalaView = class extends HTMLElement {
2232
2700
  #span = null;
2233
2701
  #text = null;
2702
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2703
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2704
+ #pending = null;
2705
+ static get observedAttributes() {
2706
+ return ["value"];
2707
+ }
2708
+ attributeChangedCallback(name, _old, next) {
2709
+ if (name !== "value" || next === null || !this.#text) return;
2710
+ this.#text.data = next;
2711
+ this.removeAttribute("value");
2712
+ }
2234
2713
  connectedCallback() {
2235
2714
  if (this.#span) return;
2236
2715
  const span = document.createElement("span");
@@ -2242,18 +2721,20 @@ var IslandKennitalaView = class extends HTMLElement {
2242
2721
  hidden.textContent = `${label} `;
2243
2722
  span.append(hidden);
2244
2723
  }
2245
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2724
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2725
+ this.#pending = null;
2246
2726
  span.append(this.#text);
2247
2727
  passThroughAttributes(this, span, HANDLED74);
2728
+ this.removeAttribute("value");
2248
2729
  this.appendChild(span);
2249
2730
  this.#span = span;
2250
2731
  }
2251
2732
  get value() {
2252
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2733
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2253
2734
  }
2254
2735
  set value(v) {
2255
2736
  if (this.#text) this.#text.data = v;
2256
- else this.setAttribute("value", v);
2737
+ else this.#pending = v;
2257
2738
  }
2258
2739
  };
2259
2740
 
@@ -2291,6 +2772,17 @@ var HANDLED76 = /* @__PURE__ */ new Set(["label", "value"]);
2291
2772
  var ItaliaCodiceFiscaleView = class extends HTMLElement {
2292
2773
  #span = null;
2293
2774
  #text = null;
2775
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2776
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2777
+ #pending = null;
2778
+ static get observedAttributes() {
2779
+ return ["value"];
2780
+ }
2781
+ attributeChangedCallback(name, _old, next) {
2782
+ if (name !== "value" || next === null || !this.#text) return;
2783
+ this.#text.data = next;
2784
+ this.removeAttribute("value");
2785
+ }
2294
2786
  connectedCallback() {
2295
2787
  if (this.#span) return;
2296
2788
  const span = document.createElement("span");
@@ -2302,18 +2794,20 @@ var ItaliaCodiceFiscaleView = class extends HTMLElement {
2302
2794
  hidden.textContent = `${label} `;
2303
2795
  span.append(hidden);
2304
2796
  }
2305
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2797
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2798
+ this.#pending = null;
2306
2799
  span.append(this.#text);
2307
2800
  passThroughAttributes(this, span, HANDLED76);
2801
+ this.removeAttribute("value");
2308
2802
  this.appendChild(span);
2309
2803
  this.#span = span;
2310
2804
  }
2311
2805
  get value() {
2312
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2806
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2313
2807
  }
2314
2808
  set value(v) {
2315
2809
  if (this.#text) this.#text.data = v;
2316
- else this.setAttribute("value", v);
2810
+ else this.#pending = v;
2317
2811
  }
2318
2812
  };
2319
2813
 
@@ -2351,6 +2845,17 @@ var HANDLED78 = /* @__PURE__ */ new Set(["label", "value"]);
2351
2845
  var ItyopyaFaydaIdentificationNumberView = class extends HTMLElement {
2352
2846
  #span = null;
2353
2847
  #text = null;
2848
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2849
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2850
+ #pending = null;
2851
+ static get observedAttributes() {
2852
+ return ["value"];
2853
+ }
2854
+ attributeChangedCallback(name, _old, next) {
2855
+ if (name !== "value" || next === null || !this.#text) return;
2856
+ this.#text.data = next;
2857
+ this.removeAttribute("value");
2858
+ }
2354
2859
  connectedCallback() {
2355
2860
  if (this.#span) return;
2356
2861
  const span = document.createElement("span");
@@ -2362,18 +2867,20 @@ var ItyopyaFaydaIdentificationNumberView = class extends HTMLElement {
2362
2867
  hidden.textContent = `${label} `;
2363
2868
  span.append(hidden);
2364
2869
  }
2365
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2870
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2871
+ this.#pending = null;
2366
2872
  span.append(this.#text);
2367
2873
  passThroughAttributes(this, span, HANDLED78);
2874
+ this.removeAttribute("value");
2368
2875
  this.appendChild(span);
2369
2876
  this.#span = span;
2370
2877
  }
2371
2878
  get value() {
2372
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2879
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2373
2880
  }
2374
2881
  set value(v) {
2375
2882
  if (this.#text) this.#text.data = v;
2376
- else this.setAttribute("value", v);
2883
+ else this.#pending = v;
2377
2884
  }
2378
2885
  };
2379
2886
 
@@ -2411,6 +2918,17 @@ var HANDLED80 = /* @__PURE__ */ new Set(["label", "value"]);
2411
2918
  var KyprosNationalPassportNumberView = class extends HTMLElement {
2412
2919
  #span = null;
2413
2920
  #text = null;
2921
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2922
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2923
+ #pending = null;
2924
+ static get observedAttributes() {
2925
+ return ["value"];
2926
+ }
2927
+ attributeChangedCallback(name, _old, next) {
2928
+ if (name !== "value" || next === null || !this.#text) return;
2929
+ this.#text.data = next;
2930
+ this.removeAttribute("value");
2931
+ }
2414
2932
  connectedCallback() {
2415
2933
  if (this.#span) return;
2416
2934
  const span = document.createElement("span");
@@ -2422,18 +2940,20 @@ var KyprosNationalPassportNumberView = class extends HTMLElement {
2422
2940
  hidden.textContent = `${label} `;
2423
2941
  span.append(hidden);
2424
2942
  }
2425
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
2943
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
2944
+ this.#pending = null;
2426
2945
  span.append(this.#text);
2427
2946
  passThroughAttributes(this, span, HANDLED80);
2947
+ this.removeAttribute("value");
2428
2948
  this.appendChild(span);
2429
2949
  this.#span = span;
2430
2950
  }
2431
2951
  get value() {
2432
- return this.#text?.data ?? this.getAttribute("value") ?? "";
2952
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2433
2953
  }
2434
2954
  set value(v) {
2435
2955
  if (this.#text) this.#text.data = v;
2436
- else this.setAttribute("value", v);
2956
+ else this.#pending = v;
2437
2957
  }
2438
2958
  };
2439
2959
 
@@ -2471,6 +2991,17 @@ var HANDLED82 = /* @__PURE__ */ new Set(["label", "value"]);
2471
2991
  var LatvijaPersonasKodsView = class extends HTMLElement {
2472
2992
  #span = null;
2473
2993
  #text = null;
2994
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
2995
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
2996
+ #pending = null;
2997
+ static get observedAttributes() {
2998
+ return ["value"];
2999
+ }
3000
+ attributeChangedCallback(name, _old, next) {
3001
+ if (name !== "value" || next === null || !this.#text) return;
3002
+ this.#text.data = next;
3003
+ this.removeAttribute("value");
3004
+ }
2474
3005
  connectedCallback() {
2475
3006
  if (this.#span) return;
2476
3007
  const span = document.createElement("span");
@@ -2482,18 +3013,20 @@ var LatvijaPersonasKodsView = class extends HTMLElement {
2482
3013
  hidden.textContent = `${label} `;
2483
3014
  span.append(hidden);
2484
3015
  }
2485
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3016
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3017
+ this.#pending = null;
2486
3018
  span.append(this.#text);
2487
3019
  passThroughAttributes(this, span, HANDLED82);
3020
+ this.removeAttribute("value");
2488
3021
  this.appendChild(span);
2489
3022
  this.#span = span;
2490
3023
  }
2491
3024
  get value() {
2492
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3025
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2493
3026
  }
2494
3027
  set value(v) {
2495
3028
  if (this.#text) this.#text.data = v;
2496
- else this.setAttribute("value", v);
3029
+ else this.#pending = v;
2497
3030
  }
2498
3031
  };
2499
3032
 
@@ -2531,6 +3064,17 @@ var HANDLED84 = /* @__PURE__ */ new Set(["label", "value"]);
2531
3064
  var LiechtensteinNationalIdentityCardNumberView = class extends HTMLElement {
2532
3065
  #span = null;
2533
3066
  #text = null;
3067
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3068
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3069
+ #pending = null;
3070
+ static get observedAttributes() {
3071
+ return ["value"];
3072
+ }
3073
+ attributeChangedCallback(name, _old, next) {
3074
+ if (name !== "value" || next === null || !this.#text) return;
3075
+ this.#text.data = next;
3076
+ this.removeAttribute("value");
3077
+ }
2534
3078
  connectedCallback() {
2535
3079
  if (this.#span) return;
2536
3080
  const span = document.createElement("span");
@@ -2542,18 +3086,20 @@ var LiechtensteinNationalIdentityCardNumberView = class extends HTMLElement {
2542
3086
  hidden.textContent = `${label} `;
2543
3087
  span.append(hidden);
2544
3088
  }
2545
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3089
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3090
+ this.#pending = null;
2546
3091
  span.append(this.#text);
2547
3092
  passThroughAttributes(this, span, HANDLED84);
3093
+ this.removeAttribute("value");
2548
3094
  this.appendChild(span);
2549
3095
  this.#span = span;
2550
3096
  }
2551
3097
  get value() {
2552
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3098
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2553
3099
  }
2554
3100
  set value(v) {
2555
3101
  if (this.#text) this.#text.data = v;
2556
- else this.setAttribute("value", v);
3102
+ else this.#pending = v;
2557
3103
  }
2558
3104
  };
2559
3105
 
@@ -2591,6 +3137,17 @@ var HANDLED86 = /* @__PURE__ */ new Set(["label", "value"]);
2591
3137
  var LiechtensteinPassportNumberView = class extends HTMLElement {
2592
3138
  #span = null;
2593
3139
  #text = null;
3140
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3141
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3142
+ #pending = null;
3143
+ static get observedAttributes() {
3144
+ return ["value"];
3145
+ }
3146
+ attributeChangedCallback(name, _old, next) {
3147
+ if (name !== "value" || next === null || !this.#text) return;
3148
+ this.#text.data = next;
3149
+ this.removeAttribute("value");
3150
+ }
2594
3151
  connectedCallback() {
2595
3152
  if (this.#span) return;
2596
3153
  const span = document.createElement("span");
@@ -2602,18 +3159,20 @@ var LiechtensteinPassportNumberView = class extends HTMLElement {
2602
3159
  hidden.textContent = `${label} `;
2603
3160
  span.append(hidden);
2604
3161
  }
2605
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3162
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3163
+ this.#pending = null;
2606
3164
  span.append(this.#text);
2607
3165
  passThroughAttributes(this, span, HANDLED86);
3166
+ this.removeAttribute("value");
2608
3167
  this.appendChild(span);
2609
3168
  this.#span = span;
2610
3169
  }
2611
3170
  get value() {
2612
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3171
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2613
3172
  }
2614
3173
  set value(v) {
2615
3174
  if (this.#text) this.#text.data = v;
2616
- else this.setAttribute("value", v);
3175
+ else this.#pending = v;
2617
3176
  }
2618
3177
  };
2619
3178
 
@@ -2651,6 +3210,17 @@ var HANDLED88 = /* @__PURE__ */ new Set(["label", "value"]);
2651
3210
  var LietuvaAsmensKodasView = class extends HTMLElement {
2652
3211
  #span = null;
2653
3212
  #text = null;
3213
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3214
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3215
+ #pending = null;
3216
+ static get observedAttributes() {
3217
+ return ["value"];
3218
+ }
3219
+ attributeChangedCallback(name, _old, next) {
3220
+ if (name !== "value" || next === null || !this.#text) return;
3221
+ this.#text.data = next;
3222
+ this.removeAttribute("value");
3223
+ }
2654
3224
  connectedCallback() {
2655
3225
  if (this.#span) return;
2656
3226
  const span = document.createElement("span");
@@ -2662,18 +3232,20 @@ var LietuvaAsmensKodasView = class extends HTMLElement {
2662
3232
  hidden.textContent = `${label} `;
2663
3233
  span.append(hidden);
2664
3234
  }
2665
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3235
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3236
+ this.#pending = null;
2666
3237
  span.append(this.#text);
2667
3238
  passThroughAttributes(this, span, HANDLED88);
3239
+ this.removeAttribute("value");
2668
3240
  this.appendChild(span);
2669
3241
  this.#span = span;
2670
3242
  }
2671
3243
  get value() {
2672
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3244
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2673
3245
  }
2674
3246
  set value(v) {
2675
3247
  if (this.#text) this.#text.data = v;
2676
- else this.setAttribute("value", v);
3248
+ else this.#pending = v;
2677
3249
  }
2678
3250
  };
2679
3251
 
@@ -2711,6 +3283,17 @@ var HANDLED90 = /* @__PURE__ */ new Set(["label", "value"]);
2711
3283
  var LietuvaPasasView = class extends HTMLElement {
2712
3284
  #span = null;
2713
3285
  #text = null;
3286
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3287
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3288
+ #pending = null;
3289
+ static get observedAttributes() {
3290
+ return ["value"];
3291
+ }
3292
+ attributeChangedCallback(name, _old, next) {
3293
+ if (name !== "value" || next === null || !this.#text) return;
3294
+ this.#text.data = next;
3295
+ this.removeAttribute("value");
3296
+ }
2714
3297
  connectedCallback() {
2715
3298
  if (this.#span) return;
2716
3299
  const span = document.createElement("span");
@@ -2722,18 +3305,20 @@ var LietuvaPasasView = class extends HTMLElement {
2722
3305
  hidden.textContent = `${label} `;
2723
3306
  span.append(hidden);
2724
3307
  }
2725
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3308
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3309
+ this.#pending = null;
2726
3310
  span.append(this.#text);
2727
3311
  passThroughAttributes(this, span, HANDLED90);
3312
+ this.removeAttribute("value");
2728
3313
  this.appendChild(span);
2729
3314
  this.#span = span;
2730
3315
  }
2731
3316
  get value() {
2732
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3317
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2733
3318
  }
2734
3319
  set value(v) {
2735
3320
  if (this.#text) this.#text.data = v;
2736
- else this.setAttribute("value", v);
3321
+ else this.#pending = v;
2737
3322
  }
2738
3323
  };
2739
3324
 
@@ -2771,6 +3356,17 @@ var HANDLED92 = /* @__PURE__ */ new Set(["label", "value"]);
2771
3356
  var LuxembourgMatriculeView = class extends HTMLElement {
2772
3357
  #span = null;
2773
3358
  #text = null;
3359
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3360
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3361
+ #pending = null;
3362
+ static get observedAttributes() {
3363
+ return ["value"];
3364
+ }
3365
+ attributeChangedCallback(name, _old, next) {
3366
+ if (name !== "value" || next === null || !this.#text) return;
3367
+ this.#text.data = next;
3368
+ this.removeAttribute("value");
3369
+ }
2774
3370
  connectedCallback() {
2775
3371
  if (this.#span) return;
2776
3372
  const span = document.createElement("span");
@@ -2782,18 +3378,20 @@ var LuxembourgMatriculeView = class extends HTMLElement {
2782
3378
  hidden.textContent = `${label} `;
2783
3379
  span.append(hidden);
2784
3380
  }
2785
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3381
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3382
+ this.#pending = null;
2786
3383
  span.append(this.#text);
2787
3384
  passThroughAttributes(this, span, HANDLED92);
3385
+ this.removeAttribute("value");
2788
3386
  this.appendChild(span);
2789
3387
  this.#span = span;
2790
3388
  }
2791
3389
  get value() {
2792
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3390
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2793
3391
  }
2794
3392
  set value(v) {
2795
3393
  if (this.#text) this.#text.data = v;
2796
- else this.setAttribute("value", v);
3394
+ else this.#pending = v;
2797
3395
  }
2798
3396
  };
2799
3397
 
@@ -2831,6 +3429,17 @@ var HANDLED94 = /* @__PURE__ */ new Set(["label", "value"]);
2831
3429
  var MagyarorszagTajSzamView = class extends HTMLElement {
2832
3430
  #span = null;
2833
3431
  #text = null;
3432
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3433
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3434
+ #pending = null;
3435
+ static get observedAttributes() {
3436
+ return ["value"];
3437
+ }
3438
+ attributeChangedCallback(name, _old, next) {
3439
+ if (name !== "value" || next === null || !this.#text) return;
3440
+ this.#text.data = next;
3441
+ this.removeAttribute("value");
3442
+ }
2834
3443
  connectedCallback() {
2835
3444
  if (this.#span) return;
2836
3445
  const span = document.createElement("span");
@@ -2842,18 +3451,20 @@ var MagyarorszagTajSzamView = class extends HTMLElement {
2842
3451
  hidden.textContent = `${label} `;
2843
3452
  span.append(hidden);
2844
3453
  }
2845
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3454
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3455
+ this.#pending = null;
2846
3456
  span.append(this.#text);
2847
3457
  passThroughAttributes(this, span, HANDLED94);
3458
+ this.removeAttribute("value");
2848
3459
  this.appendChild(span);
2849
3460
  this.#span = span;
2850
3461
  }
2851
3462
  get value() {
2852
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3463
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2853
3464
  }
2854
3465
  set value(v) {
2855
3466
  if (this.#text) this.#text.data = v;
2856
- else this.setAttribute("value", v);
3467
+ else this.#pending = v;
2857
3468
  }
2858
3469
  };
2859
3470
 
@@ -2891,6 +3502,17 @@ var HANDLED96 = /* @__PURE__ */ new Set(["label", "value"]);
2891
3502
  var MalaysiaKadPengenalanView = class extends HTMLElement {
2892
3503
  #span = null;
2893
3504
  #text = null;
3505
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3506
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3507
+ #pending = null;
3508
+ static get observedAttributes() {
3509
+ return ["value"];
3510
+ }
3511
+ attributeChangedCallback(name, _old, next) {
3512
+ if (name !== "value" || next === null || !this.#text) return;
3513
+ this.#text.data = next;
3514
+ this.removeAttribute("value");
3515
+ }
2894
3516
  connectedCallback() {
2895
3517
  if (this.#span) return;
2896
3518
  const span = document.createElement("span");
@@ -2902,18 +3524,20 @@ var MalaysiaKadPengenalanView = class extends HTMLElement {
2902
3524
  hidden.textContent = `${label} `;
2903
3525
  span.append(hidden);
2904
3526
  }
2905
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3527
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3528
+ this.#pending = null;
2906
3529
  span.append(this.#text);
2907
3530
  passThroughAttributes(this, span, HANDLED96);
3531
+ this.removeAttribute("value");
2908
3532
  this.appendChild(span);
2909
3533
  this.#span = span;
2910
3534
  }
2911
3535
  get value() {
2912
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3536
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2913
3537
  }
2914
3538
  set value(v) {
2915
3539
  if (this.#text) this.#text.data = v;
2916
- else this.setAttribute("value", v);
3540
+ else this.#pending = v;
2917
3541
  }
2918
3542
  };
2919
3543
 
@@ -2951,6 +3575,17 @@ var HANDLED98 = /* @__PURE__ */ new Set(["label", "value"]);
2951
3575
  var MaltaNationalIdentificationNumberView = class extends HTMLElement {
2952
3576
  #span = null;
2953
3577
  #text = null;
3578
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3579
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3580
+ #pending = null;
3581
+ static get observedAttributes() {
3582
+ return ["value"];
3583
+ }
3584
+ attributeChangedCallback(name, _old, next) {
3585
+ if (name !== "value" || next === null || !this.#text) return;
3586
+ this.#text.data = next;
3587
+ this.removeAttribute("value");
3588
+ }
2954
3589
  connectedCallback() {
2955
3590
  if (this.#span) return;
2956
3591
  const span = document.createElement("span");
@@ -2962,18 +3597,20 @@ var MaltaNationalIdentificationNumberView = class extends HTMLElement {
2962
3597
  hidden.textContent = `${label} `;
2963
3598
  span.append(hidden);
2964
3599
  }
2965
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3600
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3601
+ this.#pending = null;
2966
3602
  span.append(this.#text);
2967
3603
  passThroughAttributes(this, span, HANDLED98);
3604
+ this.removeAttribute("value");
2968
3605
  this.appendChild(span);
2969
3606
  this.#span = span;
2970
3607
  }
2971
3608
  get value() {
2972
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3609
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
2973
3610
  }
2974
3611
  set value(v) {
2975
3612
  if (this.#text) this.#text.data = v;
2976
- else this.setAttribute("value", v);
3613
+ else this.#pending = v;
2977
3614
  }
2978
3615
  };
2979
3616
 
@@ -3011,6 +3648,17 @@ var HANDLED100 = /* @__PURE__ */ new Set(["label", "value"]);
3011
3648
  var MaltaPassportNumberView = class extends HTMLElement {
3012
3649
  #span = null;
3013
3650
  #text = null;
3651
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3652
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3653
+ #pending = null;
3654
+ static get observedAttributes() {
3655
+ return ["value"];
3656
+ }
3657
+ attributeChangedCallback(name, _old, next) {
3658
+ if (name !== "value" || next === null || !this.#text) return;
3659
+ this.#text.data = next;
3660
+ this.removeAttribute("value");
3661
+ }
3014
3662
  connectedCallback() {
3015
3663
  if (this.#span) return;
3016
3664
  const span = document.createElement("span");
@@ -3022,18 +3670,20 @@ var MaltaPassportNumberView = class extends HTMLElement {
3022
3670
  hidden.textContent = `${label} `;
3023
3671
  span.append(hidden);
3024
3672
  }
3025
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3673
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3674
+ this.#pending = null;
3026
3675
  span.append(this.#text);
3027
3676
  passThroughAttributes(this, span, HANDLED100);
3677
+ this.removeAttribute("value");
3028
3678
  this.appendChild(span);
3029
3679
  this.#span = span;
3030
3680
  }
3031
3681
  get value() {
3032
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3682
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3033
3683
  }
3034
3684
  set value(v) {
3035
3685
  if (this.#text) this.#text.data = v;
3036
- else this.setAttribute("value", v);
3686
+ else this.#pending = v;
3037
3687
  }
3038
3688
  };
3039
3689
 
@@ -3071,6 +3721,17 @@ var HANDLED102 = /* @__PURE__ */ new Set(["label", "value"]);
3071
3721
  var MauritiusNationalIdentityCardNumberView = class extends HTMLElement {
3072
3722
  #span = null;
3073
3723
  #text = null;
3724
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3725
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3726
+ #pending = null;
3727
+ static get observedAttributes() {
3728
+ return ["value"];
3729
+ }
3730
+ attributeChangedCallback(name, _old, next) {
3731
+ if (name !== "value" || next === null || !this.#text) return;
3732
+ this.#text.data = next;
3733
+ this.removeAttribute("value");
3734
+ }
3074
3735
  connectedCallback() {
3075
3736
  if (this.#span) return;
3076
3737
  const span = document.createElement("span");
@@ -3082,18 +3743,20 @@ var MauritiusNationalIdentityCardNumberView = class extends HTMLElement {
3082
3743
  hidden.textContent = `${label} `;
3083
3744
  span.append(hidden);
3084
3745
  }
3085
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3746
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3747
+ this.#pending = null;
3086
3748
  span.append(this.#text);
3087
3749
  passThroughAttributes(this, span, HANDLED102);
3750
+ this.removeAttribute("value");
3088
3751
  this.appendChild(span);
3089
3752
  this.#span = span;
3090
3753
  }
3091
3754
  get value() {
3092
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3755
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3093
3756
  }
3094
3757
  set value(v) {
3095
3758
  if (this.#text) this.#text.data = v;
3096
- else this.setAttribute("value", v);
3759
+ else this.#pending = v;
3097
3760
  }
3098
3761
  };
3099
3762
 
@@ -3131,6 +3794,17 @@ var HANDLED104 = /* @__PURE__ */ new Set(["label", "value"]);
3131
3794
  var MexicoClaveUnicaDeRegistroDePoblacionView = class extends HTMLElement {
3132
3795
  #span = null;
3133
3796
  #text = null;
3797
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3798
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3799
+ #pending = null;
3800
+ static get observedAttributes() {
3801
+ return ["value"];
3802
+ }
3803
+ attributeChangedCallback(name, _old, next) {
3804
+ if (name !== "value" || next === null || !this.#text) return;
3805
+ this.#text.data = next;
3806
+ this.removeAttribute("value");
3807
+ }
3134
3808
  connectedCallback() {
3135
3809
  if (this.#span) return;
3136
3810
  const span = document.createElement("span");
@@ -3142,18 +3816,20 @@ var MexicoClaveUnicaDeRegistroDePoblacionView = class extends HTMLElement {
3142
3816
  hidden.textContent = `${label} `;
3143
3817
  span.append(hidden);
3144
3818
  }
3145
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3819
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3820
+ this.#pending = null;
3146
3821
  span.append(this.#text);
3147
3822
  passThroughAttributes(this, span, HANDLED104);
3823
+ this.removeAttribute("value");
3148
3824
  this.appendChild(span);
3149
3825
  this.#span = span;
3150
3826
  }
3151
3827
  get value() {
3152
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3828
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3153
3829
  }
3154
3830
  set value(v) {
3155
3831
  if (this.#text) this.#text.data = v;
3156
- else this.setAttribute("value", v);
3832
+ else this.#pending = v;
3157
3833
  }
3158
3834
  };
3159
3835
 
@@ -3191,6 +3867,17 @@ var HANDLED106 = /* @__PURE__ */ new Set(["label", "value"]);
3191
3867
  var MisrAlRaqmAlQawmiView = class extends HTMLElement {
3192
3868
  #span = null;
3193
3869
  #text = null;
3870
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3871
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3872
+ #pending = null;
3873
+ static get observedAttributes() {
3874
+ return ["value"];
3875
+ }
3876
+ attributeChangedCallback(name, _old, next) {
3877
+ if (name !== "value" || next === null || !this.#text) return;
3878
+ this.#text.data = next;
3879
+ this.removeAttribute("value");
3880
+ }
3194
3881
  connectedCallback() {
3195
3882
  if (this.#span) return;
3196
3883
  const span = document.createElement("span");
@@ -3202,18 +3889,20 @@ var MisrAlRaqmAlQawmiView = class extends HTMLElement {
3202
3889
  hidden.textContent = `${label} `;
3203
3890
  span.append(hidden);
3204
3891
  }
3205
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3892
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3893
+ this.#pending = null;
3206
3894
  span.append(this.#text);
3207
3895
  passThroughAttributes(this, span, HANDLED106);
3896
+ this.removeAttribute("value");
3208
3897
  this.appendChild(span);
3209
3898
  this.#span = span;
3210
3899
  }
3211
3900
  get value() {
3212
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3901
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3213
3902
  }
3214
3903
  set value(v) {
3215
3904
  if (this.#text) this.#text.data = v;
3216
- else this.setAttribute("value", v);
3905
+ else this.#pending = v;
3217
3906
  }
3218
3907
  };
3219
3908
 
@@ -3251,6 +3940,17 @@ var HANDLED108 = /* @__PURE__ */ new Set(["label", "value"]);
3251
3940
  var NederlandBurgerserviceNummerView = class extends HTMLElement {
3252
3941
  #span = null;
3253
3942
  #text = null;
3943
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
3944
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
3945
+ #pending = null;
3946
+ static get observedAttributes() {
3947
+ return ["value"];
3948
+ }
3949
+ attributeChangedCallback(name, _old, next) {
3950
+ if (name !== "value" || next === null || !this.#text) return;
3951
+ this.#text.data = next;
3952
+ this.removeAttribute("value");
3953
+ }
3254
3954
  connectedCallback() {
3255
3955
  if (this.#span) return;
3256
3956
  const span = document.createElement("span");
@@ -3262,18 +3962,20 @@ var NederlandBurgerserviceNummerView = class extends HTMLElement {
3262
3962
  hidden.textContent = `${label} `;
3263
3963
  span.append(hidden);
3264
3964
  }
3265
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
3965
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
3966
+ this.#pending = null;
3266
3967
  span.append(this.#text);
3267
3968
  passThroughAttributes(this, span, HANDLED108);
3969
+ this.removeAttribute("value");
3268
3970
  this.appendChild(span);
3269
3971
  this.#span = span;
3270
3972
  }
3271
3973
  get value() {
3272
- return this.#text?.data ?? this.getAttribute("value") ?? "";
3974
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3273
3975
  }
3274
3976
  set value(v) {
3275
3977
  if (this.#text) this.#text.data = v;
3276
- else this.setAttribute("value", v);
3978
+ else this.#pending = v;
3277
3979
  }
3278
3980
  };
3279
3981
 
@@ -3311,6 +4013,17 @@ var HANDLED110 = /* @__PURE__ */ new Set(["label", "value"]);
3311
4013
  var NederlandIdentiteitskaartNummerView = class extends HTMLElement {
3312
4014
  #span = null;
3313
4015
  #text = null;
4016
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4017
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4018
+ #pending = null;
4019
+ static get observedAttributes() {
4020
+ return ["value"];
4021
+ }
4022
+ attributeChangedCallback(name, _old, next) {
4023
+ if (name !== "value" || next === null || !this.#text) return;
4024
+ this.#text.data = next;
4025
+ this.removeAttribute("value");
4026
+ }
3314
4027
  connectedCallback() {
3315
4028
  if (this.#span) return;
3316
4029
  const span = document.createElement("span");
@@ -3322,18 +4035,20 @@ var NederlandIdentiteitskaartNummerView = class extends HTMLElement {
3322
4035
  hidden.textContent = `${label} `;
3323
4036
  span.append(hidden);
3324
4037
  }
3325
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4038
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4039
+ this.#pending = null;
3326
4040
  span.append(this.#text);
3327
4041
  passThroughAttributes(this, span, HANDLED110);
4042
+ this.removeAttribute("value");
3328
4043
  this.appendChild(span);
3329
4044
  this.#span = span;
3330
4045
  }
3331
4046
  get value() {
3332
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4047
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3333
4048
  }
3334
4049
  set value(v) {
3335
4050
  if (this.#text) this.#text.data = v;
3336
- else this.setAttribute("value", v);
4051
+ else this.#pending = v;
3337
4052
  }
3338
4053
  };
3339
4054
 
@@ -3371,6 +4086,17 @@ var HANDLED112 = /* @__PURE__ */ new Set(["label", "value"]);
3371
4086
  var NederlandPaspoortNummerView = class extends HTMLElement {
3372
4087
  #span = null;
3373
4088
  #text = null;
4089
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4090
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4091
+ #pending = null;
4092
+ static get observedAttributes() {
4093
+ return ["value"];
4094
+ }
4095
+ attributeChangedCallback(name, _old, next) {
4096
+ if (name !== "value" || next === null || !this.#text) return;
4097
+ this.#text.data = next;
4098
+ this.removeAttribute("value");
4099
+ }
3374
4100
  connectedCallback() {
3375
4101
  if (this.#span) return;
3376
4102
  const span = document.createElement("span");
@@ -3382,18 +4108,20 @@ var NederlandPaspoortNummerView = class extends HTMLElement {
3382
4108
  hidden.textContent = `${label} `;
3383
4109
  span.append(hidden);
3384
4110
  }
3385
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4111
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4112
+ this.#pending = null;
3386
4113
  span.append(this.#text);
3387
4114
  passThroughAttributes(this, span, HANDLED112);
4115
+ this.removeAttribute("value");
3388
4116
  this.appendChild(span);
3389
4117
  this.#span = span;
3390
4118
  }
3391
4119
  get value() {
3392
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4120
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3393
4121
  }
3394
4122
  set value(v) {
3395
4123
  if (this.#text) this.#text.data = v;
3396
- else this.setAttribute("value", v);
4124
+ else this.#pending = v;
3397
4125
  }
3398
4126
  };
3399
4127
 
@@ -3431,6 +4159,17 @@ var HANDLED114 = /* @__PURE__ */ new Set(["label", "value"]);
3431
4159
  var NigeriaNationalIdentificationNumberView = class extends HTMLElement {
3432
4160
  #span = null;
3433
4161
  #text = null;
4162
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4163
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4164
+ #pending = null;
4165
+ static get observedAttributes() {
4166
+ return ["value"];
4167
+ }
4168
+ attributeChangedCallback(name, _old, next) {
4169
+ if (name !== "value" || next === null || !this.#text) return;
4170
+ this.#text.data = next;
4171
+ this.removeAttribute("value");
4172
+ }
3434
4173
  connectedCallback() {
3435
4174
  if (this.#span) return;
3436
4175
  const span = document.createElement("span");
@@ -3442,18 +4181,20 @@ var NigeriaNationalIdentificationNumberView = class extends HTMLElement {
3442
4181
  hidden.textContent = `${label} `;
3443
4182
  span.append(hidden);
3444
4183
  }
3445
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4184
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4185
+ this.#pending = null;
3446
4186
  span.append(this.#text);
3447
4187
  passThroughAttributes(this, span, HANDLED114);
4188
+ this.removeAttribute("value");
3448
4189
  this.appendChild(span);
3449
4190
  this.#span = span;
3450
4191
  }
3451
4192
  get value() {
3452
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4193
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3453
4194
  }
3454
4195
  set value(v) {
3455
4196
  if (this.#text) this.#text.data = v;
3456
- else this.setAttribute("value", v);
4197
+ else this.#pending = v;
3457
4198
  }
3458
4199
  };
3459
4200
 
@@ -3491,6 +4232,17 @@ var HANDLED116 = /* @__PURE__ */ new Set(["label", "value"]);
3491
4232
  var NihonKojinBangoView = class extends HTMLElement {
3492
4233
  #span = null;
3493
4234
  #text = null;
4235
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4236
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4237
+ #pending = null;
4238
+ static get observedAttributes() {
4239
+ return ["value"];
4240
+ }
4241
+ attributeChangedCallback(name, _old, next) {
4242
+ if (name !== "value" || next === null || !this.#text) return;
4243
+ this.#text.data = next;
4244
+ this.removeAttribute("value");
4245
+ }
3494
4246
  connectedCallback() {
3495
4247
  if (this.#span) return;
3496
4248
  const span = document.createElement("span");
@@ -3502,18 +4254,20 @@ var NihonKojinBangoView = class extends HTMLElement {
3502
4254
  hidden.textContent = `${label} `;
3503
4255
  span.append(hidden);
3504
4256
  }
3505
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4257
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4258
+ this.#pending = null;
3506
4259
  span.append(this.#text);
3507
4260
  passThroughAttributes(this, span, HANDLED116);
4261
+ this.removeAttribute("value");
3508
4262
  this.appendChild(span);
3509
4263
  this.#span = span;
3510
4264
  }
3511
4265
  get value() {
3512
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4266
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3513
4267
  }
3514
4268
  set value(v) {
3515
4269
  if (this.#text) this.#text.data = v;
3516
- else this.setAttribute("value", v);
4270
+ else this.#pending = v;
3517
4271
  }
3518
4272
  };
3519
4273
 
@@ -3551,6 +4305,17 @@ var HANDLED118 = /* @__PURE__ */ new Set(["label", "value"]);
3551
4305
  var NorgeFodselsnummerView = class extends HTMLElement {
3552
4306
  #span = null;
3553
4307
  #text = null;
4308
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4309
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4310
+ #pending = null;
4311
+ static get observedAttributes() {
4312
+ return ["value"];
4313
+ }
4314
+ attributeChangedCallback(name, _old, next) {
4315
+ if (name !== "value" || next === null || !this.#text) return;
4316
+ this.#text.data = next;
4317
+ this.removeAttribute("value");
4318
+ }
3554
4319
  connectedCallback() {
3555
4320
  if (this.#span) return;
3556
4321
  const span = document.createElement("span");
@@ -3562,18 +4327,20 @@ var NorgeFodselsnummerView = class extends HTMLElement {
3562
4327
  hidden.textContent = `${label} `;
3563
4328
  span.append(hidden);
3564
4329
  }
3565
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4330
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4331
+ this.#pending = null;
3566
4332
  span.append(this.#text);
3567
4333
  passThroughAttributes(this, span, HANDLED118);
4334
+ this.removeAttribute("value");
3568
4335
  this.appendChild(span);
3569
4336
  this.#span = span;
3570
4337
  }
3571
4338
  get value() {
3572
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4339
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3573
4340
  }
3574
4341
  set value(v) {
3575
4342
  if (this.#text) this.#text.data = v;
3576
- else this.setAttribute("value", v);
4343
+ else this.#pending = v;
3577
4344
  }
3578
4345
  };
3579
4346
 
@@ -3611,6 +4378,17 @@ var HANDLED120 = /* @__PURE__ */ new Set(["label", "value"]);
3611
4378
  var OsterreichSozialversicherungsnummerView = class extends HTMLElement {
3612
4379
  #span = null;
3613
4380
  #text = null;
4381
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4382
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4383
+ #pending = null;
4384
+ static get observedAttributes() {
4385
+ return ["value"];
4386
+ }
4387
+ attributeChangedCallback(name, _old, next) {
4388
+ if (name !== "value" || next === null || !this.#text) return;
4389
+ this.#text.data = next;
4390
+ this.removeAttribute("value");
4391
+ }
3614
4392
  connectedCallback() {
3615
4393
  if (this.#span) return;
3616
4394
  const span = document.createElement("span");
@@ -3622,18 +4400,20 @@ var OsterreichSozialversicherungsnummerView = class extends HTMLElement {
3622
4400
  hidden.textContent = `${label} `;
3623
4401
  span.append(hidden);
3624
4402
  }
3625
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4403
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4404
+ this.#pending = null;
3626
4405
  span.append(this.#text);
3627
4406
  passThroughAttributes(this, span, HANDLED120);
4407
+ this.removeAttribute("value");
3628
4408
  this.appendChild(span);
3629
4409
  this.#span = span;
3630
4410
  }
3631
4411
  get value() {
3632
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4412
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3633
4413
  }
3634
4414
  set value(v) {
3635
4415
  if (this.#text) this.#text.data = v;
3636
- else this.setAttribute("value", v);
4416
+ else this.#pending = v;
3637
4417
  }
3638
4418
  };
3639
4419
 
@@ -3674,6 +4454,17 @@ var HANDLED122 = /* @__PURE__ */ new Set(["label", "value"]);
3674
4454
  var OzbekistonJismoniyShaxsningShaxsiyIdentifikatsionRaqamiView = class extends HTMLElement {
3675
4455
  #span = null;
3676
4456
  #text = null;
4457
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4458
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4459
+ #pending = null;
4460
+ static get observedAttributes() {
4461
+ return ["value"];
4462
+ }
4463
+ attributeChangedCallback(name, _old, next) {
4464
+ if (name !== "value" || next === null || !this.#text) return;
4465
+ this.#text.data = next;
4466
+ this.removeAttribute("value");
4467
+ }
3677
4468
  connectedCallback() {
3678
4469
  if (this.#span) return;
3679
4470
  const span = document.createElement("span");
@@ -3688,18 +4479,20 @@ var OzbekistonJismoniyShaxsningShaxsiyIdentifikatsionRaqamiView = class extends
3688
4479
  hidden.textContent = `${label} `;
3689
4480
  span.append(hidden);
3690
4481
  }
3691
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4482
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4483
+ this.#pending = null;
3692
4484
  span.append(this.#text);
3693
4485
  passThroughAttributes(this, span, HANDLED122);
4486
+ this.removeAttribute("value");
3694
4487
  this.appendChild(span);
3695
4488
  this.#span = span;
3696
4489
  }
3697
4490
  get value() {
3698
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4491
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3699
4492
  }
3700
4493
  set value(v) {
3701
4494
  if (this.#text) this.#text.data = v;
3702
- else this.setAttribute("value", v);
4495
+ else this.#pending = v;
3703
4496
  }
3704
4497
  };
3705
4498
 
@@ -3737,6 +4530,17 @@ var HANDLED124 = /* @__PURE__ */ new Set(["label", "value"]);
3737
4530
  var PakistanComputerizedNationalIdentityCardView = class extends HTMLElement {
3738
4531
  #span = null;
3739
4532
  #text = null;
4533
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4534
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4535
+ #pending = null;
4536
+ static get observedAttributes() {
4537
+ return ["value"];
4538
+ }
4539
+ attributeChangedCallback(name, _old, next) {
4540
+ if (name !== "value" || next === null || !this.#text) return;
4541
+ this.#text.data = next;
4542
+ this.removeAttribute("value");
4543
+ }
3740
4544
  connectedCallback() {
3741
4545
  if (this.#span) return;
3742
4546
  const span = document.createElement("span");
@@ -3748,18 +4552,20 @@ var PakistanComputerizedNationalIdentityCardView = class extends HTMLElement {
3748
4552
  hidden.textContent = `${label} `;
3749
4553
  span.append(hidden);
3750
4554
  }
3751
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4555
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4556
+ this.#pending = null;
3752
4557
  span.append(this.#text);
3753
4558
  passThroughAttributes(this, span, HANDLED124);
4559
+ this.removeAttribute("value");
3754
4560
  this.appendChild(span);
3755
4561
  this.#span = span;
3756
4562
  }
3757
4563
  get value() {
3758
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4564
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3759
4565
  }
3760
4566
  set value(v) {
3761
4567
  if (this.#text) this.#text.data = v;
3762
- else this.setAttribute("value", v);
4568
+ else this.#pending = v;
3763
4569
  }
3764
4570
  };
3765
4571
 
@@ -3797,6 +4603,17 @@ var HANDLED126 = /* @__PURE__ */ new Set(["label", "value"]);
3797
4603
  var PeruDocumentoNacionalDeIdentidadView = class extends HTMLElement {
3798
4604
  #span = null;
3799
4605
  #text = null;
4606
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4607
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4608
+ #pending = null;
4609
+ static get observedAttributes() {
4610
+ return ["value"];
4611
+ }
4612
+ attributeChangedCallback(name, _old, next) {
4613
+ if (name !== "value" || next === null || !this.#text) return;
4614
+ this.#text.data = next;
4615
+ this.removeAttribute("value");
4616
+ }
3800
4617
  connectedCallback() {
3801
4618
  if (this.#span) return;
3802
4619
  const span = document.createElement("span");
@@ -3808,18 +4625,20 @@ var PeruDocumentoNacionalDeIdentidadView = class extends HTMLElement {
3808
4625
  hidden.textContent = `${label} `;
3809
4626
  span.append(hidden);
3810
4627
  }
3811
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4628
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4629
+ this.#pending = null;
3812
4630
  span.append(this.#text);
3813
4631
  passThroughAttributes(this, span, HANDLED126);
4632
+ this.removeAttribute("value");
3814
4633
  this.appendChild(span);
3815
4634
  this.#span = span;
3816
4635
  }
3817
4636
  get value() {
3818
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4637
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3819
4638
  }
3820
4639
  set value(v) {
3821
4640
  if (this.#text) this.#text.data = v;
3822
- else this.setAttribute("value", v);
4641
+ else this.#pending = v;
3823
4642
  }
3824
4643
  };
3825
4644
 
@@ -3857,6 +4676,17 @@ var HANDLED128 = /* @__PURE__ */ new Set(["label", "value"]);
3857
4676
  var PilipinasPhilhealthIdentificationNumberView = class extends HTMLElement {
3858
4677
  #span = null;
3859
4678
  #text = null;
4679
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4680
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4681
+ #pending = null;
4682
+ static get observedAttributes() {
4683
+ return ["value"];
4684
+ }
4685
+ attributeChangedCallback(name, _old, next) {
4686
+ if (name !== "value" || next === null || !this.#text) return;
4687
+ this.#text.data = next;
4688
+ this.removeAttribute("value");
4689
+ }
3860
4690
  connectedCallback() {
3861
4691
  if (this.#span) return;
3862
4692
  const span = document.createElement("span");
@@ -3868,18 +4698,20 @@ var PilipinasPhilhealthIdentificationNumberView = class extends HTMLElement {
3868
4698
  hidden.textContent = `${label} `;
3869
4699
  span.append(hidden);
3870
4700
  }
3871
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4701
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4702
+ this.#pending = null;
3872
4703
  span.append(this.#text);
3873
4704
  passThroughAttributes(this, span, HANDLED128);
4705
+ this.removeAttribute("value");
3874
4706
  this.appendChild(span);
3875
4707
  this.#span = span;
3876
4708
  }
3877
4709
  get value() {
3878
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4710
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3879
4711
  }
3880
4712
  set value(v) {
3881
4713
  if (this.#text) this.#text.data = v;
3882
- else this.setAttribute("value", v);
4714
+ else this.#pending = v;
3883
4715
  }
3884
4716
  };
3885
4717
 
@@ -3917,6 +4749,17 @@ var HANDLED130 = /* @__PURE__ */ new Set(["label", "value"]);
3917
4749
  var PolskaNumerIdentyfikacjiPodatkowejView = class extends HTMLElement {
3918
4750
  #span = null;
3919
4751
  #text = null;
4752
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4753
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4754
+ #pending = null;
4755
+ static get observedAttributes() {
4756
+ return ["value"];
4757
+ }
4758
+ attributeChangedCallback(name, _old, next) {
4759
+ if (name !== "value" || next === null || !this.#text) return;
4760
+ this.#text.data = next;
4761
+ this.removeAttribute("value");
4762
+ }
3920
4763
  connectedCallback() {
3921
4764
  if (this.#span) return;
3922
4765
  const span = document.createElement("span");
@@ -3928,18 +4771,20 @@ var PolskaNumerIdentyfikacjiPodatkowejView = class extends HTMLElement {
3928
4771
  hidden.textContent = `${label} `;
3929
4772
  span.append(hidden);
3930
4773
  }
3931
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4774
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4775
+ this.#pending = null;
3932
4776
  span.append(this.#text);
3933
4777
  passThroughAttributes(this, span, HANDLED130);
4778
+ this.removeAttribute("value");
3934
4779
  this.appendChild(span);
3935
4780
  this.#span = span;
3936
4781
  }
3937
4782
  get value() {
3938
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4783
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3939
4784
  }
3940
4785
  set value(v) {
3941
4786
  if (this.#text) this.#text.data = v;
3942
- else this.setAttribute("value", v);
4787
+ else this.#pending = v;
3943
4788
  }
3944
4789
  };
3945
4790
 
@@ -3977,6 +4822,17 @@ var HANDLED132 = /* @__PURE__ */ new Set(["label", "value"]);
3977
4822
  var PolskaPeselView = class extends HTMLElement {
3978
4823
  #span = null;
3979
4824
  #text = null;
4825
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4826
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4827
+ #pending = null;
4828
+ static get observedAttributes() {
4829
+ return ["value"];
4830
+ }
4831
+ attributeChangedCallback(name, _old, next) {
4832
+ if (name !== "value" || next === null || !this.#text) return;
4833
+ this.#text.data = next;
4834
+ this.removeAttribute("value");
4835
+ }
3980
4836
  connectedCallback() {
3981
4837
  if (this.#span) return;
3982
4838
  const span = document.createElement("span");
@@ -3988,18 +4844,20 @@ var PolskaPeselView = class extends HTMLElement {
3988
4844
  hidden.textContent = `${label} `;
3989
4845
  span.append(hidden);
3990
4846
  }
3991
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4847
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4848
+ this.#pending = null;
3992
4849
  span.append(this.#text);
3993
4850
  passThroughAttributes(this, span, HANDLED132);
4851
+ this.removeAttribute("value");
3994
4852
  this.appendChild(span);
3995
4853
  this.#span = span;
3996
4854
  }
3997
4855
  get value() {
3998
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4856
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
3999
4857
  }
4000
4858
  set value(v) {
4001
4859
  if (this.#text) this.#text.data = v;
4002
- else this.setAttribute("value", v);
4860
+ else this.#pending = v;
4003
4861
  }
4004
4862
  };
4005
4863
 
@@ -4037,6 +4895,17 @@ var HANDLED134 = /* @__PURE__ */ new Set(["label", "value"]);
4037
4895
  var PortugalNumeroDeIdentificacaoFiscalView = class extends HTMLElement {
4038
4896
  #span = null;
4039
4897
  #text = null;
4898
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4899
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4900
+ #pending = null;
4901
+ static get observedAttributes() {
4902
+ return ["value"];
4903
+ }
4904
+ attributeChangedCallback(name, _old, next) {
4905
+ if (name !== "value" || next === null || !this.#text) return;
4906
+ this.#text.data = next;
4907
+ this.removeAttribute("value");
4908
+ }
4040
4909
  connectedCallback() {
4041
4910
  if (this.#span) return;
4042
4911
  const span = document.createElement("span");
@@ -4048,18 +4917,20 @@ var PortugalNumeroDeIdentificacaoFiscalView = class extends HTMLElement {
4048
4917
  hidden.textContent = `${label} `;
4049
4918
  span.append(hidden);
4050
4919
  }
4051
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4920
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4921
+ this.#pending = null;
4052
4922
  span.append(this.#text);
4053
4923
  passThroughAttributes(this, span, HANDLED134);
4924
+ this.removeAttribute("value");
4054
4925
  this.appendChild(span);
4055
4926
  this.#span = span;
4056
4927
  }
4057
4928
  get value() {
4058
- return this.#text?.data ?? this.getAttribute("value") ?? "";
4929
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4059
4930
  }
4060
4931
  set value(v) {
4061
4932
  if (this.#text) this.#text.data = v;
4062
- else this.setAttribute("value", v);
4933
+ else this.#pending = v;
4063
4934
  }
4064
4935
  };
4065
4936
 
@@ -4097,6 +4968,17 @@ var HANDLED136 = /* @__PURE__ */ new Set(["label", "value"]);
4097
4968
  var PortugalPassaporteView = class extends HTMLElement {
4098
4969
  #span = null;
4099
4970
  #text = null;
4971
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
4972
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
4973
+ #pending = null;
4974
+ static get observedAttributes() {
4975
+ return ["value"];
4976
+ }
4977
+ attributeChangedCallback(name, _old, next) {
4978
+ if (name !== "value" || next === null || !this.#text) return;
4979
+ this.#text.data = next;
4980
+ this.removeAttribute("value");
4981
+ }
4100
4982
  connectedCallback() {
4101
4983
  if (this.#span) return;
4102
4984
  const span = document.createElement("span");
@@ -4108,18 +4990,20 @@ var PortugalPassaporteView = class extends HTMLElement {
4108
4990
  hidden.textContent = `${label} `;
4109
4991
  span.append(hidden);
4110
4992
  }
4111
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
4993
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
4994
+ this.#pending = null;
4112
4995
  span.append(this.#text);
4113
4996
  passThroughAttributes(this, span, HANDLED136);
4997
+ this.removeAttribute("value");
4114
4998
  this.appendChild(span);
4115
4999
  this.#span = span;
4116
5000
  }
4117
5001
  get value() {
4118
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5002
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4119
5003
  }
4120
5004
  set value(v) {
4121
5005
  if (this.#text) this.#text.data = v;
4122
- else this.setAttribute("value", v);
5006
+ else this.#pending = v;
4123
5007
  }
4124
5008
  };
4125
5009
 
@@ -4157,6 +5041,17 @@ var HANDLED138 = /* @__PURE__ */ new Set(["label", "value"]);
4157
5041
  var PrathetThaiLekPrajamTuaPrachachonView = class extends HTMLElement {
4158
5042
  #span = null;
4159
5043
  #text = null;
5044
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5045
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5046
+ #pending = null;
5047
+ static get observedAttributes() {
5048
+ return ["value"];
5049
+ }
5050
+ attributeChangedCallback(name, _old, next) {
5051
+ if (name !== "value" || next === null || !this.#text) return;
5052
+ this.#text.data = next;
5053
+ this.removeAttribute("value");
5054
+ }
4160
5055
  connectedCallback() {
4161
5056
  if (this.#span) return;
4162
5057
  const span = document.createElement("span");
@@ -4168,18 +5063,20 @@ var PrathetThaiLekPrajamTuaPrachachonView = class extends HTMLElement {
4168
5063
  hidden.textContent = `${label} `;
4169
5064
  span.append(hidden);
4170
5065
  }
4171
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5066
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5067
+ this.#pending = null;
4172
5068
  span.append(this.#text);
4173
5069
  passThroughAttributes(this, span, HANDLED138);
5070
+ this.removeAttribute("value");
4174
5071
  this.appendChild(span);
4175
5072
  this.#span = span;
4176
5073
  }
4177
5074
  get value() {
4178
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5075
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4179
5076
  }
4180
5077
  set value(v) {
4181
5078
  if (this.#text) this.#text.data = v;
4182
- else this.setAttribute("value", v);
5079
+ else this.#pending = v;
4183
5080
  }
4184
5081
  };
4185
5082
 
@@ -4217,6 +5114,17 @@ var HANDLED140 = /* @__PURE__ */ new Set(["label", "value"]);
4217
5114
  var QazaqstanZhekeSaikestendiruNomiriView = class extends HTMLElement {
4218
5115
  #span = null;
4219
5116
  #text = null;
5117
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5118
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5119
+ #pending = null;
5120
+ static get observedAttributes() {
5121
+ return ["value"];
5122
+ }
5123
+ attributeChangedCallback(name, _old, next) {
5124
+ if (name !== "value" || next === null || !this.#text) return;
5125
+ this.#text.data = next;
5126
+ this.removeAttribute("value");
5127
+ }
4220
5128
  connectedCallback() {
4221
5129
  if (this.#span) return;
4222
5130
  const span = document.createElement("span");
@@ -4228,18 +5136,20 @@ var QazaqstanZhekeSaikestendiruNomiriView = class extends HTMLElement {
4228
5136
  hidden.textContent = `${label} `;
4229
5137
  span.append(hidden);
4230
5138
  }
4231
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5139
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5140
+ this.#pending = null;
4232
5141
  span.append(this.#text);
4233
5142
  passThroughAttributes(this, span, HANDLED140);
5143
+ this.removeAttribute("value");
4234
5144
  this.appendChild(span);
4235
5145
  this.#span = span;
4236
5146
  }
4237
5147
  get value() {
4238
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5148
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4239
5149
  }
4240
5150
  set value(v) {
4241
5151
  if (this.#text) this.#text.data = v;
4242
- else this.setAttribute("value", v);
5152
+ else this.#pending = v;
4243
5153
  }
4244
5154
  };
4245
5155
 
@@ -4280,6 +5190,17 @@ var HANDLED142 = /* @__PURE__ */ new Set(["label", "value"]);
4280
5190
  var RepublicaDominicanaCedulaDeIdentidadYElectoralView = class extends HTMLElement {
4281
5191
  #span = null;
4282
5192
  #text = null;
5193
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5194
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5195
+ #pending = null;
5196
+ static get observedAttributes() {
5197
+ return ["value"];
5198
+ }
5199
+ attributeChangedCallback(name, _old, next) {
5200
+ if (name !== "value" || next === null || !this.#text) return;
5201
+ this.#text.data = next;
5202
+ this.removeAttribute("value");
5203
+ }
4283
5204
  connectedCallback() {
4284
5205
  if (this.#span) return;
4285
5206
  const span = document.createElement("span");
@@ -4294,18 +5215,20 @@ var RepublicaDominicanaCedulaDeIdentidadYElectoralView = class extends HTMLEleme
4294
5215
  hidden.textContent = `${label} `;
4295
5216
  span.append(hidden);
4296
5217
  }
4297
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5218
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5219
+ this.#pending = null;
4298
5220
  span.append(this.#text);
4299
5221
  passThroughAttributes(this, span, HANDLED142);
5222
+ this.removeAttribute("value");
4300
5223
  this.appendChild(span);
4301
5224
  this.#span = span;
4302
5225
  }
4303
5226
  get value() {
4304
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5227
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4305
5228
  }
4306
5229
  set value(v) {
4307
5230
  if (this.#text) this.#text.data = v;
4308
- else this.setAttribute("value", v);
5231
+ else this.#pending = v;
4309
5232
  }
4310
5233
  };
4311
5234
 
@@ -4343,6 +5266,17 @@ var HANDLED144 = /* @__PURE__ */ new Set(["label", "value"]);
4343
5266
  var RomaniaCodNumericPersonalView = class extends HTMLElement {
4344
5267
  #span = null;
4345
5268
  #text = null;
5269
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5270
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5271
+ #pending = null;
5272
+ static get observedAttributes() {
5273
+ return ["value"];
5274
+ }
5275
+ attributeChangedCallback(name, _old, next) {
5276
+ if (name !== "value" || next === null || !this.#text) return;
5277
+ this.#text.data = next;
5278
+ this.removeAttribute("value");
5279
+ }
4346
5280
  connectedCallback() {
4347
5281
  if (this.#span) return;
4348
5282
  const span = document.createElement("span");
@@ -4354,18 +5288,20 @@ var RomaniaCodNumericPersonalView = class extends HTMLElement {
4354
5288
  hidden.textContent = `${label} `;
4355
5289
  span.append(hidden);
4356
5290
  }
4357
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5291
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5292
+ this.#pending = null;
4358
5293
  span.append(this.#text);
4359
5294
  passThroughAttributes(this, span, HANDLED144);
5295
+ this.removeAttribute("value");
4360
5296
  this.appendChild(span);
4361
5297
  this.#span = span;
4362
5298
  }
4363
5299
  get value() {
4364
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5300
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4365
5301
  }
4366
5302
  set value(v) {
4367
5303
  if (this.#text) this.#text.data = v;
4368
- else this.setAttribute("value", v);
5304
+ else this.#pending = v;
4369
5305
  }
4370
5306
  };
4371
5307
 
@@ -4403,6 +5339,17 @@ var HANDLED146 = /* @__PURE__ */ new Set(["label", "value"]);
4403
5339
  var RomaniaPasaportView = class extends HTMLElement {
4404
5340
  #span = null;
4405
5341
  #text = null;
5342
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5343
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5344
+ #pending = null;
5345
+ static get observedAttributes() {
5346
+ return ["value"];
5347
+ }
5348
+ attributeChangedCallback(name, _old, next) {
5349
+ if (name !== "value" || next === null || !this.#text) return;
5350
+ this.#text.data = next;
5351
+ this.removeAttribute("value");
5352
+ }
4406
5353
  connectedCallback() {
4407
5354
  if (this.#span) return;
4408
5355
  const span = document.createElement("span");
@@ -4414,18 +5361,20 @@ var RomaniaPasaportView = class extends HTMLElement {
4414
5361
  hidden.textContent = `${label} `;
4415
5362
  span.append(hidden);
4416
5363
  }
4417
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5364
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5365
+ this.#pending = null;
4418
5366
  span.append(this.#text);
4419
5367
  passThroughAttributes(this, span, HANDLED146);
5368
+ this.removeAttribute("value");
4420
5369
  this.appendChild(span);
4421
5370
  this.#span = span;
4422
5371
  }
4423
5372
  get value() {
4424
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5373
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4425
5374
  }
4426
5375
  set value(v) {
4427
5376
  if (this.#text) this.#text.data = v;
4428
- else this.setAttribute("value", v);
5377
+ else this.#pending = v;
4429
5378
  }
4430
5379
  };
4431
5380
 
@@ -4463,6 +5412,17 @@ var HANDLED148 = /* @__PURE__ */ new Set(["label", "value"]);
4463
5412
  var RossiyaSnilsView = class extends HTMLElement {
4464
5413
  #span = null;
4465
5414
  #text = null;
5415
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5416
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5417
+ #pending = null;
5418
+ static get observedAttributes() {
5419
+ return ["value"];
5420
+ }
5421
+ attributeChangedCallback(name, _old, next) {
5422
+ if (name !== "value" || next === null || !this.#text) return;
5423
+ this.#text.data = next;
5424
+ this.removeAttribute("value");
5425
+ }
4466
5426
  connectedCallback() {
4467
5427
  if (this.#span) return;
4468
5428
  const span = document.createElement("span");
@@ -4474,18 +5434,20 @@ var RossiyaSnilsView = class extends HTMLElement {
4474
5434
  hidden.textContent = `${label} `;
4475
5435
  span.append(hidden);
4476
5436
  }
4477
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5437
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5438
+ this.#pending = null;
4478
5439
  span.append(this.#text);
4479
5440
  passThroughAttributes(this, span, HANDLED148);
5441
+ this.removeAttribute("value");
4480
5442
  this.appendChild(span);
4481
5443
  this.#span = span;
4482
5444
  }
4483
5445
  get value() {
4484
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5446
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4485
5447
  }
4486
5448
  set value(v) {
4487
5449
  if (this.#text) this.#text.data = v;
4488
- else this.setAttribute("value", v);
5450
+ else this.#pending = v;
4489
5451
  }
4490
5452
  };
4491
5453
 
@@ -4523,6 +5485,17 @@ var HANDLED150 = /* @__PURE__ */ new Set(["label", "value"]);
4523
5485
  var SchweizAhvNummerView = class extends HTMLElement {
4524
5486
  #span = null;
4525
5487
  #text = null;
5488
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5489
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5490
+ #pending = null;
5491
+ static get observedAttributes() {
5492
+ return ["value"];
5493
+ }
5494
+ attributeChangedCallback(name, _old, next) {
5495
+ if (name !== "value" || next === null || !this.#text) return;
5496
+ this.#text.data = next;
5497
+ this.removeAttribute("value");
5498
+ }
4526
5499
  connectedCallback() {
4527
5500
  if (this.#span) return;
4528
5501
  const span = document.createElement("span");
@@ -4534,18 +5507,20 @@ var SchweizAhvNummerView = class extends HTMLElement {
4534
5507
  hidden.textContent = `${label} `;
4535
5508
  span.append(hidden);
4536
5509
  }
4537
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5510
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5511
+ this.#pending = null;
4538
5512
  span.append(this.#text);
4539
5513
  passThroughAttributes(this, span, HANDLED150);
5514
+ this.removeAttribute("value");
4540
5515
  this.appendChild(span);
4541
5516
  this.#span = span;
4542
5517
  }
4543
5518
  get value() {
4544
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5519
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4545
5520
  }
4546
5521
  set value(v) {
4547
5522
  if (this.#text) this.#text.data = v;
4548
- else this.setAttribute("value", v);
5523
+ else this.#pending = v;
4549
5524
  }
4550
5525
  };
4551
5526
 
@@ -4586,6 +5561,17 @@ var HANDLED152 = /* @__PURE__ */ new Set(["label", "value"]);
4586
5561
  var SingaporeNationalRegistrationIdentityCardView = class extends HTMLElement {
4587
5562
  #span = null;
4588
5563
  #text = null;
5564
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5565
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5566
+ #pending = null;
5567
+ static get observedAttributes() {
5568
+ return ["value"];
5569
+ }
5570
+ attributeChangedCallback(name, _old, next) {
5571
+ if (name !== "value" || next === null || !this.#text) return;
5572
+ this.#text.data = next;
5573
+ this.removeAttribute("value");
5574
+ }
4589
5575
  connectedCallback() {
4590
5576
  if (this.#span) return;
4591
5577
  const span = document.createElement("span");
@@ -4597,18 +5583,20 @@ var SingaporeNationalRegistrationIdentityCardView = class extends HTMLElement {
4597
5583
  hidden.textContent = `${label} `;
4598
5584
  span.append(hidden);
4599
5585
  }
4600
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5586
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5587
+ this.#pending = null;
4601
5588
  span.append(this.#text);
4602
5589
  passThroughAttributes(this, span, HANDLED152);
5590
+ this.removeAttribute("value");
4603
5591
  this.appendChild(span);
4604
5592
  this.#span = span;
4605
5593
  }
4606
5594
  get value() {
4607
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5595
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4608
5596
  }
4609
5597
  set value(v) {
4610
5598
  if (this.#text) this.#text.data = v;
4611
- else this.setAttribute("value", v);
5599
+ else this.#pending = v;
4612
5600
  }
4613
5601
  };
4614
5602
 
@@ -4646,6 +5634,17 @@ var HANDLED154 = /* @__PURE__ */ new Set(["label", "value"]);
4646
5634
  var SlovenijaEmsoView = class extends HTMLElement {
4647
5635
  #span = null;
4648
5636
  #text = null;
5637
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5638
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5639
+ #pending = null;
5640
+ static get observedAttributes() {
5641
+ return ["value"];
5642
+ }
5643
+ attributeChangedCallback(name, _old, next) {
5644
+ if (name !== "value" || next === null || !this.#text) return;
5645
+ this.#text.data = next;
5646
+ this.removeAttribute("value");
5647
+ }
4649
5648
  connectedCallback() {
4650
5649
  if (this.#span) return;
4651
5650
  const span = document.createElement("span");
@@ -4657,18 +5656,20 @@ var SlovenijaEmsoView = class extends HTMLElement {
4657
5656
  hidden.textContent = `${label} `;
4658
5657
  span.append(hidden);
4659
5658
  }
4660
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5659
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5660
+ this.#pending = null;
4661
5661
  span.append(this.#text);
4662
5662
  passThroughAttributes(this, span, HANDLED154);
5663
+ this.removeAttribute("value");
4663
5664
  this.appendChild(span);
4664
5665
  this.#span = span;
4665
5666
  }
4666
5667
  get value() {
4667
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5668
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4668
5669
  }
4669
5670
  set value(v) {
4670
5671
  if (this.#text) this.#text.data = v;
4671
- else this.setAttribute("value", v);
5672
+ else this.#pending = v;
4672
5673
  }
4673
5674
  };
4674
5675
 
@@ -4706,6 +5707,17 @@ var HANDLED156 = /* @__PURE__ */ new Set(["label", "value"]);
4706
5707
  var SlovenskoPasView = class extends HTMLElement {
4707
5708
  #span = null;
4708
5709
  #text = null;
5710
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5711
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5712
+ #pending = null;
5713
+ static get observedAttributes() {
5714
+ return ["value"];
5715
+ }
5716
+ attributeChangedCallback(name, _old, next) {
5717
+ if (name !== "value" || next === null || !this.#text) return;
5718
+ this.#text.data = next;
5719
+ this.removeAttribute("value");
5720
+ }
4709
5721
  connectedCallback() {
4710
5722
  if (this.#span) return;
4711
5723
  const span = document.createElement("span");
@@ -4717,18 +5729,20 @@ var SlovenskoPasView = class extends HTMLElement {
4717
5729
  hidden.textContent = `${label} `;
4718
5730
  span.append(hidden);
4719
5731
  }
4720
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5732
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5733
+ this.#pending = null;
4721
5734
  span.append(this.#text);
4722
5735
  passThroughAttributes(this, span, HANDLED156);
5736
+ this.removeAttribute("value");
4723
5737
  this.appendChild(span);
4724
5738
  this.#span = span;
4725
5739
  }
4726
5740
  get value() {
4727
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5741
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4728
5742
  }
4729
5743
  set value(v) {
4730
5744
  if (this.#text) this.#text.data = v;
4731
- else this.setAttribute("value", v);
5745
+ else this.#pending = v;
4732
5746
  }
4733
5747
  };
4734
5748
 
@@ -4766,6 +5780,17 @@ var HANDLED158 = /* @__PURE__ */ new Set(["label", "value"]);
4766
5780
  var SlovenskoRodneCisloView = class extends HTMLElement {
4767
5781
  #span = null;
4768
5782
  #text = null;
5783
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5784
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5785
+ #pending = null;
5786
+ static get observedAttributes() {
5787
+ return ["value"];
5788
+ }
5789
+ attributeChangedCallback(name, _old, next) {
5790
+ if (name !== "value" || next === null || !this.#text) return;
5791
+ this.#text.data = next;
5792
+ this.removeAttribute("value");
5793
+ }
4769
5794
  connectedCallback() {
4770
5795
  if (this.#span) return;
4771
5796
  const span = document.createElement("span");
@@ -4777,18 +5802,20 @@ var SlovenskoRodneCisloView = class extends HTMLElement {
4777
5802
  hidden.textContent = `${label} `;
4778
5803
  span.append(hidden);
4779
5804
  }
4780
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5805
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5806
+ this.#pending = null;
4781
5807
  span.append(this.#text);
4782
5808
  passThroughAttributes(this, span, HANDLED158);
5809
+ this.removeAttribute("value");
4783
5810
  this.appendChild(span);
4784
5811
  this.#span = span;
4785
5812
  }
4786
5813
  get value() {
4787
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5814
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4788
5815
  }
4789
5816
  set value(v) {
4790
5817
  if (this.#text) this.#text.data = v;
4791
- else this.setAttribute("value", v);
5818
+ else this.#pending = v;
4792
5819
  }
4793
5820
  };
4794
5821
 
@@ -4826,6 +5853,17 @@ var HANDLED160 = /* @__PURE__ */ new Set(["label", "value"]);
4826
5853
  var SouthAfricaIdentityNumberView = class extends HTMLElement {
4827
5854
  #span = null;
4828
5855
  #text = null;
5856
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5857
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5858
+ #pending = null;
5859
+ static get observedAttributes() {
5860
+ return ["value"];
5861
+ }
5862
+ attributeChangedCallback(name, _old, next) {
5863
+ if (name !== "value" || next === null || !this.#text) return;
5864
+ this.#text.data = next;
5865
+ this.removeAttribute("value");
5866
+ }
4829
5867
  connectedCallback() {
4830
5868
  if (this.#span) return;
4831
5869
  const span = document.createElement("span");
@@ -4837,18 +5875,20 @@ var SouthAfricaIdentityNumberView = class extends HTMLElement {
4837
5875
  hidden.textContent = `${label} `;
4838
5876
  span.append(hidden);
4839
5877
  }
4840
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5878
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5879
+ this.#pending = null;
4841
5880
  span.append(this.#text);
4842
5881
  passThroughAttributes(this, span, HANDLED160);
5882
+ this.removeAttribute("value");
4843
5883
  this.appendChild(span);
4844
5884
  this.#span = span;
4845
5885
  }
4846
5886
  get value() {
4847
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5887
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4848
5888
  }
4849
5889
  set value(v) {
4850
5890
  if (this.#text) this.#text.data = v;
4851
- else this.setAttribute("value", v);
5891
+ else this.#pending = v;
4852
5892
  }
4853
5893
  };
4854
5894
 
@@ -4886,6 +5926,17 @@ var HANDLED162 = /* @__PURE__ */ new Set(["label", "value"]);
4886
5926
  var SriLankaNationalIdentityCardView = class extends HTMLElement {
4887
5927
  #span = null;
4888
5928
  #text = null;
5929
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
5930
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
5931
+ #pending = null;
5932
+ static get observedAttributes() {
5933
+ return ["value"];
5934
+ }
5935
+ attributeChangedCallback(name, _old, next) {
5936
+ if (name !== "value" || next === null || !this.#text) return;
5937
+ this.#text.data = next;
5938
+ this.removeAttribute("value");
5939
+ }
4889
5940
  connectedCallback() {
4890
5941
  if (this.#span) return;
4891
5942
  const span = document.createElement("span");
@@ -4897,18 +5948,20 @@ var SriLankaNationalIdentityCardView = class extends HTMLElement {
4897
5948
  hidden.textContent = `${label} `;
4898
5949
  span.append(hidden);
4899
5950
  }
4900
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
5951
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
5952
+ this.#pending = null;
4901
5953
  span.append(this.#text);
4902
5954
  passThroughAttributes(this, span, HANDLED162);
5955
+ this.removeAttribute("value");
4903
5956
  this.appendChild(span);
4904
5957
  this.#span = span;
4905
5958
  }
4906
5959
  get value() {
4907
- return this.#text?.data ?? this.getAttribute("value") ?? "";
5960
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4908
5961
  }
4909
5962
  set value(v) {
4910
5963
  if (this.#text) this.#text.data = v;
4911
- else this.setAttribute("value", v);
5964
+ else this.#pending = v;
4912
5965
  }
4913
5966
  };
4914
5967
 
@@ -4946,6 +5999,17 @@ var HANDLED164 = /* @__PURE__ */ new Set(["label", "value"]);
4946
5999
  var SuomiHenkilotunnusView = class extends HTMLElement {
4947
6000
  #span = null;
4948
6001
  #text = null;
6002
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6003
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6004
+ #pending = null;
6005
+ static get observedAttributes() {
6006
+ return ["value"];
6007
+ }
6008
+ attributeChangedCallback(name, _old, next) {
6009
+ if (name !== "value" || next === null || !this.#text) return;
6010
+ this.#text.data = next;
6011
+ this.removeAttribute("value");
6012
+ }
4949
6013
  connectedCallback() {
4950
6014
  if (this.#span) return;
4951
6015
  const span = document.createElement("span");
@@ -4957,18 +6021,20 @@ var SuomiHenkilotunnusView = class extends HTMLElement {
4957
6021
  hidden.textContent = `${label} `;
4958
6022
  span.append(hidden);
4959
6023
  }
4960
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6024
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6025
+ this.#pending = null;
4961
6026
  span.append(this.#text);
4962
6027
  passThroughAttributes(this, span, HANDLED164);
6028
+ this.removeAttribute("value");
4963
6029
  this.appendChild(span);
4964
6030
  this.#span = span;
4965
6031
  }
4966
6032
  get value() {
4967
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6033
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
4968
6034
  }
4969
6035
  set value(v) {
4970
6036
  if (this.#text) this.#text.data = v;
4971
- else this.setAttribute("value", v);
6037
+ else this.#pending = v;
4972
6038
  }
4973
6039
  };
4974
6040
 
@@ -5006,6 +6072,17 @@ var HANDLED166 = /* @__PURE__ */ new Set(["label", "value"]);
5006
6072
  var SverigePersonnummerView = class extends HTMLElement {
5007
6073
  #span = null;
5008
6074
  #text = null;
6075
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6076
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6077
+ #pending = null;
6078
+ static get observedAttributes() {
6079
+ return ["value"];
6080
+ }
6081
+ attributeChangedCallback(name, _old, next) {
6082
+ if (name !== "value" || next === null || !this.#text) return;
6083
+ this.#text.data = next;
6084
+ this.removeAttribute("value");
6085
+ }
5009
6086
  connectedCallback() {
5010
6087
  if (this.#span) return;
5011
6088
  const span = document.createElement("span");
@@ -5017,18 +6094,20 @@ var SverigePersonnummerView = class extends HTMLElement {
5017
6094
  hidden.textContent = `${label} `;
5018
6095
  span.append(hidden);
5019
6096
  }
5020
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6097
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6098
+ this.#pending = null;
5021
6099
  span.append(this.#text);
5022
6100
  passThroughAttributes(this, span, HANDLED166);
6101
+ this.removeAttribute("value");
5023
6102
  this.appendChild(span);
5024
6103
  this.#span = span;
5025
6104
  }
5026
6105
  get value() {
5027
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6106
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5028
6107
  }
5029
6108
  set value(v) {
5030
6109
  if (this.#text) this.#text.data = v;
5031
- else this.setAttribute("value", v);
6110
+ else this.#pending = v;
5032
6111
  }
5033
6112
  };
5034
6113
 
@@ -5066,6 +6145,17 @@ var HANDLED168 = /* @__PURE__ */ new Set(["label", "value"]);
5066
6145
  var TaiwanGuominShenfenzhengTongyiBianhaoView = class extends HTMLElement {
5067
6146
  #span = null;
5068
6147
  #text = null;
6148
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6149
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6150
+ #pending = null;
6151
+ static get observedAttributes() {
6152
+ return ["value"];
6153
+ }
6154
+ attributeChangedCallback(name, _old, next) {
6155
+ if (name !== "value" || next === null || !this.#text) return;
6156
+ this.#text.data = next;
6157
+ this.removeAttribute("value");
6158
+ }
5069
6159
  connectedCallback() {
5070
6160
  if (this.#span) return;
5071
6161
  const span = document.createElement("span");
@@ -5077,18 +6167,20 @@ var TaiwanGuominShenfenzhengTongyiBianhaoView = class extends HTMLElement {
5077
6167
  hidden.textContent = `${label} `;
5078
6168
  span.append(hidden);
5079
6169
  }
5080
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6170
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6171
+ this.#pending = null;
5081
6172
  span.append(this.#text);
5082
6173
  passThroughAttributes(this, span, HANDLED168);
6174
+ this.removeAttribute("value");
5083
6175
  this.appendChild(span);
5084
6176
  this.#span = span;
5085
6177
  }
5086
6178
  get value() {
5087
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6179
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5088
6180
  }
5089
6181
  set value(v) {
5090
6182
  if (this.#text) this.#text.data = v;
5091
- else this.setAttribute("value", v);
6183
+ else this.#pending = v;
5092
6184
  }
5093
6185
  };
5094
6186
 
@@ -5136,6 +6228,17 @@ var HANDLED170 = /* @__PURE__ */ new Set(["label", "value"]);
5136
6228
  var TuaisceartEireannHealthAndCareNumberView = class extends HTMLElement {
5137
6229
  #span = null;
5138
6230
  #text = null;
6231
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6232
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6233
+ #pending = null;
6234
+ static get observedAttributes() {
6235
+ return ["value"];
6236
+ }
6237
+ attributeChangedCallback(name, _old, next) {
6238
+ if (name !== "value" || next === null || !this.#text) return;
6239
+ this.#text.data = next;
6240
+ this.removeAttribute("value");
6241
+ }
5139
6242
  connectedCallback() {
5140
6243
  if (this.#span) return;
5141
6244
  const span = document.createElement("span");
@@ -5147,18 +6250,20 @@ var TuaisceartEireannHealthAndCareNumberView = class extends HTMLElement {
5147
6250
  hidden.textContent = `${label} `;
5148
6251
  span.append(hidden);
5149
6252
  }
5150
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6253
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6254
+ this.#pending = null;
5151
6255
  span.append(this.#text);
5152
6256
  passThroughAttributes(this, span, HANDLED170);
6257
+ this.removeAttribute("value");
5153
6258
  this.appendChild(span);
5154
6259
  this.#span = span;
5155
6260
  }
5156
6261
  get value() {
5157
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6262
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5158
6263
  }
5159
6264
  set value(v) {
5160
6265
  if (this.#text) this.#text.data = v;
5161
- else this.setAttribute("value", v);
6266
+ else this.#pending = v;
5162
6267
  }
5163
6268
  };
5164
6269
 
@@ -5196,6 +6301,17 @@ var HANDLED172 = /* @__PURE__ */ new Set(["label", "value"]);
5196
6301
  var TurkiyeTcKimlikNumarasiView = class extends HTMLElement {
5197
6302
  #span = null;
5198
6303
  #text = null;
6304
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6305
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6306
+ #pending = null;
6307
+ static get observedAttributes() {
6308
+ return ["value"];
6309
+ }
6310
+ attributeChangedCallback(name, _old, next) {
6311
+ if (name !== "value" || next === null || !this.#text) return;
6312
+ this.#text.data = next;
6313
+ this.removeAttribute("value");
6314
+ }
5199
6315
  connectedCallback() {
5200
6316
  if (this.#span) return;
5201
6317
  const span = document.createElement("span");
@@ -5207,18 +6323,20 @@ var TurkiyeTcKimlikNumarasiView = class extends HTMLElement {
5207
6323
  hidden.textContent = `${label} `;
5208
6324
  span.append(hidden);
5209
6325
  }
5210
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6326
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6327
+ this.#pending = null;
5211
6328
  span.append(this.#text);
5212
6329
  passThroughAttributes(this, span, HANDLED172);
6330
+ this.removeAttribute("value");
5213
6331
  this.appendChild(span);
5214
6332
  this.#span = span;
5215
6333
  }
5216
6334
  get value() {
5217
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6335
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5218
6336
  }
5219
6337
  set value(v) {
5220
6338
  if (this.#text) this.#text.data = v;
5221
- else this.setAttribute("value", v);
6339
+ else this.#pending = v;
5222
6340
  }
5223
6341
  };
5224
6342
 
@@ -5259,6 +6377,17 @@ var HANDLED174 = /* @__PURE__ */ new Set(["label", "value"]);
5259
6377
  var UkrayinaReyestratsiyniyNomerOblikovoyiKartkyPlatnykaPodatkivView = class extends HTMLElement {
5260
6378
  #span = null;
5261
6379
  #text = null;
6380
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6381
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6382
+ #pending = null;
6383
+ static get observedAttributes() {
6384
+ return ["value"];
6385
+ }
6386
+ attributeChangedCallback(name, _old, next) {
6387
+ if (name !== "value" || next === null || !this.#text) return;
6388
+ this.#text.data = next;
6389
+ this.removeAttribute("value");
6390
+ }
5262
6391
  connectedCallback() {
5263
6392
  if (this.#span) return;
5264
6393
  const span = document.createElement("span");
@@ -5273,18 +6402,20 @@ var UkrayinaReyestratsiyniyNomerOblikovoyiKartkyPlatnykaPodatkivView = class ext
5273
6402
  hidden.textContent = `${label} `;
5274
6403
  span.append(hidden);
5275
6404
  }
5276
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6405
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6406
+ this.#pending = null;
5277
6407
  span.append(this.#text);
5278
6408
  passThroughAttributes(this, span, HANDLED174);
6409
+ this.removeAttribute("value");
5279
6410
  this.appendChild(span);
5280
6411
  this.#span = span;
5281
6412
  }
5282
6413
  get value() {
5283
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6414
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5284
6415
  }
5285
6416
  set value(v) {
5286
6417
  if (this.#text) this.#text.data = v;
5287
- else this.setAttribute("value", v);
6418
+ else this.#pending = v;
5288
6419
  }
5289
6420
  };
5290
6421
 
@@ -5335,6 +6466,17 @@ var HANDLED176 = /* @__PURE__ */ new Set(["label", "value"]);
5335
6466
  var UnitedKingdomNationalHealthServiceNumberView = class extends HTMLElement {
5336
6467
  #span = null;
5337
6468
  #text = null;
6469
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6470
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6471
+ #pending = null;
6472
+ static get observedAttributes() {
6473
+ return ["value"];
6474
+ }
6475
+ attributeChangedCallback(name, _old, next) {
6476
+ if (name !== "value" || next === null || !this.#text) return;
6477
+ this.#text.data = next;
6478
+ this.removeAttribute("value");
6479
+ }
5338
6480
  connectedCallback() {
5339
6481
  if (this.#span) return;
5340
6482
  const span = document.createElement("span");
@@ -5346,18 +6488,20 @@ var UnitedKingdomNationalHealthServiceNumberView = class extends HTMLElement {
5346
6488
  hidden.textContent = `${label} `;
5347
6489
  span.append(hidden);
5348
6490
  }
5349
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6491
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6492
+ this.#pending = null;
5350
6493
  span.append(this.#text);
5351
6494
  passThroughAttributes(this, span, HANDLED176);
6495
+ this.removeAttribute("value");
5352
6496
  this.appendChild(span);
5353
6497
  this.#span = span;
5354
6498
  }
5355
6499
  get value() {
5356
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6500
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5357
6501
  }
5358
6502
  set value(v) {
5359
6503
  if (this.#text) this.#text.data = v;
5360
- else this.setAttribute("value", v);
6504
+ else this.#pending = v;
5361
6505
  }
5362
6506
  };
5363
6507
 
@@ -5395,6 +6539,17 @@ var HANDLED178 = /* @__PURE__ */ new Set(["label", "value"]);
5395
6539
  var UnitedKingdomNationalInsuranceNumberView = class extends HTMLElement {
5396
6540
  #span = null;
5397
6541
  #text = null;
6542
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6543
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6544
+ #pending = null;
6545
+ static get observedAttributes() {
6546
+ return ["value"];
6547
+ }
6548
+ attributeChangedCallback(name, _old, next) {
6549
+ if (name !== "value" || next === null || !this.#text) return;
6550
+ this.#text.data = next;
6551
+ this.removeAttribute("value");
6552
+ }
5398
6553
  connectedCallback() {
5399
6554
  if (this.#span) return;
5400
6555
  const span = document.createElement("span");
@@ -5406,18 +6561,20 @@ var UnitedKingdomNationalInsuranceNumberView = class extends HTMLElement {
5406
6561
  hidden.textContent = `${label} `;
5407
6562
  span.append(hidden);
5408
6563
  }
5409
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6564
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6565
+ this.#pending = null;
5410
6566
  span.append(this.#text);
5411
6567
  passThroughAttributes(this, span, HANDLED178);
6568
+ this.removeAttribute("value");
5412
6569
  this.appendChild(span);
5413
6570
  this.#span = span;
5414
6571
  }
5415
6572
  get value() {
5416
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6573
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5417
6574
  }
5418
6575
  set value(v) {
5419
6576
  if (this.#text) this.#text.data = v;
5420
- else this.setAttribute("value", v);
6577
+ else this.#pending = v;
5421
6578
  }
5422
6579
  };
5423
6580
 
@@ -5465,6 +6622,17 @@ var HANDLED180 = /* @__PURE__ */ new Set(["label", "value"]);
5465
6622
  var UnitedStatesSocialSecurityNumberView = class extends HTMLElement {
5466
6623
  #span = null;
5467
6624
  #text = null;
6625
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6626
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6627
+ #pending = null;
6628
+ static get observedAttributes() {
6629
+ return ["value"];
6630
+ }
6631
+ attributeChangedCallback(name, _old, next) {
6632
+ if (name !== "value" || next === null || !this.#text) return;
6633
+ this.#text.data = next;
6634
+ this.removeAttribute("value");
6635
+ }
5468
6636
  connectedCallback() {
5469
6637
  if (this.#span) return;
5470
6638
  const span = document.createElement("span");
@@ -5476,18 +6644,20 @@ var UnitedStatesSocialSecurityNumberView = class extends HTMLElement {
5476
6644
  hidden.textContent = `${label} `;
5477
6645
  span.append(hidden);
5478
6646
  }
5479
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6647
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6648
+ this.#pending = null;
5480
6649
  span.append(this.#text);
5481
6650
  passThroughAttributes(this, span, HANDLED180);
6651
+ this.removeAttribute("value");
5482
6652
  this.appendChild(span);
5483
6653
  this.#span = span;
5484
6654
  }
5485
6655
  get value() {
5486
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6656
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5487
6657
  }
5488
6658
  set value(v) {
5489
6659
  if (this.#text) this.#text.data = v;
5490
- else this.setAttribute("value", v);
6660
+ else this.#pending = v;
5491
6661
  }
5492
6662
  };
5493
6663
 
@@ -5525,6 +6695,17 @@ var HANDLED182 = /* @__PURE__ */ new Set(["label", "value"]);
5525
6695
  var UruguayCedulaDeIdentidadView = class extends HTMLElement {
5526
6696
  #span = null;
5527
6697
  #text = null;
6698
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6699
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6700
+ #pending = null;
6701
+ static get observedAttributes() {
6702
+ return ["value"];
6703
+ }
6704
+ attributeChangedCallback(name, _old, next) {
6705
+ if (name !== "value" || next === null || !this.#text) return;
6706
+ this.#text.data = next;
6707
+ this.removeAttribute("value");
6708
+ }
5528
6709
  connectedCallback() {
5529
6710
  if (this.#span) return;
5530
6711
  const span = document.createElement("span");
@@ -5536,18 +6717,20 @@ var UruguayCedulaDeIdentidadView = class extends HTMLElement {
5536
6717
  hidden.textContent = `${label} `;
5537
6718
  span.append(hidden);
5538
6719
  }
5539
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6720
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6721
+ this.#pending = null;
5540
6722
  span.append(this.#text);
5541
6723
  passThroughAttributes(this, span, HANDLED182);
6724
+ this.removeAttribute("value");
5542
6725
  this.appendChild(span);
5543
6726
  this.#span = span;
5544
6727
  }
5545
6728
  get value() {
5546
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6729
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5547
6730
  }
5548
6731
  set value(v) {
5549
6732
  if (this.#text) this.#text.data = v;
5550
- else this.setAttribute("value", v);
6733
+ else this.#pending = v;
5551
6734
  }
5552
6735
  };
5553
6736
 
@@ -5585,6 +6768,17 @@ var HANDLED184 = /* @__PURE__ */ new Set(["label", "value"]);
5585
6768
  var VietNamCanCuocCongDanView = class extends HTMLElement {
5586
6769
  #span = null;
5587
6770
  #text = null;
6771
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6772
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6773
+ #pending = null;
6774
+ static get observedAttributes() {
6775
+ return ["value"];
6776
+ }
6777
+ attributeChangedCallback(name, _old, next) {
6778
+ if (name !== "value" || next === null || !this.#text) return;
6779
+ this.#text.data = next;
6780
+ this.removeAttribute("value");
6781
+ }
5588
6782
  connectedCallback() {
5589
6783
  if (this.#span) return;
5590
6784
  const span = document.createElement("span");
@@ -5596,18 +6790,20 @@ var VietNamCanCuocCongDanView = class extends HTMLElement {
5596
6790
  hidden.textContent = `${label} `;
5597
6791
  span.append(hidden);
5598
6792
  }
5599
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6793
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6794
+ this.#pending = null;
5600
6795
  span.append(this.#text);
5601
6796
  passThroughAttributes(this, span, HANDLED184);
6797
+ this.removeAttribute("value");
5602
6798
  this.appendChild(span);
5603
6799
  this.#span = span;
5604
6800
  }
5605
6801
  get value() {
5606
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6802
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5607
6803
  }
5608
6804
  set value(v) {
5609
6805
  if (this.#text) this.#text.data = v;
5610
- else this.setAttribute("value", v);
6806
+ else this.#pending = v;
5611
6807
  }
5612
6808
  };
5613
6809
 
@@ -5645,6 +6841,17 @@ var HANDLED186 = /* @__PURE__ */ new Set(["label", "value"]);
5645
6841
  var YisraelTeudatZehutView = class extends HTMLElement {
5646
6842
  #span = null;
5647
6843
  #text = null;
6844
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6845
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6846
+ #pending = null;
6847
+ static get observedAttributes() {
6848
+ return ["value"];
6849
+ }
6850
+ attributeChangedCallback(name, _old, next) {
6851
+ if (name !== "value" || next === null || !this.#text) return;
6852
+ this.#text.data = next;
6853
+ this.removeAttribute("value");
6854
+ }
5648
6855
  connectedCallback() {
5649
6856
  if (this.#span) return;
5650
6857
  const span = document.createElement("span");
@@ -5656,18 +6863,20 @@ var YisraelTeudatZehutView = class extends HTMLElement {
5656
6863
  hidden.textContent = `${label} `;
5657
6864
  span.append(hidden);
5658
6865
  }
5659
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6866
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6867
+ this.#pending = null;
5660
6868
  span.append(this.#text);
5661
6869
  passThroughAttributes(this, span, HANDLED186);
6870
+ this.removeAttribute("value");
5662
6871
  this.appendChild(span);
5663
6872
  this.#span = span;
5664
6873
  }
5665
6874
  get value() {
5666
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6875
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5667
6876
  }
5668
6877
  set value(v) {
5669
6878
  if (this.#text) this.#text.data = v;
5670
- else this.setAttribute("value", v);
6879
+ else this.#pending = v;
5671
6880
  }
5672
6881
  };
5673
6882
 
@@ -5705,6 +6914,17 @@ var HANDLED188 = /* @__PURE__ */ new Set(["label", "value"]);
5705
6914
  var ZhongguoJuminShenfenzhengHaomaView = class extends HTMLElement {
5706
6915
  #span = null;
5707
6916
  #text = null;
6917
+ // HC-I2 (spec/healthcare-ui/requirements.md): the identifier is kept in text only. A value attribute is read, then
6918
+ // removed, so a session-replay tool that records attributes never sees it; before connection it waits here.
6919
+ #pending = null;
6920
+ static get observedAttributes() {
6921
+ return ["value"];
6922
+ }
6923
+ attributeChangedCallback(name, _old, next) {
6924
+ if (name !== "value" || next === null || !this.#text) return;
6925
+ this.#text.data = next;
6926
+ this.removeAttribute("value");
6927
+ }
5708
6928
  connectedCallback() {
5709
6929
  if (this.#span) return;
5710
6930
  const span = document.createElement("span");
@@ -5716,18 +6936,20 @@ var ZhongguoJuminShenfenzhengHaomaView = class extends HTMLElement {
5716
6936
  hidden.textContent = `${label} `;
5717
6937
  span.append(hidden);
5718
6938
  }
5719
- this.#text = document.createTextNode(this.getAttribute("value") ?? "");
6939
+ this.#text = document.createTextNode(this.#pending ?? this.getAttribute("value") ?? "");
6940
+ this.#pending = null;
5720
6941
  span.append(this.#text);
5721
6942
  passThroughAttributes(this, span, HANDLED188);
6943
+ this.removeAttribute("value");
5722
6944
  this.appendChild(span);
5723
6945
  this.#span = span;
5724
6946
  }
5725
6947
  get value() {
5726
- return this.#text?.data ?? this.getAttribute("value") ?? "";
6948
+ return this.#text?.data ?? this.#pending ?? this.getAttribute("value") ?? "";
5727
6949
  }
5728
6950
  set value(v) {
5729
6951
  if (this.#text) this.#text.data = v;
5730
- else this.setAttribute("value", v);
6952
+ else this.#pending = v;
5731
6953
  }
5732
6954
  };
5733
6955