@mozaic-ds/web-components 0.12.0-beta.0 → 0.12.0-beta.1
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/package.json +2 -1
- package/public/ClickOutside-63071e7a.js +1 -15
- package/public/ClickOutside-63071e7a.js.map +1 -1
- package/public/EventForward-8492ff62.js +1 -109
- package/public/EventForward-8492ff62.js.map +1 -1
- package/public/EventHandler-02058705.js +1 -15
- package/public/EventHandler-02058705.js.map +1 -1
- package/public/adeo/components/datatable/DataTable.js +1 -1
- package/public/adeo/components/datatable/DataTable.js.map +1 -1
- package/public/adeo/components/datatable/DataTable.svelte +9 -13
- package/public/array-5b770a93.js +1 -13
- package/public/array-5b770a93.js.map +1 -1
- package/public/axis-fbc0f7b5.js +1 -174
- package/public/axis-fbc0f7b5.js.map +1 -1
- package/public/band-d7a07d2c.js +1 -186
- package/public/band-d7a07d2c.js.map +1 -1
- package/public/bricoman/components/datatable/DataTable.js +1 -1
- package/public/bricoman/components/datatable/DataTable.js.map +1 -1
- package/public/bricoman/components/datatable/DataTable.svelte +9 -13
- package/public/bundle.js +60 -56
- package/public/components/accordion/Accordion.js +1 -365
- package/public/components/accordion/Accordion.js.map +1 -1
- package/public/components/autocomplete/Autocomplete.js +1 -1515
- package/public/components/autocomplete/Autocomplete.js.map +1 -1
- package/public/components/autocomplete/Autocomplete.svelte +41 -20
- package/public/components/badge/Badge.js +1 -155
- package/public/components/badge/Badge.js.map +1 -1
- package/public/components/badge/Badge.nested.js +1 -101
- package/public/components/badge/Badge.nested.js.map +1 -1
- package/public/components/breadcrumb/Breadcrumb.js +1 -372
- package/public/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/public/components/breadcrumb/Breadcrumb.nested.js +1 -319
- package/public/components/breadcrumb/Breadcrumb.nested.js.map +1 -1
- package/public/components/button/Button.js +1 -1141
- package/public/components/button/Button.js.map +1 -1
- package/public/components/button/Button.svelte +2 -2
- package/public/components/card/Card.js +1 -369
- package/public/components/card/Card.js.map +1 -1
- package/public/components/chart/BarChart.js +1 -583
- package/public/components/chart/BarChart.js.map +1 -1
- package/public/components/chart/Donut.js +1 -1189
- package/public/components/chart/Donut.js.map +1 -1
- package/public/components/chart/GroupedBarChart.js +1 -750
- package/public/components/chart/GroupedBarChart.js.map +1 -1
- package/public/components/chart/LineChart.js +1 -1731
- package/public/components/chart/LineChart.js.map +1 -1
- package/public/components/chart/Radar.js +1 -729
- package/public/components/chart/Radar.js.map +1 -1
- package/public/components/chart/StackedBarChart.js +1 -745
- package/public/components/chart/StackedBarChart.js.map +1 -1
- package/public/components/checkbox/Checkbox.js +1 -307
- package/public/components/checkbox/Checkbox.js.map +1 -1
- package/public/components/checkboxgroup/checkboxGroup.js +1 -404
- package/public/components/checkboxgroup/checkboxGroup.js.map +1 -1
- package/public/components/checkboxgroup/checkboxgroup.types.d.ts.map +1 -1
- package/public/components/datatable/DataTable.js +1 -3098
- package/public/components/datatable/DataTable.js.map +1 -1
- package/public/components/datatable/DataTable.svelte +41 -20
- package/public/components/datatable/DataTableDefaultAction.nested.js +1 -4
- package/public/components/datatable/DataTableDefaultAction.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultEdtion.nested.js +1 -164
- package/public/components/datatable/DataTableDefaultEdtion.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js +1 -380
- package/public/components/datatable/DataTableDefaultFilterTags.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelection.nested.js +1 -424
- package/public/components/datatable/DataTableDefaultSelection.nested.js.map +1 -1
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js +1 -263
- package/public/components/datatable/DataTableDefaultSelectionLabel.nested.js.map +1 -1
- package/public/components/datatable/DataTableFooter.nested.js +1 -637
- package/public/components/datatable/DataTableFooter.nested.js.map +1 -1
- package/public/components/datatable/data.d.ts.map +1 -1
- package/public/components/datatable/datatable.types.d.ts +16 -2
- package/public/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/components/datatabledefaultaction/DataTableDefaultAction.nested.svelte +18 -0
- package/public/components/dropdown/Dropdown.js +1 -1426
- package/public/components/dropdown/Dropdown.js.map +1 -1
- package/public/components/field/Field.js +1 -375
- package/public/components/field/Field.js.map +1 -1
- package/public/components/fileuploader/FileUploader.js +1 -603
- package/public/components/fileuploader/FileUploader.js.map +1 -1
- package/public/components/fileuploader/ResultFile.nested.js +1 -344
- package/public/components/fileuploader/ResultFile.nested.js.map +1 -1
- package/public/components/flag/Flag.js +1 -174
- package/public/components/flag/Flag.js.map +1 -1
- package/public/components/header/Header.js +1 -918
- package/public/components/header/Header.js.map +1 -1
- package/public/components/header/Header.types.d.ts.map +1 -1
- package/public/components/hero/Hero.js +1 -271
- package/public/components/hero/Hero.js.map +1 -1
- package/public/components/kpi/Kpi.js +1 -404
- package/public/components/kpi/Kpi.js.map +1 -1
- package/public/components/layer/Layer.js +1 -471
- package/public/components/layer/Layer.js.map +1 -1
- package/public/components/link/Link.js +1 -380
- package/public/components/link/Link.js.map +1 -1
- package/public/components/listbox/Listbox.js +1 -595
- package/public/components/listbox/Listbox.js.map +1 -1
- package/public/components/listbox/Listbox.nested.js +1 -629
- package/public/components/listbox/Listbox.nested.js.map +1 -1
- package/public/components/loader/Loader.js +1 -246
- package/public/components/loader/Loader.js.map +1 -1
- package/public/components/loader/Loader.nested.js +1 -176
- package/public/components/loader/Loader.nested.js.map +1 -1
- package/public/components/modal/Modal.js +1 -395
- package/public/components/modal/Modal.js.map +1 -1
- package/public/components/notification/Notification.js +1 -458
- package/public/components/notification/Notification.js.map +1 -1
- package/public/components/optionbutton/OptionButton.js +1 -316
- package/public/components/optionbutton/OptionButton.js.map +1 -1
- package/public/components/overlay/Overlay.js +1 -104
- package/public/components/overlay/Overlay.js.map +1 -1
- package/public/components/overlay/OverlayLoader.js +1 -151
- package/public/components/overlay/OverlayLoader.js.map +1 -1
- package/public/components/pagination/Pagination.js +1 -613
- package/public/components/pagination/Pagination.js.map +1 -1
- package/public/components/pagination/Pagination.svelte +5 -4
- package/public/components/passwordinput/PasswordInput.js +1 -291
- package/public/components/passwordinput/PasswordInput.js.map +1 -1
- package/public/components/phonenumber/PhoneNumber.js +1 -6894
- package/public/components/phonenumber/PhoneNumber.js.map +1 -1
- package/public/components/phonenumber/PhoneNumber.svelte +1 -1
- package/public/components/price/Price.js +1 -768
- package/public/components/price/Price.js.map +1 -1
- package/public/components/progressbar/ProgressBar.js +1 -278
- package/public/components/progressbar/ProgressBar.js.map +1 -1
- package/public/components/quantityselector/QuantitySelector.js +1 -397
- package/public/components/quantityselector/QuantitySelector.js.map +1 -1
- package/public/components/radio/Radio.js +1 -273
- package/public/components/radio/Radio.js.map +1 -1
- package/public/components/radiogroup/RadioGroup.js +1 -414
- package/public/components/radiogroup/RadioGroup.js.map +1 -1
- package/public/components/radiogroup/radioGroup.types.d.ts.map +1 -1
- package/public/components/ratings/StarsInput.js +1 -292
- package/public/components/ratings/StarsInput.js.map +1 -1
- package/public/components/ratings/StarsResult.js +1 -246
- package/public/components/ratings/StarsResult.js.map +1 -1
- package/public/components/select/Select.js +1 -451
- package/public/components/select/Select.js.map +1 -1
- package/public/components/sidebar/Sidebar.js +1 -784
- package/public/components/sidebar/Sidebar.js.map +1 -1
- package/public/components/sidebar/sidebar-feature-group.nested.js +1 -592
- package/public/components/sidebar/sidebar-feature-group.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-feature.nested.js +1 -402
- package/public/components/sidebar/sidebar-feature.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-section.nested.js +1 -394
- package/public/components/sidebar/sidebar-section.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-segment.nested.js +1 -198
- package/public/components/sidebar/sidebar-segment.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-separator.nested.js +1 -49
- package/public/components/sidebar/sidebar-separator.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-service.d.ts.map +1 -1
- package/public/components/sidebar/sidebar-sub-features.nested.js +1 -312
- package/public/components/sidebar/sidebar-sub-features.nested.js.map +1 -1
- package/public/components/sidebar/sidebar-user.nested.js +1 -733
- package/public/components/sidebar/sidebar-user.nested.js.map +1 -1
- package/public/components/sidebar/sidebar.types.d.ts.map +1 -1
- package/public/components/sidebar-feature-group/sidebar-feature-group.nested.svelte +1 -1
- package/public/components/sidebar-segment/sidebar-segment.nested.svelte +1 -1
- package/public/components/sidebar-user/sidebar-user.nested.svelte +1 -0
- package/public/components/starsinput/StarsInput.svelte +9 -2
- package/public/components/stepper/Stepper.js +1 -371
- package/public/components/stepper/Stepper.js.map +1 -1
- package/public/components/tabs/Tabs.js +1 -615
- package/public/components/tabs/Tabs.js.map +1 -1
- package/public/components/tabs/Tabs.nested.js +1 -472
- package/public/components/tabs/Tabs.nested.js.map +1 -1
- package/public/components/tag/Tag.js +1 -665
- package/public/components/tag/Tag.js.map +1 -1
- package/public/components/tag/Tag.nested.js +1 -554
- package/public/components/tag/Tag.nested.js.map +1 -1
- package/public/components/tag/Tag.nested.svelte +5 -5
- package/public/components/tag/Tag.svelte +5 -5
- package/public/components/taglist/TagList.js +1 -475
- package/public/components/taglist/TagList.js.map +1 -1
- package/public/components/textarea/Textarea.js +1 -303
- package/public/components/textarea/Textarea.js.map +1 -1
- package/public/components/textinput/Textinput.js +1 -497
- package/public/components/textinput/Textinput.js.map +1 -1
- package/public/components/textinput/Textinput.nested.js +1 -320
- package/public/components/textinput/Textinput.nested.js.map +1 -1
- package/public/components/toggle/Toggle.js +1 -278
- package/public/components/toggle/Toggle.js.map +1 -1
- package/public/components/tooltip/Tooltip.js +1 -173
- package/public/components/tooltip/Tooltip.js.map +1 -1
- package/public/index-c33b3772.js +1 -873
- package/public/index-c33b3772.js.map +1 -1
- package/public/linear-f46d7e9e.js +1 -700
- package/public/linear-f46d7e9e.js.map +1 -1
- package/public/main.d.ts +0 -1
- package/public/main.d.ts.map +1 -1
- package/public/path-1b5da959.js +1 -186
- package/public/path-1b5da959.js.map +1 -1
- package/public/sidebar-service-275bf9ef.js +1 -129
- package/public/sidebar-service-275bf9ef.js.map +1 -1
- package/public/symbol-b05a6e2b.js +1 -169
- package/public/symbol-b05a6e2b.js.map +1 -1
- package/public/transform-15d69d5d.js +1 -2743
- package/public/transform-15d69d5d.js.map +1 -1
- package/public/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/utilities/DataTableUtilities.ts +12 -0
- package/public/utilities/EventForward.js +1 -136
- package/public/utilities/EventForward.js.map +1 -1
- package/public/utilities/EventHandler.js +1 -36
- package/public/utilities/EventHandler.js.map +1 -1
- package/public/utilities/components/datatable/data.d.ts.map +1 -1
- package/public/utilities/components/datatable/datatable.types.d.ts +16 -2
- package/public/utilities/components/datatable/datatable.types.d.ts.map +1 -1
- package/public/utilities/main.d.ts +0 -1
- package/public/utilities/main.d.ts.map +1 -1
- package/public/utilities/stories/datatable/DataTable.stories.d.ts.map +1 -1
- package/public/utilities/stories/ratings/StarsResult.stories.d.ts.map +1 -1
- package/public/utilities/utilities/DataTableUtilities.d.ts.map +1 -1
- package/public/DataTableDefaultAction.nested-46712849.js +0 -762
- package/public/DataTableDefaultAction.nested-46712849.js.map +0 -1
- package/public/DataTableUtilities-313a448d.js +0 -386
- package/public/DataTableUtilities-313a448d.js.map +0 -1
- package/public/components/button/Button.nested.js +0 -1005
- package/public/components/button/Button.nested.js.map +0 -1
- package/public/components/button/Button.nested.svelte +0 -173
- package/public/components/carousel/Carousel.js +0 -710
- package/public/components/carousel/Carousel.js.map +0 -1
- package/public/components/carousel/Carousel.svelte +0 -408
- package/public/components/carousel/CarouselCard.nested.js +0 -140
- package/public/components/carousel/CarouselCard.nested.js.map +0 -1
- package/public/components/carousel/carousel.types.d.ts +0 -20
- package/public/components/carousel/carousel.types.d.ts.map +0 -1
- package/public/components/carouselcard/CarouselCard.nested.svelte +0 -54
- package/public/components/link/Link.nested.js +0 -285
- package/public/components/link/Link.nested.js.map +0 -1
- package/public/components/link/Link.nested.svelte +0 -78
- package/public/sidebar-service-589b271b.js +0 -125
- package/public/sidebar-service-589b271b.js.map +0 -1
- package/public/stories/carousel/items.d.ts +0 -3
- package/public/stories/carousel/items.d.ts.map +0 -1
- package/public/utilities/components/carousel/carousel.types.d.ts +0 -20
- package/public/utilities/components/carousel/carousel.types.d.ts.map +0 -1
- package/public/utilities/stories/carousel/Carousel.stories.d.ts +0 -8
- package/public/utilities/stories/carousel/Carousel.stories.d.ts.map +0 -1
- package/public/utilities/stories/carousel/items.d.ts +0 -3
- package/public/utilities/stories/carousel/items.d.ts.map +0 -1
|
@@ -1,247 +1,2 @@
|
|
|
1
|
-
import { S as SvelteElement, i as init, a as attribute_to_object, b as insert, f as flush, s as safe_not_equal, c as assign, e as element, d as space, t as text, n as noop, g as attr, h as set_attributes, j as append, k as set_data, m as get_spread_update, o as detach, p as compute_rest_props, q as exclude_internal_props } from '../../index-c33b3772.js';
|
|
2
|
-
|
|
3
|
-
/* src/components/ratings/StarsResult.svelte generated by Svelte v3.58.0 */
|
|
4
|
-
|
|
5
|
-
function create_if_block(ctx) {
|
|
6
|
-
let span;
|
|
7
|
-
let t;
|
|
8
|
-
|
|
9
|
-
return {
|
|
10
|
-
c() {
|
|
11
|
-
span = element("span");
|
|
12
|
-
t = text(/*suffixlabel*/ ctx[3]);
|
|
13
|
-
attr(span, "class", "mc-stars-result__suffix-label mu-ml-050");
|
|
14
|
-
},
|
|
15
|
-
m(target, anchor) {
|
|
16
|
-
insert(target, span, anchor);
|
|
17
|
-
append(span, t);
|
|
18
|
-
},
|
|
19
|
-
p(ctx, dirty) {
|
|
20
|
-
if (dirty & /*suffixlabel*/ 8) set_data(t, /*suffixlabel*/ ctx[3]);
|
|
21
|
-
},
|
|
22
|
-
d(detaching) {
|
|
23
|
-
if (detaching) detach(span);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function create_fragment(ctx) {
|
|
29
|
-
let div;
|
|
30
|
-
let span0;
|
|
31
|
-
let t0;
|
|
32
|
-
let t1;
|
|
33
|
-
let span1;
|
|
34
|
-
let t2;
|
|
35
|
-
let div_class_value;
|
|
36
|
-
let if_block = /*suffixlabel*/ ctx[3] && create_if_block(ctx);
|
|
37
|
-
|
|
38
|
-
let div_levels = [
|
|
39
|
-
{
|
|
40
|
-
class: div_class_value = "" + (getRatingsClasses(/*value*/ ctx[0], /*size*/ ctx[1], /*suffixlabel*/ ctx[3]) + " " + /*userClass*/ ctx[5])
|
|
41
|
-
},
|
|
42
|
-
/*attributes*/ ctx[4]
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
let div_data = {};
|
|
46
|
-
|
|
47
|
-
for (let i = 0; i < div_levels.length; i += 1) {
|
|
48
|
-
div_data = assign(div_data, div_levels[i]);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
return {
|
|
52
|
-
c() {
|
|
53
|
-
div = element("div");
|
|
54
|
-
span0 = element("span");
|
|
55
|
-
t0 = space();
|
|
56
|
-
if (if_block) if_block.c();
|
|
57
|
-
t1 = space();
|
|
58
|
-
span1 = element("span");
|
|
59
|
-
t2 = text(/*a11ylabel*/ ctx[2]);
|
|
60
|
-
this.c = noop;
|
|
61
|
-
attr(span0, "class", "mc-stars-result__visual");
|
|
62
|
-
attr(span1, "class", "mc-stars-result__text");
|
|
63
|
-
set_attributes(div, div_data);
|
|
64
|
-
},
|
|
65
|
-
m(target, anchor) {
|
|
66
|
-
insert(target, div, anchor);
|
|
67
|
-
append(div, span0);
|
|
68
|
-
append(div, t0);
|
|
69
|
-
if (if_block) if_block.m(div, null);
|
|
70
|
-
append(div, t1);
|
|
71
|
-
append(div, span1);
|
|
72
|
-
append(span1, t2);
|
|
73
|
-
},
|
|
74
|
-
p(ctx, [dirty]) {
|
|
75
|
-
if (/*suffixlabel*/ ctx[3]) {
|
|
76
|
-
if (if_block) {
|
|
77
|
-
if_block.p(ctx, dirty);
|
|
78
|
-
} else {
|
|
79
|
-
if_block = create_if_block(ctx);
|
|
80
|
-
if_block.c();
|
|
81
|
-
if_block.m(div, t1);
|
|
82
|
-
}
|
|
83
|
-
} else if (if_block) {
|
|
84
|
-
if_block.d(1);
|
|
85
|
-
if_block = null;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (dirty & /*a11ylabel*/ 4) set_data(t2, /*a11ylabel*/ ctx[2]);
|
|
89
|
-
|
|
90
|
-
set_attributes(div, div_data = get_spread_update(div_levels, [
|
|
91
|
-
dirty & /*value, size, suffixlabel, userClass*/ 43 && div_class_value !== (div_class_value = "" + (getRatingsClasses(/*value*/ ctx[0], /*size*/ ctx[1], /*suffixlabel*/ ctx[3]) + " " + /*userClass*/ ctx[5])) && { class: div_class_value },
|
|
92
|
-
dirty & /*attributes*/ 16 && /*attributes*/ ctx[4]
|
|
93
|
-
]));
|
|
94
|
-
},
|
|
95
|
-
i: noop,
|
|
96
|
-
o: noop,
|
|
97
|
-
d(detaching) {
|
|
98
|
-
if (detaching) detach(div);
|
|
99
|
-
if (if_block) if_block.d();
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function getRatingsClasses(value, size, suffixLabel) {
|
|
105
|
-
const classes = [
|
|
106
|
-
'mc-stars-result',
|
|
107
|
-
`mc-stars-result--score-${computeRatingsPercentage(value)}`,
|
|
108
|
-
`mc-stars-result--${size}`
|
|
109
|
-
];
|
|
110
|
-
|
|
111
|
-
const shouldAddFlexDisplay = !!suffixLabel;
|
|
112
|
-
|
|
113
|
-
if (shouldAddFlexDisplay) {
|
|
114
|
-
classes.push('ml-flexy', 'ml-flexy--items-center');
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
return classes.join(' ');
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
function computeRatingsPercentage(value) {
|
|
121
|
-
const roundedValue = Math.round(value * 2) / 2;
|
|
122
|
-
let correctedValue = roundedValue;
|
|
123
|
-
|
|
124
|
-
if (correctedValue < 0) {
|
|
125
|
-
correctedValue = 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (correctedValue > 5) {
|
|
129
|
-
correctedValue = 5;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
return correctedValue * 20;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
function instance($$self, $$props, $$invalidate) {
|
|
136
|
-
let userClass;
|
|
137
|
-
let attributes;
|
|
138
|
-
const omit_props_names = ["value","size","a11ylabel","suffixlabel"];
|
|
139
|
-
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
140
|
-
let { value = 0 } = $$props;
|
|
141
|
-
let { size = 'm' } = $$props;
|
|
142
|
-
let { a11ylabel = '' } = $$props;
|
|
143
|
-
let { suffixlabel = undefined } = $$props;
|
|
144
|
-
|
|
145
|
-
$$self.$$set = $$new_props => {
|
|
146
|
-
$$invalidate(7, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
|
147
|
-
$$invalidate(6, $$restProps = compute_rest_props($$props, omit_props_names));
|
|
148
|
-
if ('value' in $$new_props) $$invalidate(0, value = $$new_props.value);
|
|
149
|
-
if ('size' in $$new_props) $$invalidate(1, size = $$new_props.size);
|
|
150
|
-
if ('a11ylabel' in $$new_props) $$invalidate(2, a11ylabel = $$new_props.a11ylabel);
|
|
151
|
-
if ('suffixlabel' in $$new_props) $$invalidate(3, suffixlabel = $$new_props.suffixlabel);
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
$$self.$$.update = () => {
|
|
155
|
-
$$invalidate(5, userClass = $$props.class);
|
|
156
|
-
$$invalidate(4, attributes = Object.assign({}, $$restProps));
|
|
157
|
-
|
|
158
|
-
if ($$self.$$.dirty & /*attributes*/ 16) {
|
|
159
|
-
delete attributes.class;
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
$$props = exclude_internal_props($$props);
|
|
164
|
-
return [value, size, a11ylabel, suffixlabel, attributes, userClass];
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
class StarsResult extends SvelteElement {
|
|
168
|
-
constructor(options) {
|
|
169
|
-
super();
|
|
170
|
-
const style = document.createElement('style');
|
|
171
|
-
style.textContent = `.mc-stars-result{font-family:"LeroyMerlin", sans-serif;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-stars-result__text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;visibility:visible;white-space:nowrap}.mc-stars-result__visual{height:1.5rem;width:7.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M12 1.5a1 1 0 01.908.58l2.772 6.007 6.462.923a1 1 0 01.491 1.764l-4.99 4.084 1.819 6.367a1 1 0 01-1.486 1.127L12 18.674l-5.976 3.678a1 1 0 01-1.485-1.127l1.819-6.367-4.991-4.084a1 1 0 01.492-1.764l6.461-.923 2.772-6.006A1 1 0 0112 1.5zm0 3.386L9.908 9.42l-.228.494-.539.077-4.745.678 3.737 3.058.51.416-.181.633L7.169 19.3l4.307-2.65.524-.323.524.322 4.307 2.65-1.292-4.523-.181-.633.509-.416 3.738-3.058-4.746-.678-.539-.077-.228-.494L12 4.886z'/%3E%3C/svg%3E");position:relative}.mc-stars-result__visual::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M12.908 2.08a1 1 0 00-1.816 0L8.32 8.088l-6.46.922a1 1 0 00-.492 1.764l4.99 4.084-1.818 6.367a1 1 0 001.485 1.127L12 18.674l5.976 3.678a1 1 0 001.486-1.127l-1.82-6.367 4.991-4.084a1 1 0 00-.491-1.764l-6.462-.923-2.772-6.006z'/%3E%3C/svg%3E")}.mc-stars-result__visual,.mc-stars-result__visual::before{background-position:left top;background-repeat:repeat-x;background-size:1.5rem 1.5rem;display:block}.mc-stars-result__visual::before{bottom:0;content:"";left:0;position:absolute;top:0}.mc-stars-result__label{font-size:1.125rem;line-height:1;color:#000000;margin-left:0.5rem}.mc-stars-result__label--score{font-weight:600}.mc-stars-result--s .mc-stars-result__visual{height:1rem;width:5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' viewBox='0 0 16 16' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M8 1.5a1 1 0 01.906.577l1.536 3.292 3.254.65a1 1 0 01.437 1.755l-2.296 1.879.648 3.673a1 1 0 01-1.566.988L8 12.229l-2.919 2.085a1 1 0 01-1.566-.988l.648-3.673-2.296-1.879a1 1 0 01.437-1.755l3.254-.65 1.536-3.292A1 1 0 018 1.5zm0 3.365l-.844 1.808-.214.458-.496.1-1.675.335 1.112.91.454.371-.102.577-.325 1.84 1.509-1.078L8 9.771l.581.415 1.509 1.078-.325-1.84-.102-.577.454-.371 1.112-.91-1.675-.335-.496-.1-.214-.458L8 4.865z'/%3E%3C/svg%3E")}.mc-stars-result--s .mc-stars-result__visual::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' viewBox='0 0 16 16' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M8.906 2.077a1 1 0 00-1.812 0L5.558 5.37l-3.254.65a1 1 0 00-.437 1.755l2.296 1.879-.648 3.673a1 1 0 001.566.988L8 12.229l2.919 2.085a1 1 0 001.566-.988l-.648-3.673 2.296-1.879a1 1 0 00-.437-1.755l-3.254-.65-1.536-3.292z'/%3E%3C/svg%3E")}.mc-stars-result--s .mc-stars-result__visual,.mc-stars-result--s .mc-stars-result__visual::before{background-size:1rem 1rem}.mc-stars-result--l .mc-stars-result__visual{height:2rem;width:10rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M16 2.333a1 1 0 01.908.581l3.772 8.173 8.795 1.256a1 1 0 01.492 1.764l-6.825 5.584 2.487 8.7a1 1 0 01-1.486 1.127L16 24.508l-8.142 5.01a1 1 0 01-1.486-1.126l2.486-8.701-6.824-5.584a1 1 0 01.492-1.764l8.794-1.256 3.772-8.173a1 1 0 01.908-.58zm0 3.387l-3.092 6.699-.228.494-.538.077L5.062 14l5.572 4.558.508.417-.18.632-1.96 6.857 6.474-3.983.524-.323.524.323 6.474 3.983-1.96-6.857-.18-.632.51-.417L26.938 14l-7.08-1.011-.538-.077-.228-.494L16 5.719z'/%3E%3C/svg%3E")}.mc-stars-result--l .mc-stars-result__visual::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M16.908 2.914a1 1 0 00-1.816 0l-3.772 8.173-8.794 1.256a1 1 0 00-.492 1.764l6.824 5.584-2.486 8.7a1 1 0 001.486 1.127L16 24.508l8.143 5.01a1 1 0 001.486-1.126l-2.487-8.701 6.825-5.584a1 1 0 00-.492-1.764l-8.795-1.256-3.772-8.173z'/%3E%3C/svg%3E")}.mc-stars-result--l .mc-stars-result__visual,.mc-stars-result--l .mc-stars-result__visual::before{background-size:2rem 2rem}.mc-stars-result--xl .mc-stars-result__visual{height:3rem;width:15rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='3rem' width='3rem' viewBox='0 0 48 48' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M24 3.5a1.5 1.5 0 011.362.871l5.658 12.26 13.192 1.884a1.5 1.5 0 01.738 2.646l-10.237 8.375 3.73 13.052a1.5 1.5 0 01-2.23 1.69L24 36.76l-12.214 7.517a1.5 1.5 0 01-2.228-1.69l3.729-13.052L3.05 21.161a1.5 1.5 0 01.738-2.646l13.192-1.884 5.658-12.26A1.5 1.5 0 0124 3.5zm0 5.08l-4.638 10.049-.342.74-.808.116-10.619 1.517 8.357 6.837.763.625-.27.948-2.94 10.286 9.71-5.976.787-.483.786.483 9.71 5.976-2.938-10.286-.271-.948.763-.625 8.357-6.837-10.62-1.517-.807-.116-.342-.74L24 8.579z'/%3E%3C/svg%3E")}.mc-stars-result--xl .mc-stars-result__visual::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='3rem' width='3rem' viewBox='0 0 48 48' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M24.908 4.58a1 1 0 00-1.816 0L17.32 17.088 3.86 19.01a1 1 0 00-.492 1.764l10.49 8.584-3.818 13.367a1 1 0 001.485 1.127L24 36.174l12.476 7.678a1 1 0 001.486-1.127l-3.82-13.367 10.491-8.584a1 1 0 00-.492-1.764L30.68 17.087 24.908 4.581z'/%3E%3C/svg%3E")}.mc-stars-result--xl .mc-stars-result__visual,.mc-stars-result--xl .mc-stars-result__visual::before{background-size:3rem 3rem}.mc-stars-result--score-10 .mc-stars-result__visual::before{width:10%}.mc-stars-result--score-20 .mc-stars-result__visual::before{width:20%}.mc-stars-result--score-30 .mc-stars-result__visual::before{width:30%}.mc-stars-result--score-40 .mc-stars-result__visual::before{width:40%}.mc-stars-result--score-50 .mc-stars-result__visual::before{width:50%}.mc-stars-result--score-60 .mc-stars-result__visual::before{width:60%}.mc-stars-result--score-70 .mc-stars-result__visual::before{width:70%}.mc-stars-result--score-80 .mc-stars-result__visual::before{width:80%}.mc-stars-result--score-90 .mc-stars-result__visual::before{width:90%}.mc-stars-result--score-100 .mc-stars-result__visual::before{width:100%}.mu-mt-025{margin-top:0.25rem !important}.mu-mt-050{margin-top:0.5rem !important}.mu-mt-075{margin-top:0.75rem !important}.mu-mt-100{margin-top:1rem !important}.mu-mt-125{margin-top:1.25rem !important}.mu-mt-150{margin-top:1.5rem !important}.mu-mt-200{margin-top:2rem !important}.mu-mt-250{margin-top:2.5rem !important}.mu-mt-300{margin-top:3rem !important}.mu-mt-350{margin-top:3.5rem !important}.mu-mt-400{margin-top:4rem !important}.mu-mt-500{margin-top:5rem !important}.mu-mt-600{margin-top:6rem !important}.mu-mt-700{margin-top:7rem !important}.mu-mt-800{margin-top:8rem !important}.mu-mt-900{margin-top:9rem !important}.mu-mt-1000{margin-top:10rem !important}.mu-mr-025{margin-right:0.25rem !important}.mu-mr-050{margin-right:0.5rem !important}.mu-mr-075{margin-right:0.75rem !important}.mu-mr-100{margin-right:1rem !important}.mu-mr-125{margin-right:1.25rem !important}.mu-mr-150{margin-right:1.5rem !important}.mu-mr-200{margin-right:2rem !important}.mu-mr-250{margin-right:2.5rem !important}.mu-mr-300{margin-right:3rem !important}.mu-mr-350{margin-right:3.5rem !important}.mu-mr-400{margin-right:4rem !important}.mu-mr-500{margin-right:5rem !important}.mu-mr-600{margin-right:6rem !important}.mu-mr-700{margin-right:7rem !important}.mu-mr-800{margin-right:8rem !important}.mu-mr-900{margin-right:9rem !important}.mu-mr-1000{margin-right:10rem !important}.mu-ml-025{margin-left:0.25rem !important}.mu-ml-050{margin-left:0.5rem !important}.mu-ml-075{margin-left:0.75rem !important}.mu-ml-100{margin-left:1rem !important}.mu-ml-125{margin-left:1.25rem !important}.mu-ml-150{margin-left:1.5rem !important}.mu-ml-200{margin-left:2rem !important}.mu-ml-250{margin-left:2.5rem !important}.mu-ml-300{margin-left:3rem !important}.mu-ml-350{margin-left:3.5rem !important}.mu-ml-400{margin-left:4rem !important}.mu-ml-500{margin-left:5rem !important}.mu-ml-600{margin-left:6rem !important}.mu-ml-700{margin-left:7rem !important}.mu-ml-800{margin-left:8rem !important}.mu-ml-900{margin-left:9rem !important}.mu-ml-1000{margin-left:10rem !important}.mu-mb-025{margin-bottom:0.25rem !important}.mu-mb-050{margin-bottom:0.5rem !important}.mu-mb-075{margin-bottom:0.75rem !important}.mu-mb-100{margin-bottom:1rem !important}.mu-mb-125{margin-bottom:1.25rem !important}.mu-mb-150{margin-bottom:1.5rem !important}.mu-mb-200{margin-bottom:2rem !important}.mu-mb-250{margin-bottom:2.5rem !important}.mu-mb-300{margin-bottom:3rem !important}.mu-mb-350{margin-bottom:3.5rem !important}.mu-mb-400{margin-bottom:4rem !important}.mu-mb-500{margin-bottom:5rem !important}.mu-mb-600{margin-bottom:6rem !important}.mu-mb-700{margin-bottom:7rem !important}.mu-mb-800{margin-bottom:8rem !important}.mu-mb-900{margin-bottom:9rem !important}.mu-mb-1000{margin-bottom:10rem !important}.mu-m-025{margin:0.25rem !important}.mu-m-050{margin:0.5rem !important}.mu-m-075{margin:0.75rem !important}.mu-m-100{margin:1rem !important}.mu-m-125{margin:1.25rem !important}.mu-m-150{margin:1.5rem !important}.mu-m-200{margin:2rem !important}.mu-m-250{margin:2.5rem !important}.mu-m-300{margin:3rem !important}.mu-m-350{margin:3.5rem !important}.mu-m-400{margin:4rem !important}.mu-m-500{margin:5rem !important}.mu-m-600{margin:6rem !important}.mu-m-700{margin:7rem !important}.mu-m-800{margin:8rem !important}.mu-m-900{margin:9rem !important}.mu-m-1000{margin:10rem !important}.mu-mv-025{margin-top:0.25rem !important;margin-bottom:0.25rem !important}.mu-mv-050{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mu-mv-075{margin-top:0.75rem !important;margin-bottom:0.75rem !important}.mu-mv-100{margin-top:1rem !important;margin-bottom:1rem !important}.mu-mv-125{margin-top:1.25rem !important;margin-bottom:1.25rem !important}.mu-mv-150{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mu-mv-200{margin-top:2rem !important;margin-bottom:2rem !important}.mu-mv-250{margin-top:2.5rem !important;margin-bottom:2.5rem !important}.mu-mv-300{margin-top:3rem !important;margin-bottom:3rem !important}.mu-mv-350{margin-top:3.5rem !important;margin-bottom:3.5rem !important}.mu-mv-400{margin-top:4rem !important;margin-bottom:4rem !important}.mu-mv-500{margin-top:5rem !important;margin-bottom:5rem !important}.mu-mv-600{margin-top:6rem !important;margin-bottom:6rem !important}.mu-mv-700{margin-top:7rem !important;margin-bottom:7rem !important}.mu-mv-800{margin-top:8rem !important;margin-bottom:8rem !important}.mu-mv-900{margin-top:9rem !important;margin-bottom:9rem !important}.mu-mv-1000{margin-top:10rem !important;margin-bottom:10rem !important}.mu-mh-025{margin-left:0.25rem !important;margin-right:0.25rem !important}.mu-mh-050{margin-left:0.5rem !important;margin-right:0.5rem !important}.mu-mh-075{margin-left:0.75rem !important;margin-right:0.75rem !important}.mu-mh-100{margin-left:1rem !important;margin-right:1rem !important}.mu-mh-125{margin-left:1.25rem !important;margin-right:1.25rem !important}.mu-mh-150{margin-left:1.5rem !important;margin-right:1.5rem !important}.mu-mh-200{margin-left:2rem !important;margin-right:2rem !important}.mu-mh-250{margin-left:2.5rem !important;margin-right:2.5rem !important}.mu-mh-300{margin-left:3rem !important;margin-right:3rem !important}.mu-mh-350{margin-left:3.5rem !important;margin-right:3.5rem !important}.mu-mh-400{margin-left:4rem !important;margin-right:4rem !important}.mu-mh-500{margin-left:5rem !important;margin-right:5rem !important}.mu-mh-600{margin-left:6rem !important;margin-right:6rem !important}.mu-mh-700{margin-left:7rem !important;margin-right:7rem !important}.mu-mh-800{margin-left:8rem !important;margin-right:8rem !important}.mu-mh-900{margin-left:9rem !important;margin-right:9rem !important}.mu-mh-1000{margin-left:10rem !important;margin-right:10rem !important}.ml-flexy{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ml-flexy--gutter{margin-right:-0.5rem;margin-left:-0.5rem}.ml-flexy--space-around{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy--items-stretch{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.ml-flexy--items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ml-flexy--items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ml-flexy--items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ml-flexy__col{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--fill{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2{margin-left:50%}.ml-flexy__col--1of3{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3{margin-left:33.3333333333%}.ml-flexy__col--2of3{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3{margin-left:66.6666666667%}.ml-flexy__col--1of4{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4{margin-left:25%}.ml-flexy__col--3of4{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4{margin-left:75%}.ml-flexy__col--1of6{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6{margin-left:16.6666666667%}.ml-flexy__col--5of6{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6{margin-left:83.3333333333%}.ml-flexy__col--1of12{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12{margin-left:8.3333333333%}.ml-flexy__col--2of12{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12{margin-left:16.6666666667%}.ml-flexy__col--3of12{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12{margin-left:25%}.ml-flexy__col--4of12{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12{margin-left:33.3333333333%}.ml-flexy__col--5of12{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12{margin-left:41.6666666667%}.ml-flexy__col--6of12{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12{margin-left:50%}.ml-flexy__col--7of12{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12{margin-left:58.3333333333%}.ml-flexy__col--8of12{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12{margin-left:66.6666666667%}.ml-flexy__col--9of12{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12{margin-left:75%}.ml-flexy__col--10of12{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12{margin-left:83.3333333333%}.ml-flexy__col--11of12{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12{margin-left:91.6666666667%}.ml-flexy__col--initial{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset{margin-left:auto}@media screen and (min-width: 680px){.ml-flexy--gutter{margin-right:-1rem;margin-left:-1rem}.ml-flexy--space-around\\@from-m{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-m{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-m{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-m{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-m{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-m{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-m{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-m{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-m{margin-left:50%}.ml-flexy__col--1of3\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-m{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-m{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-m{margin-left:25%}.ml-flexy__col--3of4\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-m{margin-left:75%}.ml-flexy__col--1of6\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-m{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-m{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-m{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-m{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-m{margin-left:25%}.ml-flexy__col--4of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-m{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-m{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-m{margin-left:50%}.ml-flexy__col--7of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-m{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-m{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-m{margin-left:75%}.ml-flexy__col--10of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-m{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-m{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-m{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-m{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-m{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-m{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-m{margin-left:auto}}@media screen and (min-width: 1024px){.ml-flexy--space-around\\@from-l{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-l{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-l{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-l{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-l{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-l{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-l{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-l{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-l{margin-left:50%}.ml-flexy__col--1of3\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-l{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-l{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-l{margin-left:25%}.ml-flexy__col--3of4\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-l{margin-left:75%}.ml-flexy__col--1of6\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-l{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-l{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-l{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-l{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-l{margin-left:25%}.ml-flexy__col--4of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-l{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-l{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-l{margin-left:50%}.ml-flexy__col--7of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-l{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-l{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-l{margin-left:75%}.ml-flexy__col--10of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-l{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-l{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-l{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-l{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-l{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-l{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-l{margin-left:auto}}@media screen and (min-width: 1280px){.ml-flexy--space-around\\@from-xl{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-xl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-xl{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-xl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-xl{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-xl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-xl{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-xl{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-xl{margin-left:50%}.ml-flexy__col--1of3\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-xl{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-xl{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-xl{margin-left:25%}.ml-flexy__col--3of4\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-xl{margin-left:75%}.ml-flexy__col--1of6\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-xl{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-xl{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-xl{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-xl{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-xl{margin-left:25%}.ml-flexy__col--4of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-xl{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-xl{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-xl{margin-left:50%}.ml-flexy__col--7of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-xl{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-xl{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-xl{margin-left:75%}.ml-flexy__col--10of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-xl{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-xl{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-xl{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-xl{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-xl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-xl{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-xl{margin-left:auto}}@media screen and (min-width: 1920px){.ml-flexy--space-around\\@from-xxl{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-xxl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-xxl{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-xxl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-xxl{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-xxl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-xxl{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-xxl{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-xxl{margin-left:50%}.ml-flexy__col--1of3\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-xxl{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-xxl{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-xxl{margin-left:25%}.ml-flexy__col--3of4\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-xxl{margin-left:75%}.ml-flexy__col--1of6\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-xxl{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-xxl{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-xxl{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-xxl{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-xxl{margin-left:25%}.ml-flexy__col--4of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-xxl{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-xxl{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-xxl{margin-left:50%}.ml-flexy__col--7of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-xxl{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-xxl{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-xxl{margin-left:75%}.ml-flexy__col--10of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-xxl{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-xxl{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-xxl{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-xxl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-xxl{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-xxl{margin-left:auto}}.mc-stars-result{font-family:"LeroyMerlin", sans-serif;font-weight:400}.mc-stars-result--s .mc-stars-result__suffix-label{font-size:0.75rem;line-height:1.5;color:#4d4d4d}.mc-stars-result--l .mc-stars-result__suffix-label{font-size:1.125rem;line-height:1.5555555556}.mc-stars-result--xl .mc-stars-result__suffix-label{font-size:1.75rem;line-height:1.5714285714}`;
|
|
172
|
-
this.shadowRoot.appendChild(style);
|
|
173
|
-
|
|
174
|
-
init(
|
|
175
|
-
this,
|
|
176
|
-
{
|
|
177
|
-
target: this.shadowRoot,
|
|
178
|
-
props: attribute_to_object(this.attributes),
|
|
179
|
-
customElement: true
|
|
180
|
-
},
|
|
181
|
-
instance,
|
|
182
|
-
create_fragment,
|
|
183
|
-
safe_not_equal,
|
|
184
|
-
{
|
|
185
|
-
value: 0,
|
|
186
|
-
size: 1,
|
|
187
|
-
a11ylabel: 2,
|
|
188
|
-
suffixlabel: 3
|
|
189
|
-
},
|
|
190
|
-
null
|
|
191
|
-
);
|
|
192
|
-
|
|
193
|
-
if (options) {
|
|
194
|
-
if (options.target) {
|
|
195
|
-
insert(options.target, this, options.anchor);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (options.props) {
|
|
199
|
-
this.$set(options.props);
|
|
200
|
-
flush();
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
static get observedAttributes() {
|
|
206
|
-
return ["value", "size", "a11ylabel", "suffixlabel"];
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
get value() {
|
|
210
|
-
return this.$$.ctx[0];
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
set value(value) {
|
|
214
|
-
this.$$set({ value });
|
|
215
|
-
flush();
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
get size() {
|
|
219
|
-
return this.$$.ctx[1];
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
set size(size) {
|
|
223
|
-
this.$$set({ size });
|
|
224
|
-
flush();
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
get a11ylabel() {
|
|
228
|
-
return this.$$.ctx[2];
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
set a11ylabel(a11ylabel) {
|
|
232
|
-
this.$$set({ a11ylabel });
|
|
233
|
-
flush();
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
get suffixlabel() {
|
|
237
|
-
return this.$$.ctx[3];
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
set suffixlabel(suffixlabel) {
|
|
241
|
-
this.$$set({ suffixlabel });
|
|
242
|
-
flush();
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export { StarsResult as default };
|
|
1
|
+
import{S as l,i as m,a as e,b as t,f,s as r,c as o,e as x,d as i,t as a,n as s,g as n,h as u,j as _,k as c,m as b,o as p,p as g,q as y}from"../../index-c33b3772.js";function h(l){let m,e;return{c(){m=x("span"),e=a(l[3]),n(m,"class","mc-stars-result__suffix-label mu-ml-050")},m(l,f){t(l,m,f),_(m,e)},p(l,m){8&m&&c(e,l[3])},d(l){l&&p(m)}}}function w(l){let m,e,f,r,g,y,w,k=l[3]&&h(l),v=[{class:w=d(l[0],l[1],l[3])+" "+l[5]},l[4]],j={};for(let l=0;l<v.length;l+=1)j=o(j,v[l]);return{c(){m=x("div"),e=x("span"),f=i(),k&&k.c(),r=i(),g=x("span"),y=a(l[2]),this.c=s,n(e,"class","mc-stars-result__visual"),n(g,"class","mc-stars-result__text"),u(m,j)},m(l,o){t(l,m,o),_(m,e),_(m,f),k&&k.m(m,null),_(m,r),_(m,g),_(g,y)},p(l,[e]){l[3]?k?k.p(l,e):(k=h(l),k.c(),k.m(m,r)):k&&(k.d(1),k=null),4&e&&c(y,l[2]),u(m,j=b(v,[43&e&&w!==(w=d(l[0],l[1],l[3])+" "+l[5])&&{class:w},16&e&&l[4]]))},i:s,o:s,d(l){l&&p(m),k&&k.d()}}}function d(l,m,e){const t=["mc-stars-result",`mc-stars-result--score-${k(l)}`,`mc-stars-result--${m}`];return!!e&&t.push("ml-flexy","ml-flexy--items-center"),t.join(" ")}function k(l){let m=Math.round(2*l)/2;return m<0&&(m=0),m>5&&(m=5),20*m}function v(l,m,e){let t,f;const r=["value","size","a11ylabel","suffixlabel"];let x=g(m,r),{value:i=0}=m,{size:a="m"}=m,{a11ylabel:s=""}=m,{suffixlabel:n}=m;return l.$$set=l=>{e(7,m=o(o({},m),y(l))),e(6,x=g(m,r)),"value"in l&&e(0,i=l.value),"size"in l&&e(1,a=l.size),"a11ylabel"in l&&e(2,s=l.a11ylabel),"suffixlabel"in l&&e(3,n=l.suffixlabel)},l.$$.update=()=>{e(5,t=m.class),e(4,f=Object.assign({},x)),16&l.$$.dirty&&delete f.class},m=y(m),[i,a,s,n,f,t]}class j extends l{constructor(l){super();const o=document.createElement("style");o.textContent=".mc-stars-result{font-family:\"LeroyMerlin\", sans-serif;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.mc-stars-result__text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;visibility:visible;white-space:nowrap}.mc-stars-result__visual{height:1.5rem;width:7.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M12 1.5a1 1 0 01.908.58l2.772 6.007 6.462.923a1 1 0 01.491 1.764l-4.99 4.084 1.819 6.367a1 1 0 01-1.486 1.127L12 18.674l-5.976 3.678a1 1 0 01-1.485-1.127l1.819-6.367-4.991-4.084a1 1 0 01.492-1.764l6.461-.923 2.772-6.006A1 1 0 0112 1.5zm0 3.386L9.908 9.42l-.228.494-.539.077-4.745.678 3.737 3.058.51.416-.181.633L7.169 19.3l4.307-2.65.524-.323.524.322 4.307 2.65-1.292-4.523-.181-.633.509-.416 3.738-3.058-4.746-.678-.539-.077-.228-.494L12 4.886z'/%3E%3C/svg%3E\");position:relative}.mc-stars-result__visual::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M12.908 2.08a1 1 0 00-1.816 0L8.32 8.088l-6.46.922a1 1 0 00-.492 1.764l4.99 4.084-1.818 6.367a1 1 0 001.485 1.127L12 18.674l5.976 3.678a1 1 0 001.486-1.127l-1.82-6.367 4.991-4.084a1 1 0 00-.491-1.764l-6.462-.923-2.772-6.006z'/%3E%3C/svg%3E\")}.mc-stars-result__visual,.mc-stars-result__visual::before{background-position:left top;background-repeat:repeat-x;background-size:1.5rem 1.5rem;display:block}.mc-stars-result__visual::before{bottom:0;content:\"\";left:0;position:absolute;top:0}.mc-stars-result__label{font-size:1.125rem;line-height:1;color:#000000;margin-left:0.5rem}.mc-stars-result__label--score{font-weight:600}.mc-stars-result--s .mc-stars-result__visual{height:1rem;width:5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' viewBox='0 0 16 16' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M8 1.5a1 1 0 01.906.577l1.536 3.292 3.254.65a1 1 0 01.437 1.755l-2.296 1.879.648 3.673a1 1 0 01-1.566.988L8 12.229l-2.919 2.085a1 1 0 01-1.566-.988l.648-3.673-2.296-1.879a1 1 0 01.437-1.755l3.254-.65 1.536-3.292A1 1 0 018 1.5zm0 3.365l-.844 1.808-.214.458-.496.1-1.675.335 1.112.91.454.371-.102.577-.325 1.84 1.509-1.078L8 9.771l.581.415 1.509 1.078-.325-1.84-.102-.577.454-.371 1.112-.91-1.675-.335-.496-.1-.214-.458L8 4.865z'/%3E%3C/svg%3E\")}.mc-stars-result--s .mc-stars-result__visual::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' viewBox='0 0 16 16' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M8.906 2.077a1 1 0 00-1.812 0L5.558 5.37l-3.254.65a1 1 0 00-.437 1.755l2.296 1.879-.648 3.673a1 1 0 001.566.988L8 12.229l2.919 2.085a1 1 0 001.566-.988l-.648-3.673 2.296-1.879a1 1 0 00-.437-1.755l-3.254-.65-1.536-3.292z'/%3E%3C/svg%3E\")}.mc-stars-result--s .mc-stars-result__visual,.mc-stars-result--s .mc-stars-result__visual::before{background-size:1rem 1rem}.mc-stars-result--l .mc-stars-result__visual{height:2rem;width:10rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M16 2.333a1 1 0 01.908.581l3.772 8.173 8.795 1.256a1 1 0 01.492 1.764l-6.825 5.584 2.487 8.7a1 1 0 01-1.486 1.127L16 24.508l-8.142 5.01a1 1 0 01-1.486-1.126l2.486-8.701-6.824-5.584a1 1 0 01.492-1.764l8.794-1.256 3.772-8.173a1 1 0 01.908-.58zm0 3.387l-3.092 6.699-.228.494-.538.077L5.062 14l5.572 4.558.508.417-.18.632-1.96 6.857 6.474-3.983.524-.323.524.323 6.474 3.983-1.96-6.857-.18-.632.51-.417L26.938 14l-7.08-1.011-.538-.077-.228-.494L16 5.719z'/%3E%3C/svg%3E\")}.mc-stars-result--l .mc-stars-result__visual::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M16.908 2.914a1 1 0 00-1.816 0l-3.772 8.173-8.794 1.256a1 1 0 00-.492 1.764l6.824 5.584-2.486 8.7a1 1 0 001.486 1.127L16 24.508l8.143 5.01a1 1 0 001.486-1.126l-2.487-8.701 6.825-5.584a1 1 0 00-.492-1.764l-8.795-1.256-3.772-8.173z'/%3E%3C/svg%3E\")}.mc-stars-result--l .mc-stars-result__visual,.mc-stars-result--l .mc-stars-result__visual::before{background-size:2rem 2rem}.mc-stars-result--xl .mc-stars-result__visual{height:3rem;width:15rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='3rem' width='3rem' viewBox='0 0 48 48' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M24 3.5a1.5 1.5 0 011.362.871l5.658 12.26 13.192 1.884a1.5 1.5 0 01.738 2.646l-10.237 8.375 3.73 13.052a1.5 1.5 0 01-2.23 1.69L24 36.76l-12.214 7.517a1.5 1.5 0 01-2.228-1.69l3.729-13.052L3.05 21.161a1.5 1.5 0 01.738-2.646l13.192-1.884 5.658-12.26A1.5 1.5 0 0124 3.5zm0 5.08l-4.638 10.049-.342.74-.808.116-10.619 1.517 8.357 6.837.763.625-.27.948-2.94 10.286 9.71-5.976.787-.483.786.483 9.71 5.976-2.938-10.286-.271-.948.763-.625 8.357-6.837-10.62-1.517-.807-.116-.342-.74L24 8.579z'/%3E%3C/svg%3E\")}.mc-stars-result--xl .mc-stars-result__visual::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='3rem' width='3rem' viewBox='0 0 48 48' fill='%23ea7315'%3E%3Cpath fill-rule='evenodd' d='M24.908 4.58a1 1 0 00-1.816 0L17.32 17.088 3.86 19.01a1 1 0 00-.492 1.764l10.49 8.584-3.818 13.367a1 1 0 001.485 1.127L24 36.174l12.476 7.678a1 1 0 001.486-1.127l-3.82-13.367 10.491-8.584a1 1 0 00-.492-1.764L30.68 17.087 24.908 4.581z'/%3E%3C/svg%3E\")}.mc-stars-result--xl .mc-stars-result__visual,.mc-stars-result--xl .mc-stars-result__visual::before{background-size:3rem 3rem}.mc-stars-result--score-10 .mc-stars-result__visual::before{width:10%}.mc-stars-result--score-20 .mc-stars-result__visual::before{width:20%}.mc-stars-result--score-30 .mc-stars-result__visual::before{width:30%}.mc-stars-result--score-40 .mc-stars-result__visual::before{width:40%}.mc-stars-result--score-50 .mc-stars-result__visual::before{width:50%}.mc-stars-result--score-60 .mc-stars-result__visual::before{width:60%}.mc-stars-result--score-70 .mc-stars-result__visual::before{width:70%}.mc-stars-result--score-80 .mc-stars-result__visual::before{width:80%}.mc-stars-result--score-90 .mc-stars-result__visual::before{width:90%}.mc-stars-result--score-100 .mc-stars-result__visual::before{width:100%}.mu-mt-025{margin-top:0.25rem !important}.mu-mt-050{margin-top:0.5rem !important}.mu-mt-075{margin-top:0.75rem !important}.mu-mt-100{margin-top:1rem !important}.mu-mt-125{margin-top:1.25rem !important}.mu-mt-150{margin-top:1.5rem !important}.mu-mt-200{margin-top:2rem !important}.mu-mt-250{margin-top:2.5rem !important}.mu-mt-300{margin-top:3rem !important}.mu-mt-350{margin-top:3.5rem !important}.mu-mt-400{margin-top:4rem !important}.mu-mt-500{margin-top:5rem !important}.mu-mt-600{margin-top:6rem !important}.mu-mt-700{margin-top:7rem !important}.mu-mt-800{margin-top:8rem !important}.mu-mt-900{margin-top:9rem !important}.mu-mt-1000{margin-top:10rem !important}.mu-mr-025{margin-right:0.25rem !important}.mu-mr-050{margin-right:0.5rem !important}.mu-mr-075{margin-right:0.75rem !important}.mu-mr-100{margin-right:1rem !important}.mu-mr-125{margin-right:1.25rem !important}.mu-mr-150{margin-right:1.5rem !important}.mu-mr-200{margin-right:2rem !important}.mu-mr-250{margin-right:2.5rem !important}.mu-mr-300{margin-right:3rem !important}.mu-mr-350{margin-right:3.5rem !important}.mu-mr-400{margin-right:4rem !important}.mu-mr-500{margin-right:5rem !important}.mu-mr-600{margin-right:6rem !important}.mu-mr-700{margin-right:7rem !important}.mu-mr-800{margin-right:8rem !important}.mu-mr-900{margin-right:9rem !important}.mu-mr-1000{margin-right:10rem !important}.mu-ml-025{margin-left:0.25rem !important}.mu-ml-050{margin-left:0.5rem !important}.mu-ml-075{margin-left:0.75rem !important}.mu-ml-100{margin-left:1rem !important}.mu-ml-125{margin-left:1.25rem !important}.mu-ml-150{margin-left:1.5rem !important}.mu-ml-200{margin-left:2rem !important}.mu-ml-250{margin-left:2.5rem !important}.mu-ml-300{margin-left:3rem !important}.mu-ml-350{margin-left:3.5rem !important}.mu-ml-400{margin-left:4rem !important}.mu-ml-500{margin-left:5rem !important}.mu-ml-600{margin-left:6rem !important}.mu-ml-700{margin-left:7rem !important}.mu-ml-800{margin-left:8rem !important}.mu-ml-900{margin-left:9rem !important}.mu-ml-1000{margin-left:10rem !important}.mu-mb-025{margin-bottom:0.25rem !important}.mu-mb-050{margin-bottom:0.5rem !important}.mu-mb-075{margin-bottom:0.75rem !important}.mu-mb-100{margin-bottom:1rem !important}.mu-mb-125{margin-bottom:1.25rem !important}.mu-mb-150{margin-bottom:1.5rem !important}.mu-mb-200{margin-bottom:2rem !important}.mu-mb-250{margin-bottom:2.5rem !important}.mu-mb-300{margin-bottom:3rem !important}.mu-mb-350{margin-bottom:3.5rem !important}.mu-mb-400{margin-bottom:4rem !important}.mu-mb-500{margin-bottom:5rem !important}.mu-mb-600{margin-bottom:6rem !important}.mu-mb-700{margin-bottom:7rem !important}.mu-mb-800{margin-bottom:8rem !important}.mu-mb-900{margin-bottom:9rem !important}.mu-mb-1000{margin-bottom:10rem !important}.mu-m-025{margin:0.25rem !important}.mu-m-050{margin:0.5rem !important}.mu-m-075{margin:0.75rem !important}.mu-m-100{margin:1rem !important}.mu-m-125{margin:1.25rem !important}.mu-m-150{margin:1.5rem !important}.mu-m-200{margin:2rem !important}.mu-m-250{margin:2.5rem !important}.mu-m-300{margin:3rem !important}.mu-m-350{margin:3.5rem !important}.mu-m-400{margin:4rem !important}.mu-m-500{margin:5rem !important}.mu-m-600{margin:6rem !important}.mu-m-700{margin:7rem !important}.mu-m-800{margin:8rem !important}.mu-m-900{margin:9rem !important}.mu-m-1000{margin:10rem !important}.mu-mv-025{margin-top:0.25rem !important;margin-bottom:0.25rem !important}.mu-mv-050{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mu-mv-075{margin-top:0.75rem !important;margin-bottom:0.75rem !important}.mu-mv-100{margin-top:1rem !important;margin-bottom:1rem !important}.mu-mv-125{margin-top:1.25rem !important;margin-bottom:1.25rem !important}.mu-mv-150{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mu-mv-200{margin-top:2rem !important;margin-bottom:2rem !important}.mu-mv-250{margin-top:2.5rem !important;margin-bottom:2.5rem !important}.mu-mv-300{margin-top:3rem !important;margin-bottom:3rem !important}.mu-mv-350{margin-top:3.5rem !important;margin-bottom:3.5rem !important}.mu-mv-400{margin-top:4rem !important;margin-bottom:4rem !important}.mu-mv-500{margin-top:5rem !important;margin-bottom:5rem !important}.mu-mv-600{margin-top:6rem !important;margin-bottom:6rem !important}.mu-mv-700{margin-top:7rem !important;margin-bottom:7rem !important}.mu-mv-800{margin-top:8rem !important;margin-bottom:8rem !important}.mu-mv-900{margin-top:9rem !important;margin-bottom:9rem !important}.mu-mv-1000{margin-top:10rem !important;margin-bottom:10rem !important}.mu-mh-025{margin-left:0.25rem !important;margin-right:0.25rem !important}.mu-mh-050{margin-left:0.5rem !important;margin-right:0.5rem !important}.mu-mh-075{margin-left:0.75rem !important;margin-right:0.75rem !important}.mu-mh-100{margin-left:1rem !important;margin-right:1rem !important}.mu-mh-125{margin-left:1.25rem !important;margin-right:1.25rem !important}.mu-mh-150{margin-left:1.5rem !important;margin-right:1.5rem !important}.mu-mh-200{margin-left:2rem !important;margin-right:2rem !important}.mu-mh-250{margin-left:2.5rem !important;margin-right:2.5rem !important}.mu-mh-300{margin-left:3rem !important;margin-right:3rem !important}.mu-mh-350{margin-left:3.5rem !important;margin-right:3.5rem !important}.mu-mh-400{margin-left:4rem !important;margin-right:4rem !important}.mu-mh-500{margin-left:5rem !important;margin-right:5rem !important}.mu-mh-600{margin-left:6rem !important;margin-right:6rem !important}.mu-mh-700{margin-left:7rem !important;margin-right:7rem !important}.mu-mh-800{margin-left:8rem !important;margin-right:8rem !important}.mu-mh-900{margin-left:9rem !important;margin-right:9rem !important}.mu-mh-1000{margin-left:10rem !important;margin-right:10rem !important}.ml-flexy{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ml-flexy--gutter{margin-right:-0.5rem;margin-left:-0.5rem}.ml-flexy--space-around{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy--items-stretch{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.ml-flexy--items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ml-flexy--items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ml-flexy--items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ml-flexy__col{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--fill{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2{margin-left:50%}.ml-flexy__col--1of3{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3{margin-left:33.3333333333%}.ml-flexy__col--2of3{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3{margin-left:66.6666666667%}.ml-flexy__col--1of4{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4{margin-left:25%}.ml-flexy__col--3of4{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4{margin-left:75%}.ml-flexy__col--1of6{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6{margin-left:16.6666666667%}.ml-flexy__col--5of6{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6{margin-left:83.3333333333%}.ml-flexy__col--1of12{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12{margin-left:8.3333333333%}.ml-flexy__col--2of12{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12{margin-left:16.6666666667%}.ml-flexy__col--3of12{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12{margin-left:25%}.ml-flexy__col--4of12{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12{margin-left:33.3333333333%}.ml-flexy__col--5of12{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12{margin-left:41.6666666667%}.ml-flexy__col--6of12{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12{margin-left:50%}.ml-flexy__col--7of12{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12{margin-left:58.3333333333%}.ml-flexy__col--8of12{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12{margin-left:66.6666666667%}.ml-flexy__col--9of12{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12{margin-left:75%}.ml-flexy__col--10of12{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12{margin-left:83.3333333333%}.ml-flexy__col--11of12{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12{margin-left:91.6666666667%}.ml-flexy__col--initial{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset{margin-left:auto}@media screen and (min-width: 680px){.ml-flexy--gutter{margin-right:-1rem;margin-left:-1rem}.ml-flexy--space-around\\@from-m{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-m{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-m{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-m{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-m{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-m{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-m{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-m{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-m{margin-left:50%}.ml-flexy__col--1of3\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-m{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-m{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-m{margin-left:25%}.ml-flexy__col--3of4\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-m{margin-left:75%}.ml-flexy__col--1of6\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-m{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-m{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-m{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-m{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-m{margin-left:25%}.ml-flexy__col--4of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-m{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-m{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-m{margin-left:50%}.ml-flexy__col--7of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-m{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-m{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-m{margin-left:75%}.ml-flexy__col--10of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-m{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-m{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-m{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-m{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-m{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-m{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-m{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-m{margin-left:auto}}@media screen and (min-width: 1024px){.ml-flexy--space-around\\@from-l{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-l{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-l{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-l{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-l{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-l{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-l{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-l{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-l{margin-left:50%}.ml-flexy__col--1of3\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-l{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-l{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-l{margin-left:25%}.ml-flexy__col--3of4\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-l{margin-left:75%}.ml-flexy__col--1of6\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-l{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-l{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-l{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-l{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-l{margin-left:25%}.ml-flexy__col--4of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-l{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-l{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-l{margin-left:50%}.ml-flexy__col--7of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-l{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-l{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-l{margin-left:75%}.ml-flexy__col--10of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-l{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-l{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-l{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-l{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-l{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-l{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-l{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-l{margin-left:auto}}@media screen and (min-width: 1280px){.ml-flexy--space-around\\@from-xl{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-xl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-xl{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-xl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-xl{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-xl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-xl{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-xl{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-xl{margin-left:50%}.ml-flexy__col--1of3\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-xl{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-xl{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-xl{margin-left:25%}.ml-flexy__col--3of4\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-xl{margin-left:75%}.ml-flexy__col--1of6\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-xl{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-xl{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-xl{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-xl{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-xl{margin-left:25%}.ml-flexy__col--4of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-xl{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-xl{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-xl{margin-left:50%}.ml-flexy__col--7of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-xl{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-xl{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-xl{margin-left:75%}.ml-flexy__col--10of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-xl{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-xl{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-xl{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-xl{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-xl{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-xl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-xl{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-xl{margin-left:auto}}@media screen and (min-width: 1920px){.ml-flexy--space-around\\@from-xxl{-ms-flex-pack:distribute;justify-content:space-around}.ml-flexy--justify-between\\@from-xxl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ml-flexy--justify-evenly\\@from-xxl{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.ml-flexy--justify-start\\@from-xxl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ml-flexy--justify-center\\@from-xxl{-webkit-box-pack:center;justify-content:center;-ms-flex-pack:center}.ml-flexy--justify-end\\@from-xxl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ml-flexy__col--fill\\@from-xxl{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.ml-flexy__col--full\\@from-xxl{-webkit-box-flex:100%;-ms-flex:100%;flex:100%;max-width:100%}.ml-flexy__col--1of2\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-1of2\\@from-xxl{margin-left:50%}.ml-flexy__col--1of3\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-1of3\\@from-xxl{margin-left:33.3333333333%}.ml-flexy__col--2of3\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-2of3\\@from-xxl{margin-left:66.6666666667%}.ml-flexy__col--1of4\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-1of4\\@from-xxl{margin-left:25%}.ml-flexy__col--3of4\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-3of4\\@from-xxl{margin-left:75%}.ml-flexy__col--1of6\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-1of6\\@from-xxl{margin-left:16.6666666667%}.ml-flexy__col--5of6\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-5of6\\@from-xxl{margin-left:83.3333333333%}.ml-flexy__col--1of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 8.3333333333%;flex:0 0 8.3333333333%;max-width:8.3333333333%}.ml-flexy__col--push-1of12\\@from-xxl{margin-left:8.3333333333%}.ml-flexy__col--2of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 16.6666666667%;flex:0 0 16.6666666667%;max-width:16.6666666667%}.ml-flexy__col--push-2of12\\@from-xxl{margin-left:16.6666666667%}.ml-flexy__col--3of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.ml-flexy__col--push-3of12\\@from-xxl{margin-left:25%}.ml-flexy__col--4of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 33.3333333333%;flex:0 0 33.3333333333%;max-width:33.3333333333%}.ml-flexy__col--push-4of12\\@from-xxl{margin-left:33.3333333333%}.ml-flexy__col--5of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 41.6666666667%;flex:0 0 41.6666666667%;max-width:41.6666666667%}.ml-flexy__col--push-5of12\\@from-xxl{margin-left:41.6666666667%}.ml-flexy__col--6of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.ml-flexy__col--push-6of12\\@from-xxl{margin-left:50%}.ml-flexy__col--7of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 58.3333333333%;flex:0 0 58.3333333333%;max-width:58.3333333333%}.ml-flexy__col--push-7of12\\@from-xxl{margin-left:58.3333333333%}.ml-flexy__col--8of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 66.6666666667%;flex:0 0 66.6666666667%;max-width:66.6666666667%}.ml-flexy__col--push-8of12\\@from-xxl{margin-left:66.6666666667%}.ml-flexy__col--9of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.ml-flexy__col--push-9of12\\@from-xxl{margin-left:75%}.ml-flexy__col--10of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 83.3333333333%;flex:0 0 83.3333333333%;max-width:83.3333333333%}.ml-flexy__col--push-10of12\\@from-xxl{margin-left:83.3333333333%}.ml-flexy__col--11of12\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 0 91.6666666667%;flex:0 0 91.6666666667%;max-width:91.6666666667%}.ml-flexy__col--push-11of12\\@from-xxl{margin-left:91.6666666667%}.ml-flexy__col--initial\\@from-xxl{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.ml-flexy__col--grow\\@from-xxl{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:none}.ml-flexy__col--first\\@from-xxl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.ml-flexy__col--last\\@from-xxl{-webkit-box-ordinal-group:1000;-ms-flex-order:999;order:999}.ml-flexy__col--push--reset\\@from-xxl{margin-left:auto}}.mc-stars-result{font-family:\"LeroyMerlin\", sans-serif;font-weight:400}.mc-stars-result--s .mc-stars-result__suffix-label{font-size:0.75rem;line-height:1.5;color:#4d4d4d}.mc-stars-result--l .mc-stars-result__suffix-label{font-size:1.125rem;line-height:1.5555555556}.mc-stars-result--xl .mc-stars-result__suffix-label{font-size:1.75rem;line-height:1.5714285714}",this.shadowRoot.appendChild(o),m(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},v,w,r,{value:0,size:1,a11ylabel:2,suffixlabel:3},null),l&&(l.target&&t(l.target,this,l.anchor),l.props&&(this.$set(l.props),f()))}static get observedAttributes(){return["value","size","a11ylabel","suffixlabel"]}get value(){return this.$$.ctx[0]}set value(l){this.$$set({value:l}),f()}get size(){return this.$$.ctx[1]}set size(l){this.$$set({size:l}),f()}get a11ylabel(){return this.$$.ctx[2]}set a11ylabel(l){this.$$set({a11ylabel:l}),f()}get suffixlabel(){return this.$$.ctx[3]}set suffixlabel(l){this.$$set({suffixlabel:l}),f()}}export{j as default};
|
|
247
2
|
//# sourceMappingURL=StarsResult.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarsResult.js","sources":["../../../src/components/ratings/StarsResult.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import type { RatingsSize } from './ratings.types';\n\n export let value = 0;\n export let size: RatingsSize = 'm';\n export let a11ylabel = '';\n export let suffixlabel: string | undefined = undefined;\n\n $: userClass = $$props.class;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n function getRatingsClasses(\n value: number,\n size: RatingsSize,\n suffixLabel?: string,\n ): string {\n const classes = [\n 'mc-stars-result',\n `mc-stars-result--score-${computeRatingsPercentage(value)}`,\n `mc-stars-result--${size}`,\n ];\n\n const shouldAddFlexDisplay = !!suffixLabel;\n if (shouldAddFlexDisplay) {\n classes.push('ml-flexy', 'ml-flexy--items-center');\n }\n\n return classes.join(' ');\n }\n\n function computeRatingsPercentage(value: number): number {\n const roundedValue = Math.round(value * 2) / 2;\n\n let correctedValue = roundedValue;\n if (correctedValue < 0) {\n correctedValue = 0;\n }\n\n if (correctedValue > 5) {\n correctedValue = 5;\n }\n\n return correctedValue * 20;\n }\n</script>\n\n<div\n class=\"{getRatingsClasses(value, size, suffixlabel)} {userClass}\"\n {...attributes}\n>\n <span class=\"mc-stars-result__visual\" />\n\n {#if suffixlabel}\n <span class=\"mc-stars-result__suffix-label mu-ml-050\">{suffixlabel}</span>\n {/if}\n\n <span class=\"mc-stars-result__text\">{a11ylabel}</span>\n</div>\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n @import '@mozaic-ds/styles/components/_c.stars-result';\n @import '@mozaic-ds/styles/utilities/_u.margin';\n @import '@mozaic-ds/styles/layouts/_l.flexy';\n\n .mc-stars-result {\n @include set-font-face();\n\n &--s .mc-stars-result__suffix-label {\n @include set-font-scale('02');\n color: $color-grey-700;\n }\n\n &--l .mc-stars-result__suffix-label {\n @include set-font-scale('06');\n }\n\n &--xl .mc-stars-result__suffix-label {\n @include set-font-scale('08');\n }\n }\n</style>\n"],"names":[
|
|
1
|
+
{"version":3,"file":"StarsResult.js","sources":["../../../src/components/ratings/StarsResult.svelte"],"sourcesContent":["<svelte:options tag={null} />\n\n<script lang=\"ts\">\n import type { RatingsSize } from './ratings.types';\n\n export let value = 0;\n export let size: RatingsSize = 'm';\n export let a11ylabel = '';\n export let suffixlabel: string | undefined = undefined;\n\n $: userClass = $$props.class;\n $: attributes = { ...$$restProps };\n $: delete attributes.class;\n\n function getRatingsClasses(\n value: number,\n size: RatingsSize,\n suffixLabel?: string,\n ): string {\n const classes = [\n 'mc-stars-result',\n `mc-stars-result--score-${computeRatingsPercentage(value)}`,\n `mc-stars-result--${size}`,\n ];\n\n const shouldAddFlexDisplay = !!suffixLabel;\n if (shouldAddFlexDisplay) {\n classes.push('ml-flexy', 'ml-flexy--items-center');\n }\n\n return classes.join(' ');\n }\n\n function computeRatingsPercentage(value: number): number {\n const roundedValue = Math.round(value * 2) / 2;\n\n let correctedValue = roundedValue;\n if (correctedValue < 0) {\n correctedValue = 0;\n }\n\n if (correctedValue > 5) {\n correctedValue = 5;\n }\n\n return correctedValue * 20;\n }\n</script>\n\n<div\n class=\"{getRatingsClasses(value, size, suffixlabel)} {userClass}\"\n {...attributes}\n>\n <span class=\"mc-stars-result__visual\" />\n\n {#if suffixlabel}\n <span class=\"mc-stars-result__suffix-label mu-ml-050\">{suffixlabel}</span>\n {/if}\n\n <span class=\"mc-stars-result__text\">{a11ylabel}</span>\n</div>\n\n<style lang=\"scss\">\n @import '@mozaic-ds/styles/settings-tools/_all-settings';\n @import '@mozaic-ds/styles/components/_c.stars-result';\n @import '@mozaic-ds/styles/utilities/_u.margin';\n @import '@mozaic-ds/styles/layouts/_l.flexy';\n\n .mc-stars-result {\n @include set-font-face();\n\n &--s .mc-stars-result__suffix-label {\n @include set-font-scale('02');\n color: $color-grey-700;\n }\n\n &--l .mc-stars-result__suffix-label {\n @include set-font-scale('06');\n }\n\n &--xl .mc-stars-result__suffix-label {\n @include set-font-scale('08');\n }\n }\n</style>\n"],"names":["ctx","insert","target","span","anchor","create_if_block","class","div_class_value","getRatingsClasses","div","append","span0","span1","dirty","value","size","suffixLabel","classes","computeRatingsPercentage","push","join","correctedValue","Math","round","$$props","a11ylabel","suffixlabel","$$invalidate","userClass","attributes","Object","assign","$$restProps"],"mappings":"sNAwD2DA,EAAW,mEAAlEC,EAAyEC,EAAAC,EAAAC,2BAAlBJ,EAAW,sDAD/DA,EAAW,IAAAK,EAAAL,OALRM,MAAAC,EAAAC,EAAkBR,EAAK,GAAEA,EAAM,GAAAA,UAAeA,EAAS,IAC3DA,EAAU,wHAQuBA,EAAS,wGAVhDC,EAWKC,EAAAO,EAAAL,GAPHM,EAAuCD,EAAAE,gCAMvCD,EAAqDD,EAAAG,oBAJhDZ,EAAW,kEAIqBA,EAAS,eATtC,GAAAa,GAAAN,KAAAA,EAAAC,EAAkBR,EAAK,GAAEA,EAAM,GAAAA,UAAeA,EAAS,KAAA,CAAAM,MAAAC,SAC3DP,EAAU,uCArCL,SAAAQ,EACPM,EACAC,EACAC,SAEMC,EAAO,CACX,kBAC0B,0BAAAC,EAAyBJ,yBAC/BC,aAGSC,GAE7BC,EAAQE,KAAK,WAAY,0BAGpBF,EAAQG,KAAK,KAGb,SAAAF,EAAyBJ,GAG5B,IAAAO,EAFiBC,KAAKC,MAAc,EAART,GAAa,EAWtC,OARHO,EAAiB,IACnBA,EAAiB,GAGfA,EAAiB,IACnBA,EAAiB,GAGK,GAAjBA,6FAxCEP,MAAAA,EAAQ,GAACU,GACTT,KAAAA,EAAoB,KAAGS,GACvBC,UAAAA,EAAY,IAAED,GACdE,YAAAA,GAA2CF,8MAEnDG,EAAA,EAAAC,EAAYJ,EAAQlB,WACpBuB,EAALC,OAAAC,UAAuBC,0BACXH,EAAWvB"}
|