From 0440cb610384e97a3b7a73cf71c8e19f7e5a5c46 Mon Sep 17 00:00:00 2001 From: Brian Osborn Date: Mon, 10 Jan 2022 05:36:37 -0700 Subject: [PATCH] 3.0.0 release --- CHANGELOG.md | 2 +- README.md | 4 +- docs/docs/api/META-INF/MANIFEST.MF | 4 +- docs/docs/api/allclasses-frame.html | 40 - docs/docs/api/allclasses-index.html | 300 + ...llclasses-noframe.html => allclasses.html} | 21 +- docs/docs/api/allpackages-index.html | 179 + docs/docs/api/constant-values.html | 358 +- docs/docs/api/deprecated-list.html | 103 +- docs/docs/api/{package-list => element-list} | 0 docs/docs/api/help-doc.html | 168 +- docs/docs/api/index-all.html | 1129 +- docs/docs/api/index.html | 227 +- .../docs/api/jquery/external/jquery/jquery.js | 10598 +++++++++++++++ .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 335 bytes .../images/ui-bg_glass_65_dadada_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 332 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 280 bytes .../jquery/images/ui-icons_222222_256x240.png | Bin 0 -> 6922 bytes .../jquery/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4549 bytes .../jquery/images/ui-icons_454545_256x240.png | Bin 0 -> 6992 bytes .../jquery/images/ui-icons_888888_256x240.png | Bin 0 -> 6999 bytes .../jquery/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4549 bytes docs/docs/api/jquery/jquery-3.5.1.js | 10872 ++++++++++++++++ docs/docs/api/jquery/jquery-ui.css | 582 + docs/docs/api/jquery/jquery-ui.js | 2659 ++++ docs/docs/api/jquery/jquery-ui.min.css | 7 + docs/docs/api/jquery/jquery-ui.min.js | 6 + docs/docs/api/jquery/jquery-ui.structure.css | 156 + .../api/jquery/jquery-ui.structure.min.css | 5 + .../jquery/jszip-utils/dist/jszip-utils-ie.js | 56 + .../jszip-utils/dist/jszip-utils-ie.min.js | 10 + .../jquery/jszip-utils/dist/jszip-utils.js | 118 + .../jszip-utils/dist/jszip-utils.min.js | 10 + docs/docs/api/jquery/jszip/dist/jszip.js | 30 + docs/docs/api/jquery/jszip/dist/jszip.min.js | 13 + docs/docs/api/member-search-index.js | 1 + docs/docs/api/member-search-index.zip | Bin 0 -> 4469 bytes docs/docs/api/mil/nga/tiff/FieldTagType.html | 950 +- docs/docs/api/mil/nga/tiff/FieldType.html | 296 +- docs/docs/api/mil/nga/tiff/FileDirectory.html | 1240 +- .../api/mil/nga/tiff/FileDirectoryEntry.html | 221 +- docs/docs/api/mil/nga/tiff/ImageWindow.html | 231 +- docs/docs/api/mil/nga/tiff/Rasters.html | 632 +- docs/docs/api/mil/nga/tiff/TIFFImage.html | 201 +- docs/docs/api/mil/nga/tiff/TiffReader.html | 243 +- docs/docs/api/mil/nga/tiff/TiffWriter.html | 232 +- .../mil/nga/tiff/class-use/FieldTagType.html | 245 +- .../api/mil/nga/tiff/class-use/FieldType.html | 244 +- .../mil/nga/tiff/class-use/FileDirectory.html | 167 +- .../tiff/class-use/FileDirectoryEntry.html | 170 +- .../mil/nga/tiff/class-use/ImageWindow.html | 150 +- .../api/mil/nga/tiff/class-use/Rasters.html | 216 +- .../api/mil/nga/tiff/class-use/TIFFImage.html | 208 +- .../mil/nga/tiff/class-use/TiffReader.html | 93 +- .../mil/nga/tiff/class-use/TiffWriter.html | 93 +- .../tiff/compression/CompressionDecoder.html | 120 +- .../tiff/compression/CompressionEncoder.html | 127 +- .../tiff/compression/DeflateCompression.html | 174 +- .../nga/tiff/compression/LZWCompression.html | 174 +- .../tiff/compression/PackbitsCompression.html | 174 +- .../mil/nga/tiff/compression/Predictor.html | 338 + .../nga/tiff/compression/RawCompression.html | 174 +- .../compression/UnsupportedCompression.html | 176 +- .../class-use/CompressionDecoder.html | 147 +- .../class-use/CompressionEncoder.html | 127 +- .../class-use/DeflateCompression.html | 93 +- .../compression/class-use/LZWCompression.html | 93 +- .../class-use/PackbitsCompression.html | 93 +- .../tiff/compression/class-use/Predictor.html | 149 + .../compression/class-use/RawCompression.html | 93 +- .../class-use/UnsupportedCompression.html | 93 +- .../nga/tiff/compression/package-frame.html | 30 - .../nga/tiff/compression/package-summary.html | 115 +- .../nga/tiff/compression/package-tree.html | 110 +- .../mil/nga/tiff/compression/package-use.html | 124 +- docs/docs/api/mil/nga/tiff/io/ByteReader.html | 371 +- docs/docs/api/mil/nga/tiff/io/ByteWriter.html | 290 +- docs/docs/api/mil/nga/tiff/io/IOUtils.html | 220 +- .../mil/nga/tiff/io/class-use/ByteReader.html | 155 +- .../mil/nga/tiff/io/class-use/ByteWriter.html | 133 +- .../mil/nga/tiff/io/class-use/IOUtils.html | 93 +- .../api/mil/nga/tiff/io/package-frame.html | 23 - .../api/mil/nga/tiff/io/package-summary.html | 97 +- .../api/mil/nga/tiff/io/package-tree.html | 99 +- .../docs/api/mil/nga/tiff/io/package-use.html | 110 +- docs/docs/api/mil/nga/tiff/package-frame.html | 32 - .../api/mil/nga/tiff/package-summary.html | 111 +- docs/docs/api/mil/nga/tiff/package-tree.html | 117 +- docs/docs/api/mil/nga/tiff/package-use.html | 125 +- .../api/mil/nga/tiff/util/TiffConstants.html | 491 +- .../api/mil/nga/tiff/util/TiffException.html | 167 +- .../tiff/util/class-use/TiffConstants.html | 93 +- .../tiff/util/class-use/TiffException.html | 93 +- .../api/mil/nga/tiff/util/package-frame.html | 25 - .../mil/nga/tiff/util/package-summary.html | 97 +- .../api/mil/nga/tiff/util/package-tree.html | 103 +- .../api/mil/nga/tiff/util/package-use.html | 89 +- docs/docs/api/overview-frame.html | 25 - docs/docs/api/overview-summary.html | 153 +- docs/docs/api/overview-tree.html | 150 +- docs/docs/api/package-search-index.js | 1 + docs/docs/api/package-search-index.zip | Bin 0 -> 252 bytes docs/docs/api/resources/glass.png | Bin 0 -> 499 bytes docs/docs/api/resources/x.png | Bin 0 -> 394 bytes docs/docs/api/script.js | 131 +- docs/docs/api/search.js | 326 + docs/docs/api/serialized-form.html | 95 +- docs/docs/api/stylesheet.css | 492 +- docs/docs/api/type-search-index.js | 1 + docs/docs/api/type-search-index.zip | Bin 0 -> 425 bytes docs/index.html | 2 +- .../java/mil/nga/tiff/TiffFileTester.java | 13 +- src/test/java/mil/nga/tiff/TiffWriteTest.java | 44 +- 116 files changed, 35079 insertions(+), 5702 deletions(-) delete mode 100644 docs/docs/api/allclasses-frame.html create mode 100644 docs/docs/api/allclasses-index.html rename docs/docs/api/{allclasses-noframe.html => allclasses.html} (75%) create mode 100644 docs/docs/api/allpackages-index.html rename docs/docs/api/{package-list => element-list} (100%) create mode 100644 docs/docs/api/jquery/external/jquery/jquery.js create mode 100644 docs/docs/api/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 docs/docs/api/jquery/images/ui-bg_glass_65_dadada_1x400.png create mode 100644 docs/docs/api/jquery/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 docs/docs/api/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 docs/docs/api/jquery/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 docs/docs/api/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 docs/docs/api/jquery/images/ui-icons_222222_256x240.png create mode 100644 docs/docs/api/jquery/images/ui-icons_2e83ff_256x240.png create mode 100644 docs/docs/api/jquery/images/ui-icons_454545_256x240.png create mode 100644 docs/docs/api/jquery/images/ui-icons_888888_256x240.png create mode 100644 docs/docs/api/jquery/images/ui-icons_cd0a0a_256x240.png create mode 100644 docs/docs/api/jquery/jquery-3.5.1.js create mode 100644 docs/docs/api/jquery/jquery-ui.css create mode 100644 docs/docs/api/jquery/jquery-ui.js create mode 100644 docs/docs/api/jquery/jquery-ui.min.css create mode 100644 docs/docs/api/jquery/jquery-ui.min.js create mode 100644 docs/docs/api/jquery/jquery-ui.structure.css create mode 100644 docs/docs/api/jquery/jquery-ui.structure.min.css create mode 100644 docs/docs/api/jquery/jszip-utils/dist/jszip-utils-ie.js create mode 100644 docs/docs/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js create mode 100644 docs/docs/api/jquery/jszip-utils/dist/jszip-utils.js create mode 100644 docs/docs/api/jquery/jszip-utils/dist/jszip-utils.min.js create mode 100644 docs/docs/api/jquery/jszip/dist/jszip.js create mode 100644 docs/docs/api/jquery/jszip/dist/jszip.min.js create mode 100644 docs/docs/api/member-search-index.js create mode 100644 docs/docs/api/member-search-index.zip create mode 100644 docs/docs/api/mil/nga/tiff/compression/Predictor.html create mode 100644 docs/docs/api/mil/nga/tiff/compression/class-use/Predictor.html delete mode 100644 docs/docs/api/mil/nga/tiff/compression/package-frame.html delete mode 100644 docs/docs/api/mil/nga/tiff/io/package-frame.html delete mode 100644 docs/docs/api/mil/nga/tiff/package-frame.html delete mode 100644 docs/docs/api/mil/nga/tiff/util/package-frame.html delete mode 100644 docs/docs/api/overview-frame.html create mode 100644 docs/docs/api/package-search-index.js create mode 100644 docs/docs/api/package-search-index.zip create mode 100644 docs/docs/api/resources/glass.png create mode 100644 docs/docs/api/resources/x.png create mode 100644 docs/docs/api/search.js create mode 100644 docs/docs/api/type-search-index.js create mode 100644 docs/docs/api/type-search-index.zip diff --git a/CHANGELOG.md b/CHANGELOG.md index fb63d4f..945ae9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Adheres to [Semantic Versioning](http://semver.org/). --- -## 3.0.0 (TBD) +## [3.0.0](https://github.com/ngageoint/tiff-java/releases/tag/3.0.0) (01-10-2022) * Differencing Predictor decoding implementation * Java 11 diff --git a/README.md b/README.md index 0d15e59..9371b96 100644 --- a/README.md +++ b/README.md @@ -81,12 +81,12 @@ byte[] bytes = TiffWriter.writeTiffToBytes(tiffImage); ### Installation ### -Pull from the [Maven Central Repository](http://search.maven.org/#artifactdetails|mil.nga|tiff|2.0.5|jar) (JAR, POM, Source, Javadoc) +Pull from the [Maven Central Repository](http://search.maven.org/#artifactdetails|mil.nga|tiff|3.0.0|jar) (JAR, POM, Source, Javadoc) mil.nga tiff - 2.0.5 + 3.0.0 ### Build ### diff --git a/docs/docs/api/META-INF/MANIFEST.MF b/docs/docs/api/META-INF/MANIFEST.MF index 62fa774..cf748b2 100644 --- a/docs/docs/api/META-INF/MANIFEST.MF +++ b/docs/docs/api/META-INF/MANIFEST.MF @@ -1,4 +1,4 @@ Manifest-Version: 1.0 -Build-Jdk-Spec: 1.8 -Created-By: Maven Javadoc Plugin 3.2.0 +Created-By: Maven Javadoc Plugin 3.3.1 +Build-Jdk-Spec: 11 diff --git a/docs/docs/api/allclasses-frame.html b/docs/docs/api/allclasses-frame.html deleted file mode 100644 index 2fc03c5..0000000 --- a/docs/docs/api/allclasses-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -All Classes (Tagged Image File Format 2.0.5 API) - - - - - -

All Classes

-
- -
- - diff --git a/docs/docs/api/allclasses-index.html b/docs/docs/api/allclasses-index.html new file mode 100644 index 0000000..442fba7 --- /dev/null +++ b/docs/docs/api/allclasses-index.html @@ -0,0 +1,300 @@ + + + + + +All Classes (Tagged Image File Format 3.0.0 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes

+
+
+ +
+
+ + + diff --git a/docs/docs/api/allclasses-noframe.html b/docs/docs/api/allclasses.html similarity index 75% rename from docs/docs/api/allclasses-noframe.html rename to docs/docs/api/allclasses.html index bf25d6c..025ea03 100644 --- a/docs/docs/api/allclasses-noframe.html +++ b/docs/docs/api/allclasses.html @@ -1,17 +1,25 @@ - + - + +All Classes (Tagged Image File Format 3.0.0 API) -All Classes (Tagged Image File Format 2.0.5 API) - + + + + + + +

All Classes

-
+
-
+ diff --git a/docs/docs/api/allpackages-index.html b/docs/docs/api/allpackages-index.html new file mode 100644 index 0000000..ca5acc9 --- /dev/null +++ b/docs/docs/api/allpackages-index.html @@ -0,0 +1,179 @@ + + + + + +All Packages (Tagged Image File Format 3.0.0 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
+ +
+
+ + + diff --git a/docs/docs/api/constant-values.html b/docs/docs/api/constant-values.html index e589937..8e349cf 100644 --- a/docs/docs/api/constant-values.html +++ b/docs/docs/api/constant-values.html @@ -1,38 +1,51 @@ - + - + +Constant Field Values (Tagged Image File Format 3.0.0 API) -Constant Field Values (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+

Constant Field Values

+

Contents

+
-
+
+

mil.nga.*

+
+
+ diff --git a/docs/docs/api/deprecated-list.html b/docs/docs/api/deprecated-list.html index 203d942..d4ed450 100644 --- a/docs/docs/api/deprecated-list.html +++ b/docs/docs/api/deprecated-list.html @@ -1,38 +1,51 @@ - + - + +Deprecated List (Tagged Image File Format 3.0.0 API) -Deprecated List (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+

Deprecated API

Contents

-
+
+
+ diff --git a/docs/docs/api/package-list b/docs/docs/api/element-list similarity index 100% rename from docs/docs/api/package-list rename to docs/docs/api/element-list diff --git a/docs/docs/api/help-doc.html b/docs/docs/api/help-doc.html index e38f0de..5709f00 100644 --- a/docs/docs/api/help-doc.html +++ b/docs/docs/api/help-doc.html @@ -1,38 +1,51 @@ - + - + +API Help (Tagged Image File Format 3.0.0 API) -API Help (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+

How This API Document Is Organized

This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
@@ -77,118 +100,148 @@

How This API Document Is Organized

  • +

    Overview

    -

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    +
  • +

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      -
    • Interfaces (italic)
    • +
    • Interfaces
    • Classes
    • Enums
    • Exceptions
    • Errors
    • Annotation Types
    +
  • -

    Class/Interface

    +
    +

    Class or Interface

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      -
    • Class inheritance diagram
    • +
    • Class Inheritance Diagram
    • Direct Subclasses
    • All Known Subinterfaces
    • All Known Implementing Classes
    • -
    • Class/interface declaration
    • -
    • Class/interface description
    • +
    • Class or Interface Declaration
    • +
    • Class or Interface Description
    +
    • Nested Class Summary
    • Field Summary
    • +
    • Property Summary
    • Constructor Summary
    • Method Summary
    +
    • Field Detail
    • +
    • Property Detail
    • Constructor Detail
    • Method Detail

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
  • +

    Annotation Type

    Each annotation type has its own separate page with the following sections:

      -
    • Annotation Type declaration
    • -
    • Annotation Type description
    • +
    • Annotation Type Declaration
    • +
    • Annotation Type Description
    • Required Element Summary
    • Optional Element Summary
    • Element Detail
    +
  • +

    Enum

    Each enum has its own separate page with the following sections:

      -
    • Enum declaration
    • -
    • Enum description
    • +
    • Enum Declaration
    • +
    • Enum Description
    • Enum Constant Summary
    • Enum Constant Detail
    +
  • +

    Use

    -

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +

    Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

    +
  • +

    Tree (Class Hierarchy)

    -

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • -
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • +
    • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
    +
  • +

    Deprecated API

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
  • +

    Index

    -

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    +

    The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

    +
  • -

    Prev/Next

    -

    These links take you to the next or previous class, interface, package, or related page.

    -
  • -
  • -

    Frames/No Frames

    -

    These links show and hide the HTML frames. All pages are available with or without frames.

    -
  • -
  • -

    All Classes

    -

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
    +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
  • +

    Serialized Form

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
  • +

    Constant Field Values

    The Constant Field Values page lists the static final fields and their values.

    +
    +
  • +
  • +
    +

    Search

    +

    You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

    +
-This help file applies to API documentation generated using the standard doclet.
+
+This help file applies to API documentation generated by the standard doclet.
+
+ diff --git a/docs/docs/api/index-all.html b/docs/docs/api/index-all.html index 54151de..aa2c44a 100644 --- a/docs/docs/api/index-all.html +++ b/docs/docs/api/index-all.html @@ -1,38 +1,51 @@ - + - + +Index (Tagged Image File Format 3.0.0 API) -Index (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+
+
A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes All Packages

A

-
add(FileDirectory) - Method in class mil.nga.tiff.TIFFImage
+
add(FileDirectory) - Method in class mil.nga.tiff.TIFFImage
Add a file directory
-
addEntry(FileDirectoryEntry) - Method in class mil.nga.tiff.FileDirectory
+
addEntry(FileDirectoryEntry) - Method in class mil.nga.tiff.FileDirectory
Add an entry
-
addToInterleave(int, int, Number) - Method in class mil.nga.tiff.Rasters
+
addToInterleave(int, int, Number) - Method in class mil.nga.tiff.Rasters
Add a value to the interleaved results
-
addToSample(int, int, Number) - Method in class mil.nga.tiff.Rasters
+
addToSample(int, int, Number) - Method in class mil.nga.tiff.Rasters
Add a value to the sample results
+
ApertureValue - mil.nga.tiff.FieldTagType
+
 
+
Artist - mil.nga.tiff.FieldTagType
+
 
+
ASCII - mil.nga.tiff.FieldType
+
+
8-bit byte that contains a 7-bit ASCII code; the last byte must be NUL + (binary zero)
+
- +

B

+
BadFaxLines - mil.nga.tiff.FieldTagType
+
 
+
BitsPerSample - mil.nga.tiff.FieldTagType
+
 
+
BYTE - mil.nga.tiff.FieldType
+
+
8-bit unsigned integer
+
BYTE_ORDER_BIG_ENDIAN - Static variable in class mil.nga.tiff.util.TiffConstants
Big Endian byte order string
@@ -105,7 +145,7 @@

B

Little Endian byte order string
-
byteLength() - Method in class mil.nga.tiff.io.ByteReader
+
byteLength() - Method in class mil.nga.tiff.io.ByteReader
Get the byte length
@@ -113,11 +153,11 @@

B

Read through a byte array
-
ByteReader(byte[]) - Constructor for class mil.nga.tiff.io.ByteReader
+
ByteReader(byte[]) - Constructor for class mil.nga.tiff.io.ByteReader
Constructor
-
ByteReader(byte[], ByteOrder) - Constructor for class mil.nga.tiff.io.ByteReader
+
ByteReader(byte[], ByteOrder) - Constructor for class mil.nga.tiff.io.ByteReader
Constructor
@@ -125,33 +165,47 @@

B

Write a byte array
-
ByteWriter() - Constructor for class mil.nga.tiff.io.ByteWriter
+
ByteWriter() - Constructor for class mil.nga.tiff.io.ByteWriter
Constructor
-
ByteWriter(ByteOrder) - Constructor for class mil.nga.tiff.io.ByteWriter
+
ByteWriter(ByteOrder) - Constructor for class mil.nga.tiff.io.ByteWriter
Constructor
- +

C

-
calculateRowsPerStrip(int) - Method in class mil.nga.tiff.Rasters
+
calculateRowsPerStrip(int) - Method in class mil.nga.tiff.Rasters
Calculate the rows per strip to write
-
calculateRowsPerStrip(int, int) - Method in class mil.nga.tiff.Rasters
+
calculateRowsPerStrip(int, int) - Method in class mil.nga.tiff.Rasters
Calculate the rows per strip to write
-
close() - Method in class mil.nga.tiff.io.ByteWriter
+
CellLength - mil.nga.tiff.FieldTagType
+
 
+
CellWidth - mil.nga.tiff.FieldTagType
+
 
+
CleanFaxData - mil.nga.tiff.FieldTagType
+
 
+
ClipPath - mil.nga.tiff.FieldTagType
+
 
+
close() - Method in class mil.nga.tiff.io.ByteWriter
Close the byte writer
-
compareTo(FileDirectoryEntry) - Method in class mil.nga.tiff.FileDirectoryEntry
+
ColorMap - mil.nga.tiff.FieldTagType
+
 
+
ColorSpace - mil.nga.tiff.FieldTagType
+
 
+
compareTo(FileDirectoryEntry) - Method in class mil.nga.tiff.FileDirectoryEntry
+
Compression - mil.nga.tiff.FieldTagType
+
 
COMPRESSION_CCITT_HUFFMAN - Static variable in class mil.nga.tiff.util.TiffConstants
 
COMPRESSION_DEFLATE - Static variable in class mil.nga.tiff.util.TiffConstants
@@ -168,7 +222,7 @@

C

 
COMPRESSION_PKZIP_DEFLATE - Static variable in class mil.nga.tiff.util.TiffConstants
-
Deprecated.
+
Deprecated.
COMPRESSION_T4 - Static variable in class mil.nga.tiff.util.TiffConstants
 
@@ -182,101 +236,135 @@

C

Compression encoder interface.
+
ConsecutiveBadFaxLines - mil.nga.tiff.FieldTagType
+
 
COPY_BUFFER_SIZE - Static variable in class mil.nga.tiff.io.IOUtils
Copy stream buffer chunk size in bytes
-
copyFile(File, File) - Static method in class mil.nga.tiff.io.IOUtils
+
copyFile(File, File) - Static method in class mil.nga.tiff.io.IOUtils
Copy a file to a file location
-
copyStream(InputStream, File) - Static method in class mil.nga.tiff.io.IOUtils
+
Copyright - mil.nga.tiff.FieldTagType
+
 
+
copyStream(InputStream, File) - Static method in class mil.nga.tiff.io.IOUtils
Copy an input stream to a file location
-
copyStream(InputStream, OutputStream) - Static method in class mil.nga.tiff.io.IOUtils
+
copyStream(InputStream, OutputStream) - Static method in class mil.nga.tiff.io.IOUtils
Copy an input stream to an output stream
- +

D

-
decode(byte[], ByteOrder) - Method in interface mil.nga.tiff.compression.CompressionDecoder
+
DateTime - mil.nga.tiff.FieldTagType
+
 
+
DateTimeDigitized - mil.nga.tiff.FieldTagType
+
 
+
DateTimeOriginal - mil.nga.tiff.FieldTagType
+
 
+
decode(byte[], int, int, int, List<Integer>, int) - Static method in class mil.nga.tiff.compression.Predictor
+
+
Decode the predictor encoded bytes
+
+
decode(byte[], ByteOrder) - Method in interface mil.nga.tiff.compression.CompressionDecoder
Decode the bytes
-
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.DeflateCompression
+
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.DeflateCompression
Decode the bytes
-
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.LZWCompression
+
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.LZWCompression
Decode the bytes
-
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.PackbitsCompression
+
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.PackbitsCompression
Decode the bytes
-
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.RawCompression
+
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.RawCompression
Decode the bytes
-
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.UnsupportedCompression
+
decode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.UnsupportedCompression
Decode the bytes
+
Decode - mil.nga.tiff.FieldTagType
+
 
DEFAULT_MAX_BYTES_PER_STRIP - Static variable in class mil.nga.tiff.util.TiffConstants
Default max bytes per strip when writing strips
+
DefaultImageColor - mil.nga.tiff.FieldTagType
+
 
DeflateCompression - Class in mil.nga.tiff.compression
Deflate Compression
-
DeflateCompression() - Constructor for class mil.nga.tiff.compression.DeflateCompression
+
DeflateCompression() - Constructor for class mil.nga.tiff.compression.DeflateCompression
 
+
DocumentName - mil.nga.tiff.FieldTagType
+
 
+
DotRange - mil.nga.tiff.FieldTagType
+
 
+
DOUBLE - mil.nga.tiff.FieldType
+
+
Double precision (8-byte) IEEE format
+
- +

E

-
encode(byte[], ByteOrder) - Method in interface mil.nga.tiff.compression.CompressionEncoder
+
encode(byte[], ByteOrder) - Method in interface mil.nga.tiff.compression.CompressionEncoder
Encode the bytes
-
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.DeflateCompression
+
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.DeflateCompression
Encode the bytes
-
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.LZWCompression
+
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.LZWCompression
Encode the bytes
-
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.PackbitsCompression
+
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.PackbitsCompression
Encode the bytes
-
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.RawCompression
+
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.RawCompression
Encode the bytes
-
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.UnsupportedCompression
+
encode(byte[], ByteOrder) - Method in class mil.nga.tiff.compression.UnsupportedCompression
Encode the bytes
-
equals(Object) - Method in class mil.nga.tiff.FileDirectoryEntry
+
equals(Object) - Method in class mil.nga.tiff.FileDirectoryEntry
+
ExifIFD - mil.nga.tiff.FieldTagType
+
 
+
ExifVersion - mil.nga.tiff.FieldTagType
+
 
+
ExposureTime - mil.nga.tiff.FieldTagType
+
 
EXTRA_SAMPLES_ASSOCIATED_ALPHA - Static variable in class mil.nga.tiff.util.TiffConstants
 
EXTRA_SAMPLES_UNASSOCIATED_ALPHA - Static variable in class mil.nga.tiff.util.TiffConstants
 
EXTRA_SAMPLES_UNSPECIFIED - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
ExtraSamples - mil.nga.tiff.FieldTagType
+
 
- +

F

@@ -293,7 +381,7 @@

F

TIFF File Identifier
-
fileBytes(File) - Static method in class mil.nga.tiff.io.IOUtils
+
fileBytes(File) - Static method in class mil.nga.tiff.io.IOUtils
Get the file bytes
@@ -302,23 +390,23 @@

F

File Directory, represents all directory entries and can be used to read the image raster
-
FileDirectory(SortedSet<FileDirectoryEntry>, ByteReader) - Constructor for class mil.nga.tiff.FileDirectory
+
FileDirectory() - Constructor for class mil.nga.tiff.FileDirectory
-
Constructor, for reading TIFF files
+
Constructor, for writing TIFF files
-
FileDirectory(SortedSet<FileDirectoryEntry>, ByteReader, boolean) - Constructor for class mil.nga.tiff.FileDirectory
+
FileDirectory(SortedSet<FileDirectoryEntry>, ByteReader) - Constructor for class mil.nga.tiff.FileDirectory
Constructor, for reading TIFF files
-
FileDirectory() - Constructor for class mil.nga.tiff.FileDirectory
+
FileDirectory(SortedSet<FileDirectoryEntry>, ByteReader, boolean) - Constructor for class mil.nga.tiff.FileDirectory
-
Constructor, for writing TIFF files
+
Constructor, for reading TIFF files
-
FileDirectory(Rasters) - Constructor for class mil.nga.tiff.FileDirectory
+
FileDirectory(SortedSet<FileDirectoryEntry>, Rasters) - Constructor for class mil.nga.tiff.FileDirectory
Constructor, for writing TIFF files
-
FileDirectory(SortedSet<FileDirectoryEntry>, Rasters) - Constructor for class mil.nga.tiff.FileDirectory
+
FileDirectory(Rasters) - Constructor for class mil.nga.tiff.FileDirectory
Constructor, for writing TIFF files
@@ -326,254 +414,282 @@

F

TIFF File Directory Entry
-
FileDirectoryEntry(FieldTagType, FieldType, long, Object) - Constructor for class mil.nga.tiff.FileDirectoryEntry
+
FileDirectoryEntry(FieldTagType, FieldType, long, Object) - Constructor for class mil.nga.tiff.FileDirectoryEntry
Constructor
+
FileSource - mil.nga.tiff.FieldTagType
+
 
FILL_ORDER_LOWER_COLUMN_HIGHER_ORDER - Static variable in class mil.nga.tiff.util.TiffConstants
 
FILL_ORDER_LOWER_COLUMN_LOWER_ORDER - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
FillOrder - mil.nga.tiff.FieldTagType
+
 
+
Flash - mil.nga.tiff.FieldTagType
+
 
+
FlashpixVersion - mil.nga.tiff.FieldTagType
+
 
+
FLOAT - mil.nga.tiff.FieldType
+
+
Single precision (4-byte) IEEE format
+
+
FNumber - mil.nga.tiff.FieldTagType
+
 
+
FreeByteCounts - mil.nga.tiff.FieldTagType
+
 
+
FreeOffsets - mil.nga.tiff.FieldTagType
+
 
- +

G

-
get(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
GDAL_METADATA - mil.nga.tiff.FieldTagType
+
 
+
GDAL_NODATA - mil.nga.tiff.FieldTagType
+
 
+
GeoAsciiParams - mil.nga.tiff.FieldTagType
+
 
+
GeoDoubleParams - mil.nga.tiff.FieldTagType
+
 
+
GeoKeyDirectory - mil.nga.tiff.FieldTagType
+
 
+
get(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get a file directory entry from the field tag type
-
getBits() - Method in enum mil.nga.tiff.FieldType
+
getBits() - Method in enum mil.nga.tiff.FieldType
Get the number of bits per value
-
getBitsPerSample() - Method in class mil.nga.tiff.FileDirectory
+
getBitsPerSample() - Method in class mil.nga.tiff.FileDirectory
Get the bits per sample
-
getBitsPerSample() - Method in class mil.nga.tiff.Rasters
+
getBitsPerSample() - Method in class mil.nga.tiff.Rasters
Get the bits per sample
-
getById(int) - Static method in enum mil.nga.tiff.FieldTagType
+
getById(int) - Static method in enum mil.nga.tiff.FieldTagType
Get a field tag type by id
-
getByteOrder() - Method in class mil.nga.tiff.io.ByteReader
+
getByteOrder() - Method in class mil.nga.tiff.io.ByteReader
Get the byte order
-
getByteOrder() - Method in class mil.nga.tiff.io.ByteWriter
+
getByteOrder() - Method in class mil.nga.tiff.io.ByteWriter
Get the byte order
-
getBytes() - Method in enum mil.nga.tiff.FieldType
+
getBytes() - Method in enum mil.nga.tiff.FieldType
Get the number of bytes per value
-
getBytes() - Method in class mil.nga.tiff.io.ByteWriter
+
getBytes() - Method in class mil.nga.tiff.io.ByteWriter
Get the written bytes
-
getColorMap() - Method in class mil.nga.tiff.FileDirectory
+
getColorMap() - Method in class mil.nga.tiff.FileDirectory
Get the color map
-
getCompression() - Method in class mil.nga.tiff.FileDirectory
+
getCompression() - Method in class mil.nga.tiff.FileDirectory
Get the compression
-
getDecoder() - Method in class mil.nga.tiff.FileDirectory
+
getDecoder() - Method in class mil.nga.tiff.FileDirectory
Get the compression decoder
-
getDoubleListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getDoubleListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get a double list entry value
-
getEntries() - Method in class mil.nga.tiff.FileDirectory
+
getEntries() - Method in class mil.nga.tiff.FileDirectory
Get the file directory entries
-
getFieldTag() - Method in class mil.nga.tiff.FileDirectoryEntry
+
getFieldTag() - Method in class mil.nga.tiff.FileDirectoryEntry
Get the field tag type
-
getFieldTagTypeMapping() - Method in class mil.nga.tiff.FileDirectory
+
getFieldTagTypeMapping() - Method in class mil.nga.tiff.FileDirectory
Get the field tag type to file directory entry mapping
-
getFieldType(int) - Static method in enum mil.nga.tiff.FieldType
+
getFieldType() - Method in class mil.nga.tiff.FileDirectoryEntry
Get the field type
-
getFieldType(int, int) - Static method in enum mil.nga.tiff.FieldType
+
getFieldType(int) - Static method in enum mil.nga.tiff.FieldType
-
Get the field type of the sample format and bits per sample
+
Get the field type
-
getFieldType() - Method in class mil.nga.tiff.FileDirectoryEntry
+
getFieldType(int, int) - Static method in enum mil.nga.tiff.FieldType
-
Get the field type
+
Get the field type of the sample format and bits per sample
-
getFieldTypeForSample(int) - Method in class mil.nga.tiff.FileDirectory
+
getFieldTypeForSample(int) - Method in class mil.nga.tiff.FileDirectory
Get the field type for the sample
-
getFieldTypes() - Method in class mil.nga.tiff.Rasters
+
getFieldTypes() - Method in class mil.nga.tiff.Rasters
Returns field types
-
getFileDirectories() - Method in class mil.nga.tiff.TIFFImage
+
getFileDirectories() - Method in class mil.nga.tiff.TIFFImage
Get the file directories
-
getFileDirectory() - Method in class mil.nga.tiff.TIFFImage
+
getFileDirectory() - Method in class mil.nga.tiff.TIFFImage
Get the default, first, or only file directory
-
getFileDirectory(int) - Method in class mil.nga.tiff.TIFFImage
+
getFileDirectory(int) - Method in class mil.nga.tiff.TIFFImage
Get the file directory at the index
-
getFirstPixelSample(int, int) - Method in class mil.nga.tiff.Rasters
+
getFirstPixelSample(int, int) - Method in class mil.nga.tiff.Rasters
Get the first pixel sample value, useful for single sample pixels (grayscale)
-
getHeight() - Method in class mil.nga.tiff.Rasters
+
getHeight() - Method in class mil.nga.tiff.Rasters
Get the height of pixels
-
getId() - Method in enum mil.nga.tiff.FieldTagType
+
getId() - Method in enum mil.nga.tiff.FieldTagType
Get the tag id
-
getImageHeight() - Method in class mil.nga.tiff.FileDirectory
+
getImageHeight() - Method in class mil.nga.tiff.FileDirectory
Get the image height
-
getImageWidth() - Method in class mil.nga.tiff.FileDirectory
+
getImageWidth() - Method in class mil.nga.tiff.FileDirectory
Get the image width
-
getIntegerEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getIntegerEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get an integer entry value
-
getIntegerListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getIntegerListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get an integer list entry value
-
getInterleaveIndex(int, int) - Method in class mil.nga.tiff.Rasters
+
getInterleaveIndex(int, int) - Method in class mil.nga.tiff.Rasters
Get the interleave index location
-
getInterleaveValues() - Method in class mil.nga.tiff.Rasters
+
getInterleaveValues() - Method in class mil.nga.tiff.Rasters
Get the results stored as interleaved pixel samples
-
getLongListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getLongListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get a long list entry value
-
getMaxBitsPerSample() - Method in class mil.nga.tiff.FileDirectory
+
getMaxBitsPerSample() - Method in class mil.nga.tiff.FileDirectory
Get the max bits per sample
-
getMaxIntegerEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getMaxIntegerEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get the max integer from integer list entry values
-
getMaxSampleFormat() - Method in class mil.nga.tiff.FileDirectory
+
getMaxSampleFormat() - Method in class mil.nga.tiff.FileDirectory
Get the max sample format
-
getMaxX() - Method in class mil.nga.tiff.ImageWindow
+
getMaxX() - Method in class mil.nga.tiff.ImageWindow
Get the max x
-
getMaxY() - Method in class mil.nga.tiff.ImageWindow
+
getMaxY() - Method in class mil.nga.tiff.ImageWindow
Get the max y
-
getMinX() - Method in class mil.nga.tiff.ImageWindow
+
getMinX() - Method in class mil.nga.tiff.ImageWindow
Get the min x
-
getMinY() - Method in class mil.nga.tiff.ImageWindow
+
getMinY() - Method in class mil.nga.tiff.ImageWindow
Get the min y
-
getModelPixelScale() - Method in class mil.nga.tiff.FileDirectory
+
getModelPixelScale() - Method in class mil.nga.tiff.FileDirectory
Get the model pixel scale
-
getModelTiepoint() - Method in class mil.nga.tiff.FileDirectory
+
getModelTiepoint() - Method in class mil.nga.tiff.FileDirectory
Get the model tiepoint
-
getNextByte() - Method in class mil.nga.tiff.io.ByteReader
+
getNextByte() - Method in class mil.nga.tiff.io.ByteReader
Get the next byte to be read
-
getNumberEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getNumberEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get an number entry value
-
getNumberListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getNumberListEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get a number list entry value
-
getNumPixels() - Method in class mil.nga.tiff.Rasters
+
getNumPixels() - Method in class mil.nga.tiff.Rasters
Return the number of pixels
-
getOutputStream() - Method in class mil.nga.tiff.io.ByteWriter
+
getOutputStream() - Method in class mil.nga.tiff.io.ByteWriter
Get the byte array output stream
-
getPhotometricInterpretation() - Method in class mil.nga.tiff.FileDirectory
+
getPhotometricInterpretation() - Method in class mil.nga.tiff.FileDirectory
Get the photometric interpretation
-
getPixel(int, int) - Method in class mil.nga.tiff.Rasters
+
getPixel(int, int) - Method in class mil.nga.tiff.Rasters
Get the pixel sample values
-
getPixelRow(int, ByteOrder) - Method in class mil.nga.tiff.Rasters
+
getPixelRow(int, ByteOrder) - Method in class mil.nga.tiff.Rasters
Returns byte array of pixel row.
-
getPixelSample(int, int, int) - Method in class mil.nga.tiff.Rasters
+
getPixelSample(int, int, int) - Method in class mil.nga.tiff.Rasters
Get a pixel sample value
-
getPlanarConfiguration() - Method in class mil.nga.tiff.FileDirectory
+
getPlanarConfiguration() - Method in class mil.nga.tiff.FileDirectory
Get the planar configuration
-
getReader() - Method in class mil.nga.tiff.FileDirectory
+
getPredictor() - Method in class mil.nga.tiff.FileDirectory
+
+
Get the predictor
+
+
getReader() - Method in class mil.nga.tiff.FileDirectory
Get the byte reader
-
getResolutionUnit() - Method in class mil.nga.tiff.FileDirectory
+
getResolutionUnit() - Method in class mil.nga.tiff.FileDirectory
Get the resolution unit
-
getRowsPerStrip() - Method in class mil.nga.tiff.FileDirectory
+
getRowsPerStrip() - Method in class mil.nga.tiff.FileDirectory
Get the rows per strip
-
getSampleFormat(FieldType) - Static method in enum mil.nga.tiff.FieldType
-
-
Get the sample format of the field type
-
-
getSampleFormat() - Method in class mil.nga.tiff.FileDirectory
+
getSampleFormat() - Method in class mil.nga.tiff.FileDirectory
Get the sample format
-
getSampleFormat() - Method in class mil.nga.tiff.Rasters
+
getSampleFormat() - Method in class mil.nga.tiff.Rasters
Returns list of sample types constants @@ -581,79 +697,83 @@

G

SAMPLE_FORMAT_SIGNED_INT or SAMPLE_FORMAT_FLOAT) for each sample in sample list @see getFieldTypes().
-
getSampleIndex(int, int) - Method in class mil.nga.tiff.Rasters
+
getSampleFormat(FieldType) - Static method in enum mil.nga.tiff.FieldType
+
+
Get the sample format of the field type
+
+
getSampleIndex(int, int) - Method in class mil.nga.tiff.Rasters
Get the sample index location
-
getSampleRow(int, int, ByteOrder) - Method in class mil.nga.tiff.Rasters
+
getSampleRow(int, int, ByteOrder) - Method in class mil.nga.tiff.Rasters
Returns byte array of sample row.
-
getSamplesPerPixel() - Method in class mil.nga.tiff.FileDirectory
+
getSamplesPerPixel() - Method in class mil.nga.tiff.FileDirectory
Get the samples per pixel
-
getSamplesPerPixel() - Method in class mil.nga.tiff.Rasters
+
getSamplesPerPixel() - Method in class mil.nga.tiff.Rasters
Get the number of samples per pixel
-
getSampleValues() - Method in class mil.nga.tiff.Rasters
+
getSampleValues() - Method in class mil.nga.tiff.Rasters
Get the results stored by samples
-
getStringEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
+
getStringEntryValue(FieldTagType) - Method in class mil.nga.tiff.FileDirectory
Get a string entry value for the field tag type
-
getStripByteCounts() - Method in class mil.nga.tiff.FileDirectory
+
getStripByteCounts() - Method in class mil.nga.tiff.FileDirectory
Get the strip byte counts
-
getStripOffsets() - Method in class mil.nga.tiff.FileDirectory
+
getStripOffsets() - Method in class mil.nga.tiff.FileDirectory
Get the strip offsets
-
getTileByteCounts() - Method in class mil.nga.tiff.FileDirectory
+
getTileByteCounts() - Method in class mil.nga.tiff.FileDirectory
Get the tile byte counts
-
getTileHeight() - Method in class mil.nga.tiff.FileDirectory
+
getTileHeight() - Method in class mil.nga.tiff.FileDirectory
Get the tile height
-
getTileOffsets() - Method in class mil.nga.tiff.FileDirectory
+
getTileOffsets() - Method in class mil.nga.tiff.FileDirectory
Get the tile offsets
-
getTileWidth() - Method in class mil.nga.tiff.FileDirectory
+
getTileWidth() - Method in class mil.nga.tiff.FileDirectory
Get the tile width
-
getTypeCount() - Method in class mil.nga.tiff.FileDirectoryEntry
+
getTypeCount() - Method in class mil.nga.tiff.FileDirectoryEntry
Get the type count
-
getValue() - Method in enum mil.nga.tiff.FieldType
+
getValue() - Method in enum mil.nga.tiff.FieldType
Get the field type value
-
getValues() - Method in class mil.nga.tiff.FileDirectoryEntry
+
getValues() - Method in class mil.nga.tiff.FileDirectoryEntry
Get the values
-
getWidth() - Method in class mil.nga.tiff.Rasters
+
getWidth() - Method in class mil.nga.tiff.Rasters
Get the width of pixels
-
getWriteRasters() - Method in class mil.nga.tiff.FileDirectory
+
getWriteRasters() - Method in class mil.nga.tiff.FileDirectory
Get the rasters for writing a TIFF file
-
getXResolution() - Method in class mil.nga.tiff.FileDirectory
+
getXResolution() - Method in class mil.nga.tiff.FileDirectory
Get the x resolution
-
getYResolution() - Method in class mil.nga.tiff.FileDirectory
+
getYResolution() - Method in class mil.nga.tiff.FileDirectory
Get the y resolution
@@ -667,34 +787,40 @@

G

 
GRAY_RESPONSE_THOUSANDTHS - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
GrayResponseCurve - mil.nga.tiff.FieldTagType
+
 
+
GrayResponseUnit - mil.nga.tiff.FieldTagType
+
 
- +

H

-
hasByte() - Method in class mil.nga.tiff.io.ByteReader
+
HalftoneHints - mil.nga.tiff.FieldTagType
+
 
+
hasByte() - Method in class mil.nga.tiff.io.ByteReader
Check if there is at least one more byte left to read
-
hasByte(int) - Method in class mil.nga.tiff.io.ByteReader
+
hasByte(int) - Method in class mil.nga.tiff.io.ByteReader
Check if there is at least one more byte left to read
-
hasBytes(int) - Method in class mil.nga.tiff.io.ByteReader
+
hasBytes(int) - Method in class mil.nga.tiff.io.ByteReader
Check if there are the provided number of bytes left to read
-
hasBytes(int, int) - Method in class mil.nga.tiff.io.ByteReader
+
hasBytes(int, int) - Method in class mil.nga.tiff.io.ByteReader
Check if there are the provided number of bytes left to read
-
hashCode() - Method in class mil.nga.tiff.FileDirectoryEntry
-
hasInterleaveValues() - Method in class mil.nga.tiff.Rasters
+
hashCode() - Method in class mil.nga.tiff.FileDirectoryEntry
+
hasInterleaveValues() - Method in class mil.nga.tiff.Rasters
True if the results are stored interleaved
-
hasSampleValues() - Method in class mil.nga.tiff.Rasters
+
hasSampleValues() - Method in class mil.nga.tiff.Rasters
True if the results are stored by samples
@@ -702,12 +828,16 @@

H

TIFF header bytes
+
HostComputer - mil.nga.tiff.FieldTagType
+
 
- +

I

+
ICCProfile - mil.nga.tiff.FieldTagType
+
 
IFD_ENTRY_BYTES - Static variable in class mil.nga.tiff.util.TiffConstants
Image File Directory entry bytes
@@ -720,54 +850,104 @@

I

Image File Directory offset to the next IFD bytes
+
ImageDescription - mil.nga.tiff.FieldTagType
+
 
+
ImageLength - mil.nga.tiff.FieldTagType
+
 
+
ImageUniqueID - mil.nga.tiff.FieldTagType
+
 
+
ImageWidth - mil.nga.tiff.FieldTagType
+
 
ImageWindow - Class in mil.nga.tiff
Coordinates of a window over a portion or the entire image coordinates
-
ImageWindow(int, int, int, int) - Constructor for class mil.nga.tiff.ImageWindow
+
ImageWindow(int, int) - Constructor for class mil.nga.tiff.ImageWindow
-
Constructor
+
Constructor for a single coordinate
-
ImageWindow(int, int) - Constructor for class mil.nga.tiff.ImageWindow
+
ImageWindow(int, int, int, int) - Constructor for class mil.nga.tiff.ImageWindow
-
Constructor for a single coordinate
+
Constructor
-
ImageWindow(FileDirectory) - Constructor for class mil.nga.tiff.ImageWindow
+
ImageWindow(FileDirectory) - Constructor for class mil.nga.tiff.ImageWindow
Constructor, full image size
+
Indexed - mil.nga.tiff.FieldTagType
+
 
IOUtils - Class in mil.nga.tiff.io
Input / Output utility methods
-
IOUtils() - Constructor for class mil.nga.tiff.io.IOUtils
+
IOUtils() - Constructor for class mil.nga.tiff.io.IOUtils
+
 
+
IPTC - mil.nga.tiff.FieldTagType
 
-
isArray() - Method in enum mil.nga.tiff.FieldTagType
+
isArray() - Method in enum mil.nga.tiff.FieldTagType
Is this field an array type
-
isTiled() - Method in class mil.nga.tiff.FileDirectory
+
isTiled() - Method in class mil.nga.tiff.FileDirectory
Is this a tiled image
- + + + +

J

+
+
JPEGACTables - mil.nga.tiff.FieldTagType
+
 
+
JPEGDCTables - mil.nga.tiff.FieldTagType
+
 
+
JPEGInterchangeFormat - mil.nga.tiff.FieldTagType
+
 
+
JPEGInterchangeFormatLength - mil.nga.tiff.FieldTagType
+
 
+
JPEGLosslessPredictors - mil.nga.tiff.FieldTagType
+
 
+
JPEGPointTransforms - mil.nga.tiff.FieldTagType
+
 
+
JPEGProc - mil.nga.tiff.FieldTagType
+
 
+
JPEGQTables - mil.nga.tiff.FieldTagType
+
 
+
JPEGRestartInterval - mil.nga.tiff.FieldTagType
+
 
+
JPEGTables - mil.nga.tiff.FieldTagType
+
 
+
+

L

+
LightSource - mil.nga.tiff.FieldTagType
+
 
+
LONG - mil.nga.tiff.FieldType
+
+
32-bit (4-byte) unsigned integer
+
LZWCompression - Class in mil.nga.tiff.compression
LZW Compression
-
LZWCompression() - Constructor for class mil.nga.tiff.compression.LZWCompression
+
LZWCompression() - Constructor for class mil.nga.tiff.compression.LZWCompression
 
- +

M

+
Make - mil.nga.tiff.FieldTagType
+
 
+
MakerNote - mil.nga.tiff.FieldTagType
+
 
+
MaxSampleValue - mil.nga.tiff.FieldTagType
+
 
mil.nga.tiff - package mil.nga.tiff
 
mil.nga.tiff.compression - package mil.nga.tiff.compression
@@ -776,22 +956,36 @@

M

 
mil.nga.tiff.util - package mil.nga.tiff.util
 
+
MinSampleValue - mil.nga.tiff.FieldTagType
+
 
+
Model - mil.nga.tiff.FieldTagType
+
 
+
ModelPixelScale - mil.nga.tiff.FieldTagType
+
 
+
ModelTiepoint - mil.nga.tiff.FieldTagType
+
 
+
ModelTransformation - mil.nga.tiff.FieldTagType
+
 
- +

N

-
numEntries() - Method in class mil.nga.tiff.FileDirectory
+
NewSubfileType - mil.nga.tiff.FieldTagType
+
 
+
numEntries() - Method in class mil.nga.tiff.FileDirectory
Get the number of entries
- +

O

+
Orientation - mil.nga.tiff.FieldTagType
+
 
ORIENTATION_BOTTOM_ROW_LEFT_COLUMN - Static variable in class mil.nga.tiff.util.TiffConstants
 
ORIENTATION_BOTTOM_ROW_RIGHT_COLUMN - Static variable in class mil.nga.tiff.util.TiffConstants
@@ -809,7 +1003,7 @@

O

ORIENTATION_TOP_ROW_RIGHT_COLUMN - Static variable in class mil.nga.tiff.util.TiffConstants
 
- +

P

@@ -818,7 +1012,11 @@

P

Packbits Compression
-
PackbitsCompression() - Constructor for class mil.nga.tiff.compression.PackbitsCompression
+
PackbitsCompression() - Constructor for class mil.nga.tiff.compression.PackbitsCompression
+
 
+
PageName - mil.nga.tiff.FieldTagType
+
 
+
PageNumber - mil.nga.tiff.FieldTagType
 
PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO - Static variable in class mil.nga.tiff.util.TiffConstants
 
@@ -830,12 +1028,34 @@

P

 
PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
PhotometricInterpretation - mil.nga.tiff.FieldTagType
+
 
+
Photoshop - mil.nga.tiff.FieldTagType
+
 
PLANAR_CONFIGURATION_CHUNKY - Static variable in class mil.nga.tiff.util.TiffConstants
 
PLANAR_CONFIGURATION_PLANAR - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
PlanarConfiguration - mil.nga.tiff.FieldTagType
+
 
+
Predictor - Class in mil.nga.tiff.compression
+
+
Differencing Predictor decoder
+
+
Predictor - mil.nga.tiff.FieldTagType
+
 
+
Predictor() - Constructor for class mil.nga.tiff.compression.Predictor
+
 
+
PREDICTOR_FLOATINGPOINT - Static variable in class mil.nga.tiff.util.TiffConstants
+
 
+
PREDICTOR_HORIZONTAL - Static variable in class mil.nga.tiff.util.TiffConstants
+
 
+
PREDICTOR_NO - Static variable in class mil.nga.tiff.util.TiffConstants
+
 
+
PrimaryChromaticities - mil.nga.tiff.FieldTagType
+
 
- +

R

@@ -844,270 +1064,281 @@

R

Raster image values
-
Rasters(int, int, FieldType[], ByteBuffer[]) - Constructor for class mil.nga.tiff.Rasters
-
-
Constructor
-
-
Rasters(int, int, FieldType[], ByteBuffer) - Constructor for class mil.nga.tiff.Rasters
-
-
Constructor
-
-
Rasters(int, int, FieldType[], ByteBuffer[], ByteBuffer) - Constructor for class mil.nga.tiff.Rasters
-
-
Constructor
-
-
Rasters(int, int, int, FieldType) - Constructor for class mil.nga.tiff.Rasters
-
-
Constructor - - Creates Rasters object where given field type used for each sample.
-
-
Rasters(int, int, int, FieldType, ByteOrder) - Constructor for class mil.nga.tiff.Rasters
-
-
Constructor - - Creates Rasters object where given field type used for each sample.
-
-
Rasters(int, int, int[], int[]) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, int[], int[]) - Constructor for class mil.nga.tiff.Rasters
Constructor Creates Rasters object where one bits per sample and sample format is provided for each sample
-
Rasters(int, int, int[], int[], ByteOrder) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, int[], int[], ByteOrder) - Constructor for class mil.nga.tiff.Rasters
Constructor Creates Rasters object where one bits per sample and sample format is provided for each sample
-
Rasters(int, int, int, int, int) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, int, int, int) - Constructor for class mil.nga.tiff.Rasters
Constructor Creates Rasters object where given bits per sample and sample format is used for each sample
-
Rasters(int, int, int, int, int, ByteOrder) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, int, int, int, ByteOrder) - Constructor for class mil.nga.tiff.Rasters
Constructor Creates Rasters object where given bits per sample and sample format is used for each sample
-
Rasters(int, int, FieldType[]) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, int, FieldType) - Constructor for class mil.nga.tiff.Rasters
+
+
Constructor + + Creates Rasters object where given field type used for each sample.
+
+
Rasters(int, int, int, FieldType, ByteOrder) - Constructor for class mil.nga.tiff.Rasters
+
+
Constructor + + Creates Rasters object where given field type used for each sample.
+
+
Rasters(int, int, FieldType[]) - Constructor for class mil.nga.tiff.Rasters
+
+
Constructor
+
+
Rasters(int, int, FieldType[], ByteBuffer) - Constructor for class mil.nga.tiff.Rasters
+
+
Constructor
+
+
Rasters(int, int, FieldType[], ByteBuffer[]) - Constructor for class mil.nga.tiff.Rasters
Constructor
-
Rasters(int, int, FieldType[], ByteOrder) - Constructor for class mil.nga.tiff.Rasters
+
Rasters(int, int, FieldType[], ByteBuffer[], ByteBuffer) - Constructor for class mil.nga.tiff.Rasters
Constructor
+
Rasters(int, int, FieldType[], ByteOrder) - Constructor for class mil.nga.tiff.Rasters
+
+
Constructor
+
+
RATIONAL - mil.nga.tiff.FieldType
+
+
Two LONGs: the first represents the numerator of a fraction; the second, + the denominator
+
RawCompression - Class in mil.nga.tiff.compression
Raw / no compression
-
RawCompression() - Constructor for class mil.nga.tiff.compression.RawCompression
+
RawCompression() - Constructor for class mil.nga.tiff.compression.RawCompression
 
-
readByte() - Method in class mil.nga.tiff.io.ByteReader
+
readByte() - Method in class mil.nga.tiff.io.ByteReader
Read a byte
-
readByte(int) - Method in class mil.nga.tiff.io.ByteReader
+
readByte(int) - Method in class mil.nga.tiff.io.ByteReader
Read a byte
-
readBytes(int) - Method in class mil.nga.tiff.io.ByteReader
+
readBytes(int) - Method in class mil.nga.tiff.io.ByteReader
Read a number of bytes
-
readBytes(int, int) - Method in class mil.nga.tiff.io.ByteReader
+
readBytes(int, int) - Method in class mil.nga.tiff.io.ByteReader
Read a number of bytes
-
readDouble() - Method in class mil.nga.tiff.io.ByteReader
+
readDouble() - Method in class mil.nga.tiff.io.ByteReader
Read a double
-
readDouble(int) - Method in class mil.nga.tiff.io.ByteReader
+
readDouble(int) - Method in class mil.nga.tiff.io.ByteReader
Read a double
-
readFloat() - Method in class mil.nga.tiff.io.ByteReader
+
readFloat() - Method in class mil.nga.tiff.io.ByteReader
Read a float
-
readFloat(int) - Method in class mil.nga.tiff.io.ByteReader
+
readFloat(int) - Method in class mil.nga.tiff.io.ByteReader
Read a float
-
readInt() - Method in class mil.nga.tiff.io.ByteReader
+
readInt() - Method in class mil.nga.tiff.io.ByteReader
Read an integer
-
readInt(int) - Method in class mil.nga.tiff.io.ByteReader
+
readInt(int) - Method in class mil.nga.tiff.io.ByteReader
Read an integer
-
readInterleavedRasters() - Method in class mil.nga.tiff.FileDirectory
+
readInterleavedRasters() - Method in class mil.nga.tiff.FileDirectory
Read the rasters as interleaved
-
readInterleavedRasters(ImageWindow) - Method in class mil.nga.tiff.FileDirectory
+
readInterleavedRasters(int[]) - Method in class mil.nga.tiff.FileDirectory
Read the rasters as interleaved
-
readInterleavedRasters(int[]) - Method in class mil.nga.tiff.FileDirectory
+
readInterleavedRasters(ImageWindow) - Method in class mil.nga.tiff.FileDirectory
Read the rasters as interleaved
-
readInterleavedRasters(ImageWindow, int[]) - Method in class mil.nga.tiff.FileDirectory
+
readInterleavedRasters(ImageWindow, int[]) - Method in class mil.nga.tiff.FileDirectory
Read the rasters as interleaved
-
readRasters() - Method in class mil.nga.tiff.FileDirectory
+
readRasters() - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(ImageWindow) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(int[]) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(int[]) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(ImageWindow, int[]) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(int[], boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(ImageWindow) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(ImageWindow, boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(ImageWindow, boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(int[], boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(ImageWindow, int[]) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readRasters(ImageWindow, int[], boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
+
readRasters(ImageWindow, int[], boolean, boolean) - Method in class mil.nga.tiff.FileDirectory
Read the rasters
-
readShort() - Method in class mil.nga.tiff.io.ByteReader
+
readShort() - Method in class mil.nga.tiff.io.ByteReader
Read a short
-
readShort(int) - Method in class mil.nga.tiff.io.ByteReader
+
readShort(int) - Method in class mil.nga.tiff.io.ByteReader
Read a short
-
readString(int) - Method in class mil.nga.tiff.io.ByteReader
+
readString(int) - Method in class mil.nga.tiff.io.ByteReader
Read a String from the provided number of bytes
-
readString(int, int) - Method in class mil.nga.tiff.io.ByteReader
+
readString(int, int) - Method in class mil.nga.tiff.io.ByteReader
Read a String from the provided number of bytes
-
readTiff(File) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(byte[]) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from a file
+
Read a TIFF from the bytes
-
readTiff(File, boolean) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(byte[], boolean) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from a file
+
Read a TIFF from the bytes
-
readTiff(InputStream) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(File) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from an input stream
+
Read a TIFF from a file
-
readTiff(InputStream, boolean) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(File, boolean) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from an input stream
+
Read a TIFF from a file
-
readTiff(byte[]) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(InputStream) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from the bytes
+
Read a TIFF from an input stream
-
readTiff(byte[], boolean) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(InputStream, boolean) - Static method in class mil.nga.tiff.TiffReader
-
Read a TIFF from the bytes
+
Read a TIFF from an input stream
-
readTiff(ByteReader) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(ByteReader) - Static method in class mil.nga.tiff.TiffReader
Read a TIFF from the byte reader
-
readTiff(ByteReader, boolean) - Static method in class mil.nga.tiff.TiffReader
+
readTiff(ByteReader, boolean) - Static method in class mil.nga.tiff.TiffReader
Read a TIFF from the byte reader
-
readUnsignedByte() - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedByte() - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned byte
-
readUnsignedByte(int) - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedByte(int) - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned byte
-
readUnsignedInt() - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedInt() - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned int
-
readUnsignedInt(int) - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedInt(int) - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned int
-
readUnsignedShort() - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedShort() - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned short
-
readUnsignedShort(int) - Method in class mil.nga.tiff.io.ByteReader
+
readUnsignedShort(int) - Method in class mil.nga.tiff.io.ByteReader
Read an unsigned short
+
ReferenceBlackWhite - mil.nga.tiff.FieldTagType
+
 
RESOLUTION_UNIT_CENTIMETER - Static variable in class mil.nga.tiff.util.TiffConstants
 
RESOLUTION_UNIT_INCH - Static variable in class mil.nga.tiff.util.TiffConstants
 
RESOLUTION_UNIT_NO - Static variable in class mil.nga.tiff.util.TiffConstants
 
-
rowEncoding() - Method in interface mil.nga.tiff.compression.CompressionEncoder
+
ResolutionUnit - mil.nga.tiff.FieldTagType
+
 
+
rowEncoding() - Method in interface mil.nga.tiff.compression.CompressionEncoder
True to encode on a per row basis, false to encode on a per block / strip basis
-
rowEncoding() - Method in class mil.nga.tiff.compression.DeflateCompression
+
rowEncoding() - Method in class mil.nga.tiff.compression.DeflateCompression
True to encode on a per row basis, false to encode on a per block / strip basis
-
rowEncoding() - Method in class mil.nga.tiff.compression.LZWCompression
+
rowEncoding() - Method in class mil.nga.tiff.compression.LZWCompression
True to encode on a per row basis, false to encode on a per block / strip basis
-
rowEncoding() - Method in class mil.nga.tiff.compression.PackbitsCompression
+
rowEncoding() - Method in class mil.nga.tiff.compression.PackbitsCompression
True to encode on a per row basis, false to encode on a per block / strip basis
-
rowEncoding() - Method in class mil.nga.tiff.compression.RawCompression
+
rowEncoding() - Method in class mil.nga.tiff.compression.RawCompression
True to encode on a per row basis, false to encode on a per block / strip basis
-
rowEncoding() - Method in class mil.nga.tiff.compression.UnsupportedCompression
+
rowEncoding() - Method in class mil.nga.tiff.compression.UnsupportedCompression
True to encode on a per row basis, false to encode on a per block / strip basis
+
RowsPerStrip - mil.nga.tiff.FieldTagType
+
 
- +

S

@@ -1122,308 +1353,361 @@

S

 
SAMPLE_FORMAT_UNSIGNED_INT - Static variable in class mil.nga.tiff.util.TiffConstants
 
-
setBitsPerSample(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
SampleFormat - mil.nga.tiff.FieldTagType
+
 
+
SamplesPerPixel - mil.nga.tiff.FieldTagType
+
 
+
SBYTE - mil.nga.tiff.FieldType
-
Set the bits per sample
+
An 8-bit signed (twos-complement) integer
-
setBitsPerSample(int) - Method in class mil.nga.tiff.FileDirectory
+
setBitsPerSample(int) - Method in class mil.nga.tiff.FileDirectory
Set a single value bits per sample
-
setByteOrder(ByteOrder) - Method in class mil.nga.tiff.io.ByteReader
+
setBitsPerSample(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
+
Set the bits per sample
+
+
setByteOrder(ByteOrder) - Method in class mil.nga.tiff.io.ByteReader
Set the byte order
-
setByteOrder(ByteOrder) - Method in class mil.nga.tiff.io.ByteWriter
+
setByteOrder(ByteOrder) - Method in class mil.nga.tiff.io.ByteWriter
Set the byte order
-
setCache(boolean) - Method in class mil.nga.tiff.FileDirectory
+
setCache(boolean) - Method in class mil.nga.tiff.FileDirectory
Set whether to cache tiles.
-
setColorMap(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
setColorMap(int) - Method in class mil.nga.tiff.FileDirectory
-
Set the color map
+
Set a single value color map
-
setColorMap(int) - Method in class mil.nga.tiff.FileDirectory
+
setColorMap(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
-
Set a single value color map
+
Set the color map
-
setCompression(int) - Method in class mil.nga.tiff.FileDirectory
+
setCompression(int) - Method in class mil.nga.tiff.FileDirectory
Set the compression
-
setDoubleListEntryValue(FieldTagType, List<Double>) - Method in class mil.nga.tiff.FileDirectory
+
setDoubleListEntryValue(FieldTagType, List<Double>) - Method in class mil.nga.tiff.FileDirectory
Set a double list entry value
-
setFirstPixelSample(int, int, Number) - Method in class mil.nga.tiff.Rasters
+
setFirstPixelSample(int, int, Number) - Method in class mil.nga.tiff.Rasters
Set the first pixel sample value, useful for single sample pixels (grayscale)
-
setImageHeight(int) - Method in class mil.nga.tiff.FileDirectory
+
setImageHeight(int) - Method in class mil.nga.tiff.FileDirectory
Set the image height
-
setImageHeightAsLong(long) - Method in class mil.nga.tiff.FileDirectory
+
setImageHeightAsLong(long) - Method in class mil.nga.tiff.FileDirectory
Set the image height
-
setImageWidth(int) - Method in class mil.nga.tiff.FileDirectory
+
setImageWidth(int) - Method in class mil.nga.tiff.FileDirectory
Set the image width
-
setImageWidthAsLong(long) - Method in class mil.nga.tiff.FileDirectory
+
setImageWidthAsLong(long) - Method in class mil.nga.tiff.FileDirectory
Set the image width
-
setInterleaveValues(ByteBuffer) - Method in class mil.nga.tiff.Rasters
+
setInterleaveValues(ByteBuffer) - Method in class mil.nga.tiff.Rasters
Set the results stored as interleaved pixel samples
-
setMaxX(int) - Method in class mil.nga.tiff.ImageWindow
+
setMaxX(int) - Method in class mil.nga.tiff.ImageWindow
Set the max x
-
setMaxY(int) - Method in class mil.nga.tiff.ImageWindow
+
setMaxY(int) - Method in class mil.nga.tiff.ImageWindow
Set the max y
-
setMinX(int) - Method in class mil.nga.tiff.ImageWindow
+
setMinX(int) - Method in class mil.nga.tiff.ImageWindow
Set the min x
-
setMinY(int) - Method in class mil.nga.tiff.ImageWindow
+
setMinY(int) - Method in class mil.nga.tiff.ImageWindow
Set the min y
-
setModelPixelScale(List<Double>) - Method in class mil.nga.tiff.FileDirectory
+
setModelPixelScale(List<Double>) - Method in class mil.nga.tiff.FileDirectory
Set the model pixel scale
-
setModelTiepoint(List<Double>) - Method in class mil.nga.tiff.FileDirectory
+
setModelTiepoint(List<Double>) - Method in class mil.nga.tiff.FileDirectory
Set the model tiepoint
-
setNextByte(long) - Method in class mil.nga.tiff.io.ByteReader
+
setNextByte(long) - Method in class mil.nga.tiff.io.ByteReader
Set the next byte to be read
-
setPhotometricInterpretation(int) - Method in class mil.nga.tiff.FileDirectory
+
setPhotometricInterpretation(int) - Method in class mil.nga.tiff.FileDirectory
Set the photometric interpretation
-
setPixel(int, int, Number[]) - Method in class mil.nga.tiff.Rasters
+
setPixel(int, int, Number[]) - Method in class mil.nga.tiff.Rasters
Set the pixel sample values
-
setPixelSample(int, int, int, Number) - Method in class mil.nga.tiff.Rasters
+
setPixelSample(int, int, int, Number) - Method in class mil.nga.tiff.Rasters
Set a pixel sample value
-
setPlanarConfiguration(int) - Method in class mil.nga.tiff.FileDirectory
+
setPlanarConfiguration(int) - Method in class mil.nga.tiff.FileDirectory
Set the planar configuration
-
setRationalEntryValue(FieldTagType, List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setPredictor(int) - Method in class mil.nga.tiff.FileDirectory
+
+
Set the predictor
+
+
setRationalEntryValue(FieldTagType, List<Long>) - Method in class mil.nga.tiff.FileDirectory
Set rational value for the field tag type
-
setResolutionUnit(int) - Method in class mil.nga.tiff.FileDirectory
+
setResolutionUnit(int) - Method in class mil.nga.tiff.FileDirectory
Set the resolution unit
-
setRowsPerStrip(int) - Method in class mil.nga.tiff.FileDirectory
+
setRowsPerStrip(int) - Method in class mil.nga.tiff.FileDirectory
Set the rows per strip
-
setRowsPerStripAsLong(long) - Method in class mil.nga.tiff.FileDirectory
+
setRowsPerStripAsLong(long) - Method in class mil.nga.tiff.FileDirectory
Set the rows per strip
-
setSampleFormat(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
setSampleFormat(int) - Method in class mil.nga.tiff.FileDirectory
-
Set the sample format
+
Set a single value sample format
-
setSampleFormat(int) - Method in class mil.nga.tiff.FileDirectory
+
setSampleFormat(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
-
Set a single value sample format
+
Set the sample format
-
setSamplesPerPixel(int) - Method in class mil.nga.tiff.FileDirectory
+
setSamplesPerPixel(int) - Method in class mil.nga.tiff.FileDirectory
Set the samples per pixel
-
setSampleValues(ByteBuffer[]) - Method in class mil.nga.tiff.Rasters
+
setSampleValues(ByteBuffer[]) - Method in class mil.nga.tiff.Rasters
Set the results stored by samples
-
setStringEntryValue(FieldTagType, String) - Method in class mil.nga.tiff.FileDirectory
+
setStringEntryValue(FieldTagType, String) - Method in class mil.nga.tiff.FileDirectory
Set string value for the field tag type
-
setStripByteCounts(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
-
-
Set the strip byte counts
-
-
setStripByteCounts(int) - Method in class mil.nga.tiff.FileDirectory
+
setStripByteCounts(int) - Method in class mil.nga.tiff.FileDirectory
Set a single value strip byte count
-
setStripByteCounts(long) - Method in class mil.nga.tiff.FileDirectory
+
setStripByteCounts(long) - Method in class mil.nga.tiff.FileDirectory
Set a single value strip byte count
-
setStripByteCountsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setStripByteCounts(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
Set the strip byte counts
-
setStripOffsets(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
setStripByteCountsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
-
Set the strip offsets
+
Set the strip byte counts
-
setStripOffsets(int) - Method in class mil.nga.tiff.FileDirectory
+
setStripOffsets(int) - Method in class mil.nga.tiff.FileDirectory
Set a single value strip offset
-
setStripOffsets(long) - Method in class mil.nga.tiff.FileDirectory
+
setStripOffsets(long) - Method in class mil.nga.tiff.FileDirectory
Set a single value strip offset
-
setStripOffsetsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setStripOffsets(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
Set the strip offsets
-
setTileByteCounts(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
setStripOffsetsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
-
Set the tile byte counts
+
Set the strip offsets
-
setTileByteCounts(int) - Method in class mil.nga.tiff.FileDirectory
+
setTileByteCounts(int) - Method in class mil.nga.tiff.FileDirectory
Set a single value tile byte count
-
setTileByteCounts(long) - Method in class mil.nga.tiff.FileDirectory
+
setTileByteCounts(long) - Method in class mil.nga.tiff.FileDirectory
Set a single value tile byte count
-
setTileByteCountsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setTileByteCounts(List<Integer>) - Method in class mil.nga.tiff.FileDirectory
Set the tile byte counts
-
setTileHeight(int) - Method in class mil.nga.tiff.FileDirectory
+
setTileByteCountsAsLongs(List<Long>) - Method in class mil.nga.tiff.FileDirectory
-
Set the tile height
+
Set the tile byte counts
-
setTileHeightAsLong(long) - Method in class mil.nga.tiff.FileDirectory
+
setTileHeight(int) - Method in class mil.nga.tiff.FileDirectory
Set the tile height
-
setTileOffsets(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setTileHeightAsLong(long) - Method in class mil.nga.tiff.FileDirectory
-
Set the tile offsets
+
Set the tile height
-
setTileOffsets(long) - Method in class mil.nga.tiff.FileDirectory
+
setTileOffsets(long) - Method in class mil.nga.tiff.FileDirectory
Set a single value tile offset
-
setTileWidth(int) - Method in class mil.nga.tiff.FileDirectory
+
setTileOffsets(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
+
Set the tile offsets
+
+
setTileWidth(int) - Method in class mil.nga.tiff.FileDirectory
Set the tile width
-
setTileWidthAsLong(long) - Method in class mil.nga.tiff.FileDirectory
+
setTileWidthAsLong(long) - Method in class mil.nga.tiff.FileDirectory
Set the tile width
-
setUnsignedIntegerEntryValue(FieldTagType, int) - Method in class mil.nga.tiff.FileDirectory
+
setUnsignedIntegerEntryValue(FieldTagType, int) - Method in class mil.nga.tiff.FileDirectory
Set an unsigned integer entry value for the field tag type
-
setUnsignedIntegerListEntryValue(FieldTagType, List<Integer>) - Method in class mil.nga.tiff.FileDirectory
+
setUnsignedIntegerListEntryValue(FieldTagType, List<Integer>) - Method in class mil.nga.tiff.FileDirectory
Set an unsigned integer list of values for the field tag type
-
setUnsignedLongEntryValue(FieldTagType, long) - Method in class mil.nga.tiff.FileDirectory
+
setUnsignedLongEntryValue(FieldTagType, long) - Method in class mil.nga.tiff.FileDirectory
Set an unsigned long entry value for the field tag type
-
setUnsignedLongListEntryValue(FieldTagType, List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setUnsignedLongListEntryValue(FieldTagType, List<Long>) - Method in class mil.nga.tiff.FileDirectory
Set an unsigned long list of values for the field tag type
-
setWriteRasters(Rasters) - Method in class mil.nga.tiff.FileDirectory
+
setWriteRasters(Rasters) - Method in class mil.nga.tiff.FileDirectory
Set the rasters for writing a TIFF file
-
setXResolution(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setXResolution(long) - Method in class mil.nga.tiff.FileDirectory
+
+
Set a single value x resolution
+
+
setXResolution(List<Long>) - Method in class mil.nga.tiff.FileDirectory
Set the x resolution
-
setXResolution(long) - Method in class mil.nga.tiff.FileDirectory
+
setYResolution(long) - Method in class mil.nga.tiff.FileDirectory
-
Set a single value x resolution
+
Set a single value y resolution
-
setYResolution(List<Long>) - Method in class mil.nga.tiff.FileDirectory
+
setYResolution(List<Long>) - Method in class mil.nga.tiff.FileDirectory
Set the y resolution
-
setYResolution(long) - Method in class mil.nga.tiff.FileDirectory
+
SHORT - mil.nga.tiff.FieldType
-
Set a single value y resolution
+
16-bit (2-byte) unsigned integer
-
size() - Method in class mil.nga.tiff.FileDirectory
+
ShutterSpeedValue - mil.nga.tiff.FieldTagType
+
 
+
size() - Method in class mil.nga.tiff.FileDirectory
Size in bytes of the Image File Directory (all contiguous)
-
size() - Method in class mil.nga.tiff.io.ByteWriter
+
size() - Method in class mil.nga.tiff.io.ByteWriter
Get the current size in bytes written
-
size() - Method in class mil.nga.tiff.Rasters
+
size() - Method in class mil.nga.tiff.Rasters
Size in bytes of the image
-
sizeHeaderAndDirectories() - Method in class mil.nga.tiff.TIFFImage
+
sizeHeaderAndDirectories() - Method in class mil.nga.tiff.TIFFImage
Size in bytes of the TIFF header and file directories with their entries
-
sizeHeaderAndDirectoriesWithValues() - Method in class mil.nga.tiff.TIFFImage
+
sizeHeaderAndDirectoriesWithValues() - Method in class mil.nga.tiff.TIFFImage
Size in bytes of the TIFF header and file directories with their entries and entry values
-
sizeOfValues() - Method in class mil.nga.tiff.FileDirectoryEntry
+
sizeOfValues() - Method in class mil.nga.tiff.FileDirectoryEntry
Size of the values not included in the directory entry bytes
-
sizePixel() - Method in class mil.nga.tiff.Rasters
+
sizePixel() - Method in class mil.nga.tiff.Rasters
Size in bytes of a pixel
-
sizeWithValues() - Method in class mil.nga.tiff.FileDirectory
+
sizeWithValues() - Method in class mil.nga.tiff.FileDirectory
Size in bytes of the image file directory including entry values (not contiguous bytes)
-
sizeWithValues() - Method in class mil.nga.tiff.FileDirectoryEntry
+
sizeWithValues() - Method in class mil.nga.tiff.FileDirectoryEntry
Size in bytes of the image file directory entry and its values (not contiguous bytes)
-
streamBytes(InputStream) - Static method in class mil.nga.tiff.io.IOUtils
+
SLONG - mil.nga.tiff.FieldType
+
+
A 32-bit (4-byte) signed (twos-complement) integer
+
+
SMaxSampleValue - mil.nga.tiff.FieldTagType
+
 
+
SMinSampleValue - mil.nga.tiff.FieldTagType
+
 
+
Software - mil.nga.tiff.FieldTagType
+
 
+
SRATIONAL - mil.nga.tiff.FieldType
+
+
Two SLONG’s: the first represents the numerator of a fraction, the second + the denominator
+
+
SSHORT - mil.nga.tiff.FieldType
+
+
A 16-bit (2-byte) signed (twos-complement) integer
+
+
streamBytes(InputStream) - Static method in class mil.nga.tiff.io.IOUtils
Get the stream bytes
+
StripByteCounts - mil.nga.tiff.FieldTagType
+
 
+
StripOffsets - mil.nga.tiff.FieldTagType
+
 
+
StripRowCounts - mil.nga.tiff.FieldTagType
+
 
SUBFILE_TYPE_FULL - Static variable in class mil.nga.tiff.util.TiffConstants
 
SUBFILE_TYPE_REDUCED - Static variable in class mil.nga.tiff.util.TiffConstants
 
+
SubfileType - mil.nga.tiff.FieldTagType
+
 
+
SubIFDs - mil.nga.tiff.FieldTagType
+
 
- +

T

+
T4Options - mil.nga.tiff.FieldTagType
+
 
+
T6Options - mil.nga.tiff.FieldTagType
+
 
+
Threshholding - mil.nga.tiff.FieldTagType
+
 
THRESHHOLDING_NO - Static variable in class mil.nga.tiff.util.TiffConstants
 
THRESHHOLDING_ORDERED - Static variable in class mil.nga.tiff.util.TiffConstants
@@ -1434,25 +1718,25 @@

T

TIFF Constants
-
TiffConstants() - Constructor for class mil.nga.tiff.util.TiffConstants
+
TiffConstants() - Constructor for class mil.nga.tiff.util.TiffConstants
 
TiffException - Exception in mil.nga.tiff.util
TIFF exception
-
TiffException() - Constructor for exception mil.nga.tiff.util.TiffException
+
TiffException() - Constructor for exception mil.nga.tiff.util.TiffException
Constructor
-
TiffException(String) - Constructor for exception mil.nga.tiff.util.TiffException
+
TiffException(String) - Constructor for exception mil.nga.tiff.util.TiffException
Constructor
-
TiffException(String, Throwable) - Constructor for exception mil.nga.tiff.util.TiffException
+
TiffException(String, Throwable) - Constructor for exception mil.nga.tiff.util.TiffException
Constructor
-
TiffException(Throwable) - Constructor for exception mil.nga.tiff.util.TiffException
+
TiffException(Throwable) - Constructor for exception mil.nga.tiff.util.TiffException
Constructor
@@ -1460,147 +1744,201 @@

T

TIFF Image containing the File Directories
-
TIFFImage() - Constructor for class mil.nga.tiff.TIFFImage
+
TIFFImage() - Constructor for class mil.nga.tiff.TIFFImage
Constructor
-
TIFFImage(FileDirectory) - Constructor for class mil.nga.tiff.TIFFImage
+
TIFFImage(List<FileDirectory>) - Constructor for class mil.nga.tiff.TIFFImage
-
Constructor, single file directory
+
Constructor, multiple file directories
-
TIFFImage(List<FileDirectory>) - Constructor for class mil.nga.tiff.TIFFImage
+
TIFFImage(FileDirectory) - Constructor for class mil.nga.tiff.TIFFImage
-
Constructor, multiple file directories
+
Constructor, single file directory
TiffReader - Class in mil.nga.tiff
TIFF reader
-
TiffReader() - Constructor for class mil.nga.tiff.TiffReader
+
TiffReader() - Constructor for class mil.nga.tiff.TiffReader
 
TiffWriter - Class in mil.nga.tiff
TIFF Writer.
-
TiffWriter() - Constructor for class mil.nga.tiff.TiffWriter
+
TiffWriter() - Constructor for class mil.nga.tiff.TiffWriter
+
 
+
TileByteCounts - mil.nga.tiff.FieldTagType
+
 
+
TileLength - mil.nga.tiff.FieldTagType
+
 
+
TileOffsets - mil.nga.tiff.FieldTagType
+
 
+
TileWidth - mil.nga.tiff.FieldTagType
+
 
+
toString() - Method in class mil.nga.tiff.ImageWindow
+
TransferFunction - mil.nga.tiff.FieldTagType
 
-
toString() - Method in class mil.nga.tiff.ImageWindow
- +

U

+
UNDEFINED - mil.nga.tiff.FieldType
+
+
An 8-bit byte that may contain anything, depending on the definition of + the field
+
UnsupportedCompression - Class in mil.nga.tiff.compression
Unsupported compression
-
UnsupportedCompression(String) - Constructor for class mil.nga.tiff.compression.UnsupportedCompression
+
UnsupportedCompression(String) - Constructor for class mil.nga.tiff.compression.UnsupportedCompression
Constructor
+
UserComment - mil.nga.tiff.FieldTagType
+
 
- +

V

-
valueOf(String) - Static method in enum mil.nga.tiff.FieldTagType
+
valueOf(String) - Static method in enum mil.nga.tiff.FieldTagType
Returns the enum constant of this type with the specified name.
-
valueOf(String) - Static method in enum mil.nga.tiff.FieldType
+
valueOf(String) - Static method in enum mil.nga.tiff.FieldType
Returns the enum constant of this type with the specified name.
-
values() - Static method in enum mil.nga.tiff.FieldTagType
+
values() - Static method in enum mil.nga.tiff.FieldTagType
Returns an array containing the constants of this enum type, in the order they are declared.
-
values() - Static method in enum mil.nga.tiff.FieldType
+
values() - Static method in enum mil.nga.tiff.FieldType
Returns an array containing the constants of this enum type, in the order they are declared.
- +

W

-
writeByte(byte) - Method in class mil.nga.tiff.io.ByteWriter
+
WhitePoint - mil.nga.tiff.FieldTagType
+
 
+
writeByte(byte) - Method in class mil.nga.tiff.io.ByteWriter
Write a byte
-
writeBytes(byte[]) - Method in class mil.nga.tiff.io.ByteWriter
+
writeBytes(byte[]) - Method in class mil.nga.tiff.io.ByteWriter
Write the bytes
-
writeDouble(double) - Method in class mil.nga.tiff.io.ByteWriter
+
writeDouble(double) - Method in class mil.nga.tiff.io.ByteWriter
Write a double
-
writeFloat(float) - Method in class mil.nga.tiff.io.ByteWriter
+
writeFloat(float) - Method in class mil.nga.tiff.io.ByteWriter
Write a float
-
writeInt(int) - Method in class mil.nga.tiff.io.ByteWriter
+
writeInt(int) - Method in class mil.nga.tiff.io.ByteWriter
Write an integer
-
writeShort(short) - Method in class mil.nga.tiff.io.ByteWriter
+
writeShort(short) - Method in class mil.nga.tiff.io.ByteWriter
Write a short
-
writeString(String) - Method in class mil.nga.tiff.io.ByteWriter
+
writeString(String) - Method in class mil.nga.tiff.io.ByteWriter
Write a String
-
writeTiff(File, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
+
writeTiff(File, ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
Write a TIFF to a file
-
writeTiff(File, ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
+
writeTiff(File, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
Write a TIFF to a file
-
writeTiff(ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
+
writeTiff(ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
Write a TIFF to a byte writer
-
writeTiffToBytes(TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
+
writeTiffToBytes(ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
Write a TIFF to bytes
-
writeTiffToBytes(ByteWriter, TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
+
writeTiffToBytes(TIFFImage) - Static method in class mil.nga.tiff.TiffWriter
Write a TIFF to bytes
-
writeUnsignedByte(short) - Method in class mil.nga.tiff.io.ByteWriter
+
writeUnsignedByte(short) - Method in class mil.nga.tiff.io.ByteWriter
Write an unsigned byte
-
writeUnsignedInt(long) - Method in class mil.nga.tiff.io.ByteWriter
+
writeUnsignedInt(long) - Method in class mil.nga.tiff.io.ByteWriter
Write an unsigned int
-
writeUnsignedShort(int) - Method in class mil.nga.tiff.io.ByteWriter
+
writeUnsignedShort(int) - Method in class mil.nga.tiff.io.ByteWriter
Write an unsigned short
-A B C D E F G H I L M N O P R S T U V W 
+ + + +

X

+
+
XClipPathUnits - mil.nga.tiff.FieldTagType
+
 
+
XMP - mil.nga.tiff.FieldTagType
+
 
+
XPosition - mil.nga.tiff.FieldTagType
+
 
+
XResolution - mil.nga.tiff.FieldTagType
+
 
+
+ + + +

Y

+
+
YCbCrCoefficients - mil.nga.tiff.FieldTagType
+
 
+
YCbCrPositioning - mil.nga.tiff.FieldTagType
+
 
+
YCbCrSubSampling - mil.nga.tiff.FieldTagType
+
 
+
YClipPathUnits - mil.nga.tiff.FieldTagType
+
 
+
YPosition - mil.nga.tiff.FieldTagType
+
 
+
YResolution - mil.nga.tiff.FieldTagType
+
 
+
+A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes All Packages +
+ diff --git a/docs/docs/api/index.html b/docs/docs/api/index.html index 76a5770..403920d 100644 --- a/docs/docs/api/index.html +++ b/docs/docs/api/index.html @@ -1,76 +1,175 @@ - + - + +Overview (Tagged Image File Format 3.0.0 API) -Tagged Image File Format 2.0.5 API - + + + + + + + + + +
+ +
+
+

Tagged Image File Format 3.0.0 API

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
mil.nga.tiff 
mil.nga.tiff.compression 
mil.nga.tiff.io 
mil.nga.tiff.util 
+
+
+ + diff --git a/docs/docs/api/jquery/external/jquery/jquery.js b/docs/docs/api/jquery/external/jquery/jquery.js new file mode 100644 index 0000000..5b16efa --- /dev/null +++ b/docs/docs/api/jquery/external/jquery/jquery.js @@ -0,0 +1,10598 @@ +/*! + * jQuery JavaScript Library v3.4.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2019-05-01T21:04Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var document = window.document; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === "function" && typeof obj.nodeType !== "number"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.4.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android <=4.0 only + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a global context + globalEval: function( code, options ) { + DOMEval( code, { nonce: options && options.nonce } ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android <=4.0 only + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.4 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2019-04-08 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) && + + // Support: IE 8 only + // Exclude object elements + (nodeType !== 1 || context.nodeName.toLowerCase() !== "object") ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && rdescend.test( selector ) ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[i] = "#" + nid + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement("fieldset"); + + try { + return !!fn( el ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem.namespaceURI, + docElem = (elem.ownerDocument || elem).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( preferredDoc !== document && + (subWindow = document.defaultView) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( el ) { + el.className = "i"; + return !el.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( el ) { + el.appendChild( document.createComment("") ); + return !el.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID filter and find + if ( support.getById ) { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( (elem = elems[i++]) ) { + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll(":enabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll(":disabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( el ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return (sel + "").replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( (oldCache = uniqueCache[ key ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( el ) { + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( el ) { + return el.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( typeof elem.contentDocument !== "undefined" ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + +var swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE <=9 only + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE <=9 only +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + // Make a writable jQuery.Event from the native event object + var event = jQuery.event.fix( nativeEvent ); + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + /* eslint-disable max-len */ + + // See https://github.com/eslint/eslint/issues/3229 + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + + /* eslint-enable */ + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + } ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + // Support: IE 9-11 only + // Also use offsetWidth/offsetHeight for when box sizing is unreliable + // We use getClientRects() to check for hidden/disconnected. + // In those cases, the computed value can be trusted to be border-box + if ( ( !support.boxSizingReliable() && isBorderBox || + val === "auto" || + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = Date.now(); + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + + +jQuery._evalUrl = function( url, options ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( "\r\n"; + +// inject VBScript +document.write(IEBinaryToArray_ByteStr_Script); + +global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for ( var i = 0; i < 256; i++ ) { + for ( var j = 0; j < 256; j++ ) { + byteMapping[ String.fromCharCode( i + (j << 8) ) ] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return rawBytes.replace(/[\s\S]/g, function( match ) { + return byteMapping[match]; + }) + lastChr; +}; + +// enforcing Stuk's coding style +// vim: set shiftwidth=4 softtabstop=4: + +},{}]},{},[1]) +; diff --git a/docs/docs/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/docs/docs/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js new file mode 100644 index 0000000..93d8bc8 --- /dev/null +++ b/docs/docs/api/jquery/jszip-utils/dist/jszip-utils-ie.min.js @@ -0,0 +1,10 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/docs/docs/api/jquery/jszip-utils/dist/jszip-utils.js b/docs/docs/api/jquery/jszip-utils/dist/jszip-utils.js new file mode 100644 index 0000000..775895e --- /dev/null +++ b/docs/docs/api/jquery/jszip-utils/dist/jszip-utils.js @@ -0,0 +1,118 @@ +/*! + +JSZipUtils - A collection of cross-browser utilities to go along with JSZip. + + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2014 Stuart Knightley, David Duponchel +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. + +*/ +!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}}(function(){return function s(a,o,h){function u(r,t){if(!o[r]){if(!a[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(l)return l(r,!0);var i=new Error("Cannot find module '"+r+"'");throw i.code="MODULE_NOT_FOUND",i}var n=o[r]={exports:{}};a[r][0].call(n.exports,function(t){var e=a[r][1][t];return u(e||t)},n,n.exports,s,a,o,h)}return o[r].exports}for(var l="function"==typeof require&&require,t=0;t>2,s=(3&e)<<4|r>>4,a=1>6:64,o=2>4,r=(15&n)<<4|(s=p.indexOf(t.charAt(o++)))>>2,i=(3&s)<<6|(a=p.indexOf(t.charAt(o++))),u[h++]=e,64!==s&&(u[h++]=r),64!==a&&(u[h++]=i);return u}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var i=t("./external"),n=t("./stream/DataWorker"),s=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function o(t,e,r,i,n){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=i,this.compressedContent=n}o.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new s).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var i=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var i=t("./utils"),a=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,e,r){var i=a,n=0+r;t^=-1;for(var s=0;s>>8^i[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,r){var i=a,n=0+r;t^=-1;for(var s=0;s>>8^i[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var i;i="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:i}},{lie:37}],7:[function(t,e,r){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=t("pako"),s=t("./utils"),a=t("./stream/GenericWorker"),o=i?"uint8array":"array";function h(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,t.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new h("Deflate",t)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function O(t,e){var r,i="";for(r=0;r>>=8;return i}function n(t,e,r,i,n,s){var a,o,h=t.file,u=t.compression,l=s!==R.utf8encode,f=B.transformTo("string",s(h.name)),d=B.transformTo("string",R.utf8encode(h.name)),c=h.comment,p=B.transformTo("string",s(c)),m=B.transformTo("string",R.utf8encode(c)),_=d.length!==h.name.length,g=m.length!==c.length,b="",v="",y="",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(x.crc32=t.crc32,x.compressedSize=t.compressedSize,x.uncompressedSize=t.uncompressedSize);var S=0;e&&(S|=8),l||!_&&!g||(S|=2048);var z,C,E=0,A=0;w&&(E|=16),"UNIX"===n?(A=798,E|=(z=h.unixPermissions,(C=z)||(C=w?16893:33204),(65535&C)<<16)):(A=20,E|=63&(h.dosPermissions||0)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(b+="up"+O((v=O(1,1)+O(T(f),4)+d).length,2)+v),g&&(b+="uc"+O((y=O(1,1)+O(T(p),4)+m).length,2)+y);var I="";return I+="\n\0",I+=O(S,2),I+=u.magic,I+=O(a,2),I+=O(o,2),I+=O(x.crc32,4),I+=O(x.compressedSize,4),I+=O(x.uncompressedSize,4),I+=O(f.length,2),I+=O(b.length,2),{fileRecord:D.LOCAL_FILE_HEADER+I+f+b,dirRecord:D.CENTRAL_FILE_HEADER+O(A,2)+I+O(p.length,2)+"\0\0\0\0"+O(E,4)+O(i,4)+f+b+p}}var B=t("../utils"),s=t("../stream/GenericWorker"),R=t("../utf8"),T=t("../crc32"),D=t("../signature");function i(t,e,r,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}B.inherits(i,s),i.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-i-1))/r:100}}))},i.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},i.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,i=n(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),r)this.push({data:(e=t,D.DATA_DESCRIPTOR+O(e.crc32,4)+O(e.compressedSize,4)+O(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},i.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,r){"use strict";var i=t("./Uint8ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var i=t("./DataReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var i=t("./ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var i=t("../utils"),n=t("../support"),s=t("./ArrayReader"),a=t("./StringReader"),o=t("./NodeBufferReader"),h=t("./Uint8ArrayReader");e.exports=function(t){var e=i.getTypeOf(t);return i.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new o(t):n.uint8array?new h(i.transformTo("uint8array",t)):new s(i.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var i=t("./GenericWorker"),n=t("../utils");function s(t){i.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(s,i),s.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},e.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var i=t("./GenericWorker"),n=t("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(s,i),s.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(s,n),s.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}n.prototype.processChunk.call(this,t)},e.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=i.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}i.inherits(s,n),s.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=i},{}],29:[function(t,e,r){"use strict";var h=t("../utils"),n=t("./ConvertWorker"),s=t("./GenericWorker"),u=t("../base64"),i=t("../support"),a=t("../external"),o=null;if(i.nodestream)try{o=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var i=e;switch(e){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=e,this._mimeType=r,h.checkSupport(i),this._worker=t.pipe(new n(i)),t.lock()}catch(t){this._worker=new s("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return function(t,o){return new a.Promise(function(e,r){var i=[],n=t._internalType,s=t._outputType,a=t._mimeType;t.on("data",function(t,e){i.push(t),o&&o(e)}).on("error",function(t){i=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return h.newBlob(h.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return h.transformTo(t,e)}}(s,function(t,e){var r,i=0,n=null,s=0;for(r=0;r>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e}(t)},s.utf8decode=function(t){return h.nodebuffer?o.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,n,s=t.length,a=new Array(2*s);for(e=r=0;e>10&1023,a[r++]=56320|1023&i)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(t=o.transformTo(h.uint8array?"uint8array":"array",t))},o.inherits(a,i),a.prototype.processChunk=function(t){var e=o.transformTo(h.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var i=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}(e),n=e;i!==e.length&&(h.uint8array?(n=e.subarray(0,i),this.leftOver=e.subarray(i,e.length)):(n=e.slice(0,i),this.leftOver=e.slice(i,e.length))),this.push({data:s.utf8decode(n),meta:t.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,i),l.prototype.processChunk=function(t){this.push({data:s.utf8encode(t.data),meta:t.meta})},s.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,o){"use strict";var h=t("./support"),u=t("./base64"),r=t("./nodejsUtils"),i=t("set-immediate-shim"),l=t("./external");function n(t){return t}function f(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,i,n=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e},r.buf2binstring=function(t){return l(t,t.length)},r.binstring2buf=function(t){for(var e=new h.Buf8(t.length),r=0,i=e.length;r>10&1023,o[i++]=56320|1023&n)}return l(o,i)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,i){for(var n=65535&t|0,s=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var n=o,s=i+r;t^=-1;for(var a=i;a>>8^n[255&(t^e[a])];return-1^t}},{}],46:[function(t,e,r){"use strict";var h,d=t("../utils/common"),u=t("./trees"),c=t("./adler32"),p=t("./crc32"),i=t("./messages"),l=0,f=0,m=-2,n=2,_=8,s=286,a=30,o=19,g=2*s+1,b=15,v=3,y=258,w=y+v+1,k=42,x=113;function S(t,e){return t.msg=i[e],e}function z(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(d.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function A(t,e){u._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,E(t.strm)}function I(t,e){t.pending_buf[t.pending++]=e}function O(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function B(t,e){var r,i,n=t.max_chain_length,s=t.strstart,a=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-w?t.strstart-(t.w_size-w):0,u=t.window,l=t.w_mask,f=t.prev,d=t.strstart+y,c=u[s+a-1],p=u[s+a];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===c&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--n);return a<=t.lookahead?a:t.lookahead}function R(t){var e,r,i,n,s,a,o,h,u,l,f=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=f+(f-w)){for(d.arraySet(t.window,t.window,f,f,0),t.match_start-=f,t.strstart-=f,t.block_start-=f,e=r=t.hash_size;i=t.head[--e],t.head[e]=f<=i?i-f:0,--r;);for(e=r=f;i=t.prev[--e],t.prev[e]=f<=i?i-f:0,--r;);n+=f}if(0===t.strm.avail_in)break;if(a=t.strm,o=t.window,h=t.strstart+t.lookahead,l=void 0,(u=n)<(l=a.avail_in)&&(l=u),r=0===l?0:(a.avail_in-=l,d.arraySet(o,a.input,a.next_in,l,h),1===a.state.wrap?a.adler=c(a.adler,o,l,h):2===a.state.wrap&&(a.adler=p(a.adler,o,l,h)),a.next_in+=l,a.total_in+=l,l),t.lookahead+=r,t.lookahead+t.insert>=v)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=v&&(t.ins_h=(t.ins_h<=v)if(i=u._tr_tally(t,t.strstart-t.match_start,t.match_length-v),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=v){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=v&&(t.ins_h=(t.ins_h<=v&&t.match_length<=t.prev_length){for(n=t.strstart+t.lookahead-v,i=u._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-v),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=n&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(R(t),0===t.lookahead&&e===l)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+r;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,A(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-w&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(A(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,T),new F(4,5,16,8,T),new F(4,6,32,32,T),new F(4,4,16,16,D),new F(8,16,32,32,D),new F(8,16,128,128,D),new F(8,32,128,256,D),new F(32,128,258,1024,D),new F(32,258,258,4096,D)],r.deflateInit=function(t,e){return L(t,e,_,15,8,0)},r.deflateInit2=L,r.deflateReset=P,r.deflateResetKeep=U,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,f):m},r.deflate=function(t,e){var r,i,n,s;if(!t||!t.state||5>8&255),I(i,i.gzhead.time>>16&255),I(i,i.gzhead.time>>24&255),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(I(i,255&i.gzhead.extra.length),I(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=p(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(I(i,0),I(i,0),I(i,0),I(i,0),I(i,0),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,3),i.status=x);else{var a=_+(i.w_bits-8<<4)<<8;a|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=x,O(i,a),0!==i.strstart&&(O(i,t.adler>>>16),O(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending!==i.pending_buf_size));)I(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&E(t),i.pending+2<=i.pending_buf_size&&(I(i,255&t.adler),I(i,t.adler>>8&255),t.adler=0,i.status=x)):i.status=x),0!==i.pending){if(E(t),0===t.avail_out)return i.last_flush=-1,f}else if(0===t.avail_in&&z(e)<=z(r)&&4!==e)return S(t,-5);if(666===i.status&&0!==t.avail_in)return S(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==l&&666!==i.status){var o=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(R(t),0===t.lookahead)){if(e===l)return 1;break}if(t.match_length=0,r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(A(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,i,n,s,a=t.window;;){if(t.lookahead<=y){if(R(t),t.lookahead<=y&&e===l)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=v&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=v?(r=u._tr_tally(t,1,t.match_length-v),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(A(t,!1),0===t.strm.avail_out)?1:2}(i,e):h[i.level].func(i,e);if(3!==o&&4!==o||(i.status=666),1===o||3===o)return 0===t.avail_out&&(i.last_flush=-1),f;if(2===o&&(1===e?u._tr_align(i):5!==e&&(u._tr_stored_block(i,0,0,!1),3===e&&(C(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),E(t),0===t.avail_out))return i.last_flush=-1,f}return 4!==e?f:i.wrap<=0?1:(2===i.wrap?(I(i,255&t.adler),I(i,t.adler>>8&255),I(i,t.adler>>16&255),I(i,t.adler>>24&255),I(i,255&t.total_in),I(i,t.total_in>>8&255),I(i,t.total_in>>16&255),I(i,t.total_in>>24&255)):(O(i,t.adler>>>16),O(i,65535&t.adler)),E(t),0=r.w_size&&(0===s&&(C(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new d.Buf8(r.w_size),d.arraySet(u,e,l-r.w_size,r.w_size,0),e=u,l=r.w_size),a=t.avail_in,o=t.next_in,h=t.input,t.avail_in=l,t.next_in=0,t.input=e,R(r);r.lookahead>=v;){for(i=r.strstart,n=r.lookahead-(v-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0==(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(c&(1<>>=y,p-=y),p<15&&(c+=z[i++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(c&(1<>>=y,p-=y,(y=s-a)>3,c&=(1<<(p-=w<<3))-1,t.next_in=i,t.next_out=s,t.avail_in=i>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=P,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new I.Buf32(i),e.distcode=e.distdyn=new I.Buf32(n),e.sane=1,e.back=-1,N):U}function o(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,a(t)):U}function h(t,e){var r,i;return t&&t.state?(i=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=s.wsize?(I.arraySet(s.window,e,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(n=s.wsize-s.wnext)&&(n=i),I.arraySet(s.window,e,r-i,n,s.wnext),(i-=n)?(I.arraySet(s.window,e,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&u)){t.msg="unknown compression method",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(c=r.length)&&(c=o),c&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,i,s,c,k)),512&r.flags&&(r.check=B(r.check,i,c,s)),o-=c,s+=c,r.length-=c),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break t;for(c=0;k=i[s+c++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&c>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break t;o--,u+=i[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==e)break;u>>>=2,l-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break t;o--,u+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(c=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],c=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+c>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;c--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=o&&258<=h){t.next_out=a,t.avail_out=h,t.next_in=s,t.avail_in=o,r.hold=u,r.bits=l,R(t,d),a=t.next_out,n=t.output,h=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){t.msg="invalid distance code",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===h)break t;if(c=d-h,r.offset>c){if((c=r.offset-c)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}p=c>r.wnext?(c-=r.wnext,r.wsize-c):r.wnext-c,c>r.length&&(c=r.length),m=r.window}else m=n,p=a-r.offset,c=r.length;for(hc?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=e[r+a[v]]}if(k>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function E(t,e,r){var i,n,s=new Array(_+1),a=0;for(i=1;i<=_;i++)s[i]=a=a+r[i-1]<<1;for(n=0;n<=e;n++){var o=t[2*n+1];0!==o&&(t[2*n]=C(s[o]++,o))}}function A(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function I(t){8>1;1<=r;r--)B(t,s,r);for(n=h;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],B(t,s,1),i=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=i,s[2*n]=s[2*r]+s[2*i],t.depth[n]=(t.depth[r]>=t.depth[i]?t.depth[r]:t.depth[i])+1,s[2*r+1]=s[2*i+1]=n,t.heap[1]=n++,B(t,s,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,i,n,s,a,o,h=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(s=0;s<=_;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)p<(s=h[2*h[2*(i=t.heap[r])+1]+1]+1)&&(s=p,m++),h[2*i+1]=s,u>=7;i<30;i++)for(y[i]=n<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),a=function(t){var e;for(D(t,t.dyn_ltree,t.l_desc.max_code),D(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),n=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=n&&(n=s)):n=s=r+5,r+4<=n&&-1!==e?U(t,e,r,i):4===t.strategy||s===n?(S(t,2+(i?1:0),3),R(t,f,d)):(S(t,4+(i?1:0),3),function(t,e,r,i){var n;for(S(t,e-257,5),S(t,r-1,5),S(t,i-4,4),n=0;n>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(p[r]+256+1)]++,t.dyn_dtree[2*k(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;S(t,2,3),z(t,256,f),16===(e=t).bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}); +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{}]},{},[1])(1) +}); \ No newline at end of file diff --git a/docs/docs/api/jquery/jszip/dist/jszip.min.js b/docs/docs/api/jquery/jszip/dist/jszip.min.js new file mode 100644 index 0000000..c6ae9ad --- /dev/null +++ b/docs/docs/api/jquery/jszip/dist/jszip.min.js @@ -0,0 +1,13 @@ +/*! + +JSZip v3.7.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/master/LICENSE +*/ + +!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=e()}}(function(){return function s(a,o,h){function u(r,e){if(!o[r]){if(!a[r]){var t="function"==typeof require&&require;if(!e&&t)return t(r,!0);if(l)return l(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var i=o[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return u(t||e)},i,i.exports,s,a,o,h)}return o[r].exports}for(var l="function"==typeof require&&require,e=0;e>2,s=(3&t)<<4|r>>4,a=1>6:64,o=2>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),u[h++]=t,64!==s&&(u[h++]=r),64!==a&&(u[h++]=n);return u}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(e){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils"),a=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r){var n=a,i=0+r;e^=-1;for(var s=0;s>>8^n[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,r){var n=a,i=0+r;e^=-1;for(var s=0;s>>8^n[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),s=e("./utils"),a=e("./stream/GenericWorker"),o=n?"uint8array":"array";function h(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(e){return new h("Deflate",e)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function I(e,t){var r,n="";for(r=0;r>>=8;return n}function i(e,t,r,n,i,s){var a,o,h=e.file,u=e.compression,l=s!==B.utf8encode,f=O.transformTo("string",s(h.name)),d=O.transformTo("string",B.utf8encode(h.name)),c=h.comment,p=O.transformTo("string",s(c)),m=O.transformTo("string",B.utf8encode(c)),_=d.length!==h.name.length,g=m.length!==c.length,b="",v="",y="",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),l||!_&&!g||(S|=2048);var z,C=0,E=0;w&&(C|=16),"UNIX"===i?(E=798,C|=((z=h.unixPermissions)||(z=w?16893:33204),(65535&z)<<16)):(E=20,C|=63&(h.dosPermissions||0)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(b+="up"+I((v=I(1,1)+I(R(f),4)+d).length,2)+v),g&&(b+="uc"+I((y=I(1,1)+I(R(p),4)+m).length,2)+y);var A="";return A+="\n\0",A+=I(S,2),A+=u.magic,A+=I(a,2),A+=I(o,2),A+=I(x.crc32,4),A+=I(x.compressedSize,4),A+=I(x.uncompressedSize,4),A+=I(f.length,2),A+=I(b.length,2),{fileRecord:T.LOCAL_FILE_HEADER+A+f+b,dirRecord:T.CENTRAL_FILE_HEADER+I(E,2)+A+I(p.length,2)+"\0\0\0\0"+I(C,4)+I(n,4)+f+b+p}}var O=e("../utils"),s=e("../stream/GenericWorker"),B=e("../utf8"),R=e("../crc32"),T=e("../signature");function n(e,t,r,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}O.inherits(n,s),n.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,n=i(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(t=e,T.DATA_DESCRIPTOR+I(t.crc32,4)+I(t.compressedSize,4)+I(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),s=e("./ArrayReader"),a=e("./StringReader"),o=e("./NodeBufferReader"),h=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new o(e):i.uint8array?new h(n.transformTo("uint8array",e)):new s(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function s(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r "+e:e}},t.exports=n},{}],29:[function(e,t,r){"use strict";var u=e("../utils"),i=e("./ConvertWorker"),s=e("./GenericWorker"),l=e("../base64"),n=e("../support"),a=e("../external"),o=null;if(n.nodestream)try{o=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function h(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,u.checkSupport(n),this._worker=e.pipe(new i(n)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return o=this,h=e,new a.Promise(function(t,r){var n=[],i=o._internalType,s=o._outputType,a=o._mimeType;o.on("data",function(e,t){n.push(e),h&&h(t)}).on("error",function(e){n=[],r(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return u.newBlob(u.transformTo("arraybuffer",t),r);case"base64":return l.encode(t);default:return u.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,s=0;for(r=0;r>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t}(e)},s.utf8decode=function(e){return h.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,n,i,s=e.length,a=new Array(2*s);for(t=r=0;t>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(e=o.transformTo(h.uint8array?"uint8array":"array",e))},o.inherits(a,n),a.prototype.processChunk=function(e){var t=o.transformTo(h.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}(t),i=t;n!==t.length&&(h.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:s.utf8decode(i),meta:e.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,n),l.prototype.processChunk=function(e){this.push({data:s.utf8encode(e.data),meta:e.meta})},s.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,o){"use strict";var h=e("./support"),u=e("./base64"),r=e("./nodejsUtils"),n=e("set-immediate-shim"),l=e("./external");function i(e){return e}function f(e,t){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new h.Buf8(e.length),r=0,n=t.length;r>10&1023,o[n++]=56320|1023&i)}return l(o,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){"use strict";var h,d=e("../utils/common"),u=e("./trees"),c=e("./adler32"),p=e("./crc32"),n=e("./messages"),l=0,f=0,m=-2,i=2,_=8,s=286,a=30,o=19,g=2*s+1,b=15,v=3,y=258,w=y+v+1,k=42,x=113;function S(e,t){return e.msg=n[t],t}function z(e){return(e<<1)-(4e.avail_out&&(r=e.avail_out),0!==r&&(d.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function A(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,E(e.strm)}function I(e,t){e.pending_buf[e.pending++]=t}function O(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function B(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,h=e.strstart>e.w_size-w?e.strstart-(e.w_size-w):0,u=e.window,l=e.w_mask,f=e.prev,d=e.strstart+y,c=u[s+a-1],p=u[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===c&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--i);return a<=e.lookahead?a:e.lookahead}function R(e){var t,r,n,i,s,a,o,h,u,l,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-w)){for(d.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);i+=f}if(0===e.strm.avail_in)break;if(a=e.strm,o=e.window,h=e.strstart+e.lookahead,l=void 0,(u=i)<(l=a.avail_in)&&(l=u),r=0===l?0:(a.avail_in-=l,d.arraySet(o,a.input,a.next_in,l,h),1===a.state.wrap?a.adler=c(a.adler,o,l,h):2===a.state.wrap&&(a.adler=p(a.adler,o,l,h)),a.next_in+=l,a.total_in+=l,l),e.lookahead+=r,e.lookahead+e.insert>=v)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<=v&&(e.ins_h=(e.ins_h<=v)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-v),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=v){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=v&&(e.ins_h=(e.ins_h<=v&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-v,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-v),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(R(e),0===e.lookahead&&t===l)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,A(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-w&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(A(e,!1),e.strm.avail_out),1)}),new F(4,4,8,4,T),new F(4,5,16,8,T),new F(4,6,32,32,T),new F(4,4,16,16,D),new F(8,16,32,32,D),new F(8,16,128,128,D),new F(8,32,128,256,D),new F(32,128,258,1024,D),new F(32,258,258,4096,D)],r.deflateInit=function(e,t){return L(e,t,_,15,8,0)},r.deflateInit2=L,r.deflateReset=P,r.deflateResetKeep=U,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?m:(e.state.gzhead=t,f):m},r.deflate=function(e,t){var r,n,i,s;if(!e||!e.state||5>8&255),I(n,n.gzhead.time>>16&255),I(n,n.gzhead.time>>24&255),I(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),I(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(I(n,255&n.gzhead.extra.length),I(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=p(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(I(n,0),I(n,0),I(n,0),I(n,0),I(n,0),I(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),I(n,3),n.status=x);else{var a=_+(n.w_bits-8<<4)<<8;a|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=x,O(n,a),0!==n.strstart&&(O(n,e.adler>>>16),O(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),E(e),i=n.pending,n.pending!==n.pending_buf_size));)I(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),E(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),E(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&E(e),n.pending+2<=n.pending_buf_size&&(I(n,255&e.adler),I(n,e.adler>>8&255),e.adler=0,n.status=x)):n.status=x),0!==n.pending){if(E(e),0===e.avail_out)return n.last_flush=-1,f}else if(0===e.avail_in&&z(t)<=z(r)&&4!==t)return S(e,-5);if(666===n.status&&0!==e.avail_in)return S(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==l&&666!==n.status){var o=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(R(e),0===e.lookahead)){if(t===l)return 1;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,s,a=e.window;;){if(e.lookahead<=y){if(R(e),e.lookahead<=y&&t===l)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=v&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=v?(r=u._tr_tally(e,1,e.match_length-v),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(n,t):h[n.level].func(n,t);if(3!==o&&4!==o||(n.status=666),1===o||3===o)return 0===e.avail_out&&(n.last_flush=-1),f;if(2===o&&(1===t?u._tr_align(n):5!==t&&(u._tr_stored_block(n,0,0,!1),3===t&&(C(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),E(e),0===e.avail_out))return n.last_flush=-1,f}return 4!==t?f:n.wrap<=0?1:(2===n.wrap?(I(n,255&e.adler),I(n,e.adler>>8&255),I(n,e.adler>>16&255),I(n,e.adler>>24&255),I(n,255&e.total_in),I(n,e.total_in>>8&255),I(n,e.total_in>>16&255),I(n,e.total_in>>24&255)):(O(n,e.adler>>>16),O(n,65535&e.adler)),E(e),0=r.w_size&&(0===s&&(C(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new d.Buf8(r.w_size),d.arraySet(u,t,l-r.w_size,r.w_size,0),t=u,l=r.w_size),a=e.avail_in,o=e.next_in,h=e.input,e.avail_in=l,e.next_in=0,e.input=t,R(r);r.lookahead>=v;){for(n=r.strstart,i=r.lookahead-(v-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0==(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(c&(1<>>=y,p-=y),p<15&&(c+=z[n++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(c&(1<>>=y,p-=y,(y=s-a)>3,c&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=P,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new I.Buf32(n),t.distcode=t.distdyn=new I.Buf32(i),t.sane=1,t.back=-1,N):U}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,a(e)):U}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(I.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(n<(i=s.wsize-s.wnext)&&(i=n),I.arraySet(s.window,t,r-n,i,s.wnext),(n-=i)?(I.arraySet(s.window,t,r-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(c=r.length)&&(c=o),c&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,n,s,c,k)),512&r.flags&&(r.check=B(r.check,n,c,s)),o-=c,s+=c,r.length-=c),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break e;for(c=0;k=n[s+c++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&c>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break e;o--,u+=n[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==t)break;u>>>=2,l-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break e;o--,u+=n[s++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(c=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],c=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+c>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;c--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=o&&258<=h){e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,R(e,d),a=e.next_out,i=e.output,h=e.avail_out,s=e.next_in,n=e.input,o=e.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){e.msg="invalid distance code",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===h)break e;if(c=d-h,r.offset>c){if((c=r.offset-c)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}p=c>r.wnext?(c-=r.wnext,r.wsize-c):r.wnext-c,c>r.length&&(c=r.length),m=r.window}else m=i,p=a-r.offset,c=r.length;for(hc?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=t[r+a[v]]}if(k>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,r){e.bi_valid>i-r?(e.bi_buf|=t<>i-e.bi_valid,e.bi_valid+=r-i):(e.bi_buf|=t<>>=1,r<<=1,0<--t;);return r>>>1}function E(e,t,r){var n,i,s=new Array(_+1),a=0;for(n=1;n<=_;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=C(s[o]++,o))}}function A(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function I(e){8>1;1<=r;r--)B(e,s,r);for(i=h;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],B(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,B(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,h=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,c=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=_;s++)e.bl_count[s]=0;for(h[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)p<(s=h[2*h[2*(n=e.heap[r])+1]+1]+1)&&(s=p,m++),h[2*n+1]=s,u>=7;n<30;n++)for(y[n]=i<<7,e=0;e<1<>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),T(e,e.l_desc),T(e,e.d_desc),a=function(e){var t;for(D(e,e.dyn_ltree,e.l_desc.max_code),D(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?U(e,t,r,n):4===e.strategy||s===i?(S(e,2+(n?1:0),3),R(e,f,d)):(S(e,4+(n?1:0),3),function(e,t,r,n){var i;for(S(e,t-257,5),S(e,r-1,5),S(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(p[r]+256+1)]++,e.dyn_dtree[2*k(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){var t;S(e,2,3),z(e,256,f),16===(t=e).bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){"use strict";t.exports="function"==typeof setImmediate?setImmediate:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}); \ No newline at end of file diff --git a/docs/docs/api/member-search-index.js b/docs/docs/api/member-search-index.js new file mode 100644 index 0000000..1e34cc0 --- /dev/null +++ b/docs/docs/api/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"mil.nga.tiff","c":"TIFFImage","l":"add(FileDirectory)","url":"add(mil.nga.tiff.FileDirectory)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"addEntry(FileDirectoryEntry)","url":"addEntry(mil.nga.tiff.FileDirectoryEntry)"},{"p":"mil.nga.tiff","c":"Rasters","l":"addToInterleave(int, int, Number)","url":"addToInterleave(int,int,java.lang.Number)"},{"p":"mil.nga.tiff","c":"Rasters","l":"addToSample(int, int, Number)","url":"addToSample(int,int,java.lang.Number)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ApertureValue"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Artist"},{"p":"mil.nga.tiff","c":"FieldType","l":"ASCII"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"BadFaxLines"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"BitsPerSample"},{"p":"mil.nga.tiff","c":"FieldType","l":"BYTE"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"BYTE_ORDER_BIG_ENDIAN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"BYTE_ORDER_LITTLE_ENDIAN"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"byteLength()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"ByteReader(byte[], ByteOrder)","url":"%3Cinit%3E(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"ByteReader(byte[])","url":"%3Cinit%3E(byte[])"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"ByteWriter()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"ByteWriter(ByteOrder)","url":"%3Cinit%3E(java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"calculateRowsPerStrip(int, int)","url":"calculateRowsPerStrip(int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"calculateRowsPerStrip(int)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"CellLength"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"CellWidth"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"CleanFaxData"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ClipPath"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"close()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ColorMap"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ColorSpace"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"compareTo(FileDirectoryEntry)","url":"compareTo(mil.nga.tiff.FileDirectoryEntry)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Compression"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_CCITT_HUFFMAN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_DEFLATE"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_JPEG_NEW"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_JPEG_OLD"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_LZW"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_NO"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_PACKBITS"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_PKZIP_DEFLATE"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_T4"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"COMPRESSION_T6"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ConsecutiveBadFaxLines"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"COPY_BUFFER_SIZE"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"copyFile(File, File)","url":"copyFile(java.io.File,java.io.File)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Copyright"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"copyStream(InputStream, File)","url":"copyStream(java.io.InputStream,java.io.File)"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"copyStream(InputStream, OutputStream)","url":"copyStream(java.io.InputStream,java.io.OutputStream)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DateTime"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DateTimeDigitized"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DateTimeOriginal"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Decode"},{"p":"mil.nga.tiff.compression","c":"CompressionDecoder","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"DeflateCompression","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"LZWCompression","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"PackbitsCompression","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"RawCompression","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"UnsupportedCompression","l":"decode(byte[], ByteOrder)","url":"decode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"Predictor","l":"decode(byte[], int, int, int, List, int)","url":"decode(byte[],int,int,int,java.util.List,int)"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"DEFAULT_MAX_BYTES_PER_STRIP"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DefaultImageColor"},{"p":"mil.nga.tiff.compression","c":"DeflateCompression","l":"DeflateCompression()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DocumentName"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"DotRange"},{"p":"mil.nga.tiff","c":"FieldType","l":"DOUBLE"},{"p":"mil.nga.tiff.compression","c":"CompressionEncoder","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"DeflateCompression","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"LZWCompression","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"PackbitsCompression","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"RawCompression","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff.compression","c":"UnsupportedCompression","l":"encode(byte[], ByteOrder)","url":"encode(byte[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"equals(Object)","url":"equals(java.lang.Object)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ExifIFD"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ExifVersion"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ExposureTime"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"EXTRA_SAMPLES_ASSOCIATED_ALPHA"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"EXTRA_SAMPLES_UNASSOCIATED_ALPHA"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"EXTRA_SAMPLES_UNSPECIFIED"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ExtraSamples"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"FILE_IDENTIFIER"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"fileBytes(File)","url":"fileBytes(java.io.File)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"FileDirectory()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"FileDirectory(Rasters)","url":"%3Cinit%3E(mil.nga.tiff.Rasters)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"FileDirectory(SortedSet, ByteReader, boolean)","url":"%3Cinit%3E(java.util.SortedSet,mil.nga.tiff.io.ByteReader,boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"FileDirectory(SortedSet, ByteReader)","url":"%3Cinit%3E(java.util.SortedSet,mil.nga.tiff.io.ByteReader)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"FileDirectory(SortedSet, Rasters)","url":"%3Cinit%3E(java.util.SortedSet,mil.nga.tiff.Rasters)"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"FileDirectoryEntry(FieldTagType, FieldType, long, Object)","url":"%3Cinit%3E(mil.nga.tiff.FieldTagType,mil.nga.tiff.FieldType,long,java.lang.Object)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FileSource"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"FILL_ORDER_LOWER_COLUMN_HIGHER_ORDER"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"FILL_ORDER_LOWER_COLUMN_LOWER_ORDER"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FillOrder"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Flash"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FlashpixVersion"},{"p":"mil.nga.tiff","c":"FieldType","l":"FLOAT"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FNumber"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FreeByteCounts"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"FreeOffsets"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GDAL_METADATA"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GDAL_NODATA"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GeoAsciiParams"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GeoDoubleParams"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GeoKeyDirectory"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"get(FieldTagType)","url":"get(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FieldType","l":"getBits()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getBitsPerSample()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getBitsPerSample()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"getById(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"getByteOrder()"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"getByteOrder()"},{"p":"mil.nga.tiff","c":"FieldType","l":"getBytes()"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"getBytes()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getColorMap()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getCompression()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getDecoder()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getDoubleListEntryValue(FieldTagType)","url":"getDoubleListEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getEntries()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"getFieldTag()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getFieldTagTypeMapping()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"getFieldType()"},{"p":"mil.nga.tiff","c":"FieldType","l":"getFieldType(int, int)","url":"getFieldType(int,int)"},{"p":"mil.nga.tiff","c":"FieldType","l":"getFieldType(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getFieldTypeForSample(int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getFieldTypes()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"getFileDirectories()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"getFileDirectory()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"getFileDirectory(int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getFirstPixelSample(int, int)","url":"getFirstPixelSample(int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getHeight()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"getId()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getImageHeight()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getImageWidth()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getIntegerEntryValue(FieldTagType)","url":"getIntegerEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getIntegerListEntryValue(FieldTagType)","url":"getIntegerListEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getInterleaveIndex(int, int)","url":"getInterleaveIndex(int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getInterleaveValues()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getLongListEntryValue(FieldTagType)","url":"getLongListEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getMaxBitsPerSample()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getMaxIntegerEntryValue(FieldTagType)","url":"getMaxIntegerEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getMaxSampleFormat()"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"getMaxX()"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"getMaxY()"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"getMinX()"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"getMinY()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getModelPixelScale()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getModelTiepoint()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"getNextByte()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getNumberEntryValue(FieldTagType)","url":"getNumberEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getNumberListEntryValue(FieldTagType)","url":"getNumberListEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getNumPixels()"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"getOutputStream()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getPhotometricInterpretation()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getPixel(int, int)","url":"getPixel(int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getPixelRow(int, ByteOrder)","url":"getPixelRow(int,java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getPixelSample(int, int, int)","url":"getPixelSample(int,int,int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getPlanarConfiguration()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getPredictor()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getReader()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getResolutionUnit()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getRowsPerStrip()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getSampleFormat()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getSampleFormat()"},{"p":"mil.nga.tiff","c":"FieldType","l":"getSampleFormat(FieldType)","url":"getSampleFormat(mil.nga.tiff.FieldType)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getSampleIndex(int, int)","url":"getSampleIndex(int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"getSampleRow(int, int, ByteOrder)","url":"getSampleRow(int,int,java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getSamplesPerPixel()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getSamplesPerPixel()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getSampleValues()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getStringEntryValue(FieldTagType)","url":"getStringEntryValue(mil.nga.tiff.FieldTagType)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getStripByteCounts()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getStripOffsets()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getTileByteCounts()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getTileHeight()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getTileOffsets()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getTileWidth()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"getTypeCount()"},{"p":"mil.nga.tiff","c":"FieldType","l":"getValue()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"getValues()"},{"p":"mil.nga.tiff","c":"Rasters","l":"getWidth()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getWriteRasters()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getXResolution()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"getYResolution()"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"GRAY_RESPONSE_HUNDRED_THOUSANDTHS"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"GRAY_RESPONSE_HUNDREDTHS"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"GRAY_RESPONSE_TEN_THOUSANDTHS"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"GRAY_RESPONSE_TENTHS"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"GRAY_RESPONSE_THOUSANDTHS"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GrayResponseCurve"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"GrayResponseUnit"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"HalftoneHints"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"hasByte()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"hasByte(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"hasBytes(int, int)","url":"hasBytes(int,int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"hasBytes(int)"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"hashCode()"},{"p":"mil.nga.tiff","c":"Rasters","l":"hasInterleaveValues()"},{"p":"mil.nga.tiff","c":"Rasters","l":"hasSampleValues()"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"HEADER_BYTES"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"HostComputer"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ICCProfile"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"IFD_ENTRY_BYTES"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"IFD_HEADER_BYTES"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"IFD_OFFSET_BYTES"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ImageDescription"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ImageLength"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ImageUniqueID"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ImageWidth"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"ImageWindow(FileDirectory)","url":"%3Cinit%3E(mil.nga.tiff.FileDirectory)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"ImageWindow(int, int, int, int)","url":"%3Cinit%3E(int,int,int,int)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"ImageWindow(int, int)","url":"%3Cinit%3E(int,int)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Indexed"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"IOUtils()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"IPTC"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"isArray()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"isTiled()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGACTables"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGDCTables"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGInterchangeFormat"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGInterchangeFormatLength"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGLosslessPredictors"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGPointTransforms"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGProc"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGQTables"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGRestartInterval"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"JPEGTables"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"LightSource"},{"p":"mil.nga.tiff","c":"FieldType","l":"LONG"},{"p":"mil.nga.tiff.compression","c":"LZWCompression","l":"LZWCompression()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Make"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"MakerNote"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"MaxSampleValue"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"MinSampleValue"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Model"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ModelPixelScale"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ModelTiepoint"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ModelTransformation"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"NewSubfileType"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"numEntries()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Orientation"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_BOTTOM_ROW_LEFT_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_BOTTOM_ROW_RIGHT_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_LEFT_ROW_BOTTOM_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_LEFT_ROW_TOP_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_RIGHT_ROW_BOTTOM_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_RIGHT_ROW_TOP_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_TOP_ROW_LEFT_COLUMN"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"ORIENTATION_TOP_ROW_RIGHT_COLUMN"},{"p":"mil.nga.tiff.compression","c":"PackbitsCompression","l":"PackbitsCompression()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"PageName"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"PageNumber"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PHOTOMETRIC_INTERPRETATION_PALETTE"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PHOTOMETRIC_INTERPRETATION_RGB"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PHOTOMETRIC_INTERPRETATION_TRANSPARENCY"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"PhotometricInterpretation"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Photoshop"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PLANAR_CONFIGURATION_CHUNKY"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PLANAR_CONFIGURATION_PLANAR"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"PlanarConfiguration"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Predictor"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PREDICTOR_FLOATINGPOINT"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PREDICTOR_HORIZONTAL"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"PREDICTOR_NO"},{"p":"mil.nga.tiff.compression","c":"Predictor","l":"Predictor()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"PrimaryChromaticities"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, FieldType[], ByteBuffer)","url":"%3Cinit%3E(int,int,mil.nga.tiff.FieldType[],java.nio.ByteBuffer)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, FieldType[], ByteBuffer[], ByteBuffer)","url":"%3Cinit%3E(int,int,mil.nga.tiff.FieldType[],java.nio.ByteBuffer[],java.nio.ByteBuffer)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, FieldType[], ByteBuffer[])","url":"%3Cinit%3E(int,int,mil.nga.tiff.FieldType[],java.nio.ByteBuffer[])"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, FieldType[], ByteOrder)","url":"%3Cinit%3E(int,int,mil.nga.tiff.FieldType[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, FieldType[])","url":"%3Cinit%3E(int,int,mil.nga.tiff.FieldType[])"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int, FieldType, ByteOrder)","url":"%3Cinit%3E(int,int,int,mil.nga.tiff.FieldType,java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int, FieldType)","url":"%3Cinit%3E(int,int,int,mil.nga.tiff.FieldType)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int, int, int, ByteOrder)","url":"%3Cinit%3E(int,int,int,int,int,java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int, int, int)","url":"%3Cinit%3E(int,int,int,int,int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int[], int[], ByteOrder)","url":"%3Cinit%3E(int,int,int[],int[],java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"Rasters","l":"Rasters(int, int, int[], int[])","url":"%3Cinit%3E(int,int,int[],int[])"},{"p":"mil.nga.tiff","c":"FieldType","l":"RATIONAL"},{"p":"mil.nga.tiff.compression","c":"RawCompression","l":"RawCompression()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readByte()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readByte(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readBytes(int, int)","url":"readBytes(int,int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readBytes(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readDouble()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readDouble(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readFloat()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readFloat(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readInt()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readInt(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readInterleavedRasters()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readInterleavedRasters(ImageWindow, int[])","url":"readInterleavedRasters(mil.nga.tiff.ImageWindow,int[])"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readInterleavedRasters(ImageWindow)","url":"readInterleavedRasters(mil.nga.tiff.ImageWindow)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readInterleavedRasters(int[])"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(boolean, boolean)","url":"readRasters(boolean,boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(ImageWindow, boolean, boolean)","url":"readRasters(mil.nga.tiff.ImageWindow,boolean,boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(ImageWindow, int[], boolean, boolean)","url":"readRasters(mil.nga.tiff.ImageWindow,int[],boolean,boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(ImageWindow, int[])","url":"readRasters(mil.nga.tiff.ImageWindow,int[])"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(ImageWindow)","url":"readRasters(mil.nga.tiff.ImageWindow)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(int[], boolean, boolean)","url":"readRasters(int[],boolean,boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"readRasters(int[])"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readShort()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readShort(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readString(int, int)","url":"readString(int,int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readString(int)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(byte[], boolean)","url":"readTiff(byte[],boolean)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(byte[])"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(ByteReader, boolean)","url":"readTiff(mil.nga.tiff.io.ByteReader,boolean)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(ByteReader)","url":"readTiff(mil.nga.tiff.io.ByteReader)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(File, boolean)","url":"readTiff(java.io.File,boolean)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(File)","url":"readTiff(java.io.File)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(InputStream, boolean)","url":"readTiff(java.io.InputStream,boolean)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"readTiff(InputStream)","url":"readTiff(java.io.InputStream)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedByte()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedByte(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedInt()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedInt(int)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedShort()"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"readUnsignedShort(int)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ReferenceBlackWhite"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"RESOLUTION_UNIT_CENTIMETER"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"RESOLUTION_UNIT_INCH"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"RESOLUTION_UNIT_NO"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ResolutionUnit"},{"p":"mil.nga.tiff.compression","c":"CompressionEncoder","l":"rowEncoding()"},{"p":"mil.nga.tiff.compression","c":"DeflateCompression","l":"rowEncoding()"},{"p":"mil.nga.tiff.compression","c":"LZWCompression","l":"rowEncoding()"},{"p":"mil.nga.tiff.compression","c":"PackbitsCompression","l":"rowEncoding()"},{"p":"mil.nga.tiff.compression","c":"RawCompression","l":"rowEncoding()"},{"p":"mil.nga.tiff.compression","c":"UnsupportedCompression","l":"rowEncoding()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"RowsPerStrip"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SAMPLE_FORMAT_FLOAT"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SAMPLE_FORMAT_SIGNED_INT"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SAMPLE_FORMAT_SINGLE_PAGE_MULTI_PAGE"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SAMPLE_FORMAT_UNDEFINED"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SAMPLE_FORMAT_UNSIGNED_INT"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SampleFormat"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SamplesPerPixel"},{"p":"mil.nga.tiff","c":"FieldType","l":"SBYTE"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setBitsPerSample(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setBitsPerSample(List)","url":"setBitsPerSample(java.util.List)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"setByteOrder(ByteOrder)","url":"setByteOrder(java.nio.ByteOrder)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"setByteOrder(ByteOrder)","url":"setByteOrder(java.nio.ByteOrder)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setCache(boolean)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setColorMap(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setColorMap(List)","url":"setColorMap(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setCompression(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setDoubleListEntryValue(FieldTagType, List)","url":"setDoubleListEntryValue(mil.nga.tiff.FieldTagType,java.util.List)"},{"p":"mil.nga.tiff","c":"Rasters","l":"setFirstPixelSample(int, int, Number)","url":"setFirstPixelSample(int,int,java.lang.Number)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setImageHeight(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setImageHeightAsLong(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setImageWidth(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setImageWidthAsLong(long)"},{"p":"mil.nga.tiff","c":"Rasters","l":"setInterleaveValues(ByteBuffer)","url":"setInterleaveValues(java.nio.ByteBuffer)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"setMaxX(int)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"setMaxY(int)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"setMinX(int)"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"setMinY(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setModelPixelScale(List)","url":"setModelPixelScale(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setModelTiepoint(List)","url":"setModelTiepoint(java.util.List)"},{"p":"mil.nga.tiff.io","c":"ByteReader","l":"setNextByte(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setPhotometricInterpretation(int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"setPixel(int, int, Number[])","url":"setPixel(int,int,java.lang.Number[])"},{"p":"mil.nga.tiff","c":"Rasters","l":"setPixelSample(int, int, int, Number)","url":"setPixelSample(int,int,int,java.lang.Number)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setPlanarConfiguration(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setPredictor(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setRationalEntryValue(FieldTagType, List)","url":"setRationalEntryValue(mil.nga.tiff.FieldTagType,java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setResolutionUnit(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setRowsPerStrip(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setRowsPerStripAsLong(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setSampleFormat(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setSampleFormat(List)","url":"setSampleFormat(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setSamplesPerPixel(int)"},{"p":"mil.nga.tiff","c":"Rasters","l":"setSampleValues(ByteBuffer[])","url":"setSampleValues(java.nio.ByteBuffer[])"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStringEntryValue(FieldTagType, String)","url":"setStringEntryValue(mil.nga.tiff.FieldTagType,java.lang.String)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripByteCounts(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripByteCounts(List)","url":"setStripByteCounts(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripByteCounts(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripByteCountsAsLongs(List)","url":"setStripByteCountsAsLongs(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripOffsets(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripOffsets(List)","url":"setStripOffsets(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripOffsets(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setStripOffsetsAsLongs(List)","url":"setStripOffsetsAsLongs(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileByteCounts(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileByteCounts(List)","url":"setTileByteCounts(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileByteCounts(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileByteCountsAsLongs(List)","url":"setTileByteCountsAsLongs(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileHeight(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileHeightAsLong(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileOffsets(List)","url":"setTileOffsets(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileOffsets(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileWidth(int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setTileWidthAsLong(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setUnsignedIntegerEntryValue(FieldTagType, int)","url":"setUnsignedIntegerEntryValue(mil.nga.tiff.FieldTagType,int)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setUnsignedIntegerListEntryValue(FieldTagType, List)","url":"setUnsignedIntegerListEntryValue(mil.nga.tiff.FieldTagType,java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setUnsignedLongEntryValue(FieldTagType, long)","url":"setUnsignedLongEntryValue(mil.nga.tiff.FieldTagType,long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setUnsignedLongListEntryValue(FieldTagType, List)","url":"setUnsignedLongListEntryValue(mil.nga.tiff.FieldTagType,java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setWriteRasters(Rasters)","url":"setWriteRasters(mil.nga.tiff.Rasters)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setXResolution(List)","url":"setXResolution(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setXResolution(long)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setYResolution(List)","url":"setYResolution(java.util.List)"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"setYResolution(long)"},{"p":"mil.nga.tiff","c":"FieldType","l":"SHORT"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"ShutterSpeedValue"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"size()"},{"p":"mil.nga.tiff","c":"Rasters","l":"size()"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"size()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"sizeHeaderAndDirectories()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"sizeHeaderAndDirectoriesWithValues()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"sizeOfValues()"},{"p":"mil.nga.tiff","c":"Rasters","l":"sizePixel()"},{"p":"mil.nga.tiff","c":"FileDirectory","l":"sizeWithValues()"},{"p":"mil.nga.tiff","c":"FileDirectoryEntry","l":"sizeWithValues()"},{"p":"mil.nga.tiff","c":"FieldType","l":"SLONG"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SMaxSampleValue"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SMinSampleValue"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Software"},{"p":"mil.nga.tiff","c":"FieldType","l":"SRATIONAL"},{"p":"mil.nga.tiff","c":"FieldType","l":"SSHORT"},{"p":"mil.nga.tiff.io","c":"IOUtils","l":"streamBytes(InputStream)","url":"streamBytes(java.io.InputStream)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"StripByteCounts"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"StripOffsets"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"StripRowCounts"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SUBFILE_TYPE_FULL"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"SUBFILE_TYPE_REDUCED"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SubfileType"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"SubIFDs"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"T4Options"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"T6Options"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"Threshholding"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"THRESHHOLDING_NO"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"THRESHHOLDING_ORDERED"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"THRESHHOLDING_RANDOM"},{"p":"mil.nga.tiff.util","c":"TiffConstants","l":"TiffConstants()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff.util","c":"TiffException","l":"TiffException()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff.util","c":"TiffException","l":"TiffException(String, Throwable)","url":"%3Cinit%3E(java.lang.String,java.lang.Throwable)"},{"p":"mil.nga.tiff.util","c":"TiffException","l":"TiffException(String)","url":"%3Cinit%3E(java.lang.String)"},{"p":"mil.nga.tiff.util","c":"TiffException","l":"TiffException(Throwable)","url":"%3Cinit%3E(java.lang.Throwable)"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"TIFFImage()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"TIFFImage(FileDirectory)","url":"%3Cinit%3E(mil.nga.tiff.FileDirectory)"},{"p":"mil.nga.tiff","c":"TIFFImage","l":"TIFFImage(List)","url":"%3Cinit%3E(java.util.List)"},{"p":"mil.nga.tiff","c":"TiffReader","l":"TiffReader()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"TiffWriter()","url":"%3Cinit%3E()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"TileByteCounts"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"TileLength"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"TileOffsets"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"TileWidth"},{"p":"mil.nga.tiff","c":"ImageWindow","l":"toString()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"TransferFunction"},{"p":"mil.nga.tiff","c":"FieldType","l":"UNDEFINED"},{"p":"mil.nga.tiff.compression","c":"UnsupportedCompression","l":"UnsupportedCompression(String)","url":"%3Cinit%3E(java.lang.String)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"UserComment"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"mil.nga.tiff","c":"FieldType","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"values()"},{"p":"mil.nga.tiff","c":"FieldType","l":"values()"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"WhitePoint"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeByte(byte)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeBytes(byte[])"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeDouble(double)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeFloat(float)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeInt(int)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeShort(short)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeString(String)","url":"writeString(java.lang.String)"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"writeTiff(ByteWriter, TIFFImage)","url":"writeTiff(mil.nga.tiff.io.ByteWriter,mil.nga.tiff.TIFFImage)"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"writeTiff(File, ByteWriter, TIFFImage)","url":"writeTiff(java.io.File,mil.nga.tiff.io.ByteWriter,mil.nga.tiff.TIFFImage)"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"writeTiff(File, TIFFImage)","url":"writeTiff(java.io.File,mil.nga.tiff.TIFFImage)"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"writeTiffToBytes(ByteWriter, TIFFImage)","url":"writeTiffToBytes(mil.nga.tiff.io.ByteWriter,mil.nga.tiff.TIFFImage)"},{"p":"mil.nga.tiff","c":"TiffWriter","l":"writeTiffToBytes(TIFFImage)","url":"writeTiffToBytes(mil.nga.tiff.TIFFImage)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeUnsignedByte(short)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeUnsignedInt(long)"},{"p":"mil.nga.tiff.io","c":"ByteWriter","l":"writeUnsignedShort(int)"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"XClipPathUnits"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"XMP"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"XPosition"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"XResolution"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YCbCrCoefficients"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YCbCrPositioning"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YCbCrSubSampling"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YClipPathUnits"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YPosition"},{"p":"mil.nga.tiff","c":"FieldTagType","l":"YResolution"}] \ No newline at end of file diff --git a/docs/docs/api/member-search-index.zip b/docs/docs/api/member-search-index.zip new file mode 100644 index 0000000000000000000000000000000000000000..03e70bf838d6f6d2cbddbabad4f4ef3b94fee94f GIT binary patch literal 4469 zcmZ{oRag{^)`jViW?(4ko*|_rq#bH#Bn5;K>6VV6k?w9`=vL`&9XcdL2SmyNWM~Bb z@4NcXxj1WG?7g40@7CR`r-h40gGEF{gyjMT8Dag0=>OSWVXm)WUV`2*TQ9pef{t$X zFn=K@Z+Ev*D_8gT>eTn(Wli2|uFuxgJH!0%q8P@8(e% zV5r~juj~d|C`UgLs2}rDEx-2;&@T-;2WO+YvW~)DDDzuRsi&vWtTG8FD{R?k$B#sS zqg1zfolIdi5jNd-xQ%X{bvM2U2zbkz8zP;Lx;jTLx1 zwG-77%$Zr-Rpq~sk?vSuJ2^(FsY^JeX%GDqvx9%vawcioajEvM$#;hN|p!=Ctg#K!Box*y?7ymBo zugzl3n*#0fvwRJC<95|e`qNthko4*4AWRrdqa1*pB$)S-vxRIM%}?$*_+Gf(iq6bO zt{_3ZSejW!(yF*NX-@xfjw>ZrPs-Z^X_s7pi#X7h3Zzm|0eHlvnLi*2_2zmbL+$8T z_}ULeg@Z{(y&b6i5IbzXa&}GsdP29-&LzWXifz5_4kM}(z*0#(A%1XCw9Q!Tux3(v z_*I&q4(Sy@DBdoxK4jV`QM&ICaF3?{1czvMiO6=TO*ycOZ5Iwy1d^L{;~tQ9ZwO}?A%3?F~J z-ZyDPG!u`mCKC-wkars}@zNl{iK|{sZBh^Smtjw=+MObEpx^=F6rIH)g;DuRd1z^H zjarDXe2mG+UXvmHZqCIv>lHI+eelNbmSy6_z>YtRXe8``1Dbq83mby9k_KpF40($A z$;~{r6ONtWh;K5^F1->nZN7k}HX!`tTaz`?Or}FCi2V30veL1d&NnT3N3z8RU$S&! z-jWI4DI!o3=a&U!2-@J&z#xUMjdd`Vw%?ZIby3A|f^PO{r*op2jogUp8;<%q z?7PKRA6N5ey`b~VmqYCYey&eg<9)t>iIJ;HG$h1J#}}4|Mcl1ZEx)!ZAzQt?YI19m z@-u0E;{M`_E<_CMd9CsVjC9l~D-lw0}mKhg>y;?^d|V;D%KrV$l4i$|tXnMs~x~4Xxfa z@EjZ<>N#iA)2qbztF=wJmk>dUBHe0b$xRnfThq1U2_Z^m>l*jC4%xG+n73&!Lx|kp z8xjAG!Uilp3fGKWVp;hms%hjOC^4u#CD@_#Hs!Bu(|FN*!Zm6qia6VG*`L2=wMuMU z5%%eBfvcwVOP;zQm>F1g8pRgFS`Y#mE>)9&*3#?V zDcYQPaRw*yAMz9}B^#gFkvWHX<*FB%%u0*oPm=duNOkn7PN5sv%NW9wDxG_d7%kl7 z9UU6Rx=)N9$+`oiyF}d`X48xPn&nN72`aDRjZJG&*1T+=r%k35OtAkHm zKtis^l2OYts1r^fZBJf<%kdFXU|=P{Aoa>?@M%@2ufg=%qUJ?QZ>Q9`wmPNv0w}tH z)Kr&TFIqab9a2J7yx~@pHUhZk5Fl{)TjVk;cV=<&E35Tem7Y`xe|*sNt2IZSfKSWz z%)(cjk3aPMfQy;%l4po4EZDQk7qwDx3vbov?kep~%`gxk7p_##Ho2%=yhdd%m5Ihu z7>gdUQlQP6Jbqw;8f!c>ZlrwJA8GMuqw%JS8o8t|pK7dZ8{*uQv@2*7@VOGIJ~-|X zFR0EZW*|g|HFIK!5=tLpLirO(St}F>(kIK-w&|^5_01o!Y0oaKd2j za!B(laPGRl@S&W2pDnVU<#l2F8%4p!RSYk$*;P#4Ddg|Mx#5M*Qc2QihFLsEFzwha zht4dBx+q1%1QIKfQ=hDk#g1U4l|0U)@@T5^8Wx~>Exk7a(;TFu4D|wK&N%2;`L$+VZH8w`<|JVG*vd=g%%upRI9M21<8a-WFn#f|tk z3Rbng7_U7X@=BhNAhy0=JL&%9R%ro5L4b z-hP=^lL(U5C-5W*eS2Z`W9@Qq&GaVg;b&ocV?cL)QqBRy6pZb?aPv`&&LQvk z+Sk?J!6;h~`HjG78bwg*^{09lDJQu$Xs9y)lYRuaT_UH=ZEN*h7YSZj#9cTgTk%Zl zqG*t~^R@{bd@&r2|0Fe4c5Uqh4kzMjKSConGW+VxiYq!}DxZBphV(xPQ86D$e@Dk0 zt?YlQvc_rv6Y+LN&d05He-L+-TYH>Qe7Cw$|H-8CP_)p!+6#5uUx}YHLGpwGQVE}c-z4cVHTG=^OL{Qz1TLOR0*=+ZNl zT1H5T#!vv+7%<7SsFNgig`#@VhwMERZ!1YHP8Oc7V3(B(YI&3_+K0)E|J;wE8!#(s zdCFI0mV+UgGkyAm2J3;6g)L2XZ0dyK>)-|hv5b7(V90atzul9+*?a=L2~7BCfuKMJ zgmOupzFxHrVC&i(mpwF;_Ty9J2Hc7ZPwq>ZCc>SB&9chuZ>|u9K56}&W!He1WKEZo zhi^bXFPow@XwNt-JHeTDdxXSdw0qx}3<6jJn{B?(h|~10Ddh=DH>!M;*T2C%Drr;D ztCEk63?zWW9 zq-x@#So!W^abwa_KSF*dOi5&~_HBK>3_eFTR=R)uHb%EYWxhRwbX_0w5cY zBiE3vx`wk&qY-?~j$uy7bnU3<7va_qRVTUP0B42-tU#v)o;J5X!q2-UBD#@lQv1&w z*fvc`>>SM_=tFBQaRY!W>_NVyc=Fb8gVjMylyz~MHVX3=!a5H42%(=)xoH{BzR&d#7@%;8#Q z&#md1lvJae5;4hw?&P9L1VRYsL-vhQa=Sw>0%%F>_%IwlaVa%8UMZ#xKfyO%N={(^ zor{iI5F}%Tst8>by4?8tCJ$nxS+|-goOp`^WKUIG{l1bd^w8p#+qq?uZ+UBE#=NZK zjawE;m^&o-j^#3%L`RuAP`Nd1s$fH9F(x(5vLO(e1<_Hk!4q$DVvS<@nJc~NVapPJ z;PH4XfI7z|(6_yUo9{C0s2JA&U?7{-m68q#FsqNQOE{Hi8sEz$NernDuzA#~L|>{? zp~mUR+>j|Io(kmbNH~#$#n!dXOK3(ciop=%M52{Xos!{Q)fve8>-Xl>kTD}A@cx-) zJ4XbTbLl8YW2DK@>Ur!kuCACK;4Xf5@^d?_#juDc7Hqg3qG{W=Int`5A2`o}(H3br z%Qa-tkRD&YZl~d80m98(;~6*2_R-T`*_VYMm(w-miD`uoo1T9MYS!;90!1j_8+8z+ z{`lTz)S0SOL=o5y@W@wuwv&$WjKSL(#d~r-z*&gW)7n9Xv;imZM&njc#?e;LexE0PfzX6go2UWtO5 zz+oP4KJOzH-gjD7XBRzG=nPBqZ-?S+kuywD#ESFW14@-IUNoW_OfCX#%|FfR&S1FC zZjBZDaf&CG>Z3ylIbW6Ve`|E4VrsH5iuvUfH#4)D(y@`$-8CRl*q5p(z9l>$+U@t{ zEemd;R)Id~3%i?372zpg?yJHuTsMw{&P~D6JX5YBHgDDbI1-l)fxJarKk^m1@J!%6 zuT-52%NK8w!tY`@;Yzk2a;<2ws41nJAm9i8ozt?k2)&PT-0PlYq>R7ABXi43tRFt_ z$EX!v>LfoAco!^aNp+p1ZG{eb-gzUV*yhK53~K6t(x;$Q^$B6m=|?qNyMo!D?X4Xr3K%MW|+M<=q!960SJ-&3gTZ_aIG^o!u&=bQ_5_=wL;TC*uRnyk5|g&-DLWC=>1 zq#<&WaQqDnDQpGP#BH@6oCzj+UqNgbv!smF4@a#`uWh*D?{u<`5HMaQ3w7U{6i|_Q zaVr!zBDRan?+~VZX?NTZC&fD68s1bCJh#2K7c~mMs;!1P_HD@267eEA6>Yd*hnZ1b zmp(i27Ye_)eWMjYS^Fz(%eg@fjK=Qp3w+OHM|l->5P$`|z_s|=|G=uJMMwm>f8bo8 u#KIcP#lq6l!p5P&`hPU?pV_}? + - + +FieldTagType (Tagged Image File Format 3.0.0 API) -FieldTagType (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
+ +
+
-
mil.nga.tiff
+
Package mil.nga.tiff

Enum FieldTagType

@@ -540,1009 +682,1012 @@

Methods inherited from class java.lang.
  • +
    +
    +
      -
    • +
    • Method Detail

      - +
      • values

        -
        public static FieldTagType[] values()
        +
        public static FieldTagType[] values()
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
         for (FieldTagType c : FieldTagType.values())
        @@ -1554,13 +1699,13 @@ 

        values

      - +
      • valueOf

        -
        public static FieldTagType valueOf(String name)
        +
        public static FieldTagType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -1571,18 +1716,18 @@

        valueOf

        Returns:
        the enum constant with the specified name
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
      - +
      • isArray

        -
        public boolean isArray()
        +
        public boolean isArray()
        Is this field an array type
        Returns:
        @@ -1590,13 +1735,13 @@

        isArray

      - +
      • getId

        -
        public int getId()
        +
        public int getId()
        Get the tag id
        Returns:
        @@ -1604,13 +1749,13 @@

        getId

      - +
      • getById

        -
        public static FieldTagType getById(int id)
        +
        public static FieldTagType getById​(int id)
        Get a field tag type by id
        Parameters:
        @@ -1622,21 +1767,25 @@

        getById

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/FieldType.html b/docs/docs/api/mil/nga/tiff/FieldType.html index 176ff66..b762756 100644 --- a/docs/docs/api/mil/nga/tiff/FieldType.html +++ b/docs/docs/api/mil/nga/tiff/FieldType.html @@ -1,44 +1,57 @@ - + - + +FieldType (Tagged Image File Format 3.0.0 API) -FieldType (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Enum FieldType

    @@ -296,152 +344,155 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Enum Constant Detail

      - +
      • BYTE

        -
        public static final FieldType BYTE
        +
        public static final FieldType BYTE
        8-bit unsigned integer
      - +
      • ASCII

        -
        public static final FieldType ASCII
        +
        public static final FieldType ASCII
        8-bit byte that contains a 7-bit ASCII code; the last byte must be NUL (binary zero)
      - +
      • SHORT

        -
        public static final FieldType SHORT
        +
        public static final FieldType SHORT
        16-bit (2-byte) unsigned integer
      - +
      • LONG

        -
        public static final FieldType LONG
        +
        public static final FieldType LONG
        32-bit (4-byte) unsigned integer
      - +
      • RATIONAL

        -
        public static final FieldType RATIONAL
        +
        public static final FieldType RATIONAL
        Two LONGs: the first represents the numerator of a fraction; the second, the denominator
      - +
      • SBYTE

        -
        public static final FieldType SBYTE
        +
        public static final FieldType SBYTE
        An 8-bit signed (twos-complement) integer
      - +
      • UNDEFINED

        -
        public static final FieldType UNDEFINED
        +
        public static final FieldType UNDEFINED
        An 8-bit byte that may contain anything, depending on the definition of the field
      - +
      • SSHORT

        -
        public static final FieldType SSHORT
        +
        public static final FieldType SSHORT
        A 16-bit (2-byte) signed (twos-complement) integer
      - +
      • SLONG

        -
        public static final FieldType SLONG
        +
        public static final FieldType SLONG
        A 32-bit (4-byte) signed (twos-complement) integer
      - +
      • SRATIONAL

        -
        public static final FieldType SRATIONAL
        +
        public static final FieldType SRATIONAL
        Two SLONG’s: the first represents the numerator of a fraction, the second the denominator
      - +
      • FLOAT

        -
        public static final FieldType FLOAT
        +
        public static final FieldType FLOAT
        Single precision (4-byte) IEEE format
      - +
      • DOUBLE

        -
        public static final FieldType DOUBLE
        +
        public static final FieldType DOUBLE
        Double precision (8-byte) IEEE format
    +
    +
      -
    • +
    • Method Detail

      - +
      • values

        -
        public static FieldType[] values()
        +
        public static FieldType[] values()
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate +the order they are declared. This method may be used to iterate over the constants as follows:
         for (FieldType c : FieldType.values())
        @@ -453,13 +504,13 @@ 

        values

      - +
      • valueOf

        -
        public static FieldType valueOf(String name)
        +
        public static FieldType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -470,18 +521,18 @@

        valueOf

        Returns:
        the enum constant with the specified name
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
      - +
      • getValue

        -
        public int getValue()
        +
        public int getValue()
        Get the field type value
        Returns:
        @@ -489,13 +540,13 @@

        getValue

      - +
      • getBytes

        -
        public int getBytes()
        +
        public int getBytes()
        Get the number of bytes per value
        Returns:
        @@ -503,13 +554,13 @@

        getBytes

      - +
      • getBits

        -
        public int getBits()
        +
        public int getBits()
        Get the number of bits per value
        Returns:
        @@ -519,13 +570,13 @@

        getBits

      - +
      • getFieldType

        -
        public static FieldType getFieldType(int fieldType)
        +
        public static FieldType getFieldType​(int fieldType)
        Get the field type
        Parameters:
        @@ -535,13 +586,13 @@

        getFieldType

      - +
      • getFieldType

        -
        public static FieldType getFieldType(int sampleFormat,
        +
        public static FieldType getFieldType​(int sampleFormat,
                                              int bitsPerSample)
        Get the field type of the sample format and bits per sample
        @@ -555,13 +606,13 @@

        getFieldType

      - +
      • getSampleFormat

        -
        public static int getSampleFormat(FieldType fieldType)
        +
        public static int getSampleFormat​(FieldType fieldType)
        Get the sample format of the field type
        Parameters:
        @@ -575,21 +626,25 @@

        getSampleFormat

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/FileDirectory.html b/docs/docs/api/mil/nga/tiff/FileDirectory.html index 86d79ec..717f1fc 100644 --- a/docs/docs/api/mil/nga/tiff/FileDirectory.html +++ b/docs/docs/api/mil/nga/tiff/FileDirectory.html @@ -1,44 +1,57 @@ - + - + +FileDirectory (Tagged Image File Format 3.0.0 API) -FileDirectory (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class FileDirectory

    @@ -844,19 +996,20 @@

    Methods inherited from class java.lang.
  • +
    +
    +
      -
    • +
    • Method Detail

      - + - +
      • setCache

        -
        public void setCache(boolean cacheData)
        +
        public void setCache​(boolean cacheData)
        Set whether to cache tiles. Does nothing is already caching tiles, clears the existing cache if set to false.
        @@ -960,13 +1115,13 @@

        setCache

      - +
      • getReader

        -
        public ByteReader getReader()
        +
        public ByteReader getReader()
        Get the byte reader
        Returns:
        @@ -974,13 +1129,13 @@

        getReader

      - +
      • isTiled

        -
        public boolean isTiled()
        +
        public boolean isTiled()
        Is this a tiled image
        Returns:
        @@ -988,13 +1143,13 @@

        isTiled

      - + - +
      • numEntries

        -
        public int numEntries()
        +
        public int numEntries()
        Get the number of entries
        Returns:
        @@ -1016,13 +1171,13 @@

        numEntries

      - + - + - + - +
      • getImageWidth

        -
        public Number getImageWidth()
        +
        public Number getImageWidth()
        Get the image width
        Returns:
        @@ -1074,13 +1229,13 @@

        getImageWidth

      - +
      • setImageWidth

        -
        public void setImageWidth(int width)
        +
        public void setImageWidth​(int width)
        Set the image width
        Parameters:
        @@ -1088,13 +1243,13 @@

        setImageWidth

      - +
      • setImageWidthAsLong

        -
        public void setImageWidthAsLong(long width)
        +
        public void setImageWidthAsLong​(long width)
        Set the image width
        Parameters:
        @@ -1102,13 +1257,13 @@

        setImageWidthAsLong

      - +
      • getImageHeight

        -
        public Number getImageHeight()
        +
        public Number getImageHeight()
        Get the image height
        Returns:
        @@ -1116,13 +1271,13 @@

        getImageHeight

      - +
      • setImageHeight

        -
        public void setImageHeight(int height)
        +
        public void setImageHeight​(int height)
        Set the image height
        Parameters:
        @@ -1130,13 +1285,13 @@

        setImageHeight

      - +
      • setImageHeightAsLong

        -
        public void setImageHeightAsLong(long height)
        +
        public void setImageHeightAsLong​(long height)
        Set the image height
        Parameters:
        @@ -1144,13 +1299,13 @@

        setImageHeightAsLong

      - +
      • getBitsPerSample

        -
        public List<Integer> getBitsPerSample()
        +
        public List<Integer> getBitsPerSample()
        Get the bits per sample
        Returns:
        @@ -1158,13 +1313,13 @@

        getBitsPerSample

      - +
      • setBitsPerSample

        -
        public void setBitsPerSample(List<Integer> bitsPerSample)
        +
        public void setBitsPerSample​(List<Integer> bitsPerSample)
        Set the bits per sample
        Parameters:
        @@ -1172,13 +1327,13 @@

        setBitsPerSample

      - +
      • setBitsPerSample

        -
        public void setBitsPerSample(int bitsPerSample)
        +
        public void setBitsPerSample​(int bitsPerSample)
        Set a single value bits per sample
        Parameters:
        @@ -1186,13 +1341,13 @@

        setBitsPerSample

      - +
      • getMaxBitsPerSample

        -
        public Integer getMaxBitsPerSample()
        +
        public Integer getMaxBitsPerSample()
        Get the max bits per sample
        Returns:
        @@ -1200,13 +1355,13 @@

        getMaxBitsPerSample

      - +
      • getCompression

        -
        public Integer getCompression()
        +
        public Integer getCompression()
        Get the compression
        Returns:
        @@ -1214,13 +1369,13 @@

        getCompression

      - +
      • setCompression

        -
        public void setCompression(int compression)
        +
        public void setCompression​(int compression)
        Set the compression
        Parameters:
        @@ -1228,13 +1383,13 @@

        setCompression

      - +
      • getPhotometricInterpretation

        -
        public Integer getPhotometricInterpretation()
        +
        public Integer getPhotometricInterpretation()
        Get the photometric interpretation
        Returns:
        @@ -1242,13 +1397,13 @@

        getPhotometricInterpretation

      - +
      • setPhotometricInterpretation

        -
        public void setPhotometricInterpretation(int photometricInterpretation)
        +
        public void setPhotometricInterpretation​(int photometricInterpretation)
        Set the photometric interpretation
        Parameters:
        @@ -1256,13 +1411,13 @@

        setPhotometricInterpretation

      - +
      • getStripOffsets

        -
        public List<Number> getStripOffsets()
        +
        public List<Number> getStripOffsets()
        Get the strip offsets
        Returns:
        @@ -1270,13 +1425,13 @@

        getStripOffsets

      - +
      • setStripOffsets

        -
        public void setStripOffsets(List<Integer> stripOffsets)
        +
        public void setStripOffsets​(List<Integer> stripOffsets)
        Set the strip offsets
        Parameters:
        @@ -1284,13 +1439,13 @@

        setStripOffsets

      - +
      • setStripOffsetsAsLongs

        -
        public void setStripOffsetsAsLongs(List<Long> stripOffsets)
        +
        public void setStripOffsetsAsLongs​(List<Long> stripOffsets)
        Set the strip offsets
        Parameters:
        @@ -1298,13 +1453,13 @@

        setStripOffsetsAsLongs

      - +
      • setStripOffsets

        -
        public void setStripOffsets(int stripOffset)
        +
        public void setStripOffsets​(int stripOffset)
        Set a single value strip offset
        Parameters:
        @@ -1312,13 +1467,13 @@

        setStripOffsets

      - +
      • setStripOffsets

        -
        public void setStripOffsets(long stripOffset)
        +
        public void setStripOffsets​(long stripOffset)
        Set a single value strip offset
        Parameters:
        @@ -1326,13 +1481,13 @@

        setStripOffsets

      - +
      • getSamplesPerPixel

        -
        public int getSamplesPerPixel()
        +
        public int getSamplesPerPixel()
        Get the samples per pixel
        Returns:
        @@ -1342,13 +1497,13 @@

        getSamplesPerPixel

      - +
      • setSamplesPerPixel

        -
        public void setSamplesPerPixel(int samplesPerPixel)
        +
        public void setSamplesPerPixel​(int samplesPerPixel)
        Set the samples per pixel
        Parameters:
        @@ -1356,13 +1511,13 @@

        setSamplesPerPixel

      - +
      • getRowsPerStrip

        -
        public Number getRowsPerStrip()
        +
        public Number getRowsPerStrip()
        Get the rows per strip
        Returns:
        @@ -1370,13 +1525,13 @@

        getRowsPerStrip

      - +
      • setRowsPerStrip

        -
        public void setRowsPerStrip(int rowsPerStrip)
        +
        public void setRowsPerStrip​(int rowsPerStrip)
        Set the rows per strip
        Parameters:
        @@ -1384,13 +1539,13 @@

        setRowsPerStrip

      - +
      • setRowsPerStripAsLong

        -
        public void setRowsPerStripAsLong(long rowsPerStrip)
        +
        public void setRowsPerStripAsLong​(long rowsPerStrip)
        Set the rows per strip
        Parameters:
        @@ -1398,13 +1553,13 @@

        setRowsPerStripAsLong

      - +
      • getStripByteCounts

        -
        public List<Number> getStripByteCounts()
        +
        public List<Number> getStripByteCounts()
        Get the strip byte counts
        Returns:
        @@ -1412,13 +1567,13 @@

        getStripByteCounts

      - +
      • setStripByteCounts

        -
        public void setStripByteCounts(List<Integer> stripByteCounts)
        +
        public void setStripByteCounts​(List<Integer> stripByteCounts)
        Set the strip byte counts
        Parameters:
        @@ -1426,13 +1581,13 @@

        setStripByteCounts

      - +
      • setStripByteCountsAsLongs

        -
        public void setStripByteCountsAsLongs(List<Long> stripByteCounts)
        +
        public void setStripByteCountsAsLongs​(List<Long> stripByteCounts)
        Set the strip byte counts
        Parameters:
        @@ -1440,13 +1595,13 @@

        setStripByteCountsAsLongs

      - +
      • setStripByteCounts

        -
        public void setStripByteCounts(int stripByteCount)
        +
        public void setStripByteCounts​(int stripByteCount)
        Set a single value strip byte count
        Parameters:
        @@ -1454,13 +1609,13 @@

        setStripByteCounts

      - +
      • setStripByteCounts

        -
        public void setStripByteCounts(long stripByteCount)
        +
        public void setStripByteCounts​(long stripByteCount)
        Set a single value strip byte count
        Parameters:
        @@ -1468,13 +1623,13 @@

        setStripByteCounts

      - +
      • getXResolution

        -
        public List<Long> getXResolution()
        +
        public List<Long> getXResolution()
        Get the x resolution
        Returns:
        @@ -1482,13 +1637,13 @@

        getXResolution

      - +
      • setXResolution

        -
        public void setXResolution(List<Long> xResolution)
        +
        public void setXResolution​(List<Long> xResolution)
        Set the x resolution
        Parameters:
        @@ -1496,13 +1651,13 @@

        setXResolution

      - +
      • setXResolution

        -
        public void setXResolution(long xResolution)
        +
        public void setXResolution​(long xResolution)
        Set a single value x resolution
        Parameters:
        @@ -1510,13 +1665,13 @@

        setXResolution

      - +
      • getYResolution

        -
        public List<Long> getYResolution()
        +
        public List<Long> getYResolution()
        Get the y resolution
        Returns:
        @@ -1524,13 +1679,13 @@

        getYResolution

      - +
      • setYResolution

        -
        public void setYResolution(List<Long> yResolution)
        +
        public void setYResolution​(List<Long> yResolution)
        Set the y resolution
        Parameters:
        @@ -1538,13 +1693,13 @@

        setYResolution

      - +
      • setYResolution

        -
        public void setYResolution(long yResolution)
        +
        public void setYResolution​(long yResolution)
        Set a single value y resolution
        Parameters:
        @@ -1552,13 +1707,13 @@

        setYResolution

      - +
      • getPlanarConfiguration

        -
        public Integer getPlanarConfiguration()
        +
        public Integer getPlanarConfiguration()
        Get the planar configuration
        Returns:
        @@ -1566,13 +1721,13 @@

        getPlanarConfiguration

      - +
      • setPlanarConfiguration

        -
        public void setPlanarConfiguration(int planarConfiguration)
        +
        public void setPlanarConfiguration​(int planarConfiguration)
        Set the planar configuration
        Parameters:
        @@ -1580,13 +1735,13 @@

        setPlanarConfiguration

      - +
      • getResolutionUnit

        -
        public Integer getResolutionUnit()
        +
        public Integer getResolutionUnit()
        Get the resolution unit
        Returns:
        @@ -1594,13 +1749,13 @@

        getResolutionUnit

      - +
      • setResolutionUnit

        -
        public void setResolutionUnit(int resolutionUnit)
        +
        public void setResolutionUnit​(int resolutionUnit)
        Set the resolution unit
        Parameters:
        @@ -1608,13 +1763,13 @@

        setResolutionUnit

      - +
      • getModelPixelScale

        -
        public List<Double> getModelPixelScale()
        +
        public List<Double> getModelPixelScale()
        Get the model pixel scale
        Returns:
        @@ -1624,13 +1779,13 @@

        getModelPixelScale

      - +
      • setModelPixelScale

        -
        public void setModelPixelScale(List<Double> modelPixelScale)
        +
        public void setModelPixelScale​(List<Double> modelPixelScale)
        Set the model pixel scale
        Parameters:
        @@ -1640,13 +1795,13 @@

        setModelPixelScale

      - +
      • getModelTiepoint

        -
        public List<Double> getModelTiepoint()
        +
        public List<Double> getModelTiepoint()
        Get the model tiepoint
        Returns:
        @@ -1656,13 +1811,13 @@

        getModelTiepoint

      - +
      • setModelTiepoint

        -
        public void setModelTiepoint(List<Double> modelTiepoint)
        +
        public void setModelTiepoint​(List<Double> modelTiepoint)
        Set the model tiepoint
        Parameters:
        @@ -1672,13 +1827,13 @@

        setModelTiepoint

      - +
      • getColorMap

        -
        public List<Integer> getColorMap()
        +
        public List<Integer> getColorMap()
        Get the color map
        Returns:
        @@ -1686,13 +1841,13 @@

        getColorMap

      - +
      • setColorMap

        -
        public void setColorMap(List<Integer> colorMap)
        +
        public void setColorMap​(List<Integer> colorMap)
        Set the color map
        Parameters:
        @@ -1700,13 +1855,13 @@

        setColorMap

      - +
      • setColorMap

        -
        public void setColorMap(int colorMap)
        +
        public void setColorMap​(int colorMap)
        Set a single value color map
        Parameters:
        @@ -1714,13 +1869,13 @@

        setColorMap

      - +
      • getTileWidth

        -
        public Number getTileWidth()
        +
        public Number getTileWidth()
        Get the tile width
        Returns:
        @@ -1728,13 +1883,13 @@

        getTileWidth

      - +
      • setTileWidth

        -
        public void setTileWidth(int tileWidth)
        +
        public void setTileWidth​(int tileWidth)
        Set the tile width
        Parameters:
        @@ -1742,13 +1897,13 @@

        setTileWidth

      - +
      • setTileWidthAsLong

        -
        public void setTileWidthAsLong(long tileWidth)
        +
        public void setTileWidthAsLong​(long tileWidth)
        Set the tile width
        Parameters:
        @@ -1756,13 +1911,13 @@

        setTileWidthAsLong

      - +
      • getTileHeight

        -
        public Number getTileHeight()
        +
        public Number getTileHeight()
        Get the tile height
        Returns:
        @@ -1770,13 +1925,13 @@

        getTileHeight

      - +
      • setTileHeight

        -
        public void setTileHeight(int tileHeight)
        +
        public void setTileHeight​(int tileHeight)
        Set the tile height
        Parameters:
        @@ -1784,13 +1939,13 @@

        setTileHeight

      - +
      • setTileHeightAsLong

        -
        public void setTileHeightAsLong(long tileHeight)
        +
        public void setTileHeightAsLong​(long tileHeight)
        Set the tile height
        Parameters:
        @@ -1798,13 +1953,13 @@

        setTileHeightAsLong

      - +
      • getTileOffsets

        -
        public List<Long> getTileOffsets()
        +
        public List<Long> getTileOffsets()
        Get the tile offsets
        Returns:
        @@ -1812,13 +1967,13 @@

        getTileOffsets

      - +
      • setTileOffsets

        -
        public void setTileOffsets(List<Long> tileOffsets)
        +
        public void setTileOffsets​(List<Long> tileOffsets)
        Set the tile offsets
        Parameters:
        @@ -1826,13 +1981,13 @@

        setTileOffsets

      - +
      • setTileOffsets

        -
        public void setTileOffsets(long tileOffset)
        +
        public void setTileOffsets​(long tileOffset)
        Set a single value tile offset
        Parameters:
        @@ -1840,13 +1995,13 @@

        setTileOffsets

      - +
      • getTileByteCounts

        -
        public List<Number> getTileByteCounts()
        +
        public List<Number> getTileByteCounts()
        Get the tile byte counts
        Returns:
        @@ -1854,13 +2009,13 @@

        getTileByteCounts

      - +
      • setTileByteCounts

        -
        public void setTileByteCounts(List<Integer> tileByteCounts)
        +
        public void setTileByteCounts​(List<Integer> tileByteCounts)
        Set the tile byte counts
        Parameters:
        @@ -1868,13 +2023,13 @@

        setTileByteCounts

      - +
      • setTileByteCountsAsLongs

        -
        public void setTileByteCountsAsLongs(List<Long> tileByteCounts)
        +
        public void setTileByteCountsAsLongs​(List<Long> tileByteCounts)
        Set the tile byte counts
        Parameters:
        @@ -1882,13 +2037,13 @@

        setTileByteCountsAsLongs

      - +
      • setTileByteCounts

        -
        public void setTileByteCounts(int tileByteCount)
        +
        public void setTileByteCounts​(int tileByteCount)
        Set a single value tile byte count
        Parameters:
        @@ -1896,13 +2051,13 @@

        setTileByteCounts

      - +
      • setTileByteCounts

        -
        public void setTileByteCounts(long tileByteCount)
        +
        public void setTileByteCounts​(long tileByteCount)
        Set a single value tile byte count
        Parameters:
        @@ -1910,13 +2065,13 @@

        setTileByteCounts

      - +
      • getSampleFormat

        -
        public List<Integer> getSampleFormat()
        +
        public List<Integer> getSampleFormat()
        Get the sample format
        Returns:
        @@ -1924,13 +2079,13 @@

        getSampleFormat

      - +
      • setSampleFormat

        -
        public void setSampleFormat(List<Integer> sampleFormat)
        +
        public void setSampleFormat​(List<Integer> sampleFormat)
        Set the sample format
        Parameters:
        @@ -1938,13 +2093,13 @@

        setSampleFormat

      - +
      • setSampleFormat

        -
        public void setSampleFormat(int sampleFormat)
        +
        public void setSampleFormat​(int sampleFormat)
        Set a single value sample format
        Parameters:
        @@ -1952,13 +2107,13 @@

        setSampleFormat

      - +
      • getMaxSampleFormat

        -
        public Integer getMaxSampleFormat()
        +
        public Integer getMaxSampleFormat()
        Get the max sample format
        Returns:
        @@ -1966,13 +2121,45 @@

        getMaxSampleFormat

      - + + + +
        +
      • +

        getPredictor

        +
        public Integer getPredictor()
        +
        Get the predictor
        +
        +
        Returns:
        +
        predictor
        +
        Since:
        +
        3.0.0
        +
        +
      • +
      + + + +
        +
      • +

        setPredictor

        +
        public void setPredictor​(int predictor)
        +
        Set the predictor
        +
        +
        Parameters:
        +
        predictor - predictor
        +
        Since:
        +
        3.0.0
        +
        +
      • +
      +
      • getWriteRasters

        -
        public Rasters getWriteRasters()
        +
        public Rasters getWriteRasters()
        Get the rasters for writing a TIFF file
        Returns:
        @@ -1980,13 +2167,13 @@

        getWriteRasters

      - +
      • setWriteRasters

        -
        public void setWriteRasters(Rasters rasters)
        +
        public void setWriteRasters​(Rasters rasters)
        Set the rasters for writing a TIFF file
        Parameters:
        @@ -1994,13 +2181,13 @@

        setWriteRasters

      - +
      • readRasters

        -
        public Rasters readRasters()
        +
        public Rasters readRasters()
        Read the rasters
        Returns:
        @@ -2008,13 +2195,13 @@

        readRasters

      - +
      • readInterleavedRasters

        -
        public Rasters readInterleavedRasters()
        +
        public Rasters readInterleavedRasters()
        Read the rasters as interleaved
        Returns:
        @@ -2022,13 +2209,13 @@

        readInterleavedRasters

      - +
      • readRasters

        -
        public Rasters readRasters(ImageWindow window)
        +
        public Rasters readRasters​(ImageWindow window)
        Read the rasters
        Parameters:
        @@ -2038,13 +2225,13 @@

        readRasters

      - +
      • readInterleavedRasters

        -
        public Rasters readInterleavedRasters(ImageWindow window)
        +
        public Rasters readInterleavedRasters​(ImageWindow window)
        Read the rasters as interleaved
        Parameters:
        @@ -2054,13 +2241,13 @@

        readInterleavedRasters

      - +
      • readRasters

        -
        public Rasters readRasters(int[] samples)
        +
        public Rasters readRasters​(int[] samples)
        Read the rasters
        Parameters:
        @@ -2070,13 +2257,13 @@

        readRasters

      - +
      • readInterleavedRasters

        -
        public Rasters readInterleavedRasters(int[] samples)
        +
        public Rasters readInterleavedRasters​(int[] samples)
        Read the rasters as interleaved
        Parameters:
        @@ -2086,13 +2273,13 @@

        readInterleavedRasters

      - +
      • readRasters

        -
        public Rasters readRasters(ImageWindow window,
        +
        public Rasters readRasters​(ImageWindow window,
                                    int[] samples)
        Read the rasters
        @@ -2104,13 +2291,13 @@

        readRasters

      - +
      • readInterleavedRasters

        -
        public Rasters readInterleavedRasters(ImageWindow window,
        +
        public Rasters readInterleavedRasters​(ImageWindow window,
                                               int[] samples)
        Read the rasters as interleaved
        @@ -2122,13 +2309,13 @@

        readInterleavedRasters

      - +
      • readRasters

        -
        public Rasters readRasters(boolean sampleValues,
        +
        public Rasters readRasters​(boolean sampleValues,
                                    boolean interleaveValues)
        Read the rasters
        @@ -2140,13 +2327,13 @@

        readRasters

      - +
      • readRasters

        -
        public Rasters readRasters(ImageWindow window,
        +
        public Rasters readRasters​(ImageWindow window,
                                    boolean sampleValues,
                                    boolean interleaveValues)
        Read the rasters
        @@ -2160,13 +2347,13 @@

        readRasters

      - +
      • readRasters

        -
        public Rasters readRasters(int[] samples,
        +
        public Rasters readRasters​(int[] samples,
                                    boolean sampleValues,
                                    boolean interleaveValues)
        Read the rasters
        @@ -2180,13 +2367,13 @@

        readRasters

      - +
      • readRasters

        -
        public Rasters readRasters(ImageWindow window,
        +
        public Rasters readRasters​(ImageWindow window,
                                    int[] samples,
                                    boolean sampleValues,
                                    boolean interleaveValues)
        @@ -2202,13 +2389,13 @@

        readRasters

      - +
      • getFieldTypeForSample

        -
        public FieldType getFieldTypeForSample(int sampleIndex)
        +
        public FieldType getFieldTypeForSample​(int sampleIndex)
        Get the field type for the sample
        Parameters:
        @@ -2218,13 +2405,13 @@

        getFieldTypeForSample

      - +
      • getIntegerEntryValue

        -
        public Integer getIntegerEntryValue(FieldTagType fieldTagType)
        +
        public Integer getIntegerEntryValue​(FieldTagType fieldTagType)
        Get an integer entry value
        Parameters:
        @@ -2236,13 +2423,13 @@

        getIntegerEntryValue

      - +
      • setUnsignedIntegerEntryValue

        -
        public void setUnsignedIntegerEntryValue(FieldTagType fieldTagType,
        +
        public void setUnsignedIntegerEntryValue​(FieldTagType fieldTagType,
                                                  int value)
        Set an unsigned integer entry value for the field tag type
        @@ -2254,13 +2441,13 @@

        setUnsignedIntegerEntryValue

      - +
      • getNumberEntryValue

        -
        public Number getNumberEntryValue(FieldTagType fieldTagType)
        +
        public Number getNumberEntryValue​(FieldTagType fieldTagType)
        Get an number entry value
        Parameters:
        @@ -2272,13 +2459,13 @@

        getNumberEntryValue

      - +
      • setUnsignedLongEntryValue

        -
        public void setUnsignedLongEntryValue(FieldTagType fieldTagType,
        +
        public void setUnsignedLongEntryValue​(FieldTagType fieldTagType,
                                               long value)
        Set an unsigned long entry value for the field tag type
        @@ -2290,13 +2477,13 @@

        setUnsignedLongEntryValue

      - +
      • getStringEntryValue

        -
        public String getStringEntryValue(FieldTagType fieldTagType)
        +
        public String getStringEntryValue​(FieldTagType fieldTagType)
        Get a string entry value for the field tag type
        Parameters:
        @@ -2308,14 +2495,14 @@

        getStringEntryValue

      - +
      • setStringEntryValue

        -
        public void setStringEntryValue(FieldTagType fieldTagType,
        -                                String value)
        +
        public void setStringEntryValue​(FieldTagType fieldTagType,
        +                                String value)
        Set string value for the field tag type
        Parameters:
        @@ -2326,13 +2513,13 @@

        setStringEntryValue

      - +
      • getIntegerListEntryValue

        -
        public List<Integer> getIntegerListEntryValue(FieldTagType fieldTagType)
        +
        public List<Integer> getIntegerListEntryValue​(FieldTagType fieldTagType)
        Get an integer list entry value
        Parameters:
        @@ -2344,13 +2531,13 @@

        getIntegerListEntryValue

      - +
      • getDoubleListEntryValue

        -
        public List<Double> getDoubleListEntryValue(FieldTagType fieldTagType)
        +
        public List<Double> getDoubleListEntryValue​(FieldTagType fieldTagType)
        Get a double list entry value
        Parameters:
        @@ -2362,14 +2549,14 @@

        getDoubleListEntryValue

      - +
      • setDoubleListEntryValue

        -
        public void setDoubleListEntryValue(FieldTagType fieldTagType,
        -                                    List<Double> value)
        +
        public void setDoubleListEntryValue​(FieldTagType fieldTagType,
        +                                    List<Double> value)
        Set a double list entry value
        Parameters:
        @@ -2380,14 +2567,14 @@

        setDoubleListEntryValue

      - +
      • setUnsignedIntegerListEntryValue

        -
        public void setUnsignedIntegerListEntryValue(FieldTagType fieldTagType,
        -                                             List<Integer> value)
        +
        public void setUnsignedIntegerListEntryValue​(FieldTagType fieldTagType,
        +                                             List<Integer> value)
        Set an unsigned integer list of values for the field tag type
        Parameters:
        @@ -2398,13 +2585,13 @@

        setUnsignedIntegerListEntryValue

      - +
      • getMaxIntegerEntryValue

        -
        public Integer getMaxIntegerEntryValue(FieldTagType fieldTagType)
        +
        public Integer getMaxIntegerEntryValue​(FieldTagType fieldTagType)
        Get the max integer from integer list entry values
        Parameters:
        @@ -2416,13 +2603,13 @@

        getMaxIntegerEntryValue

      - +
      • getNumberListEntryValue

        -
        public List<Number> getNumberListEntryValue(FieldTagType fieldTagType)
        +
        public List<Number> getNumberListEntryValue​(FieldTagType fieldTagType)
        Get a number list entry value
        Parameters:
        @@ -2434,13 +2621,13 @@

        getNumberListEntryValue

      - +
      • getLongListEntryValue

        -
        public List<Long> getLongListEntryValue(FieldTagType fieldTagType)
        +
        public List<Long> getLongListEntryValue​(FieldTagType fieldTagType)
        Get a long list entry value
        Parameters:
        @@ -2452,14 +2639,14 @@

        getLongListEntryValue

      - +
      • setUnsignedLongListEntryValue

        -
        public void setUnsignedLongListEntryValue(FieldTagType fieldTagType,
        -                                          List<Long> value)
        +
        public void setUnsignedLongListEntryValue​(FieldTagType fieldTagType,
        +                                          List<Long> value)
        Set an unsigned long list of values for the field tag type
        Parameters:
        @@ -2470,14 +2657,14 @@

        setUnsignedLongListEntryValue

      - +
      • setRationalEntryValue

        -
        public void setRationalEntryValue(FieldTagType fieldTagType,
        -                                  List<Long> value)
        +
        public void setRationalEntryValue​(FieldTagType fieldTagType,
        +                                  List<Long> value)
        Set rational value for the field tag type
        Parameters:
        @@ -2488,13 +2675,13 @@

        setRationalEntryValue

      - +
      • size

        -
        public long size()
        +
        public long size()
        Size in bytes of the Image File Directory (all contiguous)
        Returns:
        @@ -2502,13 +2689,13 @@

        size

      - +
      • sizeWithValues

        -
        public long sizeWithValues()
        +
        public long sizeWithValues()
        Size in bytes of the image file directory including entry values (not contiguous bytes)
        @@ -2519,21 +2706,25 @@

        sizeWithValues

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/FileDirectoryEntry.html b/docs/docs/api/mil/nga/tiff/FileDirectoryEntry.html index 096b4f5..2ca2777 100644 --- a/docs/docs/api/mil/nga/tiff/FileDirectoryEntry.html +++ b/docs/docs/api/mil/nga/tiff/FileDirectoryEntry.html @@ -1,44 +1,57 @@ - + - + +FileDirectoryEntry (Tagged Image File Format 3.0.0 API) -FileDirectoryEntry (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class FileDirectoryEntry

    @@ -228,21 +263,22 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
      • FileDirectoryEntry

        -
        public FileDirectoryEntry(FieldTagType fieldTag,
        -                          FieldType fieldType,
        +
        public FileDirectoryEntry​(FieldTagType fieldTag,
        +                          FieldType fieldType,
                                   long typeCount,
        -                          Object values)
        + Object values)
        Constructor
        Parameters:
        @@ -255,19 +291,21 @@

        FileDirectoryEntry

    +
    +
      -
    • +
    • Method Detail

      - +
      • getFieldTag

        -
        public FieldTagType getFieldTag()
        +
        public FieldTagType getFieldTag()
        Get the field tag type
        Returns:
        @@ -275,13 +313,13 @@

        getFieldTag

      - +
      • getFieldType

        -
        public FieldType getFieldType()
        +
        public FieldType getFieldType()
        Get the field type
        Returns:
        @@ -289,13 +327,13 @@

        getFieldType

      - +
      • getTypeCount

        -
        public long getTypeCount()
        +
        public long getTypeCount()
        Get the type count
        Returns:
        @@ -303,13 +341,13 @@

        getTypeCount

      - +
      • getValues

        -
        public Object getValues()
        +
        public Object getValues()
        Get the values
        Returns:
        @@ -317,13 +355,13 @@

        getValues

      - +
      • sizeWithValues

        -
        public long sizeWithValues()
        +
        public long sizeWithValues()
        Size in bytes of the image file directory entry and its values (not contiguous bytes)
        @@ -332,13 +370,13 @@

        sizeWithValues

      - +
      • sizeOfValues

        -
        public long sizeOfValues()
        +
        public long sizeOfValues()
        Size of the values not included in the directory entry bytes
        Returns:
        @@ -346,62 +384,66 @@

        sizeOfValues

      - + - + - +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/ImageWindow.html b/docs/docs/api/mil/nga/tiff/ImageWindow.html index f4a958f..16c5b9f 100644 --- a/docs/docs/api/mil/nga/tiff/ImageWindow.html +++ b/docs/docs/api/mil/nga/tiff/ImageWindow.html @@ -1,44 +1,57 @@ - + - + +ImageWindow (Tagged Image File Format 3.0.0 API) -ImageWindow (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class ImageWindow

    @@ -237,18 +276,19 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
      • ImageWindow

        -
        public ImageWindow(int minX,
        +
        public ImageWindow​(int minX,
                            int minY,
                            int maxX,
                            int maxY)
        @@ -262,13 +302,13 @@

        ImageWindow

      - +
      • ImageWindow

        -
        public ImageWindow(int x,
        +
        public ImageWindow​(int x,
                            int y)
        Constructor for a single coordinate
        @@ -278,13 +318,13 @@

        ImageWindow

      - +
      • ImageWindow

        -
        public ImageWindow(FileDirectory fileDirectory)
        +
        public ImageWindow​(FileDirectory fileDirectory)
        Constructor, full image size
        Parameters:
        @@ -294,19 +334,21 @@

        ImageWindow

    +
    +
      -
    • +
    • Method Detail

      - +
      • getMinX

        -
        public int getMinX()
        +
        public int getMinX()
        Get the min x
        Returns:
        @@ -314,13 +356,13 @@

        getMinX

      - +
      • setMinX

        -
        public void setMinX(int minX)
        +
        public void setMinX​(int minX)
        Set the min x
        Parameters:
        @@ -328,13 +370,13 @@

        setMinX

      - +
      • getMinY

        -
        public int getMinY()
        +
        public int getMinY()
        Get the min y
        Returns:
        @@ -342,13 +384,13 @@

        getMinY

      - +
      • setMinY

        -
        public void setMinY(int minY)
        +
        public void setMinY​(int minY)
        Set the min y
        Parameters:
        @@ -356,13 +398,13 @@

        setMinY

      - +
      • getMaxX

        -
        public int getMaxX()
        +
        public int getMaxX()
        Get the max x
        Returns:
        @@ -370,13 +412,13 @@

        getMaxX

      - +
      • setMaxX

        -
        public void setMaxX(int maxX)
        +
        public void setMaxX​(int maxX)
        Set the max x
        Parameters:
        @@ -384,13 +426,13 @@

        setMaxX

      - +
      • getMaxY

        -
        public int getMaxY()
        +
        public int getMaxY()
        Get the max y
        Returns:
        @@ -398,13 +440,13 @@

        getMaxY

      - +
      • setMaxY

        -
        public void setMaxY(int maxY)
        +
        public void setMaxY​(int maxY)
        Set the max y
        Parameters:
        @@ -412,36 +454,40 @@

        setMaxY

      - +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/Rasters.html b/docs/docs/api/mil/nga/tiff/Rasters.html index f0c7f29..81d81e2 100644 --- a/docs/docs/api/mil/nga/tiff/Rasters.html +++ b/docs/docs/api/mil/nga/tiff/Rasters.html @@ -1,44 +1,57 @@ - + - + +Rasters (Tagged Image File Format 3.0.0 API) -Rasters (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class Rasters

    @@ -476,21 +544,22 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
        -               FieldType[] fieldTypes,
        -               ByteBuffer[] sampleValues)
        + FieldType[] fieldTypes, + ByteBuffer[] sampleValues)
        Constructor
        Parameters:
        @@ -503,16 +572,16 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
        -               FieldType[] fieldTypes,
        -               ByteBuffer interleaveValues)
        + FieldType[] fieldTypes, + ByteBuffer interleaveValues)
        Constructor
        Parameters:
        @@ -525,17 +594,17 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
        -               FieldType[] fieldTypes,
        -               ByteBuffer[] sampleValues,
        -               ByteBuffer interleaveValues)
        + FieldType[] fieldTypes, + ByteBuffer[] sampleValues, + ByteBuffer interleaveValues)
        Constructor
        Parameters:
        @@ -549,16 +618,16 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int samplesPerPixel,
        -               FieldType fieldType)
        + FieldType fieldType)
        Constructor Creates Rasters object where given field type used for each sample.
        @@ -573,17 +642,17 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int samplesPerPixel,
        -               FieldType fieldType,
        -               ByteOrder order)
        + FieldType fieldType, + ByteOrder order)
        Constructor Creates Rasters object where given field type used for each sample.
        @@ -599,13 +668,13 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int[] bitsPerSamples,
                        int[] sampleFormats)
        @@ -624,17 +693,17 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int[] bitsPerSamples,
                        int[] sampleFormats,
        -               ByteOrder order)
        + ByteOrder order)
        Constructor Creates Rasters object where one bits per sample and sample format is @@ -651,13 +720,13 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int samplesPerPixel,
                        int bitsPerSample,
        @@ -678,18 +747,18 @@ 

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
                        int samplesPerPixel,
                        int bitsPerSample,
                        int sampleFormat,
        -               ByteOrder order)
        + ByteOrder order)
        Constructor Creates Rasters object where given bits per sample and sample format is @@ -707,15 +776,15 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
        -               FieldType[] fieldTypes)
        + FieldType[] fieldTypes)
        Constructor
        Parameters:
        @@ -727,16 +796,16 @@

        Rasters

      - +
      • Rasters

        -
        public Rasters(int width,
        +
        public Rasters​(int width,
                        int height,
        -               FieldType[] fieldTypes,
        -               ByteOrder order)
        + FieldType[] fieldTypes, + ByteOrder order)
        Constructor
        Parameters:
        @@ -751,19 +820,21 @@

        Rasters

    +
    +
      -
    • +
    • Method Detail

      - +
      • hasSampleValues

        -
        public boolean hasSampleValues()
        +
        public boolean hasSampleValues()
        True if the results are stored by samples
        Returns:
        @@ -771,13 +842,13 @@

        hasSampleValues

      - +
      • hasInterleaveValues

        -
        public boolean hasInterleaveValues()
        +
        public boolean hasInterleaveValues()
        True if the results are stored interleaved
        Returns:
        @@ -785,15 +856,15 @@

        hasInterleaveValues

      - +
      • addToSample

        -
        public void addToSample(int sampleIndex,
        +
        public void addToSample​(int sampleIndex,
                                 int coordinate,
        -                        Number value)
        + Number value)
        Add a value to the sample results
        Parameters:
        @@ -803,15 +874,15 @@

        addToSample

      - +
      • addToInterleave

        -
        public void addToInterleave(int sampleIndex,
        +
        public void addToInterleave​(int sampleIndex,
                                     int coordinate,
        -                            Number value)
        + Number value)
        Add a value to the interleaved results
        Parameters:
        @@ -823,13 +894,13 @@

        addToInterleave

      - +
      • getWidth

        -
        public int getWidth()
        +
        public int getWidth()
        Get the width of pixels
        Returns:
        @@ -837,13 +908,13 @@

        getWidth

      - +
      • getHeight

        -
        public int getHeight()
        +
        public int getHeight()
        Get the height of pixels
        Returns:
        @@ -851,13 +922,13 @@

        getHeight

      - +
      • getNumPixels

        -
        public int getNumPixels()
        +
        public int getNumPixels()
        Return the number of pixels
        Returns:
        @@ -865,13 +936,13 @@

        getNumPixels

      - +
      • getSamplesPerPixel

        -
        public int getSamplesPerPixel()
        +
        public int getSamplesPerPixel()
        Get the number of samples per pixel
        Returns:
        @@ -879,13 +950,13 @@

        getSamplesPerPixel

      - +
      • getBitsPerSample

        -
        public List<Integer> getBitsPerSample()
        +
        public List<Integer> getBitsPerSample()
        Get the bits per sample
        Returns:
        @@ -893,18 +964,18 @@

        getBitsPerSample

      - +
      • getSampleFormat

        -
        public List<Integer> getSampleFormat()
        +
        public List<Integer> getSampleFormat()
        Returns list of sample types constants Returns list of sample types constants (SAMPLE_FORMAT_UNSIGNED_INT, SAMPLE_FORMAT_SIGNED_INT or SAMPLE_FORMAT_FLOAT) for each sample in - sample list @see getFieldTypes(). @see TiffConstants
        + sample list @see getFieldTypes(). @see TiffConstants
        Returns:
        list of sample type constants
        @@ -913,13 +984,13 @@

        getSampleFormat

      - +
      • getSampleValues

        -
        public ByteBuffer[] getSampleValues()
        +
        public ByteBuffer[] getSampleValues()
        Get the results stored by samples
        Returns:
        @@ -929,13 +1000,13 @@

        getSampleValues

      - +
      • setSampleValues

        -
        public void setSampleValues(ByteBuffer[] sampleValues)
        +
        public void setSampleValues​(ByteBuffer[] sampleValues)
        Set the results stored by samples
        Parameters:
        @@ -945,13 +1016,13 @@

        setSampleValues

      - +
      • getInterleaveValues

        -
        public ByteBuffer getInterleaveValues()
        +
        public ByteBuffer getInterleaveValues()
        Get the results stored as interleaved pixel samples
        Returns:
        @@ -961,13 +1032,13 @@

        getInterleaveValues

      - +
      • setInterleaveValues

        -
        public void setInterleaveValues(ByteBuffer interleaveValues)
        +
        public void setInterleaveValues​(ByteBuffer interleaveValues)
        Set the results stored as interleaved pixel samples
        Parameters:
        @@ -977,50 +1048,50 @@

        setInterleaveValues

      - +
      • getPixel

        -
        public Number[] getPixel(int x,
        +
        public Number[] getPixel​(int x,
                                  int y)
        Get the pixel sample values
        Parameters:
        -
        x - x coordinate (>= 0 && < getWidth())
        -
        y - y coordinate (>= 0 && < getHeight())
        +
        x - x coordinate (>= 0 && < getWidth())
        +
        y - y coordinate (>= 0 && < getHeight())
        Returns:
        pixel sample values
      - +
      • setPixel

        -
        public void setPixel(int x,
        +
        public void setPixel​(int x,
                              int y,
        -                     Number[] values)
        + Number[] values)
        Set the pixel sample values
        Parameters:
        -
        x - x coordinate (>= 0 && < getWidth())
        -
        y - y coordinate (>= 0 && < getHeight())
        +
        x - x coordinate (>= 0 && < getWidth())
        +
        y - y coordinate (>= 0 && < getHeight())
        values - pixel values
      - +
      • getPixelRow

        -
        public byte[] getPixelRow(int y,
        -                          ByteOrder newOrder)
        +
        public byte[] getPixelRow​(int y,
        +                          ByteOrder newOrder)
        Returns byte array of pixel row.
        Parameters:
        @@ -1033,15 +1104,15 @@

        getPixelRow

      - +
      • getSampleRow

        -
        public byte[] getSampleRow(int y,
        +
        public byte[] getSampleRow​(int y,
                                    int sample,
        -                           ByteOrder newOrder)
        + ByteOrder newOrder)
        Returns byte array of sample row.
        Parameters:
        @@ -1055,91 +1126,91 @@

        getSampleRow

      - + - +
      • setPixelSample

        -
        public void setPixelSample(int sample,
        +
        public void setPixelSample​(int sample,
                                    int x,
                                    int y,
        -                           Number value)
        + Number value)
        Set a pixel sample value
        Parameters:
        -
        sample - sample index (>= 0 && < getSamplesPerPixel())
        -
        x - x coordinate (>= 0 && < getWidth())
        -
        y - y coordinate (>= 0 && < getHeight())
        +
        sample - sample index (>= 0 && < getSamplesPerPixel())
        +
        x - x coordinate (>= 0 && < getWidth())
        +
        y - y coordinate (>= 0 && < getHeight())
        value - pixel value
      - +
      • getFirstPixelSample

        -
        public Number getFirstPixelSample(int x,
        +
        public Number getFirstPixelSample​(int x,
                                           int y)
        Get the first pixel sample value, useful for single sample pixels (grayscale)
        Parameters:
        -
        x - x coordinate (>= 0 && < getWidth())
        -
        y - y coordinate (>= 0 && < getHeight())
        +
        x - x coordinate (>= 0 && < getWidth())
        +
        y - y coordinate (>= 0 && < getHeight())
        Returns:
        first pixel sample
      - +
      • setFirstPixelSample

        -
        public void setFirstPixelSample(int x,
        +
        public void setFirstPixelSample​(int x,
                                         int y,
        -                                Number value)
        + Number value)
        Set the first pixel sample value, useful for single sample pixels (grayscale)
        Parameters:
        -
        x - x coordinate (>= 0 && < getWidth())
        -
        y - y coordinate (>= 0 && < getHeight())
        +
        x - x coordinate (>= 0 && < getWidth())
        +
        y - y coordinate (>= 0 && < getHeight())
        value - pixel value
      - +
      • getSampleIndex

        -
        public int getSampleIndex(int x,
        +
        public int getSampleIndex​(int x,
                                   int y)
        Get the sample index location
        @@ -1151,13 +1222,13 @@

        getSampleIndex

      - +
      • getInterleaveIndex

        -
        public int getInterleaveIndex(int x,
        +
        public int getInterleaveIndex​(int x,
                                       int y)
        Get the interleave index location
        @@ -1169,13 +1240,13 @@

        getInterleaveIndex

      - +
      • size

        -
        public int size()
        +
        public int size()
        Size in bytes of the image
        Returns:
        @@ -1183,13 +1254,13 @@

        size

      - +
      • sizePixel

        -
        public int sizePixel()
        +
        public int sizePixel()
        Size in bytes of a pixel
        Returns:
        @@ -1197,13 +1268,13 @@

        sizePixel

      - +
      • calculateRowsPerStrip

        -
        public int calculateRowsPerStrip(int planarConfiguration)
        +
        public int calculateRowsPerStrip​(int planarConfiguration)
        Calculate the rows per strip to write
        Parameters:
        @@ -1213,13 +1284,13 @@

        calculateRowsPerStrip

      - +
      • calculateRowsPerStrip

        -
        public int calculateRowsPerStrip(int planarConfiguration,
        +
        public int calculateRowsPerStrip​(int planarConfiguration,
                                          int maxBytesPerStrip)
        Calculate the rows per strip to write
        @@ -1231,13 +1302,13 @@

        calculateRowsPerStrip

      - +
      • getFieldTypes

        -
        public FieldType[] getFieldTypes()
        +
        public FieldType[] getFieldTypes()
        Returns field types
        Returns:
        @@ -1249,21 +1320,25 @@

        getFieldTypes

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/TIFFImage.html b/docs/docs/api/mil/nga/tiff/TIFFImage.html index c8dd306..99c70cf 100644 --- a/docs/docs/api/mil/nga/tiff/TIFFImage.html +++ b/docs/docs/api/mil/nga/tiff/TIFFImage.html @@ -1,44 +1,57 @@ - + - + +TIFFImage (Tagged Image File Format 3.0.0 API) -TIFFImage (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class TIFFImage

    @@ -218,12 +255,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -233,13 +271,13 @@

        TIFFImage

        Constructor
      - +
      • TIFFImage

        -
        public TIFFImage(FileDirectory fileDirectory)
        +
        public TIFFImage​(FileDirectory fileDirectory)
        Constructor, single file directory
        Parameters:
        @@ -247,13 +285,13 @@

        TIFFImage

      - +
      • TIFFImage

        -
        public TIFFImage(List<FileDirectory> fileDirectories)
        +
        public TIFFImage​(List<FileDirectory> fileDirectories)
        Constructor, multiple file directories
        Parameters:
        @@ -263,19 +301,21 @@

        TIFFImage

    +
    +
      -
    • +
    • Method Detail

      - +
      • add

        -
        public void add(FileDirectory fileDirectory)
        +
        public void add​(FileDirectory fileDirectory)
        Add a file directory
        Parameters:
        @@ -283,13 +323,13 @@

        add

      - +
      • getFileDirectories

        -
        public List<FileDirectory> getFileDirectories()
        +
        public List<FileDirectory> getFileDirectories()
        Get the file directories
        Returns:
        @@ -297,13 +337,13 @@

        getFileDirectories

      - +
      • getFileDirectory

        -
        public FileDirectory getFileDirectory()
        +
        public FileDirectory getFileDirectory()
        Get the default, first, or only file directory
        Returns:
        @@ -311,13 +351,13 @@

        getFileDirectory

      - +
      • getFileDirectory

        -
        public FileDirectory getFileDirectory(int index)
        +
        public FileDirectory getFileDirectory​(int index)
        Get the file directory at the index
        Parameters:
        @@ -327,13 +367,13 @@

        getFileDirectory

      - +
      • sizeHeaderAndDirectories

        -
        public long sizeHeaderAndDirectories()
        +
        public long sizeHeaderAndDirectories()
        Size in bytes of the TIFF header and file directories with their entries
        Returns:
        @@ -341,13 +381,13 @@

        sizeHeaderAndDirectories

      - +
      • sizeHeaderAndDirectoriesWithValues

        -
        public long sizeHeaderAndDirectoriesWithValues()
        +
        public long sizeHeaderAndDirectoriesWithValues()
        Size in bytes of the TIFF header and file directories with their entries and entry values
        @@ -358,21 +398,25 @@

        sizeHeaderAndDirectoriesWithValues

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/TiffReader.html b/docs/docs/api/mil/nga/tiff/TiffReader.html index 444126b..c9d3e15 100644 --- a/docs/docs/api/mil/nga/tiff/TiffReader.html +++ b/docs/docs/api/mil/nga/tiff/TiffReader.html @@ -1,44 +1,57 @@ - + - + +TiffReader (Tagged Image File Format 3.0.0 API) -TiffReader (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class TiffReader

    @@ -221,12 +258,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -237,20 +275,22 @@

        TiffReader

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/TiffWriter.html b/docs/docs/api/mil/nga/tiff/TiffWriter.html index 303ee39..c55e033 100644 --- a/docs/docs/api/mil/nga/tiff/TiffWriter.html +++ b/docs/docs/api/mil/nga/tiff/TiffWriter.html @@ -1,44 +1,57 @@ - + - + +TiffWriter (Tagged Image File Format 3.0.0 API) -TiffWriter (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff
    +
    Package mil.nga.tiff

    Class TiffWriter

    Author:
    osbornb
    @@ -136,79 +158,91 @@

    Class TiffWriter

    @@ -216,12 +250,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -232,41 +267,43 @@

        TiffWriter

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/FieldTagType.html b/docs/docs/api/mil/nga/tiff/class-use/FieldTagType.html index 701f6f6..2fc40e8 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/FieldTagType.html +++ b/docs/docs/api/mil/nga/tiff/class-use/FieldTagType.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.FieldTagType (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.FieldTagType (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.FieldTagType

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/FieldType.html b/docs/docs/api/mil/nga/tiff/class-use/FieldType.html index e9ee7e6..7ac667b 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/FieldType.html +++ b/docs/docs/api/mil/nga/tiff/class-use/FieldType.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.FieldType (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.FieldType (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.FieldType

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/FileDirectory.html b/docs/docs/api/mil/nga/tiff/class-use/FileDirectory.html index c9d3803..8f0f624 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/FileDirectory.html +++ b/docs/docs/api/mil/nga/tiff/class-use/FileDirectory.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.FileDirectory (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.FileDirectory (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.FileDirectory

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/FileDirectoryEntry.html b/docs/docs/api/mil/nga/tiff/class-use/FileDirectoryEntry.html index b52f2dc..2dc08d0 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/FileDirectoryEntry.html +++ b/docs/docs/api/mil/nga/tiff/class-use/FileDirectoryEntry.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.FileDirectoryEntry (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.FileDirectoryEntry (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.FileDirectoryEntry

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/ImageWindow.html b/docs/docs/api/mil/nga/tiff/class-use/ImageWindow.html index 85d3ad9..ee9566b 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/ImageWindow.html +++ b/docs/docs/api/mil/nga/tiff/class-use/ImageWindow.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.ImageWindow (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.ImageWindow (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.ImageWindow

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/Rasters.html b/docs/docs/api/mil/nga/tiff/class-use/Rasters.html index 744b850..c865cc7 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/Rasters.html +++ b/docs/docs/api/mil/nga/tiff/class-use/Rasters.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.Rasters (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.Rasters (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.Rasters

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/TIFFImage.html b/docs/docs/api/mil/nga/tiff/class-use/TIFFImage.html index c6365b8..2939f04 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/TIFFImage.html +++ b/docs/docs/api/mil/nga/tiff/class-use/TIFFImage.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.TIFFImage (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.TIFFImage (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.TIFFImage

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/TiffReader.html b/docs/docs/api/mil/nga/tiff/class-use/TiffReader.html index 220e6df..6fcd440 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/TiffReader.html +++ b/docs/docs/api/mil/nga/tiff/class-use/TiffReader.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.TiffReader (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.TiffReader (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.TiffReader

    No usage of mil.nga.tiff.TiffReader
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/class-use/TiffWriter.html b/docs/docs/api/mil/nga/tiff/class-use/TiffWriter.html index cb73639..afa3748 100644 --- a/docs/docs/api/mil/nga/tiff/class-use/TiffWriter.html +++ b/docs/docs/api/mil/nga/tiff/class-use/TiffWriter.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.TiffWriter (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.TiffWriter (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.TiffWriter

    No usage of mil.nga.tiff.TiffWriter
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/CompressionDecoder.html b/docs/docs/api/mil/nga/tiff/compression/CompressionDecoder.html index 093cdd3..b9d9212 100644 --- a/docs/docs/api/mil/nga/tiff/compression/CompressionDecoder.html +++ b/docs/docs/api/mil/nga/tiff/compression/CompressionDecoder.html @@ -1,44 +1,57 @@ - + - + +CompressionDecoder (Tagged Image File Format 3.0.0 API) -CompressionDecoder (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Interface CompressionDecoder

    @@ -102,10 +125,9 @@

    Interface CompressionDeco
  • All Known Implementing Classes:
    -
    DeflateCompression, LZWCompression, PackbitsCompression, RawCompression, UnsupportedCompression
    +
    DeflateCompression, LZWCompression, PackbitsCompression, RawCompression, UnsupportedCompression

    -
    public interface CompressionDecoder
    Compression decoder interface
    @@ -119,27 +141,31 @@

    Interface CompressionDeco

  • @@ -147,19 +173,20 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • decode

          -
          byte[] decode(byte[] bytes,
          -              ByteOrder byteOrder)
          +
          byte[] decode​(byte[] bytes,
          +              ByteOrder byteOrder)
          Decode the bytes
          Parameters:
          @@ -172,21 +199,25 @@

          decode

      +
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/CompressionEncoder.html b/docs/docs/api/mil/nga/tiff/compression/CompressionEncoder.html index 9302539..037fd5c 100644 --- a/docs/docs/api/mil/nga/tiff/compression/CompressionEncoder.html +++ b/docs/docs/api/mil/nga/tiff/compression/CompressionEncoder.html @@ -1,44 +1,57 @@ - + - + +CompressionEncoder (Tagged Image File Format 3.0.0 API) -CompressionEncoder (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Interface CompressionEncoder

    @@ -102,10 +125,9 @@

    Interface CompressionEnco
  • All Known Implementing Classes:
    -
    DeflateCompression, LZWCompression, PackbitsCompression, RawCompression, UnsupportedCompression
    +
    DeflateCompression, LZWCompression, PackbitsCompression, RawCompression, UnsupportedCompression

    -
    public interface CompressionEncoder
    Compression encoder interface. Encode either on a per row or block basis
    @@ -119,27 +141,31 @@

    Interface CompressionEnco

  • @@ -154,18 +181,19 @@

    Method Summary

    • +
        -
      • +
      • Method Detail

        - +
        • rowEncoding

          -
          boolean rowEncoding()
          +
          boolean rowEncoding()
          True to encode on a per row basis, false to encode on a per block / strip basis
          @@ -174,14 +202,14 @@

          rowEncoding

        - +
        • encode

          -
          byte[] encode(byte[] bytes,
          -              ByteOrder byteOrder)
          +
          byte[] encode​(byte[] bytes,
          +              ByteOrder byteOrder)
          Encode the bytes
          Parameters:
          @@ -194,21 +222,25 @@

          encode

      +
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/DeflateCompression.html b/docs/docs/api/mil/nga/tiff/compression/DeflateCompression.html index 9df923c..e862cfd 100644 --- a/docs/docs/api/mil/nga/tiff/compression/DeflateCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/DeflateCompression.html @@ -1,44 +1,57 @@ - + - + +DeflateCompression (Tagged Image File Format 3.0.0 API) -DeflateCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Class DeflateCompression

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -211,24 +244,26 @@

        DeflateCompression

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/compression/LZWCompression.html b/docs/docs/api/mil/nga/tiff/compression/LZWCompression.html index 680689d..a948b50 100644 --- a/docs/docs/api/mil/nga/tiff/compression/LZWCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/LZWCompression.html @@ -1,44 +1,57 @@ - + - + +LZWCompression (Tagged Image File Format 3.0.0 API) -LZWCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Class LZWCompression

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -211,24 +244,26 @@

        LZWCompression

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/compression/PackbitsCompression.html b/docs/docs/api/mil/nga/tiff/compression/PackbitsCompression.html index 950658d..5b3350e 100644 --- a/docs/docs/api/mil/nga/tiff/compression/PackbitsCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/PackbitsCompression.html @@ -1,44 +1,57 @@ - + - + +PackbitsCompression (Tagged Image File Format 3.0.0 API) -PackbitsCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Class PackbitsCompression

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -211,24 +244,26 @@

        PackbitsCompression

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/compression/Predictor.html b/docs/docs/api/mil/nga/tiff/compression/Predictor.html new file mode 100644 index 0000000..e1a3dd6 --- /dev/null +++ b/docs/docs/api/mil/nga/tiff/compression/Predictor.html @@ -0,0 +1,338 @@ + + + + + +Predictor (Tagged Image File Format 3.0.0 API) + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +

    Class Predictor

    +
    +
    + +
    +
      +
    • +
      +
      public class Predictor
      +extends Object
      +
      Differencing Predictor decoder
      +
      +
      Since:
      +
      3.0.0
      +
      Author:
      +
      osbornb
      +
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
      +
        +
      • + + +

        Constructor Detail

        + + + +
          +
        • +

          Predictor

          +
          public Predictor()
          +
        • +
        +
      • +
      +
      + +
      +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          decode

          +
          public static byte[] decode​(byte[] bytes,
          +                            int predictor,
          +                            int width,
          +                            int height,
          +                            List<Integer> bitsPerSample,
          +                            int planarConfiguration)
          +
          Decode the predictor encoded bytes
          +
          +
          Parameters:
          +
          bytes - bytes to decode
          +
          predictor - predictor value
          +
          width - tile width
          +
          height - tile height
          +
          bitsPerSample - bits per samples
          +
          planarConfiguration - planar configuration
          +
          Returns:
          +
          decoded or original bytes
          +
          +
        • +
        +
      • +
      +
      +
    • +
    +
    +
    +
    + + + + diff --git a/docs/docs/api/mil/nga/tiff/compression/RawCompression.html b/docs/docs/api/mil/nga/tiff/compression/RawCompression.html index 3bd79d3..b3b7662 100644 --- a/docs/docs/api/mil/nga/tiff/compression/RawCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/RawCompression.html @@ -1,44 +1,57 @@ - + - + +RawCompression (Tagged Image File Format 3.0.0 API) -RawCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Class RawCompression

    @@ -195,12 +227,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -211,24 +244,26 @@

        RawCompression

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/compression/UnsupportedCompression.html b/docs/docs/api/mil/nga/tiff/compression/UnsupportedCompression.html index a4f7727..60c6a2f 100644 --- a/docs/docs/api/mil/nga/tiff/compression/UnsupportedCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/UnsupportedCompression.html @@ -1,44 +1,57 @@ - + - + +UnsupportedCompression (Tagged Image File Format 3.0.0 API) -UnsupportedCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.compression
    +

    Class UnsupportedCompression

    @@ -197,18 +229,19 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
      • UnsupportedCompression

        -
        public UnsupportedCompression(String message)
        +
        public UnsupportedCompression​(String message)
        Constructor
        Parameters:
        @@ -220,24 +253,26 @@

        UnsupportedCompression

    +
    +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionDecoder.html b/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionDecoder.html index 98fb631..fe5da71 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionDecoder.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionDecoder.html @@ -1,40 +1,53 @@ - + - + +Uses of Interface mil.nga.tiff.compression.CompressionDecoder (Tagged Image File Format 3.0.0 API) -Uses of Interface mil.nga.tiff.compression.CompressionDecoder (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Interface
    mil.nga.tiff.compression.CompressionDecoder

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionEncoder.html b/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionEncoder.html index 7732b10..64788a3 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionEncoder.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/CompressionEncoder.html @@ -1,40 +1,53 @@ - + - + +Uses of Interface mil.nga.tiff.compression.CompressionEncoder (Tagged Image File Format 3.0.0 API) -Uses of Interface mil.nga.tiff.compression.CompressionEncoder (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Interface
    mil.nga.tiff.compression.CompressionEncoder

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/DeflateCompression.html b/docs/docs/api/mil/nga/tiff/compression/class-use/DeflateCompression.html index 9513fff..399c199 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/DeflateCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/DeflateCompression.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.compression.DeflateCompression (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.compression.DeflateCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.compression.DeflateCompression

    No usage of mil.nga.tiff.compression.DeflateCompression
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/LZWCompression.html b/docs/docs/api/mil/nga/tiff/compression/class-use/LZWCompression.html index ec4a63a..1ef82d8 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/LZWCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/LZWCompression.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.compression.LZWCompression (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.compression.LZWCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.compression.LZWCompression

    No usage of mil.nga.tiff.compression.LZWCompression
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/PackbitsCompression.html b/docs/docs/api/mil/nga/tiff/compression/class-use/PackbitsCompression.html index 8976372..c5a5f46 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/PackbitsCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/PackbitsCompression.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.compression.PackbitsCompression (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.compression.PackbitsCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.compression.PackbitsCompression

    No usage of mil.nga.tiff.compression.PackbitsCompression
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/Predictor.html b/docs/docs/api/mil/nga/tiff/compression/class-use/Predictor.html new file mode 100644 index 0000000..ad26d4c --- /dev/null +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/Predictor.html @@ -0,0 +1,149 @@ + + + + + +Uses of Class mil.nga.tiff.compression.Predictor (Tagged Image File Format 3.0.0 API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Class
    mil.nga.tiff.compression.Predictor

    +
    +
    No usage of mil.nga.tiff.compression.Predictor
    +
    + + + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/RawCompression.html b/docs/docs/api/mil/nga/tiff/compression/class-use/RawCompression.html index 4e8271d..db8cf4b 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/RawCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/RawCompression.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.compression.RawCompression (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.compression.RawCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.compression.RawCompression

    No usage of mil.nga.tiff.compression.RawCompression
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/class-use/UnsupportedCompression.html b/docs/docs/api/mil/nga/tiff/compression/class-use/UnsupportedCompression.html index 0d1e78f..573c3bc 100644 --- a/docs/docs/api/mil/nga/tiff/compression/class-use/UnsupportedCompression.html +++ b/docs/docs/api/mil/nga/tiff/compression/class-use/UnsupportedCompression.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.compression.UnsupportedCompression (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.compression.UnsupportedCompression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.compression.UnsupportedCompression

    No usage of mil.nga.tiff.compression.UnsupportedCompression
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/compression/package-frame.html b/docs/docs/api/mil/nga/tiff/compression/package-frame.html deleted file mode 100644 index a6d6260..0000000 --- a/docs/docs/api/mil/nga/tiff/compression/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -mil.nga.tiff.compression (Tagged Image File Format 2.0.5 API) - - - - - -

    mil.nga.tiff.compression

    - - - diff --git a/docs/docs/api/mil/nga/tiff/compression/package-summary.html b/docs/docs/api/mil/nga/tiff/compression/package-summary.html index 6125204..857eebf 100644 --- a/docs/docs/api/mil/nga/tiff/compression/package-summary.html +++ b/docs/docs/api/mil/nga/tiff/compression/package-summary.html @@ -1,38 +1,51 @@ - + - + +mil.nga.tiff.compression (Tagged Image File Format 3.0.0 API) -mil.nga.tiff.compression (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package mil.nga.tiff.compression

    + +
    +
    @@ -354,18 +413,19 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
      • ByteReader

        -
        public ByteReader(byte[] bytes)
        +
        public ByteReader​(byte[] bytes)
        Constructor
        Parameters:
        @@ -373,14 +433,14 @@

        ByteReader

      - +
      • ByteReader

        -
        public ByteReader(byte[] bytes,
        -                  ByteOrder byteOrder)
        +
        public ByteReader​(byte[] bytes,
        +                  ByteOrder byteOrder)
        Constructor
        Parameters:
        @@ -391,19 +451,21 @@

        ByteReader

    +
    +
      -
    • +
    • Method Detail

      - +
      • getNextByte

        -
        public int getNextByte()
        +
        public int getNextByte()
        Get the next byte to be read
        Returns:
        @@ -411,13 +473,13 @@

        getNextByte

      - +
      • setNextByte

        -
        public void setNextByte(long nextByte)
        +
        public void setNextByte​(long nextByte)
        Set the next byte to be read
        Parameters:
        @@ -425,13 +487,13 @@

        setNextByte

      - +
      • getByteOrder

        -
        public ByteOrder getByteOrder()
        +
        public ByteOrder getByteOrder()
        Get the byte order
        Returns:
        @@ -439,13 +501,13 @@

        getByteOrder

      - +
      • setByteOrder

        -
        public void setByteOrder(ByteOrder byteOrder)
        +
        public void setByteOrder​(ByteOrder byteOrder)
        Set the byte order
        Parameters:
        @@ -453,13 +515,13 @@

        setByteOrder

      - +
      • hasByte

        -
        public boolean hasByte()
        +
        public boolean hasByte()
        Check if there is at least one more byte left to read
        Returns:
        @@ -467,13 +529,13 @@

        hasByte

      - +
      • hasByte

        -
        public boolean hasByte(int offset)
        +
        public boolean hasByte​(int offset)
        Check if there is at least one more byte left to read
        Parameters:
        @@ -483,13 +545,13 @@

        hasByte

      - +
      • hasBytes

        -
        public boolean hasBytes(int count)
        +
        public boolean hasBytes​(int count)
        Check if there are the provided number of bytes left to read
        Parameters:
        @@ -499,13 +561,13 @@

        hasBytes

      - +
      • hasBytes

        -
        public boolean hasBytes(int offset,
        +
        public boolean hasBytes​(int offset,
                                 int count)
        Check if there are the provided number of bytes left to read
        @@ -517,14 +579,14 @@

        hasBytes

      - + - + - +
      • readByte

        -
        public byte readByte()
        +
        public byte readByte()
        Read a byte
        Returns:
        @@ -571,13 +633,13 @@

        readByte

      - +
      • readByte

        -
        public byte readByte(int offset)
        +
        public byte readByte​(int offset)
        Read a byte
        Parameters:
        @@ -587,13 +649,13 @@

        readByte

      - +
      • readUnsignedByte

        -
        public short readUnsignedByte()
        +
        public short readUnsignedByte()
        Read an unsigned byte
        Returns:
        @@ -601,13 +663,13 @@

        readUnsignedByte

      - +
      • readUnsignedByte

        -
        public short readUnsignedByte(int offset)
        +
        public short readUnsignedByte​(int offset)
        Read an unsigned byte
        Parameters:
        @@ -617,13 +679,13 @@

        readUnsignedByte

      - +
      • readBytes

        -
        public byte[] readBytes(int num)
        +
        public byte[] readBytes​(int num)
        Read a number of bytes
        Parameters:
        @@ -633,13 +695,13 @@

        readBytes

      - +
      • readBytes

        -
        public byte[] readBytes(int offset,
        +
        public byte[] readBytes​(int offset,
                                 int num)
        Read a number of bytes
        @@ -651,13 +713,13 @@

        readBytes

      - +
      • readShort

        -
        public short readShort()
        +
        public short readShort()
        Read a short
        Returns:
        @@ -665,13 +727,13 @@

        readShort

      - +
      • readShort

        -
        public short readShort(int offset)
        +
        public short readShort​(int offset)
        Read a short
        Parameters:
        @@ -681,13 +743,13 @@

        readShort

      - +
      • readUnsignedShort

        -
        public int readUnsignedShort()
        +
        public int readUnsignedShort()
        Read an unsigned short
        Returns:
        @@ -695,13 +757,13 @@

        readUnsignedShort

      - +
      • readUnsignedShort

        -
        public int readUnsignedShort(int offset)
        +
        public int readUnsignedShort​(int offset)
        Read an unsigned short
        Parameters:
        @@ -711,13 +773,13 @@

        readUnsignedShort

      - +
      • readInt

        -
        public int readInt()
        +
        public int readInt()
        Read an integer
        Returns:
        @@ -725,13 +787,13 @@

        readInt

      - +
      • readInt

        -
        public int readInt(int offset)
        +
        public int readInt​(int offset)
        Read an integer
        Parameters:
        @@ -741,13 +803,13 @@

        readInt

      - +
      • readUnsignedInt

        -
        public long readUnsignedInt()
        +
        public long readUnsignedInt()
        Read an unsigned int
        Returns:
        @@ -755,13 +817,13 @@

        readUnsignedInt

      - +
      • readUnsignedInt

        -
        public long readUnsignedInt(int offset)
        +
        public long readUnsignedInt​(int offset)
        Read an unsigned int
        Parameters:
        @@ -771,13 +833,13 @@

        readUnsignedInt

      - +
      • readFloat

        -
        public float readFloat()
        +
        public float readFloat()
        Read a float
        Returns:
        @@ -785,13 +847,13 @@

        readFloat

      - +
      • readFloat

        -
        public float readFloat(int offset)
        +
        public float readFloat​(int offset)
        Read a float
        Parameters:
        @@ -801,13 +863,13 @@

        readFloat

      - +
      • readDouble

        -
        public double readDouble()
        +
        public double readDouble()
        Read a double
        Returns:
        @@ -815,13 +877,13 @@

        readDouble

      - +
      • readDouble

        -
        public double readDouble(int offset)
        +
        public double readDouble​(int offset)
        Read a double
        Parameters:
        @@ -831,13 +893,13 @@

        readDouble

      - +
      • byteLength

        -
        public int byteLength()
        +
        public int byteLength()
        Get the byte length
        Returns:
        @@ -847,21 +909,25 @@

        byteLength

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/io/ByteWriter.html b/docs/docs/api/mil/nga/tiff/io/ByteWriter.html index c42ce56..39f09dd 100644 --- a/docs/docs/api/mil/nga/tiff/io/ByteWriter.html +++ b/docs/docs/api/mil/nga/tiff/io/ByteWriter.html @@ -1,44 +1,57 @@ - + - + +ByteWriter (Tagged Image File Format 3.0.0 API) -ByteWriter (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.io
    +

    Class ByteWriter

    @@ -272,12 +318,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -287,13 +334,13 @@

        ByteWriter

        Constructor
      - +
      • ByteWriter

        -
        public ByteWriter(ByteOrder byteOrder)
        +
        public ByteWriter​(ByteOrder byteOrder)
        Constructor
        Parameters:
        @@ -303,29 +350,31 @@

        ByteWriter

    +
    +
      -
    • +
    • Method Detail

      - +
      • close

        -
        public void close()
        +
        public void close()
        Close the byte writer
      - + - +
      • getByteOrder

        -
        public ByteOrder getByteOrder()
        +
        public ByteOrder getByteOrder()
        Get the byte order
        Returns:
        @@ -347,13 +396,13 @@

        getByteOrder

      - +
      • setByteOrder

        -
        public void setByteOrder(ByteOrder byteOrder)
        +
        public void setByteOrder​(ByteOrder byteOrder)
        Set the byte order
        Parameters:
        @@ -361,13 +410,13 @@

        setByteOrder

      - +
      • getBytes

        -
        public byte[] getBytes()
        +
        public byte[] getBytes()
        Get the written bytes
        Returns:
        @@ -375,13 +424,13 @@

        getBytes

      - +
      • size

        -
        public int size()
        +
        public int size()
        Get the current size in bytes written
        Returns:
        @@ -389,14 +438,14 @@

        size

      - +
      • writeString

        -
        public int writeString(String value)
        -                throws IOException
        +
        public int writeString​(String value)
        +                throws IOException
        Write a String
        Parameters:
        @@ -404,17 +453,17 @@

        writeString

        Returns:
        bytes written
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeByte

        -
        public void writeByte(byte value)
        +
        public void writeByte​(byte value)
        Write a byte
        Parameters:
        @@ -422,13 +471,13 @@

        writeByte

      - +
      • writeUnsignedByte

        -
        public void writeUnsignedByte(short value)
        +
        public void writeUnsignedByte​(short value)
        Write an unsigned byte
        Parameters:
        @@ -436,142 +485,146 @@

        writeUnsignedByte

      - +
      • writeBytes

        -
        public void writeBytes(byte[] value)
        -                throws IOException
        +
        public void writeBytes​(byte[] value)
        +                throws IOException
        Write the bytes
        Parameters:
        value - bytes
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeShort

        -
        public void writeShort(short value)
        -                throws IOException
        +
        public void writeShort​(short value)
        +                throws IOException
        Write a short
        Parameters:
        value - short
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeUnsignedShort

        -
        public void writeUnsignedShort(int value)
        -                        throws IOException
        +
        public void writeUnsignedShort​(int value)
        +                        throws IOException
        Write an unsigned short
        Parameters:
        value - unsigned short as an int
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeInt

        -
        public void writeInt(int value)
        -              throws IOException
        +
        public void writeInt​(int value)
        +              throws IOException
        Write an integer
        Parameters:
        value - int
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeUnsignedInt

        -
        public void writeUnsignedInt(long value)
        -                      throws IOException
        +
        public void writeUnsignedInt​(long value)
        +                      throws IOException
        Write an unsigned int
        Parameters:
        value - unsigned int as long
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeFloat

        -
        public void writeFloat(float value)
        -                throws IOException
        +
        public void writeFloat​(float value)
        +                throws IOException
        Write a float
        Parameters:
        value - float
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
      - +
      • writeDouble

        -
        public void writeDouble(double value)
        -                 throws IOException
        +
        public void writeDouble​(double value)
        +                 throws IOException
        Write a double
        Parameters:
        value - double
        Throws:
        -
        IOException - upon failure to write
        +
        IOException - upon failure to write
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/io/IOUtils.html b/docs/docs/api/mil/nga/tiff/io/IOUtils.html index 00599e0..f4c6f82 100644 --- a/docs/docs/api/mil/nga/tiff/io/IOUtils.html +++ b/docs/docs/api/mil/nga/tiff/io/IOUtils.html @@ -1,44 +1,57 @@ - + - + +IOUtils (Tagged Image File Format 3.0.0 API) -IOUtils (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.io
    +

    Class IOUtils

    @@ -223,12 +261,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Field Detail

      - +
        @@ -244,13 +283,15 @@

        COPY_BUFFER_SIZE

    +
    +
      -
    • +
    • Constructor Detail

      - +
        @@ -261,58 +302,60 @@

        IOUtils

    +
    +
      -
    • +
    • Method Detail

      - +
      • copyFile

        -
        public static void copyFile(File copyFrom,
        -                            File copyTo)
        -                     throws IOException
        +
        public static void copyFile​(File copyFrom,
        +                            File copyTo)
        +                     throws IOException
        Copy a file to a file location
        Parameters:
        copyFrom - file to copy
        copyTo - file to copy to
        Throws:
        -
        IOException - upon failure to copy file
        +
        IOException - upon failure to copy file
      - +
      • copyStream

        -
        public static void copyStream(InputStream copyFrom,
        -                              File copyTo)
        -                       throws IOException
        +
        public static void copyStream​(InputStream copyFrom,
        +                              File copyTo)
        +                       throws IOException
        Copy an input stream to a file location
        Parameters:
        copyFrom - stream to copy
        copyTo - file to copy to
        Throws:
        -
        IOException - upon failure to copy the stream
        +
        IOException - upon failure to copy the stream
      - +
      • fileBytes

        -
        public static byte[] fileBytes(File file)
        -                        throws IOException
        +
        public static byte[] fileBytes​(File file)
        +                        throws IOException
        Get the file bytes
        Parameters:
        @@ -320,18 +363,18 @@

        fileBytes

        Returns:
        bytes
        Throws:
        -
        IOException - upon failure to read the file
        +
        IOException - upon failure to read the file
      - +
      • streamBytes

        -
        public static byte[] streamBytes(InputStream stream)
        -                          throws IOException
        +
        public static byte[] streamBytes​(InputStream stream)
        +                          throws IOException
        Get the stream bytes
        Parameters:
        @@ -339,46 +382,50 @@

        streamBytes

        Returns:
        bytes
        Throws:
        -
        IOException - upon failure to read stream bytes
        +
        IOException - upon failure to read stream bytes
      - +
    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/io/class-use/ByteReader.html b/docs/docs/api/mil/nga/tiff/io/class-use/ByteReader.html index f3b4313..d53f7d5 100644 --- a/docs/docs/api/mil/nga/tiff/io/class-use/ByteReader.html +++ b/docs/docs/api/mil/nga/tiff/io/class-use/ByteReader.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.io.ByteReader (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.io.ByteReader (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.io.ByteReader

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/io/class-use/ByteWriter.html b/docs/docs/api/mil/nga/tiff/io/class-use/ByteWriter.html index 461421b..9b5a9bd 100644 --- a/docs/docs/api/mil/nga/tiff/io/class-use/ByteWriter.html +++ b/docs/docs/api/mil/nga/tiff/io/class-use/ByteWriter.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.io.ByteWriter (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.io.ByteWriter (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.io.ByteWriter

    +
    + diff --git a/docs/docs/api/mil/nga/tiff/io/class-use/IOUtils.html b/docs/docs/api/mil/nga/tiff/io/class-use/IOUtils.html index 22260ee..c4212c4 100644 --- a/docs/docs/api/mil/nga/tiff/io/class-use/IOUtils.html +++ b/docs/docs/api/mil/nga/tiff/io/class-use/IOUtils.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.io.IOUtils (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.io.IOUtils (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.io.IOUtils

    No usage of mil.nga.tiff.io.IOUtils
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/io/package-frame.html b/docs/docs/api/mil/nga/tiff/io/package-frame.html deleted file mode 100644 index d44b2fd..0000000 --- a/docs/docs/api/mil/nga/tiff/io/package-frame.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -mil.nga.tiff.io (Tagged Image File Format 2.0.5 API) - - - - - -

    mil.nga.tiff.io

    -
    -

    Classes

    - -
    - - diff --git a/docs/docs/api/mil/nga/tiff/io/package-summary.html b/docs/docs/api/mil/nga/tiff/io/package-summary.html index 6b0311b..7c87f92 100644 --- a/docs/docs/api/mil/nga/tiff/io/package-summary.html +++ b/docs/docs/api/mil/nga/tiff/io/package-summary.html @@ -1,38 +1,51 @@ - + - + +mil.nga.tiff.io (Tagged Image File Format 3.0.0 API) -mil.nga.tiff.io (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package mil.nga.tiff.io

    + +
    +
    +
    +
    @@ -413,18 +515,19 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Field Detail

      - +
      • BYTE_ORDER_LITTLE_ENDIAN

        -
        public static final String BYTE_ORDER_LITTLE_ENDIAN
        +
        public static final String BYTE_ORDER_LITTLE_ENDIAN
        Little Endian byte order string
        See Also:
        @@ -432,13 +535,13 @@

        BYTE_ORDER_LITTLE_ENDIAN

      - +
      • BYTE_ORDER_BIG_ENDIAN

        -
        public static final String BYTE_ORDER_BIG_ENDIAN
        +
        public static final String BYTE_ORDER_BIG_ENDIAN
        Big Endian byte order string
        See Also:
        @@ -446,7 +549,7 @@

        BYTE_ORDER_BIG_ENDIAN

      - +
        @@ -460,7 +563,7 @@

        FILE_IDENTIFIER

      - +
        @@ -474,7 +577,7 @@

        HEADER_BYTES

      - +
        @@ -488,7 +591,7 @@

        IFD_HEADER_BYTES

      - +
        @@ -502,7 +605,7 @@

        IFD_OFFSET_BYTES

      - +
        @@ -516,7 +619,7 @@

        IFD_ENTRY_BYTES

      - +
        @@ -530,7 +633,7 @@

        DEFAULT_MAX_BYTES_PER_STRIP

      - +
        @@ -543,7 +646,7 @@

        COMPRESSION_NO

      - +
        @@ -556,7 +659,7 @@

        COMPRESSION_CCITT_HUFFMAN

      - +
        @@ -569,7 +672,7 @@

        COMPRESSION_T4

      - +
        @@ -582,7 +685,7 @@

        COMPRESSION_T6

      - +
        @@ -595,7 +698,7 @@

        COMPRESSION_LZW

      - +
        @@ -608,7 +711,7 @@

        COMPRESSION_JPEG_OLD

      - +
        @@ -621,7 +724,7 @@

        COMPRESSION_JPEG_NEW

      - +
        @@ -634,22 +737,22 @@

        COMPRESSION_DEFLATE

      - + - +
        @@ -662,7 +765,7 @@

        COMPRESSION_PACKBITS

      - +
        @@ -675,7 +778,7 @@

        EXTRA_SAMPLES_UNSPECIFIED

      - +
        @@ -688,7 +791,7 @@

        EXTRA_SAMPLES_ASSOCIATED_ALPHA

      - +
        @@ -701,7 +804,7 @@

        EXTRA_SAMPLES_UNASSOCIATED_ALPHA

      - +
        @@ -714,7 +817,7 @@

        FILL_ORDER_LOWER_COLUMN_HIGHER_ORDER

      - +
        @@ -727,7 +830,7 @@

        FILL_ORDER_LOWER_COLUMN_LOWER_ORDER

      - +
        @@ -740,7 +843,7 @@

        GRAY_RESPONSE_TENTHS

      - +
        @@ -753,7 +856,7 @@

        GRAY_RESPONSE_HUNDREDTHS

      - +
        @@ -766,7 +869,7 @@

        GRAY_RESPONSE_THOUSANDTHS

      - +
        @@ -779,7 +882,7 @@

        GRAY_RESPONSE_TEN_THOUSANDTHS

      - +
        @@ -792,7 +895,7 @@

        GRAY_RESPONSE_HUNDRED_THOUSANDTHS

      - +
        @@ -805,7 +908,7 @@

        ORIENTATION_TOP_ROW_LEFT_COLUMN

      - +
        @@ -818,7 +921,7 @@

        ORIENTATION_TOP_ROW_RIGHT_COLUMN

      - +
        @@ -831,7 +934,7 @@

        ORIENTATION_BOTTOM_ROW_RIGHT_COLUMN

      - +
        @@ -844,7 +947,7 @@

        ORIENTATION_BOTTOM_ROW_LEFT_COLUMN

      - +
        @@ -857,7 +960,7 @@

        ORIENTATION_LEFT_ROW_TOP_COLUMN

      - +
        @@ -870,7 +973,7 @@

        ORIENTATION_RIGHT_ROW_TOP_COLUMN

      - +
        @@ -883,7 +986,7 @@

        ORIENTATION_RIGHT_ROW_BOTTOM_COLUMN

      - +
        @@ -896,7 +999,7 @@

        ORIENTATION_LEFT_ROW_BOTTOM_COLUMN

      - +
        @@ -909,7 +1012,7 @@

        PHOTOMETRIC_INTERPRETATION_WHITE_IS_ZERO

      - +
        @@ -922,7 +1025,7 @@

        PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO

      - +
        @@ -935,7 +1038,7 @@

        PHOTOMETRIC_INTERPRETATION_RGB

      - +
        @@ -948,7 +1051,7 @@

        PHOTOMETRIC_INTERPRETATION_PALETTE

      - +
        @@ -961,7 +1064,7 @@

        PHOTOMETRIC_INTERPRETATION_TRANSPARENCY

      - +
        @@ -974,7 +1077,7 @@

        PLANAR_CONFIGURATION_CHUNKY

      - +
        @@ -987,7 +1090,7 @@

        PLANAR_CONFIGURATION_PLANAR

      - +
        @@ -1000,7 +1103,7 @@

        RESOLUTION_UNIT_NO

      - +
        @@ -1013,7 +1116,7 @@

        RESOLUTION_UNIT_INCH

      - +
        @@ -1026,7 +1129,7 @@

        RESOLUTION_UNIT_CENTIMETER

      - +
        @@ -1039,7 +1142,7 @@

        SAMPLE_FORMAT_UNSIGNED_INT

      - +
        @@ -1052,7 +1155,7 @@

        SAMPLE_FORMAT_SIGNED_INT

      - +
        @@ -1065,7 +1168,7 @@

        SAMPLE_FORMAT_FLOAT

      - +
        @@ -1078,7 +1181,7 @@

        SAMPLE_FORMAT_UNDEFINED

      - +
        @@ -1091,7 +1194,7 @@

        SUBFILE_TYPE_FULL

      - +
        @@ -1104,7 +1207,7 @@

        SUBFILE_TYPE_REDUCED

      - +
        @@ -1117,7 +1220,7 @@

        SAMPLE_FORMAT_SINGLE_PAGE_MULTI_PAGE

      - +
        @@ -1130,7 +1233,7 @@

        THRESHHOLDING_NO

      - +
        @@ -1143,10 +1246,10 @@

        THRESHHOLDING_ORDERED

      - + -
        +
        • THRESHHOLDING_RANDOM

          public static final int THRESHHOLDING_RANDOM
          @@ -1156,15 +1259,56 @@

          THRESHHOLDING_RANDOM

        + + + + + + + +
          +
        • +

          PREDICTOR_HORIZONTAL

          +
          public static final int PREDICTOR_HORIZONTAL
          +
          +
          See Also:
          +
          Constant Field Values
          +
        + + + +
          +
        • +

          PREDICTOR_FLOATINGPOINT

          +
          public static final int PREDICTOR_FLOATINGPOINT
          +
          +
          See Also:
          +
          Constant Field Values
          +
          +
        • +
        + +
      +
    +
      -
    • +
    • Constructor Detail

      - +
        @@ -1175,21 +1319,25 @@

        TiffConstants

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/util/TiffException.html b/docs/docs/api/mil/nga/tiff/util/TiffException.html index 8763975..bf5ef30 100644 --- a/docs/docs/api/mil/nga/tiff/util/TiffException.html +++ b/docs/docs/api/mil/nga/tiff/util/TiffException.html @@ -1,38 +1,51 @@ - + - + +TiffException (Tagged Image File Format 3.0.0 API) -TiffException (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +
    -
    mil.nga.tiff.util
    +

    Class TiffException

    @@ -202,12 +233,13 @@

    Methods inherited from class java.lang.
  • +
      -
    • +
    • Constructor Detail

      - +
        @@ -217,13 +249,13 @@

        TiffException

        Constructor
      - +
      • TiffException

        -
        public TiffException(String message)
        +
        public TiffException​(String message)
        Constructor
        Parameters:
        @@ -231,14 +263,14 @@

        TiffException

      - +
      • TiffException

        -
        public TiffException(String message,
        -                     Throwable throwable)
        +
        public TiffException​(String message,
        +                     Throwable throwable)
        Constructor
        Parameters:
        @@ -247,13 +279,13 @@

        TiffException

      - +
      • TiffException

        -
        public TiffException(Throwable throwable)
        +
        public TiffException​(Throwable throwable)
        Constructor
        Parameters:
        @@ -263,21 +295,25 @@

        TiffException

    +
  • +

    + diff --git a/docs/docs/api/mil/nga/tiff/util/class-use/TiffConstants.html b/docs/docs/api/mil/nga/tiff/util/class-use/TiffConstants.html index 8b06bc6..633a743 100644 --- a/docs/docs/api/mil/nga/tiff/util/class-use/TiffConstants.html +++ b/docs/docs/api/mil/nga/tiff/util/class-use/TiffConstants.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.util.TiffConstants (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.util.TiffConstants (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.util.TiffConstants

    No usage of mil.nga.tiff.util.TiffConstants
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/util/class-use/TiffException.html b/docs/docs/api/mil/nga/tiff/util/class-use/TiffException.html index 0ab3a89..0f6e6a0 100644 --- a/docs/docs/api/mil/nga/tiff/util/class-use/TiffException.html +++ b/docs/docs/api/mil/nga/tiff/util/class-use/TiffException.html @@ -1,40 +1,53 @@ - + - + +Uses of Class mil.nga.tiff.util.TiffException (Tagged Image File Format 3.0.0 API) -Uses of Class mil.nga.tiff.util.TiffException (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Uses of Class
    mil.nga.tiff.util.TiffException

    No usage of mil.nga.tiff.util.TiffException
    +
    + diff --git a/docs/docs/api/mil/nga/tiff/util/package-frame.html b/docs/docs/api/mil/nga/tiff/util/package-frame.html deleted file mode 100644 index fa1ca88..0000000 --- a/docs/docs/api/mil/nga/tiff/util/package-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -mil.nga.tiff.util (Tagged Image File Format 2.0.5 API) - - - - - -

    mil.nga.tiff.util

    -
    -

    Classes

    - -

    Exceptions

    - -
    - - diff --git a/docs/docs/api/mil/nga/tiff/util/package-summary.html b/docs/docs/api/mil/nga/tiff/util/package-summary.html index ff1d55d..6ea0204 100644 --- a/docs/docs/api/mil/nga/tiff/util/package-summary.html +++ b/docs/docs/api/mil/nga/tiff/util/package-summary.html @@ -1,38 +1,51 @@ - + - + +mil.nga.tiff.util (Tagged Image File Format 3.0.0 API) -mil.nga.tiff.util (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Package mil.nga.tiff.util

    • - +
      @@ -84,7 +107,7 @@

      Package mil.nga.tiff.util

      - + @@ -93,7 +116,7 @@

      Package mil.nga.tiff.util

      Class Summary 
      Class
      TiffConstantsTiffConstants
      TIFF Constants
    • - +
      @@ -101,7 +124,7 @@

      Package mil.nga.tiff.util

      - + @@ -111,16 +134,19 @@

      Package mil.nga.tiff.util

      + + diff --git a/docs/docs/api/mil/nga/tiff/util/package-tree.html b/docs/docs/api/mil/nga/tiff/util/package-tree.html index 48fcdbc..aa34d7d 100644 --- a/docs/docs/api/mil/nga/tiff/util/package-tree.html +++ b/docs/docs/api/mil/nga/tiff/util/package-tree.html @@ -1,38 +1,51 @@ - + - + +mil.nga.tiff.util Class Hierarchy (Tagged Image File Format 3.0.0 API) -mil.nga.tiff.util Class Hierarchy (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +

      Hierarchy For Package mil.nga.tiff.util

      Package Hierarchies: @@ -78,38 +101,43 @@

      Hierarchy For Package mil.nga.tiff.util

      +

      Class Hierarchy

      +
      +
      + diff --git a/docs/docs/api/mil/nga/tiff/util/package-use.html b/docs/docs/api/mil/nga/tiff/util/package-use.html index 5e9a416..a487f06 100644 --- a/docs/docs/api/mil/nga/tiff/util/package-use.html +++ b/docs/docs/api/mil/nga/tiff/util/package-use.html @@ -1,38 +1,51 @@ - + - + +Uses of Package mil.nga.tiff.util (Tagged Image File Format 3.0.0 API) -Uses of Package mil.nga.tiff.util (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "../../../../"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
      + +
      +

      Uses of Package
      mil.nga.tiff.util

      No usage of mil.nga.tiff.util
      +
      + diff --git a/docs/docs/api/overview-frame.html b/docs/docs/api/overview-frame.html deleted file mode 100644 index 38d5e1d..0000000 --- a/docs/docs/api/overview-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -Overview List (Tagged Image File Format 2.0.5 API) - - - - - - - -

       

      - - diff --git a/docs/docs/api/overview-summary.html b/docs/docs/api/overview-summary.html index 3154ecc..d856f50 100644 --- a/docs/docs/api/overview-summary.html +++ b/docs/docs/api/overview-summary.html @@ -1,152 +1,23 @@ - + - + +Tagged Image File Format 3.0.0 API -Overview (Tagged Image File Format 2.0.5 API) - + + + - - +
      - -
      - - - - - - - -
      - - -
      -

      Tagged Image File Format 2.0.5 API

      -
      -
      -
      Exception Summary 
      Exception
      TiffExceptionTiffException
      TIFF exception
      - - - - - - - - - - - - - - - - - - - - - - - -
      Packages 
      PackageDescription
      mil.nga.tiff 
      mil.nga.tiff.compression 
      mil.nga.tiff.io 
      mil.nga.tiff.util 
      -
    - -
    - - - - - - - -
    - - -

    Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.

    +

    index.html

    +
    diff --git a/docs/docs/api/overview-tree.html b/docs/docs/api/overview-tree.html index 09fa65e..714095b 100644 --- a/docs/docs/api/overview-tree.html +++ b/docs/docs/api/overview-tree.html @@ -1,38 +1,51 @@ - + - + +Class Hierarchy (Tagged Image File Format 3.0.0 API) -Class Hierarchy (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Hierarchy For All Packages

    Package Hierarchies: @@ -81,71 +104,81 @@

    Hierarchy For All Packages

    +

    Class Hierarchy

    +
    +

    Interface Hierarchy

    +
    +

    Enum Hierarchy

    +
    +
    + diff --git a/docs/docs/api/package-search-index.js b/docs/docs/api/package-search-index.js new file mode 100644 index 0000000..5bc03e1 --- /dev/null +++ b/docs/docs/api/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"mil.nga.tiff"},{"l":"mil.nga.tiff.compression"},{"l":"mil.nga.tiff.io"},{"l":"mil.nga.tiff.util"}] \ No newline at end of file diff --git a/docs/docs/api/package-search-index.zip b/docs/docs/api/package-search-index.zip new file mode 100644 index 0000000000000000000000000000000000000000..cc52621089fe75850f79bcb860000668b8b9112a GIT binary patch literal 252 zcmWIWW@Zs#;Nak3$kEmcVL$?sKz2c5a&}^Rs%~*=Vo`F2Zf0IeYK2}_aeiL+y0BA$ zn}UkYoDAgf@Hyw_mo{*{QhokhOk}B;c>1&FiQyAw_Q&qoq9UB(ufq`F&CapxwvlQC(DJ!J9N^8! gB*K7jAhI0Dfv5nda|66t*+5DefzTaD&j;%R0G|OyUjP6A literal 0 HcmV?d00001 diff --git a/docs/docs/api/resources/glass.png b/docs/docs/api/resources/glass.png new file mode 100644 index 0000000000000000000000000000000000000000..a7f591f467a1c0c949bbc510156a0c1afb860a6e GIT binary patch literal 499 zcmVJoRsvExf%rEN>jUL}qZ_~k#FbE+Q;{`;0FZwVNX2n-^JoI; zP;4#$8DIy*Yk-P>VN(DUKmPse7mx+ExD4O|;?E5D0Z5($mjO3`*anwQU^s{ZDK#Lz zj>~{qyaIx5K!t%=G&2IJNzg!ChRpyLkO7}Ry!QaotAHAMpbB3AF(}|_f!G-oI|uK6 z`id_dumai5K%C3Y$;tKS_iqMPHg<*|-@e`liWLAggVM!zAP#@l;=c>S03;{#04Z~5 zN_+ss=Yg6*hTr59mzMwZ@+l~q!+?ft!fF66AXT#wWavHt30bZWFCK%!BNk}LN?0Hg z1VF_nfs`Lm^DjYZ1(1uD0u4CSIr)XAaqW6IT{!St5~1{i=i}zAy76p%_|w8rh@@c0Axr!ns=D-X+|*sY6!@wacG9%)Qn*O zl0sa739kT-&_?#oVxXF6tOnqTD)cZ}2vi$`ZU8RLAlo8=_z#*P3xI~i!lEh+Pdu-L zx{d*wgjtXbnGX_Yf@Tc7Q3YhLhPvc8noGJs2DA~1DySiA&6V{5JzFt ojAY1KXm~va;tU{v7C?Xj0BHw!K;2aXV*mgE07*qoM6N<$f;4TDA^-pY literal 0 HcmV?d00001 diff --git a/docs/docs/api/script.js b/docs/docs/api/script.js index b346356..41215a5 100644 --- a/docs/docs/api/script.js +++ b/docs/docs/api/script.js @@ -1,9 +1,124 @@ -function show(type) -{ +/* + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); + if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || + window.navigator.userAgent.indexOf('Edge/') > 0) { + createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); + } + createElem(doc, tag, 'search.js'); + + $.get(pathtoroot + "module-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("module-search-index.json").async("text").then(function(content){ + moduleSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "package-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("package-search-index.json").async("text").then(function(content){ + packageSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "type-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("type-search-index.json").async("text").then(function(content){ + typeSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "member-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("member-search-index.json").async("text").then(function(content){ + memberSearchIndex = JSON.parse(content); + }); + }); + }); + }); + $.get(pathtoroot + "tag-search-index.zip") + .done(function() { + JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { + JSZip.loadAsync(data).then(function(zip){ + zip.file("tag-search-index.json").async("text").then(function(content){ + tagSearchIndex = JSON.parse(content); + }); + }); + }); + }); + if (!moduleSearchIndex) { + createElem(doc, tag, 'module-search-index.js'); + } + if (!packageSearchIndex) { + createElem(doc, tag, 'package-search-index.js'); + } + if (!typeSearchIndex) { + createElem(doc, tag, 'type-search-index.js'); + } + if (!memberSearchIndex) { + createElem(doc, tag, 'member-search-index.js'); + } + if (!tagSearchIndex) { + createElem(doc, tag, 'tag-search-index.js'); + } + $(window).resize(function() { + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + }); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(type) { count = 0; - for (var key in methods) { + for (var key in data) { var row = document.getElementById(key); - if ((methods[key] & type) != 0) { + if ((data[key] & type) !== 0) { row.style.display = ''; row.className = (count++ % 2) ? rowColor : altColor; } @@ -13,8 +128,7 @@ function show(type) updateTabs(type); } -function updateTabs(type) -{ +function updateTabs(type) { for (var value in tabs) { var sNode = document.getElementById(tabs[value][0]); var spanNode = sNode.firstChild; @@ -28,3 +142,8 @@ function updateTabs(type) } } } + +function updateModuleFrame(pFrame, cFrame) { + top.packageFrame.location = pFrame; + top.classFrame.location = cFrame; +} diff --git a/docs/docs/api/search.js b/docs/docs/api/search.js new file mode 100644 index 0000000..38160c2 --- /dev/null +++ b/docs/docs/api/search.js @@ -0,0 +1,326 @@ +/* + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +var noResult = {l: "No results found"}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Types"; +var catMembers = "Members"; +var catSearchTags = "SearchTags"; +var highlight = "$&"; +var camelCaseRegexp = ""; +var secondaryMatcher = ""; +function getHighlightedText(item) { + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; +} +function getURLPrefix(ui) { + var urlPrefix=""; + if (useModuleDirectories) { + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { + $.each(packageSearchIndex, function(index, item) { + if (ui.item.p == item.l) { + urlPrefix = item.m + slash; + } + }); + return urlPrefix; + } else { + return urlPrefix; + } + } + return urlPrefix; +} +var watermark = 'Search'; +$(function() { + $("#search").val(''); + $("#search").prop("disabled", false); + $("#reset").prop("disabled", false); + $("#search").val(watermark).addClass('watermark'); + $("#search").blur(function() { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + $("#search").on('click keydown', function() { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $("#reset").click(function() { + $("#search").val(''); + $("#search").focus(); + }); + $("#search").focus(); + $("#search")[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this, + currentCategory = ""; + rMenu.menu.bindings = $(); + $.each(items, function(index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append("
  • " + item.category + "
  • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "resultItem"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "resultItem"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = (item.m) + ? getHighlightedText(item.m + "/" + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = (item.p) + ? getHighlightedText(item.p + "." + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + if (item.category === catSearchTags) { + if (item.d) { + div.html(label + " (" + item.h + ")
    " + + item.d + "
    "); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + $("#search").catcomplete({ + minLength: 1, + delay: 100, + source: function(request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); + camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); + var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); + secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf(".") + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function(index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ""; + $.each(packageSearchIndex, function(index, item) { + item.category = catPackages; + pkg = (item.m) + ? (item.m + "/" + item.l) + : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = (pCount > displayCount) ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function(index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = (tCount > displayCount) ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function(index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + "." + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = (mCount > displayCount) ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function(index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = (tgCount > displayCount) ? tgCount : displayCount; + } + displayCount = (displayCount > 500) ? displayCount : 500; + var counter = function() { + var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; + var f = function(item) { + count[item.category] += 1; + return (count[item.category] <= displayCount); + }; + return f; + }(); + response(result.filter(counter)); + }, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search").empty(); + } + }, + autoFocus: true, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += "module-summary.html"; + } else { + url = ui.item.l + "-summary.html"; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === "") { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === "") { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search").focus(); + } + } + }); +}); diff --git a/docs/docs/api/serialized-form.html b/docs/docs/api/serialized-form.html index 6447763..6decc25 100644 --- a/docs/docs/api/serialized-form.html +++ b/docs/docs/api/serialized-form.html @@ -1,38 +1,51 @@ - + - + +Serialized Form (Tagged Image File Format 3.0.0 API) -Serialized Form (Tagged Image File Format 2.0.5 API) - + + + + + + + +var pathtoroot = "./"; +var useModuleDirectories = true; +loadScripts(document, 'script'); +
    + +
    +

    Serialized Form

    +
    + diff --git a/docs/docs/api/stylesheet.css b/docs/docs/api/stylesheet.css index 98055b2..fa24676 100644 --- a/docs/docs/api/stylesheet.css +++ b/docs/docs/api/stylesheet.css @@ -1,35 +1,51 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ +/* + * Javadoc style sheet + */ @import url('resources/fonts/dejavu.css'); +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + body { background-color:#ffffff; color:#353833; font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; font-size:14px; margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; } a:link, a:visited { text-decoration:none; color:#4A6782; } -a:hover, a:focus { +a[href]:hover, a[href]:focus { text-decoration:none; color:#bb7a2a; } -a:active { - text-decoration:none; - color:#4A6782; -} a[name] { color:#353833; } -a[name]:hover { - text-decoration:none; - color:#353833; +a[name]:before, a[name]:target, a[id]:before, a[id]:target { + content:""; + display:inline-block; + position:relative; + padding-top:129px; + margin-top:-129px; } pre { font-family:'DejaVu Sans Mono', monospace; @@ -78,9 +94,16 @@ table tr td dt code { sup { font-size:8px; } + +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + /* -Document title and Copyright styles -*/ + * Styles for document title and copyright. + */ .clear { clear:both; height:0px; @@ -111,8 +134,8 @@ Document title and Copyright styles font-weight:bold; } /* -Navigation bar styles -*/ + * Styles for navigation bar. + */ .bar { background-color:#4D7A97; color:#FFFFFF; @@ -121,6 +144,15 @@ Navigation bar styles font-size:11px; margin:0; } +.navPadding { + padding-top: 107px; +} +.fixedNav { + position:fixed; + width:100%; + z-index:999; + background-color:#ffffff; +} .topNav { background-color:#4D7A97; color:#FFFFFF; @@ -170,7 +202,22 @@ ul.navList li{ padding: 5px 6px; text-transform:uppercase; } -ul.subNavList li{ +ul.navListSearch { + float:right; + margin:0 0 0 0; + padding:0; +} +ul.navListSearch li { + list-style:none; + float:right; + padding: 5px 6px; + text-transform:uppercase; +} +ul.navListSearch li label { + position:relative; + right:-16px; +} +ul.subNavList li { list-style:none; float:left; } @@ -196,21 +243,29 @@ ul.subNavList li{ overflow:hidden; } /* -Page header and footer styles -*/ + * Styles for page header and footer. + */ .header, .footer { clear:both; margin:0 20px; padding:5px 0 0 0; } -.indexHeader { - margin:10px; +.indexNav { position:relative; + font-size:12px; + background-color:#dee3e9; +} +.indexNav ul { + margin-top:0; + padding:5px; } -.indexHeader span{ - margin-right:15px; +.indexNav ul li { + display:inline; + list-style-type:none; + padding-right:10px; + text-transform:uppercase; } -.indexHeader h1 { +.indexNav h1 { font-size:13px; } .title { @@ -232,8 +287,8 @@ Page header and footer styles font-size:13px; } /* -Heading styles -*/ + * Styles for headings. + */ div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { background-color:#dee3e9; border:1px solid #d0d9e0; @@ -254,9 +309,10 @@ ul.blockList li.blockList h2 { padding:0px 0 20px 0; } /* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + * Styles for page layout containers. + */ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, +.allClassesContainer, .allPackagesContainer { clear:both; padding:10px 20px; position:relative; @@ -287,7 +343,7 @@ Page layout container styles .contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { margin:5px 0 10px 0px; font-size:14px; - font-family:'DejaVu Sans Mono',monospace; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } .serializedFormContainer dl.nameValue dt { margin-left:1px; @@ -301,8 +357,11 @@ Page layout container styles display:inline; } /* -List styles -*/ + * Styles for lists. + */ +li.circle { + list-style:circle; +} ul.horizontal li { display:inline; font-size:0.9em; @@ -355,19 +414,22 @@ table tr td dl, table tr td dl dt, table tr td dl dd { margin-bottom:1px; } /* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + * Styles for tables. + */ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, +.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { width:100%; + border-spacing:0; border-left:1px solid #EEE; border-right:1px solid #EEE; border-bottom:1px solid #EEE; } -.overviewSummary, .memberSummary { +.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { padding:0px; } .overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, +.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { position:relative; text-align:left; background-repeat:no-repeat; @@ -382,17 +444,31 @@ Table styles white-space:pre; } .overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.constantsSummary caption a:link, .deprecatedSummary caption a:link, +.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.usesSummary caption a:link, .overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.usesSummary caption a:hover, .overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.constantsSummary caption a:active, .deprecatedSummary caption a:active, +.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.usesSummary caption a:active, .overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { +.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.usesSummary caption a:visited { color:#FFFFFF; } +.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, +.useSummary caption a:visited { + color:#1f389c; +} .overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, +.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.usesSummary caption span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -404,7 +480,8 @@ Table styles border: none; height:16px; } -.memberSummary caption span.activeTableTab span { +.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -415,7 +492,8 @@ Table styles background-color:#F8981D; height:16px; } -.memberSummary caption span.tableTab span { +.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { white-space:nowrap; padding-top:5px; padding-left:12px; @@ -426,7 +504,10 @@ Table styles background-color:#4D7A97; height:16px; } -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { padding-top:0px; padding-left:0px; padding-right:0px; @@ -435,14 +516,16 @@ Table styles display:inline; } .overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { display:none; width:5px; position:relative; float:left; background-color:#F8981D; } -.memberSummary .activeTableTab .tabEnd { +.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { display:none; width:5px; margin-right:3px; @@ -450,66 +533,88 @@ Table styles float:left; background-color:#F8981D; } -.memberSummary .tableTab .tabEnd { +.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { display:none; width:5px; margin-right:3px; position:relative; background-color:#4D7A97; float:left; - +} +.rowColor th, .altColor th { + font-weight:normal; } .overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { +.useSummary td, .constantsSummary td, .deprecatedSummary td, +.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { text-align:left; padding:0px 0px 12px 10px; } -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, +.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +.constantsSummary td { vertical-align:top; padding-right:0px; padding-top:8px; padding-bottom:3px; } -th.colFirst, th.colLast, th.colOne, .constantsSummary th { +th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +.packagesSummary th { background:#dee3e9; text-align:left; padding:8px 3px 3px 7px; } td.colFirst, th.colFirst { - white-space:nowrap; font-size:13px; } -td.colLast, th.colLast { +td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { font-size:13px; } -td.colOne, th.colOne { +.constantsSummary th, .packagesSummary th { + font-size:13px; +} +.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary td.colLast { + white-space:normal; font-size:13px; } .overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, +.requiresSummary td.colFirst, .requiresSummary th.colFirst, +.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, +.usesSummary td.colFirst, .usesSummary th.colFirst, +.providesSummary td.colFirst, .providesSummary th.colFirst, .memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; +.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, +.typeSummary td.colFirst, .typeSummary th.colFirst { vertical-align:top; } -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { +.packagesSummary th.colLast, .packagesSummary td.colLast { + white-space:normal; +} +td.colFirst a:link, td.colFirst a:visited, +td.colSecond a:link, td.colSecond a:visited, +th.colFirst a:link, th.colFirst a:visited, +th.colSecond a:link, th.colSecond a:visited, +th.colConstructorName a:link, th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, .constantValuesContainer td a:visited, +.allClassesContainer td a:link, .allClassesContainer td a:visited, +.allPackagesContainer td a:link, .allPackagesContainer td a:visited { font-weight:bold; } .tableSubHeadingColor { background-color:#EEEEFF; } -.altColor { +.altColor, .altColor th { background-color:#FFFFFF; } -.rowColor { +.rowColor, .rowColor th { background-color:#EEEEEF; } /* -Content styles -*/ + * Styles for contents. + */ .description pre { margin-top:0; } @@ -520,27 +625,22 @@ Content styles .docSummary { padding:0; } - ul.blockList ul.blockList ul.blockList li.blockList h3 { font-style:normal; } - div.block { font-size:14px; font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; } - td.colLast div { padding-top:0px; } - - td.colLast a { padding-bottom:3px; } /* -Formatting effect styles -*/ + * Styles for formatting effect. + */ .sourceLineNo { color:green; padding:0 30px 0 0; @@ -555,20 +655,252 @@ h1.hidden { margin:3px 10px 2px 0px; color:#474747; } -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { +.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, +.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, +.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, +.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { font-weight:bold; } .deprecationComment, .emphasizedPhrase, .interfaceName { font-style:italic; } - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +.deprecationBlock { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, div.block div.block span.interfaceName { font-style:normal; } - -div.contentContainer ul.blockList li.blockList h2{ +div.contentContainer ul.blockList li.blockList h2 { padding-bottom:0px; } +/* + * Styles for IFRAME. + */ +.mainContainer { + margin:0 auto; + padding:0; + height:100%; + width:100%; + position:fixed; + top:0; + left:0; +} +.leftContainer { + height:100%; + position:fixed; + width:320px; +} +.leftTop { + position:relative; + float:left; + width:315px; + top:0; + left:0; + height:30%; + border-right:6px solid #ccc; + border-bottom:6px solid #ccc; +} +.leftBottom { + position:relative; + float:left; + width:315px; + bottom:0; + left:0; + height:70%; + border-right:6px solid #ccc; + border-top:1px solid #000; +} +.rightContainer { + position:absolute; + left:320px; + top:0; + bottom:0; + height:100%; + right:0; + border-left:1px solid #000; +} +.rightIframe { + margin:0; + padding:0; + height:100%; + right:30px; + width:100%; + overflow:visible; + margin-bottom:30px; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.resultItem { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.resultHighlight { + font-weight:bold; +} +#search { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; +} +#reset { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:17px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.searchTagDescResult { + font-style:italic; + font-size:11px; +} +.searchTagHolderResult { + font-style:italic; + font-size:12px; +} +.searchTagResult:before, .searchTagResult:target { + color:red; +} +.moduleGraph span { + display:none; + position:absolute; +} +.moduleGraph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.methodSignature { + white-space:normal; +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} diff --git a/docs/docs/api/type-search-index.js b/docs/docs/api/type-search-index.js new file mode 100644 index 0000000..e33aa03 --- /dev/null +++ b/docs/docs/api/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"mil.nga.tiff.io","l":"ByteReader"},{"p":"mil.nga.tiff.io","l":"ByteWriter"},{"p":"mil.nga.tiff.compression","l":"CompressionDecoder"},{"p":"mil.nga.tiff.compression","l":"CompressionEncoder"},{"p":"mil.nga.tiff.compression","l":"DeflateCompression"},{"p":"mil.nga.tiff","l":"FieldTagType"},{"p":"mil.nga.tiff","l":"FieldType"},{"p":"mil.nga.tiff","l":"FileDirectory"},{"p":"mil.nga.tiff","l":"FileDirectoryEntry"},{"p":"mil.nga.tiff","l":"ImageWindow"},{"p":"mil.nga.tiff.io","l":"IOUtils"},{"p":"mil.nga.tiff.compression","l":"LZWCompression"},{"p":"mil.nga.tiff.compression","l":"PackbitsCompression"},{"p":"mil.nga.tiff.compression","l":"Predictor"},{"p":"mil.nga.tiff","l":"Rasters"},{"p":"mil.nga.tiff.compression","l":"RawCompression"},{"p":"mil.nga.tiff.util","l":"TiffConstants"},{"p":"mil.nga.tiff.util","l":"TiffException"},{"p":"mil.nga.tiff","l":"TIFFImage"},{"p":"mil.nga.tiff","l":"TiffReader"},{"p":"mil.nga.tiff","l":"TiffWriter"},{"p":"mil.nga.tiff.compression","l":"UnsupportedCompression"}] \ No newline at end of file diff --git a/docs/docs/api/type-search-index.zip b/docs/docs/api/type-search-index.zip new file mode 100644 index 0000000000000000000000000000000000000000..e5b494dfee46d55455c743f8c47e4c60db39c837 GIT binary patch literal 425 zcmWIWW@Zs#;Nak3$kEmcVL$?6Kz2!GL8@+XYGP4xhHhqFN@|5(R&jpb+{t&nju;5E z#=92n{l>WG@;?X10I%sy-QtFGuRSo~JUQj=rZ>B1XB`aP=6ij2%BQ(L&(5Tjr<{0q z!}gJH&mGHxoWoVt$1E28;JfP;dRVb)Ip599;*?|a%Y>A#e(FfM>=IOcbw#BF2iF7B z8=?uRs%IOW%8xY_2d(xL{O=+pP-S*>kx^*4rf|jt;W@DdftD9%vaIpGH?6tRK)gjj zDARGmw!>Klp<8^O%jPfq^!LhdhxSj)bv;Y6*H+c6bTW$#ur2=hQSIbk_pF7}k}rBc z6}$6OFgn)d;P->mzucS3ssGpR+9|-$xS4!{a ztd7a=*~ao!Upvm8F~FOhgV{}by the National Geospatial-Intelligence Agency API .zip .tar.gz - The Central Repository + The Central Repository
    diff --git a/src/test/java/mil/nga/tiff/TiffFileTester.java b/src/test/java/mil/nga/tiff/TiffFileTester.java index 34809ca..504c1ae 100644 --- a/src/test/java/mil/nga/tiff/TiffFileTester.java +++ b/src/test/java/mil/nga/tiff/TiffFileTester.java @@ -15,7 +15,9 @@ public class TiffFileTester { * Main method, provide a single file path argument * * @param args + * arguments * @throws IOException + * upon error */ public static void main(String[] args) throws IOException { @@ -26,8 +28,8 @@ public static void main(String[] args) throws IOException { File file = new File(args[0]); if (!file.exists()) { - throw new IllegalArgumentException("TIFF file does not exist: " - + file.getAbsolutePath()); + throw new IllegalArgumentException( + "TIFF file does not exist: " + file.getAbsolutePath()); } TIFFImage tiffImage = TiffReader.readTiff(file); @@ -63,8 +65,8 @@ public static void main(String[] args) throws IOException { System.out.println("Width: " + rasters.getWidth()); System.out.println("Height: " + rasters.getHeight()); System.out.println("Number of Pixels: " + rasters.getNumPixels()); - System.out.println("Samples Per Pixel: " - + rasters.getSamplesPerPixel()); + System.out.println( + "Samples Per Pixel: " + rasters.getSamplesPerPixel()); System.out .println("Bits Per Sample: " + rasters.getBitsPerSample()); @@ -72,7 +74,8 @@ public static void main(String[] args) throws IOException { printPixel(rasters, 0, 0); printPixel(rasters, (int) (rasters.getWidth() / 2.0), (int) (rasters.getHeight() / 2.0)); - printPixel(rasters, rasters.getWidth() - 1, rasters.getHeight() - 1); + printPixel(rasters, rasters.getWidth() - 1, + rasters.getHeight() - 1); System.out.println(); } diff --git a/src/test/java/mil/nga/tiff/TiffWriteTest.java b/src/test/java/mil/nga/tiff/TiffWriteTest.java index 6447c9d..a84f72c 100644 --- a/src/test/java/mil/nga/tiff/TiffWriteTest.java +++ b/src/test/java/mil/nga/tiff/TiffWriteTest.java @@ -4,11 +4,11 @@ import java.io.IOException; import java.util.List; +import org.junit.Test; + import junit.framework.TestCase; import mil.nga.tiff.util.TiffConstants; -import org.junit.Test; - /** * TIFF Write tests * @@ -20,6 +20,7 @@ public class TiffWriteTest { * Test writing and reading a stripped TIFF file * * @throws IOException + * upon error */ @Test public void testWriteStrippedChunky() throws IOException { @@ -34,10 +35,10 @@ public void testWriteStrippedChunky() throws IOException { fileDirectory.setWriteRasters(rasters); fileDirectory.setCompression(TiffConstants.COMPRESSION_NO); - fileDirectory - .setPlanarConfiguration(TiffConstants.PLANAR_CONFIGURATION_CHUNKY); - int rowsPerStrip = rasters.calculateRowsPerStrip(fileDirectory - .getPlanarConfiguration()); + fileDirectory.setPlanarConfiguration( + TiffConstants.PLANAR_CONFIGURATION_CHUNKY); + int rowsPerStrip = rasters + .calculateRowsPerStrip(fileDirectory.getPlanarConfiguration()); fileDirectory.setRowsPerStrip(rowsPerStrip); byte[] tiffBytes = TiffWriter.writeTiffToBytes(strippedTiff); @@ -56,6 +57,7 @@ public void testWriteStrippedChunky() throws IOException { * Test writing and reading a stripped TIFF file * * @throws IOException + * upon error */ @Test public void testWriteStrippedPlanar() throws IOException { @@ -70,10 +72,10 @@ public void testWriteStrippedPlanar() throws IOException { fileDirectory.setWriteRasters(rasters); fileDirectory.setCompression(TiffConstants.COMPRESSION_NO); - fileDirectory - .setPlanarConfiguration(TiffConstants.PLANAR_CONFIGURATION_PLANAR); - int rowsPerStrip = rasters.calculateRowsPerStrip(fileDirectory - .getPlanarConfiguration()); + fileDirectory.setPlanarConfiguration( + TiffConstants.PLANAR_CONFIGURATION_PLANAR); + int rowsPerStrip = rasters + .calculateRowsPerStrip(fileDirectory.getPlanarConfiguration()); fileDirectory.setRowsPerStrip(rowsPerStrip); byte[] tiffBytes = TiffWriter.writeTiffToBytes(strippedTiff); @@ -107,8 +109,8 @@ public void testWriteCustom() throws IOException { int inpPixVals[] = new int[inpHeight * inpWidth]; for (int y = 0; y < inpHeight; y++) { for (int x = 0; x < inpWidth; x++) { - inpPixVals[y * inpWidth + x] = (int) (Math.random() * Math.pow( - 2.0, bitsPerSample)); + inpPixVals[y * inpWidth + x] = (int) (Math.random() + * Math.pow(2.0, bitsPerSample)); } } @@ -116,8 +118,8 @@ public void testWriteCustom() throws IOException { bitsPerSample, TiffConstants.SAMPLE_FORMAT_UNSIGNED_INT); FileDirectory fileDirs = new FileDirectory(); - int rowsPerStrip = newRaster - .calculateRowsPerStrip(TiffConstants.PLANAR_CONFIGURATION_CHUNKY); + int rowsPerStrip = newRaster.calculateRowsPerStrip( + TiffConstants.PLANAR_CONFIGURATION_CHUNKY); fileDirs.setImageWidth(inpWidth); fileDirs.setImageHeight(inpHeight); fileDirs.setBitsPerSample(bitsPerSample); @@ -127,8 +129,10 @@ public void testWriteCustom() throws IOException { fileDirs.setResolutionUnit(TiffConstants.RESOLUTION_UNIT_INCH); fileDirs.setXResolution(xResolution); fileDirs.setYResolution(yResolution); - fileDirs.setPhotometricInterpretation(TiffConstants.PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO); - fileDirs.setPlanarConfiguration(TiffConstants.PLANAR_CONFIGURATION_CHUNKY); + fileDirs.setPhotometricInterpretation( + TiffConstants.PHOTOMETRIC_INTERPRETATION_BLACK_IS_ZERO); + fileDirs.setPlanarConfiguration( + TiffConstants.PLANAR_CONFIGURATION_CHUNKY); fileDirs.setCompression(TiffConstants.COMPRESSION_NO); fileDirs.setWriteRasters(newRaster); @@ -160,8 +164,8 @@ public void testWriteCustom() throws IOException { TestCase.assertEquals(TiffConstants.SAMPLE_FORMAT_UNSIGNED_INT, sampleFormat.get(0).intValue()); TestCase.assertEquals(rowsPerStrip, fileDirectory.getRowsPerStrip()); - TestCase.assertEquals(TiffConstants.RESOLUTION_UNIT_INCH, fileDirectory - .getResolutionUnit().intValue()); + TestCase.assertEquals(TiffConstants.RESOLUTION_UNIT_INCH, + fileDirectory.getResolutionUnit().intValue()); List xRes = fileDirectory.getXResolution(); TestCase.assertEquals(2, xRes.size()); TestCase.assertEquals(xResolution, xRes.get(0).longValue()); @@ -175,8 +179,8 @@ public void testWriteCustom() throws IOException { fileDirectory.getPhotometricInterpretation().intValue()); TestCase.assertEquals(TiffConstants.PLANAR_CONFIGURATION_CHUNKY, fileDirectory.getPlanarConfiguration().intValue()); - TestCase.assertEquals(TiffConstants.COMPRESSION_NO, fileDirectory - .getCompression().intValue()); + TestCase.assertEquals(TiffConstants.COMPRESSION_NO, + fileDirectory.getCompression().intValue()); Rasters rasters = fileDirectory.readRasters(); TestCase.assertEquals(inpWidth * inpHeight, rasters.getNumPixels());