text: !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";
  /*! *****************************************************************************
      Copyright (c) Microsoft Corporation.
  
      Permission to use, copy, modify, and/or distribute this software for any
      purpose with or without fee is hereby granted.
  
      THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
      REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
      AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
      INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
      LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
      OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
      PERFORMANCE OF THIS SOFTWARE.
      ***************************************************************************** */var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)},t=function(){return(t=Object.assign||function e(t){for(var r,n=1,a=arguments.length;n<a;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function r(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=e.get(t);if(!a)throw new TypeError(t+" InternalSlot has not been initialized");return r.reduce((function(e,t){return e[t]=a[t],e}),Object.create(null))}var n=/-u(?:-[0-9a-z]{2,8})+/gi;function a(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function o(e){return Intl.getCanonicalLocales(e)}function l(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function i(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function c(e,t,r,n,a){var o=e[t];if(void 0!==o){if("boolean"!==r&&"string"!==r)throw new TypeError("invalid type");if("boolean"===r&&(o=Boolean(o)),"string"===r&&(o=l(o)),void 0!==n&&!n.filter((function(e){return e==o})).length)throw new RangeError(o+" is not within "+n.join(", "));return o}return a}function u(e,t){for(var r=t;;){if(~e.indexOf(r))return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}function s(e,t){a(2===t.length,"key must have 2 elements");var r=e.length,n="-"+t+"-",o=e.indexOf(n);if(-1!==o){for(var l=o+4,i=l,c=l,u=!1;!u;){var s=e.indexOf("-",c);2==(-1===s?r-c:s-c)?u=!0:-1===s?(i=r,u=!0):(i=s,c=s+1)}return e.slice(l,i)}if(-1!==(o=e.indexOf(n="-"+t))&&o+3===r)return""}var f=/[^A-Z]/,p=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="MISSING_LOCALE_DATA",e}return function n(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}(r,t),r}(Error);function v(e,r,n){void 0===n&&(n=function(e,r){return t(t({},e),r)});var a=function o(e){for(var t=[e],r=e.split("-"),n=r.length;n>1;n--)t.push(r.slice(0,n-1).join("-"));return t}(e),l=a.map((function(e){return r.data[e]})).filter(Boolean);if(!l.length)throw new p('Missing locale data for "'+e+'", lookup hierarchy: '+a.join(", "));return l.reverse(),l.reduce(n,{})}var y=function(){function e(t,r){if(void 0===this.constructor)throw TypeError("Constructor Intl.DisplayNames requires 'new'");var l=o(t);r=i(r);var f=Object.create(null),p=e.localeData,v=c(r,"localeMatcher","string",["lookup","best fit"],"best fit");f.localeMatcher=v;var y=function d(e,t,r,o,l,i){for(var c,f=(c="lookup"===r.localeMatcher?function p(e,t,r){for(var a={locale:""},o=0,l=t;o<l.length;o++){var i=l[o],c=i.replace(n,""),s=u(e,c);if(s)return a.locale=s,i!==c&&(a.extension=i.slice(c.length+1,i.length)),a}return a.locale=r(),a}(e,t,i):function v(e,t,r){for(var a={locale:""},o=0,l=t;o<l.length;o++){var i=l[o],c=i.replace(n,""),s=u(e,c);if(s)return a.locale=s,i!==c&&(a.extension=i.slice(c.length+1,i.length)),a}return a.locale=r(),a}(e,t,i)).locale,y={locale:"",dataLocale:f},d="-u",g=0,h=o;g<h.length;g++){var b=h[g],w=l[f];a("object"==typeof w&&null!==w,"locale data "+b+" must be an object");var O=w[b];a(Array.isArray(O),"keyLocaleData for "+b+" must be an array");var m=O[0];a("string"==typeof m||null===m,"value must be string or null but got "+typeof m+" in key "+b);var j="";if(c.extension){var D=s(c.extension,b);void 0!==D&&(""!==D?~O.indexOf(D)&&(j="-"+b+"-"+(m=D)):~D.indexOf("true")&&(m="true",j="-"+b))}if(b in r){var L=r[b];a("string"==typeof L||null==L,"optionsValue must be String, Undefined or Null"),~O.indexOf(L)&&L!==m&&(m=L,j="")}y[b]=m,d+=j}if(d.length>2){var _=f.indexOf("-x-");if(-1===_)f+=d;else{var x=f.slice(0,_),k=f.slice(_,f.length);f=x+d+k}f=Intl.getCanonicalLocales(f)[0]}return y.locale=f,y}(e.availableLocales,l,f,[],e.localeData,e.getDefaultLocale),h=c(r,"style","string",["narrow","short","long"],"long");g(this,"style",h);var b=c(r,"type","string",["language","currency","region","script"],void 0);if(void 0===b)throw TypeError('Intl.DisplayNames constructor requires "type" option');g(this,"type",b),g(this,"fallback",c(r,"fallback","string",["code","none"],"code")),g(this,"locale",y.locale);var w=p[y.dataLocale];g(this,"localeData",w),a(void 0!==w,"locale data for "+y.locale+" does not exist.");var O=w.types;a("object"==typeof O&&null!=O,"invalid types data");var m=O[b];a("object"==typeof m&&null!=m,"invalid typeFields data");var j=m[h];a("object"==typeof j&&null!=j,"invalid styleFields data"),g(this,"fields",j)}return e.supportedLocalesOf=function(t,r){return function a(e,t,r){return void 0!==r&&c(r=i(r),"localeMatcher","string",["lookup","best fit"],"best fit"),function a(e,t){for(var r=[],a=0,o=t;a<o.length;a++){var l=u(e,o[a].replace(n,""));l&&r.push(l)}return r}(e,t)}(e.availableLocales,o(t),r)},e.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0,a=t;n<a.length;n++)for(var o=a[n],l=o.availableLocales,i=0,c=l;i<c.length;i++){var u=c[i];try{e.localeData[u]=v(u,o)}catch(e){}}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.prototype.of=function(e){h(this,"of");var t=function n(e,t){return function n(e,t,a){return r(e,t,a)[a]}(d,e,t)}(this,"type"),a=l(e);if(!function i(e,t){switch(e){case"language":return/^[a-z]{2,3}(-[a-z]{4})?(-([a-z]{2}|\d{3}))?(-([a-z\d]{5,8}|\d[a-z\d]{3}))*$/i.test(t);case"region":return/^([a-z]{2}|\d{3})$/i.test(t);case"script":return/^[a-z]{4}$/i.test(t);case"currency":return function r(e){return 3===(e=function t(e){return e.replace(/([a-z])/g,(function(e,t){return t.toUpperCase()}))}(e)).length&&!f.test(e)}(t)}}(t,a))throw RangeError("invalid code for Intl.DisplayNames.prototype.of");var c,u,s=r(d,this,"localeData","style","fallback"),p=s.localeData,v=s.style,y=s.fallback;switch(t){case"language":c=o(a)[0];var g=/-([a-z]{2}|\d{3})\b/i.exec(c);g&&(c=c.substring(0,g.index)+c.substring(g.index+g[0].length),u=g[1]);break;case"currency":c=a.toUpperCase();break;case"script":c=a[0]+a.substring(1).toLowerCase();break;case"region":c=a.toUpperCase()}var b=p.types[t],w=b[v][c]||b.long[c];if(void 0!==w){if(!u)return w;var O=p.types.region,m=O[v][u]||O.long[u];if(m||"code"===y)return p.patterns.locale.replace("{0}",w).replace("{1}",m||u)}if("code"===y)return a},e.prototype.resolvedOptions=function(){return h(this,"resolvedOptions"),t({},r(d,this,"locale","style","type","fallback"))},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.polyfilled=!0,e}();try{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(y.prototype,Symbol.toStringTag,{value:"Intl.DisplayNames",configurable:!0,enumerable:!1,writable:!1}),Object.defineProperty(y,"length",{value:2,writable:!1,enumerable:!1,configurable:!0})}catch(e){}var d=new WeakMap;function g(e,t,r){!function n(e,t,r,a){e.get(t)||e.set(t,Object.create(null)),e.get(t)[r]=a}(d,e,t,r)}function h(e,t){if(!(e instanceof y))throw TypeError("Method Intl.DisplayNames.prototype."+t+" called on incompatible receiver")}(function b(){return!Intl.DisplayNames||function e(){return!!Intl.DisplayNames&&"CA"===new Intl.DisplayNames(["en"],{type:"region"}).of("CA")}()})()&&Object.defineProperty(Intl,"DisplayNames",{value:y,enumerable:!1,writable:!0,configurable:!0})}));