optimized-react-component-library-xyz123 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +504 -0
- package/dist/index.d.mts +56 -2
- package/dist/index.d.ts +56 -2
- package/dist/index.js +822 -374
- package/dist/index.mjs +820 -373
- package/package.json +4 -2
- package/src/css/darkMode.css +18 -0
package/dist/index.mjs
CHANGED
|
@@ -54,17 +54,10 @@ var RadioMultipleStandard_default = InputRadio;
|
|
|
54
54
|
var PreviewRadio = ({ question }) => {
|
|
55
55
|
var _a, _b;
|
|
56
56
|
const previewId = `preview-${question.id}`;
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */ jsx("
|
|
59
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx("
|
|
60
|
-
|
|
61
|
-
{
|
|
62
|
-
className: "pts-radioMultiple-preview pts-root-answer no-answer-preview-page",
|
|
63
|
-
id: `answer-${previewId}`,
|
|
64
|
-
children: "Inget svar"
|
|
65
|
-
}
|
|
66
|
-
)
|
|
67
|
-
] });
|
|
57
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: "pts-question-preview pts-radioMultiple-preview", id: `question-${previewId}`, children: [
|
|
58
|
+
/* @__PURE__ */ jsx("h3", { id: previewId, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
59
|
+
/* @__PURE__ */ jsx("div", { className: "pts-root-answer", "aria-labelledby": previewId, children: ((_b = question.answer) == null ? void 0 : _b.trim()) ? question.answer : /* @__PURE__ */ jsx("span", { className: "no-answer-preview-page", children: "Inget svar" }) })
|
|
60
|
+
] }) });
|
|
68
61
|
};
|
|
69
62
|
|
|
70
63
|
// src/NewInputComponentStandard/MultipleCheckboxesStandard/MultipleCheckboxesStandard.tsx
|
|
@@ -101,7 +94,7 @@ var MultipleCheckboxes = ({
|
|
|
101
94
|
};
|
|
102
95
|
return /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
103
96
|
!showPreview && question.visible && /* @__PURE__ */ jsx2("div", { id: questionId, className: "pts-root-question pts-multipleCheckboxes-container", children: /* @__PURE__ */ jsxs2("section", { role: "group", "aria-labelledby": `label-${questionId}`, children: [
|
|
104
|
-
/* @__PURE__ */ jsxs2("
|
|
97
|
+
/* @__PURE__ */ jsxs2("h4", { id: `label-${questionId}`, children: [
|
|
105
98
|
question.questionLabel,
|
|
106
99
|
" ",
|
|
107
100
|
question.isQuestionMandatory && /* @__PURE__ */ jsx2("span", { "aria-hidden": true, className: "pts-root-mandatoryAsterisk", children: "*" }),
|
|
@@ -136,14 +129,20 @@ var PrevieMultipleCheckboxes = ({
|
|
|
136
129
|
}) => {
|
|
137
130
|
var _a, _b;
|
|
138
131
|
const previewId = `preview-${question.id}`;
|
|
139
|
-
return /* @__PURE__ */
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
132
|
+
return /* @__PURE__ */ jsx2(Fragment2, { children: /* @__PURE__ */ jsxs2(
|
|
133
|
+
"div",
|
|
134
|
+
{
|
|
135
|
+
className: "pts-question-preview pts-multipleCheckboxes-preview",
|
|
136
|
+
id: `question-${previewId}`,
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsx2("h3", { id: previewId, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
139
|
+
/* @__PURE__ */ jsx2("div", { className: "pts-root-answer", children: question.answer ? /* @__PURE__ */ jsx2("ul", { "aria-labelledby": previewId, children: (_b = question.options) == null ? void 0 : _b.filter((option) => {
|
|
140
|
+
var _a2;
|
|
141
|
+
return (_a2 = question.answer) == null ? void 0 : _a2.includes(option.label);
|
|
142
|
+
}).map((option, index) => /* @__PURE__ */ jsx2("li", { children: option.label }, index)) }) : /* @__PURE__ */ jsx2("span", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }) })
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
) });
|
|
147
146
|
};
|
|
148
147
|
|
|
149
148
|
// src/NewInputComponentStandard/TextAreaStandard/TextAreaStandard.tsx
|
|
@@ -193,7 +192,7 @@ var InputTextarea = ({
|
|
|
193
192
|
"aria-required": question.isQuestionMandatory,
|
|
194
193
|
"aria-invalid": question.hasValidationError,
|
|
195
194
|
maxLength: ((_a = question.questionExtraAttribute) == null ? void 0 : _a.answerMaxLength) || defaultMaxLength,
|
|
196
|
-
"aria-describedby":
|
|
195
|
+
"aria-describedby": `${question.aboutText ? aboutId : ""} ${question.hasValidationError ? errorId : ""}`.trim(),
|
|
197
196
|
id: inputId
|
|
198
197
|
}
|
|
199
198
|
),
|
|
@@ -229,17 +228,10 @@ var PreviewTextarea = ({
|
|
|
229
228
|
}) => {
|
|
230
229
|
var _a, _b;
|
|
231
230
|
const previewId = `preview-${question.id}`;
|
|
232
|
-
return /* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */ jsx3("
|
|
234
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx3("
|
|
235
|
-
|
|
236
|
-
{
|
|
237
|
-
className: "pts-textArea-preview pts-root-answer no-answer-preview-page",
|
|
238
|
-
id: `answer-${previewId}`,
|
|
239
|
-
children: activatedLanguage === "en" ? "No Answer" : "Inget svar"
|
|
240
|
-
}
|
|
241
|
-
)
|
|
242
|
-
] });
|
|
231
|
+
return /* @__PURE__ */ jsx3(Fragment3, { children: /* @__PURE__ */ jsxs3("div", { className: "pts-question-preview pts-textArea-preview", id: `question-${previewId}`, children: [
|
|
232
|
+
/* @__PURE__ */ jsx3("h3", { id: previewId, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
233
|
+
/* @__PURE__ */ jsx3("div", { className: "pts-root-answer", "aria-labelledby": previewId, children: ((_b = question.answer) == null ? void 0 : _b.trim()) ? question.answer : /* @__PURE__ */ jsx3("span", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }) })
|
|
234
|
+
] }) });
|
|
243
235
|
};
|
|
244
236
|
|
|
245
237
|
// src/NewInputComponentStandard/TextFieldStandard/TextFieldStandard.tsx
|
|
@@ -293,7 +285,7 @@ var TextFieldStandard = ({
|
|
|
293
285
|
disabled: (_g = question.questionExtraAttribute) == null ? void 0 : _g.disabled,
|
|
294
286
|
required: question.isQuestionMandatory,
|
|
295
287
|
"aria-required": question.isQuestionMandatory,
|
|
296
|
-
"aria-describedby":
|
|
288
|
+
"aria-describedby": `${question.aboutText ? aboutId : ""} ${question.hasValidationError ? errorId : ""}`.trim(),
|
|
297
289
|
"aria-invalid": question.hasValidationError,
|
|
298
290
|
"aria-errormessage": question.hasValidationError ? errorId : void 0
|
|
299
291
|
}
|
|
@@ -315,17 +307,10 @@ var PreviewTextField = ({
|
|
|
315
307
|
}) => {
|
|
316
308
|
var _a, _b;
|
|
317
309
|
const previewId = `preview-${question.id}`;
|
|
318
|
-
return /* @__PURE__ */
|
|
319
|
-
/* @__PURE__ */ jsx4("
|
|
320
|
-
((_b = question.answer) == null ? void 0 : _b.trim()) ? /* @__PURE__ */ jsx4("
|
|
321
|
-
|
|
322
|
-
{
|
|
323
|
-
className: "pts-textField-preview pts-root-answer no-answer-preview-page",
|
|
324
|
-
id: `answer-${previewId}`,
|
|
325
|
-
children: activatedLanguage === "en" ? "No Answer" : "Inget svar"
|
|
326
|
-
}
|
|
327
|
-
)
|
|
328
|
-
] });
|
|
310
|
+
return /* @__PURE__ */ jsx4(Fragment4, { children: /* @__PURE__ */ jsxs4("div", { className: "pts-question-preview pts-textField-preview", id: `question-${previewId}`, children: [
|
|
311
|
+
/* @__PURE__ */ jsx4("h3", { id: previewId, children: (_a = question.previewLabel) != null ? _a : question.questionLabel }),
|
|
312
|
+
/* @__PURE__ */ jsx4("div", { className: "pts-root-answer", "aria-labelledby": previewId, children: ((_b = question.answer) == null ? void 0 : _b.trim()) ? question.answer : /* @__PURE__ */ jsx4("span", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No Answer" : "Inget svar" }) })
|
|
313
|
+
] }) });
|
|
329
314
|
};
|
|
330
315
|
|
|
331
316
|
// src/NewInputComponentStandard/FilesUploadStandard/FilesUploadStandard.tsx
|
|
@@ -690,6 +675,548 @@ var FilesUpload = ({
|
|
|
690
675
|
};
|
|
691
676
|
var FilesUploadStandard_default = FilesUpload;
|
|
692
677
|
|
|
678
|
+
// src/NewInputComponentStandard/AddFilesStandard/AddFilesStandard.tsx
|
|
679
|
+
import { useCallback, useEffect as useEffect4, useState as useState5 } from "react";
|
|
680
|
+
import clsx5 from "clsx";
|
|
681
|
+
|
|
682
|
+
// src/NewInputComponentStandard/AddFilesStandard/DropFilesStandard.tsx
|
|
683
|
+
import { useDropzone } from "react-dropzone";
|
|
684
|
+
import { Fragment as Fragment6, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
685
|
+
var DropFiles = ({ FilesSelected, DropFilesText = "Dra och sl\xE4pp dina filer h\xE4r" }) => {
|
|
686
|
+
const onDrop = FilesSelected;
|
|
687
|
+
const { getRootProps, getInputProps, isDragActive } = useDropzone({ onDrop, noKeyboard: true });
|
|
688
|
+
const handleFileExplorer = (event) => {
|
|
689
|
+
event.preventDefault();
|
|
690
|
+
event.stopPropagation();
|
|
691
|
+
};
|
|
692
|
+
return /* @__PURE__ */ jsx6(Fragment6, { children: /* @__PURE__ */ jsx6("div", { className: "DropZoneContainer", children: /* @__PURE__ */ jsxs6("div", { className: "DropZone", ...getRootProps(), onClick: handleFileExplorer, children: [
|
|
693
|
+
/* @__PURE__ */ jsxs6("label", { htmlFor: "fileDropInput", hidden: true, children: [
|
|
694
|
+
"Dra och sl\xE4pp filer h\xE4r omr\xE5de",
|
|
695
|
+
/* @__PURE__ */ jsx6(
|
|
696
|
+
"input",
|
|
697
|
+
{
|
|
698
|
+
...getInputProps({
|
|
699
|
+
id: "fileDropInput",
|
|
700
|
+
name: "fileDropInput"
|
|
701
|
+
}),
|
|
702
|
+
role: "presentation"
|
|
703
|
+
}
|
|
704
|
+
)
|
|
705
|
+
] }),
|
|
706
|
+
isDragActive ? /* @__PURE__ */ jsx6("b", { className: "dropFilesNowText", children: "Sl\xE4pp filerna, nu ...!" }) : /* @__PURE__ */ jsxs6(Fragment6, { children: [
|
|
707
|
+
/* @__PURE__ */ jsxs6(
|
|
708
|
+
"svg",
|
|
709
|
+
{
|
|
710
|
+
"aria-hidden": "true",
|
|
711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
712
|
+
width: "72",
|
|
713
|
+
height: "48",
|
|
714
|
+
viewBox: "0 0 72 48",
|
|
715
|
+
fill: "none",
|
|
716
|
+
children: [
|
|
717
|
+
/* @__PURE__ */ jsx6("g", { clipPath: "url(#clip0_247_596)", children: /* @__PURE__ */ jsx6(
|
|
718
|
+
"path",
|
|
719
|
+
{
|
|
720
|
+
d: "M66.6084 23.0844C64.6397 21.6247 62.2209 20.5531 59.6672 19.9752C59.2479 19.8808 58.8641 19.6692 58.5605 19.3649C58.257 19.0606 58.0463 18.6763 57.953 18.2567C56.8561 13.37 54.495 9.1794 51.0244 6.00409C46.9898 2.30706 41.6545 0.273621 36 0.273621C31.0289 0.273621 26.4375 1.83174 22.7292 4.78065C20.216 6.78238 18.193 9.33154 16.8145 12.2338C16.6651 12.5513 16.4434 12.8295 16.1672 13.0461C15.8911 13.2627 15.5681 13.4117 15.2241 13.4811C11.4623 14.2405 8.06625 15.8535 5.47312 18.1386C1.89281 21.3027 0 25.5088 0 30.3111C0 35.1655 2.03766 39.5924 5.73609 42.793C9.26859 45.8431 14.0245 47.5236 19.125 47.5236H33.75V25.956L28.5905 31.1155C28.3751 31.3309 28.1182 31.5003 27.8354 31.6134C27.5525 31.7266 27.2497 31.7811 26.9452 31.7738C26.6406 31.7664 26.3408 31.6973 26.0638 31.5706C25.7867 31.4439 25.5383 31.2623 25.3336 31.0367C24.518 30.141 24.5967 28.7446 25.4531 27.8881L34.4095 18.9331C34.8314 18.5115 35.4035 18.2747 36 18.2747C36.5965 18.2747 37.1686 18.5115 37.5905 18.9331L46.5469 27.8853C47.43 28.7699 47.4806 30.2197 46.6017 31.107C46.3932 31.3176 46.1451 31.485 45.8718 31.5994C45.5984 31.7139 45.3051 31.7732 45.0088 31.774C44.7124 31.7748 44.4188 31.717 44.1449 31.604C43.8709 31.491 43.622 31.325 43.4123 31.1155L38.25 25.956V47.5236H55.6875C60.0947 47.5236 64.1124 46.2861 67.0008 44.0403C70.2717 41.495 72 37.8528 72 33.5174C72 29.3071 70.1353 25.6972 66.6084 23.0844Z",
|
|
721
|
+
fill: "#6E3282"
|
|
722
|
+
}
|
|
723
|
+
) }),
|
|
724
|
+
/* @__PURE__ */ jsx6("defs", { children: /* @__PURE__ */ jsx6("clipPath", { id: "clip0_247_596", children: /* @__PURE__ */ jsx6(
|
|
725
|
+
"rect",
|
|
726
|
+
{
|
|
727
|
+
width: "72",
|
|
728
|
+
height: "47.1064",
|
|
729
|
+
fill: "white",
|
|
730
|
+
transform: "translate(0 0.446777)"
|
|
731
|
+
}
|
|
732
|
+
) }) })
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
),
|
|
736
|
+
/* @__PURE__ */ jsx6("p", { className: "dropFilesText", children: DropFilesText })
|
|
737
|
+
] })
|
|
738
|
+
] }) }) });
|
|
739
|
+
};
|
|
740
|
+
var DropFilesStandard_default = DropFiles;
|
|
741
|
+
|
|
742
|
+
// src/NewInputComponentStandard/AddFilesStandard/ExploreFilesStandard.tsx
|
|
743
|
+
import { useRef as useRef2 } from "react";
|
|
744
|
+
import clsx2 from "clsx";
|
|
745
|
+
import { Fragment as Fragment7, jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
746
|
+
var ExploreFiles = ({
|
|
747
|
+
FilesSelected,
|
|
748
|
+
//UploadButtonText = 'upload files',
|
|
749
|
+
numberOfFiles,
|
|
750
|
+
allowedNumberOfFiles,
|
|
751
|
+
activatedLanguage,
|
|
752
|
+
inputId,
|
|
753
|
+
labelId,
|
|
754
|
+
aboutId,
|
|
755
|
+
errorId,
|
|
756
|
+
questionObject,
|
|
757
|
+
showErrors
|
|
758
|
+
}) => {
|
|
759
|
+
const fileInputRef = useRef2(null);
|
|
760
|
+
const handleFiles = (event) => {
|
|
761
|
+
const files = Array.from(event.target.files || []);
|
|
762
|
+
FilesSelected(files);
|
|
763
|
+
event.target.value = "";
|
|
764
|
+
};
|
|
765
|
+
const handleKeyOrClick = () => {
|
|
766
|
+
var _a;
|
|
767
|
+
(_a = fileInputRef.current) == null ? void 0 : _a.click();
|
|
768
|
+
};
|
|
769
|
+
const addFilesInfoText = numberOfFiles > 0 ? activatedLanguage === "sv" ? `${numberOfFiles} filer valda (max ${allowedNumberOfFiles})` : `${numberOfFiles} files chosed (max ${allowedNumberOfFiles})` : activatedLanguage === "sv" ? "Ingen fil vald" : "No file chosen";
|
|
770
|
+
return /* @__PURE__ */ jsx7(Fragment7, { children: /* @__PURE__ */ jsx7("div", { className: "inputContainer", children: /* @__PURE__ */ jsxs7(
|
|
771
|
+
"label",
|
|
772
|
+
{
|
|
773
|
+
tabIndex: -1,
|
|
774
|
+
className: clsx2(
|
|
775
|
+
["form-control"],
|
|
776
|
+
"filePickLabel",
|
|
777
|
+
showErrors && questionObject.error ? ["form-control error"] : ""
|
|
778
|
+
),
|
|
779
|
+
id: labelId,
|
|
780
|
+
htmlFor: inputId,
|
|
781
|
+
children: [
|
|
782
|
+
/* @__PURE__ */ jsx7(
|
|
783
|
+
"button",
|
|
784
|
+
{
|
|
785
|
+
onClick: handleKeyOrClick,
|
|
786
|
+
className: clsx2(
|
|
787
|
+
"filePickButton",
|
|
788
|
+
showErrors && questionObject.error ? "filePickButton error" : ""
|
|
789
|
+
),
|
|
790
|
+
"aria-describedby": `${aboutId} ${showErrors && questionObject.error ? errorId : ""}`.trim(),
|
|
791
|
+
"aria-label": `${activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"} ${addFilesInfoText}`,
|
|
792
|
+
children: activatedLanguage === "sv" ? "V\xE4lj fil" : "Choose file"
|
|
793
|
+
}
|
|
794
|
+
),
|
|
795
|
+
/* @__PURE__ */ jsx7(
|
|
796
|
+
"input",
|
|
797
|
+
{
|
|
798
|
+
ref: fileInputRef,
|
|
799
|
+
type: "file",
|
|
800
|
+
className: "invisible",
|
|
801
|
+
multiple: true,
|
|
802
|
+
onChange: handleFiles,
|
|
803
|
+
tabIndex: -1,
|
|
804
|
+
id: inputId
|
|
805
|
+
}
|
|
806
|
+
),
|
|
807
|
+
/* @__PURE__ */ jsx7("span", { className: "filePickText", children: addFilesInfoText })
|
|
808
|
+
]
|
|
809
|
+
}
|
|
810
|
+
) }) });
|
|
811
|
+
};
|
|
812
|
+
var ExploreFilesStandard_default = ExploreFiles;
|
|
813
|
+
|
|
814
|
+
// src/NewInputComponentStandard/AddFilesStandard/SelectedFilesStandard.tsx
|
|
815
|
+
import React4, { useEffect as useEffect3, useState as useState4, useRef as useRef3 } from "react";
|
|
816
|
+
import { Col, Row } from "react-bootstrap";
|
|
817
|
+
|
|
818
|
+
// src/NewInputComponentStandard/AddFilesStandard/IndicatorStandard.tsx
|
|
819
|
+
import { useState as useState3 } from "react";
|
|
820
|
+
import clsx3 from "clsx";
|
|
821
|
+
import { Fragment as Fragment8, jsx as jsx8 } from "react/jsx-runtime";
|
|
822
|
+
var Indicator = (filename) => {
|
|
823
|
+
const [uploadPercentage, setUploadPercentage] = useState3(0);
|
|
824
|
+
const [uploadDone, setUploadDone] = useState3(false);
|
|
825
|
+
return /* @__PURE__ */ jsx8(Fragment8, { children: /* @__PURE__ */ jsx8("div", { className: clsx3("uploadIndicator", "uploadDone") }) });
|
|
826
|
+
};
|
|
827
|
+
var IndicatorStandard_default = Indicator;
|
|
828
|
+
|
|
829
|
+
// src/NewInputComponentStandard/AddFilesStandard/SelectedFilesStandard.tsx
|
|
830
|
+
import clsx4 from "clsx";
|
|
831
|
+
import { Fragment as Fragment9, jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
832
|
+
var SelectedFiles = ({
|
|
833
|
+
questionObject,
|
|
834
|
+
isTouched,
|
|
835
|
+
removeError,
|
|
836
|
+
removeFile,
|
|
837
|
+
showIndicator = true,
|
|
838
|
+
errorMessageAddingFile,
|
|
839
|
+
activatedLanguage,
|
|
840
|
+
numberOfFiles,
|
|
841
|
+
setNumberOfFiles
|
|
842
|
+
}) => {
|
|
843
|
+
const theDiv = useRef3(null);
|
|
844
|
+
const remove = (file) => {
|
|
845
|
+
let newFiles = questionObject.Files.filter((f) => f !== file);
|
|
846
|
+
const newCountOfFiles = newFiles.length;
|
|
847
|
+
setNumberOfFiles(newCountOfFiles);
|
|
848
|
+
const e = { target: { value: `${newCountOfFiles} files`, files: newFiles } };
|
|
849
|
+
isTouched(e, questionObject);
|
|
850
|
+
removeFile(newCountOfFiles);
|
|
851
|
+
};
|
|
852
|
+
useEffect3(() => {
|
|
853
|
+
var _a;
|
|
854
|
+
numberOfFiles > 0 && ((_a = theDiv.current) == null ? void 0 : _a.scrollIntoView({ behavior: "smooth", block: "end" }));
|
|
855
|
+
}, [numberOfFiles]);
|
|
856
|
+
const useWindowWidth = () => {
|
|
857
|
+
const [windowWidth2, setWindowWidth] = useState4(window.innerWidth);
|
|
858
|
+
useEffect3(() => {
|
|
859
|
+
const handleResize = () => {
|
|
860
|
+
setWindowWidth(window.innerWidth);
|
|
861
|
+
};
|
|
862
|
+
window.addEventListener("resize", handleResize);
|
|
863
|
+
return () => {
|
|
864
|
+
window.removeEventListener("resize", handleResize);
|
|
865
|
+
};
|
|
866
|
+
}, []);
|
|
867
|
+
return windowWidth2;
|
|
868
|
+
};
|
|
869
|
+
const windowWidth = useWindowWidth();
|
|
870
|
+
return /* @__PURE__ */ jsxs8(Fragment9, { children: [
|
|
871
|
+
/* @__PURE__ */ jsx9("div", { children: errorMessageAddingFile.length > 0 && /* @__PURE__ */ jsxs8("ul", { className: "fileListUnorderedList", "aria-label": "Valideringsfelmeddelanden f\xF6r uppladdade filer", children: [
|
|
872
|
+
" ",
|
|
873
|
+
errorMessageAddingFile.map((errorObj, index) => {
|
|
874
|
+
const errorFileName = errorObj.FileName;
|
|
875
|
+
let mobileFirstFileName = errorObj.FileName.split(".").shift();
|
|
876
|
+
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
877
|
+
const fileType = errorObj.FileName.split(".").pop();
|
|
878
|
+
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
879
|
+
return /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(React4.Fragment, { children: /* @__PURE__ */ jsx9("div", { children: /* @__PURE__ */ jsx9("div", { className: "fileInListContainer", role: "alert", children: /* @__PURE__ */ jsxs8("div", { className: "fileInList", children: [
|
|
880
|
+
/* @__PURE__ */ jsxs8(Row, { children: [
|
|
881
|
+
/* @__PURE__ */ jsx9(Col, { style: { maxWidth: "30px" }, children: /* @__PURE__ */ jsx9(
|
|
882
|
+
"span",
|
|
883
|
+
{
|
|
884
|
+
"aria-hidden": "true",
|
|
885
|
+
className: clsx4("uploadedDot", "uploadFailed"),
|
|
886
|
+
children: "!"
|
|
887
|
+
}
|
|
888
|
+
) }),
|
|
889
|
+
/* @__PURE__ */ jsx9(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsx9("span", { className: "mobileFirstFileName", children: mobileFirstFileName }) : /* @__PURE__ */ jsx9("span", { className: "desktopFileName", children: errorObj.FileName }) }),
|
|
890
|
+
/* @__PURE__ */ jsx9(Col, { className: "lastCol", children: /* @__PURE__ */ jsx9(
|
|
891
|
+
"button",
|
|
892
|
+
{
|
|
893
|
+
className: "selectedFilesLinkButton",
|
|
894
|
+
onClick: () => {
|
|
895
|
+
removeError(index);
|
|
896
|
+
},
|
|
897
|
+
"aria-label": activatedLanguage === "sv" ? `St\xE4ng felmeddelandet f\xF6r ${errorFileName}` : `Close error message for ${errorFileName}`,
|
|
898
|
+
children: activatedLanguage === "sv" ? "St\xE4ng" : "Close"
|
|
899
|
+
}
|
|
900
|
+
) })
|
|
901
|
+
] }),
|
|
902
|
+
/* @__PURE__ */ jsx9(Row, { children: /* @__PURE__ */ jsx9(
|
|
903
|
+
Col,
|
|
904
|
+
{
|
|
905
|
+
style: {
|
|
906
|
+
width: "100%",
|
|
907
|
+
color: "#8e0039"
|
|
908
|
+
},
|
|
909
|
+
className: "errorMessageAddingFile",
|
|
910
|
+
...activatedLanguage === "sv" ? {
|
|
911
|
+
"aria-label": `${errorFileName} ${errorObj.svMessage}`
|
|
912
|
+
} : {
|
|
913
|
+
"aria-label": `${errorFileName} ${errorObj.enMessage}`
|
|
914
|
+
},
|
|
915
|
+
children: activatedLanguage === "sv" ? errorObj.svMessage : errorObj.enMessage
|
|
916
|
+
}
|
|
917
|
+
) }),
|
|
918
|
+
/* @__PURE__ */ jsx9(Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ jsx9(Col, { className: "makeSpace" }) })
|
|
919
|
+
] }, index) }) }) }, `error-${errorObj.FileName}-${index}`) });
|
|
920
|
+
})
|
|
921
|
+
] }) }),
|
|
922
|
+
questionObject.Files.length > 0 && /* @__PURE__ */ jsx9("ul", { className: "fileListUnorderedList", "aria-label": "Uppladdade filer", children: questionObject.Files.map((file, index) => {
|
|
923
|
+
const indicatorfileName = file.FileName;
|
|
924
|
+
let mobileFirstFileName = file.FileName.split(".").shift();
|
|
925
|
+
mobileFirstFileName = mobileFirstFileName.length > 8 ? mobileFirstFileName.substring(0, 8) + ".." : mobileFirstFileName;
|
|
926
|
+
const fileType = file.FileName.split(".").pop();
|
|
927
|
+
mobileFirstFileName = mobileFirstFileName + "." + fileType;
|
|
928
|
+
return /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(React4.Fragment, { children: /* @__PURE__ */ jsx9("div", { children: /* @__PURE__ */ jsx9("div", { className: "fileInListContainer", children: /* @__PURE__ */ jsxs8("div", { className: "fileInList", children: [
|
|
929
|
+
/* @__PURE__ */ jsxs8(Row, { children: [
|
|
930
|
+
/* @__PURE__ */ jsx9(Col, { style: { maxWidth: "30px" }, children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", className: "uploadedDot", children: /* @__PURE__ */ jsx9(
|
|
931
|
+
"svg",
|
|
932
|
+
{
|
|
933
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
934
|
+
width: "8",
|
|
935
|
+
height: "8",
|
|
936
|
+
viewBox: "0 0 8 8",
|
|
937
|
+
fill: "none",
|
|
938
|
+
children: /* @__PURE__ */ jsx9(
|
|
939
|
+
"path",
|
|
940
|
+
{
|
|
941
|
+
d: "M1 4.65913L2.8 6.45913L7 1.35913",
|
|
942
|
+
stroke: "white",
|
|
943
|
+
"stroke-width": "1.5",
|
|
944
|
+
"stroke-linecap": "round"
|
|
945
|
+
}
|
|
946
|
+
)
|
|
947
|
+
}
|
|
948
|
+
) }) }),
|
|
949
|
+
/* @__PURE__ */ jsx9(Col, { children: windowWidth < 768 ? /* @__PURE__ */ jsxs8("span", { className: "mobileFirstFileName", children: [
|
|
950
|
+
mobileFirstFileName,
|
|
951
|
+
" (",
|
|
952
|
+
Math.ceil(file.FileSize / (1024 * 1024)),
|
|
953
|
+
" MB)"
|
|
954
|
+
] }) : /* @__PURE__ */ jsxs8("span", { className: "desktopFileName", children: [
|
|
955
|
+
file.FileName,
|
|
956
|
+
" (",
|
|
957
|
+
file.FileSize < 1024 * 1024 ? `${Math.round(file.FileSize / 1024)} kB` : `${(file.FileSize / (1024 * 1024)).toFixed(
|
|
958
|
+
1
|
|
959
|
+
)} MB`,
|
|
960
|
+
")"
|
|
961
|
+
] }) }),
|
|
962
|
+
/* @__PURE__ */ jsx9(Col, { className: "lastCol", children: /* @__PURE__ */ jsx9(
|
|
963
|
+
"button",
|
|
964
|
+
{
|
|
965
|
+
className: "selectedFilesLinkButton",
|
|
966
|
+
onClick: () => remove(file),
|
|
967
|
+
"aria-label": activatedLanguage === "sv" ? `Radera ${indicatorfileName}` : `Delete ${indicatorfileName}`,
|
|
968
|
+
children: activatedLanguage === "sv" ? "Radera" : "Delete"
|
|
969
|
+
}
|
|
970
|
+
) })
|
|
971
|
+
] }),
|
|
972
|
+
showIndicator && /* @__PURE__ */ jsx9(Row, { children: /* @__PURE__ */ jsx9(Col, { style: { width: "100%", padding: 0 }, children: /* @__PURE__ */ jsx9(IndicatorStandard_default, { filename: indicatorfileName }) }) }),
|
|
973
|
+
/* @__PURE__ */ jsx9(Row, { style: { marginTop: "12px", marginBottom: "12px" }, children: /* @__PURE__ */ jsx9(Col, { className: "makeSpace" }) })
|
|
974
|
+
] }, index) }) }) }, `file-${file.FileName}-${index}`) });
|
|
975
|
+
}) }),
|
|
976
|
+
/* @__PURE__ */ jsx9("div", { ref: theDiv, style: { height: "36px" } })
|
|
977
|
+
] });
|
|
978
|
+
};
|
|
979
|
+
var SelectedFilesStandard_default = SelectedFiles;
|
|
980
|
+
|
|
981
|
+
// src/NewInputComponentStandard/AddFilesStandard/AddFilesStandard.tsx
|
|
982
|
+
import { Fragment as Fragment10, jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
983
|
+
var AddFiles = ({
|
|
984
|
+
questionObject,
|
|
985
|
+
isTouched,
|
|
986
|
+
visible,
|
|
987
|
+
activatedLanguage = "sv",
|
|
988
|
+
showPreview = false,
|
|
989
|
+
allowedFileTypes = [],
|
|
990
|
+
allowedNumberOfFiles = 5,
|
|
991
|
+
allowedTotalFileSize = 20971520
|
|
992
|
+
// 20MB = (1024 * 1024) * 20
|
|
993
|
+
}) => {
|
|
994
|
+
if (allowedFileTypes.length < 1) {
|
|
995
|
+
allowedFileTypes = [
|
|
996
|
+
"pdf",
|
|
997
|
+
"doc",
|
|
998
|
+
"docx",
|
|
999
|
+
"xls",
|
|
1000
|
+
"xlsx",
|
|
1001
|
+
"txt",
|
|
1002
|
+
"rtf",
|
|
1003
|
+
"ppt",
|
|
1004
|
+
"pptx",
|
|
1005
|
+
"jpg",
|
|
1006
|
+
"jpeg",
|
|
1007
|
+
"png",
|
|
1008
|
+
"tif",
|
|
1009
|
+
"tiff",
|
|
1010
|
+
"csv"
|
|
1011
|
+
];
|
|
1012
|
+
}
|
|
1013
|
+
const inputId = `input-${questionObject.Id}`;
|
|
1014
|
+
const aboutId = `about-${questionObject.Id}`;
|
|
1015
|
+
const errorId = `error-${questionObject.Id}`;
|
|
1016
|
+
const labelId = `label-${questionObject.Id}`;
|
|
1017
|
+
const maxSizeMB = Math.round(allowedTotalFileSize / 1048576);
|
|
1018
|
+
const [numberOfFiles, setNumberOfFiles] = useState5(0);
|
|
1019
|
+
const [totalFileSize, setTotalFileSize] = useState5(0);
|
|
1020
|
+
const [errorMessageAddingFile, setErrorMessageAddingFile] = useState5([]);
|
|
1021
|
+
const [newFiles, setNewFiles] = useState5([]);
|
|
1022
|
+
const [dropFilesText, setDropFilesText] = useState5("Dra och sl\xE4pp dina filer h\xE4r");
|
|
1023
|
+
useEffect4(() => {
|
|
1024
|
+
if (activatedLanguage === "sv") {
|
|
1025
|
+
setDropFilesText("Dra och sl\xE4pp dina filer h\xE4r");
|
|
1026
|
+
} else {
|
|
1027
|
+
setDropFilesText("Drag and drop your files here");
|
|
1028
|
+
}
|
|
1029
|
+
}, [activatedLanguage]);
|
|
1030
|
+
useEffect4(() => {
|
|
1031
|
+
if (questionObject.Files && questionObject.Files.length > 0) {
|
|
1032
|
+
setNumberOfFiles(questionObject.Files.length);
|
|
1033
|
+
}
|
|
1034
|
+
}, []);
|
|
1035
|
+
const onDrop = useCallback(
|
|
1036
|
+
(acceptedFiles) => {
|
|
1037
|
+
var _a, _b, _c;
|
|
1038
|
+
const validationErrors = [];
|
|
1039
|
+
const validFiles = [];
|
|
1040
|
+
const currentTotalFileSize = (questionObject.Files || []).reduce(
|
|
1041
|
+
(acc, f) => acc + f.FileSize,
|
|
1042
|
+
0
|
|
1043
|
+
);
|
|
1044
|
+
setTotalFileSize(currentTotalFileSize);
|
|
1045
|
+
if ((((_a = questionObject.Files) == null ? void 0 : _a.length) || 0) >= allowedNumberOfFiles) {
|
|
1046
|
+
acceptedFiles.forEach((file) => {
|
|
1047
|
+
validationErrors.push({
|
|
1048
|
+
FileName: file.name,
|
|
1049
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med en total filstorlek p\xE5 ${maxSizeMB}MB`,
|
|
1050
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
setErrorMessageAddingFile((prev) => [...prev, ...validationErrors]);
|
|
1054
|
+
return;
|
|
1055
|
+
}
|
|
1056
|
+
let accumulatedNewSize = 0;
|
|
1057
|
+
for (const file of acceptedFiles) {
|
|
1058
|
+
const fileExtension = ((_b = file.name.split(".").pop()) == null ? void 0 : _b.toLowerCase()) || "";
|
|
1059
|
+
if (!allowedFileTypes.includes(fileExtension)) {
|
|
1060
|
+
validationErrors.push({
|
|
1061
|
+
FileName: file.name,
|
|
1062
|
+
svMessage: "Filen \xE4r i fel format. V\xE4lj " + allowedFileTypes.join(", "),
|
|
1063
|
+
enMessage: "Invalid file format. Choose " + allowedFileTypes.join(", ")
|
|
1064
|
+
});
|
|
1065
|
+
continue;
|
|
1066
|
+
}
|
|
1067
|
+
if ((((_c = questionObject.Files) == null ? void 0 : _c.length) || 0) + validFiles.length >= allowedNumberOfFiles) {
|
|
1068
|
+
validationErrors.push({
|
|
1069
|
+
FileName: file.name,
|
|
1070
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med en total filstorlek p\xE5 ${maxSizeMB}MB`,
|
|
1071
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
1072
|
+
});
|
|
1073
|
+
continue;
|
|
1074
|
+
}
|
|
1075
|
+
const projectedTotalSize = currentTotalFileSize + accumulatedNewSize + file.size;
|
|
1076
|
+
if (projectedTotalSize > allowedTotalFileSize) {
|
|
1077
|
+
validationErrors.push({
|
|
1078
|
+
FileName: file.name,
|
|
1079
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med en total filstorlek p\xE5 ${maxSizeMB}MB`,
|
|
1080
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
1081
|
+
});
|
|
1082
|
+
continue;
|
|
1083
|
+
}
|
|
1084
|
+
accumulatedNewSize += file.size;
|
|
1085
|
+
validFiles.push(file);
|
|
1086
|
+
}
|
|
1087
|
+
if (validationErrors.length > 0) {
|
|
1088
|
+
setErrorMessageAddingFile((prev) => [...prev, ...validationErrors]);
|
|
1089
|
+
}
|
|
1090
|
+
if (validFiles.length > 0) {
|
|
1091
|
+
processValidFiles(validFiles);
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
[questionObject.Files, allowedFileTypes, allowedNumberOfFiles, allowedTotalFileSize]
|
|
1095
|
+
);
|
|
1096
|
+
const processValidFiles = (validFiles) => {
|
|
1097
|
+
let files = [];
|
|
1098
|
+
validFiles.forEach((file) => {
|
|
1099
|
+
const reader = new FileReader();
|
|
1100
|
+
reader.onload = () => {
|
|
1101
|
+
const newFile = {
|
|
1102
|
+
dataURL: reader.result,
|
|
1103
|
+
FileName: file.name,
|
|
1104
|
+
FileSize: file.size,
|
|
1105
|
+
FileType: file.type
|
|
1106
|
+
};
|
|
1107
|
+
files = [...files, newFile];
|
|
1108
|
+
if (files.length === validFiles.length) {
|
|
1109
|
+
setNewFiles((prev) => [...prev, ...files]);
|
|
1110
|
+
}
|
|
1111
|
+
};
|
|
1112
|
+
reader.onerror = () => {
|
|
1113
|
+
setErrorMessageAddingFile((prev) => [
|
|
1114
|
+
...prev,
|
|
1115
|
+
{
|
|
1116
|
+
FileName: file.name,
|
|
1117
|
+
svMessage: "Uppladdningen misslyckades eller avbr\xF6ts.",
|
|
1118
|
+
enMessage: "Upload failed or was canceled."
|
|
1119
|
+
}
|
|
1120
|
+
]);
|
|
1121
|
+
};
|
|
1122
|
+
reader.readAsDataURL(file);
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
useEffect4(() => {
|
|
1126
|
+
if (newFiles.length > 0) {
|
|
1127
|
+
const currentFiles = questionObject.Files ? questionObject.Files : [];
|
|
1128
|
+
const e = {
|
|
1129
|
+
target: {
|
|
1130
|
+
value: `${currentFiles.length + newFiles.length} files`,
|
|
1131
|
+
files: [...currentFiles, ...newFiles]
|
|
1132
|
+
}
|
|
1133
|
+
};
|
|
1134
|
+
isTouched(e, questionObject);
|
|
1135
|
+
setNumberOfFiles(currentFiles.length + newFiles.length);
|
|
1136
|
+
setNewFiles([]);
|
|
1137
|
+
}
|
|
1138
|
+
}, [newFiles]);
|
|
1139
|
+
const removeFileFromNumberOfFiles = (newCount) => {
|
|
1140
|
+
setNumberOfFiles(newCount);
|
|
1141
|
+
};
|
|
1142
|
+
const removeError = (errorIndex) => {
|
|
1143
|
+
let newErrors = errorMessageAddingFile.filter((e, index) => index !== errorIndex);
|
|
1144
|
+
setErrorMessageAddingFile(newErrors);
|
|
1145
|
+
};
|
|
1146
|
+
return /* @__PURE__ */ jsxs9(Fragment10, { children: [
|
|
1147
|
+
!showPreview && visible && /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsxs9("div", { role: "group", children: [
|
|
1148
|
+
!questionObject.HideQuestion && questionObject.Question,
|
|
1149
|
+
questionObject.Info && /* @__PURE__ */ jsxs9(
|
|
1150
|
+
"p",
|
|
1151
|
+
{
|
|
1152
|
+
id: aboutId,
|
|
1153
|
+
className: clsx5("addFilesMandatory", questionObject.error ? " error" : ""),
|
|
1154
|
+
children: [
|
|
1155
|
+
questionObject.Info,
|
|
1156
|
+
questionObject.Mandatory && /* @__PURE__ */ jsxs9("span", { className: "mandatoryAsterisk", "aria-hidden": "true", children: [
|
|
1157
|
+
" ",
|
|
1158
|
+
"*"
|
|
1159
|
+
] })
|
|
1160
|
+
]
|
|
1161
|
+
}
|
|
1162
|
+
),
|
|
1163
|
+
questionObject.error && /* @__PURE__ */ jsxs9("div", { className: "error addfileserror", id: errorId, children: [
|
|
1164
|
+
/* @__PURE__ */ jsx10("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1165
|
+
/* @__PURE__ */ jsx10(
|
|
1166
|
+
"span",
|
|
1167
|
+
{
|
|
1168
|
+
"aria-label": `Felmeddelande. ${questionObject.errorSpecificMessage}`,
|
|
1169
|
+
className: "errorText",
|
|
1170
|
+
children: questionObject.errorSpecificMessage
|
|
1171
|
+
}
|
|
1172
|
+
)
|
|
1173
|
+
] }),
|
|
1174
|
+
/* @__PURE__ */ jsx10(
|
|
1175
|
+
ExploreFilesStandard_default,
|
|
1176
|
+
{
|
|
1177
|
+
FilesSelected: onDrop,
|
|
1178
|
+
numberOfFiles,
|
|
1179
|
+
allowedNumberOfFiles,
|
|
1180
|
+
activatedLanguage,
|
|
1181
|
+
inputId,
|
|
1182
|
+
labelId,
|
|
1183
|
+
aboutId,
|
|
1184
|
+
errorId,
|
|
1185
|
+
questionObject
|
|
1186
|
+
}
|
|
1187
|
+
),
|
|
1188
|
+
/* @__PURE__ */ jsx10(DropFilesStandard_default, { FilesSelected: onDrop, DropFilesText: dropFilesText }),
|
|
1189
|
+
/* @__PURE__ */ jsx10(
|
|
1190
|
+
SelectedFilesStandard_default,
|
|
1191
|
+
{
|
|
1192
|
+
questionObject,
|
|
1193
|
+
isTouched,
|
|
1194
|
+
removeFile: removeFileFromNumberOfFiles,
|
|
1195
|
+
removeError,
|
|
1196
|
+
errorMessageAddingFile,
|
|
1197
|
+
activatedLanguage,
|
|
1198
|
+
numberOfFiles,
|
|
1199
|
+
setNumberOfFiles
|
|
1200
|
+
}
|
|
1201
|
+
)
|
|
1202
|
+
] }) }),
|
|
1203
|
+
showPreview && /* @__PURE__ */ jsx10(PreviewAddFiles, { activatedLanguage, questionObject })
|
|
1204
|
+
] });
|
|
1205
|
+
};
|
|
1206
|
+
var AddFilesStandard_default = AddFiles;
|
|
1207
|
+
var PreviewAddFiles = ({
|
|
1208
|
+
questionObject,
|
|
1209
|
+
activatedLanguage
|
|
1210
|
+
}) => {
|
|
1211
|
+
const previewId = `preview-${questionObject.Id}`;
|
|
1212
|
+
return /* @__PURE__ */ jsxs9("div", { className: "pts-question-preview pts-addFiles-preview", id: `question-${previewId}`, children: [
|
|
1213
|
+
/* @__PURE__ */ jsx10("h3", { id: previewId, children: questionObject.Question }),
|
|
1214
|
+
/* @__PURE__ */ jsx10("div", { className: "pts-root-answer", children: questionObject.Files && questionObject.Files.length > 0 ? /* @__PURE__ */ jsx10("ul", { "aria-labelledby": previewId, children: questionObject.Files.map((file, index) => {
|
|
1215
|
+
return /* @__PURE__ */ jsx10("li", { children: file.FileName }, `file-${index}-${file.FileName}`);
|
|
1216
|
+
}) }) : /* @__PURE__ */ jsx10("span", { className: "no-answer-preview-page", children: activatedLanguage === "en" ? "No attached files" : "Inga bifogade filer" }) })
|
|
1217
|
+
] });
|
|
1218
|
+
};
|
|
1219
|
+
|
|
693
1220
|
// src/NewHelpMethodsStandard/QuestionHasValidationError/QuestionHasValidationError.tsx
|
|
694
1221
|
import { isValid, parseISO } from "date-fns";
|
|
695
1222
|
var questionHasValidationError = (questionObject, arrayOfQuestionObjects) => {
|
|
@@ -908,7 +1435,7 @@ function groupQuestionsByStepCategoryGroup(questions, steps, validationErrorsLis
|
|
|
908
1435
|
var GroupQuestionsByStepCategoryGroup_default = groupQuestionsByStepCategoryGroup;
|
|
909
1436
|
|
|
910
1437
|
// src/NewRenderFormComponentStandard/RenderQuestion/RenderQuestion.tsx
|
|
911
|
-
import { Fragment as
|
|
1438
|
+
import { Fragment as Fragment11, jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
912
1439
|
var RenderQuestion = ({
|
|
913
1440
|
question,
|
|
914
1441
|
isTouched,
|
|
@@ -916,8 +1443,8 @@ var RenderQuestion = ({
|
|
|
916
1443
|
showPreview = false,
|
|
917
1444
|
hideValidationMessage
|
|
918
1445
|
}) => {
|
|
919
|
-
return /* @__PURE__ */
|
|
920
|
-
question.questionType === "Radio" && /* @__PURE__ */
|
|
1446
|
+
return /* @__PURE__ */ jsxs10(Fragment11, { children: [
|
|
1447
|
+
question.questionType === "Radio" && /* @__PURE__ */ jsx11(
|
|
921
1448
|
RadioMultipleStandard_default,
|
|
922
1449
|
{
|
|
923
1450
|
question,
|
|
@@ -925,7 +1452,7 @@ var RenderQuestion = ({
|
|
|
925
1452
|
showPreview
|
|
926
1453
|
}
|
|
927
1454
|
),
|
|
928
|
-
question.questionType === "TextField" && /* @__PURE__ */
|
|
1455
|
+
question.questionType === "TextField" && /* @__PURE__ */ jsx11(
|
|
929
1456
|
TextFieldStandard_default,
|
|
930
1457
|
{
|
|
931
1458
|
question,
|
|
@@ -934,17 +1461,17 @@ var RenderQuestion = ({
|
|
|
934
1461
|
activatedLanguage
|
|
935
1462
|
}
|
|
936
1463
|
),
|
|
937
|
-
question.questionType === "
|
|
938
|
-
|
|
1464
|
+
question.questionType === "AddFiles" && /* @__PURE__ */ jsx11(
|
|
1465
|
+
AddFilesStandard_default,
|
|
939
1466
|
{
|
|
940
|
-
question,
|
|
1467
|
+
questionObject: question,
|
|
941
1468
|
isTouched,
|
|
942
1469
|
showPreview,
|
|
943
1470
|
activatedLanguage,
|
|
944
1471
|
visible: question.visible
|
|
945
1472
|
}
|
|
946
1473
|
),
|
|
947
|
-
question.questionType === "Checkbox" && /* @__PURE__ */
|
|
1474
|
+
question.questionType === "Checkbox" && /* @__PURE__ */ jsx11(
|
|
948
1475
|
MultipleCheckboxesStandard_default,
|
|
949
1476
|
{
|
|
950
1477
|
question,
|
|
@@ -953,14 +1480,14 @@ var RenderQuestion = ({
|
|
|
953
1480
|
activatedLanguage
|
|
954
1481
|
}
|
|
955
1482
|
),
|
|
956
|
-
question.questionType === "TextArea" && /* @__PURE__ */
|
|
1483
|
+
question.questionType === "TextArea" && /* @__PURE__ */ jsx11(TextAreaStandard_default, { question, isTouched, showPreview })
|
|
957
1484
|
] });
|
|
958
1485
|
};
|
|
959
1486
|
var RenderQuestion_default = RenderQuestion;
|
|
960
1487
|
|
|
961
1488
|
// src/NewRenderFormComponentStandard/RenderQuestionGroup/RenderQuestionGroup.tsx
|
|
962
|
-
import
|
|
963
|
-
import { Fragment as
|
|
1489
|
+
import React6 from "react";
|
|
1490
|
+
import { Fragment as Fragment12, jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
964
1491
|
var RenderQuestionGroup = ({
|
|
965
1492
|
questionArray,
|
|
966
1493
|
wrapper,
|
|
@@ -971,15 +1498,15 @@ var RenderQuestionGroup = ({
|
|
|
971
1498
|
AddQuestionDisplayed,
|
|
972
1499
|
hideValidationMessage
|
|
973
1500
|
}) => {
|
|
974
|
-
|
|
1501
|
+
React6.useEffect(() => {
|
|
975
1502
|
questionArray.forEach((question) => {
|
|
976
1503
|
if (question.visible && !question.isDisplayed) {
|
|
977
1504
|
AddQuestionDisplayed(question);
|
|
978
1505
|
}
|
|
979
1506
|
});
|
|
980
1507
|
}, [questionArray]);
|
|
981
|
-
const questions = /* @__PURE__ */
|
|
982
|
-
return /* @__PURE__ */
|
|
1508
|
+
const questions = /* @__PURE__ */ jsx12(Fragment12, { children: questionArray.map((question, index) => {
|
|
1509
|
+
return /* @__PURE__ */ jsx12(React6.Fragment, { children: /* @__PURE__ */ jsx12(
|
|
983
1510
|
RenderQuestion_default,
|
|
984
1511
|
{
|
|
985
1512
|
question,
|
|
@@ -992,7 +1519,7 @@ var RenderQuestionGroup = ({
|
|
|
992
1519
|
}) });
|
|
993
1520
|
switch (wrapper) {
|
|
994
1521
|
case "fieldset":
|
|
995
|
-
return /* @__PURE__ */
|
|
1522
|
+
return /* @__PURE__ */ jsxs11(
|
|
996
1523
|
"fieldset",
|
|
997
1524
|
{
|
|
998
1525
|
className: "pts-root-question-group-fieldset",
|
|
@@ -1001,28 +1528,28 @@ var RenderQuestionGroup = ({
|
|
|
1001
1528
|
"aria-errormessage": questionArray[0].questionId + "-error",
|
|
1002
1529
|
"aria-describedby": questionArray[0].questionId + "-error",
|
|
1003
1530
|
children: [
|
|
1004
|
-
legend && /* @__PURE__ */
|
|
1005
|
-
/* @__PURE__ */
|
|
1006
|
-
questionArray[0].hasValidationError && /* @__PURE__ */
|
|
1531
|
+
legend && /* @__PURE__ */ jsxs11("legend", { children: [
|
|
1532
|
+
/* @__PURE__ */ jsx12("span", { children: legend }),
|
|
1533
|
+
questionArray[0].hasValidationError && /* @__PURE__ */ jsxs11("span", { className: "sr-only", children: [
|
|
1007
1534
|
"Valideringsfel. ",
|
|
1008
1535
|
questionArray[0].validationDefaultMessesege
|
|
1009
1536
|
] })
|
|
1010
1537
|
] }),
|
|
1011
|
-
/* @__PURE__ */
|
|
1012
|
-
/* @__PURE__ */
|
|
1013
|
-
/* @__PURE__ */
|
|
1538
|
+
/* @__PURE__ */ jsx12("div", { className: "pts-root-error", id: questionArray[0].questionId + "-error", children: questionArray[0].hasValidationError && /* @__PURE__ */ jsxs11(Fragment12, { children: [
|
|
1539
|
+
/* @__PURE__ */ jsx12("span", { "aria-hidden": true, className: "errorDot", children: "!" }),
|
|
1540
|
+
/* @__PURE__ */ jsx12("span", { "aria-label": "Felmeddelande.", className: "errorText", children: questionArray[0].validationDefaultMessesege })
|
|
1014
1541
|
] }) }),
|
|
1015
1542
|
questions
|
|
1016
1543
|
]
|
|
1017
1544
|
}
|
|
1018
1545
|
);
|
|
1019
1546
|
case "section":
|
|
1020
|
-
return /* @__PURE__ */
|
|
1547
|
+
return /* @__PURE__ */ jsx12("section", { className: "pts-root-question-group-section", children: questions });
|
|
1021
1548
|
case "div":
|
|
1022
|
-
return /* @__PURE__ */
|
|
1549
|
+
return /* @__PURE__ */ jsx12("div", { className: "pts-root-question-group-div", children: questions });
|
|
1023
1550
|
case "none":
|
|
1024
1551
|
default:
|
|
1025
|
-
return /* @__PURE__ */
|
|
1552
|
+
return /* @__PURE__ */ jsx12(React6.Fragment, { children: questions });
|
|
1026
1553
|
}
|
|
1027
1554
|
};
|
|
1028
1555
|
var RenderQuestionGroup_default = RenderQuestionGroup;
|
|
@@ -1110,53 +1637,44 @@ var ILanguageSupportinitialState = {
|
|
|
1110
1637
|
};
|
|
1111
1638
|
|
|
1112
1639
|
// src/NewTextComponentStandard/EditPreviewLinkStandard/EditPreviewLinkStandard.tsx
|
|
1113
|
-
import { jsx as
|
|
1640
|
+
import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1114
1641
|
var EditPreviewLink = ({
|
|
1115
1642
|
step,
|
|
1116
1643
|
changeStepHandler,
|
|
1117
1644
|
activatedLanguage = "sv"
|
|
1118
1645
|
}) => {
|
|
1119
|
-
return /* @__PURE__ */
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1646
|
+
return /* @__PURE__ */ jsx13("div", { className: "pts-editPreviewLink-container", children: /* @__PURE__ */ jsxs12("button", { type: "button", onClick: () => changeStepHandler(step), role: "link", children: [
|
|
1647
|
+
/* @__PURE__ */ jsx13(
|
|
1648
|
+
"svg",
|
|
1649
|
+
{
|
|
1650
|
+
"aria-hidden": "true",
|
|
1651
|
+
focusable: "false",
|
|
1652
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1653
|
+
width: "16",
|
|
1654
|
+
height: "16",
|
|
1655
|
+
viewBox: "0 0 16 16",
|
|
1656
|
+
fill: "none",
|
|
1657
|
+
children: /* @__PURE__ */ jsx13(
|
|
1658
|
+
"path",
|
|
1129
1659
|
{
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
height: "16",
|
|
1135
|
-
viewBox: "0 0 16 16",
|
|
1136
|
-
fill: "none",
|
|
1137
|
-
children: /* @__PURE__ */ jsx8(
|
|
1138
|
-
"path",
|
|
1139
|
-
{
|
|
1140
|
-
d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
|
|
1141
|
-
stroke: "#6E3282",
|
|
1142
|
-
strokeLinecap: "round",
|
|
1143
|
-
strokeLinejoin: "round"
|
|
1144
|
-
}
|
|
1145
|
-
)
|
|
1660
|
+
d: "M10.0001 3.99996L12.0001 5.99996M8.66675 13.3333H14.0001M3.33341 10.6666L2.66675 13.3333L5.33341 12.6666L13.0574 4.94263C13.3074 4.69259 13.4478 4.35351 13.4478 3.99996C13.4478 3.64641 13.3074 3.30733 13.0574 3.05729L12.9427 2.94263C12.6927 2.69267 12.3536 2.55225 12.0001 2.55225C11.6465 2.55225 11.3075 2.69267 11.0574 2.94263L3.33341 10.6666Z",
|
|
1661
|
+
stroke: "#6E3282",
|
|
1662
|
+
strokeLinecap: "round",
|
|
1663
|
+
strokeLinejoin: "round"
|
|
1146
1664
|
}
|
|
1147
|
-
)
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
}
|
|
1151
|
-
) });
|
|
1665
|
+
)
|
|
1666
|
+
}
|
|
1667
|
+
),
|
|
1668
|
+
activatedLanguage === "en" ? `Edit step ${step}` : `Redigera steg ${step}`
|
|
1669
|
+
] }) });
|
|
1152
1670
|
};
|
|
1153
1671
|
var EditPreviewLinkStandard_default = EditPreviewLink;
|
|
1154
1672
|
|
|
1155
1673
|
// src/NewTextComponentStandard/FooterStandard/FooterStandard.tsx
|
|
1156
|
-
import { jsx as
|
|
1674
|
+
import { jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1157
1675
|
var Footer = ({ activatedLanguage = "sv" }) => {
|
|
1158
|
-
return /* @__PURE__ */
|
|
1159
|
-
/* @__PURE__ */
|
|
1676
|
+
return /* @__PURE__ */ jsxs13("footer", { className: "pts-footer-container", children: [
|
|
1677
|
+
/* @__PURE__ */ jsxs13(
|
|
1160
1678
|
"svg",
|
|
1161
1679
|
{
|
|
1162
1680
|
role: "img",
|
|
@@ -1168,14 +1686,14 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
1168
1686
|
viewBox: "0 0 278 72",
|
|
1169
1687
|
fill: "none",
|
|
1170
1688
|
children: [
|
|
1171
|
-
/* @__PURE__ */
|
|
1689
|
+
/* @__PURE__ */ jsx14(
|
|
1172
1690
|
"path",
|
|
1173
1691
|
{
|
|
1174
1692
|
d: "M54 43C54 47.2 51.5 51.1 47.6 52.3C45.8 52.8 44 53 41 53H24.5C21.4 53 21 53.5 21 56.5V63C21 65.4 19.5 67 17.5 67C15.5 67 14 65.4 14 63V58.5C14 56.5 14 54.8 14.2 53.9C14.8 50.5 16.8 47.9 20.1 46.7C21.4 46.2 23.6 45.9 27.9 45.9H42C43.2 45.9 44.4 45.8 44.9 45.6C46.4 45 46.9 44 46.9 42.9C46.9 41.8 46.5 40.7 44.9 40.2C44.4 40 43.2 39.9 42 39.9H19.4C18.5 39.9 17.7 39.9 17.3 39.7C15.8 39.2 14.9 37.8 14.9 36.4C14.9 35 15.8 33.6 17.3 33.1C17.8 32.9 18.3 32.9 19.3 32.9H40.9C44 32.9 46.4 33.1 47.9 33.7C51.8 35.2 53.9 38.4 53.9 42.9L54 43ZM95.7 33.3C95.2 33.1 94.4 33 93.3 33H61.6C60.8 33 60.1 33 59.7 33.2C58 33.7 57 35 57 36.5C57 38 57.8 39.2 59.4 39.7C59.9 39.9 60.7 40 61.6 40H74V63.4C74 65.8 75.6 67 77.5 67C79.4 67 81 65.8 81 63.4V40H93.3C94.5 40 95.1 40 95.5 39.8C97.1 39.3 98 38 98 36.5C98 35 97.2 33.8 95.7 33.3ZM133.5 47.4C131.8 46.5 129.6 46 124.1 46H113.5C111.8 46 110.9 45.9 110.3 45.7C108.6 45.1 108 44 108 43C108 42 108.4 40.8 110.2 40.2C110.7 40 111.6 40 112.5 40H132C132.4 40 133.5 40 133.8 40C135.6 39.7 137 38.6 137 36.6C137 34.6 135.6 33.6 133.9 33.2C133.6 33.2 132.9 33.1 132 33.1H113.5C110.2 33.1 107.8 33.5 106.2 34.2C102.9 35.8 101 39.2 101 43.1C101 47 102.8 50.5 106.4 52.1C108 52.8 110.4 53.1 113.5 53.1H127C128.7 53.1 129.6 53.3 130.2 53.5C131.6 54 132 55.4 132 56.6C132 57.8 131.6 59.3 129.9 59.8C129.3 60 128.1 60.1 126.1 60.1H106.5C105.7 60.1 104.9 60.1 104.5 60.3C102.9 60.7 102 62 102 63.6C102 65.2 103 66.2 104.3 66.7C104.8 66.9 105.9 67.1 106.7 67.1H124C127.7 67.1 130.7 66.9 132.5 66.3C136.6 65.1 138.9 61.2 138.9 56.6C138.9 52 136.8 49.2 133.4 47.5L133.5 47.4Z",
|
|
1175
1693
|
fill: "white"
|
|
1176
1694
|
}
|
|
1177
1695
|
),
|
|
1178
|
-
/* @__PURE__ */
|
|
1696
|
+
/* @__PURE__ */ jsx14(
|
|
1179
1697
|
"path",
|
|
1180
1698
|
{
|
|
1181
1699
|
d: "M92.1 15.7L92.5 15C90 11.6 84.1 9.2 78.1 9H76.9C70.9 9.2 65 11.6 62.5 15L62.9 15.7C61.8 15.7 61 16.4 61 17.3L63.3 27C63.5 27.6 63.7 27.9 64.5 27.9H90.5C91.2 27.9 91.5 27.5 91.6 27L93.9 17.3C93.9 16.4 93.1 15.7 92 15.7H92.1ZM69.3 18.8C69.1 18.8 68.8 18.7 68.6 18.7C67.6 18.7 66.9 19.4 66.9 20.3C66.9 21.2 67.6 21.8 68.5 21.8C69.4 21.8 69.3 21.7 69.5 21.4C69.5 22.2 68.6 24 67.4 24H64.9C63.2 24 63 21.7 63 21.5C63.2 21.7 63.7 21.8 64.1 21.8C64.9 21.8 65.6 21.2 65.6 20.3C65.6 19.4 64.9 18.7 63.9 18.7C62.9 18.7 63.5 18.7 63.4 18.7C63.8 18.4 64.2 17.9 64.2 17.3C64.2 16.7 63.9 16.4 63.5 16.1L65.8 15C67.3 12.5 70 10.7 73.3 10C71.5 11.3 70 12.9 68.8 15L69.6 15.7C68.8 15.8 68.2 16.5 68.2 17.3C68.2 18.1 68.6 18.5 69.2 18.8H69.3ZM76.8 18.9C76.6 18.8 76.2 18.7 76 18.7C75 18.7 74.3 19.4 74.3 20.3C74.3 21.2 75 21.8 75.9 21.8C76.8 21.8 76.7 21.7 77 21.5C77 22.3 76.4 24 75 24H72.5C70.9 24 70.5 22 70.5 21.4C70.7 21.6 71.1 21.8 71.6 21.8C72.4 21.8 73.2 21.2 73.2 20.3C73.2 19.4 72.5 18.7 71.5 18.7C70.5 18.7 70.9 18.7 70.8 18.8C71.4 18.5 71.8 18 71.8 17.3C71.8 16.6 71.4 16.1 70.8 15.9L72.6 15C73.1 13.2 74.7 10.6 76.4 9.7C76.2 10.6 76.1 12.5 76.1 15C76.1 15 76.6 15.5 77.1 15.8C76.4 16 75.9 16.6 75.9 17.3C75.9 18 76.3 18.5 76.9 18.8L76.8 18.9ZM82.5 24H80C78.6 24 78 22.3 78 21.5C78.2 21.7 78.6 21.8 79.1 21.8C80 21.8 80.7 21.2 80.7 20.3C80.7 19.4 80 18.7 79 18.7C78 18.7 78.4 18.7 78.2 18.9C78.8 18.7 79.3 18.1 79.3 17.4C79.3 16.7 78.8 16.1 78.1 15.9C78.6 15.6 79.1 15.1 79.1 15.1C79.1 12.6 79 10.7 78.7 9.8C80.5 10.7 82.1 13.2 82.6 15.1L84.4 16C83.9 16.2 83.4 16.8 83.4 17.4C83.4 18 83.8 18.6 84.4 18.9C84.2 18.9 83.9 18.8 83.7 18.8C82.7 18.8 82 19.5 82 20.4C82 21.3 82.7 21.9 83.6 21.9C84.5 21.9 84.4 21.8 84.7 21.5C84.7 22 84.3 24.1 82.7 24.1L82.5 24ZM90 24H87.5C86.2 24 85.4 22.3 85.4 21.4C85.6 21.7 86 21.8 86.5 21.8C87.3 21.8 88 21.2 88 20.3C88 19.4 87.3 18.7 86.3 18.7C85.3 18.7 85.7 18.7 85.6 18.8C86.2 18.5 86.6 18 86.6 17.3C86.6 16.6 86 15.8 85.1 15.7L86 15C84.8 12.9 83.3 11.4 81.5 10C84.7 10.7 87.5 12.4 89 15L91.4 16.1C91 16.4 90.7 16.8 90.7 17.4C90.7 18 91.1 18.6 91.6 18.9C91.5 18.9 91.2 18.8 91 18.8C90 18.8 89.3 19.5 89.3 20.4C89.3 21.3 90 21.9 90.8 21.9C91.6 21.9 91.7 21.8 91.9 21.6C91.9 21.8 91.6 24.1 90 24.1V24ZM77.5 9C76.1 9 75 7.9 75 6.5C75 5.1 75.9 4.3 77 4.1V3H76V2H77V1H78V2H79V3H78V4.1C79.1 4.3 80 5.3 80 6.6C80 7.9 78.9 9.1 77.5 9.1V9Z",
|
|
@@ -1185,57 +1703,57 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
1185
1703
|
]
|
|
1186
1704
|
}
|
|
1187
1705
|
),
|
|
1188
|
-
/* @__PURE__ */
|
|
1189
|
-
"
|
|
1706
|
+
/* @__PURE__ */ jsx14(
|
|
1707
|
+
"div",
|
|
1190
1708
|
{
|
|
1191
1709
|
className: "pts-footer-linkList",
|
|
1192
1710
|
"aria-label": activatedLanguage === "en" ? "Footer navigation" : "Sidfotsnavigering",
|
|
1193
|
-
children: /* @__PURE__ */
|
|
1194
|
-
/* @__PURE__ */
|
|
1711
|
+
children: /* @__PURE__ */ jsxs13("ul", { children: [
|
|
1712
|
+
/* @__PURE__ */ jsx14("li", { children: /* @__PURE__ */ jsxs13(
|
|
1195
1713
|
"a",
|
|
1196
1714
|
{
|
|
1197
1715
|
href: activatedLanguage === "en" ? "https://pts.se/en/contact/" : "https://www.pts.se/kontakt/",
|
|
1198
1716
|
target: "_blank",
|
|
1199
1717
|
rel: "noopener noreferrer",
|
|
1200
1718
|
children: [
|
|
1201
|
-
/* @__PURE__ */
|
|
1202
|
-
/* @__PURE__ */
|
|
1719
|
+
/* @__PURE__ */ jsx14("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Contact (opens in new tab)" : "PTS Kontakt (\xF6ppnas i ny flik)" }),
|
|
1720
|
+
/* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Contact" : "Kontakt" })
|
|
1203
1721
|
]
|
|
1204
1722
|
}
|
|
1205
1723
|
) }),
|
|
1206
|
-
/* @__PURE__ */
|
|
1724
|
+
/* @__PURE__ */ jsx14("li", { children: /* @__PURE__ */ jsxs13(
|
|
1207
1725
|
"a",
|
|
1208
1726
|
{
|
|
1209
1727
|
href: activatedLanguage === "en" ? "https://pts.se/en/gdpr" : "https://www.pts.se/gdpr/",
|
|
1210
1728
|
target: "_blank",
|
|
1211
1729
|
rel: "noopener noreferrer",
|
|
1212
1730
|
children: [
|
|
1213
|
-
/* @__PURE__ */
|
|
1214
|
-
/* @__PURE__ */
|
|
1731
|
+
/* @__PURE__ */ jsx14("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Processing of personal data (opens in new tab)" : "PTS Behandling av personuppgifter (\xF6ppnas i ny flik)" }),
|
|
1732
|
+
/* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Processing of personal data" : "Behandling av personuppgifter" })
|
|
1215
1733
|
]
|
|
1216
1734
|
}
|
|
1217
1735
|
) }),
|
|
1218
|
-
/* @__PURE__ */
|
|
1736
|
+
/* @__PURE__ */ jsx14("li", { children: /* @__PURE__ */ jsxs13(
|
|
1219
1737
|
"a",
|
|
1220
1738
|
{
|
|
1221
1739
|
href: activatedLanguage === "en" ? "https://pts.se/en/accessibility-eservices" : "https://www.pts.se/tillganglighet-etjanster",
|
|
1222
1740
|
target: "_blank",
|
|
1223
1741
|
rel: "noopener noreferrer",
|
|
1224
1742
|
children: [
|
|
1225
|
-
/* @__PURE__ */
|
|
1226
|
-
/* @__PURE__ */
|
|
1743
|
+
/* @__PURE__ */ jsx14("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Accessibility (opens in new tab)" : "PTS Tillg\xE4nglighetsredog\xF6relse (\xF6ppnas i ny flik)" }),
|
|
1744
|
+
/* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Accessibility" : "Tillg\xE4nglighetsredog\xF6relse" })
|
|
1227
1745
|
]
|
|
1228
1746
|
}
|
|
1229
1747
|
) }),
|
|
1230
|
-
/* @__PURE__ */
|
|
1748
|
+
/* @__PURE__ */ jsx14("li", { children: /* @__PURE__ */ jsxs13(
|
|
1231
1749
|
"a",
|
|
1232
1750
|
{
|
|
1233
1751
|
href: activatedLanguage === "en" ? "https://pts.se/en/cookies-eservices" : "https://www.pts.se/kakor-etjanster",
|
|
1234
1752
|
target: "_blank",
|
|
1235
1753
|
rel: "noopener noreferrer",
|
|
1236
1754
|
children: [
|
|
1237
|
-
/* @__PURE__ */
|
|
1238
|
-
/* @__PURE__ */
|
|
1755
|
+
/* @__PURE__ */ jsx14("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens in new tab)" : "PTS Kakor (\xF6ppnas i ny flik)" }),
|
|
1756
|
+
/* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
|
|
1239
1757
|
]
|
|
1240
1758
|
}
|
|
1241
1759
|
) })
|
|
@@ -1247,374 +1765,374 @@ var Footer = ({ activatedLanguage = "sv" }) => {
|
|
|
1247
1765
|
var FooterStandard_default = Footer;
|
|
1248
1766
|
|
|
1249
1767
|
// src/NewTextComponentStandard/HeaderStandard/Icons.tsx
|
|
1250
|
-
import { jsx as
|
|
1251
|
-
var LanguageIcon = () => /* @__PURE__ */
|
|
1768
|
+
import { jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1769
|
+
var LanguageIcon = () => /* @__PURE__ */ jsx15("svg", { width: "15", height: "15", viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx15(
|
|
1252
1770
|
"path",
|
|
1253
1771
|
{
|
|
1254
1772
|
d: "M9 18C7.76133 18 6.59467 17.7633 5.5 17.29C4.40533 16.8167 3.452 16.1733 2.64 15.36C1.82667 14.5487 1.18333 13.5953 0.71 12.5C0.236667 11.4053 0 10.2387 0 9C0 7.758 0.236667 6.59033 0.71 5.497C1.184 4.40367 1.82733 3.451 2.64 2.639C3.45133 1.827 4.40467 1.18433 5.5 0.711C6.59467 0.237 7.76133 0 9 0C10.242 0 11.4097 0.236667 12.503 0.71C13.5963 1.184 14.549 1.82733 15.361 2.64C16.173 3.452 16.8157 4.40433 17.289 5.497C17.763 6.59033 18 7.758 18 9C18 10.2387 17.7633 11.4053 17.29 12.5C16.8167 13.5947 16.1733 14.548 15.36 15.36C14.548 16.1727 13.5957 16.816 12.503 17.29C11.4097 17.7633 10.242 18 9 18ZM9 17.008C9.58667 16.254 10.0707 15.5137 10.452 14.787C10.8327 14.0603 11.1423 13.247 11.381 12.347H6.619C6.883 13.2977 7.199 14.1363 7.567 14.863C7.935 15.5897 8.41267 16.3047 9 17.008ZM7.727 16.858C7.26033 16.308 6.83433 15.628 6.449 14.818C6.06367 14.0087 5.777 13.1847 5.589 12.346H1.753C2.32633 13.59 3.13867 14.61 4.19 15.406C5.242 16.202 6.42067 16.686 7.726 16.858H7.727ZM10.273 16.858C11.5783 16.686 12.757 16.202 13.809 15.406C14.861 14.61 15.6733 13.59 16.246 12.346H12.412C12.1587 13.1973 11.8397 14.028 11.455 14.838C11.0697 15.6473 10.6757 16.3207 10.273 16.858ZM1.346 11.346H5.381C5.305 10.936 5.25167 10.5363 5.221 10.147C5.189 9.75767 5.173 9.37533 5.173 9C5.173 8.62467 5.18867 8.24233 5.22 7.853C5.25133 7.46367 5.30467 7.06367 5.38 6.653H1.347C1.23833 6.99967 1.15333 7.37733 1.092 7.786C1.03067 8.19467 1 8.59933 1 9C1 9.40133 1.03033 9.806 1.091 10.214C1.15233 10.6227 1.23733 11 1.346 11.346ZM6.381 11.346H11.619C11.695 10.936 11.7483 10.5427 11.779 10.166C11.811 9.79 11.827 9.40133 11.827 9C11.827 8.59867 11.8113 8.21 11.78 7.834C11.7487 7.45733 11.6953 7.064 11.62 6.654H6.38C6.30467 7.064 6.25133 7.45733 6.22 7.834C6.18867 8.21 6.173 8.59867 6.173 9C6.173 9.40133 6.18867 9.79 6.22 10.166C6.25133 10.5427 6.30567 10.936 6.381 11.346ZM12.619 11.346H16.654C16.7627 10.9993 16.8477 10.622 16.909 10.214C16.9703 9.806 17.0007 9.40133 17 9C17 8.59867 16.9697 8.194 16.909 7.786C16.8477 7.37733 16.7627 7 16.654 6.654H12.619C12.695 7.064 12.7483 7.46367 12.779 7.853C12.811 8.24233 12.827 8.62467 12.827 9C12.827 9.37533 12.8113 9.75767 12.78 10.147C12.7487 10.5363 12.6953 10.9363 12.62 11.347L12.619 11.346ZM12.412 5.654H16.246C15.66 4.38467 14.8573 3.36467 13.838 2.594C12.818 1.82333 11.6297 1.33333 10.273 1.124C10.7397 1.73733 11.1593 2.43933 11.532 3.23C11.904 4.02 12.1973 4.828 12.412 5.654ZM6.619 5.654H11.381C11.117 4.71533 10.7913 3.86667 10.404 3.108C10.0173 2.34867 9.54933 1.64333 9 0.992C8.45133 1.64333 7.98333 2.34867 7.596 3.108C7.20933 3.86667 6.88367 4.71533 6.619 5.654ZM1.754 5.654H5.588C5.80267 4.828 6.096 4.02 6.468 3.23C6.84067 2.43933 7.26033 1.737 7.727 1.123C6.35767 1.333 5.16633 1.82633 4.153 2.603C3.13967 3.38033 2.33967 4.397 1.753 5.653L1.754 5.654Z",
|
|
1255
1773
|
fill: "#6E3282"
|
|
1256
1774
|
}
|
|
1257
1775
|
) });
|
|
1258
|
-
var Logo_sv = () => /* @__PURE__ */
|
|
1259
|
-
/* @__PURE__ */
|
|
1776
|
+
var Logo_sv = () => /* @__PURE__ */ jsxs14("svg", { width: "168.8", height: "46.67", viewBox: "0 0 168.8 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1777
|
+
/* @__PURE__ */ jsx15(
|
|
1260
1778
|
"path",
|
|
1261
1779
|
{
|
|
1262
1780
|
d: "M91.7779 18.6113C92.1668 18.8335 92.5001 19.1113 92.6668 19.4446C92.8335 19.7779 93.0001 20.2224 93.0001 20.7224C93.0001 21.2224 92.889 21.6113 92.6668 22.0002C92.4446 22.3891 92.1668 22.6668 91.7779 22.8335C91.389 23.0002 90.9446 23.1113 90.4446 23.1113H88.4446V26.1113H87.5001V18.3335H90.5001C91.0001 18.3335 91.4446 18.4446 91.8335 18.6113H91.7779ZM90.3335 22.2224C90.8335 22.2224 91.2779 22.1113 91.5557 21.8335C91.8335 21.5557 92.0001 21.1668 92.0001 20.7224C92.0001 20.2779 91.8335 19.8891 91.5557 19.6113C91.2779 19.3335 90.8335 19.2224 90.3335 19.2224H88.389V22.2224H90.3335Z",
|
|
1263
1781
|
fill: "#141414"
|
|
1264
1782
|
}
|
|
1265
1783
|
),
|
|
1266
|
-
/* @__PURE__ */
|
|
1784
|
+
/* @__PURE__ */ jsx15(
|
|
1267
1785
|
"path",
|
|
1268
1786
|
{
|
|
1269
1787
|
d: "M93.7779 24.778C93.5557 24.3336 93.4446 23.8336 93.4446 23.278C93.4446 22.7225 93.5557 22.2225 93.7779 21.778C94.0001 21.3336 94.3335 21.0003 94.7779 20.778C95.2224 20.5558 95.6668 20.3892 96.2224 20.3892C96.7779 20.3892 97.2779 20.5003 97.6668 20.778C98.1113 21.0003 98.4446 21.3892 98.6668 21.778C98.889 22.2225 99.0001 22.7225 99.0001 23.278C99.0001 23.8336 98.889 24.3336 98.6668 24.778C98.4446 25.2225 98.1113 25.5558 97.6668 25.778C97.2224 26.0003 96.7779 26.1669 96.2224 26.1669C95.6668 26.1669 95.1668 26.0558 94.7779 25.778C94.389 25.5003 94.0001 25.1669 93.7779 24.778ZM97.8335 24.3336C98.0001 24.0003 98.0557 23.6669 98.0557 23.278C98.0557 22.8892 98.0001 22.5003 97.8335 22.2225C97.6668 21.8892 97.4446 21.6669 97.1668 21.5003C96.889 21.3336 96.5557 21.2225 96.1668 21.2225C95.7779 21.2225 95.4446 21.3336 95.1668 21.5003C94.889 21.6669 94.6668 21.9447 94.5001 22.2225C94.3335 22.5558 94.2779 22.8892 94.2779 23.278C94.2779 23.6669 94.3335 24.0558 94.5001 24.3336C94.6668 24.6669 94.889 24.8892 95.1668 25.0558C95.4446 25.2225 95.7779 25.3336 96.1668 25.3336C96.5557 25.3336 96.889 25.2225 97.1668 25.0558C97.4446 24.8892 97.6668 24.6114 97.8335 24.3336Z",
|
|
1270
1788
|
fill: "#141414"
|
|
1271
1789
|
}
|
|
1272
1790
|
),
|
|
1273
|
-
/* @__PURE__ */
|
|
1791
|
+
/* @__PURE__ */ jsx15(
|
|
1274
1792
|
"path",
|
|
1275
1793
|
{
|
|
1276
1794
|
d: "M101.222 25.0557C101.5 25.2779 101.889 25.389 102.333 25.389C102.778 25.389 103.056 25.3335 103.333 25.1668C103.556 25.0001 103.722 24.7779 103.722 24.5557C103.722 24.3335 103.667 24.1668 103.556 24.0557C103.445 23.9446 103.278 23.8335 103.111 23.8335C102.945 23.8335 102.667 23.7224 102.278 23.7224C101.778 23.6668 101.389 23.6112 101.056 23.5001C100.722 23.389 100.5 23.2224 100.278 23.0557C100.056 22.889 100 22.5557 100 22.1668C100 21.7779 100.111 21.5557 100.278 21.2779C100.445 21.0001 100.722 20.8335 101.056 20.6668C101.389 20.5001 101.722 20.4446 102.167 20.4446C102.833 20.4446 103.389 20.6112 103.778 20.889C104.222 21.2224 104.445 21.6668 104.445 22.2224H103.556C103.556 21.9446 103.389 21.6668 103.111 21.5001C102.833 21.3335 102.556 21.2224 102.167 21.2224C101.778 21.2224 101.445 21.2779 101.222 21.4446C101 21.6112 100.889 21.8335 100.889 22.0557C100.889 22.2779 100.889 22.389 101.056 22.5001C101.167 22.6112 101.333 22.6668 101.5 22.7224C101.667 22.7779 101.945 22.7779 102.278 22.8335C102.778 22.889 103.167 23.0001 103.5 23.0557C103.833 23.1112 104.056 23.3335 104.278 23.5557C104.5 23.7779 104.556 24.1112 104.556 24.5001C104.556 24.889 104.445 25.1668 104.278 25.389C104.056 25.6668 103.833 25.8335 103.445 26.0001C103.111 26.1668 102.722 26.2224 102.333 26.2224C101.611 26.2224 101 26.0557 100.556 25.7224C100.111 25.389 99.889 24.889 99.889 24.2779H100.778C100.778 24.6112 100.945 24.889 101.222 25.1112V25.0557Z",
|
|
1277
1795
|
fill: "#141414"
|
|
1278
1796
|
}
|
|
1279
1797
|
),
|
|
1280
|
-
/* @__PURE__ */
|
|
1798
|
+
/* @__PURE__ */ jsx15(
|
|
1281
1799
|
"path",
|
|
1282
1800
|
{
|
|
1283
1801
|
d: "M104.945 21.2779V20.4446H105.945V18.8335H106.833V20.4446H108.278V21.2779H106.833V24.6113C106.833 24.8335 106.833 25.0002 106.945 25.1113C107.056 25.2224 107.222 25.2779 107.445 25.2779H108.445V26.1113H107.389C106.833 26.1113 106.5 26.0002 106.222 25.7779C106 25.5557 105.889 25.1668 105.889 24.6668V21.3335H104.889L104.945 21.2779Z",
|
|
1284
1802
|
fill: "#141414"
|
|
1285
1803
|
}
|
|
1286
1804
|
),
|
|
1287
|
-
/* @__PURE__ */
|
|
1288
|
-
/* @__PURE__ */
|
|
1805
|
+
/* @__PURE__ */ jsx15("path", { d: "M108.778 22.5557H112.5V23.3334H108.778V22.5557Z", fill: "#141414" }),
|
|
1806
|
+
/* @__PURE__ */ jsx15(
|
|
1289
1807
|
"path",
|
|
1290
1808
|
{
|
|
1291
1809
|
d: "M116.778 24.778C116.556 24.3336 116.445 23.8336 116.445 23.278C116.445 22.7225 116.556 22.2225 116.778 21.778C117 21.3336 117.333 21.0003 117.778 20.778C118.222 20.5558 118.667 20.3892 119.222 20.3892C119.778 20.3892 120.278 20.5003 120.667 20.778C121.111 21.0003 121.445 21.3892 121.667 21.778C121.889 22.2225 122 22.7225 122 23.278C122 23.8336 121.889 24.3336 121.667 24.778C121.445 25.2225 121.111 25.5558 120.667 25.778C120.222 26.0003 119.778 26.1669 119.222 26.1669C118.667 26.1669 118.167 26.0558 117.778 25.778C117.389 25.5003 117 25.1669 116.778 24.778ZM120.833 24.3336C121 24.0003 121.056 23.6669 121.056 23.278C121.056 22.8892 121 22.5003 120.833 22.2225C120.667 21.8892 120.445 21.6669 120.167 21.5003C119.889 21.3336 119.556 21.2225 119.167 21.2225C118.778 21.2225 118.445 21.3336 118.167 21.5003C117.889 21.6669 117.667 21.9447 117.5 22.2225C117.333 22.5558 117.278 22.8892 117.278 23.278C117.278 23.6669 117.333 24.0558 117.5 24.3336C117.667 24.6669 117.889 24.8892 118.167 25.0558C118.445 25.2225 118.778 25.3336 119.167 25.3336C119.556 25.3336 119.889 25.2225 120.167 25.0558C120.445 24.8892 120.667 24.6114 120.833 24.3336Z",
|
|
1292
1810
|
fill: "#141414"
|
|
1293
1811
|
}
|
|
1294
1812
|
),
|
|
1295
|
-
/* @__PURE__ */
|
|
1813
|
+
/* @__PURE__ */ jsx15(
|
|
1296
1814
|
"path",
|
|
1297
1815
|
{
|
|
1298
1816
|
d: "M125.611 26.1668C125.056 26.1668 124.556 26.0557 124.167 25.7779C123.778 25.5557 123.445 25.1668 123.222 24.7224C123 24.2779 122.889 23.7779 122.889 23.2224C122.889 22.6668 123 22.1668 123.222 21.7224C123.445 21.2779 123.778 20.9446 124.222 20.7224C124.667 20.5002 125.111 20.3335 125.667 20.3335C126.222 20.3335 126.889 20.5002 127.333 20.8891C127.778 21.2224 128.056 21.7224 128.167 22.3335H127.222C127.111 21.9446 126.945 21.6668 126.667 21.4446C126.389 21.2224 126.056 21.1113 125.667 21.1113C125.278 21.1113 124.667 21.2779 124.333 21.6668C124 22.0557 123.833 22.5557 123.833 23.1668C123.833 23.7779 124 24.2779 124.333 24.6668C124.667 25.0557 125.111 25.2779 125.667 25.2779C126.222 25.2779 126.445 25.1668 126.722 24.9446C127 24.7224 127.167 24.4446 127.278 24.0557H128.167C128.056 24.6668 127.778 25.1668 127.333 25.5557C126.889 25.8891 126.333 26.1113 125.667 26.1113L125.611 26.1668Z",
|
|
1299
1817
|
fill: "#141414"
|
|
1300
1818
|
}
|
|
1301
1819
|
),
|
|
1302
|
-
/* @__PURE__ */
|
|
1820
|
+
/* @__PURE__ */ jsx15(
|
|
1303
1821
|
"path",
|
|
1304
1822
|
{
|
|
1305
1823
|
d: "M134.278 22.9446V26.1113H133.389V23.0002C133.389 22.3891 133.278 21.9446 133 21.6668C132.722 21.3335 132.333 21.2224 131.833 21.2224C131.333 21.2224 130.889 21.3891 130.611 21.7779C130.278 22.1668 130.167 22.6668 130.167 23.2779V26.1113H129.278V18.3335H130.167V21.3891C130.333 21.1113 130.611 20.8335 130.889 20.6668C131.222 20.5002 131.556 20.3891 132 20.3891C132.667 20.3891 133.222 20.6113 133.667 21.0002C134.111 21.3891 134.278 22.0557 134.278 22.9446Z",
|
|
1306
1824
|
fill: "#141414"
|
|
1307
1825
|
}
|
|
1308
1826
|
),
|
|
1309
|
-
/* @__PURE__ */
|
|
1827
|
+
/* @__PURE__ */ jsx15(
|
|
1310
1828
|
"path",
|
|
1311
1829
|
{
|
|
1312
1830
|
d: "M86.6668 32.389V31.5557H87.6668V29.9446H88.5556V31.5557H90.0001V32.389H88.5556V35.7224C88.5556 35.9446 88.5557 36.1112 88.6668 36.2224C88.7779 36.3335 88.9445 36.389 89.1668 36.389H90.1668V37.2224H89.1112C88.5556 37.2224 88.2223 37.1112 87.9445 36.889C87.7223 36.6668 87.6112 36.2779 87.6112 35.7779V32.4446H86.6112L86.6668 32.389Z",
|
|
1313
1831
|
fill: "#141414"
|
|
1314
1832
|
}
|
|
1315
1833
|
),
|
|
1316
|
-
/* @__PURE__ */
|
|
1834
|
+
/* @__PURE__ */ jsx15(
|
|
1317
1835
|
"path",
|
|
1318
1836
|
{
|
|
1319
1837
|
d: "M91.7779 31.8335C92.1668 31.6112 92.6668 31.4446 93.1668 31.4446C93.6668 31.4446 94.1668 31.5557 94.5557 31.7779C94.9446 32.0001 95.2779 32.2779 95.5001 32.7224C95.7223 33.1668 95.8334 33.6112 95.889 34.1668C95.889 34.2224 95.889 34.389 95.889 34.5557H91.5001C91.5001 35.1668 91.6668 35.6112 92.0001 35.9446C92.3334 36.2779 92.7779 36.4446 93.2779 36.4446C93.7779 36.4446 94.0557 36.3335 94.3334 36.1112C94.6112 35.889 94.8334 35.6112 94.889 35.2779H95.8334C95.7223 35.8335 95.4446 36.3335 95.0001 36.7224C94.5557 37.1112 94.0001 37.2779 93.389 37.2779C92.7779 37.2779 92.3334 37.1668 91.889 36.889C91.4445 36.6668 91.1112 36.3335 90.889 35.889C90.6668 35.4446 90.5557 34.9446 90.5557 34.389C90.5557 33.8335 90.6668 33.2779 90.889 32.889C91.1112 32.4446 91.4446 32.1112 91.8334 31.889L91.7779 31.8335ZM94.389 32.6668C94.0557 32.389 93.6668 32.2779 93.1668 32.2779C92.6668 32.2779 92.3334 32.4446 92.0557 32.7224C91.7779 33.0001 91.5557 33.389 91.5001 33.8335H94.9445C94.9445 33.3335 94.7223 33.0001 94.389 32.7224V32.6668Z",
|
|
1320
1838
|
fill: "#141414"
|
|
1321
1839
|
}
|
|
1322
1840
|
),
|
|
1323
|
-
/* @__PURE__ */
|
|
1324
|
-
/* @__PURE__ */
|
|
1841
|
+
/* @__PURE__ */ jsx15("path", { d: "M97.8335 29.4446V37.2224H96.9446V29.4446H97.8335Z", fill: "#141414" }),
|
|
1842
|
+
/* @__PURE__ */ jsx15(
|
|
1325
1843
|
"path",
|
|
1326
1844
|
{
|
|
1327
1845
|
d: "M100.167 31.8335C100.556 31.6112 101.056 31.4446 101.556 31.4446C102.056 31.4446 102.556 31.5557 102.945 31.7779C103.333 32.0001 103.667 32.2779 103.889 32.7224C104.111 33.1668 104.222 33.6112 104.278 34.1668C104.278 34.2224 104.278 34.389 104.278 34.5557H99.889C99.889 35.1668 100.056 35.6112 100.389 35.9446C100.722 36.2779 101.167 36.4446 101.667 36.4446C102.167 36.4446 102.445 36.3335 102.722 36.1112C103 35.889 103.222 35.6112 103.278 35.2779H104.222C104.111 35.8335 103.833 36.3335 103.389 36.7224C102.945 37.1112 102.389 37.2779 101.778 37.2779C101.167 37.2779 100.722 37.1668 100.278 36.889C99.8335 36.6668 99.5001 36.3335 99.2779 35.889C99.0557 35.4446 98.9446 34.9446 98.9446 34.389C98.9446 33.8335 99.0557 33.2779 99.2779 32.889C99.5001 32.4446 99.8335 32.1112 100.222 31.889L100.167 31.8335ZM102.778 32.6668C102.445 32.389 102.056 32.2779 101.556 32.2779C101.056 32.2779 100.722 32.4446 100.445 32.7224C100.167 33.0001 99.9446 33.389 99.889 33.8335H103.333C103.333 33.3335 103.111 33.0001 102.778 32.7224V32.6668Z",
|
|
1328
1846
|
fill: "#141414"
|
|
1329
1847
|
}
|
|
1330
1848
|
),
|
|
1331
|
-
/* @__PURE__ */
|
|
1849
|
+
/* @__PURE__ */ jsx15(
|
|
1332
1850
|
"path",
|
|
1333
1851
|
{
|
|
1334
1852
|
d: "M106.445 36.1668C106.722 36.389 107.111 36.5001 107.556 36.5001C108 36.5001 108.278 36.4446 108.556 36.2779C108.778 36.1112 108.945 35.889 108.945 35.6668C108.945 35.4446 108.889 35.2779 108.778 35.1668C108.667 35.0557 108.5 34.9446 108.333 34.9446C108.167 34.9446 107.889 34.8334 107.5 34.8334C107 34.7779 106.611 34.7223 106.278 34.6112C105.945 34.5001 105.722 34.3334 105.5 34.1668C105.278 34.0001 105.222 33.6668 105.222 33.2779C105.222 32.889 105.333 32.6668 105.5 32.389C105.667 32.1112 105.945 31.9446 106.278 31.7779C106.611 31.6112 106.945 31.5557 107.389 31.5557C108.056 31.5557 108.611 31.7223 109 32.0001C109.445 32.3334 109.667 32.7779 109.667 33.3334H108.778C108.778 33.0557 108.611 32.7779 108.333 32.6112C108.056 32.4446 107.778 32.3334 107.389 32.3334C107 32.3334 106.667 32.389 106.445 32.5557C106.222 32.7223 106.111 32.9446 106.111 33.1668C106.111 33.389 106.111 33.5001 106.278 33.6112C106.389 33.7223 106.556 33.7779 106.722 33.8334C106.889 33.889 107.167 33.889 107.5 33.9446C108 34.0001 108.389 34.1112 108.722 34.1668C109.056 34.2223 109.278 34.4446 109.5 34.6668C109.722 34.889 109.778 35.2223 109.778 35.6112C109.778 36.0001 109.667 36.2779 109.5 36.5001C109.278 36.7779 109.056 36.9446 108.667 37.1112C108.333 37.2779 107.945 37.3334 107.556 37.3334C106.833 37.3334 106.222 37.1668 105.778 36.8334C105.333 36.5001 105.111 36.0001 105.111 35.389H106C106 35.7223 106.167 36.0001 106.445 36.2223V36.1668Z",
|
|
1335
1853
|
fill: "#141414"
|
|
1336
1854
|
}
|
|
1337
1855
|
),
|
|
1338
|
-
/* @__PURE__ */
|
|
1856
|
+
/* @__PURE__ */ jsx15(
|
|
1339
1857
|
"path",
|
|
1340
1858
|
{
|
|
1341
1859
|
d: "M110.167 32.389V31.5557H111.167V29.9446H112.056V31.5557H113.5V32.389H112.056V35.7224C112.056 35.9446 112.056 36.1112 112.167 36.2224C112.278 36.3335 112.445 36.389 112.667 36.389H113.667V37.2224H112.611C112.056 37.2224 111.722 37.1112 111.445 36.889C111.222 36.6668 111.111 36.2779 111.111 35.7779V32.4446H110.111L110.167 32.389Z",
|
|
1342
1860
|
fill: "#141414"
|
|
1343
1861
|
}
|
|
1344
1862
|
),
|
|
1345
|
-
/* @__PURE__ */
|
|
1863
|
+
/* @__PURE__ */ jsx15(
|
|
1346
1864
|
"path",
|
|
1347
1865
|
{
|
|
1348
1866
|
d: "M116.5 36.1668L118.167 31.5557H119.111L116.5 38.1668C116.389 38.5001 116.222 38.7779 116.167 38.9446C116.111 39.1112 115.944 39.2223 115.778 39.3334C115.611 39.389 115.389 39.4446 115.167 39.4446H114.056V38.6112H114.889C115.056 38.6112 115.222 38.6112 115.278 38.5557C115.333 38.5001 115.444 38.4446 115.5 38.389C115.5 38.2779 115.611 38.1668 115.722 37.9446L116 37.2779L113.778 31.5557H114.722L116.445 36.1668H116.5Z",
|
|
1349
1867
|
fill: "#141414"
|
|
1350
1868
|
}
|
|
1351
1869
|
),
|
|
1352
|
-
/* @__PURE__ */
|
|
1870
|
+
/* @__PURE__ */ jsx15(
|
|
1353
1871
|
"path",
|
|
1354
1872
|
{
|
|
1355
1873
|
d: "M122.722 32.4446H122.278C121.722 32.4446 121.333 32.6112 121.111 33.0001C120.889 33.389 120.778 33.8334 120.778 34.3334V37.2223H119.889V31.5557H120.667L120.778 32.389C120.945 32.1112 121.167 31.9446 121.389 31.7779C121.611 31.6112 122 31.5557 122.445 31.5557H122.722V32.4446Z",
|
|
1356
1874
|
fill: "#141414"
|
|
1357
1875
|
}
|
|
1358
1876
|
),
|
|
1359
|
-
/* @__PURE__ */
|
|
1877
|
+
/* @__PURE__ */ jsx15(
|
|
1360
1878
|
"path",
|
|
1361
1879
|
{
|
|
1362
1880
|
d: "M124.333 31.8335C124.722 31.6112 125.222 31.4446 125.722 31.4446C126.222 31.4446 126.722 31.5557 127.111 31.7779C127.5 32.0001 127.833 32.2779 128.056 32.7224C128.278 33.1668 128.389 33.6112 128.445 34.1668C128.445 34.2224 128.445 34.389 128.445 34.5557H124.056C124.056 35.1668 124.222 35.6112 124.556 35.9446C124.889 36.2779 125.333 36.4446 125.833 36.4446C126.333 36.4446 126.611 36.3335 126.889 36.1112C127.167 35.889 127.389 35.6112 127.445 35.2779H128.389C128.278 35.8335 128 36.3335 127.556 36.7224C127.111 37.1112 126.556 37.2779 125.945 37.2779C125.333 37.2779 124.889 37.1668 124.445 36.889C124 36.6668 123.667 36.3335 123.445 35.889C123.222 35.4446 123.111 34.9446 123.111 34.389C123.111 33.8335 123.222 33.2779 123.445 32.889C123.667 32.4446 124 32.1112 124.389 31.889L124.333 31.8335ZM126.945 32.6668C126.611 32.389 126.222 32.2779 125.722 32.2779C125.222 32.2779 124.889 32.4446 124.611 32.7224C124.333 33.0001 124.111 33.389 124.056 33.8335H127.5C127.5 33.3335 127.278 33.0001 126.945 32.7224V32.6668Z",
|
|
1363
1881
|
fill: "#141414"
|
|
1364
1882
|
}
|
|
1365
1883
|
),
|
|
1366
|
-
/* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1884
|
+
/* @__PURE__ */ jsx15("path", { d: "M130.333 29.4446V37.2224H129.445V29.4446H130.333Z", fill: "#141414" }),
|
|
1885
|
+
/* @__PURE__ */ jsx15(
|
|
1368
1886
|
"path",
|
|
1369
1887
|
{
|
|
1370
1888
|
d: "M132.778 36.1668C133.056 36.389 133.445 36.5001 133.889 36.5001C134.333 36.5001 134.611 36.4446 134.889 36.2779C135.111 36.1112 135.278 35.889 135.278 35.6668C135.278 35.4446 135.222 35.2779 135.111 35.1668C135 35.0557 134.833 34.9446 134.667 34.9446C134.5 34.9446 134.222 34.8334 133.833 34.8334C133.333 34.7779 132.945 34.7223 132.611 34.6112C132.278 34.5001 132.056 34.3334 131.833 34.1668C131.611 34.0001 131.556 33.6668 131.556 33.2779C131.556 32.889 131.667 32.6668 131.833 32.389C132 32.1112 132.278 31.9446 132.611 31.7779C132.945 31.6112 133.278 31.5557 133.722 31.5557C134.389 31.5557 134.945 31.7223 135.333 32.0001C135.778 32.3334 136 32.7779 136 33.3334H135.111C135.111 33.0557 134.945 32.7779 134.667 32.6112C134.389 32.4446 134.111 32.3334 133.722 32.3334C133.333 32.3334 133 32.389 132.778 32.5557C132.556 32.7223 132.445 32.9446 132.445 33.1668C132.445 33.389 132.445 33.5001 132.611 33.6112C132.722 33.7223 132.889 33.7779 133.056 33.8334C133.222 33.889 133.5 33.889 133.833 33.9446C134.333 34.0001 134.722 34.1112 135.056 34.1668C135.389 34.2223 135.611 34.4446 135.833 34.6668C136.056 34.889 136.111 35.2223 136.111 35.6112C136.111 36.0001 136 36.2779 135.833 36.5001C135.611 36.7779 135.389 36.9446 135 37.1112C134.667 37.2779 134.278 37.3334 133.889 37.3334C133.167 37.3334 132.556 37.1668 132.111 36.8334C131.667 36.5001 131.445 36.0001 131.445 35.389H132.333C132.333 35.7223 132.5 36.0001 132.778 36.2223V36.1668Z",
|
|
1371
1889
|
fill: "#141414"
|
|
1372
1890
|
}
|
|
1373
1891
|
),
|
|
1374
|
-
/* @__PURE__ */
|
|
1892
|
+
/* @__PURE__ */ jsx15(
|
|
1375
1893
|
"path",
|
|
1376
1894
|
{
|
|
1377
1895
|
d: "M138.222 31.8335C138.611 31.6112 139.111 31.4446 139.611 31.4446C140.111 31.4446 140.611 31.5557 141 31.7779C141.389 32.0001 141.722 32.2779 141.945 32.7224C142.167 33.1668 142.278 33.6112 142.333 34.1668C142.333 34.2224 142.333 34.389 142.333 34.5557H137.945C137.945 35.1668 138.111 35.6112 138.445 35.9446C138.778 36.2779 139.222 36.4446 139.722 36.4446C140.222 36.4446 140.5 36.3335 140.778 36.1112C141.056 35.889 141.278 35.6112 141.333 35.2779H142.278C142.167 35.8335 141.889 36.3335 141.445 36.7224C141 37.1112 140.445 37.2779 139.833 37.2779C139.222 37.2779 138.778 37.1668 138.333 36.889C137.889 36.6668 137.556 36.3335 137.333 35.889C137.111 35.4446 137 34.9446 137 34.389C137 33.8335 137.111 33.2779 137.333 32.889C137.556 32.4446 137.889 32.1112 138.278 31.889L138.222 31.8335ZM140.833 32.6668C140.5 32.389 140.111 32.2779 139.611 32.2779C139.111 32.2779 138.778 32.4446 138.5 32.7224C138.222 33.0001 138 33.389 137.945 33.8335H141.389C141.389 33.3335 141.167 33.0001 140.833 32.7224V32.6668Z",
|
|
1378
1896
|
fill: "#141414"
|
|
1379
1897
|
}
|
|
1380
1898
|
),
|
|
1381
|
-
/* @__PURE__ */
|
|
1899
|
+
/* @__PURE__ */ jsx15(
|
|
1382
1900
|
"path",
|
|
1383
1901
|
{
|
|
1384
1902
|
d: "M148.445 34.0558V37.2225H147.556V34.1114C147.556 33.5002 147.445 33.0558 147.167 32.778C146.889 32.4447 146.5 32.3336 146 32.3336C145.5 32.3336 145.056 32.5002 144.722 32.8891C144.445 33.278 144.278 33.778 144.278 34.3891V37.2225H143.389V31.5558H144.167L144.278 32.3336C144.722 31.778 145.333 31.5002 146.167 31.5002C147 31.5002 147.389 31.7225 147.833 32.1114C148.278 32.5002 148.445 33.1669 148.445 34.0558Z",
|
|
1385
1903
|
fill: "#141414"
|
|
1386
1904
|
}
|
|
1387
1905
|
),
|
|
1388
|
-
/* @__PURE__ */
|
|
1906
|
+
/* @__PURE__ */ jsx15(
|
|
1389
1907
|
"path",
|
|
1390
1908
|
{
|
|
1391
1909
|
d: "M30.0001 23.8889C30.0001 26.2223 28.6112 28.3889 26.4445 29.0556C25.4445 29.3334 24.4445 29.4445 22.7778 29.4445H13.6112C11.8889 29.4445 11.6667 29.7223 11.6667 31.3889V35.0001C11.6667 36.3334 10.8334 37.2223 9.72228 37.2223C8.61117 37.2223 7.77783 36.3334 7.77783 35.0001V32.5001C7.77783 31.3889 7.77783 30.4445 7.88894 29.9445C8.22228 28.0556 9.33339 26.6112 11.1667 25.9445C11.8889 25.6667 13.1112 25.5001 15.5001 25.5001H23.3334C24.0001 25.5001 24.6667 25.4445 24.9445 25.3334C25.7778 25.0001 26.0556 24.4445 26.0556 23.8334C26.0556 23.2223 25.8334 22.6112 24.9445 22.3334C24.6667 22.2223 24.0001 22.1667 23.3334 22.1667H10.7778C10.2778 22.1667 9.83339 22.1667 9.61117 22.0556C8.77783 21.7778 8.27783 21.0001 8.27783 20.2223C8.27783 19.4445 8.77783 18.6667 9.61117 18.3889C9.88894 18.2778 10.1667 18.2778 10.7223 18.2778H22.7223C24.4445 18.2778 25.7778 18.3889 26.6112 18.7223C28.7778 19.5556 29.9445 21.3334 29.9445 23.8334L30.0001 23.8889ZM53.1667 18.5001C52.8889 18.3889 52.4445 18.3334 51.8334 18.3334H34.2223C33.7778 18.3334 33.3889 18.3334 33.1667 18.4445C32.2223 18.7223 31.6667 19.4445 31.6667 20.2778C31.6667 21.1112 32.1112 21.7778 33.0001 22.0556C33.2778 22.1667 33.7223 22.2223 34.2223 22.2223H41.1112V35.2223C41.1112 36.5556 42.0001 37.2223 43.0556 37.2223C44.1112 37.2223 45.0001 36.5556 45.0001 35.2223V22.2223H51.8334C52.5001 22.2223 52.8334 22.2223 53.0556 22.1112C53.9445 21.8334 54.4445 21.1112 54.4445 20.2778C54.4445 19.4445 54.0001 18.7778 53.1667 18.5001ZM74.1667 26.3334C73.2223 25.8334 72.0001 25.5556 68.9445 25.5556H63.0556C62.1112 25.5556 61.6112 25.5001 61.2778 25.3889C60.3334 25.0556 60.0001 24.4445 60.0001 23.8889C60.0001 23.3334 60.2223 22.6667 61.2223 22.3334C61.5001 22.2223 62.0001 22.2223 62.5001 22.2223H73.3334C73.5556 22.2223 74.1667 22.2223 74.3334 22.2223C75.3334 22.0556 76.1112 21.4445 76.1112 20.3334C76.1112 19.2223 75.3334 18.6667 74.3889 18.4445C74.2223 18.4445 73.8334 18.3889 73.3334 18.3889H63.0556C61.2223 18.3889 59.8889 18.6112 59.0001 19.0001C57.1667 19.8889 56.1112 21.7778 56.1112 23.9445C56.1112 26.1112 57.1112 28.0556 59.1112 28.9445C60.0001 29.3334 61.3334 29.5001 63.0556 29.5001H70.5556C71.5001 29.5001 72.0001 29.6112 72.3334 29.7223C73.1112 30.0001 73.3334 30.7778 73.3334 31.4445C73.3334 32.1112 73.1112 32.9445 72.1667 33.2223C71.8334 33.3334 71.1667 33.3889 70.0556 33.3889H59.1667C58.7223 33.3889 58.2778 33.3889 58.0556 33.5001C57.1667 33.7223 56.6667 34.4445 56.6667 35.3334C56.6667 36.2223 57.2223 36.7778 57.9445 37.0556C58.2223 37.1667 58.8334 37.2778 59.2778 37.2778H68.8889C70.9445 37.2778 72.6112 37.1667 73.6112 36.8334C75.8889 36.1667 77.1667 34.0001 77.1667 31.4445C77.1667 28.8889 76.0001 27.3334 74.1112 26.3889L74.1667 26.3334Z",
|
|
1392
1910
|
fill: "#141414"
|
|
1393
1911
|
}
|
|
1394
1912
|
),
|
|
1395
|
-
/* @__PURE__ */
|
|
1913
|
+
/* @__PURE__ */ jsx15(
|
|
1396
1914
|
"path",
|
|
1397
1915
|
{
|
|
1398
1916
|
d: "M51.1667 8.72233L51.3889 8.33344C50 6.44455 46.7222 5.11122 43.3889 5.00011H42.7223C39.3889 5.11122 36.1111 6.44455 34.7222 8.33344L34.9445 8.72233C34.3334 8.72233 33.8889 9.11122 33.8889 9.61122L35.1667 15.0001C35.2778 15.3334 35.3889 15.5001 35.8334 15.5001H50.2778C50.6667 15.5001 50.8334 15.2779 50.8889 15.0001L52.1667 9.61122C52.1667 9.11122 51.7222 8.72233 51.1111 8.72233H51.1667ZM38.5 10.4446C38.3889 10.4446 38.2222 10.389 38.1111 10.389C37.5556 10.389 37.1667 10.7779 37.1667 11.2779C37.1667 11.7779 37.5556 12.1112 38.0556 12.1112C38.5556 12.1112 38.5 12.0557 38.6111 11.889C38.6111 12.3334 38.1111 13.3334 37.4445 13.3334H36.0556C35.1111 13.3334 35 12.0557 35 11.9446C35.1111 12.0557 35.3889 12.1112 35.6111 12.1112C36.0556 12.1112 36.4445 11.7779 36.4445 11.2779C36.4445 10.7779 36.0556 10.389 35.5 10.389C34.9445 10.389 35.2778 10.389 35.2223 10.389C35.4445 10.2223 35.6667 9.94455 35.6667 9.61122C35.6667 9.27789 35.5 9.11122 35.2778 8.94455L36.5556 8.33344C37.3889 6.94455 38.8889 5.94455 40.7223 5.55566C39.7223 6.27789 38.8889 7.16678 38.2223 8.33344L38.6667 8.72233C38.2222 8.77789 37.8889 9.16677 37.8889 9.61122C37.8889 10.0557 38.1111 10.2779 38.4445 10.4446H38.5ZM42.6667 10.5001C42.5556 10.4446 42.3334 10.389 42.2222 10.389C41.6667 10.389 41.2778 10.7779 41.2778 11.2779C41.2778 11.7779 41.6667 12.1112 42.1667 12.1112C42.6667 12.1112 42.6111 12.0557 42.7778 11.9446C42.7778 12.389 42.4445 13.3334 41.6667 13.3334H40.2778C39.3889 13.3334 39.1667 12.2223 39.1667 11.889C39.2778 12.0001 39.5 12.1112 39.7778 12.1112C40.2222 12.1112 40.6667 11.7779 40.6667 11.2779C40.6667 10.7779 40.2778 10.389 39.7222 10.389C39.1667 10.389 39.3889 10.389 39.3334 10.4446C39.6667 10.2779 39.8889 10.0001 39.8889 9.61122C39.8889 9.22233 39.6667 8.94455 39.3334 8.83344L40.3334 8.33344C40.6111 7.33344 41.5 5.889 42.4445 5.389C42.3334 5.889 42.2778 6.94455 42.2778 8.33344C42.2778 8.33344 42.5556 8.61122 42.8334 8.77789C42.4445 8.889 42.1667 9.22233 42.1667 9.61122C42.1667 10.0001 42.3889 10.2779 42.7223 10.4446L42.6667 10.5001ZM45.8334 13.3334H44.4445C43.6667 13.3334 43.3334 12.389 43.3334 11.9446C43.4445 12.0557 43.6667 12.1112 43.9445 12.1112C44.4445 12.1112 44.8334 11.7779 44.8334 11.2779C44.8334 10.7779 44.4445 10.389 43.8889 10.389C43.3334 10.389 43.5556 10.389 43.4445 10.5001C43.7778 10.389 44.0556 10.0557 44.0556 9.66678C44.0556 9.27789 43.7778 8.94455 43.3889 8.83344C43.6667 8.66678 43.9445 8.389 43.9445 8.389C43.9445 7.00011 43.8889 5.94455 43.7222 5.44455C44.7222 5.94455 45.6111 7.33344 45.8889 8.389L46.8889 8.889C46.6111 9.00011 46.3334 9.33344 46.3334 9.66678C46.3334 10.0001 46.5556 10.3334 46.8889 10.5001C46.7778 10.5001 46.6111 10.4446 46.5 10.4446C45.9445 10.4446 45.5556 10.8334 45.5556 11.3334C45.5556 11.8334 45.9445 12.1668 46.4445 12.1668C46.9445 12.1668 46.8889 12.1112 47.0556 11.9446C47.0556 12.2223 46.8334 13.389 45.9445 13.389L45.8334 13.3334ZM50 13.3334H48.6111C47.8889 13.3334 47.4445 12.389 47.4445 11.889C47.5556 12.0557 47.7778 12.1112 48.0556 12.1112C48.5 12.1112 48.8889 11.7779 48.8889 11.2779C48.8889 10.7779 48.5 10.389 47.9445 10.389C47.3889 10.389 47.6111 10.389 47.5556 10.4446C47.8889 10.2779 48.1111 10.0001 48.1111 9.61122C48.1111 9.22233 47.7778 8.77789 47.2778 8.72233L47.7778 8.33344C47.1111 7.16678 46.2778 6.33344 45.2778 5.55566C47.0556 5.94455 48.6111 6.889 49.4445 8.33344L50.7778 8.94455C50.5556 9.11122 50.3889 9.33344 50.3889 9.66678C50.3889 10.0001 50.6111 10.3334 50.8889 10.5001C50.8334 10.5001 50.6667 10.4446 50.5556 10.4446C50 10.4446 49.6111 10.8334 49.6111 11.3334C49.6111 11.8334 50 12.1668 50.4445 12.1668C50.8889 12.1668 50.9445 12.1112 51.0556 12.0001C51.0556 12.1112 50.8889 13.389 50 13.389V13.3334ZM43.0556 5.00011C42.2778 5.00011 41.6667 4.389 41.6667 3.61122C41.6667 2.83344 42.1667 2.389 42.7778 2.27789V1.66678H42.2222V1.11122H42.7778V0.555664H43.3334V1.11122H43.8889V1.66678H43.3334V2.27789C43.9445 2.389 44.4445 2.94455 44.4445 3.66678C44.4445 4.389 43.8334 5.05566 43.0556 5.05566V5.00011Z",
|
|
1399
1917
|
fill: "#F0AA1E"
|
|
1400
1918
|
}
|
|
1401
1919
|
),
|
|
1402
|
-
/* @__PURE__ */
|
|
1920
|
+
/* @__PURE__ */ jsx15("path", { d: "M82.2223 18.3335V37.2224", stroke: "black", strokeWidth: "0.8", strokeMiterlimit: "10" })
|
|
1403
1921
|
] });
|
|
1404
|
-
var Logo_en = () => /* @__PURE__ */
|
|
1405
|
-
/* @__PURE__ */
|
|
1922
|
+
var Logo_en = () => /* @__PURE__ */ jsxs14("svg", { width: "189.0", height: "46.67", viewBox: "0 0 189 46.67", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
|
|
1923
|
+
/* @__PURE__ */ jsx15(
|
|
1406
1924
|
"path",
|
|
1407
1925
|
{
|
|
1408
1926
|
d: "M30.0001 23.8889C30.0001 26.2223 28.6112 28.3889 26.4445 29.0556C25.4445 29.3334 24.4445 29.4445 22.7778 29.4445H13.6112C11.8889 29.4445 11.6667 29.7223 11.6667 31.3889V35.0001C11.6667 36.3334 10.8334 37.2223 9.72228 37.2223C8.61117 37.2223 7.77783 36.3334 7.77783 35.0001V32.5001C7.77783 31.3889 7.77783 30.4445 7.88894 29.9445C8.22228 28.0556 9.33339 26.6112 11.1667 25.9445C11.8889 25.6667 13.1112 25.5001 15.5001 25.5001H23.3334C24.0001 25.5001 24.6667 25.4445 24.9445 25.3334C25.7778 25.0001 26.0556 24.4445 26.0556 23.8334C26.0556 23.2223 25.8334 22.6112 24.9445 22.3334C24.6667 22.2223 24.0001 22.1667 23.3334 22.1667H10.7778C10.2778 22.1667 9.83339 22.1667 9.61117 22.0556C8.77783 21.7778 8.27783 21.0001 8.27783 20.2223C8.27783 19.4445 8.77783 18.6667 9.61117 18.3889C9.88894 18.2778 10.1667 18.2778 10.7223 18.2778H22.7223C24.4445 18.2778 25.7778 18.3889 26.6112 18.7223C28.7778 19.5556 29.9445 21.3334 29.9445 23.8334L30.0001 23.8889ZM53.1667 18.5001C52.8889 18.3889 52.4445 18.3334 51.8334 18.3334H34.2223C33.7778 18.3334 33.3889 18.3334 33.1667 18.4445C32.2223 18.7223 31.6667 19.4445 31.6667 20.2778C31.6667 21.1112 32.1112 21.7778 33.0001 22.0556C33.2778 22.1667 33.7223 22.2223 34.2223 22.2223H41.1112V35.2223C41.1112 36.5556 42.0001 37.2223 43.0556 37.2223C44.1112 37.2223 45.0001 36.5556 45.0001 35.2223V22.2223H51.8334C52.5001 22.2223 52.8334 22.2223 53.0556 22.1112C53.9445 21.8334 54.4445 21.1112 54.4445 20.2778C54.4445 19.4445 54.0001 18.7778 53.1667 18.5001ZM74.1667 26.3334C73.2223 25.8334 72.0001 25.5556 68.9445 25.5556H63.0556C62.1112 25.5556 61.6112 25.5001 61.2778 25.3889C60.3334 25.0556 60.0001 24.4445 60.0001 23.8889C60.0001 23.3334 60.2223 22.6667 61.2223 22.3334C61.5001 22.2223 62.0001 22.2223 62.5001 22.2223H73.3334C73.5556 22.2223 74.1667 22.2223 74.3334 22.2223C75.3334 22.0556 76.1112 21.4445 76.1112 20.3334C76.1112 19.2223 75.3334 18.6667 74.3889 18.4445C74.2223 18.4445 73.8334 18.3889 73.3334 18.3889H63.0556C61.2223 18.3889 59.8889 18.6112 59.0001 19.0001C57.1667 19.8889 56.1112 21.7778 56.1112 23.9445C56.1112 26.1112 57.1112 28.0556 59.1112 28.9445C60.0001 29.3334 61.3334 29.5001 63.0556 29.5001H70.5556C71.5001 29.5001 72.0001 29.6112 72.3334 29.7223C73.1112 30.0001 73.3334 30.7778 73.3334 31.4445C73.3334 32.1112 73.1112 32.9445 72.1667 33.2223C71.8334 33.3334 71.1667 33.3889 70.0556 33.3889H59.1667C58.7223 33.3889 58.2778 33.3889 58.0556 33.5001C57.1667 33.7223 56.6667 34.4445 56.6667 35.3334C56.6667 36.2223 57.2223 36.7778 57.9445 37.0556C58.2223 37.1667 58.8334 37.2778 59.2778 37.2778H68.8889C70.9445 37.2778 72.6112 37.1667 73.6112 36.8334C75.8889 36.1667 77.1667 34.0001 77.1667 31.4445C77.1667 28.8889 76.0001 27.3334 74.1112 26.3889L74.1667 26.3334Z",
|
|
1409
1927
|
fill: "#141414"
|
|
1410
1928
|
}
|
|
1411
1929
|
),
|
|
1412
|
-
/* @__PURE__ */
|
|
1930
|
+
/* @__PURE__ */ jsx15(
|
|
1413
1931
|
"path",
|
|
1414
1932
|
{
|
|
1415
1933
|
d: "M51.1667 8.72233L51.3889 8.33344C50 6.44455 46.7222 5.11122 43.3889 5.00011H42.7223C39.3889 5.11122 36.1111 6.44455 34.7222 8.33344L34.9445 8.72233C34.3334 8.72233 33.8889 9.11122 33.8889 9.61122L35.1667 15.0001C35.2778 15.3334 35.3889 15.5001 35.8334 15.5001H50.2778C50.6667 15.5001 50.8334 15.2779 50.8889 15.0001L52.1667 9.61122C52.1667 9.11122 51.7222 8.72233 51.1111 8.72233H51.1667ZM38.5 10.4446C38.3889 10.4446 38.2222 10.389 38.1111 10.389C37.5556 10.389 37.1667 10.7779 37.1667 11.2779C37.1667 11.7779 37.5556 12.1112 38.0556 12.1112C38.5556 12.1112 38.5 12.0557 38.6111 11.889C38.6111 12.3334 38.1111 13.3334 37.4445 13.3334H36.0556C35.1111 13.3334 35 12.0557 35 11.9446C35.1111 12.0557 35.3889 12.1112 35.6111 12.1112C36.0556 12.1112 36.4445 11.7779 36.4445 11.2779C36.4445 10.7779 36.0556 10.389 35.5 10.389C34.9445 10.389 35.2778 10.389 35.2223 10.389C35.4445 10.2223 35.6667 9.94455 35.6667 9.61122C35.6667 9.27789 35.5 9.11122 35.2778 8.94455L36.5556 8.33344C37.3889 6.94455 38.8889 5.94455 40.7223 5.55566C39.7223 6.27789 38.8889 7.16678 38.2223 8.33344L38.6667 8.72233C38.2222 8.77789 37.8889 9.16677 37.8889 9.61122C37.8889 10.0557 38.1111 10.2779 38.4445 10.4446H38.5ZM42.6667 10.5001C42.5556 10.4446 42.3334 10.389 42.2222 10.389C41.6667 10.389 41.2778 10.7779 41.2778 11.2779C41.2778 11.7779 41.6667 12.1112 42.1667 12.1112C42.6667 12.1112 42.6111 12.0557 42.7778 11.9446C42.7778 12.389 42.4445 13.3334 41.6667 13.3334H40.2778C39.3889 13.3334 39.1667 12.2223 39.1667 11.889C39.2778 12.0001 39.5 12.1112 39.7778 12.1112C40.2222 12.1112 40.6667 11.7779 40.6667 11.2779C40.6667 10.7779 40.2778 10.389 39.7222 10.389C39.1667 10.389 39.3889 10.389 39.3334 10.4446C39.6667 10.2779 39.8889 10.0001 39.8889 9.61122C39.8889 9.22233 39.6667 8.94455 39.3334 8.83344L40.3334 8.33344C40.6111 7.33344 41.5 5.889 42.4445 5.389C42.3334 5.889 42.2778 6.94455 42.2778 8.33344C42.2778 8.33344 42.5556 8.61122 42.8334 8.77789C42.4445 8.889 42.1667 9.22233 42.1667 9.61122C42.1667 10.0001 42.3889 10.2779 42.7223 10.4446L42.6667 10.5001ZM45.8334 13.3334H44.4445C43.6667 13.3334 43.3334 12.389 43.3334 11.9446C43.4445 12.0557 43.6667 12.1112 43.9445 12.1112C44.4445 12.1112 44.8334 11.7779 44.8334 11.2779C44.8334 10.7779 44.4445 10.389 43.8889 10.389C43.3334 10.389 43.5556 10.389 43.4445 10.5001C43.7778 10.389 44.0556 10.0557 44.0556 9.66678C44.0556 9.27789 43.7778 8.94455 43.3889 8.83344C43.6667 8.66678 43.9445 8.389 43.9445 8.389C43.9445 7.00011 43.8889 5.94455 43.7222 5.44455C44.7222 5.94455 45.6111 7.33344 45.8889 8.389L46.8889 8.889C46.6111 9.00011 46.3334 9.33344 46.3334 9.66678C46.3334 10.0001 46.5556 10.3334 46.8889 10.5001C46.7778 10.5001 46.6111 10.4446 46.5 10.4446C45.9445 10.4446 45.5556 10.8334 45.5556 11.3334C45.5556 11.8334 45.9445 12.1668 46.4445 12.1668C46.9445 12.1668 46.8889 12.1112 47.0556 11.9446C47.0556 12.2223 46.8334 13.389 45.9445 13.389L45.8334 13.3334ZM50 13.3334H48.6111C47.8889 13.3334 47.4445 12.389 47.4445 11.889C47.5556 12.0557 47.7778 12.1112 48.0556 12.1112C48.5 12.1112 48.8889 11.7779 48.8889 11.2779C48.8889 10.7779 48.5 10.389 47.9445 10.389C47.3889 10.389 47.6111 10.389 47.5556 10.4446C47.8889 10.2779 48.1111 10.0001 48.1111 9.61122C48.1111 9.22233 47.7778 8.77789 47.2778 8.72233L47.7778 8.33344C47.1111 7.16678 46.2778 6.33344 45.2778 5.55566C47.0556 5.94455 48.6111 6.889 49.4445 8.33344L50.7778 8.94455C50.5556 9.11122 50.3889 9.33344 50.3889 9.66678C50.3889 10.0001 50.6111 10.3334 50.8889 10.5001C50.8334 10.5001 50.6667 10.4446 50.5556 10.4446C50 10.4446 49.6111 10.8334 49.6111 11.3334C49.6111 11.8334 50 12.1668 50.4445 12.1668C50.8889 12.1668 50.9445 12.1112 51.0556 12.0001C51.0556 12.1112 50.8889 13.389 50 13.389V13.3334ZM43.0556 5.00011C42.2778 5.00011 41.6667 4.389 41.6667 3.61122C41.6667 2.83344 42.1667 2.389 42.7778 2.27789V1.66678H42.2222V1.11122H42.7778V0.555664H43.3334V1.11122H43.8889V1.66678H43.3334V2.27789C43.9445 2.389 44.4445 2.94455 44.4445 3.66678C44.4445 4.389 43.8334 5.05566 43.0556 5.05566V5.00011Z",
|
|
1416
1934
|
fill: "#F0AA1E"
|
|
1417
1935
|
}
|
|
1418
1936
|
),
|
|
1419
|
-
/* @__PURE__ */
|
|
1420
|
-
/* @__PURE__ */
|
|
1937
|
+
/* @__PURE__ */ jsx15("path", { d: "M82.2223 18.3335V37.2224", stroke: "#141414", strokeWidth: "0.8", strokeMiterlimit: "10" }),
|
|
1938
|
+
/* @__PURE__ */ jsx15(
|
|
1421
1939
|
"path",
|
|
1422
1940
|
{
|
|
1423
1941
|
d: "M88.9445 24.8335C89.3334 25.1669 89.8334 25.3335 90.3889 25.3335C90.9445 25.3335 91.3334 25.2224 91.6667 25.0002C92 24.778 92.1667 24.4446 92.1667 24.0002C92.1667 23.5557 92.0556 23.4446 91.8889 23.278C91.7222 23.1113 91.5 22.9446 91.1667 22.8891C90.8334 22.8335 90.5 22.7224 90 22.6113C89.2222 22.5002 88.6111 22.278 88.1667 21.9446C87.7222 21.6669 87.5 21.1669 87.5 20.4446C87.5 19.7224 87.6111 19.6113 87.8334 19.278C88.0556 18.9446 88.3889 18.6669 88.7778 18.5002C89.1667 18.3335 89.6667 18.2224 90.1667 18.2224C90.6667 18.2224 91.2222 18.3335 91.6111 18.5002C92.0556 18.7224 92.3889 19.0002 92.6111 19.3335C92.8334 19.6669 93 20.1113 93 20.5557H92.0556C92 20.1113 91.7778 19.7224 91.4445 19.4446C91.1111 19.1669 90.6667 19.0557 90.1667 19.0557C89.6667 19.0557 89.2223 19.1669 88.9445 19.3891C88.6667 19.6113 88.5 19.9446 88.5 20.3335C88.5 20.7224 88.6111 20.8891 88.7778 21.0557C88.9445 21.2224 89.1667 21.3335 89.4445 21.4446C89.7222 21.5557 90.1111 21.6113 90.6111 21.7224C91.3889 21.8335 92 22.0557 92.5 22.3891C92.9445 22.7224 93.2223 23.1669 93.2223 23.8891C93.2223 24.6113 93.1111 24.7224 92.8889 25.0557C92.6667 25.3891 92.3334 25.6669 91.8889 25.8891C91.4445 26.0557 91 26.1669 90.4445 26.1669C89.8889 26.1669 89.3334 26.0557 88.8334 25.8335C88.3889 25.6113 88.0556 25.3335 87.7778 24.8891C87.5556 24.5002 87.3889 24.0557 87.3889 23.5002H88.3334C88.3334 24.0002 88.5556 24.4446 88.9445 24.778V24.8335Z",
|
|
1424
1942
|
fill: "#141414"
|
|
1425
1943
|
}
|
|
1426
1944
|
),
|
|
1427
|
-
/* @__PURE__ */
|
|
1945
|
+
/* @__PURE__ */ jsx15(
|
|
1428
1946
|
"path",
|
|
1429
1947
|
{
|
|
1430
1948
|
d: "M94.5557 20.4446L95.9446 25.0557L97.4446 20.4446H98.2779L99.6668 25.0557L101.167 20.4446H102.111L100.222 26.1112H99.2223L97.8334 21.889L96.389 26.1112H95.389L93.5557 20.4446H94.5001H94.5557Z",
|
|
1431
1949
|
fill: "#141414"
|
|
1432
1950
|
}
|
|
1433
1951
|
),
|
|
1434
|
-
/* @__PURE__ */
|
|
1952
|
+
/* @__PURE__ */ jsx15(
|
|
1435
1953
|
"path",
|
|
1436
1954
|
{
|
|
1437
1955
|
d: "M103.778 20.7224C104.167 20.5002 104.667 20.3335 105.167 20.3335C105.667 20.3335 106.167 20.4446 106.556 20.6668C106.945 20.8891 107.278 21.1668 107.5 21.6113C107.722 22.0002 107.833 22.5002 107.889 23.0557C107.889 23.1113 107.889 23.2779 107.889 23.4446H103.5C103.5 24.0557 103.667 24.5002 104 24.8335C104.333 25.1668 104.778 25.3335 105.278 25.3335C105.778 25.3335 106.056 25.2224 106.333 25.0002C106.611 24.7779 106.833 24.5002 106.889 24.1668H107.833C107.722 24.7224 107.445 25.2224 107 25.6113C106.556 26.0002 106 26.1668 105.389 26.1668C104.778 26.1668 104.333 26.0557 103.889 25.7779C103.445 25.5557 103.111 25.2224 102.889 24.7779C102.667 24.3335 102.556 23.8335 102.556 23.2779C102.556 22.7224 102.667 22.1668 102.889 21.7779C103.111 21.3335 103.445 21.0002 103.833 20.7779L103.778 20.7224ZM106.389 21.5557C106.056 21.2779 105.667 21.1668 105.167 21.1668C104.667 21.1668 104.333 21.3335 104.056 21.6113C103.778 21.8891 103.556 22.2779 103.5 22.7224H106.945C106.945 22.2224 106.722 21.8891 106.389 21.6113V21.5557Z",
|
|
1438
1956
|
fill: "#141414"
|
|
1439
1957
|
}
|
|
1440
1958
|
),
|
|
1441
|
-
/* @__PURE__ */
|
|
1959
|
+
/* @__PURE__ */ jsx15(
|
|
1442
1960
|
"path",
|
|
1443
1961
|
{
|
|
1444
1962
|
d: "M114.278 26.1114H113.5L113.389 25.2225C112.889 25.8892 112.278 26.2225 111.445 26.2225C110.611 26.2225 110.445 26.1114 110.056 25.8892C109.667 25.6669 109.333 25.3336 109.111 24.8892C108.889 24.4447 108.778 23.9447 108.778 23.3336C108.778 22.7225 108.889 22.2781 109.111 21.8336C109.333 21.3892 109.667 21.0558 110.111 20.8336C110.556 20.6114 111 20.4447 111.5 20.4447C112 20.4447 112.333 20.5003 112.667 20.7225C113 20.8892 113.222 21.1114 113.444 21.3892V18.3892H114.333V26.1669L114.278 26.1114ZM113.111 24.3892C113.278 24.0558 113.333 23.7225 113.333 23.3336C113.333 22.9447 113.278 22.5558 113.111 22.2225C112.945 21.8892 112.722 21.6669 112.444 21.4447C112.167 21.278 111.833 21.1669 111.445 21.1669C110.889 21.1669 110.445 21.3892 110.056 21.7781C109.667 22.1669 109.556 22.6669 109.556 23.2781C109.556 23.8892 109.722 24.3892 110.056 24.778C110.389 25.1669 110.833 25.3892 111.445 25.3892C112.056 25.3892 112.111 25.2781 112.444 25.1114C112.722 24.9447 112.945 24.6669 113.111 24.3892Z",
|
|
1445
1963
|
fill: "#141414"
|
|
1446
1964
|
}
|
|
1447
1965
|
),
|
|
1448
|
-
/* @__PURE__ */
|
|
1966
|
+
/* @__PURE__ */ jsx15(
|
|
1449
1967
|
"path",
|
|
1450
1968
|
{
|
|
1451
1969
|
d: "M116.556 18.8335C116.556 19.0002 116.5 19.1669 116.389 19.278C116.278 19.3891 116.111 19.4446 115.944 19.4446C115.778 19.4446 115.611 19.3891 115.5 19.278C115.389 19.1669 115.333 19.0002 115.333 18.8335C115.333 18.6669 115.389 18.5002 115.5 18.3891C115.611 18.278 115.778 18.2224 115.944 18.2224C116.111 18.2224 116.278 18.278 116.389 18.3891C116.5 18.5002 116.556 18.6669 116.556 18.8335ZM116.444 20.4446V26.1113H115.556V20.4446H116.444Z",
|
|
1452
1970
|
fill: "#141414"
|
|
1453
1971
|
}
|
|
1454
1972
|
),
|
|
1455
|
-
/* @__PURE__ */
|
|
1973
|
+
/* @__PURE__ */ jsx15(
|
|
1456
1974
|
"path",
|
|
1457
1975
|
{
|
|
1458
1976
|
d: "M118.833 25.0557C119.111 25.2779 119.5 25.389 119.945 25.389C120.389 25.389 120.667 25.3335 120.945 25.1668C121.167 25.0001 121.333 24.7779 121.333 24.5557C121.333 24.3335 121.278 24.1668 121.167 24.0557C121.056 23.9446 120.889 23.8335 120.722 23.8335C120.556 23.8335 120.278 23.7224 119.889 23.7224C119.389 23.6668 119 23.6112 118.667 23.5001C118.333 23.389 118.111 23.2224 117.889 23.0557C117.722 22.8335 117.611 22.5557 117.611 22.1668C117.611 21.7779 117.722 21.5557 117.889 21.2779C118.056 21.0001 118.333 20.8335 118.667 20.6668C119 20.5001 119.333 20.4446 119.778 20.4446C120.445 20.4446 121 20.6112 121.389 20.889C121.833 21.2224 122.056 21.6668 122.056 22.2224H121.167C121.167 21.9446 121 21.6668 120.722 21.5001C120.445 21.3335 120.167 21.2224 119.778 21.2224C119.389 21.2224 119.056 21.2779 118.833 21.4446C118.611 21.6112 118.5 21.8335 118.5 22.0557C118.5 22.2779 118.5 22.389 118.667 22.5001C118.778 22.6112 118.945 22.6668 119.111 22.7224C119.278 22.7224 119.556 22.7779 119.889 22.8335C120.389 22.889 120.778 23.0001 121.111 23.0557C121.445 23.1668 121.667 23.3335 121.889 23.5557C122.111 23.7779 122.167 24.1112 122.167 24.5001C122.167 24.889 122.056 25.1668 121.889 25.389C121.667 25.6668 121.445 25.8335 121.056 26.0001C120.722 26.1668 120.333 26.2224 119.945 26.2224C119.222 26.2224 118.611 26.0557 118.167 25.7224C117.722 25.389 117.5 24.889 117.5 24.2779H118.389C118.389 24.6112 118.556 24.889 118.833 25.1112V25.0557Z",
|
|
1459
1977
|
fill: "#141414"
|
|
1460
1978
|
}
|
|
1461
1979
|
),
|
|
1462
|
-
/* @__PURE__ */
|
|
1980
|
+
/* @__PURE__ */ jsx15(
|
|
1463
1981
|
"path",
|
|
1464
1982
|
{
|
|
1465
1983
|
d: "M128.278 22.9446V26.1113H127.389V23.0002C127.389 22.3891 127.278 21.9446 127 21.6668C126.722 21.3335 126.333 21.2224 125.833 21.2224C125.333 21.2224 124.889 21.3891 124.611 21.7779C124.278 22.1668 124.167 22.6668 124.167 23.2779V26.1113H123.278V18.3335H124.167V21.3891C124.333 21.1113 124.611 20.8335 124.889 20.6668C125.222 20.5002 125.556 20.3891 126 20.3891C126.667 20.3891 127.222 20.6113 127.667 21.0002C128.111 21.3891 128.278 22.0557 128.278 22.9446Z",
|
|
1466
1984
|
fill: "#141414"
|
|
1467
1985
|
}
|
|
1468
1986
|
),
|
|
1469
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ jsx15(
|
|
1470
1988
|
"path",
|
|
1471
1989
|
{
|
|
1472
1990
|
d: "M136.833 18.6113C137.222 18.8335 137.556 19.1113 137.722 19.4446C137.945 19.7779 138.056 20.2224 138.056 20.7224C138.056 21.2224 137.945 21.6113 137.722 22.0002C137.5 22.3891 137.222 22.6668 136.833 22.8335C136.445 23.0002 136 23.1113 135.5 23.1113H133.5V26.1113H132.556V18.3335H135.556C136.056 18.3335 136.5 18.4446 136.889 18.6113H136.833ZM135.389 22.2224C135.889 22.2224 136.333 22.1113 136.611 21.8335C136.889 21.5557 137.056 21.1668 137.056 20.7224C137.056 20.2779 136.889 19.8891 136.611 19.6113C136.333 19.3335 135.889 19.2224 135.389 19.2224H133.445V22.2224H135.389Z",
|
|
1473
1991
|
fill: "#141414"
|
|
1474
1992
|
}
|
|
1475
1993
|
),
|
|
1476
|
-
/* @__PURE__ */
|
|
1994
|
+
/* @__PURE__ */ jsx15(
|
|
1477
1995
|
"path",
|
|
1478
1996
|
{
|
|
1479
1997
|
d: "M138.833 24.778C138.611 24.3336 138.5 23.8336 138.5 23.278C138.5 22.7225 138.611 22.2225 138.833 21.778C139.056 21.3336 139.389 21.0003 139.833 20.778C140.278 20.5558 140.722 20.3892 141.278 20.3892C141.833 20.3892 142.333 20.5003 142.722 20.778C143.167 21.0003 143.5 21.3892 143.722 21.778C143.945 22.2225 144.056 22.7225 144.056 23.278C144.056 23.8336 143.945 24.3336 143.722 24.778C143.5 25.2225 143.167 25.5558 142.722 25.778C142.278 26.0003 141.833 26.1669 141.278 26.1669C140.722 26.1669 140.222 26.0558 139.833 25.778C139.445 25.5003 139.056 25.1669 138.833 24.778ZM142.945 24.3336C143.111 24.0003 143.167 23.6669 143.167 23.278C143.167 22.8892 143.111 22.5003 142.945 22.2225C142.778 21.8892 142.556 21.6669 142.278 21.5003C142 21.3336 141.667 21.2225 141.278 21.2225C140.889 21.2225 140.556 21.3336 140.278 21.5003C140 21.6669 139.778 21.9447 139.611 22.2225C139.445 22.5003 139.389 22.8892 139.389 23.278C139.389 23.6669 139.445 24.0558 139.611 24.3336C139.778 24.6669 140 24.8892 140.278 25.0558C140.556 25.2225 140.889 25.3336 141.278 25.3336C141.667 25.3336 142 25.2225 142.278 25.0558C142.556 24.8892 142.778 24.6114 142.945 24.3336Z",
|
|
1480
1998
|
fill: "#141414"
|
|
1481
1999
|
}
|
|
1482
2000
|
),
|
|
1483
|
-
/* @__PURE__ */
|
|
2001
|
+
/* @__PURE__ */ jsx15(
|
|
1484
2002
|
"path",
|
|
1485
2003
|
{
|
|
1486
2004
|
d: "M146.278 25.0557C146.556 25.2779 146.945 25.389 147.389 25.389C147.833 25.389 148.111 25.3335 148.389 25.1668C148.611 25.0001 148.778 24.7779 148.778 24.5557C148.778 24.3335 148.722 24.1668 148.611 24.0557C148.5 23.9446 148.333 23.8335 148.167 23.8335C148 23.8335 147.722 23.7224 147.333 23.7224C146.833 23.6668 146.445 23.6112 146.111 23.5001C145.778 23.389 145.556 23.2224 145.333 23.0557C145.167 22.8335 145.056 22.5557 145.056 22.1668C145.056 21.7779 145.167 21.5557 145.333 21.2779C145.5 21.0001 145.778 20.8335 146.111 20.6668C146.445 20.5001 146.778 20.4446 147.222 20.4446C147.889 20.4446 148.445 20.6112 148.833 20.889C149.278 21.2224 149.5 21.6668 149.5 22.2224H148.611C148.611 21.9446 148.445 21.6668 148.167 21.5001C147.889 21.3335 147.611 21.2224 147.222 21.2224C146.833 21.2224 146.5 21.2779 146.278 21.4446C146.056 21.6112 145.945 21.8335 145.945 22.0557C145.945 22.2779 145.945 22.389 146.111 22.5001C146.222 22.6112 146.389 22.6668 146.556 22.7224C146.722 22.7224 147 22.7779 147.333 22.8335C147.833 22.889 148.222 23.0001 148.556 23.0557C148.889 23.1668 149.111 23.3335 149.333 23.5557C149.556 23.7779 149.611 24.1112 149.611 24.5001C149.611 24.889 149.5 25.1668 149.333 25.389C149.111 25.6668 148.889 25.8335 148.5 26.0001C148.167 26.1668 147.778 26.2224 147.389 26.2224C146.667 26.2224 146.056 26.0557 145.611 25.7224C145.167 25.389 144.945 24.889 144.945 24.2779H145.833C145.833 24.6112 146 24.889 146.278 25.1112V25.0557Z",
|
|
1487
2005
|
fill: "#141414"
|
|
1488
2006
|
}
|
|
1489
2007
|
),
|
|
1490
|
-
/* @__PURE__ */
|
|
2008
|
+
/* @__PURE__ */ jsx15(
|
|
1491
2009
|
"path",
|
|
1492
2010
|
{
|
|
1493
2011
|
d: "M150 21.2779V20.4446H151V18.8335H151.889V20.4446H153.333V21.2779H151.889V24.6113C151.889 24.8335 151.889 25.0002 152 25.1113C152.111 25.2224 152.278 25.2779 152.5 25.2779H153.5V26.1113H152.445C151.889 26.1113 151.556 26.0002 151.278 25.7779C151.056 25.5557 150.945 25.1668 150.945 24.6668V21.3335H149.945L150 21.2779Z",
|
|
1494
2012
|
fill: "#141414"
|
|
1495
2013
|
}
|
|
1496
2014
|
),
|
|
1497
|
-
/* @__PURE__ */
|
|
2015
|
+
/* @__PURE__ */ jsx15(
|
|
1498
2016
|
"path",
|
|
1499
2017
|
{
|
|
1500
2018
|
d: "M162.445 26.1113H161.945C161.556 26.1113 161.333 26.0557 161.167 25.8891C161 25.7224 160.945 25.5002 160.945 25.2224C160.5 25.8335 159.889 26.1668 159.056 26.1668C158.222 26.1668 157.945 26.0002 157.556 25.7224C157.167 25.4446 157 25.0002 157 24.5002C157 24.0002 157.167 23.5002 157.556 23.1668C157.945 22.8335 158.5 22.7224 159.278 22.7224H160.945V22.3335C160.945 21.9446 160.833 21.6668 160.556 21.4446C160.333 21.2224 159.945 21.1113 159.5 21.1113C159.056 21.1113 158.778 21.2224 158.5 21.3891C158.222 21.5557 158.111 21.7779 158 22.0557H157.111C157.167 21.5002 157.445 21.0557 157.833 20.7779C158.222 20.5002 158.833 20.3335 159.5 20.3335C160.167 20.3335 160.778 20.5002 161.167 20.8891C161.556 21.2224 161.778 21.7224 161.778 22.3891V24.8335C161.778 25.1113 161.889 25.2224 162.167 25.2224H162.445V26.0557V26.1113ZM159.111 23.5002C158.278 23.5002 157.833 23.8335 157.833 24.4446C157.833 25.0557 157.945 24.9446 158.167 25.1113C158.389 25.2779 158.667 25.3891 159.056 25.3891C159.611 25.3891 160.056 25.2224 160.389 24.9446C160.722 24.6668 160.889 24.2779 160.889 23.7779V23.5002H159.111Z",
|
|
1501
2019
|
fill: "#141414"
|
|
1502
2020
|
}
|
|
1503
2021
|
),
|
|
1504
|
-
/* @__PURE__ */
|
|
2022
|
+
/* @__PURE__ */ jsx15(
|
|
1505
2023
|
"path",
|
|
1506
2024
|
{
|
|
1507
2025
|
d: "M168.167 22.9447V26.1114H167.278V23.0003C167.278 22.3892 167.167 21.9447 166.889 21.6669C166.611 21.3892 166.222 21.2225 165.722 21.2225C165.222 21.2225 164.778 21.3892 164.445 21.778C164.167 22.1669 164 22.6669 164 23.278V26.1114H163.111V20.4447H163.889L164 21.2225C164.445 20.6669 165.056 20.3892 165.889 20.3892C166.722 20.3892 167.111 20.6114 167.556 21.0003C168 21.3892 168.167 22.0558 168.167 22.9447Z",
|
|
1508
2026
|
fill: "#141414"
|
|
1509
2027
|
}
|
|
1510
2028
|
),
|
|
1511
|
-
/* @__PURE__ */
|
|
2029
|
+
/* @__PURE__ */ jsx15(
|
|
1512
2030
|
"path",
|
|
1513
2031
|
{
|
|
1514
2032
|
d: "M174.722 26.1114H173.945L173.833 25.2225C173.333 25.8892 172.722 26.2225 171.889 26.2225C171.056 26.2225 170.889 26.1114 170.5 25.8892C170.111 25.6669 169.778 25.3336 169.556 24.8892C169.333 24.4447 169.222 23.9447 169.222 23.3336C169.222 22.7225 169.333 22.2781 169.556 21.8336C169.778 21.3892 170.111 21.0558 170.556 20.8336C171 20.6114 171.445 20.4447 171.945 20.4447C172.445 20.4447 172.778 20.5003 173.111 20.7225C173.445 20.8892 173.667 21.1114 173.889 21.3892V18.3892H174.778V26.1669L174.722 26.1114ZM173.611 24.3892C173.778 24.0558 173.833 23.7225 173.833 23.3336C173.833 22.9447 173.778 22.5558 173.611 22.2225C173.445 21.8892 173.222 21.6669 172.945 21.4447C172.667 21.278 172.333 21.1669 171.945 21.1669C171.389 21.1669 170.945 21.3892 170.556 21.7781C170.167 22.1669 170.056 22.6669 170.056 23.2781C170.056 23.8892 170.222 24.3892 170.556 24.778C170.889 25.1669 171.333 25.3892 171.945 25.3892C172.556 25.3892 172.611 25.2781 172.945 25.1114C173.222 24.9447 173.445 24.6669 173.611 24.3892Z",
|
|
1515
2033
|
fill: "#141414"
|
|
1516
2034
|
}
|
|
1517
2035
|
),
|
|
1518
|
-
/* @__PURE__ */
|
|
2036
|
+
/* @__PURE__ */ jsx15(
|
|
1519
2037
|
"path",
|
|
1520
2038
|
{
|
|
1521
2039
|
d: "M92.6112 29.4446V30.3335H90.1112V37.2224H89.1667V30.3335H86.6667V29.4446H92.6667H92.6112Z",
|
|
1522
2040
|
fill: "#141414"
|
|
1523
2041
|
}
|
|
1524
2042
|
),
|
|
1525
|
-
/* @__PURE__ */
|
|
2043
|
+
/* @__PURE__ */ jsx15(
|
|
1526
2044
|
"path",
|
|
1527
2045
|
{
|
|
1528
2046
|
d: "M93.6111 31.8335C94 31.6112 94.5 31.4446 95 31.4446C95.5 31.4446 96 31.5557 96.3889 31.7779C96.7778 32.0001 97.1111 32.2779 97.3334 32.7224C97.5556 33.1112 97.6667 33.6112 97.7222 34.1668C97.7222 34.2224 97.7222 34.389 97.7222 34.5557H93.3334C93.3334 35.1668 93.5 35.6112 93.8334 35.9446C94.1667 36.2779 94.6111 36.4446 95.1111 36.4446C95.6111 36.4446 95.8889 36.3335 96.1667 36.1112C96.4445 35.889 96.6667 35.6112 96.7223 35.2779H97.6667C97.5556 35.8335 97.2778 36.3335 96.8334 36.7224C96.3889 37.1112 95.8334 37.2779 95.2222 37.2779C94.6111 37.2779 94.1667 37.1668 93.7222 36.889C93.2778 36.6668 92.9445 36.3335 92.7222 35.889C92.5 35.4446 92.3889 34.9446 92.3889 34.389C92.3889 33.8335 92.5 33.2779 92.7222 32.889C92.9445 32.4446 93.2778 32.1112 93.6667 31.889L93.6111 31.8335ZM96.2222 32.6668C95.8889 32.389 95.5 32.2779 95 32.2779C94.5 32.2779 94.1667 32.4446 93.8889 32.7224C93.5556 33.0001 93.3889 33.389 93.3334 33.8335H96.7778C96.7778 33.3335 96.5556 33.0001 96.2222 32.7224V32.6668Z",
|
|
1529
2047
|
fill: "#141414"
|
|
1530
2048
|
}
|
|
1531
2049
|
),
|
|
1532
|
-
/* @__PURE__ */
|
|
1533
|
-
/* @__PURE__ */
|
|
2050
|
+
/* @__PURE__ */ jsx15("path", { d: "M99.6667 29.4446V37.2224H98.7778V29.4446H99.6667Z", fill: "#141414" }),
|
|
2051
|
+
/* @__PURE__ */ jsx15(
|
|
1534
2052
|
"path",
|
|
1535
2053
|
{
|
|
1536
2054
|
d: "M102 31.8335C102.389 31.6112 102.889 31.4446 103.389 31.4446C103.889 31.4446 104.389 31.5557 104.778 31.7779C105.167 32.0001 105.5 32.2779 105.722 32.7224C105.945 33.1112 106.056 33.6112 106.111 34.1668C106.111 34.2224 106.111 34.389 106.111 34.5557H101.722C101.722 35.1668 101.889 35.6112 102.222 35.9446C102.556 36.2779 103 36.4446 103.5 36.4446C104 36.4446 104.278 36.3335 104.556 36.1112C104.833 35.889 105.056 35.6112 105.111 35.2779H106.056C105.944 35.8335 105.667 36.3335 105.222 36.7224C104.778 37.1112 104.222 37.2779 103.611 37.2779C103 37.2779 102.556 37.1668 102.111 36.889C101.667 36.6668 101.333 36.3335 101.111 35.889C100.889 35.4446 100.778 34.9446 100.778 34.389C100.778 33.8335 100.889 33.2779 101.111 32.889C101.333 32.4446 101.667 32.1112 102.056 31.889L102 31.8335ZM104.611 32.6668C104.278 32.389 103.889 32.2779 103.389 32.2779C102.889 32.2779 102.556 32.4446 102.278 32.7224C101.945 33.0001 101.778 33.389 101.722 33.8335H105.167C105.167 33.3335 104.945 33.0001 104.611 32.7224V32.6668Z",
|
|
1537
2055
|
fill: "#141414"
|
|
1538
2056
|
}
|
|
1539
2057
|
),
|
|
1540
|
-
/* @__PURE__ */
|
|
2058
|
+
/* @__PURE__ */ jsx15(
|
|
1541
2059
|
"path",
|
|
1542
2060
|
{
|
|
1543
2061
|
d: "M109.667 37.2779C109.111 37.2779 108.611 37.1668 108.222 36.889C107.833 36.6668 107.5 36.2779 107.278 35.8335C107.056 35.389 106.945 34.889 106.945 34.3335C106.945 33.7779 107.056 33.2779 107.278 32.8335C107.5 32.389 107.833 32.0557 108.278 31.8335C108.722 31.6112 109.167 31.4446 109.722 31.4446C110.278 31.4446 110.945 31.6112 111.389 32.0001C111.833 32.389 112.111 32.8335 112.222 33.4446H111.278C111.167 33.0557 111 32.7779 110.722 32.5557C110.445 32.3335 110.111 32.2224 109.722 32.2224C109.333 32.2224 108.722 32.389 108.389 32.7779C108.056 33.1668 107.889 33.6668 107.889 34.2779C107.889 34.889 108.056 35.389 108.389 35.7779C108.722 36.1668 109.167 36.389 109.722 36.389C110.278 36.389 110.5 36.2779 110.778 36.0557C111.056 35.8335 111.222 35.5557 111.333 35.1668H112.222C112.111 35.7779 111.833 36.2779 111.389 36.6668C110.945 37.0001 110.389 37.2224 109.722 37.2224L109.667 37.2779Z",
|
|
1544
2062
|
fill: "#141414"
|
|
1545
2063
|
}
|
|
1546
2064
|
),
|
|
1547
|
-
/* @__PURE__ */
|
|
2065
|
+
/* @__PURE__ */ jsx15(
|
|
1548
2066
|
"path",
|
|
1549
2067
|
{
|
|
1550
2068
|
d: "M113.278 35.8891C113.056 35.4447 112.945 34.9447 112.945 34.3891C112.945 33.8336 113.056 33.3336 113.278 32.8891C113.5 32.4447 113.833 32.1114 114.278 31.8891C114.722 31.6669 115.167 31.5002 115.722 31.5002C116.278 31.5002 116.778 31.6114 117.167 31.8891C117.611 32.1114 117.945 32.5002 118.167 32.8891C118.389 33.3336 118.5 33.8336 118.5 34.3891C118.5 34.9447 118.389 35.4447 118.167 35.8891C117.945 36.3336 117.611 36.6669 117.167 36.8891C116.722 37.1114 116.278 37.278 115.722 37.278C115.167 37.278 114.667 37.1669 114.278 36.8891C113.889 36.6114 113.5 36.278 113.278 35.8891ZM117.333 35.4447C117.5 35.1114 117.556 34.778 117.556 34.3891C117.556 34.0002 117.5 33.6114 117.333 33.3336C117.167 33.0002 116.945 32.778 116.667 32.6114C116.389 32.4447 116.056 32.3336 115.667 32.3336C115.278 32.3336 114.945 32.4447 114.667 32.6114C114.389 32.778 114.167 33.0558 114 33.3336C113.833 33.6669 113.778 34.0002 113.778 34.3891C113.778 34.778 113.833 35.1669 114 35.4447C114.167 35.778 114.389 36.0002 114.667 36.1669C114.945 36.3336 115.278 36.4447 115.667 36.4447C116.056 36.4447 116.389 36.3336 116.667 36.1669C116.945 36.0002 117.167 35.7225 117.333 35.4447Z",
|
|
1551
2069
|
fill: "#141414"
|
|
1552
2070
|
}
|
|
1553
2071
|
),
|
|
1554
|
-
/* @__PURE__ */
|
|
2072
|
+
/* @__PURE__ */ jsx15(
|
|
1555
2073
|
"path",
|
|
1556
2074
|
{
|
|
1557
2075
|
d: "M128.056 33.9446V37.2224H127.167V34.0001C127.167 33.4446 127.056 33.0557 126.833 32.7224C126.611 32.4446 126.278 32.2779 125.833 32.2779C125.389 32.2779 125 32.4446 124.722 32.7779C124.445 33.1112 124.333 33.5557 124.333 34.1668V37.2224H123.445V34.0001C123.445 33.4446 123.333 33.0557 123.111 32.7224C122.889 32.4446 122.556 32.2779 122.111 32.2779C121.667 32.2779 121.278 32.4446 121 32.7779C120.722 33.1112 120.611 33.6112 120.611 34.1668V37.1668H119.722V31.5001H120.5L120.611 32.2779C121 31.7224 121.556 31.4446 122.278 31.4446C123 31.4446 123.056 31.5557 123.389 31.7224C123.722 31.889 123.945 32.1668 124.111 32.5557C124.5 31.8335 125.167 31.5001 126.056 31.5001C126.945 31.5001 127.222 31.7224 127.611 32.1112C128 32.5001 128.222 33.1112 128.222 34.0001L128.056 33.9446Z",
|
|
1558
2076
|
fill: "#141414"
|
|
1559
2077
|
}
|
|
1560
2078
|
),
|
|
1561
|
-
/* @__PURE__ */
|
|
2079
|
+
/* @__PURE__ */ jsx15(
|
|
1562
2080
|
"path",
|
|
1563
2081
|
{
|
|
1564
2082
|
d: "M134.556 29.4446H135.722L138.667 37.2224H137.611L136.778 35.1112H133.389L132.556 37.2224H131.556L134.5 29.4446H134.556ZM136.556 34.2224L135.167 30.5001L133.778 34.2224H136.611H136.556Z",
|
|
1565
2083
|
fill: "#141414"
|
|
1566
2084
|
}
|
|
1567
2085
|
),
|
|
1568
|
-
/* @__PURE__ */
|
|
2086
|
+
/* @__PURE__ */ jsx15(
|
|
1569
2087
|
"path",
|
|
1570
2088
|
{
|
|
1571
2089
|
d: "M144.111 37.2223H143.333L143.222 36.4446C142.778 37.0001 142.167 37.2779 141.389 37.2779C140.611 37.2779 140.167 37.0557 139.778 36.6668C139.389 36.2779 139.167 35.6112 139.167 34.7223V31.5557H140.056V34.6668C140.056 35.2779 140.167 35.7223 140.445 36.0001C140.722 36.3334 141.056 36.4446 141.556 36.4446C142.056 36.4446 142.5 36.2779 142.778 35.889C143.056 35.5001 143.222 35.0001 143.222 34.389V31.5557H144.111V37.2223Z",
|
|
1572
2090
|
fill: "#141414"
|
|
1573
2091
|
}
|
|
1574
2092
|
),
|
|
1575
|
-
/* @__PURE__ */
|
|
2093
|
+
/* @__PURE__ */ jsx15(
|
|
1576
2094
|
"path",
|
|
1577
2095
|
{
|
|
1578
2096
|
d: "M144.722 32.389V31.5557H145.722V29.9446H146.611V31.5557H148.056V32.389H146.611V35.7224C146.611 35.9446 146.611 36.1112 146.722 36.2224C146.833 36.3335 147 36.389 147.222 36.389H148.222V37.2224H147.167C146.611 37.2224 146.278 37.1112 146 36.889C145.778 36.6668 145.667 36.2779 145.667 35.7779V32.4446H144.667L144.722 32.389Z",
|
|
1579
2097
|
fill: "#141414"
|
|
1580
2098
|
}
|
|
1581
2099
|
),
|
|
1582
|
-
/* @__PURE__ */
|
|
2100
|
+
/* @__PURE__ */ jsx15(
|
|
1583
2101
|
"path",
|
|
1584
2102
|
{
|
|
1585
2103
|
d: "M154 34.0557V37.2224H153.111V34.1112C153.111 33.5001 153 33.0557 152.722 32.7779C152.445 32.4446 152.056 32.3335 151.556 32.3335C151.056 32.3335 150.611 32.5001 150.333 32.889C150 33.2779 149.889 33.7779 149.889 34.389V37.2224H149V29.4446H149.889V32.5001C150.056 32.2224 150.333 31.9446 150.611 31.7779C150.945 31.6112 151.278 31.5001 151.722 31.5001C152.389 31.5001 152.945 31.7224 153.389 32.1112C153.833 32.5001 154 33.1668 154 34.0557Z",
|
|
1586
2104
|
fill: "#141414"
|
|
1587
2105
|
}
|
|
1588
2106
|
),
|
|
1589
|
-
/* @__PURE__ */
|
|
2107
|
+
/* @__PURE__ */ jsx15(
|
|
1590
2108
|
"path",
|
|
1591
2109
|
{
|
|
1592
2110
|
d: "M155.333 35.8891C155.111 35.4447 155 34.9447 155 34.3891C155 33.8336 155.111 33.3336 155.333 32.8891C155.556 32.4447 155.889 32.1114 156.333 31.8891C156.778 31.6669 157.222 31.5002 157.778 31.5002C158.333 31.5002 158.833 31.6114 159.222 31.8891C159.667 32.1114 160 32.5002 160.222 32.8891C160.445 33.3336 160.556 33.8336 160.556 34.3891C160.556 34.9447 160.445 35.4447 160.222 35.8891C160 36.3336 159.667 36.6669 159.222 36.8891C158.778 37.1114 158.333 37.278 157.778 37.278C157.222 37.278 156.722 37.1669 156.333 36.8891C155.945 36.6114 155.556 36.278 155.333 35.8891ZM159.445 35.4447C159.611 35.1114 159.667 34.778 159.667 34.3891C159.667 34.0002 159.611 33.6114 159.445 33.3336C159.278 33.0002 159.056 32.778 158.778 32.6114C158.5 32.4447 158.167 32.3336 157.778 32.3336C157.389 32.3336 157.056 32.4447 156.778 32.6114C156.5 32.778 156.278 33.0558 156.111 33.3336C155.945 33.6669 155.889 34.0002 155.889 34.3891C155.889 34.778 155.945 35.1669 156.111 35.4447C156.278 35.778 156.5 36.0002 156.778 36.1669C157.056 36.3336 157.389 36.4447 157.778 36.4447C158.167 36.4447 158.5 36.3336 158.778 36.1669C159.056 36.0002 159.278 35.7225 159.445 35.4447Z",
|
|
1593
2111
|
fill: "#141414"
|
|
1594
2112
|
}
|
|
1595
2113
|
),
|
|
1596
|
-
/* @__PURE__ */
|
|
2114
|
+
/* @__PURE__ */ jsx15(
|
|
1597
2115
|
"path",
|
|
1598
2116
|
{
|
|
1599
2117
|
d: "M164.5 32.4446H164.056C163.5 32.4446 163.111 32.6112 162.889 33.0001C162.667 33.389 162.556 33.8334 162.556 34.3334V37.2223H161.667V31.5557H162.445L162.556 32.389C162.722 32.1112 162.945 31.9446 163.167 31.7779C163.445 31.6112 163.778 31.5557 164.222 31.5557H164.5V32.4446Z",
|
|
1600
2118
|
fill: "#141414"
|
|
1601
2119
|
}
|
|
1602
2120
|
),
|
|
1603
|
-
/* @__PURE__ */
|
|
2121
|
+
/* @__PURE__ */ jsx15(
|
|
1604
2122
|
"path",
|
|
1605
2123
|
{
|
|
1606
2124
|
d: "M166.389 29.9446C166.389 30.1113 166.333 30.2779 166.222 30.3891C166.111 30.5002 165.945 30.5557 165.778 30.5557C165.611 30.5557 165.445 30.5002 165.333 30.3891C165.222 30.2779 165.167 30.1113 165.167 29.9446C165.167 29.7779 165.222 29.6113 165.333 29.5002C165.445 29.3891 165.611 29.3335 165.778 29.3335C165.945 29.3335 166.111 29.3891 166.222 29.5002C166.333 29.6113 166.389 29.7779 166.389 29.9446ZM166.278 31.5557V37.2224H165.389V31.5557H166.278Z",
|
|
1607
2125
|
fill: "#141414"
|
|
1608
2126
|
}
|
|
1609
2127
|
),
|
|
1610
|
-
/* @__PURE__ */
|
|
2128
|
+
/* @__PURE__ */ jsx15(
|
|
1611
2129
|
"path",
|
|
1612
2130
|
{
|
|
1613
2131
|
d: "M166.833 32.389V31.5557H167.833V29.9446H168.722V31.5557H170.167V32.389H168.722V35.7224C168.722 35.9446 168.722 36.1112 168.833 36.2224C168.944 36.3335 169.111 36.389 169.333 36.389H170.333V37.2224H169.278C168.722 37.2224 168.389 37.1112 168.111 36.889C167.889 36.6668 167.778 36.2779 167.778 35.7779V32.4446H166.778L166.833 32.389Z",
|
|
1614
2132
|
fill: "#141414"
|
|
1615
2133
|
}
|
|
1616
2134
|
),
|
|
1617
|
-
/* @__PURE__ */
|
|
2135
|
+
/* @__PURE__ */ jsx15(
|
|
1618
2136
|
"path",
|
|
1619
2137
|
{
|
|
1620
2138
|
d: "M173.167 36.1668L174.833 31.5557H175.778L173.167 38.1668C173.056 38.5001 172.889 38.7779 172.833 38.9446C172.778 39.1112 172.611 39.2223 172.445 39.3334C172.278 39.389 172.056 39.4446 171.833 39.4446H170.722V38.6112H171.556C171.722 38.6112 171.889 38.6112 171.945 38.5557C172 38.5001 172.111 38.4446 172.167 38.389C172.167 38.2779 172.278 38.1668 172.389 37.9446L172.667 37.2779L170.445 31.5557H171.389L173.111 36.1668H173.167Z",
|
|
@@ -1624,7 +2142,7 @@ var Logo_en = () => /* @__PURE__ */ jsxs10("svg", { width: "189.0", height: "46.
|
|
|
1624
2142
|
] });
|
|
1625
2143
|
|
|
1626
2144
|
// src/NewTextComponentStandard/HeaderStandard/HeaderStandard.tsx
|
|
1627
|
-
import { jsx as
|
|
2145
|
+
import { jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1628
2146
|
var Header = ({
|
|
1629
2147
|
activatedLanguage = "sv",
|
|
1630
2148
|
useLanguage = true,
|
|
@@ -1643,26 +2161,26 @@ var Header = ({
|
|
|
1643
2161
|
if (activatedLanguage === "sv") return "English";
|
|
1644
2162
|
else return "Svenska";
|
|
1645
2163
|
};
|
|
1646
|
-
return /* @__PURE__ */
|
|
1647
|
-
/* @__PURE__ */
|
|
2164
|
+
return /* @__PURE__ */ jsxs15("header", { className: "pts-header-container", children: [
|
|
2165
|
+
/* @__PURE__ */ jsx16(
|
|
1648
2166
|
"a",
|
|
1649
2167
|
{
|
|
1650
2168
|
className: "pts-header-logo",
|
|
1651
2169
|
href: logoLink,
|
|
1652
2170
|
target: "_blank",
|
|
1653
2171
|
"aria-label": activatedLanguage === "en" ? "PTS logotype (to the homepage on pts.se, opens in new tab)" : "PTS logotyp (till startsidan p\xE5 pts.se, \xF6ppnas i ny flik)",
|
|
1654
|
-
children: activatedLanguage === "en" ? /* @__PURE__ */
|
|
2172
|
+
children: activatedLanguage === "en" ? /* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx16(Logo_en, {}) }) : /* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx16(Logo_sv, {}) })
|
|
1655
2173
|
}
|
|
1656
2174
|
),
|
|
1657
|
-
useLanguage && /* @__PURE__ */
|
|
2175
|
+
useLanguage && /* @__PURE__ */ jsxs15(
|
|
1658
2176
|
"button",
|
|
1659
2177
|
{
|
|
1660
2178
|
"aria-label": activatedLanguage === "en" ? "Change language to Svenska" : "\xC4ndra spr\xE5k till English",
|
|
1661
2179
|
className: "pts-languageButton",
|
|
1662
2180
|
onClick: handleLanguageClick,
|
|
1663
2181
|
children: [
|
|
1664
|
-
/* @__PURE__ */
|
|
1665
|
-
/* @__PURE__ */
|
|
2182
|
+
/* @__PURE__ */ jsx16("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx16(LanguageIcon, {}) }),
|
|
2183
|
+
/* @__PURE__ */ jsx16("span", { className: "pts-languageButton", children: getLanguageLabel() })
|
|
1666
2184
|
]
|
|
1667
2185
|
}
|
|
1668
2186
|
)
|
|
@@ -1671,9 +2189,9 @@ var Header = ({
|
|
|
1671
2189
|
var HeaderStandard_default = Header;
|
|
1672
2190
|
|
|
1673
2191
|
// src/NewTextComponentStandard/InfoOnlyStandard/InfoOnlyStandard.tsx
|
|
1674
|
-
import { useEffect as
|
|
2192
|
+
import { useEffect as useEffect5 } from "react";
|
|
1675
2193
|
import DOMPurify4 from "dompurify";
|
|
1676
|
-
import { Fragment as
|
|
2194
|
+
import { Fragment as Fragment13, jsx as jsx17, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1677
2195
|
var cleanText = (text) => DOMPurify4.sanitize(text, { ADD_ATTR: ["target", "class"] });
|
|
1678
2196
|
var InfoOnly = ({
|
|
1679
2197
|
questionObject,
|
|
@@ -1685,7 +2203,7 @@ var InfoOnly = ({
|
|
|
1685
2203
|
tabIndex = -1,
|
|
1686
2204
|
activatedLanguage = "sv"
|
|
1687
2205
|
}) => {
|
|
1688
|
-
|
|
2206
|
+
useEffect5(() => {
|
|
1689
2207
|
handleSeenText(questionObject);
|
|
1690
2208
|
}, []);
|
|
1691
2209
|
const handleSeenText = (questionObject2) => {
|
|
@@ -1693,8 +2211,8 @@ var InfoOnly = ({
|
|
|
1693
2211
|
const e = { target: { value: questionObject2.questionLabel + avoidBugInRedux } };
|
|
1694
2212
|
isTouched(e, questionObject2);
|
|
1695
2213
|
};
|
|
1696
|
-
return /* @__PURE__ */
|
|
1697
|
-
showConfigure && visible && /* @__PURE__ */
|
|
2214
|
+
return /* @__PURE__ */ jsxs16(Fragment13, { children: [
|
|
2215
|
+
showConfigure && visible && /* @__PURE__ */ jsx17("div", { className: "pts-infoOnly-container", children: /* @__PURE__ */ jsx17("div", { className: "InfoOnlyText", tabIndex, children: questionObject.questionLabel && /* @__PURE__ */ jsx17(
|
|
1698
2216
|
"p",
|
|
1699
2217
|
{
|
|
1700
2218
|
dangerouslySetInnerHTML: {
|
|
@@ -1702,12 +2220,12 @@ var InfoOnly = ({
|
|
|
1702
2220
|
}
|
|
1703
2221
|
}
|
|
1704
2222
|
) }) }),
|
|
1705
|
-
showPreview && /* @__PURE__ */
|
|
2223
|
+
showPreview && /* @__PURE__ */ jsx17(PreviewInfoOnly, { questionObject })
|
|
1706
2224
|
] });
|
|
1707
2225
|
};
|
|
1708
2226
|
var InfoOnlyStandard_default = InfoOnly;
|
|
1709
2227
|
var PreviewInfoOnly = ({ questionObject }) => {
|
|
1710
|
-
return /* @__PURE__ */
|
|
2228
|
+
return /* @__PURE__ */ jsx17(Fragment13, { children: questionObject.answer && /* @__PURE__ */ jsx17("div", { className: "pts-infoOnly-preview", children: /* @__PURE__ */ jsx17("div", { className: "InfoOnlyText", children: /* @__PURE__ */ jsx17(
|
|
1711
2229
|
"p",
|
|
1712
2230
|
{
|
|
1713
2231
|
dangerouslySetInnerHTML: {
|
|
@@ -1718,7 +2236,7 @@ var PreviewInfoOnly = ({ questionObject }) => {
|
|
|
1718
2236
|
};
|
|
1719
2237
|
|
|
1720
2238
|
// src/NewTextComponentStandard/ModalStandard/ModalStandard.tsx
|
|
1721
|
-
import { jsx as
|
|
2239
|
+
import { jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1722
2240
|
var CONTENT = {
|
|
1723
2241
|
en: {
|
|
1724
2242
|
heading: "Please wait",
|
|
@@ -1732,13 +2250,13 @@ var CONTENT = {
|
|
|
1732
2250
|
var Modal = ({ showModal: isOpen, activatedLanguage = "" }) => {
|
|
1733
2251
|
const currentContent = activatedLanguage === "en" ? CONTENT.en : CONTENT.sv;
|
|
1734
2252
|
if (!isOpen) return null;
|
|
1735
|
-
return /* @__PURE__ */
|
|
1736
|
-
/* @__PURE__ */
|
|
1737
|
-
/* @__PURE__ */
|
|
1738
|
-
/* @__PURE__ */
|
|
1739
|
-
/* @__PURE__ */
|
|
2253
|
+
return /* @__PURE__ */ jsxs17("div", { className: "pts-modal-overlay", children: [
|
|
2254
|
+
/* @__PURE__ */ jsxs17("div", { "aria-hidden": true, className: "pts-modal-content", children: [
|
|
2255
|
+
/* @__PURE__ */ jsx18("h1", { children: currentContent.heading }),
|
|
2256
|
+
/* @__PURE__ */ jsx18("p", { children: currentContent.message }),
|
|
2257
|
+
/* @__PURE__ */ jsx18("div", { className: "pts-spinner-border" })
|
|
1740
2258
|
] }),
|
|
1741
|
-
/* @__PURE__ */
|
|
2259
|
+
/* @__PURE__ */ jsx18("span", { "aria-live": "assertive", className: "visually-hidden", children: "Skickar in... V\xE4nligen v\xE4nta." })
|
|
1742
2260
|
] });
|
|
1743
2261
|
};
|
|
1744
2262
|
var ModalStandard_default = Modal;
|
|
@@ -1746,84 +2264,47 @@ var ModalStandard_default = Modal;
|
|
|
1746
2264
|
// src/NewTextComponentStandard/TextHeadlineAndBodyStandard/TextHeadlineAndBodyStandard.tsx
|
|
1747
2265
|
import { createElement } from "react";
|
|
1748
2266
|
import DOMPurify5 from "dompurify";
|
|
1749
|
-
import { jsx as
|
|
2267
|
+
import { jsx as jsx19, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1750
2268
|
var TextHeadlineAndBody = ({ data, headlineType = "h2" }) => {
|
|
1751
|
-
return /* @__PURE__ */
|
|
1752
|
-
|
|
1753
|
-
{
|
|
1754
|
-
|
|
1755
|
-
"
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
height: "10",
|
|
1774
|
-
viewBox: "0 0 12 10",
|
|
1775
|
-
fill: "none",
|
|
1776
|
-
children: /* @__PURE__ */ jsx14(
|
|
1777
|
-
"path",
|
|
1778
|
-
{
|
|
1779
|
-
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
1780
|
-
fill: "#ffffff"
|
|
1781
|
-
}
|
|
1782
|
-
)
|
|
1783
|
-
}
|
|
1784
|
-
) }),
|
|
1785
|
-
link.title
|
|
1786
|
-
]
|
|
1787
|
-
}
|
|
1788
|
-
) }, `more-info-${index}`)) }),
|
|
1789
|
-
data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs14(
|
|
1790
|
-
"a",
|
|
1791
|
-
{
|
|
1792
|
-
href: data.linksForMoreInfo[0].url,
|
|
1793
|
-
target: "_blank",
|
|
1794
|
-
rel: "noopener noreferrer",
|
|
1795
|
-
"aria-label": data.linksForMoreInfo[0].ariaLabel,
|
|
1796
|
-
children: [
|
|
1797
|
-
/* @__PURE__ */ jsx14("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx14(
|
|
1798
|
-
"svg",
|
|
2269
|
+
return /* @__PURE__ */ jsxs18("section", { className: "pts-textHeadlineAndBody-container", children: [
|
|
2270
|
+
data.headline && createElement(headlineType, {}, data.headline),
|
|
2271
|
+
data.body && /* @__PURE__ */ jsx19("div", { dangerouslySetInnerHTML: { __html: DOMPurify5.sanitize(data.body) } }),
|
|
2272
|
+
data.linksForMoreInfo && data.linksForMoreInfo.length > 0 && /* @__PURE__ */ jsx19("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((link, index) => /* @__PURE__ */ jsx19("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs18(
|
|
2273
|
+
"a",
|
|
2274
|
+
{
|
|
2275
|
+
href: link.url,
|
|
2276
|
+
target: "_blank",
|
|
2277
|
+
rel: "noopener noreferrer",
|
|
2278
|
+
"aria-label": link.ariaLabel,
|
|
2279
|
+
children: [
|
|
2280
|
+
/* @__PURE__ */ jsx19("span", { className: "MoreInfoIcon", children: /* @__PURE__ */ jsx19(
|
|
2281
|
+
"svg",
|
|
2282
|
+
{
|
|
2283
|
+
"aria-hidden": "true",
|
|
2284
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2285
|
+
width: "12",
|
|
2286
|
+
height: "10",
|
|
2287
|
+
viewBox: "0 0 12 10",
|
|
2288
|
+
fill: "none",
|
|
2289
|
+
children: /* @__PURE__ */ jsx19(
|
|
2290
|
+
"path",
|
|
1799
2291
|
{
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
width: "12",
|
|
1803
|
-
height: "10",
|
|
1804
|
-
viewBox: "0 0 12 10",
|
|
1805
|
-
fill: "none",
|
|
1806
|
-
children: /* @__PURE__ */ jsx14(
|
|
1807
|
-
"path",
|
|
1808
|
-
{
|
|
1809
|
-
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
1810
|
-
fill: "#ffffff"
|
|
1811
|
-
}
|
|
1812
|
-
)
|
|
2292
|
+
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
2293
|
+
fill: "#ffffff"
|
|
1813
2294
|
}
|
|
1814
|
-
)
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
}
|
|
1821
|
-
);
|
|
2295
|
+
)
|
|
2296
|
+
}
|
|
2297
|
+
) }),
|
|
2298
|
+
link.title
|
|
2299
|
+
]
|
|
2300
|
+
}
|
|
2301
|
+
) }, `more-info-${index}`)) })
|
|
2302
|
+
] });
|
|
1822
2303
|
};
|
|
1823
2304
|
var TextHeadlineAndBodyStandard_default = TextHeadlineAndBody;
|
|
1824
2305
|
|
|
1825
2306
|
// src/NewTextComponentStandard/PrincipleOfPublicityStandard/PrincipleOfPublicityStandard.tsx
|
|
1826
|
-
import { jsx as
|
|
2307
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1827
2308
|
var CONTENT2 = {
|
|
1828
2309
|
en: {
|
|
1829
2310
|
headline: "The principle of publicity and processing of personal data",
|
|
@@ -1858,7 +2339,7 @@ var CONTENT2 = {
|
|
|
1858
2339
|
};
|
|
1859
2340
|
var PrincipleOfPublicity = ({ activatedLanguage = "" }) => {
|
|
1860
2341
|
const currentContent = activatedLanguage === "en" ? CONTENT2.en : CONTENT2.sv;
|
|
1861
|
-
return /* @__PURE__ */
|
|
2342
|
+
return /* @__PURE__ */ jsx20(
|
|
1862
2343
|
TextHeadlineAndBodyStandard_default,
|
|
1863
2344
|
{
|
|
1864
2345
|
data: {
|
|
@@ -1878,13 +2359,13 @@ var PrincipleOfPublicityStandard_default = PrincipleOfPublicity;
|
|
|
1878
2359
|
|
|
1879
2360
|
// src/NewTextComponentStandard/ServiceHeadlineAndBodyStandard/ServiceHeadlineAndBodyStandard.tsx
|
|
1880
2361
|
import DOMPurify6 from "dompurify";
|
|
1881
|
-
import { jsx as
|
|
2362
|
+
import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1882
2363
|
var ServiceHeadlineAndBody = ({ data, activeStep = 1 }) => {
|
|
1883
|
-
return /* @__PURE__ */
|
|
1884
|
-
data.mainHeadline && /* @__PURE__ */
|
|
1885
|
-
activeStep === 1 && data.ingressBody && /* @__PURE__ */
|
|
1886
|
-
activeStep === 1 && data.linksForMoreInfo && data.linksForMoreInfo.length >
|
|
1887
|
-
/* @__PURE__ */
|
|
2364
|
+
return /* @__PURE__ */ jsxs19("div", { className: "pts-serviceHeadlineAndBody-container", children: [
|
|
2365
|
+
data.mainHeadline && /* @__PURE__ */ jsx21("h1", { id: "pts-main-service-headline", children: data.mainHeadline }),
|
|
2366
|
+
activeStep === 1 && data.ingressBody && /* @__PURE__ */ jsx21("div", { dangerouslySetInnerHTML: { __html: DOMPurify6.sanitize(data.ingressBody) } }),
|
|
2367
|
+
activeStep === 1 && data.linksForMoreInfo && data.linksForMoreInfo.length > 0 && /* @__PURE__ */ jsx21("ul", { className: "pts-moreinfo-list", children: data.linksForMoreInfo.map((moreInfo, index) => /* @__PURE__ */ jsx21("li", { className: index > 0 ? "notFirstInList" : "", children: /* @__PURE__ */ jsxs19("a", { href: moreInfo.url, target: "_blank", rel: "noopener noreferrer", children: [
|
|
2368
|
+
/* @__PURE__ */ jsx21(
|
|
1888
2369
|
"svg",
|
|
1889
2370
|
{
|
|
1890
2371
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1893,7 +2374,7 @@ var ServiceHeadlineAndBody = ({ data, activeStep = 1 }) => {
|
|
|
1893
2374
|
viewBox: "0 0 12 10",
|
|
1894
2375
|
fill: "none",
|
|
1895
2376
|
"aria-hidden": "true",
|
|
1896
|
-
children: /* @__PURE__ */
|
|
2377
|
+
children: /* @__PURE__ */ jsx21(
|
|
1897
2378
|
"path",
|
|
1898
2379
|
{
|
|
1899
2380
|
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
@@ -1902,42 +2383,21 @@ var ServiceHeadlineAndBody = ({ data, activeStep = 1 }) => {
|
|
|
1902
2383
|
)
|
|
1903
2384
|
}
|
|
1904
2385
|
),
|
|
1905
|
-
/* @__PURE__ */
|
|
1906
|
-
] }) }, moreInfo.title + index)) })
|
|
1907
|
-
activeStep === 1 && data.linksForMoreInfo && data.linksForMoreInfo.length === 1 && /* @__PURE__ */ jsxs15("a", { href: data.linksForMoreInfo[0].url, target: "_blank", rel: "noopener noreferrer", children: [
|
|
1908
|
-
/* @__PURE__ */ jsx16(
|
|
1909
|
-
"svg",
|
|
1910
|
-
{
|
|
1911
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1912
|
-
width: "12",
|
|
1913
|
-
height: "10",
|
|
1914
|
-
viewBox: "0 0 12 10",
|
|
1915
|
-
fill: "none",
|
|
1916
|
-
"aria-hidden": "true",
|
|
1917
|
-
children: /* @__PURE__ */ jsx16(
|
|
1918
|
-
"path",
|
|
1919
|
-
{
|
|
1920
|
-
d: "M6.00001 9.63253L5.10321 8.82184L8.62749 5.57905H0.965332V4.42091H8.62749L5.10321 1.17813L6.00001 0.367432L11.0347 4.99998L6.00001 9.63253Z",
|
|
1921
|
-
fill: "#ffffff"
|
|
1922
|
-
}
|
|
1923
|
-
)
|
|
1924
|
-
}
|
|
1925
|
-
),
|
|
1926
|
-
/* @__PURE__ */ jsx16("span", { className: "pts-moreinfo-link-text", children: data.linksForMoreInfo[0].title })
|
|
1927
|
-
] })
|
|
2386
|
+
/* @__PURE__ */ jsx21("span", { className: "pts-moreinfo-link-text", children: moreInfo.title })
|
|
2387
|
+
] }) }, moreInfo.title + index)) })
|
|
1928
2388
|
] });
|
|
1929
2389
|
};
|
|
1930
2390
|
var ServiceHeadlineAndBodyStandard_default = ServiceHeadlineAndBody;
|
|
1931
2391
|
|
|
1932
2392
|
// src/NewTextComponentStandard/SkipLinkStandard/SkipLinkStandard.tsx
|
|
1933
|
-
import { jsx as
|
|
2393
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
1934
2394
|
var SkipLink = () => {
|
|
1935
|
-
return /* @__PURE__ */
|
|
2395
|
+
return /* @__PURE__ */ jsx22("div", { className: "pts-skipLink-container", children: /* @__PURE__ */ jsx22("a", { href: "#main-content", children: "Till huvudinneh\xE5ll" }) });
|
|
1936
2396
|
};
|
|
1937
2397
|
var SkipLinkStandard_default = SkipLink;
|
|
1938
2398
|
|
|
1939
2399
|
// src/NewTextComponentStandard/StepperButtonsStandard/StepperButtonsStandard.tsx
|
|
1940
|
-
import { jsx as
|
|
2400
|
+
import { jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1941
2401
|
var StepperButtons = ({
|
|
1942
2402
|
languageSupported,
|
|
1943
2403
|
handleActiveStep,
|
|
@@ -1947,8 +2407,8 @@ var StepperButtons = ({
|
|
|
1947
2407
|
activeStep
|
|
1948
2408
|
}) => {
|
|
1949
2409
|
const totalSteps = arraySteps ? arraySteps.length : "";
|
|
1950
|
-
return /* @__PURE__ */
|
|
1951
|
-
activeStep !== 0 && /* @__PURE__ */
|
|
2410
|
+
return /* @__PURE__ */ jsxs20("div", { className: "pts-stepperButtons-container", children: [
|
|
2411
|
+
activeStep !== 0 && /* @__PURE__ */ jsx23(
|
|
1952
2412
|
"button",
|
|
1953
2413
|
{
|
|
1954
2414
|
onClick: () => handleActiveStep(activeStep - 1),
|
|
@@ -1957,7 +2417,7 @@ var StepperButtons = ({
|
|
|
1957
2417
|
children: languageSupported ? languageSupported.backButton : "<<"
|
|
1958
2418
|
}
|
|
1959
2419
|
),
|
|
1960
|
-
/* @__PURE__ */
|
|
2420
|
+
/* @__PURE__ */ jsxs20(
|
|
1961
2421
|
"button",
|
|
1962
2422
|
{
|
|
1963
2423
|
type: activeStep === totalSteps ? "submit" : "button",
|
|
@@ -1974,20 +2434,20 @@ var StepperButtons = ({
|
|
|
1974
2434
|
var StepperButtonsStandard_default = StepperButtons;
|
|
1975
2435
|
|
|
1976
2436
|
// src/NewTextComponentStandard/StepperStandard/StepperStandard.tsx
|
|
1977
|
-
import
|
|
1978
|
-
import { jsx as
|
|
2437
|
+
import React9 from "react";
|
|
2438
|
+
import { jsx as jsx24, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1979
2439
|
var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
1980
|
-
return /* @__PURE__ */
|
|
2440
|
+
return /* @__PURE__ */ jsx24("div", { className: "pts-stepper-container", "aria-hidden": "true", children: arraySteps.map((step, index) => {
|
|
1981
2441
|
const isActive = step.step === activeStep;
|
|
1982
2442
|
const lastElement = arraySteps.length;
|
|
1983
2443
|
const isDone = step.step < activeStep;
|
|
1984
|
-
return /* @__PURE__ */
|
|
1985
|
-
/* @__PURE__ */
|
|
1986
|
-
/* @__PURE__ */
|
|
2444
|
+
return /* @__PURE__ */ jsxs21(React9.Fragment, { children: [
|
|
2445
|
+
/* @__PURE__ */ jsxs21("div", { className: "pts-stepper-step", children: [
|
|
2446
|
+
/* @__PURE__ */ jsx24(
|
|
1987
2447
|
"div",
|
|
1988
2448
|
{
|
|
1989
2449
|
className: "pts-stepperDot" + (isActive ? " pts-stepperDotActive" : "") + (isDone ? " pts-stepperDotDone" : ""),
|
|
1990
|
-
children: isDone ? /* @__PURE__ */
|
|
2450
|
+
children: isDone ? /* @__PURE__ */ jsx24(
|
|
1991
2451
|
"svg",
|
|
1992
2452
|
{
|
|
1993
2453
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1995,7 +2455,7 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
1995
2455
|
height: "12",
|
|
1996
2456
|
viewBox: "0 0 15 12",
|
|
1997
2457
|
fill: "none",
|
|
1998
|
-
children: /* @__PURE__ */
|
|
2458
|
+
children: /* @__PURE__ */ jsx24(
|
|
1999
2459
|
"path",
|
|
2000
2460
|
{
|
|
2001
2461
|
d: "M1.5 5.4375L4.875 10.3125L13.5 1.6875",
|
|
@@ -2008,16 +2468,16 @@ var Stepper = ({ arraySteps = [], activeStep = 1 }) => {
|
|
|
2008
2468
|
) : step.step
|
|
2009
2469
|
}
|
|
2010
2470
|
),
|
|
2011
|
-
/* @__PURE__ */
|
|
2471
|
+
/* @__PURE__ */ jsx24("div", { className: "pts-shortNameInStepper", children: step.shortNameInStepper })
|
|
2012
2472
|
] }, index),
|
|
2013
|
-
step.step !== lastElement && /* @__PURE__ */
|
|
2473
|
+
step.step !== lastElement && /* @__PURE__ */ jsx24("div", { className: "pts-stepperLine" })
|
|
2014
2474
|
] }, `step-${step.step}`);
|
|
2015
2475
|
}) });
|
|
2016
2476
|
};
|
|
2017
2477
|
var StepperStandard_default = Stepper;
|
|
2018
2478
|
|
|
2019
2479
|
// src/NewTextComponentStandard/ValidationErrorSummaryList/ValidationErrorSummaryList.tsx
|
|
2020
|
-
import { Fragment as
|
|
2480
|
+
import { Fragment as Fragment14, jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2021
2481
|
var ValidationErrorSummaryList = ({
|
|
2022
2482
|
validationErrorsList,
|
|
2023
2483
|
formQuestions,
|
|
@@ -2026,24 +2486,6 @@ var ValidationErrorSummaryList = ({
|
|
|
2026
2486
|
}) => {
|
|
2027
2487
|
console.log(formQuestions);
|
|
2028
2488
|
console.log(validationErrorsList);
|
|
2029
|
-
function filterIdsByGroupCheck(ids, questions) {
|
|
2030
|
-
var _a;
|
|
2031
|
-
const tailIds = /* @__PURE__ */ new Set();
|
|
2032
|
-
for (const q of questions) {
|
|
2033
|
-
const rules = (_a = q.validationType) != null ? _a : [];
|
|
2034
|
-
for (const rule of rules) {
|
|
2035
|
-
const m = /^groupCheck-(\d+(?:-\d+)*)$/.exec(rule.trim());
|
|
2036
|
-
if (!m) continue;
|
|
2037
|
-
const nums = m[1].split("-").map((s) => Number(s)).filter((n) => Number.isFinite(n));
|
|
2038
|
-
if (nums.length > 1) {
|
|
2039
|
-
for (let i = 1; i < nums.length; i++) {
|
|
2040
|
-
tailIds.add(nums[i]);
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
return ids.filter((id) => !tailIds.has(id));
|
|
2046
|
-
}
|
|
2047
2489
|
function scrollToQuestion(questionId) {
|
|
2048
2490
|
const container = document.getElementById(`question-${questionId}`);
|
|
2049
2491
|
if (container) {
|
|
@@ -2056,37 +2498,41 @@ var ValidationErrorSummaryList = ({
|
|
|
2056
2498
|
}, 300);
|
|
2057
2499
|
}
|
|
2058
2500
|
}
|
|
2059
|
-
if (!validationErrorsList.length) return /* @__PURE__ */
|
|
2060
|
-
const
|
|
2061
|
-
const count = filteredIds.length;
|
|
2501
|
+
if (!validationErrorsList.length) return /* @__PURE__ */ jsx25(Fragment14, {});
|
|
2502
|
+
const count = validationErrorsList.length;
|
|
2062
2503
|
const title = summaryText.replace("{count}", count.toString()).replace("{plural}", count === 1 ? "sak" : "saker");
|
|
2063
2504
|
function getQuestionLabelById(id) {
|
|
2064
2505
|
const found = formQuestions.find((item) => item.id === id);
|
|
2065
2506
|
return found == null ? void 0 : found.questionLabel;
|
|
2066
2507
|
}
|
|
2067
|
-
return /* @__PURE__ */
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2508
|
+
return /* @__PURE__ */ jsxs22(
|
|
2509
|
+
"div",
|
|
2510
|
+
{
|
|
2511
|
+
id: "pts-form-id-error-summary",
|
|
2512
|
+
className: "pts-errorSummary-container pts-root-error",
|
|
2513
|
+
tabIndex: -1,
|
|
2514
|
+
children: [
|
|
2515
|
+
/* @__PURE__ */ jsx25("span", { "aria-hidden": "true", className: "errorDot", children: "!" }),
|
|
2516
|
+
/* @__PURE__ */ jsxs22("div", { className: "errorSummary-content", children: [
|
|
2517
|
+
/* @__PURE__ */ jsx25("h2", { children: title }),
|
|
2518
|
+
/* @__PURE__ */ jsx25("ul", { children: validationErrorsList.map((questionId, i) => /* @__PURE__ */ jsx25("li", { children: /* @__PURE__ */ jsx25(
|
|
2519
|
+
"a",
|
|
2520
|
+
{
|
|
2521
|
+
href: "#",
|
|
2522
|
+
onClick: (e) => scrollToQuestion(questionId),
|
|
2523
|
+
className: "errorSummary-text",
|
|
2524
|
+
children: getQuestionLabelById(questionId)
|
|
2525
|
+
}
|
|
2526
|
+
) }, questionId || i)) })
|
|
2527
|
+
] })
|
|
2528
|
+
]
|
|
2529
|
+
}
|
|
2530
|
+
);
|
|
2085
2531
|
};
|
|
2086
2532
|
var ValidationErrorSummaryList_default = ValidationErrorSummaryList;
|
|
2087
2533
|
|
|
2088
2534
|
// src/NewTextComponentStandard/CookieBanner/CookieBanner.tsx
|
|
2089
|
-
import { jsx as
|
|
2535
|
+
import { jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2090
2536
|
var CookieBanner = ({
|
|
2091
2537
|
visible = false,
|
|
2092
2538
|
onCookieStateChange,
|
|
@@ -2108,7 +2554,7 @@ var CookieBanner = ({
|
|
|
2108
2554
|
onClose();
|
|
2109
2555
|
}
|
|
2110
2556
|
};
|
|
2111
|
-
return /* @__PURE__ */
|
|
2557
|
+
return /* @__PURE__ */ jsx26(
|
|
2112
2558
|
"div",
|
|
2113
2559
|
{
|
|
2114
2560
|
className: "pts-cookieBanner",
|
|
@@ -2118,11 +2564,11 @@ var CookieBanner = ({
|
|
|
2118
2564
|
"aria-modal": "true",
|
|
2119
2565
|
id: "cookie-banner",
|
|
2120
2566
|
tabIndex: -1,
|
|
2121
|
-
children: /* @__PURE__ */
|
|
2122
|
-
/* @__PURE__ */
|
|
2123
|
-
/* @__PURE__ */
|
|
2124
|
-
/* @__PURE__ */
|
|
2125
|
-
/* @__PURE__ */
|
|
2567
|
+
children: /* @__PURE__ */ jsxs23("div", { className: "content", children: [
|
|
2568
|
+
/* @__PURE__ */ jsx26("h3", { id: "cookie-banner-title", children: "Kakor (cookies)" }),
|
|
2569
|
+
/* @__PURE__ */ jsx26("p", { id: "cookie-banner-description", children: "PTS skulle vilja anv\xE4nda en statistikkaka i syfte att l\xF6pande f\xF6rb\xE4ttra webbplatsen. Samtycker du till det? Du kan n\xE4r som helst \xE4ndra ditt val. F\xF6r att \xE5terkalla ditt samtycke klickar du p\xE5 \u201DKakor\u201D i avsnittet l\xE4ngst ned p\xE5 webbplatsen." }),
|
|
2570
|
+
/* @__PURE__ */ jsxs23("div", { id: "cookie-banner-description", className: "pts-cookieBanner-Links", children: [
|
|
2571
|
+
/* @__PURE__ */ jsxs23(
|
|
2126
2572
|
"svg",
|
|
2127
2573
|
{
|
|
2128
2574
|
width: "27",
|
|
@@ -2132,8 +2578,8 @@ var CookieBanner = ({
|
|
|
2132
2578
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2133
2579
|
"aria-hidden": "true",
|
|
2134
2580
|
children: [
|
|
2135
|
-
/* @__PURE__ */
|
|
2136
|
-
/* @__PURE__ */
|
|
2581
|
+
/* @__PURE__ */ jsx26("rect", { width: "27", height: "27", rx: "13.5", fill: "#6E3282" }),
|
|
2582
|
+
/* @__PURE__ */ jsx26(
|
|
2137
2583
|
"path",
|
|
2138
2584
|
{
|
|
2139
2585
|
d: "M13.5 18.7116L12.4911 17.7995L16.4559 14.1514H7.83594V12.8485H16.4559L12.4911 9.20036L13.5 8.28833L19.164 13.4999L13.5 18.7116Z",
|
|
@@ -2143,11 +2589,11 @@ var CookieBanner = ({
|
|
|
2143
2589
|
]
|
|
2144
2590
|
}
|
|
2145
2591
|
),
|
|
2146
|
-
/* @__PURE__ */
|
|
2592
|
+
/* @__PURE__ */ jsx26("a", { href: "www.pts.se", target: "_blank", rel: "noopener noreferrer", children: "Kakor (cookies) p\xE5 pts.se (\xD6ppnas i nytt f\xF6nster)" })
|
|
2147
2593
|
] }),
|
|
2148
|
-
/* @__PURE__ */
|
|
2149
|
-
/* @__PURE__ */
|
|
2150
|
-
/* @__PURE__ */
|
|
2594
|
+
/* @__PURE__ */ jsxs23("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2595
|
+
/* @__PURE__ */ jsx26("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2596
|
+
/* @__PURE__ */ jsx26("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2151
2597
|
] })
|
|
2152
2598
|
] })
|
|
2153
2599
|
}
|
|
@@ -2155,6 +2601,7 @@ var CookieBanner = ({
|
|
|
2155
2601
|
};
|
|
2156
2602
|
var CookieBanner_default = CookieBanner;
|
|
2157
2603
|
export {
|
|
2604
|
+
AddFilesStandard_default as AddFilesStandard,
|
|
2158
2605
|
CookieBanner_default as CookieBanner,
|
|
2159
2606
|
CreateApiDataObject_default as CreateApiDataObject,
|
|
2160
2607
|
DoCategoriesAndQuestionsVisible_default as DoCategoriesAndQuestionsVisible,
|