*/var shared=require$$0,coreBase=require$$1,vue=require$$2;const VERSION="9.9.0",code$1=coreBase.CoreWarnCodes.__EXTEND_POINT__,inc$1=shared.incrementer(code$1),I18nWarnCodes={FALLBACK_TO_ROOT:code$1,NOT_SUPPORTED_PRESERVE:inc$1(),NOT_SUPPORTED_FORMATTER:inc$1(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:inc$1(),NOT_SUPPORTED_GET_CHOICE_INDEX:inc$1(),COMPONENT_NAME_LEGACY_COMPATIBLE:inc$1(),NOT_FOUND_PARENT_SCOPE:inc$1(),IGNORE_OBJ_FLATTEN:inc$1(),NOTICE_DROP_ALLOW_COMPOSITION:inc$1()},warnMessages={[I18nWarnCodes.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[I18nWarnCodes.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[I18nWarnCodes.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[I18nWarnCodes.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[I18nWarnCodes.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[I18nWarnCodes.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[I18nWarnCodes.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[I18nWarnCodes.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze"};function getWarnMessage(e,...n){return shared.format(warnMessages[e],...n)}const code=coreBase.CoreErrorCodes.__EXTEND_POINT__,inc=shared.incrementer(code),I18nErrorCodes={UNEXPECTED_RETURN_TYPE:code,INVALID_ARGUMENT:inc(),MUST_BE_CALL_SETUP_TOP:inc(),NOT_INSTALLED:inc(),NOT_AVAILABLE_IN_LEGACY_MODE:inc(),REQUIRED_VALUE:inc(),INVALID_VALUE:inc(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:inc(),NOT_INSTALLED_WITH_PROVIDE:inc(),UNEXPECTED_ERROR:inc(),NOT_COMPATIBLE_LEGACY_VUE_I18N:inc(),BRIDGE_SUPPORT_VUE_2_ONLY:inc(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:inc(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:inc(),__EXTEND_POINT__:inc()};function createI18nError(e,...n){return coreBase.createCompileError(e,null,{messages:errorMessages,args:n})}const errorMessages={[I18nErrorCodes.UNEXPECTED_RETURN_TYPE]:"Unexpectedreturntypeincomposer",[I18nErrorCodes.INVALID_ARGUMENT]:"Invalidargument",[I18nErrorCodes.MUST_BE_CALL_SETUP_TOP]:"Mustbecalledatthetopofa`setup`function",[I18nErrorCodes.NOT_INSTALLED]:"Needtoinstallwith`app.use`function",[I18nErrorCodes.UNEXPECTED_ERROR]:"Unexpectederror",[I18nErrorCodes.NOT_AVAILABLE_IN_LEGACY_MODE]:"Notavailableinlegacymode",[I18nErrorCodes.REQUIRED_VALUE]:"Requiredinvalue:{0}",[I18nErrorCodes.INVALID_VALUE]:"Invalidvalue",[I18nErrorCodes.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannotsetupvue-devtoolsplugin",[I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE]:"Needtoinstallwith`provide`function",[I18nErrorCodes.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"NotcompatiblelegacyVueI18n.",[I18nErrorCodes.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridgesupportVue2.xonly",[I18nErrorCodes.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Mustdefine\u2018i18n\u2019optionorcustomblockinCompositionAPIwithusinglocalscopeinLegacyAPImode",[I18nErrorCodes.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"NotavailableCompostionAPIinLegacyAPImode.PleasemakesurethatthelegacyAPImodeisworkingproperly"},TranslateVNodeSymbol=shared.makeSymbol("__translateVNode"),DatetimePartsSymbol=shared.makeSymbol("__datetimeParts"),NumberPartsSymbol=shared.makeSymbol("__numberParts"),EnableEmitter=shared.makeSymbol("__enableEmitter"),DisableEmitter=shared.makeSymbol("__disableEmitter"),SetPluralRulesSymbol=shared.makeSymbol("__setPluralRules");shared.makeSymbol("__intlifyMeta");const InejctWithOptionSymbol=shared.makeSymbol("__injectWithOption"),DisposeSymbol=shared.makeSymbol("__dispose"),__VUE_I18N_BRIDGE__="__VUE_I18N_BRIDGE__";function handleFlatJson(e){if(!shared.isObject(e))return e;for(const n in e)if(!!shared.hasOwn(e,n))if(!n.includes("."))shared.isObject(e[n])&&handleFlatJson(e[n]);else{const t=n.split("."),r=t.length-1;lets=e,l=!1;for(leto=0;o<r;o++){if(t[o]ins
\r\v\xA0\u2028\u2029`,$={"\\w":o+u+m+"_","\\W":d.replace("_",""),"\\s":h,"\\S":function(){for(var f=k,_=0;_<h.length;_++)f=f.replace(h[_],"");return f}(),"\\d":m,"\\D":o+u+d};function v(f,_){for(var g="",w=f;w<=_;w++)g+=String.fromCharCode(w);return g}l.gen=function(f,_,g){return g=g||{guid:1},l[f.type]?l[f.type](f,_,g):l.token(f,_,g)},l.extend({token:function(f,_,g){switch(f.type){case"start":case"end":return"";case"any-character":return s.character();case"backspace":return"";case"word-boundary":return"";case"non-word-boundary":break;case"digit":return s.pick(m.split(""));case"non-digit":return s.pick((o+u+d).split(""));case"form-feed":break;case"line-feed":return f.body||f.text;case"carriage-return":break;case"white-space":return s.pick(h.split(""));case"non-white-space":return s.pick((o+u+m).split(""));case"tab":break;case"vertical-tab":break;case"word":return s.pick((o+u+m).split(""));case"non-word":return s.pick(d.replace("_","").split(""))}return f.body||f.text},alternate:function(f,_,g){return this.gen(s.boolean()?f.left:f.right,_,g)},match:function(f,_,g){_="";for(var w=0;w<f.body.length;w++)_+=this.gen(f.body[w],_,g);return _},"capture-group":function(f,_,g){return _=this.gen(f.body,_,g),g[g.guid++]=_,_},"non-capture-group":function(f,_,g){return this.gen(f.body,_,g)},"positive-lookahead":function(f,_,g){return this.gen(f.body,_,g)},"negative-lookahead":function(f,_,g){return""},quantified:function(f,_,g){_="";for(var w=this.quantifier(f.quantifier),P=0;P<w;P++)_+=this.gen(f.body,_,g);return _},quantifier:function(f,_,g){var w=Math.max(f.min,0),P=isFinite(f.max)?f.max:w+s.integer(3,7);return s.integer(w,P)},charset:function(f,_,g){if(f.invert)return this["invert-charset"](f,_,g);var w=s.pick(f.body);return this.gen(w,_,g)},"invert-charset":function(f,_,g){for(var w=k,P=0,M;P<f.body.length;P++)switch(M=f.body[P],M.type){case"literal":w=w.replace(M.body,"");break;case"range":for(var S=this.gen(M.start,_,g).charCodeAt(),x=this.gen(M.end,_,g).charCodeAt(),O=S;O<=x;O++)w=w.replace(String.fromCharCode(O),"");default:var y=$[M.text];if(y)for(var z=0;z<=y.length;z++)w=w.replace(y[z],"")}return s.pick(w.split(""))},range:function(f,_,g){var w=this.gen(f.start,_,g).charCodeAt(),P=this.gen(f.end,_,g).charCodeAt();return String.fromCharCode(s.integer(w,P))},literal:function(f,_,g){return f.escaped?f.body:f.text},unicode:function(f,_,g){return String.fromCharCode(parseInt(f.code,16))},hex:function(f,_,g){return String.fromCharCode(parseInt(f.code,16))},octal:function(f,_,g){return String.fromCharCode(parseInt(f.code,8))},"back-reference":function(f,_,g){return g[f.code]||""},CONTROL_CHARACTER_MAP:function(){for(var f="@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \\ ] ^ _".split(" "),_=`\0\x07\b
\v\f\r\x1B`.split(" "),g={},w=0;w<f.length;w++)g[f[w]]=_[w];return g}(),"control-character":function(f,_,g){return this.CONTROL_CHARACTER_MAP[f.code]}}),e.exports=l},function(e,n,t){e.exports=t(24)},function(e,n,t){var r=t(2),s=t(3),l=t(4);function o(u,m,d){d=d||[];var k={name:typeof m=="string"?m.replace(r.RE_KEY,"$1"):m,template:u,type:s.type(u),rule:l.parse(m)};switch(k.path=d.slice(0),k.path.push(m===void 0?"ROOT":k.name),k.type){case"array":k.items=[],s.each(u,function(h,$){k.items.push(o(h,$,k.path))});break;case"object":k.properties=[],s.each(u,function(h,$){k.properties.push(o(h,$,k.path))});break}return k}e.exports=o},function(e,n,t){e.exports=t(26)},function(e,n,t){var r=t(2),s=t(3),l=t(23);function o(d,k){for(var h=l(d),$=u.diff(h,k),v=0;v<$.length;v++);return $}var u={diff:function(k,h,$){var v=[];return this.name(k,h,$,v)&&this.type(k,h,$,v)&&(this.value(k,h,$,v),this.properties(k,h,$,v),this.items(k,h,$,v)),v},name:function(d,k,h,$){var v=$.length;return m.equal("name",d.path,h+"",d.name+"",$),$.length===v},type:function(d,k,h,$){var v=$.length;switch(d.type){case"string":if(d.template.match(r.RE_PLACEHOLDER))return!0;break;case"array":if(d.rule.parameters&&(d.rule.min!==void 0&&d.rule.max===void 0&&d.rule.count===1||d.rule.parameters[2]))return!0;break;case"function":return!0}return m.equal("type",d.path,s.type(k),d.type,$),$.length===v},value:function(d,k,h,$){var v=$.length,f=d.rule,_=d.type;if(_==="object"||_==="array"||_==="function")return!0;if(!f.parameters){switch(_){case"regexp":return m.match("value",d.path,k,d.template,$),$.length===v;case"string":if(d.template.match(r.RE_PLACEHOLDER))return $.length===v;break}return m.equal("value",d.path,k,d.template,$),$.length===v}var g;switch(_){case"number":var w=(k+"").split(".");w[0]=+w[0],f.min!==void 0&&f.max!==void 0&&(m.greaterThanOrEqualTo("value",d.path,w[0],Math.min(f.min,f.max),$),m.lessThanOrEqualTo("value",d.path,w[0],Math.max(f.min,f.max),$)),f.min!==void 0&&f.max===void 0&&m.equal("value",d.path,w[0],f.min,$,"[value] "+h),f.decimal&&(f.dmin!==void 0&&f.dmax!==void 0&&(m.greaterThanOrEqualTo("value",d.path,w[1].length,f.dmin,$),m.lessThanOrEqualTo("value",d.path,w[1].length,f.dmax,$)),f.dmin!==void 0&&f.dmax===void 0&&m.equal("value",d.path,w[1].length,f.dmin,$));break;case"boolean":break;case"string":g=k.match(new RegExp(d.template,"g")),g=g?g.length:0,f.min!==void 0&&f.max!==void 0&&(m.greaterThanOrEqualTo("repeat count",d.path,g,f.min,$),m.lessThanOrEqualTo("repeat count",d.path,g,f.max,$)),f.min!==void 0&&f.max===void 0&&m.equal("repeat count",d.path,g,f.min,$);break;case"regexp":g=k.match(new RegExp(d.template.source.replace(/^\^|\$$/g,""),"g")),g=g?g.length:0,f.min!==void 0&&f.max!==void 0&&(m.greaterThanOrEqualTo("repeat count",d.path,g,f.min,$),m.lessThanOrEqualTo("repeat count",d.path,g,f.max,$)),f.min!==void 0&&f.max===void 0&&m.equal("repeat count",d.path,g,f.min,$);break}return $.length===v},properties:function(d,k,h,$){var v=$.length,f=d.rule,_=s.keys(k);if(!!d.properties){if(d.rule.parameters?(f.min!==void 0&&f.max!==void 0&&(m.greaterThanOrEqualTo("properties length",d.path,_.length,Math.min(f.min,f.max),$),m.lessThanOrEqualTo("properties length",d.path,_.length,Math.max(f.min,f.max),$)),f.min!==void 0&&f.max===void 0&&f.count!==1&&m.equal("properties length",d.path,_.length,f.min,$)):m.equal("properties length",d.path,_.length,d.properties.length,$),$.length!==v)return!1;for(var g=0;g<_.length;g++)$.push.apply($,this.diff(function(){var w;return s.each(d.properties,function(P){P.name===_[g]&&(w=P)}),w||d.properties[g]}(),k[_[g]],_[g]));return $.length===v}},items:function(d,k,h,$){var v=$.length;if(!!d.items){var f=d.rule;if(!d.rule.parameters)m.equal("items length",d.path,k.length,d.items.length,$);else{if(f.min!==void 0&&f.max!==void 0&&(m.greaterThanOrEqualTo("items",d.path,k.length,Math.min(f.min,f.max)*d.items.length,$,"[{utype}] array is too short: {path} must have at least {expected} elements but instance has {actual} elements"),m.lessThanOrEqualTo("items",d.path,k.length,Math.max(f.