function(e,t){varn=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,o):""+Math.round(a)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(s[1]||"").length<o&&(s[1]=s[1]||"",s[1]+=newArray(o-s[1].length+1).join("0")),s.join(c)}varv=i()("i18n-calypso"),k=[function(e){returne}],y={};function_(){x.throwErrors&&"undefined"!=typeofwindow&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}functionO(e){returnArray.prototype.slice.call(e)}functionw(e){vart=e[0];("string"!=typeoft||e.length>3||e.length>2&&"object"==typeofe[1]&&"object"==typeofe[2])&&_("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeoft&&"string"==typeofe[1]&&_("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(varn={},r=0;r<e.length;r++)"object"==typeofe[r]&&(n=e[r]);if("string"==typeoft?n.original=t:"object"==typeofn.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeofe[1]&&(n.plural=e[1]),void0===n.original)thrownewError("Translate called without a `string` value as first argument.");returnn}functionC(e,t){varn="gettext";t.context&&(n="p"+n),"string"==typeoft.original&&"string"==typeoft.plural&&(n="n"+n);varr=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);returne[n].apply(e,r)}functionE(e,t){for(varn=k.length-1;n>=0;n--){varr=k[n](Object.assign({},t));if(e.state.locale[r.original])returnC(e.state.jed,r)}returnnull}functionx(){if(!(thisinstanceofx))returnnewx;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void0,locale:void0,localeSlug:void0,translations:d()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=newg.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){vare;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){vare;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){vare;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:{},n="number"==typeoft?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";returnj(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){vart=e[""]["key-hash"],n=function(e,t){varn=!1===t?"":String(t);if(void0!==y[n+e])returny[n+e];varr=f()().update(e).digest("hex");returny[n+e]=t?r.substr(0,t):r},r=function(e){returnfunction(t){returnt.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),deletet.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)k.push(r(!1));else{vara=t.substr(5).indexOf("-");if(a<0){varo=Number(t.substr(5));k.push(r(o))}elsefor(vari=Number(t.substr(5,a)),c=Number(t.substr(6+a)),s=i;s<=c;s++)k.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}elsethis.state.locale=Object.assign({},e);elsethis.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=newu.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=C(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=C(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberF
!function(n,r){vara=Array.prototype,o=Object.prototype,i=a.slice,c=o.hasOwnProperty,s=a.forEach,l={},u={forEach:function(e,t,n){varr,a,o;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);elseif(e.length===+e.length){for(r=0,a=e.length;r<a;r++)if(rine&&t.call(n,e[r],r,e)===l)return}elsefor(oine)if(c.call(e,o)&&t.call(n,e[o],o,e)===l)return},extend:function(e){returnthis.forEach(i.call(arguments,1),(function(t){for(varnint)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])thrownewError("Text domain set to non-existent domain: `"+e.domain+"`")};functiond(e){returnp.PF.compile(e||"nplurals=2; plural=(n != 1);")}functionh(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(h.prototype,{onDomain:function(e){returnthis._domain=e,this},withContext:function(e){returnthis._context=e,this},ifPlural:function(e,t){returnthis._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){returne})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){returnnewh(e,this)},textdomain:function(e){if(!e)returnthis._textdomain;this._textdomain=e},gettext:function(e){returnthis.dcnpgettext.call(this,void0,void0,e)},dgettext:function(e,t){returnthis.dcnpgettext.call(this,e,void0,t)},dcgettext:function(e,t){returnthis.dcnpgettext.call(this,e,void0,t)},ngettext:function(e,t,n){returnthis.dcnpgettext.call(this,void0,void0,e,t,n)},dngettext:function(e,t,n,r){returnthis.dcnpgettext.call(this,e,void0,t,n,r)},dcngettext:function(e,t,n,r){returnthis.dcnpgettext.call(this,e,void0,t,n,r)},pgettext:function(e,t){returnthis.dcnpgettext.call(this,void0,e,t)},dpgettext:function(e,t,n){returnthis.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){returnthis.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){returnthis.dcnpgettext.call(this,void0,e,t,n,r)},dnpgettext:function(e,t,n,r,a){returnthis.dcnpgettext.call(this,e,t,n,r,a)},dcnpgettext:function(e,t,n,r,a){varo;if(r=r||n,e=e||this._textdomain,!this.options)return(o=newp).dcnpgettext.call(o,void0,void0,n,r,a);if(!this.options.locale_data)thrownewError("No locale data provided.");if(!this.options.locale_data[e])thrownewError("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])thrownewError("No locale meta information provided.");if(!n)thrownewError("No translation key found.");vari,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,h=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],b=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void0===a)s=0;else{if("number"!=typeofa&&(a=parseInt(a,10),isNaN(a)))thrownewError("The number that was passed in is not a number.");s=d(b)(a)}if(!h)thrownewError("No domain named `"+e+"` could be found.");return!(i=h[l])||s>i.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[d(b)(a)]),c[d()(a)]):(c=i[s])||(c=[n,r])[d()(a)]}});varm,b,f=function(){functione(e){returnObject.prototype.toString.call(e).slice(8,-1).toLowerCase()}functiont(e,t){for(varn=[];t>0;n[--t]=e);returnn.join("")}varn=function(){returnn.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};returnn.format=function(n,r){vara,o,i,c,s,l,u,p=1,d=n.length,h="",m=[];for(o=0;o<d;o++)if("string"===(h=e(n[o])))m.push(n[o]);elseif("array"===h){if((c=n[o])[2])for(a=r[p],i=0;i<c[2].length;i++){if(!a.hasOwnProperty(c[2][i]))throwf('[sprintf] property "%s" does not exist',c[2][i]);a=a[c[2][i]]}elsea=c[1]?r[c[1]]:r[p