Files
2026-06-10 12:14:46 -03:00

2 lines
17 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(()=>{function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]==null?{}:arguments[r];r%2?e(Object(i),!0).forEach(function(e){n(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function n(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=i(e,`string`);return d(t)==`symbol`?t:t+``}function i(e,t){if(d(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(d(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function a(e,t){return u(e)||l(e,t)||s(e,t)||o()}function o(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(e,t){if(e){if(typeof e==`string`)return c(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function u(e){if(Array.isArray(e))return e}function d(e){"@babel/helpers - typeof";return d=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},d(e)}function f(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace(`{{count}}`,String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace(`{{count}}`,String(t)):e.pluralGenitive.replace(`{{count}}`,String(t))}function p(e){return function(t,n){return n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?f(e.future,t):`праз `+f(e.regular,t):e.past?f(e.past,t):f(e.regular,t)+` таму`:f(e.regular,t)}}var m={lessThanXSeconds:p({regular:{one:`менш за секунду`,singularNominative:`менш за {{count}} секунду`,singularGenitive:`менш за {{count}} секунды`,pluralGenitive:`менш за {{count}} секунд`},future:{one:`менш, чым праз секунду`,singularNominative:`менш, чым праз {{count}} секунду`,singularGenitive:`менш, чым праз {{count}} секунды`,pluralGenitive:`менш, чым праз {{count}} секунд`}}),xSeconds:p({regular:{singularNominative:`{{count}} секунда`,singularGenitive:`{{count}} секунды`,pluralGenitive:`{{count}} секунд`},past:{singularNominative:`{{count}} секунду таму`,singularGenitive:`{{count}} секунды таму`,pluralGenitive:`{{count}} секунд таму`},future:{singularNominative:`праз {{count}} секунду`,singularGenitive:`праз {{count}} секунды`,pluralGenitive:`праз {{count}} секунд`}}),halfAMinute:function(e,t){return t&&t.addSuffix?t.comparison&&t.comparison>0?`праз паўхвіліны`:`паўхвіліны таму`:`паўхвіліны`},lessThanXMinutes:p({regular:{one:`менш за хвіліну`,singularNominative:`менш за {{count}} хвіліну`,singularGenitive:`менш за {{count}} хвіліны`,pluralGenitive:`менш за {{count}} хвілін`},future:{one:`менш, чым праз хвіліну`,singularNominative:`менш, чым праз {{count}} хвіліну`,singularGenitive:`менш, чым праз {{count}} хвіліны`,pluralGenitive:`менш, чым праз {{count}} хвілін`}}),xMinutes:p({regular:{singularNominative:`{{count}} хвіліна`,singularGenitive:`{{count}} хвіліны`,pluralGenitive:`{{count}} хвілін`},past:{singularNominative:`{{count}} хвіліну таму`,singularGenitive:`{{count}} хвіліны таму`,pluralGenitive:`{{count}} хвілін таму`},future:{singularNominative:`праз {{count}} хвіліну`,singularGenitive:`праз {{count}} хвіліны`,pluralGenitive:`праз {{count}} хвілін`}}),aboutXHours:p({regular:{singularNominative:`каля {{count}} гадзіны`,singularGenitive:`каля {{count}} гадзін`,pluralGenitive:`каля {{count}} гадзін`},future:{singularNominative:`прыблізна праз {{count}} гадзіну`,singularGenitive:`прыблізна праз {{count}} гадзіны`,pluralGenitive:`прыблізна праз {{count}} гадзін`}}),xHours:p({regular:{singularNominative:`{{count}} гадзіна`,singularGenitive:`{{count}} гадзіны`,pluralGenitive:`{{count}} гадзін`},past:{singularNominative:`{{count}} гадзіну таму`,singularGenitive:`{{count}} гадзіны таму`,pluralGenitive:`{{count}} гадзін таму`},future:{singularNominative:`праз {{count}} гадзіну`,singularGenitive:`праз {{count}} гадзіны`,pluralGenitive:`праз {{count}} гадзін`}}),xDays:p({regular:{singularNominative:`{{count}} дзень`,singularGenitive:`{{count}} дні`,pluralGenitive:`{{count}} дзён`}}),aboutXWeeks:p({regular:{singularNominative:`каля {{count}} тыдні`,singularGenitive:`каля {{count}} тыдняў`,pluralGenitive:`каля {{count}} тыдняў`},future:{singularNominative:`прыблізна праз {{count}} тыдзень`,singularGenitive:`прыблізна праз {{count}} тыдні`,pluralGenitive:`прыблізна праз {{count}} тыдняў`}}),xWeeks:p({regular:{singularNominative:`{{count}} тыдзень`,singularGenitive:`{{count}} тыдні`,pluralGenitive:`{{count}} тыдняў`}}),aboutXMonths:p({regular:{singularNominative:`каля {{count}} месяца`,singularGenitive:`каля {{count}} месяцаў`,pluralGenitive:`каля {{count}} месяцаў`},future:{singularNominative:`прыблізна праз {{count}} месяц`,singularGenitive:`прыблізна праз {{count}} месяцы`,pluralGenitive:`прыблізна праз {{count}} месяцаў`}}),xMonths:p({regular:{singularNominative:`{{count}} месяц`,singularGenitive:`{{count}} месяцы`,pluralGenitive:`{{count}} месяцаў`}}),aboutXYears:p({regular:{singularNominative:`каля {{count}} года`,singularGenitive:`каля {{count}} гадоў`,pluralGenitive:`каля {{count}} гадоў`},future:{singularNominative:`прыблізна праз {{count}} год`,singularGenitive:`прыблізна праз {{count}} гады`,pluralGenitive:`прыблізна праз {{count}} гадоў`}}),xYears:p({regular:{singularNominative:`{{count}} год`,singularGenitive:`{{count}} гады`,pluralGenitive:`{{count}} гадоў`}}),overXYears:p({regular:{singularNominative:`больш за {{count}} год`,singularGenitive:`больш за {{count}} гады`,pluralGenitive:`больш за {{count}} гадоў`},future:{singularNominative:`больш, чым праз {{count}} год`,singularGenitive:`больш, чым праз {{count}} гады`,pluralGenitive:`больш, чым праз {{count}} гадоў`}}),almostXYears:p({regular:{singularNominative:`амаль {{count}} год`,singularGenitive:`амаль {{count}} гады`,pluralGenitive:`амаль {{count}} гадоў`},future:{singularNominative:`амаль праз {{count}} год`,singularGenitive:`амаль праз {{count}} гады`,pluralGenitive:`амаль праз {{count}} гадоў`}})},h=function(e,t,n){return n||={},m[e](t,n)};function g(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var _={date:g({formats:{full:`EEEE, d MMMM y 'г.'`,long:`d MMMM y 'г.'`,medium:`d MMM y 'г.'`,short:`dd.MM.y`},defaultWidth:`full`}),time:g({formats:{full:`H:mm:ss zzzz`,long:`H:mm:ss z`,medium:`H:mm:ss`,short:`H:mm`},defaultWidth:`full`}),dateTime:g({formats:{any:`{{date}}, {{time}}`},defaultWidth:`any`})},v=Symbol.for(`constructDateFrom`);function y(e,t){return typeof e==`function`?e(t):e&&d(e)===`object`&&v in e?e[v](t):e instanceof Date?new e.constructor(t):new Date(t)}function b(e){var t=[...arguments].slice(1),n=y.bind(null,e||t.find(function(e){return d(e)===`object`}));return t.map(n)}var x={};function S(){return x}function C(e,t){return y(t||e,e)}function w(e,t){var n,r,i=S(),a=t?.weekStartsOn??(t==null||(n=t.locale)==null||(n=n.options)==null?void 0:n.weekStartsOn)??i.weekStartsOn??((r=i.locale)==null||(r=r.options)==null?void 0:r.weekStartsOn)??0,o=C(e,t?.in),s=o.getDay(),c=(s<a?7:0)+s-a;return o.setDate(o.getDate()-c),o.setHours(0,0,0,0),o}function T(e,t,n){var r=a(b(n?.in,e,t),2),i=r[0],o=r[1];return+w(i,n)==+w(o,n)}var E=[`нядзелю`,`панядзелак`,`аўторак`,`сераду`,`чацвер`,`пятніцу`,`суботу`];function D(e){var t=E[e];switch(e){case 0:case 3:case 5:case 6:return`'у мінулую `+t+` а' p`;case 1:case 2:case 4:return`'у мінулы `+t+` а' p`}}function O(e){return`'у `+E[e]+` а' p`}function k(e){var t=E[e];switch(e){case 0:case 3:case 5:case 6:return`'у наступную `+t+` а' p`;case 1:case 2:case 4:return`'у наступны `+t+` а' p`}}var A={lastWeek:function(e,t,n){var r=C(e),i=r.getDay();return T(r,t,n)?O(i):D(i)},yesterday:`'учора а' p`,today:`'сёння а' p`,tomorrow:`'заўтра а' p`,nextWeek:function(e,t,n){var r=C(e),i=r.getDay();return T(r,t,n)?O(i):k(i)},other:`P`},j=function(e,t,n,r){var i=A[e];return typeof i==`function`?i(t,n,r):i};function M(e){return function(t,n){var r=n!=null&&n.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var N={ordinalNumber:function(e,t){var n=String(t?.unit),r=Number(e);return r+(n===`date`?`-га`:n===`hour`||n===`minute`||n===`second`?``:(r%10==2||r%10==3)&&r%100!=12&&r%100!=13?`-і`:``)},era:M({values:{narrow:[`да н.э.`,`н.э.`],abbreviated:[`да н. э.`,`н. э.`],wide:[`да нашай эры`,`нашай эры`]},defaultWidth:`wide`}),quarter:M({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`1-ы кв.`,`2-і кв.`,`3-і кв.`,`4-ы кв.`],wide:[`1-ы квартал`,`2-і квартал`,`3-і квартал`,`4-ы квартал`]},defaultWidth:`wide`,argumentCallback:function(e){return e-1}}),month:M({values:{narrow:[`С`,`Л`,`С`,`К`,`М`,`Ч`,`Л`,`Ж`,`В`,`К`,`Л`,`С`],abbreviated:[`студз.`,`лют.`,`сак.`,`крас.`,`май`,`чэрв.`,`ліп.`,`жн.`,`вер.`,`кастр.`,`ліст.`,`снеж.`],wide:[`студзень`,`люты`,`сакавік`,`красавік`,`май`,`чэрвень`,`ліпень`,`жнівень`,`верасень`,`кастрычнік`,`лістапад`,`снежань`]},defaultWidth:`wide`,formattingValues:{narrow:[`С`,`Л`,`С`,`К`,`М`,`Ч`,`Л`,`Ж`,`В`,`К`,`Л`,`С`],abbreviated:[`студз.`,`лют.`,`сак.`,`крас.`,`мая`,`чэрв.`,`ліп.`,`жн.`,`вер.`,`кастр.`,`ліст.`,`снеж.`],wide:[`студзеня`,`лютага`,`сакавіка`,`красавіка`,`мая`,`чэрвеня`,`ліпеня`,`жніўня`,`верасня`,`кастрычніка`,`лістапада`,`снежня`]},defaultFormattingWidth:`wide`}),day:M({values:{narrow:[`Н`,`П`,`А`,`С`,`Ч`,`П`,`С`],short:[`нд`,`пн`,`аў`,`ср`,`чц`,`пт`,`сб`],abbreviated:[`нядз`,`пан`,`аўт`,`сер`,`чац`,`пят`,`суб`],wide:[`нядзеля`,`панядзелак`,`аўторак`,`серада`,`чацвер`,`пятніца`,`субота`]},defaultWidth:`wide`}),dayPeriod:M({values:{narrow:{am:`ДП`,pm:`ПП`,midnight:`поўн.`,noon:`поўд.`,morning:`ран.`,afternoon:`дзень`,evening:`веч.`,night:`ноч`},abbreviated:{am:`ДП`,pm:`ПП`,midnight:`поўн.`,noon:`поўд.`,morning:`ран.`,afternoon:`дзень`,evening:`веч.`,night:`ноч`},wide:{am:`ДП`,pm:`ПП`,midnight:`поўнач`,noon:`поўдзень`,morning:`раніца`,afternoon:`дзень`,evening:`вечар`,night:`ноч`}},defaultWidth:`any`,formattingValues:{narrow:{am:`ДП`,pm:`ПП`,midnight:`поўн.`,noon:`поўд.`,morning:`ран.`,afternoon:`дня`,evening:`веч.`,night:`ночы`},abbreviated:{am:`ДП`,pm:`ПП`,midnight:`поўн.`,noon:`поўд.`,morning:`ран.`,afternoon:`дня`,evening:`веч.`,night:`ночы`},wide:{am:`ДП`,pm:`ПП`,midnight:`поўнач`,noon:`поўдзень`,morning:`раніцы`,afternoon:`дня`,evening:`вечара`,night:`ночы`}},defaultFormattingWidth:`wide`})};function P(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?I(s,function(e){return e.test(o)}):F(s,function(e){return e.test(o)}),l=e.valueCallback?e.valueCallback(c):c;l=n.valueCallback?n.valueCallback(l):l;var u=t.slice(o.length);return{value:l,rest:u}}}function F(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function I(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function L(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var R={code:`be`,formatDistance:h,formatLong:_,formatRelative:j,localize:N,match:{ordinalNumber:L({matchPattern:/^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:P({matchPatterns:{narrow:/^((да )?н\.?\s?э\.?)/i,abbreviated:/^((да )?н\.?\s?э\.?)/i,wide:/^(да нашай эры|нашай эры|наша эра)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:`any`}),quarter:P({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыі]?)? кв.?/i,wide:/^[1234](-?[ыі]?)? квартал/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:function(e){return e+1}}),month:P({matchPatterns:{narrow:/^[слкмчжв]/i,abbreviated:/^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,wide:/^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^с/i,/^л/i,/^с/i,/^к/i,/^м/i,/^ч/i,/^л/i,/^ж/i,/^в/i,/^к/i,/^л/i,/^с/i],any:[/^ст/i,/^лю/i,/^са/i,/^кр/i,/^ма/i,/^ч/i,/^ліп/i,/^ж/i,/^в/i,/^ка/i,/^ліс/i,/^сн/i]},defaultParseWidth:`any`}),day:P({matchPatterns:{narrow:/^[нпасч]/i,short:/^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,abbreviated:/^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,wide:/^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^н/i,/^п/i,/^а/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[ан]/i,/^а/i,/^с[ер]/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:`any`}),dayPeriod:P({matchPatterns:{narrow:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,abbreviated:/^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,wide:/^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i},defaultMatchWidth:`wide`,parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^поўн/i,noon:/^поўд/i,morning:/^р/i,afternoon:/^д[зн]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:1}};window.dateFns=t(t({},window.dateFns),{},{locale:t(t({},window.dateFns?.locale),{},{be:R})}),console.log(`date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN`)})();