"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[9523],{5520:(v,s)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.newState=s.STATE=s.AbstractMathItem=s.protoItem=void 0,s.protoItem=function m(f,u,i,n,t,e,r){return void 0===r&&(r=null),{open:f,math:u,close:i,n,start:{n:t},end:{n:e},display:r}};var y=function(){function f(u,i,n,t,e){void 0===n&&(n=!0),void 0===t&&(t={i:0,n:0,delim:""}),void 0===e&&(e={i:0,n:0,delim:""}),this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={},this._state=s.STATE.UNPROCESSED,this.math=u,this.inputJax=i,this.display=n,this.start=t,this.end=e,this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={}}return Object.defineProperty(f.prototype,"isEscaped",{get:function(){return null===this.display},enumerable:!1,configurable:!0}),f.prototype.render=function(u){u.renderActions.renderMath(this,u)},f.prototype.rerender=function(u,i){void 0===i&&(i=s.STATE.RERENDER),this.state()>=i&&this.state(i-1),u.renderActions.renderMath(this,u,i)},f.prototype.convert=function(u,i){void 0===i&&(i=s.STATE.LAST),u.renderActions.renderConvert(this,u,i)},f.prototype.compile=function(u){this.state()=s.STATE.INSERTED&&this.removeFromDocument(i),u=s.STATE.TYPESET&&(this.outputData={}),u=s.STATE.COMPILED&&(this.inputData={}),this._state=u),this._state},f.prototype.reset=function(u){void 0===u&&(u=!1),this.state(s.STATE.UNPROCESSED,u)},f}();s.AbstractMathItem=y,s.STATE={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4},s.newState=function c(f,u){if(f in s.STATE)throw Error("State "+f+" already exists");s.STATE[f]=u}},8252:function(v,s,m){var n,y=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),c=this&&this.__assign||function(){return c=Object.assign||function(n){for(var t,e=1,r=arguments.length;ethis.childNodes.length&&(t=1),this.attributes.set("selection",t)},n.defaults=c(c({},f.AbstractMmlNode.defaults),{actiontype:"toggle",selection:1}),n}(f.AbstractMmlNode);s.MmlMaction=u},25021:function(v,s,m){var i,y=this&&this.__extends||(i=function(n,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])})(n,t)},function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}i(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),c=this&&this.__assign||function(){return c=Object.assign||function(i){for(var n,t=1,e=arguments.length;t=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.MmlMfenced=void 0;var u=m(91585),i=function(n){function t(){var e=null!==n&&n.apply(this,arguments)||this;return e.texclass=u.TEXCLASS.INNER,e.separators=[],e.open=null,e.close=null,e}return y(t,n),Object.defineProperty(t.prototype,"kind",{get:function(){return"mfenced"},enumerable:!1,configurable:!0}),t.prototype.setTeXclass=function(e){this.getPrevClass(e),this.open&&(e=this.open.setTeXclass(e)),this.childNodes[0]&&(e=this.childNodes[0].setTeXclass(e));for(var r=1,o=this.childNodes.length;r=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.MmlMfrac=void 0;var u=m(91585),i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return y(t,n),Object.defineProperty(t.prototype,"kind",{get:function(){return"mfrac"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arity",{get:function(){return 2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.setTeXclass=function(e){var r,o;this.getPrevClass(e);try{for(var a=f(this.childNodes),l=a.next();!l.done;l=a.next()){l.value.setTeXclass(null)}}catch(p){r={error:p}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return this},t.prototype.setChildInheritedAttributes=function(e,r,o,a){(!r||o>0)&&o++,this.childNodes[0].setInheritedAttributes(e,!1,o,a),this.childNodes[1].setInheritedAttributes(e,!1,o,!0)},t.defaults=c(c({},u.AbstractMmlBaseNode.defaults),{linethickness:"medium",numalign:"center",denomalign:"center",bevelled:!1}),t}(u.AbstractMmlBaseNode);s.MmlMfrac=i},45628:function(v,s,m){var i,y=this&&this.__extends||(i=function(n,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])})(n,t)},function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}i(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),c=this&&this.__assign||function(){return c=Object.assign||function(i){for(var n,t=1,e=arguments.length;t1&&e.match(n.operatorName)&&"normal"===this.attributes.get("mathvariant")&&void 0===this.getProperty("autoOP")&&void 0===this.getProperty("texClass")&&(this.texClass=f.TEXCLASS.OP,this.setProperty("autoOP",!0)),this},n.defaults=c({},f.AbstractMmlTokenNode.defaults),n.operatorName=/^[a-z][a-z0-9]*$/i,n.singleCharacter=/^[\uD800-\uDBFF]?.[\u0300-\u036F\u1AB0-\u1ABE\u1DC0-\u1DFF\u20D0-\u20EF]*$/,n}(f.AbstractMmlTokenNode);s.MmlMi=u},93018:function(v,s,m){var e,y=this&&this.__extends||(e=function(r,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&(a[h]=l[h])})(r,o)},function(r,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function a(){this.constructor=r}e(r,o),r.prototype=null===o?Object.create(o):(a.prototype=o.prototype,new a)}),c=this&&this.__assign||function(){return c=Object.assign||function(e){for(var r,o=1,a=arguments.length;o=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.MmlInferredMrow=s.MmlMrow=void 0;var u=m(91585),i=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r._core=null,r}return y(e,t),Object.defineProperty(e.prototype,"kind",{get:function(){return"mrow"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSpacelike",{get:function(){var r,o;try{for(var a=f(this.childNodes),l=a.next();!l.done;l=a.next()){if(!l.value.isSpacelike)return!1}}catch(p){r={error:p}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmbellished",{get:function(){var r,o,a=!1,l=0;try{for(var h=f(this.childNodes),p=h.next();!p.done;p=h.next()){var d=p.value;if(d)if(d.isEmbellished){if(a)return!1;a=!0,this._core=l}else if(!d.isSpacelike)return!1;l++}}catch(g){r={error:g}}finally{try{p&&!p.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}return a},enumerable:!1,configurable:!0}),e.prototype.core=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core]:this},e.prototype.coreMO=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core].coreMO():this},e.prototype.nonSpaceLength=function(){var r,o,a=0;try{for(var l=f(this.childNodes),h=l.next();!h.done;h=l.next()){var p=h.value;p&&!p.isSpacelike&&a++}}catch(d){r={error:d}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return a},e.prototype.firstNonSpace=function(){var r,o;try{for(var a=f(this.childNodes),l=a.next();!l.done;l=a.next()){var h=l.value;if(h&&!h.isSpacelike)return h}}catch(p){r={error:p}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return null},e.prototype.lastNonSpace=function(){for(var r=this.childNodes.length;--r>=0;){var o=this.childNodes[r];if(o&&!o.isSpacelike)return o}return null},e.prototype.setTeXclass=function(r){var o,a,l,h;if(null!=this.getProperty("open")||null!=this.getProperty("close")){this.getPrevClass(r),r=null;try{for(var p=f(this.childNodes),d=p.next();!d.done;d=p.next()){r=d.value.setTeXclass(r)}}catch(M){o={error:M}}finally{try{d&&!d.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}null==this.texClass&&(this.texClass=u.TEXCLASS.INNER)}else{try{for(var _=f(this.childNodes),b=_.next();!b.done;b=_.next()){r=b.value.setTeXclass(r)}}catch(M){l={error:M}}finally{try{b&&!b.done&&(h=_.return)&&h.call(_)}finally{if(l)throw l.error}}this.childNodes[0]&&this.updateTeXclass(this.childNodes[0])}return r},e.defaults=c({},u.AbstractMmlNode.defaults),e}(u.AbstractMmlNode);s.MmlMrow=i;var n=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),Object.defineProperty(e.prototype,"kind",{get:function(){return"inferredMrow"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInferred",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"notParent",{get:function(){return!0},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"["+this.childNodes.join(",")+"]"},e.defaults=i.defaults,e}(i);s.MmlInferredMrow=n},92294:function(v,s,m){var i,y=this&&this.__extends||(i=function(n,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])})(n,t)},function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=n}i(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),c=this&&this.__assign||function(){return c=Object.assign||function(i){for(var n,t=1,e=arguments.length;t=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.MmlMtable=void 0;var u=m(91585),i=m(74267),n=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.properties={useHeight:!0},r.texclass=u.TEXCLASS.ORD,r}return y(e,t),Object.defineProperty(e.prototype,"kind",{get:function(){return"mtable"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),e.prototype.setInheritedAttributes=function(r,o,a,l){var h,p;try{for(var d=f(u.indentAttributes),g=d.next();!g.done;g=d.next()){var _=g.value;r[_]&&this.attributes.setInherited(_,r[_][1]),void 0!==this.attributes.getExplicit(_)&&delete this.attributes.getAllAttributes()[_]}}catch(b){h={error:b}}finally{try{g&&!g.done&&(p=d.return)&&p.call(d)}finally{if(h)throw h.error}}t.prototype.setInheritedAttributes.call(this,r,o,a,l)},e.prototype.setChildInheritedAttributes=function(r,o,a,l){var h,p,d,g;try{for(var _=f(this.childNodes),b=_.next();!b.done;b=_.next()){(M=b.value).isKind("mtr")||this.replaceChild(this.factory.create("mtr"),M).appendChild(M)}}catch(j){h={error:j}}finally{try{b&&!b.done&&(p=_.return)&&p.call(_)}finally{if(h)throw h.error}}a=this.getProperty("scriptlevel")||a,o=!(!this.attributes.getExplicit("displaystyle")&&!this.attributes.getDefault("displaystyle")),r=this.addInheritedAttributes(r,{columnalign:this.attributes.get("columnalign"),rowalign:"center"});var w=this.attributes.getExplicit("data-cramped"),P=(0,i.split)(this.attributes.get("rowalign"));try{for(var A=f(this.childNodes),O=A.next();!O.done;O=A.next()){var M=O.value;r.rowalign[1]=P.shift()||r.rowalign[1],M.setInheritedAttributes(r,o,a,!!w)}}catch(j){d={error:j}}finally{try{O&&!O.done&&(g=A.return)&&g.call(A)}finally{if(d)throw d.error}}},e.prototype.verifyChildren=function(r){for(var o=null,a=this.factory,l=0;l=r.length&&(r=void 0),{value:r&&r[l++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(s,"__esModule",{value:!0}),s.MmlMlabeledtr=s.MmlMtr=void 0;var u=m(91585),i=m(8480),n=m(74267),t=function(r){function o(){return null!==r&&r.apply(this,arguments)||this}return y(o,r),Object.defineProperty(o.prototype,"kind",{get:function(){return"mtr"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),o.prototype.setChildInheritedAttributes=function(a,l,h,p){var d,g,_,b;try{for(var M=f(this.childNodes),w=M.next();!w.done;w=M.next()){(P=w.value).isKind("mtd")||this.replaceChild(this.factory.create("mtd"),P).appendChild(P)}}catch(N){d={error:N}}finally{try{w&&!w.done&&(g=M.return)&&g.call(M)}finally{if(d)throw d.error}}var A=(0,n.split)(this.attributes.get("columnalign"));1===this.arity&&A.unshift(this.parent.attributes.get("side")),a=this.addInheritedAttributes(a,{rowalign:this.attributes.get("rowalign"),columnalign:"center"});try{for(var O=f(this.childNodes),j=O.next();!j.done;j=O.next()){var P=j.value;a.columnalign[1]=A.shift()||a.columnalign[1],P.setInheritedAttributes(a,l,h,p)}}catch(N){_={error:N}}finally{try{j&&!j.done&&(b=O.return)&&b.call(O)}finally{if(_)throw _.error}}},o.prototype.verifyChildren=function(a){var l,h;if(!this.parent||this.parent.isKind("mtable")){try{for(var p=f(this.childNodes),d=p.next();!d.done;d=p.next()){var g=d.value;if(!g.isKind("mtd"))this.replaceChild(this.factory.create("mtd"),g).appendChild(g),a.fixMtables||g.mError("Children of "+this.kind+" must be mtd",a)}}catch(b){l={error:b}}finally{try{d&&!d.done&&(h=p.return)&&h.call(p)}finally{if(l)throw l.error}}r.prototype.verifyChildren.call(this,a)}else this.mError(this.kind+" can only be a child of an mtable",a,!0)},o.prototype.setTeXclass=function(a){var l,h;this.getPrevClass(a);try{for(var p=f(this.childNodes),d=p.next();!d.done;d=p.next()){d.value.setTeXclass(null)}}catch(_){l={error:_}}finally{try{d&&!d.done&&(h=p.return)&&h.call(p)}finally{if(l)throw l.error}}return this},o.defaults=c(c({},u.AbstractMmlNode.defaults),{rowalign:i.INHERIT,columnalign:i.INHERIT,groupalign:i.INHERIT}),o}(u.AbstractMmlNode);s.MmlMtr=t;var e=function(r){function o(){return null!==r&&r.apply(this,arguments)||this}return y(o,r),Object.defineProperty(o.prototype,"kind",{get:function(){return"mlabeledtr"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"arity",{get:function(){return 1},enumerable:!1,configurable:!0}),o}(t);s.MmlMlabeledtr=e},89617:function(v,s,m){var t,y=this&&this.__extends||(t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(o[l]=a[l])})(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),c=this&&this.__assign||function(){return c=Object.assign||function(t){for(var e,r=1,o=arguments.length;r=u.length&&(u=void 0),{value:u&&u[t++],done:!u}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(u,i){var n="function"==typeof Symbol&&u[Symbol.iterator];if(!n)return u;var e,o,t=n.call(u),r=[];try{for(;(void 0===i||i-- >0)&&!(e=t.next()).done;)r.push(e.value)}catch(a){o={error:a}}finally{try{e&&!e.done&&(n=t.return)&&n.call(t)}finally{if(o)throw o.error}}return r},c=this&&this.__spreadArray||function(u,i,n){if(n||2===arguments.length)for(var r,t=0,e=i.length;t