1 |
- {"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Usage = void 0;\nvar Usage = function () {\n function Usage() {\n this.used = new Set();\n this.needsUpdate = [];\n }\n Usage.prototype.add = function (item) {\n var name = JSON.stringify(item);\n if (!this.used.has(name)) {\n this.needsUpdate.push(item);\n }\n this.used.add(name);\n };\n Usage.prototype.has = function (item) {\n return this.used.has(JSON.stringify(item));\n };\n Usage.prototype.clear = function () {\n this.used.clear();\n this.needsUpdate = [];\n };\n Usage.prototype.update = function () {\n var update = this.needsUpdate;\n this.needsUpdate = [];\n return update;\n };\n return Usage;\n}();\nexports.Usage = Usage;","map":{"version":3,"names":["Object","defineProperty","exports","value","Usage","used","Set","needsUpdate","prototype","add","item","name","JSON","stringify","has","push","clear","update"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/mathjax-full/js/output/chtml/Usage.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Usage = void 0;\nvar Usage = (function () {\n function Usage() {\n this.used = new Set();\n this.needsUpdate = [];\n }\n Usage.prototype.add = function (item) {\n var name = JSON.stringify(item);\n if (!this.used.has(name)) {\n this.needsUpdate.push(item);\n }\n this.used.add(name);\n };\n Usage.prototype.has = function (item) {\n return this.used.has(JSON.stringify(item));\n };\n Usage.prototype.clear = function () {\n this.used.clear();\n this.needsUpdate = [];\n };\n Usage.prototype.update = function () {\n var update = this.needsUpdate;\n this.needsUpdate = [];\n return update;\n };\n return Usage;\n}());\nexports.Usage = Usage;\n"],"mappings":"AAAA,YAAY;;AACZA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,KAAK,GAAG,KAAK,CAAC;AACtB,IAAIA,KAAK,GAAI,YAAY;EACrB,SAASA,KAAKA,CAAA,EAAG;IACb,IAAI,CAACC,IAAI,GAAG,IAAIC,GAAG,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