fileviewer/external/ViewerJS/index.html

167 lines
46 KiB
HTML

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!--
This is a generated file. DO NOT EDIT.
Copyright (C) 2012-2015 KO GmbH <copyright@kogmbh.com>
@licstart
This file is the compiled version of the ViewerJS module.
ViewerJS is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License (GNU AGPL)
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
ViewerJS is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with ViewerJS. If not, see <http://www.gnu.org/licenses/>.
@licend
@source: http://viewerjs.org/
@source: http://github.com/kogmbh/ViewerJS
-->
<title>ViewerJS</title>
<!-- If you want to use custom CSS (@font-face rules, for example) you should uncomment
the following reference and use a local.css file for that. See the example.local.css
file for a sample.
<link rel="stylesheet" type="text/css" href="local.css" media="screen"/>
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
<style>
.video-js {
width: 100% !important;
height: 100% !important;
}
@media print {
.no-print, .no-print * {
display: none !important;
}
}
</style>
<link href="video-js/video-js.min.css" rel="stylesheet">
<script src="video-js/video.js"></script>
<script type="text/javascript">
videojs.options.flash.swf = "video-js/video-js.swf";
////<![CDATA[
var ODFViewerPlugin_css="@namespace cursor url(urn:webodf:names:cursor);.caret {opacity: 0 !important;}";function ODFViewerPlugin(){function b(b){var a=document.createElement("script");a.async=!1;a.src="./webodf.js";a.type="text/javascript";a.onload=function(){runtime.loadClass("gui.HyperlinkClickHandler");runtime.loadClass("odf.OdfCanvas");runtime.loadClass("ops.Session");runtime.loadClass("gui.CaretManager");runtime.loadClass("gui.HyperlinkTooltipView");runtime.loadClass("gui.SessionController");runtime.loadClass("gui.SvgSelectionView");runtime.loadClass("gui.SelectionViewManager");runtime.loadClass("gui.ShadowCursor");
runtime.loadClass("gui.SessionView");b()};document.head.appendChild(a);a=document.createElementNS(document.head.namespaceURI,"style");a.setAttribute("media","screen, print, handheld, projection");a.setAttribute("type","text/css");a.appendChild(document.createTextNode(ODFViewerPlugin_css));document.head.appendChild(a)}var d=this,f=null,g=null,p=null,k=null;this.initialize=function(n,a){b(function(){var b,c,n,l,y,r,m,w;g=document.getElementById("canvas");f=new odf.OdfCanvas(g);f.load(a);f.addListener("statereadychange",
function(){p=f.odfContainer().rootElement;k=f.odfContainer().getDocumentType(p);if("text"===k){f.enableAnnotations(!0,!1);b=new ops.Session(f);n=b.getOdtDocument();l=new gui.ShadowCursor(n);c=new gui.SessionController(b,"localuser",l,{});w=c.getEventManager();r=new gui.CaretManager(c,f.getViewport());y=new gui.SelectionViewManager(gui.SvgSelectionView);new gui.SessionView({caretAvatarsInitiallyVisible:!1},"localuser",b,c.getSessionConstraints(),r,y);y.registerCursor(l);m=new gui.HyperlinkTooltipView(f,
c.getHyperlinkClickHandler().getModifier);w.subscribe("mousemove",m.showTooltip);w.subscribe("mouseout",m.hideTooltip);var a=new ops.OpAddMember;a.init({memberid:"localuser",setProperties:{fillName:runtime.tr("Unknown Author"),color:"blue"}});b.enqueue([a]);c.insertLocalCursor()}d.onLoad()})})};this.isSlideshow=function(){return"presentation"===k};this.onLoad=function(){};this.fitToWidth=function(b){f.fitToWidth(b)};this.fitToHeight=function(b){f.fitToHeight(b)};this.fitToPage=function(b,a){f.fitToContainingElement(b,
a)};this.fitSmart=function(b){f.fitSmart(b)};this.getZoomLevel=function(){return f.getZoomLevel()};this.setZoomLevel=function(b){f.setZoomLevel(b)};this.getPages=function(){var b=Array.prototype.slice.call(p.getElementsByTagNameNS("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","page")),a=[],g,c;for(g=0;g<b.length;g+=1)c=[b[g].getAttribute("draw:name"),b[g]],a.push(c);return a};this.showPage=function(b){f.showPage(b)};this.getPluginName=function(){return"WebODF"};this.getPluginVersion=function(){return"undefined"!==
String(typeof webodf)?webodf.Version:"Unknown"};this.getPluginURL=function(){return"http://webodf.org"}};var PDFViewerPlugin_css=".page {margin: 7px auto 7px auto;position: relative;overflow: hidden;background-clip: content-box;background-color: white;box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);}.textLayer {position: absolute;left: 0;top: 0;right: 0;bottom: 0;color: #000;font-family: sans-serif;overflow: hidden;}.textLayer > div {color: transparent;position: absolute;line-height: 1;white-space: pre;cursor: text;}::selection { background:rgba(0,0,255,0.3); }::-moz-selection { background:rgba(0,0,255,0.3); }";function PDFViewerPlugin(){function b(e,b){var a=document.createElement("script");a.async=!1;a.src=e;a.type="text/javascript";a.onload=b||a.onload;document.getElementsByTagName("head")[0].appendChild(a)}function d(e){var a;b("./compatibility.js",function(){b("./pdf.js");b("./ui_utils.js");b("./text_layer_builder.js");b("./pdfjsversion.js",e)});a=document.createElementNS(document.head.namespaceURI,"style");a.setAttribute("media","screen, print, handheld, projection");a.setAttribute("type","text/css");
a.appendChild(document.createTextNode(PDFViewerPlugin_css));document.head.appendChild(a)}function f(e){if("none"===e.style.display)return!1;var a=w.scrollTop,b=a+w.clientHeight,c=e.offsetTop;e=c+e.clientHeight;return c>=a&&c<b||e>=a&&e<b||c<a&&e>=b}function g(e,a,b){var c=l[e.pageIndex],g=c.getElementsByTagName("canvas")[0],h=c.getElementsByTagName("div")[0],d="scale("+t+", "+t+")";c.style.width=a+"px";c.style.height=b+"px";g.width=a;g.height=b;h.style.width=a+"px";h.style.height=b+"px";CustomStyle.setProp("transform",
h,d);CustomStyle.setProp("transformOrigin",h,"0% 0%");r[e.pageIndex]=r[e.pageIndex]===m.RUNNING?m.RUNNINGOUTDATED:m.BLANK}function p(e){var a,b;r[e.pageIndex]===m.BLANK&&(r[e.pageIndex]=m.RUNNING,a=l[e.pageIndex],b=y[e.pageIndex],a=a.getElementsByTagName("canvas")[0],e.render({canvasContext:a.getContext("2d"),textLayer:b,viewport:e.getViewport(t)}).promise.then(function(){r[e.pageIndex]===m.RUNNINGOUTDATED?(r[e.pageIndex]=m.BLANK,p(e)):r[e.pageIndex]=m.FINISHED}))}function k(){var e=!c.isSlideshow();
l.forEach(function(a){e&&(a.style.display="block");w.appendChild(a)});c.showPage(1);c.onLoad()}function n(e){var a,b,c,d,u,f;a=e.pageIndex+1;f=e.getViewport(t);u=document.createElement("div");u.id="pageContainer"+a;u.className="page";u.style.display="none";d=document.createElement("canvas");d.id="canvas"+a;b=document.createElement("div");b.className="textLayer";b.id="textLayer"+a;u.appendChild(d);u.appendChild(b);v[e.pageIndex]=e;l[e.pageIndex]=u;r[e.pageIndex]=m.BLANK;g(e,f.width,f.height);B<f.width&&
(B=f.width);A<f.height&&(A=f.height);f.width<f.height&&(h=!1);c=new TextLayerBuilder({textLayerDiv:b,viewport:f,pageIndex:a-1});e.getTextContent().then(function(a){c.setTextContent(a)});y[e.pageIndex]=c;x+=1;x===q.numPages&&k()}function a(a,b){switch(b){case PDFJS.PasswordResponses.NEED_PASSWORD:u(!1,a);break;case PDFJS.PasswordResponses.INCORRECT_PASSWORD:u(!0,a)}}function u(a,b){var c=prompt(a?"Wrong password entered. Please retry.":"Password protected PDF. Enter password.","");null!=c&&b(c)}var c=
this,v=[],l=[],y=[],r=[],m={BLANK:0,RUNNING:1,FINISHED:2,RUNNINGOUTDATED:3},w=null,q=null,h=!0,t=1,D=1,B=0,A=0,x=0;this.initialize=function(b,c){var g;d(function(){PDFJS.workerSrc="./pdf.worker.js";PDFJS.getDocument(c,null,a).then(function(a){q=a;w=b;for(g=0;g<q.numPages;g+=1)q.getPage(g+1).then(n)})})};this.isSlideshow=function(){return h};this.onLoad=function(){};this.getPages=function(){return l};this.fitToWidth=function(a){B!==a&&(a/=B,c.setZoomLevel(a))};this.fitToHeight=function(a){A!==a&&(a/=
A,c.setZoomLevel(a))};this.fitToPage=function(a,b){var g=a/B;b/A<g&&(g=b/A);c.setZoomLevel(g)};this.fitSmart=function(a,b){var g=a/B;b&&b/A<g&&(g=b/A);g=Math.min(1,g);c.setZoomLevel(g)};this.setZoomLevel=function(a){var b;if(t!==a)for(t=a,a=0;a<v.length;a+=1)b=v[a].getViewport(t),g(v[a],b.width,b.height)};this.getZoomLevel=function(){return t};this.onScroll=function(){var a;for(a=0;a<l.length;a+=1)f(l[a])&&p(v[a])};this.getPageInView=function(){var a;if(c.isSlideshow())return D;for(a=0;a<l.length;a+=
1)if(f(l[a]))return a+1};this.showPage=function(a){c.isSlideshow()?(l[D-1].style.display="none",D=a,p(v[a-1]),l[a-1].style.display="block"):(a=l[a-1],a.parentNode.scrollTop=a.offsetTop)};this.getPluginName=function(){return"PDF.js"};this.getPluginVersion=function(){return"undefined"!==String(typeof pdfjs_version)?pdfjs_version:"From Source"};this.getPluginURL=function(){return"https://github.com/mozilla/pdf.js/"}};var ImageViewerPlugin_css="#image {transform-origin: top left;-webkit-transform-origin: top left;-ms-transform-origin: top left;}#image.rotate90 {transform: rotate(90deg) translateY(-100%);-webkit-transform: rotate(90deg) translateY(-100%);-ms-transform: rotate(90deg) translateY(-100%);}#image.rotate180 {transform: rotate(180deg) translate(-100%,-100%);-webkit-transform: rotate(180deg) translate(-100%,-100%);-ms-transform: rotate(180deg) translateX(-100%,-100%);}#image.rotate270 {transform: rotate(270deg) translateX(-100%);-webkit-transform: rotate(270deg) translateX(-100%);-ms-transform: rotate(270deg) translateX(-100%);}";function ImageViewerPlugin(){function b(){var b=document.getElementById("toolbarLeft");b.style.visibility="visible";var d=document.createElement("span");d.setAttribute("class","toolbarLabel");d.value="Rotate:";var f=document.createElement("div");f.setAttribute("class","splitToolbarButtonSeparator");var n=document.createElement("button");n.setAttribute("class","toolbarButton pageUp");n.setAttribute("title","Rotate left");var a=document.createElement("button");a.setAttribute("class","toolbarButton pageDown");
a.setAttribute("title","Rotate right");b.appendChild(d);b.appendChild(n);b.appendChild(f);b.appendChild(a);n.addEventListener("click",function(){console.log("rot left")});a.addEventListener("click",function(){console.log("rot right")})}var d=void 0,f=this;this.initialize=function(b,p){d=document.createElement("img");d.setAttribute("src",p);d.setAttribute("alt","na");d.setAttribute("id","image");b.appendChild(d);b.style.overflow="auto";f.onLoad();var k;k=document.createElementNS(document.head.namespaceURI,
"style");k.setAttribute("media","screen, print, handheld, projection");k.setAttribute("type","text/css");k.appendChild(document.createTextNode(ImageViewerPlugin_css));document.head.appendChild(k)};this.isSlideshow=function(){return!1};this.onLoad=function(){};this.fitToWidth=function(b){d.width=b};this.fitToHeight=function(b){d.height=b};this.fitToPage=function(b,f){d.width=b};this.fitSmart=function(b){d.width=b};this.getZoomLevel=function(){return d.width/d.naturalWidth};this.setZoomLevel=function(b){d.width=
b*d.naturalWidth};this.getPages=function(){return[d]};this.showPage=function(g){b()};this.getPluginName=function(){return"ImageViewerPlugin"};this.getPluginVersion=function(){return"From Source"};this.getPluginURL=function(){return"https://github.com/in4mates/ViewerJS"}};function MultimediaViewerPlugin(){var b=void 0,d=void 0,f=this;this.initialize=function(g,p){0===window.mimetype.indexOf("audio/")?(b=document.createElement("audio"),b.setAttribute("poster","images/musicbg.png")):b=document.createElement("video");b.setAttribute("preload","auto");b.setAttribute("id","multimedia_viewer");b.setAttribute("controls","controls");b.setAttribute("class","video-js vjs-default-skin");d=document.createElement("source");d.setAttribute("src",p);d.setAttribute("type",window.mimetype);
b.appendChild(d);g.appendChild(b);g.style.overflow="auto";videojs(document.getElementById("multimedia_viewer"),{controls:"enabled"},function(){});f.onLoad()};this.isSlideshow=function(){return!1};this.onLoad=function(){};this.fitToWidth=function(b){};this.fitToHeight=function(b){};this.fitToPage=function(b,d){};this.fitSmart=function(b){};this.getZoomLevel=function(){};this.setZoomLevel=function(b){};this.getPages=function(){return[b]};this.showPage=function(b){document.getElementById("toolbarMiddleContainer").style.visibility=
"hidden"};this.getPluginName=function(){return"MultimediaViewerPlugin"};this.getPluginVersion=function(){return"From Source"};this.getPluginURL=function(){return"https://sprinternet.at"}};var ViewerJS_version="0.5.7";var viewer_css="* {padding: 0;margin: 0;}html > body {font-family: sans-serif;overflow: hidden;}.titlebar > span,.toolbarLabel,input,button,select {font: message-box;}#titlebar {position: absolute;z-index: 2;top: 0px;left: 0px;height: 32px;width: 100%;overflow: hidden;-webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);-moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);background-image: url(images/texture.png), linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -webkit-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -moz-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -ms-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -o-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));}#titlebar a, #aboutDialog a, #titlebar a:visited, #aboutDialog a:visited {color: #ccc;}#documentName {margin-right: 10px;margin-left: 10px;margin-top: 8px;color: #F2F2F2;line-height: 14px;font-family: sans-serif;}#documentName {font-size: 14px;}#toolbarContainer {position: absolute;z-index: 2;bottom: 0px;left: 0px;height: 32px;width: 100%;overflow: hidden;-webkit-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);-moz-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);background-image: url(images/texture.png), linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -webkit-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -moz-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -ms-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -o-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));}#toolbar {position: relative;}#toolbarMiddleContainer, #toolbarLeft {visibility: hidden;}html[dir='ltr'] #toolbarLeft {margin-left: -1px;}html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {margin-left: -1px;}html[dir='ltr'] #toolbarLeft,html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {position: absolute;top: 0;left: 0;}html[dir='rtl'] #toolbarLeft,html[dir='ltr'] #toolbarRight,html[dir='ltr'] #titlebarRight {position: absolute;top: 0;right: 0;}html[dir='ltr'] #toolbarLeft > *,html[dir='ltr'] #toolbarMiddle > *,html[dir='ltr'] #toolbarRight > *,html[dir='ltr'] #titlebarRight > * {float: left;}html[dir='rtl'] #toolbarLeft > *,html[dir='rtl'] #toolbarMiddle > *,html[dir='rtl'] #toolbarRight > *,html[dir='rtl'] #titlebarRight > * {float: right;}html[dir='ltr'] .outerCenter {float: right;position: relative;right: 50%;}html[dir='rtl'] .outerCenter {float: left;position: relative;left: 50%;}html[dir='ltr'] .innerCenter {float: right;position: relative;right: -50%;}html[dir='rtl'] .innerCenter {float: left;position: relative;left: -50%;}html[dir='ltr'] .splitToolbarButton {margin: 3px 2px 4px 0;display: inline-block;}html[dir='rtl'] .splitToolbarButton {margin: 3px 0 4px 2px;display: inline-block;}html[dir='ltr'] .splitToolbarButton > .toolbarButton {border-radius: 0;float: left;}html[dir='rtl'] .splitToolbarButton > .toolbarButton {border-radius: 0;float: right;}.splitToolbarButton.toggled .toolbarButton {margin: 0;}.toolbarButton {border: 0 none;background-color: rgba(0, 0, 0, 0);min-width: 32px;height: 25px;border-radius: 2px;background-image: none;}html[dir='ltr'] .toolbarButton,html[dir='ltr'] .dropdownToolbarButton {margin: 3px 2px 4px 0;}html[dir='rtl'] .toolbarButton,html[dir='rtl'] .dropdownToolbarButton {margin: 3px 0 4px 2px;}.toolbarButton:hover,.toolbarButton:focus,.dropdownToolbarButton {background-color: hsla(0,0%,0%,.12);background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid hsla(0,0%,0%,.35);border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,0 0 1px hsla(0,0%,100%,.15) inset,0 1px 0 hsla(0,0%,100%,.05);}.toolbarButton:hover:active,.dropdownToolbarButton:hover:active {background-color: hsla(0,0%,0%,.2);background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,0 0 1px hsla(0,0%,0%,.2) inset,0 1px 0 hsla(0,0%,100%,.05);}.splitToolbarButton:hover > .toolbarButton,.splitToolbarButton:focus > .toolbarButton,.splitToolbarButton.toggled > .toolbarButton,.toolbarButton.textButton {background-color: hsla(0,0%,0%,.12);background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid hsla(0,0%,0%,.35);border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,0 0 1px hsla(0,0%,100%,.15) inset,0 1px 0 hsla(0,0%,100%,.05);-webkit-transition-property: background-color, border-color, box-shadow;-webkit-transition-duration: 150ms;-webkit-transition-timing-function: ease;-moz-transition-property: background-color, border-color, box-shadow;-moz-transition-duration: 150ms;-moz-transition-timing-function: ease;-ms-transition-property: background-color, border-color, box-shadow;-ms-transition-duration: 150ms;-ms-transition-timing-function: ease;-o-transition-property: background-color, border-color, box-shadow;-o-transition-duration: 150ms;-o-transition-timing-function: ease;transition-property: background-color, border-color, box-shadow;transition-duration: 150ms;transition-timing-function: ease;}.splitToolbarButton > .toolbarButton:hover,.splitToolbarButton > .toolbarButton:focus,.dropdownToolbarButton:hover,.toolbarButton.textButton:hover,.toolbarButton.textButton:focus {background-color: hsla(0,0%,0%,.2);box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,0 0 1px hsla(0,0%,100%,.15) inset,0 0 1px hsla(0,0%,0%,.05);z-index: 199;}.splitToolbarButton:hover > .toolbarButton,.splitToolbarButton:focus > .toolbarButton,.splitToolbarButton.toggled > .toolbarButton,.toolbarButton.textButton {background-color: hsla(0,0%,0%,.12);background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid hsla(0,0%,0%,.35);border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,0 0 1px hsla(0,0%,100%,.15) inset,0 1px 0 hsla(0,0%,100%,.05);-webkit-transition-property: background-color, border-color, box-shadow;-webkit-transition-duration: 150ms;-webkit-transition-timing-function: ease;-moz-transition-property: background-color, border-color, box-shadow;-moz-transition-duration: 150ms;-moz-transition-timing-function: ease;-ms-transition-property: background-color, border-color, box-shadow;-ms-transition-duration: 150ms;-ms-transition-timing-function: ease;-o-transition-property: background-color, border-color, box-shadow;-o-transition-duration: 150ms;-o-transition-timing-function: ease;transition-property: background-color, border-color, box-shadow;transition-duration: 150ms;transition-timing-function: ease;}.splitToolbarButton > .toolbarButton:hover,.splitToolbarButton > .toolbarButton:focus,.dropdownToolbarButton:hover,.toolbarButton.textButton:hover,.toolbarButton.textButton:focus {background-color: hsla(0,0%,0%,.2);box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,0 0 1px hsla(0,0%,100%,.15) inset,0 0 1px hsla(0,0%,0%,.05);z-index: 199;}.dropdownToolbarButton {border: 1px solid #333 !important;}.toolbarButton,.dropdownToolbarButton {min-width: 16px;padding: 2px 6px 2px;border: 1px solid transparent;border-radius: 2px;color: hsl(0,0%,95%);font-size: 12px;line-height: 14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor: default;-webkit-transition-property: background-color, border-color, box-shadow;-webkit-transition-duration: 150ms;-webkit-transition-timing-function: ease;-moz-transition-property: background-color, border-color, box-shadow;-moz-transition-duration: 150ms;-moz-transition-timing-function: ease;-ms-transition-property: background-color, border-color, box-shadow;-ms-transition-duration: 150ms;-ms-transition-timing-function: ease;-o-transition-property: background-color, border-color, box-shadow;-o-transition-duration: 150ms;-o-transition-timing-function: ease;transition-property: background-color, border-color, box-shadow;transition-duration: 150ms;transition-timing-function: ease;}html[dir='ltr'] .toolbarButton,html[dir='ltr'] .dropdownToolbarButton {margin: 3px 2px 4px 0;}html[dir='rtl'] .toolbarButton,html[dir='rtl'] .dropdownToolbarButton {margin: 3px 0 4px 2px;}.splitToolbarButton:hover > .splitToolbarButtonSeparator,.splitToolbarButton.toggled > .splitToolbarButtonSeparator {padding: 12px 0;margin: 0;box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);-webkit-transition-property: padding;-webkit-transition-duration: 10ms;-webkit-transition-timing-function: ease;-moz-transition-property: padding;-moz-transition-duration: 10ms;-moz-transition-timing-function: ease;-ms-transition-property: padding;-ms-transition-duration: 10ms;-ms-transition-timing-function: ease;-o-transition-property: padding;-o-transition-duration: 10ms;-o-transition-timing-function: ease;transition-property: padding;transition-duration: 10ms;transition-timing-function: ease;}.toolbarButton.toggled:hover:active,.splitToolbarButton > .toolbarButton:hover:active {background-color: hsla(0,0%,0%,.4);border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,0 0 1px hsla(0,0%,0%,.3) inset,0 1px 0 hsla(0,0%,100%,.05);}html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {position: relative;margin: 0;margin-left: 4px;margin-right: -1px;border-top-left-radius: 2px;border-bottom-left-radius: 2px;border-right-color: transparent;}html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {position: relative;margin: 0;margin-left: -1px;border-top-right-radius: 2px;border-bottom-right-radius: 2px;border-left-color: transparent;}.splitToolbarButtonSeparator {padding: 8px 0;width: 1px;background-color: hsla(0,0%,00%,.5);z-index: 99;box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);display: inline-block;margin: 5px 0;}html[dir='ltr'] .splitToolbarButtonSeparator {float:left;}html[dir='rtl'] .splitToolbarButtonSeparator {float:right;}.dropdownToolbarButton {min-width: 120px;max-width: 120px;padding: 4px 2px 4px;overflow: hidden;background: url(images/toolbarButton-menuArrows.png) no-repeat;}.dropdownToolbarButton > select {-webkit-appearance: none;-moz-appearance: none;min-width: 140px;font-size: 12px;color: hsl(0,0%,95%);margin:0;padding:0;border:none;background: rgba(0,0,0,0);}.dropdownToolbarButton > select > option {background: hsl(0,0%,24%);}#pageWidthOption {border-bottom: 1px rgba(255, 255, 255, .5) solid;}html[dir='ltr'] .dropdownToolbarButton {background-position: 95%;}html[dir='rtl'] .dropdownToolbarButton {background-position: 5%;}.toolbarButton.fullscreen::before {display: inline-block;content: url(images/toolbarButton-fullscreen.png);}.toolbarButton.presentation::before {display: inline-block;content: url(images/toolbarButton-presentation.png);}.toolbarButton.download::before {display: inline-block;content: url(images/toolbarButton-download.png);}.toolbarButton.print::before {display: inline-block;content: url(images/toolbarButton-print.png);}.toolbarButton.about {color: #F2F2F2;font-size: 14px;font-weight: bold;line-height: 14px;font-family: sans-serif;}.toolbarButton.about::before {display: inline-block;}.toolbarButton.zoomOut::before {display: inline-block;content: url(images/toolbarButton-zoomOut.png);}.toolbarButton.zoomIn::before {display: inline-block;content: url(images/toolbarButton-zoomIn.png);}.toolbarButton.pageUp::before {display: inline-block;content: url(images/toolbarButton-pageUp.png);}.toolbarButton.pageDown::before {display: inline-block;content: url(images/toolbarButton-pageDown.png);}.toolbarField.pageNumber {min-width: 16px;text-align: right;width: 40px;}.toolbarField {padding: 3px 6px;margin: 4px 0 4px 0;border: 1px solid transparent;border-radius: 2px;background-color: hsla(0,0%,100%,.09);background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid hsla(0,0%,0%,.35);border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,0 1px 0 hsla(0,0%,100%,.05);color: hsl(0,0%,95%);font-size: 12px;line-height: 14px;outline-style: none;-moz-transition-property: background-color, border-color, box-shadow;-moz-transition-duration: 150ms;-moz-transition-timing-function: ease;}.toolbarField.pageNumber::-webkit-inner-spin-button,.toolbarField.pageNumber::-webkit-outer-spin-button {-webkit-appearance: none;margin: 0;}.toolbarField:hover {background-color: hsla(0,0%,100%,.11);border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);}.toolbarField:focus {background-color: hsla(0,0%,100%,.15);border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);}.toolbarLabel {min-width: 16px;padding: 3px 6px 3px 2px;margin: 4px 2px 4px 0;border: 1px solid transparent;border-radius: 2px;color: hsl(0,0%,85%);font-size: 12px;line-height: 14px;text-align: left;-webkit-user-select:none;-moz-user-select:none;cursor: default;}#canvasContainer {overflow: auto;padding-top: 6px;padding-bottom: 6px;position: absolute;top: 32px;right: 0;bottom: 32px;left: 0;text-align: center;background-color: #888;background-image: url(images/texture.png);}#canvasContainer.slideshow {padding: 0;overflow: hidden;}#canvasContainer.slideshow > * {margin: auto;position: absolute;top: 0;left: 0;right: 0;bottom: 0;}.presentationMode {top: 0 !important;bottom: 0 !important;background-color: black !important;cursor: default !important;}#canvas {box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);overflow: hidden;}#sliderContainer {visibility: hidden;}#overlayNavigator {position: absolute;width: 100%;height: 0;top: calc(50% - 50px);background-color: rgba(0, 0, 0, 0);z-index: 3;opacity: 0;-webkit-transition: opacity 1s ease-out;-moz-transition: opacity 1s ease-out;transition: opacity 1s ease-out;}#previousPage {float: left;margin-left: 10px;border-top: 50px solid transparent;border-bottom: 50px solid transparent;border-right: 50px solid black;opacity: 0.5;}#nextPage {float: right;margin-right: 10px;border-top: 50px solid transparent;border-bottom: 50px solid transparent;border-left: 50px solid black;opacity: 0.5;}#previousPage:active {opacity: 0.8;}#nextPage:active {opacity: 0.8;}#overlayCloseButton {position: absolute;top: 10px;right: 10px;z-index: 3;font-size: 35px;color: white;background-color: black;opacity: 0.5;width: 40px;height: 40px;-webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px;text-align: center;cursor: pointer;display: none;}#overlayCloseButton:active {background-color: red;}#aboutDialogCentererTable {display: table;width:100%;height:100%;}#aboutDialogCentererCell {vertical-align: middle;text-align:center;display: table-cell;}#aboutDialog {width: 280px;background-color: #666;color: white;text-align: center;border-radius: 2px;box-shadow: 0px 1px 6px black;padding: 5px;font-style: sans-serif;display: inline-block;}#aboutDialog h1 {font-size: 25pt;}#aboutDialog p {font-size: 10pt;}#aboutDialog > * {margin: 10px;}#dialogOverlay {position: absolute;left: 0px;top: 0px;width:100%;height:100%;z-index: 3;background-color: rgba(0,0,0,.5);overflow: auto;display: none;}#blanked {display: none;cursor: none;position: absolute;left: 0px;top: 0px;width:100%;height:100%;z-index: 3;}";var viewerTouch_css="#canvasContainer {top: 0;bottom: 0;}#overlayNavigator {height: 100px;pointer-events: none;}#nextPage, #previousPage {pointer-events: all;}#titlebar, #toolbarContainer {background-color: rgba(0, 0, 0, 0.6);background-image: none;-webkit-transition: all 0.5s;-moz-transition: all 0.5s;transition: all 0.5s;}#titlebar {top: -32px;}#titlebar.viewer-touched {top: 0px;}#toolbarContainer {bottom: -32px;}#toolbarContainer.viewer-touched {bottom: 0px;}.viewer-touched {display: block;opacity: 1 !important;}#next, #previous {display: none;}";function Viewer(b,d){function f(){var a,c,e,d,f,g;g="undefined"!==String(typeof ViewerJS_version)?ViewerJS_version:"From Source";b&&(e=b.getPluginName(),d=b.getPluginVersion(),f=b.getPluginURL());a=document.createElement("div");a.id="aboutDialogCentererTable";c=document.createElement("div");c.id="aboutDialogCentererCell";H=document.createElement("div");H.id="aboutDialog";H.innerHTML='<h1>ViewerJS</h1><p>Open Source document viewer for webpages, built with HTML and JavaScript.</p><p>Learn more and get your own copy on the <a href="http://viewerjs.org/" target="_blank">ViewerJS website</a>.</p>'+
(b?'<p>Using the <a href = "'+f+'" target="_blank">'+e+'</a> (<span id = "pluginVersion">'+d+"</span>) plugin to show you this document.</p>":"")+"<p>Version "+g+'</p><p>Supported by <a href="https://nlnet.nl" target="_blank"><br><img src="images/nlnet.png" width="160" height="60" alt="NLnet Foundation"></a></p><p>Made by <a href="http://kogmbh.com" target="_blank"><br><img src="images/kogmbh.png" width="172" height="40" alt="KO GmbH"></a></p><button id = "aboutDialogCloseButton" class = "toolbarButton textButton">Close</button>';
K.appendChild(a);a.appendChild(c);c.appendChild(H);a=document.createElement("button");a.id="about";a.className="toolbarButton textButton about";a.title="About";a.innerHTML="ViewerJS";Q.appendChild(a);a.addEventListener("click",function(){K.style.display="block"});document.getElementById("aboutDialogCloseButton").addEventListener("click",function(){K.style.display="none"})}function g(a){var b=R.options,c,e=!1,d;for(d=0;d<b.length;d+=1)c=b[d],c.value!==a?c.selected=!1:e=c.selected=!0;return e}function p(a,
b){if(a!==h.getZoomLevel()){h.setZoomLevel(a);var c=document.createEvent("UIEvents");c.initUIEvent("scalechange",!1,!1,window,0);c.scale=a;c.resetAutoSettings=b;window.dispatchEvent(c)}}function k(){var a;if(b.onScroll)b.onScroll();b.getPageInView&&(a=b.getPageInView())&&(F=a,document.getElementById("pageNumber").value=a)}function n(a){window.clearTimeout(M);M=window.setTimeout(function(){k()},a)}function a(a,c){var d,e;if(d="custom"===a?parseFloat(document.getElementById("customScaleOption").textContent)/
100:parseFloat(a))p(d,!0);else{d=s.clientWidth-t;e=s.clientHeight-t;switch(a){case "page-actual":p(1,c);break;case "page-width":b.fitToWidth(d);break;case "page-height":b.fitToHeight(e);break;case "page-fit":b.fitToPage(d,e);break;case "auto":b.isSlideshow()?b.fitToPage(d+t,e+t):b.fitSmart(d)}g(a)}n(300)}function u(a){var b;return-1!==["auto","page-actual","page-width"].indexOf(a)?a:(b=parseFloat(a))&&D<=b&&b<=B?a:A}function c(a){a=parseInt(a,10);return isNaN(a)?1:a}function v(){e=!e;x&&!e&&h.togglePresentationMode()}
function l(){if(x||b.isSlideshow())J.className="viewer-touched",window.clearTimeout(N),N=window.setTimeout(function(){J.className=""},5E3)}function y(){C.classList.add("viewer-touched");E.classList.add("viewer-touched");window.clearTimeout(O);O=window.setTimeout(function(){r()},5E3)}function r(){C.classList.remove("viewer-touched");E.classList.remove("viewer-touched")}function m(){C.classList.contains("viewer-touched")?r():y()}function w(a){blanked.style.display="block";blanked.style.backgroundColor=
a;r()}function q(a,b){var c=document.getElementById(a);c.addEventListener("click",function(){b();c.blur()})}var h=this,t=40,D=0.25,B=4,A="auto",x=!1,e=!1,L=!1,I,z=document.getElementById("viewer"),s=document.getElementById("canvasContainer"),J=document.getElementById("overlayNavigator"),C=document.getElementById("titlebar"),E=document.getElementById("toolbarContainer"),P=document.getElementById("toolbarLeft"),S=document.getElementById("toolbarMiddleContainer"),R=document.getElementById("scaleSelect"),
K=document.getElementById("dialogOverlay"),Q=document.getElementById("toolbarRight"),H,G=[],F,M,N,O;this.initialize=function(){var e;e=u(d.zoom);I=d.documentUrl;document.title=d.title;var f=document.getElementById("documentName");f.innerHTML="";f.appendChild(f.ownerDocument.createTextNode(d.title));b.onLoad=function(){document.getElementById("pluginVersion").innerHTML=b.getPluginVersion();b.isSlideshow()?(s.classList.add("slideshow"),P.style.visibility="visible"):(S.style.visibility="visible",b.getPageInView&&
(P.style.visibility="visible"));L=!0;G=b.getPages();document.getElementById("numPages").innerHTML="of "+G.length;h.showPage(c(d.startpage));a(e);s.onscroll=k;n()};b.initialize(s,I)};this.showPage=function(a){0>=a?a=1:a>G.length&&(a=G.length);b.showPage(a);F=a;document.getElementById("pageNumber").value=F};this.showNextPage=function(){h.showPage(F+1)};this.showPreviousPage=function(){h.showPage(F-1)};this.download=function(){var a=I.split("#")[0];window.open(a+"&contentDispositionType=attachment",
"_parent")};this.printDocument=function(){window.print()};this.toggleFullScreen=function(){e?document.exitFullscreen?document.exitFullscreen():document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():z.requestFullscreen?z.requestFullscreen():z.mozRequestFullScreen?
z.mozRequestFullScreen():z.webkitRequestFullscreen?z.webkitRequestFullscreen():z.webkitRequestFullScreen?z.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):z.msRequestFullscreen&&z.msRequestFullscreen()};this.togglePresentationMode=function(){var b=document.getElementById("overlayCloseButton");x?("block"===blanked.style.display&&(blanked.style.display="none",m()),C.style.display=E.style.display="block",b.style.display="none",s.classList.remove("presentationMode"),s.onmouseup=function(){},s.oncontextmenu=
function(){},s.onmousedown=function(){},a("auto")):(C.style.display=E.style.display="none",b.style.display="block",s.classList.add("presentationMode"),s.onmousedown=function(a){a.preventDefault()},s.oncontextmenu=function(a){a.preventDefault()},s.onmouseup=function(a){a.preventDefault();1===a.which?h.showNextPage():h.showPreviousPage()},a("page-fit"));x=!x};this.getZoomLevel=function(){return b.getZoomLevel()};this.setZoomLevel=function(a){b.setZoomLevel(a)};this.zoomOut=function(){var b=(h.getZoomLevel()/
1.1).toFixed(2),b=Math.max(D,b);a(b,!0)};this.zoomIn=function(){var b=(1.1*h.getZoomLevel()).toFixed(2),b=Math.min(B,b);a(b,!0)};(function(){f();b&&(h.initialize(),document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.webkitCancelFullScreen||document.msExitFullscreen||(document.getElementById("fullscreen").style.visibility="hidden",document.getElementById("presentation").style.visibility="hidden"),q("overlayCloseButton",h.toggleFullScreen),
q("fullscreen",h.toggleFullScreen),q("print",h.printDocument),q("presentation",function(){e||h.toggleFullScreen();h.togglePresentationMode()}),document.addEventListener("fullscreenchange",v),document.addEventListener("webkitfullscreenchange",v),document.addEventListener("mozfullscreenchange",v),document.addEventListener("MSFullscreenChange",v),q("download",h.download),q("zoomOut",h.zoomOut),q("zoomIn",h.zoomIn),q("previous",h.showPreviousPage),q("next",h.showNextPage),q("previousPage",h.showPreviousPage),
q("nextPage",h.showNextPage),document.getElementById("pageNumber").addEventListener("change",function(){h.showPage(this.value)}),document.getElementById("scaleSelect").addEventListener("change",function(){a(this.value)}),s.addEventListener("click",l),J.addEventListener("click",l),s.addEventListener("click",m),C.addEventListener("click",y),E.addEventListener("click",y),window.addEventListener("scalechange",function(a){var b=document.getElementById("customScaleOption"),c=g(String(a.scale));b.selected=
!1;c||(b.textContent=Math.round(1E4*a.scale)/100+"%",b.selected=!0)},!0),window.addEventListener("resize",function(b){L&&(document.getElementById("pageWidthOption").selected||document.getElementById("pageAutoOption").selected)&&a(document.getElementById("scaleSelect").value);l()}),window.addEventListener("keydown",function(a){var b=a.keyCode;a=a.shiftKey;if("block"===blanked.style.display)switch(b){case 16:case 17:case 18:case 91:case 93:case 224:case 225:break;default:blanked.style.display="none",
m()}else switch(b){case 8:case 33:case 37:case 38:case 80:h.showPreviousPage();break;case 13:case 34:case 39:case 40:case 78:h.showNextPage();break;case 32:a?h.showPreviousPage():h.showNextPage();break;case 66:case 190:x&&w("#000");break;case 87:case 188:x&&w("#FFF");break;case 36:h.showPage(1);break;case 35:h.showPage(G.length)}}))})()};(function(){function b(a,b){var c=new XMLHttpRequest;c.onreadystatechange=function(){var a,d;4===c.readyState&&((200<=c.status&&300>c.status||0===c.status)&&(a=c.getResponseHeader("content-type"))&&n.some(function(b){return b.supportsMimetype(a)?(d=b,console.log("Found plugin by mimetype and xhr head: "+a),window.mimetype=a,!0):!1}),b(d))};c.open("HEAD",a,!0);c.send()}function d(a){var b;n.some(function(c){return c.supportsFileExtension(a)?(b=c,!0):!1});return b}function f(a){var b=d(a);b&&console.log("Found plugin by parameter type: "+
a);return b}function g(a){a=a.split("?")[0].split(".").pop();var b=d(a);b&&console.log("Found plugin by file extension from path: "+a);return b}function p(a){var b={};(a.search||"?").substr(1).split("&").forEach(function(a){a&&(a=a.split("=",2),b[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))});return b}var k,n=[function(){var a="application/vnd.oasis.opendocument.text application/vnd.oasis.opendocument.text-flat-xml application/vnd.oasis.opendocument.text-template application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.presentation-flat-xml application/vnd.oasis.opendocument.presentation-template application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.spreadsheet-flat-xml application/vnd.oasis.opendocument.spreadsheet-template".split(" "),
b="odt fodt ott odp fodp otp ods fods ots".split(" ");return{supportsMimetype:function(b){return-1!==a.indexOf(b)},supportsFileExtension:function(a){return-1!==b.indexOf(a)},path:"./ODFViewerPlugin",getClass:function(){return ODFViewerPlugin}}}(),{supportsMimetype:function(a){return"application/pdf"===a},supportsFileExtension:function(a){return"pdf"===a},path:"./PDFViewerPlugin",getClass:function(){return PDFViewerPlugin}},function(){var a=["image/jpeg","image/pjpeg","image/gif","image/png","image/bmp"],
b=["png","jpg","jpeg","gif","bmp"];return{supportsMimetype:function(b){return-1!==a.indexOf(b)},supportsFileExtension:function(a){return-1!==b.indexOf(a)},path:"./ImageViewerPlugin",getClass:function(){return ImageViewerPlugin}}}(),function(){var a="video/mp4 video/ogg video/webm audio/aac audio/mp4 audio/mpeg audio/ogg audio/wav audio/webm".split(" "),b="aac mp4 m4a mp3 mpg mpeg ogg wav webm m4v ogv oga mp1 mp2".split(" ");return{supportsMimetype:function(b){return-1!==a.indexOf(b)},supportsFileExtension:function(a){return-1!==
b.indexOf(a)},path:"./ImageViewerPlugin",getClass:function(){return MultimediaViewerPlugin}}}()];window.onload=function(){var a=document.location.hash.substring(1),d=p(document.location),c;a?(d.title||(d.title=a.replace(/^.*[\\\/]/,"")),d.documentUrl=a,b(a,function(b){b||(b=d.type?f(d.type):g(a));b?"undefined"!==String(typeof loadPlugin)?loadPlugin(b.path,function(){c=b.getClass();new Viewer(new c,d)}):(c=b.getClass(),new Viewer(new c,d)):new Viewer})):new Viewer};k=document.createElementNS(document.head.namespaceURI,
"style");k.setAttribute("media","screen");k.setAttribute("type","text/css");k.appendChild(document.createTextNode(viewer_css));document.head.appendChild(k);k=document.createElementNS(document.head.namespaceURI,"style");k.setAttribute("media","only screen and (max-device-width: 800px) and (max-device-height: 800px)");k.setAttribute("type","text/css");k.setAttribute("viewerTouch","1");k.appendChild(document.createTextNode(viewerTouch_css));document.head.appendChild(k)})();
//]]>
</script>
</head>
<body>
<div id = "viewer">
<div id = "titlebar" class = "no-print">
<div id = "documentName" style="display:none;"></div>
<div id = "titlebarRight">
<button id = "print" class = "toolbarButton print" title = "Print"></button>
<button id = "presentation" class = "toolbarButton presentation" title = "Presentation"></button>
<button id = "fullscreen" class = "toolbarButton fullscreen" title = "Fullscreen"></button>
<button id = "download" class = "toolbarButton download" title = "Download"></button>
</div>
</div>
<div id = "toolbarContainer" class = "no-print">
<div id = "toolbar">
<div id = "toolbarLeft">
<div id = "navButtons" class = "splitToolbarButton">
<button id = "previous" class = "toolbarButton pageUp" title = "Previous Page"></button>
<div class="splitToolbarButtonSeparator"></div>
<button id = "next" class = "toolbarButton pageDown" title = "Next Page"></button>
</div>
<label id = "pageNumberLabel" class = "toolbarLabel" for = "pageNumber">Page:</label>
<input type = "number" id = "pageNumber" class = "toolbarField pageNumber"/>
<span id = "numPages" class = "toolbarLabel"></span>
</div>
<div id = "toolbarMiddleContainer" class = "outerCenter">
<div id = "toolbarMiddle" class = "innerCenter">
<div id = 'zoomButtons' class = "splitToolbarButton">
<button id = "zoomOut" class = "toolbarButton zoomOut" title = "Zoom Out"></button>
<div class="splitToolbarButtonSeparator"></div>
<button id = "zoomIn" class = "toolbarButton zoomIn" title = "Zoom In"></button>
</div>
<span id="scaleSelectContainer" class="dropdownToolbarButton">
<select id="scaleSelect" title="Zoom" oncontextmenu="return false;">
<option id="pageAutoOption" value="auto" selected>Automatic</option>
<option id="pageActualOption" value="page-actual">Actual Size</option>
<option id="pageWidthOption" value="page-width">Full Width</option>
<option id="customScaleOption" value="custom"> </option>
<option value="0.5">50%</option>
<option value="0.75">75%</option>
<option value="1">100%</option>
<option value="1.25">125%</option>
<option value="1.5">150%</option>
<option value="2">200%</option>
</select>
</span>
<div id = "sliderContainer">
<div id = "slider"></div>
</div>
</div>
</div>
<div id = "toolbarRight">
</div>
</div>
</div>
<div id = "canvasContainer">
<div id = "canvas"></div>
</div>
<div id = "overlayNavigator" class = "no-print">
<div id = "previousPage"></div>
<div id = "nextPage"></div>
</div>
<div id = "overlayCloseButton" class = "no-print">
&#10006;
</div>
<div id = "dialogOverlay" class = "no-print"></div>
<div id = "blanked" class = "no-print"></div>
</div>
</body>
</html>