Coverage Report

Created: 2026-08-31 06:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/xpdf-4.06/splash/SplashXPathScanner.cc
Line
Count
Source
1
//========================================================================
2
//
3
// SplashXPathScanner.cc
4
//
5
// Copyright 2003-2013 Glyph & Cog, LLC
6
//
7
//========================================================================
8
9
#include <aconf.h>
10
11
#include <stdlib.h>
12
#include <string.h>
13
#if HAVE_STD_SORT
14
#include <algorithm>
15
#endif
16
#include "gmem.h"
17
#include "gmempp.h"
18
#include "GList.h"
19
#include "SplashMath.h"
20
#include "SplashXPath.h"
21
#include "SplashXPathScanner.h"
22
23
//------------------------------------------------------------------------
24
25
#if ANTIALIAS_256
26
27
#define aaVert  15
28
#define aaHoriz 17
29
30
#else
31
32
61.8M
#define aaVert  4
33
12.5M
#define aaHoriz 4
34
35
// 4x4 oversampling tends to generate alpha (coverage) values that are
36
// too high, so we reduce them here. (Yes, this is a kludge.)
37
static Guchar map16to255[17] = {
38
  0,
39
  16 / 2,
40
  32 / 2,
41
  48 / 2,
42
  64 - 32,
43
  80 - 32,
44
  96 - 32,
45
  112 - 32,
46
  128 - 32,
47
  143 - 32,
48
  159 - 32,
49
  175 - 32,
50
  191 - 32,
51
  207 - 32,
52
  223 - 32,
53
  239 - 32,
54
  255
55
};
56
57
#endif
58
59
//------------------------------------------------------------------------
60
61
SplashXPathScanner::SplashXPathScanner(SplashXPath *xPathA, GBool eo,
62
135k
               int yMinA, int yMaxA) {
63
135k
  xPath = xPathA;
64
135k
  eoMask = eo ? 1 : 0xffffffff;
65
135k
  yMin = yMinA;
66
135k
  yMax = yMaxA;
67
135k
  if (xPath->isRect) {
68
17.0k
    rectX0I = splashFloor(xPath->rectX0);
69
17.0k
    rectY0I = splashFloor(xPath->rectY0);
70
17.0k
    rectX1I = splashFloor(xPath->rectX1);
71
17.0k
    rectY1I = splashFloor(xPath->rectY1);
72
17.0k
  }
73
74
135k
  pre = &preSeg;
75
135k
  post = &postSeg;
76
135k
  pre->mx = xPath->xMin - 1;
77
135k
  post->mx = xPath->xMax + 1;
78
79
135k
  resetDone = gFalse;
80
135k
  resetAA = gFalse;
81
135k
}
82
83
135k
SplashXPathScanner::~SplashXPathScanner() {
84
135k
}
85
86
void SplashXPathScanner::insertSegmentBefore(SplashXPathSeg *s,
87
4.96M
               SplashXPathSeg *sNext) {
88
4.96M
  SplashXPathSeg *sPrev;
89
90
4.96M
  sPrev = sNext->prev;
91
4.96M
  sPrev->next = s;
92
4.96M
  s->prev = sPrev;
93
4.96M
  s->next = sNext;
94
4.96M
  sNext->prev = s;
95
4.96M
}
96
97
3.50M
void SplashXPathScanner::removeSegment(SplashXPathSeg *s) {
98
3.50M
  SplashXPathSeg *sPrev, *sNext;
99
100
3.50M
  sPrev = s->prev;
101
3.50M
  sNext = s->next;
102
3.50M
  sPrev->next = sNext;
103
3.50M
  sNext->prev = sPrev;
104
3.50M
  s->prev = s->next = NULL;
105
3.50M
}
106
107
void SplashXPathScanner::moveSegmentAfter(SplashXPathSeg *s,
108
310k
            SplashXPathSeg *sPrev) {
109
310k
  SplashXPathSeg *sNext;
110
111
310k
  s->prev->next = s->next;
112
310k
  s->next->prev = s->prev;
113
114
310k
  sNext = sPrev->next;
115
310k
  sPrev->next = s;
116
310k
  s->prev = sPrev;
117
310k
  s->next = sNext;
118
310k
  sNext->prev = s;
119
310k
}
120
121
103k
void SplashXPathScanner::reset(GBool aa, GBool aaChanged) {
122
103k
  SplashXPathSeg *seg;
123
103k
  SplashCoord y;
124
103k
  int i;
125
126
  //--- initialize segment parameters
127
38.8M
  for (i = 0; i < xPath->length; ++i) {
128
38.7M
    seg = &xPath->segs[i];
129
38.7M
    if (aa) {
130
31.4M
      if (aaChanged) {
131
29.1M
  seg->iy = splashFloor(seg->y0 * aaVert);
132
29.1M
      }
133
31.4M
      y = (SplashCoord)(seg->iy + 1) / (SplashCoord)aaVert;
134
31.4M
    } else {
135
7.29M
      if (aaChanged) {
136
3.93M
  seg->iy = splashFloor(seg->y0);
137
3.93M
      }
138
7.29M
      y = (SplashCoord)(seg->iy + 1);
139
7.29M
    }
140
38.7M
    seg->sx0 = seg->x0;
141
38.7M
    if (seg->y1 <= y) {
142
23.5M
      seg->sx1 = seg->x1;
143
23.5M
    } else {
144
15.2M
      seg->sx1 = seg->x0 + (y - seg->y0) * seg->dxdy;
145
15.2M
    }
146
38.7M
    seg->mx = (seg->sx0 <= seg->sx1) ? seg->sx0 : seg->sx1;
147
38.7M
    seg->prev = seg->next = NULL;
148
38.7M
  }
149
150
  //--- sort the inactive segments by iy, mx
151
103k
  if (aaChanged) {
152
38.5k
#if HAVE_STD_SORT
153
38.5k
    std::sort(xPath->segs, xPath->segs + xPath->length, &SplashXPathSeg::cmpMX);
154
#else
155
    qsort(xPath->segs, xPath->length, sizeof(SplashXPathSeg),
156
    &SplashXPathSeg::cmpMX);
157
#endif
158
38.5k
  }
159
160
  //--- initialize the active list
161
103k
  pre->prev = NULL;
162
103k
  pre->next = post;
163
103k
  post->prev = pre;
164
103k
  post->next = NULL;
165
166
  //--- initialize the scan state
167
103k
  nextSeg = 0;
168
103k
  if (xPath->length) {
169
100k
    yBottomI = xPath->segs[0].iy;
170
100k
    if (aa) {
171
91.5k
      yBottomI -= yBottomI % aaVert;
172
91.5k
    }
173
100k
  } else {
174
2.59k
    yBottomI = 0;
175
2.59k
  }
176
103k
  yTopI = yBottomI - 1;
177
103k
  if (aa) {
178
94.1k
    yTop = (SplashCoord)yTopI / (SplashCoord)aaVert;
179
94.1k
    yBottom = (SplashCoord)yBottomI / (SplashCoord)aaVert;
180
94.1k
  } else {
181
9.40k
    yTop = (SplashCoord)yTopI;
182
9.40k
    yBottom = (SplashCoord)yBottomI;
183
9.40k
  }
184
185
103k
  resetDone = gTrue;
186
103k
  resetAA = aa;
187
103k
}
188
189
83.7k
void SplashXPathScanner::skip(int newYBottomI, GBool aa) {
190
83.7k
  SplashXPathSeg *s0, *s1,*s2;
191
83.7k
  int iy;
192
193
83.7k
  yTopI = newYBottomI - 1;
194
83.7k
  yBottomI = newYBottomI;
195
83.7k
  if (aa) {
196
75.1k
    yTop = (SplashCoord)yTopI / (SplashCoord)aaVert;
197
75.1k
    yBottom = (SplashCoord)yBottomI / (SplashCoord)aaVert;
198
75.1k
  } else {
199
8.58k
    yTop = (SplashCoord)yTopI;
200
8.58k
    yBottom = (SplashCoord)yBottomI;
201
8.58k
  }
202
203
  //--- remove finished segments; update sx0, sx1, mx for active segments
204
83.7k
  s0 = pre->next;
205
83.7k
  while (s0 != post) {
206
0
    s1 = s0->next;
207
208
    // check for a finished segment
209
0
    if (s0->y1 < yTop) {
210
0
      removeSegment(s0);
211
212
    // compute sx0, sx1, mx
213
0
    } else {
214
0
      if (s0->y0 >= yTop) {
215
0
  s0->sx0 = s0->x0;
216
0
      } else {
217
0
  s0->sx0 = s0->x0 + (yTop - s0->y0) * s0->dxdy;
218
0
      }
219
0
      if (s0->y1 <= yBottom) {
220
0
  s0->sx1 = s0->x1;
221
0
      } else {
222
0
  s0->sx1 = s0->x0 + (yBottom - s0->y0) * s0->dxdy;
223
0
      }
224
0
      s0->mx = (s0->sx0 <= s0->sx1) ? s0->sx0 : s0->sx1;
225
0
    }
226
227
0
    s0 = s1;
228
0
  }
229
230
  //--- check for intersections
231
83.7k
  s0 = pre->next;
232
83.7k
  if (s0 != post) {
233
0
    s1 = s0->next;
234
0
    while (s1 != post) {
235
0
      if (s1->mx < s0->mx) {
236
0
  for (s2 = s0->prev; s1->mx < s2->mx; s2 = s2->prev) ;
237
0
  moveSegmentAfter(s1, s2);
238
0
      } else {
239
0
  s0 = s1;
240
0
      }
241
0
      s1 = s0->next;
242
0
    }
243
0
  }
244
245
  //--- insert new segments with a merge sort
246
  // - this has to be done one (sub)scanline at a time, because the
247
  //   inactive list is bin-sorted by (sub)scanline
248
4.48M
  while (nextSeg < xPath->length && xPath->segs[nextSeg].iy <= yTopI) {
249
    // the first inactive segment determines the next scanline to process
250
4.39M
    iy = xPath->segs[nextSeg].iy;
251
4.39M
    s0 = pre->next;
252
14.5M
    do {
253
14.5M
      s1 = &xPath->segs[nextSeg];
254
14.5M
      ++nextSeg;
255
14.5M
      if (s1->y1 < yTop) {
256
13.2M
  continue;
257
13.2M
      }
258
1.24M
      if (s1->y0 >= yTop) {
259
54.2k
  s1->sx0 = s1->x0;
260
1.19M
      } else {
261
1.19M
  s1->sx0 = s1->x0 + (yTop - s1->y0) * s1->dxdy;
262
1.19M
      }
263
1.24M
      if (s1->y1 <= yBottom) {
264
81.1k
  s1->sx1 = s1->x1;
265
1.16M
      } else {
266
1.16M
  s1->sx1 = s1->x0 + (yBottom - s1->y0) * s1->dxdy;
267
1.16M
      }
268
1.24M
      s1->mx = (s1->sx0 <= s1->sx1) ? s1->sx0 : s1->sx1;
269
1.24M
      insertSegmentBefore(s1, s0);
270
14.5M
    } while (nextSeg < xPath->length && xPath->segs[nextSeg].iy <= iy);
271
4.39M
  }
272
83.7k
}
273
274
341k
void SplashXPathScanner::advance(GBool aa) {
275
341k
  SplashXPathSeg *s, *sNext, *s1;
276
277
341k
  yTopI = yBottomI;
278
341k
  yTop = yBottom;
279
341k
  yBottomI = yTopI + 1;
280
341k
  if (aa) {
281
331k
    yBottom = (SplashCoord)yBottomI / (SplashCoord)aaVert;
282
331k
  } else {
283
9.40k
    yBottom = (SplashCoord)yBottomI;
284
9.40k
  }
285
286
341k
  s = pre->next;
287
8.54M
  while (s != post) {
288
8.20M
    sNext = s->next;
289
290
    // check for a finished segment
291
8.20M
    if (s->y1 < yTop) {
292
3.50M
      removeSegment(s);
293
294
4.70M
    } else {
295
296
      // compute sx0, sx1, mx
297
4.70M
      s->sx0 = s->sx1;
298
4.70M
      if (s->y1 <= yBottom) {
299
60.8k
  s->sx1 = s->x1;
300
4.64M
      } else {
301
4.64M
  s->sx1 = s->x0 + (yBottom - s->y0) * s->dxdy;
302
4.64M
      }
303
4.70M
      s->mx = (s->sx0 <= s->sx1) ? s->sx0 : s->sx1;
304
305
      // check for intersection
306
4.70M
      if (s->mx < s->prev->mx) {
307
46.9M
  for (s1 = s->prev->prev; s->mx < s1->mx; s1 = s1->prev) ;
308
310k
  moveSegmentAfter(s, s1);
309
310k
      }
310
4.70M
    }
311
312
8.20M
    s = sNext;
313
8.20M
  }
314
315
  // insert new segments
316
341k
  s = pre->next;
317
4.05M
  while (nextSeg < xPath->length && xPath->segs[nextSeg].iy <= yTopI) {
318
3.71M
    s1 = &xPath->segs[nextSeg];
319
3.71M
    ++nextSeg;
320
3.81M
    while (s1->mx > s->mx) {
321
97.3k
      s = s->next;
322
97.3k
    }
323
3.71M
    insertSegmentBefore(s1, s);
324
3.71M
  }
325
341k
}
326
327
void SplashXPathScanner::generatePixels(int x0, int x1, Guchar *line,
328
331k
          int *xMin, int *xMax) {
329
331k
  SplashXPathSeg *s;
330
331k
  int fillCount, x, xEnd, ix0, ix1, t;
331
332
331k
  fillCount = 0;
333
331k
  x = x0 * aaHoriz;
334
331k
  xEnd = (x1 + 1) * aaHoriz;
335
3.16M
  for (s = pre->next; s != post && x < xEnd; s = s->next) {
336
2.82M
    ix0 = splashFloor(s->sx0 * aaHoriz);
337
2.82M
    ix1 = splashFloor(s->sx1 * aaHoriz);
338
2.82M
    if (ix0 > ix1) {
339
538k
      t = ix0;  ix0 = ix1;  ix1 = t;
340
538k
    }
341
2.82M
    if (!(fillCount & eoMask)) {
342
582k
      if (ix0 > x) {
343
20.5k
  x = ix0;
344
20.5k
      }
345
582k
    }
346
2.82M
    if (ix1 >= xEnd) {
347
38.4k
      ix1 = xEnd - 1;
348
38.4k
    }
349
2.82M
    if (x / aaHoriz < *xMin) {
350
78.7k
      *xMin = x / aaHoriz;
351
78.7k
    }
352
2.82M
    if (ix1 / aaHoriz > *xMax) {
353
77.4k
      *xMax = ix1 / aaHoriz;
354
77.4k
    }
355
3.19M
    for (; x <= ix1; ++x) {
356
362k
      ++line[x / aaHoriz];
357
362k
    }
358
2.82M
    if (s->y0 <= yTop && s->y1 > yTop) {
359
2.73M
      fillCount += s->count;
360
2.73M
    }
361
2.82M
  }
362
331k
}
363
364
void SplashXPathScanner::generatePixelsBinary(int x0, int x1, Guchar *line,
365
9.40k
                int *xMin, int *xMax) {
366
9.40k
  SplashXPathSeg *s;
367
9.40k
  int fillCount, x, xEnd, ix0, ix1, t;
368
369
9.40k
  fillCount = 0;
370
9.40k
  x = x0;
371
9.40k
  xEnd = x1 + 1;
372
29.9k
  for (s = pre->next; s != post && x < xEnd; s = s->next) {
373
20.5k
    ix0 = splashFloor(s->sx0);
374
20.5k
    ix1 = splashFloor(s->sx1);
375
20.5k
    if (ix0 > ix1) {
376
1.45k
      t = ix0;  ix0 = ix1;  ix1 = t;
377
1.45k
    }
378
20.5k
    if (!(fillCount & eoMask)) {
379
10.7k
      if (ix0 > x) {
380
28
  x = ix0;
381
28
      }
382
10.7k
    }
383
20.5k
    if (ix1 >= xEnd) {
384
4.70k
      ix1 = xEnd - 1;
385
4.70k
    }
386
20.5k
    if (x < *xMin) {
387
9.32k
      *xMin = x;
388
9.32k
    }
389
20.5k
    if (ix1 > *xMax) {
390
8.94k
      *xMax = ix1;
391
8.94k
    }
392
29.4k
    for (; x <= ix1; ++x) {
393
8.91k
      line[x] = 255;
394
8.91k
    }
395
20.5k
    if (s->y0 <= yTop && s->y1 > yTop) {
396
15.7k
      fillCount += s->count;
397
15.7k
    }
398
20.5k
  }
399
9.40k
}
400
401
void SplashXPathScanner::drawRectangleSpan(Guchar *line, int y,
402
             int x0, int x1,
403
11.2k
             int *xMin, int *xMax) {
404
11.2k
  SplashCoord edge;
405
11.2k
  Guchar pix;
406
11.2k
  int xe, x;
407
408
11.2k
  if (rectX0I > x1 || rectX1I < x0) {
409
186
    return;
410
186
  }
411
412
11.0k
  *xMin = x0 <= rectX0I ? rectX0I : x0;
413
11.0k
  *xMax = rectX1I <= x1 ? rectX1I : x1;
414
415
  //--- upper edge
416
11.0k
  if (y == rectY0I) {
417
418
    // handle a rectangle less than one pixel high
419
3.02k
    if (rectY0I == rectY1I) {
420
2.94k
      edge = xPath->rectY1 - xPath->rectY0;
421
2.94k
    } else {
422
71
      edge = (SplashCoord)1 - (xPath->rectY0 - rectY0I);
423
71
    }
424
425
    // upper left corner
426
3.02k
    if (x0 <= rectX0I) {
427
2.69k
      pix = (Guchar)splashCeil(edge
428
2.69k
             * ((SplashCoord)1 - (xPath->rectX0 - rectX0I))
429
2.69k
             * 255);
430
2.69k
      if (pix < 16) {
431
2.62k
  pix = 16;
432
2.62k
      }
433
2.69k
      line[rectX0I] = pix;
434
2.69k
      x = rectX0I + 1;
435
2.69k
    } else {
436
323
      x = x0;
437
323
    }
438
439
    // upper right corner
440
3.02k
    if (rectX1I <= x1) {
441
2.52k
      pix = (Guchar)splashCeil(edge * (xPath->rectX1 - rectX1I) * 255);
442
2.52k
      if (pix < 16) {
443
2.52k
  pix = 16;
444
2.52k
      }
445
2.52k
      line[rectX1I] = pix;
446
2.52k
      xe = rectX1I - 1;
447
2.52k
    } else {
448
491
      xe = x1;
449
491
    }
450
451
    // upper edge
452
3.02k
    pix = (Guchar)splashCeil(edge * 255);
453
3.02k
    if (pix < 16) {
454
2.94k
      pix = 16;
455
2.94k
    }
456
3.34k
    for (; x <= xe; ++x) {
457
323
      line[x] = pix;
458
323
    }
459
460
  //--- lower edge
461
8.03k
  } else if (y == rectY1I) {
462
97
    edge = xPath->rectY1 - rectY1I;
463
464
    // lower left corner
465
97
    if (x0 <= rectX0I) {
466
97
      pix = (Guchar)splashCeil(edge
467
97
             * ((SplashCoord)1 - (xPath->rectX0 - rectX0I))
468
97
             * 255);
469
97
      if (pix < 16) {
470
65
  pix = 16;
471
65
      }
472
97
      line[rectX0I] = pix;
473
97
      x = rectX0I + 1;
474
97
    } else {
475
0
      x = x0;
476
0
    }
477
478
    // lower right corner
479
97
    if (rectX1I <= x1) {
480
97
      pix = (Guchar)splashCeil(edge * (xPath->rectX1 - rectX1I) * 255);
481
97
      if (pix < 16) {
482
97
  pix = 16;
483
97
      }
484
97
      line[rectX1I] = pix;
485
97
      xe = rectX1I - 1;
486
97
    } else {
487
0
      xe = x1;
488
0
    }
489
490
    // lower edge
491
97
    pix = (Guchar)splashCeil(edge * 255);
492
97
    if (pix < 16) {
493
65
      pix = 16;
494
65
    }
495
97
    for (; x <= xe; ++x) {
496
0
      line[x] = pix;
497
0
    }
498
499
  //--- between the upper and lower edges
500
7.94k
  } else if (y > rectY0I && y < rectY1I) {
501
502
    // left edge
503
7.66k
    if (x0 <= rectX0I) {
504
4.97k
      pix = (Guchar)splashCeil(((SplashCoord)1 - (xPath->rectX0 - rectX0I))
505
4.97k
             * 255);
506
4.97k
      if (pix < 16) {
507
0
  pix = 16;
508
0
      }
509
4.97k
      line[rectX0I] = pix;
510
4.97k
      x = rectX0I + 1;
511
4.97k
    } else {
512
2.69k
      x = x0;
513
2.69k
    }
514
515
    // right edge
516
7.66k
    if (rectX1I <= x1) {
517
3.98k
      pix = (Guchar)splashCeil((xPath->rectX1 - rectX1I) * 255);
518
3.98k
      if (pix < 16) {
519
3.79k
  pix = 16;
520
3.79k
      }
521
3.98k
      line[rectX1I] = pix;
522
3.98k
      xe = rectX1I - 1;
523
3.98k
    } else {
524
3.67k
      xe = x1;
525
3.67k
    }
526
527
    // middle
528
10.2k
    for (; x <= xe; ++x) {
529
2.63k
      line[x] = 255;
530
2.63k
    }
531
7.66k
  }
532
11.0k
}
533
534
void SplashXPathScanner::drawRectangleSpanBinary(Guchar *line, int y,
535
             int x0, int x1,
536
0
             int *xMin, int *xMax) {
537
0
  int xe, x;
538
539
0
  if (y >= rectY0I && y <= rectY1I) {
540
0
    if (x0 <= rectX0I) {
541
0
      x = rectX0I;
542
0
    } else {
543
0
      x = x0;
544
0
    }
545
0
    *xMin = x;
546
0
    if (rectX1I <= x1) {
547
0
      xe = rectX1I;
548
0
    } else {
549
0
      xe = x1;
550
0
    }
551
0
    *xMax = xe;
552
0
    for (; x <= xe; ++x) {
553
0
      line[x] = 255;
554
0
    }
555
0
  }
556
0
}
557
558
void SplashXPathScanner::getSpan(Guchar *line, int y, int x0, int x1,
559
94.1k
         int *xMin, int *xMax) {
560
94.1k
  int iy, x, k;
561
562
94.1k
  iy = y * aaVert;
563
94.1k
  if (!resetDone || !resetAA) {
564
34.8k
    reset(gTrue, gTrue);
565
59.3k
  } else if (yBottomI > iy) {
566
59.3k
    reset(gTrue, gFalse);
567
59.3k
  }
568
94.1k
  memset(line + x0, 0, x1 - x0 + 1);
569
570
94.1k
  *xMin = x1 + 1;
571
94.1k
  *xMax = x0 - 1;
572
573
94.1k
  if (xPath->isRect) {
574
11.2k
    drawRectangleSpan(line, y, x0, x1, xMin, xMax);
575
11.2k
    return;
576
11.2k
  }
577
578
82.9k
  if (yBottomI < iy) {
579
75.1k
    skip(iy, gTrue);
580
75.1k
  }
581
414k
  for (k = 0; k < aaVert; ++k, ++iy) {
582
331k
    advance(gTrue);
583
331k
    generatePixels(x0, x1, line, xMin, xMax);
584
331k
  }
585
586
82.9k
#if !ANTIALIAS_256
587
159k
  for (x = *xMin; x <= *xMax; ++x) {
588
76.7k
    line[x] = map16to255[line[x]];
589
76.7k
  }
590
82.9k
#endif
591
82.9k
}
592
593
void SplashXPathScanner::getSpanBinary(Guchar *line, int y, int x0, int x1,
594
9.40k
               int *xMin, int *xMax) {
595
9.40k
  int iy;
596
597
9.40k
  iy = y;
598
9.40k
  if (!resetDone || resetAA) {
599
3.75k
    reset(gFalse, gTrue);
600
5.65k
  } else if (yBottomI > iy) {
601
5.65k
    reset(gFalse, gFalse);
602
5.65k
  }
603
9.40k
  memset(line + x0, 0, x1 - x0 + 1);
604
605
9.40k
  *xMin = x1 + 1;
606
9.40k
  *xMax = x0 - 1;
607
608
9.40k
  if (xPath->isRect) {
609
0
    drawRectangleSpanBinary(line, y, x0, x1, xMin, xMax);
610
0
    return;
611
0
  }
612
613
9.40k
  if (yBottomI < iy) {
614
8.58k
    skip(iy, gFalse);
615
8.58k
  }
616
9.40k
  advance(gFalse);
617
9.40k
  generatePixelsBinary(x0, x1, line, xMin, xMax);
618
9.40k
}