Browse Source

Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib

ansible-setup-and-deploy
Alex 7 years ago
parent
commit
167fe9e95e
  1. 1
      app/__init__.py
  2. BIN
      app/cover/175_potentialposters_cover.png
  3. BIN
      app/cover/175_potentialposterscover_small.png
  4. 76
      app/getannot.py
  5. 39
      app/static/css/style.css
  6. 70
      app/static/img/xppl-logo.svg
  7. 75
      app/static/js/app.js
  8. 177
      app/static/viewer/LICENSE
  9. 8011
      app/static/viewer/build/pdf.js
  10. 39321
      app/static/viewer/build/pdf.worker.js
  11. BIN
      app/static/viewer/web/cmaps/78-EUC-H.bcmap
  12. BIN
      app/static/viewer/web/cmaps/78-EUC-V.bcmap
  13. BIN
      app/static/viewer/web/cmaps/78-H.bcmap
  14. BIN
      app/static/viewer/web/cmaps/78-RKSJ-H.bcmap
  15. BIN
      app/static/viewer/web/cmaps/78-RKSJ-V.bcmap
  16. BIN
      app/static/viewer/web/cmaps/78-V.bcmap
  17. BIN
      app/static/viewer/web/cmaps/78ms-RKSJ-H.bcmap
  18. BIN
      app/static/viewer/web/cmaps/78ms-RKSJ-V.bcmap
  19. BIN
      app/static/viewer/web/cmaps/83pv-RKSJ-H.bcmap
  20. BIN
      app/static/viewer/web/cmaps/90ms-RKSJ-H.bcmap
  21. BIN
      app/static/viewer/web/cmaps/90ms-RKSJ-V.bcmap
  22. BIN
      app/static/viewer/web/cmaps/90msp-RKSJ-H.bcmap
  23. BIN
      app/static/viewer/web/cmaps/90msp-RKSJ-V.bcmap
  24. BIN
      app/static/viewer/web/cmaps/90pv-RKSJ-H.bcmap
  25. BIN
      app/static/viewer/web/cmaps/90pv-RKSJ-V.bcmap
  26. BIN
      app/static/viewer/web/cmaps/Add-H.bcmap
  27. BIN
      app/static/viewer/web/cmaps/Add-RKSJ-H.bcmap
  28. BIN
      app/static/viewer/web/cmaps/Add-RKSJ-V.bcmap
  29. BIN
      app/static/viewer/web/cmaps/Add-V.bcmap
  30. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-0.bcmap
  31. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-1.bcmap
  32. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-2.bcmap
  33. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-3.bcmap
  34. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-4.bcmap
  35. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-5.bcmap
  36. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-6.bcmap
  37. BIN
      app/static/viewer/web/cmaps/Adobe-CNS1-UCS2.bcmap
  38. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-0.bcmap
  39. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-1.bcmap
  40. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-2.bcmap
  41. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-3.bcmap
  42. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-4.bcmap
  43. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-5.bcmap
  44. BIN
      app/static/viewer/web/cmaps/Adobe-GB1-UCS2.bcmap
  45. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-0.bcmap
  46. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-1.bcmap
  47. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-2.bcmap
  48. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-3.bcmap
  49. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-4.bcmap
  50. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-5.bcmap
  51. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-6.bcmap
  52. BIN
      app/static/viewer/web/cmaps/Adobe-Japan1-UCS2.bcmap
  53. BIN
      app/static/viewer/web/cmaps/Adobe-Korea1-0.bcmap
  54. BIN
      app/static/viewer/web/cmaps/Adobe-Korea1-1.bcmap
  55. BIN
      app/static/viewer/web/cmaps/Adobe-Korea1-2.bcmap
  56. BIN
      app/static/viewer/web/cmaps/Adobe-Korea1-UCS2.bcmap
  57. BIN
      app/static/viewer/web/cmaps/B5-H.bcmap
  58. BIN
      app/static/viewer/web/cmaps/B5-V.bcmap
  59. BIN
      app/static/viewer/web/cmaps/B5pc-H.bcmap
  60. BIN
      app/static/viewer/web/cmaps/B5pc-V.bcmap
  61. BIN
      app/static/viewer/web/cmaps/CNS-EUC-H.bcmap
  62. BIN
      app/static/viewer/web/cmaps/CNS-EUC-V.bcmap
  63. BIN
      app/static/viewer/web/cmaps/CNS1-H.bcmap
  64. BIN
      app/static/viewer/web/cmaps/CNS1-V.bcmap
  65. BIN
      app/static/viewer/web/cmaps/CNS2-H.bcmap
  66. 3
      app/static/viewer/web/cmaps/CNS2-V.bcmap
  67. BIN
      app/static/viewer/web/cmaps/ETHK-B5-H.bcmap
  68. BIN
      app/static/viewer/web/cmaps/ETHK-B5-V.bcmap
  69. BIN
      app/static/viewer/web/cmaps/ETen-B5-H.bcmap
  70. BIN
      app/static/viewer/web/cmaps/ETen-B5-V.bcmap
  71. 3
      app/static/viewer/web/cmaps/ETenms-B5-H.bcmap
  72. BIN
      app/static/viewer/web/cmaps/ETenms-B5-V.bcmap
  73. BIN
      app/static/viewer/web/cmaps/EUC-H.bcmap
  74. BIN
      app/static/viewer/web/cmaps/EUC-V.bcmap
  75. BIN
      app/static/viewer/web/cmaps/Ext-H.bcmap
  76. BIN
      app/static/viewer/web/cmaps/Ext-RKSJ-H.bcmap
  77. BIN
      app/static/viewer/web/cmaps/Ext-RKSJ-V.bcmap
  78. BIN
      app/static/viewer/web/cmaps/Ext-V.bcmap
  79. BIN
      app/static/viewer/web/cmaps/GB-EUC-H.bcmap
  80. BIN
      app/static/viewer/web/cmaps/GB-EUC-V.bcmap
  81. 4
      app/static/viewer/web/cmaps/GB-H.bcmap
  82. BIN
      app/static/viewer/web/cmaps/GB-V.bcmap
  83. BIN
      app/static/viewer/web/cmaps/GBK-EUC-H.bcmap
  84. BIN
      app/static/viewer/web/cmaps/GBK-EUC-V.bcmap
  85. BIN
      app/static/viewer/web/cmaps/GBK2K-H.bcmap
  86. BIN
      app/static/viewer/web/cmaps/GBK2K-V.bcmap
  87. BIN
      app/static/viewer/web/cmaps/GBKp-EUC-H.bcmap
  88. BIN
      app/static/viewer/web/cmaps/GBKp-EUC-V.bcmap
  89. BIN
      app/static/viewer/web/cmaps/GBT-EUC-H.bcmap
  90. BIN
      app/static/viewer/web/cmaps/GBT-EUC-V.bcmap
  91. BIN
      app/static/viewer/web/cmaps/GBT-H.bcmap
  92. BIN
      app/static/viewer/web/cmaps/GBT-V.bcmap
  93. BIN
      app/static/viewer/web/cmaps/GBTpc-EUC-H.bcmap
  94. BIN
      app/static/viewer/web/cmaps/GBTpc-EUC-V.bcmap
  95. BIN
      app/static/viewer/web/cmaps/GBpc-EUC-H.bcmap
  96. BIN
      app/static/viewer/web/cmaps/GBpc-EUC-V.bcmap
  97. BIN
      app/static/viewer/web/cmaps/H.bcmap
  98. BIN
      app/static/viewer/web/cmaps/HKdla-B5-H.bcmap
  99. BIN
      app/static/viewer/web/cmaps/HKdla-B5-V.bcmap
  100. BIN
      app/static/viewer/web/cmaps/HKdlb-B5-H.bcmap

1
app/__init__.py

@ -35,3 +35,4 @@ socketio = SocketIO(app)
app.config.from_object(__name__)
from app import views

BIN
app/cover/175_potentialposters_cover.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

BIN
app/cover/175_potentialposterscover_small.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

76
app/getannot.py

@ -0,0 +1,76 @@
# #https://gist.github.com/mjlavin80/186a6395c5819dbe25a8a0e001d5acfd
# import requests
# import json
# # This script demonstrates how to query annotations for a particular URL using the hypothes.is API. An API key is required.
# # The end result of this script is a Python dictionary with annotation data in it. Top save to csv or other format, further parsing would be required
# def get_annotations():
import requests
import json
# This script demonstrates how to query annotations for a particular URL using the hypothes.is API. An API key is required.
# The end result of this script is a Python dictionary with annotation data in it. Top save to csv or other format, further parsing would be required
def get_annotations():
KEY = "6879-n8AksBoSB7kYoQ3eEwzpEr3nFQEmSp3XN-0PcKL_Sik"
# URL = "https://monoskop.org/Monoskop"
#a dictionary containing necessary http headers
headers = {
"Host": "hypothes.is",
"Accept": "application/json",
"Authorization": "Bearer %s" % KEY
}
base_url = "https://hypothes.is/api/search?user=xpub@hypothes.is"
search_url = "".join([base_url])
r = requests.get(search_url, headers=headers)
#data is a python dictionary
data = json.loads(r.text)
# r = requests.get(search_url, headers=headers)
# data = json.loads(r.text)
return data
def get_annot_results(annot,name):
res=[]
annot=get_annotations()
for item in annot['rows']:
if 'selector' in item['target'][0]:
if len(item['target'][0]['selector'])>2:
if name in item['text'] or name in item['target'][0]['selector'][2]['exact']:
data={'text': item['text'],'extract':item['target'][0]['selector'][2]['exact'],'title':item['document']['title'], 'url':item['uri']}
res.append(data)
else:
if name in item['text'] or name in item['target'][0]['selector'][1]['exact']:
data={'text': item['text'],'extract':item['target'][0]['selector'][1]['exact'],'title':item['document']['title'], 'url':item['uri']}
res.append(data)
return res
def get_annot_book(annot,name):
res=[]
for item in annot['rows']:
if 'selector' in item['target'][0]:
if len(item['target'][0]['selector'])>2:
string=item['uri']
if name==string.replace('http://localhost:8080/uploads/',''):
data={'text': item['text'],'extract':item['target'][0]['selector'][2]['exact'],'title':item['document']['title'], 'url':item['uri']}
res.append(data)
else:
string=item['uri']
if name==string.replace('http://localhost:8080/uploads/',''):
data={'text': item['text'],'extract':item['target'][0]['selector'][1]['exact'],'title':item['document']['title'], 'url':item['uri']}
res.append(data)
return res

39
app/static/css/style.css

@ -5,14 +5,14 @@ font-family: "Archivo Narrow";
}
p{
font-size: 18px;
font-size: 20px;
}
a{
text-decoration: none;
text-decoration: underline;
color: black;
}
a:hover{
@ -68,7 +68,7 @@ padding: 0px 10px;
}
.about{
font-size: 16px;
font-size: 18px;
}
.library_table{
@ -106,7 +106,7 @@ background-color: #E8E8E8!important;
}
.library_table .author_col{
font-size: 15px;
font-size: 18px;
}
.library_table li{
@ -133,7 +133,6 @@ background-color: #fafafa;
#title_xppl{
font-size: 46px;
cursor: pointer;
}
.header input{
@ -146,7 +145,7 @@ font-weight: bold;
.author input{
height:20px;
width: 500px;
font-size: 16px;
font-size: 18px;
}
.search input{
@ -202,9 +201,20 @@ font-size: 12px;
}
.ui-tabs-vertical { width: 100em; border-top: 0;}
<<<<<<< HEAD
<<<<<<< HEAD
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .2em .2em .2em; float: left; width: 15em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 0 !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
=======
.ui-tabs-vertical a { text-decoration: none; color: black;}
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .2em .2em .2em; float: left; width: 15em; -webkit-appearance: none;}
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 0 !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; list-style-type: none; }
>>>>>>> stack_stuff
=======
.ui-tabs-vertical a { text-decoration: none; color: black;}
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .2em .2em .2em; float: left; width: 15em; -webkit-appearance: none;}
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 0 !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; list-style-type: none; }
>>>>>>> master
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 0; background-color: yellow !important; list-style-type: none;}
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: left; width: 50em; font-size: 12px; list-style-type: none;}
@ -226,6 +236,14 @@ font-size: 12px;
background-color: yellow;
}
#annotindication{
width: 30%;
margin: 0;
padding: 3px;
font-size: 14px;
background-color: red;
}
div.marquee {
white-space:no-wrap;
overflow:hidden;
@ -463,3 +481,12 @@ box-sizing: border-box;
text-decoration: none;
cursor: pointer;
}
body { font-family: "Archivo Narrow"}
nav { font-size: .7em }
@page { size: A5; margin: 1cm }
@media print {
nav { display: none }
}

70
app/static/img/xppl-logo.svg

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg2"
width="21.333332"
height="21.333332"
viewBox="0 0 21.333332 21.333332"
sodipodi:docname="xppl-logo.svg"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="754"
inkscape:window-height="480"
id="namedview4"
showgrid="false"
inkscape:zoom="11.062501"
inkscape:cx="10.666666"
inkscape:cy="10.666666"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<image
width="21.333332"
height="21.333332"
preserveAspectRatio="none"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gYJExABRrWV7QAAASlJREFUOMu1krGOAWEUhb870UzE
FDqFRKHTaInphUqt0mg9gIfgCeYxJGK6f8IrqFUShYxEgcjZYsNuRFhr95T3/Pfknny/SRJvyAMY
j8f4vs9yuWS73VIoFOj3+9dHcRxjZpgZ2WyWdrvNbrf7NCXpfD6rXq+rVqup2+2qWCwqTVNdNJvN
BMg5p/l8LkCj0UiSlAHwPI8oiqhWqywWC6bTKUEQ3D35eDwCYGYAZC5GmqacTicANpvN3eUwDPF9
n1arRa/X+6pwOBxUqVTUbDY1GAyUz+e1Xq/vVrgVkjQcDpXL5bRarbTf71Uul9XpdH4UYH+C8e2A
h5y/+UmSPL7AOUccx0wmE6Io+l2FW87PlHnK+ZUA5xyNRuP/KIRhiJlRKpWus7f/wQfum92c9FWQ
cQAAAABJRU5ErkJggg==
"
id="image10"
x="0"
y="0" />
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

75
app/static/js/app.js

@ -180,37 +180,56 @@ $(document).ready(function()
);
// Autocomplete for search - Contact Joca in case of trouble
// Check: Code doesn't work inside document.ready function
// Are the other functions correctly closed?
function split( val ) {
return val.split( /,\s*/ );
}
function extractLast( term ) {
return split( term ).pop();
}
$('#search').on("input", function() {
var query = this.value;
$.ajax({
url: "/autocomplete_suggestions",
data: $('form').serialize(),
type: "POST",
success: function(response) {
//console.log("Got your query!");
}
});
$.ajax({
type: "GET",
url: "/autocomplete_suggestions",
dataType: "json",
success: function(data) {
// Start autocomplete
var availableTags = data;
console.log(availableTags);
$( "#search" ).autocomplete({
source: availableTags
$( "#search" )
// don't navigate away from the field on tab when selecting an item
.on( "keydown", function( event ) {
if ( event.keyCode === $.ui.keyCode.TAB &&
$( this ).autocomplete( "instance" ).menu.active ) {
event.preventDefault();
}
})
.autocomplete({
source:function(request, response) {
$.getJSON("/autocomplete_suggestions",{
q: request.term, // in flask, "q" will be the argument to look for using request.args
}, function(data) {
response(data); // matching_results from jsonify
});
// End of autocomplete
},
search: function() {
// custom minLength
var term = extractLast( this.value );
if ( term.length < 2 ) {
return false;
}
},
focus: function() {
// prevent value inserted on focus
return false;
},
select: function( event, ui ) {
console.log(this.value);
str = this.value;
var terms = str.split(" ");
console.log(terms);
// remove the current input
terms.pop();
// add the selected item
terms.push( ui.item.value );
// add placeholder to get the comma-and-space at the end
terms.push( "" );
this.value = terms.join( " " );
return false;
}
});
});
// Get the modal

177
app/static/viewer/LICENSE

@ -0,0 +1,177 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS

8011
app/static/viewer/build/pdf.js

File diff suppressed because it is too large

39321
app/static/viewer/build/pdf.worker.js

File diff suppressed because it is too large

BIN
app/static/viewer/web/cmaps/78-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78ms-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/78ms-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/83pv-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90ms-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90ms-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90msp-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90msp-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90pv-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/90pv-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Add-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Add-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Add-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Add-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-0.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-1.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-3.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-4.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-5.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-6.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-CNS1-UCS2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-0.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-1.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-3.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-4.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-5.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-GB1-UCS2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-0.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-1.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-3.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-4.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-5.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-6.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Japan1-UCS2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Korea1-0.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Korea1-1.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Korea1-2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Adobe-Korea1-UCS2.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/B5-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/B5-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/B5pc-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/B5pc-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/CNS-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/CNS-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/CNS1-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/CNS1-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/CNS2-H.bcmap

Binary file not shown.

3
app/static/viewer/web/cmaps/CNS2-V.bcmap

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEáCNS2-H

BIN
app/static/viewer/web/cmaps/ETHK-B5-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/ETHK-B5-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/ETen-B5-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/ETen-B5-V.bcmap

Binary file not shown.

3
app/static/viewer/web/cmaps/ETenms-B5-H.bcmap

@ -0,0 +1,3 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSEá ETen-B5-H` ^

BIN
app/static/viewer/web/cmaps/ETenms-B5-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Ext-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Ext-RKSJ-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Ext-RKSJ-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/Ext-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GB-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GB-EUC-V.bcmap

Binary file not shown.

4
app/static/viewer/web/cmaps/GB-H.bcmap

@ -0,0 +1,4 @@
àRCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSE!!�º]aX!!]`�21�> �p �z�$]‚�"R‚d�-Uƒ7�*„ 4„%�+ „Z „{�/…%…<�9K…b�1]†.�"‡ ‰`]‡,�"]ˆ
�"]ˆh�"]‰F�"]Š$�"]‹�"]‹`�"]Œ>�"]��"]�z�"]ŽX�"]�6�"]��"]�r�"]‘P�"]’.�"]“ �"]“j�"]”H�"]•&�"]–�"]–b�"]—@�"]˜�"]˜|�"]™Z�"]š8�"]›�"]›t�"]œR�"]�0�"]ž�"]žl�"]ŸJ�"] (�"]¡�"]¡d�"]¢B�"]£ �"X£~�']¤W�"]¥5�"]¦�"]¦q�"]§O�"]¨-�"]© �"]©i�"]ªG�"]«%�"]¬�"]¬a�"]­?�"]®�"]®{�"]¯Y�"]°7�"]±�"]±s�"]²Q�"]³/�"]´ �"]´k�"]µI�"]¶'�"]·�"]·c�"]¸A�"]¹�"]¹}�"]º[�"]»9

BIN
app/static/viewer/web/cmaps/GB-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBK-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBK-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBK2K-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBK2K-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBKp-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBKp-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBT-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBT-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBT-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBT-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBTpc-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBTpc-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBpc-EUC-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/GBpc-EUC-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/HKdla-B5-H.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/HKdla-B5-V.bcmap

Binary file not shown.

BIN
app/static/viewer/web/cmaps/HKdlb-B5-H.bcmap

Binary file not shown.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save