jupyter笔记
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
29 KiB

2 years ago
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.u=r():t.u=r()}(this,function(){return function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var n={};return r.m=t,r.c=n,r.p="",r(0)}([function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.register=r.decode=r.encode=r.fromJson=void 0;var e=n(2);Object.defineProperty(r,"fromJson",{enumerable:!0,get:function(){return e.fromJson}}),Object.defineProperty(r,"encode",{enumerable:!0,get:function(){return e.encode}}),Object.defineProperty(r,"decode",{enumerable:!0,get:function(){return e.decode}}),Object.defineProperty(r,"register",{enumerable:!0,get:function(){return e.register}}),n(25),n(51),n(53),n(56),n(52),n(54),n(55),n(50)},function(t,r){var n=Array.isArray;t.exports=n},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}function o(t,r){E[t]=r}function u(t,r){var n=t.spec.encode(r),e=n.bits,o=n.blob;return t.encodedVersion+(0,P.toVarN)(e.length)+(0,P.bitsToN)(e)+o}function i(t,r){var n,e,o=(0,P.fromVarN)(r),u=N(o,2);n=u[0],r=u[1];var i=(0,P.fromVarN)(r),c=N(i,2);e=c[0],r=c[1];var a=(0,M["default"])(t,function(t){return t.version===n});if(!a)throw new Error("Invalid version: "+n);var f=Math.ceil(e/6),s=(0,P.nToBits)(r.substr(0,f),e),l=r.substr(f),v=a.spec.decode({bits:s,blob:l}),p=(0,A["default"])((0,O["default"])(t,function(t){return t.version>n}),"version");return(0,_["default"])(p,function(t,r){return r.migrate(t)},v.value)}function c(t,r,n){function e(t){if((0,g["default"])(t)){var r=t[0];return"tuple"===r?E.tuple((0,y["default"])((0,d["default"])(t),e)):"array"===r?E.array(e(t[1])):E[r].apply(null,(0,d["default"])(t))}if((0,p["default"])(t)){var n=(0,l["default"])(t).sort();return E.object((0,f["default"])((0,y["default"])(n,function(r){return[r,e(t[r])]})))}}return{version:t,spec:e(r),jsonSpec:r,encodedVersion:(0,P.toVarN)(t),migrate:n||function(t){return t}}}var a=n(122),f=e(a),s=n(16),l=e(s),v=n(5),p=e(v),b=n(133),d=e(b),h=n(10),y=e(h),x=n(1),g=e(x),j=n(48),_=e(j),m=n(118),O=e(m),w=n(132),A=e(w),S=n(119),M=e(S),N=function(){function t(t,r){var n=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(n.push(i.value),!r||n.length!==r);e=!0);}catch(a){o=!0,u=a}finally{try{!e&&c["return"]&&c["return"]()}finally{if(o)throw u}}return n}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(r,"__esModule",{value:!0}),r.register=o,r.encode=u,r.decode=i,r.fromJson=c;var P=n(3),E={}},function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}function o(t){return 0===t?1:Math.floor(Math.log(t)/Math.LN2)+1}function u(t,r){var n=t.toString(2);if(n.length>r)throw new Error("Invalid value or bitSize: can't fit "+t+" in "+r+" bits");return(0,j["default"])("0",r-n.length)+n}function i(t){return t&&t.length>=1&&t[0]===_[0]}function c(t){return(0,x["default"])(t,function(t,r){return{bits:t.bits+(r.bits||""),blob:t.blob+(r.blob||"")}},{bits:"",blob:""})}function a(t){if(0>t)throw new Error("Invalid number: can't encode negative number "+t);for(var r="";t>=O;)r=m[t%O]+r,t=Math.floor(t/O);return r=m[t]+r}function f(t){for(var r,n=0,e=0;e<t.length;e++){if(r=m.indexOf(t[e]),-1===r)throw new Error("Invalid number: can't decode "+t);n+=r*Math.pow(O,t.length-e-1)}return n}function s(t){for(var r=t,n=0,e=!0;e;){if(0===r.length)throw new Error("Invalid number: can't decode "+t);var o=r[0];r=r.substr(1);var u=f(o);e=u>31,n=n<<5|31&u}return[n,r]}function l(t){for(var r="",n=Math.ceil(o(t)/5),e=u(t,5*n);e;){var i=e.substr(0,5);e=e.substr(5),i=(0===e.length?"0":"1")+i,r+=p(i)}return r}function v(t,r){var n=a(t);if(n.length>r)throw new Error("Invalid charSize: can't encode "+t+" in "+r+" chars");return(0,j["default"])(m[0],r-n.length)+n}