@ -22313,8 +22313,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
@@ -22313,8 +22313,8 @@ exports.PostScriptCompiler = PostScriptCompiler;
"use strict" ;
var pdfjsVersion = '2.0.376 ' ;
var pdfjsBuild = '4f5fb782 ' ;
var pdfjsVersion = '2.0.378 ' ;
var pdfjsBuild = 'a89071bd ' ;
var pdfjsCoreWorker = _ _w _pdfjs _require _ _ ( 74 ) ;
exports . WorkerMessageHandler = pdfjsCoreWorker . WorkerMessageHandler ;
@ -22527,7 +22527,7 @@ var WorkerMessageHandler = {
@@ -22527,7 +22527,7 @@ var WorkerMessageHandler = {
var cancelXHRs = null ;
var WorkerTasks = [ ] ;
var apiVersion = docParams . apiVersion ;
var workerVersion = '2.0.376 ' ;
var workerVersion = '2.0.378 ' ;
if ( apiVersion !== null && apiVersion !== workerVersion ) {
throw new Error ( 'The API version "' + apiVersion + '" does not match ' + ( 'the Worker version "' + workerVersion + '".' ) ) ;
}
@ -31659,7 +31659,7 @@ var JpegImage = function JpegImageClosure() {
@@ -31659,7 +31659,7 @@ var JpegImage = function JpegImageClosure() {
data [ offset ++ ] = 107.268039397724 + Cb * ( 2.19927104525741 e - 5 * Cb - 0.000640992018297945 * Cr + 0.000659397001245577 * Y + 0.000426105652938837 * k - 0.176491792462875 ) + Cr * ( - 0.000778269941513683 * Cr + 0.00130872261408275 * Y + 0.000770482631801132 * k - 0.151051492775562 ) + Y * ( 0.00126935368114843 * Y - 0.00265090189010898 * k + 0.25802910206845 ) + k * ( - 0.000318913117588328 * k - 0.213742400323665 ) ;
data [ offset ++ ] = - 20.810012546947 + Cb * ( - 0.000570115196973677 * Cb - 2.63409051004589 e - 5 * Cr + 0.0020741088115012 * Y - 0.00288260236853442 * k + 0.814272968359295 ) + Cr * ( - 1.53496057440975 e - 5 * Cr - 0.000132689043961446 * Y + 0.000560833691242812 * k - 0.195152027534049 ) + Y * ( 0.00174418132927582 * Y - 0.00255243321439347 * k + 0.116935020465145 ) + k * ( - 0.000343531996510555 * k + 0.24165260232407 ) ;
}
return data ;
return data . subarray ( 0 , offset ) ;
} ,
_convertYcckToCmyk : function convertYcckToCmyk ( data ) {
var Y , Cb , Cr ;
@ -31686,7 +31686,7 @@ var JpegImage = function JpegImageClosure() {
@@ -31686,7 +31686,7 @@ var JpegImage = function JpegImageClosure() {
data [ offset ++ ] = 255 + c * ( 8.841041422036149 * c + 60.118027045597366 * m + 6.871425592049007 * y + 31.159100130055922 * k - 79.2970844816548 ) + m * ( - 15.310361306967817 * m + 17.575251261109482 * y + 131.35250912493976 * k - 190.9453302588951 ) + y * ( 4.444339102852739 * y + 9.8632861493405 * k - 24.86741582555878 ) - k * ( 20.737325471181034 * k + 187.80453709719578 ) ;
data [ offset ++ ] = 255 + c * ( 0.8842522430003296 * c + 8.078677503112928 * m + 30.89978309703729 * y - 0.23883238689178934 * k - 14.183576799673286 ) + m * ( 10.49593273432072 * m + 63.02378494754052 * y + 50.606957656360734 * k - 112.23884253719248 ) + y * ( 0.03296041114873217 * y + 115.60384449646641 * k - 193.58209356861505 ) - k * ( 22.33816807309886 * k + 180.12613974708367 ) ;
}
return data ;
return data . subarray ( 0 , offset ) ;
} ,
getData : function getData ( width , height , forceRGBoutput ) {
if ( this . numComponents > 4 ) {