Initial Commit

This commit is contained in:
francop committed 2026-06-11 11:50:50 -04:00
commit d4a69c41be
2748 files changed
+80489

No files matched your search

@@ -0,0 +1,2 @@
export const ids=["3870"];export const modules={77794:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeRelativeTimeFormat=function(e,t,r,i){var u=i.getInternalSlots,c=i.availableLocales,l=i.relevantExtensionKeys,s=i.localeData,f=i.getDefaultLocale,p=u(e);p.initializedRelativeTimeFormat=!0;var y=(0,n.CanonicalizeLocaleList)(t),d=Object.create(null),v=(0,n.CoerceOptionsToObject)(r),_=(0,n.GetOption)(v,"localeMatcher","string",["best fit","lookup"],"best fit");d.localeMatcher=_;var m=(0,n.GetOption)(v,"numberingSystem","string",void 0,void 0);if(void 0!==m&&!a.test(m))throw new RangeError("Invalid numbering system ".concat(m));d.nu=m;var b=(0,o.ResolveLocale)(c,y,d,l,s,f),h=b.locale,w=b.nu;p.locale=h,p.style=(0,n.GetOption)(v,"style","string",["long","narrow","short"],"long"),p.numeric=(0,n.GetOption)(v,"numeric","string",["always","auto"],"always");var g=s[b.dataLocale];return(0,n.invariant)(!!g,"Missing locale data for ".concat(b.dataLocale)),p.fields=g,p.numberFormat=(0,n.createMemoizedNumberFormat)(t),p.pluralRules=(0,n.createMemoizedPluralRules)(t),p.numberingSystem=w,e};var n=r(71994),o=r(52153),a=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i},90100:function(e,t,r){r(92745),Object.defineProperty(t,"__esModule",{value:!0}),t.MakePartsList=function(e,t,r){for(var o=(0,n.PartitionPattern)(e),a=[],i=0,u=o;i<u.length;i++){var c=u[i];if("literal"===c.type)a.push({type:"literal",value:c.value});else{(0,n.invariant)("0"===c.type,"Malformed pattern ".concat(e));for(var l=0,s=r;l<s.length;l++){var f=s[l];a.push({type:f.type,value:f.value,unit:t})}}}return a};var n=r(71994)},93118:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionRelativeTimePattern=function(e,t,r,i){var u=i.getInternalSlots;if((0,n.invariant)("Number"===(0,n.Type)(t),"value must be number, instead got ".concat(typeof t),TypeError),(0,n.invariant)("String"===(0,n.Type)(r),"unit must be number, instead got ".concat(typeof t),TypeError),isNaN(t)||!isFinite(t))throw new RangeError("Invalid value ".concat(t));var c=(0,o.SingularRelativeTimeUnit)(r),l=u(e),s=l.fields,f=l.style,p=l.numeric,y=l.pluralRules,d=l.numberFormat,v=c;"short"===f?v="".concat(c,"-short"):"narrow"===f&&(v="".concat(c,"-narrow"));v in s||(v=c);var _=s[v];if("auto"===p&&(0,n.ToString)(t)in _)return[{type:"literal",value:_[(0,n.ToString)(t)]}];var m="future";((0,n.SameValue)(t,-0)||t<0)&&(m="past");var b=_[m],h="function"==typeof d.formatToParts?d.formatToParts(Math.abs(t)):[{type:"literal",value:d.format(Math.abs(t)),unit:r}],w=y.select(t),g=b[w];return(0,a.MakePartsList)(g,c,h)};var n=r(71994),o=r(22332),a=r(90100)},22332:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.SingularRelativeTimeUnit=function(e){if((0,n.invariant)("String"===(0,n.Type)(e),"unit must be a string"),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("invalid unit");return e};var n=r(71994)},29388:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.get(e);t||(t=Object.create(null),r.set(e,t));return t};var r=new WeakMap},30808:function(e,t,r){r(92519),r(42179),r(89256),r(24931),r(88463),r(57449),r(19814),r(13334),Object.defineProperty(t,"__esModule",{value:!0});var n=r(68920),o=r(71994),a=r(77794),i=r(93118),u=n.__importDefault(r(29388)),c=function(){function e(t,r){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return(0,a.InitializeRelativeTimeFormat)(this,t,r,{getInternalSlots:u.default,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!(0,u.default)(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return(0,i.PartitionRelativeTimePattern)(this,Number(e),(0,o.ToString)(t),{getInternalSlots:u.default}).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!(0,u.default)(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return(0,i.PartitionRelativeTimePattern)(this,Number(e),(0,o.ToString)(t),{getInternalSlots:u.default})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=(0,u.default)(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{Line truncated
//# sourceMappingURL=3870.1a4e53d0e9bd9c15.js.map