@jnrs/shared 1.1.2 → 1.1.3
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.
- package/README.md +13 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/locales/en.cjs +62 -0
- package/dist/locales/en.cjs.map +1 -0
- package/dist/locales/en.d.ts +57 -0
- package/dist/locales/en.d.ts.map +1 -0
- package/dist/locales/en.js +58 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/index.cjs +26 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.ts +6 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/index.js +21 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/locales/zhCn.cjs +62 -0
- package/dist/locales/zhCn.cjs.map +1 -0
- package/dist/locales/zhCn.d.ts +57 -0
- package/dist/locales/zhCn.d.ts.map +1 -0
- package/dist/locales/zhCn.js +58 -0
- package/dist/locales/zhCn.js.map +1 -0
- package/dist/mitt.cjs +10 -0
- package/dist/mitt.cjs.map +1 -0
- package/dist/mitt.d.ts +3 -0
- package/dist/mitt.d.ts.map +1 -0
- package/dist/mitt.js +6 -0
- package/dist/mitt.js.map +1 -0
- package/dist/styles/theme.scss +52 -0
- package/dist/types/base.d.ts +39 -0
- package/dist/types/base.d.ts.map +1 -0
- package/dist/utils/date.cjs +6 -17
- package/dist/utils/date.cjs.map +1 -1
- package/dist/utils/date.d.ts +3 -9
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/date.js +6 -17
- package/dist/utils/date.js.map +1 -1
- package/dist/utils/dict.cjs +66 -0
- package/dist/utils/dict.cjs.map +1 -0
- package/dist/utils/dict.d.ts +40 -0
- package/dist/utils/dict.d.ts.map +1 -0
- package/dist/utils/dict.js +61 -0
- package/dist/utils/dict.js.map +1 -0
- package/dist/utils/fullscreen.cjs +4 -2
- package/dist/utils/fullscreen.cjs.map +1 -1
- package/dist/utils/fullscreen.d.ts.map +1 -1
- package/dist/utils/fullscreen.js +4 -2
- package/dist/utils/fullscreen.js.map +1 -1
- package/dist/utils/validate.cjs.map +1 -0
- package/dist/utils/validate.d.ts.map +1 -0
- package/dist/utils/validate.js.map +1 -0
- package/dist/utils/validator.cjs +174 -0
- package/dist/utils/validator.cjs.map +1 -0
- package/dist/{validator.d.ts → utils/validator.d.ts} +2 -2
- package/dist/utils/validator.d.ts.map +1 -0
- package/dist/utils/validator.js +129 -0
- package/dist/utils/validator.js.map +1 -0
- package/package.json +20 -10
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs +0 -201
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js +0 -199
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js +0 -43
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs +0 -196
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js +0 -194
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs +0 -139
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js +0 -137
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/de.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -104
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -28
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs +0 -169
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js +0 -167
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs +0 -143
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js +0 -141
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/es.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs +0 -105
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +0 -103
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs +0 -170
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +0 -168
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs +0 -138
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +0 -136
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +0 -29
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs +0 -120
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js +0 -118
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs +0 -17
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js +0 -15
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs +0 -182
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js +0 -180
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs +0 -123
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js +0 -121
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js +0 -32
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js +0 -104
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs +0 -16
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js +0 -14
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs +0 -172
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js +0 -170
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs +0 -120
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js +0 -118
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ko.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs +0 -251
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js +0 -249
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatDistance.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs +0 -41
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js +0 -39
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatLong.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs +0 -93
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js +0 -91
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/formatRelative.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs +0 -215
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js +0 -213
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/localize.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs +0 -143
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js +0 -141
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru/_lib/match.js.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.cjs.map +0 -1
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js +0 -29
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ru.js.map +0 -1
- package/dist/validate.cjs.map +0 -1
- package/dist/validate.d.ts.map +0 -1
- package/dist/validate.js.map +0 -1
- package/dist/validator.cjs +0 -173
- package/dist/validator.cjs.map +0 -1
- package/dist/validator.d.ts.map +0 -1
- package/dist/validator.js +0 -128
- package/dist/validator.js.map +0 -1
- /package/dist/{validate.cjs → utils/validate.cjs} +0 -0
- /package/dist/{validate.d.ts → utils/validate.d.ts} +0 -0
- /package/dist/{validate.js → utils/validate.js} +0 -0
|
@@ -1,120 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;AACf,IAAI,KAAK,EA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C,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]}
|
|
@@ -1,118 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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 + \"後\";\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;;AAEp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package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.cjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/formatLong.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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]}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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]}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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]}
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
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
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/ja/_lib/localize.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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 }),\n};\n"],"names":["buildLocalizeFn"],"mappings":";;;;AAEA,MAAM,SAAS,GAAG;AAClB,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;AACtB,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;AAC5B,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;AACrB,CAAC;;AAED,MAAM,aAAa,GAAG;AACtB,EAAE,MAAM,EA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