@jnrs/shared 1.0.17 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -21
  3. package/dist/date-fns.cjs +11 -0
  4. package/dist/date-fns.cjs.map +1 -0
  5. package/dist/date-fns.d.ts +2 -0
  6. package/dist/date-fns.d.ts.map +1 -0
  7. package/dist/date-fns.js +2 -0
  8. package/dist/date-fns.js.map +1 -0
  9. package/dist/index.d.ts +3 -2
  10. package/dist/lodash.d.ts +5 -1
  11. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.cjs +10 -0
  12. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.cjs.map +1 -0
  13. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  14. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  15. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.cjs +14 -0
  16. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.cjs.map +1 -0
  17. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  18. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  19. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.cjs +35 -0
  20. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.cjs.map +1 -0
  21. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js +33 -0
  22. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constants.js.map +1 -0
  23. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.cjs +55 -0
  24. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.cjs.map +1 -0
  25. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js +50 -0
  26. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/constructFrom.js.map +1 -0
  27. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.cjs +57 -0
  28. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.cjs.map +1 -0
  29. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.js +52 -0
  30. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameWeek.js.map +1 -0
  31. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +13 -0
  32. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs.map +1 -0
  33. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
  34. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  35. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +67 -0
  36. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs.map +1 -0
  37. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +65 -0
  38. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  39. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +62 -0
  40. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs.map +1 -0
  41. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +60 -0
  42. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  43. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +25 -0
  44. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs.map +1 -0
  45. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +23 -0
  46. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  47. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs +201 -0
  48. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs.map +1 -0
  49. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +199 -0
  50. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +1 -0
  51. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs +45 -0
  52. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs.map +1 -0
  53. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js +43 -0
  54. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js.map +1 -0
  55. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs +16 -0
  56. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs.map +1 -0
  57. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +14 -0
  58. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +1 -0
  59. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs +196 -0
  60. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs.map +1 -0
  61. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js +194 -0
  62. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js.map +1 -0
  63. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs +139 -0
  64. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs.map +1 -0
  65. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js +137 -0
  66. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js.map +1 -0
  67. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs +37 -0
  68. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs.map +1 -0
  69. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js +32 -0
  70. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js.map +1 -0
  71. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +106 -0
  72. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs.map +1 -0
  73. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +104 -0
  74. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  75. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +44 -0
  76. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs.map +1 -0
  77. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +42 -0
  78. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  79. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +16 -0
  80. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs.map +1 -0
  81. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +14 -0
  82. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  83. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +192 -0
  84. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs.map +1 -0
  85. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js +190 -0
  86. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  87. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +137 -0
  88. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.cjs.map +1 -0
  89. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js +135 -0
  90. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  91. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.cjs +34 -0
  92. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.cjs.map +1 -0
  93. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js +29 -0
  94. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/en-US.js.map +1 -0
  95. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs +106 -0
  96. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs.map +1 -0
  97. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js +104 -0
  98. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js.map +1 -0
  99. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs +44 -0
  100. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs.map +1 -0
  101. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js +42 -0
  102. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js.map +1 -0
  103. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs +30 -0
  104. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs.map +1 -0
  105. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js +28 -0
  106. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js.map +1 -0
  107. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs +169 -0
  108. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs.map +1 -0
  109. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js +167 -0
  110. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js.map +1 -0
  111. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs +143 -0
  112. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs.map +1 -0
  113. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js +141 -0
  114. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js.map +1 -0
  115. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs +37 -0
  116. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs.map +1 -0
  117. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js +32 -0
  118. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js.map +1 -0
  119. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs +105 -0
  120. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs.map +1 -0
  121. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +103 -0
  122. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +1 -0
  123. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs +44 -0
  124. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs.map +1 -0
  125. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +42 -0
  126. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +1 -0
  127. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs +16 -0
  128. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs.map +1 -0
  129. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +14 -0
  130. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +1 -0
  131. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs +170 -0
  132. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs.map +1 -0
  133. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +168 -0
  134. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js.map +1 -0
  135. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs +138 -0
  136. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs.map +1 -0
  137. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +136 -0
  138. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js.map +1 -0
  139. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs +34 -0
  140. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs.map +1 -0
  141. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +29 -0
  142. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js.map +1 -0
  143. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs +120 -0
  144. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs.map +1 -0
  145. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js +118 -0
  146. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js.map +1 -0
  147. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs +44 -0
  148. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs.map +1 -0
  149. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js +42 -0
  150. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js.map +1 -0
  151. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs +17 -0
  152. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs.map +1 -0
  153. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js +15 -0
  154. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js.map +1 -0
  155. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs +182 -0
  156. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs.map +1 -0
  157. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js +180 -0
  158. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js.map +1 -0
  159. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs +123 -0
  160. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs.map +1 -0
  161. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js +121 -0
  162. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js.map +1 -0
  163. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs +37 -0
  164. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs.map +1 -0
  165. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js +32 -0
  166. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js.map +1 -0
  167. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs +106 -0
  168. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs.map +1 -0
  169. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js +104 -0
  170. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js.map +1 -0
  171. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs +44 -0
  172. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs.map +1 -0
  173. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js +42 -0
  174. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js.map +1 -0
  175. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs +16 -0
  176. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs.map +1 -0
  177. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js +14 -0
  178. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js.map +1 -0
  179. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs +172 -0
  180. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs.map +1 -0
  181. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js +170 -0
  182. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js.map +1 -0
  183. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs +120 -0
  184. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs.map +1 -0
  185. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js +118 -0
  186. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js.map +1 -0
  187. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs +35 -0
  188. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs.map +1 -0
  189. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js +30 -0
  190. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js.map +1 -0
  191. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs +251 -0
  192. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs.map +1 -0
  193. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js +249 -0
  194. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js.map +1 -0
  195. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs +41 -0
  196. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs.map +1 -0
  197. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js +39 -0
  198. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js.map +1 -0
  199. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs +93 -0
  200. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs.map +1 -0
  201. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js +91 -0
  202. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js.map +1 -0
  203. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs +215 -0
  204. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs.map +1 -0
  205. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js +213 -0
  206. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js.map +1 -0
  207. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs +143 -0
  208. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs.map +1 -0
  209. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js +141 -0
  210. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js.map +1 -0
  211. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs +34 -0
  212. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs.map +1 -0
  213. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js +29 -0
  214. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js.map +1 -0
  215. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.cjs +106 -0
  216. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.cjs.map +1 -0
  217. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +104 -0
  218. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js.map +1 -0
  219. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.cjs +44 -0
  220. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.cjs.map +1 -0
  221. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +42 -0
  222. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js.map +1 -0
  223. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.cjs +36 -0
  224. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.cjs.map +1 -0
  225. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +34 -0
  226. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js.map +1 -0
  227. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.cjs +188 -0
  228. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.cjs.map +1 -0
  229. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.js +186 -0
  230. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/localize.js.map +1 -0
  231. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.cjs +135 -0
  232. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.cjs.map +1 -0
  233. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.js +133 -0
  234. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN/_lib/match.js.map +1 -0
  235. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.cjs +37 -0
  236. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.cjs.map +1 -0
  237. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.js +32 -0
  238. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/zh-CN.js.map +1 -0
  239. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.cjs +59 -0
  240. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.cjs.map +1 -0
  241. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js +54 -0
  242. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/startOfWeek.js.map +1 -0
  243. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.cjs +52 -0
  244. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.cjs.map +1 -0
  245. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js +47 -0
  246. package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/toDate.js.map +1 -0
  247. package/dist/utils/date.cjs +16 -9
  248. package/dist/utils/date.cjs.map +1 -1
  249. package/dist/utils/date.d.ts +10 -12
  250. package/dist/utils/date.js +8 -1
  251. package/dist/utils/date.js.map +1 -1
  252. package/dist/utils/fullscreen.d.ts +2 -3
  253. package/dist/uuid.d.ts +3 -1
  254. package/package.json +18 -9
@@ -0,0 +1,120 @@
1
+ 'use strict';
2
+
3
+ const formatDistanceLocale = {
4
+ lessThanXSeconds: {
5
+ one: "1秒未満",
6
+ other: "{{count}}秒未満",
7
+ oneWithSuffix: "約1秒",
8
+ otherWithSuffix: "約{{count}}秒",
9
+ },
10
+
11
+ xSeconds: {
12
+ one: "1秒",
13
+ other: "{{count}}秒",
14
+ },
15
+
16
+ halfAMinute: "30秒",
17
+
18
+ lessThanXMinutes: {
19
+ one: "1分未満",
20
+ other: "{{count}}分未満",
21
+ oneWithSuffix: "約1分",
22
+ otherWithSuffix: "約{{count}}分",
23
+ },
24
+
25
+ xMinutes: {
26
+ one: "1分",
27
+ other: "{{count}}分",
28
+ },
29
+
30
+ aboutXHours: {
31
+ one: "約1時間",
32
+ other: "約{{count}}時間",
33
+ },
34
+
35
+ xHours: {
36
+ one: "1時間",
37
+ other: "{{count}}時間",
38
+ },
39
+
40
+ xDays: {
41
+ one: "1日",
42
+ other: "{{count}}日",
43
+ },
44
+
45
+ aboutXWeeks: {
46
+ one: "約1週間",
47
+ other: "約{{count}}週間",
48
+ },
49
+
50
+ xWeeks: {
51
+ one: "1週間",
52
+ other: "{{count}}週間",
53
+ },
54
+
55
+ aboutXMonths: {
56
+ one: "約1か月",
57
+ other: "約{{count}}か月",
58
+ },
59
+
60
+ xMonths: {
61
+ one: "1か月",
62
+ other: "{{count}}か月",
63
+ },
64
+
65
+ aboutXYears: {
66
+ one: "約1年",
67
+ other: "約{{count}}年",
68
+ },
69
+
70
+ xYears: {
71
+ one: "1年",
72
+ other: "{{count}}年",
73
+ },
74
+
75
+ overXYears: {
76
+ one: "1年以上",
77
+ other: "{{count}}年以上",
78
+ },
79
+
80
+ almostXYears: {
81
+ one: "1年近く",
82
+ other: "{{count}}年近く",
83
+ },
84
+ };
85
+
86
+ const formatDistance = (token, count, options) => {
87
+ options = options || {};
88
+
89
+ let result;
90
+
91
+ const tokenValue = formatDistanceLocale[token];
92
+ if (typeof tokenValue === "string") {
93
+ result = tokenValue;
94
+ } else if (count === 1) {
95
+ if (options.addSuffix && tokenValue.oneWithSuffix) {
96
+ result = tokenValue.oneWithSuffix;
97
+ } else {
98
+ result = tokenValue.one;
99
+ }
100
+ } else {
101
+ if (options.addSuffix && tokenValue.otherWithSuffix) {
102
+ result = tokenValue.otherWithSuffix.replace("{{count}}", String(count));
103
+ } else {
104
+ result = tokenValue.other.replace("{{count}}", String(count));
105
+ }
106
+ }
107
+
108
+ if (options.addSuffix) {
109
+ if (options.comparison && options.comparison > 0) {
110
+ return result + "後";
111
+ } else {
112
+ return result + "前";
113
+ }
114
+ }
115
+
116
+ return result;
117
+ };
118
+
119
+ exports.formatDistance = formatDistance;
120
+ //# sourceMappingURL=formatDistance.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDistance.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"1秒未満\",\n other: \"{{count}}秒未満\",\n oneWithSuffix: \"約1秒\",\n otherWithSuffix: \"約{{count}}秒\",\n },\n\n xSeconds: {\n one: \"1秒\",\n other: \"{{count}}秒\",\n },\n\n halfAMinute: \"30秒\",\n\n lessThanXMinutes: {\n one: \"1分未満\",\n other: \"{{count}}分未満\",\n oneWithSuffix: \"約1分\",\n otherWithSuffix: \"約{{count}}分\",\n },\n\n xMinutes: {\n one: \"1分\",\n other: \"{{count}}分\",\n },\n\n aboutXHours: {\n one: \"約1時間\",\n other: \"約{{count}}時間\",\n },\n\n xHours: {\n one: \"1時間\",\n other: \"{{count}}時間\",\n },\n\n xDays: {\n one: \"1日\",\n other: \"{{count}}日\",\n },\n\n aboutXWeeks: {\n one: \"約1週間\",\n other: \"約{{count}}週間\",\n },\n\n xWeeks: {\n one: \"1週間\",\n other: \"{{count}}週間\",\n },\n\n aboutXMonths: {\n one: \"約1か月\",\n other: \"約{{count}}か月\",\n },\n\n xMonths: {\n one: \"1か月\",\n other: \"{{count}}か月\",\n },\n\n aboutXYears: {\n one: \"約1年\",\n other: \"約{{count}}年\",\n },\n\n xYears: {\n one: \"1年\",\n other: \"{{count}}年\",\n },\n\n overXYears: {\n one: \"1年以上\",\n other: \"{{count}}年以上\",\n },\n\n almostXYears: {\n one: \"1年近く\",\n other: \"{{count}}年近く\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n options = options || {};\n\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n if (options.addSuffix && tokenValue.oneWithSuffix) {\n result = tokenValue.oneWithSuffix;\n } else {\n result = tokenValue.one;\n }\n } else {\n if (options.addSuffix && tokenValue.otherWithSuffix) {\n result = tokenValue.otherWithSuffix.replace(\"{{count}}\", String(count));\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + \"後\";\n } else {\n return result + \"前\";\n }\n }\n\n return result;\n};\n"],"names":[],"mappings":";;AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,gBAAgB,EAAE;AACpB,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,aAAa,EAAE,KAAK;AACxB,IAAI,eAAe,EAAE,aAAa;AAClC,GAAG;;AAEH,EAAE,QAAQ,EAAE;AACZ,IAAI,GAAG,EAAE,IAAI;AACb,IAAI,KAAK,EAAE,YAAY;AACvB,GAAG;;AAEH,EAAE,WAAW,EAAE,KAAK;;AAEpB,EAAE,gBAAgB,EAAE;AACpB,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,KAAK,EAAE,cAAc;AACzB,IAAI,aAAa,EAAE,KAAK;AACxB,IAAI,eAAe,EAAE,aAAa;AAClC,GAAG;;AAEH,EAAE,QAAQ,EAAE;AACZ,IAAI,GAAG,EAAE,IAAI;AACb,IAAI,KAAK,EAAE,YAAY;AACvB,GAAG;;AAEH,EAAE,WAAW,EAAE;AACf,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,KAAK,EAAE,cAAc;AACzB,GAAG;;AAEH,EAAE,MAAM,EAAE;AACV,IAAI,GAAG,EAAE,KAAK;AACd,IAAI,KAAK,EAAE,aAAa;AACxB,GAAG;;AAEH,EAAE,KAAK,EAAE;AACT,IAAI,GAAG,EAAE,IAAI;AACb,IAAI,KAAK,EAAE,YAAY;AACvB,GAAG;;AAEH,EAAE,WAAW,EAAE;AACf,IAAI,GAAG,EAAE,MAAM;AAC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;AACJ,EAAE,CAAC,MAAM;AACT,IAAI,IAAI,OAAO,CAAC,SAAS,IAAI,UAAU,CAAC,eAAe,EAAE;AACzD,MAAM,MAAM,GAAG,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;AAC7E,IAAI,CAAC,MAAM;AACX,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;AACnE,IAAI;AACJ,EAAE;;AAEF,EAAE,IAAI,OAAO,CAAC,SAAS,EAAE;AACzB,IAAI,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,CAAC,EAAE;AACtD,MAAM,OAAO,MAAM,GAAG,GAAG;AACzB,IAAI,CAAC,MAAM;AACX,MAAM,OAAO,MAAM,GAAG,GAAG;AACzB,IAAI;AACJ,EAAE;;AAEF,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,118 @@
1
+ const formatDistanceLocale = {
2
+ lessThanXSeconds: {
3
+ one: "1秒未満",
4
+ other: "{{count}}秒未満",
5
+ oneWithSuffix: "約1秒",
6
+ otherWithSuffix: "約{{count}}秒",
7
+ },
8
+
9
+ xSeconds: {
10
+ one: "1秒",
11
+ other: "{{count}}秒",
12
+ },
13
+
14
+ halfAMinute: "30秒",
15
+
16
+ lessThanXMinutes: {
17
+ one: "1分未満",
18
+ other: "{{count}}分未満",
19
+ oneWithSuffix: "約1分",
20
+ otherWithSuffix: "約{{count}}分",
21
+ },
22
+
23
+ xMinutes: {
24
+ one: "1分",
25
+ other: "{{count}}分",
26
+ },
27
+
28
+ aboutXHours: {
29
+ one: "約1時間",
30
+ other: "約{{count}}時間",
31
+ },
32
+
33
+ xHours: {
34
+ one: "1時間",
35
+ other: "{{count}}時間",
36
+ },
37
+
38
+ xDays: {
39
+ one: "1日",
40
+ other: "{{count}}日",
41
+ },
42
+
43
+ aboutXWeeks: {
44
+ one: "約1週間",
45
+ other: "約{{count}}週間",
46
+ },
47
+
48
+ xWeeks: {
49
+ one: "1週間",
50
+ other: "{{count}}週間",
51
+ },
52
+
53
+ aboutXMonths: {
54
+ one: "約1か月",
55
+ other: "約{{count}}か月",
56
+ },
57
+
58
+ xMonths: {
59
+ one: "1か月",
60
+ other: "{{count}}か月",
61
+ },
62
+
63
+ aboutXYears: {
64
+ one: "約1年",
65
+ other: "約{{count}}年",
66
+ },
67
+
68
+ xYears: {
69
+ one: "1年",
70
+ other: "{{count}}年",
71
+ },
72
+
73
+ overXYears: {
74
+ one: "1年以上",
75
+ other: "{{count}}年以上",
76
+ },
77
+
78
+ almostXYears: {
79
+ one: "1年近く",
80
+ other: "{{count}}年近く",
81
+ },
82
+ };
83
+
84
+ const formatDistance = (token, count, options) => {
85
+ options = options || {};
86
+
87
+ let result;
88
+
89
+ const tokenValue = formatDistanceLocale[token];
90
+ if (typeof tokenValue === "string") {
91
+ result = tokenValue;
92
+ } else if (count === 1) {
93
+ if (options.addSuffix && tokenValue.oneWithSuffix) {
94
+ result = tokenValue.oneWithSuffix;
95
+ } else {
96
+ result = tokenValue.one;
97
+ }
98
+ } else {
99
+ if (options.addSuffix && tokenValue.otherWithSuffix) {
100
+ result = tokenValue.otherWithSuffix.replace("{{count}}", String(count));
101
+ } else {
102
+ result = tokenValue.other.replace("{{count}}", String(count));
103
+ }
104
+ }
105
+
106
+ if (options.addSuffix) {
107
+ if (options.comparison && options.comparison > 0) {
108
+ return result + "後";
109
+ } else {
110
+ return result + "前";
111
+ }
112
+ }
113
+
114
+ return result;
115
+ };
116
+
117
+ export { formatDistance };
118
+ //# sourceMappingURL=formatDistance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatDistance.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"1秒未満\",\n other: \"{{count}}秒未満\",\n oneWithSuffix: \"約1秒\",\n otherWithSuffix: \"約{{count}}秒\",\n },\n\n xSeconds: {\n one: \"1秒\",\n other: \"{{count}}秒\",\n },\n\n halfAMinute: \"30秒\",\n\n lessThanXMinutes: {\n one: \"1分未満\",\n other: \"{{count}}分未満\",\n oneWithSuffix: \"約1分\",\n otherWithSuffix: \"約{{count}}分\",\n },\n\n xMinutes: {\n one: \"1分\",\n other: \"{{count}}分\",\n },\n\n aboutXHours: {\n one: \"約1時間\",\n other: \"約{{count}}時間\",\n },\n\n xHours: {\n one: \"1時間\",\n other: \"{{count}}時間\",\n },\n\n xDays: {\n one: \"1日\",\n other: \"{{count}}日\",\n },\n\n aboutXWeeks: {\n one: \"約1週間\",\n other: \"約{{count}}週間\",\n },\n\n xWeeks: {\n one: \"1週間\",\n other: \"{{count}}週間\",\n },\n\n aboutXMonths: {\n one: \"約1か月\",\n other: \"約{{count}}か月\",\n },\n\n xMonths: {\n one: \"1か月\",\n other: \"{{count}}か月\",\n },\n\n aboutXYears: {\n one: \"約1年\",\n other: \"約{{count}}年\",\n },\n\n xYears: {\n one: \"1年\",\n other: \"{{count}}年\",\n },\n\n overXYears: {\n one: \"1年以上\",\n other: \"{{count}}年以上\",\n },\n\n almostXYears: {\n one: \"1年近く\",\n other: \"{{count}}年近く\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n options = options || {};\n\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n if (options.addSuffix && tokenValue.oneWithSuffix) {\n result = tokenValue.oneWithSuffix;\n } else {\n result = tokenValue.one;\n }\n } else {\n if (options.addSuffix && tokenValue.otherWithSuffix) {\n result = tokenValue.otherWithSuffix.replace(\"{{count}}\", String(count));\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n }\n\n if (options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return result + \"後\";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,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;AACnE,IAAI;AACJ,EAAE;;AAEF,EAAE,IAAI,OAAO,CAAC,SAAS,EAAE;AACzB,IAAI,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,UAAU,GAAG,CAAC,EAAE;AACtD,MAAM,OAAO,MAAM,GAAG,GAAG;AACzB,IAAI,CAAC,MAAM;AACX,MAAM,OAAO,MAAM,GAAG,GAAG;AACzB,IAAI;AACJ,EAAE;;AAEF,EAAE,OAAO,MAAM;AACf;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ var buildFormatLongFn = require('../../_lib/buildFormatLongFn.cjs');
4
+
5
+ const dateFormats = {
6
+ full: "y年M月d日EEEE",
7
+ long: "y年M月d日",
8
+ medium: "y/MM/dd",
9
+ short: "y/MM/dd",
10
+ };
11
+
12
+ const timeFormats = {
13
+ full: "H時mm分ss秒 zzzz",
14
+ long: "H:mm:ss z",
15
+ medium: "H:mm:ss",
16
+ short: "H:mm",
17
+ };
18
+
19
+ const dateTimeFormats = {
20
+ full: "{{date}} {{time}}",
21
+ long: "{{date}} {{time}}",
22
+ medium: "{{date}} {{time}}",
23
+ short: "{{date}} {{time}}",
24
+ };
25
+
26
+ const formatLong = {
27
+ date: buildFormatLongFn.buildFormatLongFn({
28
+ formats: dateFormats,
29
+ defaultWidth: "full",
30
+ }),
31
+
32
+ time: buildFormatLongFn.buildFormatLongFn({
33
+ formats: timeFormats,
34
+ defaultWidth: "full",
35
+ }),
36
+
37
+ dateTime: buildFormatLongFn.buildFormatLongFn({
38
+ formats: dateTimeFormats,
39
+ defaultWidth: "full",
40
+ }),
41
+ };
42
+
43
+ exports.formatLong = formatLong;
44
+ //# sourceMappingURL=formatLong.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatLong.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"y年M月d日EEEE\",\n long: \"y年M月d日\",\n medium: \"y/MM/dd\",\n short: \"y/MM/dd\",\n};\n\nconst timeFormats = {\n full: \"H時mm分ss秒 zzzz\",\n long: \"H:mm:ss z\",\n medium: \"H:mm:ss\",\n short: \"H:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":["buildFormatLongFn"],"mappings":";;;;AAEA,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,SAAS;AAClB,CAAC;;AAED,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,MAAM;AACf,CAAC;;AAED,MAAM,eAAe,GAAG;AACxB,EAAE,IAAI,EAAE,mBAAmB;AAC3B,EAAE,IAAI,EAAE,mBAAmB;AAC3B,EAAE,MAAM,EAAE,mBAAmB;AAC7B,EAAE,KAAK,EAAE,mBAAmB;AAC5B,CAAC;;AAEW,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAEA,mCAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,IAAI,EAAEA,mCAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,QAAQ,EAAEA,mCAAiB,CAAC;AAC9B,IAAI,OAAO,EAAE,eAAe;AAC5B,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,42 @@
1
+ import { buildFormatLongFn } from '../../_lib/buildFormatLongFn.js';
2
+
3
+ const dateFormats = {
4
+ full: "y年M月d日EEEE",
5
+ long: "y年M月d日",
6
+ medium: "y/MM/dd",
7
+ short: "y/MM/dd",
8
+ };
9
+
10
+ const timeFormats = {
11
+ full: "H時mm分ss秒 zzzz",
12
+ long: "H:mm:ss z",
13
+ medium: "H:mm:ss",
14
+ short: "H:mm",
15
+ };
16
+
17
+ const dateTimeFormats = {
18
+ full: "{{date}} {{time}}",
19
+ long: "{{date}} {{time}}",
20
+ medium: "{{date}} {{time}}",
21
+ short: "{{date}} {{time}}",
22
+ };
23
+
24
+ const formatLong = {
25
+ date: buildFormatLongFn({
26
+ formats: dateFormats,
27
+ defaultWidth: "full",
28
+ }),
29
+
30
+ time: buildFormatLongFn({
31
+ formats: timeFormats,
32
+ defaultWidth: "full",
33
+ }),
34
+
35
+ dateTime: buildFormatLongFn({
36
+ formats: dateTimeFormats,
37
+ defaultWidth: "full",
38
+ }),
39
+ };
40
+
41
+ export { formatLong };
42
+ //# sourceMappingURL=formatLong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatLong.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js"],"sourcesContent":["import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"y年M月d日EEEE\",\n long: \"y年M月d日\",\n medium: \"y/MM/dd\",\n short: \"y/MM/dd\",\n};\n\nconst timeFormats = {\n full: \"H時mm分ss秒 zzzz\",\n long: \"H:mm:ss z\",\n medium: \"H:mm:ss\",\n short: \"H:mm\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n"],"names":[],"mappings":";;AAEA,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,SAAS;AAClB,CAAC;;AAED,MAAM,WAAW,GAAG;AACpB,EAAE,IAAI,EAAE,eAAe;AACvB,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,KAAK,EAAE,MAAM;AACf,CAAC;;AAED,MAAM,eAAe,GAAG;AACxB,EAAE,IAAI,EAAE,mBAAmB;AAC3B,EAAE,IAAI,EAAE,mBAAmB;AAC3B,EAAE,MAAM,EAAE,mBAAmB;AAC7B,EAAE,KAAK,EAAE,mBAAmB;AAC5B,CAAC;;AAEW,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAE,iBAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,IAAI,EAAE,iBAAiB,CAAC;AAC1B,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;;AAEJ,EAAE,QAAQ,EAAE,iBAAiB,CAAC;AAC9B,IAAI,OAAO,EAAE,eAAe;AAC5B,IAAI,YAAY,EAAE,MAAM;AACxB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ const formatRelativeLocale = {
4
+ lastWeek: "先週のeeeeのp",
5
+ yesterday: "昨日のp",
6
+ today: "今日のp",
7
+ tomorrow: "明日のp",
8
+ nextWeek: "翌週のeeeeのp",
9
+ other: "P",
10
+ };
11
+
12
+ const formatRelative = (token, _date, _baseDate, _options) => {
13
+ return formatRelativeLocale[token];
14
+ };
15
+
16
+ exports.formatRelative = formatRelative;
17
+ //# sourceMappingURL=formatRelative.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatRelative.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"先週のeeeeのp\",\n yesterday: \"昨日のp\",\n today: \"今日のp\",\n tomorrow: \"明日のp\",\n nextWeek: \"翌週のeeeeのp\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) => {\n return formatRelativeLocale[token];\n};\n"],"names":[],"mappings":";;AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,QAAQ,EAAE,WAAW;AACvB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,QAAQ,EAAE,MAAM;AAClB,EAAE,QAAQ,EAAE,WAAW;AACvB,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,KAAK;AACrE,EAAE,OAAO,oBAAoB,CAAC,KAAK,CAAC;AACpC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,15 @@
1
+ const formatRelativeLocale = {
2
+ lastWeek: "先週のeeeeのp",
3
+ yesterday: "昨日のp",
4
+ today: "今日のp",
5
+ tomorrow: "明日のp",
6
+ nextWeek: "翌週のeeeeのp",
7
+ other: "P",
8
+ };
9
+
10
+ const formatRelative = (token, _date, _baseDate, _options) => {
11
+ return formatRelativeLocale[token];
12
+ };
13
+
14
+ export { formatRelative };
15
+ //# sourceMappingURL=formatRelative.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatRelative.js","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js"],"sourcesContent":["const formatRelativeLocale = {\n lastWeek: \"先週のeeeeのp\",\n yesterday: \"昨日のp\",\n today: \"今日のp\",\n tomorrow: \"明日のp\",\n nextWeek: \"翌週のeeeeのp\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) => {\n return formatRelativeLocale[token];\n};\n"],"names":[],"mappings":"AAAA,MAAM,oBAAoB,GAAG;AAC7B,EAAE,QAAQ,EAAE,WAAW;AACvB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,QAAQ,EAAE,MAAM;AAClB,EAAE,QAAQ,EAAE,WAAW;AACvB,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC;;AAEW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,KAAK;AACrE,EAAE,OAAO,oBAAoB,CAAC,KAAK,CAAC;AACpC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,182 @@
1
+ 'use strict';
2
+
3
+ var buildLocalizeFn = require('../../_lib/buildLocalizeFn.cjs');
4
+
5
+ const eraValues = {
6
+ narrow: ["BC", "AC"],
7
+ abbreviated: ["紀元前", "西暦"],
8
+ wide: ["紀元前", "西暦"],
9
+ };
10
+
11
+ const quarterValues = {
12
+ narrow: ["1", "2", "3", "4"],
13
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
14
+ wide: ["第1四半期", "第2四半期", "第3四半期", "第4四半期"],
15
+ };
16
+
17
+ const monthValues = {
18
+ narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
19
+
20
+ abbreviated: [
21
+ "1月",
22
+ "2月",
23
+ "3月",
24
+ "4月",
25
+ "5月",
26
+ "6月",
27
+ "7月",
28
+ "8月",
29
+ "9月",
30
+ "10月",
31
+ "11月",
32
+ "12月",
33
+ ],
34
+
35
+ wide: [
36
+ "1月",
37
+ "2月",
38
+ "3月",
39
+ "4月",
40
+ "5月",
41
+ "6月",
42
+ "7月",
43
+ "8月",
44
+ "9月",
45
+ "10月",
46
+ "11月",
47
+ "12月",
48
+ ],
49
+ };
50
+
51
+ const dayValues = {
52
+ narrow: ["日", "月", "火", "水", "木", "金", "土"],
53
+ short: ["日", "月", "火", "水", "木", "金", "土"],
54
+ abbreviated: ["日", "月", "火", "水", "木", "金", "土"],
55
+ wide: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"],
56
+ };
57
+
58
+ const dayPeriodValues = {
59
+ narrow: {
60
+ am: "午前",
61
+ pm: "午後",
62
+ midnight: "深夜",
63
+ noon: "正午",
64
+ morning: "朝",
65
+ afternoon: "午後",
66
+ evening: "夜",
67
+ night: "深夜",
68
+ },
69
+ abbreviated: {
70
+ am: "午前",
71
+ pm: "午後",
72
+ midnight: "深夜",
73
+ noon: "正午",
74
+ morning: "朝",
75
+ afternoon: "午後",
76
+ evening: "夜",
77
+ night: "深夜",
78
+ },
79
+ wide: {
80
+ am: "午前",
81
+ pm: "午後",
82
+ midnight: "深夜",
83
+ noon: "正午",
84
+ morning: "朝",
85
+ afternoon: "午後",
86
+ evening: "夜",
87
+ night: "深夜",
88
+ },
89
+ };
90
+ const formattingDayPeriodValues = {
91
+ narrow: {
92
+ am: "午前",
93
+ pm: "午後",
94
+ midnight: "深夜",
95
+ noon: "正午",
96
+ morning: "朝",
97
+ afternoon: "午後",
98
+ evening: "夜",
99
+ night: "深夜",
100
+ },
101
+ abbreviated: {
102
+ am: "午前",
103
+ pm: "午後",
104
+ midnight: "深夜",
105
+ noon: "正午",
106
+ morning: "朝",
107
+ afternoon: "午後",
108
+ evening: "夜",
109
+ night: "深夜",
110
+ },
111
+ wide: {
112
+ am: "午前",
113
+ pm: "午後",
114
+ midnight: "深夜",
115
+ noon: "正午",
116
+ morning: "朝",
117
+ afternoon: "午後",
118
+ evening: "夜",
119
+ night: "深夜",
120
+ },
121
+ };
122
+
123
+ const ordinalNumber = (dirtyNumber, options) => {
124
+ const number = Number(dirtyNumber);
125
+ const unit = String(options?.unit);
126
+
127
+ switch (unit) {
128
+ case "year":
129
+ return `${number}年`;
130
+ case "quarter":
131
+ return `第${number}四半期`;
132
+ case "month":
133
+ return `${number}月`;
134
+ case "week":
135
+ return `第${number}週`;
136
+ case "date":
137
+ return `${number}日`;
138
+ case "hour":
139
+ return `${number}時`;
140
+ case "minute":
141
+ return `${number}分`;
142
+ case "second":
143
+ return `${number}秒`;
144
+ default:
145
+ return `${number}`;
146
+ }
147
+ };
148
+
149
+ const localize = {
150
+ ordinalNumber: ordinalNumber,
151
+
152
+ era: buildLocalizeFn.buildLocalizeFn({
153
+ values: eraValues,
154
+ defaultWidth: "wide",
155
+ }),
156
+
157
+ quarter: buildLocalizeFn.buildLocalizeFn({
158
+ values: quarterValues,
159
+ defaultWidth: "wide",
160
+ argumentCallback: (quarter) => Number(quarter) - 1,
161
+ }),
162
+
163
+ month: buildLocalizeFn.buildLocalizeFn({
164
+ values: monthValues,
165
+ defaultWidth: "wide",
166
+ }),
167
+
168
+ day: buildLocalizeFn.buildLocalizeFn({
169
+ values: dayValues,
170
+ defaultWidth: "wide",
171
+ }),
172
+
173
+ dayPeriod: buildLocalizeFn.buildLocalizeFn({
174
+ values: dayPeriodValues,
175
+ defaultWidth: "wide",
176
+ formattingValues: formattingDayPeriodValues,
177
+ defaultFormattingWidth: "wide",
178
+ }),
179
+ };
180
+
181
+ exports.localize = localize;
182
+ //# sourceMappingURL=localize.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localize.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"BC\", \"AC\"],\n abbreviated: [\"紀元前\", \"西暦\"],\n wide: [\"紀元前\", \"西暦\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"第1四半期\", \"第2四半期\", \"第3四半期\", \"第4四半期\"],\n};\n\nconst monthValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n\n abbreviated: [\n \"1月\",\n \"2月\",\n \"3月\",\n \"4月\",\n \"5月\",\n \"6月\",\n \"7月\",\n \"8月\",\n \"9月\",\n \"10月\",\n \"11月\",\n \"12月\",\n ],\n\n wide: [\n \"1月\",\n \"2月\",\n \"3月\",\n \"4月\",\n \"5月\",\n \"6月\",\n \"7月\",\n \"8月\",\n \"9月\",\n \"10月\",\n \"11月\",\n \"12月\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"],\n short: [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"],\n abbreviated: [\"日\", \"月\", \"火\", \"水\", \"木\", \"金\", \"土\"],\n wide: [\"日曜日\", \"月曜日\", \"火曜日\", \"水曜日\", \"木曜日\", \"金曜日\", \"土曜日\"],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n abbreviated: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n wide: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n};\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n abbreviated: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n wide: {\n am: \"午前\",\n pm: \"午後\",\n midnight: \"深夜\",\n noon: \"正午\",\n morning: \"朝\",\n afternoon: \"午後\",\n evening: \"夜\",\n night: \"深夜\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, options) => {\n const number = Number(dirtyNumber);\n const unit = String(options?.unit);\n\n switch (unit) {\n case \"year\":\n return `${number}年`;\n case \"quarter\":\n return `第${number}四半期`;\n case \"month\":\n return `${number}月`;\n case \"week\":\n return `第${number}週`;\n case \"date\":\n return `${number}日`;\n case \"hour\":\n return `${number}時`;\n case \"minute\":\n return `${number}分`;\n case \"second\":\n return `${number}秒`;\n default:\n return `${number}`;\n }\n};\n\nexport const localize = {\n ordinalNumber: ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => Number(quarter) - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }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