PageSourceSearch

https://api.aklamio.com/assets/current/npm.react-pdf-9.2.1_-types-…om-18.2.0_react-18.2.0__react-18.2.0.min.js

js aklamio.com collected 2026-09-29 12:12:11 UTC 51,220 bytes, 9 lines download raw bytes

1/*!
2 * @aklamio/aklamio.js - The mono repository that contains all js functionality and libraries of Aklamio.
3 * @version v4.5.20
4 * @link https://www.aklamio.com
5 * @license Copyright (c) Aklamio 2017 - 2020
6 * @environment: production
7 */
8(self.aklWebpackJsonp=self.aklWebpackJsonp||[]).push([[7593],{590707:(n,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>a});var o=t(422077),r=t.n(o)()(!0);r.push([n.id,"/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n  --react-pdf-annotation-layer: 1;\n  --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>\");\n  --input-focus-border-color: Highlight;\n  --input-focus-outline: 1px solid Canvas;\n  --input-unfocused-border-color: transparent;\n  --input-disabled-border-color: transparent;\n  --input-hover-border-color: black;\n  --link-outline: none;\n}\n\n@media screen and (forced-colors: active) {\n  :root {\n    --input-focus-border-color: CanvasText;\n    --input-unfocused-border-color: ActiveText;\n    --input-disabled-border-color: GrayText;\n    --input-hover-border-color: Highlight;\n    --link-outline: 1.5px solid LinkText;\n  }\n  .annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n  .annotationLayer .choiceWidgetAnnotation select:required,\n  .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n    outline: 1.5px solid selectedItem;\n  }\n\n  .annotationLayer .linkAnnotation:hover {\n    backdrop-filter: invert(100%);\n  }\n}\n\n.annotationLayer {\n  position: absolute;\n  top: 0;\n  left: 0;\n  pointer-events: none;\n  transform-origin: 0 0;\n  z-index: 3;\n}\n\n.annotationLayer[data-main-rotation='90'] .norotate {\n  transform: rotate(270deg) translateX(-100%);\n}\n.annotationLayer[data-main-rotation='180'] .norotate {\n  transform: rotate(180deg) translate(-100%, -100%);\n}\n.annotationLayer[data-main-rotation='270'] .norotate {\n  transform: rotate(90deg) translateY(-100%);\n}\n\n.annotationLayer canvas {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n\n.annotationLayer section {\n  position: absolute;\n  text-align: initial;\n  pointer-events: auto;\n  box-sizing: border-box;\n  margin: 0;\n  transform-origin: 0 0;\n}\n\n.annotationLayer .linkAnnotation {\n  outline: var(--link-outline);\n}\n\n.textLayer.selecting ~ .annotationLayer section {\n  pointer-events: none;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {\n  position: absolute;\n  font-size: 1em;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {\n  opacity: 0.2;\n  background: rgba(255, 255, 0, 1);\n  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);\n}\n\n.annotationLayer .textAnnotation img {\n  position: absolute;\n  cursor: pointer;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea),\n.annotationLayer .choiceWidgetAnnotation select,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n  background-image: var(--annotation-unfocused-field-background);\n  border: 2px solid var(--input-unfocused-border-color);\n  box-sizing: border-box;\n  font: calc(9px * var(--scale-factor)) sans-serif;\n  height: 100%;\n  margin: 0;\n  vertical-align: top;\n  width: 100%;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n.annotationLayer .choiceWidgetAnnotation select:required,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n  outline: 1.5px solid red;\n}\n\n.annotationLayer .choiceWidgetAnnotation select option {\n  padding: 0;\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\n  border-radius: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation textarea {\n  resize: none;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],\n.annotationLayer .choiceWidgetAnnotation select[disabled],\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {\n  background: none;\n  border: 2px solid var(--input-disabled-border-color);
8\n  cursor: not-allowed;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {\n  border: 2px solid var(--input-hover-border-color);\n}\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {\n  border-radius: 2px;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,\n.annotationLayer .choiceWidgetAnnotation select:focus {\n  background: none;\n  border: 2px solid var(--input-focus-border-color);\n  border-radius: 2px;\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {\n  background-image: none;\n  background-color: transparent;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox :focus {\n  border: 2px solid var(--input-focus-border-color);\n  border-radius: 2px;\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton :focus {\n  border: 2px solid var(--input-focus-border-color);\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n  background-color: CanvasText;\n  content: '';\n  display: block;\n  position: absolute;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n  height: 80%;\n  left: 45%;\n  width: 1px;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {\n  transform: rotate(45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n  transform: rotate(-45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n  border-radius: 50%;\n  height: 50%;\n  left: 30%;\n  top: 20%;\n  width: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb {\n  font-family: monospace;\n  padding-left: 2px;\n  padding-right: 0;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb:focus {\n  /*\n   * Letter spacing is placed on the right side of each character. Hence, the\n   * letter spacing of the last character may be placed outside the visible\n   * area, causing horizontal scrolling. We avoid this by extending the width\n   * when the element has focus and revert this when it loses focus.\n   */\n  width: 103%;\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n  appearance: none;\n}\n\n.annotationLayer .popupTriggerArea {\n  height: 100%;\n  width: 100%;\n}\n\n.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {\n  position: absolute;\n}\n\n.annotationLayer .popupWrapper {\n  position: absolute;\n  font-size: calc(9px * var(--scale-factor));\n  width: 100%;\n  min-width: calc(180px * var(--scale-factor));\n  pointer-events: none;\n}\n\n.annotationLayer .popup {\n  position: absolute;\n  max-width: calc(180px * var(--scale-factor));\n  background-color: rgba(255, 255, 153, 1);\n  box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))\n    rgba(136, 136, 136, 1);\n  border-radius: calc(2px * var(--scale-factor));\n  padding: calc(6px * var(--scale-factor));\n  margin-left: calc(5px * var(--scale-factor));\n  cursor: pointer;\n  font: message-box;\n  white-space: normal;\n  word-wrap: break-word;\n  pointer-events: auto;\n}\n\n.annotationLayer .popup > * {\n  font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .popup h1 {\n  display: inline-block;\n}\n\n.annotationLayer .popupDate {\n  display: inline-block;\n  margin-left: calc(5px * var(--scale-factor));\n}\n\n.annotationLayer .popupContent {\n  border-top: 1px solid rgba(51, 51, 51, 1);\n  margin-top: calc(2px * var(--scale-factor));\n  padding-top: calc(2px * var(--scale-factor));\n}\n\n.annotationLayer .richText > * {\n  white-space: pre-wrap;\n  font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .highlightAnnotation,\n.annotationLayer .underlineAnnotation,\n.annotationLayer .squigglyAnnotation,\n.annotationLayer .strikeoutAnnotation,\n.annotationLayer .freeTextAnnotation,\n.annotationLayer .lineAnnotation svg line,\n.annotationLayer .squareAnnotation svg rect,\n.annotationLayer .circleAnnotation svg ellipse,\n.annotationLayer .polylineAnnotation svg polyline,\n.annotationLayer .polygonAnnotation svg polygon,\n.annotationLayer .caretAnnotation,\n.annotationLayer .inkAnnotation svg polyline,\n.annotationLayer .stampAnnotation,\n.annotationLayer .fileAttachmentAnnotation {\n  cursor: pointer;\n}\n\n.annotationLayer section svg {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n}\n\n.annotationLayer .annotationTextContent {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  color: transparent;\n  user-select: none;\n  pointer-events: none;\n}\n\n.annotationLayer .annotationTextContent span {\n  width: 100%;\n  display: inline-block;\n}\n","",{version:3,sources:["webpack://node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css"],names:[],mappings:"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",sourcesContent:["/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n  --react-pdf-annotation-layer: 1;\n  --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>\");\n  --input-focus-border-color: Highlight;\n  --input-focus-outline: 1px solid Canvas;\n  --input-unfocused-border-color: transparent;\n  --input-disabled-border-color: transparent;\n  --input-hover-border-color: black;\n  --link-outline: none;\n}\n\n@media screen and (forced-colors: active) {\n  :root {\n    --input-focus-border-color: CanvasText;\n    --input-unfocused-border-color: ActiveText;\n    --input-disabled-border-color: GrayText;\n    --input-hover-border-color: Highlight;\n    --link-outline: 1.5px solid LinkText;\n  }\n  .annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n  .annotationLayer .choiceWidgetAnnotation select:required,\n  .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n    outline: 1.5px solid selectedItem;\n  }\n\n  .annotationLayer .linkAnnotation:hover {\n    backdrop-filter: invert(100%);\n  }\n}\n\n.annotationLayer {\n  position: absolute;\n  top: 0;\n  left: 0;\n  pointer-events: none;\n  transform-origin: 0 0;\n  z-index: 3;\n}\n\n.annotationLayer[data-main-rotation='90'] .norotate {\n  transform: rotate(270deg) translateX(-100%);\n}\n.annotationLayer[data-main-rotation='180'] .norotate {\n  transform: rotate(180deg) translate(-100%, -100%);\n}\n.annotationLayer[data-main-rotation='270'] .norotate {\n  transform: rotate(90deg) translateY(-100%);\n}\n\n.annotationLayer canvas {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n\n.annotationLayer section {\n  position: absolute;\n  text-align: initial;\n  pointer-events: auto;\n  box-sizing: border-box;\n  margin: 0;\n  transform-origin: 0 0;\n}\n\n.annotationLayer .linkAnnotation {\n  outline: var(--link-outline);\n}\n\n.textLayer.selecting ~ .annotationLayer section {\n  pointer-events: none;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {\n  position: absolute;\n  font-size: 1em;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {\n  opacity: 0.2;\n  background: rgba(255, 255, 0, 1);\n  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);\n}\n\n.annotationLayer .textAnnotation img {\n  position: absolute;\n  cursor: pointer;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea),\n.annotationLayer .choiceWidgetAnnotation select,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n  background-image: var(--annotation-unfocused-field-background);\n  border: 2px solid var(--input-unfocused-border-color);\n  box-sizing: border-box;\n  font: calc(9px * var(--scale-factor)) sans-serif;\n  height: 100%;\n  margin: 0;\n  vertical-align: top;\n  width: 100%;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n.annotationLayer .choiceWidgetAnnotation select:required,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n  outline: 1.5px solid red;\n}\n\n.annotationLayer .choiceWidgetAnnotation select option {\n  padding: 0;\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\n  border-radius: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation textarea {\n  resize: none;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],\n.annotationLayer .choiceWidgetAnnotation select[disabled],\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {\n  background: none;\n  border: 2px solid var(--input-disabled-border-color);
8\n  cursor: not-allowed;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {\n  border: 2px solid var(--input-hover-border-color);\n}\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {\n  border-radius: 2px;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,\n.annotationLayer .choiceWidgetAnnotation select:focus {\n  background: none;\n  border: 2px solid var(--input-focus-border-color);\n  border-radius: 2px;\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {\n  background-image: none;\n  background-color: transparent;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox :focus {\n  border: 2px solid var(--input-focus-border-color);\n  border-radius: 2px;\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton :focus {\n  border: 2px solid var(--input-focus-border-color);\n  outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n  background-color: CanvasText;\n  content: '';\n  display: block;\n  position: absolute;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n  height: 80%;\n  left: 45%;\n  width: 1px;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {\n  transform: rotate(45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n  transform: rotate(-45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n  border-radius: 50%;\n  height: 50%;\n  left: 30%;\n  top: 20%;\n  width: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb {\n  font-family: monospace;\n  padding-left: 2px;\n  padding-right: 0;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb:focus {\n  /*\n   * Letter spacing is placed on the right side of each character. Hence, the\n   * letter spacing of the last character may be placed outside the visible\n   * area, causing horizontal scrolling. We avoid this by extending the width\n   * when the element has focus and revert this when it loses focus.\n   */\n  width: 103%;\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n  appearance: none;\n}\n\n.annotationLayer .popupTriggerArea {\n  height: 100%;\n  width: 100%;\n}\n\n.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {\n  position: absolute;\n}\n\n.annotationLayer .popupWrapper {\n  position: absolute;\n  font-size: calc(9px * var(--scale-factor));\n  width: 100%;\n  min-width: calc(180px * var(--scale-factor));\n  pointer-events: none;\n}\n\n.annotationLayer .popup {\n  position: absolute;\n  max-width: calc(180px * var(--scale-factor));\n  background-color: rgba(255, 255, 153, 1);\n  box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))\n    rgba(136, 136, 136, 1);\n  border-radius: calc(2px * var(--scale-factor));\n  padding: calc(6px * var(--scale-factor));\n  margin-left: calc(5px * var(--scale-factor));\n  cursor: pointer;\n  font: message-box;\n  white-space: normal;\n  word-wrap: break-word;\n  pointer-events: auto;\n}\n\n.annotationLayer .popup > * {\n  font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .popup h1 {\n  display: inline-block;\n}\n\n.annotationLayer .popupDate {\n  display: inline-block;\n  margin-left: calc(5px * var(--scale-factor));\n}\n\n.annotationLayer .popupContent {\n  border-top: 1px solid rgba(51, 51, 51, 1);\n  margin-top: calc(2px * var(--scale-factor));\n  padding-top: calc(2px * var(--scale-factor));\n}\n\n.annotationLayer .richText > * {\n  white-space: pre-wrap;\n  font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .highlightAnnotation,\n.annotationLayer .underlineAnnotation,\n.annotationLayer .squigglyAnnotation,\n.annotationLayer .strikeoutAnnotation,\n.annotationLayer .freeTextAnnotation,\n.annotationLayer .lineAnnotation svg line,\n.annotationLayer .squareAnnotation svg rect,\n.annotationLayer .circleAnnotation svg ellipse,\n.annotationLayer .polylineAnnotation svg polyline,\n.annotationLayer .polygonAnnotation svg polygon,\n.annotationLayer .caretAnnotation,\n.annotationLayer .inkAnnotation svg polyline,\n.annotationLayer .stampAnnotation,\n.annotationLayer .fileAttachmentAnnotation {\n  cursor: pointer;\n}\n\n.annotationLayer section svg {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  top: 0;\n  left: 0;\n}\n\n.annotationLayer .annotationTextContent {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  opacity: 0;\n  color: transparent;\n  user-select: none;\n  pointer-events: none;\n}\n\n.annotationLayer .annotationTextContent span {\n  width: 100%;\n  display: inline-block;\n}\n"],sourceRoot:""}]);const a=r},877589:(n,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>a});var o=t(422077),r=t.n(o)()(!0);
8r.push([n.id,"/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n  --react-pdf-text-layer: 1;\n  --highlight-bg-color: rgba(180, 0, 170, 1);\n  --highlight-selected-bg-color: rgba(0, 100, 0, 1);\n}\n\n@media screen and (forced-colors: active) {\n  :root {\n    --highlight-bg-color: Highlight;\n    --highlight-selected-bg-color: ButtonText;\n  }\n}\n\n[data-main-rotation='90'] {\n  transform: rotate(90deg) translateY(-100%);\n}\n[data-main-rotation='180'] {\n  transform: rotate(180deg) translate(-100%, -100%);\n}\n[data-main-rotation='270'] {\n  transform: rotate(270deg) translateX(-100%);\n}\n\n.textLayer {\n  position: absolute;\n  text-align: initial;\n  inset: 0;\n  overflow: hidden;\n  line-height: 1;\n  text-size-adjust: none;\n  forced-color-adjust: none;\n  transform-origin: 0 0;\n  z-index: 2;\n}\n\n.textLayer :is(span, br) {\n  color: transparent;\n  position: absolute;\n  white-space: pre;\n  cursor: text;\n  margin: 0;\n  transform-origin: 0 0;\n}\n\n/* Only necessary in Google Chrome, see issue 14205, and most unfortunately\n * the problem doesn't show up in \"text\" reference tests. */\n.textLayer span.markedContent {\n  top: 0;\n  height: 0;\n}\n\n.textLayer .highlight {\n  margin: -1px;\n  padding: 1px;\n  background-color: var(--highlight-bg-color);\n  border-radius: 4px;\n}\n\n.textLayer .highlight.appended {\n  position: initial;\n}\n\n.textLayer .highlight.begin {\n  border-radius: 4px 0 0 4px;\n}\n\n.textLayer .highlight.end {\n  border-radius: 0 4px 4px 0;\n}\n\n.textLayer .highlight.middle {\n  border-radius: 0;\n}\n\n.textLayer .highlight.selected {\n  background-color: var(--highlight-selected-bg-color);\n}\n\n/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */\n.textLayer br::selection {\n  background: transparent;\n}\n\n.textLayer .endOfContent {\n  display: block;\n  position: absolute;\n  inset: 100% 0 0;\n  z-index: -1;\n  cursor: default;\n  user-select: none;\n}\n\n.textLayer.selecting .endOfContent {\n  top: 0;\n}\n\n.hiddenCanvasElement {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 0;\n  height: 0;\n  display: none;\n}\n","",{version:3,sources:["webpack://node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/react-pdf/dist/esm/Page/TextLayer.css"],names:[],mappings:"AAAA;;;;;;;;;;;;;EAaE;;AAEF;EACE,yBAAyB;EACzB,0CAA0C;EAC1C,iDAAiD;AACnD;;AAEA;EACE;IACE,+BAA+B;IAC/B,yCAAyC;EAC3C;AACF;;AAEA;EACE,0CAA0C;AAC5C;AACA;EACE,iDAAiD;AACnD;AACA;EACE,2CAA2C;AAC7C;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,QAAQ;EACR,gBAAgB;EAChB,cAAc;EACd,sBAAsB;EACtB,yBAAyB;EACzB,qBAAqB;EACrB,UAAU;AACZ;;AAEA;EACE,kBAAkB;EAClB,kBAAkB;EAClB,gBAAgB;EAChB,YAAY;EACZ,SAAS;EACT,qBAAqB;AACvB;;AAEA;2DAC2D;AAC3D;EACE,MAAM;EACN,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,YAAY;EACZ,2CAA2C;EAC3C,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,oDAAoD;AACtD;;AAEA,oEAAoE;AACpE;EACE,uBAAuB;AACzB;;AAEA;EACE,cAAc;EACd,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,eAAe;EACf,iBAAiB;AACnB;;AAEA;EACE,MAAM;AACR;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,aAAa;AACf",sourcesContent:["/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n  --react-pdf-text-layer: 1;\n  --highlight-bg-color: rgba(180, 0, 170, 1);\n  --highlight-selected-bg-color: rgba(0, 100, 0, 1);\n}\n\n@media screen and (forced-colors: active) {\n  :root {\n    --highlight-bg-color: Highlight;\n    --highlight-selected-bg-color: ButtonText;\n  }\n}\n\n[data-main-rotation='90'] {\n  transform: rotate(90deg) translateY(-100%);\n}\n[data-main-rotation='180'] {\n  transform: rotate(180deg) translate(-100%, -100%);\n}\n[data-main-rotation='270'] {\n  transform: rotate(270deg) translateX(-100%);\n}\n\n.textLayer {\n  position: absolute;\n  text-align: initial;\n  inset: 0;\n  overflow: hidden;\n  line-height: 1;\n  text-size-adjust: none;\n  forced-color-adjust: none;\n  transform-origin: 0 0;\n  z-index: 2;\n}\n\n.textLayer :is(span, br) {\n  color: transparent;\n  position: absolute;\n  white-space: pre;\n  cursor: text;\n  margin: 0;\n  transform-origin: 0 0;\n}\n\n/* Only necessary in Google Chrome, see issue 14205, and most unfortunately\n * the problem doesn't show up in \"text\" reference tests. */\n.textLayer span.markedContent {\n  top: 0;\n  height: 0;\n}\n\n.textLayer .highlight {\n  margin: -1px;\n  padding: 1px;\n  background-color: var(--highlight-bg-color);\n  border-radius: 4px;\n}\n\n.textLayer .highlight.appended {\n  position: initial;\n}\n\n.textLayer .highlight.begin {\n  border-radius: 4px 0 0 4px;\n}\n\n.textLayer .highlight.end {\n  border-radius: 0 4px 4px 0;\n}\n\n.textLayer .highlight.middle {\n  border-radius: 0;\n}\n\n.textLayer .highlight.selected {\n  background-color: var(--highlight-selected-bg-color);\n}\n\n/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */\n.textLayer br::selection {\n  background: transparent;\n}\n\n.textLayer .endOfContent {\n  display: block;\n  position: absolute;\n  inset: 100% 0 0;\n  z-index: -1;\n  cursor: default;\n  user-select: none;\n}\n\n.textLayer.selecting .endOfContent {\n  top: 0;\n}\n\n.hiddenCanvasElement {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 0;\n  height: 0;\n  display: none;\n}\n"],sourceRoot:""}]);const a=r},394375:(n,e,t)=>{var o=t(36429),r=t(590707);
8"string"===typeof(r=r.__esModule?r.default:r)&&(r=[[n.id,r,""]]);var a={insert:"head",singleton:!1};o(r,a);n.exports=r.locals||{}},232137:(n,e,t)=>{var o=t(36429),r=t(877589);"string"===typeof(r=r.__esModule?r.default:r)&&(r=[[n.id,r,""]]);var a={insert:"head",singleton:!1};o(r,a);n.exports=r.locals||{}},501002:(n,e,t)=>{"use strict";t.d(e,{yo:()=>O,YW:()=>K,Uy:()=>o});var o=t(931119),r=t(413274),a=t(779474),i=t(746680),s=t(837625),c=t(313526),A=t(25385),l=t(863730),u=t(296131);const d=(0,a.createContext)(null);function p({children:n,type:e}){return(0,r.jsx)("div",{className:`react-pdf__message react-pdf__message--${e}`,children:n})}class g{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(n){this.pdfDocument=n}setViewer(n){this.pdfViewer=n}setExternalLinkRel(n){this.externalLinkRel=n}setExternalLinkTarget(n){this.externalLinkTarget=n}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,A.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(n){(0,A.A)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=n}get rotation(){return 0}set rotation(n){}goToDestination(n){return new Promise(e=>{(0,A.A)(this.pdfDocument,"PDF document not loaded."),(0,A.A)(n,"Destination is not specified."),"string"===typeof n?this.pdfDocument.getDestination(n).then(e):Array.isArray(n)?e(n):n.then(e)}).then(n=>{(0,A.A)(Array.isArray(n),`"${n}" is not a valid destination array.`);const e=n[0];new Promise(n=>{(0,A.A)(this.pdfDocument,"PDF document not loaded."),e instanceof Object?this.pdfDocument.getPageIndex(e).then(e=>{n(e)}).catch(()=>{(0,A.A)(!1,`"${e}" is not a valid page reference.`)}):"number"===typeof e?n(e):(0,A.A)(!1,`"${e}" is not a valid destination reference.`)}).then(e=>{const t=e+1;(0,A.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,A.A)(t>=1&&t<=this.pagesCount,`"${t}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:n,pageIndex:e,pageNumber:t})})})}navigateTo(n){this.goToDestination(n)}goToPage(n){const e=n-1;(0,A.A)(this.pdfViewer,"PDF viewer is not initialized."),(0,A.A)(n>=1&&n<=this.pagesCount,`"${n}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:e,pageNumber:n})}addLinkAttributes(n,e,t){n.href=e,n.rel=this.externalLinkRel||"noopener noreferrer nofollow",n.target=t?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}const h={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},f="undefined"!==typeof window,E=f&&"file:"===window.location.protocol;function C(n){return function(n){return"undefined"!==typeof n}(n)&&null!==n}function y(n){return function(n){return"string"===typeof n}(n)&&/^data:/.test(n)}function b(n){(0,A.A)(y(n),"Invalid data URI.");const[e="",t=""]=n.split(",");return-1!==e.split(";").indexOf("base64")?atob(t):unescape(t)}function x(){return f&&window.devicePixelRatio||1}const m="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function B(){l(!E,`Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ${m}`)}function L(n){(null===n||void 0===n?void 0:n.cancel)&&n.cancel()}function v(n,e){return Object.defineProperty(n,"width",{get(){return this.view[2]*e},configurable:!0}),Object.defineProperty(n,"height",{get(){return this.view[3]*e},configurable:!0}),Object.defineProperty(n,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(n,"originalHeight",{get(){return this.view[3]},configurable:!0}),n}function w(n,e){switch(e.type){case"RESOLVE":return{value:e.value,error:void 0};case"REJECT":return{value:!1,error:e.error};case"RESET":return{value:void 0,error:void 0};default:return n}}function k(){return(0,a.useReducer)(w,{value:void 0,error:void 0})}var S=function(n,e,t,o){return new(t||(t=Promise))(function(r,a){function i(n){try{c(o.next(n))}catch(n){a(n)}}function s(n){try{c(o.throw(n))}catch(n){a(n)}}function c(n){var e;n.done?r(n.value):(e=n.value,e instanceof t?e:new t(function(n){n(e)})).then(i,s)}c((o=o.apply(n,e||[])).next())})},T=function(n,e){var t={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&e.indexOf(o)<0&&(t[o]=n[o]);if(null!=n&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(n);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(n,o[r])&&(t[o[r]]=n[o[r]])}return t};const{Tm:R}=o,W=(n,e)=>{switch(e){case h.NEED_PASSWORD:n(prompt("Enter the password to open this PDF file."));break;case h.INCORRECT_PASSWORD:n(prompt("Invalid password. Please try again."));break}};function D(n){return"object"===typeof n&&null!==n&&("data"in n||"range"in n||"url"in n)}const O=(0,a.forwardRef)(function(n,e){var{children:t,className:h,error:E="Failed to load PDF file.",externalLinkRel:C,externalLinkTarget:x,file:m,inputRef:v,imageResourcesPath:w,loading:O="Loading PDF\u2026",noData:P="No PDF file specified.",onItemClick:I,onLoadError:j,onLoadProgress:N,onLoadSuccess:_,onPassword:M=W,onSourceError:q,onSourceSuccess:F,options:z,renderMode:Y,rotate:U}=n,G=T(n,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);const[V,H]=k(),{value:$,error:X}=V,[Z,J]=k(),{value:Q,error:K}=Z,nn=(0,a.useRef)(new g),en=(0,a.useRef)([]),tn=(0,a.useRef)(void 0),on=(0,a.useRef)(void 0);m&&m!==tn.current&&D(m)&&(l(!(0,u.j)(m,tn.current),'File prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),tn.current=m),z&&z!==on.current&&(l(!(0,u.j)(z,on.current),'Options prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),on.current=z);const rn=(0,a.useRef)({scrollPageIntoView:n=>{const{dest:e,pageNumber:t,pageIndex:o=t-1}=n;if(I)return void I({dest:e,pageIndex:o,pageNumber:t});const r=en.current[o];r?r.scrollIntoView():l(!1,`An internal link leading to page ${t} was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document>
8 and handle navigating by yourself or ensure that all pages are rendered within <Document>.`)}});(0,a.useImperativeHandle)(e,()=>({linkService:nn,pages:en,viewer:rn}),[]),(0,a.useEffect)(function(){H({type:"RESET"})},[m,H]);const an=(0,a.useCallback)(()=>S(this,void 0,void 0,function*(){if(!m)return null;if("string"===typeof m){if(y(m)){return{data:b(m)}}return B(),{url:m}}if(m instanceof R)return{range:m};if(m instanceof ArrayBuffer)return{data:m};if(f&&function(n){return(0,A.A)(f,"isBlob can only be used in a browser environment"),n instanceof Blob}(m)){const n=yield function(n){return new Promise((e,t)=>{const o=new FileReader;o.onload=()=>{if(!o.result)return t(new Error("Error while reading a file."));e(o.result)},o.onerror=n=>{if(!n.target)return t(new Error("Error while reading a file."));const{error:e}=n.target;if(!e)return t(new Error("Error while reading a file."));switch(e.code){case e.NOT_FOUND_ERR:return t(new Error("Error while reading a file: File not found."));case e.SECURITY_ERR:return t(new Error("Error while reading a file: Security error."));case e.ABORT_ERR:return t(new Error("Error while reading a file: Aborted."));default:return t(new Error("Error while reading a file."))}},o.readAsArrayBuffer(n)})}(m);return{data:n}}if((0,A.A)("object"===typeof m,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,A.A)(D(m),"Invalid parameter object: need either .data, .range or .url"),"url"in m&&"string"===typeof m.url){if(y(m.url)){const{url:n}=m,e=T(m,["url"]),t=b(n);return Object.assign({data:t},e)}B()}return m}),[m]);(0,a.useEffect)(()=>{const n=(0,s.A)(an());return n.promise.then(n=>{H({type:"RESOLVE",value:n})}).catch(n=>{H({type:"REJECT",error:n})}),()=>{L(n)}},[an,H]),(0,a.useEffect)(()=>{"undefined"!==typeof $&&(!1!==$?F&&F():X&&(l(!1,X.toString()),q&&q(X)))},[$]),(0,a.useEffect)(function(){J({type:"RESET"})},[J,$]),(0,a.useEffect)(function(){if(!$)return;const n=z?Object.assign(Object.assign({},$),z):$,e=o.YE(n);N&&(e.onProgress=N),M&&(e.onPassword=M);const t=e,r=t.promise.then(n=>{J({type:"RESOLVE",value:n})}).catch(n=>{t.destroyed||J({type:"REJECT",error:n})});return()=>{r.finally(()=>t.destroy())}},[z,J,$]),(0,a.useEffect)(()=>{"undefined"!==typeof Q&&(!1!==Q?Q&&(_&&_(Q),en.current=new Array(Q.numPages),nn.current.setDocument(Q)):K&&(l(!1,K.toString()),j&&j(K)))},[Q]),(0,a.useEffect)(function(){nn.current.setViewer(rn.current),nn.current.setExternalLinkRel(C),nn.current.setExternalLinkTarget(x)},[C,x]);const sn=(0,a.useCallback)((n,e)=>{en.current[n]=e},[]),cn=(0,a.useCallback)(n=>{delete en.current[n]},[]),An=(0,a.useMemo)(()=>({imageResourcesPath:w,linkService:nn.current,onItemClick:I,pdf:Q,registerPage:sn,renderMode:Y,rotate:U,unregisterPage:cn}),[w,I,Q,sn,Y,U,cn]),ln=(0,a.useMemo)(()=>(0,i.Ay)(G,()=>Q),[G,Q]);return(0,r.jsx)("div",Object.assign({className:(0,c.A)("react-pdf__Document",h),ref:v,style:{"--scale-factor":"1"}},ln,{children:m?void 0===Q||null===Q?(0,r.jsx)(p,{type:"loading",children:"function"===typeof O?O():O}):!1===Q?(0,r.jsx)(p,{type:"error",children:"function"===typeof E?E():E}):(0,r.jsx)(d.Provider,{value:An,children:t}):(0,r.jsx)(p,{type:"no-data",children:"function"===typeof P?P():P})}))});(0,a.createContext)(null);function P(){return(0,a.useContext)(d)}var I=t(213251);const j=(0,a.createContext)(null),N={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},_=/^H(\d+)$/;function M(n){return"children"in n}function q(n){return!!M(n)&&(1===n.children.length&&0 in n.children&&"id"in n.children[0])}function F(n){const e={};if(M(n)){const{role:t}=n,o=t.match(_);if(o)e.role="heading",e["aria-level"]=Number(o[1]);else if(function(n){return n in N}(t)){const n=N[t];n&&(e.role=n)}}return e}function z(n){const e={};if(M(n)){if(void 0!==n.alt&&(e["aria-label"]=n.alt),void 0!==n.lang&&(e.lang=n.lang),q(n)){const[t]=n.children;if(t){const n=z(t);return Object.assign(Object.assign({},e),n)}}}
8else"id"in n&&(e["aria-owns"]=n.id);return e}function Y(n){return n?Object.assign(Object.assign({},F(n)),z(n)):null}function U({className:n,node:e}){const t=(0,a.useMemo)(()=>Y(e),[e]),o=(0,a.useMemo)(()=>M(e)?q(e)?null:e.children.map((n,e)=>(0,r.jsx)(U,{node:n},e)):null,[e]);return(0,r.jsx)("span",Object.assign({className:n},t,{children:o}))}function G(){return(0,a.useContext)(j)}function V(){const n=G();(0,A.A)(n,"Unable to find Page context.");const{onGetStructTreeError:e,onGetStructTreeSuccess:t}=n,[o,i]=k(),{value:c,error:u}=o,{customTextRenderer:d,page:p}=n;return(0,a.useEffect)(function(){i({type:"RESET"})},[i,p]),(0,a.useEffect)(function(){if(d)return;if(!p)return;const n=(0,s.A)(p.getStructTree()),e=n;return n.promise.then(n=>{i({type:"RESOLVE",value:n})}).catch(n=>{i({type:"REJECT",error:n})}),()=>L(e)},[d,p,i]),(0,a.useEffect)(()=>{void 0!==c&&(!1!==c?c&&t&&t(c):u&&(l(!1,u.toString()),e&&e(u)))},[c]),c?(0,r.jsx)(U,{className:"react-pdf__Page__structTree structTree",node:c}):null}const H=o.ng;function $(n){const e=G();(0,A.A)(e,"Unable to find Page context.");const t=Object.assign(Object.assign({},e),n),{_className:o,canvasBackground:i,devicePixelRatio:s=x(),onRenderError:c,onRenderSuccess:u,page:d,renderForms:p,renderTextLayer:g,rotate:h,scale:f}=t,{canvasRef:E}=n;(0,A.A)(d,"Attempted to render page canvas, but no page was specified.");const C=(0,a.useRef)(null);function y(n){(function(n){return"RenderingCancelledException"===n.name})(n)||(l(!1,n.toString()),c&&c(n))}const b=(0,a.useMemo)(()=>d.getViewport({scale:f*s,rotation:h}),[s,d,h,f]),m=(0,a.useMemo)(()=>d.getViewport({scale:f,rotation:h}),[d,h,f]);(0,a.useEffect)(function(){if(!d)return;d.cleanup();const{current:n}=C;if(!n)return;n.width=b.width,n.height=b.height,n.style.width=`${Math.floor(m.width)}px`,n.style.height=`${Math.floor(m.height)}px`,n.style.visibility="hidden";const e={annotationMode:p?H.ENABLE_FORMS:H.ENABLE,canvasContext:n.getContext("2d",{alpha:!1}),viewport:b};i&&(e.background=i);const t=d.render(e),o=t;return t.promise.then(()=>{n.style.visibility="",d&&u&&u(v(d,f))}).catch(y),()=>L(o)},[i,d,p,b,m]);const B=(0,a.useCallback)(()=>{const{current:n}=C;n&&(n.width=0,n.height=0)},[]);return(0,a.useEffect)(()=>B,[B]),(0,r.jsx)("canvas",{className:`${o}__canvas`,dir:"ltr",ref:(0,I.A)(E,C),style:{display:"block",userSelect:"none"},children:g?(0,r.jsx)(V,{}):null})}function X(){const n=G();(0,A.A)(n,"Unable to find Page context.");const{customTextRenderer:e,onGetTextError:t,onGetTextSuccess:i,onRenderTextLayerError:u,onRenderTextLayerSuccess:d,page:p,pageIndex:g,pageNumber:h,rotate:f,scale:E}=n;(0,A.A)(p,"Attempted to load page text content, but no page was specified.");const[C,y]=k(),{value:b,error:x}=C,m=(0,a.useRef)(null);l(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,a.useEffect)(function(){y({type:"RESET"})},[p,y]),(0,a.useEffect)(function(){if(!p)return;const n=(0,s.A)(p.getTextContent()),e=n;return n.promise.then(n=>{y({type:"RESOLVE",value:n})}).catch(n=>{y({type:"REJECT",error:n})}),()=>L(e)},[p,y]),(0,a.useEffect)(()=>{void 0!==b&&(!1!==b?b&&i&&i(b):x&&(l(!1,x.toString()),t&&t(x)))},[b]);const B=(0,a.useCallback)(()=>{d&&d()},[d]),v=(0,a.useCallback)(n=>{l(!1,n.toString()),u&&u(n)},[u]);const w=(0,a.useMemo)(()=>p.getViewport({scale:E,rotation:f}),[p,f,E]);return(0,a.useLayoutEffect)(function(){if(!p||!b)return;const{current:n}=m;if(!n)return;n.innerHTML="";const t=p.streamTextContent({includeMarkedContent:!0}),r={container:n,textContentSource:t,viewport:w},a=new o.D6(r),i=a;return a.render().then(()=>{const t=document.createElement("div");t.className="endOfContent",n.append(t);const o=n.querySelectorAll('[role="presentation"]');if(e){let n=0;b.items.forEach((t,r)=>{if(!function(n){return"str"in n}(t))return;const a=o[n];if(!a)return;const i=e(Object.assign({pageIndex:g,pageNumber:h,itemIndex:r},t));a.innerHTML=i,n+=t.str&&t.hasEOL?2:1})}B()}).catch(v),()=>L(i)}
8,[e,v,B,p,g,h,b,w]),(0,r.jsx)("div",{className:(0,c.A)("react-pdf__Page__textContent","textLayer"),onMouseUp:function(){const n=m.current;n&&n.classList.remove("selecting")},onMouseDown:function(){const n=m.current;n&&n.classList.add("selecting")},ref:m})}function Z(){const n=P(),e=G();(0,A.A)(e,"Unable to find Page context.");const t=Object.assign(Object.assign({},n),e),{imageResourcesPath:i,linkService:u,onGetAnnotationsError:d,onGetAnnotationsSuccess:p,onRenderAnnotationLayerError:g,onRenderAnnotationLayerSuccess:h,page:f,pdf:E,renderForms:C,rotate:y,scale:b=1}=t;(0,A.A)(E,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,A.A)(f,"Attempted to load page annotations, but no page was specified."),(0,A.A)(u,"Attempted to load page annotations, but no linkService was specified.");const[x,m]=k(),{value:B,error:v}=x,w=(0,a.useRef)(null);l(1===Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,a.useEffect)(function(){m({type:"RESET"})},[m,f]),(0,a.useEffect)(function(){if(!f)return;const n=(0,s.A)(f.getAnnotations()),e=n;return n.promise.then(n=>{m({type:"RESOLVE",value:n})}).catch(n=>{m({type:"REJECT",error:n})}),()=>{L(e)}},[m,f]),(0,a.useEffect)(()=>{void 0!==B&&(!1!==B?B&&p&&p(B):v&&(l(!1,v.toString()),d&&d(v)))},[B]);const S=(0,a.useMemo)(()=>f.getViewport({scale:b,rotation:y}),[f,y,b]);return(0,a.useEffect)(function(){if(!E||!f||!u||!B)return;const{current:n}=w;if(!n)return;const e=S.clone({dontFlip:!0}),t={accessibilityManager:null,annotationCanvasMap:null,annotationEditorUIManager:null,div:n,l10n:null,page:f,structTreeLayer:null,viewport:e},r={annotations:B,annotationStorage:E.annotationStorage,div:n,imageResourcesPath:i,linkService:u,page:f,renderForms:C,viewport:e};n.innerHTML="";try{new o.dU(t).render(r),h&&h()}catch(n){!function(n){l(!1,`${n}`),g&&g(n)}(n)}return()=>{}},[B,i,u,f,E,C,S]),(0,r.jsx)("div",{className:(0,c.A)("react-pdf__Page__annotations","annotationLayer"),ref:w})}var J=function(n,e){var t={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&e.indexOf(o)<0&&(t[o]=n[o]);if(null!=n&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(n);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(n,o[r])&&(t[o[r]]=n[o[r]])}return t};const Q=1;function K(n){const e=P(),t=Object.assign(Object.assign({},e),n),{_className:o="react-pdf__Page",_enableRegisterUnregisterPage:u=!0,canvasBackground:d,canvasRef:g,children:h,className:f,customRenderer:E,customTextRenderer:y,devicePixelRatio:b,error:x="Failed to load the page.",height:m,inputRef:B,loading:w="Loading page\u2026",noData:S="No page specified.",onGetAnnotationsError:T,onGetAnnotationsSuccess:R,onGetStructTreeError:W,onGetStructTreeSuccess:D,onGetTextError:O,onGetTextSuccess:N,onLoadError:_,onLoadSuccess:M,onRenderAnnotationLayerError:q,onRenderAnnotationLayerSuccess:F,onRenderError:z,onRenderSuccess:Y,onRenderTextLayerError:U,onRenderTextLayerSuccess:G,pageIndex:V,pageNumber:H,pdf:K,registerPage:nn,renderAnnotationLayer:en=!0,renderForms:tn=!1,renderMode:on="canvas",renderTextLayer:rn=!0,rotate:an,scale:sn=Q,unregisterPage:cn,width:An}=t,ln=J(t,["_className","_enableRegisterUnregisterPage","canvasBackground","canvasRef","children","className","customRenderer","customTextRenderer","devicePixelRatio","error","height","inputRef","loading","noData","onGetAnnotationsError","onGetAnnotationsSuccess","onGetStructTreeError","onGetStructTreeSuccess","onGetTextError","onGetTextSuccess","onLoadError","onLoadSuccess","onRenderAnnotationLayerError","onRenderAnnotationLayerSuccess","onRenderError","onRenderSuccess","onRenderTextLayerError","onRenderTextLayerSuccess","pageIndex","pageNumber","pdf","registerPage","renderAnnotationLayer","renderForms","renderMode","renderTextLayer","rotate","scale","unregisterPage","width"]),[un,dn]=k(),{value:pn,error:gn}=un,hn=(0,a.useRef)(null);(0,A.A)(K,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");const fn=C(H)?H-1:null!==V&&void 0!==V?V:null,En=null!==H&&void 0!==H?H:C(V)?V+1:null,Cn=null!==an&&void 0!==an?an:pn?pn.rotate:null,yn=(0,a.useMemo)(()=>
8{if(!pn)return null;let n=1;const e=null!==sn&&void 0!==sn?sn:Q;if(An||m){const e=pn.getViewport({scale:1,rotation:Cn});An?n=An/e.width:m&&(n=m/e.height)}return e*n},[m,pn,Cn,sn,An]);(0,a.useEffect)(function(){return()=>{C(fn)&&u&&cn&&cn(fn)}},[u,K,fn,cn]),(0,a.useEffect)(function(){dn({type:"RESET"})},[dn,K,fn]),(0,a.useEffect)(function(){if(!K||!En)return;const n=(0,s.A)(K.getPage(En)),e=n;return n.promise.then(n=>{dn({type:"RESOLVE",value:n})}).catch(n=>{dn({type:"REJECT",error:n})}),()=>L(e)},[dn,K,En]),(0,a.useEffect)(()=>{void 0!==pn&&(!1!==pn?function(){if(M){if(!pn||!yn)return;M(v(pn,yn))}if(u&&nn){if(!C(fn)||!hn.current)return;nn(fn,hn.current)}}():gn&&(l(!1,gn.toString()),_&&_(gn)))},[pn,yn]);const bn=(0,a.useMemo)(()=>pn&&C(fn)&&En&&C(Cn)&&C(yn)?{_className:o,canvasBackground:d,customTextRenderer:y,devicePixelRatio:b,onGetAnnotationsError:T,onGetAnnotationsSuccess:R,onGetStructTreeError:W,onGetStructTreeSuccess:D,onGetTextError:O,onGetTextSuccess:N,onRenderAnnotationLayerError:q,onRenderAnnotationLayerSuccess:F,onRenderError:z,onRenderSuccess:Y,onRenderTextLayerError:U,onRenderTextLayerSuccess:G,page:pn,pageIndex:fn,pageNumber:En,renderForms:tn,renderTextLayer:rn,rotate:Cn,scale:yn}:null,[o,d,y,b,T,R,W,D,O,N,q,F,z,Y,U,G,pn,fn,En,tn,rn,Cn,yn]),xn=(0,a.useMemo)(()=>(0,i.Ay)(ln,()=>pn?yn?v(pn,yn):void 0:pn),[ln,pn,yn]),mn=`${fn}@${yn}/${Cn}`;function Bn(){switch(on){case"custom":return(0,A.A)(E,'renderMode was set to "custom", but no customRenderer was passed.'),(0,r.jsx)(E,{},`${mn}_custom`);case"none":return null;default:return(0,r.jsx)($,{canvasRef:g},`${mn}_canvas`)}}return(0,r.jsx)("div",Object.assign({className:(0,c.A)(o,f),"data-page-number":En,ref:(0,I.A)(B,hn),style:{"--scale-factor":`${yn}`,backgroundColor:d||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},xn,{children:En?null===K||void 0===pn||null===pn?(0,r.jsx)(p,{type:"loading",children:"function"===typeof w?w():w}):!1===K||!1===pn?(0,r.jsx)(p,{type:"error",children:"function"===typeof x?x():x}):(0,r.jsxs)(j.Provider,{value:bn,children:[Bn(),rn?(0,r.jsx)(X,{},`${mn}_text`):null,en?(0,r.jsx)(Z,{},`${mn}_annotations`):null,h]}):(0,r.jsx)(p,{type:"no-data",children:"function"===typeof S?S():S})}))}l(!E,`Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ${m}`),o.EA.workerSrc="pdf.worker.mjs"}}]);
9//# sourceMappingURL=https://api.amio-dev.com/assets/sourcemaps/npm.react-pdf-9.2.1_-types-react-18.3.28_react-dom-18.2.0_react-18.2.0__react-18.2.0/../npm.react-pdf-9.2.1_-types-react-18.3.28_react-dom-18.2.0_react-18.2.0__react-18.2.0/npm.react-pdf-9.2.1_-types-react-18.3.28_react-dom-18.2.0_react-18.2.0__react-18.2.0.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.