"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("../_util/type.js"),i=require("../_util/warning.js"),u=require("../modal/locale.js"),a="internalMark",n=t.defineComponent({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,{slots:l}){i.default(e.ANT_MARK__===a);const r=t.reactive({antLocale:{...e.locale,exist:!0},ANT_MARK__:a});return t.provide("localeData",r),t.watch(()=>e.locale,o=>{u.changeConfirmLocale(o&&o.Modal),r.antLocale={...o,exist:!0}},{immediate:!0}),()=>l.default?.()}});n.install=function(e){return e.component(n.name,n),e};const s=c.withInstall(n);exports.ANT_MARK=a;exports.default=s;
