@divriots/pdfjs-dist 3.10.111-divriots2.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.
Files changed (305) hide show
  1. package/CODE_OF_CONDUCT.md +15 -0
  2. package/LICENSE +177 -0
  3. package/README.md +14 -0
  4. package/build/pdf.js +18009 -0
  5. package/build/pdf.js.map +1 -0
  6. package/build/pdf.min.js +22 -0
  7. package/build/pdf.sandbox.js +280 -0
  8. package/build/pdf.sandbox.js.map +1 -0
  9. package/build/pdf.sandbox.min.js +22 -0
  10. package/build/pdf.worker.entry.js +19 -0
  11. package/build/pdf.worker.js +57863 -0
  12. package/build/pdf.worker.js.map +1 -0
  13. package/build/pdf.worker.min.js +22 -0
  14. package/cmaps/78-EUC-H.bcmap +0 -0
  15. package/cmaps/78-EUC-V.bcmap +0 -0
  16. package/cmaps/78-H.bcmap +0 -0
  17. package/cmaps/78-RKSJ-H.bcmap +0 -0
  18. package/cmaps/78-RKSJ-V.bcmap +0 -0
  19. package/cmaps/78-V.bcmap +0 -0
  20. package/cmaps/78ms-RKSJ-H.bcmap +0 -0
  21. package/cmaps/78ms-RKSJ-V.bcmap +0 -0
  22. package/cmaps/83pv-RKSJ-H.bcmap +0 -0
  23. package/cmaps/90ms-RKSJ-H.bcmap +0 -0
  24. package/cmaps/90ms-RKSJ-V.bcmap +0 -0
  25. package/cmaps/90msp-RKSJ-H.bcmap +0 -0
  26. package/cmaps/90msp-RKSJ-V.bcmap +0 -0
  27. package/cmaps/90pv-RKSJ-H.bcmap +0 -0
  28. package/cmaps/90pv-RKSJ-V.bcmap +0 -0
  29. package/cmaps/Add-H.bcmap +0 -0
  30. package/cmaps/Add-RKSJ-H.bcmap +0 -0
  31. package/cmaps/Add-RKSJ-V.bcmap +0 -0
  32. package/cmaps/Add-V.bcmap +0 -0
  33. package/cmaps/Adobe-CNS1-0.bcmap +0 -0
  34. package/cmaps/Adobe-CNS1-1.bcmap +0 -0
  35. package/cmaps/Adobe-CNS1-2.bcmap +0 -0
  36. package/cmaps/Adobe-CNS1-3.bcmap +0 -0
  37. package/cmaps/Adobe-CNS1-4.bcmap +0 -0
  38. package/cmaps/Adobe-CNS1-5.bcmap +0 -0
  39. package/cmaps/Adobe-CNS1-6.bcmap +0 -0
  40. package/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  41. package/cmaps/Adobe-GB1-0.bcmap +0 -0
  42. package/cmaps/Adobe-GB1-1.bcmap +0 -0
  43. package/cmaps/Adobe-GB1-2.bcmap +0 -0
  44. package/cmaps/Adobe-GB1-3.bcmap +0 -0
  45. package/cmaps/Adobe-GB1-4.bcmap +0 -0
  46. package/cmaps/Adobe-GB1-5.bcmap +0 -0
  47. package/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  48. package/cmaps/Adobe-Japan1-0.bcmap +0 -0
  49. package/cmaps/Adobe-Japan1-1.bcmap +0 -0
  50. package/cmaps/Adobe-Japan1-2.bcmap +0 -0
  51. package/cmaps/Adobe-Japan1-3.bcmap +0 -0
  52. package/cmaps/Adobe-Japan1-4.bcmap +0 -0
  53. package/cmaps/Adobe-Japan1-5.bcmap +0 -0
  54. package/cmaps/Adobe-Japan1-6.bcmap +0 -0
  55. package/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  56. package/cmaps/Adobe-Korea1-0.bcmap +0 -0
  57. package/cmaps/Adobe-Korea1-1.bcmap +0 -0
  58. package/cmaps/Adobe-Korea1-2.bcmap +0 -0
  59. package/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  60. package/cmaps/B5-H.bcmap +0 -0
  61. package/cmaps/B5-V.bcmap +0 -0
  62. package/cmaps/B5pc-H.bcmap +0 -0
  63. package/cmaps/B5pc-V.bcmap +0 -0
  64. package/cmaps/CNS-EUC-H.bcmap +0 -0
  65. package/cmaps/CNS-EUC-V.bcmap +0 -0
  66. package/cmaps/CNS1-H.bcmap +0 -0
  67. package/cmaps/CNS1-V.bcmap +0 -0
  68. package/cmaps/CNS2-H.bcmap +0 -0
  69. package/cmaps/CNS2-V.bcmap +3 -0
  70. package/cmaps/ETHK-B5-H.bcmap +0 -0
  71. package/cmaps/ETHK-B5-V.bcmap +0 -0
  72. package/cmaps/ETen-B5-H.bcmap +0 -0
  73. package/cmaps/ETen-B5-V.bcmap +0 -0
  74. package/cmaps/ETenms-B5-H.bcmap +3 -0
  75. package/cmaps/ETenms-B5-V.bcmap +0 -0
  76. package/cmaps/EUC-H.bcmap +0 -0
  77. package/cmaps/EUC-V.bcmap +0 -0
  78. package/cmaps/Ext-H.bcmap +0 -0
  79. package/cmaps/Ext-RKSJ-H.bcmap +0 -0
  80. package/cmaps/Ext-RKSJ-V.bcmap +0 -0
  81. package/cmaps/Ext-V.bcmap +0 -0
  82. package/cmaps/GB-EUC-H.bcmap +0 -0
  83. package/cmaps/GB-EUC-V.bcmap +0 -0
  84. package/cmaps/GB-H.bcmap +4 -0
  85. package/cmaps/GB-V.bcmap +0 -0
  86. package/cmaps/GBK-EUC-H.bcmap +0 -0
  87. package/cmaps/GBK-EUC-V.bcmap +0 -0
  88. package/cmaps/GBK2K-H.bcmap +0 -0
  89. package/cmaps/GBK2K-V.bcmap +0 -0
  90. package/cmaps/GBKp-EUC-H.bcmap +0 -0
  91. package/cmaps/GBKp-EUC-V.bcmap +0 -0
  92. package/cmaps/GBT-EUC-H.bcmap +0 -0
  93. package/cmaps/GBT-EUC-V.bcmap +0 -0
  94. package/cmaps/GBT-H.bcmap +0 -0
  95. package/cmaps/GBT-V.bcmap +0 -0
  96. package/cmaps/GBTpc-EUC-H.bcmap +0 -0
  97. package/cmaps/GBTpc-EUC-V.bcmap +0 -0
  98. package/cmaps/GBpc-EUC-H.bcmap +0 -0
  99. package/cmaps/GBpc-EUC-V.bcmap +0 -0
  100. package/cmaps/H.bcmap +0 -0
  101. package/cmaps/HKdla-B5-H.bcmap +0 -0
  102. package/cmaps/HKdla-B5-V.bcmap +0 -0
  103. package/cmaps/HKdlb-B5-H.bcmap +0 -0
  104. package/cmaps/HKdlb-B5-V.bcmap +0 -0
  105. package/cmaps/HKgccs-B5-H.bcmap +0 -0
  106. package/cmaps/HKgccs-B5-V.bcmap +0 -0
  107. package/cmaps/HKm314-B5-H.bcmap +0 -0
  108. package/cmaps/HKm314-B5-V.bcmap +0 -0
  109. package/cmaps/HKm471-B5-H.bcmap +0 -0
  110. package/cmaps/HKm471-B5-V.bcmap +0 -0
  111. package/cmaps/HKscs-B5-H.bcmap +0 -0
  112. package/cmaps/HKscs-B5-V.bcmap +0 -0
  113. package/cmaps/Hankaku.bcmap +0 -0
  114. package/cmaps/Hiragana.bcmap +0 -0
  115. package/cmaps/KSC-EUC-H.bcmap +0 -0
  116. package/cmaps/KSC-EUC-V.bcmap +0 -0
  117. package/cmaps/KSC-H.bcmap +0 -0
  118. package/cmaps/KSC-Johab-H.bcmap +0 -0
  119. package/cmaps/KSC-Johab-V.bcmap +0 -0
  120. package/cmaps/KSC-V.bcmap +0 -0
  121. package/cmaps/KSCms-UHC-H.bcmap +0 -0
  122. package/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  123. package/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  124. package/cmaps/KSCms-UHC-V.bcmap +0 -0
  125. package/cmaps/KSCpc-EUC-H.bcmap +0 -0
  126. package/cmaps/KSCpc-EUC-V.bcmap +0 -0
  127. package/cmaps/Katakana.bcmap +0 -0
  128. package/cmaps/LICENSE +36 -0
  129. package/cmaps/NWP-H.bcmap +0 -0
  130. package/cmaps/NWP-V.bcmap +0 -0
  131. package/cmaps/RKSJ-H.bcmap +0 -0
  132. package/cmaps/RKSJ-V.bcmap +0 -0
  133. package/cmaps/Roman.bcmap +0 -0
  134. package/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  135. package/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  136. package/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  137. package/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  138. package/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  139. package/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  140. package/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  141. package/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  142. package/cmaps/UniGB-UCS2-H.bcmap +0 -0
  143. package/cmaps/UniGB-UCS2-V.bcmap +0 -0
  144. package/cmaps/UniGB-UTF16-H.bcmap +0 -0
  145. package/cmaps/UniGB-UTF16-V.bcmap +0 -0
  146. package/cmaps/UniGB-UTF32-H.bcmap +0 -0
  147. package/cmaps/UniGB-UTF32-V.bcmap +0 -0
  148. package/cmaps/UniGB-UTF8-H.bcmap +0 -0
  149. package/cmaps/UniGB-UTF8-V.bcmap +0 -0
  150. package/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  151. package/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  152. package/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  153. package/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  154. package/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  155. package/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  156. package/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  157. package/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  158. package/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  159. package/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  160. package/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  161. package/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  162. package/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  163. package/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  164. package/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  165. package/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  166. package/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  167. package/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  168. package/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  169. package/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  170. package/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  171. package/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  172. package/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  173. package/cmaps/UniKS-UCS2-H.bcmap +0 -0
  174. package/cmaps/UniKS-UCS2-V.bcmap +0 -0
  175. package/cmaps/UniKS-UTF16-H.bcmap +0 -0
  176. package/cmaps/UniKS-UTF16-V.bcmap +0 -0
  177. package/cmaps/UniKS-UTF32-H.bcmap +0 -0
  178. package/cmaps/UniKS-UTF32-V.bcmap +0 -0
  179. package/cmaps/UniKS-UTF8-H.bcmap +0 -0
  180. package/cmaps/UniKS-UTF8-V.bcmap +0 -0
  181. package/cmaps/V.bcmap +0 -0
  182. package/cmaps/WP-Symbol.bcmap +0 -0
  183. package/image_decoders/pdf.image_decoders.js +7490 -0
  184. package/image_decoders/pdf.image_decoders.js.map +1 -0
  185. package/image_decoders/pdf.image_decoders.min.js +22 -0
  186. package/legacy/build/pdf.d.ts +1 -0
  187. package/legacy/build/pdf.js +22941 -0
  188. package/legacy/build/pdf.js.map +1 -0
  189. package/legacy/build/pdf.min.js +22 -0
  190. package/legacy/build/pdf.sandbox.js +3274 -0
  191. package/legacy/build/pdf.sandbox.js.map +1 -0
  192. package/legacy/build/pdf.sandbox.min.js +22 -0
  193. package/legacy/build/pdf.worker.entry.js +19 -0
  194. package/legacy/build/pdf.worker.js +62058 -0
  195. package/legacy/build/pdf.worker.js.map +1 -0
  196. package/legacy/build/pdf.worker.min.js +22 -0
  197. package/legacy/image_decoders/pdf.image_decoders.js +10615 -0
  198. package/legacy/image_decoders/pdf.image_decoders.js.map +1 -0
  199. package/legacy/image_decoders/pdf.image_decoders.min.js +22 -0
  200. package/legacy/web/images/annotation-check.svg +11 -0
  201. package/legacy/web/images/annotation-comment.svg +16 -0
  202. package/legacy/web/images/annotation-help.svg +26 -0
  203. package/legacy/web/images/annotation-insert.svg +10 -0
  204. package/legacy/web/images/annotation-key.svg +11 -0
  205. package/legacy/web/images/annotation-newparagraph.svg +11 -0
  206. package/legacy/web/images/annotation-noicon.svg +7 -0
  207. package/legacy/web/images/annotation-note.svg +42 -0
  208. package/legacy/web/images/annotation-paperclip.svg +6 -0
  209. package/legacy/web/images/annotation-paragraph.svg +16 -0
  210. package/legacy/web/images/annotation-pushpin.svg +7 -0
  211. package/legacy/web/images/loading-icon.gif +0 -0
  212. package/legacy/web/pdf_viewer.css +1375 -0
  213. package/legacy/web/pdf_viewer.d.ts +1 -0
  214. package/legacy/web/pdf_viewer.js +10502 -0
  215. package/legacy/web/pdf_viewer.js.map +1 -0
  216. package/package.json +35 -0
  217. package/standard_fonts/FoxitDingbats.pfb +0 -0
  218. package/standard_fonts/FoxitFixed.pfb +0 -0
  219. package/standard_fonts/FoxitFixedBold.pfb +0 -0
  220. package/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  221. package/standard_fonts/FoxitFixedItalic.pfb +0 -0
  222. package/standard_fonts/FoxitSerif.pfb +0 -0
  223. package/standard_fonts/FoxitSerifBold.pfb +0 -0
  224. package/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  225. package/standard_fonts/FoxitSerifItalic.pfb +0 -0
  226. package/standard_fonts/FoxitSymbol.pfb +0 -0
  227. package/standard_fonts/LICENSE_FOXIT +27 -0
  228. package/standard_fonts/LICENSE_LIBERATION +102 -0
  229. package/standard_fonts/LiberationSans-Bold.ttf +0 -0
  230. package/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  231. package/standard_fonts/LiberationSans-Italic.ttf +0 -0
  232. package/standard_fonts/LiberationSans-Regular.ttf +0 -0
  233. package/types/external/webL10n/l10n.d.ts +0 -0
  234. package/types/src/display/annotation_layer.d.ts +203 -0
  235. package/types/src/display/annotation_storage.d.ts +89 -0
  236. package/types/src/display/api.d.ts +1592 -0
  237. package/types/src/display/base_factory.d.ts +54 -0
  238. package/types/src/display/canvas.d.ts +208 -0
  239. package/types/src/display/display_utils.d.ts +277 -0
  240. package/types/src/display/editor/annotation_editor_layer.d.ts +196 -0
  241. package/types/src/display/editor/editor.d.ts +325 -0
  242. package/types/src/display/editor/freetext.d.ts +72 -0
  243. package/types/src/display/editor/ink.d.ts +95 -0
  244. package/types/src/display/editor/stamp.d.ts +28 -0
  245. package/types/src/display/editor/tools.d.ts +349 -0
  246. package/types/src/display/font_loader.d.ts +43 -0
  247. package/types/src/display/metadata.d.ts +11 -0
  248. package/types/src/display/optional_content_config.d.ts +13 -0
  249. package/types/src/display/pattern_helper.d.ts +73 -0
  250. package/types/src/display/text_layer.d.ts +151 -0
  251. package/types/src/display/transport_stream.d.ts +68 -0
  252. package/types/src/display/worker_options.d.ts +27 -0
  253. package/types/src/display/xfa_layer.d.ts +46 -0
  254. package/types/src/display/xfa_text.d.ts +19 -0
  255. package/types/src/pdf.d.ts +62 -0
  256. package/types/src/shared/image_utils.d.ts +17 -0
  257. package/types/src/shared/message_handler.d.ts +43 -0
  258. package/types/src/shared/murmurhash3.d.ts +7 -0
  259. package/types/src/shared/scripting_utils.d.ts +16 -0
  260. package/types/src/shared/util.d.ts +398 -0
  261. package/types/web/annotation_editor_layer_builder.d.ts +50 -0
  262. package/types/web/annotation_layer_builder.d.ts +83 -0
  263. package/types/web/app_options.d.ts +14 -0
  264. package/types/web/download_manager.d.ts +14 -0
  265. package/types/web/event_utils.d.ts +75 -0
  266. package/types/web/generic_scripting.d.ts +8 -0
  267. package/types/web/genericl10n.d.ts +13 -0
  268. package/types/web/interfaces.d.ts +163 -0
  269. package/types/web/l10n_utils.d.ts +7 -0
  270. package/types/web/pdf_find_controller.d.ts +108 -0
  271. package/types/web/pdf_find_utils.d.ts +16 -0
  272. package/types/web/pdf_history.d.ts +168 -0
  273. package/types/web/pdf_link_service.d.ts +243 -0
  274. package/types/web/pdf_page_view.d.ts +209 -0
  275. package/types/web/pdf_rendering_queue.d.ts +53 -0
  276. package/types/web/pdf_scripting_manager.component.d.ts +5 -0
  277. package/types/web/pdf_scripting_manager.d.ts +61 -0
  278. package/types/web/pdf_single_page_viewer.d.ts +7 -0
  279. package/types/web/pdf_thumbnail_view.d.ts +131 -0
  280. package/types/web/pdf_thumbnail_viewer.d.ts +104 -0
  281. package/types/web/pdf_viewer.component.d.ts +24 -0
  282. package/types/web/pdf_viewer.d.ts +455 -0
  283. package/types/web/struct_tree_layer_builder.d.ts +7 -0
  284. package/types/web/text_accessibility.d.ts +42 -0
  285. package/types/web/text_highlighter.d.ts +63 -0
  286. package/types/web/text_layer_builder.d.ts +64 -0
  287. package/types/web/ui_utils.d.ts +288 -0
  288. package/types/web/xfa_layer_builder.d.ts +41 -0
  289. package/web/images/annotation-check.svg +11 -0
  290. package/web/images/annotation-comment.svg +16 -0
  291. package/web/images/annotation-help.svg +26 -0
  292. package/web/images/annotation-insert.svg +10 -0
  293. package/web/images/annotation-key.svg +11 -0
  294. package/web/images/annotation-newparagraph.svg +11 -0
  295. package/web/images/annotation-noicon.svg +7 -0
  296. package/web/images/annotation-note.svg +42 -0
  297. package/web/images/annotation-paperclip.svg +6 -0
  298. package/web/images/annotation-paragraph.svg +16 -0
  299. package/web/images/annotation-pushpin.svg +7 -0
  300. package/web/images/loading-icon.gif +0 -0
  301. package/web/pdf_viewer.css +1375 -0
  302. package/web/pdf_viewer.d.ts +1 -0
  303. package/web/pdf_viewer.js +7752 -0
  304. package/web/pdf_viewer.js.map +1 -0
  305. package/webpack.js +26 -0
@@ -0,0 +1,1375 @@
1
+ /* Copyright 2014 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ :root {
17
+ --highlight-bg-color: rgba(180, 0, 170, 1);
18
+ --highlight-selected-bg-color: rgba(0, 100, 0, 1);
19
+ }
20
+
21
+ @media screen and (forced-colors: active) {
22
+ :root {
23
+ --highlight-bg-color: Highlight;
24
+ --highlight-selected-bg-color: ButtonText;
25
+ }
26
+ }
27
+
28
+ .textLayer {
29
+ position: absolute;
30
+ text-align: initial;
31
+ inset: 0;
32
+ overflow: hidden;
33
+ opacity: 0.25;
34
+ line-height: 1;
35
+ -webkit-text-size-adjust: none;
36
+ -moz-text-size-adjust: none;
37
+ text-size-adjust: none;
38
+ forced-color-adjust: none;
39
+ transform-origin: 0 0;
40
+ z-index: 2;
41
+ }
42
+
43
+ .textLayer :is(span, br) {
44
+ color: transparent;
45
+ position: absolute;
46
+ white-space: pre;
47
+ cursor: text;
48
+ transform-origin: 0% 0%;
49
+ }
50
+
51
+ /* Only necessary in Google Chrome, see issue 14205, and most unfortunately
52
+ * the problem doesn't show up in "text" reference tests. */
53
+ .textLayer span.markedContent {
54
+ top: 0;
55
+ height: 0;
56
+ }
57
+
58
+ .textLayer .highlight {
59
+ margin: -1px;
60
+ padding: 1px;
61
+ background-color: var(--highlight-bg-color);
62
+ border-radius: 4px;
63
+ }
64
+
65
+ .textLayer .highlight.appended {
66
+ position: initial;
67
+ }
68
+
69
+ .textLayer .highlight.begin {
70
+ border-radius: 4px 0 0 4px;
71
+ }
72
+
73
+ .textLayer .highlight.end {
74
+ border-radius: 0 4px 4px 0;
75
+ }
76
+
77
+ .textLayer .highlight.middle {
78
+ border-radius: 0;
79
+ }
80
+
81
+ .textLayer .highlight.selected {
82
+ background-color: var(--highlight-selected-bg-color);
83
+ }
84
+
85
+ .textLayer ::-moz-selection {
86
+ background: blue;
87
+ background: AccentColor;
88
+ }
89
+
90
+ .textLayer ::selection {
91
+ background: blue;
92
+ background: AccentColor;
93
+ }
94
+
95
+ /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
96
+ .textLayer br::-moz-selection {
97
+ background: transparent;
98
+ }
99
+ .textLayer br::selection {
100
+ background: transparent;
101
+ }
102
+
103
+ .textLayer .endOfContent {
104
+ display: block;
105
+ position: absolute;
106
+ inset: 100% 0 0;
107
+ z-index: -1;
108
+ cursor: default;
109
+ -webkit-user-select: none;
110
+ -moz-user-select: none;
111
+ user-select: none;
112
+ }
113
+
114
+ .textLayer .endOfContent.active {
115
+ top: 0;
116
+ }
117
+
118
+
119
+ :root {
120
+ --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
121
+ --input-focus-border-color: Highlight;
122
+ --input-focus-outline: 1px solid Canvas;
123
+ --input-unfocused-border-color: transparent;
124
+ --input-disabled-border-color: transparent;
125
+ --input-hover-border-color: black;
126
+ --link-outline: none;
127
+ }
128
+
129
+ @media screen and (forced-colors: active) {
130
+ :root {
131
+ --input-focus-border-color: CanvasText;
132
+ --input-unfocused-border-color: ActiveText;
133
+ --input-disabled-border-color: GrayText;
134
+ --input-hover-border-color: Highlight;
135
+ --link-outline: 1.5px solid LinkText;
136
+ --hcm-highligh-filter: invert(100%);
137
+ }
138
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
139
+ .annotationLayer .choiceWidgetAnnotation select:required,
140
+ .annotationLayer
141
+ .buttonWidgetAnnotation:is(.checkBox, .radioButton)
142
+ input:required {
143
+ outline: 1.5px solid selectedItem;
144
+ }
145
+
146
+ .annotationLayer .linkAnnotation:hover {
147
+ -webkit-backdrop-filter: var(--hcm-highligh-filter);
148
+ backdrop-filter: var(--hcm-highligh-filter);
149
+ }
150
+
151
+ .annotationLayer .linkAnnotation > a:hover {
152
+ opacity: 0 !important;
153
+ background: none !important;
154
+ box-shadow: none;
155
+ }
156
+
157
+ .annotationLayer .popupAnnotation .popup {
158
+ outline: calc(1.5px * var(--scale-factor)) solid CanvasText !important;
159
+ background-color: ButtonFace !important;
160
+ color: ButtonText !important;
161
+ }
162
+
163
+ .annotationLayer .highlightArea:hover::after {
164
+ position: absolute;
165
+ top: 0;
166
+ left: 0;
167
+ width: 100%;
168
+ height: 100%;
169
+ -webkit-backdrop-filter: var(--hcm-highligh-filter);
170
+ backdrop-filter: var(--hcm-highligh-filter);
171
+ content: "";
172
+ pointer-events: none;
173
+ }
174
+
175
+ .annotationLayer .popupAnnotation.focused .popup {
176
+ outline: calc(3px * var(--scale-factor)) solid Highlight !important;
177
+ }
178
+ }
179
+
180
+ .annotationLayer {
181
+ position: absolute;
182
+ top: 0;
183
+ left: 0;
184
+ pointer-events: none;
185
+ transform-origin: 0 0;
186
+ z-index: 3;
187
+ }
188
+
189
+ .annotationLayer[data-main-rotation="90"] .norotate {
190
+ transform: rotate(270deg) translateX(-100%);
191
+ }
192
+ .annotationLayer[data-main-rotation="180"] .norotate {
193
+ transform: rotate(180deg) translate(-100%, -100%);
194
+ }
195
+ .annotationLayer[data-main-rotation="270"] .norotate {
196
+ transform: rotate(90deg) translateY(-100%);
197
+ }
198
+
199
+ .annotationLayer canvas {
200
+ position: absolute;
201
+ width: 100%;
202
+ height: 100%;
203
+ pointer-events: none;
204
+ }
205
+
206
+ .annotationLayer section {
207
+ position: absolute;
208
+ text-align: initial;
209
+ pointer-events: auto;
210
+ box-sizing: border-box;
211
+ transform-origin: 0 0;
212
+ }
213
+
214
+ .annotationLayer .linkAnnotation {
215
+ outline: var(--link-outline);
216
+ }
217
+
218
+ .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
219
+ position: absolute;
220
+ font-size: 1em;
221
+ top: 0;
222
+ left: 0;
223
+ width: 100%;
224
+ height: 100%;
225
+ }
226
+
227
+ .annotationLayer
228
+ :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder)
229
+ > a:hover {
230
+ opacity: 0.2;
231
+ background-color: rgba(255, 255, 0, 1);
232
+ box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
233
+ }
234
+
235
+ .annotationLayer .linkAnnotation.hasBorder:hover {
236
+ background-color: rgba(255, 255, 0, 0.2);
237
+ }
238
+
239
+ .annotationLayer .hasBorder {
240
+ background-size: 100% 100%;
241
+ }
242
+
243
+ .annotationLayer .textAnnotation img {
244
+ position: absolute;
245
+ cursor: pointer;
246
+ width: 100%;
247
+ height: 100%;
248
+ top: 0;
249
+ left: 0;
250
+ }
251
+
252
+ .annotationLayer .textWidgetAnnotation :is(input, textarea),
253
+ .annotationLayer .choiceWidgetAnnotation select,
254
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
255
+ background-image: var(--annotation-unfocused-field-background);
256
+ border: 2px solid var(--input-unfocused-border-color);
257
+ box-sizing: border-box;
258
+ font: calc(9px * var(--scale-factor)) sans-serif;
259
+ height: 100%;
260
+ margin: 0;
261
+ vertical-align: top;
262
+ width: 100%;
263
+ }
264
+
265
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
266
+ .annotationLayer .choiceWidgetAnnotation select:required,
267
+ .annotationLayer
268
+ .buttonWidgetAnnotation:is(.checkBox, .radioButton)
269
+ input:required {
270
+ outline: 1.5px solid red;
271
+ }
272
+
273
+ .annotationLayer .choiceWidgetAnnotation select option {
274
+ padding: 0;
275
+ }
276
+
277
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
278
+ border-radius: 50%;
279
+ }
280
+
281
+ .annotationLayer .textWidgetAnnotation textarea {
282
+ resize: none;
283
+ }
284
+
285
+ .annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],
286
+ .annotationLayer .choiceWidgetAnnotation select[disabled],
287
+ .annotationLayer
288
+ .buttonWidgetAnnotation:is(.checkBox, .radioButton)
289
+ input[disabled] {
290
+ background: none;
291
+ border: 2px solid var(--input-disabled-border-color);
292
+ cursor: not-allowed;
293
+ }
294
+
295
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
296
+ .annotationLayer .choiceWidgetAnnotation select:hover,
297
+ .annotationLayer
298
+ .buttonWidgetAnnotation:is(.checkBox, .radioButton)
299
+ input:hover {
300
+ border: 2px solid var(--input-hover-border-color);
301
+ }
302
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
303
+ .annotationLayer .choiceWidgetAnnotation select:hover,
304
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
305
+ border-radius: 2px;
306
+ }
307
+
308
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
309
+ .annotationLayer .choiceWidgetAnnotation select:focus {
310
+ background: none;
311
+ border: 2px solid var(--input-focus-border-color);
312
+ border-radius: 2px;
313
+ outline: var(--input-focus-outline);
314
+ }
315
+
316
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
317
+ background-image: none;
318
+ background-color: transparent;
319
+ }
320
+
321
+ .annotationLayer .buttonWidgetAnnotation.checkBox :focus {
322
+ border: 2px solid var(--input-focus-border-color);
323
+ border-radius: 2px;
324
+ outline: var(--input-focus-outline);
325
+ }
326
+
327
+ .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
328
+ border: 2px solid var(--input-focus-border-color);
329
+ outline: var(--input-focus-outline);
330
+ }
331
+
332
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
333
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
334
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
335
+ background-color: CanvasText;
336
+ content: "";
337
+ display: block;
338
+ position: absolute;
339
+ }
340
+
341
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
342
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
343
+ height: 80%;
344
+ left: 45%;
345
+ width: 1px;
346
+ }
347
+
348
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {
349
+ transform: rotate(45deg);
350
+ }
351
+
352
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
353
+ transform: rotate(-45deg);
354
+ }
355
+
356
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
357
+ border-radius: 50%;
358
+ height: 50%;
359
+ left: 30%;
360
+ top: 20%;
361
+ width: 50%;
362
+ }
363
+
364
+ .annotationLayer .textWidgetAnnotation input.comb {
365
+ font-family: monospace;
366
+ padding-left: 2px;
367
+ padding-right: 0;
368
+ }
369
+
370
+ .annotationLayer .textWidgetAnnotation input.comb:focus {
371
+ /*
372
+ * Letter spacing is placed on the right side of each character. Hence, the
373
+ * letter spacing of the last character may be placed outside the visible
374
+ * area, causing horizontal scrolling. We avoid this by extending the width
375
+ * when the element has focus and revert this when it loses focus.
376
+ */
377
+ width: 103%;
378
+ }
379
+
380
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
381
+ -webkit-appearance: none;
382
+ -moz-appearance: none;
383
+ appearance: none;
384
+ }
385
+
386
+ .annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
387
+ height: 100%;
388
+ width: 100%;
389
+ }
390
+
391
+ .annotationLayer .popupAnnotation {
392
+ position: absolute;
393
+ font-size: calc(9px * var(--scale-factor));
394
+ pointer-events: none;
395
+ width: -moz-max-content;
396
+ width: max-content;
397
+ max-width: 45%;
398
+ height: auto;
399
+ }
400
+
401
+ .annotationLayer .popup {
402
+ background-color: rgba(255, 255, 153, 1);
403
+ box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
404
+ rgba(136, 136, 136, 1);
405
+ border-radius: calc(2px * var(--scale-factor));
406
+ outline: 1.5px solid rgb(255, 255, 74);
407
+ padding: calc(6px * var(--scale-factor));
408
+ cursor: pointer;
409
+ font: message-box;
410
+ white-space: normal;
411
+ word-wrap: break-word;
412
+ pointer-events: auto;
413
+ }
414
+
415
+ .annotationLayer .popupAnnotation.focused .popup {
416
+ outline-width: 3px;
417
+ }
418
+
419
+ .annotationLayer .popup * {
420
+ font-size: calc(9px * var(--scale-factor));
421
+ }
422
+
423
+ .annotationLayer .popup > .header {
424
+ display: inline-block;
425
+ }
426
+
427
+ .annotationLayer .popup > .header h1 {
428
+ display: inline;
429
+ }
430
+
431
+ .annotationLayer .popup > .header .popupDate {
432
+ display: inline-block;
433
+ margin-left: calc(5px * var(--scale-factor));
434
+ width: -moz-fit-content;
435
+ width: fit-content;
436
+ }
437
+
438
+ .annotationLayer .popupContent {
439
+ border-top: 1px solid rgba(51, 51, 51, 1);
440
+ margin-top: calc(2px * var(--scale-factor));
441
+ padding-top: calc(2px * var(--scale-factor));
442
+ }
443
+
444
+ .annotationLayer .richText > * {
445
+ white-space: pre-wrap;
446
+ font-size: calc(9px * var(--scale-factor));
447
+ }
448
+
449
+ .annotationLayer .highlightAnnotation,
450
+ .annotationLayer .underlineAnnotation,
451
+ .annotationLayer .squigglyAnnotation,
452
+ .annotationLayer .strikeoutAnnotation,
453
+ .annotationLayer .freeTextAnnotation,
454
+ .annotationLayer .lineAnnotation svg line,
455
+ .annotationLayer .squareAnnotation svg rect,
456
+ .annotationLayer .circleAnnotation svg ellipse,
457
+ .annotationLayer .polylineAnnotation svg polyline,
458
+ .annotationLayer .polygonAnnotation svg polygon,
459
+ .annotationLayer .caretAnnotation,
460
+ .annotationLayer .inkAnnotation svg polyline,
461
+ .annotationLayer .stampAnnotation,
462
+ .annotationLayer .fileAttachmentAnnotation {
463
+ cursor: pointer;
464
+ }
465
+
466
+ .annotationLayer section svg {
467
+ position: absolute;
468
+ width: 100%;
469
+ height: 100%;
470
+ top: 0;
471
+ left: 0;
472
+ }
473
+
474
+ .annotationLayer .annotationTextContent {
475
+ position: absolute;
476
+ width: 100%;
477
+ height: 100%;
478
+ opacity: 0;
479
+ color: transparent;
480
+ -webkit-user-select: none;
481
+ -moz-user-select: none;
482
+ user-select: none;
483
+ pointer-events: none;
484
+ }
485
+
486
+ .annotationLayer .annotationTextContent span {
487
+ width: 100%;
488
+ display: inline-block;
489
+ }
490
+
491
+ .annotationLayer svg.quadrilateralsContainer {
492
+ contain: strict;
493
+ width: 0;
494
+ height: 0;
495
+ position: absolute;
496
+ top: 0;
497
+ left: 0;
498
+ z-index: -1;
499
+ }
500
+
501
+
502
+ :root {
503
+ --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
504
+ --xfa-focus-outline: auto;
505
+ }
506
+
507
+ @media screen and (forced-colors: active) {
508
+ :root {
509
+ --xfa-focus-outline: 2px solid CanvasText;
510
+ }
511
+ .xfaLayer *:required {
512
+ outline: 1.5px solid selectedItem;
513
+ }
514
+ }
515
+
516
+ .xfaLayer {
517
+ background-color: transparent;
518
+ }
519
+
520
+ .xfaLayer .highlight {
521
+ margin: -1px;
522
+ padding: 1px;
523
+ background-color: rgba(239, 203, 237, 1);
524
+ border-radius: 4px;
525
+ }
526
+
527
+ .xfaLayer .highlight.appended {
528
+ position: initial;
529
+ }
530
+
531
+ .xfaLayer .highlight.begin {
532
+ border-radius: 4px 0 0 4px;
533
+ }
534
+
535
+ .xfaLayer .highlight.end {
536
+ border-radius: 0 4px 4px 0;
537
+ }
538
+
539
+ .xfaLayer .highlight.middle {
540
+ border-radius: 0;
541
+ }
542
+
543
+ .xfaLayer .highlight.selected {
544
+ background-color: rgba(203, 223, 203, 1);
545
+ }
546
+
547
+ .xfaPage {
548
+ overflow: hidden;
549
+ position: relative;
550
+ }
551
+
552
+ .xfaContentarea {
553
+ position: absolute;
554
+ }
555
+
556
+ .xfaPrintOnly {
557
+ display: none;
558
+ }
559
+
560
+ .xfaLayer {
561
+ position: absolute;
562
+ text-align: initial;
563
+ top: 0;
564
+ left: 0;
565
+ transform-origin: 0 0;
566
+ line-height: 1.2;
567
+ }
568
+
569
+ .xfaLayer * {
570
+ color: inherit;
571
+ font: inherit;
572
+ font-style: inherit;
573
+ font-weight: inherit;
574
+ font-kerning: inherit;
575
+ letter-spacing: -0.01px;
576
+ text-align: inherit;
577
+ text-decoration: inherit;
578
+ box-sizing: border-box;
579
+ background-color: transparent;
580
+ padding: 0;
581
+ margin: 0;
582
+ pointer-events: auto;
583
+ line-height: inherit;
584
+ }
585
+
586
+ .xfaLayer *:required {
587
+ outline: 1.5px solid red;
588
+ }
589
+
590
+ .xfaLayer div,
591
+ .xfaLayer svg,
592
+ .xfaLayer svg * {
593
+ pointer-events: none;
594
+ }
595
+
596
+ .xfaLayer a {
597
+ color: blue;
598
+ }
599
+
600
+ .xfaRich li {
601
+ margin-left: 3em;
602
+ }
603
+
604
+ .xfaFont {
605
+ color: black;
606
+ font-weight: normal;
607
+ font-kerning: none;
608
+ font-size: 10px;
609
+ font-style: normal;
610
+ letter-spacing: 0;
611
+ text-decoration: none;
612
+ vertical-align: 0;
613
+ }
614
+
615
+ .xfaCaption {
616
+ overflow: hidden;
617
+ flex: 0 0 auto;
618
+ }
619
+
620
+ .xfaCaptionForCheckButton {
621
+ overflow: hidden;
622
+ flex: 1 1 auto;
623
+ }
624
+
625
+ .xfaLabel {
626
+ height: 100%;
627
+ width: 100%;
628
+ }
629
+
630
+ .xfaLeft {
631
+ display: flex;
632
+ flex-direction: row;
633
+ align-items: center;
634
+ }
635
+
636
+ .xfaRight {
637
+ display: flex;
638
+ flex-direction: row-reverse;
639
+ align-items: center;
640
+ }
641
+
642
+ :is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton) {
643
+ max-height: 100%;
644
+ }
645
+
646
+ .xfaTop {
647
+ display: flex;
648
+ flex-direction: column;
649
+ align-items: flex-start;
650
+ }
651
+
652
+ .xfaBottom {
653
+ display: flex;
654
+ flex-direction: column-reverse;
655
+ align-items: flex-start;
656
+ }
657
+
658
+ :is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton) {
659
+ width: 100%;
660
+ }
661
+
662
+ .xfaBorder {
663
+ background-color: transparent;
664
+ position: absolute;
665
+ pointer-events: none;
666
+ }
667
+
668
+ .xfaWrapped {
669
+ width: 100%;
670
+ height: 100%;
671
+ }
672
+
673
+ :is(.xfaTextfield, .xfaSelect):focus {
674
+ background-image: none;
675
+ background-color: transparent;
676
+ outline: var(--xfa-focus-outline);
677
+ outline-offset: -1px;
678
+ }
679
+
680
+ :is(.xfaCheckbox, .xfaRadio):focus {
681
+ outline: var(--xfa-focus-outline);
682
+ }
683
+
684
+ .xfaTextfield,
685
+ .xfaSelect {
686
+ height: 100%;
687
+ width: 100%;
688
+ flex: 1 1 auto;
689
+ border: none;
690
+ resize: none;
691
+ background-image: var(--xfa-unfocused-field-background);
692
+ }
693
+
694
+ .xfaSelect {
695
+ padding-inline: 2px;
696
+ }
697
+
698
+ :is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect) {
699
+ flex: 0 1 auto;
700
+ }
701
+
702
+ .xfaButton {
703
+ cursor: pointer;
704
+ width: 100%;
705
+ height: 100%;
706
+ border: none;
707
+ text-align: center;
708
+ }
709
+
710
+ .xfaLink {
711
+ width: 100%;
712
+ height: 100%;
713
+ position: absolute;
714
+ top: 0;
715
+ left: 0;
716
+ }
717
+
718
+ .xfaCheckbox,
719
+ .xfaRadio {
720
+ width: 100%;
721
+ height: 100%;
722
+ flex: 0 0 auto;
723
+ border: none;
724
+ }
725
+
726
+ .xfaRich {
727
+ white-space: pre-wrap;
728
+ width: 100%;
729
+ height: 100%;
730
+ }
731
+
732
+ .xfaImage {
733
+ -o-object-position: left top;
734
+ object-position: left top;
735
+ -o-object-fit: contain;
736
+ object-fit: contain;
737
+ width: 100%;
738
+ height: 100%;
739
+ }
740
+
741
+ .xfaLrTb,
742
+ .xfaRlTb,
743
+ .xfaTb {
744
+ display: flex;
745
+ flex-direction: column;
746
+ align-items: stretch;
747
+ }
748
+
749
+ .xfaLr {
750
+ display: flex;
751
+ flex-direction: row;
752
+ align-items: stretch;
753
+ }
754
+
755
+ .xfaRl {
756
+ display: flex;
757
+ flex-direction: row-reverse;
758
+ align-items: stretch;
759
+ }
760
+
761
+ .xfaTb > div {
762
+ justify-content: left;
763
+ }
764
+
765
+ .xfaPosition {
766
+ position: relative;
767
+ }
768
+
769
+ .xfaArea {
770
+ position: relative;
771
+ }
772
+
773
+ .xfaValignMiddle {
774
+ display: flex;
775
+ align-items: center;
776
+ }
777
+
778
+ .xfaTable {
779
+ display: flex;
780
+ flex-direction: column;
781
+ align-items: stretch;
782
+ }
783
+
784
+ .xfaTable .xfaRow {
785
+ display: flex;
786
+ flex-direction: row;
787
+ align-items: stretch;
788
+ }
789
+
790
+ .xfaTable .xfaRlRow {
791
+ display: flex;
792
+ flex-direction: row-reverse;
793
+ align-items: stretch;
794
+ flex: 1;
795
+ }
796
+
797
+ .xfaTable .xfaRlRow > div {
798
+ flex: 1;
799
+ }
800
+
801
+ :is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea) {
802
+ background: initial;
803
+ }
804
+
805
+ @media print {
806
+ .xfaTextfield,
807
+ .xfaSelect {
808
+ background: transparent;
809
+ }
810
+
811
+ .xfaSelect {
812
+ -webkit-appearance: none;
813
+ -moz-appearance: none;
814
+ appearance: none;
815
+ text-indent: 1px;
816
+ text-overflow: "";
817
+ }
818
+ }
819
+
820
+
821
+ :root {
822
+ --outline-width: 2px;
823
+ --outline-color: blue;
824
+ --focus-outline: solid var(--outline-width) var(--outline-color);
825
+ --hover-outline: dashed var(--outline-width) var(--outline-color);
826
+ --freetext-line-height: 1.35;
827
+ --freetext-padding: 2px;
828
+ --resizer-size: 8px;
829
+ --resizer-shift: calc(
830
+ 0px - var(--outline-width) - var(--resizer-size) / 2 - var(--outline-width) /
831
+ 2
832
+ );
833
+ --resizer-color: white;
834
+ --editorFreeText-editing-cursor: text;
835
+ --editorInk-editing-cursor: pointer;
836
+ }
837
+
838
+ @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx) {
839
+ :root {
840
+ }
841
+ }
842
+
843
+ @media screen and (forced-colors: active) {
844
+ :root {
845
+ --outline-width: 3px;
846
+ --outline-color: ButtonText;
847
+ --resizer-size: 12px;
848
+ --resizer-color: ButtonFace;
849
+ }
850
+ }
851
+
852
+ [data-editor-rotation="90"] {
853
+ transform: rotate(90deg);
854
+ }
855
+ [data-editor-rotation="180"] {
856
+ transform: rotate(180deg);
857
+ }
858
+ [data-editor-rotation="270"] {
859
+ transform: rotate(270deg);
860
+ }
861
+
862
+ .annotationEditorLayer {
863
+ background: transparent;
864
+ position: absolute;
865
+ inset: 0;
866
+ font-size: calc(100px * var(--scale-factor));
867
+ transform-origin: 0 0;
868
+ cursor: auto;
869
+ z-index: 4;
870
+ }
871
+
872
+ .annotationEditorLayer.waiting {
873
+ content: "";
874
+ cursor: wait;
875
+ position: absolute;
876
+ inset: 0;
877
+ width: 100%;
878
+ height: 100%;
879
+ }
880
+
881
+ .annotationEditorLayer.freeTextEditing {
882
+ cursor: var(--editorFreeText-editing-cursor);
883
+ }
884
+
885
+ .annotationEditorLayer.inkEditing {
886
+ cursor: var(--editorInk-editing-cursor);
887
+ }
888
+
889
+ .annotationEditorLayer
890
+ :is(.freeTextEditor, .inkEditor, .stampEditor).draggable.selectedEditor {
891
+ cursor: move;
892
+ }
893
+
894
+ .annotationEditorLayer .selectedEditor {
895
+ outline: var(--focus-outline);
896
+ }
897
+
898
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) {
899
+ position: absolute;
900
+ background: transparent;
901
+ border-radius: 3px;
902
+ z-index: 1;
903
+ transform-origin: 0 0;
904
+ cursor: auto;
905
+ max-width: 100%;
906
+ max-height: 100%;
907
+ }
908
+
909
+ .annotationEditorLayer .freeTextEditor {
910
+ padding: calc(var(--freetext-padding) * var(--scale-factor));
911
+ width: auto;
912
+ height: auto;
913
+ touch-action: none;
914
+ }
915
+
916
+ .annotationEditorLayer .freeTextEditor .internal {
917
+ background: transparent;
918
+ border: none;
919
+ inset: 0;
920
+ overflow: visible;
921
+ white-space: nowrap;
922
+ font: 10px sans-serif;
923
+ line-height: var(--freetext-line-height);
924
+ -webkit-user-select: none;
925
+ -moz-user-select: none;
926
+ user-select: none;
927
+ }
928
+
929
+ .annotationEditorLayer .freeTextEditor .overlay {
930
+ position: absolute;
931
+ display: none;
932
+ background: transparent;
933
+ inset: 0;
934
+ width: 100%;
935
+ height: 100%;
936
+ }
937
+
938
+ .annotationEditorLayer .freeTextEditor .overlay.enabled {
939
+ display: block;
940
+ }
941
+
942
+ .annotationEditorLayer .freeTextEditor .internal:empty::before {
943
+ content: attr(default-content);
944
+ color: gray;
945
+ }
946
+
947
+ .annotationEditorLayer .freeTextEditor .internal:focus {
948
+ outline: none;
949
+ -webkit-user-select: auto;
950
+ -moz-user-select: auto;
951
+ user-select: auto;
952
+ }
953
+
954
+ .annotationEditorLayer
955
+ :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor) {
956
+ outline: var(--hover-outline);
957
+ }
958
+
959
+ .annotationEditorLayer .inkEditor {
960
+ width: 100%;
961
+ height: 100%;
962
+ }
963
+
964
+ .annotationEditorLayer .inkEditor.editing {
965
+ cursor: inherit;
966
+ }
967
+
968
+ .annotationEditorLayer .inkEditor .inkEditorCanvas {
969
+ position: absolute;
970
+ inset: 0;
971
+ width: 100%;
972
+ height: 100%;
973
+ touch-action: none;
974
+ }
975
+
976
+ .annotationEditorLayer .stampEditor {
977
+ width: auto;
978
+ height: auto;
979
+ }
980
+
981
+ .annotationEditorLayer .stampEditor canvas {
982
+ width: 100%;
983
+ height: 100%;
984
+ }
985
+
986
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers {
987
+ width: 100%;
988
+ height: 100%;
989
+ position: absolute;
990
+ inset: 0;
991
+ }
992
+
993
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden {
994
+ display: none;
995
+ }
996
+
997
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer {
998
+ width: var(--resizer-size);
999
+ height: var(--resizer-size);
1000
+ border-radius: 50%;
1001
+ background: var(--resizer-color);
1002
+ border: var(--focus-outline);
1003
+ position: absolute;
1004
+ }
1005
+
1006
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft {
1007
+ top: var(--resizer-shift);
1008
+ left: var(--resizer-shift);
1009
+ }
1010
+
1011
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle {
1012
+ top: var(--resizer-shift);
1013
+ left: calc(50% + var(--resizer-shift));
1014
+ }
1015
+
1016
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight {
1017
+ top: var(--resizer-shift);
1018
+ right: var(--resizer-shift);
1019
+ }
1020
+
1021
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight {
1022
+ top: calc(50% + var(--resizer-shift));
1023
+ right: var(--resizer-shift);
1024
+ }
1025
+
1026
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight {
1027
+ bottom: var(--resizer-shift);
1028
+ right: var(--resizer-shift);
1029
+ }
1030
+
1031
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle {
1032
+ bottom: var(--resizer-shift);
1033
+ left: calc(50% + var(--resizer-shift));
1034
+ }
1035
+
1036
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft {
1037
+ bottom: var(--resizer-shift);
1038
+ left: var(--resizer-shift);
1039
+ }
1040
+
1041
+ .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft {
1042
+ top: calc(50% + var(--resizer-shift));
1043
+ left: var(--resizer-shift);
1044
+ }
1045
+
1046
+ .annotationEditorLayer[data-main-rotation="0"]
1047
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
1048
+ .annotationEditorLayer[data-main-rotation="90"]
1049
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
1050
+ .annotationEditorLayer[data-main-rotation="180"]
1051
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
1052
+ .annotationEditorLayer[data-main-rotation="270"]
1053
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
1054
+ .annotationEditorLayer[data-main-rotation="0"]
1055
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
1056
+ .annotationEditorLayer[data-main-rotation="90"]
1057
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
1058
+ .annotationEditorLayer[data-main-rotation="180"]
1059
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight,
1060
+ .annotationEditorLayer[data-main-rotation="270"]
1061
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight {
1062
+ cursor: nwse-resize;
1063
+ }
1064
+
1065
+ .annotationEditorLayer[data-main-rotation="0"]
1066
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
1067
+ .annotationEditorLayer[data-main-rotation="90"]
1068
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
1069
+ .annotationEditorLayer[data-main-rotation="180"]
1070
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
1071
+ .annotationEditorLayer[data-main-rotation="270"]
1072
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
1073
+ .annotationEditorLayer[data-main-rotation="0"]
1074
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
1075
+ .annotationEditorLayer[data-main-rotation="90"]
1076
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
1077
+ .annotationEditorLayer[data-main-rotation="180"]
1078
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle,
1079
+ .annotationEditorLayer[data-main-rotation="270"]
1080
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle {
1081
+ cursor: ns-resize;
1082
+ }
1083
+
1084
+ .annotationEditorLayer[data-main-rotation="0"]
1085
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
1086
+ .annotationEditorLayer[data-main-rotation="90"]
1087
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
1088
+ .annotationEditorLayer[data-main-rotation="180"]
1089
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
1090
+ .annotationEditorLayer[data-main-rotation="270"]
1091
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
1092
+ .annotationEditorLayer[data-main-rotation="0"]
1093
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
1094
+ .annotationEditorLayer[data-main-rotation="90"]
1095
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
1096
+ .annotationEditorLayer[data-main-rotation="180"]
1097
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft,
1098
+ .annotationEditorLayer[data-main-rotation="270"]
1099
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft {
1100
+ cursor: nesw-resize;
1101
+ }
1102
+
1103
+ .annotationEditorLayer[data-main-rotation="0"]
1104
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
1105
+ .annotationEditorLayer[data-main-rotation="90"]
1106
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
1107
+ .annotationEditorLayer[data-main-rotation="180"]
1108
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
1109
+ .annotationEditorLayer[data-main-rotation="270"]
1110
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
1111
+ .annotationEditorLayer[data-main-rotation="0"]
1112
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
1113
+ .annotationEditorLayer[data-main-rotation="90"]
1114
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
1115
+ .annotationEditorLayer[data-main-rotation="180"]
1116
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft,
1117
+ .annotationEditorLayer[data-main-rotation="270"]
1118
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft {
1119
+ cursor: ew-resize;
1120
+ }
1121
+
1122
+ .annotationEditorLayer[data-main-rotation="0"]
1123
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
1124
+ .annotationEditorLayer[data-main-rotation="90"]
1125
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
1126
+ .annotationEditorLayer[data-main-rotation="180"]
1127
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
1128
+ .annotationEditorLayer[data-main-rotation="270"]
1129
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
1130
+ .annotationEditorLayer[data-main-rotation="0"]
1131
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight,
1132
+ .annotationEditorLayer[data-main-rotation="90"]
1133
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
1134
+ .annotationEditorLayer[data-main-rotation="180"]
1135
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
1136
+ .annotationEditorLayer[data-main-rotation="270"]
1137
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight {
1138
+ cursor: nesw-resize;
1139
+ }
1140
+
1141
+ .annotationEditorLayer[data-main-rotation="0"]
1142
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
1143
+ .annotationEditorLayer[data-main-rotation="90"]
1144
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
1145
+ .annotationEditorLayer[data-main-rotation="180"]
1146
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
1147
+ .annotationEditorLayer[data-main-rotation="270"]
1148
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
1149
+ .annotationEditorLayer[data-main-rotation="0"]
1150
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle,
1151
+ .annotationEditorLayer[data-main-rotation="90"]
1152
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
1153
+ .annotationEditorLayer[data-main-rotation="180"]
1154
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
1155
+ .annotationEditorLayer[data-main-rotation="270"]
1156
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle {
1157
+ cursor: ew-resize;
1158
+ }
1159
+
1160
+ .annotationEditorLayer[data-main-rotation="0"]
1161
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
1162
+ .annotationEditorLayer[data-main-rotation="90"]
1163
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
1164
+ .annotationEditorLayer[data-main-rotation="180"]
1165
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
1166
+ .annotationEditorLayer[data-main-rotation="270"]
1167
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
1168
+ .annotationEditorLayer[data-main-rotation="0"]
1169
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft,
1170
+ .annotationEditorLayer[data-main-rotation="90"]
1171
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
1172
+ .annotationEditorLayer[data-main-rotation="180"]
1173
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
1174
+ .annotationEditorLayer[data-main-rotation="270"]
1175
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft {
1176
+ cursor: nwse-resize;
1177
+ }
1178
+
1179
+ .annotationEditorLayer[data-main-rotation="0"]
1180
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
1181
+ .annotationEditorLayer[data-main-rotation="90"]
1182
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
1183
+ .annotationEditorLayer[data-main-rotation="180"]
1184
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
1185
+ .annotationEditorLayer[data-main-rotation="270"]
1186
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
1187
+ .annotationEditorLayer[data-main-rotation="0"]
1188
+ :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft,
1189
+ .annotationEditorLayer[data-main-rotation="90"]
1190
+ :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
1191
+ .annotationEditorLayer[data-main-rotation="180"]
1192
+ :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
1193
+ .annotationEditorLayer[data-main-rotation="270"]
1194
+ :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft {
1195
+ cursor: ns-resize;
1196
+ }
1197
+
1198
+ :root {
1199
+ --viewer-container-height: 0;
1200
+ --pdfViewer-padding-bottom: 0;
1201
+ --page-margin: 1px auto -8px;
1202
+ --page-border: 9px solid transparent;
1203
+ --spreadHorizontalWrapped-margin-LR: -3.5px;
1204
+ --loading-icon-delay: 400ms;
1205
+ }
1206
+
1207
+ @media screen and (forced-colors: active) {
1208
+ :root {
1209
+ --pdfViewer-padding-bottom: 9px;
1210
+ --page-margin: 8px auto -1px;
1211
+ --page-border: 1px solid CanvasText;
1212
+ --spreadHorizontalWrapped-margin-LR: 3.5px;
1213
+ }
1214
+ }
1215
+
1216
+ [data-main-rotation="90"] {
1217
+ transform: rotate(90deg) translateY(-100%);
1218
+ }
1219
+ [data-main-rotation="180"] {
1220
+ transform: rotate(180deg) translate(-100%, -100%);
1221
+ }
1222
+ [data-main-rotation="270"] {
1223
+ transform: rotate(270deg) translateX(-100%);
1224
+ }
1225
+
1226
+ #hiddenCopyElement {
1227
+ position: absolute;
1228
+ top: 0;
1229
+ left: 0;
1230
+ width: 0;
1231
+ height: 0;
1232
+ display: none;
1233
+ }
1234
+
1235
+ .pdfViewer {
1236
+ /* Define this variable here and not in :root to avoid to reflow all the UI
1237
+ when scaling (see #15929). */
1238
+ --scale-factor: 1;
1239
+
1240
+ padding-bottom: var(--pdfViewer-padding-bottom);
1241
+ }
1242
+
1243
+ .pdfViewer .canvasWrapper {
1244
+ overflow: hidden;
1245
+ width: 100%;
1246
+ height: 100%;
1247
+ z-index: 1;
1248
+ }
1249
+
1250
+ .pdfViewer .page {
1251
+ direction: ltr;
1252
+ width: 816px;
1253
+ height: 1056px;
1254
+ margin: var(--page-margin);
1255
+ position: relative;
1256
+ overflow: visible;
1257
+ border: var(--page-border);
1258
+ background-clip: content-box;
1259
+ background-color: rgba(255, 255, 255, 1);
1260
+ }
1261
+
1262
+ .pdfViewer .dummyPage {
1263
+ position: relative;
1264
+ width: 0;
1265
+ height: var(--viewer-container-height);
1266
+ }
1267
+
1268
+ .pdfViewer.noUserSelect {
1269
+ -webkit-user-select: none;
1270
+ -moz-user-select: none;
1271
+ user-select: none;
1272
+ }
1273
+
1274
+ .pdfViewer.removePageBorders .page {
1275
+ margin: 0 auto 10px;
1276
+ border: none;
1277
+ }
1278
+
1279
+ .pdfViewer.singlePageView {
1280
+ display: inline-block;
1281
+ }
1282
+
1283
+ .pdfViewer.singlePageView .page {
1284
+ margin: 0;
1285
+ border: none;
1286
+ }
1287
+
1288
+ .pdfViewer:is(.scrollHorizontal, .scrollWrapped),
1289
+ .spread {
1290
+ margin-inline: 3.5px;
1291
+ text-align: center;
1292
+ }
1293
+
1294
+ .pdfViewer.scrollHorizontal,
1295
+ .spread {
1296
+ white-space: nowrap;
1297
+ }
1298
+
1299
+ .pdfViewer.removePageBorders,
1300
+ .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread {
1301
+ margin-inline: 0;
1302
+ }
1303
+
1304
+ .spread :is(.page, .dummyPage),
1305
+ .pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread) {
1306
+ display: inline-block;
1307
+ vertical-align: middle;
1308
+ }
1309
+
1310
+ .spread .page,
1311
+ .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page {
1312
+ margin-inline: var(--spreadHorizontalWrapped-margin-LR);
1313
+ }
1314
+
1315
+ .pdfViewer.removePageBorders .spread .page,
1316
+ .pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page {
1317
+ margin-inline: 5px;
1318
+ }
1319
+
1320
+ .pdfViewer .page canvas {
1321
+ margin: 0;
1322
+ display: block;
1323
+ }
1324
+
1325
+ .pdfViewer .page canvas .structTree {
1326
+ contain: strict;
1327
+ }
1328
+
1329
+ .pdfViewer .page canvas[hidden] {
1330
+ display: none;
1331
+ }
1332
+
1333
+ .pdfViewer .page canvas[zooming] {
1334
+ width: 100%;
1335
+ height: 100%;
1336
+ }
1337
+
1338
+ .pdfViewer .page.loadingIcon::after {
1339
+ position: absolute;
1340
+ top: 0;
1341
+ left: 0;
1342
+ content: "";
1343
+ width: 100%;
1344
+ height: 100%;
1345
+ background: url("images/loading-icon.gif") center no-repeat;
1346
+ display: none;
1347
+ /* Using a delay with background-image doesn't work,
1348
+ consequently we use the display. */
1349
+ transition-property: display;
1350
+ transition-delay: var(--loading-icon-delay);
1351
+ z-index: 5;
1352
+ contain: strict;
1353
+ }
1354
+
1355
+ .pdfViewer .page.loading::after {
1356
+ display: block;
1357
+ }
1358
+
1359
+ .pdfViewer .page:not(.loading)::after {
1360
+ transition-property: none;
1361
+ display: none;
1362
+ }
1363
+
1364
+ .pdfPresentationMode .pdfViewer {
1365
+ padding-bottom: 0;
1366
+ }
1367
+
1368
+ .pdfPresentationMode .spread {
1369
+ margin: 0;
1370
+ }
1371
+
1372
+ .pdfPresentationMode .pdfViewer .page {
1373
+ margin: 0 auto;
1374
+ border: 2px solid transparent;
1375
+ }