PageSourceSearch

https://ds-k.site/_astro/flowGraphConsoleLogBlock.CxY_6yCH.js

js ds-k.site collected 2026-10-01 12:38:35 UTC 1,085 bytes, 1 lines download raw bytes

1import{a8 as r,a4 as l,L as o,a1 as i}from"./Layout.astro_astro_type_script_index_0_lang.D7HFstIc.js";import"./_commonjsHelpers.CqkleIqs.js";class h extends r{constructor(e){if(super(e),this.message=this.registerDataInput("message",l),this.logType=this.registerDataInput("logType",l,"log"),e?.messageTemplate){const t=this._getTemplateMatches(e.messageTemplate);for(const s of t)this.registerDataInput(s,l)}}_execute(e){const t=this.logType.getValue(e),s=this._getMessageValue(e);t==="warn"?o.Warn(s):t==="error"?o.Error(s):o.Log(s),this.out._activateSignal(e)}getClassName(){return"FlowGraphConsoleLogBlock"}_getMessageValue(e){if(this.config?.messageTemplate){let t=this.config.messageTemplate;const s=this._getTemplateMatches(t);for(const a of s){const g=this.getDataInput(a)?.getValue(e);g!==void 0&&(t=t.replace(new RegExp(`\\{${a}\\}`,"g"),g.toString()))}return t}else return this.message.getValue(e)}_getTemplateMatches(e){const t=/\{([^}]+)\}/g,s=[];let a;for(;(a=t.exec(e))!==null;)s.push(a[1]);return s}}i("FlowGraphConsoleLogBlock",h);export{h as FlowGraphConsoleLogBlock};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.