/*! * vue-i18n v8.27.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */vart,e;t=this,e=function(){"use strict";vart=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];functione(t,e){"undefined"!=typeofconsole&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}varn=Array.isArray;functionr(t){returnnull!==t&&"object"==typeoft}functiona(t){return"string"==typeoft}vari=Object.prototype.toString,o="[object Object]";functions(t){returni.call(t)===o}functionl(t){returnnull==t}functionc(t){return"function"==typeoft}functionu(){for(vart=[],e=arguments.length;e--;)t[e]=arguments[e];vara=null,i=null;return1===t.length?r(t[0])||n(t[0])?i=t[0]:"string"==typeoft[0]&&(a=t[0]):2===t.length&&("string"==typeoft[0]&&(a=t[0]),(r(t[1])||n(t[1]))&&(i=t[1])),{locale:a,params:i}}functionh(t){returnJSON.parse(JSON.stringify(t))}functionf(t,e){return!!~t.indexOf(e)}varp=Object.prototype.hasOwnProperty;function_(t,e){returnp.call(t,e)}functionm(t){for(vare=arguments,n=Object(t),a=1;a<arguments.length;a++){vari=e[a];if(null!=i){varo=void0;for(oini)_(i,o)&&(r(i[o])?n[o]=m(n[o],i[o]):n[o]=i[o])}}returnn}functiong(t,e){if(t===e)return!0;vara=r(t),i=r(e);if(!a||!i)return!a&&!i&&String(t)===String(e);try{varo=n(t),s=n(e);if(o&&s)returnt.length===e.length&&t.every(function(t,n){returng(t,e[n])});if(o||s)return!1;varl=Object.keys(t),c=Object.keys(e);returnl.length===c.length&&l.every(function(n){returng(t[n],e[n])})}catch(t){return!1}}varv={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){varn=e.data,r=e.parent,a=e.props,i=e.slots,o=r.$i18n;if(o){vars=a.path,l=a.locale,c=a.places,u=i(),h=o.i(s,l,function(t){vare;for(eint)if("default"!==e)return!1;returnBoolean(e)}(u)||c?function(t,e){varn=e?function(t){returnArray.isArray(t)?t.reduce(b,{}):Object.assign({},t)}(e):{};if(!t)returnn;varr=(t=t.filter(function(t){returnt.tag||""!==t.text.trim()})).every(y);returnt.reduce(r?d:b,n)}(u.default,c):u),f=a.tag&&!0!==a.tag||!1===a.tag?a.tag:"span";returnf?t(f,n,h):h}}};functiond(t,e){returne.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}functionb(t,e,n){returnt[n]=e,t}functiony(t){returnBoolean(t.data&&t.data.attrs&&t.data.attrs.place)}varF,k={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,n){vari=n.props,o=n.parent,s=n.data,l=o.$i18n;if(!l)returnnull;varc=null,u=null;a(i.format)?c=i.format:r(i.format)&&(i.format.key&&(c=i.format.key),u=Object.keys(i.format).reduce(function(e,n){varr;returnf(t,n)?Object.assign({},e,((r={})[n]=i.format[n],r)):e},null));varh=i.locale||l.locale,p=l._ntp(i.value,h,c,u),_=p.map(function(t,e){varn,r=s.scopedSlots&&s.scopedSlots[t.type];returnr?r(((n={})[t.type]=t.value,n.index=e,n.parts=p,n)):t.value}),m=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";returnm?e(m,{attrs:s.attrs,class:s.class,staticClass:s.staticClass},_):_}};functionw(t,e,n){T(t,n)&&C(t,e,n)}function$(t,e,n,r){if(T(t,n)){vara=n.context.$i18n;(function(t,e){varn=e.context;returnt._locale===n.$i18n.locale})(t,n)&&g(e.value,e.oldValue)&&g(t._localeMessage,a.getLocaleMessage(a.locale))||C(t,e,n)}}functionM(t,n,r,a){if(r.context){vari=r.context.$i18n||{};n.modifiers.preserve||i.preserveDirectiveContent||(t.textContent=""),t._vt=void0,deletet._vt,t._locale=void0,deletet._locale,t._localeMessage=void0,deletet._localeMessage}elsee("Vue instance does not exists in VNode context")}functionT(t,n){varr=n.context;returnr?!!r.$i18n||(e("VueI18n instance does not exists in Vue instance"),!1):(e("Vue instance does not exists in VNode context"),!1)}functionC(t,n,r){vari,o,l=function(t){vare,n,r,i;a(t)?e=t:s(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice);return{path:e,locale:n,args:r,choice:i}}(n.value),c=l.path,u=l.locale,h=l.args,f=l.choice;if(c||u||h)if(c){varp=r.context;t._vt=t.textContent=null!=f?(i=p.$i18n).tc.apply(i,[c,f].concat(I(u,h))):(o=p.$i18n).t.apply(o,[c].concat(I(u,h))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}elsee("`path` is required in v-t directive");elsee("value type not supported")}functionI(t,e){varn=[];returnt&&n.push(t),e&&(Array.isArray(e)||s(e))&&n.push(e),n}functionD(t,e){void0===e&&(e={bridge:!1}),D.installed=!0;(F=t).version&&Number(F.version.split(".")[0]);!function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){returnthis._i18n}}),t.prototype.$t=function(t){for(vare=[],n=arguments.length-1;n-->0;)e[n]=arguments[n+1];varr=this.$i18n;returnr._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(varn=[],r=arguments.length-2;r-->0;)n[r]=arguments[r+2];vara=this.$i18n;returna._tc.apply(a,[t,a.locale,a._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){varn=this.$i18n;returnn._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(vare,n=[],r=arguments.length-1;r-->0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(vare,n=[],r=arguments.length-1;r-->0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}(F),F.mixin(function(t){functione(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}returnvoid0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){vart=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18ninstanceofet){if(t.__i18nBridge||t.__i18n)try{vare=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(t){e=m(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}elseif(s(t.i18n)){varn=this.$root&&this.$root.$i18n&&this.$root.$i18ninstanceofet?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{varr=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(t){r=m(r,JSON.parse(t))}),t.i18n.messages=r}catch(t){}vara=t.i18n.sharedMessages;a&&s(a)&&(t.i18n.messages=m(t.i18n.messages,a)),this._i18n=newet(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}elsethis.$root&&this.$root.$i18n&&this.$root.$i18ninstanceofet?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18ninstanceofet&&(this._i18n=t.parent.$i18n)},beforeMount:function(){vart=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?t.i18ninstanceofet?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):s(t.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18ninstanceofet?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18ninstanceofet&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){vart=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),deletet._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),deletet._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),deletet._localeWatcher)})}}}}(e.bridge)),F.directive("t",{bind:w,update:$,unbind:M}),F.component(v.name,v),F.component(k.name,k),F.config.optionMergeStrategies.i18n=function(t,e){returnvoid0===e?t:e}}varL=function(){this._caches=Object.create(null)};L.prototype.interpolate=function(t,e){if(!e)return[t];varn=this._caches[t];returnn||(n=function(t){vare=[],n=0,r="";for(;n<t.length;){vara=t[n++];if("{"===a){r&&e.push({type:"text",value:r}),r="";vari="";for(a=t[n++];void0!==a&&"}"!==a;)i+=a,a=t[n++];varo="}"===a,s=O.test(i)?"list":o&&x.test(i)?"named":"unknown";e.push({value:i,type:s})}else"%"===a?"{"!==t[n]&&(r+=a):r+=a}returnr&&e.push({type:"text",value:r}),e}(t),this._caches[t]=n),function(t,e){varn=[],a=0,i=Array.isArray(e)?"list":r(e)?"named":"unknown";if("unknown"===i)returnn;for(;a<t.length;){varo=t[a];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(e[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(e[o.value])}a++}returnn}(n,e)};varO=/^(?:\d)+/,x=/^(?:\w)+/,W=0,N=1,j=2,E=3,S=0,R=4,V=5,H=6,P=7,A=8,B=[];B[S]={ws:[S],ident:[3,W],"[":[R],eof:[P]},B[1]={ws:[1],".":[2],"[":[R],eof:[P]},B[2]={ws:[2],ident:[3,W],0:[3,W],number:[3,W]},B[3]={ident:[3,W],0:[3,W],number:[3,W],ws:[1,N],".":[2,N],"[":[R,N],eof:[P,N]},B[R]={"'":[V,W],'"':[H,W],"[":[R,j],"]":[1,E],eof:A,else:[R,W]},B[V]={"'":[R,W],eof:A,else:[V,W]},B[H]={'"':[R,W],eof:A,else:[H,W]};varU=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;functionz(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case91:case93:case46:case34:case39:returnt;case95:case36:case45:return"ident";case9:case10:case13:case160:case65279:case8232:case8233:return"ws"}return"ident"}functionG(t){vare,n,r,a=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(r=a,U.test(r)?(n=(e=a).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==n&&39!==n?e:e.slice(1,-1):"*"+a)}varq=function(){this._cache=Object.create(null)};q.prototype.parsePath=function(t){vare=this._cache[t];returne||(e=function(t){vare,n,r,a,i,o,s,l=[],c=-1,u=S,h=0,f=[];functionp(){vare=t[c+1];if(u===V&&"'"===e||u===H&&'"'===e)returnc++,r="\\"+e,f[W](),!0}for(f[N]=function(){void0!==n&&(l.push(n),n=void0)},f[W]=function(){void0===n?n=r:n+=r},f[j]=function(){f[W](),h++},f[E]=function(){if(h>0)h--,u=R,f[W]();else{if(h=0,void0===n)return!1;if(!1===(n=G(n)))return!1;f[N]()}};null!==u;)if("\\"!==(e=t[++c])||!p()){if(a=z(e),(i=(s=B[u])[a]||s.else||A)===A)return;if(u=i[0],(o=f[i[1]])&&(r=void0===(r=i[2])?e:r,!1===o()))return;if(u===P)returnl}}(t))&&(this._cache[t]=e),e||[]},q.prototype.getPathValue=function(t,e){if(!r(t))returnnull;varn=this.parsePath(e);if(0===n.length)returnnull;for(vara=n.length,i=t,o=0;o<a;){vars=i[n[o]];if(null==s)returnnull;i=s,o++}returni};varJ,Z=/<\/?[\w\s="/.':;#-\/]+>/,Y=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,X=/^@(?:\.([a-zA-Z]+))?:/,K=/[()]/g,Q={upper:function(t){returnt.toLocaleUpperCase()},lower:function(t){returnt.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},tt=newL,et=function(t){vare=this;void0===t&&(t={}),!F&&"undefined"!=typeofwindow&&window.Vue&&D(window.Vue);varn=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),a=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||tt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void0===t.sync||!!t.sync,this._fallbackRoot=void0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=newq,this._dataListeners=newSet,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"int&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){varr=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex)returnr.getChoiceIndex.call(e,t,n);vara,i;returne.localeine.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(a=t,i=n,a=Math.abs(a),2===i?a?a>1?1:0:1:a?Math.min(a,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!l(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(a).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])}),this._initVM({locale:n,fallbackLocale:r,messages:a,dateTimeFormats:i,numberFormats:o})},nt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};returnet.prototype._checkLocaleMessage=function(t,r,i){varo=function(t,r,i,l){if(s(i))Object.keys(i).forEach(function(e){varn=i[e];s(n)?(l.push(e),l.push("."),o(t,r,n,l),l.pop(),l.pop()):(l.push(e),o(t,r,n,l),l.pop())});elseif(n(i))i.forEach(function(e,n){s(e)?(l.push("["+n+"]"),l.push("."),o(t,r,e,l),l.pop(),l.pop()):(l.push("["+n+"]"),o(t,r,e,l),l.pop())});elseif(a(i)){if(Z.test(i)){varc="Detected HTML in message '"+i+"' of keypath '"+l.join("")+"' at '"+r+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?e(c):"error"===t&&function(t,e){"undefined"!=typeofconsole&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(c)}}};o(r,t,i,[])},et.prototype._initVM=function(t){vare=F.config.silent;F.config.silent=!0,this._vm=newF({data:t,__VUE18N__INSTANCE__:!0}),F.config.silent=e},et.prototype.destroyVM=function(){this._vm.$destroy()},et.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},et.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},et.prototype.watchI18nData=function(){vart=this;returnthis._vm.$watch("$data",function(){for(vare,n,r=(e=t._dataListeners,n=[],e.forEach(function(t){returnn.push(t)}),n),a=r.length;a--;)F.nextTick(function(){r[a]&&r[a].$forceUpdate()})},{deep:!0})},et.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)returnnull;vare=this,n=this._vm;returnthis.vm.$watch("locale",function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()},{immediate:!0})}if(!this._sync||!this._root)returnnull;varr=this._vm;returnthis._root.$i18n.vm.$watch("locale",function(t){r.$set(r,"locale",t),r.$forceUpdate()},{immediate:!0})},et.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},nt.vm.get=function(){returnthis._vm},nt.messages.get=function(){returnh(this._getMessages())},nt.dateTimeFormats.get=function(){returnh(this._getDateTimeFormats())},nt.numberFormats.get=function(){returnh(this._getNumberFormats())},nt.availableLocales.get=function(){returnObject.keys(this.messages).sort()},nt.locale.get=function(){returnthis._vm.locale},nt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},nt.fallbackLocale.get=function(){returnthis._vm.fallbackLocale},nt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},nt.formatFallbackMessages.get=function(){returnthis._formatFallbackMessages},nt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},nt.missing.get=function(){returnthis._missing},nt.missing.set=function(t){this._missing=t},nt.formatter.get=function(){returnthis._formatter},nt.formatter.set=function(t){this._formatter=t},nt.silentTranslationWarn.get=function(){returnthis._silentTranslationWarn},nt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},nt.silentFallbackWarn.get=function(){returnthis._silentFallbackWarn},nt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},nt.preserveDirectiveContent.get=function(){returnthis._preserveDirectiveContent},nt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},nt.warnHtmlInMessage.get=function(){returnthis._warnHtmlInMessage},nt.warnHtmlInMessage.set=function(t){vare=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){varr=this._getMessages();Object.keys(r).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})}},nt.postTranslation.get=function(){returnthis._postTranslation},nt.postTranslation.set=function(t){this._postTranslation=t},nt.sync.get=function(){returnthis._sync},nt.sync.set=function(t){this._sync=t},et.prototype._getMessages=function(){returnthis._vm.messages},et.prototype._getDateTimeFormats=function(){returnthis._vm.dateTimeFormats},et.prototype._getNumberFormats=function(){returnthis._vm.numberFormats},et.prototype._warnDefault=function(t,e,n,r,i,o){if(!l(n))returnn;if(this._missing){vars=this._missing.apply(null,[t,e,r,i]);if(a(s))returns}if(this._formatFallbackMessages){varc=u.apply(void0,i);returnthis._render(e,o,c.params,e)}returne},et.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:l(t))&&!l(this._root)&&this._fallbackRoot},et.prototype._isSilentFallbackWarn=function(t){returnthis._silentFallbackWarninstanceofRegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},et.prototype._isSilentFallback=function(t,e){returnthis._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},et.prototype._isSilentTranslationWarn=function(t){returnthis._silentTranslationWarninstanceofRegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},et.prototype._interpolate=function(t,e,r,i,o,u,h){if(!e)returnnull;varf,p=this._path.getPathValue(e,r);if(n(p)||s(p))returnp;if(l(p)){if(!s(e))returnnull;if(!a(f=e[r])&&!c(f))returnnull}else{if(!a(p)&&!c(p))returnnull;f=p}returna(f)&&(f.indexOf("@:")>=0||f.indexOf("@.")>=0)&&(f=this._link(t,e,f,i,"raw",u,h)),this._render(f,o,u,r)},et.prototype._link=function(t,e,r,a,i,o,s){varl=r,c=l.match(Y);for(varuinc)if(c.hasOwnProperty(u)){varh=c[u],p=h.match(X),_=p[0],m=p[1],g=h.replace(_,"").replace(K,"");if(f(s,g))returnl;s.push(g);varv=this._interpolate(t,e,g,a,"raw"===i?"string":i,"raw"===i?void0:o,s);if(this._isFallbackRoot(v)){if(!this._root)throwError("unexpected error");vard=this._root.$i18n;v=d._translate(d._getMessages(),d.locale,d.fallbackLocale,g,a,i,o)}v=this._warnDefault(t,g,v,a,n(o)?o:[o],i),this._modifiers.hasOwnProperty(m)?v=this._modifiers[m](v):Q.hasOwnProperty(m)&&(v=Q[m](v)),s.pop(),l=v?l.replace(h,v):l}returnl},et.prototype._createMessageContext=function(t,e,a,i){varo=this,s=n(t)?t:[],l=r(t)?t:{},c=this._getMessages(),u=this.locale;return{list:function(t){returns[t]},named:function(t){returnl[t]},values:t,formatter:e,path:a,messages:c,locale:u,linked:function(t){returno._interpolate(u,c[u]||{},t,null,i,void0,[t])}}},et.prototype._render=function(t,e,n,r){if(c(t))returnt(this._createMessageContext(n,this._formatter||tt,r,e));vari=this._formatter.interpolate(t,n,r);returni||(i=tt.interpolate(t,n,r)),"string"!==e||a(i)?i:i.join("")},et.prototype._appendItemToChain=function(t,e,n){varr=!1;returnf(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},et.prototype._appendLocaleToChain=function(t,e,n){varr,a=e.split("-");do{vari=a.join("-");r=this._appendItemToChain(t,i,n),a.splice(-1,1)}while(a.length&&!0===r);returnr},et.prototype._appendBlockToChain=function(t,e,n){for(varr=!0,i=0;i<e.length&&"boolean"==typeofr;i++){varo=e[i];a(o)&&(r=this._appendLocaleToChain(t,o,n))}returnr},et.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});vari=this._localeChainCache[t];if(!i){e||(e=this.fallbackLocale),i=[];for(varo,s=[t];n(s);)s=this._appendBlockToChain(i,s,e);(s=a(o=n(e)?e:r(e)?e.default?e.default:null:e)?[o]:o)&&this._appendBlockToChain(i,s,null),this._localeChainCache[t]=i}returni},et.prototype._translate=function(t,e,n,r,a,i,o){for(vars,c=this._getLocaleChain(e,n),u=0;u<c.length;u++){varh=c[u];if(!l(s=this._interpolate(h,t[h],r,a,i,o,[r])))returns}returnnull},et.prototype._t=function(t,e,n,r){for(vara,i=[],o=arguments.length-4;o-->0;)i[o]=arguments[o+4];if(!t)return"";vars,l=u.apply(void0,i);this._escapeParameterHtml&&(l.params=(null!=(s=l.params)&&Object.keys(s).forEach(function(t){"string"==typeofs[t]&&(s[t]=s[t].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))}),s));varc=l.locale||e,h=this._translate(n,c,this.fallbackLocale,t,r,"string",l.params);if(this._isFallbackRoot(h)){if(!this._root)throwError("unexpected error");return(a=this._root).$t.apply(a,[t].concat(i))}returnh=this._warnDefault(c,t,h,r,i,"string"),this._postTranslation&&null!=h&&(h=this._postTranslation(h,t)),h},et.prototype.t=function(t){for(vare,n=[],r=arguments.length-1;r-->0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},et.prototype._i=function(t,e,n,r,a){vari=this._translate(n,e,this.fallbackLocale,t,r,"raw",a);if(this._isFallbackRoot(i)){if(!this._root)throwError("unexpected error");returnthis._root.$i18n.i(t,e,a)}returnthis._warnDefault(e,t,i,r,[a],"raw")},et.prototype.i=function(t,e,n){returnt?(a(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},et.prototype._tc=function(t,e,n,r,a){for(vari,o=[],s=arguments.length-5;s-->0;)o[s]=arguments[s+5];if(!t)return"";void0===a&&(a=1);varl={count:a,n:a},c=u.apply(void0,o);returnc.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(o)),a)},et.prototype.fetchChoice=function(t,e){if(!t||!a(t))returnnull;varn=t.split("|");returnn[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},et.prototype.tc=function(t,e){for(varn,r=[],a=arguments.length-2;a-->0;)r[a]=arguments[a+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},et.prototype._te=function(t,e,n){for(varr=[],a=arguments.length-3;a-->0;)r[a]=arguments[a+3];vari=u.apply(void0,r).locale||e;returnthis._exist(n[i],t)},et.prototype.te=function(t,e){returnthis._te(t,this.locale,this._getMessages(),e)},et.prototype.getLocaleMessage=function(t){returnh(this._vm.messages[t]||{})},et.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},et.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,m(void0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},et.prototype.getDateTimeFormat=function(t){returnh(this._vm.dateTimeFormats[t]||{})},et.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},et.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,m(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},et.prototype._clearDateTimeFormat=function(t,e){for(varnine){varr=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&deletethis._dateTimeFormatters[r]}},et.prototype._localizeDateTime=function(t,e,n,r,a){for(vari=e,o=r[i],s=this._getLocaleChain(e,n),c=0;c<s.length;c++){varu=s[c];if(i=u,!l(o=r[u])&&!l(o[a]))break}if(l(o)||l(o[a]))returnnull;varh=o[a],f=i+"__"+a,p=this._dateTimeFormatters[f];returnp||(p=this._dateTimeFormatters[f]=newIntl.DateTimeFormat(i,h)),p.format(t)},et.prototype._d=function(t,e,n){if(!n)returnnewIntl.DateTimeFormat(e).format(t);varr=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throwError("unexpected error");returnthis._root.$i18n.d(t,n,e)}returnr||""},et.prototype.d=function(t){for(vare=[],n=arguments.length-1;n-->0;)e[n]=arguments[n+1];vari=this.locale,o=null;return1===e.length?a(e[0])?o=e[0]:r(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&(a(e[0])&&(o=e[0]),a(e[1])&&(i=e[1])),this._d(t,i,o)},et.prototype.getNumberFormat=function(t){returnh(this._vm.numberFormats[t]||{})},et.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},et.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,m(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},et.prototype._clearNumberFormat=function(t,e){for(varnine){varr=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&deletethis._numberFormatters[r]}},et.prototype._getNumberFormatter=function(t,e,n,r,a,i){for(varo=e,s=r[o],c=this._getLocaleChain(e,n),u=0;u<c.length;u++){varh=c[u];if(o=h,!l(s=r[h])&&!l(s[a]))break}if(l(s)||l(s[a]))returnnull;varf,p=s[a];if(i)f=newIntl.NumberFormat(o,Object.assign({},p,i));else{var_=o+"__"+a;(f=this._numberFormatters[_])||(f=this._numberFormatters[_]=newIntl.NumberFormat(o,p))}returnf},et.prototype._n=function(t,e,n,r){if(!et.availabilities.numberFormat)return"";if(!n)return(r?newIntl.NumberFormat(e,r):newIntl.NumberFormat(e)).format(t);vara=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),i=a&&a.format(t);if(this._isFallbackRoot(i)){if(!this._root)throwError("unexpected error");returnthis._root.$i18n.n(t,Object.assign({},{key:n,locale:e},r))}returni||""},et.prototype.n=function(e){for(varn=[],i=arguments.length-1;i-->0;)n[i]=arguments[i+1];varo=this.locale,s=null,l=null;return1===n.length?a(n[0])?s=n[0]:r(n[0])&&(n[0].locale&&(o=n[0].locale),n[0].key&&(s=n[0].key),l=Object.keys(n[0]).reduce(function(e,r){vara;returnf(t,r)?Object.assign({},e,((a={})[r]=n[0][r],a)):e},null)):2===n.length&&(a(n[0])&&(s=n[0]),a(n[1])&&(o=n[1])),this._n(e,o,s,l)},et.prototype._ntp=function(t,e,n,r){if(!et.availabilities.numberFormat)return[];if(!n)return(r?newIntl.NumberFormat(e,r):newIntl.NumberFormat(e)).formatToParts(t);vara=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),i=a&&a.formatToParts(t);if(this._isFallbackRoot(i)){if(!this._root)throwError("unexpected error");returnthis._root.$i18n._ntp(t,e,n,r)}returni||[]},Object.defineProperties(et.prototype,nt),Object.defineProperty(et,"availabilities",{get:function(){if(!J){vart="undefined"!=typeofIntl;J={dateTimeFormat:t&&void0!==Intl.DateTimeFormat,numberFormat:t&&void0!==Intl.NumberFormat}}returnJ}}),et.install=D,et.version="8.27.2",et},"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):t.VueI18n=e();