@tet/tet-components 1.3.69-staging → 1.3.73-staging

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.
@@ -7,6 +7,54 @@ const index = require('./index-d323e22a.js');
7
7
  const tetPriceViewCss = ":host{display:block}.price-view{padding:1rem;text-align:center}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 1rem;border-radius:1rem;container-type:inline-size}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-evenly}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.25rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.25rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";
8
8
  const TetPriceViewStyle0 = tetPriceViewCss;
9
9
 
10
+ const SCALE = {
11
+ L: 1,
12
+ M: 0.7,
13
+ S: 0.55,
14
+ };
15
+ const BASE_SIZES = {
16
+ monthly: {
17
+ upTo2Digits: 3.5,
18
+ upTo3Digits: 2.5,
19
+ upTo4Digits: 1.875,
20
+ moreThan4: 1.5
21
+ },
22
+ regular: {
23
+ upTo2Digits: 4.0,
24
+ upTo3Digits: 3.0,
25
+ upTo4Digits: 2.2,
26
+ moreThan4: 1.875
27
+ }
28
+ };
29
+ const COMPONENT_SIZES = {
30
+ L: {
31
+ heading: '1.125rem',
32
+ cents: '1.75rem',
33
+ priceType: '1rem',
34
+ footer: '0.875rem',
35
+ padding: '1.625rem 1rem',
36
+ width: '9.375rem',
37
+ height: '9.375rem'
38
+ },
39
+ M: {
40
+ heading: '0.875rem',
41
+ cents: '1.25rem',
42
+ priceType: '0.75rem',
43
+ footer: '0.75rem',
44
+ padding: '1.125rem 0.875rem',
45
+ width: '7rem',
46
+ height: '7rem'
47
+ },
48
+ S: {
49
+ heading: '0.625rem',
50
+ cents: '1rem',
51
+ priceType: '0.5rem',
52
+ footer: '0.625rem',
53
+ padding: '0.5rem 0.5rem',
54
+ width: '5rem',
55
+ height: '5rem'
56
+ }
57
+ };
10
58
  const TetPriceView = class {
11
59
  constructor(hostRef) {
12
60
  index.registerInstance(this, hostRef);
@@ -30,79 +78,65 @@ const TetPriceView = class {
30
78
  };
31
79
  const isMonthly = this.priceType === 'monthly';
32
80
  const fontEuroSize = () => {
33
- const scale = {
34
- L: 1,
35
- M: 0.7,
36
- S: 0.55,
37
- };
38
- let size = 3.5;
39
- if (this.euroPrice.length <= 2) {
40
- size = isMonthly ? 3.5 : 4;
81
+ const sizes = isMonthly ? BASE_SIZES.monthly : BASE_SIZES.regular;
82
+ let size;
83
+ switch (true) {
84
+ case this.euroPrice.length <= 2:
85
+ size = sizes.upTo2Digits;
86
+ break;
87
+ case this.euroPrice.length <= 3:
88
+ size = sizes.upTo3Digits;
89
+ break;
90
+ case this.euroPrice.length <= 4:
91
+ size = sizes.upTo4Digits;
92
+ break;
93
+ default:
94
+ size = sizes.moreThan4;
41
95
  }
42
- else if (this.euroPrice.length <= 3) {
43
- size = isMonthly ? 2.5 : 3;
96
+ if (!this.centsPrice) {
97
+ size += 0.125;
98
+ }
99
+ size = size * SCALE[this.size];
100
+ size = size + 'rem';
101
+ return size;
102
+ };
103
+ const fontCentsSize = () => {
104
+ let baseSize;
105
+ if (this.size === 'S') {
106
+ baseSize = this.euroPrice.length <= 2 ? 1 : 0.875;
44
107
  }
45
108
  else {
46
- size = isMonthly ? 2 : 2.2;
109
+ baseSize = COMPONENT_SIZES[this.size].cents.replace('rem', '');
47
110
  }
48
- size = size * scale[this.size];
111
+ const size = parseFloat(baseSize) * SCALE[this.size];
49
112
  return size + 'rem';
50
113
  };
51
- const sizes = {
52
- L: {
53
- heading: '1.125rem',
54
- cents: '1.75rem',
55
- priceType: '1rem',
56
- footer: '0.875rem',
57
- padding: '1.625rem 1rem',
58
- width: '9.375rem',
59
- height: '9.375rem'
60
- },
61
- M: {
62
- heading: '0.875rem',
63
- cents: '1.25rem',
64
- priceType: '0.75rem',
65
- footer: '0.75rem',
66
- padding: '1.125rem 0.875rem',
67
- width: '7rem',
68
- height: '7rem'
69
- },
70
- S: {
71
- heading: '0.625rem',
72
- cents: '1.25rem',
73
- priceType: '0.5rem',
74
- footer: '0.625rem',
75
- padding: '0.5rem 0.5rem',
76
- width: '5rem',
77
- height: '5rem'
78
- }
79
- };
80
114
  const styles = {
81
115
  heading: {
82
- fontSize: sizes[this.size].heading,
83
- lineHeight: sizes[this.size].heading
116
+ fontSize: COMPONENT_SIZES[this.size].heading,
117
+ lineHeight: COMPONENT_SIZES[this.size].heading
84
118
  },
85
119
  euro: {
86
120
  fontSize: fontEuroSize(),
87
121
  lineHeight: fontEuroSize()
88
122
  },
89
123
  cents: {
90
- fontSize: sizes[this.size].cents,
91
- lineHeight: sizes[this.size].cents
124
+ fontSize: fontCentsSize(),
125
+ lineHeight: fontCentsSize()
92
126
  },
93
127
  priceType: {
94
- fontSize: sizes[this.size].priceType,
95
- lineHeight: sizes[this.size].priceType
128
+ fontSize: COMPONENT_SIZES[this.size].priceType,
129
+ lineHeight: COMPONENT_SIZES[this.size].priceType
96
130
  },
97
131
  footer: {
98
- fontSize: sizes[this.size].footer,
99
- lineHeight: sizes[this.size].footer,
132
+ fontSize: COMPONENT_SIZES[this.size].footer,
133
+ lineHeight: COMPONENT_SIZES[this.size].footer,
100
134
  textDecoration: this.footerTextType === 'crossed-out' ? 'line-through' : 'none'
101
135
  },
102
136
  container: {
103
- padding: sizes[this.size].padding,
104
- width: sizes[this.size].width,
105
- height: sizes[this.size].height
137
+ padding: COMPONENT_SIZES[this.size].padding,
138
+ width: COMPONENT_SIZES[this.size].width,
139
+ height: COMPONENT_SIZES[this.size].height
106
140
  }
107
141
  };
108
142
  const isCentsPrice = (this === null || this === void 0 ? void 0 : this.centsPrice) && (this === null || this === void 0 ? void 0 : this.centsPrice.length) > 0;
@@ -1,4 +1,52 @@
1
1
  import { h, Host } from "@stencil/core";
2
+ const SCALE = {
3
+ L: 1,
4
+ M: 0.7,
5
+ S: 0.55,
6
+ };
7
+ const BASE_SIZES = {
8
+ monthly: {
9
+ upTo2Digits: 3.5,
10
+ upTo3Digits: 2.5,
11
+ upTo4Digits: 1.875,
12
+ moreThan4: 1.5
13
+ },
14
+ regular: {
15
+ upTo2Digits: 4.0,
16
+ upTo3Digits: 3.0,
17
+ upTo4Digits: 2.2,
18
+ moreThan4: 1.875
19
+ }
20
+ };
21
+ const COMPONENT_SIZES = {
22
+ L: {
23
+ heading: '1.125rem',
24
+ cents: '1.75rem',
25
+ priceType: '1rem',
26
+ footer: '0.875rem',
27
+ padding: '1.625rem 1rem',
28
+ width: '9.375rem',
29
+ height: '9.375rem'
30
+ },
31
+ M: {
32
+ heading: '0.875rem',
33
+ cents: '1.25rem',
34
+ priceType: '0.75rem',
35
+ footer: '0.75rem',
36
+ padding: '1.125rem 0.875rem',
37
+ width: '7rem',
38
+ height: '7rem'
39
+ },
40
+ S: {
41
+ heading: '0.625rem',
42
+ cents: '1rem',
43
+ priceType: '0.5rem',
44
+ footer: '0.625rem',
45
+ padding: '0.5rem 0.5rem',
46
+ width: '5rem',
47
+ height: '5rem'
48
+ }
49
+ };
2
50
  /**
3
51
  * The Price view.
4
52
  */
@@ -24,79 +72,65 @@ export class TetPriceView {
24
72
  };
25
73
  const isMonthly = this.priceType === 'monthly';
26
74
  const fontEuroSize = () => {
27
- const scale = {
28
- L: 1,
29
- M: 0.7,
30
- S: 0.55,
31
- };
32
- let size = 3.5;
33
- if (this.euroPrice.length <= 2) {
34
- size = isMonthly ? 3.5 : 4;
75
+ const sizes = isMonthly ? BASE_SIZES.monthly : BASE_SIZES.regular;
76
+ let size;
77
+ switch (true) {
78
+ case this.euroPrice.length <= 2:
79
+ size = sizes.upTo2Digits;
80
+ break;
81
+ case this.euroPrice.length <= 3:
82
+ size = sizes.upTo3Digits;
83
+ break;
84
+ case this.euroPrice.length <= 4:
85
+ size = sizes.upTo4Digits;
86
+ break;
87
+ default:
88
+ size = sizes.moreThan4;
35
89
  }
36
- else if (this.euroPrice.length <= 3) {
37
- size = isMonthly ? 2.5 : 3;
90
+ if (!this.centsPrice) {
91
+ size += 0.125;
92
+ }
93
+ size = size * SCALE[this.size];
94
+ size = size + 'rem';
95
+ return size;
96
+ };
97
+ const fontCentsSize = () => {
98
+ let baseSize;
99
+ if (this.size === 'S') {
100
+ baseSize = this.euroPrice.length <= 2 ? 1 : 0.875;
38
101
  }
39
102
  else {
40
- size = isMonthly ? 2 : 2.2;
103
+ baseSize = COMPONENT_SIZES[this.size].cents.replace('rem', '');
41
104
  }
42
- size = size * scale[this.size];
105
+ const size = parseFloat(baseSize) * SCALE[this.size];
43
106
  return size + 'rem';
44
107
  };
45
- const sizes = {
46
- L: {
47
- heading: '1.125rem',
48
- cents: '1.75rem',
49
- priceType: '1rem',
50
- footer: '0.875rem',
51
- padding: '1.625rem 1rem',
52
- width: '9.375rem',
53
- height: '9.375rem'
54
- },
55
- M: {
56
- heading: '0.875rem',
57
- cents: '1.25rem',
58
- priceType: '0.75rem',
59
- footer: '0.75rem',
60
- padding: '1.125rem 0.875rem',
61
- width: '7rem',
62
- height: '7rem'
63
- },
64
- S: {
65
- heading: '0.625rem',
66
- cents: '1.25rem',
67
- priceType: '0.5rem',
68
- footer: '0.625rem',
69
- padding: '0.5rem 0.5rem',
70
- width: '5rem',
71
- height: '5rem'
72
- }
73
- };
74
108
  const styles = {
75
109
  heading: {
76
- fontSize: sizes[this.size].heading,
77
- lineHeight: sizes[this.size].heading
110
+ fontSize: COMPONENT_SIZES[this.size].heading,
111
+ lineHeight: COMPONENT_SIZES[this.size].heading
78
112
  },
79
113
  euro: {
80
114
  fontSize: fontEuroSize(),
81
115
  lineHeight: fontEuroSize()
82
116
  },
83
117
  cents: {
84
- fontSize: sizes[this.size].cents,
85
- lineHeight: sizes[this.size].cents
118
+ fontSize: fontCentsSize(),
119
+ lineHeight: fontCentsSize()
86
120
  },
87
121
  priceType: {
88
- fontSize: sizes[this.size].priceType,
89
- lineHeight: sizes[this.size].priceType
122
+ fontSize: COMPONENT_SIZES[this.size].priceType,
123
+ lineHeight: COMPONENT_SIZES[this.size].priceType
90
124
  },
91
125
  footer: {
92
- fontSize: sizes[this.size].footer,
93
- lineHeight: sizes[this.size].footer,
126
+ fontSize: COMPONENT_SIZES[this.size].footer,
127
+ lineHeight: COMPONENT_SIZES[this.size].footer,
94
128
  textDecoration: this.footerTextType === 'crossed-out' ? 'line-through' : 'none'
95
129
  },
96
130
  container: {
97
- padding: sizes[this.size].padding,
98
- width: sizes[this.size].width,
99
- height: sizes[this.size].height
131
+ padding: COMPONENT_SIZES[this.size].padding,
132
+ width: COMPONENT_SIZES[this.size].width,
133
+ height: COMPONENT_SIZES[this.size].height
100
134
  }
101
135
  };
102
136
  const isCentsPrice = (this === null || this === void 0 ? void 0 : this.centsPrice) && (this === null || this === void 0 ? void 0 : this.centsPrice.length) > 0;
@@ -3,6 +3,54 @@ import { p as proxyCustomElement, H, h, c as Host } from './p-5749376d.js';
3
3
  const tetPriceViewCss = ":host{display:block}.price-view{padding:1rem;text-align:center}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 1rem;border-radius:1rem;container-type:inline-size}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-evenly}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.25rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.25rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";
4
4
  const TetPriceViewStyle0 = tetPriceViewCss;
5
5
 
6
+ const SCALE = {
7
+ L: 1,
8
+ M: 0.7,
9
+ S: 0.55,
10
+ };
11
+ const BASE_SIZES = {
12
+ monthly: {
13
+ upTo2Digits: 3.5,
14
+ upTo3Digits: 2.5,
15
+ upTo4Digits: 1.875,
16
+ moreThan4: 1.5
17
+ },
18
+ regular: {
19
+ upTo2Digits: 4.0,
20
+ upTo3Digits: 3.0,
21
+ upTo4Digits: 2.2,
22
+ moreThan4: 1.875
23
+ }
24
+ };
25
+ const COMPONENT_SIZES = {
26
+ L: {
27
+ heading: '1.125rem',
28
+ cents: '1.75rem',
29
+ priceType: '1rem',
30
+ footer: '0.875rem',
31
+ padding: '1.625rem 1rem',
32
+ width: '9.375rem',
33
+ height: '9.375rem'
34
+ },
35
+ M: {
36
+ heading: '0.875rem',
37
+ cents: '1.25rem',
38
+ priceType: '0.75rem',
39
+ footer: '0.75rem',
40
+ padding: '1.125rem 0.875rem',
41
+ width: '7rem',
42
+ height: '7rem'
43
+ },
44
+ S: {
45
+ heading: '0.625rem',
46
+ cents: '1rem',
47
+ priceType: '0.5rem',
48
+ footer: '0.625rem',
49
+ padding: '0.5rem 0.5rem',
50
+ width: '5rem',
51
+ height: '5rem'
52
+ }
53
+ };
6
54
  const TetPriceView$1 = /*@__PURE__*/ proxyCustomElement(class TetPriceView extends H {
7
55
  constructor() {
8
56
  super();
@@ -28,79 +76,65 @@ const TetPriceView$1 = /*@__PURE__*/ proxyCustomElement(class TetPriceView exten
28
76
  };
29
77
  const isMonthly = this.priceType === 'monthly';
30
78
  const fontEuroSize = () => {
31
- const scale = {
32
- L: 1,
33
- M: 0.7,
34
- S: 0.55,
35
- };
36
- let size = 3.5;
37
- if (this.euroPrice.length <= 2) {
38
- size = isMonthly ? 3.5 : 4;
79
+ const sizes = isMonthly ? BASE_SIZES.monthly : BASE_SIZES.regular;
80
+ let size;
81
+ switch (true) {
82
+ case this.euroPrice.length <= 2:
83
+ size = sizes.upTo2Digits;
84
+ break;
85
+ case this.euroPrice.length <= 3:
86
+ size = sizes.upTo3Digits;
87
+ break;
88
+ case this.euroPrice.length <= 4:
89
+ size = sizes.upTo4Digits;
90
+ break;
91
+ default:
92
+ size = sizes.moreThan4;
39
93
  }
40
- else if (this.euroPrice.length <= 3) {
41
- size = isMonthly ? 2.5 : 3;
94
+ if (!this.centsPrice) {
95
+ size += 0.125;
96
+ }
97
+ size = size * SCALE[this.size];
98
+ size = size + 'rem';
99
+ return size;
100
+ };
101
+ const fontCentsSize = () => {
102
+ let baseSize;
103
+ if (this.size === 'S') {
104
+ baseSize = this.euroPrice.length <= 2 ? 1 : 0.875;
42
105
  }
43
106
  else {
44
- size = isMonthly ? 2 : 2.2;
107
+ baseSize = COMPONENT_SIZES[this.size].cents.replace('rem', '');
45
108
  }
46
- size = size * scale[this.size];
109
+ const size = parseFloat(baseSize) * SCALE[this.size];
47
110
  return size + 'rem';
48
111
  };
49
- const sizes = {
50
- L: {
51
- heading: '1.125rem',
52
- cents: '1.75rem',
53
- priceType: '1rem',
54
- footer: '0.875rem',
55
- padding: '1.625rem 1rem',
56
- width: '9.375rem',
57
- height: '9.375rem'
58
- },
59
- M: {
60
- heading: '0.875rem',
61
- cents: '1.25rem',
62
- priceType: '0.75rem',
63
- footer: '0.75rem',
64
- padding: '1.125rem 0.875rem',
65
- width: '7rem',
66
- height: '7rem'
67
- },
68
- S: {
69
- heading: '0.625rem',
70
- cents: '1.25rem',
71
- priceType: '0.5rem',
72
- footer: '0.625rem',
73
- padding: '0.5rem 0.5rem',
74
- width: '5rem',
75
- height: '5rem'
76
- }
77
- };
78
112
  const styles = {
79
113
  heading: {
80
- fontSize: sizes[this.size].heading,
81
- lineHeight: sizes[this.size].heading
114
+ fontSize: COMPONENT_SIZES[this.size].heading,
115
+ lineHeight: COMPONENT_SIZES[this.size].heading
82
116
  },
83
117
  euro: {
84
118
  fontSize: fontEuroSize(),
85
119
  lineHeight: fontEuroSize()
86
120
  },
87
121
  cents: {
88
- fontSize: sizes[this.size].cents,
89
- lineHeight: sizes[this.size].cents
122
+ fontSize: fontCentsSize(),
123
+ lineHeight: fontCentsSize()
90
124
  },
91
125
  priceType: {
92
- fontSize: sizes[this.size].priceType,
93
- lineHeight: sizes[this.size].priceType
126
+ fontSize: COMPONENT_SIZES[this.size].priceType,
127
+ lineHeight: COMPONENT_SIZES[this.size].priceType
94
128
  },
95
129
  footer: {
96
- fontSize: sizes[this.size].footer,
97
- lineHeight: sizes[this.size].footer,
130
+ fontSize: COMPONENT_SIZES[this.size].footer,
131
+ lineHeight: COMPONENT_SIZES[this.size].footer,
98
132
  textDecoration: this.footerTextType === 'crossed-out' ? 'line-through' : 'none'
99
133
  },
100
134
  container: {
101
- padding: sizes[this.size].padding,
102
- width: sizes[this.size].width,
103
- height: sizes[this.size].height
135
+ padding: COMPONENT_SIZES[this.size].padding,
136
+ width: COMPONENT_SIZES[this.size].width,
137
+ height: COMPONENT_SIZES[this.size].height
104
138
  }
105
139
  };
106
140
  const isCentsPrice = (this === null || this === void 0 ? void 0 : this.centsPrice) && (this === null || this === void 0 ? void 0 : this.centsPrice.length) > 0;
@@ -3,6 +3,54 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-8a
3
3
  const tetPriceViewCss = ":host{display:block}.price-view{padding:1rem;text-align:center}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 1rem;border-radius:1rem;container-type:inline-size}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-evenly}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.25rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.25rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";
4
4
  const TetPriceViewStyle0 = tetPriceViewCss;
5
5
 
6
+ const SCALE = {
7
+ L: 1,
8
+ M: 0.7,
9
+ S: 0.55,
10
+ };
11
+ const BASE_SIZES = {
12
+ monthly: {
13
+ upTo2Digits: 3.5,
14
+ upTo3Digits: 2.5,
15
+ upTo4Digits: 1.875,
16
+ moreThan4: 1.5
17
+ },
18
+ regular: {
19
+ upTo2Digits: 4.0,
20
+ upTo3Digits: 3.0,
21
+ upTo4Digits: 2.2,
22
+ moreThan4: 1.875
23
+ }
24
+ };
25
+ const COMPONENT_SIZES = {
26
+ L: {
27
+ heading: '1.125rem',
28
+ cents: '1.75rem',
29
+ priceType: '1rem',
30
+ footer: '0.875rem',
31
+ padding: '1.625rem 1rem',
32
+ width: '9.375rem',
33
+ height: '9.375rem'
34
+ },
35
+ M: {
36
+ heading: '0.875rem',
37
+ cents: '1.25rem',
38
+ priceType: '0.75rem',
39
+ footer: '0.75rem',
40
+ padding: '1.125rem 0.875rem',
41
+ width: '7rem',
42
+ height: '7rem'
43
+ },
44
+ S: {
45
+ heading: '0.625rem',
46
+ cents: '1rem',
47
+ priceType: '0.5rem',
48
+ footer: '0.625rem',
49
+ padding: '0.5rem 0.5rem',
50
+ width: '5rem',
51
+ height: '5rem'
52
+ }
53
+ };
6
54
  const TetPriceView = class {
7
55
  constructor(hostRef) {
8
56
  registerInstance(this, hostRef);
@@ -26,79 +74,65 @@ const TetPriceView = class {
26
74
  };
27
75
  const isMonthly = this.priceType === 'monthly';
28
76
  const fontEuroSize = () => {
29
- const scale = {
30
- L: 1,
31
- M: 0.7,
32
- S: 0.55,
33
- };
34
- let size = 3.5;
35
- if (this.euroPrice.length <= 2) {
36
- size = isMonthly ? 3.5 : 4;
77
+ const sizes = isMonthly ? BASE_SIZES.monthly : BASE_SIZES.regular;
78
+ let size;
79
+ switch (true) {
80
+ case this.euroPrice.length <= 2:
81
+ size = sizes.upTo2Digits;
82
+ break;
83
+ case this.euroPrice.length <= 3:
84
+ size = sizes.upTo3Digits;
85
+ break;
86
+ case this.euroPrice.length <= 4:
87
+ size = sizes.upTo4Digits;
88
+ break;
89
+ default:
90
+ size = sizes.moreThan4;
37
91
  }
38
- else if (this.euroPrice.length <= 3) {
39
- size = isMonthly ? 2.5 : 3;
92
+ if (!this.centsPrice) {
93
+ size += 0.125;
94
+ }
95
+ size = size * SCALE[this.size];
96
+ size = size + 'rem';
97
+ return size;
98
+ };
99
+ const fontCentsSize = () => {
100
+ let baseSize;
101
+ if (this.size === 'S') {
102
+ baseSize = this.euroPrice.length <= 2 ? 1 : 0.875;
40
103
  }
41
104
  else {
42
- size = isMonthly ? 2 : 2.2;
105
+ baseSize = COMPONENT_SIZES[this.size].cents.replace('rem', '');
43
106
  }
44
- size = size * scale[this.size];
107
+ const size = parseFloat(baseSize) * SCALE[this.size];
45
108
  return size + 'rem';
46
109
  };
47
- const sizes = {
48
- L: {
49
- heading: '1.125rem',
50
- cents: '1.75rem',
51
- priceType: '1rem',
52
- footer: '0.875rem',
53
- padding: '1.625rem 1rem',
54
- width: '9.375rem',
55
- height: '9.375rem'
56
- },
57
- M: {
58
- heading: '0.875rem',
59
- cents: '1.25rem',
60
- priceType: '0.75rem',
61
- footer: '0.75rem',
62
- padding: '1.125rem 0.875rem',
63
- width: '7rem',
64
- height: '7rem'
65
- },
66
- S: {
67
- heading: '0.625rem',
68
- cents: '1.25rem',
69
- priceType: '0.5rem',
70
- footer: '0.625rem',
71
- padding: '0.5rem 0.5rem',
72
- width: '5rem',
73
- height: '5rem'
74
- }
75
- };
76
110
  const styles = {
77
111
  heading: {
78
- fontSize: sizes[this.size].heading,
79
- lineHeight: sizes[this.size].heading
112
+ fontSize: COMPONENT_SIZES[this.size].heading,
113
+ lineHeight: COMPONENT_SIZES[this.size].heading
80
114
  },
81
115
  euro: {
82
116
  fontSize: fontEuroSize(),
83
117
  lineHeight: fontEuroSize()
84
118
  },
85
119
  cents: {
86
- fontSize: sizes[this.size].cents,
87
- lineHeight: sizes[this.size].cents
120
+ fontSize: fontCentsSize(),
121
+ lineHeight: fontCentsSize()
88
122
  },
89
123
  priceType: {
90
- fontSize: sizes[this.size].priceType,
91
- lineHeight: sizes[this.size].priceType
124
+ fontSize: COMPONENT_SIZES[this.size].priceType,
125
+ lineHeight: COMPONENT_SIZES[this.size].priceType
92
126
  },
93
127
  footer: {
94
- fontSize: sizes[this.size].footer,
95
- lineHeight: sizes[this.size].footer,
128
+ fontSize: COMPONENT_SIZES[this.size].footer,
129
+ lineHeight: COMPONENT_SIZES[this.size].footer,
96
130
  textDecoration: this.footerTextType === 'crossed-out' ? 'line-through' : 'none'
97
131
  },
98
132
  container: {
99
- padding: sizes[this.size].padding,
100
- width: sizes[this.size].width,
101
- height: sizes[this.size].height
133
+ padding: COMPONENT_SIZES[this.size].padding,
134
+ width: COMPONENT_SIZES[this.size].width,
135
+ height: COMPONENT_SIZES[this.size].height
102
136
  }
103
137
  };
104
138
  const isCentsPrice = (this === null || this === void 0 ? void 0 : this.centsPrice) && (this === null || this === void 0 ? void 0 : this.centsPrice.length) > 0;
@@ -0,0 +1 @@
1
+ import{r as e,h as i,H as t,g as r}from"./p-67c5dc0a.js";const s={L:1,M:.7,S:.55},n={monthly:{upTo2Digits:3.5,upTo3Digits:2.5,upTo4Digits:1.875,moreThan4:1.5},regular:{upTo2Digits:4,upTo3Digits:3,upTo4Digits:2.2,moreThan4:1.875}},o={L:{heading:"1.125rem",cents:"1.75rem",priceType:"1rem",footer:"0.875rem",padding:"1.625rem 1rem",width:"9.375rem",height:"9.375rem"},M:{heading:"0.875rem",cents:"1.25rem",priceType:"0.75rem",footer:"0.75rem",padding:"1.125rem 0.875rem",width:"7rem",height:"7rem"},S:{heading:"0.625rem",cents:"1rem",priceType:"0.5rem",footer:"0.625rem",padding:"0.5rem 0.5rem",width:"5rem",height:"5rem"}},c=class{constructor(i){e(this,i),this.background="grey",this.font=void 0,this.size="L",this.headingText=void 0,this.priceType=void 0,this.euroPrice=void 0,this.centsPrice=void 0,this.footerText=void 0,this.footerTextType="regular"}render(){const e={"price-view__container":!0,"price-view__white":"white"===this.background,"price-view__black":"black"===this.background,"price-view__grey":"grey"===this.background,"price-view__yellow":"yellow"===this.background},r="monthly"===this.priceType,c=()=>{const e=r?n.monthly:n.regular;let i;switch(!0){case this.euroPrice.length<=2:i=e.upTo2Digits;break;case this.euroPrice.length<=3:i=e.upTo3Digits;break;case this.euroPrice.length<=4:i=e.upTo4Digits;break;default:i=e.moreThan4}return this.centsPrice||(i+=.125),i*=s[this.size],i+="rem",i},a=()=>{let e;return e="S"===this.size?this.euroPrice.length<=2?1:.875:o[this.size].cents.replace("rem",""),parseFloat(e)*s[this.size]+"rem"},l={heading:{fontSize:o[this.size].heading,lineHeight:o[this.size].heading},euro:{fontSize:c(),lineHeight:c()},cents:{fontSize:a(),lineHeight:a()},priceType:{fontSize:o[this.size].priceType,lineHeight:o[this.size].priceType},footer:{fontSize:o[this.size].footer,lineHeight:o[this.size].footer,textDecoration:"crossed-out"===this.footerTextType?"line-through":"none"},container:{padding:o[this.size].padding,width:o[this.size].width,height:o[this.size].height}},h=(null==this?void 0:this.centsPrice)&&(null==this?void 0:this.centsPrice.length)>0;return i(t,null,i("div",{class:e,style:l.container},i("div",{class:"price-view__body"},i("h3",{class:"price-view__heading",style:l.heading},this.headingText),i("div",{class:"price-view__price",style:{fontFamily:this.font}},i("span",{class:"price-view__euro",style:l.euro},this.euroPrice,r||h?"":"€"),i("div",{class:"price-view__cents-container"},i("span",{class:"price-view__cents",style:l.cents},null==this?void 0:this.centsPrice),this.priceType&&i("span",{class:"price-view__type",style:l.priceType},r?"€/mēn.":"",!r&&h?"EUR":""))),this.footerText&&i("p",{class:"price-view__footer",style:l.footer},this.footerText))))}get hostElement(){return r(this)}};c.style=":host{display:block}.price-view{padding:1rem;text-align:center}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 1rem;border-radius:1rem;container-type:inline-size}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-evenly}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.25rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.25rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";export{c as tet_price_view}
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-67c5dc0a.js";export{s as setNonce}from"./p-67c5dc0a.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-04c7ae63",[[1,"tet-address-offers-view",{"language":[1],"addressKey":[1,"address-key"],"theme":[1],"userPersonalCode":[1,"user-personal-code"],"showAuthorizedAddresses":[4,"show-authorized-addresses"],"accessToken":[1,"access-token"],"noUserFound":[4,"no-user-found"],"callCenterTaskOptions":[16],"showContactForm":[1028,"show-contact-form"],"termText":[1,"term-text"],"formParameters":[1,"form-parameters"],"accessibilityLabel":[1,"accessibility-label"],"address":[32]},[[0,"assetAddressSelected","onAddressSelected"],[0,"customerNotFound","customerNotFound"],[0,"emptyCatalog","onEmptyCatalog"]],{"language":["onLanguageChange"]}]]],["p-0e59aa9d",[[1,"tet-compare-cards-tab",{"data":[16],"forceColumn":[4,"force-column"],"layout":[1],"newUrlGeneratorStructure":[4,"new-url-generator-structure"],"theme":[1],"darkMode":[4,"dark-mode"],"isNetflixCard":[4,"is-netflix-card"],"darkHeader":[4,"dark-header"],"productDataLoaded":[32],"showLoader":[32],"productSACData":[32],"filteredProductCodes":[32]},[[0,"compareCardsDidRender","hideLoader"]],{"showLoader":["onDataChange"]}]]],["p-2deabaf1",[[1,"tet-asset-addresses",{"accessToken":[1,"access-token"],"pid":[1],"salesforceAccountId":[1,"salesforce-account-id"],"theme":[1],"addressSearchLabel":[1,"address-search-label"],"addressSearchPlaceholder":[1,"address-search-placeholder"],"addresses":[32],"lastAddedKey":[32],"showLoader":[32],"isAddressSearchVisible":[32]},[[0,"addressSelected","onAddressSelected"]],{"pid":["loadAddressesOnPidChange"],"salesforceAccountId":["loadAddressesOnAccountIdChange"],"addresses":["onAddressesChange"]}]]],["p-ac619118",[[1,"tet-cloud-configurator",{"language":[1],"containerSelector":[1,"container-selector"],"theme":[1],"selectOnFocus":[4,"select-on-focus"],"isLoading":[32],"headerRef":[32],"footerRef":[32],"formValues":[32],"selectedTab":[32],"selectedPeriod":[32],"isFloatingSummary":[32],"isListExpanded":[32],"parentElement":[32]},null,{"isLoading":["onisLoadingChange"],"headerRef":["onHeaderRefChange"],"footerRef":["onFooterRefChange"],"selectedTab":["onSelectedTabChange"],"language":["onLanguageChange"]}]]],["p-63ed5114",[[1,"tet-b2b-service-calculator",{"language":[1],"totalPrice":[32],"withItAdmin":[32],"withInPersonServiceSupport":[32],"unitCountSelected":[32]},[[0,"slider-input","onSliderInput"]],{"language":["onLanguageChange"],"withItAdmin":["onControlChange"],"withInPersonServiceSupport":["onControlChange"]}]]],["p-eb8ac45d",[[1,"tet-cloud-application-form-dialog",{"privacyPolicyLinkUrl":[1,"privacy-policy-link-url"],"loading":[4],"showOverlay":[4,"show-overlay"],"language":[1],"privacyPolicyError":[32],"open":[64],"close":[64]},null,{"language":["onLanguageChange"]}]]],["p-150a4ad2",[[1,"tet-contact-form",{"language":[1],"taskOptions":[16],"submitButtonProps":[16],"showTitle":[4,"show-title"],"showInputLabel":[4,"show-input-label"],"theme":[1],"darkTheme":[4,"dark-theme"],"subtitle":[1],"showLoader":[32]},null,{"language":["onLanguageChange"]}]]],["p-6d44c42d",[[1,"tet-customer-assets",{"accessToken":[1,"access-token"],"pid":[1],"singleLoader":[4,"single-loader"],"hideAssets":[4,"hide-assets"],"salesforceAccountId":[1,"salesforce-account-id"],"groupByAddress":[4,"group-by-address"],"loaderElementsCount":[2,"loader-elements-count"],"darkTheme":[4,"dark-theme"],"assets":[32],"showLoader":[32]},null,{"pid":["loadAssetsOnPidChange"],"salesforceAccountId":["loadAssetsOnAccountIdChange"],"assets":["onAssetsChange"]}]]],["p-86a879b6",[[1,"tet-datepicker",{"locale":[1],"overlayEffect":[4,"overlay-effect"],"rangePickerMode":[4,"range-picker-mode"],"isOpen":[1028,"is-open"],"date":[1040],"datepickerView":[1025,"datepicker-view"],"rangeDates":[32],"internalDate":[32],"toggleIsOpen":[64]},[[0,"dateChanged","handleDateChanged"],[0,"datepickerViewChanged","handleDatepickerViewChanged"],[0,"internalDateChanged","handleInternalDateChanged"],[0,"rangeDateSet","handleRangeDateSet"],[0,"datepickerClosed","handleDatepickerClosed"],[9,"resize","onWindowResize"],[9,"scroll","onWindowScroll"]],{"date":["handleDateChange"],"rangeDates":["handleRangeDateChange"]}]]],["p-05ee0690",[[1,"tet-macd-view",{"language":[1],"theme":[1],"showErrorNotification":[1028,"show-error-notification"],"showLoader":[1028,"show-loader"],"loaderHeight":[1,"loader-height"],"accessToken":[1,"access-token"],"eventsOnly":[4,"events-only"],"hideUnavailable":[4,"hide-unavailable"],"assetId":[1025,"asset-id"],"accountNumber":[1026,"account-number"],"macdOrderTypes":[16],"ignoredMacdOrderTypes":[16],"suspendFn":[16],"changeOfPlanFn":[16],"promotionChangeFn":[16],"ceaseFn":[16],"modifyFn":[16]},null,{"language":["onLanguageChange"],"accessToken":["setAccessToken"],"macdOrderTypes":["setMacdOrderTypes"]}]]],["p-d960b0fd",[[1,"tet-autocomplete-dropdown",{"options":[16],"defaultOption":[16],"noOptionsMessage":[1,"no-options-message"],"placeholder":[1],"label":[1],"theme":[1],"hasError":[4,"has-error"],"errorMessage":[1,"error-message"],"inputValue":[32],"clearInput":[64],"focusOnNativeInput":[64]}]]],["p-88b841ad",[[1,"tet-multi-step-dialog",{"content":[1],"steps":[16],"isOpen":[4,"is-open"],"dialogDataScreenKey":[1,"dialog-data-screen-key"],"tetDialogClass":[1,"tet-dialog-class"],"language":[1],"isKeydownFocus":[32]}]]],["p-c90156c1",[[1,"tet-news-card-list",{"items":[16],"withControls":[4,"with-controls"],"scrollFullWidth":[4,"scroll-full-width"],"controlScrollAmount":[2,"control-scroll-amount"],"initialScrollAmount":[2,"initial-scroll-amount"],"disableScroll":[4,"disable-scroll"],"withScrollbar":[4,"with-scrollbar"],"withMouseDrag":[4,"with-mouse-drag"],"withVirtualScroll":[4,"with-virtual-scroll"],"theme":[1]}]]],["p-b61e0098",[[1,"tet-referral",{"theme":[1],"language":[1],"data":[1]},null,{"language":["onLanguageChange"]}]]],["p-d47318ab",[[1,"tet-thank-you-view",{"stepperData":[16],"theme":[1],"mainBlockIcon":[1,"main-block-icon"],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonDescription":[1,"cta-button-description"],"ctaButtonType":[1,"cta-button-type"]}]]],["p-661407d7",[[1,"tet-thank-you-view-v2",{"stepperData":[16],"icon":[1],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonId":[1,"cta-button-id"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonType":[1,"cta-button-type"],"ctaButtonTheme":[1,"cta-button-theme"],"language":[1],"translationGroup":[1,"translation-group"],"theme":[1]},null,{"language":["onLanguageChange"]}]]],["p-6cd51067",[[1,"tet-thank-you-view-v3",{"stepperData":[16],"icon":[1],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonId":[1,"cta-button-id"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonType":[1,"cta-button-type"],"ctaButtonTheme":[1,"cta-button-theme"],"language":[1],"translationGroup":[1,"translation-group"],"theme":[1]},null,{"language":["onLanguageChange"]}]]],["p-1ec8b9bb",[[1,"tet-business-compare-card",{"mainTitle":[1,"main-title"],"bulletPoints":[16],"pricePrefix":[1,"price-prefix"],"price":[1],"currency":[1],"theme":[1],"hasContentInFooter":[32]}]]],["p-e2d00f79",[[1,"tet-carousel",{"theme":[1],"showDots":[4,"show-dots"],"showButtons":[4,"show-buttons"],"transitionDuration":[2,"transition-duration"],"transitionTiming":[1,"transition-timing"],"buttonIconLeft":[1,"button-icon-left"],"buttonIconRight":[1,"button-icon-right"],"containerClass":[1,"container-class"],"trackClass":[1,"track-class"],"buttonClass":[1,"button-class"],"dotClass":[1,"dot-class"],"activeIndex":[32],"screenCount":[32],"totalItems":[32],"items":[32],"isDragging":[32]}]]],["p-ad7523a1",[[1,"tet-expandable-input",{"class":[1,"input-class"],"placeholder":[1,"input-placeholder"],"type":[1,"input-type"],"value":[1,"input-value"],"disabled":[4,"input-disabled"],"accessibilityLabel":[1,"accessibility-label"],"mode":[1],"closedWidth":[1,"closed-width"],"animationDuration":[2,"animation-duration"],"error":[4],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconClosed":[1,"icon-closed"],"iconLeftClickCallback":[16],"iconRightClickCallback":[16],"validators":[16],"manualValidation":[4,"manual-validation"],"theme":[1],"size":[1],"closeInputText":[1,"close-input-text"],"darkMode":[4,"dark-mode"],"expanded":[32],"getInputHtmlElement":[64],"getErrors":[64],"validateInput":[64],"setState":[64],"clear":[64]},[[0,"blur","onBlur"]],{"mode":["onModeChange"]}]]],["p-7be53858",[[2,"tet-table",{"caption":[1],"cellTextAlign":[1,"cell-text-align"],"tableHeader":[1,"table-header"],"tableHeaderTextAlign":[1,"table-header-text-align"],"tableHeaderColumnSpan":[2,"table-header-column-span"],"tableHeaderWidth":[1,"table-header-width"],"tableData":[1040],"gappedColumnLayout":[4,"gapped-column-layout"],"theme":[1],"normalizedColumns":[32]},null,{"tableData":["onTableDataChange"]}]]],["p-972d308c",[[1,"tet-accordion",{"isOpen":[1540,"is-open"],"theme":[1],"header":[1],"headerImageSrc":[1,"header-image-src"],"headerImageAlt":[1,"header-image-alt"],"withBorder":[4,"with-border"],"withAutoScroll":[4,"with-auto-scroll"],"breakpoint":[1],"headingTag":[1,"heading-tag"],"transparentBackground":[4,"transparent-background"],"open":[64],"close":[64],"toggle":[64],"getState":[64],"setState":[64]}]]],["p-c5628ad2",[[0,"tet-banner-nav",{"slides":[2],"duration":[2],"paused":[4],"mobileLayout":[4,"mobile-layout"],"theme":[1],"language":[1],"isPaused":[32],"currentSlide":[32],"firstLoad":[32],"pause":[64],"play":[64],"goTo":[64],"next":[64],"previous":[64],"getCurrentSlide":[64]},null,{"paused":["onPausedStateChange"],"language":["onLanguageChange"]}]]],["p-6bdc135c",[[1,"tet-business-lines",{"language":[1],"addressKey":[2,"address-key"],"showHeadings":[4,"show-headings"],"address":[32],"businessLines":[32]},null,{"language":["onLanguageChange"],"addressKey":["onAddressKeyChange"]}]]],["p-3d39266c",[[0,"tet-business-round-stepper",{"stepperData":[16],"layout":[1]}]]],["p-dff937d1",[[1,"tet-inline-message",{"variant":[1]}]]],["p-a520e18f",[[1,"tet-label",{"labelTitle":[1,"label-title"],"translateTitle":[4,"translate-title"],"active":[4],"theme":[1],"type":[1],"showIcon":[4,"show-icon"]}]]],["p-90d9c0b8",[[1,"tet-menu",{"type":[1],"active":[4],"clickable":[4],"firstLevelTitle":[1,"first-level-title"],"firstLevelId":[1,"first-level-id"],"firstLevelLink":[1,"first-level-link"],"firstLevelIcon":[1,"first-level-icon"],"subLevels":[16],"darkMode":[4,"dark-mode"],"isSubmenuLeft":[32]},[[9,"resize","onWindowResize"]]]]],["p-e34c8142",[[1,"tet-menu-mobile",{"isActive":[4,"active"],"firstLevelTitle":[1,"first-level-title"],"firstLevelLink":[1,"first-level-link"],"firstLevelId":[1,"first-level-id"],"subLevels":[16],"darkMode":[4,"dark-mode"],"isExpanded":[32],"hasDropdownContent":[32],"subMenuState":[32]}]]],["p-4e66c73a",[[1,"tet-navigation-mobile",{"darkMode":[4,"dark-mode"],"isTogglerExpanded":[32],"isTogglerVisible":[32],"showToggler":[64],"hideToggler":[64],"open":[64],"close":[64]},null,{"isTogglerExpanded":["onMenuToggle"]}]]],["p-c64fa550",[[1,"tet-round-stepper",{"stepperData":[16],"forcedColumn":[4,"forced-column"],"hideIcons":[4,"hide-icons"],"theme":[1]},[[9,"resize","onResize"]]]]],["p-4e1c591f",[[1,"tet-tv-gift-list",{"header":[1],"listBulletIcon":[1,"list-bullet-icon"],"imageSource":[1,"image-source"],"list":[16],"containerSize":[32]},[[9,"resize","onWindowResize"]]]]],["p-48c6946a",[[1,"tet-bar-graph",{"parentContainer":[1040],"data":[16],"minValue":[2,"min-value"],"maxValue":[2,"max-value"],"valueUnit":[1,"value-unit"],"labelPosition":[1,"label-position"],"valuePosition":[1,"value-position"],"dataOrder":[1,"data-order"],"withGrid":[4,"with-grid"],"animationDuration":[2,"animation-duration"],"size":[1],"theme":[1],"displayData":[32],"componentSize":[32],"labelWidth":[32]},[[9,"resize","onWindowResize"]],{"size":["onSizeChange"],"dataOrder":["onDataOrderChange"],"data":["onDataChange"],"minValue":["onMinValueChange"],"maxValue":["onMaxValueChange"]}]]],["p-b4167e31",[[1,"tet-border-radius"]]],["p-755593a1",[[1,"tet-business-card",{"mainTitle":[1,"main-title"],"subTitle":[1,"sub-title"],"infoText":[1,"info-text"],"type":[1],"theme":[1],"size":[32]}]]],["p-6d2fe5e9",[[1,"tet-colors",{"showVariables":[4,"show-variables"],"darkTheme":[4,"dark-theme"]}]]],["p-84d19b3d",[[1,"tet-contact-info",{"contactBlocks":[16]}]]],["p-93aa60af",[[1,"tet-expansion-panel",{"toggleElement":[1025,"toggle-element"],"initialState":[1,"initial-state"],"state":[32],"open":[64],"close":[64],"toggle":[64],"getState":[64]}]]],["p-53a61b29",[[1,"tet-font-weight"]]],["p-0ec481a9",[[1,"tet-fonts"]]],["p-797ff4fb",[[0,"tet-grid"]]],["p-97c67ad1",[[1,"tet-layout"]]],["p-5cefa668",[[1,"tet-link"]]],["p-8ab866ce",[[1,"tet-price-view",{"background":[1],"font":[1],"size":[1],"headingText":[1,"heading-text"],"priceType":[1,"price-type"],"euroPrice":[1,"euro-price"],"centsPrice":[1,"cents-price"],"footerText":[1,"footer-text"],"footerTextType":[1,"footer-text-type"]}]]],["p-c02805e3",[[1,"tet-spacing"]]],["p-b991e026",[[1,"tet-textarea",{"value":[1],"label":[1],"placeholder":[1],"disabled":[4],"errorMessages":[16],"theme":[1],"isKeyboardFocus":[32],"focusVisible":[32]},[[8,"keydown","onKeyDown"],[9,"mousedown","onMouseDown"]]]]],["p-f2579da7",[[1,"tet-tv-gift-block",{"headerTitle":[1,"header-title"],"headerImageSrc":[1,"header-image-src"],"footerTitle":[1,"footer-title"],"footerText":[1,"footer-text"],"containerSize":[32]},[[9,"resize","onWindowResize"]]]]],["p-eb93db1e",[[1,"tet-icon",{"name":[1],"theme":[1],"type":[1],"useDefaultColor":[4,"use-default-color"],"accessibilityLabel":[1,"accessibility-label"],"focusable":[4]},null,{"name":["onNameChange"]}]]],["p-fb33771b",[[1,"tet-card-list",{"theme":[1],"withControls":[4,"with-controls"],"controlScrollAmount":[2,"control-scroll-amount"],"scrollFullWidth":[4,"scroll-full-width"],"initialScrollAmount":[2,"initial-scroll-amount"],"disableScroll":[4,"disable-scroll"],"withScrollbar":[4,"with-scrollbar"],"withOverflowOpacity":[4,"with-overflow-opacity"],"overflowOpacityMinWidth":[1,"overflow-opacity-min-width"],"withMouseDrag":[4,"with-mouse-drag"],"withVirtualScroll":[4,"with-virtual-scroll"],"withActiveElement":[4,"with-active-element"],"activeElementClass":[1,"active-element-class"],"scrollAnimationSpeed":[2,"scroll-animation-speed"],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"],"controlVisibility":[32],"scrollThumbWidth":[32],"isSmallContainer":[32],"scrollListTo":[64],"scrollListBy":[64],"scrollListToElementCenter":[64]},[[9,"resize","onResize"]],{"withMouseDrag":["onWithMouseDragChange"],"disableScroll":["onDisableScrollChange"],"withControls":["onWithControlsChange"],"withOverflowOpacity":["onWithOverflowOpacityChange"],"withVirtualScroll":["onWithVirtualScrollChange"]}]]],["p-d88b9b9e",[[1,"tet-notification",{"icon":[1],"headerTitle":[1,"header-title"],"content":[1],"type":[1],"allowClose":[4,"allow-close"],"theme":[1],"animationDuration":[2,"animation-duration"],"close":[64]}]]],["p-a6b4abf5",[[1,"tet-stepper-v2",{"stepperData":[16],"theme":[1]}]]],["p-56730659",[[1,"tet-stepper-v3",{"stepperData":[16],"theme":[1]}]]],["p-5509506e",[[1,"tet-text-list",{"listType":[1,"list-type"],"decimalStart":[2,"decimal-start"],"decimalPrefix":[1,"decimal-prefix"],"withIcon":[4,"with-icon"],"listIcon":[1,"list-icon"],"theme":[1]}]]],["p-31f2895c",[[1,"tet-stepper",{"stepperData":[16]}]]],["p-bf43050f",[[1,"tet-placeholder",{"width":[1],"height":[1],"darkTheme":[4,"dark-theme"]}]]],["p-e73357e6",[[17,"tet-button",{"clickCallback":[16],"size":[1],"type":[1],"theme":[1],"disabled":[4],"iconMode":[4,"icon-mode"],"iconPosition":[1,"icon-position"],"iconName":[1,"icon-name"],"elementId":[1,"element-id"],"accessibilityLabel":[1,"accessibility-label"],"url":[1],"urlTarget":[1,"url-target"]}]]],["p-8b7eec6b",[[1,"tet-compare-cards",{"data":[1040],"vatText":[1,"vat-text"],"forceColumn":[4,"force-column"],"theme":[1],"layout":[1],"cardScript":[1,"card-script"],"newUrlGeneratorStructure":[4,"new-url-generator-structure"],"changedProductCode":[1,"changed-product-code"],"isNetflixCard":[4,"is-netflix-card"],"darkMode":[4,"dark-mode"],"initializedState":[32],"showLoader":[32]},[[0,"optionSelected","onOptionSelected"]],{"data":["onDataChange"]}],[1,"tet-tab-content",{"dataName":[1,"data-name"],"defaultTab":[8,"default-tab"],"parentContainer":[16],"useVisibility":[4,"use-visibility"],"selectedId":[32],"previousDataName":[32],"previousParentContainer":[32],"init":[64],"selectTab":[64]},null,{"dataName":["onDataNameChange"],"parentContainer":["onParentContainerChange"]}]]],["p-da49a9b7",[[1,"tet-address-search",{"language":[1],"minSearchKeywordLength":[2,"min-search-keyword-length"],"placeholder":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"addressKey":[1,"address-key"],"newStyle":[4,"new-style"],"newFormsStyle":[4,"new-forms-style"],"redesignedStyle":[4,"redesigned-style"],"theme":[1],"manualAddressTriggers":[4,"manual-address-triggers"],"isInputInvalid":[4,"is-input-invalid"],"inputDisabled":[1028,"input-disabled"],"searchButtonText":[1,"search-button-text"],"closeButtonText":[1,"close-button-text"],"inputIconRight":[32],"inputValueLength":[32],"isLoading":[32],"isKeyboardFocus":[32],"focusVisible":[32],"elementActive":[32],"resetInputState":[64]},[[8,"keydown","onKeyDown"]],{"language":["onLanguageChanged"],"addressKey":["search"],"inputDisabled":["onInputDisabledStateChange"]}]]],["p-337d5237",[[1,"tet-number-input",{"label":[1],"theme":[1],"accessibilityLabel":[1,"accessibility-label"],"buttonAccessibilityLabel":[1,"button-accessibility-label"],"helperText":[1,"helper-text"],"suffixes":[16],"value":[1026],"min":[2],"max":[2],"disabled":[4],"error":[4],"completed":[4],"selectOnFocus":[4,"select-on-focus"],"suffix":[32],"isOpen":[32],"isValueHidden":[32],"isKeyboardFocus":[32],"getValue":[64],"resetSuffix":[64]},[[8,"keydown","onKeydown"],[0,"focus","onFocus"],[8,"click","onClick"],[0,"input","inputChangeHandler"],[0,"blur","onBlur"]],{"suffix":["onSuffixChange"]}],[1,"tet-stepper-input",{"value":[1026],"theme":[1],"min":[2],"max":[2],"step":[2],"selectOnFocus":[4,"select-on-focus"],"accessibilityLabel":[1,"accessibility-label"],"language":[1],"getValue":[64]},[[0,"keydown","onKeydown"],[0,"focus","onFocus"],[0,"input","inputChangeHandler"]],{"language":["onLanguageChange"],"value":["onValueChange"]}]]],["p-943dca7c",[[1,"tet-range-slider",{"parentContainer":[1040],"minValue":[2,"min-value"],"maxValue":[2,"max-value"],"inputMaxValue":[2,"input-max-value"],"defaultValue":[2,"default-value"],"step":[2],"dataPoints":[16],"displayDataPoints":[16],"lockToDataPoint":[4,"lock-to-data-point"],"type":[1],"withControls":[4,"with-controls"],"withInput":[4,"with-input"],"withCurrentStepCounter":[4,"with-current-step-counter"],"dataUnits":[1,"data-units"],"size":[1],"reduceButtonAccessibilityLabel":[1,"reduce-button-accessibility-label"],"addButtonAccessibilityLabel":[1,"add-button-accessibility-label"],"numberInputAccessibilityLabel":[1,"number-input-accessibility-label"],"sliderInputAccessibilityLabel":[1,"slider-input-accessibility-label"],"theme":[1],"currentValue":[32],"dataSet":[32],"containerSize":[32],"tooltipOffset":[32],"isSliding":[32],"isPointerDown":[32],"positions":[32]},[[9,"resize","onWindowResize"]],{"dataPoints":["onDataPointsChange"],"type":["onTypeChange"],"currentValue":["onCurrentValueChange"],"size":["onSizeChange"]}],[1,"tet-switch",{"theme":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"setChecked":[64]}]]],["p-2b627d27",[[6,"tet-radio",{"theme":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"inputAutofocus":[4,"input-autofocus"],"setChecked":[64]},[[0,"keydown","onKeydown"]]]]],["p-98a083d9",[[1,"tet-tab-header",{"theme":[1],"darkMode":[4,"dark-mode"],"type":[1],"position":[1],"sizing":[1],"defaultTab":[8,"default-tab"],"segmented":[4],"hideHeaderUnderline":[4,"hide-header-underline"],"hideActiveHeaderUnderline":[4,"hide-active-header-underline"],"autoplayDelay":[2,"autoplay-delay"],"stopAutoplayOnHeaderHover":[4,"stop-autoplay-on-header-hover"],"stopAutoplayOnContentHover":[4,"stop-autoplay-on-content-hover"],"dataName":[1,"data-name"],"selectedId":[32],"positions":[32],"autoplay":[32],"segmentAnimation":[32],"toggleAutoplay":[64],"stopAutoplay":[64],"startAutoplay":[64],"selectTab":[64]},null,{"hideActiveHeaderUnderline":["showActiveHeaderUnderline"],"autoplayDelay":["onAutoplayDelayChange"],"segmented":["onSegmentedChange"]}]]],["p-cec4c81b",[[1,"tet-dialog",{"headerTitle":[1,"header-title"],"isOpen":[1540,"is-open"],"theme":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEscape":[4,"close-on-escape"],"preventDefaultClose":[4,"prevent-default-close"],"footerDisplay":[1,"footer-display"],"hideCloseButton":[4,"hide-close-button"],"showHeaderDivider":[4,"show-header-divider"],"hideHeader":[4,"hide-header"],"titleId":[1,"title-id"],"open":[64],"close":[64]},[[8,"keydown","handleKeyDown"]],{"isOpen":["onDialogOpenAction"]}]]],["p-7ed128d4",[[1,"tet-tag",{"tagTitle":[1,"tag-title"],"count":[2],"active":[4],"theme":[1],"showIcon":[4,"show-icon"],"disabled":[4],"language":[1]},null,{"language":["onLanguageChange"]}]]],["p-65ea9d50",[[1,"tet-tooltip",{"theme":[1],"targetElementSelector":[1,"target-element-selector"],"hoverElement":[16],"doNotShowOnHover":[4,"do-not-show-on-hover"],"position":[1],"positionState":[32],"showTooltip":[32],"show":[64],"hide":[64],"toggle":[64]},[[16,"touchmove","handleTouchmove"],[16,"wheel","handleWheel"],[16,"keydown","onKeydown"],[9,"resize","handleResize"]],{"position":["handlePositionChange"],"showTooltip":["onShowTooltipChange"]}]]],["p-f7b11c9a",[[1,"tet-loader"]]],["p-5aa7f845",[[1,"tet-address-offers",{"addressKey":[8,"address-key"],"catalog":[16],"theme":[1],"darkMode":[4,"dark-mode"],"termText":[1,"term-text"],"formParameters":[1,"form-parameters"],"language":[1],"allowedTvProductCodes":[16],"showLoader":[32],"subcategoryProductFilters":[32]},null,{"addressKey":["onAddressKeyChange"],"language":["onLanguageChanged"]}],[1,"tet-availability-contact-form",{"language":[1],"taskOptions":[16],"submitButtonProps":[16],"showTitle":[4,"show-title"],"showInputLabel":[4,"show-input-label"],"theme":[1],"darkTheme":[4,"dark-theme"],"success":[1028],"showAvailabilityContactForm":[4,"show-availability-contact-form"],"subtitle":[1],"showLoader":[32]},[[0,"taskCreationSuccess","onSuccess"],[4,"emptyCatalog","onEmptyCatalog"]],{"language":["onLanguageChange"]}],[1,"tet-address-offers-filters",{"language":[1],"clearFilterButton":[4,"clear-filter-button"],"theme":[1]},null,{"language":["onLanguageChange"]}],[1,"tet-asset-availability-addresses",{"accessToken":[1,"access-token"],"pid":[1],"salesforceAccountId":[1,"salesforce-account-id"],"theme":[1],"addressSearchLabel":[1,"address-search-label"],"addressSearchPlaceholder":[1,"address-search-placeholder"],"addresses":[32],"lastAddedKey":[32],"showLoader":[32],"unselectAssetAddresses":[64]},null,{"pid":["loadAddressesOnPidChange"],"salesforceAccountId":["loadAddressesOnAccountIdChange"],"addresses":["onAddressesChange"]}]]],["p-821e669e",[[1,"tet-datepicker-header",{"locale":[1],"selectedDate":[16],"internalDate":[16],"datepickerView":[1,"datepicker-view"]}],[1,"tet-datepicker-month-view",{"rangeDates":[16],"selectedDate":[16],"internalDate":[16],"rangePickerMode":[4,"range-picker-mode"],"inRangeHoverDate":[32]},null,{"internalDate":["handleDateChange"]}],[1,"tet-datepicker-multi-year-view",{"selectedDate":[16],"internalDate":[16],"years":[32]},null,{"internalDate":["handleInternalDateChange"]}],[1,"tet-datepicker-year-view",{"selectedDate":[16],"internalDate":[16]}]]],["p-0a4612b0",[[1,"tet-autocomplete",{"showOptionsOnEscapeClear":[4,"show-options-on-escape-clear"],"defaultOptions":[16],"optionsFilterAction":[16],"typingDebounceTime":[2,"typing-debounce-time"],"noOptionsMessage":[1,"no-options-message"],"noOptionsRenderFunction":[16],"clearCallback":[16],"finishedLoading":[16],"newStyle":[4,"new-style"],"highlightOptionsKeyword":[4,"highlight-options-keyword"],"darkTheme":[4,"dark-theme"],"optionsIcon":[1,"options-icon"],"redesignedStyle":[4,"redesigned-style"],"filteredOptions":[32],"activeOption":[32],"showOptions":[32],"showLoader":[32],"isKeyboardFocus":[32],"clear":[64],"focusOnNativeInput":[64],"selectOption":[64]},[[0,"click","onClick"],[8,"click","onWindowClick"],[9,"mousedown","onMouseDown"],[8,"activeComponentStateChanged","onComponentActiveStateChange"],[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]]],[1,"tet-spinner",{"theme":[1],"size":[1],"type":[1],"previousProgress":[32],"setProgress":[64]},null,{"type":["onTypeChange"]}]]],["p-ebeb69d1",[[1,"tet-checkbox",{"theme":[1],"label":[1],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"error":[1540],"indeterminate":[1540],"setChecked":[64],"setIndeterminate":[64],"setError":[64]},null,{"indeterminate":["updateIndeterminateState"]}]]],["p-f9a87252",[[1,"tet-selection-list",{"items":[16],"preSelectedItems":[16],"multipleSelections":[4,"multiple-selections"],"itemRenderFunction":[16],"identifier":[1],"selectedItems":[32],"unsetSelectedItems":[64],"getSelectedItems":[64]},null,{"preSelectedItems":["onPreselectedItemsChanged"]}],[1,"tet-container",{"highlightable":[4],"selected":[4],"theme":[1]}]]],["p-bcdc4370",[[6,"tet-input",{"isPhoneNumber":[4,"is-phone-number"],"class":[1,"input-class"],"placeholder":[1,"input-placeholder"],"type":[1,"input-type"],"value":[1,"input-value"],"disabled":[4,"input-disabled"],"readonly":[4,"input-readonly"],"error":[4],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconLeftClickCallback":[16],"iconRightClickCallback":[16],"validators":[16],"manualValidation":[4,"manual-validation"],"theme":[1],"autocomplete":[1],"maxlength":[1],"inputTabindex":[2,"input-tabindex"],"errorMessages":[32],"isKeyboardFocus":[32],"focusVisible":[32],"getInputHtmlElement":[64],"getErrors":[64],"clearErrors":[64],"validateInput":[64]},[[8,"keydown","onKeyDown"],[9,"mousedown","onMouseDown"]]]]],["p-b95d33a4",[[1,"tet-address-offers-filters-products",{"language":[1],"clearFilterButton":[4,"clear-filter-button"],"theme":[1],"catalog":[16],"productCodes":[16],"category":[16],"subcategoryId":[1,"subcategory-id"],"availableTvProducts":[32],"activeTvFilters":[32]},null,{"language":["onLanguageChange"],"catalog":["onDataChange"],"category":["onDataChange"],"productCodes":["onProductCodesChanged"]}],[1,"tet-compare-card",{"clickCallback":[16],"index":[2],"cardType":[1,"card-type"],"theme":[1],"colorIcons":[4,"color-icons"],"fullHeight":[4,"full-height"],"bestChoice":[4,"best-choice"],"cardHeader":[1,"card-header"],"logo":[1],"image":[1],"thumbnail":[1],"thumbnailAlt":[1,"thumbnail-alt"],"language":[1],"options":[16],"minWideWidth":[2,"min-wide-width"],"cardList":[4,"card-list"],"cardBackgroundColor":[1,"card-background-color"],"cardScript":[1,"card-script"],"parentContainer":[16],"hideBestChoiceBorder":[4,"hide-best-choice-border"],"withBorder":[4,"with-border"],"priceShownVertically":[4,"price-shown-vertically"],"bestChoiceTextPosition":[1,"best-choice-text-position"],"bestChoiceTextFloating":[4,"best-choice-text-floating"],"secondaryLinkPosition":[1,"secondary-link-position"],"showBulletPoints":[4,"show-bullet-points"],"showSubTitle":[4,"show-sub-title"],"showHelper":[4,"show-helper"],"isNetflixCard":[4,"is-netflix-card"],"darkMode":[4,"dark-mode"],"currentCardType":[32]},[[0,"click","onClick"]]],[1,"tet-dropdown",{"label":[1],"labelLogo":[1,"label-logo"],"labelLogoGrayscale":[1,"label-logo-grayscale"],"labelRight":[1,"label-right"],"labelRightColor":[1,"label-right-color"],"labelSubText":[1,"label-sub-text"],"flexLayout":[4,"flex-layout"],"buttonLabel":[1,"button-label"],"allowMultiple":[4,"allow-multiple"],"closeOnSelection":[4,"close-on-selection"],"theme":[1],"options":[16],"disabled":[4],"selectedOptionIndexes":[32],"isOpen":[32],"isKeyboardFocus":[32],"getSelectedOptions":[64],"selectOption":[64]},[[8,"click","handleWindowClick"],[8,"focusout","handleFocusOut"]],{"options":["onOptionsChange"]}],[1,"tet-tag-group",{"language":[1],"tags":[16],"theme":[1]}]]]]'),e))));
1
+ import{p as e,b as t}from"./p-67c5dc0a.js";export{s as setNonce}from"./p-67c5dc0a.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-04c7ae63",[[1,"tet-address-offers-view",{"language":[1],"addressKey":[1,"address-key"],"theme":[1],"userPersonalCode":[1,"user-personal-code"],"showAuthorizedAddresses":[4,"show-authorized-addresses"],"accessToken":[1,"access-token"],"noUserFound":[4,"no-user-found"],"callCenterTaskOptions":[16],"showContactForm":[1028,"show-contact-form"],"termText":[1,"term-text"],"formParameters":[1,"form-parameters"],"accessibilityLabel":[1,"accessibility-label"],"address":[32]},[[0,"assetAddressSelected","onAddressSelected"],[0,"customerNotFound","customerNotFound"],[0,"emptyCatalog","onEmptyCatalog"]],{"language":["onLanguageChange"]}]]],["p-0e59aa9d",[[1,"tet-compare-cards-tab",{"data":[16],"forceColumn":[4,"force-column"],"layout":[1],"newUrlGeneratorStructure":[4,"new-url-generator-structure"],"theme":[1],"darkMode":[4,"dark-mode"],"isNetflixCard":[4,"is-netflix-card"],"darkHeader":[4,"dark-header"],"productDataLoaded":[32],"showLoader":[32],"productSACData":[32],"filteredProductCodes":[32]},[[0,"compareCardsDidRender","hideLoader"]],{"showLoader":["onDataChange"]}]]],["p-2deabaf1",[[1,"tet-asset-addresses",{"accessToken":[1,"access-token"],"pid":[1],"salesforceAccountId":[1,"salesforce-account-id"],"theme":[1],"addressSearchLabel":[1,"address-search-label"],"addressSearchPlaceholder":[1,"address-search-placeholder"],"addresses":[32],"lastAddedKey":[32],"showLoader":[32],"isAddressSearchVisible":[32]},[[0,"addressSelected","onAddressSelected"]],{"pid":["loadAddressesOnPidChange"],"salesforceAccountId":["loadAddressesOnAccountIdChange"],"addresses":["onAddressesChange"]}]]],["p-ac619118",[[1,"tet-cloud-configurator",{"language":[1],"containerSelector":[1,"container-selector"],"theme":[1],"selectOnFocus":[4,"select-on-focus"],"isLoading":[32],"headerRef":[32],"footerRef":[32],"formValues":[32],"selectedTab":[32],"selectedPeriod":[32],"isFloatingSummary":[32],"isListExpanded":[32],"parentElement":[32]},null,{"isLoading":["onisLoadingChange"],"headerRef":["onHeaderRefChange"],"footerRef":["onFooterRefChange"],"selectedTab":["onSelectedTabChange"],"language":["onLanguageChange"]}]]],["p-63ed5114",[[1,"tet-b2b-service-calculator",{"language":[1],"totalPrice":[32],"withItAdmin":[32],"withInPersonServiceSupport":[32],"unitCountSelected":[32]},[[0,"slider-input","onSliderInput"]],{"language":["onLanguageChange"],"withItAdmin":["onControlChange"],"withInPersonServiceSupport":["onControlChange"]}]]],["p-eb8ac45d",[[1,"tet-cloud-application-form-dialog",{"privacyPolicyLinkUrl":[1,"privacy-policy-link-url"],"loading":[4],"showOverlay":[4,"show-overlay"],"language":[1],"privacyPolicyError":[32],"open":[64],"close":[64]},null,{"language":["onLanguageChange"]}]]],["p-150a4ad2",[[1,"tet-contact-form",{"language":[1],"taskOptions":[16],"submitButtonProps":[16],"showTitle":[4,"show-title"],"showInputLabel":[4,"show-input-label"],"theme":[1],"darkTheme":[4,"dark-theme"],"subtitle":[1],"showLoader":[32]},null,{"language":["onLanguageChange"]}]]],["p-6d44c42d",[[1,"tet-customer-assets",{"accessToken":[1,"access-token"],"pid":[1],"singleLoader":[4,"single-loader"],"hideAssets":[4,"hide-assets"],"salesforceAccountId":[1,"salesforce-account-id"],"groupByAddress":[4,"group-by-address"],"loaderElementsCount":[2,"loader-elements-count"],"darkTheme":[4,"dark-theme"],"assets":[32],"showLoader":[32]},null,{"pid":["loadAssetsOnPidChange"],"salesforceAccountId":["loadAssetsOnAccountIdChange"],"assets":["onAssetsChange"]}]]],["p-86a879b6",[[1,"tet-datepicker",{"locale":[1],"overlayEffect":[4,"overlay-effect"],"rangePickerMode":[4,"range-picker-mode"],"isOpen":[1028,"is-open"],"date":[1040],"datepickerView":[1025,"datepicker-view"],"rangeDates":[32],"internalDate":[32],"toggleIsOpen":[64]},[[0,"dateChanged","handleDateChanged"],[0,"datepickerViewChanged","handleDatepickerViewChanged"],[0,"internalDateChanged","handleInternalDateChanged"],[0,"rangeDateSet","handleRangeDateSet"],[0,"datepickerClosed","handleDatepickerClosed"],[9,"resize","onWindowResize"],[9,"scroll","onWindowScroll"]],{"date":["handleDateChange"],"rangeDates":["handleRangeDateChange"]}]]],["p-05ee0690",[[1,"tet-macd-view",{"language":[1],"theme":[1],"showErrorNotification":[1028,"show-error-notification"],"showLoader":[1028,"show-loader"],"loaderHeight":[1,"loader-height"],"accessToken":[1,"access-token"],"eventsOnly":[4,"events-only"],"hideUnavailable":[4,"hide-unavailable"],"assetId":[1025,"asset-id"],"accountNumber":[1026,"account-number"],"macdOrderTypes":[16],"ignoredMacdOrderTypes":[16],"suspendFn":[16],"changeOfPlanFn":[16],"promotionChangeFn":[16],"ceaseFn":[16],"modifyFn":[16]},null,{"language":["onLanguageChange"],"accessToken":["setAccessToken"],"macdOrderTypes":["setMacdOrderTypes"]}]]],["p-d960b0fd",[[1,"tet-autocomplete-dropdown",{"options":[16],"defaultOption":[16],"noOptionsMessage":[1,"no-options-message"],"placeholder":[1],"label":[1],"theme":[1],"hasError":[4,"has-error"],"errorMessage":[1,"error-message"],"inputValue":[32],"clearInput":[64],"focusOnNativeInput":[64]}]]],["p-88b841ad",[[1,"tet-multi-step-dialog",{"content":[1],"steps":[16],"isOpen":[4,"is-open"],"dialogDataScreenKey":[1,"dialog-data-screen-key"],"tetDialogClass":[1,"tet-dialog-class"],"language":[1],"isKeydownFocus":[32]}]]],["p-c90156c1",[[1,"tet-news-card-list",{"items":[16],"withControls":[4,"with-controls"],"scrollFullWidth":[4,"scroll-full-width"],"controlScrollAmount":[2,"control-scroll-amount"],"initialScrollAmount":[2,"initial-scroll-amount"],"disableScroll":[4,"disable-scroll"],"withScrollbar":[4,"with-scrollbar"],"withMouseDrag":[4,"with-mouse-drag"],"withVirtualScroll":[4,"with-virtual-scroll"],"theme":[1]}]]],["p-b61e0098",[[1,"tet-referral",{"theme":[1],"language":[1],"data":[1]},null,{"language":["onLanguageChange"]}]]],["p-d47318ab",[[1,"tet-thank-you-view",{"stepperData":[16],"theme":[1],"mainBlockIcon":[1,"main-block-icon"],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonDescription":[1,"cta-button-description"],"ctaButtonType":[1,"cta-button-type"]}]]],["p-661407d7",[[1,"tet-thank-you-view-v2",{"stepperData":[16],"icon":[1],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonId":[1,"cta-button-id"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonType":[1,"cta-button-type"],"ctaButtonTheme":[1,"cta-button-theme"],"language":[1],"translationGroup":[1,"translation-group"],"theme":[1]},null,{"language":["onLanguageChange"]}]]],["p-6cd51067",[[1,"tet-thank-you-view-v3",{"stepperData":[16],"icon":[1],"mainBlockTitle":[1,"main-block-title"],"mainBlockDescription":[1,"main-block-description"],"ctaButtonLabel":[1,"cta-button-label"],"ctaButtonId":[1,"cta-button-id"],"ctaButtonSize":[1,"cta-button-size"],"ctaButtonType":[1,"cta-button-type"],"ctaButtonTheme":[1,"cta-button-theme"],"language":[1],"translationGroup":[1,"translation-group"],"theme":[1]},null,{"language":["onLanguageChange"]}]]],["p-1ec8b9bb",[[1,"tet-business-compare-card",{"mainTitle":[1,"main-title"],"bulletPoints":[16],"pricePrefix":[1,"price-prefix"],"price":[1],"currency":[1],"theme":[1],"hasContentInFooter":[32]}]]],["p-e2d00f79",[[1,"tet-carousel",{"theme":[1],"showDots":[4,"show-dots"],"showButtons":[4,"show-buttons"],"transitionDuration":[2,"transition-duration"],"transitionTiming":[1,"transition-timing"],"buttonIconLeft":[1,"button-icon-left"],"buttonIconRight":[1,"button-icon-right"],"containerClass":[1,"container-class"],"trackClass":[1,"track-class"],"buttonClass":[1,"button-class"],"dotClass":[1,"dot-class"],"activeIndex":[32],"screenCount":[32],"totalItems":[32],"items":[32],"isDragging":[32]}]]],["p-ad7523a1",[[1,"tet-expandable-input",{"class":[1,"input-class"],"placeholder":[1,"input-placeholder"],"type":[1,"input-type"],"value":[1,"input-value"],"disabled":[4,"input-disabled"],"accessibilityLabel":[1,"accessibility-label"],"mode":[1],"closedWidth":[1,"closed-width"],"animationDuration":[2,"animation-duration"],"error":[4],"label":[1],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconClosed":[1,"icon-closed"],"iconLeftClickCallback":[16],"iconRightClickCallback":[16],"validators":[16],"manualValidation":[4,"manual-validation"],"theme":[1],"size":[1],"closeInputText":[1,"close-input-text"],"darkMode":[4,"dark-mode"],"expanded":[32],"getInputHtmlElement":[64],"getErrors":[64],"validateInput":[64],"setState":[64],"clear":[64]},[[0,"blur","onBlur"]],{"mode":["onModeChange"]}]]],["p-7be53858",[[2,"tet-table",{"caption":[1],"cellTextAlign":[1,"cell-text-align"],"tableHeader":[1,"table-header"],"tableHeaderTextAlign":[1,"table-header-text-align"],"tableHeaderColumnSpan":[2,"table-header-column-span"],"tableHeaderWidth":[1,"table-header-width"],"tableData":[1040],"gappedColumnLayout":[4,"gapped-column-layout"],"theme":[1],"normalizedColumns":[32]},null,{"tableData":["onTableDataChange"]}]]],["p-972d308c",[[1,"tet-accordion",{"isOpen":[1540,"is-open"],"theme":[1],"header":[1],"headerImageSrc":[1,"header-image-src"],"headerImageAlt":[1,"header-image-alt"],"withBorder":[4,"with-border"],"withAutoScroll":[4,"with-auto-scroll"],"breakpoint":[1],"headingTag":[1,"heading-tag"],"transparentBackground":[4,"transparent-background"],"open":[64],"close":[64],"toggle":[64],"getState":[64],"setState":[64]}]]],["p-c5628ad2",[[0,"tet-banner-nav",{"slides":[2],"duration":[2],"paused":[4],"mobileLayout":[4,"mobile-layout"],"theme":[1],"language":[1],"isPaused":[32],"currentSlide":[32],"firstLoad":[32],"pause":[64],"play":[64],"goTo":[64],"next":[64],"previous":[64],"getCurrentSlide":[64]},null,{"paused":["onPausedStateChange"],"language":["onLanguageChange"]}]]],["p-6bdc135c",[[1,"tet-business-lines",{"language":[1],"addressKey":[2,"address-key"],"showHeadings":[4,"show-headings"],"address":[32],"businessLines":[32]},null,{"language":["onLanguageChange"],"addressKey":["onAddressKeyChange"]}]]],["p-3d39266c",[[0,"tet-business-round-stepper",{"stepperData":[16],"layout":[1]}]]],["p-dff937d1",[[1,"tet-inline-message",{"variant":[1]}]]],["p-a520e18f",[[1,"tet-label",{"labelTitle":[1,"label-title"],"translateTitle":[4,"translate-title"],"active":[4],"theme":[1],"type":[1],"showIcon":[4,"show-icon"]}]]],["p-90d9c0b8",[[1,"tet-menu",{"type":[1],"active":[4],"clickable":[4],"firstLevelTitle":[1,"first-level-title"],"firstLevelId":[1,"first-level-id"],"firstLevelLink":[1,"first-level-link"],"firstLevelIcon":[1,"first-level-icon"],"subLevels":[16],"darkMode":[4,"dark-mode"],"isSubmenuLeft":[32]},[[9,"resize","onWindowResize"]]]]],["p-e34c8142",[[1,"tet-menu-mobile",{"isActive":[4,"active"],"firstLevelTitle":[1,"first-level-title"],"firstLevelLink":[1,"first-level-link"],"firstLevelId":[1,"first-level-id"],"subLevels":[16],"darkMode":[4,"dark-mode"],"isExpanded":[32],"hasDropdownContent":[32],"subMenuState":[32]}]]],["p-4e66c73a",[[1,"tet-navigation-mobile",{"darkMode":[4,"dark-mode"],"isTogglerExpanded":[32],"isTogglerVisible":[32],"showToggler":[64],"hideToggler":[64],"open":[64],"close":[64]},null,{"isTogglerExpanded":["onMenuToggle"]}]]],["p-c64fa550",[[1,"tet-round-stepper",{"stepperData":[16],"forcedColumn":[4,"forced-column"],"hideIcons":[4,"hide-icons"],"theme":[1]},[[9,"resize","onResize"]]]]],["p-4e1c591f",[[1,"tet-tv-gift-list",{"header":[1],"listBulletIcon":[1,"list-bullet-icon"],"imageSource":[1,"image-source"],"list":[16],"containerSize":[32]},[[9,"resize","onWindowResize"]]]]],["p-48c6946a",[[1,"tet-bar-graph",{"parentContainer":[1040],"data":[16],"minValue":[2,"min-value"],"maxValue":[2,"max-value"],"valueUnit":[1,"value-unit"],"labelPosition":[1,"label-position"],"valuePosition":[1,"value-position"],"dataOrder":[1,"data-order"],"withGrid":[4,"with-grid"],"animationDuration":[2,"animation-duration"],"size":[1],"theme":[1],"displayData":[32],"componentSize":[32],"labelWidth":[32]},[[9,"resize","onWindowResize"]],{"size":["onSizeChange"],"dataOrder":["onDataOrderChange"],"data":["onDataChange"],"minValue":["onMinValueChange"],"maxValue":["onMaxValueChange"]}]]],["p-b4167e31",[[1,"tet-border-radius"]]],["p-755593a1",[[1,"tet-business-card",{"mainTitle":[1,"main-title"],"subTitle":[1,"sub-title"],"infoText":[1,"info-text"],"type":[1],"theme":[1],"size":[32]}]]],["p-6d2fe5e9",[[1,"tet-colors",{"showVariables":[4,"show-variables"],"darkTheme":[4,"dark-theme"]}]]],["p-84d19b3d",[[1,"tet-contact-info",{"contactBlocks":[16]}]]],["p-93aa60af",[[1,"tet-expansion-panel",{"toggleElement":[1025,"toggle-element"],"initialState":[1,"initial-state"],"state":[32],"open":[64],"close":[64],"toggle":[64],"getState":[64]}]]],["p-53a61b29",[[1,"tet-font-weight"]]],["p-0ec481a9",[[1,"tet-fonts"]]],["p-797ff4fb",[[0,"tet-grid"]]],["p-97c67ad1",[[1,"tet-layout"]]],["p-5cefa668",[[1,"tet-link"]]],["p-ee549e6e",[[1,"tet-price-view",{"background":[1],"font":[1],"size":[1],"headingText":[1,"heading-text"],"priceType":[1,"price-type"],"euroPrice":[1,"euro-price"],"centsPrice":[1,"cents-price"],"footerText":[1,"footer-text"],"footerTextType":[1,"footer-text-type"]}]]],["p-c02805e3",[[1,"tet-spacing"]]],["p-b991e026",[[1,"tet-textarea",{"value":[1],"label":[1],"placeholder":[1],"disabled":[4],"errorMessages":[16],"theme":[1],"isKeyboardFocus":[32],"focusVisible":[32]},[[8,"keydown","onKeyDown"],[9,"mousedown","onMouseDown"]]]]],["p-f2579da7",[[1,"tet-tv-gift-block",{"headerTitle":[1,"header-title"],"headerImageSrc":[1,"header-image-src"],"footerTitle":[1,"footer-title"],"footerText":[1,"footer-text"],"containerSize":[32]},[[9,"resize","onWindowResize"]]]]],["p-eb93db1e",[[1,"tet-icon",{"name":[1],"theme":[1],"type":[1],"useDefaultColor":[4,"use-default-color"],"accessibilityLabel":[1,"accessibility-label"],"focusable":[4]},null,{"name":["onNameChange"]}]]],["p-fb33771b",[[1,"tet-card-list",{"theme":[1],"withControls":[4,"with-controls"],"controlScrollAmount":[2,"control-scroll-amount"],"scrollFullWidth":[4,"scroll-full-width"],"initialScrollAmount":[2,"initial-scroll-amount"],"disableScroll":[4,"disable-scroll"],"withScrollbar":[4,"with-scrollbar"],"withOverflowOpacity":[4,"with-overflow-opacity"],"overflowOpacityMinWidth":[1,"overflow-opacity-min-width"],"withMouseDrag":[4,"with-mouse-drag"],"withVirtualScroll":[4,"with-virtual-scroll"],"withActiveElement":[4,"with-active-element"],"activeElementClass":[1,"active-element-class"],"scrollAnimationSpeed":[2,"scroll-animation-speed"],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"],"controlVisibility":[32],"scrollThumbWidth":[32],"isSmallContainer":[32],"scrollListTo":[64],"scrollListBy":[64],"scrollListToElementCenter":[64]},[[9,"resize","onResize"]],{"withMouseDrag":["onWithMouseDragChange"],"disableScroll":["onDisableScrollChange"],"withControls":["onWithControlsChange"],"withOverflowOpacity":["onWithOverflowOpacityChange"],"withVirtualScroll":["onWithVirtualScrollChange"]}]]],["p-d88b9b9e",[[1,"tet-notification",{"icon":[1],"headerTitle":[1,"header-title"],"content":[1],"type":[1],"allowClose":[4,"allow-close"],"theme":[1],"animationDuration":[2,"animation-duration"],"close":[64]}]]],["p-a6b4abf5",[[1,"tet-stepper-v2",{"stepperData":[16],"theme":[1]}]]],["p-56730659",[[1,"tet-stepper-v3",{"stepperData":[16],"theme":[1]}]]],["p-5509506e",[[1,"tet-text-list",{"listType":[1,"list-type"],"decimalStart":[2,"decimal-start"],"decimalPrefix":[1,"decimal-prefix"],"withIcon":[4,"with-icon"],"listIcon":[1,"list-icon"],"theme":[1]}]]],["p-31f2895c",[[1,"tet-stepper",{"stepperData":[16]}]]],["p-bf43050f",[[1,"tet-placeholder",{"width":[1],"height":[1],"darkTheme":[4,"dark-theme"]}]]],["p-e73357e6",[[17,"tet-button",{"clickCallback":[16],"size":[1],"type":[1],"theme":[1],"disabled":[4],"iconMode":[4,"icon-mode"],"iconPosition":[1,"icon-position"],"iconName":[1,"icon-name"],"elementId":[1,"element-id"],"accessibilityLabel":[1,"accessibility-label"],"url":[1],"urlTarget":[1,"url-target"]}]]],["p-8b7eec6b",[[1,"tet-compare-cards",{"data":[1040],"vatText":[1,"vat-text"],"forceColumn":[4,"force-column"],"theme":[1],"layout":[1],"cardScript":[1,"card-script"],"newUrlGeneratorStructure":[4,"new-url-generator-structure"],"changedProductCode":[1,"changed-product-code"],"isNetflixCard":[4,"is-netflix-card"],"darkMode":[4,"dark-mode"],"initializedState":[32],"showLoader":[32]},[[0,"optionSelected","onOptionSelected"]],{"data":["onDataChange"]}],[1,"tet-tab-content",{"dataName":[1,"data-name"],"defaultTab":[8,"default-tab"],"parentContainer":[16],"useVisibility":[4,"use-visibility"],"selectedId":[32],"previousDataName":[32],"previousParentContainer":[32],"init":[64],"selectTab":[64]},null,{"dataName":["onDataNameChange"],"parentContainer":["onParentContainerChange"]}]]],["p-da49a9b7",[[1,"tet-address-search",{"language":[1],"minSearchKeywordLength":[2,"min-search-keyword-length"],"placeholder":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"addressKey":[1,"address-key"],"newStyle":[4,"new-style"],"newFormsStyle":[4,"new-forms-style"],"redesignedStyle":[4,"redesigned-style"],"theme":[1],"manualAddressTriggers":[4,"manual-address-triggers"],"isInputInvalid":[4,"is-input-invalid"],"inputDisabled":[1028,"input-disabled"],"searchButtonText":[1,"search-button-text"],"closeButtonText":[1,"close-button-text"],"inputIconRight":[32],"inputValueLength":[32],"isLoading":[32],"isKeyboardFocus":[32],"focusVisible":[32],"elementActive":[32],"resetInputState":[64]},[[8,"keydown","onKeyDown"]],{"language":["onLanguageChanged"],"addressKey":["search"],"inputDisabled":["onInputDisabledStateChange"]}]]],["p-337d5237",[[1,"tet-number-input",{"label":[1],"theme":[1],"accessibilityLabel":[1,"accessibility-label"],"buttonAccessibilityLabel":[1,"button-accessibility-label"],"helperText":[1,"helper-text"],"suffixes":[16],"value":[1026],"min":[2],"max":[2],"disabled":[4],"error":[4],"completed":[4],"selectOnFocus":[4,"select-on-focus"],"suffix":[32],"isOpen":[32],"isValueHidden":[32],"isKeyboardFocus":[32],"getValue":[64],"resetSuffix":[64]},[[8,"keydown","onKeydown"],[0,"focus","onFocus"],[8,"click","onClick"],[0,"input","inputChangeHandler"],[0,"blur","onBlur"]],{"suffix":["onSuffixChange"]}],[1,"tet-stepper-input",{"value":[1026],"theme":[1],"min":[2],"max":[2],"step":[2],"selectOnFocus":[4,"select-on-focus"],"accessibilityLabel":[1,"accessibility-label"],"language":[1],"getValue":[64]},[[0,"keydown","onKeydown"],[0,"focus","onFocus"],[0,"input","inputChangeHandler"]],{"language":["onLanguageChange"],"value":["onValueChange"]}]]],["p-943dca7c",[[1,"tet-range-slider",{"parentContainer":[1040],"minValue":[2,"min-value"],"maxValue":[2,"max-value"],"inputMaxValue":[2,"input-max-value"],"defaultValue":[2,"default-value"],"step":[2],"dataPoints":[16],"displayDataPoints":[16],"lockToDataPoint":[4,"lock-to-data-point"],"type":[1],"withControls":[4,"with-controls"],"withInput":[4,"with-input"],"withCurrentStepCounter":[4,"with-current-step-counter"],"dataUnits":[1,"data-units"],"size":[1],"reduceButtonAccessibilityLabel":[1,"reduce-button-accessibility-label"],"addButtonAccessibilityLabel":[1,"add-button-accessibility-label"],"numberInputAccessibilityLabel":[1,"number-input-accessibility-label"],"sliderInputAccessibilityLabel":[1,"slider-input-accessibility-label"],"theme":[1],"currentValue":[32],"dataSet":[32],"containerSize":[32],"tooltipOffset":[32],"isSliding":[32],"isPointerDown":[32],"positions":[32]},[[9,"resize","onWindowResize"]],{"dataPoints":["onDataPointsChange"],"type":["onTypeChange"],"currentValue":["onCurrentValueChange"],"size":["onSizeChange"]}],[1,"tet-switch",{"theme":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"setChecked":[64]}]]],["p-2b627d27",[[6,"tet-radio",{"theme":[1],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"inputAutofocus":[4,"input-autofocus"],"setChecked":[64]},[[0,"keydown","onKeydown"]]]]],["p-98a083d9",[[1,"tet-tab-header",{"theme":[1],"darkMode":[4,"dark-mode"],"type":[1],"position":[1],"sizing":[1],"defaultTab":[8,"default-tab"],"segmented":[4],"hideHeaderUnderline":[4,"hide-header-underline"],"hideActiveHeaderUnderline":[4,"hide-active-header-underline"],"autoplayDelay":[2,"autoplay-delay"],"stopAutoplayOnHeaderHover":[4,"stop-autoplay-on-header-hover"],"stopAutoplayOnContentHover":[4,"stop-autoplay-on-content-hover"],"dataName":[1,"data-name"],"selectedId":[32],"positions":[32],"autoplay":[32],"segmentAnimation":[32],"toggleAutoplay":[64],"stopAutoplay":[64],"startAutoplay":[64],"selectTab":[64]},null,{"hideActiveHeaderUnderline":["showActiveHeaderUnderline"],"autoplayDelay":["onAutoplayDelayChange"],"segmented":["onSegmentedChange"]}]]],["p-cec4c81b",[[1,"tet-dialog",{"headerTitle":[1,"header-title"],"isOpen":[1540,"is-open"],"theme":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEscape":[4,"close-on-escape"],"preventDefaultClose":[4,"prevent-default-close"],"footerDisplay":[1,"footer-display"],"hideCloseButton":[4,"hide-close-button"],"showHeaderDivider":[4,"show-header-divider"],"hideHeader":[4,"hide-header"],"titleId":[1,"title-id"],"open":[64],"close":[64]},[[8,"keydown","handleKeyDown"]],{"isOpen":["onDialogOpenAction"]}]]],["p-7ed128d4",[[1,"tet-tag",{"tagTitle":[1,"tag-title"],"count":[2],"active":[4],"theme":[1],"showIcon":[4,"show-icon"],"disabled":[4],"language":[1]},null,{"language":["onLanguageChange"]}]]],["p-65ea9d50",[[1,"tet-tooltip",{"theme":[1],"targetElementSelector":[1,"target-element-selector"],"hoverElement":[16],"doNotShowOnHover":[4,"do-not-show-on-hover"],"position":[1],"positionState":[32],"showTooltip":[32],"show":[64],"hide":[64],"toggle":[64]},[[16,"touchmove","handleTouchmove"],[16,"wheel","handleWheel"],[16,"keydown","onKeydown"],[9,"resize","handleResize"]],{"position":["handlePositionChange"],"showTooltip":["onShowTooltipChange"]}]]],["p-f7b11c9a",[[1,"tet-loader"]]],["p-5aa7f845",[[1,"tet-address-offers",{"addressKey":[8,"address-key"],"catalog":[16],"theme":[1],"darkMode":[4,"dark-mode"],"termText":[1,"term-text"],"formParameters":[1,"form-parameters"],"language":[1],"allowedTvProductCodes":[16],"showLoader":[32],"subcategoryProductFilters":[32]},null,{"addressKey":["onAddressKeyChange"],"language":["onLanguageChanged"]}],[1,"tet-availability-contact-form",{"language":[1],"taskOptions":[16],"submitButtonProps":[16],"showTitle":[4,"show-title"],"showInputLabel":[4,"show-input-label"],"theme":[1],"darkTheme":[4,"dark-theme"],"success":[1028],"showAvailabilityContactForm":[4,"show-availability-contact-form"],"subtitle":[1],"showLoader":[32]},[[0,"taskCreationSuccess","onSuccess"],[4,"emptyCatalog","onEmptyCatalog"]],{"language":["onLanguageChange"]}],[1,"tet-address-offers-filters",{"language":[1],"clearFilterButton":[4,"clear-filter-button"],"theme":[1]},null,{"language":["onLanguageChange"]}],[1,"tet-asset-availability-addresses",{"accessToken":[1,"access-token"],"pid":[1],"salesforceAccountId":[1,"salesforce-account-id"],"theme":[1],"addressSearchLabel":[1,"address-search-label"],"addressSearchPlaceholder":[1,"address-search-placeholder"],"addresses":[32],"lastAddedKey":[32],"showLoader":[32],"unselectAssetAddresses":[64]},null,{"pid":["loadAddressesOnPidChange"],"salesforceAccountId":["loadAddressesOnAccountIdChange"],"addresses":["onAddressesChange"]}]]],["p-821e669e",[[1,"tet-datepicker-header",{"locale":[1],"selectedDate":[16],"internalDate":[16],"datepickerView":[1,"datepicker-view"]}],[1,"tet-datepicker-month-view",{"rangeDates":[16],"selectedDate":[16],"internalDate":[16],"rangePickerMode":[4,"range-picker-mode"],"inRangeHoverDate":[32]},null,{"internalDate":["handleDateChange"]}],[1,"tet-datepicker-multi-year-view",{"selectedDate":[16],"internalDate":[16],"years":[32]},null,{"internalDate":["handleInternalDateChange"]}],[1,"tet-datepicker-year-view",{"selectedDate":[16],"internalDate":[16]}]]],["p-0a4612b0",[[1,"tet-autocomplete",{"showOptionsOnEscapeClear":[4,"show-options-on-escape-clear"],"defaultOptions":[16],"optionsFilterAction":[16],"typingDebounceTime":[2,"typing-debounce-time"],"noOptionsMessage":[1,"no-options-message"],"noOptionsRenderFunction":[16],"clearCallback":[16],"finishedLoading":[16],"newStyle":[4,"new-style"],"highlightOptionsKeyword":[4,"highlight-options-keyword"],"darkTheme":[4,"dark-theme"],"optionsIcon":[1,"options-icon"],"redesignedStyle":[4,"redesigned-style"],"filteredOptions":[32],"activeOption":[32],"showOptions":[32],"showLoader":[32],"isKeyboardFocus":[32],"clear":[64],"focusOnNativeInput":[64],"selectOption":[64]},[[0,"click","onClick"],[8,"click","onWindowClick"],[9,"mousedown","onMouseDown"],[8,"activeComponentStateChanged","onComponentActiveStateChange"],[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]]],[1,"tet-spinner",{"theme":[1],"size":[1],"type":[1],"previousProgress":[32],"setProgress":[64]},null,{"type":["onTypeChange"]}]]],["p-ebeb69d1",[[1,"tet-checkbox",{"theme":[1],"label":[1],"name":[1],"value":[8],"disabled":[4],"checked":[1540],"error":[1540],"indeterminate":[1540],"setChecked":[64],"setIndeterminate":[64],"setError":[64]},null,{"indeterminate":["updateIndeterminateState"]}]]],["p-f9a87252",[[1,"tet-selection-list",{"items":[16],"preSelectedItems":[16],"multipleSelections":[4,"multiple-selections"],"itemRenderFunction":[16],"identifier":[1],"selectedItems":[32],"unsetSelectedItems":[64],"getSelectedItems":[64]},null,{"preSelectedItems":["onPreselectedItemsChanged"]}],[1,"tet-container",{"highlightable":[4],"selected":[4],"theme":[1]}]]],["p-bcdc4370",[[6,"tet-input",{"isPhoneNumber":[4,"is-phone-number"],"class":[1,"input-class"],"placeholder":[1,"input-placeholder"],"type":[1,"input-type"],"value":[1,"input-value"],"disabled":[4,"input-disabled"],"readonly":[4,"input-readonly"],"error":[4],"label":[1],"accessibilityLabel":[1,"accessibility-label"],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"iconLeftClickCallback":[16],"iconRightClickCallback":[16],"validators":[16],"manualValidation":[4,"manual-validation"],"theme":[1],"autocomplete":[1],"maxlength":[1],"inputTabindex":[2,"input-tabindex"],"errorMessages":[32],"isKeyboardFocus":[32],"focusVisible":[32],"getInputHtmlElement":[64],"getErrors":[64],"clearErrors":[64],"validateInput":[64]},[[8,"keydown","onKeyDown"],[9,"mousedown","onMouseDown"]]]]],["p-b95d33a4",[[1,"tet-address-offers-filters-products",{"language":[1],"clearFilterButton":[4,"clear-filter-button"],"theme":[1],"catalog":[16],"productCodes":[16],"category":[16],"subcategoryId":[1,"subcategory-id"],"availableTvProducts":[32],"activeTvFilters":[32]},null,{"language":["onLanguageChange"],"catalog":["onDataChange"],"category":["onDataChange"],"productCodes":["onProductCodesChanged"]}],[1,"tet-compare-card",{"clickCallback":[16],"index":[2],"cardType":[1,"card-type"],"theme":[1],"colorIcons":[4,"color-icons"],"fullHeight":[4,"full-height"],"bestChoice":[4,"best-choice"],"cardHeader":[1,"card-header"],"logo":[1],"image":[1],"thumbnail":[1],"thumbnailAlt":[1,"thumbnail-alt"],"language":[1],"options":[16],"minWideWidth":[2,"min-wide-width"],"cardList":[4,"card-list"],"cardBackgroundColor":[1,"card-background-color"],"cardScript":[1,"card-script"],"parentContainer":[16],"hideBestChoiceBorder":[4,"hide-best-choice-border"],"withBorder":[4,"with-border"],"priceShownVertically":[4,"price-shown-vertically"],"bestChoiceTextPosition":[1,"best-choice-text-position"],"bestChoiceTextFloating":[4,"best-choice-text-floating"],"secondaryLinkPosition":[1,"secondary-link-position"],"showBulletPoints":[4,"show-bullet-points"],"showSubTitle":[4,"show-sub-title"],"showHelper":[4,"show-helper"],"isNetflixCard":[4,"is-netflix-card"],"darkMode":[4,"dark-mode"],"currentCardType":[32]},[[0,"click","onClick"]]],[1,"tet-dropdown",{"label":[1],"labelLogo":[1,"label-logo"],"labelLogoGrayscale":[1,"label-logo-grayscale"],"labelRight":[1,"label-right"],"labelRightColor":[1,"label-right-color"],"labelSubText":[1,"label-sub-text"],"flexLayout":[4,"flex-layout"],"buttonLabel":[1,"button-label"],"allowMultiple":[4,"allow-multiple"],"closeOnSelection":[4,"close-on-selection"],"theme":[1],"options":[16],"disabled":[4],"selectedOptionIndexes":[32],"isOpen":[32],"isKeyboardFocus":[32],"getSelectedOptions":[64],"selectOption":[64]},[[8,"click","handleWindowClick"],[8,"focusout","handleFocusOut"]],{"options":["onOptionsChange"]}],[1,"tet-tag-group",{"language":[1],"tags":[16],"theme":[1]}]]]]'),e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tet/tet-components",
3
- "version": "v1.3.69-staging",
3
+ "version": "v1.3.73-staging",
4
4
  "description": "A Stencil-based Web Components library for reusable UI elements.",
5
5
  "homepage": "https://tet.lv",
6
6
  "main": "dist/index.cjs.js",
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as t,g as r}from"./p-67c5dc0a.js";const s=class{constructor(i){e(this,i),this.background="grey",this.font=void 0,this.size="L",this.headingText=void 0,this.priceType=void 0,this.euroPrice=void 0,this.centsPrice=void 0,this.footerText=void 0,this.footerTextType="regular"}render(){const e={"price-view__container":!0,"price-view__white":"white"===this.background,"price-view__black":"black"===this.background,"price-view__grey":"grey"===this.background,"price-view__yellow":"yellow"===this.background},r="monthly"===this.priceType,s=()=>{let e=3.5;return e=this.euroPrice.length<=2?r?3.5:4:this.euroPrice.length<=3?r?2.5:3:r?2:2.2,e*={L:1,M:.7,S:.55}[this.size],e+"rem"},n={L:{heading:"1.125rem",cents:"1.75rem",priceType:"1rem",footer:"0.875rem",padding:"1.625rem 1rem",width:"9.375rem",height:"9.375rem"},M:{heading:"0.875rem",cents:"1.25rem",priceType:"0.75rem",footer:"0.75rem",padding:"1.125rem 0.875rem",width:"7rem",height:"7rem"},S:{heading:"0.625rem",cents:"1.25rem",priceType:"0.5rem",footer:"0.625rem",padding:"0.5rem 0.5rem",width:"5rem",height:"5rem"}},o={heading:{fontSize:n[this.size].heading,lineHeight:n[this.size].heading},euro:{fontSize:s(),lineHeight:s()},cents:{fontSize:n[this.size].cents,lineHeight:n[this.size].cents},priceType:{fontSize:n[this.size].priceType,lineHeight:n[this.size].priceType},footer:{fontSize:n[this.size].footer,lineHeight:n[this.size].footer,textDecoration:"crossed-out"===this.footerTextType?"line-through":"none"},container:{padding:n[this.size].padding,width:n[this.size].width,height:n[this.size].height}},c=(null==this?void 0:this.centsPrice)&&(null==this?void 0:this.centsPrice.length)>0;return i(t,null,i("div",{class:e,style:o.container},i("div",{class:"price-view__body"},i("h3",{class:"price-view__heading",style:o.heading},this.headingText),i("div",{class:"price-view__price",style:{fontFamily:this.font}},i("span",{class:"price-view__euro",style:o.euro},this.euroPrice,r||c?"":"€"),i("div",{class:"price-view__cents-container"},i("span",{class:"price-view__cents",style:o.cents},null==this?void 0:this.centsPrice),this.priceType&&i("span",{class:"price-view__type",style:o.priceType},r?"€/mēn.":"",!r&&c?"EUR":""))),this.footerText&&i("p",{class:"price-view__footer",style:o.footer},this.footerText))))}get hostElement(){return r(this)}};s.style=":host{display:block}.price-view{padding:1rem;text-align:center}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 1rem;border-radius:1rem;container-type:inline-size}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-evenly}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.25rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:0.25rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";export{s as tet_price_view}