!function(n){if("object"==typeofe&&void0!==t)t.exports=n();elseif("function"==typeofdefine&&define.amd)define([],n);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).localforage=n()}}(function(){returnfunctiont(e,n,r){functiono(a,s){if(!n[a]){if(!e[a]){varc="function"==typeofrequire&&require;if(!s&&c)returnc(a,!0);if(i)returni(a,!0);varu=newError("Cannot find module '"+a+"'");throwu.code="MODULE_NOT_FOUND",u}varf=n[a]={exports:{}};e[a][0].call(f.exports,function(t){varn=e[a][1][t];returno(n||t)},f,f.exports,t,e,n,r)}returnn[a].exports}for(vari="function"==typeofrequire&&require,a=0;a<r.length;a++)o(r[a]);returno}({1:[function(t,e,n){(function(t){"use strict";varn,r,o=t.MutationObserver||t.WebKitMutationObserver;if(o){vari=0,a=newo(f),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}elseif(t.setImmediate||void0===t.MessageChannel)n="document"int&&"onreadystatechange"int.document.createElement("script")?function(){vare=t.document.createElement("script");e.onreadystatechange=function(){f(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(f,0)};else{varc=newt.MessageChannel;c.port1.onmessage=f,n=function(){c.port2.postMessage(0)}}varu=[];functionf(){vart,e;r=!0;for(varn=u.length;n;){for(e=u,u=[],t=-1;++t<n;)e[t]();n=u.length}r=!1}e.exports=function(t){1!==u.push(t)||r||n()}}).call(this,"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{})},{}],2:[function(t,e,n){"use strict";varr=t(1);functiono(){}vari={},a=["REJECTED"],s=["FULFILLED"],c=["PENDING"];functionu(t){if("function"!=typeoft)thrownewTypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void0,t!==o&&d(this,t)}functionf(t,e,n){this.promise=t,"function"==typeofe&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeofn&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}functionl(t,e,n){r(function(){varr;try{r=e(n)}catch(e){returni.reject(t,e)}r===t?i.reject(t,newTypeError("Cannot resolve promise with itself")):i.resolve(t,r)})}functionp(t){vare=t&&t.then;if(t&&("object"==typeoft||"function"==typeoft)&&"function"==typeofe)returnfunction(){e.apply(t,arguments)}}functiond(t,e){varn=!1;functionr(e){n||(n=!0,i.reject(t,e))}functiono(e){n||(n=!0,i.resolve(t,e))}vara=h(function(){e(o,r)});"error"===a.status&&r(a.value)}functionh(t,e){varn={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}returnn}e.exports=u,u.prototype.catch=function(t){returnthis.then(null,t)},u.prototype.then=function(t,e){if("function"!=typeoft&&this.state===s||"function"!=typeofe&&this.state===a)returnthis;varn=newthis.constructor(o);this.state!==c?l(n,this.state===s?t:e,this.outcome):this.queue.push(newf(n,t,e));returnn},f.prototype.callFulfilled=function(t){i.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){l(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){i.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){l(this.promise,this.onRejected,t)},i.resolve=function(t,e){varn=h(p,e);if("error"===n.status)returni.reject(t,n.value);varr=n.value;if(r)d(t,r);else{t.state=s,t.outcome=e;for(varo=-1,a=t.queue.length;++o<a;)t.queue[o].callFulfilled(e)}returnt},i.reject=function(t,e){t.state=a,t.outcome=e;for(varn=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(e);returnt},u.resolve=function(t){if(tinstanceofthis)returnt;returni.resolve(newthis(o),t)},u.reject=function(t){vare=newthis(o);returni.reject(e,t)},u.all=function(t){vare=this;if("[object Array]"!==Object.prototype.toString.call(t))returnthis.reject(newTypeError("must be an array"));varn=t.length,r=!1;if(!n)returnthis.resolve([]);vara=newArray(n),s=0,c=-1,u=newthis(o);for(;++c<n;)f(t[c],c);returnu;functionf(t,o){e.resolve(t).then(function(t){a[o]=t,++s!==n||r||(r=!0,i.resolve(u,a))},funct
functionk(t,e){"undefined"!=typeofconsole&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}functionA(t){returnnull!==t&&"object"==typeoft}varS=Object.prototype.toString,C="[object Object]";functionI(t){returnS.call(t)===C}function$(t){returnnull==t}functionE(){for(vart=[],e=arguments.length;e--;)t[e]=arguments[e];varn=null,r=null;return1===t.length?A(t[0])||Array.isArray(t[0])?r=t[0]:"string"==typeoft[0]&&(n=t[0]):2===t.length&&("string"==typeoft[0]&&(n=t[0]),(A(t[1])||Array.isArray(t[1]))&&(r=t[1])),{locale:n,params:r}}functionT(t,e){if(!t&&"string"!=typeoft)returnnull;varn=t.split("|");returnn[e=function(t,e){returnt=Math.abs(t),2===e?function(t){returnt?t>1?1:0:1}(t):t?Math.min(t,2):0}(e,n.length)]?n[e].trim():t}functionN(t){returnJSON.parse(JSON.stringify(t))}varL=Object.prototype.hasOwnProperty;functionD(t,e){returnL.call(t,e)}functionF(t){for(vare=arguments,n=Object(t),r=1;r<arguments.length;r++){varo=e[r];if(null!=o){vari=void0;for(iino)D(o,i)&&(A(o[i])?n[i]=F(n[i],o[i]):n[i]=o[i])}}returnn}varP="undefined"!=typeofIntl&&void0!==Intl.DateTimeFormat,M="undefined"!=typeofIntl&&void0!==Intl.NumberFormat;varR,z={beforeCreate:function(){vart=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18ninstanceofht){if(t.__i18n)try{vare={};t.__i18n.forEach(function(t){e=F(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0}elseif(I(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18ninstanceofht&&(t.i18n.root=this.$root.$i18n,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn),t.__i18n)try{varn={};t.__i18n.forEach(function(t){n=F(n,JSON.parse(t))}),t.i18n.messages=n}catch(t){0}this._i18n=newht(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0,(void0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else0;elsethis.$root&&this.$root.$i18n&&this.$root.$i18ninstanceofht?(this._i18n=this.$root.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18ninstanceofht&&(this._i18n=t.parent.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){this._i18n&&(this._subscribing&&(this._i18n.unsubscribeDataChanging(this),deletethis._subscribing),this._i18nWatcher&&(this._i18nWatcher(),deletethis._i18nWatcher),this._localeWatcher&&(this._localeWatcher(),deletethis._localeWatcher),this._i18n=null)}},B={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){varn=e.props,r=e.data,o=e.children,i=e.parent.$i18n;if(o=(o||[]).filter(function(t){returnt.tag||(t.text=t.text.trim())}),!i)returno;vara=n.path,s=n.locale,c={},u=n.places||{},f=Array.isArray(u)?u.length>0:Object.keys(u).length>0,l=o.every(function(t){if(t.data&&t.data.attrs){vare=t.data.attrs.place;returnvoid0!==e&&""!==e}});returnf&&o.length>0&&!l&&k("If places prop is set, all child elements must have place prop set."),Array.isArray(u)?u.forEach(function(t,e){c[e]=t}):Object.keys(u).forEach(function(t){c[t]=u[t]}),o.forEach(function(t,e){varn=l?""+t.data.attrs.place:""+e;c[n]=t}),t(n.tag,r,i.i(a,s,c))}};functionq(t,e,n){V(t,n)&&H(t,e,n)}functionU(t,e,n,r){V(t,n)&&(function(t,e){varn=e.context;returnt._locale===n.$i18n.locale}(t,n)&&functiont(e,n){if(e===n)return!0;varr=A(e),o=A(n);if(!r||!o)return!r&&!o&&String(e)===String(n);try{vari=Array.isArray(e),a=Array.isArray(n);if(i&&a)returne.length===n.length&&e.every(function(e,r){returnt(e,n[r])});if(i||a)return!1;vars=Object.keys(e),c=Object.keys(n);returns.length===c.length&&s.every(function(r){returnt(e[r],n[r])})}catch(t){return!1}}(e.value,e.oldValue)||H(t,e,n))}f