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.
venv/PyCharm 2025.2.1.1/plugins/python/jupyter-web/5760.js

1 line
14 KiB

"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[5760],{76210:function(S,o,O){var j=this&&this.__values||function(d){var i="function"==typeof Symbol&&Symbol.iterator,r=i&&d[i],t=0;if(r)return r.call(d);if(d&&"number"==typeof d.length)return{next:function(){return d&&t>=d.length&&(d=void 0),{value:d&&d[t++],done:!d}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.MathJax=o.combineWithMathJax=o.combineDefaults=o.combineConfig=o.isObject=void 0;var b=O(31539);function F(d){return"object"==typeof d&&null!==d}function M(d,i){var r,t;try{for(var a=j(Object.keys(i)),e=a.next();!e.done;e=a.next()){var n=e.value;"__esModule"!==n&&(!F(d[n])||!F(i[n])||i[n]instanceof Promise?null!==i[n]&&void 0!==i[n]&&(d[n]=i[n]):M(d[n],i[n]))}}catch(u){r={error:u}}finally{try{e&&!e.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return d}o.isObject=F,o.combineConfig=M,o.combineDefaults=function y(d,i,r){var t,a;d[i]||(d[i]={}),d=d[i];try{for(var e=j(Object.keys(r)),n=e.next();!n.done;n=e.next()){var u=n.value;F(d[u])&&F(r[u])?y(d,u,r[u]):null==d[u]&&null!=r[u]&&(d[u]=r[u])}}catch(g){t={error:g}}finally{try{n&&!n.done&&(a=e.return)&&a.call(e)}finally{if(t)throw t.error}}return d},o.combineWithMathJax=function N(d){return M(o.MathJax,d)},typeof global.MathJax>"u"&&(global.MathJax={}),global.MathJax.version||(global.MathJax={version:b.VERSION,_:{},config:global.MathJax}),o.MathJax=global.MathJax},63911:function(S,o,O){var b,F,j=this&&this.__values||function(e){var n="function"==typeof Symbol&&Symbol.iterator,u=n&&e[n],g=0;if(u)return u.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.CONFIG=o.MathJax=o.Loader=o.PathFilters=o.PackageError=o.Package=void 0;var M=O(76210),y=O(73521),N=O(73521);Object.defineProperty(o,"Package",{enumerable:!0,get:function(){return N.Package}}),Object.defineProperty(o,"PackageError",{enumerable:!0,get:function(){return N.PackageError}});var i,e,n,d=O(55418);if(o.PathFilters={source:function(e){return o.CONFIG.source.hasOwnProperty(e.name)&&(e.name=o.CONFIG.source[e.name]),!0},normalize:function(e){var n=e.name;return n.match(/^(?:[a-z]+:\/)?\/|[a-z]:\\|\[/i)||(e.name="[mathjax]/"+n.replace(/^\.\//,"")),e.addExtension&&!n.match(/\.[^\/]+$/)&&(e.name+=".js"),!0},prefix:function(e){for(var n;(n=e.name.match(/^\[([^\]]*)\]/))&&o.CONFIG.paths.hasOwnProperty(n[1]);)e.name=o.CONFIG.paths[n[1]]+e.name.substr(n[0].length);return!0}},e=i=o.Loader||(o.Loader={}),n=M.MathJax.version,e.versions=new Map,e.ready=function u(){for(var l,s,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];0===v.length&&(v=Array.from(y.Package.packages.keys()));var p=[];try{for(var m=j(v),k=m.next();!k.done;k=m.next()){var C=k.value,I=y.Package.packages.get(C)||new y.Package(C,!0);p.push(I.promise)}}catch(L){l={error:L}}finally{try{k&&!k.done&&(s=m.return)&&s.call(m)}finally{if(l)throw l.error}}return Promise.all(p)},e.load=function g(){for(var l,s,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];if(0===v.length)return Promise.resolve();var p=[],m=function(L){var J=y.Package.packages.get(L);J||(J=new y.Package(L)).provides(o.CONFIG.provides[L]),J.checkNoLoad(),p.push(J.promise.then(function(){!o.CONFIG.versionWarnings||J.isLoaded&&!e.versions.has(y.Package.resolvePath(L))&&console.warn("No version information available for component ".concat(L))}))};try{for(var k=j(v),C=k.next();!C.done;C=k.next()){var I=C.value;m(I)}}catch(L){l={error:L}}finally{try{C&&!C.done&&(s=k.return)&&s.call(k)}finally{if(l)throw l.error}}return y.Package.loadAll(),Promise.all(p)},e.preLoad=function w(){for(var l,s,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];try{for(var p=j(v),m=p.next();!m.done;m=p.next()){var k=m.value,C=y.Package.packages.get(k);C||(C=new y.Package(k,!0)).provides(o.CONFIG.provides[k]),C.loaded()}}catch(I){l={error:I}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(l)throw l.error}}},e.defaultReady=function P(){typeof o.MathJax.startup<"u"&&o.MathJax.config.startup.ready()},e.getRoot=function f(){var l=__dirname+"/../../es5";if(typeof document<"u"){var s=document.currentScript||document.getElementById("MathJax-script");s&&(l=s.src.replace(/\/[^\/]*$/,""))}return l},e.checkVersion=function c(l,s,v){return e.versions.set(y.Package.resolvePath(l),n),!(!o.CONFIG.versionWarnings||s===n||(console.warn("Component ".concat(l," uses ").concat(s," of MathJax; version in use is ").concat(n)),0))},e.pathFilters=new d.FunctionList,e.pathFilters.add(o.PathFilters.source,0),e.pathFilters.add(o.PathFilters.normalize,10),e.pathFilters.add(o.PathFilters.prefix,20),o.MathJax=M.MathJax,typeof o.MathJax.loader>"u"){(0,M.combineDefaults)(o.MathJax.config,"loader",{paths:{mathjax:i.getRoot()},source:{},dependencies:{},provides:{},load:[],ready:i.defaultReady.bind(i),failed:function(e){return console.log("MathJax(".concat(e.package||"?","): ").concat(e.message))},require:null,pathFilters:[],versionWarnings:!0}),(0,M.combineWithMathJax)({loader:i});try{for(var r=j(o.MathJax.config.loader.pathFilters),t=r.next();!t.done;t=r.next()){var a=t.value;Array.isArray(a)?i.pathFilters.add(a[0],a[1]):i.pathFilters.add(a)}}catch(e){b={error:e}}finally{try{t&&!t.done&&(F=r.return)&&F.call(r)}finally{if(b)throw b.error}}}o.CONFIG=o.MathJax.config.loader},73521:function(S,o,O){var i,j=this&&this.__extends||(i=function(r,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,e){a.__proto__=e}||function(a,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])})(r,t)},function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function a(){this.constructor=r}i(r,t),r.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}),b=this&&this.__values||function(i){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&i[r],a=0;if(t)return t.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&a>=i.length&&(i=void 0),{value:i&&i[a++],done:!i}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},F=this&&this.__read||function(i,r){var t="function"==typeof Symbol&&i[Symbol.iterator];if(!t)return i;var e,u,a=t.call(i),n=[];try{for(;(void 0===r||r-- >0)&&!(e=a.next()).done;)n.push(e.value)}catch(g){u={error:g}}finally{try{e&&!e.done&&(t=a.return)&&t.call(a)}finally{if(u)throw u.error}}return n},M=this&&this.__spreadArray||function(i,r,t){if(t||2===arguments.length)for(var n,a=0,e=r.length;a<e;a++)(n||!(a in r))&&(n||(n=Array.prototype.slice.call(r,0,a)),n[a]=r[a]);return i.concat(n||Array.prototype.slice.call(r))};Object.defineProperty(o,"__esModule",{value:!0}),o.Package=o.PackageError=void 0;var y=O(63911),N=function(i){function r(t,a){var e=i.call(this,t)||this;return e.package=a,e}return j(r,i),r}(Error);o.PackageError=N;var d=function(){function i(r,t){void 0===t&&(t=!1),this.isLoaded=!1,this.isLoading=!1,this.hasFailed=!1,this.dependents=[],this.dependencies=[],this.dependencyCount=0,this.provided=[],this.name=r,this.noLoad=t,i.packages.set(r,this),this.promise=this.makePromise(this.makeDependencies())}return Object.defineProperty(i.prototype,"canLoad",{get:function(){return 0===this.dependencyCount&&!this.noLoad&&!this.isLoading&&!this.hasFailed},enumerable:!1,configurable:!0}),i.resolvePath=function(r,t){void 0===t&&(t=!0);var a={name:r,original:r,addExtension:t};return y.Loader.pathFilters.execute(a),a.name},i.loadAll=function(){var r,t;try{for(var a=b(this.packages.values()),e=a.next();!e.done;e=a.next()){var n=e.value;n.canLoad&&n.load()}}catch(u){r={error:u}}finally{try{e&&!e.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}},i.prototype.makeDependencies=function(){var r,t,a=[],e=i.packages,n=this.noLoad,u=this.name,g=[];y.CONFIG.dependencies.hasOwnProperty(u)?g.push.apply(g,M([],F(y.CONFIG.dependencies[u]),!1)):"core"!==u&&g.push("core");try{for(var w=b(g),P=w.next();!P.done;P=w.next()){var f=P.value,c=e.get(f)||new i(f,n);this.dependencies.indexOf(c)<0&&(c.addDependent(this,n),this.dependencies.push(c),c.isLoaded||(this.dependencyCount++,a.push(c.promise)))}}catch(l){r={error:l}}finally{try{P&&!P.done&&(t=w.return)&&t.call(w)}finally{if(r)throw r.error}}return a},i.prototype.makePromise=function(r){var t=this,a=new Promise(function(n,u){t.resolve=n,t.reject=u}),e=y.CONFIG[this.name]||{};return e.ready&&(a=a.then(function(n){return e.ready(t.name)})),r.length&&(r.push(a),a=Promise.all(r).then(function(n){return n.join(", ")})),e.failed&&a.catch(function(n){return e.failed(new N(n,t.name))}),a},i.prototype.load=function(){if(!this.isLoaded&&!this.isLoading&&!this.noLoad){this.isLoading=!0;var r=i.resolvePath(this.name);y.CONFIG.require?this.loadCustom(r):this.loadScript(r)}},i.prototype.loadCustom=function(r){var t=this;try{var a=y.CONFIG.require(r);a instanceof Promise?a.then(function(){return t.checkLoad()}).catch(function(e){return t.failed("Can't load \""+r+'"\n'+e.message.trim())}):this.checkLoad()}catch(e){this.failed(e.message)}},i.prototype.loadScript=function(r){var t=this,a=document.createElement("script");a.src=r,a.charset="UTF-8",a.onload=function(e){return t.checkLoad()},a.onerror=function(e){return t.failed("Can't load \""+r+'"')},document.head.appendChild(a)},i.prototype.loaded=function(){var r,t,a,e;this.isLoaded=!0,this.isLoading=!1;try{for(var n=b(this.dependents),u=n.next();!u.done;u=n.next()){u.value.requirementSatisfied()}}catch(c){r={error:c}}finally{try{u&&!u.done&&(t=n.return)&&t.call(n)}finally{if(r)throw r.error}}try{for(var w=b(this.provided),P=w.next();!P.done;P=w.next()){P.value.loaded()}}catch(c){a={error:c}}finally{try{P&&!P.done&&(e=w.return)&&e.call(w)}finally{if(a)throw a.error}}this.resolve(this.name)},i.prototype.failed=function(r){this.hasFailed=!0,this.isLoading=!1,this.reject(new N(r,this.name))},i.prototype.checkLoad=function(){var r=this;((y.CONFIG[this.name]||{}).checkReady||function(){return Promise.resolve()})().then(function(){return r.loaded()}).catch(function(e){return r.failed(e)})},i.prototype.requirementSatisfied=function(){this.dependencyCount&&(this.dependencyCount--,this.canLoad&&this.load())},i.prototype.provides=function(r){var t,a;void 0===r&&(r=[]);try{for(var e=b(r),n=e.next();!n.done;n=e.next()){var u=n.value,g=i.packages.get(u);g||(y.CONFIG.dependencies[u]||(y.CONFIG.dependencies[u]=[]),y.CONFIG.dependencies[u].push(u),(g=new i(u,!0)).isLoading=!0),this.provided.push(g)}}catch(w){t={error:w}}finally{try{n&&!n.done&&(a=e.return)&&a.call(e)}finally{if(t)throw t.error}}},i.prototype.addDependent=function(r,t){this.dependents.push(r),t||this.checkNoLoad()},i.prototype.checkNoLoad=function(){var r,t;if(this.noLoad){this.noLoad=!1;try{for(var a=b(this.dependencies),e=a.next();!e.done;e=a.next()){e.value.checkNoLoad()}}catch(u){r={error:u}}finally{try{e&&!e.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}}},i.packages=new Map,i}();o.Package=d},75760:function(S,o,O){var j=this&&this.__values||function(f){var c="function"==typeof Symbol&&Symbol.iterator,l=c&&f[c],s=0;if(l)return l.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&s>=f.length&&(f=void 0),{value:f&&f[s++],done:!f}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},b=this&&this.__read||function(f,c){var l="function"==typeof Symbol&&f[Symbol.iterator];if(!l)return f;var v,p,s=l.call(f),h=[];try{for(;(void 0===c||c-- >0)&&!(v=s.next()).done;)h.push(v.value)}catch(m){p={error:m}}finally{try{v&&!v.done&&(l=s.return)&&l.call(s)}finally{if(p)throw p.error}}return h},F=this&&this.__spreadArray||function(f,c,l){if(l||2===arguments.length)for(var h,s=0,v=c.length;s<v;s++)(h||!(s in c))&&(h||(h=Array.prototype.slice.call(c,0,s)),h[s]=c[s]);return f.concat(h||Array.prototype.slice.call(c))},M=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(o,"__esModule",{value:!0}),o.RequireConfiguration=o.options=o.RequireMethods=o.RequireLoad=void 0;var y=O(8890),N=O(82652),d=M(O(6257)),i=O(76210),r=O(73521),t=O(63911),a=O(31326),e=O(80084),n=i.MathJax.config;function u(f,c){var l,s=f.parseOptions.options.require,v=f.parseOptions.packageData.get("require").required,h=c.substr(s.prefix.length);if(v.indexOf(h)<0){v.push(h),function g(f,c){var l,s;void 0===c&&(c=[]);var v=f.parseOptions.options.require.prefix;try{for(var h=j(c),p=h.next();!p.done;p=h.next()){var m=p.value;m.substr(0,v.length)===v&&u(f,m)}}catch(k){l={error:k}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(l)throw l.error}}}(f,t.CONFIG.dependencies[c]);var p=y.ConfigurationHandler.get(h);if(p){var m=n[c]||{};p.options&&1===Object.keys(p.options).length&&p.options[h]&&((l={})[h]=m,m=l),f.configuration.add(h,f,m);var k=f.parseOptions.packageData.get("require").configured;p.preprocessors.length&&!k.has(h)&&(k.set(h,!0),a.mathjax.retryAfter(Promise.resolve()))}}}function w(f,c){var l=f.options.require,s=l.allow,v=("["===c.substr(0,1)?"":l.prefix)+c;if(!(s.hasOwnProperty(v)?s[v]:s.hasOwnProperty(c)?s[c]:l.defaultAllow))throw new d.default("BadRequire",'Extension "%1" is not allowed to be loaded',v);r.Package.packages.has(v)?u(f.configuration.packageData.get("require").jax,v):a.mathjax.retryAfter(t.Loader.load(v))}o.RequireLoad=w,o.RequireMethods={Require:function(f,c){var l=f.GetArgument(c);if(l.match(/[^_a-zA-Z0-9]/)||""===l)throw new d.default("BadPackageName","Argument for %1 is not a valid package name",c);w(f,l)}},o.options={require:{allow:(0,e.expandable)({base:!1,"all-packages":!1,autoload:!1,configmacros:!1,tagformat:!1,setoptions:!1}),defaultAllow:!0,prefix:"tex"}},new N.CommandMap("require",{require:"Require"},o.RequireMethods),o.RequireConfiguration=y.Configuration.create("require",{handler:{macro:["require"]},config:function P(f,c){c.parseOptions.packageData.set("require",{jax:c,required:F([],b(c.options.packages),!1),configured:new Map});var l=c.parseOptions.options.require,s=l.prefix;if(s.match(/[^_a-zA-Z0-9]/))throw Error("Illegal characters used in \\require prefix");t.CONFIG.paths[s]||(t.CONFIG.paths[s]="[mathjax]/input/tex/extensions"),l.prefix="["+s+"]/"},options:o.options})}}]);