|
|
@ -11639,7 +11639,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { |
|
|
|
if (worker.destroyed) { |
|
|
|
if (worker.destroyed) { |
|
|
|
return Promise.reject(new Error('Worker was destroyed')); |
|
|
|
return Promise.reject(new Error('Worker was destroyed')); |
|
|
|
} |
|
|
|
} |
|
|
|
var apiVersion = '2.0.120'; |
|
|
|
var apiVersion = '2.0.122'; |
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch'); |
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch'); |
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream'); |
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream'); |
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport; |
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport; |
|
|
@ -12915,8 +12915,8 @@ var InternalRenderTask = function InternalRenderTaskClosure() { |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
var version, build; |
|
|
|
var version, build; |
|
|
|
{ |
|
|
|
{ |
|
|
|
exports.version = version = '2.0.120'; |
|
|
|
exports.version = version = '2.0.122'; |
|
|
|
exports.build = build = 'e162df59'; |
|
|
|
exports.build = build = '1d67d9dc'; |
|
|
|
} |
|
|
|
} |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.LoopbackPort = LoopbackPort; |
|
|
|
exports.LoopbackPort = LoopbackPort; |
|
|
@ -26684,9 +26684,11 @@ var SVGGraphics = function SVGGraphics() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
closePath: function SVGGraphics_closePath() { |
|
|
|
closePath: function SVGGraphics_closePath() { |
|
|
|
var current = this.current; |
|
|
|
var current = this.current; |
|
|
|
var d = current.path.getAttributeNS(null, 'd'); |
|
|
|
if (current.path) { |
|
|
|
d += 'Z'; |
|
|
|
var d = current.path.getAttributeNS(null, 'd'); |
|
|
|
current.path.setAttributeNS(null, 'd', d); |
|
|
|
d += 'Z'; |
|
|
|
|
|
|
|
current.path.setAttributeNS(null, 'd', d); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
setLeading: function SVGGraphics_setLeading(leading) { |
|
|
|
setLeading: function SVGGraphics_setLeading(leading) { |
|
|
|
this.current.leading = -leading; |
|
|
|
this.current.leading = -leading; |
|
|
@ -26735,23 +26737,29 @@ var SVGGraphics = function SVGGraphics() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
fill: function SVGGraphics_fill() { |
|
|
|
fill: function SVGGraphics_fill() { |
|
|
|
var current = this.current; |
|
|
|
var current = this.current; |
|
|
|
current.element.setAttributeNS(null, 'fill', current.fillColor); |
|
|
|
if (current.element) { |
|
|
|
current.element.setAttributeNS(null, 'fill-opacity', current.fillAlpha); |
|
|
|
current.element.setAttributeNS(null, 'fill', current.fillColor); |
|
|
|
|
|
|
|
current.element.setAttributeNS(null, 'fill-opacity', current.fillAlpha); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
stroke: function SVGGraphics_stroke() { |
|
|
|
stroke: function SVGGraphics_stroke() { |
|
|
|
var current = this.current; |
|
|
|
var current = this.current; |
|
|
|
current.element.setAttributeNS(null, 'stroke', current.strokeColor); |
|
|
|
if (current.element) { |
|
|
|
current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha); |
|
|
|
current.element.setAttributeNS(null, 'stroke', current.strokeColor); |
|
|
|
current.element.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit)); |
|
|
|
current.element.setAttributeNS(null, 'stroke-opacity', current.strokeAlpha); |
|
|
|
current.element.setAttributeNS(null, 'stroke-linecap', current.lineCap); |
|
|
|
current.element.setAttributeNS(null, 'stroke-miterlimit', pf(current.miterLimit)); |
|
|
|
current.element.setAttributeNS(null, 'stroke-linejoin', current.lineJoin); |
|
|
|
current.element.setAttributeNS(null, 'stroke-linecap', current.lineCap); |
|
|
|
current.element.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px'); |
|
|
|
current.element.setAttributeNS(null, 'stroke-linejoin', current.lineJoin); |
|
|
|
current.element.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' ')); |
|
|
|
current.element.setAttributeNS(null, 'stroke-width', pf(current.lineWidth) + 'px'); |
|
|
|
current.element.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px'); |
|
|
|
current.element.setAttributeNS(null, 'stroke-dasharray', current.dashArray.map(pf).join(' ')); |
|
|
|
current.element.setAttributeNS(null, 'fill', 'none'); |
|
|
|
current.element.setAttributeNS(null, 'stroke-dashoffset', pf(current.dashPhase) + 'px'); |
|
|
|
|
|
|
|
current.element.setAttributeNS(null, 'fill', 'none'); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
eoFill: function SVGGraphics_eoFill() { |
|
|
|
eoFill: function SVGGraphics_eoFill() { |
|
|
|
this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd'); |
|
|
|
if (this.current.element) { |
|
|
|
|
|
|
|
this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd'); |
|
|
|
|
|
|
|
} |
|
|
|
this.fill(); |
|
|
|
this.fill(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
fillStroke: function SVGGraphics_fillStroke() { |
|
|
|
fillStroke: function SVGGraphics_fillStroke() { |
|
|
@ -26759,7 +26767,9 @@ var SVGGraphics = function SVGGraphics() { |
|
|
|
this.fill(); |
|
|
|
this.fill(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
eoFillStroke: function SVGGraphics_eoFillStroke() { |
|
|
|
eoFillStroke: function SVGGraphics_eoFillStroke() { |
|
|
|
this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd'); |
|
|
|
if (this.current.element) { |
|
|
|
|
|
|
|
this.current.element.setAttributeNS(null, 'fill-rule', 'evenodd'); |
|
|
|
|
|
|
|
} |
|
|
|
this.fillStroke(); |
|
|
|
this.fillStroke(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
closeStroke: function SVGGraphics_closeStroke() { |
|
|
|
closeStroke: function SVGGraphics_closeStroke() { |
|
|
@ -26906,8 +26916,8 @@ exports.SVGGraphics = SVGGraphics; |
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '2.0.120'; |
|
|
|
var pdfjsVersion = '2.0.122'; |
|
|
|
var pdfjsBuild = 'e162df59'; |
|
|
|
var pdfjsBuild = '1d67d9dc'; |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(129); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(129); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(64); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(64); |
|
|
@ -32482,8 +32492,8 @@ if (!_global_scope2.default.PDFJS) { |
|
|
|
} |
|
|
|
} |
|
|
|
var PDFJS = _global_scope2.default.PDFJS; |
|
|
|
var PDFJS = _global_scope2.default.PDFJS; |
|
|
|
{ |
|
|
|
{ |
|
|
|
PDFJS.version = '2.0.120'; |
|
|
|
PDFJS.version = '2.0.122'; |
|
|
|
PDFJS.build = 'e162df59'; |
|
|
|
PDFJS.build = '1d67d9dc'; |
|
|
|
} |
|
|
|
} |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
@ -35412,7 +35422,7 @@ var WorkerMessageHandler = { |
|
|
|
var cancelXHRs = null; |
|
|
|
var cancelXHRs = null; |
|
|
|
var WorkerTasks = []; |
|
|
|
var WorkerTasks = []; |
|
|
|
var apiVersion = docParams.apiVersion; |
|
|
|
var apiVersion = docParams.apiVersion; |
|
|
|
var workerVersion = '2.0.120'; |
|
|
|
var workerVersion = '2.0.122'; |
|
|
|
if (apiVersion !== null && apiVersion !== workerVersion) { |
|
|
|
if (apiVersion !== null && apiVersion !== workerVersion) { |
|
|
|
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".')); |
|
|
|
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".')); |
|
|
|
} |
|
|
|
} |
|
|
|