@semiont/api-client 0.2.28-build.37 → 0.2.28-build.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1138,23 +1138,6 @@ function getTargetSelector(target) {
1138
1138
  function hasTargetSelector(target) {
1139
1139
  return typeof target !== "string" && target.selector !== void 0;
1140
1140
  }
1141
- function getEntityTypes(annotation) {
1142
- if (Array.isArray(annotation.body)) {
1143
- const entityTags = [];
1144
- for (const item of annotation.body) {
1145
- if (typeof item === "object" && item !== null && "type" in item && "value" in item && "purpose" in item) {
1146
- const itemType = item.type;
1147
- const itemValue = item.value;
1148
- const itemPurpose = item.purpose;
1149
- if (itemType === "TextualBody" && itemPurpose === "tagging" && typeof itemValue === "string" && itemValue.length > 0) {
1150
- entityTags.push(itemValue);
1151
- }
1152
- }
1153
- }
1154
- return entityTags;
1155
- }
1156
- return [];
1157
- }
1158
1141
  function isHighlight(annotation) {
1159
1142
  return annotation.motivation === "highlighting";
1160
1143
  }
@@ -1178,24 +1161,6 @@ function getCommentText(annotation) {
1178
1161
  }
1179
1162
  return void 0;
1180
1163
  }
1181
- function getTagCategory(annotation) {
1182
- if (!isTag(annotation)) return void 0;
1183
- const bodies = Array.isArray(annotation.body) ? annotation.body : [annotation.body];
1184
- const taggingBody = bodies.find((b) => b && "purpose" in b && b.purpose === "tagging");
1185
- if (taggingBody && "value" in taggingBody) {
1186
- return taggingBody.value;
1187
- }
1188
- return void 0;
1189
- }
1190
- function getTagSchemaId(annotation) {
1191
- if (!isTag(annotation)) return void 0;
1192
- const bodies = Array.isArray(annotation.body) ? annotation.body : [annotation.body];
1193
- const classifyingBody = bodies.find((b) => b && "purpose" in b && b.purpose === "classifying");
1194
- if (classifyingBody && "value" in classifyingBody) {
1195
- return classifyingBody.value;
1196
- }
1197
- return void 0;
1198
- }
1199
1164
  function isStubReference(annotation) {
1200
1165
  return isReference(annotation) && !isBodyResolved(annotation.body);
1201
1166
  }
@@ -1537,6 +1502,60 @@ function getResourceCreationDetails(event) {
1537
1502
  return null;
1538
1503
  }
1539
1504
 
1505
+ // src/utils/fuzzy-anchor.ts
1506
+ function findTextWithContext(content, exact, prefix, suffix) {
1507
+ if (!exact) return null;
1508
+ const occurrences = [];
1509
+ let index = content.indexOf(exact);
1510
+ while (index !== -1) {
1511
+ occurrences.push(index);
1512
+ index = content.indexOf(exact, index + 1);
1513
+ }
1514
+ if (occurrences.length === 0) {
1515
+ console.warn(`[FuzzyAnchor] Text not found: "${exact.substring(0, 50)}..."`);
1516
+ return null;
1517
+ }
1518
+ if (occurrences.length === 1) {
1519
+ const pos2 = occurrences[0];
1520
+ return { start: pos2, end: pos2 + exact.length };
1521
+ }
1522
+ if (prefix || suffix) {
1523
+ for (const pos2 of occurrences) {
1524
+ const actualPrefixStart = Math.max(0, pos2 - (prefix?.length || 0));
1525
+ const actualPrefix = content.substring(actualPrefixStart, pos2);
1526
+ const actualSuffixEnd = Math.min(content.length, pos2 + exact.length + (suffix?.length || 0));
1527
+ const actualSuffix = content.substring(pos2 + exact.length, actualSuffixEnd);
1528
+ const prefixMatch = !prefix || actualPrefix.endsWith(prefix);
1529
+ const suffixMatch = !suffix || actualSuffix.startsWith(suffix);
1530
+ if (prefixMatch && suffixMatch) {
1531
+ return { start: pos2, end: pos2 + exact.length };
1532
+ }
1533
+ }
1534
+ console.warn(
1535
+ `[FuzzyAnchor] Multiple matches found but none match prefix/suffix exactly. Exact: "${exact.substring(0, 30)}...", Prefix: "${prefix?.substring(0, 20) || "none"}", Suffix: "${suffix?.substring(0, 20) || "none"}"`
1536
+ );
1537
+ for (const pos2 of occurrences) {
1538
+ const actualPrefix = content.substring(Math.max(0, pos2 - (prefix?.length || 0)), pos2);
1539
+ const actualSuffix = content.substring(pos2 + exact.length, pos2 + exact.length + (suffix?.length || 0));
1540
+ const fuzzyPrefixMatch = !prefix || actualPrefix.includes(prefix.trim());
1541
+ const fuzzySuffixMatch = !suffix || actualSuffix.includes(suffix.trim());
1542
+ if (fuzzyPrefixMatch && fuzzySuffixMatch) {
1543
+ console.warn(`[FuzzyAnchor] Using fuzzy match at position ${pos2}`);
1544
+ return { start: pos2, end: pos2 + exact.length };
1545
+ }
1546
+ }
1547
+ }
1548
+ console.warn(
1549
+ `[FuzzyAnchor] Multiple matches but no context match. Using first occurrence. Exact: "${exact.substring(0, 30)}..."`
1550
+ );
1551
+ const pos = occurrences[0];
1552
+ return { start: pos, end: pos + exact.length };
1553
+ }
1554
+ function verifyPosition(content, position, expectedExact) {
1555
+ const actualText = content.substring(position.start, position.end);
1556
+ return actualText === expectedExact;
1557
+ }
1558
+
1540
1559
  // src/utils/locales.ts
1541
1560
  var LOCALES = [
1542
1561
  { code: "ar", nativeName: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629", englishName: "Arabic" },
@@ -1617,6 +1636,330 @@ function getChecksum(resource) {
1617
1636
  function getLanguage(resource) {
1618
1637
  return getPrimaryRepresentation(resource)?.language;
1619
1638
  }
1639
+ function getStorageUri(resource) {
1640
+ return getPrimaryRepresentation(resource)?.storageUri;
1641
+ }
1642
+ function getCreator(resource) {
1643
+ if (!resource?.wasAttributedTo) return void 0;
1644
+ return Array.isArray(resource.wasAttributedTo) ? resource.wasAttributedTo[0] : resource.wasAttributedTo;
1645
+ }
1646
+ function getDerivedFrom(resource) {
1647
+ if (!resource?.wasDerivedFrom) return void 0;
1648
+ return Array.isArray(resource.wasDerivedFrom) ? resource.wasDerivedFrom[0] : resource.wasDerivedFrom;
1649
+ }
1650
+ function isArchived(resource) {
1651
+ return resource?.archived === true;
1652
+ }
1653
+ function getResourceEntityTypes(resource) {
1654
+ return resource?.entityTypes || [];
1655
+ }
1656
+ function isDraft(resource) {
1657
+ return resource?.isDraft === true;
1658
+ }
1659
+ function getNodeEncoding(charset) {
1660
+ const normalized = charset.toLowerCase().replace(/[-_]/g, "");
1661
+ const charsetMap = {
1662
+ "utf8": "utf8",
1663
+ "iso88591": "latin1",
1664
+ "latin1": "latin1",
1665
+ "ascii": "ascii",
1666
+ "usascii": "ascii",
1667
+ "utf16le": "utf16le",
1668
+ "ucs2": "ucs2",
1669
+ "binary": "binary",
1670
+ "windows1252": "latin1",
1671
+ // Windows-1252 is a superset of Latin-1
1672
+ "cp1252": "latin1"
1673
+ };
1674
+ return charsetMap[normalized] || "utf8";
1675
+ }
1676
+ function decodeRepresentation(buffer, mediaType) {
1677
+ const charsetMatch = mediaType.match(/charset=([^\s;]+)/i);
1678
+ const charset = (charsetMatch?.[1] || "utf-8").toLowerCase();
1679
+ const encoding = getNodeEncoding(charset);
1680
+ return buffer.toString(encoding);
1681
+ }
1682
+
1683
+ // src/utils/svg-utils.ts
1684
+ function createRectangleSvg(start, end) {
1685
+ const x = Math.min(start.x, end.x);
1686
+ const y = Math.min(start.y, end.y);
1687
+ const width = Math.abs(end.x - start.x);
1688
+ const height = Math.abs(end.y - start.y);
1689
+ return `<svg xmlns="http://www.w3.org/2000/svg"><rect x="${x}" y="${y}" width="${width}" height="${height}"/></svg>`;
1690
+ }
1691
+ function createPolygonSvg(points) {
1692
+ if (points.length < 3) {
1693
+ throw new Error("Polygon requires at least 3 points");
1694
+ }
1695
+ const pointsStr = points.map((p) => `${p.x},${p.y}`).join(" ");
1696
+ return `<svg xmlns="http://www.w3.org/2000/svg"><polygon points="${pointsStr}"/></svg>`;
1697
+ }
1698
+ function createCircleSvg(center, radius) {
1699
+ if (radius <= 0) {
1700
+ throw new Error("Circle radius must be positive");
1701
+ }
1702
+ return `<svg xmlns="http://www.w3.org/2000/svg"><circle cx="${center.x}" cy="${center.y}" r="${radius}"/></svg>`;
1703
+ }
1704
+ function parseSvgSelector(svg) {
1705
+ const rectMatch = svg.match(/<rect\s+([^>]+)\/>/);
1706
+ if (rectMatch && rectMatch[1]) {
1707
+ const attrs = rectMatch[1];
1708
+ const x = parseFloat(attrs.match(/x="([^"]+)"/)?.[1] || "0");
1709
+ const y = parseFloat(attrs.match(/y="([^"]+)"/)?.[1] || "0");
1710
+ const width = parseFloat(attrs.match(/width="([^"]+)"/)?.[1] || "0");
1711
+ const height = parseFloat(attrs.match(/height="([^"]+)"/)?.[1] || "0");
1712
+ return {
1713
+ type: "rect",
1714
+ data: { x, y, width, height }
1715
+ };
1716
+ }
1717
+ const polygonMatch = svg.match(/<polygon\s+points="([^"]+)"/);
1718
+ if (polygonMatch && polygonMatch[1]) {
1719
+ const pointsStr = polygonMatch[1];
1720
+ const points = pointsStr.split(/\s+/).map((pair) => {
1721
+ const [x, y] = pair.split(",").map(parseFloat);
1722
+ return { x, y };
1723
+ });
1724
+ return {
1725
+ type: "polygon",
1726
+ data: { points }
1727
+ };
1728
+ }
1729
+ const circleMatch = svg.match(/<circle\s+([^>]+)\/>/);
1730
+ if (circleMatch && circleMatch[1]) {
1731
+ const attrs = circleMatch[1];
1732
+ const cx = parseFloat(attrs.match(/cx="([^"]+)"/)?.[1] || "0");
1733
+ const cy = parseFloat(attrs.match(/cy="([^"]+)"/)?.[1] || "0");
1734
+ const r = parseFloat(attrs.match(/r="([^"]+)"/)?.[1] || "0");
1735
+ return {
1736
+ type: "circle",
1737
+ data: { cx, cy, r }
1738
+ };
1739
+ }
1740
+ return null;
1741
+ }
1742
+ function normalizeCoordinates(point, displayWidth, displayHeight, imageWidth, imageHeight) {
1743
+ return {
1744
+ x: point.x / displayWidth * imageWidth,
1745
+ y: point.y / displayHeight * imageHeight
1746
+ };
1747
+ }
1748
+ function scaleSvgToNative(svg, displayWidth, displayHeight, imageWidth, imageHeight) {
1749
+ const parsed = parseSvgSelector(svg);
1750
+ if (!parsed) return svg;
1751
+ const scaleX = imageWidth / displayWidth;
1752
+ const scaleY = imageHeight / displayHeight;
1753
+ switch (parsed.type) {
1754
+ case "rect": {
1755
+ const { x, y, width, height } = parsed.data;
1756
+ return createRectangleSvg(
1757
+ { x: x * scaleX, y: y * scaleY },
1758
+ { x: (x + width) * scaleX, y: (y + height) * scaleY }
1759
+ );
1760
+ }
1761
+ case "circle": {
1762
+ const { cx, cy, r } = parsed.data;
1763
+ return createCircleSvg(
1764
+ { x: cx * scaleX, y: cy * scaleY },
1765
+ r * Math.min(scaleX, scaleY)
1766
+ );
1767
+ }
1768
+ case "polygon": {
1769
+ const points = parsed.data.points.map((p) => ({
1770
+ x: p.x * scaleX,
1771
+ y: p.y * scaleY
1772
+ }));
1773
+ return createPolygonSvg(points);
1774
+ }
1775
+ }
1776
+ return svg;
1777
+ }
1778
+
1779
+ // src/utils/text-context.ts
1780
+ function extractContext(content, start, end) {
1781
+ const CONTEXT_LENGTH = 64;
1782
+ const MAX_EXTENSION = 32;
1783
+ let prefix;
1784
+ if (start > 0) {
1785
+ let prefixStart = Math.max(0, start - CONTEXT_LENGTH);
1786
+ let extensionCount = 0;
1787
+ while (prefixStart > 0 && extensionCount < MAX_EXTENSION) {
1788
+ const char = content[prefixStart - 1];
1789
+ if (!char || /[\s.,;:!?'"()\[\]{}<>\/\\]/.test(char)) {
1790
+ break;
1791
+ }
1792
+ prefixStart--;
1793
+ extensionCount++;
1794
+ }
1795
+ prefix = content.substring(prefixStart, start);
1796
+ }
1797
+ let suffix;
1798
+ if (end < content.length) {
1799
+ let suffixEnd = Math.min(content.length, end + CONTEXT_LENGTH);
1800
+ let extensionCount = 0;
1801
+ while (suffixEnd < content.length && extensionCount < MAX_EXTENSION) {
1802
+ const char = content[suffixEnd];
1803
+ if (!char || /[\s.,;:!?'"()\[\]{}<>\/\\]/.test(char)) {
1804
+ break;
1805
+ }
1806
+ suffixEnd++;
1807
+ extensionCount++;
1808
+ }
1809
+ suffix = content.substring(end, suffixEnd);
1810
+ }
1811
+ return { prefix, suffix };
1812
+ }
1813
+ function levenshteinDistance(str1, str2) {
1814
+ const len1 = str1.length;
1815
+ const len2 = str2.length;
1816
+ const matrix = [];
1817
+ for (let i = 0; i <= len1; i++) {
1818
+ matrix[i] = [i];
1819
+ }
1820
+ for (let j = 0; j <= len2; j++) {
1821
+ matrix[0][j] = j;
1822
+ }
1823
+ for (let i = 1; i <= len1; i++) {
1824
+ for (let j = 1; j <= len2; j++) {
1825
+ const cost = str1[i - 1] === str2[j - 1] ? 0 : 1;
1826
+ const deletion = matrix[i - 1][j] + 1;
1827
+ const insertion = matrix[i][j - 1] + 1;
1828
+ const substitution = matrix[i - 1][j - 1] + cost;
1829
+ matrix[i][j] = Math.min(deletion, insertion, substitution);
1830
+ }
1831
+ }
1832
+ return matrix[len1][len2];
1833
+ }
1834
+ function findBestMatch(content, searchText, aiStart, aiEnd) {
1835
+ const maxFuzzyDistance = Math.max(5, Math.floor(searchText.length * 0.05));
1836
+ const exactIndex = content.indexOf(searchText);
1837
+ if (exactIndex !== -1) {
1838
+ return {
1839
+ start: exactIndex,
1840
+ end: exactIndex + searchText.length,
1841
+ matchQuality: "exact"
1842
+ };
1843
+ }
1844
+ console.log("[findBestMatch] Exact match failed, trying case-insensitive...");
1845
+ const lowerContent = content.toLowerCase();
1846
+ const lowerSearch = searchText.toLowerCase();
1847
+ const caseInsensitiveIndex = lowerContent.indexOf(lowerSearch);
1848
+ if (caseInsensitiveIndex !== -1) {
1849
+ console.log("[findBestMatch] Found case-insensitive match");
1850
+ return {
1851
+ start: caseInsensitiveIndex,
1852
+ end: caseInsensitiveIndex + searchText.length,
1853
+ matchQuality: "case-insensitive"
1854
+ };
1855
+ }
1856
+ console.log("[findBestMatch] Case-insensitive failed, trying fuzzy match...");
1857
+ const windowSize = searchText.length;
1858
+ const searchRadius = Math.min(500, content.length);
1859
+ const searchStart = Math.max(0, aiStart - searchRadius);
1860
+ const searchEnd = Math.min(content.length, aiEnd + searchRadius);
1861
+ let bestMatch = null;
1862
+ for (let i = searchStart; i <= searchEnd - windowSize; i++) {
1863
+ const candidate = content.substring(i, i + windowSize);
1864
+ const distance = levenshteinDistance(searchText, candidate);
1865
+ if (distance <= maxFuzzyDistance) {
1866
+ if (!bestMatch || distance < bestMatch.distance) {
1867
+ bestMatch = { start: i, distance };
1868
+ console.log(`[findBestMatch] Found fuzzy match at ${i} with distance ${distance}`);
1869
+ }
1870
+ }
1871
+ }
1872
+ if (bestMatch) {
1873
+ return {
1874
+ start: bestMatch.start,
1875
+ end: bestMatch.start + windowSize,
1876
+ matchQuality: "fuzzy"
1877
+ };
1878
+ }
1879
+ console.log("[findBestMatch] No acceptable match found");
1880
+ return null;
1881
+ }
1882
+ function validateAndCorrectOffsets(content, aiStart, aiEnd, exact) {
1883
+ const exactPreview = exact.length > 50 ? exact.substring(0, 50) + "..." : exact;
1884
+ const textAtOffset = content.substring(aiStart, aiEnd);
1885
+ if (textAtOffset === exact) {
1886
+ console.log(`[validateAndCorrectOffsets] \u2713 Offsets correct for: "${exactPreview}"`);
1887
+ const context2 = extractContext(content, aiStart, aiEnd);
1888
+ return {
1889
+ start: aiStart,
1890
+ end: aiEnd,
1891
+ exact,
1892
+ prefix: context2.prefix,
1893
+ suffix: context2.suffix,
1894
+ corrected: false,
1895
+ matchQuality: "exact"
1896
+ };
1897
+ }
1898
+ const foundPreview = textAtOffset.length > 50 ? textAtOffset.substring(0, 50) + "..." : textAtOffset;
1899
+ console.warn(
1900
+ `[validateAndCorrectOffsets] \u26A0 AI offset mismatch:
1901
+ Expected text: "${exactPreview}"
1902
+ Found at AI offset (${aiStart}-${aiEnd}): "${foundPreview}"
1903
+ Attempting multi-strategy search...`
1904
+ );
1905
+ const match = findBestMatch(content, exact, aiStart, aiEnd);
1906
+ if (!match) {
1907
+ const exactLong = exact.length > 100 ? exact.substring(0, 100) + "..." : exact;
1908
+ console.error(
1909
+ `[validateAndCorrectOffsets] \u2717 No acceptable match found:
1910
+ AI offsets: start=${aiStart}, end=${aiEnd}
1911
+ AI text: "${exactLong}"
1912
+ Text at AI offset: "${foundPreview}"
1913
+ All search strategies (exact, case-insensitive, fuzzy) failed.
1914
+ This suggests the AI hallucinated text that doesn't exist in the document.`
1915
+ );
1916
+ throw new Error(
1917
+ "Cannot find acceptable match for text in content. All search strategies failed. Text may be hallucinated."
1918
+ );
1919
+ }
1920
+ const actualText = content.substring(match.start, match.end);
1921
+ const actualPreview = actualText.length > 50 ? actualText.substring(0, 50) + "..." : actualText;
1922
+ const offsetDelta = match.start - aiStart;
1923
+ const matchSymbol = match.matchQuality === "exact" ? "\u2713" : match.matchQuality === "case-insensitive" ? "\u2248" : "~";
1924
+ console.warn(
1925
+ `[validateAndCorrectOffsets] ${matchSymbol} Found ${match.matchQuality} match:
1926
+ AI offsets: start=${aiStart}, end=${aiEnd}
1927
+ Corrected: start=${match.start}, end=${match.end}
1928
+ Offset delta: ${offsetDelta} characters
1929
+ Actual text: "${actualPreview}"`
1930
+ );
1931
+ if (match.matchQuality === "fuzzy") {
1932
+ console.warn(
1933
+ `[validateAndCorrectOffsets] Fuzzy match details:
1934
+ AI provided: "${exactPreview}"
1935
+ Found in doc: "${actualPreview}"
1936
+ Minor text differences detected - using document version`
1937
+ );
1938
+ }
1939
+ const context = extractContext(content, match.start, match.end);
1940
+ return {
1941
+ start: match.start,
1942
+ end: match.end,
1943
+ exact: actualText,
1944
+ // Use actual text from document, not AI's version
1945
+ prefix: context.prefix,
1946
+ suffix: context.suffix,
1947
+ corrected: true,
1948
+ fuzzyMatched: match.matchQuality !== "exact",
1949
+ matchQuality: match.matchQuality
1950
+ };
1951
+ }
1952
+
1953
+ // src/utils/text-encoding.ts
1954
+ function extractCharset(mediaType) {
1955
+ const charsetMatch = mediaType.match(/charset=([^\s;]+)/i);
1956
+ return (charsetMatch?.[1] || "utf-8").toLowerCase();
1957
+ }
1958
+ function decodeWithCharset(buffer, mediaType) {
1959
+ const charset = extractCharset(mediaType);
1960
+ const decoder = new TextDecoder(charset);
1961
+ return decoder.decode(buffer);
1962
+ }
1620
1963
 
1621
1964
  // src/utils/validation.ts
1622
1965
  var JWTTokenSchema = {
@@ -1690,6 +2033,6 @@ function getMimeCategory(mimeType) {
1690
2033
  return "unsupported";
1691
2034
  }
1692
2035
 
1693
- export { APIError, JWTTokenSchema, LOCALES, SSEClient, SemiontApiClient, accessToken, annotationUri, authCode, baseUrl, cloneToken, email, entityType, extractBoundingBox, formatEventType, formatLocaleDisplay, formatRelativeTime, getAllLocaleCodes, getAnnotationExactText, getAnnotationUriFromEvent, getBodySource, getBodyType, getChecksum, getCommentText, getEntityTypes, getEventDisplayContent, getEventEmoji, getEventEntityTypes, getExactText, getExtensionForMimeType, getLanguage, getLocaleEnglishName, getLocaleInfo, getLocaleNativeName, getMimeCategory, getPrimaryMediaType, getPrimaryRepresentation, getPrimarySelector, getResourceCreationDetails, getResourceId, getSvgSelector, getTagCategory, getTagSchemaId, getTargetSelector, getTargetSource, getTextPositionSelector, getTextQuoteSelector, googleCredential, hasTargetSelector, isAssessment, isBodyResolved, isComment, isEventRelatedToAnnotation, isHighlight, isImageMimeType, isReference, isResolvedReference, isResourceEvent, isStubReference, isTag, isTextMimeType, isValidEmail, jobId, mcpToken, refreshToken, resourceAnnotationUri, resourceUri, searchQuery, userDID, validateData, validateSvgMarkup };
2036
+ export { APIError, JWTTokenSchema, LOCALES, SSEClient, SemiontApiClient, accessToken, annotationUri, authCode, baseUrl, cloneToken, createCircleSvg, createPolygonSvg, createRectangleSvg, decodeRepresentation, decodeWithCharset, email, entityType, extractBoundingBox, extractCharset, extractContext, findTextWithContext, formatEventType, formatLocaleDisplay, formatRelativeTime, getAllLocaleCodes, getAnnotationExactText, getAnnotationUriFromEvent, getBodySource, getBodyType, getChecksum, getCommentText, getCreator, getDerivedFrom, getEventDisplayContent, getEventEmoji, getEventEntityTypes, getExactText, getExtensionForMimeType, getLanguage, getLocaleEnglishName, getLocaleInfo, getLocaleNativeName, getMimeCategory, getNodeEncoding, getPrimaryMediaType, getPrimaryRepresentation, getPrimarySelector, getResourceCreationDetails, getResourceEntityTypes, getResourceId, getStorageUri, getSvgSelector, getTargetSelector, getTargetSource, getTextPositionSelector, getTextQuoteSelector, googleCredential, hasTargetSelector, isArchived, isAssessment, isBodyResolved, isComment, isDraft, isEventRelatedToAnnotation, isHighlight, isImageMimeType, isReference, isResolvedReference, isResourceEvent, isStubReference, isTag, isTextMimeType, isValidEmail, jobId, mcpToken, normalizeCoordinates, parseSvgSelector, refreshToken, resourceAnnotationUri, resourceUri, scaleSvgToNative, searchQuery, userDID, validateAndCorrectOffsets, validateData, validateSvgMarkup, verifyPosition };
1694
2037
  //# sourceMappingURL=index.js.map
1695
2038
  //# sourceMappingURL=index.js.map