pdf-search-highlight 0.1.0

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.
@@ -0,0 +1,587 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/core/EventEmitter.ts
2
+ var EventEmitter = class {
3
+ constructor() {
4
+ this.listeners = /* @__PURE__ */ new Map();
5
+ }
6
+ on(event, listener) {
7
+ if (!this.listeners.has(event)) {
8
+ this.listeners.set(event, /* @__PURE__ */ new Set());
9
+ }
10
+ this.listeners.get(event).add(listener);
11
+ return this;
12
+ }
13
+ off(event, listener) {
14
+ _optionalChain([this, 'access', _ => _.listeners, 'access', _2 => _2.get, 'call', _3 => _3(event), 'optionalAccess', _4 => _4.delete, 'call', _5 => _5(listener)]);
15
+ return this;
16
+ }
17
+ emit(event, data) {
18
+ _optionalChain([this, 'access', _6 => _6.listeners, 'access', _7 => _7.get, 'call', _8 => _8(event), 'optionalAccess', _9 => _9.forEach, 'call', _10 => _10((fn) => fn(data))]);
19
+ }
20
+ removeAllListeners() {
21
+ this.listeners.clear();
22
+ }
23
+ };
24
+
25
+ // src/core/constants.ts
26
+ var DEFAULT_CLASS_NAMES = {
27
+ container: "psh-container",
28
+ page: "psh-page",
29
+ canvas: "psh-canvas",
30
+ textLayer: "psh-text-layer",
31
+ pageLabel: "psh-page-label",
32
+ highlight: "highlight",
33
+ activeHighlight: "active"
34
+ };
35
+ var DEFAULT_SCALE = "auto";
36
+ var DEFAULT_PAGE_GAP = 20;
37
+
38
+ // src/core/PDFRenderer.ts
39
+ var PDFRenderer = class {
40
+ constructor(container, options) {
41
+ this.pdfDoc = null;
42
+ this.pageData = [];
43
+ this.pdfjsLib = null;
44
+ this.container = container;
45
+ this.scale = _nullishCoalesce(options.scale, () => ( DEFAULT_SCALE));
46
+ this.pageGap = _nullishCoalesce(options.pageGap, () => ( DEFAULT_PAGE_GAP));
47
+ this.workerSrc = options.workerSrc;
48
+ this.cls = { ...DEFAULT_CLASS_NAMES, ...options.classNames };
49
+ }
50
+ /**
51
+ * Set the pdfjs-dist library reference.
52
+ * Must be called before loadDocument.
53
+ */
54
+ setPdfjsLib(lib) {
55
+ this.pdfjsLib = lib;
56
+ if (this.workerSrc) {
57
+ lib.GlobalWorkerOptions.workerSrc = this.workerSrc;
58
+ }
59
+ }
60
+ /**
61
+ * Load a PDF from File, ArrayBuffer, URL string, or Uint8Array.
62
+ */
63
+ async loadDocument(source) {
64
+ if (!this.pdfjsLib) {
65
+ throw new Error(
66
+ "pdfjs-dist not set. Call setPdfjsLib(pdfjsLib) before loading a document."
67
+ );
68
+ }
69
+ this.cleanup();
70
+ let data;
71
+ if (source instanceof File) {
72
+ data = await source.arrayBuffer();
73
+ } else if (typeof source === "string") {
74
+ data = { url: source };
75
+ } else {
76
+ data = source;
77
+ }
78
+ const loadingTask = this.pdfjsLib.getDocument({ data });
79
+ this.pdfDoc = await loadingTask.promise;
80
+ return this.pdfDoc.numPages;
81
+ }
82
+ /**
83
+ * Render all pages into the container.
84
+ * Returns PageData[] for search/highlight.
85
+ */
86
+ async renderAllPages() {
87
+ if (!this.pdfDoc) throw new Error("No PDF document loaded");
88
+ this.container.innerHTML = "";
89
+ this.container.classList.add(this.cls.container);
90
+ this.pageData = [];
91
+ const numPages = this.pdfDoc.numPages;
92
+ for (let i = 1; i <= numPages; i++) {
93
+ const page = await this.pdfDoc.getPage(i);
94
+ const pd = await this.renderPage(page, i, numPages);
95
+ this.pageData.push(pd);
96
+ }
97
+ return this.pageData;
98
+ }
99
+ async renderPage(page, pageNum, totalPages) {
100
+ const scale = this.calculateScale(page);
101
+ const vp = page.getViewport({ scale });
102
+ const container = document.createElement("div");
103
+ container.className = this.cls.page;
104
+ container.style.position = "relative";
105
+ container.style.width = vp.width + "px";
106
+ container.style.height = vp.height + "px";
107
+ container.style.margin = "0 auto";
108
+ container.style.marginBottom = this.pageGap + "px";
109
+ container.style.overflow = "hidden";
110
+ container.dataset.page = String(pageNum);
111
+ const canvas = document.createElement("canvas");
112
+ canvas.className = this.cls.canvas;
113
+ canvas.width = vp.width * 2;
114
+ canvas.height = vp.height * 2;
115
+ canvas.style.width = vp.width + "px";
116
+ canvas.style.height = vp.height + "px";
117
+ canvas.style.display = "block";
118
+ const ctx = canvas.getContext("2d");
119
+ ctx.scale(2, 2);
120
+ await page.render({ canvasContext: ctx, viewport: vp }).promise;
121
+ const textLayer = document.createElement("div");
122
+ textLayer.className = this.cls.textLayer;
123
+ textLayer.style.position = "absolute";
124
+ textLayer.style.top = "0";
125
+ textLayer.style.left = "0";
126
+ textLayer.style.right = "0";
127
+ textLayer.style.bottom = "0";
128
+ textLayer.style.overflow = "hidden";
129
+ textLayer.style.lineHeight = "1";
130
+ const tc = await page.getTextContent();
131
+ const spans = [];
132
+ for (const item of tc.items) {
133
+ if (!item.str && !item.hasEOL) continue;
134
+ const tx = this.pdfjsLib.Util.transform(vp.transform, item.transform);
135
+ const span = document.createElement("span");
136
+ span.textContent = item.str || "";
137
+ const fh = Math.hypot(tx[2], tx[3]);
138
+ span.style.position = "absolute";
139
+ span.style.left = tx[4] + "px";
140
+ span.style.top = tx[5] - fh + "px";
141
+ span.style.fontSize = fh + "px";
142
+ span.style.color = "transparent";
143
+ span.style.whiteSpace = "pre";
144
+ span.style.cursor = "text";
145
+ span.style.transformOrigin = "0% 0%";
146
+ if (item.fontName) span.style.fontFamily = item.fontName;
147
+ const sw = tx[0] / fh;
148
+ if (Math.abs(sw - 1) > 0.01) {
149
+ span.style.transform = `scaleX(${sw})`;
150
+ }
151
+ textLayer.appendChild(span);
152
+ spans.push({
153
+ el: span,
154
+ text: item.str || "",
155
+ hasEOL: !!item.hasEOL
156
+ });
157
+ }
158
+ container.appendChild(canvas);
159
+ container.appendChild(textLayer);
160
+ this.container.appendChild(container);
161
+ const label = document.createElement("div");
162
+ label.className = this.cls.pageLabel;
163
+ label.textContent = `Page ${pageNum} / ${totalPages}`;
164
+ this.container.appendChild(label);
165
+ return { container, spans };
166
+ }
167
+ calculateScale(page) {
168
+ if (this.scale !== "auto" && typeof this.scale === "number") {
169
+ return this.scale;
170
+ }
171
+ const defaultVp = page.getViewport({ scale: 1 });
172
+ const containerWidth = this.container.clientWidth || 800;
173
+ return Math.min(containerWidth / defaultVp.width, 2);
174
+ }
175
+ getClassNames() {
176
+ return this.cls;
177
+ }
178
+ getPageData() {
179
+ return this.pageData;
180
+ }
181
+ getPageCount() {
182
+ return _nullishCoalesce(_optionalChain([this, 'access', _11 => _11.pdfDoc, 'optionalAccess', _12 => _12.numPages]), () => ( 0));
183
+ }
184
+ cleanup() {
185
+ _optionalChain([this, 'access', _13 => _13.pdfDoc, 'optionalAccess', _14 => _14.destroy, 'call', _15 => _15()]);
186
+ this.pdfDoc = null;
187
+ this.pageData = [];
188
+ this.container.innerHTML = "";
189
+ }
190
+ };
191
+
192
+ // src/core/SearchEngine.ts
193
+ function escapeRegex(s) {
194
+ return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
195
+ }
196
+ function buildFlexibleRegex(query, options) {
197
+ const trimmed = query.trim();
198
+ if (!trimmed) return null;
199
+ const isCaseSensitive = _nullishCoalesce(options.caseSensitive, () => ( false));
200
+ const flexibleWhitespace = _nullishCoalesce(options.flexibleWhitespace, () => ( true));
201
+ if (!flexibleWhitespace) {
202
+ const pattern2 = escapeRegex(trimmed);
203
+ return new RegExp(pattern2, isCaseSensitive ? "g" : "gi");
204
+ }
205
+ const chars = [...trimmed].filter((c) => !/\s/.test(c));
206
+ if (chars.length === 0) return null;
207
+ if (chars.length > 200) {
208
+ const tokens = trimmed.split(/\s+/);
209
+ const pattern2 = tokens.map((t) => escapeRegex(t)).join("\\s+");
210
+ return new RegExp(pattern2, isCaseSensitive ? "g" : "gi");
211
+ }
212
+ const pattern = chars.map((c) => escapeRegex(c)).join("\\s*");
213
+ return new RegExp(pattern, isCaseSensitive ? "g" : "gi");
214
+ }
215
+ function searchPage(spans, query, options = {}) {
216
+ const regex = buildFlexibleRegex(query, options);
217
+ if (!regex) return [];
218
+ let fullText = "";
219
+ const charMap = [];
220
+ spans.forEach((s, si) => {
221
+ for (let ci = 0; ci < s.text.length; ci++) {
222
+ charMap.push({ spanIdx: si, charIdx: ci });
223
+ fullText += s.text[ci];
224
+ }
225
+ });
226
+ const allMatchRanges = [];
227
+ let m;
228
+ regex.lastIndex = 0;
229
+ while ((m = regex.exec(fullText)) !== null) {
230
+ const start = m.index;
231
+ const end = start + m[0].length;
232
+ const range = [];
233
+ for (let k = start; k < end; k++) {
234
+ const cm = charMap[k];
235
+ const last = range[range.length - 1];
236
+ if (last && last.spanIdx === cm.spanIdx && last.end === cm.charIdx) {
237
+ last.end = cm.charIdx + 1;
238
+ } else {
239
+ range.push({ spanIdx: cm.spanIdx, start: cm.charIdx, end: cm.charIdx + 1 });
240
+ }
241
+ }
242
+ allMatchRanges.push(range);
243
+ if (m[0].length === 0) regex.lastIndex++;
244
+ }
245
+ return allMatchRanges;
246
+ }
247
+
248
+ // src/core/HighlightManager.ts
249
+ var HighlightManager = class {
250
+ constructor(highlightClass, activeHighlightClass) {
251
+ this.matches = [];
252
+ this.currentMatch = -1;
253
+ this.highlightClass = highlightClass;
254
+ this.activeHighlightClass = activeHighlightClass;
255
+ }
256
+ /**
257
+ * Apply highlights for all matches on a page.
258
+ * Returns the SearchMatch[] (array of mark groups).
259
+ */
260
+ applyHighlights(pageSpans, matchRanges) {
261
+ if (!matchRanges.length) return [];
262
+ const spanRanges = {};
263
+ matchRanges.forEach((range, mi) => {
264
+ range.forEach((r) => {
265
+ if (!spanRanges[r.spanIdx]) spanRanges[r.spanIdx] = [];
266
+ spanRanges[r.spanIdx].push({ start: r.start, end: r.end, matchIdx: mi });
267
+ });
268
+ });
269
+ const matchMarks = matchRanges.map(() => []);
270
+ for (const siStr of Object.keys(spanRanges)) {
271
+ const si = parseInt(siStr, 10);
272
+ const s = pageSpans[si];
273
+ const ranges = spanRanges[si].sort((a, b) => a.start - b.start);
274
+ const frag = document.createDocumentFragment();
275
+ let last = 0;
276
+ for (const r of ranges) {
277
+ const actualStart = Math.max(r.start, last);
278
+ if (actualStart > last) {
279
+ frag.appendChild(document.createTextNode(s.text.slice(last, actualStart)));
280
+ }
281
+ if (actualStart < r.end) {
282
+ const mark = document.createElement("mark");
283
+ mark.className = this.highlightClass;
284
+ mark.textContent = s.text.slice(actualStart, r.end);
285
+ frag.appendChild(mark);
286
+ matchMarks[r.matchIdx].push(mark);
287
+ }
288
+ last = Math.max(last, r.end);
289
+ }
290
+ if (last < s.text.length) {
291
+ frag.appendChild(document.createTextNode(s.text.slice(last)));
292
+ }
293
+ s.el.textContent = "";
294
+ s.el.appendChild(frag);
295
+ }
296
+ return matchMarks.filter((marks) => marks.length > 0).map((marks) => ({ marks }));
297
+ }
298
+ /**
299
+ * Add matches to the global list.
300
+ */
301
+ addMatches(newMatches) {
302
+ this.matches.push(...newMatches);
303
+ }
304
+ /**
305
+ * Clear all highlights and restore original span text.
306
+ */
307
+ clearHighlights(allPageData) {
308
+ allPageData.forEach((pd) => {
309
+ pd.spans.forEach((s) => {
310
+ s.el.textContent = s.text;
311
+ });
312
+ });
313
+ this.matches = [];
314
+ this.currentMatch = -1;
315
+ }
316
+ /**
317
+ * Set active match by index. Applies active CSS class and scrolls into view.
318
+ */
319
+ setActiveMatch(index) {
320
+ if (this.currentMatch >= 0 && this.currentMatch < this.matches.length) {
321
+ this.matches[this.currentMatch].marks.forEach(
322
+ (m) => m.classList.remove(this.activeHighlightClass)
323
+ );
324
+ }
325
+ this.currentMatch = index;
326
+ if (index >= 0 && index < this.matches.length) {
327
+ this.matches[index].marks.forEach(
328
+ (m) => m.classList.add(this.activeHighlightClass)
329
+ );
330
+ _optionalChain([this, 'access', _16 => _16.matches, 'access', _17 => _17[index], 'access', _18 => _18.marks, 'access', _19 => _19[0], 'optionalAccess', _20 => _20.scrollIntoView, 'call', _21 => _21({
331
+ behavior: "smooth",
332
+ block: "center"
333
+ })]);
334
+ }
335
+ }
336
+ /**
337
+ * Navigate to next match (wraps around).
338
+ */
339
+ next() {
340
+ if (this.matches.length === 0) return -1;
341
+ const newIdx = (this.currentMatch + 1) % this.matches.length;
342
+ this.setActiveMatch(newIdx);
343
+ return newIdx;
344
+ }
345
+ /**
346
+ * Navigate to previous match (wraps around).
347
+ */
348
+ prev() {
349
+ if (this.matches.length === 0) return -1;
350
+ const newIdx = (this.currentMatch - 1 + this.matches.length) % this.matches.length;
351
+ this.setActiveMatch(newIdx);
352
+ return newIdx;
353
+ }
354
+ getCurrentIndex() {
355
+ return this.currentMatch;
356
+ }
357
+ getTotal() {
358
+ return this.matches.length;
359
+ }
360
+ getMatches() {
361
+ return this.matches;
362
+ }
363
+ };
364
+
365
+ // src/core/PDFSearchViewer.ts
366
+ var PDFSearchViewer = class extends EventEmitter {
367
+ constructor(container, pdfjsLib, options = {}) {
368
+ super();
369
+ this.pageData = [];
370
+ this.lastQuery = "";
371
+ this.lastSearchOptions = {};
372
+ this.destroyed = false;
373
+ const cls = { ...DEFAULT_CLASS_NAMES, ...options.classNames };
374
+ this.renderer = new PDFRenderer(container, options);
375
+ this.renderer.setPdfjsLib(pdfjsLib);
376
+ this.highlightManager = new HighlightManager(
377
+ cls.highlight,
378
+ cls.activeHighlight
379
+ );
380
+ }
381
+ /**
382
+ * Load and render a PDF document.
383
+ */
384
+ async loadPDF(source) {
385
+ if (this.destroyed) throw new Error("PDFSearchViewer has been destroyed");
386
+ try {
387
+ await this.renderer.loadDocument(source);
388
+ this.pageData = await this.renderer.renderAllPages();
389
+ const pageCount = this.renderer.getPageCount();
390
+ this.emit("load", { pageCount });
391
+ } catch (err) {
392
+ const error = err instanceof Error ? err : new Error(String(err));
393
+ this.emit("error", { error, context: "loadPDF" });
394
+ throw error;
395
+ }
396
+ }
397
+ /**
398
+ * Search for text across all pages.
399
+ * Clears previous highlights and creates new ones.
400
+ */
401
+ search(query, options = {}) {
402
+ if (this.destroyed) throw new Error("PDFSearchViewer has been destroyed");
403
+ this.highlightManager.clearHighlights(this.pageData);
404
+ this.lastQuery = query;
405
+ this.lastSearchOptions = options;
406
+ const trimmed = query.trim();
407
+ if (!trimmed) {
408
+ this.emit("search", { query, total: 0 });
409
+ this.emit("matchchange", { current: -1, total: 0 });
410
+ return 0;
411
+ }
412
+ for (const pd of this.pageData) {
413
+ const matchRanges = searchPage(pd.spans, trimmed, options);
414
+ const matches = this.highlightManager.applyHighlights(pd.spans, matchRanges);
415
+ this.highlightManager.addMatches(matches);
416
+ }
417
+ const total = this.highlightManager.getTotal();
418
+ if (total > 0) {
419
+ this.highlightManager.setActiveMatch(0);
420
+ }
421
+ this.emit("search", { query, total });
422
+ this.emit("matchchange", {
423
+ current: total > 0 ? 0 : -1,
424
+ total
425
+ });
426
+ return total;
427
+ }
428
+ /**
429
+ * Navigate to next match (wraps around).
430
+ */
431
+ nextMatch() {
432
+ const idx = this.highlightManager.next();
433
+ this.emit("matchchange", {
434
+ current: idx,
435
+ total: this.highlightManager.getTotal()
436
+ });
437
+ return idx;
438
+ }
439
+ /**
440
+ * Navigate to previous match (wraps around).
441
+ */
442
+ prevMatch() {
443
+ const idx = this.highlightManager.prev();
444
+ this.emit("matchchange", {
445
+ current: idx,
446
+ total: this.highlightManager.getTotal()
447
+ });
448
+ return idx;
449
+ }
450
+ /**
451
+ * Clear all search highlights.
452
+ */
453
+ clearSearch() {
454
+ this.highlightManager.clearHighlights(this.pageData);
455
+ this.lastQuery = "";
456
+ this.emit("search", { query: "", total: 0 });
457
+ this.emit("matchchange", { current: -1, total: 0 });
458
+ }
459
+ /**
460
+ * Get total number of pages.
461
+ */
462
+ getPageCount() {
463
+ return this.renderer.getPageCount();
464
+ }
465
+ /**
466
+ * Get current active match index (0-based). -1 if none.
467
+ */
468
+ getCurrentMatchIndex() {
469
+ return this.highlightManager.getCurrentIndex();
470
+ }
471
+ /**
472
+ * Get total number of matches.
473
+ */
474
+ getMatchCount() {
475
+ return this.highlightManager.getTotal();
476
+ }
477
+ /**
478
+ * Destroy the viewer, release all resources.
479
+ */
480
+ destroy() {
481
+ if (this.destroyed) return;
482
+ this.destroyed = true;
483
+ this.highlightManager.clearHighlights(this.pageData);
484
+ this.renderer.cleanup();
485
+ this.removeAllListeners();
486
+ this.pageData = [];
487
+ }
488
+ };
489
+
490
+ // src/core/SearchController.ts
491
+ var SearchController = class {
492
+ constructor(options = {}) {
493
+ this.pages = [];
494
+ this.lastQuery = "";
495
+ /** Callback fired when match state changes (search, next, prev, clear). */
496
+ this.onChange = null;
497
+ const cls = { ...DEFAULT_CLASS_NAMES, ...options.classNames };
498
+ this.highlightManager = new HighlightManager(cls.highlight, cls.activeHighlight);
499
+ }
500
+ /**
501
+ * Set the pages to search on.
502
+ * Call this after rendering PDF pages.
503
+ */
504
+ setPages(pages) {
505
+ this.clear();
506
+ this.pages = pages;
507
+ }
508
+ /**
509
+ * Search for text across all pages.
510
+ * Returns total number of matches.
511
+ */
512
+ search(query, options = {}) {
513
+ this.highlightManager.clearHighlights(this.pages);
514
+ this.lastQuery = query;
515
+ const trimmed = query.trim();
516
+ if (!trimmed) {
517
+ this.notify();
518
+ return 0;
519
+ }
520
+ for (const pd of this.pages) {
521
+ const matchRanges = searchPage(pd.spans, trimmed, options);
522
+ const matches = this.highlightManager.applyHighlights(pd.spans, matchRanges);
523
+ this.highlightManager.addMatches(matches);
524
+ }
525
+ const total = this.highlightManager.getTotal();
526
+ if (total > 0) {
527
+ this.highlightManager.setActiveMatch(0);
528
+ }
529
+ this.notify();
530
+ return total;
531
+ }
532
+ /** Navigate to next match. Returns new index. */
533
+ next() {
534
+ const idx = this.highlightManager.next();
535
+ this.notify();
536
+ return idx;
537
+ }
538
+ /** Navigate to previous match. Returns new index. */
539
+ prev() {
540
+ const idx = this.highlightManager.prev();
541
+ this.notify();
542
+ return idx;
543
+ }
544
+ /** Go to a specific match by index. */
545
+ goTo(index) {
546
+ this.highlightManager.setActiveMatch(index);
547
+ this.notify();
548
+ }
549
+ /** Clear all highlights. */
550
+ clear() {
551
+ this.highlightManager.clearHighlights(this.pages);
552
+ this.lastQuery = "";
553
+ this.notify();
554
+ }
555
+ /** Current match index (0-based). -1 if none. */
556
+ get current() {
557
+ return this.highlightManager.getCurrentIndex();
558
+ }
559
+ /** Total number of matches. */
560
+ get total() {
561
+ return this.highlightManager.getTotal();
562
+ }
563
+ /** Last searched query. */
564
+ get query() {
565
+ return this.lastQuery;
566
+ }
567
+ notify() {
568
+ _optionalChain([this, 'access', _22 => _22.onChange, 'optionalCall', _23 => _23({
569
+ current: this.highlightManager.getCurrentIndex(),
570
+ total: this.highlightManager.getTotal(),
571
+ query: this.lastQuery
572
+ })]);
573
+ }
574
+ };
575
+
576
+
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+ exports.EventEmitter = EventEmitter; exports.DEFAULT_CLASS_NAMES = DEFAULT_CLASS_NAMES; exports.DEFAULT_SCALE = DEFAULT_SCALE; exports.DEFAULT_PAGE_GAP = DEFAULT_PAGE_GAP; exports.PDFRenderer = PDFRenderer; exports.searchPage = searchPage; exports.HighlightManager = HighlightManager; exports.PDFSearchViewer = PDFSearchViewer; exports.SearchController = SearchController;
587
+ //# sourceMappingURL=chunk-OMRGA5I4.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/hoangnguyen/Desktop/untitled%20folder/pdf-search-highlight/dist/chunk-OMRGA5I4.cjs"],"names":[],"mappings":"AAAA;AACA,IAAI,aAAa,EAAE,MAAM;AACzB,EAAE,WAAW,C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A;AACA,QAAA;AACA,MAAA;AACA,QAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,QAAA;AACA,QAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,QAAA;AACA,QAAA;AACA,UAAA;AACA,QAAA;AACA,QAAA;AACA,UAAA;AACA,UAAA;AACA,UAAA;AACA,UAAA;AACA,UAAA;AACA,QAAA;AACA,QAAA;AACA,MAAA;AACA,MAAA;AACA,QAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,QAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,QAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,QAAA;AACA,MAAA;AACA,sBAAA;AACA,QAAA;AACA,QAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,oBAAA;AACA,MAAA;AACA,MAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/Users/hoangnguyen/Desktop/untitled folder/pdf-search-highlight/dist/chunk-OMRGA5I4.cjs","sourcesContent":[null]}
@@ -0,0 +1,23 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+ var _chunkOMRGA5I4cjs = require('../chunk-OMRGA5I4.cjs');
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+ exports.DEFAULT_CLASS_NAMES = _chunkOMRGA5I4cjs.DEFAULT_CLASS_NAMES; exports.DEFAULT_PAGE_GAP = _chunkOMRGA5I4cjs.DEFAULT_PAGE_GAP; exports.DEFAULT_SCALE = _chunkOMRGA5I4cjs.DEFAULT_SCALE; exports.EventEmitter = _chunkOMRGA5I4cjs.EventEmitter; exports.HighlightManager = _chunkOMRGA5I4cjs.HighlightManager; exports.PDFRenderer = _chunkOMRGA5I4cjs.PDFRenderer; exports.PDFSearchViewer = _chunkOMRGA5I4cjs.PDFSearchViewer; exports.SearchController = _chunkOMRGA5I4cjs.SearchController; exports.searchPage = _chunkOMRGA5I4cjs.searchPage;
23
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/hoangnguyen/Desktop/untitled%20folder/pdf-search-highlight/dist/core/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,shBAAC","file":"/Users/hoangnguyen/Desktop/untitled folder/pdf-search-highlight/dist/core/index.cjs"}