text: /*!
   * Globalize v1.1.1 2016-03-29T14:33Z Released under the MIT license
   * http://git.io/TrdQbw
   */
  !function(a,b){"function"==typeof define&&define.amd?define(["cldr","cldr/event"],b):"object"==typeof exports?module.exports=b(require("cldrjs")):a.Globalize=b(a.Cldr)}(this,function(a){function b(a){a.once("get",n),a.get("supplemental/likelySubtags")}function c(a){return this instanceof c?(p(a,"locale"),s(a,"locale"),this.cldr=v(a),void b(this.cldr)):new c(a)}var d=function(a){return"string"==typeof a?a:"number"==typeof a?""+a:JSON.stringify(a)},e=function(a,b){return a=a.replace(/{[0-9a-zA-Z-_. ]+}/g,function(a){return a=a.replace(/^{([^}]*)}$/,"$1"),d(b[a])})},f=function(){var a=arguments[0],b=[].slice.call(arguments,1);return b.forEach(function(b){var c;for(c in b)a[c]=b[c]}),a},g=function(a,b,c){var d;return b=a+(b?": "+e(b,c):""),d=new Error(b),d.code=a,f(d,c),d},h=function(a){return[].reduce.call(a,function(a,b){var c=b.charCodeAt(0);return a=(a<<5)-a+c,0|a},0)},i=function(a,b,c,d){var e;return d=d||JSON.stringify(c),e=h(a+b+d),e>0?"a"+e:"b"+Math.abs(e)},j=function(a){if(void 0!==a.name)return a.name;var b=/^function\s+([\w\$]+)\s*\(/.exec(a.toString());return b&&b.length>0?b[1]:void 0},k=function(a,b,c,d){var e=JSON.stringify(a),f=j(c),g=b.locale;return f?(c.runtimeKey=i(f,g,null,e),c.generatorString=function(){return'Globalize("'+g+'").'+f+"("+e.slice(1,-1)+")"},c.runtimeArgs=d,c):c},l=function(a,b,c,d){if(!c)throw g(a,b,d)},m=function(a){return Array.isArray(a)?a:a?[a]:[]},n=function(a,b,c){var d;c=c||{},d=m(c.skip).some(function(b){return b.test(a)}),l("E_MISSING_CLDR","Missing required CLDR content `{path}`.",b||d,{path:a})},o=function(a){l("E_DEFAULT_LOCALE_NOT_DEFINED","Default locale has not been defined.",void 0!==a,{})},p=function(a,b){l("E_MISSING_PARAMETER","Missing required parameter `{name}`.",void 0!==a,{name:b})},q=function(a,b,c,d){l("E_PAR_OUT_OF_RANGE","Parameter `{name}` has value `{value}` out of range [{minimum}, {maximum}].",void 0===a||a>=c&&d>=a,{maximum:d,minimum:c,name:b,value:a})},r=function(a,b,c,d){l("E_INVALID_PAR_TYPE","Invalid `{name}` parameter ({value}). {expected} expected.",c,{expected:d,name:b,value:a})},s=function(b,c){r(b,c,void 0===b||"string"==typeof b||b instanceof a,"String or Cldr instance")},t=function(a){return null!==a&&""+a=="[object Object]"},u=function(a,b){r(a,b,void 0===a||t(a),"Plain Object")},v=function(b){return b instanceof a?b:new a(b)},w=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")},x=function(a,b,c){var d;for("string"!=typeof a&&(a=String(a)),d=a.length;b>d;d+=1)a=c?a+"0":"0"+a;return a};return c.load=function(){a.load.apply(a,arguments)},c.locale=function(a){return s(a,"locale"),arguments.length&&(this.cldr=v(a),b(this.cldr)),this.cldr},c._alwaysArray=m,c._createError=g,c._formatMessage=e,c._isPlainObject=t,c._objectExtend=f,c._regexpEscape=w,c._runtimeBind=k,c._stringPad=x,c._validate=l,c._validateCldr=n,c._validateDefaultLocale=o,c._validateParameterPresence=p,c._validateParameterRange=q,c._validateParameterTypePlainObject=u,c._validateParameterType=r,c});