From be3b6e8aee624a83a8831f982711d7d2eb2017ad Mon Sep 17 00:00:00 2001 From: edsilv Date: Thu, 27 Oct 2016 15:32:09 +0100 Subject: [PATCH] fix #406 --- bower.json | 2 +- dist/uv-1.8.38/lib/bundle.min.js | 11 ----------- dist/{uv-1.8.38 => uv-1.8.39}/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 .../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-1.8.38 => uv-1.8.39}/lib/Detector.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/README.md | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/app.js | 8 ++++---- dist/uv-1.8.39/lib/bundle.min.js | 11 +++++++++++ .../lib/compatibility.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/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-1.8.38 => uv-1.8.39}/lib/l10n.js | 0 .../lib/mediaelement-and-player.js | 0 .../lib/openseadragon.min.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.min.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.worker.js | 0 .../lib/pdf.worker.min.js | 0 .../{uv-1.8.38 => uv-1.8.39}/lib/pdf_combined.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/pdfobject.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/stats.min.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/three.min.js | 0 .../uv-mediaelement-extension-dependencies.js | 0 .../uv-mediaelement-extension.cy-GB.config.json | 0 .../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-1.8.38 => uv-1.8.39}/lib/viewer.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/viewer.min.js | 0 dist/{uv-1.8.38 => uv-1.8.39}/lib/virtex.js | 0 .../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 .../uv-seadragon-extension.cy-GB.schema.json | 0 .../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 .../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 .../bigplay.png | Bin .../controls-wellcome-bg.png | Bin .../controls-wellcome.png | Bin .../loading.gif | Bin .../img/uv-moreinforightpanel-module/copy.png | Bin .../rotate_right.png | Bin .../uv-osdmobilefooterpanel-module/zoom_in.png | Bin .../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 .../annotation-check.svg | 0 .../annotation-comment.svg | 0 .../uv-pdfcenterpanel-module/annotation-help.svg | 0 .../annotation-insert.svg | 0 .../uv-pdfcenterpanel-module/annotation-key.svg | 0 .../annotation-newparagraph.svg | 0 .../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 .../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 .../uv-pdfcenterpanel-module/loading-icon.gif | Bin .../uv-pdfcenterpanel-module/loading-small.png | Bin ...secondaryToolbarButton-documentProperties.png | Bin ...ondaryToolbarButton-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 ...olbarButton-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 .../down_arrow.png | Bin .../down_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/home.png | Bin .../left_arrow.png | Bin .../left_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/pixel.gif | Bin .../right_arrow.png | Bin .../right_arrow_disabled.png | Bin .../rotate_right.png | Bin .../uv-seadragoncenterpanel-module/up_arrow.png | Bin .../up_arrow_disabled.png | Bin .../uv-seadragoncenterpanel-module/zoom_in.png | Bin .../uv-seadragoncenterpanel-module/zoom_out.png | Bin .../img/uv-searchfooterpanel-module/next.png | Bin .../placemarker_down.png | Bin .../placemarker_down_hover.png | Bin .../placemarker_up.png | Bin .../img/uv-searchfooterpanel-module/prev.png | Bin .../img/uv-searchfooterpanel-module/search.png | Bin .../img/uv-shared-module/arrows_left.png | Bin .../img/uv-shared-module/arrows_right.png | Bin .../img/uv-shared-module/bookmark.png | Bin .../img/uv-shared-module/close.png | Bin .../img/uv-shared-module/close_attribution.png | Bin .../uv-shared-module/close_information_box.png | Bin .../img/uv-shared-module/close_message_box.png | Bin .../img/uv-shared-module}/copy.png | Bin .../img/uv-shared-module/dialogue_arrow.png | Bin .../img/uv-shared-module/download.png | Bin .../img/uv-shared-module/embed.png | Bin .../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 .../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 .../img/uv-shared-module/print.png | Bin .../img/uv-shared-module/settings.png | Bin .../img/uv-shared-module/share.png | Bin .../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 .../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 .../bigplay.png | Bin .../controls-wellcome-bg.png | Bin .../controls-wellcome.png | Bin .../loading.gif | Bin .../img/uv-moreinforightpanel-module/copy.png | Bin 0 -> 3362 bytes .../rotate_right.png | Bin .../uv-osdmobilefooterpanel-module/zoom_in.png | Bin .../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 .../annotation-check.svg | 0 .../annotation-comment.svg | 0 .../uv-pdfcenterpanel-module/annotation-help.svg | 0 .../annotation-insert.svg | 0 .../uv-pdfcenterpanel-module/annotation-key.svg | 0 .../annotation-newparagraph.svg | 0 .../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 .../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 .../uv-pdfcenterpanel-module/loading-icon.gif | Bin .../uv-pdfcenterpanel-module/loading-small.png | Bin ...secondaryToolbarButton-documentProperties.png | Bin ...ondaryToolbarButton-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 ...olbarButton-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 .../down_arrow.png | Bin .../down_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/home.png | Bin .../left_arrow.png | Bin .../left_arrow_disabled.png | Bin .../img/uv-seadragoncenterpanel-module/pixel.gif | Bin .../right_arrow.png | Bin .../right_arrow_disabled.png | Bin .../rotate_right.png | Bin .../uv-seadragoncenterpanel-module/up_arrow.png | Bin .../up_arrow_disabled.png | Bin .../uv-seadragoncenterpanel-module/zoom_in.png | Bin .../uv-seadragoncenterpanel-module/zoom_out.png | Bin .../img/uv-searchfooterpanel-module/next.png | Bin .../placemarker_down.png | Bin .../placemarker_down_hover.png | Bin .../placemarker_up.png | Bin .../img/uv-searchfooterpanel-module/prev.png | Bin .../img/uv-searchfooterpanel-module/search.png | Bin .../img/uv-shared-module/arrows_left.png | Bin .../img/uv-shared-module/arrows_right.png | Bin .../img/uv-shared-module/bookmark.png | Bin .../img/uv-shared-module/close.png | Bin .../img/uv-shared-module/close_attribution.png | Bin .../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 0 -> 3362 bytes .../img/uv-shared-module/dialogue_arrow.png | Bin .../img/uv-shared-module/download.png | Bin .../img/uv-shared-module/embed.png | Bin .../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 .../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 .../img/uv-shared-module/print.png | Bin .../img/uv-shared-module/settings.png | Bin .../img/uv-shared-module/share.png | Bin .../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/_Version.ts | 2 +- src/lib/bundle.js | 6 +----- src/lib/bundle.min.js | 11 +++++++++++ src/lib/embed.js | 2 +- 556 files changed, 33 insertions(+), 26 deletions(-) delete mode 100644 dist/uv-1.8.38/lib/bundle.min.js rename dist/{uv-1.8.38 => uv-1.8.39}/app.html (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/html/uv-pdfcenterpanel-module/viewer.html (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ach/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ach/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/af/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/af/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ak/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ak/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/an/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/an/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ar/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ar/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/as/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/as/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ast/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ast/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/az/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/az/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/be/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/be/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bg/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bg/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bn-BD/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bn-BD/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bn-IN/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bn-IN/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/br/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/br/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bs/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/bs/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ca/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ca/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/cs/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/cs/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/csb/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/csb/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/cy/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/cy/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/da/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/da/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/de/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/de/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/el/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/el/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-GB/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-GB/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-US/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-US/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-ZA/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/en-ZA/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/eo/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/eo/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-AR/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-AR/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-CL/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-CL/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-ES/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-ES/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-MX/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/es-MX/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/et/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/et/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/eu/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/eu/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fa/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fa/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ff/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ff/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fi/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fi/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fr/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fr/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fy-NL/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/fy-NL/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ga-IE/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ga-IE/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gd/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gd/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gl/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gl/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gu-IN/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/gu-IN/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/he/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/he/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hi-IN/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hi-IN/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hr/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hr/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hu/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hu/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hy-AM/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/hy-AM/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/id/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/id/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/is/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/is/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/it/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/it/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ja/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ja/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ka/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ka/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/kk/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/kk/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/km/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/km/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/kn/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/kn/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ko/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ko/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ku/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ku/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lg/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lg/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lij/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lij/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/locale.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lt/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lt/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lv/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/lv/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mai/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mai/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mk/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mk/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ml/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ml/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mn/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mn/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mr/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/mr/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ms/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ms/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/my/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/my/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nb-NO/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nb-NO/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nl/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nl/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nn-NO/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nn-NO/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nso/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/nso/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/oc/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/oc/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/or/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/or/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pa-IN/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pa-IN/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pl/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pl/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pt-BR/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pt-BR/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pt-PT/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/pt-PT/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/rm/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/rm/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ro/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ro/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ru/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ru/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/rw/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/rw/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sah/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sah/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/si/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/si/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sk/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sk/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sl/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sl/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/son/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/son/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sq/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sq/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sr/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sr/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sv-SE/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sv-SE/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sw/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/sw/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ta-LK/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ta-LK/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ta/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ta/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/te/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/te/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/th/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/th/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tl/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tl/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tn/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tn/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tr/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/tr/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/uk/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/uk/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ur/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/ur/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/vi/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/vi/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/wo/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/wo/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/xh/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/xh/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zh-CN/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zh-CN/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zh-TW/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zh-TW/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zu/chrome.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/l10n/zu/viewer.properties (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/Detector.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/README.md (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/app.js (68%) create mode 100644 dist/uv-1.8.39/lib/bundle.min.js rename dist/{uv-1.8.38 => uv-1.8.39}/lib/compatibility.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/embed.js (99%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/flashmediaelement.swf (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/iiif-gallery-component.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/iiif-metadata-component.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/iiif-tree-component.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/l10n.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/mediaelement-and-player.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/openseadragon.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.worker.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf.worker.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdf_combined.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/pdfobject.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/stats.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/three.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-mediaelement-extension-dependencies.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-mediaelement-extension.cy-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-mediaelement-extension.en-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-pdf-extension-dependencies.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-pdf-extension.cy-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-pdf-extension.en-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-seadragon-extension-dependencies.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-seadragon-extension.cy-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-seadragon-extension.en-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-virtex-extension-dependencies.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-virtex-extension.cy-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/uv-virtex-extension.en-GB.config.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/viewer.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/viewer.min.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/lib/virtex.js (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-mediaelement-extension.cy-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-mediaelement-extension.en-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-pdf-extension.cy-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-pdf-extension.en-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-seadragon-extension.cy-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-seadragon-extension.en-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-virtex-extension.cy-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/schema/uv-virtex-extension.en-GB.schema.json (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/css/uv-mediaelement-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/css/uv-pdf-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/css/uv-seadragon-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/css/uv-virtex-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-contentleftpanel-module/padlock.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-contentleftpanel-module/thumb_placeholder.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/bigplay.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome-bg.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-mediaelementcenterpanel-module/loading.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-moreinforightpanel-module/copy.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/rotate_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_out.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/first.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/grid.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/last.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/one_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/prev.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/settings.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pagingheaderpanel-module/two_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-check.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-comment.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-help.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-insert.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-key.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-newparagraph.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-noicon.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-note.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/annotation-paragraph.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/grab.cur (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/grabbing.cur (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/loading-icon.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/loading-small.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/shadow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/texture.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewAttachments.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/home.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/pixel.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/rotate_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-seadragoncenterpanel-module/zoom_out.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_down.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_down_hover.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/placemarker_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/prev.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-searchfooterpanel-module/search.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/arrows_left.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/arrows_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/bookmark.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/close.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/close_attribution.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/close_information_box.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/close_message_box.png (100%) rename dist/{uv-1.8.38/themes/uv-en-GB-theme/img/uv-moreinforightpanel-module => uv-1.8.39/themes/uv-cy-GB-theme/img/uv-shared-module}/copy.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/dialogue_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/download.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/embed.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/error.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/exit_fullscreen.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/feedback.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/fullscreen.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/hidden_thumb.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/iiif.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/minus.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/modal_bg.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/moreinfo.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/open.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/plus.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/print.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/settings.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/share.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/sprite.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-shared-module/unavailable.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-virtexcenterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-cy-GB-theme/img/uv-virtexcenterpanel-module/zoom_out.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/css/uv-mediaelement-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/css/uv-pdf-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/css/uv-seadragon-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/css/uv-virtex-extension/theme.css (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/hamburger.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-contentleftpanel-module/padlock.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-contentleftpanel-module/thumb_placeholder.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/bigplay.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome-bg.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/controls-wellcome.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-mediaelementcenterpanel-module/loading.gif (100%) create mode 100644 dist/uv-1.8.39/themes/uv-en-GB-theme/img/uv-moreinforightpanel-module/copy.png rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/rotate_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-osdmobilefooterpanel-module/zoom_out.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/first.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/grid.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/last.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/one_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/prev.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/settings.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pagingheaderpanel-module/two_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-check.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-comment.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-help.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-insert.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-key.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-newparagraph.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-noicon.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-note.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/annotation-paragraph.svg (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-next@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/findbarButton-previous@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/grab.cur (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/grabbing.cur (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/loading-icon.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/loading-small.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-documentProperties@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-firstPage@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-handTool@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-lastPage@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCcw@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/secondaryToolbarButton-rotateCw@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/shadow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/texture.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-bookmark@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-download@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-menuArrows@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-openFile@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageDown@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-pageUp@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-presentationMode@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-print@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-search@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-secondaryToolbarToggle@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-sidebarToggle@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewAttachments.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline-rtl@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewOutline@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-viewThumbnail@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomIn@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-pdfcenterpanel-module/toolbarButton-zoomOut@2x.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/down_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/home.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/left_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/pixel.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/right_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/rotate_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/up_arrow_disabled.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-seadragoncenterpanel-module/zoom_out.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/next.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_down.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_down_hover.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/placemarker_up.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/prev.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-searchfooterpanel-module/search.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/arrows_left.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/arrows_right.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/bookmark.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/close.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/close_attribution.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/close_information_box.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/close_message_box.png (100%) create mode 100644 dist/uv-1.8.39/themes/uv-en-GB-theme/img/uv-shared-module/copy.png rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/dialogue_arrow.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/download.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/embed.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/error.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/exit_fullscreen.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/feedback.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/fullscreen.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/hidden_thumb.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/iiif.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/minus.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/modal_bg.gif (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/moreinfo.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/open.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/plus.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/print.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/settings.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/share.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/sprite.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-shared-module/unavailable.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/themes/uv-en-GB-theme/img/uv-virtexcenterpanel-module/zoom_in.png (100%) rename dist/{uv-1.8.38 => uv-1.8.39}/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 80a21cb11..f2474e47c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "Universal Viewer", - "version": "1.8.38", + "version": "1.8.39", "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-1.8.38/lib/bundle.min.js b/dist/uv-1.8.38/lib/bundle.min.js deleted file mode 100644 index 53f0b9706..000000000 --- a/dist/uv-1.8.38/lib/bundle.min.js +++ /dev/null @@ -1,11 +0,0 @@ -function Sanitize(){var i,options;for(options=arguments[0]||{},this.config={},this.config.elements=options.elements?options.elements:[],this.config.attributes=options.attributes?options.attributes:{},this.config.attributes[Sanitize.ALL]=this.config.attributes[Sanitize.ALL]?this.config.attributes[Sanitize.ALL]:[],this.config.allow_comments=!!options.allow_comments&&options.allow_comments,this.allowed_elements={},this.config.protocols=options.protocols?options.protocols:{},this.config.add_attributes=options.add_attributes?options.add_attributes:{},this.dom=options.dom?options.dom:document,i=0;i0;)this.current_element.removeChild(this.current_element.firstChild);parent_element.appendChild(this.current_element)}if(!this.config.remove_all_contents&&!this.config.remove_element_contents[name])for(i=0;ichars){var trimmedText=text.substr(0,chars);trimmedText=trimmedText.substr(0,Math.min(trimmedText.length,trimmedText.lastIndexOf(" "))),$self.empty().html(trimmedText+"…")}})},$.fn.ellipsisFill=function(text){var textPassed=!0;return text||(textPassed=!1),this.each(function(){var $self=$(this);if(textPassed||(text=$self.text()),$self.empty(),$self.spanElem=$(''),$self.append($self.spanElem),$self.css("overflow","hidden"),$self.spanElem.css("white-space","nowrap"),$self.spanElem.html(text),$self.spanElem.width()>$self.width())for(var lastText;$self.spanElem.width()>$self.width();){var t=$self.spanElem.html();if(t=t.substring(0,t.lastIndexOf(" "))+"…",t===lastText)break;$self.spanElem.html(t),lastText=t}})},$.fn.ellipsisFixed=function(chars,buttonText){return this.each(function(){var $self=$(this),text=$self.text();$self.empty();var $span=$(""),$ellipsis=$('');if(buttonText?$ellipsis.html(buttonText):$ellipsis.html("…"),$ellipsis.click(function(e){e.preventDefault();var $this=$(this);$span.html(text),$this.remove()}),text.length>chars){var trimmedText=text.substr(0,chars);trimmedText=trimmedText.substr(0,Math.min(trimmedText.length,trimmedText.lastIndexOf(" "))),$span.html(trimmedText+" "),$span.append($ellipsis)}else $span.html(text);$self.append($span)})},$.fn.ellipsisHtmlFixed=function(chars,cb){return this.each(function(){var $self=$(this),expandedText=$self.html(),$trunc=$("");if($trunc.html($self.html().replace(/\s[\s]*/g," ").trim()),!($trunc.text().trim().length<=chars)){for(;$trunc.text().trim().length>chars;)$trunc.removeLastWord(chars);var collapsedText=$trunc.html(),expanded=!1;$self.toggle=function(){$self.empty();var $toggleButton=$('');expanded?($self.html(expandedText+" "),$toggleButton.text("less"),$toggleButton.toggleClass("less","more")):($self.html(collapsedText+"… "),$toggleButton.text("more"),$toggleButton.toggleClass("more","less")),$toggleButton.one("click",function(e){e.preventDefault(),$self.toggle()}),expanded=!expanded,$self.append($toggleButton),cb&&cb()},$self.toggle()}})},$.fn.enable=function(){return this.each(function(){var $this=$(this);$this.removeClass("disabled"),$this.attr("tabindex",$this.data("tabindex"))})},$.fn.equaliseHeight=function(reset,average){var maxHeight=-1,minHeight=Number.MAX_VALUE,heights=[];reset&&this.each(function(){$(this).height("auto")}),this.each(function(){var currentHeight=$(this).height();heights.push(currentHeight),maxHeight=maxHeight>currentHeight?maxHeight:currentHeight,minHeight=minHeightmaxTabIndex&&(maxTabIndex=tabIndex,$elementWithGreatestTabIndex=$el)}),$elementWithGreatestTabIndex},$.fn.horizontalMargins=function(){var $self=$(this);return parseInt($self.css("marginLeft"))+parseInt($self.css("marginRight"))},$.fn.leftMargin=function(){var $self=$(this);return parseInt($self.css("marginLeft"))},$.fn.rightMargin=function(){var $self=$(this);return parseInt($self.css("marginRight"))},$.fn.horizontalPadding=function(){var $self=$(this);return parseInt($self.css("paddingLeft"))+parseInt($self.css("paddingRight"))},$.fn.leftPadding=function(){var $self=$(this);return parseInt($self.css("paddingLeft"))},$.fn.rightPadding=function(){var $self=$(this);return parseInt($self.css("paddingRight"))},$.mlp={x:0,y:0},$(documentHandler),$.fn.ismouseover=function(overThis){var result=!1;return this.eq(0).each(function(){var $current=$(this).is("iframe")?$(this).contents().find("body"):$(this),offset=$current.offset();result=offset.left<=$.mlp.x&&offset.left+$current.outerWidth()>$.mlp.x&&offset.top<=$.mlp.y&&offset.top+$current.outerHeight()>$.mlp.y}),result};var timer,on=$.fn.on;$.fn.on=function(){var args=Array.apply(null,arguments),last=args[args.length-1];if(isNaN(last)||1===last&&args.pop())return on.apply(this,args);var delay=args.pop(),fn=args.pop();return args.push(function(){var self=this,params=arguments;clearTimeout(timer),timer=setTimeout(function(){fn.apply(self,params)},delay)}),on.apply(this,args)},$.fn.onEnter=function(cb){return this.each(function(){var $this=$(this);$this.on("keyup",function(e){13===e.keyCode&&(e.preventDefault(),cb())})})},$.fn.onPressed=function(cb){return this.each(function(){var $this=$(this);$this.on("touchstart click",function(e){e.preventDefault(),cb(e)}),$this.on("keyup",function(e){13===e.keyCode&&(e.preventDefault(),cb(e))})})},$.fn.removeLastWord=function(chars,depth){return"undefined"==typeof chars&&(chars=8),"undefined"==typeof depth&&(depth=0),this.each(function(){var $self=$(this);if($self.contents().length>0){var $lastElement=$self.contents().last();if(3===$lastElement[0].nodeType){var words=$lastElement.text().trim().split(" ");if(words.length>1)return words.splice(words.length-1,1),void($lastElement[0].data=words.join(" "));if("undefined"!=typeof chars&&1===words.length&&words[0].length>chars)return void($lastElement[0].data=words.join(" ").substring(0,chars))}$lastElement.removeLastWord(chars,depth+1)}else depth>0&&$self.remove()})},$.fn.swapClass=function(removeClass,addClass){return this.each(function(){$(this).removeClass(removeClass).addClass(addClass)})},$.fn.targetBlank=function(){return this.each(function(){$(this).find("a").prop("target","_blank")})},$.fn.toggleClass=function(class1,class2){return this.each(function(){var $this=$(this);$this.hasClass(class1)?$(this).removeClass(class1).addClass(class2):$(this).removeClass(class2).addClass(class1)})},$.fn.toggleExpandText=function(chars,lessText,moreText,cb){return this.each(function(){var $self=$(this),expandedText=$self.html();if(!(chars>expandedText.length)){var expanded=!1,collapsedText=expandedText.substr(0,chars);collapsedText=collapsedText.substr(0,Math.min(collapsedText.length,collapsedText.lastIndexOf(" "))),$self.toggle=function(){$self.empty();var $toggleButton=$('');expanded?($self.html(expandedText+" "),$toggleButton.text(lessText),$toggleButton.toggleClass("less","more")):($self.html(collapsedText+" "),$toggleButton.text(moreText),$toggleButton.toggleClass("more","less")),$toggleButton.one("click",function(e){e.preventDefault(),$self.toggle()}),expanded=!expanded,$self.append($toggleButton),cb&&cb()},$self.toggle()}})},$.fn.toggleExpandTextByLines=function(lines,lessText,moreText,cb){return this.each(function(){for(var $self=$(this),expandedText=$self.html(),$buttonPad=$('morepad'),stringsByLine=[expandedText],lastHeight=$self.height();$self.text().length>0;){$self.removeLastWord();var html=$self.html();$self.append($buttonPad),lastHeight>$self.height()&&(stringsByLine.unshift(html),lastHeight=$self.height()),$buttonPad.remove()}if(stringsByLine.length<=lines)return void $self.html(expandedText);var collapsedText=stringsByLine[lines-1],expanded=!1;$self.toggle=function(){$self.empty();var $toggleButton=$('');expanded?($self.html(expandedText+" "),$toggleButton.text(lessText),$toggleButton.toggleClass("less","more")):($self.html(collapsedText+"… "),$toggleButton.text(moreText),$toggleButton.toggleClass("more","less")),$toggleButton.one("click",function(e){e.preventDefault(),$self.toggle()}),expanded=!expanded,$self.append($toggleButton),cb&&cb()},$self.toggle()})},$.fn.toggleText=function(text1,text2){return this.each(function(){var $this=$(this);$this.text()===text1?$(this).text(text2):$(this).text(text1)})},$.fn.updateAttr=function(attrName,oldVal,newVal){return this.each(function(){var $this=$(this),attr=$this.attr(attrName);attr&&0===attr.indexOf(oldVal)&&(attr=attr.replace(oldVal,newVal),$this.attr(attrName,attr))})},$.fn.verticalMargins=function(){var $self=$(this);return parseInt($self.css("marginTop"))+parseInt($self.css("marginBottom"))},$.fn.verticalPadding=function(){var $self=$(this);return parseInt($self.css("paddingTop"))+parseInt($self.css("paddingBottom"))}}(jQuery),!function(a){var b=null;a.initPubSub=function(){b=a({})},a.subscribe=function(){b||a.initPubSub(),b.on.apply(b,arguments)},a.unsubscribe=function(){b||a.initPubSub(),b.off.apply(b,arguments)},a.disposePubSub=function(){b=null},a.publish=function(){b||a.initPubSub(),b.trigger.apply(b,arguments)}}(jQuery);var KeyCodes;!function(KeyCodes){var KeyDown;!function(KeyDown){KeyDown.Backspace=8,KeyDown.Tab=9,KeyDown.Enter=13,KeyDown.Shift=16,KeyDown.Ctrl=17,KeyDown.Alt=18,KeyDown.PauseBreak=19,KeyDown.CapsLock=20,KeyDown.Escape=27,KeyDown.Spacebar=32,KeyDown.PageUp=33,KeyDown.PageDown=34,KeyDown.End=35,KeyDown.Home=36,KeyDown.LeftArrow=37,KeyDown.UpArrow=38,KeyDown.RightArrow=39,KeyDown.DownArrow=40,KeyDown.PrintScrn=44,KeyDown.Insert=45,KeyDown.Delete=46,KeyDown.Zero=48,KeyDown.One=49,KeyDown.Two=50,KeyDown.Three=51,KeyDown.Four=52,KeyDown.Five=53,KeyDown.Six=54,KeyDown.Seven=55,KeyDown.Eight=56,KeyDown.Nine=57,KeyDown.a=65,KeyDown.b=66,KeyDown.c=67,KeyDown.d=68,KeyDown.e=69,KeyDown.f=70,KeyDown.g=71,KeyDown.h=72,KeyDown.i=73,KeyDown.j=74,KeyDown.k=75,KeyDown.l=76,KeyDown.m=77,KeyDown.n=78,KeyDown.o=79,KeyDown.p=80,KeyDown.q=81,KeyDown.r=82,KeyDown.s=83,KeyDown.t=84,KeyDown.u=85,KeyDown.v=86,KeyDown.w=87,KeyDown.x=88,KeyDown.y=89,KeyDown.z=90,KeyDown.LeftWindowKey=91,KeyDown.RightWindowKey=92,KeyDown.SelectKey=93,KeyDown.Numpad0=96,KeyDown.Numpad1=97,KeyDown.Numpad2=98,KeyDown.Numpad3=99,KeyDown.Numpad4=100,KeyDown.Numpad5=101,KeyDown.Numpad6=102,KeyDown.Numpad7=103,KeyDown.Numpad8=104,KeyDown.Numpad9=105,KeyDown.Multiply=106,KeyDown.NumpadPlus=107,KeyDown.NumpadMinus=109,KeyDown.DecimalPoint=110,KeyDown.Divide=111,KeyDown.F1=112,KeyDown.F2=113,KeyDown.F3=114,KeyDown.F4=115,KeyDown.F5=116,KeyDown.F6=117,KeyDown.F7=118,KeyDown.F8=119,KeyDown.F9=120,KeyDown.F10=121,KeyDown.F11=122,KeyDown.F12=123, -KeyDown.NumLock=144,KeyDown.ScrollLock=145,KeyDown.Semicolon=186,KeyDown.Equals=187,KeyDown.Comma=188,KeyDown.LessThan=188,KeyDown.Dash=189,KeyDown.Period=190,KeyDown.GreaterThan=190,KeyDown.ForwardSlash=191,KeyDown.QuestionMark=191,KeyDown.GraveAccent=192,KeyDown.Tilde=192,KeyDown.OpenCurlyBracket=219,KeyDown.OpenSquareBracket=219,KeyDown.BackSlash=220,KeyDown.VerticalPipe=220,KeyDown.CloseCurlyBracket=221,KeyDown.CloseSquareBracket=221,KeyDown.Quote=222,KeyDown.CommandFF=224}(KeyDown=KeyCodes.KeyDown||(KeyCodes.KeyDown={}))}(KeyCodes||(KeyCodes={}));var KeyCodes;!function(KeyCodes){var KeyPress;!function(KeyPress){KeyPress.Backspace=8,KeyPress.Enter=13,KeyPress.Spacebar=32,KeyPress.Hash=35,KeyPress.GraveAccent=39,KeyPress.ForwardSlash=32,KeyPress.Asterisk=42,KeyPress.Plus=43,KeyPress.Comma=44,KeyPress.Minus=45,KeyPress.Period=46,KeyPress.ForwardSlash=47,KeyPress.Zero=48,KeyPress.One=49,KeyPress.Two=50,KeyPress.Three=51,KeyPress.Four=52,KeyPress.Five=53,KeyPress.Six=54,KeyPress.Seven=55,KeyPress.Eight=56,KeyPress.Nine=57,KeyPress.Colon=58,KeyPress.Semicolon=59,KeyPress.LessThan=60,KeyPress.Equals=61,KeyPress.GreaterThan=62,KeyPress.QuestionMark=63,KeyPress.At=64,KeyPress.OpenSquareBracket=91,KeyPress.BackSlash=92,KeyPress.CloseSquareBracket=93,KeyPress.a=97,KeyPress.b=98,KeyPress.c=99,KeyPress.d=100,KeyPress.e=101,KeyPress.f=102,KeyPress.g=103,KeyPress.h=104,KeyPress.i=105,KeyPress.j=106,KeyPress.k=107,KeyPress.l=108,KeyPress.m=109,KeyPress.n=110,KeyPress.o=111,KeyPress.p=112,KeyPress.q=113,KeyPress.r=114,KeyPress.s=115,KeyPress.t=116,KeyPress.u=117,KeyPress.v=118,KeyPress.w=119,KeyPress.x=120,KeyPress.y=121,KeyPress.z=122,KeyPress.OpenCurlyBracket=123,KeyPress.VerticalPipe=124,KeyPress.CloseCurlyBracket=125,KeyPress.Tilde=126}(KeyPress=KeyCodes.KeyPress||(KeyCodes.KeyPress={}))}(KeyCodes||(KeyCodes={}));var exjs;!function(r){r.version="0.4.0"}(exjs||(exjs={}));var exjs;!function(r){Array.isArray||(Array.isArray=function(r){return"[object Array]"===Object.prototype.toString.call(r)})}(exjs||(exjs={}));var exjs;!function(r){var e=function(){function r(){}return r.prototype.getEnumerator=function(){return{moveNext:function(){return!1},current:void 0}},r.prototype.aggregate=function(r,e){for(var t=r,n=this.getEnumerator();n.moveNext();)t=e(t,n.current);return t},r.prototype.all=function(r){if(r)for(var e=this.getEnumerator(),t=0;e.moveNext();){if(!r(e.current,t))return!1;t++}return!0},r.prototype.any=function(r){for(var e=this.getEnumerator(),t=0;e.moveNext();){if(!r)return!0;if(r(e.current,t))return!0;t++}return!1},r.prototype.append=function(){for(var r=[],e=0;e-1&&(this._keys.splice(e,1),this._values.splice(e,1),this.size--,!0)},e.prototype.entries=function(){var e=this;return r.range(0,this.size).select(function(r){return[e._keys[r],e._values[r]]})},e.prototype.forEach=function(r,e){null==e&&(e=this);for(var t=0,n=this._keys,o=this._values,u=n.length;u>t;t++)r.call(e,o[t],n[t],this)},e.prototype.get=function(r){var e=this._keys.indexOf(r);return this._values[e]},e.prototype.has=function(r){return this._keys.indexOf(r)>-1},e.prototype.keys=function(){return this._keys.en()},e.prototype.set=function(r,e){var t=this._keys.indexOf(r);t>-1?this._values[t]=e:(this._keys.push(r),this._values.push(e),this.size++)},e.prototype.values=function(){return this._values.en()},e}();r.Map3=e,r.Enumerable.prototype.toMap=function(r,t){for(var n=new e,o=this.getEnumerator();o.moveNext();)n.set(r(o.current),t(o.current));return n},r.List&&(r.List.prototype.toMap=r.Enumerable.prototype.toMap)}(exjs||(exjs={})),function(r){r.Map||(r.Map=exjs.Map3)}("undefined"==typeof window?global:window);var exjs;!function(r){function e(e){var t=new r.Enumerable;return t.getEnumerator=function(){var r={current:void 0,moveNext:function(){return e(r)}};return r},t}r.anonymous=e}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n,o=1,u={current:void 0,moveNext:function(){if(2>o){if(t=t||r.getEnumerator(),t.moveNext())return u.current=t.current,!0;o++}return n=n||e.en().getEnumerator(),n.moveNext()?(u.current=n.current,!0):(u.current=void 0,!1)}};return u}r.Enumerable.prototype.append=function(){for(var t=this,n=[],o=0;o=e?(t.current=void 0,!1):(t.current=r[n],!0)},t}function t(){return this&&Array.isArray(this)?new n(this):new r.Enumerable}var n=function(r){function t(t){r.call(this),this.getEnumerator=function(){return e(t)},this.toArray=function(){return t.slice(0)}}return __extends(t,r),t}(r.Enumerable);try{Object.defineProperty(Array.prototype,"en",{value:t,enumerable:!1,writable:!1,configurable:!1})}catch(o){Array.prototype.en=t}}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n=!1,o={current:void 0,moveNext:function(){return t||(t=r.getEnumerator()),o.current=void 0,t.moveNext()?(o.current=t.current,!0):!n&&(n=!0,t=e.getEnumerator(),!!t.moveNext()&&(o.current=t.current,!0))}};return o}r.Enumerable.prototype.concat=function(t){var n=this,o=t instanceof Array?t.en():t,u=new r.Enumerable;return u.getEnumerator=function(){return e(n,o)},u},r.List&&(r.List.prototype.concat=r.Enumerable.prototype.concat)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n=[],o={current:void 0,moveNext:function(){if(t||(t=r.getEnumerator()),o.current=void 0,!e){for(;t.moveNext();)if(n.indexOf(t.current)<0)return n.push(o.current=t.current),!0;return!1}for(;t.moveNext();){for(var u=0,i=n.length,c=!1;i>u&&!c;u++)c=!!e(n[u],t.current);if(!c)return n.push(o.current=t.current),!0}return!1}};return o}r.Enumerable.prototype.distinct=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.List&&(r.List.prototype.distinct=r.Enumerable.prototype.distinct)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e,t){t=t||function(r,e){return r===e};var n,o={current:void 0,moveNext:function(){for(n||(n=r.getEnumerator()),o.current=void 0;n.moveNext();){for(var u=!1,i=e.getEnumerator();i.moveNext()&&!u;)u=t(n.current,i.current);if(!u)return o.current=n.current,!0}return!1}};return o}r.Enumerable.prototype.except=function(t,n){var o=this,u=t instanceof Array?t.en():t,i=new r.Enumerable;return i.getEnumerator=function(){return e(o,u,n)},i},r.List&&(r.List.prototype.except=r.Enumerable.prototype.except)}(exjs||(exjs={})),Function.prototype.fromJson=function(r,e){function t(r,e){if(null==r)return r;if(e instanceof Function)return e(r);if(e instanceof Array){if(e=e[0],!(e instanceof Function&&r instanceof Array))return;for(var t=[],n=0;n-1)){var i=t(r[u],this.$jsonMappings[u]);void 0!==i&&(n[u]=i,o.push(u))}for(var u in r)o.indexOf(u)>-1||(n[u]=r[u]);return n};var exjs;!function(r){function e(r,e,n){var o,u=0,i={current:void 0,moveNext:function(){return o||(o=t(r,e,n)),i.current=void 0,!(u>=o.length)&&(i.current=o[u],u++,!0)}};return i}function t(r,e,t){t=t||function(r,e){return r===e};for(var o,u=[],i=[],c=r.getEnumerator();c.moveNext();){o=e(c.current);for(var a=-1,p=0,s=i.length;s>p;p++)if(t(o,i[p])){a=p;break}var f;0>a?(i.push(o),u.push(f=new n(o))):f=u[a],f._add(c.current)}return u}var n=function(r){function e(e){var t=this;r.call(this),this.key=e,this._arr=[],this.getEnumerator=function(){return t._arr.en().getEnumerator()}}return __extends(e,r),e.prototype._add=function(r){this._arr.push(r)},e}(r.Enumerable);r.Enumerable.prototype.groupBy=function(t,n){var o=this,u=new r.Enumerable;return u.getEnumerator=function(){return e(o,t,n)},u},r.List&&(r.List.prototype.groupBy=r.Enumerable.prototype.groupBy)}(exjs||(exjs={}));var exjs;!function(r){function e(e,t,n){n=n||function(r,e){return r===e};var o,u={current:void 0,moveNext:function(){for(o||(o=r.en(e).distinct().getEnumerator()),u.current=void 0;o.moveNext();){for(var i=!1,c=t.getEnumerator();c.moveNext()&&!i;)i=n(o.current,c.current);if(i)return u.current=o.current,!0}return!1}};return u}r.Enumerable.prototype.intersect=function(t,n){var o=this,u=t instanceof Array?t.en():t,i=new r.Enumerable;return i.getEnumerator=function(){return e(o,u,n)},i},r.List&&(r.List.prototype.intersect=r.Enumerable.prototype.intersect)}(exjs||(exjs={}));var exjs;!function(r){function e(e,t,n,o,u,i){i=i||function(r,e){return r===e};var c,a,p=0,s={current:void 0,moveNext:function(){if(s.current=void 0,!c){if(c=e.getEnumerator(),!c.moveNext())return!1;a=r.en(t).toArray()}var f;do{for(;p=e?(t.current=void 0,!1):(t.current=r[n],!0)},t},t.prototype.remove=function(r){return this.removeWhere(function(e){return e===r}).any()},t.prototype.removeWhere=function(r){for(var e,t=[],n=this.length-1;n>=0;n--)e=this[n],r(e,n)===!0&&(this.splice(n,1),t.push(e));return t.en().reverse()}}(exjs||(exjs={}));var exjs;!function(r){function e(r,e,n,o){return new t(r,e,n,o)}var t=function(e){function t(r,t,n,o){e.call(this),this.Source=r,o=o||function(r,e){return r>e?1:e>r?-1:0};var u=n===!0?-1:1;this.Sorter=function(r,e){return u*o(t(r),t(e))}}return __extends(t,e),t.prototype.getEnumerator=function(){var e,t=this.Source,n=this.Sorter,o=0,u={current:void 0,moveNext:function(){return e||(e=r.en(t).toArray(),e.sort(n)),u.current=void 0,!(o>=e.length)&&(u.current=e[o],o++,!0)}};return u},t.prototype.thenBy=function(r,e){return new n(this,r,(!1),e)},t.prototype.thenByDescending=function(r,e){return new n(this,r,(!0),e)},t}(r.Enumerable),n=function(r){function e(e,t,n,o){r.call(this,e,t,n,o);var u=e.Sorter,i=this.Sorter;this.Sorter=function(r,e){return u(r,e)||i(r,e)}}return __extends(e,r),e}(t),o=r.Enumerable.prototype;o.orderBy=function(r,t){return e(this,r,!1,t)},o.orderByDescending=function(r,t){return e(this,r,!0,t)},r.List&&(r.List.prototype.orderBy=r.Enumerable.prototype.orderBy,r.List.prototype.orderByDescending=r.Enumerable.prototype.orderByDescending)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n,o=1,u={current:void 0,moveNext:function(){if(2>o){if(t=t||e.en().getEnumerator(),t.moveNext())return u.current=t.current,!0;o++}return n=n||r.getEnumerator(),n.moveNext()?(u.current=n.current,!0):(u.current=void 0,!1)}};return u}r.Enumerable.prototype.prepend=function(){for(var t=this,n=[],o=0;o=e)&&(o.current=n,!0)}};return o}function t(t,n,o){if(t=t||0,n=n||0,t>n)throw new Error("Start cannot be greater than end.");null==o&&(o=1);var u=new r.Enumerable;return u.getEnumerator=function(){return e(t,n,o)},u}r.range=t}(exjs||(exjs={}));var exjs;!function(r){function e(e){var t,n=0,o={current:void 0,moveNext:function(){return t||(t=r.en(e).toArray(),n=t.length),n--,o.current=t[n],n>=0}};return o}r.Enumerable.prototype.reverse=function(){var t=this,n=new r.Enumerable;return n.getEnumerator=function(){return e(t)},n},r.List&&(r.List.prototype.reverse=r.Enumerable.prototype.reverse)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){if(e=e||0,0===e)return Math.round(r);var t=Math.pow(10,e);return Math.round(r*t)/t}r.round=e}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n=0,o={current:void 0,moveNext:function(){return t||(t=r.getEnumerator()),!!t.moveNext()&&(o.current=e(t.current,n),n++,!0)}};return o}function t(e,t){var n,o,u={current:void 0,moveNext:function(){for(u.current=void 0,n||(n=e.getEnumerator());!o||!o.moveNext();){if(!n.moveNext())return!1;o=r.selectorEnumerator(t(n.current))}return u.current=o.current,!0}};return u}r.Enumerable.prototype.select=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.Enumerable.prototype.selectMany=function(e){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return t(n,e)},o},r.List&&(r.List.prototype.select=r.Enumerable.prototype.select,r.List.prototype.selectMany=r.Enumerable.prototype.selectMany)}(exjs||(exjs={}));var exjs;!function(r){function e(r){return Array.isArray(r)?r.en().getEnumerator():null!=r&&"function"==typeof r.getEnumerator?r.getEnumerator():null}r.selectorEnumerator=e}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n={current:void 0,moveNext:function(){if(!t){t=r.getEnumerator();for(var o=0;e>o;o++)if(!t.moveNext())return!1}return t.moveNext()?(n.current=t.current,!0):(n.current=void 0,!1)}};return n}function t(r,e){var t,n={current:void 0,moveNext:function(){if(!t){t=r.getEnumerator();for(var o=0;t.moveNext();o++)if(!e(n.current=t.current,o))return!0;return n.current=void 0,!1}return t.moveNext()?(n.current=t.current,!0):(n.current=void 0,!1)}};return n}r.Enumerable.prototype.skip=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.Enumerable.prototype.skipWhile=function(e){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return t(n,e)},o},r.List&&(r.List.prototype.skip=r.Enumerable.prototype.skip,r.List.prototype.skipWhile=r.Enumerable.prototype.skipWhile)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n=0,o={current:void 0,moveNext:function(){return t||(t=r.getEnumerator()),n++,!(n>e)&&(o.current=void 0,!!t.moveNext()&&(o.current=t.current,!0))}};return o}function t(r,e){var t,n=0,o={current:void 0,moveNext:function(){return t||(t=r.getEnumerator()),t.moveNext()&&e(t.current,n)?(n++,o.current=t.current,!0):(o.current=void 0,!1)}};return o}r.Enumerable.prototype.take=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.Enumerable.prototype.takeWhile=function(e){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return t(n,e)},o},r.List&&(r.List.prototype.take=r.Enumerable.prototype.take,r.List.prototype.takeWhile=r.Enumerable.prototype.takeWhile)}(exjs||(exjs={}));var exjs;!function(r){function e(e,t){var n,o=!1,u=[],i={current:void 0,moveNext:function(){if(o){if(null==n)return!1;u.push(n),n=r.selectorEnumerator(t(i.current))}else n=e.getEnumerator(),o=!0;for(;!(n&&n.moveNext()||u.length<1);)n=u.pop();return i.current=null==n?void 0:n.current,void 0!==i.current}};return i}function t(e,t,n){var o,u=!1,i=[],c={current:void 0,moveNext:function(){if(u){if(null==o)return!1;i.push(o),o=r.selectorEnumerator(t(c.current))}else o=e.getEnumerator(),u=!0;do{for(;!(o&&o.moveNext()||i.length<1);)o=i.pop();c.current=null==o?void 0:o.current}while(n(c.current));return void 0!==c.current}};return c}r.Enumerable.prototype.traverse=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.Enumerable.prototype.traverseUnique=function(e,n){var o=this,u=[],i=new r.Enumerable;return n?i.getEnumerator=function(){return t(o,e,function(r){return!!u.some(function(e){return n(r,e)})||(u.push(r),!1)})}:i.getEnumerator=function(){return t(o,e,function(r){return u.indexOf(r)>-1||(u.push(r),!1)})},i},r.List&&(r.List.prototype.traverse=r.Enumerable.prototype.traverse,r.List.prototype.traverseUnique=r.Enumerable.prototype.traverseUnique)}(exjs||(exjs={}));var exjs;!function(r){function e(e,t,n){n=n||function(r,e){return r===e};var o,u,i=[],c={current:void 0,moveNext:function(){if(o||(o=r.en(e).distinct().getEnumerator()),c.current=void 0,!u&&o.moveNext())return i.push(c.current=o.current),!0;for(u=u||r.en(t).distinct().getEnumerator();u.moveNext();){for(var a=0,p=!1,s=i.length;s>a&&!p;a++)p=n(i[a],u.current);if(!p)return c.current=u.current,!0}return!1}};return c}r.Enumerable.prototype.union=function(t,n){var o=this,u=t instanceof Array?t.en():t,i=new r.Enumerable;return i.getEnumerator=function(){return e(o,u,n)},i},r.List&&(r.List.prototype.union=r.Enumerable.prototype.union)}(exjs||(exjs={}));var exjs;!function(r){function e(r,e){var t,n={current:void 0,moveNext:function(){t||(t=r.getEnumerator());for(var o;t.moveNext();)if(e(o=t.current))return n.current=o,!0;return!1}};return n}r.Enumerable.prototype.where=function(t){var n=this,o=new r.Enumerable;return o.getEnumerator=function(){return e(n,t)},o},r.List&&(r.List.prototype.where=r.Enumerable.prototype.where)}(exjs||(exjs={}));var exjs;!function(r){function e(e){var n=new r.Enumerable;return n.getEnumerator=function(){return t(e)},n}function t(r){var e=r.getEnumerator(),t={current:void 0,moveNext:void 0};return t.moveNext=function(){return e.moveNext()?(t.current=e.current,!0):(t.current=void 0,!1)},t}r.en=e}(exjs||(exjs={}));var ex=exjs.en,exjs;!function(r){function e(r,e,t){var n,o,u={current:void 0,moveNext:function(){return n||(n=r.getEnumerator()),o||(o=e.getEnumerator()),u.current=void 0,!(!n.moveNext()||!o.moveNext())&&(u.current=t(n.current,o.current),!0)}};return u}r.Enumerable.prototype.zip=function(t,n){var o=this,u=t instanceof Array?t.en():t,i=new r.Enumerable;return i.getEnumerator=function(){return e(o,u,n)},i},r.List&&(r.List.prototype.zip=r.Enumerable.prototype.zip)}(exjs||(exjs={})),Array.prototype.clone||(Array.prototype.clone=function(){return this.slice(0)}),Array.prototype.contains||(Array.prototype.contains=function(val){return-1!==this.indexOf(val)}),Array.prototype.indexOf||(Array.prototype.indexOf=function(searchElement,fromIndex){var i=fromIndex||0,j=this.length;for(i;j>i;i++)if(this[i]===searchElement)return i;return-1}),Array.prototype.indexOfTest=function(test,fromIndex){var i=fromIndex||0,j=this.length;for(i;j>i;i++)if(test(this[i]))return i;return-1},Array.prototype.insert=function(item,index){this.splice(index,0,item)},Array.prototype.last||(Array.prototype.last=function(){return this[this.length-1]}),Array.prototype.move=function(fromIndex,toIndex){this.splice(toIndex,0,this.splice(fromIndex,1)[0])},Array.prototype.remove=function(item){var index=this.indexOf(item);index>-1&&this.splice(index,1)},Array.prototype.removeAt=function(index){this.splice(index,1)},Math.clamp=function(value,min,max){return Math.min(Math.max(value,min),max)},Math.constrain=function(value,low,high){return Math.clamp(value,low,high)},Math.degreesToRadians=function(degrees){return Math.TAU*(degrees/360)},Math.distanceBetween=function(x1,y1,x2,y2){return Math.sqrt(Math.sq(x2-x1)+Math.sq(y2-y1))},Math.lerp=function(start,stop,amount){return start+(stop-start)*amount},Math.mag=function(a,b,c){return Math.sqrt(a*a+b*b+c*c)},Math.map=function(value,start1,stop1,start2,stop2){return start2+(stop2-start2)*((value-start1)/(stop1-start1))},Math.median=function(values){values.sort(function(a,b){return a-b});var half=Math.floor(values.length/2);return values.length%2?values[half]:(values[half-1]+values[half])/2},Math.normalise=function(num,min,max){return(num-min)/(max-min)},Math.radiansToDegrees=function(radians){return 360*radians/Math.TAU},Math.randomBetween=function(low,high){return high||(high=low,low=0),low>=high?low:low+(high-low)*Math.random()},Math.roundToDecimalPlace=function(num,dec){return Math.round(num*Math.pow(10,dec))/Math.pow(10,dec)},Math.sq=function(n){return n*n},Math.TAU=2*Math.PI,Number.prototype.isInteger||(Number.prototype.isInteger=function(){return this%1===0}),"function"!=typeof Object.create&&(Object.create=function(o,props){function F(){}F.prototype=o;var result=new F;if("object"==typeof props)for(var prop in props)props.hasOwnProperty(prop)&&(result[prop]=props[prop].value);return result}),Object.keys||(Object.keys=function(){var hasOwnProperty=Object.prototype.hasOwnProperty,hasDontEnumBug=!{toString:null}.propertyIsEnumerable("toString"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;return function(obj){if("object"!=typeof obj&&"function"!=typeof obj||null===obj)throw new TypeError("Object.keys called on non-object");var result=[];for(var prop in obj)hasOwnProperty.call(obj,prop)&&result.push(prop);if(hasDontEnumBug)for(var i=0;dontEnumsLength>i;i++)hasOwnProperty.call(obj,dontEnums[i])&&result.push(dontEnums[i]);return result}}()),String.prototype.b64_to_utf8=function(){return decodeURIComponent(escape(window.atob(this)))},String.prototype.contains=function(str){return-1!==this.indexOf(str)},String.prototype.endsWith||(String.prototype.endsWith=function(str){return-1!==this.indexOf(str,this.length-str.length)}),String.format=function(){for(var s=arguments[0],i=0;ii;i++)chr=this.charCodeAt(i),hash=(hash<<5)-hash+chr,hash|=0;return hash.toString()},String.prototype.isAlphanumeric=function(){return/^[a-zA-Z0-9]*$/.test(this)},String.prototype.ltrim=function(){return this.replace(/^\s+/,"")},String.prototype.rtrim=function(){return this.replace(/\s+$/,"")},String.prototype.startsWith||(String.prototype.startsWith=function(str){return 0==this.indexOf(str)}),String.prototype.toCssClass=function(){return this.replace(/[^a-z0-9]/g,function(s){var c=s.charCodeAt(0);return 32==c?"-":c>=65&&90>=c?"_"+s.toLowerCase():"__"+("000"+c.toString(16)).slice(-4)})},String.prototype.toFileName=function(){return this.replace(/[^a-z0-9]/gi,"_").toLowerCase()},String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}),String.prototype.utf8_to_b64=function(){return window.btoa(unescape(encodeURIComponent(this)))};var HTTPStatusCode;!function(HTTPStatusCode){HTTPStatusCode.CONTINUE=100,HTTPStatusCode.SWITCHING_PROTOCOLS=101,HTTPStatusCode.PROCESSING=102,HTTPStatusCode.OK=200,HTTPStatusCode.CREATED=201,HTTPStatusCode.ACCEPTED=202,HTTPStatusCode.NON_AUTHORITATIVE_INFORMATION=203,HTTPStatusCode.NO_CONTENT=204,HTTPStatusCode.RESET_CONTENT=205,HTTPStatusCode.PARTIAL_CONTENT=206,HTTPStatusCode.MULTI_STATUS=207,HTTPStatusCode.MULTIPLE_CHOICES=300,HTTPStatusCode.MOVED_PERMANENTLY=301,HTTPStatusCode.MOVED_TEMPORARILY=302,HTTPStatusCode.SEE_OTHER=303,HTTPStatusCode.NOT_MODIFIED=304,HTTPStatusCode.USE_PROXY=305,HTTPStatusCode.TEMPORARY_REDIRECT=307,HTTPStatusCode.BAD_REQUEST=400,HTTPStatusCode.UNAUTHORIZED=401,HTTPStatusCode.PAYMENT_REQUIRED=402,HTTPStatusCode.FORBIDDEN=403,HTTPStatusCode.NOT_FOUND=404,HTTPStatusCode.METHOD_NOT_ALLOWED=405,HTTPStatusCode.NOT_ACCEPTABLE=406,HTTPStatusCode.PROXY_AUTHENTICATION_REQUIRED=407,HTTPStatusCode.REQUEST_TIME_OUT=408,HTTPStatusCode.CONFLICT=409,HTTPStatusCode.GONE=410,HTTPStatusCode.LENGTH_REQUIRED=411,HTTPStatusCode.PRECONDITION_FAILED=412,HTTPStatusCode.REQUEST_ENTITY_TOO_LARGE=413,HTTPStatusCode.REQUEST_URI_TOO_LARGE=414,HTTPStatusCode.UNSUPPORTED_MEDIA_TYPE=415,HTTPStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE=416,HTTPStatusCode.EXPECTATION_FAILED=417,HTTPStatusCode.IM_A_TEAPOT=418,HTTPStatusCode.UNPROCESSABLE_ENTITY=422,HTTPStatusCode.LOCKED=423,HTTPStatusCode.FAILED_DEPENDENCY=424,HTTPStatusCode.UNORDERED_COLLECTION=425,HTTPStatusCode.UPGRADE_REQUIRED=426,HTTPStatusCode.PRECONDITION_REQUIRED=428,HTTPStatusCode.TOO_MANY_REQUESTS=429,HTTPStatusCode.REQUEST_HEADER_FIELDS_TOO_LARGE=431,HTTPStatusCode.INTERNAL_SERVER_ERROR=500,HTTPStatusCode.NOT_IMPLEMENTED=501,HTTPStatusCode.BAD_GATEWAY=502,HTTPStatusCode.SERVICE_UNAVAILABLE=503,HTTPStatusCode.GATEWAY_TIME_OUT=504,HTTPStatusCode.HTTP_VERSION_NOT_SUPPORTED=505,HTTPStatusCode.VARIANT_ALSO_NEGOTIATES=506,HTTPStatusCode.INSUFFICIENT_STORAGE=507,HTTPStatusCode.BANDWIDTH_LIMIT_EXCEEDED=509,HTTPStatusCode.NOT_EXTENDED=510,HTTPStatusCode.NETWORK_AUTHENTICATION_REQUIRED=511}(HTTPStatusCode||(HTTPStatusCode={})),function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{ -var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.manifesto=f()}}(function(){var define;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o-1||this.externalResource.data["@context"].indexOf("/1.1/context.json")>-1||this.externalResource.data["@context"].indexOf("/1/context.json")>-1)&&(quality="native");else{var images=this.getImages();if(images&&images.length){var firstImage=images[0],resource=firstImage.getResource(),services=resource.getServices();if(width||(width=resource.getWidth()),services.length){var service=services[0];id=service.id,quality=Manifesto.Utils.getImageQuality(service.getProfile())}}if(!id)return"undefined"==typeof this.__jsonld.thumbnail?null:this.__jsonld.thumbnail}size=width+",";var uri=[id,region,size,rotation,quality+".jpg"].join("/");return uri},Canvas.prototype.getImages=function(){var images=[];if(!this.__jsonld.images)return images;for(var i=0;i1},Manifest.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?new Manifesto.ViewingDirection(this.getProperty("viewingDirection")):Manifesto.ViewingDirection.LEFTTORIGHT},Manifest.prototype.getViewingHint=function(){return this.getProperty("viewingHint")?new Manifesto.ViewingHint(this.getProperty("viewingHint")):Manifesto.ViewingHint.EMPTY},Manifest}(Manifesto.IIIFResource);Manifesto.Manifest=Manifest}(Manifesto||(Manifesto={}));var Manifesto,__extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)};!function(Manifesto){var Collection=function(_super){function Collection(jsonld,options){_super.call(this,jsonld,options),this.members=[],this._collections=null,this._manifests=null,jsonld.__collection=this}return __extends(Collection,_super),Collection.prototype.getCollections=function(){return this._collections?this._collections:this._collections=this.members.en().where(function(m){return m.isCollection()}).toArray()},Collection.prototype.getManifests=function(){return this._manifests?this._manifests:this._manifests=this.members.en().where(function(m){return m.isManifest()}).toArray()},Collection.prototype.getCollectionByIndex=function(collectionIndex){var collection=this.getCollections()[collectionIndex];return collection.options.index=collectionIndex,collection.load()},Collection.prototype.getManifestByIndex=function(manifestIndex){var manifest=this.getManifests()[manifestIndex];return manifest.options.index=manifestIndex,manifest.load()},Collection.prototype.getTotalCollections=function(){return this.getCollections().length},Collection.prototype.getTotalManifests=function(){return this.getManifests().length},Collection.prototype.getTotalMembers=function(){return this.members.length},Collection.prototype.getDefaultTree=function(){return _super.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Manifesto.TreeNodeType.COLLECTION.toString(),this._parseManifests(this),this._parseCollections(this),Manifesto.Utils.generateTreeNodeIds(this.defaultTree),this.defaultTree},Collection.prototype._parseManifests=function(parentCollection){if(parentCollection.getManifests()&&parentCollection.getManifests().length)for(var i=0;i=0;i--){var canvas=this.getCanvasByIndex(i),label=Manifesto.TranslationCollection.getValue(canvas.getLabel(),this.options.locale);if(alphanumeric){var regExp=/^[a-zA-Z0-9]*$/;if(regExp.test(label))return label}else if(label)return label}return this.options.defaultLabel},Sequence.prototype.getLastPageIndex=function(){return this.getTotalCanvases()-1},Sequence.prototype.getNextPageIndex=function(canvasIndex,pagingEnabled){var index;if(pagingEnabled){var indices=this.getPagedIndices(canvasIndex);index=this.getViewingDirection().toString()===Manifesto.ViewingDirection.RIGHTTOLEFT.toString()?indices[0]+1:_last(indices)+1}else index=canvasIndex+1;return index>this.getLastPageIndex()?-1:index},Sequence.prototype.getPagedIndices=function(canvasIndex,pagingEnabled){var indices=[];return pagingEnabled?(indices=this.isFirstCanvas(canvasIndex)||this.isLastCanvas(canvasIndex)?[canvasIndex]:canvasIndex%2?[canvasIndex,canvasIndex+1]:[canvasIndex-1,canvasIndex],this.getViewingDirection().toString()===Manifesto.ViewingDirection.RIGHTTOLEFT.toString()&&(indices=indices.reverse())):indices.push(canvasIndex),indices},Sequence.prototype.getPrevPageIndex=function(canvasIndex,pagingEnabled){var index;if(pagingEnabled){var indices=this.getPagedIndices(canvasIndex);index=this.getViewingDirection().toString()===Manifesto.ViewingDirection.RIGHTTOLEFT.toString()?_last(indices)-1:indices[0]-1}else index=canvasIndex-1;return index},Sequence.prototype.getStartCanvasIndex=function(){var startCanvas=this.getStartCanvas();if(startCanvas)for(var i=0;ithis.getTotalCanvases()-1},Sequence.prototype.isFirstCanvas=function(canvasIndex){return 0===canvasIndex},Sequence.prototype.isLastCanvas=function(canvasIndex){return canvasIndex===this.getTotalCanvases()-1},Sequence.prototype.isMultiCanvas=function(){return this.getTotalCanvases()>1},Sequence.prototype.isPagingEnabled=function(){return this.getViewingHint().toString()===Manifesto.ViewingHint.PAGED.toString()},Sequence.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},Sequence}(Manifesto.ManifestResource);Manifesto.Sequence=Sequence}(Manifesto||(Manifesto={}));var Manifesto,_isString=require("lodash.isstring");!function(Manifesto){var Deserialiser=function(){function Deserialiser(){}return Deserialiser.parse=function(manifest,options){return this.parseJson(JSON.parse(manifest),options)},Deserialiser.parseJson=function(json,options){var resource;switch(options&&options.navDate&&!isNaN(options.navDate.getTime())&&(json.navDate=options.navDate.toString()),json["@type"]){case"sc:Collection":resource=this.parseCollection(json,options);break;case"sc:Manifest":resource=this.parseManifest(json,options);break;default:return null}return resource.isLoaded=!0,resource},Deserialiser.parseCollection=function(json,options){var collection=new Manifesto.Collection(json,options);return options?collection.index=options.index||0:collection.index=0,this.parseCollections(collection,options),this.parseManifests(collection,options),this.parseMembers(collection,options),collection},Deserialiser.parseCollections=function(collection,options){var children=collection.__jsonld.collections;if(children)for(var i=0;i=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|length}function SlowBuffer(length){return+length!=length&&(length=0),Buffer.alloc(+length)}function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!=typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"binary":case"raw":case"raws":return len;case"utf8":case"utf-8":case void 0:return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}function slowToString(encoding,start,end){var loweredCase=!1;if((void 0===start||start<0)&&(start=0),start>this.length)return"";if((void 0===end||end>this.length)&&(end=this.length),end<=0)return"";if(end>>>=0,start>>>=0,end<=start)return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"binary":return binarySlice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}function arrayIndexOf(arr,val,byteOffset,encoding){function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}var indexSize=1,arrLength=arr.length,valLength=val.length;if(void 0!==encoding&&(encoding=String(encoding).toLowerCase(),"ucs2"===encoding||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding)){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}for(var foundIndex=-1,i=byteOffset;iremaining&&(length=remaining)):length=remaining;var strLen=string.length;if(strLen%2!==0)throw new Error("Invalid hex string");length>strLen/2&&(length=strLen/2);for(var i=0;i239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:secondByte=buf[i+1],128===(192&secondByte)&&(tempCodePoint=(31&firstByte)<<6|63&secondByte,tempCodePoint>127&&(codePoint=tempCodePoint));break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],128===(192&secondByte)&&128===(192&thirdByte)&&(tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte,tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint));break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],128===(192&secondByte)&&128===(192&thirdByte)&&128===(192&fourthByte)&&(tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte,tempCodePoint>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint))}}null===codePoint?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),res.push(codePoint),i+=bytesPerSequence}return decodeCodePointsArray(res)}function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH)return String.fromCharCode.apply(String,codePoints);for(var res="",i=0;ilen)&&(end=len);for(var out="",i=start;ilength)throw new RangeError("Trying to access beyond buffer length")}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||valuebuf.length)throw new RangeError("Index out of range")}function objectWriteUInt16(buf,value,offset,littleEndian){value<0&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i>>8*(littleEndian?i:1-i)}function objectWriteUInt32(buf,value,offset,littleEndian){value<0&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i>>8*(littleEndian?i:3-i)&255}function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}function base64clean(str){if(str=stringtrim(str).replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str+="=";return str}function stringtrim(str){return str.trim?str.trim():str.replace(/^\s+|\s+$/g,"")}function toHex(n){return n<16?"0"+n.toString(16):n.toString(16)}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;i55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}function isnan(val){return val!==val}var base64=require("base64-js"),ieee754=require("ieee754"),isArray=require("isarray");exports.Buffer=Buffer,exports.SlowBuffer=SlowBuffer,exports.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:typedArraySupport(),exports.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(arr){return arr.__proto__=Buffer.prototype,arr},Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(size,fill,encoding){return alloc(null,size,fill,encoding)},Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)},Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)},Buffer.isBuffer=function(b){return!(null==b||!b._isBuffer)},Buffer.compare=function(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i0&&(str=this.toString("hex",0,max).match(/.{2}/g).join(" "),this.length>max&&(str+=" ... ")),""},Buffer.prototype.compare=function(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");if(void 0===start&&(start=0),void 0===end&&(end=target?target.length:0),void 0===thisStart&&(thisStart=0),void 0===thisEnd&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(start>>>=0,end>>>=0,thisStart>>>=0,thisEnd>>>=0,this===target)return 0;for(var x=thisEnd-thisStart,y=end-start,len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset>>=0,0===this.length)return-1;if(byteOffset>=this.length)return-1;if(byteOffset<0&&(byteOffset=Math.max(this.length+byteOffset,0)),"string"==typeof val&&(val=Buffer.from(val,encoding)),Buffer.isBuffer(val))return 0===val.length?-1:arrayIndexOf(this,val,byteOffset,encoding);if("number"==typeof val)return Buffer.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,val,byteOffset):arrayIndexOf(this,[val],byteOffset,encoding);throw new TypeError("val must be string, number or Buffer")},Buffer.prototype.includes=function(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1},Buffer.prototype.write=function(string,offset,length,encoding){if(void 0===offset)encoding="utf8",length=this.length,offset=0;else if(void 0===length&&"string"==typeof offset)encoding=offset,length=this.length,offset=0;else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset=0|offset,isFinite(length)?(length=0|length,void 0===encoding&&(encoding="utf8")):(encoding=length,length=void 0)}var remaining=this.length-offset;if((void 0===length||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"binary":return binaryWrite(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var MAX_ARGUMENTS_LENGTH=4096;Buffer.prototype.slice=function(start,end){var len=this.length;start=~~start,end=void 0===end?len:~~end,start<0?(start+=len,start<0&&(start=0)):start>len&&(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)throw new Error("Invalid string. Length must be a multiple of 4");placeHolders="="===b64[len-2]?2:"="===b64[len-1]?1:0,arr=new Arr(3*len/4-placeHolders),l=placeHolders>0?len-4:len;var L=0;for(i=0,j=0;i>16&255,arr[L++]=tmp>>8&255,arr[L++]=255&tmp;return 2===placeHolders?(tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4,arr[L++]=255&tmp):1===placeHolders&&(tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2,arr[L++]=tmp>>8&255,arr[L++]=255&tmp),arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[63&num]}function encodeChunk(uint8,start,end){for(var tmp,output=[],i=start;ilen2?len2:i+maxChunkLength));return 1===extraBytes?(tmp=uint8[len-1],output+=lookup[tmp>>2],output+=lookup[tmp<<4&63],output+="=="):2===extraBytes&&(tmp=(uint8[len-2]<<8)+uint8[len-1],output+=lookup[tmp>>10],output+=lookup[tmp>>4&63],output+=lookup[tmp<<2&63],output+="="),parts.push(output),parts.join("")}exports.toByteArray=toByteArray,exports.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr="undefined"!=typeof Uint8Array?Uint8Array:Array;init()},{}],5:[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}},{}],6:[function(require,module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},{}],7:[function(require,module,exports){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],er instanceof Error)throw er;var err=new Error('Uncaught, unspecified "error" event. ('+er+")");throw err.context=er,err}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:args=Array.prototype.slice.call(arguments,1),handler.apply(this,args)}else if(isObject(handler))for(args=Array.prototype.slice.call(arguments,1),listeners=handler.slice(),len=listeners.length,i=0;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)}},{}],8:[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:27}],9:[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}},{}],10:[function(require,module,exports){module.exports=function(obj){return!(null==obj||!(obj._isBuffer||obj.constructor&&"function"==typeof obj.constructor.isBuffer&&obj.constructor.isBuffer(obj)))}},{}],11:[function(require,module,exports){function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=cachedSetTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)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:{})},{}],13:[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)}},{}],14:[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 0===state.length&&state.ended?0:state.objectMode?0===n?0:1:null===n||isNaN(n)?state.flowing&&state.buffer.length?state.buffer[0].length:state.length:n<=0?0:(n>state.highWaterMark&&(state.highWaterMark=computeNewHighWaterMark(n)),n>state.length?state.ended?state.length:(state.needReadable=!0,0):n)}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=length)ret=stringMode?list.join(""):1===list.length?list[0]:Buffer.concat(list,length),list.length=0;else if(n0)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;i0)&&(state.emittedReadable=!1),0===n&&state.needReadable&&(state.length>=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&&0===state.length&&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");var ret=dest.write(chunk);!1===ret&&((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++),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;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":16,_process:11,buffer:3,"buffer-shims":21,"core-util-is":22,events:7,inherits:9,"process-nextick-args":24,"util-deprecate":25}],21:[function(require,module,exports){(function(global){"use strict";var buffer=require("buffer"),Buffer=buffer.Buffer,SlowBuffer=buffer.SlowBuffer,MAX_LEN=buffer.kMaxLength||2147483647;exports.alloc=function(size,fill,encoding){if("function"==typeof Buffer.alloc)return Buffer.alloc(size,fill,encoding);if("number"==typeof encoding)throw new TypeError("encoding must not be number");if("number"!=typeof size)throw new TypeError("size must be a number");if(size>MAX_LEN)throw new RangeError("size is too large");var enc=encoding,_fill=fill;void 0===_fill&&(enc=void 0,_fill=0);var buf=new Buffer(size);if("string"==typeof _fill)for(var fillBuf=new Buffer(_fill,enc),flen=fillBuf.length,i=-1;++iMAX_LEN)throw new RangeError("size is too large");return new Buffer(size)},exports.from=function(value,encodingOrOffset,length){if("function"==typeof Buffer.from&&(!global.Uint8Array||Uint8Array.from!==Buffer.from))return Buffer.from(value,encodingOrOffset,length);if("number"==typeof value)throw new TypeError('"value" argument must not be a number');if("string"==typeof value)return new Buffer(value,encodingOrOffset);if("undefined"!=typeof ArrayBuffer&&value instanceof ArrayBuffer){var offset=encodingOrOffset;if(1===arguments.length)return new Buffer(value);"undefined"==typeof offset&&(offset=0);var len=length;if("undefined"==typeof len&&(len=value.byteLength-offset),offset>=value.byteLength)throw new RangeError("'offset' is out of bounds");if(len>value.byteLength-offset)throw new RangeError("'length' is out of bounds");return new Buffer(value.slice(offset,offset+len))}if(Buffer.isBuffer(value)){var out=new Buffer(value.length);return value.copy(out,0,0,value.length),out}if(value){if(Array.isArray(value)||"undefined"!=typeof ArrayBuffer&&value.buffer instanceof ArrayBuffer||"length"in value)return new Buffer(value);if("Buffer"===value.type&&Array.isArray(value.data))return new Buffer(value.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},exports.allocUnsafeSlow=function(size){if("function"==typeof Buffer.allocUnsafeSlow)return Buffer.allocUnsafeSlow(size);if("number"!=typeof size)throw new TypeError("size must be a number");if(size>=MAX_LEN)throw new RangeError("size is too large");return new SlowBuffer(size)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{buffer:3}],22:[function(require,module,exports){(function(Buffer){function isArray(arg){return Array.isArray?Array.isArray(arg):"[object Array]"===objectToString(arg)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNullOrUndefined(arg){return null==arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isSymbol(arg){return"symbol"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return"[object Date]"===objectToString(d)}function isError(e){return"[object Error]"===objectToString(e)||e instanceof Error}function isFunction(arg){return"function"==typeof arg}function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||"undefined"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=isNullOrUndefined,exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=isSymbol,exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=isPrimitive,exports.isBuffer=Buffer.isBuffer}).call(this,{isBuffer:require("../../../../insert-module-globals/node_modules/is-buffer/index.js")})},{"../../../../insert-module-globals/node_modules/is-buffer/index.js":10}],23:[function(require,module,exports){arguments[4][6][0].apply(exports,arguments)},{dup:6}],24:[function(require,module,exports){(function(process){"use strict";function nextTick(fn,arg1,arg2,arg3){if("function"!=typeof fn)throw new TypeError('"callback" argument must be a function');var args,i,len=arguments.length;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick(function(){fn.call(null,arg1)});case 3:return process.nextTick(function(){fn.call(null,arg1,arg2)});case 4:return process.nextTick(function(){fn.call(null,arg1,arg2,arg3)});default:for(args=new Array(len-1),i=0;iself._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":28,_process:11,buffer:3,inherits:9,"readable-stream":26}],31:[function(require,module,exports){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],32:[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=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:3}],34:[function(require,module,exports){"use strict";function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;return u.parse(url,parseQueryString,slashesDenoteHost),u}function urlFormat(obj){return util.isString(obj)&&(obj=urlParse(obj)),obj instanceof Url?obj.format():Url.prototype.format.call(obj)}function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)}function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative}var punycode=require("punycode"),util=require("./util");exports.parse=urlParse,exports.resolve=urlResolve,exports.resolveObject=urlResolveObject,exports.format=urlFormat,exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\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":35,punycode:12,querystring:15}],35:[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}}},{}],36:[function(require,module,exports){function extend(){for(var target={},i=0;i2?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},{}],43:[function(require,module,exports){function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(void 0===start?func.length-1:+start||0,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);++index-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 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,getLength=baseProperty("length");module.exports=isArguments},{}],47:[function(require,module,exports){function baseClamp(number,lower,upper){return number===number&&(void 0!==upper&&(number=number<=upper?number:upper),void 0!==lower&&(number=number>=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":48}],48:[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:{})},{}],49:[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},{}],50:[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},{}],51:[function(require,module,exports){function last(array){var length=array?array.length:0;return length?array[length-1]:void 0}module.exports=last},{}],52:[function(require,module,exports){function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value,key,collection){result[++index]=iteratee(value,key,collection)}),result}function baseProperty(key){return function(object){return null==object?void 0:object[key]}}function isArrayLike(value){return null!=value&&isLength(getLength(value))}function isLength(value){return"number"==typeof value&&value>-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":53,"lodash._basecallback":54,"lodash._baseeach":59,"lodash.isarray":49}],53:[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);++indexarrLength))return!1;for(;++index-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},{}],57:[function(require,module,exports){arguments[4][41][0].apply(exports,arguments)},{dup:41}],58:[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);++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":60}],60:[function(require,module,exports){arguments[4][44][0].apply(exports,arguments)},{dup:44,"lodash._getnative":61,"lodash.isarguments":62,"lodash.isarray":49}],61:[function(require,module,exports){arguments[4][45][0].apply(exports,arguments)},{dup:45}],62:[function(require,module,exports){arguments[4][46][0].apply(exports,arguments)},{dup:46}]},{},[1])(1)}),function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.manifold=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o0&&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.getService(resource,manifesto.ServiceProfile.clickThrough().toString()),this.loginService=manifesto.getService(resource,manifesto.ServiceProfile.login().toString()),this.restrictedService=manifesto.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 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.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=$("