PromoCursed/node_modules/.cache/babel-loader/1aaa0f1fcc20619200d5d663f0a2a94b93dd4edf5123a319c1243d9dbb695149.json

1 line
10 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"!function (n, e) {\n \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = e() : \"function\" == typeof define && define.amd ? define(e) : (n = \"undefined\" != typeof globalThis ? globalThis : n || self).dayjs_plugin_localeData = e();\n}(this, function () {\n \"use strict\";\n\n return function (n, e, t) {\n var r = e.prototype,\n o = function (n) {\n return n && (n.indexOf ? n : n.s);\n },\n u = function (n, e, t, r, u) {\n var i = n.name ? n : n.$locale(),\n a = o(i[e]),\n s = o(i[t]),\n f = a || s.map(function (n) {\n return n.slice(0, r);\n });\n if (!u) return f;\n var d = i.weekStart;\n return f.map(function (n, e) {\n return f[(e + (d || 0)) % 7];\n });\n },\n i = function () {\n return t.Ls[t.locale()];\n },\n a = function (n, e) {\n return n.formats[e] || function (n) {\n return n.replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g, function (n, e, t) {\n return e || t.slice(1);\n });\n }(n.formats[e.toUpperCase()]);\n },\n s = function () {\n var n = this;\n return {\n months: function (e) {\n return e ? e.format(\"MMMM\") : u(n, \"months\");\n },\n monthsShort: function (e) {\n return e ? e.format(\"MMM\") : u(n, \"monthsShort\", \"months\", 3);\n },\n firstDayOfWeek: function () {\n return n.$locale().weekStart || 0;\n },\n weekdays: function (e) {\n return e ? e.format(\"dddd\") : u(n, \"weekdays\");\n },\n weekdaysMin: function (e) {\n return e ? e.format(\"dd\") : u(n, \"weekdaysMin\", \"weekdays\", 2);\n },\n weekdaysShort: function (e) {\n return e ? e.format(\"ddd\") : u(n, \"weekdaysShort\", \"weekdays\", 3);\n },\n longDateFormat: function (e) {\n return a(n.$locale(), e);\n },\n meridiem: this.$locale().meridiem,\n ordinal: this.$locale().ordinal\n };\n };\n r.localeData = function () {\n return s.bind(this)();\n }, t.localeData = function () {\n var n = i();\n return {\n firstDayOfWeek: function () {\n return n.weekStart || 0;\n },\n weekdays: function () {\n return t.weekdays();\n },\n weekdaysShort: function () {\n return t.weekdaysShort();\n },\n weekdaysMin: function () {\n return t.weekdaysMin();\n },\n months: function () {\n return t.months();\n },\n monthsShort: function () {\n return t.monthsShort();\n },\n longDateFormat: function (e) {\n return a(n, e);\n },\n meridiem: n.meridiem,\n ordinal: n.ordinal\n };\n }, t.months = function () {\n return u(i(), \"months\");\n }, t.monthsShort = function () {\n return u(i(), \"monthsShort\", \"months\", 3);\n }, t.weekdays = function (n) {\n return u(i(), \"weekdays\", null, null, n);\n }, t.weekdaysShort = function (n) {\n return u(i(), \"weekdaysShort\", \"weekdays\", 3, n);\n }, t.weekdaysMin = function (n) {\n return u(i(), \"weekdaysMin\", \"weekdays\", 2, n);\n };\n };\n});","map":{"version":3,"names":["n","e","exports","module","define","amd","globalThis","self","dayjs_plugin_localeData","t","r","prototype","o","indexOf","s","u","i","name","$locale","a","f","map","slice","d","weekStart","Ls","locale","formats","replace","toUpperCase","months","format","monthsShort","firstDayOfWeek","weekdays","weekdaysMin","weekdaysShort","longDateFormat","meridiem","ordinal","localeData","bind"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/dayjs/plugin/localeData.js"],"sourcesContent":["!function(n,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&defin