├── .gitmodules
├── COPYING
├── Makefile.am
├── NEWS
├── README.md
├── autogen.sh
├── configure.ac
├── data
├── Makefile.am
├── org.gnome.Books.appdata.xml.in
├── org.gnome.Books.desktop.in
├── org.gnome.Books.search-provider.ini
└── org.gnome.books.gschema.xml
├── epub.js
├── .jshintrc
├── .nojekyll
├── Gruntfile.js
├── README.md
├── build
│ ├── epub.js
│ ├── epub.js.map
│ ├── epub.min.js
│ ├── epub.min.map
│ ├── epub_no_underscore.js
│ ├── epub_no_underscore.js.map
│ ├── hooks.js
│ ├── hooks.js.map
│ ├── hooks.min.js
│ ├── hooks.min.map
│ ├── libs
│ │ ├── inflate.js
│ │ ├── inflate.map
│ │ ├── screenfull.min.js
│ │ ├── zip.min.js
│ │ └── zip.min.map
│ ├── reader.js
│ ├── reader.js.map
│ ├── reader.min.js
│ └── reader.min.map
├── documentation
│ └── README.md
├── examples
│ ├── android-patch.html
│ ├── annotator.html
│ ├── backbone.html
│ ├── basic-dev.html
│ ├── basic.css
│ ├── basic.html
│ ├── contained.html
│ ├── custom-elements.html
│ ├── fixed.html
│ ├── hypothesis.html
│ ├── index.html
│ ├── mathml.html
│ ├── page_list.json
│ ├── pagination.html
│ ├── promises.html
│ ├── search.html
│ ├── single.html
│ └── single1.html
├── hooks
│ ├── default
│ │ ├── endnotes.js
│ │ ├── mathml.js
│ │ ├── smartimages.js
│ │ └── transculsions.js
│ └── extensions
│ │ ├── annotate.js
│ │ ├── embedh.js
│ │ ├── example.js
│ │ ├── highlight.js
│ │ ├── hypothesis.js
│ │ ├── music.js
│ │ └── pageturns.js
├── index.html
├── libs
│ ├── annotator
│ │ ├── annotator-full.js
│ │ ├── css
│ │ │ └── annotator.css
│ │ ├── img
│ │ │ ├── annotator-glyph-sprite.png
│ │ │ └── annotator-icon-sprite.png
│ │ ├── lib
│ │ │ ├── annotator.js
│ │ │ ├── annotator.map
│ │ │ ├── class.js
│ │ │ ├── class.map
│ │ │ ├── console.js
│ │ │ ├── console.map
│ │ │ ├── editor.js
│ │ │ ├── editor.map
│ │ │ ├── helpers
│ │ │ │ ├── spec_helper.js
│ │ │ │ └── spec_helper.map
│ │ │ ├── notification.js
│ │ │ ├── notification.map
│ │ │ ├── plugin
│ │ │ │ ├── annotateitpermissions.js
│ │ │ │ ├── annotateitpermissions.map
│ │ │ │ ├── auth.js
│ │ │ │ ├── auth.map
│ │ │ │ ├── document.js
│ │ │ │ ├── document.map
│ │ │ │ ├── filter.js
│ │ │ │ ├── filter.map
│ │ │ │ ├── kitchensink.js
│ │ │ │ ├── kitchensink.map
│ │ │ │ ├── markdown.js
│ │ │ │ ├── markdown.map
│ │ │ │ ├── permissions.js
│ │ │ │ ├── permissions.map
│ │ │ │ ├── store.js
│ │ │ │ ├── store.map
│ │ │ │ ├── tags.js
│ │ │ │ ├── tags.map
│ │ │ │ ├── unsupported.js
│ │ │ │ └── unsupported.map
│ │ │ ├── preamble.js
│ │ │ ├── preamble.map
│ │ │ ├── range.js
│ │ │ ├── range.map
│ │ │ ├── spec
│ │ │ │ ├── annotator_spec.js
│ │ │ │ ├── annotator_spec.map
│ │ │ │ ├── class_spec.js
│ │ │ │ ├── class_spec.map
│ │ │ │ ├── console_spec.js
│ │ │ │ ├── console_spec.map
│ │ │ │ ├── editor_spec.js
│ │ │ │ ├── editor_spec.map
│ │ │ │ ├── notification_spec.js
│ │ │ │ ├── notification_spec.map
│ │ │ │ ├── plugin
│ │ │ │ │ ├── annotateitpermissions_spec.js
│ │ │ │ │ ├── annotateitpermissions_spec.map
│ │ │ │ │ ├── auth_spec.js
│ │ │ │ │ ├── auth_spec.map
│ │ │ │ │ ├── document_spec.js
│ │ │ │ │ ├── document_spec.map
│ │ │ │ │ ├── filter_spec.js
│ │ │ │ │ ├── filter_spec.map
│ │ │ │ │ ├── kitchensink_spec.js
│ │ │ │ │ ├── kitchensink_spec.map
│ │ │ │ │ ├── markdown_spec.js
│ │ │ │ │ ├── markdown_spec.map
│ │ │ │ │ ├── permissions_spec.js
│ │ │ │ │ ├── permissions_spec.map
│ │ │ │ │ ├── store_spec.js
│ │ │ │ │ ├── store_spec.map
│ │ │ │ │ ├── tags_spec.js
│ │ │ │ │ ├── tags_spec.map
│ │ │ │ │ ├── unsupported_spec.js
│ │ │ │ │ └── unsupported_spec.map
│ │ │ │ ├── range_spec.js
│ │ │ │ ├── range_spec.map
│ │ │ │ ├── util_spec.js
│ │ │ │ ├── util_spec.map
│ │ │ │ ├── viewer_spec.js
│ │ │ │ ├── viewer_spec.map
│ │ │ │ ├── widget_spec.js
│ │ │ │ └── widget_spec.map
│ │ │ ├── util.js
│ │ │ ├── util.map
│ │ │ ├── vendor
│ │ │ │ ├── gettext.js
│ │ │ │ ├── jquery.js
│ │ │ │ ├── json2.js
│ │ │ │ ├── showdown.js
│ │ │ │ └── xpath.js
│ │ │ ├── viewer.js
│ │ │ ├── viewer.map
│ │ │ ├── widget.js
│ │ │ ├── widget.map
│ │ │ ├── xpath.js
│ │ │ └── xpath.map
│ │ └── util.js
│ ├── backbone
│ │ ├── backbone-min.js
│ │ └── backbone-min.map
│ ├── fileStorage
│ │ ├── fileStorage.js
│ │ ├── fileStorage.min.js
│ │ └── workers
│ │ │ ├── loader_filesystem.js
│ │ │ └── loader_filesystem.min.js
│ ├── jquery
│ │ ├── jquery-2.1.0.js
│ │ ├── jquery-2.1.0.min.js
│ │ └── jquery-2.1.0.min.map
│ ├── polymer
│ │ ├── custom-elements.min.js
│ │ ├── platform.min.js
│ │ ├── platform.min.js.map
│ │ ├── platform.native.min.js
│ │ ├── platform.native.min.js.map
│ │ ├── platform.sandbox.min.js
│ │ ├── platform.sandbox.min.js.map
│ │ ├── polymer.min.js
│ │ ├── polymer.min.js.map
│ │ ├── polymer.native.min.js
│ │ ├── polymer.native.min.js.map
│ │ ├── polymer.sandbox.min.js
│ │ └── polymer.sandbox.min.js.map
│ ├── rsvp
│ │ └── rsvp.js
│ ├── screenfull.min.js
│ ├── underscore
│ │ ├── underscore-min.js
│ │ └── underscore.js
│ ├── urljs
│ │ ├── README.md
│ │ ├── url-min.js
│ │ └── url.js
│ └── zip
│ │ ├── deflate.js
│ │ ├── inflate.js
│ │ ├── mime-types.js
│ │ ├── zip-ext.js
│ │ ├── zip-fs.js
│ │ └── zip.js
├── license
├── package.json
├── reader
│ ├── css
│ │ ├── annotations.css
│ │ ├── main.css
│ │ ├── normalize.css
│ │ └── popup.css
│ ├── dev.html
│ ├── font
│ │ ├── fontello.eot
│ │ ├── fontello.svg
│ │ ├── fontello.ttf
│ │ └── fontello.woff
│ ├── humans.txt
│ ├── img
│ │ ├── .gitignore
│ │ ├── annotator-glyph-sprite.png
│ │ ├── annotator-icon-sprite.png
│ │ ├── apple-touch-icon.png
│ │ ├── cancelfullscreen.png
│ │ ├── close.png
│ │ ├── fullscreen.png
│ │ ├── loader.gif
│ │ ├── menu-icon.png
│ │ ├── save.png
│ │ ├── saved.png
│ │ ├── settings-s.png
│ │ ├── settings.png
│ │ └── star.png
│ ├── index.html
│ ├── js
│ │ ├── epub.js.map
│ │ ├── epub.min.js
│ │ ├── hooks.js.map
│ │ ├── hooks.min.js
│ │ ├── hooks
│ │ │ └── extensions
│ │ │ │ └── highlight.js
│ │ ├── libs
│ │ │ ├── fileStorage.min.js
│ │ │ ├── inflate.js
│ │ │ ├── inflate.min.js
│ │ │ ├── jquery-2.1.0.min.js
│ │ │ ├── jquery.highlight.js
│ │ │ ├── loader_filesystem.min.js
│ │ │ ├── screenfull.min.js
│ │ │ └── zip.min.js
│ │ ├── plugins
│ │ │ ├── hypothesis.js
│ │ │ └── search.js
│ │ └── reader.min.js
│ ├── moby-dick.epub
│ ├── moby-dick
│ │ ├── META-INF
│ │ │ └── container.xml
│ │ ├── OPS
│ │ │ ├── chapter_001.html
│ │ │ ├── chapter_001.xhtml
│ │ │ ├── chapter_002.xhtml
│ │ │ ├── chapter_003.xhtml
│ │ │ ├── chapter_004.xhtml
│ │ │ ├── chapter_005.xhtml
│ │ │ ├── chapter_006.xhtml
│ │ │ ├── chapter_007.xhtml
│ │ │ ├── chapter_008.xhtml
│ │ │ ├── chapter_009.xhtml
│ │ │ ├── chapter_010.xhtml
│ │ │ ├── chapter_011.xhtml
│ │ │ ├── chapter_012.xhtml
│ │ │ ├── chapter_013.xhtml
│ │ │ ├── chapter_014.xhtml
│ │ │ ├── chapter_015.xhtml
│ │ │ ├── chapter_016.xhtml
│ │ │ ├── chapter_017.xhtml
│ │ │ ├── chapter_018.xhtml
│ │ │ ├── chapter_019.xhtml
│ │ │ ├── chapter_020.xhtml
│ │ │ ├── chapter_021.xhtml
│ │ │ ├── chapter_022.xhtml
│ │ │ ├── chapter_023.xhtml
│ │ │ ├── chapter_024.xhtml
│ │ │ ├── chapter_025.xhtml
│ │ │ ├── chapter_026.xhtml
│ │ │ ├── chapter_027.xhtml
│ │ │ ├── chapter_028.xhtml
│ │ │ ├── chapter_029.xhtml
│ │ │ ├── chapter_030.xhtml
│ │ │ ├── chapter_031.xhtml
│ │ │ ├── chapter_032.xhtml
│ │ │ ├── chapter_033.xhtml
│ │ │ ├── chapter_034.xhtml
│ │ │ ├── chapter_035.xhtml
│ │ │ ├── chapter_036.xhtml
│ │ │ ├── chapter_037.xhtml
│ │ │ ├── chapter_038.xhtml
│ │ │ ├── chapter_039.xhtml
│ │ │ ├── chapter_040.xhtml
│ │ │ ├── chapter_041.xhtml
│ │ │ ├── chapter_042.xhtml
│ │ │ ├── chapter_043.xhtml
│ │ │ ├── chapter_044.xhtml
│ │ │ ├── chapter_045.xhtml
│ │ │ ├── chapter_046.xhtml
│ │ │ ├── chapter_047.xhtml
│ │ │ ├── chapter_048.xhtml
│ │ │ ├── chapter_049.xhtml
│ │ │ ├── chapter_050.xhtml
│ │ │ ├── chapter_051.xhtml
│ │ │ ├── chapter_052.xhtml
│ │ │ ├── chapter_053.xhtml
│ │ │ ├── chapter_054.xhtml
│ │ │ ├── chapter_055.xhtml
│ │ │ ├── chapter_056.xhtml
│ │ │ ├── chapter_057.xhtml
│ │ │ ├── chapter_058.xhtml
│ │ │ ├── chapter_059.xhtml
│ │ │ ├── chapter_060.xhtml
│ │ │ ├── chapter_061.xhtml
│ │ │ ├── chapter_062.xhtml
│ │ │ ├── chapter_063.xhtml
│ │ │ ├── chapter_064.xhtml
│ │ │ ├── chapter_065.xhtml
│ │ │ ├── chapter_066.xhtml
│ │ │ ├── chapter_067.xhtml
│ │ │ ├── chapter_068.xhtml
│ │ │ ├── chapter_069.xhtml
│ │ │ ├── chapter_070.xhtml
│ │ │ ├── chapter_071.xhtml
│ │ │ ├── chapter_072.xhtml
│ │ │ ├── chapter_073.xhtml
│ │ │ ├── chapter_074.xhtml
│ │ │ ├── chapter_075.xhtml
│ │ │ ├── chapter_076.xhtml
│ │ │ ├── chapter_077.xhtml
│ │ │ ├── chapter_078.xhtml
│ │ │ ├── chapter_079.xhtml
│ │ │ ├── chapter_080.xhtml
│ │ │ ├── chapter_081.xhtml
│ │ │ ├── chapter_082.xhtml
│ │ │ ├── chapter_083.xhtml
│ │ │ ├── chapter_084.xhtml
│ │ │ ├── chapter_085.xhtml
│ │ │ ├── chapter_086.xhtml
│ │ │ ├── chapter_087.xhtml
│ │ │ ├── chapter_088.xhtml
│ │ │ ├── chapter_089.xhtml
│ │ │ ├── chapter_090.xhtml
│ │ │ ├── chapter_091.xhtml
│ │ │ ├── chapter_092.xhtml
│ │ │ ├── chapter_093.xhtml
│ │ │ ├── chapter_094.xhtml
│ │ │ ├── chapter_095.xhtml
│ │ │ ├── chapter_096.xhtml
│ │ │ ├── chapter_097.xhtml
│ │ │ ├── chapter_098.xhtml
│ │ │ ├── chapter_099.xhtml
│ │ │ ├── chapter_100.xhtml
│ │ │ ├── chapter_101.xhtml
│ │ │ ├── chapter_102.xhtml
│ │ │ ├── chapter_103.xhtml
│ │ │ ├── chapter_104.xhtml
│ │ │ ├── chapter_105.xhtml
│ │ │ ├── chapter_106.xhtml
│ │ │ ├── chapter_107.xhtml
│ │ │ ├── chapter_108.xhtml
│ │ │ ├── chapter_109.xhtml
│ │ │ ├── chapter_110.xhtml
│ │ │ ├── chapter_111.xhtml
│ │ │ ├── chapter_112.xhtml
│ │ │ ├── chapter_113.xhtml
│ │ │ ├── chapter_114.xhtml
│ │ │ ├── chapter_115.xhtml
│ │ │ ├── chapter_116.xhtml
│ │ │ ├── chapter_117.xhtml
│ │ │ ├── chapter_118.xhtml
│ │ │ ├── chapter_119.xhtml
│ │ │ ├── chapter_120.xhtml
│ │ │ ├── chapter_121.xhtml
│ │ │ ├── chapter_122.xhtml
│ │ │ ├── chapter_123.xhtml
│ │ │ ├── chapter_124.xhtml
│ │ │ ├── chapter_125.xhtml
│ │ │ ├── chapter_126.xhtml
│ │ │ ├── chapter_127.xhtml
│ │ │ ├── chapter_128.xhtml
│ │ │ ├── chapter_129.xhtml
│ │ │ ├── chapter_130.xhtml
│ │ │ ├── chapter_131.xhtml
│ │ │ ├── chapter_132.xhtml
│ │ │ ├── chapter_133.xhtml
│ │ │ ├── chapter_134.xhtml
│ │ │ ├── chapter_135.xhtml
│ │ │ ├── chapter_136.xhtml
│ │ │ ├── copyright.xhtml
│ │ │ ├── cover.xhtml
│ │ │ ├── css
│ │ │ │ └── stylesheet.css
│ │ │ ├── epigraph_001.xhtml
│ │ │ ├── fonts
│ │ │ │ ├── STIXGeneral.otf
│ │ │ │ ├── STIXGeneralBol.otf
│ │ │ │ ├── STIXGeneralBolIta.otf
│ │ │ │ └── STIXGeneralItalic.otf
│ │ │ ├── images
│ │ │ │ ├── 9780316000000.jpg
│ │ │ │ └── Moby-Dick_FE_title_page.jpg
│ │ │ ├── introduction_001.xhtml
│ │ │ ├── package.opf
│ │ │ ├── preface_001.xhtml
│ │ │ ├── titlepage.xhtml
│ │ │ ├── toc-short.xhtml
│ │ │ ├── toc.ncx
│ │ │ └── toc.xhtml
│ │ └── mimetype
│ ├── robots.txt
│ └── the-lifestone
│ │ ├── META-INF
│ │ ├── container.xml
│ │ └── container.xml~
│ │ ├── content.opf
│ │ ├── cover.jpg
│ │ ├── mimetype
│ │ ├── stylesheet.css
│ │ ├── titlepage.xhtml
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_000.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_001.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_002.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_003.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_004.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_005.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_006.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_007.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_008.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_009.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_010.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_011.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_012.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_013.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_014.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_015.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_016.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_017.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_018.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_019.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_020.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_021.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_022.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_023.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_024.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_025.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_026.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_027.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_028.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_029.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_030.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_031.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_032.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_033.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_034.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_035.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_036.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_037.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_038.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_039.html
│ │ ├── tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_040.html
│ │ └── toc.ncx
├── reader_src
│ ├── controllers
│ │ ├── bookmarks_controller.js
│ │ ├── controls_controller.js
│ │ ├── meta_controller.js
│ │ ├── notes_controller.js
│ │ ├── reader_controller.js
│ │ ├── settings_controller.js
│ │ ├── sidebar_controller.js
│ │ └── toc_controller.js
│ ├── old
│ │ ├── app.js
│ │ └── utils.js
│ ├── plugins
│ │ ├── hypothesis.js
│ │ └── search.js
│ └── reader.js
├── server.js
├── src
│ ├── base.js
│ ├── book.js
│ ├── chapter.js
│ ├── core.js
│ ├── epubcfi.js
│ ├── events.js
│ ├── hooks.js
│ ├── layout.js
│ ├── pagination.js
│ ├── parser.js
│ ├── render_iframe.js
│ ├── renderer.js
│ ├── replace.js
│ ├── shims.js
│ └── unarchiver.js
├── tests
│ ├── core.js
│ ├── epubcfi.js
│ ├── index.html
│ ├── pagination.js
│ ├── qunit
│ │ ├── qunit.css
│ │ └── qunit.js
│ ├── render.js
│ └── unarchiver.js
└── tools
│ ├── appcache.py
│ └── server
├── git.mk
├── po
└── POTFILES
└── src
├── Makefile-js.am
├── Makefile-lib.am
├── Makefile.am
├── application.js
├── config.js
├── config.js.in
├── contents.js
├── embed.js
├── epub-metadata.py
├── epub-thumbnailer.py
├── gnome-books.desktop.in
├── gnome-books.gresource.xml
├── gnome-books.in
├── lib
├── gb-book-links.c
├── gb-book-links.h
├── gb-nav-bar.c
├── gb-nav-bar.h
├── gb-resources.c
├── gb-resources.xml
├── gb-webview.c
└── gb-webview.h
├── library.js
├── main.js
├── mainToolbar.js
├── mainWindow.js
├── manager.js
├── org.gnome.Books.service
├── org.gnome.Books.service.in
├── path.js
├── path.js.in
├── resources
├── Adwaita.css
├── app-menu.ui
├── read-menu.ui
└── thumbnail-frame.png
├── utils.js
├── view.js
├── webView.js
└── windowMode.js
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "libgd"]
2 | path = libgd
3 | url = git://git.gnome.org/libgd
4 |
--------------------------------------------------------------------------------
/Makefile.am:
--------------------------------------------------------------------------------
1 | ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS}
2 | DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
3 | SUBDIRS=libgd src data
4 |
5 | MAINTAINERCLEANFILES = \
6 | $(srcdir)/AUTHORS \
7 | $(srcdir)/INSTALL \
8 | $(srcdir)/ar-lib \
9 | $(srcdir)/aclocal.m4 \
10 | $(srcdir)/autoscan.log \
11 | $(srcdir)/compile \
12 | $(srcdir)/config.guess \
13 | $(srcdir)/config.h.in \
14 | $(srcdir)/config.sub \
15 | $(srcdir)/configure.scan \
16 | $(srcdir)/depcomp \
17 | $(srcdir)/install-sh \
18 | $(srcdir)/ltmain.sh \
19 | $(srcdir)/missing \
20 | $(srcdir)/mkinstalldirs \
21 | $(srcdir)/omf.make \
22 | $(srcdir)/xmldocs.make \
23 | $(srcdir)/gtk-doc.make \
24 | $(NULL)
25 |
26 | GITIGNOREFILES = \
27 | m4 \
28 | config \
29 | node_modules \
30 | $(NULL)
31 |
32 | -include $(top_srcdir)/git.mk
33 |
--------------------------------------------------------------------------------
/NEWS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/martahilmar/gnome-books/999c153dcfab1a276cd44b43551acdd2b73cbe03/NEWS
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # GNOME Books
2 |
3 | Google Summer of Code project for GNOME.
4 |
5 | Books is application for listing, searching and reading eBooks.
6 | More information on https://wiki.gnome.org/Outreach/SummerOfCode/2014/Projects/MartaMilakovic_GnomeBooks
7 |
8 | Books will be implemented upon the application gnome-documents, and it is going to live in the same git repository. This would be a great solution regarding code duplication, because it would be possible to reuse relevant code blocks from gnome-documents and add extra features related to eBooks.
9 |
10 | Using epub.js library for the reading mode.
11 |
12 | The idea is to integrate Books with an existing online eBook store.
13 |
14 | ## 1. Installing GNOME Books
15 |
16 | $ ./autogen.sh
17 | $ make
18 | $ sudo make install
19 | $ cd src/ && glib-compile-resources gnome-books.gresource.xml
20 | $ export LD_LIBRARY_PATH=`pwd`/src/.libs:$LD_LIBRARY_PATH
21 | $ export GI_TYPELIB_PATH=`pwd`/src
22 |
23 | ## 2. Running GNOME Books
24 |
25 | Make a folder Books in your $home directory and add all the .epubs you would like to read.
26 |
27 | $ gnome-books
28 | When GNOME Books is running choose your eBook and press 'Load Table of Contents'. This will load the chapters and notify you when finished with the pop-up bar. Next you should click on 'Load Total Pages' and you are ready to enjoy your EBook.
29 | (These steps should be removed in the future.)
30 |
--------------------------------------------------------------------------------
/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Run this to generate all the initial makefiles, etc.
3 |
4 | srcdir=`dirname $0`
5 | test -z "$srcdir" && srcdir=.
6 |
7 | PKG_NAME="gnome-books"
8 | ACLOCAL_FLAGS="-I libgd ${ACLOCAL_FLAGS}"
9 |
10 | (test -f $srcdir/src/main.js) || {
11 | echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 | echo " top-level $PKG_NAME directory"
13 | exit 1
14 | }
15 |
16 | which gnome-autogen.sh || {
17 | echo "You need to install gnome-common from the GNOME git"
18 | exit 1
19 | }
20 |
21 | git submodule update --init --recursive
22 |
23 | REQUIRED_AUTOCONF_VERSION=2.59
24 | REQUIRED_AUTOMAKE_VERSION=1.9
25 | REQUIRED_INTLTOOL_VERSION=0.40.0
26 | REQUIRED_PKG_CONFIG_VERSION=0.22
27 | . gnome-autogen.sh
--------------------------------------------------------------------------------
/configure.ac:
--------------------------------------------------------------------------------
1 | dnl -*- mode: m4 -*-
2 | AC_PREREQ(2.69)
3 | AC_INIT([Books], [1.0.0], [])
4 |
5 | AC_CONFIG_AUX_DIR([config])
6 | AC_CONFIG_MACRO_DIR([m4])
7 | AC_CONFIG_SRCDIR([src/main.js])
8 | AC_CONFIG_HEADER([config/config.h])
9 |
10 | GOBJECT_INTROSPECTION_REQUIRE([0.9.6])
11 |
12 | AM_INIT_AUTOMAKE([1.10 no-define foreign dist-xz no-dist-gzip subdir-objects])
13 | AM_MAINTAINER_MODE([enable])
14 |
15 | IT_PROG_INTLTOOL([0.40.0])
16 |
17 | AC_PROG_CC
18 | AC_LANG_C
19 | AM_PROG_CC_C_O
20 | AC_PROG_CXX
21 | AC_ISC_POSIX
22 | AC_HEADER_STDC
23 |
24 | AC_CHECK_LIBM
25 | AC_SUBST(LIBM)
26 |
27 | WEBKIT2GTK_MIN_VERSION=1.10.0
28 | GLIB_MIN_VERSION=2.39.3
29 | GTK_MIN_VERSION=3.12
30 | GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
31 |
32 | PKG_CHECK_MODULES(DEPEND, \
33 | gtk+-3.0 >= $GTK_MIN_VERSION \
34 | webkit2gtk-4.0 >= $WEBKIT2GTK_MIN_VERSION \
35 | gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION \
36 | gjs-1.0)
37 |
38 | AC_PROG_CC_STDC
39 |
40 | BOOKS_CFLAGS="-Wall"
41 |
42 | # library-specific macros
43 | m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
44 | LT_INIT
45 |
46 | LIBGD_INIT([
47 | gtk-hacks
48 | main-view
49 | notification
50 | tagged-entry
51 | gir
52 | ])
53 |
54 | GJS_CONSOLE=`$PKG_CONFIG --variable=gjs_console gjs-1.0`
55 | AC_SUBST(GJS_CONSOLE)
56 |
57 | GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
58 | AC_SUBST(GLIB_COMPILE_RESOURCES)
59 |
60 | AC_SUBST(BOOKS_CFLAGS)
61 | AC_SUBST(DEPEND_CFLAGS)
62 | AC_SUBST(DEPEND_LIBS)
63 |
64 | top_builddir=`pwd`
65 | AC_SUBST(top_builddir)
66 |
67 | GLIB_GSETTINGS
68 |
69 | AC_CONFIG_FILES([
70 | Makefile
71 | data/Makefile
72 | libgd/Makefile
73 | src/Makefile
74 | po/Makefile.in
75 | ])
76 |
77 | AC_OUTPUT
78 |
79 | dnl ==========================================================================
80 | echo "
81 |
82 | gnome-books $VERSION
83 | ====================
84 |
85 | prefix: ${prefix}
86 | compiler: ${CC}
87 |
88 | "
89 |
--------------------------------------------------------------------------------
/data/Makefile.am:
--------------------------------------------------------------------------------
1 | appdatadir = $(datadir)/appdata
2 | appdata_DATA = $(appdata_in_files:.xml.in=.xml)
3 | appdata_in_files = org.gnome.Books.appdata.xml.in
4 |
5 | @INTLTOOL_XML_RULE@
6 |
7 | desktopdir = $(datadir)/applications
8 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
9 | desktop_in_files = org.gnome.Books.desktop.in
10 |
11 | searchproviderdir = $(datadir)/gnome-shell/search-providers
12 | searchprovider_DATA = org.gnome.Books.search-provider.ini
13 |
14 | @INTLTOOL_DESKTOP_RULE@
15 |
16 | check-local: org.gnome.Books.desktop
17 | $(DESKTOP_FILE_VALIDATE) org.gnome.Books.desktop
18 |
19 | gsettings_ENUM_NAMESPACE = org.gnome.Books
20 | gsettings_ENUM_FILES = \
21 | $(top_srcdir)/libgd/libgd/gd-main-view.h
22 |
23 | gsettings_SCHEMAS = org.gnome.books.gschema.xml
24 | .PRECIOUS: $(gsettings_SCHEMAS)
25 |
26 | @GSETTINGS_RULES@
27 |
28 | EXTRA_DIST= \
29 | $(appdata_in_files) \
30 | $(desktop_in_files) \
31 | $(searchprovider_DATA) \
32 | $(gsettings_SCHEMAS)
33 |
34 | CLEANFILES = \
35 | $(appdata_DATA) \
36 | $(desktop_DATA)
37 |
38 | -include $(top_srcdir)/git.mk
39 |
--------------------------------------------------------------------------------
/data/org.gnome.Books.appdata.xml.in:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 | <_li>Read MobyDick
16 |
17 |
Is this Markdown?
'; 6 | plugin = null; 7 | beforeEach(function() { 8 | return plugin = new Annotator.Plugin.Markdown($('')[0]); 9 | }); 10 | describe("events", function() { 11 | return it("should call Markdown#updateTextField() when annotationViewerTextField event is fired", function() { 12 | var annotation, field; 13 | field = $('')[0]; 14 | annotation = { 15 | text: 'test' 16 | }; 17 | sinon.spy(plugin, 'updateTextField'); 18 | plugin.publish('annotationViewerTextField', [field, annotation]); 19 | return assert.isTrue(plugin.updateTextField.calledWith(field, annotation)); 20 | }); 21 | }); 22 | describe("constructor", function() { 23 | it("should create a new instance of Showdown", function() { 24 | return assert.ok(plugin.converter); 25 | }); 26 | return it("should log an error if Showdown is not loaded", function() { 27 | var converter; 28 | sinon.stub(console, 'error'); 29 | converter = Showdown.converter; 30 | Showdown.converter = null; 31 | plugin = new Annotator.Plugin.Markdown($('')[0]); 32 | assert(console.error.calledOnce); 33 | Showdown.converter = converter; 34 | return console.error.restore(); 35 | }); 36 | }); 37 | describe("updateTextField", function() { 38 | var annotation, field; 39 | field = null; 40 | annotation = null; 41 | beforeEach(function() { 42 | field = $('')[0]; 43 | annotation = { 44 | text: input 45 | }; 46 | sinon.stub(plugin, 'convert').returns(output); 47 | sinon.stub(Annotator.Util, 'escape').returns(input); 48 | return plugin.updateTextField(field, annotation); 49 | }); 50 | afterEach(function() { 51 | return Annotator.Util.escape.restore(); 52 | }); 53 | it('should process the annotation text as Markdown', function() { 54 | return assert.isTrue(plugin.convert.calledWith(input)); 55 | }); 56 | it('should update the content in the field', function() { 57 | return assert.equal($(field).html(), output); 58 | }); 59 | return it("should escape any existing HTML to prevent XSS", function() { 60 | return assert.isTrue(Annotator.Util.escape.calledWith(input)); 61 | }); 62 | }); 63 | return describe("convert", function() { 64 | return it("should convert the provided text into markdown", function() { 65 | return assert.equal(plugin.convert(input), output); 66 | }); 67 | }); 68 | }); 69 | 70 | /* 71 | //@ sourceMappingURL=markdown_spec.map 72 | */ 73 | -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/spec/plugin/markdown_spec.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "markdown_spec.js", 4 | "sourceRoot": "../../..", 5 | "sources": [ 6 | "test/spec/plugin/markdown_spec.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAAA,CAAS,CAA6B,CAAA,KAAtC,CAAsC,kBAAtC;CACE,KAAA,eAAA;CAAA,CAAA,CAAS,EAAT,+CAAA;CAAA,CACA,CAAS,GAAT,6EADA;CAAA,CAEA,CAAS,CAFT,EAEA;CAFA,CAKA,CAAW,MAAA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HX,EAWU,CAAV,KAAA;CACY,GAAI,EAAO,CAArB,EAAS,IAAT;CADF,IAAU;CAXV,CAcA,CAAqD,CAArD,KAAqD,uCAArD;CACS,IAAO,CAAR,CAAsB,GAAd,GAAd;CADF,IAAqD;CAdrD,CAiBA,CAA6C,CAA7C,KAA6C,+BAA7C;CACS,CAAuB,EAAjB,CAAb,CAAM,OAAN;CADF,IAA6C;CAG1C,CAAH,CAAqD,MAAA,EAArD,qCAAA;CACS,GAAqB,CAAd,CAAR,GAAiB,CAAT,GAAd;CADF,IAAqD;CArBvD,EAA4B;CAwBnB,CAAW,CAAA,KAApB,CAAA;CACK,CAAH,CAAqD,MAAA,EAArD,qCAAA;CACS,CAA6B,GAApC,CAAM,CAAO,MAAb;CADF,IAAqD;CADvD,EAAoB;CA1DgB" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/spec/plugin/tags_spec.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "tags_spec.js", 4 | "sourceRoot": "../../..", 5 | "sources": [ 6 | "test/spec/plugin/tags_spec.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAAA,CAAS,CAAyB,CAAA,KAAlC,CAAkC,cAAlC;CACE,KAAA,WAAA;CAAA,CAAA,CAAY,CAAZ,KAAA;CAAA,CACA,CAAS,CADT,EACA;CADA,CAGA,CAAW,MAAA,CAAX;CACE,CAAA,MAAA;CAAA,CAAA,CAAK,CAAL,sDAAK;CAAL,EACgB,CAAhB,IAA0B,CAA1B;CADA,CAEa,CAAA,CAAb,EAAA,GAAsB;CAFtB,EAGmB,CAAnB,EAAM,GAAN;CACO,KAAD,IAAN,CAAA;CALF,EAAW;CAHX,CAUA,CAA2D,MAAA,6CAA3D;CACE,EAAA,KAAA;CAAA,EAAA,CAAA,sBAAA;CACO,CAAiC,CAAvB,EAAuB,CAAlC,CAAkC,EAAxC,CAAwC,CAAxC;CAFF,EAA2D;CAV3D,CAcA,CAAkE,MAAA,oDAAlE;CAC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/spec/plugin/unsupported_spec.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.6.3 2 | 3 | 4 | /* 5 | //@ sourceMappingURL=unsupported_spec.map 6 | */ 7 | -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/spec/plugin/unsupported_spec.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "unsupported_spec.js", 4 | "sourceRoot": "../../..", 5 | "sources": [ 6 | "test/spec/plugin/unsupported_spec.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAwFyC" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/spec/util_spec.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "util_spec.js", 4 | "sourceRoot": "../..", 5 | "sources": [ 6 | "test/spec/util_spec.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAAA,CAAS,CAAkB,CAAA,KAA3B,CAA2B,OAA3B;CACK,CAAH,CAAwC,MAAxC,0BAAA;CACE,OAAA,CAAA;CAAA,CAA6B,CAAjB,CAAZ,GAAY,EAAZ,IAAyB;CAClB,CAAqB,IAAtB,GAAN,EAAA,EAA4B;CAF9B,EAAwC;CADf;;AAK3B,CALA,CAKgC,CAAA,KAAhC,CAAgC,YAAhC;CACE,GAAA,EAAA;CAAA,CAAA,CAAO,CAAP;CAAA,CAEA,CAAW,MAAA,CAAX;CACE,GAAA,MAAA,CAAA;CACO,EAAA,CAAP,OAAA;CAFF,EAAW;CAFX,CAMA,CAAU,MAAV;CAAa,UAAA,EAAA;CAAb,EAAU;CANV,CAQA,CAAgD,MAAA,kCAAhD;CACE,OAAA,sBAAA;CAAA,EAAQ,CAAR,CAAA,OAAQ;CAAR,GACA;;AAAQ,CAAA;YAAA,gCAAA;0BAAA;CAAA,GAAI;CAAJ;;CADR;CAAA,CAIgB,CADF,CAAd,EAAc,KAAd,CAAc,CAAA,UAAA;CAWP,CAAgB,EAAvB,EAAM,GAAN,EAAA;CAfF,EAAgD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/annotator/lib/util.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "util.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "src/util.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AACA,IAAA,gCAAA;;AAAA,CAAA,EAAU,CAAV,GAAA;;AAEA,CAAA,GAAG,8CAAH;CACE,CAAA,CAAe,CAAA,GAAA,CAAf;CAAuB,CAAQ,EAAR,EAAA,KAAA;CAAvB,GAAe;CAAf,CACA,CAAU,EAAA,EAAV,EAAW;CAAmB,IAAT,EAAA,CAAQ,GAAR;CADrB,EACU;EAFZ,IAAA;CAIE,CAAA,CAAU,EAAA,EAAV,EAAW;CAAD,UAAW;CAArB,EAAU;EANZ;;AAQA,CARA,CAQA,CAAK,EAAA,IAAC;CAAkB,IAAR,EAAA,EAAA;CAAX;;AAEL,CAAA,GAAA;CACE,CAAA,GAAA,EAAO,6DAAO;EAXhB;;AAaA,CAAA,GAAA,CAAO,IAAP;CACE,CAAA,GAAA,EAAO,2EAAO;EAdhB;;AAgBA,CAhBA,EAgBI,GAhBJ;;AAkBA,CAlBA,CAAA,CAkBO,CAAP;;AAKA,CAvBA,EAuBe,CAAX,CAAW,EAAf,EAAgB;CACd,KAAA,CAAA;CAAA,CAAA,CAAU,IAAV,EAAW;CACT,OAAA,UAAA;CAAA,CAAA,CAAO,CAAP;AAEA,CAAA,QAAA,iCAAA;oBAAA;CACE,CAAsB,CAAf,CAAP,EAAA,CAA6B;CAD/B,IAFA;CAKA,GAAA,OAAO;CANT,EAAU;CAQF,IAAR,EAAA,EAAA;CATa;;AAcf,CArCA,CAqCyB,CAAT,CAAZ,CAAY,CAAA,EAAhB,CAAiB;CACf,GAAA,EAAA;CAAA,CAAA,CAAO,CAAP,CAAA;CACA,EAAA,MAAM,GAAN;CACE,GAAA,CAAW,CAAX;CAAuB,GAAA,SAAO;MAA9B;CAAA,EACO,CAAP,MADA;CAFF,EACA;CAGA,IAAA,IAAO;CALO;;AAUh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AAAG,CAAH,MAAG,IAAA;CAAnB,EAAgB;CAAhB;;AAEb,CAjGA,EAiGiB,CAAb,KAAJ;CAAqB,EAAA,MAAD;CAAC,UAAG;CAAJ,EAAC;CAAJ;;AAGjB,CApGA,EAoGiB,CAAb,KAAJ;CACE,KAAA,CAAA;CAAA,CAAA,CAAA;;AAAM,CAAA;UAAA,sCAAA;0BAAA;CACE,CAAG,CAAA,CAAA,CAAyB,CAA5B,EAAA,EAAG;AACA,CAAD;MADF,EAAA;AAGyC,CAAvC,CAAS,CAAA,CAA6B,IAAtC,CAAS;QAJb;CAAA;;CAAN;CAKK,CAAgB,CAAb,CAAJ,CAAJ,IAAA;CANe;;AAQjB,CA5GA,CA4GyB,CAAJ,CAAjB,IAAiB,CAAC,IAAtB;CACE,KAAA;CAAA,CAAA,CAAS,GAAT,EAAS;SACT;CAAA,CACQ,CAAN,CAAA,CAAM,CAAgB;CADxB,CAEQ,CAAU,CAAhB,CAAM,CAAgB;CAJL;CAAA;;AAYrB,CAxHA,EAwH2B,CAAvB,CAAuB,IAAC,UAA5B;CACS,EAAP,EAAK;CADoB" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/viewer.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "viewer.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "src/viewer.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AACA,IAAA,MAAA;GAAA;;kSAAA;;AAAM,CAAN,QAAe;CAGb;;CAAA,EACE,GADF;CACE,CAA2B,EAA3B,SAAA,UAAA;CAAA,CAC2B,EAA3B,WADA,UACA;CAFF,GAAA;;CAAA,EAME,IADF;CACE,CAAM,EAAN,YAAA;CAAA,CACc,EAAd,QAAA,OADA;CANF,GAAA;;CAAA,EAWE,CADF;CACE,CAAQ,EAAR,GAAA,6GAAA;CAAA,CAKQ,EAAR,+UALA;CAXF,GAAA;;CAAA,EA4BE,IADF;CACE,CAAU,EAAV,CAAA,GAAA;C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A;CAAA,EAAO,CAAP,CAAc,CAAP,CAAA,gBAAA;CAEF,CAAc,EAAf,GAAJ,IAAA,CAAoB;CA3NtB,EAwNe;;CAxNf;;CAH6B,QAAS;;AA6OlC,CA7ON;CA8Oe,CAAA,CAAA,CAAA,gBAAE;CAAO,EAAP,CAAD;CAAd,EAAa;;CAAb,CAEW,CAAX,CAAK,KAAC;CACJ,OAAA,sCAAA;;GADc,GAAL;MACT;CAAA,CAAO,CAAA,CAAP,EAAO;CAAmB,CAAM,CAAL,GAAA;CAA3B,KAAO;CAAP,GACA;;AAAQ,CAAA;SAAA,GAAA;;qBAAA;CAAA;CAAA;;CADR;CAEA;CAAA;UAAA,iCAAA;oBAAA;CACE,CAAyB,CAAjB,CAAI,CAAZ,CAAA,GAAsB;CAAS,GAAM,CAAS,UAAf;CAAX,CAAqC,EAAjD,GAAa;CACrB,GAAG,CAAH,CAAA;CACE;MADF,EAAA;CAGE,gBAHF;QAFF;CAAA;qBAHG;CAFL,EAEK;;CAFL;;CA9OF" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/widget.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.6.3 2 | var __hasProp = {}.hasOwnProperty, 3 | __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; 4 | 5 | Annotator.Widget = (function(_super) { 6 | __extends(Widget, _super); 7 | 8 | Widget.prototype.classes = { 9 | hide: 'annotator-hide', 10 | invert: { 11 | x: 'annotator-invert-x', 12 | y: 'annotator-invert-y' 13 | } 14 | }; 15 | 16 | function Widget(element, options) { 17 | Widget.__super__.constructor.apply(this, arguments); 18 | this.classes = $.extend({}, Annotator.Widget.prototype.classes, this.classes); 19 | } 20 | 21 | Widget.prototype.destroy = function() { 22 | this.removeEvents(); 23 | return this.element.remove(); 24 | }; 25 | 26 | Widget.prototype.checkOrientation = function() { 27 | var current, offset, viewport, widget, window; 28 | this.resetOrientation(); 29 | window = $(Annotator.Util.getGlobal()); 30 | widget = this.element.children(":first"); 31 | offset = widget.offset(); 32 | viewport = { 33 | top: window.scrollTop(), 34 | right: window.width() + window.scrollLeft() 35 | }; 36 | current = { 37 | top: offset.top, 38 | right: offset.left + widget.width() 39 | }; 40 | if ((current.top - viewport.top) < 0) { 41 | this.invertY(); 42 | } 43 | if ((current.right - viewport.right) > 0) { 44 | this.invertX(); 45 | } 46 | return this; 47 | }; 48 | 49 | Widget.prototype.resetOrientation = function() { 50 | this.element.removeClass(this.classes.invert.x).removeClass(this.classes.invert.y); 51 | return this; 52 | }; 53 | 54 | Widget.prototype.invertX = function() { 55 | this.element.addClass(this.classes.invert.x); 56 | return this; 57 | }; 58 | 59 | Widget.prototype.invertY = function() { 60 | this.element.addClass(this.classes.invert.y); 61 | return this; 62 | }; 63 | 64 | Widget.prototype.isInvertedY = function() { 65 | return this.element.hasClass(this.classes.invert.y); 66 | }; 67 | 68 | Widget.prototype.isInvertedX = function() { 69 | return this.element.hasClass(this.classes.invert.x); 70 | }; 71 | 72 | return Widget; 73 | 74 | })(Delegator); 75 | 76 | /* 77 | //@ sourceMappingURL=widget.map 78 | */ 79 | -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/widget.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "widget.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "src/widget.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAEA,IAAA;kSAAA;;AAAM,CAAN,QAAe;CAEb;;CAAA,EACE,IADF;CACE,CAAM,EAAN,YAAA;CAAA,CAEE,EADF,EAAA;CACE,CAAG,IAAH,cAAA;CAAA,CACG,IAAH,cADA;MAFF;CADF,GAAA;;CAiBa,CAAA,CAAA,IAAA,SAAC;CACZ,GAAA,KAAA,gCAAA;CAAA,CACW,CAAA,CAAX,EAAW,CAAX,EAAiC;CAnBnC,EAiBa;;CAjBb,EAwBS,IAAT,EAAS;CACP,GAAA,QAAA;CACC,GAAA,EAAD,CAAQ,IAAR;CA1BF,EAwBS;;CAxBT,EA4BkB,MAAA,OAAlB;CACE,OAAA,iCAAA;CAAA,GAAA,YAAA;CAAA,EAEW,CAAX,EAAA,GAAsB;CAFtB,EAGW,CAAX,EAAA,CAAmB,CAAR;CAHX,EAIW,CAAX,EAAA;CAJA,EAKW,CAAX,IAAA;CAAW,CACF,CAAP,GAAA,GAAO;CADE,CAEF,CAAiB,EAAxB,CAAA,IAAwB;CAP1B,KAAA;CAAA,EASU,CAAV,GAAA;CAAU,CACD,CAAP,GAAA;CADQ,CAED,CAAc,CAAd,CAAP,CAAA;CAXF,KAAA;CAcA,EAAI,CAAJ,GAAW,CAAe;CACxB,GAAI,EAAJ,CAAA;MAfF;CAiBA,EAAoB,CAApB,CAAI,EAAO,CAAiB;CAC1B,GAAI,EAAJ,CAAA;MAlBF;CADgB,UAqBhB;CAjDF,EA4BkB;;CA5BlB,EA0DkB,MAAA,OAAlB;CACE,GAAA,EAAoC,CAA5B,IAAR;CADgB,UAEhB;CA5DF,EA0DkB;;CA1DlB,EAqES,IAAT,EAAS;CACP,GAAA,EAAiC,CAAzB,CAAR;CADO,UAEP;CAvEF,EAqES;;CArET,EAgFS,IAAT,EAAS;CACP,GAAA,EAAiC,CAAzB,CAAR;CADO,UAEP;CAlFF,EAgFS;;CAhFT,EAuFa,MAAA,EAAb;CACG,GAAA,EAAgC,CAAzB,CAAR,GAAA;CAxFF,EAuFa;;CAvFb,EA6Fa,MAAA,EAAb;CACG,GAAA,EAAgC,CAAzB,CAAR,GAAA;CA9FF,EA6Fa;;CA7Fb;;CAF6B" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/annotator/lib/xpath.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "xpath.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "src/xpath.coffee" 7 | ], 8 | "names": [], 9 | "mapp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AAA;AAAO,CAAP,CAAA,EAAA,SAAO;CACL,GAAU,CAAA,KAAA,0BAAA;IADZ;CAAA,CAEA,CAAW,CAAI,IAAf,EAFA;CAAA,CAGA,CAAQ,EAAR;AACA,CAAA,MAAA,wCAAA;0BAAA;CACE,EAAO,CAAP,CAAO,MAAA;CACP,GAAA,CAAW;CACT,GAAS,CAAT,CAAA;CACA,GAAG,CAAA,CAAH;CACE,IAAA,UAAO;QAHX;MAFF;CAAA,EAJA;CAUA,GAAU,CAAA,GAAA,8BAAA;CAXA;;AAcZ,CA5DA,EA4Dc,CAAA,KAAC,EAAf;CACI,KAAA,EAAA;CAAA,CAAA,CAAW,CAAI,IAAf,GAAW;CACX,OAAA,EAAO;CAAP,MAAA,EACO;CAAa,OAAA,KAAO;CAD3B,QAEO,CAFP;CAEuB,UAAA,EAAO;CAF9B,QAGO,OAHP;CAG6B,YAAO,IAAP;CAH7B;CAIO,OAAA,KAAO;CAJd,EAFU;CAAA;;AASd,CArEA,EAqEkB,CAAA,KAAC,MAAnB;CACE,KAAA,EAAA;CAAA,CAAA,CAAA;CAAA,CACA,CAAA,CADA;CAEA,EAAA,MAAM;CACJ,EAAM,CAAN,CAAmB,GAAhB;AACD,CAAA,CAAA,CAAA,GAAA;MADF;CAAA,EAEA,CAAA,WAFA;CAHF,EAEA;CAHgB,QAOhB;CAPgB" 10 | } -------------------------------------------------------------------------------- /epub.js/libs/fileStorage/workers/loader_filesystem.min.js: -------------------------------------------------------------------------------- 1 | /*! fileStorage - v0.1.0 - 2013-06-04 */var fileStorage = fileStorage || {}; 2 | var _requestFileSystem=self.requestFileSystem||self.webkitRequestFileSystem;const DBSIZE=5242880,DBTYPE=TEMPORARY;self.onmessage=function(e){var t=e.data;self.request(t,function(e){self.save(t,e,function(){self.postMessage(t)})})},self.openFs=function(e){if(self._fs){e&&e(self._fs);return}_requestFileSystem(DBTYPE,DBSIZE,function(t){self._fs=t,e&&e(t)},self.failure)},self.request=function(e,t){var n=new self.loadFile(e);n.succeeded=function(e){t&&t(e)},n.failed=function(e){self.postMessage("failed: "+e.toString())},n.start()},self.save=function(e,t,n){self.openFs(function(r){var i=e.split("/").slice(0,-1);self.createDir(r.root,i),r.root.getFile(e,{create:!0},function(r){r.createWriter(function(r){r.onwriteend=function(e){n(e)},r.onerror=function(t){self.postMessage("write error:"+self.errorHandler(err)+" path="+e)},r.write(t)})},self.failure)})},self.createDir=function(e,t){if(t[0]=="."||t[0]=="")t=t.slice(1);e.getDirectory(t[0],{create:!0},function(e){t.length&&createDir(e,t.slice(1))},self.failure)},self.failure=function(e){self.postMessage("failed: "+self.errorHandler(e))},self.errorHandler=function(e){switch(e.code){case FileError.QUOTA_EXCEEDED_ERR:return"QUOTA_EXCEEDED_ERR";case FileError.NOT_FOUND_ERR:return"NOT_FOUND_ERR";case FileError.SECURITY_ERR:return"SECURITY_ERR";case FileError.INVALID_MODIFICATION_ERR:return"INVALID_MODIFICATION_ERR";case FileError.INVALID_STATE_ERR:return"INVALID_STATE_ERR";default:return"Unknown Error"}},self.loadFile=function(e,t){var n=new XMLHttpRequest;return this.succeeded=function(e){t&&t(e)},this.failed=function(e){console.log("Error:",e)},this.start=function(){var t=this;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){this.status==200&&t.succeeded(this.response)},n.onerror=function(e){t.failed(this.status)},n.send()},{start:this.start,succeeded:this.succeeded,failed:this.failed}},self.openFs(); -------------------------------------------------------------------------------- /epub.js/libs/screenfull.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * screenfull 3 | * v1.1.0 - 2013-09-06 4 | * https://github.com/sindresorhus/screenfull.js 5 | * (c) Sindre Sorhus; MIT License 6 | */ 7 | !function(a,b){"use strict";var c="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,d=function(){for(var a,c,d=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenchange","MSFullscreenerror"]],e=0,f=d.length,g={};f>e;e++)if(a=d[e],a&&a[1]in b){for(e=0,c=a.length;c>e;e++)g[d[0][e]]=a[e];return g}return!1}(),e={request:function(a){var e=d.requestFullscreen;a=a||b.documentElement,/5\.1[\.\d]* Safari/.test(navigator.userAgent)?a[e]():a[e](c&&Element.ALLOW_KEYBOARD_INPUT)},exit:function(){b[d.exitFullscreen]()},toggle:function(a){this.isFullscreen?this.exit():this.request(a)},onchange:function(){},onerror:function(){},raw:d};return d?(Object.defineProperties(e,{isFullscreen:{get:function(){return!!b[d.fullscreenElement]}},element:{enumerable:!0,get:function(){return b[d.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return!!b[d.fullscreenEnabled]}}}),b.addEventListener(d.fullscreenchange,function(a){e.onchange.call(e,a)}),b.addEventListener(d.fullscreenerror,function(a){e.onerror.call(e,a)}),a.screenfull=e,void 0):(a.screenfull=!1,void 0)}(window,document); -------------------------------------------------------------------------------- /epub.js/license: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013, FuturePress 2 | 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this 9 | list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 15 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 16 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 18 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 20 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 23 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | 25 | The views and conclusions contained in the software and documentation are those 26 | of the authors and should not be interpreted as representing official policies, 27 | either expressed or implied, of the FreeBSD Project. 28 | -------------------------------------------------------------------------------- /epub.js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EpubJS", 3 | "version": "0.2.1", 4 | "repository": "https://github.com/futurepress/epub.js", 5 | "devDependencies": { 6 | "grunt": "~0.4.4", 7 | "grunt-contrib-connect": "~0.7.1", 8 | "connect": "~2.14.4", 9 | "colors": "~0.6.2", 10 | "optimist": "~0.6.1", 11 | "portfinder": "~0.2.1", 12 | "grunt-contrib-concat": "~0.4.0", 13 | "grunt-contrib-uglify": "~0.4.0", 14 | "grunt-contrib-jshint": "~0.10.0", 15 | "grunt-contrib-copy": "~0.5.0", 16 | "grunt-concat-sourcemap": "~0.4.1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /epub.js/reader/css/annotations.css: -------------------------------------------------------------------------------- 1 | .ui-loader { 2 | display: none; 3 | } 4 | 5 | .annotator-hl { 6 | box-shadow: none !important; 7 | cursor: pointer !important; 8 | } -------------------------------------------------------------------------------- /epub.js/reader/css/popup.css: -------------------------------------------------------------------------------- 1 | /* http://davidwalsh.name/css-tooltips */ 2 | /* base CSS element */ 3 | .popup { 4 | background: #eee; 5 | border: 1px solid #ccc; 6 | padding: 10px; 7 | border-radius: 8px; 8 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 9 | position: fixed; 10 | max-width: 300px; 11 | font-size: 12px; 12 | 13 | display: none; 14 | margin-left: 2px; 15 | 16 | margin-top: 30px; 17 | } 18 | 19 | .popup.above { 20 | margin-top: -10px; 21 | } 22 | 23 | .popup.left { 24 | margin-left: -20px; 25 | } 26 | 27 | .popup.right { 28 | margin-left: 40px; 29 | } 30 | 31 | .pop_content { 32 | max-height: 225px; 33 | overflow-y: auto; 34 | } 35 | 36 | .pop_content > p { 37 | margin-top: 0; 38 | } 39 | 40 | /* below */ 41 | .popup:before { 42 | position: absolute; 43 | display: inline-block; 44 | border-bottom: 10px solid #eee; 45 | border-right: 10px solid transparent; 46 | border-left: 10px solid transparent; 47 | border-bottom-color: rgba(0, 0, 0, 0.2); 48 | left: 50%; 49 | top: -10px; 50 | margin-left: -6px; 51 | content: ''; 52 | } 53 | 54 | .popup:after { 55 | position: absolute; 56 | display: inline-block; 57 | border-bottom: 9px solid #eee; 58 | border-right: 9px solid transparent; 59 | border-left: 9px solid transparent; 60 | left: 50%; 61 | top: -9px; 62 | margin-left: -5px; 63 | content: ''; 64 | } 65 | 66 | /* above */ 67 | .popup.above:before { 68 | border-bottom: none; 69 | border-top: 10px solid #eee; 70 | border-top-color: rgba(0, 0, 0, 0.2); 71 | top: 100%; 72 | } 73 | 74 | .popup.above:after { 75 | border-bottom: none; 76 | border-top: 9px solid #eee; 77 | top: 100%; 78 | } 79 | 80 | .popup.left:before, 81 | .popup.left:after 82 | { 83 | left: 20px; 84 | } 85 | 86 | .popup.right:before, 87 | .popup.right:after 88 | { 89 | left: auto; 90 | right: 20px; 91 | } 92 | 93 | 94 | .popup.show, .popup.on { 95 | display: block; 96 | } -------------------------------------------------------------------------------- /epub.js/reader/font/fontello.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martahilmar/gnome-books/999c153dcfab1a276cd44b43551acdd2b73cbe03/epub.js/reader/font/fontello.eot -------------------------------------------------------------------------------- /epub.js/reader/font/fontello.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martahilmar/gnome-books/999c153dcfab1a276cd44b43551acdd2b73cbe03/epub.js/reader/font/fontello.ttf -------------------------------------------------------------------------------- /epub.js/reader/font/fontello.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martahilmar/gnome-books/999c153dcfab1a276cd44b43551acdd2b73cbe03/epub.js/reader/font/fontello.woff -------------------------------------------------------------------------------- /epub.js/reader/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 |Some chapters back, one Bulkington was spoken of, a tall, newlanded mariner, encountered in New Bedford at the inn.
12 |When on that shivering winter’s night, the Pequod thrust her vindictive bows into the cold malicious waves, who should I see standing at her helm but Bulkington! I looked with sympathetic awe and fearfulness upon the man, who in mid-winter just landed from a four years’ dangerous voyage, could so unrestingly push off again for still another tempestuous term. The land seemed scorching to his feet. Wonderfullest things are ever the unmentionable; deep memories yield no epitaphs; this six-inch chapter is the stoneless grave of Bulkington. Let me only say that it fared with him as with the storm-tossed ship, that miserably drives along the leeward land. The port would fain give succor; the port is pitiful; in the port is safety, comfort, hearthstone, supper, warm blankets, friends, all that’s kind to our mortalities. But in that gale, the port, the land, is that ship’s direst jeopardy; she must fly all hospitality; one touch of land, though it but graze the keel, would make her shudder through and through. With all her might she crowds all sail off shore; in so doing, fights 'gainst the very winds that fain would blow her homeward; seeks all the lashed sea’s landlessness again; for refuge’s sake forlornly rushing into peril; her only friend her bitterest foe!
13 |Know ye now, Bulkington? Glimpses do ye seem to see of that mortally intolerable truth; that all deep, earnest thinking is but the intrepid effort of the soul to keep the open independence of her sea; while the wildest winds of heaven and earth conspire to cast her on the treacherous, slavish shore?
14 |But as in landlessness alone resides highest truth, shoreless, indefinite as God—so, better is it to perish in that howling infinite, than be ingloriously dashed upon the lee, even if that were safety! For worm-like, then, oh! who would craven crawl to land! Terrors of the terrible! is all this agony so vain? Take heart, take heart, O Bulkington! Bear thee grimly, demigod! Up from the spray of thy ocean-perishing—straight up, leaps thy apotheosis!
15 |In behalf of the dignity of whaling, I would fain advance naught but substantiated facts. But after embattling his facts, an advocate who should wholly suppress a not unreasonable surmise, which might tell eloquently upon his cause—such an advocate, would he not be blameworthy?
12 |It is well known that at the coronation of kings and queens, even modern ones, a certain curious process of seasoning them for their functions is gone through. There is a saltcellar of state, so called, and there may be a castor of state. How they use the salt, precisely—who knows? Certain I am, however, that a king’s head is solemnly oiled at his coronation, even as a head of salad. Can it be, though, that they anoint it with a view of making its interior run well, as they anoint machinery? Much might be ruminated here, concerning the essential dignity of this regal process, because in common life we esteem but meanly and contemptibly a fellow who anoints his hair, and palpably smells of that anointing. In truth, a mature man who uses hair-oil, unless medicinally, that man has probably got a quoggy spot in him somewhere. As a general rule, he can’t amount to much in his totality.
13 |But the only thing to be considered here, is this—what kind of oil is used at coronations? Certainly it cannot be olive oil, nor macassar oil, nor castor oil, nor bear’s oil, nor train oil, nor cod-liver oil. What then can it possibly be, but sperm oil in its unmanufactured, unpolluted state, the sweetest of all oils?
14 |Think of that, ye loyal Britons! we whalemen supply your kings and queens with coronation stuff!
15 |When Stubb had departed, Ahab stood for a while leaning over the bulwarks; and then, as had been usual with him of late, calling a sailor of the watch, he sent him below for his ivory stool, and also his pipe. Lighting the pipe at the binnacle lamp and planting the stool on the weather side of the deck, he sat and smoked.
12 |In old Norse times, the thrones of the sea-loving Danish kings were fabricated, saith tradition, of the tusks of the narwhale. How could one look at Ahab then, seated on that tripod of bones, without bethinking him of the royalty it symbolized? For a Khan of the plank, and a king of the sea, and a great lord of Leviathans was Ahab.
13 |Some moments passed, during which the thick vapour came from his mouth in quick and constant puffs, which blew back again into his face. “How now,” he soliloquized at last, withdrawing the tube, “this smoking no longer soothes. Oh, my pipe! hard must it go with me if thy charm be gone! Here have I been unconsciously toiling, not pleasuring—aye, and ignorantly smoking to windward all the while; to windward, and with such nervous whiffs, as if, like the dying whale, my final jets were the strongest and fullest of trouble. What business have I with this pipe? This thing that is meant for sereneness, to send up mild white vapours among mild white hairs, not among torn iron-grey locks like mine. I’ll smoke no more—”
14 |He tossed the still lighted pipe into the sea. The fire hissed in the waves; the same instant the ship shot by the bubble the sinking pipe made. With slouched hat, Ahab lurchingly paced the planks.
15 |BY THE MAINMAST; STARBUCK LEANING AGAINST IT.
12 |My soul is more than matched; she’s overmanned; and by a madman! Insufferable sting, that sanity should ground arms on such a field! But he drilled deep down, and blasted all my reason out of me! I think I see his impious end; but feel that I must help him to it. Will I, nill I, the ineffable thing has tied me to him; tows me with a cable I have no knife to cut. Horrible old man! Who’s over him, he cries;—aye, he would be a democrat to all above; look, how he lords it over all below! Oh! I plainly see my miserable office,—to obey, rebelling; and worse yet, to hate with touch of pity! For in his eyes I read some lurid woe would shrivel me up, had I it. Yet is there hope. Time and tide flow wide. The hated whale has the round watery world to swim in, as the small gold-fish has its glassy globe. His heaven-insulting purpose, God may wedge aside. I would up heart, were it not like lead. But my whole clock’s run down; my heart the all-controlling weight, I have no key to lift again.
13 |[A BURST OF REVELRY FROM THE FORECASTLE.]
14 |Oh, God! to sail with such a heathen crew that have small touch of human mothers in them! Whelped somewhere by the sharkish sea. The white whale is their demigorgon. Hark! the infernal orgies! that revelry is forward! mark the unfaltering silence aft! Methinks it pictures life. Foremost through the sparkling sea shoots on the gay, embattled, bantering bow, but only to drag dark Ahab after it, where he broods within his sternward cabin, builded over the dead water of the wake, and further on, hunted by its wolfish gurglings. The long howl thrills me through! Peace! ye revellers, and set the watch! Oh, life! 'tis in an hour like this, with soul beat down and held to knowledge,—as wild, untutored things are forced to feed—Oh, life! 'tis now that I do feel the latent horror in thee! but 'tis not me! that horror’s out of me! and with the soft feeling of the human in me, yet will I try to fight ye, ye grim, phantom futures! Stand by me, hold me, bind me, O ye blessed influences!
15 |Fore-Top.
(STUBB SOLUS, AND MENDING A BRACE.)
13 |Ha! ha! ha! ha! hem! clear my throat!—I’ve been thinking over it ever since, and that ha, ha’s the final consequence. Why so? Because a laugh’s the wisest, easiest answer to all that’s queer; and come what will, one comfort’s always left—that unfailing comfort is, it’s all predestinated. I heard not all his talk with Starbuck; but to my poor eye Starbuck then looked something as I the other evening felt. Be sure the old Mogul has fixed him, too. I twigged it, knew it; had had the gift, might readily have prophesied it—for when I clapped my eye upon his skull I saw it. Well, Stubb, WISE Stubb—that’s my title—well, Stubb, what of it, Stubb? Here’s a carcase. I know not all that may be coming, but be it what it will, I’ll go to it laughing. Such a waggish leering as lurks in all your horribles! I feel funny. Fa, la! lirra, skirra! What’s my juicy little pear at home doing now? Crying its eyes out?—Giving a party to the last arrived harpooneers, I dare say, gay as a frigate’s pennant, and so am I—fa, la! lirra, skirra! Oh—
14 |We’ll drink to-night with hearts as light, To love, as gay and fleeting As bubbles that swim, on the beaker’s brim, And break on the lips while meeting.
15 |A brave stave that—who calls? Mr. Starbuck? Aye, aye, sir—(ASIDE) he’s my superior, he has his too, if I’m not mistaken.—Aye, aye, sir, just through with this job—coming.
16 |“HIST! Did you hear that noise, Cabaco?”
12 |It was the middle-watch; a fair moonlight; the seamen were standing in a cordon, extending from one of the fresh-water butts in the waist, to the scuttle-butt near the taffrail. In this manner, they passed the buckets to fill the scuttle-butt. Standing, for the most part, on the hallowed precincts of the quarter-deck, they were careful not to speak or rustle their feet. From hand to hand, the buckets went in the deepest silence, only broken by the occasional flap of a sail, and the steady hum of the unceasingly advancing keel.
13 |It was in the midst of this repose, that Archy, one of the cordon, whose post was near the after-hatches, whispered to his neighbor, a Cholo, the words above.
14 |“Hist! did you hear that noise, Cabaco?”
15 |“Take the bucket, will ye, Archy? what noise d’ye mean?”
16 |“There it is again—under the hatches—don’t you hear it—a cough—it sounded like a cough.”
17 |“Cough be damned! Pass along that return bucket.”
18 |“There again—there it is!—it sounds like two or three sleepers turning over, now!”
19 |“Caramba! have done, shipmate, will ye? It’s the three soaked biscuits ye eat for supper turning over inside of ye—nothing else. Look to the bucket!”
20 |“Say what ye will, shipmate; I’ve sharp ears.”
21 |“Aye, you are the chap, ain’t ye, that heard the hum of the old Quakeress’s knitting-needles fifty miles at sea from Nantucket; you’re the chap.”
22 |“Grin away; we’ll see what turns up. Hark ye, Cabaco, there is somebody down in the after-hold that has not yet been seen on deck; and I suspect our old Mogul knows something of it too. I heard Stubb tell Flask, one morning watch, that there was something of that sort in the wind.”
23 |“Tish! the bucket!”
24 |Haul in the chains! Let the carcase go astern!
12 |The vast tackles have now done their duty. The peeled white body of the beheaded whale flashes like a marble sepulchre; though changed in hue, it has not perceptibly lost anything in bulk. It is still colossal. Slowly it floats more and more away, the water round it torn and splashed by the insatiate sharks, and the air above vexed with rapacious flights of screaming fowls, whose beaks are like so many insulting poniards in the whale. The vast white headless phantom floats further and further from the ship, and every rod that it so floats, what seem square roods of sharks and cubic roods of fowls, augment the murderous din. For hours and hours from the almost stationary ship that hideous sight is seen. Beneath the unclouded and mild azure sky, upon the fair face of the pleasant sea, wafted by the joyous breezes, that great mass of death floats on and on, till lost in infinite perspectives.
13 |There’s a most doleful and most mocking funeral! The sea-vultures all in pious mourning, the air-sharks all punctiliously in black or speckled. In life but few of them would have helped the whale, I ween, if peradventure he had needed it; but upon the banquet of his funeral they most piously do pounce. Oh, horrible vultureism of earth! from which not the mightiest whale is free.
14 |Nor is this the end. Desecrated as the body is, a vengeful ghost survives and hovers over it to scare. Espied by some timid man-of-war or blundering discovery-vessel from afar, when the distance obscuring the swarming fowls, nevertheless still shows the white mass floating in the sun, and the white spray heaving high against it; straightway the whale’s unharming corpse, with trembling fingers is set down in the log—SHOALS, ROCKS, AND BREAKERS HEREABOUTS: BEWARE! And for years afterwards, perhaps, ships shun the place; leaping over it as silly sheep leap over a vacuum, because their leader originally leaped there when a stick was held. There’s your law of precedents; there’s your utility of traditions; there’s the story of your obstinate survival of old beliefs never bottomed on the earth, and now not even hovering in the air! There’s orthodoxy!
15 |Thus, while in life the great whale’s body may have been a real terror to his foes, in his death his ghost becomes a powerless panic to a world.
16 |Are you a believer in ghosts, my friend? There are other ghosts than the Cock-Lane one, and far deeper men than Doctor Johnson who believe in them.
17 |Had you descended from the Pequod’s try-works to the Pequod’s forecastle, where the off duty watch were sleeping, for one single moment you would have almost thought you were standing in some illuminated shrine of canonized kings and counsellors. There they lay in their triangular oaken vaults, each mariner a chiselled muteness; a score of lamps flashing upon his hooded eyes.
12 |In merchantmen, oil for the sailor is more scarce than the milk of queens. To dress in the dark, and eat in the dark, and stumble in darkness to his pallet, this is his usual lot. But the whaleman, as he seeks the food of light, so he lives in light. He makes his berth an Aladdin’s lamp, and lays him down in it; so that in the pitchiest night the ship’s black hull still houses an illumination.
13 |See with what entire freedom the whaleman takes his handful of lamps—often but old bottles and vials, though—to the copper cooler at the try-works, and replenishes them there, as mugs of ale at a vat. He burns, too, the purest of oil, in its unmanufactured, and, therefore, unvitiated state; a fluid unknown to solar, lunar, or astral contrivances ashore. It is sweet as early grass butter in April. He goes and hunts for his oil, so as to be sure of its freshness and genuineness, even as the traveller on the prairie hunts up his own supper of game.
14 |When gliding by the Bashee isles we emerged at last upon the great South Sea; were it not for other things, I could have greeted my dear Pacific with uncounted thanks, for now the long supplication of my youth was answered; that serene ocean rolled eastwards from me a thousand leagues of blue.
12 |There is, one knows not what sweet mystery about this sea, whose gently awful stirrings seem to speak of some hidden soul beneath; like those fabled undulations of the Ephesian sod over the buried Evangelist St. John. And meet it is, that over these sea-pastures, wide-rolling watery prairies and Potters’ Fields of all four continents, the waves should rise and fall, and ebb and flow unceasingly; for here, millions of mixed shades and shadows, drowned dreams, somnambulisms, reveries; all that we call lives and souls, lie dreaming, dreaming, still; tossing like slumberers in their beds; the ever-rolling waves but made so by their restlessness.
13 |To any meditative Magian rover, this serene Pacific, once beheld, must ever after be the sea of his adoption. It rolls the midmost waters of the world, the Indian ocean and Atlantic being but its arms. The same waves wash the moles of the new-built Californian towns, but yesterday planted by the recentest race of men, and lave the faded but still gorgeous skirts of Asiatic lands, older than Abraham; while all between float milky-ways of coral isles, and low-lying, endless, unknown Archipelagoes, and impenetrable Japans. Thus this mysterious, divine Pacific zones the world’s whole bulk about; makes all coasts one bay to it; seems the tide-beating heart of earth. Lifted by those eternal swells, you needs must own the seductive god, bowing your head to Pan.
14 |But few thoughts of Pan stirred Ahab’s brain, as standing like an iron statue at his accustomed place beside the mizen rigging, with one nostril he unthinkingly snuffed the sugary musk from the Bashee isles (in whose sweet woods mild lovers must be walking), and with the other consciously inhaled the salt breath of the new found sea; that sea in which the hated White Whale must even then be swimming. Launched at length upon these almost final waters, and gliding towards the Japanese cruising-ground, the old man’s purpose intensified itself. His firm lips met like the lips of a vice; the Delta of his forehead’s veins swelled like overladen brooks; in his very sleep, his ringing cry ran through the vaulted hull, “Stern all! the White Whale spouts thick blood!”
15 |“We must send down the main-top-sail yard, sir. The band is working loose and the lee lift is half-stranded. Shall I strike it, sir?”
13 |“Strike nothing; lash it. If I had sky-sail poles, I’d sway them up now.”
14 |“Sir!—in God’s name!—sir?”
15 |“Well.”
16 |“The anchors are working, sir. Shall I get them inboard?”
17 |“Strike nothing, and stir nothing, but lash everything. The wind rises, but it has not got up to my table-lands yet. Quick, and see to it.—By masts and keels! he takes me for the hunch-backed skipper of some coasting smack. Send down my main-top-sail yard! Ho, gluepots! Loftiest trucks were made for wildest winds, and this brain-truck of mine now sails amid the cloud-scud. Shall I strike that? Oh, none but cowards send down their brain-trucks in tempest time. What a hooroosh aloft there! I would e’en take it for sublime, did I not know that the colic is a noisy malady. Oh, take medicine, take medicine!”
18 |THE MAIN-TOP-SAIL YARD.—TASHTEGO PASSING NEW LASHINGS AROUND IT.
12 |“Um, um, um. Stop that thunder! Plenty too much thunder up here. What’s the use of thunder? Um, um, um. We don’t want thunder; we want rum; give us a glass of rum. Um, um, um!”
13 |The intense Pequod sailed on; the rolling waves and days went by; the life-buoy-coffin still lightly swung; and another ship, most miserably misnamed the Delight, was descried. As she drew nigh, all eyes were fixed upon her broad beams, called shears, which, in some whaling-ships, cross the quarter-deck at the height of eight or nine feet; serving to carry the spare, unrigged, or disabled boats.
12 |Upon the stranger’s shears were beheld the shattered, white ribs, and some few splintered planks, of what had once been a whale-boat; but you now saw through this wreck, as plainly as you see through the peeled, half-unhinged, and bleaching skeleton of a horse.
13 |“Hast seen the White Whale?”
14 |“Look!” replied the hollow-cheeked captain from his taffrail; and with his trumpet he pointed to the wreck.
15 |“Hast killed him?”
16 |“The harpoon is not yet forged that ever will do that,” answered the other, sadly glancing upon a rounded hammock on the deck, whose gathered sides some noiseless sailors were busy in sewing together.
17 |“Not forged!” and snatching Perth’s levelled iron from the crotch, Ahab held it out, exclaiming—"Look ye, Nantucketer; here in this hand I hold his death! Tempered in blood, and tempered by lightning are these barbs; and I swear to temper them triply in that hot place behind the fin, where the White Whale most feels his accursed life!”
18 |“Then God keep thee, old man—see’st thou that"—pointing to the hammock—"I bury but one of five stout men, who were alive only yesterday; but were dead ere night. Only THAT one I bury; the rest were buried before they died; you sail upon their tomb.” Then turning to his crew—"Are ye ready there? place the plank then on the rail, and lift the body; so, then—Oh! God"—advancing towards the hammock with uplifted hands—"may the resurrection and the life—”
19 |“Brace forward! Up helm!” cried Ahab like lightning to his men.
20 |But the suddenly started Pequod was not quick enough to escape the sound of the splash that the corpse soon made as it struck the sea; not so quick, indeed, but that some of the flying bubbles might have sprinkled her hull with their ghostly baptism.
21 |As Ahab now glided from the dejected Delight, the strange life-buoy hanging at the Pequod’s stern came into conspicuous relief.
22 |“Ha! yonder! look yonder, men!” cried a foreboding voice in her wake. “In vain, oh, ye strangers, ye fly our sad burial; ye but turn us your taffrail to show us your coffin!”
23 |“AND I ONLY AM ESCAPED ALONE TO TELL THEE”
13 |—Job.
14 |The drama’s done. Why then here does any one step forth?—Because one did survive the wreck.
17 |It so chanced, that after the Parsee’s disappearance, I was he whom the Fates ordained to take the place of Ahab’s bowsman, when that bowsman assumed the vacant post; the same, who, when on the last day the three men were tossed from out of the rocking boat, was dropped astern. So, floating on the margin of the ensuing scene, and in full sight of it, when the halfspent suction of the sunk ship reached me, I was then, but slowly, drawn towards the closing vortex. When I reached it, it had subsided to a creamy pool. Round and round, then, and ever contracting towards the button-like black bubble at the axis of that slowly wheeling circle, like another Ixion I did revolve. Till, gaining that vital centre, the black bubble upward burst; and now, liberated by reason of its cunning spring, and, owing to its great buoyancy, rising with great force, the coffin life-buoy shot lengthwise from the sea, fell over, and floated by my side. Buoyed up by that coffin, for almost one whole day and night, I floated on a soft and dirgelike main. The unharming sharks, they glided by as if with padlocks on their mouths; the savage sea-hawks sailed with sheathed beaks. On the second day, a sail drew near, nearer, and picked me up at last. It was the devious-cruising Rachel, that in her retracing search after her missing children, only found another orphan.
11 | The Project Gutenberg EBook of Moby-Dick; or The Whale, by Herman Melville 12 |
13 | 14 |15 | This eBook is for the use of anyone anywhere at no cost and with 16 | almost no restrictions whatsoever. You may copy it, give it away or 17 | re-use it under the terms of the Project Gutenberg License included 18 | with this eBook or online at www.gutenberg.org 19 |
20 | 21 | 22 |23 | Title: Moby-Dick; or The Whale 24 |
25 | 26 |27 | Author: Herman Melville 28 |
29 | 30 |31 | Last Updated: January 3, 2009 32 |
33 |34 | Posting Date: December 25, 2008 [EBook #2701] 35 |
36 |37 | Release Date: June, 2001 38 |
39 | 40 |41 | Language: English 42 |
43 | 44 |45 | Produced by Daniel Lazarus and Jonesey 46 |
47 |(Supplied by a Late Consumptive Usher to a Grammar School)
The pale Usher—threadbare in coat, heart, body, and brain; I see him now. He was ever dusting his old lexicons and grammars, with a queer handkerchief, mockingly embellished with all the gay flags of all the known nations of the world. He loved to dust his old grammars; it somehow mildly reminded him of his mortality.
13 |“While you take in hand to school others, and to teach them by what name a whale-fish is to be called in our tongue leaving out, through ignorance, the letter H, which almost alone maketh the signification of the word, you deliver that which is not true.”
16 |—HACKLUYT
17 |“WHALE.... Sw. and Dan. HVAL. This animal is named from roundness or rolling; for in Dan. HVALT is arched or vaulted.”
20 |—WEBSTER’S DICTIONARY
21 |“WHALE.... It is more immediately from the Dut. and Ger. WALLEN; A.S. WALW-IAN, to roll, to wallow.”
24 |—RICHARDSON’S DICTIONARY
25 |KETOS, GREEK.
28 |CETUS, LATIN.
29 |WHOEL, ANGLO-SAXON.
30 |HVALT, DANISH.
31 |WAL, DUTCH.
32 |HWAL, SWEDISH.
33 |WHALE, ICELANDIC.
34 |WHALE, ENGLISH.
35 |BALEINE, FRENCH.
36 |BALLENA, SPANISH.
37 |PEKEE-NUEE-NUEE, FEGEE.
38 |PEKEE-NUEE-NUEE, ERROMANGOAN.
39 |This text is a combination of etexts, one from the now-defunct ERIS project at Virginia Tech and one from Project Gutenberg’s archives. The proofreaders of this version are indebted to The University of Adelaide Library for preserving the Virginia Tech version. The resulting etext was compared with a public domain hard copy version of the text.
14 |In chapters 24, 89, and 90, we substituted a capital L for the symbol for the British pound, a unit of currency.1
15 | 16 | 19 | 20 | 21 |
THE LIFESTONE CHRONICLES
23 |
By DAVID STEVENS
25 |
The 20 | Lifestone Chronicles
21 |By David 22 | Stevens
23 |Smashwords 24 | Edition
25 |Copyright 26 | 2014 by David Stevens
27 |28 |
Smashwords Edition, License
29 | Notes
30 |
31 | This ebook is licensed for your personal enjoyment only. This ebook
32 | may not be re-sold or given away to other people. If you would like
33 | to share this book with another person, please purchase an
34 | additional copy for each recipient. If you’re reading this book and
35 | did not purchase it, or it was not purchased for your use only,
36 | then please return to Smashwords.com and purchase your own copy.
37 | Thank you for respecting the hard work of this author.
To all that believed. Thank you all.
22 |David Stevens.
23 | 24 | 25 | -------------------------------------------------------------------------------- /epub.js/reader/the-lifestone/tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_004.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |This, the trilogy of the Lifestone Chronicles begins 21 | with:-
22 |‘Foundation of a King’s Legend’
23 |The story of the boy Arthur, who is destined to be 24 | the King of Kings; he unwittingly usurps a lawful and expectant boy 25 | King in waiting, which becomes a battle between good and evil, a 26 | battle between boyhood friends, with supremacy as the prize. In 27 | theory it is the battle to end all battles, whilst creating the 28 | foundation of the entity which becomes the Lifestone. The dark lord 29 | is created, the magic unleashed, the future of all hangs in the 30 | balance...
31 | 32 | 33 | -------------------------------------------------------------------------------- /epub.js/reader/the-lifestone/tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_005.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |Centuries pass during which the world of the 21 | elves and dwarfs fade from sight, to be replaced by the rising of 22 | humanity. Legends existing in the world of the King, became stories 23 | told to children or written about as fantasy. The King's name still 24 | lives, though many doubt the truth of his existence. Whilst all of 25 | the changes occurred the King and his knights slept on safe and 26 | protected by the Lifestone.
27 |Vindec lives through these changes, slowly 28 | growing old but still holding on and always waiting for the call of 29 | the Lifestone. Many times the King and his knights sallied fourth, 30 | defending the true and honest, vanquishing the evil and demonic, 31 | but these episodes failed to be understood by the rulers known as 32 | man. With each battle fought, with each breakout from the abyss, 33 | the King grew weaker, until finally he returned to the Olar and 34 | failed to make it into the cavern. His body turned to stone and he 35 | lay safely hidden in the accompaniment of the very few of his 36 | surviving knights.
37 |The King has passed from life into shade, but 38 | his entity lived on within the bounds of the Olar! Still as always 39 | ready to defend the weak, and drive evil from his realm.
40 |The Lifestone took account of the situation, 41 | it made arrangements for the future, it sought out humans to become 42 | the Users of the King's power, the vessels which could carry the 43 | entity of the true King out to battle against the dark forces, it 44 | maintained the prophesies that had seen its creation.
45 |The End.
46 | 47 | 48 | -------------------------------------------------------------------------------- /epub.js/reader/the-lifestone/tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_039.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Dear readers I hope that you have enjoyed this tale 21 | of magic and mystery and if you have I would like to take this 22 | opportunity to tell you that there are others coming soon.
23 |If you feel generous please tell your friends, write 24 | a review or tweet it out as suits you. If you would like to follow 25 | my work then you might like to consider following me on twitter at 26 | DS_books
27 | 28 | 29 | -------------------------------------------------------------------------------- /epub.js/reader/the-lifestone/tmp_14ca9a44d9bc4a06338bce21316deb2d_4koWz7.ch.fixed.fc.tidied.stylehacked.xfixed_split_040.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Book two coming soon.
22 |Christine, drawn from her safe life into the magic 24 | and drama of a battle preparing to re-engage. A battle of good 25 | verses evil, of life and death and of a search for power and a 26 | seeking of control. Christine faces the Dark Lord Nailstead, 27 | assisted by the ancient magician Vindec who has drawn her to his 28 | hidden world, along with an elf a dwarf and a wolf, and unknown to 29 | her the shade of a long dead king amongst others.
30 |Christine stood before the Lifestone, the sword of 31 | power hanging from her belt, the wolf her friend standing beside 32 | her ready to accept the gift that destiny declared to be 33 | hers...
34 |
Christine’s tale is another story, one told in the 36 | second book of
37 |THE LIFESTONE CHRONICLES
38 |Titled : A User Selected : A life Taken.
39 |David Stevens.
40 |