{"ast":null,"code":"\"use strict\";\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MmlMath = void 0;\nvar MmlNode_js_1 = require(\"../MmlNode.js\");\nvar MmlMath = function (_super) {\n __extends(MmlMath, _super);\n function MmlMath() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(MmlMath.prototype, \"kind\", {\n get: function () {\n return 'math';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MmlMath.prototype, \"linebreakContainer\", {\n get: function () {\n return true;\n },\n enumerable: false,\n configurable: true\n });\n MmlMath.prototype.setChildInheritedAttributes = function (attributes, display, level, prime) {\n if (this.attributes.get('mode') === 'display') {\n this.attributes.setInherited('display', 'block');\n }\n attributes = this.addInheritedAttributes(attributes, this.attributes.getAllAttributes());\n display = !!this.attributes.get('displaystyle') || !this.attributes.get('displaystyle') && this.attributes.get('display') === 'block';\n this.attributes.setInherited('displaystyle', display);\n level = this.attributes.get('scriptlevel') || this.constructor.defaults['scriptlevel'];\n _super.prototype.setChildInheritedAttributes.call(this, attributes, display, level, prime);\n };\n MmlMath.defaults = __assign(__assign({}, MmlNode_js_1.AbstractMmlLayoutNode.defaults), {\n mathvariant: 'normal',\n mathsize: 'normal',\n mathcolor: '',\n mathbackground: 'transparent',\n dir: 'ltr',\n scriptlevel: 0,\n displaystyle: false,\n display: 'inline',\n maxwidth: '',\n overflow: 'linebreak',\n altimg: '',\n 'altimg-width': '',\n 'altimg-height': '',\n 'altimg-valign': '',\n alttext: '',\n cdgroup: '',\n scriptsizemultiplier: 1 / Math.sqrt(2),\n scriptminsize: '8px',\n infixlinebreakstyle: 'before',\n lineleading: '1ex',\n linebreakmultchar: '\\u2062',\n indentshift: 'auto',\n indentalign: 'auto',\n indenttarget: '',\n indentalignfirst: 'indentalign',\n indentshiftfirst: 'indentshift',\n indentalignlast: 'indentalign',\n indentshiftlast: 'indentshift'\n });\n return MmlMath;\n}(MmlNode_js_1.AbstractMmlLayoutNode);\nexports.MmlMath = MmlMath;","map":{"version":3,"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","TypeError","String","__","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","defineProperty","exports","value","MmlMath","MmlNode_js_1","require","_super","get","enumerable","configurable","setChildInheritedAttributes","attributes","display","level","prime","setInherited","addInheritedAttributes","getAllAttributes","defaults","AbstractMmlLayoutNode","mathvariant","mathsize","mathcolor","mathbackground","dir","scriptlevel","displaystyle","maxwidth","overflow","altimg","alttext","cdgroup","scriptsizemultiplier","Math","sqrt","scriptminsize","infixlinebreakstyle","lineleading","linebreakmultchar","indentshift","indentalign","indenttarget","indentalignfirst","indentshiftfirst","indentalignlast","indentshiftlast"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/mathjax-full/js/core/MmlTree/MmlNodes/math.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MmlMath = void 0;\nvar MmlNode_js_1 = require(\"../MmlNode.js\");\nvar MmlMath = (function (_super) {\n __extends(MmlMath, _super);\n function MmlMath() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(MmlMath.prototype, \"kind\", {\n get: function () {\n return 'math';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MmlMath.prototype, \"linebreakContainer\", {\n get: function () {\n return true;\n },\n enumerable: false,\n configurable: true\n });\n MmlMath.prototype.setChildInheritedAttributes = function (attributes, display, level, prime) {\n if (this.attributes.get('mode') === 'display') {\n this.attributes.setInherited('display', 'block');\n }\n attributes = this.addInheritedAttributes(attributes, this.attributes.getAllAttributes());\n display = (!!this.attributes.get('displaystyle') ||\n (!this.attributes.get('displaystyle') && this.attributes.get('display') === 'block'));\n this.attributes.setInherited('displaystyle', display);\n level = (this.attributes.get('scriptlevel') ||\n this.constructor.defaults['scriptlevel']);\n _super.prototype.setChildInheritedAttributes.call(this, attributes, display, level, prime);\n };\n MmlMath.defaults = __assign(__assign({}, MmlNode_js_1.AbstractMmlLayoutNode.defaults), { mathvariant: 'normal', mathsize: 'normal', mathcolor: '', mathbackground: 'transparent', dir: 'ltr', scriptlevel: 0, displaystyle: false, display: 'inline', maxwidth: '', overflow: 'linebreak', altimg: '', 'altimg-width': '', 'altimg-height': '', 'altimg-valign': '', alttext: '', cdgroup: '', scriptsizemultiplier: 1 / Math.sqrt(2), scriptminsize: '8px', infixlinebreakstyle: 'before', lineleading: '1ex', linebreakmultchar: '\\u2062', indentshift: 'auto', indentalign: 'auto', indenttarget: '', indentalignfirst: 'indentalign', indentshiftfirst: 'indentshift', indentalignlast: 'indentalign', indentshiftlast: 'indentshift' });\n return MmlMath;\n}(MmlNode_js_1.AbstractMmlLayoutNode));\nexports.MmlMath = MmlMath;\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAI,IAAI,IAAI,IAAI,CAACA,SAAS,IAAM,YAAY;EACrD,IAAIC,aAAa,GAAG,SAAAA,CAAUC,CAAC,EAAEC,CAAC,EAAE;IAChCF,aAAa,GAAGG,MAAM,CAACC,cAAc,IAChC;MAAEC,SAAS,EAAE;IAAG,CAAC,YAAYC,KAAK,IAAI,UAAUL,CAAC,EAAEC,CAAC,EAAE;MAAED,CAAC,CAACI,SAAS,GAAGH,CAAC;IAAE,CAAE,IAC5E,UAAUD,CAAC,EAAEC,CAAC,EAAE;MAAE,KAAK,IAAIK,CAAC,IAAIL,CAAC,EAAE,IAAIC,MAAM,CAACK,SAAS,CAACC,cAAc,CAACC,IAAI,CAACR,CAAC,EAAEK,CAAC,CAAC,EAAEN,CAAC,CAACM,CAAC,CAAC,GAAGL,CAAC,CAACK,CAAC,CAAC;IAAE,CAAC;IACrG,OAAOP,aAAa,CAACC,CAAC,EAAEC,CAAC,CAAC;EAC9B,CAAC;EACD,OAAO,UAAUD,CAAC,EAAEC,CAAC,EAAE;IACnB,IAAI,OAAOA,CAAC,KAAK,UAAU,IAAIA,CAAC,KAAK,IAAI,EACrC,MAAM,IAAIS,SAAS,CAAC,sBAAsB,GAAGC,MAAM,CAACV,CAAC,CAAC,GAAG,+BAA+B,CAAC;IAC7FF,aAAa,CAACC,CAAC,EAAEC,CAAC,CAAC;IACnB,S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