// Module ID: 1264 // Function ID: 14274 // Name: _isNativeReflectConstruct // Dependencies: [6, 7, 15, 17, 18, 1254] // Exports: formatToPlainString // Module 1264 (_isNativeReflectConstruct) import _classCallCheck from "_classCallCheck"; import _defineProperties from "_defineProperties"; import "_possibleConstructorReturn"; import _getPrototypeOf from "_getPrototypeOf"; import _inherits from "_inherits"; function _isNativeReflectConstruct() { let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => { })); function _isNativeReflectConstruct() { return closure_0; } const result = _isNativeReflectConstruct(); } function formatToPlainString(FNtLb3, maxSettingsForPreset) { const self = this; let first = FNtLb3; if ("string" !== typeof FNtLb3) { first = self.bindFormatValues(closure_5, FNtLb3, maxSettingsForPreset)[0]; } return first; } const tmp2 = ((FormatBuilder) => { class StringBuilder { constructor() { self = this; tmp = StringBuilder(this, StringBuilder); obj = outer1_3(StringBuilder); tmp2 = outer1_2; if (outer1_6()) { tmp6 = globalThis; _Reflect = Reflect; tmp7 = outer1_3; tmp8 = arguments; constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor); } else { tmp3 = arguments; tmp4 = arguments; constructResult = obj(...arguments); } tmp2Result = tmp2(self, constructResult); tmp2Result.result = ""; return tmp2Result; } } _inherits(StringBuilder, FormatBuilder); let obj = { key: "pushRichTextTag", value: function pushRichTextTag(arg0, items) { const self = this; for (const item10004 of arg1) { self.result = self.result + item10004; continue; } } }; let items = [obj, , , ]; obj = { key: "pushLiteralText", value: function pushLiteralText(arg0) { this.result = this.result + arg0; } }; items[1] = obj; obj = { key: "pushObject", value: function pushObject(arg0) { const self = this; let tmp = null != arg0; if (tmp) { tmp = "toString" in arg0; } if (tmp) { self.result = self.result + arg0.toString(); } } }; items[2] = obj; items[3] = { key: "finish", value: function finish() { const items = [this.result]; return items; } }; return _defineProperties(StringBuilder, items); })(require("_isNativeReflectConstruct").FormatBuilder); let closure_5 = tmp2; export { formatToPlainString }; export const StringBuilder = tmp2; export const stringFormatter = { format: formatToPlainString, builder: tmp2 };