hypothesis 1.1095.0 → 1.1098.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 CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function t(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];return n.every((function(e){return"function"==typeof t[e]}))}var e={es2017:function(){return!t(Object,"entries","values")},es2018:function(){return"function"!=typeof Promise||!t(Promise.prototype,"finally")}};function n(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var s=0,o=function(){};return{s:o,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){l=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function s(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||r(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 r(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,s=new Array(e);n<e;n++)s[n]=t[n];return s}var a=["es2017","es2018"];function i(t){t.setAttribute("data-hypothesis-asset","")}function l(t,e){var n=t.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,i(n),t.head.appendChild(n)}function c(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=n.esModule,r=void 0===s||s,o=n.forceReload,a=void 0!==o&&o,l=t.createElement("script");r&&(l.type="module"),a&&(e+="#ts=".concat(Date.now())),l.src=e,l.async=!1,i(l),t.head.appendChild(l)}function u(t,e,n,s){var r=t.createElement("link");r.rel=e,r.href=s,r.type="application/annotator+".concat(n),i(r),t.head.appendChild(r)}function p(t,e,n){var s=t.createElement("link");s.rel="preload",s.as=e,s.href=n,"fetch"===e&&(s.crossOrigin="anonymous"),i(s),t.head.appendChild(s)}function d(t,e){return t.assetRoot+"build/"+t.manifest[e]}function f(t){return function(t){return t.filter((function(t){var n=e[t];if(!n)throw new Error('Unknown polyfill set "'.concat(t,'"'));return n()}))}(t).map((function(t){return"scripts/polyfills-".concat(t,".bundle.js")}))}function h(t){var e=t.match(/(https?):\/\/([^:/]+)/);return e?{protocol:e[1],hostname:e[2]}:null}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=t.currentScript;return e?h(e.src):null}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(-1===t.indexOf("{"))return t;var n=y(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)}var b={"scripts/annotator.bundle.js":"scripts/annotator.bundle.js?2b5cfe","scripts/ui-playground.bundle.js":"scripts/ui-playground.bundle.js?5c011d","styles/annotator.css":"styles/annotator.css?a51590","styles/annotator.css.map":"styles/annotator.css.map?b08ab1","styles/highlights.css":"styles/highlights.css?5dd56a","styles/highlights.css.map":"styles/highlights.css.map?34b9c1","styles/katex.min.css":"styles/katex.min.css?312bf1","styles/katex.min.css.map":"styles/katex.min.css.map?010d5b","styles/pdfjs-overrides.css":"styles/pdfjs-overrides.css?c95edf","styles/pdfjs-overrides.css.map":"styles/pdfjs-overrides.css.map?2eeb58","styles/sidebar.css.map":"styles/sidebar.css.map?f50e00","styles/sidebar.css":"styles/sidebar.css?c58c7d","styles/ui-playground.css":"styles/ui-playground.css?21e231","styles/ui-playground.css.map":"styles/ui-playground.css.map?9281d8","scripts/annotator.bundle.js.map":"scripts/annotator.bundle.js.map?15f2ca","scripts/sidebar.bundle.js":"scripts/sidebar.bundle.js?64c969","scripts/ui-playground.bundle.js.map":"scripts/ui-playground.bundle.js.map?8c7ff8","scripts/sidebar.bundle.js.map":"scripts/sidebar.bundle.js.map?b63bab"};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.attachShadow},function(){return CSS.supports("display: grid")},function(){return document.evaluate("/html/body",document,null,XPathResult.ANY_TYPE,null),!0}];try{return t.every((function(t){return t()}))}catch(t){return!1}}()){var v=function(t){for(var e={},n=t.querySelectorAll("script.js-hypothesis-config"),s=0;s<n.length;s++){var r=void 0;try{r=JSON.parse(n[s].textContent||"")}catch(t){console.warn("Could not parse settings from js-hypothesis-config tags",t),r={}}Object.assign(e,r)}return e}(document),g=m(v.assetRoot||"https://cdn.hypothes.is/hypothesis/1.1095.0/");if(document.querySelector("hypothesis-app")){!function(t,e){p(t,"fetch",e.apiUrl),p(t,"fetch",e.apiUrl+"links");var r,o=f(a),i=n([].concat(s(o),["scripts/sidebar.bundle.js"]));try{for(i.s();!(r=i.n()).done;)c(t,d(e,r.value),{esModule:!0})}catch(t){i.e(t)}finally{i.f()}for(var u=0,h=["styles/katex.min.css","styles/sidebar.css"];u<h.length;u++)l(t,d(e,h[u]))}(document,{assetRoot:g,manifest:b,apiUrl:v.apiUrl})}else{var j=v,w=m(j.notebookAppUrl||"https://hypothes.is/notebook"),A=m(j.sidebarAppUrl||"https://hypothes.is/app.html");!function(t,e){if(!t.querySelector('link[type="application/annotator+html"]')){u(t,"sidebar","html",e.sidebarAppUrl),u(t,"notebook","html",e.notebookAppUrl),p(t,"style",d(e,"styles/annotator.css")),u(t,"hypothesis-client","javascript",e.assetRoot+"build/boot.js");var r,o=f(a),i=n([].concat(s(o),["scripts/annotator.bundle.js"]));try{for(i.s();!(r=i.n()).done;)c(t,d(e,r.value),{esModule:!1})}catch(t){i.e(t)}finally{i.f()}var h=[];void 0!==window.PDFViewerApplication&&h.push("styles/pdfjs-overrides.css"),h.push("styles/highlights.css");for(var y=0,m=h;y<m.length;y++)l(t,d(e,m[y]))}}(document,{assetRoot:g,manifest:b,notebookAppUrl:w,sidebarAppUrl:A})}}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/.")}();
1
+ !function(){"use strict";function s(s){s.setAttribute("data-hypothesis-asset","")}function t(t,e){var n=t.createElement("link");n.rel="stylesheet",n.type="text/css",n.href=e,s(n),t.head.appendChild(n)}function e(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.esModule,o=void 0===r||r,a=n.forceReload,i=void 0!==a&&a,l=t.createElement("script");o&&(l.type="module"),i&&(e+="#ts=".concat(Date.now())),l.src=e,l.async=!1,s(l),t.head.appendChild(l)}function n(t,e,n,r){var o=t.createElement("link");o.rel=e,o.href=r,o.type="application/annotator+".concat(n),s(o),t.head.appendChild(o)}function r(t,e,n){var r=t.createElement("link");r.rel="preload",r.as=e,r.href=n,"fetch"===e&&(r.crossOrigin="anonymous"),s(r),t.head.appendChild(r)}function o(s,t){return s.assetRoot+"build/"+s.manifest[t]}function a(s){var t=s.match(/(https?):\/\/([^:/]+)/);return t?{protocol:t[1],hostname:t[2]}:null}function i(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=s.currentScript;return t?a(t.src):null}function l(s){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(-1===s.indexOf("{"))return s;var e=i(t);if(!e)throw new Error("Could not process URL template because script origin is unknown");return s=(s=s.replace("{current_host}",e.hostname)).replace("{current_scheme}",e.protocol)}var c={"scripts/annotator.bundle.js":"scripts/annotator.bundle.js?a06bee","styles/annotator.css.map":"styles/annotator.css.map?bab9eb","styles/highlights.css":"styles/highlights.css?5dd56a","styles/highlights.css.map":"styles/highlights.css.map?34b9c1","styles/katex.min.css":"styles/katex.min.css?817f75","styles/katex.min.css.map":"styles/katex.min.css.map?010d5b","styles/pdfjs-overrides.css":"styles/pdfjs-overrides.css?c95edf","styles/pdfjs-overrides.css.map":"styles/pdfjs-overrides.css.map?2eeb58","styles/annotator.css":"styles/annotator.css?34210a","styles/sidebar.css.map":"styles/sidebar.css.map?79df01","styles/sidebar.css":"styles/sidebar.css?8c81c3","styles/ui-playground.css":"styles/ui-playground.css?3de646","styles/ui-playground.css.map":"styles/ui-playground.css.map?e76b04","scripts/annotator.bundle.js.map":"scripts/annotator.bundle.js.map?02562f","scripts/sidebar.bundle.js":"scripts/sidebar.bundle.js?c7bb00","scripts/ui-playground.bundle.js":"scripts/ui-playground.bundle.js?d401f8","scripts/ui-playground.bundle.js.map":"scripts/ui-playground.bundle.js.map?35cd90","scripts/sidebar.bundle.js.map":"scripts/sidebar.bundle.js.map?01e1a6"};if(function(){var s=[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.attachShadow},function(){return CSS.supports("display: grid")},function(){return document.evaluate("/html/body",document,null,XPathResult.ANY_TYPE,null),!0}];try{return s.every((function(s){return s()}))}catch(s){return!1}}()){var p=function(s){for(var t={},e=s.querySelectorAll("script.js-hypothesis-config"),n=0;n<e.length;n++){var r=void 0;try{r=JSON.parse(e[n].textContent||"")}catch(s){console.warn("Could not parse settings from js-hypothesis-config tags",s),r={}}Object.assign(t,r)}return t}(document),u=l(p.assetRoot||"https://cdn.hypothes.is/hypothesis/1.1098.0/");if(document.querySelector("hypothesis-app")){!function(s,n){r(s,"fetch",n.apiUrl),r(s,"fetch",n.apiUrl+"links");for(var a=0,i=["scripts/sidebar.bundle.js"];a<i.length;a++)e(s,o(n,i[a]),{esModule:!0});for(var l=0,c=["styles/katex.min.css","styles/sidebar.css"];l<c.length;l++)t(s,o(n,c[l]))}(document,{assetRoot:u,manifest:c,apiUrl:p.apiUrl})}else{var d=p,h=l(d.notebookAppUrl||"https://hypothes.is/notebook"),y=l(d.sidebarAppUrl||"https://hypothes.is/app.html");!function(s,a){if(!s.querySelector('link[type="application/annotator+html"]')){n(s,"sidebar","html",a.sidebarAppUrl),n(s,"notebook","html",a.notebookAppUrl),r(s,"style",o(a,"styles/annotator.css")),n(s,"hypothesis-client","javascript",a.assetRoot+"build/boot.js");for(var i=0,l=["scripts/annotator.bundle.js"];i<l.length;i++)e(s,o(a,l[i]),{esModule:!1});var c=[];void 0!==window.PDFViewerApplication&&c.push("styles/pdfjs-overrides.css"),c.push("styles/highlights.css");for(var p=0,u=c;p<u.length;p++)t(s,o(a,u[p]))}}(document,{assetRoot:u,manifest:c,notebookAppUrl:h,sidebarAppUrl:y})}}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/.")}();
@@ -1,20 +1,20 @@
1
1
  {
2
- "scripts/annotator.bundle.js": "scripts/annotator.bundle.js?2b5cfe",
3
- "scripts/ui-playground.bundle.js": "scripts/ui-playground.bundle.js?5c011d",
4
- "styles/annotator.css": "styles/annotator.css?a51590",
5
- "styles/annotator.css.map": "styles/annotator.css.map?b08ab1",
2
+ "scripts/annotator.bundle.js": "scripts/annotator.bundle.js?a06bee",
3
+ "styles/annotator.css.map": "styles/annotator.css.map?bab9eb",
6
4
  "styles/highlights.css": "styles/highlights.css?5dd56a",
7
5
  "styles/highlights.css.map": "styles/highlights.css.map?34b9c1",
8
- "styles/katex.min.css": "styles/katex.min.css?312bf1",
6
+ "styles/katex.min.css": "styles/katex.min.css?817f75",
9
7
  "styles/katex.min.css.map": "styles/katex.min.css.map?010d5b",
10
8
  "styles/pdfjs-overrides.css": "styles/pdfjs-overrides.css?c95edf",
11
9
  "styles/pdfjs-overrides.css.map": "styles/pdfjs-overrides.css.map?2eeb58",
12
- "styles/sidebar.css.map": "styles/sidebar.css.map?f50e00",
13
- "styles/sidebar.css": "styles/sidebar.css?c58c7d",
14
- "styles/ui-playground.css": "styles/ui-playground.css?21e231",
15
- "styles/ui-playground.css.map": "styles/ui-playground.css.map?9281d8",
16
- "scripts/annotator.bundle.js.map": "scripts/annotator.bundle.js.map?15f2ca",
17
- "scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?64c969",
18
- "scripts/ui-playground.bundle.js.map": "scripts/ui-playground.bundle.js.map?8c7ff8",
19
- "scripts/sidebar.bundle.js.map": "scripts/sidebar.bundle.js.map?b63bab"
10
+ "styles/annotator.css": "styles/annotator.css?34210a",
11
+ "styles/sidebar.css.map": "styles/sidebar.css.map?79df01",
12
+ "styles/sidebar.css": "styles/sidebar.css?8c81c3",
13
+ "styles/ui-playground.css": "styles/ui-playground.css?3de646",
14
+ "styles/ui-playground.css.map": "styles/ui-playground.css.map?e76b04",
15
+ "scripts/annotator.bundle.js.map": "scripts/annotator.bundle.js.map?02562f",
16
+ "scripts/sidebar.bundle.js": "scripts/sidebar.bundle.js?c7bb00",
17
+ "scripts/ui-playground.bundle.js": "scripts/ui-playground.bundle.js?d401f8",
18
+ "scripts/ui-playground.bundle.js.map": "scripts/ui-playground.bundle.js.map?35cd90",
19
+ "scripts/sidebar.bundle.js.map": "scripts/sidebar.bundle.js.map?01e1a6"
20
20
  }