chunk-PIGRDDRG.js 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import {
  2. g,
  3. l
  4. } from "./chunk-XH7RUGVZ.js";
  5. import {
  6. o
  7. } from "./chunk-PDKDCAAD.js";
  8. import {
  9. q
  10. } from "./chunk-GZT4BVFP.js";
  11. // node_modules/@arcgis/core/intl/date.js
  12. var r = { year: "numeric", month: "numeric", day: "numeric" };
  13. var n = { year: "numeric", month: "long", day: "numeric" };
  14. var a = { year: "numeric", month: "short", day: "numeric" };
  15. var h = { year: "numeric", month: "long", weekday: "long", day: "numeric" };
  16. var m = { hour: "numeric", minute: "numeric" };
  17. var i = { ...m, second: "numeric" };
  18. var s = { "short-date": r, "short-date-short-time": { ...r, ...m }, "short-date-short-time-24": { ...r, ...m, hour12: false }, "short-date-long-time": { ...r, ...i }, "short-date-long-time-24": { ...r, ...i, hour12: false }, "short-date-le": r, "short-date-le-short-time": { ...r, ...m }, "short-date-le-short-time-24": { ...r, ...m, hour12: false }, "short-date-le-long-time": { ...r, ...i }, "short-date-le-long-time-24": { ...r, ...i, hour12: false }, "long-month-day-year": n, "long-month-day-year-short-time": { ...n, ...m }, "long-month-day-year-short-time-24": { ...n, ...m, hour12: false }, "long-month-day-year-long-time": { ...n, ...i }, "long-month-day-year-long-time-24": { ...n, ...i, hour12: false }, "day-short-month-year": a, "day-short-month-year-short-time": { ...a, ...m }, "day-short-month-year-short-time-24": { ...a, ...m, hour12: false }, "day-short-month-year-long-time": { ...a, ...i }, "day-short-month-year-long-time-24": { ...a, ...i, hour12: false }, "long-date": h, "long-date-short-time": { ...h, ...m }, "long-date-short-time-24": { ...h, ...m, hour12: false }, "long-date-long-time": { ...h, ...i }, "long-date-long-time-24": { ...h, ...i, hour12: false }, "long-month-year": { month: "long", year: "numeric" }, "short-month-year": { month: "short", year: "numeric" }, year: { year: "numeric" }, "short-time": m, "long-time": i };
  19. var l2 = o()({ shortDate: "short-date", shortDateShortTime: "short-date-short-time", shortDateShortTime24: "short-date-short-time-24", shortDateLongTime: "short-date-long-time", shortDateLongTime24: "short-date-long-time-24", shortDateLE: "short-date-le", shortDateLEShortTime: "short-date-le-short-time", shortDateLEShortTime24: "short-date-le-short-time-24", shortDateLELongTime: "short-date-le-long-time", shortDateLELongTime24: "short-date-le-long-time-24", longMonthDayYear: "long-month-day-year", longMonthDayYearShortTime: "long-month-day-year-short-time", longMonthDayYearShortTime24: "long-month-day-year-short-time-24", longMonthDayYearLongTime: "long-month-day-year-long-time", longMonthDayYearLongTime24: "long-month-day-year-long-time-24", dayShortMonthYear: "day-short-month-year", dayShortMonthYearShortTime: "day-short-month-year-short-time", dayShortMonthYearShortTime24: "day-short-month-year-short-time-24", dayShortMonthYearLongTime: "day-short-month-year-long-time", dayShortMonthYearLongTime24: "day-short-month-year-long-time-24", longDate: "long-date", longDateShortTime: "long-date-short-time", longDateShortTime24: "long-date-short-time-24", longDateLongTime: "long-date-long-time", longDateLongTime24: "long-date-long-time-24", longMonthYear: "long-month-year", shortMonthYear: "short-month-year", year: "year" });
  20. var g2 = l2.apiValues;
  21. var y = l2.toJSON.bind(l2);
  22. var d = l2.fromJSON.bind(l2);
  23. var u = { ar: "ar-u-nu-latn-ca-gregory" };
  24. var c = new WeakMap();
  25. var D = s["short-date-short-time"];
  26. function T(t) {
  27. const o3 = t || D;
  28. if (!c.has(o3)) {
  29. const t2 = l(), r2 = u[l()] || t2;
  30. c.set(o3, new Intl.DateTimeFormat(r2, o3));
  31. }
  32. return c.get(o3);
  33. }
  34. function S(t) {
  35. return s[t] || null;
  36. }
  37. function L(t, o3) {
  38. return T(o3).format(t);
  39. }
  40. g(() => {
  41. c = new WeakMap(), D = s["short-date-short-time"];
  42. });
  43. // node_modules/@arcgis/core/intl/number.js
  44. var a2 = { ar: "ar-u-nu-latn" };
  45. var e = new WeakMap();
  46. var o2 = {};
  47. function i2(n2) {
  48. const i3 = n2 || o2;
  49. if (!e.has(i3)) {
  50. const t = l(), o3 = a2[l()] || t;
  51. e.set(i3, new Intl.NumberFormat(o3, n2));
  52. }
  53. return q(e.get(i3));
  54. }
  55. function u2(t = {}) {
  56. const n2 = {};
  57. return t.digitSeparator != null && (n2.useGrouping = t.digitSeparator), t.places != null && (n2.minimumFractionDigits = n2.maximumFractionDigits = t.places), n2;
  58. }
  59. function m2(t, n2) {
  60. return t === -0 && (t = 0), i2(n2).format(t);
  61. }
  62. g(() => {
  63. e = new WeakMap(), o2 = {};
  64. });
  65. export {
  66. S,
  67. L,
  68. u2 as u,
  69. m2 as m
  70. };
  71. //# sourceMappingURL=chunk-PIGRDDRG.js.map