{"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}();\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CommonMtdMixin = void 0;\nfunction CommonMtdMixin(Base) {\n return function (_super) {\n __extends(class_1, _super);\n function class_1() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(class_1.prototype, \"fixesPWidth\", {\n get: function () {\n return false;\n },\n enumerable: false,\n configurable: true\n });\n class_1.prototype.invalidateBBox = function () {\n this.bboxComputed = false;\n };\n class_1.prototype.getWrapWidth = function (_j) {\n var table = this.parent.parent;\n var row = this.parent;\n var i = this.node.childPosition() - (row.labeled ? 1 : 0);\n return typeof table.cWidths[i] === 'number' ? table.cWidths[i] : table.getTableData().W[i];\n };\n class_1.prototype.getChildAlign = function (_i) {\n return this.node.attributes.get('columnalign');\n };\n return class_1;\n }(Base);\n}\nexports.CommonMtdMixin = CommonMtdMixin;","map":{"version":3,"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","TypeError","String","__","constructor","create","defineProperty","exports","value","CommonMtdMixin","Base","_super","class_1","apply","arguments","get","enumerable","configurable","invalidateBBox","bboxComputed","getWrapWidth","_j","table","parent","row","i","node","childPosition","labeled","cWidths","getTableData","W","getChildAlign","_i","attributes"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/mathjax-full/js/output/common/Wrappers/mtd.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})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CommonMtdMixin = void 0;\nfunction CommonMtdMixin(Base) {\n return (function (_super) {\n __extends(class_1, _super);\n function class_1() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Object.defineProperty(class_1.prototype, \"fixesPWidth\", {\n get: function () {\n return false;\n },\n enumerable: false,\n configurable: true\n });\n class_1.prototype.invalidateBBox = function () {\n this.bboxComputed = false;\n };\n class_1.prototype.getWrapWidth = function (_j) {\n var table = this.parent.parent;\n var row = this.parent;\n var i = this.node.childPosition() - (row.labeled ? 1 : 0);\n return (typeof (table.cWidths[i]) === 'number' ? table.cWidths[i] : table.getTableData().W[i]);\n };\n class_1.prototype.getChildAlign = function (_i) {\n return this.node.attributes.get('columnalign');\n };\n return class_1;\n }(Base));\n}\nexports.CommonMtdMixin = CommonMtdMixin;\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,CAA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