class t{static setVegaLogLevel(t){this.logLevel=t}static log(...t){this.shouldLog("log")&&console.log(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}static warn(...t){this.shouldLog("warn")&&console.warn(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}static error(...t){this.shouldLog("error")&&console.error(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}static shouldLog(t){return this.LOG_LEVELS.findIndex((s=>s===t))<=this.LOG_LEVELS.findIndex((t=>t===this.logLevel))}}function s(s){t.setVegaLogLevel(s)}t.logLevel="error",t.LOG_PREFIX_STR="[Vega]",t.LOG_PREFIX_STYLE="font-weight: bold",t.LOG_LEVELS=["off","error","warn","log"];const o=Object.freeze({__proto__:null,LogUtility:t,setVegaLogLevel:s});class e{static log(...t){console.log(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}static warn(...t){console.warn(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}static error(...t){console.error(`%c${this.LOG_PREFIX_STR}`,this.LOG_PREFIX_STYLE,...t)}}e.LOG_PREFIX_STR="[Vega]",e.LOG_PREFIX_STYLE="font-weight: bold";const n=Symbol("ProcessorInternalCallback"),i=Symbol("SlimmerConsumedBy"),c=Symbol("ConsumerSlimmers"),r=Symbol("CurrentlyInvokedMethodName");function a(t){return function(s,o){Object.defineProperty(s,o,{get:h(o,t),set:l(o,t),configurable:!0})}}function l(t,s={}){return function(o){var n;s.writable?this[i][null!==(n=s.componentFieldName)&&void 0!==n?n:t]=o:e.error(`${t} is not writable`)}}function h(t,s={}){return function(){const{componentFieldName:o}=s;return this[i][null!=o?o:t]}}function u(t){return function(s,o){!function(t){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=t[n]?[].concat(t[n]):[])}(s),s[n].push({componentMethodName:t,slimmerMethodName:o})}}class m{}class g{static register(t){this.globalSlimmers=t}}g.globalSlimmers=[];export{c as C,g as G,t as L,u as M,i as S,m as V,n as a,r as b,a as c,o as l,s}