/*!
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
*/
import{toConsumableArray as i}from"../_virtual/_rollupPluginBabelHelpers.js";var n=function(n,o){var s,p,g=o.preset&&o.options?new o.preset(o.options,n.config):new o({},n.config),c=g.plugins,e=void 0===c?[]:c,r=g.ignores,f=void 0===r?[]:r,l=g.icons,u=void 0===l?{}:l,a=g.i18n,t=void 0===a?[]:a;n.config.plugins||(n.config.plugins=[]),n.config.ignores||(n.config.ignores=[]),(s=n.config.plugins).push.apply(s,i(e)),(p=n.config.ignores).push.apply(p,i(f)),Object.keys(u).map(function(i){n.config.icons[i]||(n.config.icons[i]=u[i])});var v=n.config.i18n||[];t.push.apply(t,i(v)),n.config.i18n=t};export{n as usePreset};