Build 620073canary
Module 856117
556 characters · in 393394.682390c809d5b7c0.jsDependencies
Source Raw
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringFormatter=t.StringBuilder=void 0,t.formatToPlainString=o;let n=r(668317);class i extends n.FormatBuilder{constructor(){super(...arguments),this.result=""}pushRichTextTag(e,t,r){for(let e of t)this.result+=e}pushLiteralText(e){this.result+=e}pushObject(e){null!=e&&"toString"in e&&(this.result+=e.toString())}finish(){return[this.result]}}function o(e,t){return"string"==typeof e?e:this.bindFormatValues(i,e,t)[0]}t.StringBuilder=i,t.stringFormatter={format:o,builder:i}}