hypothesis 1.887.0 → 1.891.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/boot.js +2 -1
- package/build/manifest.json +10 -15
- package/build/scripts/annotator.bundle.js +4 -6
- package/build/scripts/annotator.bundle.js.map +1 -1586
- package/build/scripts/boot.bundle.js +2 -2
- package/build/scripts/boot.bundle.js.map +1 -149
- package/build/scripts/sidebar.bundle.js +21 -6
- package/build/scripts/sidebar.bundle.js.map +1 -2576
- package/build/scripts/ui-playground.bundle.js +3 -3
- package/build/scripts/ui-playground.bundle.js.map +1 -703
- package/build/styles/sidebar.css +1 -1
- package/build/styles/sidebar.css.map +1 -1
- package/package.json +14 -33
- package/build/images/icons/add.svg +0 -1
- package/build/images/icons/annotate.svg +0 -3
- package/build/images/icons/arrow-left.svg +0 -1
- package/build/images/icons/arrow-right.svg +0 -1
- package/build/images/icons/cancel.svg +0 -1
- package/build/images/icons/caret-left.svg +0 -1
- package/build/images/icons/caret-right.svg +0 -1
- package/build/images/icons/caution.svg +0 -1
- package/build/images/icons/cc-std.svg +0 -1
- package/build/images/icons/cc-zero.svg +0 -1
- package/build/images/icons/check.svg +0 -1
- package/build/images/icons/collapse-menu.svg +0 -3
- package/build/images/icons/collapsed.svg +0 -6
- package/build/images/icons/copy.svg +0 -1
- package/build/images/icons/cursor.svg +0 -14
- package/build/images/icons/edit.svg +0 -1
- package/build/images/icons/email.svg +0 -1
- package/build/images/icons/expand-menu.svg +0 -3
- package/build/images/icons/external.svg +0 -1
- package/build/images/icons/facebook.svg +0 -1
- package/build/images/icons/flag--active.svg +0 -1
- package/build/images/icons/flag.svg +0 -1
- package/build/images/icons/format-bold.svg +0 -1
- package/build/images/icons/format-functions.svg +0 -1
- package/build/images/icons/format-italic.svg +0 -1
- package/build/images/icons/format-list-numbered.svg +0 -1
- package/build/images/icons/format-list-unordered.svg +0 -1
- package/build/images/icons/format-quote.svg +0 -1
- package/build/images/icons/groups.svg +0 -1
- package/build/images/icons/help.svg +0 -1
- package/build/images/icons/hide.svg +0 -1
- package/build/images/icons/highlight.svg +0 -1
- package/build/images/icons/image.svg +0 -1
- package/build/images/icons/leave.svg +0 -3
- package/build/images/icons/link.svg +0 -1
- package/build/images/icons/lock.svg +0 -9
- package/build/images/icons/logo.svg +0 -7
- package/build/images/icons/note.svg +0 -1
- package/build/images/icons/pointer.svg +0 -1
- package/build/images/icons/profile.svg +0 -1
- package/build/images/icons/public.svg +0 -3
- package/build/images/icons/refresh.svg +0 -13
- package/build/images/icons/reply.svg +0 -3
- package/build/images/icons/restricted.svg +0 -1
- package/build/images/icons/search.svg +0 -1
- package/build/images/icons/share.svg +0 -1
- package/build/images/icons/show.svg +0 -1
- package/build/images/icons/sort.svg +0 -1
- package/build/images/icons/trash.svg +0 -1
- package/build/images/icons/twitter.svg +0 -1
- package/build/scripts/katex.bundle.js +0 -2
- package/build/scripts/katex.bundle.js.map +0 -878
- package/build/scripts/polyfills-es2017.bundle.js +0 -2
- package/build/scripts/polyfills-es2017.bundle.js.map +0 -338
- package/build/scripts/polyfills-es2018.bundle.js +0 -2
- package/build/scripts/polyfills-es2018.bundle.js.map +0 -562
- package/build/scripts/sentry.bundle.js +0 -17
- package/build/scripts/sentry.bundle.js.map +0 -1091
- package/build/scripts/showdown.bundle.js +0 -4
- package/build/scripts/showdown.bundle.js.map +0 -1398
package/build/boot.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
!function
|
|
1
|
+
!function(){"use strict";function t(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function e(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function r(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.every((function(e){return"function"==typeof t[e]}))}var o={es2017:function(){return!r(Object,"entries","values")},es2018:function(){return"function"!=typeof Promise||!r(Promise.prototype,"finally")}};var s=["es2017","es2018"];function i(t){t.setAttribute("data-hypothesis-asset","")}function a(t,e,n,r){var o=t.createElement("link");o.rel=e,o.href=r,o.type="application/annotator+".concat(n),i(o),t.head.appendChild(o)}function c(t,e,n){var r=t.createElement("link");r.rel="preload",r.as=e,r.crossOrigin="anonymous",r.href=n,i(r),t.head.appendChild(r)}function u(t,e,n){n.forEach((function(n){var r=e.assetRoot+"build/"+e.manifest[n];r.match(/\.css/)?function(t,e){var n=t.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,i(n),t.head.appendChild(n)}(t,r):function(t,e){var n=t.createElement("script");n.type="module",n.src=e,n.async=!1,i(n),t.head.appendChild(n)}(t,r)}))}function l(t){return function(t){return t.filter((function(t){var e=o[t];if(!e)throw new Error('Unknown polyfill set "'.concat(t,'"'));return e()}))}(t).map((function(t){return"scripts/polyfills-".concat(t,".bundle.js")}))}function p(t){var e=t.match(/(https?):\/\/([^:/]+)/);return e?{protocol:e[1],hostname:e[2]}:null}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=t.currentScript;return e?p(e.src):null}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(-1===t.indexOf("{"))return t;var n=f(e);if(!n)throw new Error("Could not process URL template because script origin is unknown");return t=(t=t.replace("{current_host}",n.hostname)).replace("{current_scheme}",n.protocol)}if(function(){var t=[function(){return Promise.resolve()},function(){return new Map},function(){return new URL(document.location.href)},function(){return new Request("https://hypothes.is")},function(){return Element.prototype.prepend.name},function(){document.evaluate("/html/body",document,null,XPathResult.ANY_TYPE,null)}];try{return t.forEach((function(t){return t()})),!0}catch(t){return!1}}()){var d=function(e){for(var n={},r=e.querySelectorAll("script.js-hypothesis-config"),o=0;o<r.length;o++){var s=void 0;try{s=JSON.parse(r[o].textContent||"")}catch(t){console.warn("Could not parse settings from js-hypothesis-config tags",t),s={}}t(n,s)}return n}(document),y=h(d.assetRoot||"https://cdn.hypothes.is/hypothesis/1.891.0/"),m={"fonts/KaTeX_AMS-Regular.woff":"fonts/KaTeX_AMS-Regular.woff?3ba481","fonts/KaTeX_Caligraphic-Bold.woff":"fonts/KaTeX_Caligraphic-Bold.woff?a02380","fonts/KaTeX_Caligraphic-Regular.woff":"fonts/KaTeX_Caligraphic-Regular.woff?fc5e4c","fonts/KaTeX_Fraktur-Bold.woff":"fonts/KaTeX_Fraktur-Bold.woff?27e611","fonts/KaTeX_Fraktur-Regular.woff":"fonts/KaTeX_Fraktur-Regular.woff?a3eb3f","fonts/KaTeX_Main-Bold.woff":"fonts/KaTeX_Main-Bold.woff?2a1a96","fonts/KaTeX_Main-BoldItalic.woff":"fonts/KaTeX_Main-BoldItalic.woff?7b4be1","fonts/KaTeX_Main-Italic.woff":"fonts/KaTeX_Main-Italic.woff?effa4e","fonts/KaTeX_Main-Regular.woff":"fonts/KaTeX_Main-Regular.woff?e0ec75","fonts/KaTeX_Math-BoldItalic.woff":"fonts/KaTeX_Math-BoldItalic.woff?6e408d","fonts/KaTeX_Math-Italic.woff":"fonts/KaTeX_Math-Italic.woff?5bbbc8","fonts/KaTeX_SansSerif-Bold.woff":"fonts/KaTeX_SansSerif-Bold.woff?05089a","fonts/KaTeX_SansSerif-Italic.woff":"fonts/KaTeX_SansSerif-Italic.woff?6793c4","fonts/KaTeX_SansSerif-Regular.woff":"fonts/KaTeX_SansSerif-Regular.woff?7742a6","fonts/KaTeX_Script-Regular.woff":"fonts/KaTeX_Script-Regular.woff?c27731","fonts/KaTeX_Size1-Regular.woff":"fonts/KaTeX_Size1-Regular.woff?f0700f","fonts/KaTeX_Size2-Regular.woff":"fonts/KaTeX_Size2-Regular.woff?4fdf5d","fonts/KaTeX_Size3-Regular.woff":"fonts/KaTeX_Size3-Regular.woff?92cf7c","fonts/KaTeX_Size4-Regular.woff":"fonts/KaTeX_Size4-Regular.woff?47e816","fonts/KaTeX_Typewriter-Regular.woff":"fonts/KaTeX_Typewriter-Regular.woff?97f6f3","scripts/annotator.bundle.js":"scripts/annotator.bundle.js?9c1ac5","scripts/boot.bundle.js":"scripts/boot.bundle.js?e75f35","scripts/sidebar.bundle.js":"scripts/sidebar.bundle.js?4376df","scripts/ui-playground.bundle.js":"scripts/ui-playground.bundle.js?b3bed4","styles/annotator.css":"styles/annotator.css?0b34b9","styles/katex.min.css":"styles/katex.min.css?5fa91d","styles/pdfjs-overrides.css":"styles/pdfjs-overrides.css?dd8179","styles/sidebar.css":"styles/sidebar.css?6cbfab","styles/ui-playground.css":"styles/ui-playground.css?dffe1a"};if(document.querySelector("hypothesis-app"))!function(t,n){c(t,"fetch",n.apiUrl),c(t,"fetch",n.apiUrl+"links");var r=l(s);u(t,n,[].concat(e(r),["scripts/sidebar.bundle.js","styles/katex.min.css","styles/sidebar.css"]))}(document,{assetRoot:y,manifest:m,apiUrl:d.apiUrl});else{var v=h(d.notebookAppUrl||"https://hypothes.is/notebook"),b=h(d.sidebarAppUrl||"https://hypothes.is/app.html");!function(t,n){if(!t.querySelector('link[type="application/annotator+html"]')){a(t,"sidebar","html",n.sidebarAppUrl),a(t,"notebook","html",n.notebookAppUrl),a(t,"hypothesis-client","javascript",n.assetRoot+"build/boot.js");var r=l(s);u(t,n,[].concat(e(r),["scripts/annotator.bundle.js","styles/annotator.css","styles/pdfjs-overrides.css"]))}}(document,{assetRoot:y,manifest:m,notebookAppUrl:v,sidebarAppUrl:b})}}else console.warn("The Hypothesis annotation tool is not supported in this browser. See https://web.hypothes.is/help/which-browsers-are-supported-by-hypothesis/.")}();
|
|
2
|
+
|
package/build/manifest.json
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"styles/annotator.css": "styles/annotator.css?0b34b9",
|
|
3
|
-
"styles/katex.min.css": "styles/katex.min.css?5fa91d",
|
|
4
|
-
"styles/pdfjs-overrides.css": "styles/pdfjs-overrides.css?dd8179",
|
|
5
|
-
"styles/sidebar.css": "styles/sidebar.css?a21291",
|
|
6
|
-
"styles/ui-playground.css": "styles/ui-playground.css?dffe1a",
|
|
7
|
-
"scripts/annotator.bundle.js": "scripts/annotator.bundle.js?179c94",
|
|
8
|
-
"scripts/boot.bundle.js": "scripts/boot.bundle.js?96a10b",
|
|
9
|
-
"scripts/katex.bundle.js": "scripts/katex.bundle.js?00fec1",
|
|
10
|
-
"scripts/polyfills-es2017.bundle.js": "scripts/polyfills-es2017.bundle.js?ac9517",
|
|
11
|
-
"scripts/polyfills-es2018.bundle.js": "scripts/polyfills-es2018.bundle.js?6b0c7c",
|
|
12
|
-
"scripts/sentry.bundle.js": "scripts/sentry.bundle.js?ac695a",
|
|
13
|
-
"scripts/showdown.bundle.js": "scripts/showdown.bundle.js?3a22fe",
|
|
14
|
-
"scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?4351bf",
|
|
15
|
-
"scripts/ui-playground.bundle.js": "scripts/ui-playground.bundle.js?36ffa5",
|
|
16
2
|
"fonts/KaTeX_AMS-Regular.woff": "fonts/KaTeX_AMS-Regular.woff?3ba481",
|
|
17
3
|
"fonts/KaTeX_Caligraphic-Bold.woff": "fonts/KaTeX_Caligraphic-Bold.woff?a02380",
|
|
18
4
|
"fonts/KaTeX_Caligraphic-Regular.woff": "fonts/KaTeX_Caligraphic-Regular.woff?fc5e4c",
|
|
@@ -32,5 +18,14 @@
|
|
|
32
18
|
"fonts/KaTeX_Size2-Regular.woff": "fonts/KaTeX_Size2-Regular.woff?4fdf5d",
|
|
33
19
|
"fonts/KaTeX_Size3-Regular.woff": "fonts/KaTeX_Size3-Regular.woff?92cf7c",
|
|
34
20
|
"fonts/KaTeX_Size4-Regular.woff": "fonts/KaTeX_Size4-Regular.woff?47e816",
|
|
35
|
-
"fonts/KaTeX_Typewriter-Regular.woff": "fonts/KaTeX_Typewriter-Regular.woff?97f6f3"
|
|
21
|
+
"fonts/KaTeX_Typewriter-Regular.woff": "fonts/KaTeX_Typewriter-Regular.woff?97f6f3",
|
|
22
|
+
"scripts/annotator.bundle.js": "scripts/annotator.bundle.js?9c1ac5",
|
|
23
|
+
"scripts/boot.bundle.js": "scripts/boot.bundle.js?e75f35",
|
|
24
|
+
"scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?4376df",
|
|
25
|
+
"scripts/ui-playground.bundle.js": "scripts/ui-playground.bundle.js?b3bed4",
|
|
26
|
+
"styles/annotator.css": "styles/annotator.css?0b34b9",
|
|
27
|
+
"styles/katex.min.css": "styles/katex.min.css?5fa91d",
|
|
28
|
+
"styles/pdfjs-overrides.css": "styles/pdfjs-overrides.css?dd8179",
|
|
29
|
+
"styles/sidebar.css": "styles/sidebar.css?6cbfab",
|
|
30
|
+
"styles/ui-playground.css": "styles/ui-playground.css?dffe1a"
|
|
36
31
|
}
|