From 9bd87eccbbc5d00557a25f070c8f8c91a0d7b4f4 Mon Sep 17 00:00:00 2001 From: edsilv Date: Fri, 28 Apr 2017 11:59:27 +0100 Subject: [PATCH] fixed #453 --- bower.json | 2 +- dist/{uv-2.0.1 => uv-2.0.2}/app.html | 0 .../html/uv-pdfcenterpanel-module/viewer.html | 0 .../l10n/ach/chrome.properties | 0 .../l10n/ach/viewer.properties | 0 .../l10n/af/chrome.properties | 0 .../l10n/af/viewer.properties | 0 .../l10n/ak/chrome.properties | 0 .../l10n/ak/viewer.properties | 0 .../l10n/an/chrome.properties | 0 .../l10n/an/viewer.properties | 0 .../l10n/ar/chrome.properties | 0 .../l10n/ar/viewer.properties | 0 .../l10n/as/chrome.properties | 0 .../l10n/as/viewer.properties | 0 .../l10n/ast/chrome.properties | 0 .../l10n/ast/viewer.properties | 0 .../l10n/az/chrome.properties | 0 .../l10n/az/viewer.properties | 0 .../l10n/be/chrome.properties | 0 .../l10n/be/viewer.properties | 0 .../l10n/bg/chrome.properties | 0 .../l10n/bg/viewer.properties | 0 .../l10n/bn-BD/chrome.properties | 0 .../l10n/bn-BD/viewer.properties | 0 .../l10n/bn-IN/chrome.properties | 0 .../l10n/bn-IN/viewer.properties | 0 .../l10n/br/chrome.properties | 0 .../l10n/br/viewer.properties | 0 .../l10n/bs/chrome.properties | 0 .../l10n/bs/viewer.properties | 0 .../l10n/ca/chrome.properties | 0 .../l10n/ca/viewer.properties | 0 .../l10n/cs/chrome.properties | 0 .../l10n/cs/viewer.properties | 0 .../l10n/csb/chrome.properties | 0 .../l10n/csb/viewer.properties | 0 .../l10n/cy/chrome.properties | 0 .../l10n/cy/viewer.properties | 0 .../l10n/da/chrome.properties | 0 .../l10n/da/viewer.properties | 0 .../l10n/de/chrome.properties | 0 .../l10n/de/viewer.properties | 0 .../l10n/el/chrome.properties | 0 .../l10n/el/viewer.properties | 0 .../l10n/en-GB/chrome.properties | 0 .../l10n/en-GB/viewer.properties | 0 .../l10n/en-US/chrome.properties | 0 .../l10n/en-US/viewer.properties | 0 .../l10n/en-ZA/chrome.properties | 0 .../l10n/en-ZA/viewer.properties | 0 .../l10n/eo/chrome.properties | 0 .../l10n/eo/viewer.properties | 0 .../l10n/es-AR/chrome.properties | 0 .../l10n/es-AR/viewer.properties | 0 .../l10n/es-CL/chrome.properties | 0 .../l10n/es-CL/viewer.properties | 0 .../l10n/es-ES/chrome.properties | 0 .../l10n/es-ES/viewer.properties | 0 .../l10n/es-MX/chrome.properties | 0 .../l10n/es-MX/viewer.properties | 0 .../l10n/et/chrome.properties | 0 .../l10n/et/viewer.properties | 0 .../l10n/eu/chrome.properties | 0 .../l10n/eu/viewer.properties | 0 .../l10n/fa/chrome.properties | 0 .../l10n/fa/viewer.properties | 0 .../l10n/ff/chrome.properties | 0 .../l10n/ff/viewer.properties | 0 .../l10n/fi/chrome.properties | 0 .../l10n/fi/viewer.properties | 0 .../l10n/fr/chrome.properties | 0 .../l10n/fr/viewer.properties | 0 .../l10n/fy-NL/chrome.properties | 0 .../l10n/fy-NL/viewer.properties | 0 .../l10n/ga-IE/chrome.properties | 0 .../l10n/ga-IE/viewer.properties | 0 .../l10n/gd/chrome.properties | 0 .../l10n/gd/viewer.properties | 0 .../l10n/gl/chrome.properties | 0 .../l10n/gl/viewer.properties | 0 .../l10n/gu-IN/chrome.properties | 0 .../l10n/gu-IN/viewer.properties | 0 .../l10n/he/chrome.properties | 0 .../l10n/he/viewer.properties | 0 .../l10n/hi-IN/chrome.properties | 0 .../l10n/hi-IN/viewer.properties | 0 .../l10n/hr/chrome.properties | 0 .../l10n/hr/viewer.properties | 0 .../l10n/hu/chrome.properties | 0 .../l10n/hu/viewer.properties | 0 .../l10n/hy-AM/chrome.properties | 0 .../l10n/hy-AM/viewer.properties | 0 .../l10n/id/chrome.properties | 0 .../l10n/id/viewer.properties | 0 .../l10n/is/chrome.properties | 0 .../l10n/is/viewer.properties | 0 .../l10n/it/chrome.properties | 0 .../l10n/it/viewer.properties | 0 .../l10n/ja/chrome.properties | 0 .../l10n/ja/viewer.properties | 0 .../l10n/ka/chrome.properties | 0 .../l10n/ka/viewer.properties | 0 .../l10n/kk/chrome.properties | 0 .../l10n/kk/viewer.properties | 0 .../l10n/km/chrome.properties | 0 .../l10n/km/viewer.properties | 0 .../l10n/kn/chrome.properties | 0 .../l10n/kn/viewer.properties | 0 .../l10n/ko/chrome.properties | 0 .../l10n/ko/viewer.properties | 0 .../l10n/ku/chrome.properties | 0 .../l10n/ku/viewer.properties | 0 .../l10n/lg/chrome.properties | 0 .../l10n/lg/viewer.properties | 0 .../l10n/lij/chrome.properties | 0 .../l10n/lij/viewer.properties | 0 dist/{uv-2.0.1 => uv-2.0.2}/l10n/locale.properties | 0 .../l10n/lt/chrome.properties | 0 .../l10n/lt/viewer.properties | 0 .../l10n/lv/chrome.properties | 0 .../l10n/lv/viewer.properties | 0 .../l10n/mai/chrome.properties | 0 .../l10n/mai/viewer.properties | 0 .../l10n/mk/chrome.properties | 0 .../l10n/mk/viewer.properties | 0 .../l10n/ml/chrome.properties | 0 .../l10n/ml/viewer.properties | 0 .../l10n/mn/chrome.properties | 0 .../l10n/mn/viewer.properties | 0 .../l10n/mr/chrome.properties | 0 .../l10n/mr/viewer.properties | 0 .../l10n/ms/chrome.properties | 0 .../l10n/ms/viewer.properties | 0 .../l10n/my/chrome.properties | 0 .../l10n/my/viewer.properties | 0 .../l10n/nb-NO/chrome.properties | 0 .../l10n/nb-NO/viewer.properties | 0 .../l10n/nl/chrome.properties | 0 .../l10n/nl/viewer.properties | 0 .../l10n/nn-NO/chrome.properties | 0 .../l10n/nn-NO/viewer.properties | 0 .../l10n/nso/chrome.properties | 0 .../l10n/nso/viewer.properties | 0 .../l10n/oc/chrome.properties | 0 .../l10n/oc/viewer.properties | 0 .../l10n/or/chrome.properties | 0 .../l10n/or/viewer.properties | 0 .../l10n/pa-IN/chrome.properties | 0 .../l10n/pa-IN/viewer.properties | 0 .../l10n/pl/chrome.properties | 0 .../l10n/pl/viewer.properties | 0 .../l10n/pt-BR/chrome.properties | 0 .../l10n/pt-BR/viewer.properties | 0 .../l10n/pt-PT/chrome.properties | 0 .../l10n/pt-PT/viewer.properties | 0 .../l10n/rm/chrome.properties | 0 .../l10n/rm/viewer.properties | 0 .../l10n/ro/chrome.properties | 0 .../l10n/ro/viewer.properties | 0 .../l10n/ru/chrome.properties | 0 .../l10n/ru/viewer.properties | 0 .../l10n/rw/chrome.properties | 0 .../l10n/rw/viewer.properties | 0 .../l10n/sah/chrome.properties | 0 .../l10n/sah/viewer.properties | 0 .../l10n/si/chrome.properties | 0 .../l10n/si/viewer.properties | 0 .../l10n/sk/chrome.properties | 0 .../l10n/sk/viewer.properties | 0 .../l10n/sl/chrome.properties | 0 .../l10n/sl/viewer.properties | 0 .../l10n/son/chrome.properties | 0 .../l10n/son/viewer.properties | 0 .../l10n/sq/chrome.properties | 0 .../l10n/sq/viewer.properties | 0 .../l10n/sr/chrome.properties | 0 .../l10n/sr/viewer.properties | 0 .../l10n/sv-SE/chrome.properties | 0 .../l10n/sv-SE/viewer.properties | 0 .../l10n/sw/chrome.properties | 0 .../l10n/sw/viewer.properties | 0 .../l10n/ta-LK/chrome.properties | 0 .../l10n/ta-LK/viewer.properties | 0 .../l10n/ta/chrome.properties | 0 .../l10n/ta/viewer.properties | 0 .../l10n/te/chrome.properties | 0 .../l10n/te/viewer.properties | 0 .../l10n/th/chrome.properties | 0 .../l10n/th/viewer.properties | 0 .../l10n/tl/chrome.properties | 0 .../l10n/tl/viewer.properties | 0 .../l10n/tn/chrome.properties | 0 .../l10n/tn/viewer.properties | 0 .../l10n/tr/chrome.properties | 0 .../l10n/tr/viewer.properties | 0 .../l10n/uk/chrome.properties | 0 .../l10n/uk/viewer.properties | 0 .../l10n/ur/chrome.properties | 0 .../l10n/ur/viewer.properties | 0 .../l10n/vi/chrome.properties | 0 .../l10n/vi/viewer.properties | 0 .../l10n/wo/chrome.properties | 0 .../l10n/wo/viewer.properties | 0 .../l10n/xh/chrome.properties | 0 .../l10n/xh/viewer.properties | 0 .../l10n/zh-CN/chrome.properties | 0 .../l10n/zh-CN/viewer.properties | 0 .../l10n/zh-TW/chrome.properties | 0 .../l10n/zh-TW/viewer.properties | 0 .../l10n/zu/chrome.properties | 0 .../l10n/zu/viewer.properties | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/Detector.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/README.md | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/app.js | 2 +- dist/{uv-2.0.1 => uv-2.0.2}/lib/bundle.min.js | 6 +++--- dist/{uv-2.0.1 => uv-2.0.2}/lib/compatibility.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/embed.js | 2 +- .../lib/flashmediaelement.swf | Bin .../lib/iiif-gallery-component.js | 0 .../lib/iiif-metadata-component.js | 0 .../lib/iiif-tree-component.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/l10n.js | 0 .../lib/mediaelement-and-player.js | 0 .../{uv-2.0.1 => uv-2.0.2}/lib/openseadragon.min.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.min.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.worker.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.worker.min.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf_combined.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/pdfobject.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/stats.min.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/three.min.js | 0 .../lib/uv-mediaelement-extension-dependencies.js | 0 .../lib/uv-mediaelement-extension.cy-GB.config.json | 0 .../lib/uv-mediaelement-extension.en-GB.config.json | 0 .../lib/uv-pdf-extension-dependencies.js | 0 .../lib/uv-pdf-extension.cy-GB.config.json | 0 .../lib/uv-pdf-extension.en-GB.config.json | 0 .../lib/uv-seadragon-extension-dependencies.js | 0 .../lib/uv-seadragon-extension.cy-GB.config.json | 0 .../lib/uv-seadragon-extension.en-GB.config.json | 0 .../lib/uv-virtex-extension-dependencies.js | 0 .../lib/uv-virtex-extension.cy-GB.config.json | 0 .../lib/uv-virtex-extension.en-GB.config.json | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/viewer.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/viewer.min.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/lib/virtex.js | 0 dist/{uv-2.0.1 => uv-2.0.2}/package.json | 4 ++-- .../uv-mediaelement-extension.cy-GB.schema.json | 0 .../uv-mediaelement-extension.en-GB.schema.json | 0 .../schema/uv-pdf-extension.cy-GB.schema.json | 0 .../schema/uv-pdf-extension.en-GB.schema.json | 0 .../schema/uv-seadragon-extension.cy-GB.schema.json | 0 .../schema/uv-seadragon-extension.en-GB.schema.json | 0 .../schema/uv-virtex-extension.cy-GB.schema.json | 0 .../schema/uv-virtex-extension.en-GB.schema.json | 0 .../css/uv-mediaelement-extension/theme.css | 0 .../uv-cy-GB-theme/css/uv-pdf-extension/theme.css | 0 .../css/uv-seadragon-extension/theme.css | 0 .../css/uv-virtex-extension/theme.css | 0 .../img/uv-contentleftpanel-module/padlock.png | Bin .../thumb_placeholder.png | Bin .../uv-mediaelementcenterpanel-module/bigplay.png | Bin .../controls-wellcome-bg.png | Bin .../controls-wellcome.png | Bin .../uv-mediaelementcenterpanel-module/loading.gif | Bin .../img/uv-moreinforightpanel-module/copy.png | Bin .../uv-osdmobilefooterpanel-module/rotate_right.png | Bin .../img/uv-osdmobilefooterpanel-module/zoom_in.png | Bin .../img/uv-osdmobilefooterpanel-module/zoom_out.png | Bin .../img/uv-pagingheaderpanel-module/first.png | Bin .../img/uv-pagingheaderpanel-module/grid.png | Bin .../img/uv-pagingheaderpanel-module/last.png | Bin .../img/uv-pagingheaderpanel-module/next.png | Bin .../img/uv-pagingheaderpanel-module/one_up.png | Bin .../img/uv-pagingheaderpanel-module/prev.png | Bin .../img/uv-pagingheaderpanel-module/settings.png | Bin .../img/uv-pagingheaderpanel-module/two_up.png | Bin .../uv-pdfcenterpanel-module/annotation-check.svg | 0 .../uv-pdfcenterpanel-module/annotation-comment.svg | 0 .../uv-pdfcenterpanel-module/annotation-help.svg | 0 .../uv-pdfcenterpanel-module/annotation-insert.svg | 0 .../img/uv-pdfcenterpanel-module/annotation-key.svg | 0 .../annotation-newparagraph.svg | 0 .../uv-pdfcenterpanel-module/annotation-noicon.svg | 0 .../uv-pdfcenterpanel-module/annotation-note.svg | 0 .../annotation-paragraph.svg | 0 .../findbarButton-next-rtl.png | Bin .../findbarButton-next-rtl@2x.png | Bin .../uv-pdfcenterpanel-module/findbarButton-next.png | Bin .../findbarButton-next@2x.png | Bin .../findbarButton-previous-rtl.png | Bin .../findbarButton-previous-rtl@2x.png | Bin .../findbarButton-previous.png | Bin .../findbarButton-previous@2x.png | Bin .../img/uv-pdfcenterpanel-module/grab.cur | Bin .../img/uv-pdfcenterpanel-module/grabbing.cur | Bin .../img/uv-pdfcenterpanel-module/loading-icon.gif | Bin .../img/uv-pdfcenterpanel-module/loading-small.png | Bin .../secondaryToolbarButton-documentProperties.png | Bin ...secondaryToolbarButton-documentProperties@2x.png | Bin .../secondaryToolbarButton-firstPage.png | Bin .../secondaryToolbarButton-firstPage@2x.png | Bin .../secondaryToolbarButton-handTool.png | Bin .../secondaryToolbarButton-handTool@2x.png | Bin .../secondaryToolbarButton-lastPage.png | Bin .../secondaryToolbarButton-lastPage@2x.png | Bin .../secondaryToolbarButton-rotateCcw.png | Bin .../secondaryToolbarButton-rotateCcw@2x.png | Bin .../secondaryToolbarButton-rotateCw.png | Bin .../secondaryToolbarButton-rotateCw@2x.png | Bin .../img/uv-pdfcenterpanel-module/shadow.png | Bin .../img/uv-pdfcenterpanel-module/texture.png | Bin .../toolbarButton-bookmark.png | Bin .../toolbarButton-bookmark@2x.png | Bin .../toolbarButton-download.png | Bin .../toolbarButton-download@2x.png | Bin .../toolbarButton-menuArrows.png | Bin .../toolbarButton-menuArrows@2x.png | Bin .../toolbarButton-openFile.png | Bin .../toolbarButton-openFile@2x.png | Bin .../toolbarButton-pageDown-rtl.png | Bin .../toolbarButton-pageDown-rtl@2x.png | Bin .../toolbarButton-pageDown.png | Bin .../toolbarButton-pageDown@2x.png | Bin .../toolbarButton-pageUp-rtl.png | Bin .../toolbarButton-pageUp-rtl@2x.png | Bin .../toolbarButton-pageUp.png | Bin .../toolbarButton-pageUp@2x.png | Bin .../toolbarButton-presentationMode.png | Bin .../toolbarButton-presentationMode@2x.png | Bin .../toolbarButton-print.png | Bin .../toolbarButton-print@2x.png | Bin .../toolbarButton-search.png | Bin .../toolbarButton-search@2x.png | Bin .../toolbarButton-secondaryToolbarToggle-rtl.png | Bin .../toolbarButton-secondaryToolbarToggle-rtl@2x.png | Bin .../toolbarButton-secondaryToolbarToggle.png | Bin .../toolbarButton-secondaryToolbarToggle@2x.png | Bin .../toolbarButton-sidebarToggle-rtl.png | Bin .../toolbarButton-sidebarToggle-rtl@2x.png | Bin .../toolbarButton-sidebarToggle.png | Bin .../toolbarButton-sidebarToggle@2x.png | Bin .../toolbarButton-viewAttachments.png | Bin .../toolbarButton-viewOutline-rtl.png | Bin .../toolbarButton-viewOutline-rtl@2x.png | Bin .../toolbarButton-viewOutline.png | Bin .../toolbarButton-viewOutline@2x.png | Bin .../toolbarButton-viewThumbnail.png | Bin .../toolbarButton-viewThumbnail@2x.png | Bin .../toolbarButton-zoomIn.png | Bin .../toolbarButton-zoomIn@2x.png | Bin .../toolbarButton-zoomOut.png | Bin .../toolbarButton-zoomOut@2x.png | Bin .../uv-seadragoncenterpanel-module/down_arrow.png | Bin .../down_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/home.png | Bin .../uv-seadragoncenterpanel-module/left_arrow.png | Bin .../left_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/pixel.gif | Bin .../uv-seadragoncenterpanel-module/right_arrow.png | Bin .../right_arrow_disabled.png | Bin .../uv-seadragoncenterpanel-module/rotate_right.png | Bin .../img/uv-seadragoncenterpanel-module/up_arrow.png | Bin .../up_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/zoom_in.png | Bin .../img/uv-seadragoncenterpanel-module/zoom_out.png | Bin .../img/uv-searchfooterpanel-module/next.png | Bin .../placemarker_down.png | Bin .../placemarker_down_hover.png | Bin .../uv-searchfooterpanel-module/placemarker_up.png | Bin .../img/uv-searchfooterpanel-module/prev.png | Bin .../img/uv-searchfooterpanel-module/search.png | Bin .../img/uv-searchfooterpanel-module/spinner.gif | Bin .../img/uv-shared-module/arrows_left.png | Bin .../img/uv-shared-module/arrows_right.png | Bin .../img/uv-shared-module/bookmark.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/close.png | Bin .../img/uv-shared-module/close_attribution.png | Bin .../img/uv-shared-module/close_information_box.png | Bin .../img/uv-shared-module/close_message_box.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/copy.png | Bin .../img/uv-shared-module/dialogue_arrow.png | Bin .../img/uv-shared-module/download.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/embed.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/error.png | Bin .../img/uv-shared-module/exit_fullscreen.png | Bin .../img/uv-shared-module/feedback.png | Bin .../img/uv-shared-module/fullscreen.png | Bin .../img/uv-shared-module/hidden_thumb.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/iiif.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/minus.png | Bin .../img/uv-shared-module/modal_bg.gif | Bin .../img/uv-shared-module/moreinfo.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/open.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/plus.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/print.png | Bin .../img/uv-shared-module/search_result.png | Bin .../img/uv-shared-module/settings.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/share.png | Bin .../uv-cy-GB-theme/img/uv-shared-module/sprite.png | Bin .../img/uv-shared-module/unavailable.png | Bin .../img/uv-virtexcenterpanel-module/zoom_in.png | Bin .../img/uv-virtexcenterpanel-module/zoom_out.png | Bin .../css/uv-mediaelement-extension/theme.css | 0 .../uv-en-GB-theme/css/uv-pdf-extension/theme.css | 0 .../css/uv-seadragon-extension/theme.css | 0 .../css/uv-virtex-extension/theme.css | 0 .../themes/uv-en-GB-theme/img/hamburger.png | Bin .../img/uv-contentleftpanel-module/padlock.png | Bin .../thumb_placeholder.png | Bin .../uv-mediaelementcenterpanel-module/bigplay.png | Bin .../controls-wellcome-bg.png | Bin .../controls-wellcome.png | Bin .../uv-mediaelementcenterpanel-module/loading.gif | Bin .../img/uv-moreinforightpanel-module/copy.png | Bin .../uv-osdmobilefooterpanel-module/rotate_right.png | Bin .../img/uv-osdmobilefooterpanel-module/zoom_in.png | Bin .../img/uv-osdmobilefooterpanel-module/zoom_out.png | Bin .../img/uv-pagingheaderpanel-module/first.png | Bin .../img/uv-pagingheaderpanel-module/grid.png | Bin .../img/uv-pagingheaderpanel-module/last.png | Bin .../img/uv-pagingheaderpanel-module/next.png | Bin .../img/uv-pagingheaderpanel-module/one_up.png | Bin .../img/uv-pagingheaderpanel-module/prev.png | Bin .../img/uv-pagingheaderpanel-module/settings.png | Bin .../img/uv-pagingheaderpanel-module/two_up.png | Bin .../uv-pdfcenterpanel-module/annotation-check.svg | 0 .../uv-pdfcenterpanel-module/annotation-comment.svg | 0 .../uv-pdfcenterpanel-module/annotation-help.svg | 0 .../uv-pdfcenterpanel-module/annotation-insert.svg | 0 .../img/uv-pdfcenterpanel-module/annotation-key.svg | 0 .../annotation-newparagraph.svg | 0 .../uv-pdfcenterpanel-module/annotation-noicon.svg | 0 .../uv-pdfcenterpanel-module/annotation-note.svg | 0 .../annotation-paragraph.svg | 0 .../findbarButton-next-rtl.png | Bin .../findbarButton-next-rtl@2x.png | Bin .../uv-pdfcenterpanel-module/findbarButton-next.png | Bin .../findbarButton-next@2x.png | Bin .../findbarButton-previous-rtl.png | Bin .../findbarButton-previous-rtl@2x.png | Bin .../findbarButton-previous.png | Bin .../findbarButton-previous@2x.png | Bin .../img/uv-pdfcenterpanel-module/grab.cur | Bin .../img/uv-pdfcenterpanel-module/grabbing.cur | Bin .../img/uv-pdfcenterpanel-module/loading-icon.gif | Bin .../img/uv-pdfcenterpanel-module/loading-small.png | Bin .../secondaryToolbarButton-documentProperties.png | Bin ...secondaryToolbarButton-documentProperties@2x.png | Bin .../secondaryToolbarButton-firstPage.png | Bin .../secondaryToolbarButton-firstPage@2x.png | Bin .../secondaryToolbarButton-handTool.png | Bin .../secondaryToolbarButton-handTool@2x.png | Bin .../secondaryToolbarButton-lastPage.png | Bin .../secondaryToolbarButton-lastPage@2x.png | Bin .../secondaryToolbarButton-rotateCcw.png | Bin .../secondaryToolbarButton-rotateCcw@2x.png | Bin .../secondaryToolbarButton-rotateCw.png | Bin .../secondaryToolbarButton-rotateCw@2x.png | Bin .../img/uv-pdfcenterpanel-module/shadow.png | Bin .../img/uv-pdfcenterpanel-module/texture.png | Bin .../toolbarButton-bookmark.png | Bin .../toolbarButton-bookmark@2x.png | Bin .../toolbarButton-download.png | Bin .../toolbarButton-download@2x.png | Bin .../toolbarButton-menuArrows.png | Bin .../toolbarButton-menuArrows@2x.png | Bin .../toolbarButton-openFile.png | Bin .../toolbarButton-openFile@2x.png | Bin .../toolbarButton-pageDown-rtl.png | Bin .../toolbarButton-pageDown-rtl@2x.png | Bin .../toolbarButton-pageDown.png | Bin .../toolbarButton-pageDown@2x.png | Bin .../toolbarButton-pageUp-rtl.png | Bin .../toolbarButton-pageUp-rtl@2x.png | Bin .../toolbarButton-pageUp.png | Bin .../toolbarButton-pageUp@2x.png | Bin .../toolbarButton-presentationMode.png | Bin .../toolbarButton-presentationMode@2x.png | Bin .../toolbarButton-print.png | Bin .../toolbarButton-print@2x.png | Bin .../toolbarButton-search.png | Bin .../toolbarButton-search@2x.png | Bin .../toolbarButton-secondaryToolbarToggle-rtl.png | Bin .../toolbarButton-secondaryToolbarToggle-rtl@2x.png | Bin .../toolbarButton-secondaryToolbarToggle.png | Bin .../toolbarButton-secondaryToolbarToggle@2x.png | Bin .../toolbarButton-sidebarToggle-rtl.png | Bin .../toolbarButton-sidebarToggle-rtl@2x.png | Bin .../toolbarButton-sidebarToggle.png | Bin .../toolbarButton-sidebarToggle@2x.png | Bin .../toolbarButton-viewAttachments.png | Bin .../toolbarButton-viewOutline-rtl.png | Bin .../toolbarButton-viewOutline-rtl@2x.png | Bin .../toolbarButton-viewOutline.png | Bin .../toolbarButton-viewOutline@2x.png | Bin .../toolbarButton-viewThumbnail.png | Bin .../toolbarButton-viewThumbnail@2x.png | Bin .../toolbarButton-zoomIn.png | Bin .../toolbarButton-zoomIn@2x.png | Bin .../toolbarButton-zoomOut.png | Bin .../toolbarButton-zoomOut@2x.png | Bin .../uv-seadragoncenterpanel-module/down_arrow.png | Bin .../down_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/home.png | Bin .../uv-seadragoncenterpanel-module/left_arrow.png | Bin .../left_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/pixel.gif | Bin .../uv-seadragoncenterpanel-module/right_arrow.png | Bin .../right_arrow_disabled.png | Bin .../uv-seadragoncenterpanel-module/rotate_right.png | Bin .../img/uv-seadragoncenterpanel-module/up_arrow.png | Bin .../up_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/zoom_in.png | Bin .../img/uv-seadragoncenterpanel-module/zoom_out.png | Bin .../img/uv-searchfooterpanel-module/next.png | Bin .../placemarker_down.png | Bin .../placemarker_down_hover.png | Bin .../uv-searchfooterpanel-module/placemarker_up.png | Bin .../img/uv-searchfooterpanel-module/prev.png | Bin .../img/uv-searchfooterpanel-module/search.png | Bin .../img/uv-searchfooterpanel-module/spinner.gif | Bin .../img/uv-shared-module/arrows_left.png | Bin .../img/uv-shared-module/arrows_right.png | Bin .../img/uv-shared-module/bookmark.png | Bin .../uv-en-GB-theme/img/uv-shared-module/close.png | Bin .../img/uv-shared-module/close_attribution.png | Bin .../img/uv-shared-module/close_information_box.png | Bin .../img/uv-shared-module/close_message_box.png | Bin .../uv-en-GB-theme/img/uv-shared-module/copy.png | Bin .../img/uv-shared-module/dialogue_arrow.png | Bin .../img/uv-shared-module/download.png | Bin .../uv-en-GB-theme/img/uv-shared-module/embed.png | Bin .../uv-en-GB-theme/img/uv-shared-module/error.png | Bin .../img/uv-shared-module/exit_fullscreen.png | Bin .../img/uv-shared-module/feedback.png | Bin .../img/uv-shared-module/fullscreen.png | Bin .../img/uv-shared-module/hidden_thumb.png | Bin .../uv-en-GB-theme/img/uv-shared-module/iiif.png | Bin .../uv-en-GB-theme/img/uv-shared-module/minus.png | Bin .../img/uv-shared-module/modal_bg.gif | Bin .../img/uv-shared-module/moreinfo.png | Bin .../uv-en-GB-theme/img/uv-shared-module/open.png | Bin .../uv-en-GB-theme/img/uv-shared-module/plus.png | Bin .../uv-en-GB-theme/img/uv-shared-module/print.png | Bin .../img/uv-shared-module/search_result.png | Bin .../img/uv-shared-module/settings.png | Bin .../uv-en-GB-theme/img/uv-shared-module/share.png | Bin .../uv-en-GB-theme/img/uv-shared-module/sprite.png | Bin .../img/uv-shared-module/unavailable.png | Bin .../img/uv-virtexcenterpanel-module/zoom_in.png | Bin .../img/uv-virtexcenterpanel-module/zoom_out.png | Bin examples | 2 +- package.json | 2 +- src/lib/bundle.min.js | 11 +++++++++++ src/lib/embed.js | 2 +- 558 files changed, 22 insertions(+), 11 deletions(-) rename dist/{uv-2.0.1 => uv-2.0.2}/app.html (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/html/uv-pdfcenterpanel-module/viewer.html (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ach/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ach/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/af/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/af/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ak/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ak/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/an/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/an/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ar/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ar/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/as/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/as/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ast/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ast/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/az/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/az/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/be/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/be/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bg/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bg/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bn-BD/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bn-BD/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bn-IN/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bn-IN/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/br/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/br/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bs/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/bs/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ca/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ca/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/cs/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/cs/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/csb/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/csb/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/cy/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/cy/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/da/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/da/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/de/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/de/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/el/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/el/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-GB/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-GB/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-US/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-US/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-ZA/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/en-ZA/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/eo/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/eo/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-AR/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-AR/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-CL/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-CL/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-ES/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-ES/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-MX/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/es-MX/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/et/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/et/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/eu/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/eu/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fa/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fa/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ff/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ff/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fi/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fi/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fr/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fr/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fy-NL/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/fy-NL/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ga-IE/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ga-IE/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gd/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gd/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gl/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gl/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gu-IN/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/gu-IN/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/he/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/he/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hi-IN/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hi-IN/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hr/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hr/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hu/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hu/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hy-AM/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/hy-AM/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/id/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/id/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/is/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/is/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/it/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/it/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ja/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ja/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ka/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ka/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/kk/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/kk/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/km/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/km/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/kn/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/kn/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ko/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ko/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ku/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ku/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lg/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lg/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lij/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lij/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/locale.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lt/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lt/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lv/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/lv/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mai/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mai/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mk/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mk/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ml/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ml/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mn/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mn/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mr/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/mr/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ms/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ms/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/my/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/my/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nb-NO/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nb-NO/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nl/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nl/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nn-NO/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nn-NO/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nso/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/nso/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/oc/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/oc/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/or/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/or/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pa-IN/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pa-IN/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pl/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pl/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pt-BR/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pt-BR/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pt-PT/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/pt-PT/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/rm/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/rm/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ro/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ro/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ru/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ru/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/rw/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/rw/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sah/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sah/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/si/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/si/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sk/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sk/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sl/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sl/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/son/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/son/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sq/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sq/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sr/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sr/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sv-SE/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sv-SE/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sw/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/sw/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ta-LK/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ta-LK/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ta/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ta/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/te/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/te/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/th/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/th/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tl/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tl/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tn/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tn/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tr/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/tr/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/uk/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/uk/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ur/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/ur/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/vi/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/vi/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/wo/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/wo/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/xh/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/xh/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zh-CN/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zh-CN/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zh-TW/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zh-TW/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zu/chrome.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/l10n/zu/viewer.properties (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/Detector.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/README.md (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/app.js (91%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/bundle.min.js (80%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/compatibility.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/embed.js (99%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/flashmediaelement.swf (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/iiif-gallery-component.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/iiif-metadata-component.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/iiif-tree-component.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/l10n.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/mediaelement-and-player.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/openseadragon.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.worker.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf.worker.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdf_combined.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/pdfobject.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/stats.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/three.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-mediaelement-extension-dependencies.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-mediaelement-extension.cy-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-mediaelement-extension.en-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-pdf-extension-dependencies.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-pdf-extension.cy-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-pdf-extension.en-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-seadragon-extension-dependencies.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-seadragon-extension.cy-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-seadragon-extension.en-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-virtex-extension-dependencies.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-virtex-extension.cy-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/uv-virtex-extension.en-GB.config.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/viewer.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/viewer.min.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/lib/virtex.js (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/package.json (96%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-mediaelement-extension.cy-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-mediaelement-extension.en-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-pdf-extension.cy-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-pdf-extension.en-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-seadragon-extension.cy-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-seadragon-extension.en-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-virtex-extension.cy-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/schema/uv-virtex-extension.en-GB.schema.json (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/css/uv-mediaelement-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/css/uv-pdf-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/css/uv-seadragon-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/css/uv-virtex-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-contentleftpanel-module/padlock.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-contentleftpanel-module/thumb_placeholder.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/bigplay.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome-bg.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/loading.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-moreinforightpanel-module/copy.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/rotate_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_out.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/first.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/grid.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/last.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/one_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/prev.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/settings.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/two_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-check.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-comment.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-help.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-insert.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-key.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-newparagraph.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-noicon.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-note.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-paragraph.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/grab.cur (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/grabbing.cur (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/loading-icon.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/loading-small.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/shadow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/texture.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewAttachments.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/home.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/pixel.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/rotate_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/zoom_out.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_down.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_down_hover.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/prev.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/search.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/spinner.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/arrows_left.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/arrows_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/bookmark.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/close.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/close_attribution.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/close_information_box.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/close_message_box.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/copy.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/dialogue_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/download.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/embed.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/error.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/exit_fullscreen.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/feedback.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/fullscreen.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/hidden_thumb.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/iiif.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/minus.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/modal_bg.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/moreinfo.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/open.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/plus.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/print.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/search_result.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/settings.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/share.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/sprite.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-shared-module/unavailable.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-virtexcenterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-cy-GB-theme/img/uv-virtexcenterpanel-module/zoom_out.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/css/uv-mediaelement-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/css/uv-pdf-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/css/uv-seadragon-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/css/uv-virtex-extension/theme.css (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/hamburger.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-contentleftpanel-module/padlock.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-contentleftpanel-module/thumb_placeholder.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/bigplay.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome-bg.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/loading.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-moreinforightpanel-module/copy.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/rotate_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_out.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/first.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/grid.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/last.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/one_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/prev.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/settings.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/two_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-check.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-comment.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-help.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-insert.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-key.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-newparagraph.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-noicon.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-note.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-paragraph.svg (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/grab.cur (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/grabbing.cur (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/loading-icon.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/loading-small.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/shadow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/texture.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewAttachments.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut@2x.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/home.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/pixel.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/rotate_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow_disabled.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/zoom_out.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/next.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_down.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_down_hover.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_up.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/prev.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/search.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/spinner.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/arrows_left.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/arrows_right.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/bookmark.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/close.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/close_attribution.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/close_information_box.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/close_message_box.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/copy.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/dialogue_arrow.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/download.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/embed.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/error.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/exit_fullscreen.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/feedback.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/fullscreen.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/hidden_thumb.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/iiif.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/minus.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/modal_bg.gif (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/moreinfo.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/open.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/plus.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/print.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/search_result.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/settings.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/share.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/sprite.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-shared-module/unavailable.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-virtexcenterpanel-module/zoom_in.png (100%) rename dist/{uv-2.0.1 => uv-2.0.2}/themes/uv-en-GB-theme/img/uv-virtexcenterpanel-module/zoom_out.png (100%) create mode 100644 src/lib/bundle.min.js diff --git a/bower.json b/bower.json index 53d668ed2..3bd616f06 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Universal Viewer", - "version": "2.0.1", + "version": "2.0.2", "description": "The Universal Viewer is an open source project to enable cultural heritage institutions to present their digital artifacts in an IIIF-compliant and highly customisable user interface.", "repository": { "type": "git", diff --git a/dist/uv-2.0.1/app.html b/dist/uv-2.0.2/app.html similarity index 100% rename from dist/uv-2.0.1/app.html rename to dist/uv-2.0.2/app.html diff --git a/dist/uv-2.0.1/html/uv-pdfcenterpanel-module/viewer.html b/dist/uv-2.0.2/html/uv-pdfcenterpanel-module/viewer.html similarity index 100% rename from dist/uv-2.0.1/html/uv-pdfcenterpanel-module/viewer.html rename to dist/uv-2.0.2/html/uv-pdfcenterpanel-module/viewer.html diff --git a/dist/uv-2.0.1/l10n/ach/chrome.properties b/dist/uv-2.0.2/l10n/ach/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ach/chrome.properties rename to dist/uv-2.0.2/l10n/ach/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ach/viewer.properties b/dist/uv-2.0.2/l10n/ach/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ach/viewer.properties rename to dist/uv-2.0.2/l10n/ach/viewer.properties diff --git a/dist/uv-2.0.1/l10n/af/chrome.properties b/dist/uv-2.0.2/l10n/af/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/af/chrome.properties rename to dist/uv-2.0.2/l10n/af/chrome.properties diff --git a/dist/uv-2.0.1/l10n/af/viewer.properties b/dist/uv-2.0.2/l10n/af/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/af/viewer.properties rename to dist/uv-2.0.2/l10n/af/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ak/chrome.properties b/dist/uv-2.0.2/l10n/ak/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ak/chrome.properties rename to dist/uv-2.0.2/l10n/ak/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ak/viewer.properties b/dist/uv-2.0.2/l10n/ak/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ak/viewer.properties rename to dist/uv-2.0.2/l10n/ak/viewer.properties diff --git a/dist/uv-2.0.1/l10n/an/chrome.properties b/dist/uv-2.0.2/l10n/an/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/an/chrome.properties rename to dist/uv-2.0.2/l10n/an/chrome.properties diff --git a/dist/uv-2.0.1/l10n/an/viewer.properties b/dist/uv-2.0.2/l10n/an/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/an/viewer.properties rename to dist/uv-2.0.2/l10n/an/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ar/chrome.properties b/dist/uv-2.0.2/l10n/ar/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ar/chrome.properties rename to dist/uv-2.0.2/l10n/ar/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ar/viewer.properties b/dist/uv-2.0.2/l10n/ar/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ar/viewer.properties rename to dist/uv-2.0.2/l10n/ar/viewer.properties diff --git a/dist/uv-2.0.1/l10n/as/chrome.properties b/dist/uv-2.0.2/l10n/as/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/as/chrome.properties rename to dist/uv-2.0.2/l10n/as/chrome.properties diff --git a/dist/uv-2.0.1/l10n/as/viewer.properties b/dist/uv-2.0.2/l10n/as/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/as/viewer.properties rename to dist/uv-2.0.2/l10n/as/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ast/chrome.properties b/dist/uv-2.0.2/l10n/ast/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ast/chrome.properties rename to dist/uv-2.0.2/l10n/ast/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ast/viewer.properties b/dist/uv-2.0.2/l10n/ast/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ast/viewer.properties rename to dist/uv-2.0.2/l10n/ast/viewer.properties diff --git a/dist/uv-2.0.1/l10n/az/chrome.properties b/dist/uv-2.0.2/l10n/az/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/az/chrome.properties rename to dist/uv-2.0.2/l10n/az/chrome.properties diff --git a/dist/uv-2.0.1/l10n/az/viewer.properties b/dist/uv-2.0.2/l10n/az/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/az/viewer.properties rename to dist/uv-2.0.2/l10n/az/viewer.properties diff --git a/dist/uv-2.0.1/l10n/be/chrome.properties b/dist/uv-2.0.2/l10n/be/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/be/chrome.properties rename to dist/uv-2.0.2/l10n/be/chrome.properties diff --git a/dist/uv-2.0.1/l10n/be/viewer.properties b/dist/uv-2.0.2/l10n/be/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/be/viewer.properties rename to dist/uv-2.0.2/l10n/be/viewer.properties diff --git a/dist/uv-2.0.1/l10n/bg/chrome.properties b/dist/uv-2.0.2/l10n/bg/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bg/chrome.properties rename to dist/uv-2.0.2/l10n/bg/chrome.properties diff --git a/dist/uv-2.0.1/l10n/bg/viewer.properties b/dist/uv-2.0.2/l10n/bg/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bg/viewer.properties rename to dist/uv-2.0.2/l10n/bg/viewer.properties diff --git a/dist/uv-2.0.1/l10n/bn-BD/chrome.properties b/dist/uv-2.0.2/l10n/bn-BD/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bn-BD/chrome.properties rename to dist/uv-2.0.2/l10n/bn-BD/chrome.properties diff --git a/dist/uv-2.0.1/l10n/bn-BD/viewer.properties b/dist/uv-2.0.2/l10n/bn-BD/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bn-BD/viewer.properties rename to dist/uv-2.0.2/l10n/bn-BD/viewer.properties diff --git a/dist/uv-2.0.1/l10n/bn-IN/chrome.properties b/dist/uv-2.0.2/l10n/bn-IN/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bn-IN/chrome.properties rename to dist/uv-2.0.2/l10n/bn-IN/chrome.properties diff --git a/dist/uv-2.0.1/l10n/bn-IN/viewer.properties b/dist/uv-2.0.2/l10n/bn-IN/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bn-IN/viewer.properties rename to dist/uv-2.0.2/l10n/bn-IN/viewer.properties diff --git a/dist/uv-2.0.1/l10n/br/chrome.properties b/dist/uv-2.0.2/l10n/br/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/br/chrome.properties rename to dist/uv-2.0.2/l10n/br/chrome.properties diff --git a/dist/uv-2.0.1/l10n/br/viewer.properties b/dist/uv-2.0.2/l10n/br/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/br/viewer.properties rename to dist/uv-2.0.2/l10n/br/viewer.properties diff --git a/dist/uv-2.0.1/l10n/bs/chrome.properties b/dist/uv-2.0.2/l10n/bs/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bs/chrome.properties rename to dist/uv-2.0.2/l10n/bs/chrome.properties diff --git a/dist/uv-2.0.1/l10n/bs/viewer.properties b/dist/uv-2.0.2/l10n/bs/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/bs/viewer.properties rename to dist/uv-2.0.2/l10n/bs/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ca/chrome.properties b/dist/uv-2.0.2/l10n/ca/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ca/chrome.properties rename to dist/uv-2.0.2/l10n/ca/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ca/viewer.properties b/dist/uv-2.0.2/l10n/ca/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ca/viewer.properties rename to dist/uv-2.0.2/l10n/ca/viewer.properties diff --git a/dist/uv-2.0.1/l10n/cs/chrome.properties b/dist/uv-2.0.2/l10n/cs/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/cs/chrome.properties rename to dist/uv-2.0.2/l10n/cs/chrome.properties diff --git a/dist/uv-2.0.1/l10n/cs/viewer.properties b/dist/uv-2.0.2/l10n/cs/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/cs/viewer.properties rename to dist/uv-2.0.2/l10n/cs/viewer.properties diff --git a/dist/uv-2.0.1/l10n/csb/chrome.properties b/dist/uv-2.0.2/l10n/csb/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/csb/chrome.properties rename to dist/uv-2.0.2/l10n/csb/chrome.properties diff --git a/dist/uv-2.0.1/l10n/csb/viewer.properties b/dist/uv-2.0.2/l10n/csb/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/csb/viewer.properties rename to dist/uv-2.0.2/l10n/csb/viewer.properties diff --git a/dist/uv-2.0.1/l10n/cy/chrome.properties b/dist/uv-2.0.2/l10n/cy/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/cy/chrome.properties rename to dist/uv-2.0.2/l10n/cy/chrome.properties diff --git a/dist/uv-2.0.1/l10n/cy/viewer.properties b/dist/uv-2.0.2/l10n/cy/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/cy/viewer.properties rename to dist/uv-2.0.2/l10n/cy/viewer.properties diff --git a/dist/uv-2.0.1/l10n/da/chrome.properties b/dist/uv-2.0.2/l10n/da/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/da/chrome.properties rename to dist/uv-2.0.2/l10n/da/chrome.properties diff --git a/dist/uv-2.0.1/l10n/da/viewer.properties b/dist/uv-2.0.2/l10n/da/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/da/viewer.properties rename to dist/uv-2.0.2/l10n/da/viewer.properties diff --git a/dist/uv-2.0.1/l10n/de/chrome.properties b/dist/uv-2.0.2/l10n/de/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/de/chrome.properties rename to dist/uv-2.0.2/l10n/de/chrome.properties diff --git a/dist/uv-2.0.1/l10n/de/viewer.properties b/dist/uv-2.0.2/l10n/de/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/de/viewer.properties rename to dist/uv-2.0.2/l10n/de/viewer.properties diff --git a/dist/uv-2.0.1/l10n/el/chrome.properties b/dist/uv-2.0.2/l10n/el/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/el/chrome.properties rename to dist/uv-2.0.2/l10n/el/chrome.properties diff --git a/dist/uv-2.0.1/l10n/el/viewer.properties b/dist/uv-2.0.2/l10n/el/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/el/viewer.properties rename to dist/uv-2.0.2/l10n/el/viewer.properties diff --git a/dist/uv-2.0.1/l10n/en-GB/chrome.properties b/dist/uv-2.0.2/l10n/en-GB/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-GB/chrome.properties rename to dist/uv-2.0.2/l10n/en-GB/chrome.properties diff --git a/dist/uv-2.0.1/l10n/en-GB/viewer.properties b/dist/uv-2.0.2/l10n/en-GB/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-GB/viewer.properties rename to dist/uv-2.0.2/l10n/en-GB/viewer.properties diff --git a/dist/uv-2.0.1/l10n/en-US/chrome.properties b/dist/uv-2.0.2/l10n/en-US/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-US/chrome.properties rename to dist/uv-2.0.2/l10n/en-US/chrome.properties diff --git a/dist/uv-2.0.1/l10n/en-US/viewer.properties b/dist/uv-2.0.2/l10n/en-US/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-US/viewer.properties rename to dist/uv-2.0.2/l10n/en-US/viewer.properties diff --git a/dist/uv-2.0.1/l10n/en-ZA/chrome.properties b/dist/uv-2.0.2/l10n/en-ZA/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-ZA/chrome.properties rename to dist/uv-2.0.2/l10n/en-ZA/chrome.properties diff --git a/dist/uv-2.0.1/l10n/en-ZA/viewer.properties b/dist/uv-2.0.2/l10n/en-ZA/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/en-ZA/viewer.properties rename to dist/uv-2.0.2/l10n/en-ZA/viewer.properties diff --git a/dist/uv-2.0.1/l10n/eo/chrome.properties b/dist/uv-2.0.2/l10n/eo/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/eo/chrome.properties rename to dist/uv-2.0.2/l10n/eo/chrome.properties diff --git a/dist/uv-2.0.1/l10n/eo/viewer.properties b/dist/uv-2.0.2/l10n/eo/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/eo/viewer.properties rename to dist/uv-2.0.2/l10n/eo/viewer.properties diff --git a/dist/uv-2.0.1/l10n/es-AR/chrome.properties b/dist/uv-2.0.2/l10n/es-AR/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-AR/chrome.properties rename to dist/uv-2.0.2/l10n/es-AR/chrome.properties diff --git a/dist/uv-2.0.1/l10n/es-AR/viewer.properties b/dist/uv-2.0.2/l10n/es-AR/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-AR/viewer.properties rename to dist/uv-2.0.2/l10n/es-AR/viewer.properties diff --git a/dist/uv-2.0.1/l10n/es-CL/chrome.properties b/dist/uv-2.0.2/l10n/es-CL/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-CL/chrome.properties rename to dist/uv-2.0.2/l10n/es-CL/chrome.properties diff --git a/dist/uv-2.0.1/l10n/es-CL/viewer.properties b/dist/uv-2.0.2/l10n/es-CL/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-CL/viewer.properties rename to dist/uv-2.0.2/l10n/es-CL/viewer.properties diff --git a/dist/uv-2.0.1/l10n/es-ES/chrome.properties b/dist/uv-2.0.2/l10n/es-ES/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-ES/chrome.properties rename to dist/uv-2.0.2/l10n/es-ES/chrome.properties diff --git a/dist/uv-2.0.1/l10n/es-ES/viewer.properties b/dist/uv-2.0.2/l10n/es-ES/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-ES/viewer.properties rename to dist/uv-2.0.2/l10n/es-ES/viewer.properties diff --git a/dist/uv-2.0.1/l10n/es-MX/chrome.properties b/dist/uv-2.0.2/l10n/es-MX/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-MX/chrome.properties rename to dist/uv-2.0.2/l10n/es-MX/chrome.properties diff --git a/dist/uv-2.0.1/l10n/es-MX/viewer.properties b/dist/uv-2.0.2/l10n/es-MX/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/es-MX/viewer.properties rename to dist/uv-2.0.2/l10n/es-MX/viewer.properties diff --git a/dist/uv-2.0.1/l10n/et/chrome.properties b/dist/uv-2.0.2/l10n/et/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/et/chrome.properties rename to dist/uv-2.0.2/l10n/et/chrome.properties diff --git a/dist/uv-2.0.1/l10n/et/viewer.properties b/dist/uv-2.0.2/l10n/et/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/et/viewer.properties rename to dist/uv-2.0.2/l10n/et/viewer.properties diff --git a/dist/uv-2.0.1/l10n/eu/chrome.properties b/dist/uv-2.0.2/l10n/eu/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/eu/chrome.properties rename to dist/uv-2.0.2/l10n/eu/chrome.properties diff --git a/dist/uv-2.0.1/l10n/eu/viewer.properties b/dist/uv-2.0.2/l10n/eu/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/eu/viewer.properties rename to dist/uv-2.0.2/l10n/eu/viewer.properties diff --git a/dist/uv-2.0.1/l10n/fa/chrome.properties b/dist/uv-2.0.2/l10n/fa/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fa/chrome.properties rename to dist/uv-2.0.2/l10n/fa/chrome.properties diff --git a/dist/uv-2.0.1/l10n/fa/viewer.properties b/dist/uv-2.0.2/l10n/fa/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fa/viewer.properties rename to dist/uv-2.0.2/l10n/fa/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ff/chrome.properties b/dist/uv-2.0.2/l10n/ff/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ff/chrome.properties rename to dist/uv-2.0.2/l10n/ff/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ff/viewer.properties b/dist/uv-2.0.2/l10n/ff/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ff/viewer.properties rename to dist/uv-2.0.2/l10n/ff/viewer.properties diff --git a/dist/uv-2.0.1/l10n/fi/chrome.properties b/dist/uv-2.0.2/l10n/fi/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fi/chrome.properties rename to dist/uv-2.0.2/l10n/fi/chrome.properties diff --git a/dist/uv-2.0.1/l10n/fi/viewer.properties b/dist/uv-2.0.2/l10n/fi/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fi/viewer.properties rename to dist/uv-2.0.2/l10n/fi/viewer.properties diff --git a/dist/uv-2.0.1/l10n/fr/chrome.properties b/dist/uv-2.0.2/l10n/fr/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fr/chrome.properties rename to dist/uv-2.0.2/l10n/fr/chrome.properties diff --git a/dist/uv-2.0.1/l10n/fr/viewer.properties b/dist/uv-2.0.2/l10n/fr/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fr/viewer.properties rename to dist/uv-2.0.2/l10n/fr/viewer.properties diff --git a/dist/uv-2.0.1/l10n/fy-NL/chrome.properties b/dist/uv-2.0.2/l10n/fy-NL/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fy-NL/chrome.properties rename to dist/uv-2.0.2/l10n/fy-NL/chrome.properties diff --git a/dist/uv-2.0.1/l10n/fy-NL/viewer.properties b/dist/uv-2.0.2/l10n/fy-NL/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/fy-NL/viewer.properties rename to dist/uv-2.0.2/l10n/fy-NL/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ga-IE/chrome.properties b/dist/uv-2.0.2/l10n/ga-IE/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ga-IE/chrome.properties rename to dist/uv-2.0.2/l10n/ga-IE/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ga-IE/viewer.properties b/dist/uv-2.0.2/l10n/ga-IE/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ga-IE/viewer.properties rename to dist/uv-2.0.2/l10n/ga-IE/viewer.properties diff --git a/dist/uv-2.0.1/l10n/gd/chrome.properties b/dist/uv-2.0.2/l10n/gd/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gd/chrome.properties rename to dist/uv-2.0.2/l10n/gd/chrome.properties diff --git a/dist/uv-2.0.1/l10n/gd/viewer.properties b/dist/uv-2.0.2/l10n/gd/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gd/viewer.properties rename to dist/uv-2.0.2/l10n/gd/viewer.properties diff --git a/dist/uv-2.0.1/l10n/gl/chrome.properties b/dist/uv-2.0.2/l10n/gl/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gl/chrome.properties rename to dist/uv-2.0.2/l10n/gl/chrome.properties diff --git a/dist/uv-2.0.1/l10n/gl/viewer.properties b/dist/uv-2.0.2/l10n/gl/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gl/viewer.properties rename to dist/uv-2.0.2/l10n/gl/viewer.properties diff --git a/dist/uv-2.0.1/l10n/gu-IN/chrome.properties b/dist/uv-2.0.2/l10n/gu-IN/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gu-IN/chrome.properties rename to dist/uv-2.0.2/l10n/gu-IN/chrome.properties diff --git a/dist/uv-2.0.1/l10n/gu-IN/viewer.properties b/dist/uv-2.0.2/l10n/gu-IN/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/gu-IN/viewer.properties rename to dist/uv-2.0.2/l10n/gu-IN/viewer.properties diff --git a/dist/uv-2.0.1/l10n/he/chrome.properties b/dist/uv-2.0.2/l10n/he/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/he/chrome.properties rename to dist/uv-2.0.2/l10n/he/chrome.properties diff --git a/dist/uv-2.0.1/l10n/he/viewer.properties b/dist/uv-2.0.2/l10n/he/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/he/viewer.properties rename to dist/uv-2.0.2/l10n/he/viewer.properties diff --git a/dist/uv-2.0.1/l10n/hi-IN/chrome.properties b/dist/uv-2.0.2/l10n/hi-IN/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hi-IN/chrome.properties rename to dist/uv-2.0.2/l10n/hi-IN/chrome.properties diff --git a/dist/uv-2.0.1/l10n/hi-IN/viewer.properties b/dist/uv-2.0.2/l10n/hi-IN/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hi-IN/viewer.properties rename to dist/uv-2.0.2/l10n/hi-IN/viewer.properties diff --git a/dist/uv-2.0.1/l10n/hr/chrome.properties b/dist/uv-2.0.2/l10n/hr/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hr/chrome.properties rename to dist/uv-2.0.2/l10n/hr/chrome.properties diff --git a/dist/uv-2.0.1/l10n/hr/viewer.properties b/dist/uv-2.0.2/l10n/hr/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hr/viewer.properties rename to dist/uv-2.0.2/l10n/hr/viewer.properties diff --git a/dist/uv-2.0.1/l10n/hu/chrome.properties b/dist/uv-2.0.2/l10n/hu/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hu/chrome.properties rename to dist/uv-2.0.2/l10n/hu/chrome.properties diff --git a/dist/uv-2.0.1/l10n/hu/viewer.properties b/dist/uv-2.0.2/l10n/hu/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hu/viewer.properties rename to dist/uv-2.0.2/l10n/hu/viewer.properties diff --git a/dist/uv-2.0.1/l10n/hy-AM/chrome.properties b/dist/uv-2.0.2/l10n/hy-AM/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hy-AM/chrome.properties rename to dist/uv-2.0.2/l10n/hy-AM/chrome.properties diff --git a/dist/uv-2.0.1/l10n/hy-AM/viewer.properties b/dist/uv-2.0.2/l10n/hy-AM/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/hy-AM/viewer.properties rename to dist/uv-2.0.2/l10n/hy-AM/viewer.properties diff --git a/dist/uv-2.0.1/l10n/id/chrome.properties b/dist/uv-2.0.2/l10n/id/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/id/chrome.properties rename to dist/uv-2.0.2/l10n/id/chrome.properties diff --git a/dist/uv-2.0.1/l10n/id/viewer.properties b/dist/uv-2.0.2/l10n/id/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/id/viewer.properties rename to dist/uv-2.0.2/l10n/id/viewer.properties diff --git a/dist/uv-2.0.1/l10n/is/chrome.properties b/dist/uv-2.0.2/l10n/is/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/is/chrome.properties rename to dist/uv-2.0.2/l10n/is/chrome.properties diff --git a/dist/uv-2.0.1/l10n/is/viewer.properties b/dist/uv-2.0.2/l10n/is/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/is/viewer.properties rename to dist/uv-2.0.2/l10n/is/viewer.properties diff --git a/dist/uv-2.0.1/l10n/it/chrome.properties b/dist/uv-2.0.2/l10n/it/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/it/chrome.properties rename to dist/uv-2.0.2/l10n/it/chrome.properties diff --git a/dist/uv-2.0.1/l10n/it/viewer.properties b/dist/uv-2.0.2/l10n/it/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/it/viewer.properties rename to dist/uv-2.0.2/l10n/it/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ja/chrome.properties b/dist/uv-2.0.2/l10n/ja/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ja/chrome.properties rename to dist/uv-2.0.2/l10n/ja/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ja/viewer.properties b/dist/uv-2.0.2/l10n/ja/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ja/viewer.properties rename to dist/uv-2.0.2/l10n/ja/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ka/chrome.properties b/dist/uv-2.0.2/l10n/ka/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ka/chrome.properties rename to dist/uv-2.0.2/l10n/ka/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ka/viewer.properties b/dist/uv-2.0.2/l10n/ka/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ka/viewer.properties rename to dist/uv-2.0.2/l10n/ka/viewer.properties diff --git a/dist/uv-2.0.1/l10n/kk/chrome.properties b/dist/uv-2.0.2/l10n/kk/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/kk/chrome.properties rename to dist/uv-2.0.2/l10n/kk/chrome.properties diff --git a/dist/uv-2.0.1/l10n/kk/viewer.properties b/dist/uv-2.0.2/l10n/kk/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/kk/viewer.properties rename to dist/uv-2.0.2/l10n/kk/viewer.properties diff --git a/dist/uv-2.0.1/l10n/km/chrome.properties b/dist/uv-2.0.2/l10n/km/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/km/chrome.properties rename to dist/uv-2.0.2/l10n/km/chrome.properties diff --git a/dist/uv-2.0.1/l10n/km/viewer.properties b/dist/uv-2.0.2/l10n/km/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/km/viewer.properties rename to dist/uv-2.0.2/l10n/km/viewer.properties diff --git a/dist/uv-2.0.1/l10n/kn/chrome.properties b/dist/uv-2.0.2/l10n/kn/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/kn/chrome.properties rename to dist/uv-2.0.2/l10n/kn/chrome.properties diff --git a/dist/uv-2.0.1/l10n/kn/viewer.properties b/dist/uv-2.0.2/l10n/kn/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/kn/viewer.properties rename to dist/uv-2.0.2/l10n/kn/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ko/chrome.properties b/dist/uv-2.0.2/l10n/ko/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ko/chrome.properties rename to dist/uv-2.0.2/l10n/ko/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ko/viewer.properties b/dist/uv-2.0.2/l10n/ko/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ko/viewer.properties rename to dist/uv-2.0.2/l10n/ko/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ku/chrome.properties b/dist/uv-2.0.2/l10n/ku/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ku/chrome.properties rename to dist/uv-2.0.2/l10n/ku/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ku/viewer.properties b/dist/uv-2.0.2/l10n/ku/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ku/viewer.properties rename to dist/uv-2.0.2/l10n/ku/viewer.properties diff --git a/dist/uv-2.0.1/l10n/lg/chrome.properties b/dist/uv-2.0.2/l10n/lg/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lg/chrome.properties rename to dist/uv-2.0.2/l10n/lg/chrome.properties diff --git a/dist/uv-2.0.1/l10n/lg/viewer.properties b/dist/uv-2.0.2/l10n/lg/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lg/viewer.properties rename to dist/uv-2.0.2/l10n/lg/viewer.properties diff --git a/dist/uv-2.0.1/l10n/lij/chrome.properties b/dist/uv-2.0.2/l10n/lij/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lij/chrome.properties rename to dist/uv-2.0.2/l10n/lij/chrome.properties diff --git a/dist/uv-2.0.1/l10n/lij/viewer.properties b/dist/uv-2.0.2/l10n/lij/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lij/viewer.properties rename to dist/uv-2.0.2/l10n/lij/viewer.properties diff --git a/dist/uv-2.0.1/l10n/locale.properties b/dist/uv-2.0.2/l10n/locale.properties similarity index 100% rename from dist/uv-2.0.1/l10n/locale.properties rename to dist/uv-2.0.2/l10n/locale.properties diff --git a/dist/uv-2.0.1/l10n/lt/chrome.properties b/dist/uv-2.0.2/l10n/lt/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lt/chrome.properties rename to dist/uv-2.0.2/l10n/lt/chrome.properties diff --git a/dist/uv-2.0.1/l10n/lt/viewer.properties b/dist/uv-2.0.2/l10n/lt/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lt/viewer.properties rename to dist/uv-2.0.2/l10n/lt/viewer.properties diff --git a/dist/uv-2.0.1/l10n/lv/chrome.properties b/dist/uv-2.0.2/l10n/lv/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lv/chrome.properties rename to dist/uv-2.0.2/l10n/lv/chrome.properties diff --git a/dist/uv-2.0.1/l10n/lv/viewer.properties b/dist/uv-2.0.2/l10n/lv/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/lv/viewer.properties rename to dist/uv-2.0.2/l10n/lv/viewer.properties diff --git a/dist/uv-2.0.1/l10n/mai/chrome.properties b/dist/uv-2.0.2/l10n/mai/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mai/chrome.properties rename to dist/uv-2.0.2/l10n/mai/chrome.properties diff --git a/dist/uv-2.0.1/l10n/mai/viewer.properties b/dist/uv-2.0.2/l10n/mai/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mai/viewer.properties rename to dist/uv-2.0.2/l10n/mai/viewer.properties diff --git a/dist/uv-2.0.1/l10n/mk/chrome.properties b/dist/uv-2.0.2/l10n/mk/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mk/chrome.properties rename to dist/uv-2.0.2/l10n/mk/chrome.properties diff --git a/dist/uv-2.0.1/l10n/mk/viewer.properties b/dist/uv-2.0.2/l10n/mk/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mk/viewer.properties rename to dist/uv-2.0.2/l10n/mk/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ml/chrome.properties b/dist/uv-2.0.2/l10n/ml/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ml/chrome.properties rename to dist/uv-2.0.2/l10n/ml/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ml/viewer.properties b/dist/uv-2.0.2/l10n/ml/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ml/viewer.properties rename to dist/uv-2.0.2/l10n/ml/viewer.properties diff --git a/dist/uv-2.0.1/l10n/mn/chrome.properties b/dist/uv-2.0.2/l10n/mn/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mn/chrome.properties rename to dist/uv-2.0.2/l10n/mn/chrome.properties diff --git a/dist/uv-2.0.1/l10n/mn/viewer.properties b/dist/uv-2.0.2/l10n/mn/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mn/viewer.properties rename to dist/uv-2.0.2/l10n/mn/viewer.properties diff --git a/dist/uv-2.0.1/l10n/mr/chrome.properties b/dist/uv-2.0.2/l10n/mr/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mr/chrome.properties rename to dist/uv-2.0.2/l10n/mr/chrome.properties diff --git a/dist/uv-2.0.1/l10n/mr/viewer.properties b/dist/uv-2.0.2/l10n/mr/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/mr/viewer.properties rename to dist/uv-2.0.2/l10n/mr/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ms/chrome.properties b/dist/uv-2.0.2/l10n/ms/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ms/chrome.properties rename to dist/uv-2.0.2/l10n/ms/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ms/viewer.properties b/dist/uv-2.0.2/l10n/ms/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ms/viewer.properties rename to dist/uv-2.0.2/l10n/ms/viewer.properties diff --git a/dist/uv-2.0.1/l10n/my/chrome.properties b/dist/uv-2.0.2/l10n/my/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/my/chrome.properties rename to dist/uv-2.0.2/l10n/my/chrome.properties diff --git a/dist/uv-2.0.1/l10n/my/viewer.properties b/dist/uv-2.0.2/l10n/my/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/my/viewer.properties rename to dist/uv-2.0.2/l10n/my/viewer.properties diff --git a/dist/uv-2.0.1/l10n/nb-NO/chrome.properties b/dist/uv-2.0.2/l10n/nb-NO/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nb-NO/chrome.properties rename to dist/uv-2.0.2/l10n/nb-NO/chrome.properties diff --git a/dist/uv-2.0.1/l10n/nb-NO/viewer.properties b/dist/uv-2.0.2/l10n/nb-NO/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nb-NO/viewer.properties rename to dist/uv-2.0.2/l10n/nb-NO/viewer.properties diff --git a/dist/uv-2.0.1/l10n/nl/chrome.properties b/dist/uv-2.0.2/l10n/nl/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nl/chrome.properties rename to dist/uv-2.0.2/l10n/nl/chrome.properties diff --git a/dist/uv-2.0.1/l10n/nl/viewer.properties b/dist/uv-2.0.2/l10n/nl/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nl/viewer.properties rename to dist/uv-2.0.2/l10n/nl/viewer.properties diff --git a/dist/uv-2.0.1/l10n/nn-NO/chrome.properties b/dist/uv-2.0.2/l10n/nn-NO/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nn-NO/chrome.properties rename to dist/uv-2.0.2/l10n/nn-NO/chrome.properties diff --git a/dist/uv-2.0.1/l10n/nn-NO/viewer.properties b/dist/uv-2.0.2/l10n/nn-NO/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nn-NO/viewer.properties rename to dist/uv-2.0.2/l10n/nn-NO/viewer.properties diff --git a/dist/uv-2.0.1/l10n/nso/chrome.properties b/dist/uv-2.0.2/l10n/nso/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nso/chrome.properties rename to dist/uv-2.0.2/l10n/nso/chrome.properties diff --git a/dist/uv-2.0.1/l10n/nso/viewer.properties b/dist/uv-2.0.2/l10n/nso/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/nso/viewer.properties rename to dist/uv-2.0.2/l10n/nso/viewer.properties diff --git a/dist/uv-2.0.1/l10n/oc/chrome.properties b/dist/uv-2.0.2/l10n/oc/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/oc/chrome.properties rename to dist/uv-2.0.2/l10n/oc/chrome.properties diff --git a/dist/uv-2.0.1/l10n/oc/viewer.properties b/dist/uv-2.0.2/l10n/oc/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/oc/viewer.properties rename to dist/uv-2.0.2/l10n/oc/viewer.properties diff --git a/dist/uv-2.0.1/l10n/or/chrome.properties b/dist/uv-2.0.2/l10n/or/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/or/chrome.properties rename to dist/uv-2.0.2/l10n/or/chrome.properties diff --git a/dist/uv-2.0.1/l10n/or/viewer.properties b/dist/uv-2.0.2/l10n/or/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/or/viewer.properties rename to dist/uv-2.0.2/l10n/or/viewer.properties diff --git a/dist/uv-2.0.1/l10n/pa-IN/chrome.properties b/dist/uv-2.0.2/l10n/pa-IN/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pa-IN/chrome.properties rename to dist/uv-2.0.2/l10n/pa-IN/chrome.properties diff --git a/dist/uv-2.0.1/l10n/pa-IN/viewer.properties b/dist/uv-2.0.2/l10n/pa-IN/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pa-IN/viewer.properties rename to dist/uv-2.0.2/l10n/pa-IN/viewer.properties diff --git a/dist/uv-2.0.1/l10n/pl/chrome.properties b/dist/uv-2.0.2/l10n/pl/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pl/chrome.properties rename to dist/uv-2.0.2/l10n/pl/chrome.properties diff --git a/dist/uv-2.0.1/l10n/pl/viewer.properties b/dist/uv-2.0.2/l10n/pl/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pl/viewer.properties rename to dist/uv-2.0.2/l10n/pl/viewer.properties diff --git a/dist/uv-2.0.1/l10n/pt-BR/chrome.properties b/dist/uv-2.0.2/l10n/pt-BR/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pt-BR/chrome.properties rename to dist/uv-2.0.2/l10n/pt-BR/chrome.properties diff --git a/dist/uv-2.0.1/l10n/pt-BR/viewer.properties b/dist/uv-2.0.2/l10n/pt-BR/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pt-BR/viewer.properties rename to dist/uv-2.0.2/l10n/pt-BR/viewer.properties diff --git a/dist/uv-2.0.1/l10n/pt-PT/chrome.properties b/dist/uv-2.0.2/l10n/pt-PT/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pt-PT/chrome.properties rename to dist/uv-2.0.2/l10n/pt-PT/chrome.properties diff --git a/dist/uv-2.0.1/l10n/pt-PT/viewer.properties b/dist/uv-2.0.2/l10n/pt-PT/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/pt-PT/viewer.properties rename to dist/uv-2.0.2/l10n/pt-PT/viewer.properties diff --git a/dist/uv-2.0.1/l10n/rm/chrome.properties b/dist/uv-2.0.2/l10n/rm/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/rm/chrome.properties rename to dist/uv-2.0.2/l10n/rm/chrome.properties diff --git a/dist/uv-2.0.1/l10n/rm/viewer.properties b/dist/uv-2.0.2/l10n/rm/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/rm/viewer.properties rename to dist/uv-2.0.2/l10n/rm/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ro/chrome.properties b/dist/uv-2.0.2/l10n/ro/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ro/chrome.properties rename to dist/uv-2.0.2/l10n/ro/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ro/viewer.properties b/dist/uv-2.0.2/l10n/ro/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ro/viewer.properties rename to dist/uv-2.0.2/l10n/ro/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ru/chrome.properties b/dist/uv-2.0.2/l10n/ru/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ru/chrome.properties rename to dist/uv-2.0.2/l10n/ru/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ru/viewer.properties b/dist/uv-2.0.2/l10n/ru/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ru/viewer.properties rename to dist/uv-2.0.2/l10n/ru/viewer.properties diff --git a/dist/uv-2.0.1/l10n/rw/chrome.properties b/dist/uv-2.0.2/l10n/rw/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/rw/chrome.properties rename to dist/uv-2.0.2/l10n/rw/chrome.properties diff --git a/dist/uv-2.0.1/l10n/rw/viewer.properties b/dist/uv-2.0.2/l10n/rw/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/rw/viewer.properties rename to dist/uv-2.0.2/l10n/rw/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sah/chrome.properties b/dist/uv-2.0.2/l10n/sah/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sah/chrome.properties rename to dist/uv-2.0.2/l10n/sah/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sah/viewer.properties b/dist/uv-2.0.2/l10n/sah/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sah/viewer.properties rename to dist/uv-2.0.2/l10n/sah/viewer.properties diff --git a/dist/uv-2.0.1/l10n/si/chrome.properties b/dist/uv-2.0.2/l10n/si/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/si/chrome.properties rename to dist/uv-2.0.2/l10n/si/chrome.properties diff --git a/dist/uv-2.0.1/l10n/si/viewer.properties b/dist/uv-2.0.2/l10n/si/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/si/viewer.properties rename to dist/uv-2.0.2/l10n/si/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sk/chrome.properties b/dist/uv-2.0.2/l10n/sk/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sk/chrome.properties rename to dist/uv-2.0.2/l10n/sk/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sk/viewer.properties b/dist/uv-2.0.2/l10n/sk/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sk/viewer.properties rename to dist/uv-2.0.2/l10n/sk/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sl/chrome.properties b/dist/uv-2.0.2/l10n/sl/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sl/chrome.properties rename to dist/uv-2.0.2/l10n/sl/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sl/viewer.properties b/dist/uv-2.0.2/l10n/sl/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sl/viewer.properties rename to dist/uv-2.0.2/l10n/sl/viewer.properties diff --git a/dist/uv-2.0.1/l10n/son/chrome.properties b/dist/uv-2.0.2/l10n/son/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/son/chrome.properties rename to dist/uv-2.0.2/l10n/son/chrome.properties diff --git a/dist/uv-2.0.1/l10n/son/viewer.properties b/dist/uv-2.0.2/l10n/son/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/son/viewer.properties rename to dist/uv-2.0.2/l10n/son/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sq/chrome.properties b/dist/uv-2.0.2/l10n/sq/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sq/chrome.properties rename to dist/uv-2.0.2/l10n/sq/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sq/viewer.properties b/dist/uv-2.0.2/l10n/sq/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sq/viewer.properties rename to dist/uv-2.0.2/l10n/sq/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sr/chrome.properties b/dist/uv-2.0.2/l10n/sr/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sr/chrome.properties rename to dist/uv-2.0.2/l10n/sr/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sr/viewer.properties b/dist/uv-2.0.2/l10n/sr/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sr/viewer.properties rename to dist/uv-2.0.2/l10n/sr/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sv-SE/chrome.properties b/dist/uv-2.0.2/l10n/sv-SE/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sv-SE/chrome.properties rename to dist/uv-2.0.2/l10n/sv-SE/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sv-SE/viewer.properties b/dist/uv-2.0.2/l10n/sv-SE/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sv-SE/viewer.properties rename to dist/uv-2.0.2/l10n/sv-SE/viewer.properties diff --git a/dist/uv-2.0.1/l10n/sw/chrome.properties b/dist/uv-2.0.2/l10n/sw/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sw/chrome.properties rename to dist/uv-2.0.2/l10n/sw/chrome.properties diff --git a/dist/uv-2.0.1/l10n/sw/viewer.properties b/dist/uv-2.0.2/l10n/sw/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/sw/viewer.properties rename to dist/uv-2.0.2/l10n/sw/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ta-LK/chrome.properties b/dist/uv-2.0.2/l10n/ta-LK/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ta-LK/chrome.properties rename to dist/uv-2.0.2/l10n/ta-LK/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ta-LK/viewer.properties b/dist/uv-2.0.2/l10n/ta-LK/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ta-LK/viewer.properties rename to dist/uv-2.0.2/l10n/ta-LK/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ta/chrome.properties b/dist/uv-2.0.2/l10n/ta/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ta/chrome.properties rename to dist/uv-2.0.2/l10n/ta/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ta/viewer.properties b/dist/uv-2.0.2/l10n/ta/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ta/viewer.properties rename to dist/uv-2.0.2/l10n/ta/viewer.properties diff --git a/dist/uv-2.0.1/l10n/te/chrome.properties b/dist/uv-2.0.2/l10n/te/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/te/chrome.properties rename to dist/uv-2.0.2/l10n/te/chrome.properties diff --git a/dist/uv-2.0.1/l10n/te/viewer.properties b/dist/uv-2.0.2/l10n/te/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/te/viewer.properties rename to dist/uv-2.0.2/l10n/te/viewer.properties diff --git a/dist/uv-2.0.1/l10n/th/chrome.properties b/dist/uv-2.0.2/l10n/th/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/th/chrome.properties rename to dist/uv-2.0.2/l10n/th/chrome.properties diff --git a/dist/uv-2.0.1/l10n/th/viewer.properties b/dist/uv-2.0.2/l10n/th/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/th/viewer.properties rename to dist/uv-2.0.2/l10n/th/viewer.properties diff --git a/dist/uv-2.0.1/l10n/tl/chrome.properties b/dist/uv-2.0.2/l10n/tl/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tl/chrome.properties rename to dist/uv-2.0.2/l10n/tl/chrome.properties diff --git a/dist/uv-2.0.1/l10n/tl/viewer.properties b/dist/uv-2.0.2/l10n/tl/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tl/viewer.properties rename to dist/uv-2.0.2/l10n/tl/viewer.properties diff --git a/dist/uv-2.0.1/l10n/tn/chrome.properties b/dist/uv-2.0.2/l10n/tn/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tn/chrome.properties rename to dist/uv-2.0.2/l10n/tn/chrome.properties diff --git a/dist/uv-2.0.1/l10n/tn/viewer.properties b/dist/uv-2.0.2/l10n/tn/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tn/viewer.properties rename to dist/uv-2.0.2/l10n/tn/viewer.properties diff --git a/dist/uv-2.0.1/l10n/tr/chrome.properties b/dist/uv-2.0.2/l10n/tr/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tr/chrome.properties rename to dist/uv-2.0.2/l10n/tr/chrome.properties diff --git a/dist/uv-2.0.1/l10n/tr/viewer.properties b/dist/uv-2.0.2/l10n/tr/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/tr/viewer.properties rename to dist/uv-2.0.2/l10n/tr/viewer.properties diff --git a/dist/uv-2.0.1/l10n/uk/chrome.properties b/dist/uv-2.0.2/l10n/uk/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/uk/chrome.properties rename to dist/uv-2.0.2/l10n/uk/chrome.properties diff --git a/dist/uv-2.0.1/l10n/uk/viewer.properties b/dist/uv-2.0.2/l10n/uk/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/uk/viewer.properties rename to dist/uv-2.0.2/l10n/uk/viewer.properties diff --git a/dist/uv-2.0.1/l10n/ur/chrome.properties b/dist/uv-2.0.2/l10n/ur/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ur/chrome.properties rename to dist/uv-2.0.2/l10n/ur/chrome.properties diff --git a/dist/uv-2.0.1/l10n/ur/viewer.properties b/dist/uv-2.0.2/l10n/ur/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/ur/viewer.properties rename to dist/uv-2.0.2/l10n/ur/viewer.properties diff --git a/dist/uv-2.0.1/l10n/vi/chrome.properties b/dist/uv-2.0.2/l10n/vi/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/vi/chrome.properties rename to dist/uv-2.0.2/l10n/vi/chrome.properties diff --git a/dist/uv-2.0.1/l10n/vi/viewer.properties b/dist/uv-2.0.2/l10n/vi/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/vi/viewer.properties rename to dist/uv-2.0.2/l10n/vi/viewer.properties diff --git a/dist/uv-2.0.1/l10n/wo/chrome.properties b/dist/uv-2.0.2/l10n/wo/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/wo/chrome.properties rename to dist/uv-2.0.2/l10n/wo/chrome.properties diff --git a/dist/uv-2.0.1/l10n/wo/viewer.properties b/dist/uv-2.0.2/l10n/wo/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/wo/viewer.properties rename to dist/uv-2.0.2/l10n/wo/viewer.properties diff --git a/dist/uv-2.0.1/l10n/xh/chrome.properties b/dist/uv-2.0.2/l10n/xh/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/xh/chrome.properties rename to dist/uv-2.0.2/l10n/xh/chrome.properties diff --git a/dist/uv-2.0.1/l10n/xh/viewer.properties b/dist/uv-2.0.2/l10n/xh/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/xh/viewer.properties rename to dist/uv-2.0.2/l10n/xh/viewer.properties diff --git a/dist/uv-2.0.1/l10n/zh-CN/chrome.properties b/dist/uv-2.0.2/l10n/zh-CN/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zh-CN/chrome.properties rename to dist/uv-2.0.2/l10n/zh-CN/chrome.properties diff --git a/dist/uv-2.0.1/l10n/zh-CN/viewer.properties b/dist/uv-2.0.2/l10n/zh-CN/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zh-CN/viewer.properties rename to dist/uv-2.0.2/l10n/zh-CN/viewer.properties diff --git a/dist/uv-2.0.1/l10n/zh-TW/chrome.properties b/dist/uv-2.0.2/l10n/zh-TW/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zh-TW/chrome.properties rename to dist/uv-2.0.2/l10n/zh-TW/chrome.properties diff --git a/dist/uv-2.0.1/l10n/zh-TW/viewer.properties b/dist/uv-2.0.2/l10n/zh-TW/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zh-TW/viewer.properties rename to dist/uv-2.0.2/l10n/zh-TW/viewer.properties diff --git a/dist/uv-2.0.1/l10n/zu/chrome.properties b/dist/uv-2.0.2/l10n/zu/chrome.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zu/chrome.properties rename to dist/uv-2.0.2/l10n/zu/chrome.properties diff --git a/dist/uv-2.0.1/l10n/zu/viewer.properties b/dist/uv-2.0.2/l10n/zu/viewer.properties similarity index 100% rename from dist/uv-2.0.1/l10n/zu/viewer.properties rename to dist/uv-2.0.2/l10n/zu/viewer.properties diff --git a/dist/uv-2.0.1/lib/Detector.js b/dist/uv-2.0.2/lib/Detector.js similarity index 100% rename from dist/uv-2.0.1/lib/Detector.js rename to dist/uv-2.0.2/lib/Detector.js diff --git a/dist/uv-2.0.1/lib/README.md b/dist/uv-2.0.2/lib/README.md similarity index 100% rename from dist/uv-2.0.1/lib/README.md rename to dist/uv-2.0.2/lib/README.md diff --git a/dist/uv-2.0.1/lib/app.js b/dist/uv-2.0.2/lib/app.js similarity index 91% rename from dist/uv-2.0.1/lib/app.js rename to dist/uv-2.0.2/lib/app.js index 698a7c463..03b7041cd 100644 --- a/dist/uv-2.0.1/lib/app.js +++ b/dist/uv-2.0.2/lib/app.js @@ -1,5 +1,5 @@ var requirejs,require,define;!function(global){function commentReplace(e,t,i,n){return n||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){if(e){var i;for(i=0;i-1&&(!e[i]||!t(e[i],i,e));i-=1);}}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var i;for(i in e)if(hasProp(e,i)&&t(e[i],i))break}function mixin(e,t,i,n){return t&&eachProp(t,function(t,o){(i||!hasProp(e,o))&&(!n||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp?e[o]=t:(e[o]||(e[o]={}),mixin(e[o],t,i,n)))}),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,i,n){var o=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+e);return o.requireType=e,o.requireModules=n,i&&(o.originalError=i),o}function newContext(e){function t(e){var t,i;for(t=0;t0&&(e.splice(t-1,2),t-=2)}}function i(e,i,n){var o,s,r,a,l,h,c,u,p,d,g,f,m=i&&i.split("/"),v=w.map,$=v&&v["*"];if(e&&(e=e.split("/"),c=e.length-1,w.nodeIdCompat&&jsSuffixRegExp.test(e[c])&&(e[c]=e[c].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&m&&(f=m.slice(0,m.length-1),e=f.concat(e)),t(e),e=e.join("/")),n&&v&&(m||$)){r=e.split("/");e:for(a=r.length;a>0;a-=1){if(h=r.slice(0,a).join("/"),m)for(l=m.length;l>0;l-=1)if(s=getOwn(v,m.slice(0,l).join("/")),s&&(s=getOwn(s,h))){u=s,p=a;break e}!d&&$&&getOwn($,h)&&(d=getOwn($,h),g=a)}!u&&d&&(u=d,p=g),u&&(r.splice(0,p,u),e=r.join("/"))}return o=getOwn(w.pkgs,e),o?o:e}function n(e){isBrowser&&each(scripts(),function(t){return t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===E.contextName?(t.parentNode.removeChild(t),!0):void 0})}function o(e){var t=getOwn(w.paths,e);return t&&isArray(t)&&t.length>1?(t.shift(),E.require.undef(e),E.makeRequire(null,{skipMap:!0})([e]),!0):void 0}function s(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function r(e,t,n,o){var r,a,l,h,c=null,u=t?t.name:null,p=e,d=!0,g="";return e||(d=!1,e="_@r"+(O+=1)),h=s(e),c=h[0],e=h[1],c&&(c=i(c,u,o),a=getOwn(T,c)),e&&(c?g=a&&a.normalize?a.normalize(e,function(e){return i(e,u,o)}):-1===e.indexOf("!")?i(e,u,o):e:(g=i(e,u,o),h=s(g),c=h[0],g=h[1],n=!0,r=E.nameToUrl(g))),l=!c||a||n?"":"_unnormalized"+(L+=1),{prefix:c,name:g,parentMap:t,unnormalized:!!l,url:r,originalName:p,isDefine:d,id:(c?c+"!"+g:g)+l}}function a(e){var t=e.id,i=getOwn(S,t);return i||(i=S[t]=new E.Module(e)),i}function l(e,t,i){var n=e.id,o=getOwn(S,n);!hasProp(T,n)||o&&!o.defineEmitComplete?(o=a(e),o.error&&"error"===t?i(o.error):o.on(t,i)):"defined"===t&&i(T[n])}function h(e,t){var i=e.requireModules,n=!1;t?t(e):(each(i,function(t){var i=getOwn(S,t);i&&(i.error=e,i.events.error&&(n=!0,i.emit("error",e)))}),n||req.onError(e))}function c(){globalDefQueue.length&&(each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(E.defQueueMap[t]=!0),R.push(e)}),globalDefQueue=[])}function u(e){delete S[e],delete _[e]}function p(e,t,i){var n=e.map.id;e.error?e.emit("error",e.error):(t[n]=!0,each(e.depMaps,function(n,o){var s=n.id,r=getOwn(S,s);!r||e.depMatched[o]||i[s]||(getOwn(t,s)?(e.defineDep(o,T[s]),e.check()):p(r,t,i))}),i[n]=!0)}function d(){var e,t,i=1e3*w.waitSeconds,s=i&&E.startTime+i<(new Date).getTime(),r=[],a=[],l=!1,c=!0;if(!$){if($=!0,eachProp(_,function(e){var i=e.map,h=i.id;if(e.enabled&&(i.isDefine||a.push(e),!e.error))if(!e.inited&&s)o(h)?(t=!0,l=!0):(r.push(h),n(h));else if(!e.inited&&e.fetched&&i.isDefine&&(l=!0,!i.prefix))return c=!1}),s&&r.length)return e=makeError("timeout","Load timeout for modules: "+r,null,r),e.contextName=E.contextName,h(e);c&&each(a,function(e){p(e,{},{})}),s&&!t||!l||!isBrowser&&!isWebWorker||y||(y=setTimeout(function(){y=0,d()},50)),$=!1}}function g(e){hasProp(T,e[0])||a(r(e[0],null,!0)).init(e[1],e[2])}function f(e,t,i,n){e.detachEvent&&!isOpera?n&&e.detachEvent(n,t):e.removeEventListener(i,t,!1)}function m(e){var t=e.currentTarget||e.srcElement;return f(t,E.onScriptLoad,"load","onreadystatechange"),f(t,E.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function v(){var e;for(c();R.length;){if(e=R.shift(),null===e[0])return h(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));g(e)}E.defQueueMap={}}var $,b,E,x,y,w={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},S={},_={},C={},R=[],T={},I={},D={},O=1,L=1;return x={require:function(e){return e.require?e.require:e.require=E.makeRequire(e.map)},exports:function(e){return e.usingExports=!0,e.map.isDefine?e.exports?T[e.map.id]=e.exports:e.exports=T[e.map.id]={}:void 0},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(w.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},b=function(e){this.events=getOwn(C,e.id)||{},this.map=e,this.shim=getOwn(w.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},b.prototype={init:function(e,t,i,n){n=n||{},this.inited||(this.factory=t,i?this.on("error",i):this.events.error&&(i=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=i,this.inited=!0,this.ignore=n.ignore,n.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,E.startTime=(new Date).getTime();var e=this.map;return this.shim?void E.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()})):e.prefix?this.callPlugin():this.load()}},load:function(){var e=this.map.url;I[e]||(I[e]=!0,E.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var e,t,i=this.map.id,n=this.depExports,o=this.exports,s=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(s)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{o=E.execCb(i,s,n,o)}catch(r){e=r}else o=E.execCb(i,s,n,o);if(this.map.isDefine&&void 0===o&&(t=this.module,t?o=t.exports:this.usingExports&&(o=this.exports)),e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",h(this.error=e)}else o=s;if(this.exports=o,this.map.isDefine&&!this.ignore&&(T[i]=o,req.onResourceLoad)){var a=[];each(this.depMaps,function(e){a.push(e.normalizedMap||e)}),req.onResourceLoad(E,this.map,a)}u(i),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(E.defQueueMap,i)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,n=r(e.prefix);this.depMaps.push(n),l(n,"defined",bind(this,function(n){var o,s,c,p=getOwn(D,this.map.id),d=this.map.name,g=this.map.parentMap?this.map.parentMap.name:null,f=E.makeRequire(e.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(n.normalize&&(d=n.normalize(d,function(e){return i(e,g,!0)})||""),s=r(e.prefix+"!"+d,this.map.parentMap),l(s,"defined",bind(this,function(e){this.map.normalizedMap=s,this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),c=getOwn(S,s.id),void(c&&(this.depMaps.push(s),this.events.error&&c.on("error",bind(this,function(e){this.emit("error",e)})),c.enable()))):p?(this.map.url=E.nameToUrl(p),void this.load()):(o=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})}),o.error=bind(this,function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(S,function(e){0===e.map.id.indexOf(t+"_unnormalized")&&u(e.map.id)}),h(e)}),o.fromText=bind(this,function(i,n){var s=e.name,l=r(s),c=useInteractive;n&&(i=n),c&&(useInteractive=!1),a(l),hasProp(w.config,t)&&(w.config[s]=w.config[t]);try{req.exec(i)}catch(u){return h(makeError("fromtexteval","fromText eval for "+t+" failed: "+u,u,[t]))}c&&(useInteractive=!0),this.depMaps.push(l),E.completeLoad(s),f([s],o)}),void n.load(e.name,f,o,w))})),E.enable(n,this),this.pluginMaps[n.id]=n},enable:function(){_[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var i,n,o;if("string"==typeof e){if(e=r(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,o=getOwn(x,e.id))return void(this.depExports[t]=o(this));this.depCount+=1,l(e,"defined",bind(this,function(e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?l(e,"error",bind(this,this.errback)):this.events.error&&l(e,"error",bind(this,function(e){this.emit("error",e)}))}i=e.id,n=S[i],hasProp(x,i)||!n||n.enabled||E.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(S,e.id);t&&!t.enabled&&E.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var i=this.events[e];i||(i=this.events[e]=[]),i.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),"error"===e&&delete this.events[e]}},E={config:w,contextName:e,registry:S,defined:T,urlFetched:I,defQueue:R,defQueueMap:{},Module:b,makeModuleMap:r,nextTick:req.nextTick,onError:h,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var t=e.urlArgs;e.urlArgs=function(e,i){return(-1===i.indexOf("?")?"?":"&")+t}}var i=w.shim,n={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){n[t]?(w[t]||(w[t]={}),mixin(w[t],e,!0,!0)):w[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(D[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=E.makeShimExports(e)),i[t]=e}),w.shim=i),e.packages&&each(e.packages,function(e){var t,i;e="string"==typeof e?{name:e}:e,i=e.name,t=e.location,t&&(w.paths[i]=e.location),w.pkgs[i]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(S,function(e,t){e.inited||e.map.unnormalized||(e.map=r(t,null,!0))}),(e.deps||e.callback)&&E.require(e.deps||[],e.callback)},makeShimExports:function(e){function t(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}return t},makeRequire:function(t,o){function s(i,n,l){var c,u,p;return o.enableBuildCallback&&n&&isFunction(n)&&(n.__requireJsBuild=!0),"string"==typeof i?isFunction(n)?h(makeError("requireargs","Invalid require call"),l):t&&hasProp(x,i)?x[i](S[t.id]):req.get?req.get(E,i,t,s):(u=r(i,t,!1,!0),c=u.id,hasProp(T,c)?T[c]:h(makeError("notloaded",'Module name "'+c+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(v(),E.nextTick(function(){v(),p=a(r(null,t)),p.skipMap=o.skipMap,p.init(i,n,l,{enabled:!0}),d()}),s)}return o=o||{},mixin(s,{isBrowser:isBrowser,toUrl:function(e){var n,o=e.lastIndexOf("."),s=e.split("/")[0],r="."===s||".."===s;return-1!==o&&(!r||o>1)&&(n=e.substring(o,e.length),e=e.substring(0,o)),E.nameToUrl(i(e,t&&t.id,!0),n,!0)},defined:function(e){return hasProp(T,r(e,t,!1,!0).id)},specified:function(e){return e=r(e,t,!1,!0).id,hasProp(T,e)||hasProp(S,e)}}),t||(s.undef=function(e){c();var i=r(e,t,!0),o=getOwn(S,e);o.undefed=!0,n(e),delete T[e],delete I[i.url],delete C[e],eachReverse(R,function(t,i){t[0]===e&&R.splice(i,1)}),delete E.defQueueMap[e],o&&(o.events.defined&&(C[e]=o.events),u(e))}),s},enable:function(e){var t=getOwn(S,e.id);t&&a(e).enable()},completeLoad:function(e){var t,i,n,s=getOwn(w.shim,e)||{},r=s.exports;for(c();R.length;){if(i=R.shift(),null===i[0]){if(i[0]=e,t)break;t=!0}else i[0]===e&&(t=!0);g(i)}if(E.defQueueMap={},n=getOwn(S,e),!t&&!hasProp(T,e)&&n&&!n.inited){if(!(!w.enforceDefine||r&&getGlobal(r)))return o(e)?void 0:h(makeError("nodefine","No define call for "+e,null,[e]));g([e,s.deps||[],s.exportsFn])}d()},nameToUrl:function(e,t,i){var n,o,s,r,a,l,h,c=getOwn(w.pkgs,e);if(c&&(e=c),h=getOwn(D,e))return E.nameToUrl(h,t,i);if(req.jsExtRegExp.test(e))a=e+(t||"");else{for(n=w.paths,o=e.split("/"),s=o.length;s>0;s-=1)if(r=o.slice(0,s).join("/"),l=getOwn(n,r)){isArray(l)&&(l=l[0]),o.splice(0,s,l);break}a=o.join("/"),a+=t||(/^data\:|^blob\:|\?/.test(a)||i?"":".js"),a=("/"===a.charAt(0)||a.match(/^[\w\+\.\-]+:/)?"":w.baseUrl)+a}return w.urlArgs&&!/^blob\:/.test(a)?a+w.urlArgs(e,a):a},load:function(e,t){req.load(E,e,t)},execCb:function(e,t,i,n){return t.apply(n,i)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=m(e);E.completeLoad(t.id)}},onScriptError:function(e){var t=m(e);if(!o(t.id)){var i=[];return eachProp(S,function(e,n){0!==n.indexOf("_@r")&&each(e.depMaps,function(e){return e.id===t.id?(i.push(n),!0):void 0})}),h(makeError("scripterror",'Script error for "'+t.id+(i.length?'", needed by: '+i.join(", "):'"'),e,[t.id]))}}},E.require=E.makeRequire(),E}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(e){return"interactive"===e.readyState?interactiveScript=e:void 0}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.2.0",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}"undefined"==typeof require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,i,n){var o,s,r=defContextName;return isArray(e)||"string"==typeof e||(s=e,isArray(t)?(e=t,t=i,i=n):e=[]),s&&s.context&&(r=s.context),o=getOwn(contexts,r),o||(o=contexts[r]=req.s.newContext(r)),s&&o.configure(s),o.require(e,t,i)},req.config=function(e){return req(e)},req.nextTick="undefined"!=typeof setTimeout?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,i){var n=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return n.type=e.scriptType||"text/javascript",n.charset="utf-8",n.async=!0,n},req.load=function(e,t,i){var n,o=e&&e.config||{};if(isBrowser)return n=req.createNode(o,t,i),n.setAttribute("data-requirecontext",e.contextName),n.setAttribute("data-requiremodule",t),!n.attachEvent||n.attachEvent.toString&&n.attachEvent.toString().indexOf("[native code")<0||isOpera?(n.addEventListener("load",e.onScriptLoad,!1),n.addEventListener("error",e.onScriptError,!1)):(useInteractive=!0,n.attachEvent("onreadystatechange",e.onScriptLoad)),n.src=i,o.onNodeCreated&&o.onNodeCreated(n,o,t,i),currentlyAddingScript=n,baseElement?head.insertBefore(n,baseElement):head.appendChild(n),currentlyAddingScript=null,n;if(isWebWorker)try{setTimeout(function(){},0),importScripts(i),e.completeLoad(t)}catch(s){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+i,s,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){return head||(head=e.parentNode),dataMain=e.getAttribute("data-main"),dataMain?(mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0):void 0}),define=function(e,t,i){var n,o;"string"!=typeof e&&(i=t,t=e,e=null),isArray(t)||(i=t,t=null),!t&&isFunction(i)&&(t=[],i.length&&(i.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(e,i){t.push(i)}),t=(1===i.length?["require"]:["require","exports","module"]).concat(t))),useInteractive&&(n=currentlyAddingScript||getInteractiveScript(),n&&(e||(e=n.getAttribute("data-requiremodule")),o=contexts[n.getAttribute("data-requirecontext")])),o?(o.defQueue.push([e,t,i]),o.defQueueMap[e]=!0):globalDefQueue.push([e,t,i])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this),define("requireLib",function(){}),define("modules/uv-shared-module/BaseCommands",["require","exports"],function(e,t){var i=function(){function e(){}return e.namespace="uv.",e.ACCEPT_TERMS=e.namespace+"onAcceptTerms",e.BOOKMARK=e.namespace+"onBookmark",e.CANVAS_INDEX_CHANGE_FAILED=e.namespace+"onCanvasIndexChangeFailed",e.CANVAS_INDEX_CHANGED=e.namespace+"onCanvasIndexChanged",e.CLICKTHROUGH=e.namespace+"onClickthrough",e.CLOSE_ACTIVE_DIALOGUE=e.namespace+"onCloseActiveDialogue",e.CLOSE_LEFT_PANEL=e.namespace+"onCloseLeftPanel",e.CLOSE_RIGHT_PANEL=e.namespace+"onCloseRightPanel",e.CREATED=e.namespace+"onCreated",e.DOWN_ARROW=e.namespace+"onDownArrow",e.DOWNLOAD=e.namespace+"onDownload",e.DROP=e.namespace+"onDrop",e.END=e.namespace+"onEnd",e.ESCAPE=e.namespace+"onEscape",e.EXTERNAL_LINK_CLICKED=e.namespace+"onExternalLinkClicked",e.FEEDBACK=e.namespace+"onFeedback",e.FORBIDDEN=e.namespace+"onForbidden",e.HIDE_CLICKTHROUGH_DIALOGUE=e.namespace+"onHideClickthroughDialogue",e.HIDE_DOWNLOAD_DIALOGUE=e.namespace+"onHideDownloadDialogue",e.HIDE_EMBED_DIALOGUE=e.namespace+"onHideEmbedDialogue",e.HIDE_EXTERNALCONTENT_DIALOGUE=e.namespace+"onHideExternalContentDialogue",e.HIDE_GENERIC_DIALOGUE=e.namespace+"onHideGenericDialogue",e.HIDE_HELP_DIALOGUE=e.namespace+"onHideHelpDialogue",e.HIDE_INFORMATION=e.namespace+"onHideInformation",e.HIDE_LOGIN_DIALOGUE=e.namespace+"onHideLoginDialogue",e.HIDE_MOREINFO_DIALOGUE=e.namespace+"onHideMoreInfoDialogue",e.HIDE_OVERLAY=e.namespace+"onHideOverlay",e.HIDE_RESTRICTED_DIALOGUE=e.namespace+"onHideRestrictedDialogue",e.HIDE_SETTINGS_DIALOGUE=e.namespace+"onHideSettingsDialogue",e.HIDE_SHARE_DIALOGUE=e.namespace+"onHideShareDialogue",e.HOME=e.namespace+"onHome",e.LEFT_ARROW=e.namespace+"onLeftArrow",e.LEFTPANEL_COLLAPSE_FULL_FINISH=e.namespace+"onLeftPanelCollapseFullFinish",e.LEFTPANEL_COLLAPSE_FULL_START=e.namespace+"onLeftPanelCollapseFullStart",e.LEFTPANEL_EXPAND_FULL_FINISH=e.namespace+"onLeftPanelExpandFullFinish",e.LEFTPANEL_EXPAND_FULL_START=e.namespace+"onLeftPanelExpandFullStart",e.LOAD_FAILED=e.namespace+"onLoadFailed",e.LOAD=e.namespace+"onLoad",e.LOGIN_FAILED=e.namespace+"onLoginFailed",e.LOGIN=e.namespace+"onLogin",e.LOGOUT=e.namespace+"onLogout",e.METRIC_CHANGED=e.namespace+"onMetricChanged",e.MINUS=e.namespace+"onMinus",e.NOT_FOUND=e.namespace+"onNotFound",e.OPEN_EXTERNAL_RESOURCE=e.namespace+"onOpenExternalResource",e.OPEN_LEFT_PANEL=e.namespace+"onOpenLeftPanel",e.OPEN_RIGHT_PANEL=e.namespace+"onOpenRightPanel",e.OPEN=e.namespace+"onOpen",e.PAGE_DOWN=e.namespace+"onPageDown",e.PAGE_UP=e.namespace+"onPageUp",e.PARENT_EXIT_FULLSCREEN=e.namespace+"onParentExitFullScreen",e.PLUS=e.namespace+"onPlus",e.REDIRECT=e.namespace+"onRedirect",e.REFRESH=e.namespace+"onRefresh",e.RESIZE=e.namespace+"onResize",e.RESOURCE_DEGRADED=e.namespace+"onResourceDegraded",e.RETRY=e.namespace+"onRetry",e.RETURN=e.namespace+"onReturn",e.RIGHT_ARROW=e.namespace+"onRightArrow",e.RIGHTPANEL_COLLAPSE_FULL_FINISH=e.namespace+"onRightPanelCollapseFullFinish",e.RIGHTPANEL_COLLAPSE_FULL_START=e.namespace+"onRightPanelCollapseFullStart",e.RIGHTPANEL_EXPAND_FULL_FINISH=e.namespace+"onRightPanelExpandFullFinish",e.RIGHTPANEL_EXPAND_FULL_START=e.namespace+"onRightPanelExpandFullStart",e.SEQUENCE_INDEX_CHANGED=e.namespace+"onSequenceIndexChanged",e.SETTINGS_CHANGED=e.namespace+"onSettingsChanged",e.SHOW_CLICKTHROUGH_DIALOGUE=e.namespace+"onShowClickThroughDialogue",e.SHOW_DOWNLOAD_DIALOGUE=e.namespace+"onShowDownloadDialogue",e.SHOW_EMBED_DIALOGUE=e.namespace+"onShowEmbedDialogue",e.SHOW_EXTERNALCONTENT_DIALOGUE=e.namespace+"onShowExternalContentDialogue",e.SHOW_GENERIC_DIALOGUE=e.namespace+"onShowGenericDialogue",e.SHOW_HELP_DIALOGUE=e.namespace+"onShowHelpDialogue",e.SHOW_INFORMATION=e.namespace+"onShowInformation",e.SHOW_LOGIN_DIALOGUE=e.namespace+"onShowLoginDialogue",e.SHOW_MOREINFO_DIALOGUE=e.namespace+"onShowMoreInfoDialogue",e.SHOW_OVERLAY=e.namespace+"onShowOverlay",e.SHOW_RESTRICTED_DIALOGUE=e.namespace+"onShowRestrictedDialogue",e.SHOW_SETTINGS_DIALOGUE=e.namespace+"onShowSettingsDialogue",e.SHOW_SHARE_DIALOGUE=e.namespace+"onShowShareDialogue",e.SHOW_TERMS_OF_USE=e.namespace+"onShowTermsOfUse",e.THUMB_SELECTED=e.namespace+"onThumbSelected",e.TOGGLE_EXPAND_LEFT_PANEL=e.namespace+"onToggleExpandLeftPanel",e.TOGGLE_EXPAND_RIGHT_PANEL=e.namespace+"onToggleExpandRightPanel",e.TOGGLE_FULLSCREEN=e.namespace+"onToggleFullScreen",e.UP_ARROW=e.namespace+"onUpArrow",e.UPDATE_SETTINGS=e.namespace+"onUpdateSettings",e.VIEW_FULL_TERMS=e.namespace+"onViewFullTerms",e.WINDOW_UNLOAD=e.namespace+"onWindowUnload",e}();return i}),define("Params",["require","exports"],function(e,t){var i;return function(e){e[e.collectionIndex=0]="collectionIndex",e[e.manifestIndex=1]="manifestIndex",e[e.sequenceIndex=2]="sequenceIndex",e[e.canvasIndex=3]="canvasIndex",e[e.xywh=4]="xywh",e[e.rotation=5]="rotation",e[e.highlight=6]="highlight",e[e.anchor=7]="anchor"}(i||(i={})),i}),define("BootstrapParams",["require","exports","./Params"],function(e,t,i){var n=function(){function e(){this.paramMap=["c","m","s","cv","xywh","r","h","a"],this.config=Utils.Urls.getQuerystringParameter("config"),this.domain=Utils.Urls.getQuerystringParameter("domain"),this.embedDomain=Utils.Urls.getQuerystringParameter("embedDomain"),this.embedScriptUri=Utils.Urls.getQuerystringParameter("embedScriptUri"),this.isHomeDomain="true"===Utils.Urls.getQuerystringParameter("isHomeDomain"),this.isLightbox="true"===Utils.Urls.getQuerystringParameter("isLightbox"),this.isOnlyInstance="true"===Utils.Urls.getQuerystringParameter("isOnlyInstance"),this.isReload="true"===Utils.Urls.getQuerystringParameter("isReload");var e=Utils.Urls.getQuerystringParameter("jsonp");this.jsonp=null===e?null:!("false"===e||"0"===e),this.manifestUri=Utils.Urls.getQuerystringParameter("manifestUri");var t=Utils.Urls.getQuerystringParameter("locale")||"en-GB";this.setLocale(t),this.collectionIndex=this.getParam(i.collectionIndex),this.manifestIndex=this.getParam(i.manifestIndex),this.sequenceIndex=this.getParam(i.sequenceIndex),this.canvasIndex=this.getParam(i.canvasIndex)}return e.prototype.getLocaleName=function(){return this.localeName},e.prototype.getParam=function(e){if(this.hashParamsAvailable()){var t=parseInt(Utils.Urls.getHashParameter(this.paramMap[e],parent.document));if(t||0===t)return t}return parseInt(Utils.Urls.getQuerystringParameter(this.paramMap[e]))||0},e.prototype.hashParamsAvailable=function(){return this.isHomeDomain&&!this.isReload&&this.isOnlyInstance},e.prototype.setLocale=function(e){this.locale=e,this.locales=[];for(var t=this.locale.split(","),i=0;i #app").data("bootstrapper"),e.call(this,t,i,n)}return __extends(t,e),t.prototype.create=function(){e.prototype.create.call(this),this.extension=this.bootstrapper.extension,this.config={},this.config.content={},this.config.options={},this.content=this.config.content,this.options=this.config.options;var t=this;t.modules.length&&(t.modules=t.modules.reverse(),_.each(t.modules,function(e){t.config=$.extend(!0,t.config,t.extension.config.modules[e])}))},t.prototype.init=function(){},t.prototype.setConfig=function(e){this.modules.push(e)},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/Dialogue",["require","exports","./BaseView","./BaseCommands"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t,!1,!1),this.allowClose=!0,this.isActive=!1,this.isUnopened=!0}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("dialogue"),e.prototype.create.call(this),$.subscribe(n.CLOSE_ACTIVE_DIALOGUE,function(){t.isActive&&t.allowClose&&t.close()}),$.subscribe(n.ESCAPE,function(){t.isActive&&t.allowClose&&t.close()}),this.$top=$('
'),this.$element.append(this.$top),this.$closeButton=$(''+this.content.close+""),this.$top.append(this.$closeButton),this.$middle=$('
'),this.$element.append(this.$middle),this.$content=$('
'),this.$middle.append(this.$content),this.$bottom=$('
'),this.$element.append(this.$bottom),this.$closeButton.on("click",function(e){e.preventDefault(),t.close()}),this.returnFunc=this.close},t.prototype.enableClose=function(){this.allowClose=!0,this.$closeButton.show()},t.prototype.disableClose=function(){this.allowClose=!1,this.$closeButton.hide()},t.prototype.setDockedPosition=function(){var e=Math.floor(this.extension.height()-this.$element.outerHeight(!0)),t=0,i=0;if(this.$triggerButton){var n=Math.normalise(this.$triggerButton.offset().left,0,this.extension.width());t=Math.floor(this.extension.width()*n-this.$element.width()*n),i=this.$element.width()*n}this.$bottom.css("backgroundPosition",i+"px 0px"),this.$element.css({top:e,left:t})},t.prototype.open=function(e){var t=this;this.$element.show(),e&&e.length?(this.$triggerButton=e,this.$bottom.show()):this.$bottom.hide(),this.isActive=!0,setTimeout(function(){var e=t.$element.find(".default");if(e.length)e.focus();else{var i=t.$element.find("input:visible").first();i.length?i.focus():t.$closeButton.focus()}},1),$.publish(n.SHOW_OVERLAY),this.isUnopened&&(this.isUnopened=!1,this.afterFirstOpen()),this.resize()},t.prototype.afterFirstOpen=function(){},t.prototype.close=function(){this.isActive&&(this.$element.hide(),this.isActive=!1,$.publish(this.closeCommand),$.publish(n.HIDE_OVERLAY))},t.prototype.resize=function(){e.prototype.resize.call(this),this.$element.css({top:Math.floor(this.extension.height()/2-this.$element.height()/2),left:Math.floor(this.extension.width()/2-this.$element.width()/2)})},t}(i);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/ClickThroughDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("clickThroughDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_CLICKTHROUGH_DIALOGUE,this.closeCommand=i.HIDE_CLICKTHROUGH_DIALOGUE, -$.subscribe(this.openCommand,function(e,i){t.acceptCallback=i.acceptCallback,t.resource=i.resource,t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$acceptTermsButton=this.$content.find(".acceptTerms"),this.$acceptTermsButton.text("Accept Terms and Open"),this.$element.hide(),this.$acceptTermsButton.on("click",function(e){e.preventDefault(),t.close(),$.publish(i.ACCEPT_TERMS),t.acceptCallback&&t.acceptCallback()})},t.prototype.open=function(){e.prototype.open.call(this),this.$title.text(this.resource.clickThroughService.getProperty("label")),this.$message.html(this.resource.clickThroughService.getProperty("description")),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.resize()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o}),define("modules/uv-shared-module/InformationArgs",["require","exports"],function(e,t){var i=function(){function e(e,t){this.informationType=e,this.param=t}return e}();return i}),define("modules/uv-shared-module/InformationType",["require","exports"],function(e,t){var i;return function(e){e[e.AUTH_CORS_ERROR=0]="AUTH_CORS_ERROR",e[e.DEGRADED_RESOURCE=1]="DEGRADED_RESOURCE"}(i||(i={})),i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/LoginDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("loginDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_LOGIN_DIALOGUE,this.closeCommand=i.HIDE_LOGIN_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.loginCallback=i.loginCallback,t.logoutCallback=i.logoutCallback,t.options=i.options,t.resource=i.resource,t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$loginButton=this.$content.find(".login"),this.$loginButton.text(this.content.login),this.$logoutButton=this.$content.find(".logout"),this.$logoutButton.text(this.content.logout),this.$cancelButton=this.$content.find(".cancel"),this.$cancelButton.text(this.content.cancel),this.$element.hide(),this.$loginButton.on("click",function(e){e.preventDefault(),t.close(),t.loginCallback&&t.loginCallback()}),this.$logoutButton.on("click",function(e){e.preventDefault(),t.close(),t.logoutCallback&&t.logoutCallback()}),this.$cancelButton.on("click",function(e){e.preventDefault(),t.close()}),this.updateLogoutButton()},t.prototype.open=function(){e.prototype.open.call(this),this.$title.text(this.resource.loginService.getProperty("label"));var t=this.resource.loginService.getProperty("description");this.options.warningMessage&&(t=''+this.extension.config.content[this.options.warningMessage]+''+t+""),this.updateLogoutButton(),this.$message.html(t),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.options.showCancelButton?this.$cancelButton.show():this.$cancelButton.hide(),this.resize()},t.prototype.updateLogoutButton=function(){this.extension.isLoggedIn?this.$logoutButton.show():this.$logoutButton.hide()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o}),define("modules/uv-shared-module/LoginWarningMessages",["require","exports"],function(e,t){var i=function(){function e(){}return e.FORBIDDEN="forbiddenResourceMessage",e}();return i}),define("modules/uv-shared-module/StringValue",["require","exports"],function(e,t){var i=function(){function e(e){this.value="",e&&(this.value=e.toLowerCase())}return e.prototype.toString=function(){return this.value},e}();t.StringValue=i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/MetricType",["require","exports","./StringValue"],function(e,t,i){var n=function(e){function t(){e.apply(this,arguments)}return __extends(t,e),t.MOBILELANDSCAPE=new t("mobilelandscape"),t.LAPTOP=new t("laptop"),t}(i.StringValue);t.MetricType=n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/RestrictedDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("restrictedDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_RESTRICTED_DIALOGUE,this.closeCommand=i.HIDE_RESTRICTED_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.acceptCallback=i.acceptCallback,t.options=i.options,t.resource=i.resource,t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$message.targetBlank(),this.$cancelButton=this.$content.find(".cancel"),this.$cancelButton.text(this.content.cancel),this.$element.hide(),this.$cancelButton.on("click",function(e){e.preventDefault(),t.close()})},t.prototype.open=function(){e.prototype.open.call(this),this.isAccepted=!1,this.$title.text(this.resource.restrictedService.getProperty("label"));var t=this.resource.restrictedService.getProperty("description");this.$message.html(t),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.resize()},t.prototype.close=function(){e.prototype.close.call(this),!this.isAccepted&&this.acceptCallback&&(this.isAccepted=!0,this.acceptCallback())},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/GenericDialogue",["require","exports","./BaseCommands","./Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("genericDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_GENERIC_DIALOGUE,this.closeCommand=i.HIDE_GENERIC_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.acceptCallback=i.acceptCallback,t.showMessage(i)}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$message=$("

"),this.$content.append(this.$message),this.$acceptButton=$(''),this.$content.append(this.$acceptButton),this.$acceptButton.text(this.content.ok),this.$acceptButton.onPressed(function(){t.accept()}),this.returnFunc=function(){t.isActive&&t.accept()},this.$element.hide()},t.prototype.accept=function(){$.publish(i.CLOSE_ACTIVE_DIALOGUE),this.acceptCallback&&this.acceptCallback()},t.prototype.showMessage=function(e){this.$message.html(e.message),e.buttonText?this.$acceptButton.text(e.buttonText):this.$acceptButton.text(this.content.ok),e.allowClose===!1&&this.disableClose(),this.open()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/Shell",["require","exports","./BaseCommands","./BaseView","./GenericDialogue"],function(e,t,i,n,o){var s=function(e){function t(i){t.$element=i,e.call(this,t.$element,!0,!0)}return __extends(t,e),t.prototype.create=function(){e.prototype.create.call(this),$.subscribe(i.SHOW_OVERLAY,function(){t.$overlays.show()}),$.subscribe(i.HIDE_OVERLAY,function(){t.$overlays.hide()}),t.$headerPanel=$('
'),t.$element.append(t.$headerPanel),t.$mainPanel=$('
'),t.$element.append(t.$mainPanel),t.$centerPanel=$('
'),t.$mainPanel.append(t.$centerPanel),t.$leftPanel=$('
'),t.$mainPanel.append(t.$leftPanel),t.$rightPanel=$('
'),t.$mainPanel.append(t.$rightPanel),t.$footerPanel=$('
'),t.$element.append(t.$footerPanel),t.$mobileFooterPanel=$('
'),t.$element.append(t.$mobileFooterPanel),t.$overlays=$('
'),t.$element.append(t.$overlays),t.$genericDialogue=$('
'),t.$overlays.append(t.$genericDialogue),t.$overlays.on("click",function(e){$(e.target).hasClass("overlays")&&(e.preventDefault(),$.publish(i.CLOSE_ACTIVE_DIALOGUE))}),new o(t.$genericDialogue)},t.prototype.resize=function(){e.prototype.resize.call(this),t.$overlays.width(this.extension.width()),t.$overlays.height(this.extension.height());var i=this.$element.height()-parseInt(t.$mainPanel.css("marginTop"))-(t.$headerPanel.is(":visible")?t.$headerPanel.height():0)-(t.$footerPanel.is(":visible")?t.$footerPanel.height():0)-(t.$mobileFooterPanel.is(":visible")?t.$mobileFooterPanel.height():0);t.$mainPanel.height(i)},t}(n);return s}),define("modules/uv-shared-module/BaseExtension",["require","exports","./BaseCommands","../../BootstrapParams","../../modules/uv-dialogues-module/ClickThroughDialogue","./InformationArgs","./InformationType","../../modules/uv-dialogues-module/LoginDialogue","./LoginWarningMessages","../../modules/uv-shared-module/MetricType","../../Params","../../modules/uv-dialogues-module/RestrictedDialogue","./Shell"],function(e,t,i,n,o,s,r,a,l,h,c,u,p){var d=function(){function t(e){this.isCreated=!1,this.isLoggedIn=!1,this.metric=h.MetricType.LAPTOP,this.shifted=!1,this.tabbing=!1,this.bootstrapper=e,this.config=this.bootstrapper.config,this.jsonp=this.bootstrapper.params.jsonp,this.locale=this.bootstrapper.params.getLocaleName(),this.isHomeDomain=this.bootstrapper.params.isHomeDomain,this.isReload=this.bootstrapper.params.isReload,this.embedDomain=this.bootstrapper.params.embedDomain,this.isOnlyInstance=this.bootstrapper.params.isOnlyInstance,this.embedScriptUri=this.bootstrapper.params.embedScriptUri,this.domain=this.bootstrapper.params.domain,this.isLightbox=this.bootstrapper.params.isLightbox}return t.prototype.create=function(e){var t=this,o=this;this.$element=$("#app"),this.$element.data("bootstrapper",this.bootstrapper);var s=$(window);if(this.embedWidth=s.width(),this.embedHeight=s.height(),this.$element.width(this.embedWidth),this.$element.height(this.embedHeight),this._parseMetrics(),!this.isReload&&Utils.Documents.isInIFrame()&&(this.bootstrapper.socket=new easyXDM.Socket({onMessage:function(e,i){e=$.parseJSON(e),t.handleParentFrameEvent(e)}})),this.triggerSocket(i.LOAD,{bootstrapper:{config:this.bootstrapper.config,params:this.bootstrapper.params},settings:this.getSettings(),preview:this.getSharePreview()}),this.$element.empty(),this.$element.removeClass(),this.$element.addClass("browser-"+window.browserDetect.browser),this.$element.addClass("browser-version-"+window.browserDetect.version),this.isHomeDomain||this.$element.addClass("embedded"),this.isLightbox&&this.$element.addClass("lightbox"),$(document).on("mousemove",function(e){t.mouseX=e.pageX,t.mouseY=e.pageY}),!this.isReload){window.onresize=function(){var e=$(window);$("body").height(e.height()),t.resize()};var r=Utils.Documents.getHiddenProp();if(r){var a=r.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(a,function(){Utils.Documents.isHidden()||t.resize()})}Utils.Bools.getBool(this.config.options.dropEnabled,!0)&&this.$element.on("drop",function(e){e.preventDefault();var o=e.originalEvent.dataTransfer.getData("URL"),s=Utils.Urls.getUrlParts(o),r=Utils.Urls.getQuerystringParameterFromString("manifest",s.search);if(r){t.triggerSocket(i.DROP,r);var a=new n;a.manifestUri=r,t.reload(a)}}),this.$element.on("dragover",function(e){e.preventDefault()}),$(document).on("keyup keydown",function(e){t.shifted=e.shiftKey,t.tabbing=e.keyCode===KeyCodes.KeyDown.Tab}),$(document).keydown(function(e){var t=null,n=!0;e.ctrlKey||e.altKey||e.shiftKey||(e.keyCode===KeyCodes.KeyDown.Enter&&(t=i.RETURN,n=!1),e.keyCode===KeyCodes.KeyDown.Escape&&(t=i.ESCAPE),e.keyCode===KeyCodes.KeyDown.PageUp&&(t=i.PAGE_UP),e.keyCode===KeyCodes.KeyDown.PageDown&&(t=i.PAGE_DOWN),e.keyCode===KeyCodes.KeyDown.End&&(t=i.END),e.keyCode===KeyCodes.KeyDown.Home&&(t=i.HOME),(e.keyCode===KeyCodes.KeyDown.NumpadPlus||171===e.keyCode||e.keyCode===KeyCodes.KeyDown.Equals)&&(t=i.PLUS,n=!1),(e.keyCode===KeyCodes.KeyDown.NumpadMinus||173===e.keyCode||e.keyCode===KeyCodes.KeyDown.Dash)&&(t=i.MINUS,n=!1),o.useArrowKeysToNavigate()&&(e.keyCode===KeyCodes.KeyDown.LeftArrow&&(t=i.LEFT_ARROW),e.keyCode===KeyCodes.KeyDown.UpArrow&&(t=i.UP_ARROW),e.keyCode===KeyCodes.KeyDown.RightArrow&&(t=i.RIGHT_ARROW),e.keyCode===KeyCodes.KeyDown.DownArrow&&(t=i.DOWN_ARROW))),t&&(n&&e.preventDefault(),$.publish(t))}),this.bootstrapper.params.isHomeDomain&&Utils.Documents.isInIFrame()&&$.subscribe(i.PARENT_EXIT_FULLSCREEN,function(){t.isOverlayActive()&&$.publish(i.ESCAPE),$.publish(i.ESCAPE),$.publish(i.RESIZE)})}this.$element.append(''),this.$element.append(''),$.subscribe(i.ACCEPT_TERMS,function(){t.triggerSocket(i.ACCEPT_TERMS)}),$.subscribe(i.LOGIN_FAILED,function(){t.triggerSocket(i.LOGIN_FAILED),t.showMessage(t.config.content.authorisationFailedMessage)}),$.subscribe(i.LOGIN,function(){t.isLoggedIn=!0,t.triggerSocket(i.LOGIN)}),$.subscribe(i.LOGOUT,function(){t.isLoggedIn=!1,t.triggerSocket(i.LOGOUT)}),$.subscribe(i.BOOKMARK,function(){t.bookmark(),t.triggerSocket(i.BOOKMARK)}),$.subscribe(i.CANVAS_INDEX_CHANGE_FAILED,function(){t.triggerSocket(i.CANVAS_INDEX_CHANGE_FAILED)}),$.subscribe(i.CANVAS_INDEX_CHANGED,function(e,n){t.triggerSocket(i.CANVAS_INDEX_CHANGED,n)}),$.subscribe(i.CLICKTHROUGH,function(){t.triggerSocket(i.CLICKTHROUGH)}),$.subscribe(i.CLOSE_ACTIVE_DIALOGUE,function(){t.triggerSocket(i.CLOSE_ACTIVE_DIALOGUE)}),$.subscribe(i.CLOSE_LEFT_PANEL,function(){t.triggerSocket(i.CLOSE_LEFT_PANEL),t.resize()}),$.subscribe(i.CLOSE_RIGHT_PANEL,function(){t.triggerSocket(i.CLOSE_RIGHT_PANEL),t.resize()}),$.subscribe(i.CREATED,function(){t.isCreated=!0,t.triggerSocket(i.CREATED)}),$.subscribe(i.DOWN_ARROW,function(){t.triggerSocket(i.DOWN_ARROW)}),$.subscribe(i.DOWNLOAD,function(e,n){t.triggerSocket(i.DOWNLOAD,n)}),$.subscribe(i.END,function(){t.triggerSocket(i.END)}),$.subscribe(i.ESCAPE,function(){t.triggerSocket(i.ESCAPE),t.isFullScreen()&&!t.isOverlayActive()&&$.publish(i.TOGGLE_FULLSCREEN)}),$.subscribe(i.EXTERNAL_LINK_CLICKED,function(e,n){t.triggerSocket(i.EXTERNAL_LINK_CLICKED,n)}),$.subscribe(i.FEEDBACK,function(){t.feedback()}),$.subscribe(i.FORBIDDEN,function(){t.triggerSocket(i.FORBIDDEN),$.publish(i.OPEN_EXTERNAL_RESOURCE)}),$.subscribe(i.HIDE_DOWNLOAD_DIALOGUE,function(){t.triggerSocket(i.HIDE_DOWNLOAD_DIALOGUE)}),$.subscribe(i.HIDE_EMBED_DIALOGUE,function(){t.triggerSocket(i.HIDE_EMBED_DIALOGUE)}),$.subscribe(i.HIDE_EXTERNALCONTENT_DIALOGUE,function(){t.triggerSocket(i.HIDE_EXTERNALCONTENT_DIALOGUE)}),$.subscribe(i.HIDE_GENERIC_DIALOGUE,function(){t.triggerSocket(i.HIDE_GENERIC_DIALOGUE)}),$.subscribe(i.HIDE_HELP_DIALOGUE,function(){t.triggerSocket(i.HIDE_HELP_DIALOGUE)}),$.subscribe(i.HIDE_INFORMATION,function(){t.triggerSocket(i.HIDE_INFORMATION)}),$.subscribe(i.HIDE_LOGIN_DIALOGUE,function(){t.triggerSocket(i.HIDE_LOGIN_DIALOGUE)}),$.subscribe(i.HIDE_OVERLAY,function(){t.triggerSocket(i.HIDE_OVERLAY)}),$.subscribe(i.HIDE_RESTRICTED_DIALOGUE,function(){t.triggerSocket(i.HIDE_RESTRICTED_DIALOGUE)}),$.subscribe(i.HIDE_SETTINGS_DIALOGUE,function(){t.triggerSocket(i.HIDE_SETTINGS_DIALOGUE)}),$.subscribe(i.HOME,function(){t.triggerSocket(i.HOME)}),$.subscribe(i.LEFT_ARROW,function(){t.triggerSocket(i.LEFT_ARROW)}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_FINISH,function(){t.triggerSocket(i.LEFTPANEL_COLLAPSE_FULL_FINISH)}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_START,function(){t.triggerSocket(i.LEFTPANEL_COLLAPSE_FULL_START)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_FINISH,function(){t.triggerSocket(i.LEFTPANEL_EXPAND_FULL_FINISH)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_START,function(){t.triggerSocket(i.LEFTPANEL_EXPAND_FULL_START)}),$.subscribe(i.LOAD_FAILED,function(){t.triggerSocket(i.LOAD_FAILED),_.isNull(o.lastCanvasIndex)||o.lastCanvasIndex===o.helper.canvasIndex||t.viewCanvas(o.lastCanvasIndex)}),$.subscribe(i.NOT_FOUND,function(){t.triggerSocket(i.NOT_FOUND)}),$.subscribe(i.OPEN,function(){t.triggerSocket(i.OPEN);var e=String.format(t.config.options.openTemplate,t.helper.iiifResourceUri);window.open(e)}),$.subscribe(i.OPEN_LEFT_PANEL,function(){t.triggerSocket(i.OPEN_LEFT_PANEL),t.resize()}),$.subscribe(i.OPEN_EXTERNAL_RESOURCE,function(){t.triggerSocket(i.OPEN_EXTERNAL_RESOURCE)}),$.subscribe(i.OPEN_RIGHT_PANEL,function(){t.triggerSocket(i.OPEN_RIGHT_PANEL),t.resize()}),$.subscribe(i.PAGE_DOWN,function(){t.triggerSocket(i.PAGE_DOWN)}),$.subscribe(i.PAGE_UP,function(){t.triggerSocket(i.PAGE_UP)}),$.subscribe(i.RESOURCE_DEGRADED,function(e,n){t.triggerSocket(i.RESOURCE_DEGRADED),t.handleDegraded(n)}),$.subscribe(i.RETURN,function(){t.triggerSocket(i.RETURN)}),$.subscribe(i.RIGHT_ARROW,function(){t.triggerSocket(i.RIGHT_ARROW)}),$.subscribe(i.RIGHTPANEL_COLLAPSE_FULL_FINISH,function(){t.triggerSocket(i.RIGHTPANEL_COLLAPSE_FULL_FINISH)}),$.subscribe(i.RIGHTPANEL_COLLAPSE_FULL_START,function(){t.triggerSocket(i.RIGHTPANEL_COLLAPSE_FULL_START)}),$.subscribe(i.RIGHTPANEL_EXPAND_FULL_FINISH,function(){t.triggerSocket(i.RIGHTPANEL_EXPAND_FULL_FINISH)}),$.subscribe(i.RIGHTPANEL_EXPAND_FULL_START,function(){t.triggerSocket(i.RIGHTPANEL_EXPAND_FULL_START)}),$.subscribe(i.SEQUENCE_INDEX_CHANGED,function(){t.triggerSocket(i.SEQUENCE_INDEX_CHANGED)}),$.subscribe(i.SETTINGS_CHANGED,function(e,n){t.triggerSocket(i.SETTINGS_CHANGED,n)}),$.subscribe(i.SHOW_DOWNLOAD_DIALOGUE,function(){t.triggerSocket(i.SHOW_DOWNLOAD_DIALOGUE)}),$.subscribe(i.SHOW_EMBED_DIALOGUE,function(){t.triggerSocket(i.SHOW_EMBED_DIALOGUE)}),$.subscribe(i.SHOW_EXTERNALCONTENT_DIALOGUE,function(){t.triggerSocket(i.SHOW_EXTERNALCONTENT_DIALOGUE)}),$.subscribe(i.SHOW_GENERIC_DIALOGUE,function(){t.triggerSocket(i.SHOW_GENERIC_DIALOGUE)}),$.subscribe(i.SHOW_HELP_DIALOGUE,function(){t.triggerSocket(i.SHOW_HELP_DIALOGUE)}),$.subscribe(i.SHOW_INFORMATION,function(){t.triggerSocket(i.SHOW_INFORMATION)}),$.subscribe(i.SHOW_LOGIN_DIALOGUE,function(){t.triggerSocket(i.SHOW_LOGIN_DIALOGUE)}),$.subscribe(i.SHOW_CLICKTHROUGH_DIALOGUE,function(){t.triggerSocket(i.SHOW_CLICKTHROUGH_DIALOGUE)}),$.subscribe(i.SHOW_RESTRICTED_DIALOGUE,function(){t.triggerSocket(i.SHOW_RESTRICTED_DIALOGUE)}),$.subscribe(i.SHOW_OVERLAY,function(){t.triggerSocket(i.SHOW_OVERLAY)}),$.subscribe(i.SHOW_SETTINGS_DIALOGUE,function(){t.triggerSocket(i.SHOW_SETTINGS_DIALOGUE)}),$.subscribe(i.SHOW_TERMS_OF_USE,function(){t.triggerSocket(i.SHOW_TERMS_OF_USE);var e=t.helper.getAttribution();t.showMessage(e)}),$.subscribe(i.THUMB_SELECTED,function(e,n){t.triggerSocket(i.THUMB_SELECTED,n.index)}),$.subscribe(i.TOGGLE_FULLSCREEN,function(){$("#top").focus(),t.bootstrapper.isFullScreen=!t.bootstrapper.isFullScreen,t.triggerSocket(i.TOGGLE_FULLSCREEN,{isFullScreen:t.bootstrapper.isFullScreen,overrideFullScreen:t.config.options.overrideFullScreen})}),$.subscribe(i.UP_ARROW,function(){t.triggerSocket(i.UP_ARROW)}),$.subscribe(i.UPDATE_SETTINGS,function(){t.triggerSocket(i.UPDATE_SETTINGS)}),$.subscribe(i.VIEW_FULL_TERMS,function(){t.triggerSocket(i.VIEW_FULL_TERMS)}),$.subscribe(i.WINDOW_UNLOAD,function(){t.triggerSocket(i.WINDOW_UNLOAD)}),this.shell=new p(this.$element),e?this.loadDependencies(e):this.getDependencies(function(e){t.loadDependencies(e)})},t.prototype.createModules=function(){this.$clickThroughDialogue=$('
'),p.$overlays.append(this.$clickThroughDialogue),this.clickThroughDialogue=new o(this.$clickThroughDialogue),this.$restrictedDialogue=$(''),p.$overlays.append(this.$restrictedDialogue),this.restrictedDialogue=new u(this.$restrictedDialogue),this.$loginDialogue=$(''),p.$overlays.append(this.$loginDialogue),this.loginDialogue=new a(this.$loginDialogue)},t.prototype.modulesCreated=function(){},t.prototype.getDependencies=function(t){var i=this,n=window.DEBUG?"../../extensions/"+this.name+"/dependencies":this.name+"-dependencies",o=$("script[data-requiremodule]").filter(function(){var e=$(this).attr("data-requiremodule");return-1!=e.indexOf(i.name)&&-1!=e.indexOf("dependencies")});o.length?t(null):e([n],function(e){for(var n=window.DEBUG?"../../extensions/"+i.name+"/lib/":"",o=0;ot.minWidth&&this.width()<=t.maxWidth&&this.metric!==t.type&&(this.metric=t.type,$.publish(i.METRIC_CHANGED))}},t.prototype.resize=function(){this._updateMetric(),$.publish(i.RESIZE)},t.prototype.handleParentFrameEvent=function(e){var t=this;Utils.Async.waitFor(function(){return t.isCreated},function(){switch(e.eventName){case i.TOGGLE_FULLSCREEN:$.publish(i.TOGGLE_FULLSCREEN,e.eventObject);break;case i.PARENT_EXIT_FULLSCREEN:$.publish(i.PARENT_EXIT_FULLSCREEN)}})},t.prototype.reload=function(e){var t=new n;e&&(t=$.extend(t,e)),t.isReload=!0,$.disposePubSub(),this.bootstrapper.bootstrap(t)},t.prototype.getCanvasIndexParam=function(){return this.bootstrapper.params.getParam(c.canvasIndex)},t.prototype.getSequenceIndexParam=function(){return this.bootstrapper.params.getParam(c.sequenceIndex)},t.prototype.isSeeAlsoEnabled=function(){return this.config.options.seeAlsoEnabled!==!1},t.prototype.getShareUrl=function(){if(this.isDeepLinkingEnabled())return Utils.Documents.isInIFrame()?parent.document.location.href:document.location.href;if(this.helper.hasRelatedPage()){var e=this.helper.getRelated();return e&&e.length&&(e=e[0]),e["@id"]}return null},t.prototype.getIIIFShareUrl=function(){return this.helper.iiifResourceUri+"?manifest="+this.helper.iiifResourceUri},t.prototype.addTimestamp=function(e){return e+"?t="+Utils.Dates.getTimeStamp()},t.prototype.isDeepLinkingEnabled=function(){return this.isHomeDomain&&this.isOnlyInstance},t.prototype.isOnHomeDomain=function(){return this.isDeepLinkingEnabled()},t.prototype.getDomain=function(){var e=Utils.Urls.getUrlParts(this.helper.iiifResourceUri);return e.host},t.prototype.getEmbedDomain=function(){return this.embedDomain},t.prototype.getSettings=function(){if(Utils.Bools.getBool(this.config.options.saveUserSettings,!1)){var e=Utils.Storage.get("uv.settings",Utils.StorageType.local);if(e)return $.extend(this.config.options,e.value)}return this.config.options},t.prototype.updateSettings=function(e){if(Utils.Bools.getBool(this.config.options.saveUserSettings,!1)){var t=Utils.Storage.get("uv.settings",Utils.StorageType.local);t&&(e=$.extend(t.value,e)),Utils.Storage.set("uv.settings",e,31536e4,Utils.StorageType.local)}this.config.options=$.extend(this.config.options,e)},t.prototype.sanitize=function(e){var t=document.createElement("div"),i=$(t);i.html(e);var n=new Sanitize({elements:["a","b","br","img","p","i","span"],attributes:{a:["href"],img:["src","alt"]},protocols:{a:{href:["http","https"]}}});return i.html(n.clean_node(t)),i.html()},t.prototype.getLocales=function(){if(this.locales)return this.locales;var e=this.config.localisation.locales.clone(),t=this.bootstrapper.params.locales,i=[];_.each(t,function(t){var n=_.filter(e,function(e){return e.name===t.name});if(n.length){var o=n[0];t.label&&(o.label=t.label),o.added=!0,i.push(o)}});var n=Utils.Bools.getBool(this.config.options.limitLocales,!1);return n||_.each(e,function(e){e.added||i.push(e),delete e.added}),this.locales=i},t.prototype.getAlternateLocale=function(){for(var e,t=this.getLocales(),i=0;i0&&(t+=","),t+=n.name,n.label&&(t+=":"+n.label)}return t},t.prototype.getSerializedLocales=function(){return this.serializeLocales(this.locales)},t.prototype.getSharePreview=function(){var e={};e.title=this.helper.getLabel();var t=this.helper.getCurrentCanvas(),i=t.getProperty("thumbnail");return i&&_.isString(i)||(i=t.getCanonicalImageUri(this.config.options.bookmarkThumbWidth)),e.image=i,e},t.prototype.getPagedIndices=function(e){return"undefined"==typeof e&&(e=this.helper.canvasIndex),[e]},t.prototype.getCurrentCanvases=function(){for(var e=this.getPagedIndices(this.helper.canvasIndex),t=[],i=0;i"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$acceptTermsButton=this.$content.find(".acceptTerms"),this.$acceptTermsButton.text("Accept Terms and Open"),this.$element.hide(),this.$acceptTermsButton.on("click",function(e){e.preventDefault(),t.close(),$.publish(i.ACCEPT_TERMS),t.acceptCallback&&t.acceptCallback()})},t.prototype.open=function(){e.prototype.open.call(this),this.$title.text(this.resource.clickThroughService.getProperty("label")),this.$message.html(this.resource.clickThroughService.getProperty("description")),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.resize()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o}),define("modules/uv-shared-module/InformationArgs",["require","exports"],function(e,t){var i=function(){function e(e,t){this.informationType=e,this.param=t}return e}();return i}),define("modules/uv-shared-module/InformationType",["require","exports"],function(e,t){var i;return function(e){e[e.AUTH_CORS_ERROR=0]="AUTH_CORS_ERROR",e[e.DEGRADED_RESOURCE=1]="DEGRADED_RESOURCE"}(i||(i={})),i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/LoginDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("loginDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_LOGIN_DIALOGUE,this.closeCommand=i.HIDE_LOGIN_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.loginCallback=i.loginCallback,t.logoutCallback=i.logoutCallback,t.options=i.options,t.resource=i.resource,t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$loginButton=this.$content.find(".login"),this.$loginButton.text(this.content.login),this.$logoutButton=this.$content.find(".logout"),this.$logoutButton.text(this.content.logout),this.$cancelButton=this.$content.find(".cancel"),this.$cancelButton.text(this.content.cancel),this.$element.hide(),this.$loginButton.on("click",function(e){e.preventDefault(),t.close(),t.loginCallback&&t.loginCallback()}),this.$logoutButton.on("click",function(e){e.preventDefault(),t.close(),t.logoutCallback&&t.logoutCallback()}),this.$cancelButton.on("click",function(e){e.preventDefault(),t.close()}),this.updateLogoutButton()},t.prototype.open=function(){e.prototype.open.call(this),this.$title.text(this.resource.loginService.getProperty("label"));var t=this.resource.loginService.getProperty("description");this.options.warningMessage&&(t=''+this.extension.config.content[this.options.warningMessage]+''+t+""),this.updateLogoutButton(),this.$message.html(t),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.options.showCancelButton?this.$cancelButton.show():this.$cancelButton.hide(),this.resize()},t.prototype.updateLogoutButton=function(){this.extension.isLoggedIn?this.$logoutButton.show():this.$logoutButton.hide()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o}),define("modules/uv-shared-module/LoginWarningMessages",["require","exports"],function(e,t){var i=function(){function e(){}return e.FORBIDDEN="forbiddenResourceMessage",e}();return i}),define("modules/uv-shared-module/StringValue",["require","exports"],function(e,t){var i=function(){function e(e){this.value="",e&&(this.value=e.toLowerCase())}return e.prototype.toString=function(){return this.value},e}();t.StringValue=i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/MetricType",["require","exports","./StringValue"],function(e,t,i){var n=function(e){function t(){e.apply(this,arguments)}return __extends(t,e),t.MOBILELANDSCAPE=new t("mobilelandscape"),t.LAPTOP=new t("laptop"),t}(i.StringValue);t.MetricType=n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/RestrictedDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("restrictedDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_RESTRICTED_DIALOGUE,this.closeCommand=i.HIDE_RESTRICTED_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.acceptCallback=i.acceptCallback,t.options=i.options,t.resource=i.resource,t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

"),this.$content.append(this.$title),this.$content.append('

'),this.$message=this.$content.find(".message"),this.$message.targetBlank(),this.$cancelButton=this.$content.find(".cancel"),this.$cancelButton.text(this.content.cancel),this.$element.hide(),this.$cancelButton.on("click",function(e){e.preventDefault(),t.close()})},t.prototype.open=function(){e.prototype.open.call(this),this.isAccepted=!1,this.$title.text(this.resource.restrictedService.getProperty("label"));var t=this.resource.restrictedService.getProperty("description");this.$message.html(t),this.$message.targetBlank(),this.$message.find("a").on("click",function(){var e=$(this).attr("href");$.publish(i.EXTERNAL_LINK_CLICKED,[e])}),this.resize()},t.prototype.close=function(){e.prototype.close.call(this),!this.isAccepted&&this.acceptCallback&&(this.isAccepted=!0,this.acceptCallback())},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/GenericDialogue",["require","exports","./BaseCommands","./Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("genericDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_GENERIC_DIALOGUE,this.closeCommand=i.HIDE_GENERIC_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.acceptCallback=i.acceptCallback,t.showMessage(i)}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$message=$("

"),this.$content.append(this.$message),this.$acceptButton=$(''),this.$content.append(this.$acceptButton),this.$acceptButton.text(this.content.ok),this.$acceptButton.onPressed(function(){t.accept()}),this.returnFunc=function(){t.isActive&&t.accept()},this.$element.hide()},t.prototype.accept=function(){$.publish(i.CLOSE_ACTIVE_DIALOGUE),this.acceptCallback&&this.acceptCallback()},t.prototype.showMessage=function(e){this.$message.html(e.message),e.buttonText?this.$acceptButton.text(e.buttonText):this.$acceptButton.text(this.content.ok),e.allowClose===!1&&this.disableClose(),this.open()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/Shell",["require","exports","./BaseCommands","./BaseView","./GenericDialogue"],function(e,t,i,n,o){var s=function(e){function t(i){t.$element=i,e.call(this,t.$element,!0,!0)}return __extends(t,e),t.prototype.create=function(){e.prototype.create.call(this),$.subscribe(i.SHOW_OVERLAY,function(){t.$overlays.show()}),$.subscribe(i.HIDE_OVERLAY,function(){t.$overlays.hide()}),t.$headerPanel=$('
'),t.$element.append(t.$headerPanel),t.$mainPanel=$('
'),t.$element.append(t.$mainPanel),t.$centerPanel=$('
'),t.$mainPanel.append(t.$centerPanel),t.$leftPanel=$('
'),t.$mainPanel.append(t.$leftPanel),t.$rightPanel=$('
'),t.$mainPanel.append(t.$rightPanel),t.$footerPanel=$('
'),t.$element.append(t.$footerPanel),t.$mobileFooterPanel=$('
'),t.$element.append(t.$mobileFooterPanel),t.$overlays=$('
'),t.$element.append(t.$overlays),t.$genericDialogue=$('
'),t.$overlays.append(t.$genericDialogue),t.$overlays.on("click",function(e){$(e.target).hasClass("overlays")&&(e.preventDefault(),$.publish(i.CLOSE_ACTIVE_DIALOGUE))}),new o(t.$genericDialogue)},t.prototype.resize=function(){e.prototype.resize.call(this),t.$overlays.width(this.extension.width()),t.$overlays.height(this.extension.height());var i=this.$element.height()-parseInt(t.$mainPanel.css("marginTop"))-(t.$headerPanel.is(":visible")?t.$headerPanel.height():0)-(t.$footerPanel.is(":visible")?t.$footerPanel.height():0)-(t.$mobileFooterPanel.is(":visible")?t.$mobileFooterPanel.height():0);t.$mainPanel.height(i)},t}(n);return s}),define("modules/uv-shared-module/BaseExtension",["require","exports","./BaseCommands","../../BootstrapParams","../../modules/uv-dialogues-module/ClickThroughDialogue","./InformationArgs","./InformationType","../../modules/uv-dialogues-module/LoginDialogue","./LoginWarningMessages","../../modules/uv-shared-module/MetricType","../../Params","../../modules/uv-dialogues-module/RestrictedDialogue","./Shell"],function(e,t,i,n,o,s,r,a,l,h,c,u,p){var d=function(){function t(e){this.isCreated=!1,this.isLoggedIn=!1,this.metric=h.MetricType.LAPTOP,this.metrics=[],this.shifted=!1,this.tabbing=!1,this.bootstrapper=e,this.config=this.bootstrapper.config,this.jsonp=this.bootstrapper.params.jsonp,this.locale=this.bootstrapper.params.getLocaleName(),this.isHomeDomain=this.bootstrapper.params.isHomeDomain,this.isReload=this.bootstrapper.params.isReload,this.embedDomain=this.bootstrapper.params.embedDomain,this.isOnlyInstance=this.bootstrapper.params.isOnlyInstance,this.embedScriptUri=this.bootstrapper.params.embedScriptUri,this.domain=this.bootstrapper.params.domain,this.isLightbox=this.bootstrapper.params.isLightbox}return t.prototype.create=function(e){var t=this,o=this;this.$element=$("#app"),this.$element.data("bootstrapper",this.bootstrapper);var s=$(window);if(this.embedWidth=s.width(),this.embedHeight=s.height(),this.$element.width(this.embedWidth),this.$element.height(this.embedHeight),this._parseMetrics(),!this.isReload&&Utils.Documents.isInIFrame()&&(this.bootstrapper.socket=new easyXDM.Socket({onMessage:function(e,i){e=$.parseJSON(e),t.handleParentFrameEvent(e)}})),this.triggerSocket(i.LOAD,{bootstrapper:{config:this.bootstrapper.config,params:this.bootstrapper.params},settings:this.getSettings(),preview:this.getSharePreview()}),this.$element.empty(),this.$element.removeClass(),this.$element.addClass("browser-"+window.browserDetect.browser),this.$element.addClass("browser-version-"+window.browserDetect.version),this.isHomeDomain||this.$element.addClass("embedded"),this.isLightbox&&this.$element.addClass("lightbox"),$(document).on("mousemove",function(e){t.mouseX=e.pageX,t.mouseY=e.pageY}),!this.isReload){window.onresize=function(){var e=$(window);$("body").height(e.height()),t.resize()};var r=Utils.Documents.getHiddenProp();if(r){var a=r.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(a,function(){Utils.Documents.isHidden()||t.resize()})}Utils.Bools.getBool(this.config.options.dropEnabled,!0)&&this.$element.on("drop",function(e){e.preventDefault();var o=e.originalEvent.dataTransfer.getData("URL"),s=Utils.Urls.getUrlParts(o),r=Utils.Urls.getQuerystringParameterFromString("manifest",s.search);if(r){t.triggerSocket(i.DROP,r);var a=new n;a.manifestUri=r,t.reload(a)}}),this.$element.on("dragover",function(e){e.preventDefault()}),$(document).on("keyup keydown",function(e){t.shifted=e.shiftKey,t.tabbing=e.keyCode===KeyCodes.KeyDown.Tab}),$(document).keydown(function(e){var t=null,n=!0;e.ctrlKey||e.altKey||e.shiftKey||(e.keyCode===KeyCodes.KeyDown.Enter&&(t=i.RETURN,n=!1),e.keyCode===KeyCodes.KeyDown.Escape&&(t=i.ESCAPE),e.keyCode===KeyCodes.KeyDown.PageUp&&(t=i.PAGE_UP),e.keyCode===KeyCodes.KeyDown.PageDown&&(t=i.PAGE_DOWN),e.keyCode===KeyCodes.KeyDown.End&&(t=i.END),e.keyCode===KeyCodes.KeyDown.Home&&(t=i.HOME),(e.keyCode===KeyCodes.KeyDown.NumpadPlus||171===e.keyCode||e.keyCode===KeyCodes.KeyDown.Equals)&&(t=i.PLUS,n=!1),(e.keyCode===KeyCodes.KeyDown.NumpadMinus||173===e.keyCode||e.keyCode===KeyCodes.KeyDown.Dash)&&(t=i.MINUS,n=!1),o.useArrowKeysToNavigate()&&(e.keyCode===KeyCodes.KeyDown.LeftArrow&&(t=i.LEFT_ARROW),e.keyCode===KeyCodes.KeyDown.UpArrow&&(t=i.UP_ARROW),e.keyCode===KeyCodes.KeyDown.RightArrow&&(t=i.RIGHT_ARROW),e.keyCode===KeyCodes.KeyDown.DownArrow&&(t=i.DOWN_ARROW))),t&&(n&&e.preventDefault(),$.publish(t))}),this.bootstrapper.params.isHomeDomain&&Utils.Documents.isInIFrame()&&$.subscribe(i.PARENT_EXIT_FULLSCREEN,function(){t.isOverlayActive()&&$.publish(i.ESCAPE),$.publish(i.ESCAPE),$.publish(i.RESIZE)})}this.$element.append(''),this.$element.append(''),$.subscribe(i.ACCEPT_TERMS,function(){t.triggerSocket(i.ACCEPT_TERMS)}),$.subscribe(i.LOGIN_FAILED,function(){t.triggerSocket(i.LOGIN_FAILED),t.showMessage(t.config.content.authorisationFailedMessage)}),$.subscribe(i.LOGIN,function(){t.isLoggedIn=!0,t.triggerSocket(i.LOGIN)}),$.subscribe(i.LOGOUT,function(){t.isLoggedIn=!1,t.triggerSocket(i.LOGOUT)}),$.subscribe(i.BOOKMARK,function(){t.bookmark(),t.triggerSocket(i.BOOKMARK)}),$.subscribe(i.CANVAS_INDEX_CHANGE_FAILED,function(){t.triggerSocket(i.CANVAS_INDEX_CHANGE_FAILED)}),$.subscribe(i.CANVAS_INDEX_CHANGED,function(e,n){t.triggerSocket(i.CANVAS_INDEX_CHANGED,n)}),$.subscribe(i.CLICKTHROUGH,function(){t.triggerSocket(i.CLICKTHROUGH)}),$.subscribe(i.CLOSE_ACTIVE_DIALOGUE,function(){t.triggerSocket(i.CLOSE_ACTIVE_DIALOGUE)}),$.subscribe(i.CLOSE_LEFT_PANEL,function(){t.triggerSocket(i.CLOSE_LEFT_PANEL),t.resize()}),$.subscribe(i.CLOSE_RIGHT_PANEL,function(){t.triggerSocket(i.CLOSE_RIGHT_PANEL),t.resize()}),$.subscribe(i.CREATED,function(){t.isCreated=!0,t.triggerSocket(i.CREATED)}),$.subscribe(i.DOWN_ARROW,function(){t.triggerSocket(i.DOWN_ARROW)}),$.subscribe(i.DOWNLOAD,function(e,n){t.triggerSocket(i.DOWNLOAD,n)}),$.subscribe(i.END,function(){t.triggerSocket(i.END)}),$.subscribe(i.ESCAPE,function(){t.triggerSocket(i.ESCAPE),t.isFullScreen()&&!t.isOverlayActive()&&$.publish(i.TOGGLE_FULLSCREEN)}),$.subscribe(i.EXTERNAL_LINK_CLICKED,function(e,n){t.triggerSocket(i.EXTERNAL_LINK_CLICKED,n)}),$.subscribe(i.FEEDBACK,function(){t.feedback()}),$.subscribe(i.FORBIDDEN,function(){t.triggerSocket(i.FORBIDDEN),$.publish(i.OPEN_EXTERNAL_RESOURCE)}),$.subscribe(i.HIDE_DOWNLOAD_DIALOGUE,function(){t.triggerSocket(i.HIDE_DOWNLOAD_DIALOGUE)}),$.subscribe(i.HIDE_EMBED_DIALOGUE,function(){t.triggerSocket(i.HIDE_EMBED_DIALOGUE)}),$.subscribe(i.HIDE_EXTERNALCONTENT_DIALOGUE,function(){t.triggerSocket(i.HIDE_EXTERNALCONTENT_DIALOGUE)}),$.subscribe(i.HIDE_GENERIC_DIALOGUE,function(){t.triggerSocket(i.HIDE_GENERIC_DIALOGUE)}),$.subscribe(i.HIDE_HELP_DIALOGUE,function(){t.triggerSocket(i.HIDE_HELP_DIALOGUE)}),$.subscribe(i.HIDE_INFORMATION,function(){t.triggerSocket(i.HIDE_INFORMATION)}),$.subscribe(i.HIDE_LOGIN_DIALOGUE,function(){t.triggerSocket(i.HIDE_LOGIN_DIALOGUE)}),$.subscribe(i.HIDE_OVERLAY,function(){t.triggerSocket(i.HIDE_OVERLAY)}),$.subscribe(i.HIDE_RESTRICTED_DIALOGUE,function(){t.triggerSocket(i.HIDE_RESTRICTED_DIALOGUE)}),$.subscribe(i.HIDE_SETTINGS_DIALOGUE,function(){t.triggerSocket(i.HIDE_SETTINGS_DIALOGUE)}),$.subscribe(i.HOME,function(){t.triggerSocket(i.HOME)}),$.subscribe(i.LEFT_ARROW,function(){t.triggerSocket(i.LEFT_ARROW)}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_FINISH,function(){t.triggerSocket(i.LEFTPANEL_COLLAPSE_FULL_FINISH)}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_START,function(){t.triggerSocket(i.LEFTPANEL_COLLAPSE_FULL_START)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_FINISH,function(){t.triggerSocket(i.LEFTPANEL_EXPAND_FULL_FINISH)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_START,function(){t.triggerSocket(i.LEFTPANEL_EXPAND_FULL_START)}),$.subscribe(i.LOAD_FAILED,function(){t.triggerSocket(i.LOAD_FAILED),_.isNull(o.lastCanvasIndex)||o.lastCanvasIndex===o.helper.canvasIndex||t.viewCanvas(o.lastCanvasIndex)}),$.subscribe(i.NOT_FOUND,function(){t.triggerSocket(i.NOT_FOUND)}),$.subscribe(i.OPEN,function(){t.triggerSocket(i.OPEN);var e=String.format(t.config.options.openTemplate,t.helper.iiifResourceUri);window.open(e)}),$.subscribe(i.OPEN_LEFT_PANEL,function(){t.triggerSocket(i.OPEN_LEFT_PANEL),t.resize()}),$.subscribe(i.OPEN_EXTERNAL_RESOURCE,function(){t.triggerSocket(i.OPEN_EXTERNAL_RESOURCE)}),$.subscribe(i.OPEN_RIGHT_PANEL,function(){t.triggerSocket(i.OPEN_RIGHT_PANEL),t.resize()}),$.subscribe(i.PAGE_DOWN,function(){t.triggerSocket(i.PAGE_DOWN)}),$.subscribe(i.PAGE_UP,function(){t.triggerSocket(i.PAGE_UP)}),$.subscribe(i.RESOURCE_DEGRADED,function(e,n){t.triggerSocket(i.RESOURCE_DEGRADED),t.handleDegraded(n)}),$.subscribe(i.RETURN,function(){t.triggerSocket(i.RETURN)}),$.subscribe(i.RIGHT_ARROW,function(){t.triggerSocket(i.RIGHT_ARROW)}),$.subscribe(i.RIGHTPANEL_COLLAPSE_FULL_FINISH,function(){t.triggerSocket(i.RIGHTPANEL_COLLAPSE_FULL_FINISH)}),$.subscribe(i.RIGHTPANEL_COLLAPSE_FULL_START,function(){t.triggerSocket(i.RIGHTPANEL_COLLAPSE_FULL_START)}),$.subscribe(i.RIGHTPANEL_EXPAND_FULL_FINISH,function(){t.triggerSocket(i.RIGHTPANEL_EXPAND_FULL_FINISH)}),$.subscribe(i.RIGHTPANEL_EXPAND_FULL_START,function(){t.triggerSocket(i.RIGHTPANEL_EXPAND_FULL_START)}),$.subscribe(i.SEQUENCE_INDEX_CHANGED,function(){t.triggerSocket(i.SEQUENCE_INDEX_CHANGED)}),$.subscribe(i.SETTINGS_CHANGED,function(e,n){t.triggerSocket(i.SETTINGS_CHANGED,n)}),$.subscribe(i.SHOW_DOWNLOAD_DIALOGUE,function(){t.triggerSocket(i.SHOW_DOWNLOAD_DIALOGUE)}),$.subscribe(i.SHOW_EMBED_DIALOGUE,function(){t.triggerSocket(i.SHOW_EMBED_DIALOGUE)}),$.subscribe(i.SHOW_EXTERNALCONTENT_DIALOGUE,function(){t.triggerSocket(i.SHOW_EXTERNALCONTENT_DIALOGUE)}),$.subscribe(i.SHOW_GENERIC_DIALOGUE,function(){t.triggerSocket(i.SHOW_GENERIC_DIALOGUE)}),$.subscribe(i.SHOW_HELP_DIALOGUE,function(){t.triggerSocket(i.SHOW_HELP_DIALOGUE)}),$.subscribe(i.SHOW_INFORMATION,function(){t.triggerSocket(i.SHOW_INFORMATION)}),$.subscribe(i.SHOW_LOGIN_DIALOGUE,function(){t.triggerSocket(i.SHOW_LOGIN_DIALOGUE)}),$.subscribe(i.SHOW_CLICKTHROUGH_DIALOGUE,function(){t.triggerSocket(i.SHOW_CLICKTHROUGH_DIALOGUE)}),$.subscribe(i.SHOW_RESTRICTED_DIALOGUE,function(){t.triggerSocket(i.SHOW_RESTRICTED_DIALOGUE)}),$.subscribe(i.SHOW_OVERLAY,function(){t.triggerSocket(i.SHOW_OVERLAY)}),$.subscribe(i.SHOW_SETTINGS_DIALOGUE,function(){t.triggerSocket(i.SHOW_SETTINGS_DIALOGUE)}),$.subscribe(i.SHOW_TERMS_OF_USE,function(){t.triggerSocket(i.SHOW_TERMS_OF_USE);var e=t.helper.getAttribution();t.showMessage(e)}),$.subscribe(i.THUMB_SELECTED,function(e,n){t.triggerSocket(i.THUMB_SELECTED,n.index)}),$.subscribe(i.TOGGLE_FULLSCREEN,function(){$("#top").focus(),t.bootstrapper.isFullScreen=!t.bootstrapper.isFullScreen,t.triggerSocket(i.TOGGLE_FULLSCREEN,{isFullScreen:t.bootstrapper.isFullScreen,overrideFullScreen:t.config.options.overrideFullScreen})}),$.subscribe(i.UP_ARROW,function(){t.triggerSocket(i.UP_ARROW)}),$.subscribe(i.UPDATE_SETTINGS,function(){t.triggerSocket(i.UPDATE_SETTINGS)}),$.subscribe(i.VIEW_FULL_TERMS,function(){t.triggerSocket(i.VIEW_FULL_TERMS)}),$.subscribe(i.WINDOW_UNLOAD,function(){t.triggerSocket(i.WINDOW_UNLOAD)}),this.shell=new p(this.$element),e?this.loadDependencies(e):this.getDependencies(function(e){t.loadDependencies(e)})},t.prototype.createModules=function(){this.$clickThroughDialogue=$('
'),p.$overlays.append(this.$clickThroughDialogue),this.clickThroughDialogue=new o(this.$clickThroughDialogue),this.$restrictedDialogue=$(''),p.$overlays.append(this.$restrictedDialogue),this.restrictedDialogue=new u(this.$restrictedDialogue),this.$loginDialogue=$(''),p.$overlays.append(this.$loginDialogue),this.loginDialogue=new a(this.$loginDialogue)},t.prototype.modulesCreated=function(){},t.prototype.getDependencies=function(t){var i=this,n=window.DEBUG?"../../extensions/"+this.name+"/dependencies":this.name+"-dependencies",o=$("script[data-requiremodule]").filter(function(){var e=$(this).attr("data-requiremodule");return-1!=e.indexOf(i.name)&&-1!=e.indexOf("dependencies")});o.length?t(null):e([n],function(e){for(var n=window.DEBUG?"../../extensions/"+i.name+"/lib/":"",o=0;ot.minWidth&&this.width()<=t.maxWidth&&this.metric!==t.type&&(this.metric=t.type,$.publish(i.METRIC_CHANGED))}},t.prototype.resize=function(){this._updateMetric(),$.publish(i.RESIZE)},t.prototype.handleParentFrameEvent=function(e){var t=this;Utils.Async.waitFor(function(){return t.isCreated},function(){switch(e.eventName){case i.TOGGLE_FULLSCREEN:$.publish(i.TOGGLE_FULLSCREEN,e.eventObject);break;case i.PARENT_EXIT_FULLSCREEN:$.publish(i.PARENT_EXIT_FULLSCREEN)}})},t.prototype.reload=function(e){var t=new n;e&&(t=$.extend(t,e)),t.isReload=!0,$.disposePubSub(),this.bootstrapper.bootstrap(t)},t.prototype.getCanvasIndexParam=function(){return this.bootstrapper.params.getParam(c.canvasIndex)},t.prototype.getSequenceIndexParam=function(){return this.bootstrapper.params.getParam(c.sequenceIndex)},t.prototype.isSeeAlsoEnabled=function(){return this.config.options.seeAlsoEnabled!==!1},t.prototype.getShareUrl=function(){if(this.isDeepLinkingEnabled())return Utils.Documents.isInIFrame()?parent.document.location.href:document.location.href;if(this.helper.hasRelatedPage()){var e=this.helper.getRelated();return e&&e.length&&(e=e[0]),e["@id"]}return null},t.prototype.getIIIFShareUrl=function(){return this.helper.iiifResourceUri+"?manifest="+this.helper.iiifResourceUri},t.prototype.addTimestamp=function(e){return e+"?t="+Utils.Dates.getTimeStamp()},t.prototype.isDeepLinkingEnabled=function(){return this.isHomeDomain&&this.isOnlyInstance},t.prototype.isOnHomeDomain=function(){return this.isDeepLinkingEnabled()},t.prototype.getDomain=function(){var e=Utils.Urls.getUrlParts(this.helper.iiifResourceUri);return e.host},t.prototype.getEmbedDomain=function(){return this.embedDomain},t.prototype.getSettings=function(){if(Utils.Bools.getBool(this.config.options.saveUserSettings,!1)){var e=Utils.Storage.get("uv.settings",Utils.StorageType.local);if(e)return $.extend(this.config.options,e.value)}return this.config.options},t.prototype.updateSettings=function(e){if(Utils.Bools.getBool(this.config.options.saveUserSettings,!1)){var t=Utils.Storage.get("uv.settings",Utils.StorageType.local);t&&(e=$.extend(t.value,e)),Utils.Storage.set("uv.settings",e,31536e4,Utils.StorageType.local)}this.config.options=$.extend(this.config.options,e)},t.prototype.sanitize=function(e){var t=document.createElement("div"),i=$(t);i.html(e);var n=new Sanitize({elements:["a","b","br","img","p","i","span"],attributes:{a:["href"],img:["src","alt"]},protocols:{a:{href:["http","https"]}}});return i.html(n.clean_node(t)),i.html()},t.prototype.getLocales=function(){if(this.locales)return this.locales;var e=this.config.localisation.locales.clone(),t=this.bootstrapper.params.locales,i=[];_.each(t,function(t){var n=_.filter(e,function(e){return e.name===t.name});if(n.length){var o=n[0];t.label&&(o.label=t.label),o.added=!0,i.push(o)}});var n=Utils.Bools.getBool(this.config.options.limitLocales,!1);return n||_.each(e,function(e){e.added||i.push(e),delete e.added}),this.locales=i},t.prototype.getAlternateLocale=function(){for(var e,t=this.getLocales(),i=0;i0&&(t+=","),t+=n.name,n.label&&(t+=":"+n.label)}return t},t.prototype.getSerializedLocales=function(){return this.serializeLocales(this.locales)},t.prototype.getSharePreview=function(){var e={};e.title=this.helper.getLabel();var t=this.helper.getCurrentCanvas(),i=t.getProperty("thumbnail");return i&&_.isString(i)||(i=t.getCanonicalImageUri(this.config.options.bookmarkThumbWidth)),e.image=i,e},t.prototype.getPagedIndices=function(e){return"undefined"==typeof e&&(e=this.helper.canvasIndex),[e]},t.prototype.getCurrentCanvases=function(){for(var e=this.getPagedIndices(this.helper.canvasIndex),t=[],i=0;i"+this.content.title+""),this.$content.append(this.$title),this.$noneAvailable=$('
'+this.content.noneAvailable+"
"),this.$content.append(this.$noneAvailable),this.$downloadOptions=$('
    '),this.$content.append(this.$downloadOptions),this.$footer=$(''),this.$content.append(this.$footer),this.$termsOfUseButton=$(''+this.extension.config.content.termsOfUse+""),this.$footer.append(this.$termsOfUseButton),this.$termsOfUseButton.onPressed(function(){$.publish(i.SHOW_TERMS_OF_USE)}),this.$element.hide(),this.updateTermsOfUseButton()},t.prototype.addEntireFileDownloadOptions=function(){var e=this;if(this.isDownloadOptionAvailable(o.entireFileAsOriginal)){this.$downloadOptions.empty();var t=this.extension.helper.getCurrentCanvas(),i=!1;_.each(t.getRenderings(),function(t){var n=t.getFormat(),o="";n&&(o=n.toString()),e.addEntireFileDownloadOption(t.id,Manifesto.TranslationCollection.getValue(t.getLabel()),o),i=!0}),i||this.addEntireFileDownloadOption(t.id,null,null)}},t.prototype.addEntireFileDownloadOption=function(e,t,i){t?t+=" ({0})":t=this.content.entireFileAsOriginal;var n;n=i?Utils.Files.simplifyMimeType(i):this.getFileExtension(e),this.$downloadOptions.append('
  1. '+String.format(t,n)+"
  2. ")},t.prototype.updateNoneAvailable=function(){this.$downloadOptions.find("li:visible").length?this.$noneAvailable.hide():this.$noneAvailable.show()},t.prototype.updateTermsOfUseButton=function(){var e=this.extension.helper.getAttribution();Utils.Bools.getBool(this.extension.config.options.termsOfUseEnabled,!1)&&e?this.$termsOfUseButton.show():this.$termsOfUseButton.hide()},t.prototype.getFileExtension=function(e){return e.split(".").pop()},t.prototype.isDownloadOptionAvailable=function(e){switch(e){case o.entireFileAsOriginal:this.extension.helper.manifest.getService(manifesto.ServiceProfile.uiExtensions());if(!this.extension.helper.isUIEnabled("mediaDownload"))return!1}return!0},t.prototype.close=function(){e.prototype.close.call(this)},t.prototype.resize=function(){this.setDockedPosition()},t}(n);return s});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-mediaelement-extension/DownloadDialogue",["require","exports","../../modules/uv-dialogues-module/DownloadDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("downloadDialogue"),e.prototype.create.call(this)},t.prototype.open=function(t){e.prototype.open.call(this,t),this.addEntireFileDownloadOptions(),this.updateNoneAvailable(),this.resize()},t.prototype.isDownloadOptionAvailable=function(t){return e.prototype.isDownloadOptionAvailable.call(this,t)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/ShareDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t),this.aspectRatio=.75,this.isEmbedViewVisible=!1,this.isShareViewVisible=!1,this.maxHeight=this.maxWidth*this.aspectRatio,this.maxWidth=8e3,this.minHeight=this.minWidth*this.aspectRatio,this.minWidth=200}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("shareDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_SHARE_DIALOGUE,this.closeCommand=i.HIDE_SHARE_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.open(i),t.isShareAvailable()?t.openShareView():t.openEmbedView()}),$.subscribe(this.closeCommand,function(e){t.close()}),$.subscribe(i.SHOW_EMBED_DIALOGUE,function(e,i){t.open(i),t.openEmbedView()}),this.$tabs=$('
    '),this.$content.append(this.$tabs),this.$shareButton=$('
    "),this.$shareButton.prop("title",this.content.share),this.$tabs.append(this.$shareButton),this.$embedButton=$(''+this.content.embed+""),this.$embedButton.prop("title",this.content.embed),this.$tabs.append(this.$embedButton),this.$tabsContent=$('
    '),this.$content.append(this.$tabsContent),this.$footer=$(''),this.$content.append(this.$footer),this.$shareView=$('
    '),this.$tabsContent.append(this.$shareView),this.$shareHeader=$('
    '),this.$shareView.append(this.$shareHeader),this.$shareLink=$(''),this.$shareView.append(this.$shareLink),this.$shareInput=$(''),this.$shareView.append(this.$shareInput),this.$shareFrame=$(''),this.$shareView.append(this.$shareFrame),this.$embedView=$('
    '),this.$tabsContent.append(this.$embedView),this.$embedHeader=$('
    '),this.$embedView.append(this.$embedHeader),this.$code=$(''),this.$embedView.append(this.$code),this.$customSize=$('
    '),this.$embedView.append(this.$customSize),this.$size=$(''+this.content.size+""),this.$customSize.append(this.$size),this.$customSizeDropDown=$(''),this.$customSize.append(this.$customSizeDropDown),this.$customSizeDropDown.append(''),this.$customSizeDropDown.append(''),this.$customSizeDropDown.append(''),this.$customSizeDropDown.append('"),this.$widthInput=$(''),this.$customSize.append(this.$widthInput),this.$x=$('x'),this.$customSize.append(this.$x),this.$heightInput=$(''),this.$customSize.append(this.$heightInput);var n=this.extension.getIIIFShareUrl();this.$iiifButton=$(''),this.$footer.append(this.$iiifButton),this.$termsOfUseButton=$(''+this.extension.config.content.termsOfUse+""),this.$footer.append(this.$termsOfUseButton),this.$widthInput.on("keydown",function(e){return Utils.Numbers.numericalInput(e)}),this.$heightInput.on("keydown",function(e){return Utils.Numbers.numericalInput(e)}),this.$shareInput.focus(function(){$(this).select()}),this.$code.focus(function(){$(this).select()}),this.$shareButton.onPressed(function(){t.openShareView()}),this.$embedButton.onPressed(function(){t.openEmbedView()}),this.$customSizeDropDown.change(function(){t.update()}),this.$widthInput.change(function(){t.updateHeightRatio(),t.update()}),this.$heightInput.change(function(){t.updateWidthRatio(),t.update()}),this.$termsOfUseButton.onPressed(function(){$.publish(i.SHOW_TERMS_OF_USE)}),this.$element.hide(),this.update()},t.prototype.open=function(t){e.prototype.open.call(this,t),this.update()},t.prototype.getShareUrl=function(){return this.extension.getShareUrl()},t.prototype.isShareAvailable=function(){return!!this.getShareUrl()},t.prototype.update=function(){this.isShareAvailable()?this.$shareButton.show():this.$shareButton.hide();var e=this.getSelectedSize();"custom"===e.val()?(this.$widthInput.show(),this.$x.show(),this.$heightInput.show()):(this.$widthInput.hide(),this.$x.hide(),this.$heightInput.hide(),this.currentWidth=Number(e.data("width")),this.currentHeight=Number(e.data("height")),this.$widthInput.val(String(this.currentWidth)),this.$heightInput.val(String(this.currentHeight))),this.updateInstructions(),this.updateShareOptions(),this.updateShareFrame(),this.updateTermsOfUseButton()},t.prototype.updateShareOptions=function(){this.$shareInput.val(this.getShareUrl()),this.$shareLink.prop("href",this.getShareUrl()),this.$shareLink.text(this.getShareUrl()),$.browser.mobile?(this.$shareInput.hide(),this.$shareLink.show()):(this.$shareInput.show(),this.$shareLink.hide())},t.prototype.updateInstructions=function(){Utils.Bools.getBool(this.options.instructionsEnabled,!1)?(this.$shareHeader.show(),this.$embedHeader.show(),this.$shareHeader.text(this.content.shareInstructions),this.$embedHeader.text(this.content.embedInstructions)):(this.$shareHeader.hide(),this.$embedHeader.hide())},t.prototype.getSelectedSize=function(){return this.$customSizeDropDown.find(":selected")},t.prototype.updateWidthRatio=function(){this.currentHeight=Number(this.$heightInput.val()),this.currentHeightthis.maxHeight&&(this.currentHeight=this.maxHeight,this.$heightInput.val(String(this.currentHeight))),this.currentWidth=Math.floor(this.currentHeight/this.aspectRatio),this.$widthInput.val(String(this.currentWidth))},t.prototype.updateHeightRatio=function(){this.currentWidth=Number(this.$widthInput.val()),this.currentWidththis.maxWidth&&(this.currentWidth=this.maxWidth,this.$widthInput.val(String(this.currentWidth))),this.currentHeight=Math.floor(this.currentWidth*this.aspectRatio),this.$heightInput.val(String(this.currentHeight))},t.prototype.updateShareFrame=function(){var e=this.extension.helper.getShareServiceUrl();Utils.Bools.getBool(this.config.options.shareFrameEnabled,!0)&&e?(this.$shareFrame.prop("src",e),this.$shareFrame.show()):this.$shareFrame.hide()},t.prototype.updateTermsOfUseButton=function(){var e=this.extension.helper.getAttribution();Utils.Bools.getBool(this.extension.config.options.termsOfUseEnabled,!1)&&e?this.$termsOfUseButton.show():this.$termsOfUseButton.hide()},t.prototype.openShareView=function(){this.isShareViewVisible=!0,this.isEmbedViewVisible=!1,this.$embedView.hide(),this.$shareView.show(),this.$shareButton.addClass("on default"),this.$embedButton.removeClass("on default"),this.resize()},t.prototype.openEmbedView=function(){this.isShareViewVisible=!1,this.isEmbedViewVisible=!0,this.$embedView.show(),this.$shareView.hide(),this.$shareButton.removeClass("on default"),this.$embedButton.addClass("on default"),this.resize()},t.prototype.close=function(){e.prototype.close.call(this)},t.prototype.getViews=function(){return this.$tabsContent.find(".view")},t.prototype.equaliseViewHeights=function(){this.getViews().equaliseHeight(!0)},t.prototype.resize=function(){this.equaliseViewHeights(),this.setDockedPosition()},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-mediaelement-extension/ShareDialogue",["require","exports","../../modules/uv-dialogues-module/ShareDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("shareDialogue"),e.prototype.create.call(this)},t.prototype.update=function(){e.prototype.update.call(this),this.code=this.extension.getEmbedScript(this.options.embedTemplate,this.currentWidth,this.currentHeight),this.$code.val(this.code)},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/FooterPanel",["require","exports","./BaseCommands","./BaseView","./MetricType"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("footerPanel"),e.prototype.create.call(this),$.subscribe(i.TOGGLE_FULLSCREEN,function(){t.updateFullScreenButton()}),$.subscribe(i.METRIC_CHANGED,function(){t.updateMinimisedButtons(),t.updateMoreInfoButton()}),$.subscribe(i.SETTINGS_CHANGED,function(){t.updateDownloadButton()}),this.$options=$('
    '),this.$element.append(this.$options),this.$feedbackButton=$('"),this.$options.prepend(this.$feedbackButton),this.$openButton=$(''+this.content.open+""),this.$options.prepend(this.$openButton),this.$bookmarkButton=$(''+this.content.bookmark+""),this.$options.prepend(this.$bookmarkButton),this.$shareButton=$('"),this.$options.append(this.$shareButton),this.$embedButton=$(''+this.content.embed+""),this.$options.append(this.$embedButton),this.$downloadButton=$(''+this.content.download+""),this.$options.prepend(this.$downloadButton),this.$moreInfoButton=$(''+this.content.moreInfo+""),this.$options.prepend(this.$moreInfoButton),this.$fullScreenBtn=$(''+this.content.fullScreen+""),this.$options.append(this.$fullScreenBtn),this.$openButton.onPressed(function(){$.publish(i.OPEN)}),this.$feedbackButton.onPressed(function(){$.publish(i.FEEDBACK)}),this.$bookmarkButton.onPressed(function(){$.publish(i.BOOKMARK)}),this.$shareButton.onPressed(function(){$.publish(i.SHOW_SHARE_DIALOGUE,[t.$shareButton])}),this.$embedButton.onPressed(function(){$.publish(i.SHOW_EMBED_DIALOGUE,[t.$embedButton])}),this.$downloadButton.onPressed(function(){$.publish(i.SHOW_DOWNLOAD_DIALOGUE,[t.$downloadButton])}),this.$moreInfoButton.onPressed(function(){$.publish(i.SHOW_MOREINFO_DIALOGUE,[t.$moreInfoButton])}),this.$fullScreenBtn.on("click",function(e){e.preventDefault(),$.publish(i.TOGGLE_FULLSCREEN)}),Utils.Bools.getBool(this.options.embedEnabled,!0)||this.$embedButton.hide(),this.updateMoreInfoButton(),this.updateOpenButton(),this.updateFeedbackButton(),this.updateBookmarkButton(),this.updateEmbedButton(),this.updateDownloadButton(),this.updateFullScreenButton(),this.updateShareButton(),this.updateMinimisedButtons()},t.prototype.updateMinimisedButtons=function(){return Utils.Bools.getBool(this.options.minimiseButtons,!1)?void this.$options.addClass("minimiseButtons"):void(this.extension.metric.toString()===o.MetricType.MOBILELANDSCAPE.toString()?this.$options.addClass("minimiseButtons"):this.$options.removeClass("minimiseButtons"))},t.prototype.updateMoreInfoButton=function(){var e=Utils.Bools.getBool(this.options.moreInfoEnabled,!1);e&&this.extension.metric.toString()===o.MetricType.MOBILELANDSCAPE.toString()?this.$moreInfoButton.show():this.$moreInfoButton.hide()},t.prototype.updateOpenButton=function(){var e=Utils.Bools.getBool(this.options.openEnabled,!1);e&&!this.extension.isHomeDomain?this.$openButton.show():this.$openButton.hide()},t.prototype.updateFullScreenButton=function(){Utils.Bools.getBool(this.options.fullscreenEnabled,!0)||this.$fullScreenBtn.hide(),this.extension.isLightbox&&this.$fullScreenBtn.addClass("lightbox"),this.extension.isFullScreen()?(this.$fullScreenBtn.swapClass("fullScreen","exitFullscreen"),this.$fullScreenBtn.text(this.content.exitFullScreen),this.$fullScreenBtn.attr("title",this.content.exitFullScreen)):(this.$fullScreenBtn.swapClass("exitFullscreen","fullScreen"),this.$fullScreenBtn.text(this.content.fullScreen),this.$fullScreenBtn.attr("title",this.content.fullScreen))},t.prototype.updateEmbedButton=function(){this.extension.helper.isUIEnabled("embed")&&Utils.Bools.getBool(this.options.embedEnabled,!1)?$.browser.mobile||this.$embedButton.show():this.$embedButton.hide()},t.prototype.updateShareButton=function(){this.extension.helper.isUIEnabled("share")&&Utils.Bools.getBool(this.options.shareEnabled,!0)?this.$shareButton.show():this.$shareButton.hide()},t.prototype.updateDownloadButton=function(){var e=Utils.Bools.getBool(this.options.downloadEnabled,!0);e?this.$downloadButton.show():this.$downloadButton.hide()},t.prototype.updateFeedbackButton=function(){var e=Utils.Bools.getBool(this.options.feedbackEnabled,!1);e?this.$feedbackButton.show():this.$feedbackButton.hide()},t.prototype.updateBookmarkButton=function(){var e=Utils.Bools.getBool(this.options.bookmarkEnabled,!1);e?this.$bookmarkButton.show():this.$bookmarkButton.hide()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return s}),define("modules/uv-shared-module/Information",["require","exports"],function(e,t){var i=function(){function e(e,t){this.message=e,this.actions=t}return e}();return i}),define("modules/uv-shared-module/InformationAction",["require","exports"],function(e,t){var i=function(){function e(){}return e}();return i}),define("modules/uv-shared-module/InformationFactory",["require","exports","./BaseCommands","./Information","./InformationAction","./InformationType"],function(e,t,i,n,o,s){var r=function(){function e(e){this.extension=e}return e.prototype.Get=function(e){switch(e.informationType){case s.AUTH_CORS_ERROR:return new n(this.extension.config.content.authCORSError,[]);case s.DEGRADED_RESOURCE:var t=[],r=new o;return r.label=this.extension.config.content.degradedResourceLogin,r.action=function(){$.publish(i.HIDE_INFORMATION),$.publish(i.OPEN_EXTERNAL_RESOURCE,[[e.param]])},t.push(r),new n(this.extension.config.content.degradedResourceMessage,t)}},e}();return r});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/HeaderPanel",["require","exports","./BaseCommands","./BaseView","../uv-shared-module/InformationFactory"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t,!1,!1)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("headerPanel"),e.prototype.create.call(this),$.subscribe(i.SHOW_INFORMATION,function(e,i){t.showInformation(i)}),$.subscribe(i.HIDE_INFORMATION,function(){t.hideInformation()}),this.$options=$('
    '),this.$element.append(this.$options),this.$centerOptions=$('
    '),this.$options.append(this.$centerOptions),this.$rightOptions=$('
    '),this.$options.append(this.$rightOptions),this.$localeToggleButton=$(''),this.$rightOptions.append(this.$localeToggleButton),this.$settingsButton=$(''),this.$settingsButton.attr("title",this.content.settings),this.$rightOptions.append(this.$settingsButton),this.$informationBox=$('
    '),this.$element.append(this.$informationBox),this.$informationBox.hide(),this.$informationBox.find(".close").attr("title",this.content.close),this.$informationBox.find(".close").on("click",function(e){e.preventDefault(),$.publish(i.HIDE_INFORMATION)}),this.$localeToggleButton.on("click",function(){t.extension.changeLocale(String(t.$localeToggleButton.data("locale")))}),this.$settingsButton.onPressed(function(){$.publish(i.SHOW_SETTINGS_DIALOGUE)}),this.updateLocaleToggle(),this.updateSettingsButton()},t.prototype.updateLocaleToggle=function(){if(!this.localeToggleIsVisible())return void this.$localeToggleButton.hide();var e=this.extension.getAlternateLocale(),t=e.name.split("-")[0].toUpperCase();this.$localeToggleButton.data("locale",e.name),this.$localeToggleButton.attr("title",e.label),this.$localeToggleButton.text(t)},t.prototype.updateSettingsButton=function(){var e=Utils.Bools.getBool(this.options.settingsButtonEnabled,!0);e?this.$settingsButton.show():this.$settingsButton.hide()},t.prototype.localeToggleIsVisible=function(){return this.extension.getLocales().length>1&&Utils.Bools.getBool(this.options.localeToggleEnabled,!1)},t.prototype.showInformation=function(e){var t=new o(this.extension);this.information=t.Get(e);var i=this.$informationBox.find(".message");i.html(this.information.message).find("a").attr("target","_top");var n=this.$informationBox.find(".actions");n.empty();for(var s=0;s'+r.label+"");a.on("click",r.action),n.append(a)}this.$informationBox.show(),this.$element.addClass("showInformation"),this.extension.resize()},t.prototype.hideInformation=function(){this.$element.removeClass("showInformation"),this.$informationBox.hide(),this.extension.resize()},t.prototype.getSettings=function(){return this.extension.getSettings()},t.prototype.updateSettings=function(e){this.extension.updateSettings(e),$.publish(i.UPDATE_SETTINGS,[e])},t.prototype.resize=function(){e.prototype.resize.call(this);var t=this.$element.width(),i=t/2,n=this.$centerOptions.outerWidth(),o=i-n/2;if(this.$centerOptions.css({left:o}),this.$informationBox.is(":visible")){var s=this.$informationBox.find(".actions"),r=this.$informationBox.find(".message");r.width(this.$element.width()-r.horizontalMargins()-s.outerWidth(!0)-this.$informationBox.find(".close").outerWidth(!0)-1),r.ellipsisFill(this.information.message)}this.extension.width()"),this.$content.append(this.$title),this.$scroll=$('
    '),this.$content.append(this.$scroll),this.$message=$("

    "),this.$scroll.append(this.$message),this.$title.text(this.content.title),this.$message.html(this.content.text),this.$message.targetBlank(),this.$element.hide()},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/CenterPanel",["require","exports","./Shell","./BaseView"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t,!1,!0)}return __extends(t,e),t.prototype.create=function(){var t=this;e.prototype.create.call(this),this.$title=$('
    '),this.$element.append(this.$title),this.$content=$('
    '),this.$element.append(this.$content),this.$attribution=$('
    '),this.$attribution.find(".header .title").text(this.content.attribution),this.$content.append(this.$attribution),this.$attribution.hide(),this.$closeAttributionButton=this.$attribution.find(".header .close"),this.$closeAttributionButton.on("click",function(e){e.preventDefault(),t.$attribution.hide()}),Utils.Bools.getBool(this.options.titleEnabled,!0)||this.$title.hide()},t.prototype.updateAttribution=function(){var e=this,t=this.extension.helper.getAttribution(),i=Utils.Bools.getBool(this.options.attributionEnabled,!0);if(t&&i){this.$attribution.show();var n=this.$attribution.find(".attribution-text"),o=this.$attribution.find(".license"),s=this.$attribution.find(".logo");n.html(this.extension.sanitize(t)),n.find("img").one("load",function(){e.resize()}).each(function(){this.complete&&$(this).load()}),n.targetBlank(),n.toggleExpandText(this.options.trimAttributionCount,function(){e.resize()}),o.hide(),s.hide()}},t.prototype.resize=function(){e.prototype.resize.call(this);var t=i.$leftPanel.is(":visible")?Math.floor(i.$leftPanel.width()):0,n=i.$rightPanel.is(":visible")?Math.floor(i.$rightPanel.width()):0,o=Math.floor(this.$element.parent().width()-t-n);this.$element.css({left:t,width:o});var s;s=this.options&&this.options.titleEnabled===!1?0:this.$title.height(),this.$content.height(this.$element.height()-s),this.$content.width(this.$element.width()),this.$attribution&&this.$attribution.is(":visible")&&this.$attribution.css("top",this.$content.height()-this.$attribution.outerHeight()-this.$attribution.verticalMargins())},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-mediaelementcenterpanel-module/MediaElementCenterPanel",["require","exports","../uv-shared-module/BaseCommands","../../extensions/uv-mediaelement-extension/Commands","../uv-shared-module/CenterPanel"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("mediaelementCenterPanel"),e.prototype.create.call(this);var t=this;this.extension.isVideo()&&$.subscribe(i.TOGGLE_FULLSCREEN,function(e){t.bootstrapper.isFullScreen?(t.$container.css("backgroundColor","#000"),t.player.enterFullScreen(!1)):(t.$container.css("backgroundColor","transparent"),t.player.exitFullScreen(!1))}),$.subscribe(i.OPEN_EXTERNAL_RESOURCE,function(e,i){t.openMedia(i)}),this.$container=$('
    '),this.$content.append(this.$container),this.title=this.extension.helper.getLabel()},t.prototype.openMedia=function(e){var t=this,i=this;this.extension.getExternalResources(e).then(function(){ t.$container.empty();var e=t.extension.helper.getCurrentCanvas();t.mediaHeight=t.config.defaultHeight,t.mediaWidth=t.config.defaultWidth,t.$container.height(t.mediaHeight),t.$container.width(t.mediaWidth);var o=Utils.Dates.getTimeStamp(),s=t.extension.getPosterImageUri(),r=s?' poster="'+s+'"':"",a=[];if(_.each(e.getRenderings(),function(e){a.push({type:e.getFormat().toString(),src:e.id})}),t.extension.isVideo())t.media=t.$container.append('"),t.player=new MediaElementPlayer("#"+o,{type:["video/mp4","video/webm","video/flv"],plugins:["flash"],alwaysShowControls:!1,autosizeProgress:!1,success:function(e){e.addEventListener("canplay",function(e){i.resize()}),e.addEventListener("play",function(e){$.publish(n.MEDIA_PLAYED,[Math.floor(i.player.media.currentTime)])}),e.addEventListener("pause",function(e){Math.floor(i.player.media.currentTime)!=Math.floor(i.player.media.duration)&&$.publish(n.MEDIA_PAUSED,[Math.floor(i.player.media.currentTime)])}),e.addEventListener("ended",function(e){$.publish(n.MEDIA_ENDED,[Math.floor(i.player.media.duration)])}),e.setSrc(a);try{e.load()}catch(t){}}});else{var l=0;for(var h in a)if("audio/mp3"===a[h].type){l=h;break}t.media=t.$container.append('"),t.player=new MediaElementPlayer("#"+o,{plugins:["flash"],alwaysShowControls:!1,autosizeProgress:!1,defaultVideoWidth:i.mediaWidth,defaultVideoHeight:i.mediaHeight,success:function(e){e.addEventListener("canplay",function(e){i.resize()}),e.addEventListener("play",function(e){$.publish(n.MEDIA_PLAYED,[Math.floor(i.player.media.currentTime)])}),e.addEventListener("pause",function(e){Math.floor(i.player.media.currentTime)!=Math.floor(i.player.media.duration)&&$.publish(n.MEDIA_PAUSED,[Math.floor(i.player.media.currentTime)])}),e.addEventListener("ended",function(e){$.publish(n.MEDIA_ENDED,[Math.floor(i.player.media.duration)])});try{e.load()}catch(t){}}})}t.resize()})},t.prototype.resize=function(){if(e.prototype.resize.call(this),"Firefox"===window.browserDetect.browser&&window.browserDetect.version<13)this.$container.width(this.mediaWidth),this.$container.height(this.mediaHeight);else{var t=Utils.Measurements.Dimensions.fitRect(this.mediaWidth,this.mediaHeight,this.$content.width(),this.$content.height());this.$container.height(t.height),this.$container.width(t.width)}this.player&&!this.extension.isFullScreen()&&this.player.resize();var i=Math.floor((this.$content.width()-this.$container.width())/2),n=Math.floor((this.$content.height()-this.$container.height())/2);this.$container.css({left:i,top:n}),this.$title.ellipsisFill(this.title)},t}(o);return s});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/BaseExpandPanel",["require","exports","./BaseView"],function(e,t,i){var n=function(e){function t(t){e.call(this,t,!1,!0),this.isExpanded=!1,this.isFullyExpanded=!1,this.isUnopened=!0,this.autoToggled=!1,this.expandFullEnabled=!0}return __extends(t,e),t.prototype.create=function(){var t=this;e.prototype.create.call(this),this.$top=$('
    '),this.$element.append(this.$top),this.$title=$('
    '),this.$title.prop("title",this.content.title),this.$top.append(this.$title),this.$expandFullButton=$(''),this.$expandFullButton.prop("title",this.content.expandFull),this.$top.append(this.$expandFullButton),Utils.Bools.getBool(this.config.options.expandFullEnabled,!0)||this.$expandFullButton.hide(),this.$collapseButton=$('
    '),this.$collapseButton.prop("title",this.content.collapse),this.$top.append(this.$collapseButton),this.$closed=$('
    '),this.$element.append(this.$closed),this.$expandButton=$(''),this.$expandButton.prop("title",this.content.expand),this.$closed.append(this.$expandButton),this.$closedTitle=$(''),this.$closedTitle.prop("title",this.content.title),this.$closed.append(this.$closedTitle),this.$main=$('
    '),this.$element.append(this.$main),this.$expandButton.onPressed(function(){t.toggle()}),this.$expandFullButton.onPressed(function(){t.expandFull()}),this.$closedTitle.onPressed(function(){t.toggle()}),this.$title.onPressed(function(){t.isFullyExpanded?t.collapseFull():t.toggle()}),this.$collapseButton.onPressed(function(){t.isFullyExpanded?t.collapseFull():t.toggle()}),this.$top.hide(),this.$main.hide()},t.prototype.init=function(){e.prototype.init.call(this)},t.prototype.setTitle=function(e){this.$title.text(e),this.$closedTitle.text(e)},t.prototype.toggle=function(e){var t=this;e?this.autoToggled=!0:this.autoToggled=!1,this.isExpanded&&(this.$top.hide(),this.$main.hide(),this.$closed.show()),this.$element.stop().animate({width:this.getTargetWidth(),left:this.getTargetLeft()},this.options.panelAnimationDuration,function(){t.toggled()})},t.prototype.toggled=function(){this.toggleStart(),this.isExpanded=!this.isExpanded,this.isExpanded&&(this.$closed.hide(),this.$top.show(),this.$main.show()),this.toggleFinish(),this.isUnopened=!1},t.prototype.expandFull=function(){var e=this;this.isExpanded||this.toggled();var t=this.getFullTargetWidth(),i=this.getFullTargetLeft();this.expandFullStart(),this.$element.stop().animate({width:t,left:i},this.options.panelAnimationDuration,function(){e.expandFullFinish()})},t.prototype.collapseFull=function(){var e=this,t=this.getTargetWidth(),i=this.getTargetLeft();this.collapseFullStart(),this.$element.stop().animate({width:t,left:i},this.options.panelAnimationDuration,function(){e.collapseFullFinish()})},t.prototype.getTargetWidth=function(){return 0},t.prototype.getTargetLeft=function(){return 0},t.prototype.getFullTargetWidth=function(){return 0},t.prototype.getFullTargetLeft=function(){return 0},t.prototype.toggleStart=function(){},t.prototype.toggleFinish=function(){this.isExpanded&&!this.autoToggled?this.focusCollapseButton():this.focusExpandButton()},t.prototype.expandFullStart=function(){},t.prototype.expandFullFinish=function(){this.isFullyExpanded=!0,this.$expandFullButton.hide(),this.focusCollapseButton()},t.prototype.collapseFullStart=function(){},t.prototype.collapseFullFinish=function(){this.isFullyExpanded=!1,this.expandFullEnabled&&this.$expandFullButton.show(),this.focusExpandFullButton()},t.prototype.focusExpandButton=function(){var e=this;setTimeout(function(){e.$expandButton.focus()},1)},t.prototype.focusExpandFullButton=function(){var e=this;setTimeout(function(){e.$expandFullButton.focus()},1)},t.prototype.focusCollapseButton=function(){var e=this;setTimeout(function(){e.$collapseButton.focus()},1)},t.prototype.resize=function(){e.prototype.resize.call(this),this.$main.height(this.$element.parent().height()-this.$top.outerHeight(!0))},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/RightPanel",["require","exports","./BaseCommands","./BaseExpandPanel"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){e.prototype.create.call(this),this.$element.width(this.options.panelCollapsedWidth)},t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=Utils.Bools.getBool(this.extension.getSettings().rightPanelOpen,this.options.panelOpen);n&&this.toggle(!0),$.subscribe(i.TOGGLE_EXPAND_RIGHT_PANEL,function(){t.isFullyExpanded?t.collapseFull():t.expandFull()})},t.prototype.getTargetWidth=function(){return this.isExpanded?this.options.panelCollapsedWidth:this.options.panelExpandedWidth},t.prototype.getTargetLeft=function(){return this.isExpanded?this.$element.parent().width()-this.options.panelCollapsedWidth:this.$element.parent().width()-this.options.panelExpandedWidth},t.prototype.toggleFinish=function(){e.prototype.toggleFinish.call(this),this.isExpanded?$.publish(i.OPEN_RIGHT_PANEL):$.publish(i.CLOSE_RIGHT_PANEL),this.extension.updateSettings({rightPanelOpen:this.isExpanded})},t.prototype.resize=function(){e.prototype.resize.call(this),this.$element.css({left:Math.floor(this.$element.parent().width()-this.$element.outerWidth())})},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-moreinforightpanel-module/MoreInfoRightPanel",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/RightPanel"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("moreInfoRightPanel"),e.prototype.create.call(this),$.subscribe(i.CANVAS_INDEX_CHANGED,function(e,i){t.databind()}),this.setTitle(this.config.content.title),this.$metadata=$(''),this.$main.append(this.$metadata),this.component=new IIIFComponents.MetadataComponent(this._getOptions())},t.prototype.toggleFinish=function(){e.prototype.toggleFinish.call(this),this.databind()},t.prototype.databind=function(){this.component.options=this._getOptions(),this.component.databind()},t.prototype._getOptions=function(){var e=this;return{canvasDisplayOrder:this.config.options.canvasDisplayOrder,canvases:this.extension.getCurrentCanvases(),canvasExclude:this.config.options.canvasExclude,canvasLabels:this.extension.getCanvasLabels(this.content.page),content:this.config.content,copiedMessageDuration:2e3,copyToClipboardEnabled:Utils.Bools.getBool(this.config.options.copyToClipboardEnabled,!1),element:".rightPanel .iiif-metadata-component",helper:this.extension.helper,licenseFormatter:null,limit:this.config.options.textLimit||4,limitType:IIIFComponents.MetadataComponentOptions.LimitType.LINES,manifestDisplayOrder:this.config.options.manifestDisplayOrder,manifestExclude:this.config.options.manifestExclude,range:this.extension.getCurrentCanvasRange(),rtlLanguageCodes:this.config.options.rtlLanguageCodes,sanitizer:function(t){return e.extension.sanitize(t)},showAllLanguages:this.config.options.showAllLanguages}},t.prototype.resize=function(){e.prototype.resize.call(this),this.$main.height(this.$element.height()-this.$top.height()-this.$main.verticalMargins())},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/LeftPanel",["require","exports","./BaseCommands","./BaseExpandPanel"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;e.prototype.create.call(this),this.$element.width(this.options.panelCollapsedWidth),$.subscribe(i.TOGGLE_EXPAND_LEFT_PANEL,function(){t.isFullyExpanded?t.collapseFull():t.expandFull()})},t.prototype.init=function(){e.prototype.init.call(this);var t=Utils.Bools.getBool(this.extension.getSettings().leftPanelOpen,this.options.panelOpen);t&&this.toggle(!0)},t.prototype.getTargetWidth=function(){return this.isFullyExpanded||!this.isExpanded?this.options.panelExpandedWidth:this.options.panelCollapsedWidth},t.prototype.getFullTargetWidth=function(){return this.$element.parent().width()},t.prototype.toggleFinish=function(){e.prototype.toggleFinish.call(this),this.isExpanded?$.publish(i.OPEN_LEFT_PANEL):$.publish(i.CLOSE_LEFT_PANEL),this.extension.updateSettings({leftPanelOpen:this.isExpanded})},t.prototype.resize=function(){e.prototype.resize.call(this),this.isFullyExpanded&&this.$element.width(this.$element.parent().width())},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-shared-module/ThumbsView",["require","exports","./BaseCommands","./BaseView"],function(e,t,i,n){var o=function(e){function t(t){e.call(this,t,!0,!0),this.isCreated=!1,this.isOpen=!1}return __extends(t,e),t.prototype.create=function(){var t=this;e.prototype.create.call(this),$.subscribe(i.CANVAS_INDEX_CHANGED,function(e,i){t.selectIndex(parseInt(i))}),$.subscribe(i.LOGIN,function(){t.loadThumbs()}),$.subscribe(i.CLICKTHROUGH,function(){t.loadThumbs()}),this.$thumbs=$('
    '),this.$element.append(this.$thumbs),this.$thumbs.addClass(this.extension.helper.getViewingDirection().toString());var n=this;$.templates({thumbsTemplate:'
    {{:#index + 1}} {{>label}}  {{>data.searchResults}}
    {{if ~separator()}}
    {{/if}}'});var o=this.options.thumbsExtraHeight;$.views.helpers({separator:function(){return!1},extraHeight:function(){return o},className:function(){var e="thumb";0===this.data.index&&(e+=" first"),this.data.uri||(e+=" placeholder");var t=n.extension.helper.getViewingDirection().toString();return e+=t===manifesto.ViewingDirection.topToBottom().toString()||t===manifesto.ViewingDirection.bottomToTop().toString()?" oneCol":" twoCol"},searchResultsTitle:function(){var e=Number(this.data.data.searchResults);return e?e>1?String.format(n.content.searchResults,e):String.format(n.content.searchResult,e):void 0}}),this.$element.on("scroll",function(){t.scrollStop()},100),this.resize()},t.prototype.databind=function(){this.thumbs&&(this._thumbsCache=null,this.createThumbs(),this.loadThumbs(0),this.selectIndex(this.extension.helper.canvasIndex))},t.prototype.createThumbs=function(){var e=this;if(this.thumbs){for(var t=[],n=0;n1&&(e=1);var t=Math.floor((this.thumbs.length-1)*e);this.loadThumbs(t)},t.prototype.loadThumbs=function(e){if(this.thumbs&&this.thumbs.length){_.isUndefined(e)&&(e=this.extension.helper.canvasIndex);for(var t=e,i=this.options.thumbsLoadRange,n={start:t>i?t-i:0,end:t');$(c).hide().load(function(){$(this).fadeIn(o,function(){$(this).parent().swapClass("loading","loaded")})}).error(function(){$(this).parent().swapClass("loading","loadingFailed")}),a.append(c)}else a.addClass("hidden")}}}},t.prototype.show=function(){var e=this;this.isOpen=!0,this.$element.show(),setTimeout(function(){e.selectIndex(e.extension.helper.canvasIndex)},1)},t.prototype.hide=function(){this.isOpen=!1,this.$element.hide()},t.prototype.isPDF=function(){return this.extension.helper.getElementType().toString().contains("pdf")},t.prototype.setLabel=function(){$(this.$thumbs).find("span.index").hide(),$(this.$thumbs).find("span.label").show()},t.prototype.addSelectedClassToThumbs=function(e){this.getThumbByIndex(e).addClass("selected")},t.prototype.selectIndex=function(e){if(-1!==e&&this.thumbs&&this.thumbs.length){this.getAllThumbs().removeClass("selected"),this.$selectedThumb=this.getThumbByIndex(e),this.addSelectedClassToThumbs(e);var t=this.extension.getPagedIndices(e);~t.indexOf(this.lastThumbClickedIndex)||this.$element.scrollTop(this.$selectedThumb.position().top),this.loadThumbs(e)}},t.prototype.getAllThumbs=function(){return this._thumbsCache||(this._thumbsCache=this.$thumbs.find(".thumb")),this._thumbsCache},t.prototype.getThumbByIndex=function(e){return this.$thumbs.find('[data-index="'+e+'"]')},t.prototype.scrollToThumb=function(e){var t=this.getThumbByIndex(e);this.$element.scrollTop(t.position().top)},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-resourcesleftpanel-module/ThumbsView",["require","exports","../uv-shared-module/ThumbsView"],function(e,t,i){var n=function(e){function t(){e.apply(this,arguments)}return __extends(t,e),t.prototype.create=function(){this.setConfig("resourcesLeftPanel"),e.prototype.create.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-resourcesleftpanel-module/ResourcesLeftPanel",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/LeftPanel","./ThumbsView"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("resourcesLeftPanel"),e.prototype.create.call(this),this.setTitle(this.content.title),this.$tabsContent=$('
    '),this.$main.append(this.$tabsContent),this.$views=$('
    '),this.$tabsContent.append(this.$views),this.$thumbsView=$('
    '),this.$views.append(this.$thumbsView),this.$resourcesView=$('
    '),this.$resources=$("
      "),this.$resourcesView.append(this.$resources),this.$views.append(this.$resourcesView),this.thumbsView=new o(this.$thumbsView),this.dataBind()},t.prototype.dataBind=function(){this.dataBindThumbsView();var e=this.extension.helper.getResources();0===e.length&&this.$resourcesView.hide();for(var t=0;t'+Manifesto.TranslationCollection.getValue(n.getLabel())+" ("+Utils.Files.simplifyMimeType(n.getFormat().toString())+")");this.$resources.append(o)}},t.prototype.dataBindThumbsView=function(){if(this.thumbsView){var e,t,i=this.extension.helper.getViewingDirection().toString();i===manifesto.ViewingDirection.topToBottom().toString()||i===manifesto.ViewingDirection.bottomToTop().toString()?(e=this.config.options.oneColThumbWidth,t=this.config.options.oneColThumbHeight):(e=this.config.options.twoColThumbWidth,t=this.config.options.twoColThumbHeight),"undefined"==typeof e&&(e=100),"undefined"==typeof t&&(t=100),this.thumbsView.thumbs=this.extension.helper.getThumbs(e,t),this.thumbsView.thumbs.length<2&&this.$thumbsView.hide(),this.thumbsView.databind()}},t.prototype.expandFullStart=function(){e.prototype.expandFullStart.call(this),$.publish(i.LEFTPANEL_EXPAND_FULL_START)},t.prototype.expandFullFinish=function(){e.prototype.expandFullFinish.call(this),$.publish(i.LEFTPANEL_EXPAND_FULL_FINISH)},t.prototype.collapseFullStart=function(){e.prototype.collapseFullStart.call(this),$.publish(i.LEFTPANEL_COLLAPSE_FULL_START)},t.prototype.collapseFullFinish=function(){e.prototype.collapseFullFinish.call(this),$.publish(i.LEFTPANEL_COLLAPSE_FULL_FINISH)},t.prototype.resize=function(){e.prototype.resize.call(this),this.$views.height(this.$main.height()),this.$resources.height(this.$main.height())},t}(n);return s});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-dialogues-module/SettingsDialogue",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/BaseCommands","../uv-shared-module/Dialogue"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("settingsDialogue"),e.prototype.create.call(this),this.openCommand=i.SHOW_SETTINGS_DIALOGUE,this.closeCommand=i.HIDE_SETTINGS_DIALOGUE,$.subscribe(this.openCommand,function(e,i){t.open()}),$.subscribe(this.closeCommand,function(e){t.close()}),this.$title=$("

      "),this.$content.append(this.$title),this.$scroll=$('
      '),this.$content.append(this.$scroll),this.$version=$('
      '),this.$content.append(this.$version),this.$website=$('
      '),this.$content.append(this.$website),this.$locale=$('
      '),this.$scroll.append(this.$locale),this.$localeLabel=$('"),this.$locale.append(this.$localeLabel),this.$localeDropDown=$(''),this.$locale.append(this.$localeDropDown),this.$title.text(this.content.title),this.$website.html(this.content.website),this.$website.targetBlank();for(var n=this.extension.getLocales(),o=0;o'+s.label+"")}this.$localeDropDown.val(this.extension.locale),this.$localeDropDown.change(function(){t.extension.changeLocale(t.$localeDropDown.val())}),this.extension.getLocales().length<2&&this.$locale.hide(),this.$element.hide()},t.prototype.getSettings=function(){return this.extension.getSettings()},t.prototype.updateSettings=function(e){this.extension.updateSettings(e),$.publish(n.UPDATE_SETTINGS,[e])},t.prototype.open=function(){var t=this;e.prototype.open.call(this),window.DEBUG||$.getJSON("package.json",function(e){t.$version.text("v"+e.version)})},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(o);return s});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-mediaelement-extension/SettingsDialogue",["require","exports","../../modules/uv-dialogues-module/SettingsDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("settingsDialogue"),e.prototype.create.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-mediaelement-extension/Extension",["require","exports","../../modules/uv-shared-module/BaseCommands","../../modules/uv-shared-module/BaseExtension","../../modules/uv-shared-module/Bookmark","./Commands","./DownloadDialogue","./ShareDialogue","../../modules/uv-shared-module/FooterPanel","../../modules/uv-shared-module/HeaderPanel","../../modules/uv-dialogues-module/HelpDialogue","../../modules/uv-mediaelementcenterpanel-module/MediaElementCenterPanel","../../modules/uv-moreinforightpanel-module/MoreInfoRightPanel","../../modules/uv-resourcesleftpanel-module/ResourcesLeftPanel","./SettingsDialogue","../../modules/uv-shared-module/Shell"],function(e,t,i,n,o,s,r,a,l,h,c,u,p,d,g,f){var m=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(t){var n=this;e.prototype.create.call(this,t),$(window).bind("enterfullscreen",function(){$.publish(i.TOGGLE_FULLSCREEN)}),$(window).bind("exitfullscreen",function(){$.publish(i.TOGGLE_FULLSCREEN)}),$.subscribe(i.THUMB_SELECTED,function(e,t){n.viewCanvas(t)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_START,function(e){f.$centerPanel.hide(),f.$rightPanel.hide()}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_FINISH,function(e){f.$centerPanel.show(),f.$rightPanel.show(),n.resize()}),$.subscribe(s.MEDIA_ENDED,function(e){n.triggerSocket(s.MEDIA_ENDED)}),$.subscribe(s.MEDIA_PAUSED,function(e){n.triggerSocket(s.MEDIA_PAUSED)}),$.subscribe(s.MEDIA_PLAYED,function(e){n.triggerSocket(s.MEDIA_PLAYED)})},t.prototype.createModules=function(){e.prototype.createModules.call(this),this.isHeaderPanelEnabled()?this.headerPanel=new h(f.$headerPanel):f.$headerPanel.hide(),this.isLeftPanelEnabled()&&(this.leftPanel=new d(f.$leftPanel)),this.centerPanel=new u(f.$centerPanel),this.isRightPanelEnabled()&&(this.rightPanel=new p(f.$rightPanel)),this.isFooterPanelEnabled()?this.footerPanel=new l(f.$footerPanel):f.$footerPanel.hide(),this.$helpDialogue=$('
      '),f.$overlays.append(this.$helpDialogue),this.helpDialogue=new c(this.$helpDialogue),this.$downloadDialogue=$('
      '),f.$overlays.append(this.$downloadDialogue),this.downloadDialogue=new r(this.$downloadDialogue),this.$shareDialogue=$(''),f.$overlays.append(this.$shareDialogue),this.shareDialogue=new a(this.$shareDialogue),this.$settingsDialogue=$('
      '),f.$overlays.append(this.$settingsDialogue),this.settingsDialogue=new g(this.$settingsDialogue),this.isLeftPanelEnabled()&&this.leftPanel.init(),this.isRightPanelEnabled()&&this.rightPanel.init()},t.prototype.isLeftPanelEnabled=function(){return Utils.Bools.getBool(this.config.options.leftPanelEnabled,!0)&&(this.helper.isMultiCanvas()||this.helper.isMultiSequence()||this.helper.hasResources())},t.prototype.bookmark=function(){e.prototype.bookmark.call(this);var t=this.extensions.helper.getCurrentCanvas(),n=new o;n.index=this.helper.canvasIndex,n.label=Manifesto.TranslationCollection.getValue(t.getLabel()),n.path=this.getBookmarkUri(),n.thumb=t.getProperty("thumbnail"),n.title=this.helper.getLabel(),n.trackingLabel=window.trackingLabel,this.isVideo()?n.type=manifesto.ElementType.movingimage().toString():n.type=manifesto.ElementType.sound().toString(),this.triggerSocket(i.BOOKMARK,n)},t.prototype.getEmbedScript=function(e,t,i){var n=this.config.uri||"",o=String.format(e,this.getSerializedLocales(),n,this.helper.iiifResourceUri,this.helper.collectionIndex,this.helper.manifestIndex,this.helper.sequenceIndex,this.helper.canvasIndex,t,i,this.embedScriptUri);return o},t.prototype.getPosterImageUri=function(){return this.helper.getCurrentCanvas().getProperty("thumbnail")},t.prototype.isVideo=function(){var e=this.helper.getElementType();return e.toString()===manifesto.ElementType.movingimage().toString()},t}(n);return m});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-pdf-extension/DownloadDialogue",["require","exports","../../modules/uv-dialogues-module/DownloadDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("downloadDialogue"),e.prototype.create.call(this)},t.prototype.open=function(t){e.prototype.open.call(this,t),this.addEntireFileDownloadOptions(),this.$downloadOptions.find("li:visible").length?this.$noneAvailable.hide():this.$noneAvailable.show(),this.resize()},t.prototype.isDownloadOptionAvailable=function(t){return e.prototype.isDownloadOptionAvailable.call(this,t)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-pdf-extension/ShareDialogue",["require","exports","../../modules/uv-dialogues-module/ShareDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("shareDialogue"),e.prototype.create.call(this)},t.prototype.update=function(){e.prototype.update.call(this),this.code=this.extension.getEmbedScript(this.options.embedTemplate,this.currentWidth,this.currentHeight),this.$code.val(this.code)},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-pdfcenterpanel-module/PDFCenterPanel",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/CenterPanel","../../Params"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("pdfCenterPanel"),e.prototype.create.call(this),$.subscribe(i.OPEN_EXTERNAL_RESOURCE,function(e,i){t.openMedia(i)})},t.prototype.openMedia=function(e){var t=this,i=this;this.extension.getExternalResources(e).then(function(){var e=t.extension.helper.getCurrentCanvas(),n=e.id,s=window.browserDetect.browser,r=window.browserDetect.version;if("Explorer"===s&&10>r||!t.config.options.usePdfJs)new PDFObject({url:n,id:"PDF"}).embed("content");else{var a;a=window.DEBUG?"modules/uv-pdfcenterpanel-module/html/viewer.html":"html/uv-pdfcenterpanel-module/viewer.html",t.$content.load(a,function(){window.DEBUG?PDFJS.workerSrc="extensions/uv-pdf-extension/lib/pdf.worker.min.js":PDFJS.workerSrc="lib/pdf.worker.min.js",PDFJS.DEFAULT_URL=n;var e=1+parseInt(i.extension.getParam(o.anchor))||0;PDFView.initialBookmark="page="+e,window.webViewerLoad(),t.resize()})}})},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(n);return s});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-pdf-extension/SettingsDialogue",["require","exports","../../modules/uv-dialogues-module/SettingsDialogue"],function(e,t,i){var n=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){this.setConfig("settingsDialogue"),e.prototype.create.call(this)},t}(i);return n});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-pdf-extension/Extension",["require","exports","../../modules/uv-shared-module/BaseCommands","../../modules/uv-shared-module/BaseExtension","../../modules/uv-shared-module/Bookmark","./DownloadDialogue","./ShareDialogue","../../modules/uv-shared-module/FooterPanel","../../modules/uv-shared-module/HeaderPanel","../../modules/uv-moreinforightpanel-module/MoreInfoRightPanel","../../modules/uv-pdfcenterpanel-module/PDFCenterPanel","../../modules/uv-resourcesleftpanel-module/ResourcesLeftPanel","./SettingsDialogue","../../modules/uv-shared-module/Shell"],function(e,t,i,n,o,s,r,a,l,h,c,u,p,d){ var g=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(t){var n=this;e.prototype.create.call(this),$.subscribe(i.THUMB_SELECTED,function(e,t){n.viewCanvas(t.index)}),$.subscribe(i.LEFTPANEL_EXPAND_FULL_START,function(e){d.$centerPanel.hide(),d.$rightPanel.hide()}),$.subscribe(i.LEFTPANEL_COLLAPSE_FULL_FINISH,function(e){d.$centerPanel.show(),d.$rightPanel.show(),n.resize()}),$.subscribe(i.SHOW_OVERLAY,function(e,t){n.IsOldIE()&&n.centerPanel.$element.hide()}),$.subscribe(i.HIDE_OVERLAY,function(e,t){n.IsOldIE()&&n.centerPanel.$element.show()})},t.prototype.IsOldIE=function(){var e=window.browserDetect.browser,t=window.browserDetect.version;return"Explorer"===e&&9>=t?!0:!1},t.prototype.createModules=function(){e.prototype.createModules.call(this),this.isHeaderPanelEnabled()?this.headerPanel=new l(d.$headerPanel):d.$headerPanel.hide(),this.isLeftPanelEnabled()&&(this.leftPanel=new u(d.$leftPanel)),this.centerPanel=new c(d.$centerPanel),this.isRightPanelEnabled()&&(this.rightPanel=new h(d.$rightPanel)),this.isFooterPanelEnabled()?this.footerPanel=new a(d.$footerPanel):d.$footerPanel.hide(),this.$downloadDialogue=$('
      '),d.$overlays.append(this.$downloadDialogue),this.downloadDialogue=new s(this.$downloadDialogue),this.$shareDialogue=$(''),d.$overlays.append(this.$shareDialogue),this.shareDialogue=new r(this.$shareDialogue),this.$settingsDialogue=$('
      '),d.$overlays.append(this.$settingsDialogue),this.settingsDialogue=new p(this.$settingsDialogue),this.isLeftPanelEnabled()&&this.leftPanel.init(),this.isRightPanelEnabled()&&this.rightPanel.init()},t.prototype.bookmark=function(){e.prototype.bookmark.call(this);var t=this.helper.getCurrentCanvas(),n=new o;n.index=this.helper.canvasIndex,n.label=Manifesto.TranslationCollection.getValue(t.getLabel()),n.path=this.getBookmarkUri(),n.thumb=t.getProperty("thumbnail"),n.title=this.helper.getLabel(),n.trackingLabel=window.trackingLabel,n.type=manifesto.ElementType.document().toString(),this.triggerSocket(i.BOOKMARK,n)},t.prototype.getEmbedScript=function(e,t,i){var n=this.config.uri||"",o=String.format(e,this.getSerializedLocales(),n,this.helper.iiifResourceUri,this.helper.collectionIndex,this.helper.manifestIndex,this.helper.sequenceIndex,this.helper.canvasIndex,t,i,this.embedScriptUri);return o},t}(n);return g}),define("extensions/uv-seadragon-extension/Commands",["require","exports"],function(e,t){var i=function(){function e(){}return e.namespace="seadragonExtension.",e.CLEAR_SEARCH=e.namespace+"onClearSearch",e.CURRENT_VIEW_URI=e.namespace+"onCurrentViewUri",e.FIRST=e.namespace+"onFirst",e.GALLERY_DECREASE_SIZE=e.namespace+"onGalleryDecreaseSize",e.GALLERY_INCREASE_SIZE=e.namespace+"onGalleryIncreaseSize",e.GALLERY_THUMB_SELECTED=e.namespace+"onGalleryThumbSelected",e.HIDE_MULTISELECT_DIALOGUE=e.namespace+"onHideMultiSelectDialogue",e.IMAGE_SEARCH=e.namespace+"onImageSearch",e.LAST=e.namespace+"onLast",e.MODE_CHANGED=e.namespace+"onModeChanged",e.MULTISELECT_CHANGE=e.namespace+"onMultiSelectChange",e.MULTISELECTION_MADE=e.namespace+"onMultiSelectionMade",e.NEXT_SEARCH_RESULT=e.namespace+"onNextSearchResult",e.NEXT=e.namespace+"onNext",e.NEXT_IMAGES_SEARCH_RESULT_UNAVAILABLE=e.namespace+"onNextImagesSearchResultUnavailable",e.PREV_IMAGES_SEARCH_RESULT_UNAVAILABLE=e.namespace+"onPrevImagesSearchResultUnavailable",e.OPEN_THUMBS_VIEW=e.namespace+"onOpenThumbsView",e.OPEN_TREE_VIEW=e.namespace+"onOpenTreeView",e.PAGE_SEARCH=e.namespace+"onPageSearch",e.PAGING_TOGGLED=e.namespace+"onPagingToggled",e.PREV_SEARCH_RESULT=e.namespace+"onPrevSearchResult",e.PREV=e.namespace+"onPrev",e.PRINT=e.namespace+"onPrint",e.ROTATE=e.namespace+"onRotate",e.SEADRAGON_ANIMATION_FINISH=e.namespace+"onAnimationfinish",e.SEADRAGON_ANIMATION_START=e.namespace+"onAnimationStart",e.SEADRAGON_ANIMATION=e.namespace+"onAnimation",e.SEADRAGON_OPEN=e.namespace+"onOpen",e.SEADRAGON_RESIZE=e.namespace+"onResize",e.SEADRAGON_ROTATION=e.namespace+"onRotation",e.SEARCH_PREVIEW_FINISH=e.namespace+"onSearchPreviewFinish",e.SEARCH_PREVIEW_START=e.namespace+"onSearchPreviewStart",e.SEARCH_RESULT_CANVAS_CHANGED=e.namespace+"onSearchResultCanvasChanged",e.SEARCH_RESULT_RECT_CHANGED=e.namespace+"onSearchResultRectChanged",e.SEARCH_RESULTS_EMPTY=e.namespace+"onSearchResultsEmpty",e.SEARCH_RESULTS=e.namespace+"onSearchResults",e.SEARCH_RESULTS_CLEARED=e.namespace+"onSearchResultsCleared",e.SEARCH=e.namespace+"onSearch",e.SHOW_MULTISELECT_DIALOGUE=e.namespace+"onShowMultiSelectDialogue",e.THUMB_MULTISELECTED=e.namespace+"onThumbMultiSelected",e.TREE_NODE_MULTISELECTED=e.namespace+"onTreeNodeMultiSelected",e.TREE_NODE_SELECTED=e.namespace+"onTreeNodeSelected",e.VIEW_PAGE=e.namespace+"onViewPage",e.ZOOM_IN=e.namespace+"onZoomIn",e.ZOOM_OUT=e.namespace+"onZoomOut",e}();return i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-contentleftpanel-module/GalleryView",["require","exports","../uv-shared-module/BaseCommands","../uv-shared-module/BaseView","../../extensions/uv-seadragon-extension/Commands"],function(e,t,i,n,o){var s=function(e){function t(t){e.call(this,t,!0,!0),this.isOpen=!1}return __extends(t,e),t.prototype.create=function(){this.setConfig("contentLeftPanel"),e.prototype.create.call(this),this.$gallery=$(''),this.$element.append(this.$gallery)},t.prototype.setup=function(){this.component=new IIIFComponents.GalleryComponent(this.galleryOptions),this.component.on("thumbSelected",function(e){var t=e[0];$.publish(o.GALLERY_THUMB_SELECTED,[t]),$.publish(i.THUMB_SELECTED,[t])}),this.component.on("decreaseSize",function(){$.publish(o.GALLERY_DECREASE_SIZE)}),this.component.on("increaseSize",function(){$.publish(o.GALLERY_INCREASE_SIZE)})},t.prototype.databind=function(){this.component.options=this.galleryOptions,this.component.databind(),this.resize()},t.prototype.show=function(){var e=this;this.isOpen=!0,this.$element.show(),setTimeout(function(){e.component.selectIndex(e.extension.helper.canvasIndex)},10)},t.prototype.hide=function(){this.isOpen=!1,this.$element.hide()},t.prototype.resize=function(){e.prototype.resize.call(this);var t=$(this.galleryOptions.element),i=t.find(".main"),n=t.find(".header");i.height(this.$element.height()-n.height())},t}(n);return s}),define("extensions/uv-seadragon-extension/Mode",["require","exports"],function(e,t){var i=function(){function e(e){this.value=e}return e.prototype.toString=function(){return this.value},e.image=new e("image"),e.page=new e("page"),e}();return i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-contentleftpanel-module/ThumbsView",["require","exports","../uv-shared-module/ThumbsView","../../extensions/uv-seadragon-extension/Commands","../../extensions/uv-seadragon-extension/Mode"],function(e,t,i,n,o){var s=function(e){function t(){e.apply(this,arguments)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("contentLeftPanel"),e.prototype.create.call(this),$.subscribe(n.MODE_CHANGED,function(e,i){t.setLabel()}),$.subscribe(n.SEARCH_PREVIEW_START,function(e,i){t.searchPreviewStart(i)}),$.subscribe(n.SEARCH_PREVIEW_FINISH,function(){t.searchPreviewFinish()}),this.extension.helper.isPaged()&&this.$thumbs.addClass("paged");var i=this;$.views.helpers({separator:function(){return i.extension.helper.isVerticallyAligned()?!0:i.extension.helper.isPaged()?(this.data.index-1)%2==0?!1:!0:!1}})},t.prototype.addSelectedClassToThumbs=function(e){if(this.extension.isPagingSettingEnabled())for(var t=this.extension.getPagedIndices(e),i=0;i'),this.$element.append(this.$tree)},t.prototype.setup=function(){this.component=new IIIFComponents.TreeComponent(this.treeOptions),this.component.on("treeNodeSelected",function(e){var t=e[0];$.publish(n.TREE_NODE_SELECTED,[t])}),this.component.on("treeNodeMultiSelected",function(e){var t=e[0];$.publish(n.TREE_NODE_MULTISELECTED,[t])})},t.prototype.databind=function(){this.component.options=this.treeOptions,this.component.databind(),this.resize()},t.prototype.show=function(){this.isOpen=!0,this.$element.show()},t.prototype.hide=function(){this.isOpen=!1,this.$element.hide()},t.prototype.selectNode=function(e){this.component.selectNode(e)},t.prototype.deselectCurrentNode=function(){this.component.deselectCurrentNode()},t.prototype.getNodeById=function(e){return this.component.getNodeById(e)},t.prototype.resize=function(){e.prototype.resize.call(this)},t}(i);return o});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("modules/uv-contentleftpanel-module/ContentLeftPanel",["require","exports","../uv-shared-module/BaseCommands","../../extensions/uv-seadragon-extension/Commands","./GalleryView","../uv-shared-module/LeftPanel","../uv-shared-module/MetricType","../../extensions/uv-seadragon-extension/Mode","./ThumbsView","./TreeView"],function(e,t,i,n,o,s,r,a,l,h){var c=function(e){function t(t){e.call(this,t),this.expandFullEnabled=!1,this.isThumbsViewOpen=!1,this.isTreeViewOpen=!1,this.treeSortType=Manifold.TreeSortType.NONE}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("contentLeftPanel"),e.prototype.create.call(this);$.subscribe(i.SETTINGS_CHANGED,function(){t.databind()}),$.subscribe(n.GALLERY_THUMB_SELECTED,function(){t.collapseFull()}),$.subscribe(i.METRIC_CHANGED,function(){t.extension.metric.toString()===r.MetricType.MOBILELANDSCAPE.toString()&&t.isFullyExpanded&&t.collapseFull()}),$.subscribe(n.SEARCH_RESULTS,function(){t.databindThumbsView(),t.databindGalleryView()}),$.subscribe(n.SEARCH_RESULTS_CLEARED,function(){t.databindThumbsView(),t.databindGalleryView()}),$.subscribe(n.SEARCH_RESULTS_EMPTY,function(){t.databindThumbsView(),t.databindGalleryView()}),$.subscribe(i.CANVAS_INDEX_CHANGED,function(e,i){t.isFullyExpanded&&t.collapseFull(),t.selectCurrentTreeNode(),t.updateTreeTabBySelection()}),this.$tabs=$('
      '),this.$main.append(this.$tabs),this.$treeButton=$('
      '+this.content.index+""),this.$tabs.append(this.$treeButton),this.$thumbsButton=$(''+this.content.thumbnails+""),this.$thumbsButton.prop("title",this.content.thumbnails),this.$tabs.append(this.$thumbsButton),this.$tabsContent=$('
      '),this.$main.append(this.$tabsContent),this.$options=$('
      '),this.$tabsContent.append(this.$options),this.$topOptions=$('
      '),this.$options.append(this.$topOptions),this.$treeSelect=$(""),this.$topOptions.append(this.$treeSelect),this.$bottomOptions=$('
      '),this.$options.append(this.$bottomOptions),this.$leftOptions=$('
      '),this.$bottomOptions.append(this.$leftOptions),this.$rightOptions=$('
      '),this.$bottomOptions.append(this.$rightOptions),this.$treeViewOptions=$('
      '),this.$leftOptions.append(this.$treeViewOptions),this.$sortByLabel=$(''+this.content.sortBy+""),this.$treeViewOptions.append(this.$sortByLabel),this.$sortButtonGroup=$('
      '),this.$treeViewOptions.append(this.$sortButtonGroup),this.$sortByDateButton=$('"),this.$sortButtonGroup.append(this.$sortByDateButton),this.$sortByVolumeButton=$('"),this.$sortButtonGroup.append(this.$sortByVolumeButton),this.$views=$('
      '),this.$tabsContent.append(this.$views),this.$treeView=$('
      '),this.$views.append(this.$treeView),this.$thumbsView=$('
      '),this.$views.append(this.$thumbsView),this.$galleryView=$('
      '),this.$views.append(this.$galleryView),this.$treeSelect.hide(),this.$treeSelect.change(function(){t.databindTreeView(),t.selectCurrentTreeNode(),t.updateTreeTabBySelection()}),this.$sortByDateButton.on("click",function(){t.sortByDate()}),this.$sortByVolumeButton.on("click",function(){t.sortByVolume()}),this.$treeViewOptions.hide(),this.$treeButton.onPressed(function(){t.openTreeView(),$.publish(n.OPEN_TREE_VIEW)}),this.$thumbsButton.onPressed(function(){t.openThumbsView(),$.publish(n.OPEN_THUMBS_VIEW)}),this.setTitle(this.content.title),this.$sortByVolumeButton.addClass("on");var o=this.options.tabOrder;if(o){o=o.toLowerCase(),o=o.replace(/ /g,"");var s=o.split(",");"thumbs"===s[0]?(this.$treeButton.before(this.$thumbsButton),this.$thumbsButton.addClass("first")):this.$treeButton.addClass("first")}},t.prototype.createTreeView=function(){this.treeView=new h(this.$treeView),this.treeView.treeOptions=this.getTreeOptions(),this.treeView.setup(),this.databindTreeView();var e=this.extension.helper.getTopRanges();if(e.length>1)for(var t=0;t'+Manifesto.TranslationCollection.getValue(i.getLabel())+"")}this.updateTreeViewOptions()},t.prototype.databind=function(){this.databindThumbsView(),this.databindTreeView(),this.databindGalleryView()},t.prototype.updateTreeViewOptions=function(){var e=this.getTreeData();this.isCollection()&&this.extension.helper.treeHasNavDates(e)?this.$treeViewOptions.show():this.$treeViewOptions.hide(),this.$treeSelect.find("option").length?this.$treeSelect.show():this.$treeSelect.hide()},t.prototype.sortByDate=function(){this.treeSortType=Manifold.TreeSortType.DATE,this.treeView.treeOptions=this.getTreeOptions(),this.treeView.databind(),this.selectCurrentTreeNode(),this.$sortByDateButton.addClass("on"),this.$sortByVolumeButton.removeClass("on"),this.resize()},t.prototype.sortByVolume=function(){this.treeSortType=Manifold.TreeSortType.NONE,this.treeView.treeOptions=this.getTreeOptions(),this.treeView.databind(),this.selectCurrentTreeNode(),this.$sortByDateButton.removeClass("on"),this.$sortByVolumeButton.addClass("on"),this.resize()},t.prototype.isCollection=function(){var e=this.getTreeData();return e.data.type===manifesto.TreeNodeType.collection().toString()},t.prototype.databindTreeView=function(){this.treeView&&(this.treeView.treeOptions=this.getTreeOptions(),this.treeView.databind(),this.selectCurrentTreeNode())},t.prototype.getTreeOptions=function(){return{branchNodesSelectable:!1,element:".views .treeView .iiif-tree-component",helper:this.extension.helper,topRangeIndex:this.getSelectedTopRangeIndex(),treeSortType:this.treeSortType}},t.prototype.updateTreeTabByCanvasIndex=function(){var e=this.extension.helper.getTopRanges();if(e.length>1){var t=this.getCurrentCanvasTopRangeIndex(),i=e[t];this.setTreeTabTitle(Manifesto.TranslationCollection.getValue(i.getLabel()))}else this.setTreeTabTitle(this.content.index)},t.prototype.setTreeTabTitle=function(e){this.$treeButton.text(e),this.$treeButton.prop("title",e)},t.prototype.updateTreeTabBySelection=function(){var e,t=this.extension.helper.getTopRanges();t.length>1&&(e=this.treeView?this.getSelectedTree().text():Manifesto.TranslationCollection.getValue(t[0].getLabel())),e?this.setTreeTabTitle(e):this.setTreeTabTitle(this.content.index)},t.prototype.getViewingDirection=function(){return this.extension.helper.getViewingDirection()},t.prototype.createThumbsView=function(){this.thumbsView=new l(this.$thumbsView),this.databindThumbsView()},t.prototype.databindThumbsView=function(){if(this.thumbsView){var e,t,i=this.getViewingDirection().toString();i===manifesto.ViewingDirection.topToBottom().toString()||i===manifesto.ViewingDirection.bottomToTop().toString()?(e=this.config.options.oneColThumbWidth,t=this.config.options.oneColThumbHeight):(e=this.config.options.twoColThumbWidth,t=this.config.options.twoColThumbHeight);var n=this.extension.helper.getThumbs(e,t);i===manifesto.ViewingDirection.bottomToTop().toString()&&n.reverse();var o=this.extension.searchResults;if(o&&o.length)for(var s=0;st?!1:!0},t.prototype.expandFullStart=function(){e.prototype.expandFullStart.call(this),$.publish(i.LEFTPANEL_EXPAND_FULL_START)},t.prototype.expandFullFinish=function(){e.prototype.expandFullFinish.call(this),this.$treeButton.hasClass("on")?this.openTreeView():this.$thumbsButton.hasClass("on")&&this.openThumbsView(),$.publish(i.LEFTPANEL_EXPAND_FULL_FINISH)},t.prototype.collapseFullStart=function(){e.prototype.collapseFullStart.call(this),$.publish(i.LEFTPANEL_COLLAPSE_FULL_START)},t.prototype.collapseFullFinish=function(){e.prototype.collapseFullFinish.call(this),this.$thumbsButton.hasClass("on")&&this.openThumbsView(),$.publish(i.LEFTPANEL_COLLAPSE_FULL_FINISH)},t.prototype.openTreeView=function(){this.isTreeViewOpen=!0,this.isThumbsViewOpen=!1,this.treeView||this.createTreeView(),this.$treeButton.addClass("on"),this.$thumbsButton.removeClass("on"),this.treeView.show(),this.thumbsView&&this.thumbsView.hide(),this.galleryView&&this.galleryView.hide(),this.updateTreeViewOptions(),this.selectCurrentTreeNode(),this.resize(),this.treeView.resize()},t.prototype.openThumbsView=function(){this.isTreeViewOpen=!1,this.isThumbsViewOpen=!0,this.thumbsView||this.createThumbsView(),this.isFullyExpanded&&!this.galleryView&&this.createGalleryView(),this.$treeButton.removeClass("on"),this.$thumbsButton.addClass("on"),this.treeView&&this.treeView.hide(),this.$treeSelect.hide(),this.$treeViewOptions.hide(),this.resize(),this.isFullyExpanded?(this.thumbsView.hide(),this.galleryView&&this.galleryView.show(),this.galleryView&&this.galleryView.resize()):(this.galleryView&&this.galleryView.hide(),this.thumbsView.show(),this.thumbsView.resize())},t.prototype.selectTopRangeIndex=function(e){this.$treeSelect.prop("selectedIndex",e)},t.prototype.getCurrentCanvasTopRangeIndex=function(){var e=-1,t=this.extension.getCurrentCanvasRange();return t&&(e=Number(t.path.split("/")[0])),e},t.prototype.selectCurrentTreeNode=function(){if(this.treeView){var e,t=this.getCurrentCanvasTopRangeIndex(),i=this.getSelectedTopRangeIndex(),n=t===i;if(-1!=t){var o=this.extension.getCurrentCanvasRange();o&&o.treeNode&&(e=this.treeView.getNodeById(o.treeNode.id))}e&&n?this.treeView.selectNode(e):this.treeView.deselectCurrentNode()}},t.prototype.resize=function(){e.prototype.resize.call(this),this.$tabsContent.height(this.$main.height()-(this.$tabs.is(":visible")?this.$tabs.height():0)-this.$tabsContent.verticalPadding()),this.$views.height(this.$tabsContent.height()-this.$options.outerHeight())},t}(s);return c}),define("modules/uv-shared-module/Point",["require","exports"],function(e,t){var i=function(){function e(e,t){this.x=e,this.y=t}return e}();return i}),define("extensions/uv-seadragon-extension/CroppedImageDimensions",["require","exports","../../modules/uv-shared-module/Point"],function(e,t,i){var n=Utils.Measurements.Size,o=function(){function e(){this.region=new n(0,0),this.regionPos=new i(0,0),this.size=new n(0,0)}return e}();return o}),define("extensions/uv-seadragon-extension/DownloadType",["require","exports"],function(e,t){var i=function(){function e(){}return e.CURRENTVIEW="currentView",e.ENTIREDOCUMENTASPDF="entireDocumentAsPdf",e.ENTIREDOCUMENTASTEXT="entireDocumentAsText",e.WHOLEIMAGEHIGHRES="wholeImageHighRes",e.WHOLEIMAGESHIGHRES="wholeImageHighRes",e.WHOLEIMAGELOWRES="wholeImageLowRes",e.UNKNOWN="unknown",e}();return i});var __extends=this&&this.__extends||function(e,t){function i(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)};define("extensions/uv-seadragon-extension/DownloadDialogue",["require","exports","../../modules/uv-shared-module/BaseCommands","../../modules/uv-dialogues-module/DownloadDialogue","./Commands","../../modules/uv-shared-module/DownloadOption","./DownloadType"],function(e,t,i,n,o,s,r){var a=Utils.Measurements.Size,l=function(e){function t(t){e.call(this,t)}return __extends(t,e),t.prototype.create=function(){var t=this;this.setConfig("downloadDialogue"),e.prototype.create.call(this),this.$imageOptionsContainer=$('
    • '),this.$downloadOptions.append(this.$imageOptionsContainer),this.$imageOptions=$("
        "),this.$imageOptionsContainer.append(this.$imageOptions),this.$currentViewAsJpgButton=$('
      • '),this.$imageOptions.append(this.$currentViewAsJpgButton),this.$currentViewAsJpgButton.hide(),this.$wholeImageHighResButton=$('
      • '),this.$imageOptions.append(this.$wholeImageHighResButton),this.$wholeImageHighResButton.hide(),this.$wholeImagesHighResButton=$('
      • '),this.$imageOptions.append(this.$wholeImagesHighResButton),this.$wholeImageHighResButton.hide(),this.$wholeImageLowResAsJpgButton=$('
      • "),this.$imageOptions.append(this.$wholeImageLowResAsJpgButton),this.$wholeImageLowResAsJpgButton.hide(),this.$canvasOptionsContainer=$('
      • '),this.$downloadOptions.append(this.$canvasOptionsContainer),this.$canvasOptions=$("
          "),this.$canvasOptionsContainer.append(this.$canvasOptions),this.$sequenceOptionsContainer=$('
        • '),this.$downloadOptions.append(this.$sequenceOptionsContainer),this.$sequenceOptions=$("
            "),this.$sequenceOptionsContainer.append(this.$sequenceOptions),this.$selectionButton=$('
          • '),this.$sequenceOptions.append(this.$selectionButton),this.$selectionButton.hide(),this.$buttonsContainer=$('
            '),this.$content.append(this.$buttonsContainer),this.$downloadButton=$(''+this.content.download+""),this.$buttonsContainer.append(this.$downloadButton),this.$explanatoryTextTemplate=$('');var n=this;this.$downloadButton.on("click",function(e){e.preventDefault();var a=n.getSelectedOption(),l=a.attr("id"),h=a.attr("title"),c=a.data("mime"),u=r.UNKNOWN,p=t.extension.helper.getCurrentCanvas();if(t.renderingUrls[l])c&&(-1!==c.toLowerCase().indexOf("pdf")?u=r.ENTIREDOCUMENTASPDF:-1!==c.toLowerCase().indexOf("txt")&&(u=r.ENTIREDOCUMENTASTEXT)),(u=r.ENTIREDOCUMENTASPDF)&&window.open(t.renderingUrls[l]);else switch(l){case s.currentViewAsJpg.toString():var d=n.extension.getViewer();window.open(n.extension.getCroppedImageUri(p,d)),u=r.CURRENTVIEW;break;case s.selection.toString():Utils.Async.waitFor(function(){return!t.isActive},function(){$.publish(o.SHOW_MULTISELECT_DIALOGUE)});break;case s.wholeImageHighRes.toString():window.open(t.getCanvasHighResImageUri(t.extension.helper.getCurrentCanvas())),u=r.WHOLEIMAGEHIGHRES;break;case s.wholeImagesHighRes.toString():for(var g=t.extension.getPagedIndices(),f=0;flen&&(start=len),end<0?(end+=len,end<0&&(end=0)):end>len&&(end=len),end0&&(mul*=256);)val+=this[offset+--byteLength]*mul;return val},Buffer.prototype.readUInt8=function(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),this[offset]},Buffer.prototype.readUInt16LE=function(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8},Buffer.prototype.readUInt16BE=function(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]},Buffer.prototype.readUInt32LE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]},Buffer.prototype.readUInt32BE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])},Buffer.prototype.readIntLE=function(offset,byteLength,noAssert){offset=0|offset,byteLength=0|byteLength,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset],mul=1,i=0;++i=mul&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readIntBE=function(offset,byteLength,noAssert){offset=0|offset,byteLength=0|byteLength,noAssert||checkOffset(offset,byteLength,this.length);for(var i=byteLength,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return mul*=128,val>=mul&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readInt8=function(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),128&this[offset]?(255-this[offset]+1)*-1:this[offset]},Buffer.prototype.readInt16LE=function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt16BE=function(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt32LE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24},Buffer.prototype.readInt32BE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]},Buffer.prototype.readFloatLE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)},Buffer.prototype.readFloatBE=function(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)},Buffer.prototype.readDoubleLE=function(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)},Buffer.prototype.readDoubleBE=function(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)},Buffer.prototype.writeUIntLE=function(value,offset,byteLength,noAssert){if(value=+value,offset=0|offset,byteLength=0|byteLength,!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1,i=0;for(this[offset]=255&value;++i=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUInt8=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),this[offset]=255&value,offset+1},Buffer.prototype.writeUInt16LE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeUInt16BE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeUInt32LE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=255&value):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeUInt32BE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeIntLE=function(value,offset,byteLength,noAssert){if(value=+value,offset=0|offset,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=255&value;++i>0)-sub&255;return offset+byteLength},Buffer.prototype.writeIntBE=function(value,offset,byteLength,noAssert){if(value=+value,offset=0|offset,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1,mul=1,sub=0;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeInt8=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),value<0&&(value=255+value+1),this[offset]=255&value,offset+1},Buffer.prototype.writeInt16LE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeInt16BE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeInt32LE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeInt32BE=function(value,offset,noAssert){return value=+value,offset=0|offset,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeFloatLE=function(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)},Buffer.prototype.writeFloatBE=function(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)},Buffer.prototype.writeDoubleLE=function(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)},Buffer.prototype.writeDoubleBE=function(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)},Buffer.prototype.copy=function(target,targetStart,start,end){if(start||(start=0),end||0===end||(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart=0;--i)target[i+targetStart]=this[i+start];else if(len<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,end=void 0===end?this.length:end>>>0,val||(val=0);var i;if("number"==typeof val)for(i=start;i0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeof console.trace&&console.trace())),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i-- >0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(position<0)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else if(listeners)for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.prototype.listenerCount=function(type){if(this._events){var evlistener=this._events[type];if(isFunction(evlistener))return 1;if(evlistener)return evlistener.length}return 0},EventEmitter.listenerCount=function(emitter,type){return emitter.listenerCount(type)}},{}],9:[function(require,module,exports){var http=require("http"),https=module.exports;for(var key in http)http.hasOwnProperty(key)&&(https[key]=http[key]);https.request=function(params,cb){return params||(params={}),params.scheme="https",params.protocol="https:",http.request.call(this,params,cb)}},{http:49}],10:[function(require,module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=8*nBytes-mLen-1,eMax=(1<>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=256*e+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=256*m+buffer[offset+i],i+=d,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m+=Math.pow(2,mLen),e-=eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=8*nBytes-mLen-1,eMax=(1<>1,rt=23===mLen?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||0===value&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),value+=e+eBias>=1?rt/c:rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e+=eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=255&m,i+=d,m/=256,mLen-=8);for(e=e<0;buffer[offset+i]=255&e,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=128*s}},{}],11:[function(require,module,exports){"function"==typeof Object.create?module.exports=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}},{}],12:[function(require,module,exports){function isBuffer(obj){return!!obj.constructor&&"function"==typeof obj.constructor.isBuffer&&obj.constructor.isBuffer(obj)}function isSlowBuffer(obj){return"function"==typeof obj.readFloatLE&&"function"==typeof obj.slice&&isBuffer(obj.slice(0,0))}module.exports=function(obj){return null!=obj&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer)}},{}],13:[function(require,module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},{}],14:[function(require,module,exports){function arrayMap(array,iteratee){for(var index=-1,length=array.length,result=Array(length);++indexlength?0:length+start),end=void 0===end||end>length?length:+end||0,end<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function toObject(value){return isObject(value)?value:Object(value)}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}var keys=require("lodash.keys"),MAX_SAFE_INTEGER=9007199254740991,baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor(),getLength=baseProperty("length");module.exports=baseEach},{"lodash.keys":31}],19:[function(require,module,exports){function isObjectLike(value){return!!value&&"object"==typeof value}function arraySome(array,predicate){for(var index=-1,length=array.length;++indexarrLength))return!1;for(;++index2?sources[length-2]:void 0,guard=length>2?sources[2]:void 0,thisArg=length>1?sources[length-1]:void 0;for("function"==typeof customizer?(customizer=bindCallback(customizer,thisArg,5),length-=2):(customizer="function"==typeof thisArg?thisArg:void 0,length-=customizer?1:0),guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=length<3?void 0:customizer,length=1);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}var reIsUint=/^\d+$/,MAX_SAFE_INTEGER=9007199254740991,getLength=baseProperty("length");module.exports=isIterateeCall},{}],24:[function(require,module,exports){(function(global){function checkGlobal(value){return value&&value.Object===Object?value:null}var objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType?exports:void 0,freeModule=objectTypes[typeof module]&&module&&!module.nodeType?module:void 0,freeGlobal=checkGlobal(freeExports&&freeModule&&"object"==typeof global&&global),freeSelf=checkGlobal(objectTypes[typeof self]&&self),freeWindow=checkGlobal(objectTypes[typeof window]&&window),thisGlobal=checkGlobal(objectTypes[typeof this]&&this),root=freeGlobal||freeWindow!==(thisGlobal&&thisGlobal.window)&&freeWindow||freeSelf||thisGlobal||Function("return this")();module.exports=root}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],25:[function(require,module,exports){function assignWith(object,source,customizer){for(var index=-1,props=keys(source),length=props.length;++index=lower?number:lower)),number}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toInteger(value){if(!value)return 0===value?value:0;if(value=toNumber(value),value===INFINITY||value===-INFINITY){var sign=value<0?-1:1;return sign*MAX_INTEGER}var remainder=value%1;return value===value?remainder?value-remainder:value:0}function toNumber(value){if(isObject(value)){var other=isFunction(value.valueOf)?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}function toString(value){if("string"==typeof value)return value;if(null==value)return"";if(isSymbol(value))return Symbol?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-INFINITY?"-0":result}function endsWith(string,target,position){string=toString(string),target="string"==typeof target?target:target+"";var length=string.length;return position=void 0===position?length:baseClamp(toInteger(position),0,length),position-=target.length,position>=0&&string.indexOf(target,position)==position}var root=require("lodash._root"),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308,NAN=NaN,funcTag="[object Function]",genTag="[object GeneratorFunction]",symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=Symbol?symbolProto.toString:void 0;module.exports=endsWith},{"lodash._root":24}],27:[function(require,module,exports){function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}var MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",funcTag="[object Function]",genTag="[object GeneratorFunction]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,propertyIsEnumerable=objectProto.propertyIsEnumerable;module.exports=isArguments},{}],28:[function(require,module,exports){function isObjectLike(value){return!!value&&"object"==typeof value}function getNative(object,key){var value=null==object?void 0:object[key];return isNative(value)?value:void 0}function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isFunction(value){return isObject(value)&&objToString.call(value)==funcTag}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isNative(value){return null!=value&&(isFunction(value)?reIsNative.test(fnToString.call(value)):isObjectLike(value)&&reIsHostCtor.test(value))}var arrayTag="[object Array]",funcTag="[object Function]",reIsHostCtor=/^\[object .+?Constructor\]$/,objectProto=Object.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,objToString=objectProto.toString,reIsNative=RegExp("^"+fnToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nativeIsArray=getNative(Array,"isArray"),MAX_SAFE_INTEGER=9007199254740991,isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag};module.exports=isArray},{}],29:[function(require,module,exports){function isObjectLike(value){return!!value&&"object"==typeof value}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}var stringTag="[object String]",objectProto=Object.prototype,objToString=objectProto.toString;module.exports=isString},{}],30:[function(require,module,exports){function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObjectLike(value){return!!value&&"object"==typeof value}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objectToString.call(value)]}var MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var objectProto=Object.prototype,objectToString=objectProto.toString;module.exports=isTypedArray},{}],31:[function(require,module,exports){function baseProperty(key){return function(object){return null==object?void 0:object[key]}}function isArrayLike(value){return null!=value&&isLength(getLength(value))}function isIndex(value,length){return value="number"==typeof value||reIsUint.test(value)?+value:-1,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function shimKeys(object){for(var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length,allowIndexes=!!length&&isLength(length)&&(isArray(object)||isArguments(object)),index=-1,result=[];++index0;++index-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function map(collection,iteratee,thisArg){var func=isArray(collection)?arrayMap:baseMap;return iteratee=baseCallback(iteratee,thisArg,3),func(collection,iteratee)}var arrayMap=require("lodash._arraymap"),baseCallback=require("lodash._basecallback"),baseEach=require("lodash._baseeach"),isArray=require("lodash.isarray"),MAX_SAFE_INTEGER=9007199254740991,getLength=baseProperty("length");module.exports=map},{"lodash._arraymap":14,"lodash._basecallback":16,"lodash._baseeach":18,"lodash.isarray":28}],34:[function(require,module,exports){function toObject(value){return isObject(value)?value:Object(value)}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function pairs(object){object=toObject(object);for(var index=-1,props=keys(object),length=props.length,result=Array(length);++index1)for(var i=1;i1&&(result=parts[0]+"@",string=parts[1]),string=string.replace(regexSeparators,".");var labels=string.split("."),encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){for(var value,extra,output=[],counter=0,length=string.length;counter=55296&&value<=56319&&counter65535&&(value-=65536,output+=stringFromCharCode(value>>>10&1023|55296),value=56320|1023&value),output+=stringFromCharCode(value)}).join("")}function basicToDigit(codePoint){return codePoint-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/damp):delta>>1,delta+=floor(delta/numPoints);delta>baseMinusTMin*tMax>>1;k+=base)delta=floor(delta/baseMinusTMin);return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var out,basic,j,index,oldi,w,k,digit,t,baseMinusT,output=[],inputLength=input.length,i=0,n=initialN,bias=initialBias;for(basic=input.lastIndexOf(delimiter),basic<0&&(basic=0),j=0;j=128&&error("not-basic"),output.push(input.charCodeAt(j));for(index=basic>0?basic+1:0;index=inputLength&&error("invalid-input"),digit=basicToDigit(input.charCodeAt(index++)),(digit>=base||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(digitfloor(maxInt/baseMinusT)&&error("overflow"),w*=baseMinusT;out=output.length+1,bias=adapt(i-oldi,out,0==oldi),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT,output=[];for(input=ucs2decode(input),inputLength=input.length,n=initialN,delta=0,bias=initialBias,j=0;j=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;jmaxInt&&error("overflow"),currentValue==n){for(q=delta,k=base;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias,!(q= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;if(punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return punycode});else if(freeExports&&freeModule)if(module.exports==freeExports)freeModule.exports=punycode;else for(key in punycode)punycode.hasOwnProperty(key)&&(freeExports[key]=punycode[key]);else root.punycode=punycode}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],39:[function(require,module,exports){"use strict";function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&",eq=eq||"=";var obj={};if("string"!=typeof qs||0===qs.length)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&"number"==typeof options.maxKeys&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty(obj,k)?isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)}},{}],40:[function(require,module,exports){"use strict";function map(xs,f){if(xs.map)return xs.map(f);for(var res=[],i=0;i0)if(state.ended&&!addToFront){var e=new Error("stream.push() after EOF");stream.emit("error",e)}else if(state.endEmitted&&addToFront){var _e=new Error("stream.unshift() after end event");stream.emit("error",_e)}else{var skipAdd;!state.decoder||addToFront||encoding||(chunk=state.decoder.write(chunk),skipAdd=!state.objectMode&&0===chunk.length),addToFront||(state.reading=!1),skipAdd||(state.flowing&&0===state.length&&!state.sync?(stream.emit("data",chunk),stream.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream))),maybeReadMore(stream,state)}else addToFront||(state.reading=!1);return needMoreData(state)}function needMoreData(state){return!state.ended&&(state.needReadable||state.length=MAX_HWM?n=MAX_HWM:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function howMuchToRead(n,state){return n<=0||0===state.length&&state.ended?0:state.objectMode?1:n!==n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)), n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}function chunkInvalid(state,chunk){var er=null;return Buffer.isBuffer(chunk)||"string"==typeof chunk||null===chunk||void 0===chunk||state.objectMode||(er=new TypeError("Invalid non-string/buffer chunk")),er}function onEofChunk(stream,state){if(!state.ended){if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,emitReadable(stream)}}function emitReadable(stream){var state=stream._readableState;state.needReadable=!1,state.emittedReadable||(debug("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?processNextTick(emitReadable_,stream):emitReadable_(stream))}function emitReadable_(stream){debug("emit readable"),stream.emit("readable"),flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,processNextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length=state.length?(ret=state.decoder?state.buffer.join(""):1===state.buffer.length?state.buffer.head.data:state.buffer.concat(state.length),state.buffer.clear()):ret=fromListPartial(n,state.buffer,state.decoder),ret}function fromListPartial(n,list,hasStrings){var ret;return nstr.length?str.length:n;if(ret+=nb===str.length?str:str.slice(0,n),n-=nb,0===n){nb===str.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=str.slice(nb));break}++c}return list.length-=c,ret}function copyFromBuffer(n,list){var ret=bufferShim.allocUnsafe(n),p=list.head,c=1;for(p.data.copy(ret),n-=p.data.length;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),n-=nb,0===n){nb===buf.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=buf.slice(nb));break}++c}return list.length-=c,ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,processNextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){state.endEmitted||0!==state.length||(state.endEmitted=!0,stream.readable=!1,stream.emit("end"))}function forEach(xs,f){for(var i=0,l=xs.length;i=state.highWaterMark||state.ended))return debug("read: emitReadable",state.length,state.ended),0===state.length&&state.ended?endReadable(this):emitReadable(this),null;if(n=howMuchToRead(n,state),0===n&&state.ended)return 0===state.length&&endReadable(this),null;var doRead=state.needReadable;debug("need readable",doRead),(0===state.length||state.length-n0?fromList(n,state):null,null===ret?(state.needReadable=!0,n=0):state.length-=n,0===state.length&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),null!==ret&&this.emit("data",ret),ret},Readable.prototype._read=function(n){this.emit("error",new Error("not implemented"))},Readable.prototype.pipe=function(dest,pipeOpts){function onunpipe(readable){debug("onunpipe"),readable===src&&cleanup()}function onend(){debug("onend"),dest.end()}function cleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",cleanup),src.removeListener("data",ondata),cleanedUp=!0,!state.awaitDrain||dest._writableState&&!dest._writableState.needDrain||ondrain()}function ondata(chunk){debug("ondata"),increasedAwaitDrain=!1;var ret=dest.write(chunk);!1!==ret||increasedAwaitDrain||((1===state.pipesCount&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp&&(debug("false write response, pause",src._readableState.awaitDrain),src._readableState.awaitDrain++,increasedAwaitDrain=!0),src.pause())}function onerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),0===EElistenerCount(dest,"error")&&dest.emit("error",er)}function onclose(){dest.removeListener("finish",onfinish),unpipe()}function onfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}function unpipe(){debug("unpipe"),src.unpipe(dest)}var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest)}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==!1)&&dest!==process.stdout&&dest!==process.stderr,endFn=doEnd?onend:cleanup;state.endEmitted?processNextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=!1,increasedAwaitDrain=!1;return src.on("data",ondata),prependListener(dest,"error",onerror),dest.once("close",onclose),dest.once("finish",onfinish),dest.emit("pipe",src),state.flowing||(debug("pipe resume"),src.resume()),dest},Readable.prototype.unpipe=function(dest){var state=this._readableState;if(0===state.pipesCount)return this;if(1===state.pipesCount)return dest&&dest!==state.pipes?this:(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this),this);if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var _i=0;_i-1?setImmediate:processNextTick;Writable.WritableState=WritableState;var util=require("core-util-is");util.inherits=require("inherits");var Stream,internalUtil={deprecate:require("util-deprecate")};!function(){try{Stream=require("stream")}catch(_){}finally{Stream||(Stream=require("events").EventEmitter)}}();var Buffer=require("buffer").Buffer,bufferShim=require("buffer-shims");util.inherits(Writable,Stream);var Duplex;WritableState.prototype.getBuffer=function(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(_){}}();var Duplex;Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1;return"function"==typeof encoding&&(cb=encoding,encoding=null),Buffer.isBuffer(chunk)?encoding="buffer":encoding||(encoding=state.defaultEncoding),"function"!=typeof cb&&(cb=nop),state.ended?writeAfterEnd(this,cb):validChunk(this,state,chunk,cb)&&(state.pendingcb++,ret=writeOrBuffer(this,state,chunk,encoding,cb)),ret},Writable.prototype.cork=function(){var state=this._writableState;state.corked++},Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,state.writing||state.corked||state.finished||state.bufferProcessing||!state.bufferedRequest||clearBuffer(this,state))},Writable.prototype.setDefaultEncoding=function(encoding){if("string"==typeof encoding&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this},Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("not implemented"))},Writable.prototype._writev=null,Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;"function"==typeof chunk?(cb=chunk,chunk=null,encoding=null):"function"==typeof encoding&&(cb=encoding,encoding=null),null!==chunk&&void 0!==chunk&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||state.finished||endWritable(this,state,cb)}}).call(this,require("_process"))},{"./_stream_duplex":42,_process:37,buffer:5,"buffer-shims":4,"core-util-is":7,events:8,inherits:11,"process-nextick-args":36,"util-deprecate":57}],47:[function(require,module,exports){"use strict";function BufferList(){this.head=null,this.tail=null,this.length=0}var bufferShim=(require("buffer").Buffer,require("buffer-shims"));module.exports=BufferList,BufferList.prototype.push=function(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length},BufferList.prototype.unshift=function(v){var entry={data:v,next:this.head};0===this.length&&(this.tail=entry),this.head=entry,++this.length},BufferList.prototype.shift=function(){if(0!==this.length){var ret=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function(){this.head=this.tail=null,this.length=0},BufferList.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret},BufferList.prototype.concat=function(n){if(0===this.length)return bufferShim.alloc(0);if(1===this.length)return this.head.data;for(var ret=bufferShim.allocUnsafe(n>>>0),p=this.head,i=0;p;)p.data.copy(ret,i),i+=p.data.length,p=p.next;return ret}},{buffer:5,"buffer-shims":4}],48:[function(require,module,exports){(function(process){var Stream=function(){try{return require("stream")}catch(_){}}();exports=module.exports=require("./lib/_stream_readable.js"),exports.Stream=Stream||exports,exports.Readable=exports,exports.Writable=require("./lib/_stream_writable.js"),exports.Duplex=require("./lib/_stream_duplex.js"),exports.Transform=require("./lib/_stream_transform.js"),exports.PassThrough=require("./lib/_stream_passthrough.js"),!process.browser&&"disable"===process.env.READABLE_STREAM&&Stream&&(module.exports=Stream)}).call(this,require("_process"))},{"./lib/_stream_duplex.js":42,"./lib/_stream_passthrough.js":43,"./lib/_stream_readable.js":44,"./lib/_stream_transform.js":45,"./lib/_stream_writable.js":46,_process:37}],49:[function(require,module,exports){(function(global){var ClientRequest=require("./lib/request"),extend=require("xtend"),statusCodes=require("builtin-status-codes"),url=require("url"),http=exports;http.request=function(opts,cb){opts="string"==typeof opts?url.parse(opts):extend(opts);var defaultProtocol=global.location.protocol.search(/^https?:$/)===-1?"http:":"",protocol=opts.protocol||defaultProtocol,host=opts.hostname||opts.host,port=opts.port,path=opts.path||"/";host&&host.indexOf(":")!==-1&&(host="["+host+"]"),opts.url=(host?protocol+"//"+host:"")+(port?":"+port:"")+path,opts.method=(opts.method||"GET").toUpperCase(),opts.headers=opts.headers||{};var req=new ClientRequest(opts);return cb&&req.on("response",cb),req},http.get=function(opts,cb){var req=http.request(opts,cb);return req.end(),req},http.Agent=function(){},http.Agent.defaultMaxSockets=4,http.STATUS_CODES=statusCodes,http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":51,"builtin-status-codes":6,url:55,xtend:58}],50:[function(require,module,exports){(function(global){function checkTypeSupport(type){try{return xhr.responseType=type,xhr.responseType===type}catch(e){}return!1}function isFunction(value){return"function"==typeof value}exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableStream),exports.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),exports.blobConstructor=!0}catch(e){}var xhr=new global.XMLHttpRequest;xhr.open("GET",global.location.host?"/":"https://example.com");var haveArrayBuffer="undefined"!=typeof global.ArrayBuffer,haveSlice=haveArrayBuffer&&isFunction(global.ArrayBuffer.prototype.slice);exports.arraybuffer=haveArrayBuffer&&checkTypeSupport("arraybuffer"),exports.msstream=!exports.fetch&&haveSlice&&checkTypeSupport("ms-stream"),exports.mozchunkedarraybuffer=!exports.fetch&&haveArrayBuffer&&checkTypeSupport("moz-chunked-arraybuffer"),exports.overrideMimeType=isFunction(xhr.overrideMimeType),exports.vbArray=isFunction(global.VBArray),xhr=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],51:[function(require,module,exports){(function(process,global,Buffer){function decideMode(preferBinary,useFetch){return capability.fetch&&useFetch?"fetch":capability.mozchunkedarraybuffer?"moz-chunked-arraybuffer":capability.msstream?"ms-stream":capability.arraybuffer&&preferBinary?"arraybuffer":capability.vbArray&&preferBinary?"text:vbarray":"text"}function statusValid(xhr){try{var status=xhr.status;return null!==status&&0!==status}catch(e){return!1}}var capability=require("./capability"),inherits=require("inherits"),response=require("./response"),stream=require("readable-stream"),toArrayBuffer=require("to-arraybuffer"),IncomingMessage=response.IncomingMessage,rStates=response.readyStates,ClientRequest=module.exports=function(opts){var self=this;stream.Writable.call(self),self._opts=opts,self._body=[],self._headers={},opts.auth&&self.setHeader("Authorization","Basic "+new Buffer(opts.auth).toString("base64")),Object.keys(opts.headers).forEach(function(name){self.setHeader(name,opts.headers[name])});var preferBinary,useFetch=!0;if("disable-fetch"===opts.mode)useFetch=!1,preferBinary=!0;else if("prefer-streaming"===opts.mode)preferBinary=!1;else if("allow-wrong-content-type"===opts.mode)preferBinary=!capability.overrideMimeType;else{if(opts.mode&&"default"!==opts.mode&&"prefer-fast"!==opts.mode)throw new Error("Invalid value for opts.mode");preferBinary=!0}self._mode=decideMode(preferBinary,useFetch),self.on("finish",function(){self._onFinish()})};inherits(ClientRequest,stream.Writable),ClientRequest.prototype.setHeader=function(name,value){var self=this,lowerName=name.toLowerCase();unsafeHeaders.indexOf(lowerName)===-1&&(self._headers[lowerName]={name:name,value:value})},ClientRequest.prototype.getHeader=function(name){var self=this;return self._headers[name.toLowerCase()].value},ClientRequest.prototype.removeHeader=function(name){var self=this;delete self._headers[name.toLowerCase()]},ClientRequest.prototype._onFinish=function(){var self=this;if(!self._destroyed){var body,opts=self._opts,headersObj=self._headers;if("POST"!==opts.method&&"PUT"!==opts.method&&"PATCH"!==opts.method||(body=capability.blobConstructor?new global.Blob(self._body.map(function(buffer){return toArrayBuffer(buffer)}),{type:(headersObj["content-type"]||{}).value||""}):Buffer.concat(self._body).toString()),"fetch"===self._mode){var headers=Object.keys(headersObj).map(function(name){return[headersObj[name].name,headersObj[name].value]});global.fetch(self._opts.url,{method:self._opts.method,headers:headers,body:body,mode:"cors",credentials:opts.withCredentials?"include":"same-origin"}).then(function(response){self._fetchResponse=response,self._connect()},function(reason){self.emit("error",reason)})}else{var xhr=self._xhr=new global.XMLHttpRequest;try{xhr.open(self._opts.method,self._opts.url,!0)}catch(err){return void process.nextTick(function(){self.emit("error",err)})}"responseType"in xhr&&(xhr.responseType=self._mode.split(":")[0]),"withCredentials"in xhr&&(xhr.withCredentials=!!opts.withCredentials),"text"===self._mode&&"overrideMimeType"in xhr&&xhr.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(headersObj).forEach(function(name){xhr.setRequestHeader(headersObj[name].name,headersObj[name].value)}),self._response=null,xhr.onreadystatechange=function(){switch(xhr.readyState){case rStates.LOADING:case rStates.DONE:self._onXHRProgress()}},"moz-chunked-arraybuffer"===self._mode&&(xhr.onprogress=function(){self._onXHRProgress()}),xhr.onerror=function(){self._destroyed||self.emit("error",new Error("XHR error"))};try{xhr.send(body)}catch(err){return void process.nextTick(function(){self.emit("error",err)})}}}},ClientRequest.prototype._onXHRProgress=function(){var self=this;statusValid(self._xhr)&&!self._destroyed&&(self._response||self._connect(),self._response._onXHRProgress())},ClientRequest.prototype._connect=function(){var self=this;self._destroyed||(self._response=new IncomingMessage(self._xhr,self._fetchResponse,self._mode),self.emit("response",self._response))},ClientRequest.prototype._write=function(chunk,encoding,cb){var self=this;self._body.push(chunk),cb()},ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var self=this;self._destroyed=!0,self._response&&(self._response._destroyed=!0),self._xhr&&self._xhr.abort()},ClientRequest.prototype.end=function(data,encoding,cb){var self=this;"function"==typeof data&&(cb=data,data=void 0),stream.Writable.prototype.end.call(self,data,encoding,cb)},ClientRequest.prototype.flushHeaders=function(){},ClientRequest.prototype.setTimeout=function(){},ClientRequest.prototype.setNoDelay=function(){},ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,require("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},require("buffer").Buffer)},{"./capability":50,"./response":52,_process:37,buffer:5,inherits:11,"readable-stream":48,"to-arraybuffer":54}],52:[function(require,module,exports){(function(process,global,Buffer){var capability=require("./capability"),inherits=require("inherits"),stream=require("readable-stream"),rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},IncomingMessage=exports.IncomingMessage=function(xhr,response,mode){function read(){reader.read().then(function(result){if(!self._destroyed){if(result.done)return void self.push(null); -self.push(new Buffer(result.value)),read()}})}var self=this;if(stream.Readable.call(self),self._mode=mode,self.headers={},self.rawHeaders=[],self.trailers={},self.rawTrailers=[],self.on("end",function(){process.nextTick(function(){self.emit("close")})}),"fetch"===mode){self._fetchResponse=response,self.url=response.url,self.statusCode=response.status,self.statusMessage=response.statusText;for(var header,_i,_it=response.headers[Symbol.iterator]();header=(_i=_it.next()).value,!_i.done;)self.headers[header[0].toLowerCase()]=header[1],self.rawHeaders.push(header[0],header[1]);var reader=response.body.getReader();read()}else{self._xhr=xhr,self._pos=0,self.url=xhr.responseURL,self.statusCode=xhr.status,self.statusMessage=xhr.statusText;var headers=xhr.getAllResponseHeaders().split(/\r?\n/);if(headers.forEach(function(header){var matches=header.match(/^([^:]+):\s*(.*)/);if(matches){var key=matches[1].toLowerCase();"set-cookie"===key?(void 0===self.headers[key]&&(self.headers[key]=[]),self.headers[key].push(matches[2])):void 0!==self.headers[key]?self.headers[key]+=", "+matches[2]:self.headers[key]=matches[2],self.rawHeaders.push(matches[1],matches[2])}}),self._charset="x-user-defined",!capability.overrideMimeType){var mimeType=self.rawHeaders["mime-type"];if(mimeType){var charsetMatch=mimeType.match(/;\s*charset=([^;])(;|$)/);charsetMatch&&(self._charset=charsetMatch[1].toLowerCase())}self._charset||(self._charset="utf-8")}}};inherits(IncomingMessage,stream.Readable),IncomingMessage.prototype._read=function(){},IncomingMessage.prototype._onXHRProgress=function(){var self=this,xhr=self._xhr,response=null;switch(self._mode){case"text:vbarray":if(xhr.readyState!==rStates.DONE)break;try{response=new global.VBArray(xhr.responseBody).toArray()}catch(e){}if(null!==response){self.push(new Buffer(response));break}case"text":try{response=xhr.responseText}catch(e){self._mode="text:vbarray";break}if(response.length>self._pos){var newData=response.substr(self._pos);if("x-user-defined"===self._charset){for(var buffer=new Buffer(newData.length),i=0;iself._pos&&(self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos)))),self._pos=reader.result.byteLength)},reader.onload=function(){self.push(null)},reader.readAsArrayBuffer(response)}self._xhr.readyState===rStates.DONE&&"ms-stream"!==self._mode&&self.push(null)}}).call(this,require("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},require("buffer").Buffer)},{"./capability":50,_process:37,buffer:5,inherits:11,"readable-stream":48}],53:[function(require,module,exports){function assertEncoding(encoding){if(encoding&&!isBufferEncoding(encoding))throw new Error("Unknown encoding: "+encoding)}function passThroughWrite(buffer){return buffer.toString(this.encoding)}function utf16DetectIncompleteChar(buffer){this.charReceived=buffer.length%2,this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(buffer){this.charReceived=buffer.length%3,this.charLength=this.charReceived?3:0}var Buffer=require("buffer").Buffer,isBufferEncoding=Buffer.isEncoding||function(encoding){switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(encoding){switch(this.encoding=(encoding||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(encoding),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;break;default:return void(this.write=passThroughWrite)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};StringDecoder.prototype.write=function(buffer){for(var charStr="";this.charLength;){var available=buffer.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:buffer.length;if(buffer.copy(this.charBuffer,this.charReceived,0,available),this.charReceived+=available,this.charReceived=55296&&charCode<=56319)){if(this.charReceived=this.charLength=0,0===buffer.length)return charStr;break}this.charLength+=this.surrogateSize,charStr=""}this.detectIncompleteChar(buffer);var end=buffer.length;this.charLength&&(buffer.copy(this.charBuffer,0,buffer.length-this.charReceived,end),end-=this.charReceived),charStr+=buffer.toString(this.encoding,0,end);var end=charStr.length-1,charCode=charStr.charCodeAt(end);if(charCode>=55296&&charCode<=56319){var size=this.surrogateSize;return this.charLength+=size,this.charReceived+=size,this.charBuffer.copy(this.charBuffer,size,0,size),buffer.copy(this.charBuffer,0,0,size),charStr.substring(0,end)}return charStr},StringDecoder.prototype.detectIncompleteChar=function(buffer){for(var i=buffer.length>=3?3:buffer.length;i>0;i--){var c=buffer[buffer.length-i];if(1==i&&c>>5==6){this.charLength=2;break}if(i<=2&&c>>4==14){this.charLength=3;break}if(i<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=i},StringDecoder.prototype.end=function(buffer){var res="";if(buffer&&buffer.length&&(res=this.write(buffer)),this.charReceived){var cr=this.charReceived,buf=this.charBuffer,enc=this.encoding;res+=buf.slice(0,cr).toString(enc)}return res}},{buffer:5}],54:[function(require,module,exports){var Buffer=require("buffer").Buffer;module.exports=function(buf){if(buf instanceof Uint8Array){if(0===buf.byteOffset&&buf.byteLength===buf.buffer.byteLength)return buf.buffer;if("function"==typeof buf.buffer.slice)return buf.buffer.slice(buf.byteOffset,buf.byteOffset+buf.byteLength)}if(Buffer.isBuffer(buf)){for(var arrayCopy=new Uint8Array(buf.length),len=buf.length,i=0;i",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=require("querystring");Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=queryIndex!==-1&&queryIndex127?"x":part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==rest[0]&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(var i=0,l=autoEscape.length;i0)&&result.host.split("@");authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return result.search=relative.search,result.query=relative.query,util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last,up=0,i=srcPath.length;i>=0;i--)last=srcPath[i],"."===last?srcPath.splice(i,1):".."===last?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift(""),hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@");authInHost&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift())}return mustEndAbs=mustEndAbs||result.host&&srcPath.length,mustEndAbs&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result},Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(port=port[0],":"!==port&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)}},{"./util":56,punycode:38,querystring:41}],56:[function(require,module,exports){"use strict";module.exports={isString:function(arg){return"string"==typeof arg},isObject:function(arg){return"object"==typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},{}],57:[function(require,module,exports){(function(global){function deprecate(fn,msg){function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}if(config("noDeprecation"))return fn;var warned=!1;return deprecated}function config(name){try{if(!global.localStorage)return!1}catch(_){return!1}var val=global.localStorage[name];return null!=val&&"true"===String(val).toLowerCase()}module.exports=deprecate}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],58:[function(require,module,exports){function extend(){for(var target={},i=0;i0&&msie<11)if(9===msie){var settings={url:that._options.iiifResourceUri,type:"GET",dataType:"jsonp",jsonp:"callback",jsonpCallback:"manifestCallback"};$.ajax(settings),window.manifestCallback=function(json){that._loaded(that,JSON.stringify(json),resolve,reject)}}else 10===msie&&$.getJSON(that._options.iiifResourceUri,function(json){that._loaded(that,JSON.stringify(json),resolve,reject)});else manifesto.loadManifest(that._options.iiifResourceUri).then(function(json){that._loaded(that,json,resolve,reject)})})},Bootstrapper.prototype._loaded=function(bootstrapper,json,resolve,reject){var iiifResource=manifesto.create(json,{locale:bootstrapper._options.locale});if(bootstrapper._options.iiifResource||(bootstrapper._options.iiifResource=iiifResource),iiifResource.getIIIFResourceType().toString()===manifesto.IIIFResourceType.collection().toString()){var collections=iiifResource.getCollections();collections&&collections.length?iiifResource.getCollectionByIndex(bootstrapper._options.collectionIndex).then(function(collection){collection||reject("Collection index not found"),0===collection.getTotalManifests()&&0===bootstrapper._options.manifestIndex&&collection.getTotalCollections()>0&&(bootstrapper._options.collectionIndex=0,bootstrapper._options.iiifResourceUri=collection.id,bootstrapper.bootstrap()),collection.getManifestByIndex(bootstrapper._options.manifestIndex).then(function(manifest){bootstrapper._options.manifest=manifest;var helper=new Manifold.Helper(bootstrapper._options);resolve(helper)})}):iiifResource.getManifestByIndex(bootstrapper._options.manifestIndex).then(function(manifest){bootstrapper._options.manifest=manifest;var helper=new Manifold.Helper(bootstrapper._options);resolve(helper)})}else{bootstrapper._options.manifest=iiifResource;var helper=new Manifold.Helper(bootstrapper._options);resolve(helper)}},Bootstrapper.prototype._msieversion=function(){var ua=window.navigator.userAgent,msie=ua.indexOf("MSIE ");return msie>0?parseInt(ua.substring(msie+5,ua.indexOf(".",msie))):0},Bootstrapper}();Manifold.Bootstrapper=Bootstrapper}(Manifold||(Manifold={}));var Manifold;!function(Manifold){var ExternalResource=function(){function ExternalResource(resource,dataUriFunc){this.isResponseHandled=!1,resource.externalResource=this,this.dataUri=dataUriFunc(resource),this._parseAuthServices(resource)}return ExternalResource.prototype._parseAuthServices=function(resource){this.clickThroughService=manifesto.Utils.getService(resource,manifesto.ServiceProfile.clickThrough().toString()),this.loginService=manifesto.Utils.getService(resource,manifesto.ServiceProfile.login().toString()),this.restrictedService=manifesto.Utils.getService(resource,manifesto.ServiceProfile.restricted().toString()),this.clickThroughService?(this.logoutService=this.clickThroughService.getService(manifesto.ServiceProfile.logout().toString()),this.tokenService=this.clickThroughService.getService(manifesto.ServiceProfile.token().toString())):this.loginService?(this.logoutService=this.loginService.getService(manifesto.ServiceProfile.logout().toString()),this.tokenService=this.loginService.getService(manifesto.ServiceProfile.token().toString())):this.restrictedService&&(this.logoutService=this.restrictedService.getService(manifesto.ServiceProfile.logout().toString()),this.tokenService=this.restrictedService.getService(manifesto.ServiceProfile.token().toString()))},ExternalResource.prototype.isAccessControlled=function(){return!!(this.clickThroughService||this.loginService||this.restrictedService)},ExternalResource.prototype.hasServiceDescriptor=function(){return this.dataUri.endsWith("info.json")},ExternalResource.prototype.getData=function(accessToken){var that=this;return that.data={},new Promise(function(resolve,reject){var type="GET";if(!that.hasServiceDescriptor()){if(!that.isAccessControlled())return that.status=HTTPStatusCode.OK,void resolve(that);type="HEAD"}$.ajax({url:that.dataUri,type:type,dataType:"json",beforeSend:function(xhr){accessToken&&xhr.setRequestHeader("Authorization","Bearer "+accessToken.accessToken)}}).done(function(data){if(data){var uri=unescape(data["@id"]);that.data=data,that._parseAuthServices(that.data),uri.endsWith("/info.json")&&(uri=uri.substr(0,uri.lastIndexOf("/")));var dataUri=that.dataUri;dataUri.endsWith("/info.json")&&(dataUri=dataUri.substr(0,dataUri.lastIndexOf("/"))),uri!==dataUri&&that.loginService?that.status=HTTPStatusCode.MOVED_TEMPORARILY:that.status=HTTPStatusCode.OK,resolve(that)}else that.status=HTTPStatusCode.OK,resolve(that)}).fail(function(error){that.status=error.status,that.error=error,error.responseJSON&&that._parseAuthServices(error.responseJSON),resolve(that)})})},ExternalResource}();Manifold.ExternalResource=ExternalResource}(Manifold||(Manifold={}));var Manifold;!function(Manifold){var Helper=function(){function Helper(options){this.options=options,this.iiifResource=this.options.iiifResource,this.iiifResourceUri=this.options.iiifResourceUri,this.manifest=this.options.manifest,this.collectionIndex=this.options.collectionIndex||0,this.manifestIndex=this.options.manifestIndex||0,this.sequenceIndex=this.options.sequenceIndex||0,this.canvasIndex=this.options.canvasIndex||0}return Helper.prototype.getAutoCompleteService=function(){var service=this.getSearchWithinService();return service?service.getService(manifesto.ServiceProfile.autoComplete()):null},Helper.prototype.getAttribution=function(){return Manifesto.TranslationCollection.getValue(this.manifest.getAttribution())},Helper.prototype.getCanvases=function(){return this.getCurrentSequence().getCanvases()},Helper.prototype.getCanvasById=function(id){return this.getCurrentSequence().getCanvasById(id)},Helper.prototype.getCanvasesById=function(ids){for(var canvases=[],i=0;i'},metadataItem=new Manifesto.MetadataItem(this.options.locale);metadataItem.parse(item),metadataItem.isRootLevel=!0,manifestGroup.addItem(metadataItem)}return metadataGroups.push(manifestGroup),options?this._parseMetadataOptions(options,metadataGroups):metadataGroups},Helper.prototype._parseMetadataOptions=function(options,metadataGroups){var sequence=this.getCurrentSequence(),sequenceMetadata=sequence.getMetadata();if(sequenceMetadata&&sequenceMetadata.length){var sequenceGroup=new Manifold.MetadataGroup(sequence);sequenceGroup.addMetadata(sequenceMetadata),metadataGroups.push(sequenceGroup)}if(options.range){var rangeGroups=this._getRangeMetadata([],options.range);rangeGroups=rangeGroups.reverse(),metadataGroups=metadataGroups.concat(rangeGroups); -}if(options.canvases&&options.canvases.length)for(var i=0;i0},Helper.prototype.isBottomToTop=function(){return this.getViewingDirection().toString()===manifesto.ViewingDirection.bottomToTop().toString()},Helper.prototype.isCanvasIndexOutOfRange=function(index){return this.getCurrentSequence().isCanvasIndexOutOfRange(index)},Helper.prototype.isContinuous=function(){return this.getViewingHint().toString()===manifesto.ViewingHint.continuous().toString()},Helper.prototype.isFirstCanvas=function(index){return"undefined"!=typeof index?this.getCurrentSequence().isFirstCanvas(index):this.getCurrentSequence().isFirstCanvas(this.canvasIndex)},Helper.prototype.isHorizontallyAligned=function(){return this.isLeftToRight()||this.isRightToLeft()},Helper.prototype.isLastCanvas=function(index){return"undefined"!=typeof index?this.getCurrentSequence().isLastCanvas(index):this.getCurrentSequence().isLastCanvas(this.canvasIndex)},Helper.prototype.isLeftToRight=function(){return this.getViewingDirection().toString()===manifesto.ViewingDirection.leftToRight().toString()},Helper.prototype.isMultiCanvas=function(){return this.getCurrentSequence().isMultiCanvas()},Helper.prototype.isMultiSequence=function(){return this.manifest.isMultiSequence()},Helper.prototype.isPaged=function(){return this.getViewingHint().toString()===manifesto.ViewingHint.paged().toString()},Helper.prototype.isPagingAvailable=function(){return this.isPagingEnabled()&&this.getTotalCanvases()>2},Helper.prototype.isPagingEnabled=function(){return this.manifest.isPagingEnabled()||this.getCurrentSequence().isPagingEnabled()},Helper.prototype.isRightToLeft=function(){return this.getViewingDirection().toString()===manifesto.ViewingDirection.rightToLeft().toString()},Helper.prototype.isTopToBottom=function(){return this.getViewingDirection().toString()===manifesto.ViewingDirection.topToBottom().toString()},Helper.prototype.isTotalCanvasesEven=function(){return this.getCurrentSequence().isTotalCanvasesEven()},Helper.prototype.isUIEnabled=function(name){var uiExtensions=this.manifest.getService(manifesto.ServiceProfile.uiExtensions());if(uiExtensions){var disableUI=uiExtensions.getProperty("disableUI");if(disableUI&&(disableUI.contains(name)||disableUI.contains(name.toLowerCase())))return!1}return!0},Helper.prototype.isVerticallyAligned=function(){return this.isTopToBottom()||this.isBottomToTop()},Helper.prototype.createDateNodes=function(rootNode,nodes){for(var i=0;i=n.data.startYear&&year<=n.data.endYear)return n}return null},Helper.prototype.getMonthNode=function(yearNode,month){for(var i=0;i0&&this.getAllSelectedCanvases().length===this.canvases.length},MultiSelectState.prototype.allRangesSelected=function(){return this.ranges.length>0&&this.getAllSelectedRanges().length===this.ranges.length},MultiSelectState.prototype.allSelected=function(){return this.allRangesSelected()&&this.allCanvasesSelected()},MultiSelectState.prototype.getAll=function(){return this.canvases.concat(this.ranges)},MultiSelectState.prototype.getAllSelectedCanvases=function(){return this.canvases.en().where(function(c){return c.multiSelected}).toArray()},MultiSelectState.prototype.getAllSelectedRanges=function(){return this.ranges.en().where(function(r){return r.multiSelected}).toArray()},MultiSelectState.prototype.getCanvasById=function(id){return this.canvases.en().where(function(c){return c.id===id}).first()},MultiSelectState.prototype.getCanvasesByIds=function(ids){for(var canvases=[],i=0;i'+label+""},UriLabeller}();Manifold.UriLabeller=UriLabeller}(Manifold||(Manifold={}))},{}]},{},[1])(1)}),function(t,e,o){"use strict";function r(t,e,r,p){r=r||"width";var n,l,m,c=(e.match(s)||[])[2],f="px"===c?1:d[c+"toPx"],u=/r?em/i;if(f||u.test(c)&&!p)t=f?t:"rem"===c?i:"fontSize"===r?t.parentNode||t:t,f=f||parseFloat(a(t,"fontSize")),m=parseFloat(e)*f;else{n=t.style,l=n[r];try{n[r]=e}catch(x){return 0}m=n[r]?parseFloat(a(t,r)):0,n[r]=l!==o?l:null}return m}function a(t,e){var o,n,i,l,d,c=/^top|bottom/,f=["paddingTop","paddingBottom","borderTop","borderBottom"],u=4;if(o=m?m(t)[e]:(n=t.style["pixel"+e.charAt(0).toUpperCase()+e.slice(1)])?n+"px":"fontSize"===e?r(t,"1em","left",1)+"px":t.currentStyle[e],i=(o.match(s)||[])[2],"%"===i&&p)if(c.test(e)){for(l=(d=t.parentNode||t).offsetHeight;u--;)l-=parseFloat(a(d,f[u]));o=parseFloat(o)/100*l+"px"}else o=r(t,o);else("auto"===o||i&&"px"!==i)&&m?o=0:i&&"px"!==i&&!m&&(o=r(t,o)+"px");return o}var p,n=e.createElement("test"),i=e.documentElement,l=e.defaultView,m=l&&l.getComputedStyle,s=/^(-?[\d+\.\-]+)([a-z]+|%)$/i,d={},c=[1/25.4,1/2.54,1/72,1/6],f=["mm","cm","pt","pc","in","mozmm"],u=6;for(i.appendChild(n),m&&(n.style.marginTop="1%",p="1%"===m(n).marginTop);u--;)d[f[u]+"toPx"]=c[u]?c[u]*d.inToPx:r(n,"1"+f[u]);i.removeChild(n),n=o,t.Length={toPx:r}}(this,this.document);var Utils;!function(Utils){var Async=function(){function Async(){}return Async.waitFor=function(test,successCallback,failureCallback,interval,maxTries,numTries){interval||(interval=200),maxTries||(maxTries=100),numTries||(numTries=0),numTries+=1,numTries>maxTries?failureCallback&&failureCallback():test()?successCallback():setTimeout(function(){Async.waitFor(test,successCallback,failureCallback,interval,maxTries,numTries)},interval)},Async}();Utils.Async=Async}(Utils||(Utils={}));var Utils;!function(Utils){var Bools=function(){function Bools(){}return Bools.getBool=function(val,defaultVal){return null===val||"undefined"==typeof val?defaultVal:val},Bools}();Utils.Bools=Bools}(Utils||(Utils={}));var Utils;!function(Utils){var Clipboard=function(){function Clipboard(){}return Clipboard.copy=function(text){var $tempDiv=$("
            "),brRegex=//gi;text=text.replace(brRegex,"\n"),$("body").append($tempDiv),$tempDiv.append(text);var $tempInput=$("