@digabi/exam-engine-core 20.4.2 → 21.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/dist/__tests__/annotations.test.d.ts.map +1 -1
  2. package/dist/__tests__/annotations.test.js +109 -68
  3. package/dist/__tests__/annotations.test.js.map +1 -1
  4. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  5. package/dist/components/RenderIf.d.ts.map +1 -1
  6. package/dist/components/attachments/Attachments.d.ts.map +1 -1
  7. package/dist/components/attachments/Attachments.js +7 -9
  8. package/dist/components/attachments/Attachments.js.map +1 -1
  9. package/dist/components/context/AnnotationProvider.d.ts +7 -2
  10. package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
  11. package/dist/components/context/AnnotationProvider.js +29 -3
  12. package/dist/components/context/AnnotationProvider.js.map +1 -1
  13. package/dist/components/context/IsInSidebarContext.d.ts +0 -1
  14. package/dist/components/context/IsInSidebarContext.d.ts.map +1 -1
  15. package/dist/components/context/ResultsContext.d.ts.map +1 -1
  16. package/dist/components/context/ResultsContext.js.map +1 -1
  17. package/dist/components/context/TOCContext.d.ts +0 -1
  18. package/dist/components/context/TOCContext.d.ts.map +1 -1
  19. package/dist/components/context/withContext.d.ts.map +1 -1
  20. package/dist/components/exam/ChoiceAnswer.d.ts.map +1 -1
  21. package/dist/components/exam/ChoiceAnswer.js +16 -14
  22. package/dist/components/exam/ChoiceAnswer.js.map +1 -1
  23. package/dist/components/exam/Exam.d.ts +4 -4
  24. package/dist/components/exam/Exam.d.ts.map +1 -1
  25. package/dist/components/exam/Exam.js +0 -2
  26. package/dist/components/exam/Exam.js.map +1 -1
  27. package/dist/components/exam/RichTextAnswer.d.ts +1 -1
  28. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  29. package/dist/components/exam/TextAnswer.d.ts.map +1 -1
  30. package/dist/components/exam/TextAnswer.js +6 -4
  31. package/dist/components/exam/TextAnswer.js.map +1 -1
  32. package/dist/components/exam/internal/ProgressBar.d.ts.map +1 -1
  33. package/dist/components/exam/internal/ProgressBar.js +1 -0
  34. package/dist/components/exam/internal/ProgressBar.js.map +1 -1
  35. package/dist/components/grading/editAnnotations.d.ts.map +1 -1
  36. package/dist/components/grading/editAnnotations.js +2 -1
  37. package/dist/components/grading/editAnnotations.js.map +1 -1
  38. package/dist/components/grading/examAnnotationUtils.d.ts +0 -1
  39. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  40. package/dist/components/grading/examAnnotationUtils.js +88 -35
  41. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  42. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  43. package/dist/components/grading-instructions/GradingInstructions.js +23 -25
  44. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  45. package/dist/components/shared/AnnotatableText.d.ts +4 -4
  46. package/dist/components/shared/AnnotatableText.d.ts.map +1 -1
  47. package/dist/components/shared/AnnotatableText.js +59 -55
  48. package/dist/components/shared/AnnotatableText.js.map +1 -1
  49. package/dist/components/shared/AnnotationPopup.js +4 -4
  50. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  51. package/dist/components/shared/AnswerIndicator.d.ts +1 -1
  52. package/dist/components/shared/AnswerIndicator.d.ts.map +1 -1
  53. package/dist/components/shared/AnswerIndicator.js +10 -9
  54. package/dist/components/shared/AnswerIndicator.js.map +1 -1
  55. package/dist/components/shared/AnswerLengthInfo.d.ts +1 -1
  56. package/dist/components/shared/AnswerLengthInfo.d.ts.map +1 -1
  57. package/dist/components/shared/AttachmentLink.d.ts +1 -1
  58. package/dist/components/shared/AttachmentLink.d.ts.map +1 -1
  59. package/dist/components/shared/AttachmentLinks.d.ts +1 -1
  60. package/dist/components/shared/AttachmentLinks.d.ts.map +1 -1
  61. package/dist/components/shared/References.d.ts.map +1 -1
  62. package/dist/components/shared/References.js +1 -0
  63. package/dist/components/shared/References.js.map +1 -1
  64. package/dist/components/shared/TOCQuestion.js +1 -1
  65. package/dist/components/shared/TOCQuestion.js.map +1 -1
  66. package/dist/createRenderChildNodes.d.ts.map +1 -1
  67. package/dist/createRenderChildNodes.js +2 -12
  68. package/dist/createRenderChildNodes.js.map +1 -1
  69. package/dist/dom-utils.js +2 -2
  70. package/dist/dom-utils.js.map +1 -1
  71. package/dist/i18n/index.d.ts +1 -2
  72. package/dist/i18n/index.d.ts.map +1 -1
  73. package/dist/i18n/index.js.map +1 -1
  74. package/dist/main-bundle.js +1 -1
  75. package/dist/main.css +1 -1
  76. package/dist/store/answers/reducer.d.ts.map +1 -1
  77. package/dist/store/audio/reducer.d.ts.map +1 -1
  78. package/dist/store/audio/sagas.d.ts.map +1 -1
  79. package/dist/store/audio/sagas.js +3 -1
  80. package/dist/store/audio/sagas.js.map +1 -1
  81. package/dist/store/cas/reducer.d.ts.map +1 -1
  82. package/dist/store/index.d.ts +1 -2
  83. package/dist/store/index.d.ts.map +1 -1
  84. package/dist/store/selectors.d.ts +1 -1
  85. package/dist/types/Score.d.ts +17 -3
  86. package/dist/types/Score.d.ts.map +1 -1
  87. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ExamComponentProps } from '../../createRenderChildNodes';
3
- declare const mkAttachmentLinks: (type: 'link' | 'plain') => React.FunctionComponent<ExamComponentProps>;
3
+ declare const mkAttachmentLinks: (type: "link" | "plain") => React.FunctionComponent<ExamComponentProps>;
4
4
  export default mkAttachmentLinks;
5
5
  //# sourceMappingURL=AttachmentLinks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentLinks.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AttachmentLinks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAOjE,QAAA,MAAM,iBAAiB,SAAU,MAAM,GAAG,OAAO,KAAG,MAAM,iBAAiB,CAAC,kBAAkB,CAmC7F,CAAA;AAgCD,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"AttachmentLinks.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AttachmentLinks.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAOjE,QAAA,MAAM,iBAAiB,SAAU,MAAM,GAAG,OAAO,KAAG,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAmC7F,CAAA;AAgCD,eAAe,iBAAiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"References.d.ts","sourceRoot":"","sources":["../../../src/components/shared/References.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAA0B,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAUzF,iBAAS,UAAU,CAAC,MAAM,EAAE,kBAAkB,4BAuB7C;;AAED,wBAAqC"}
1
+ {"version":3,"file":"References.d.ts","sourceRoot":"","sources":["../../../src/components/shared/References.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAA0B,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAUzF,iBAAS,UAAU,CAAC,MAAM,EAAE,kBAAkB,4BAwB7C;;AAED,wBAAqC"}
@@ -14,6 +14,7 @@ function References(_props) {
14
14
  const internalReferences = queryAll(root, 'reference').filter(reference => queryAncestors(reference, 'external-material') == null);
15
15
  return internalReferences.length > 0 ? (React.createElement(SectionElement, { "aria-labelledby": referencesTitleId },
16
16
  React.createElement("h2", { id: referencesTitleId }, t('references.heading')),
17
+ React.createElement("div", { className: "anchor", id: "references" }),
17
18
  React.createElement("ol", { className: "e-list-data", "data-annotation-anchor": referencesTitleId }, internalReferences.map((reference, i) => {
18
19
  const question = queryAncestors(reference, 'question');
19
20
  const displayNumber = question.getAttribute('display-number');
@@ -1 +1 @@
1
- {"version":3,"file":"References.js","sourceRoot":"","sources":["../../../src/components/shared/References.tsx"],"names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EAAE,CAAC,cAAc,CAAC,SAAS,EAAE,mBAAmB,CAAC,IAAI,IAAI,CACpE,CAAA;IAED,OAAO,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACrC,oBAAC,cAAc,uBAAkB,iBAAiB;QAChD,4BAAI,EAAE,EAAE,iBAAiB,IAAG,CAAC,CAAC,oBAAoB,CAAC,CAAM;QACzD,6BAAK,SAAS,EAAC,QAAQ,EAAC,EAAE,EAAC,YAAY,GAAG;QAC1C,4BAAI,SAAS,EAAC,aAAa,4BAAyB,iBAAiB,IAClE,kBAAkB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE;YACvC,MAAM,QAAQ,GAAG,cAAc,CAAC,SAAS,EAAE,UAAU,CAAE,CAAA;YACvD,MAAM,aAAa,GAAG,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAE,CAAA;YAC9D,OAAO,CACL,gDAAsB,2BAA2B,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,GAAG,aAAa,GAAG,CAAC,EAAE;gBAC3F,oBAAC,SAAS,IAAC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,GAAI,CAClE,CACN,CAAA;QACH,CAAC,CAAC,CACC,CACU,CAClB,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
@@ -43,7 +43,7 @@ export const TOCQuestion = ({ element, renderChildNodes }) => {
43
43
  id,
44
44
  type,
45
45
  error: hasError || (childQuestionHasError && hasAnswer),
46
- displayNumber: Number(subQuestionDisplayNumber)
46
+ displayNumber: subQuestionDisplayNumber
47
47
  });
48
48
  }
49
49
  });
@@ -1 +1 @@
1
- {"version":3,"file":"TOCQuestion.js","sourceRoot":"","sources":["../../../src/components/shared/TOCQuestion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAC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AAA;IACV,QAAQ,IAAA;CACT;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,EAAE,CAAA;AAE/F,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,GACpE,gBAAgB,CAgDlB"}
1
+ {"version":3,"file":"createRenderChildNodes.d.ts","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,gBAAgB,0CAA0C,CAAA;AACvE,eAAO,MAAM,iBAAiB,iCAAiC,CAAA;AAE/D,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kCAAkC;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,2EAA2E;IAC3E,gBAAgB,EAAE,gBAAgB,CAAA;CACnC;AAED,0BAAkB,aAAa;IAC7B,UAAU,IAAA;IACV,QAAQ,IAAA;CACT;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,EAAE,CAAA;AAE/F,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,GACpE,gBAAgB,CAgDlB"}
@@ -1,6 +1,4 @@
1
- import React, { useContext } from 'react';
2
- import { AnnotationContext } from './components/context/AnnotationProvider';
3
- import { IsInSidebarContext } from './components/context/IsInSidebarContext';
1
+ import React from 'react';
4
2
  import { getElementPath, mapChildNodes } from './dom-utils';
5
3
  import { AnnotatableText } from './components/shared/AnnotatableText';
6
4
  export const ExamNamespaceURI = 'http://ylioppilastutkinto.fi/exam.xsd';
@@ -50,15 +48,7 @@ export function createRenderChildNodes(componentMap) {
50
48
  return renderChildNodes;
51
49
  }
52
50
  function renderTextNode(node) {
53
- var _a;
54
- const annotationContextData = useContext(AnnotationContext);
55
- const { isInSidebar } = useContext(IsInSidebarContext);
56
- if ((annotationContextData === null || annotationContextData === void 0 ? void 0 : annotationContextData.annotations) === undefined ||
57
- ((_a = node.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) === 0 ||
58
- isInSidebar !== undefined) {
59
- return node.textContent;
60
- }
61
- return (React.createElement(AnnotatableText, { node: node, annotationContextData: annotationContextData, key: getElementPath(node) }));
51
+ return React.createElement(AnnotatableText, { node: node, key: getElementPath(node) });
62
52
  }
63
53
  function htmlAttributes2props(element, index) {
64
54
  const props = { key: key(element, index) };
@@ -1 +1 @@
1
- {"version":3,"file":"createRenderChildNodes.js","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAA;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAA;AAC5E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAErE,MAAM,CAAC,MAAM,gBAAgB,GAAG,uCAAuC,CAAA;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8BAA8B,CAAA;AAiB/D,MAAM,UAAU,sBAAsB,CACpC,YAAqE;IAErE,SAAS,eAAe,CAAC,IAAe,EAAE,KAAa,EAAE,OAAsB;QAC7E,QAAQ,IAAI,CAAC,QAAQ,EAAE,CAAC;YACtB,KAAK,IAAI,CAAC,SAAS,CAAC;YACpB,KAAK,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBAC7B,OAAO,OAAO,qCAA6B,CAAC,CAAC,CAAC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AC,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,YAAY,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAA;IAC/F,CAAC;IAED,OAAO,gBAAgB,CAAA;AACzB,CAAC;AAED,SAAS,cAAc,CAAC,IAAU;IAChC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,cAAc,CAAC,IAAe,CAAC,GAAI,CAAA;AAC9E,CAAC;AAED,SAAS,oBAAoB,CAAwB,OAAU,EAAE,KAAa;IAC5E,MAAM,KAAK,GAAuB,EAAE,GAAG,EAAE,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,CAAA;IAC9D,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAC,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAE,SAAS,CAAC,SAAsC,CAAA;QAC9G,KAAK,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,KAAK,CAAA;IAC/B,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,GAAG,CAAC,OAAgB,EAAE,KAAa;IAC1C,OAAO,GAAG,OAAO,CAAC,SAAS,IAAI,KAAK,EAAE,CAAA;AACxC,CAAC"}
package/dist/dom-utils.js CHANGED
@@ -147,9 +147,9 @@ export function useIsElementInViewport(elementType, displayNumber) {
147
147
  }
148
148
  export function getElementPath(element) {
149
149
  var _a, _b, _c;
150
- const temp = !element.tagName && Array.from(((_a = element.parentNode) === null || _a === void 0 ? void 0 : _a.childNodes) || []).indexOf(element);
150
+ const index = !element.tagName && Array.from(((_a = element.parentNode) === null || _a === void 0 ? void 0 : _a.childNodes) || []).indexOf(element);
151
151
  const elementIndex = Array.from(((_b = element.parentElement) === null || _b === void 0 ? void 0 : _b.children) || []).indexOf(element);
152
- let path = `${element.nodeName}:${elementIndex > 0 ? elementIndex : temp}`;
152
+ let path = `${element.nodeName}:${elementIndex > 0 ? elementIndex : index}`;
153
153
  let currentElement = element;
154
154
  while (currentElement.parentElement) {
155
155
  currentElement = currentElement.parentElement;
@@ -1 +1 @@
1
- {"version":3,"file":"dom-utils.js","sourceRoot":"","sources":["../src/dom-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAE5D,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAA;AAE5B,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAmB;IAClE,MAAM,SAAS,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IACtE,MAAM,MAAM,GAAG,EAAE,CAAA;IACjB,OAAO,OAAO,CAAC,aAAa,IAAI,IAAI,EAAE,CAAC;QACrC,OAAO,GAAG,OAAO,CAAC,aAAa,CAAA;QAC/B,IAAI,SAAS,IAAI,IAAI,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;YAC5C,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QACtB,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAID,SAAS,WAAW,CAAC,QAAkB;IACrC,OAAO,OAAO,QAAQ,KAAK,UAAU;QACnC,CAAC,CAAC,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,KAAK,gBAAgB,IAAI,QAAQ,CAAC,OAAO,CAAC;QACtF,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YACvB,CAAC,CAAC,C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A;QACnD,IAAI,GAAG,GAAG,SAAS,IAAI,cAAc,CAAC,QAAQ,IAAI,KAAK,MAAM,IAAI,EAAE,CAAA;IACrE,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -4,8 +4,7 @@ declare module 'react-i18next' {
4
4
  type ExamEngineI18nResources = {
5
5
  translation: typeof fi_FI;
6
6
  };
7
- interface Resources extends ExamEngineI18nResources {
8
- }
7
+ type Resources = ExamEngineI18nResources;
9
8
  }
10
9
  export declare function initI18n(language: string, examCode?: string, dayCode?: string): typeof i18n;
11
10
  export declare function useExamTranslation(): {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAuB,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAUxE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAgD/B,OAAO,QAAQ,eAAe,CAAC;IAC7B,KAAK,uBAAuB,GAAG;QAAE,WAAW,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAG5D,UAAU,SAAU,SAAQ,uBAAuB;KAAG;CACvD;AAED,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,IAAI,CAwC3F;AAED,wBAAgB,kBAAkB;;;cAGxB,MAAM,GAAG,MAAM,EAAE,YAAY,QAAQ,GAAG,MAAM,GAAG,WAAW;aAC7D,SAAS;;EAKjB;AAgCD,eAAO,MAAM,cAAc,UAAW,WAAW,YAAY,MAAM,WAAS,IAI3E,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAuB,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAUx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