/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
var o="undefined"!=typeof window&&window.location&&window.location.href.indexOf("xgplayerdebugger=1")>-1,r={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},n="%c[xgplayer]",e={config:{debug:o?3:0},logInfo:function(o){for(var e,l=arguments.length,c=new Array(l>1?l-1:0),a=1;a<l;a++)c[a-1]=arguments[a];this.config.debug>=3&&(e=console).log.apply(e,[n,r.info,o].concat(c))},logWarn:function(o){for(var e,l=arguments.length,c=new Array(l>1?l-1:0),a=1;a<l;a++)c[a-1]=arguments[a];this.config.debug>=1&&(e=console).warn.apply(e,[n,r.warn,o].concat(c))},logError:function(o){var e;if(!(this.config.debug<1)){for(var l=this.config.debug>=2?"trace":"error",c=arguments.length,a=new Array(c>1?c-1:0),g=1;g<c;g++)a[g-1]=arguments[g];(e=console)[l].apply(e,[n,r.error,o].concat(a))}}};function l(o){o.logInfo=e.logInfo.bind(o),o.logWarn=e.logWarn.bind(o),o.logError=e.logError.bind(o)}export{l as bindDebug,e as default};