const e=require("../_util/type.js"),t=require("../_util/warning.js"),n=require("../modal/locale.js");let r=require("vue");var i=`internalMark`,a=(0,r.defineComponent)({compatConfig:{MODE:3},name:`ALocaleProvider`,props:{locale:{type:Object},ANT_MARK__:String},setup(e,{slots:a}){t.default(e.ANT_MARK__===i,`LocaleProvider`,"`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");let o=(0,r.reactive)({antLocale:{...e.locale,exist:!0},ANT_MARK__:i});return(0,r.provide)(`localeData`,o),(0,r.watch)(()=>e.locale,e=>{n.changeConfirmLocale(e&&e.Modal),o.antLocale={...e,exist:!0}},{immediate:!0}),()=>a.default?.()}});a.install=function(e){return e.component(a.name,a),e};var o=e.withInstall(a);exports.ANT_MARK=i,exports.default=o;