@alphakits/ui 1.23.3 → 1.23.4
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/dist/{ActionCopyM-15328f8a.js → ActionCopyM-975b5d18.js} +1 -1
- package/dist/{ChevronBackM-9c7d229d.js → ChevronBackM-55567067.js} +1 -1
- package/dist/{ChevronDownS-37f0c89c.js → ChevronDownS-c96c0a89.js} +1 -1
- package/dist/{ChevronForwardS-fa69aadc.js → ChevronForwardS-9f76b07c.js} +1 -1
- package/dist/{CloseS-23b5048c.js → CloseS-175cb45e.js} +1 -1
- package/dist/{NextS-f0d1b91f.js → NextS-d480f585.js} +1 -1
- package/dist/{PlusS-96117823.js → PlusS-4c165365.js} +1 -1
- package/dist/{SearchM-6ecef1f3.js → SearchM-484175f2.js} +1 -1
- package/dist/{TrashM-bed66e01.js → TrashM-a70d63c8.js} +1 -1
- package/dist/amount/component.js +1 -1
- package/dist/amount/index.js +1 -1
- package/dist/amount-input/component.d.ts +2 -2
- package/dist/amount-input/component.js +1 -1
- package/dist/amount-input/index.js +1 -1
- package/dist/avatar/component.js +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/base-card/component.js +1 -1
- package/dist/base-card/index.js +1 -1
- package/dist/bottom-sheet/component.js +1 -1
- package/dist/bottom-sheet/index.js +1 -1
- package/dist/button/component.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/calendar/component.js +1 -1
- package/dist/calendar/components/days-table/component.js +1 -1
- package/dist/calendar/components/days-table/index.js +1 -1
- package/dist/calendar/components/header/index.js +1 -1
- package/dist/calendar/components/header//321/201omponent.js +1 -1
- package/dist/calendar/components/months-table/index.js +1 -1
- package/dist/calendar/components/months-table//321/201omponent.js +1 -1
- package/dist/calendar/components/select-button/index.js +1 -1
- package/dist/calendar/components/select-button//321/201omponent.js +1 -1
- package/dist/calendar/components/years-table/index.js +1 -1
- package/dist/calendar/components/years-table//321/201omponent.js +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/calendar/use-calendar.js +1 -1
- package/dist/calendar/use-period.js +1 -1
- package/dist/calendar/utils.js +1 -1
- package/dist/calendar-input/component.js +1 -1
- package/dist/calendar-input/index.js +1 -1
- package/dist/calendar-input/utils.js +1 -1
- package/dist/card/component.js +1 -1
- package/dist/card/images/index.js +1 -1
- package/dist/card/index.js +1 -1
- package/dist/cell/base/component.js +1 -1
- package/dist/cell/base/index.d.ts +1 -1
- package/dist/cell/base/index.js +1 -1
- package/dist/cell/component.js +1 -1
- package/dist/cell/index.js +1 -1
- package/dist/cell/pure/component.js +1 -1
- package/dist/cell/pure/index.js +1 -1
- package/dist/checkbox/component.js +1 -1
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox-group/component.js +1 -1
- package/dist/checkbox-group/index.js +1 -1
- package/dist/checkbox-lists/component.js +1 -1
- package/dist/checkbox-lists/index.js +1 -1
- package/dist/collapsable-row/addons.js +1 -1
- package/dist/collapsable-row/component.js +1 -1
- package/dist/collapsable-row/index.js +1 -1
- package/dist/collapse/component.js +1 -1
- package/dist/collapse/index.js +1 -1
- package/dist/{component-36e17053.js → component-4155675b.js} +1 -1
- package/dist/copy-button/component.js +1 -1
- package/dist/copy-button/index.js +1 -1
- package/dist/date/component.js +1 -1
- package/dist/date/index.js +1 -1
- package/dist/date-functions.js +1 -1
- package/dist/date-switcher/component.js +1 -1
- package/dist/date-switcher/index.js +1 -1
- package/dist/footer/component.js +1 -1
- package/dist/footer/contact-block.js +1 -1
- package/dist/footer/index.js +1 -1
- package/dist/form/component.js +1 -1
- package/dist/form/components/form-footer/index.js +1 -1
- package/dist/form/components/form-loading/index.js +1 -1
- package/dist/form/components/form-wrapper/index.js +1 -1
- package/dist/form/components/index.d.ts +1 -1
- package/dist/form/components/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/templates/filters-form/index.js +1 -1
- package/dist/form/templates/rest-form/form.js +1 -1
- package/dist/form/templates/rest-form/index.js +1 -1
- package/dist/form/utils/get-default-values.js +1 -1
- package/dist/form-control/component.js +1 -1
- package/dist/form-control/index.js +1 -1
- package/dist/grid/col/component.js +1 -1
- package/dist/grid/col/index.js +1 -1
- package/dist/grid/component.js +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/grid/row/component.js +1 -1
- package/dist/grid/row/index.js +1 -1
- package/dist/header-search/component.js +1 -1
- package/dist/header-search/index.js +1 -1
- package/dist/heading/component.js +1 -1
- package/dist/heading/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-crud-form-requests/index.js +1 -1
- package/dist/hooks/use-get-one/index.js +1 -1
- package/dist/icon-button/component.js +1 -1
- package/dist/icon-button/index.js +1 -1
- package/dist/image/component.js +1 -1
- package/dist/image/constants.js +1 -1
- package/dist/image/image-base.js +1 -1
- package/dist/image/index.js +1 -1
- package/dist/image/use-image-render-component.js +1 -1
- package/dist/image/utils.js +1 -1
- package/dist/image-gallery/component.js +1 -1
- package/dist/image-gallery/components/header/index.js +1 -1
- package/dist/image-gallery/components/header-info-block/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/slide.js +1 -1
- package/dist/image-gallery/components/index.js +1 -1
- package/dist/image-gallery/index.js +1 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/{index-089617ac.js → index-13c267a0.js} +1 -1
- package/dist/index-1d84410d.js +1 -0
- package/dist/{index-7f591184.js → index-2c80ff31.js} +1 -1
- package/dist/index-3af71bf3.js +1 -0
- package/dist/{index-9ca78405.js → index-45585523.js} +1 -1
- package/dist/{index-0d346cbb.js → index-5a84d92a.js} +1 -1
- package/dist/{index-88eee402.js → index-5ae8bb7c.js} +1 -1
- package/dist/{index-0c3cc98b.js → index-654b802b.js} +1 -1
- package/dist/index-72d92782.js +1 -0
- package/dist/{index-aa8863b7.js → index-7358b4b7.js} +1 -1
- package/dist/index-74344cb7.js +1 -0
- package/dist/{index-58604324.js → index-8f970111.js} +1 -1
- package/dist/{index-dcc67c26.js → index-99bf00d7.js} +1 -1
- package/dist/{index-2ef0b9e8.js → index-aaedccb5.js} +1 -1
- package/dist/{index-37314f75.js → index-c247ab24.js} +1 -1
- package/dist/{index-3e32da50.js → index-c7e9d416.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/info-block-header/component.js +1 -1
- package/dist/info-block-header/index.js +1 -1
- package/dist/info-block-item/component.js +1 -1
- package/dist/info-block-item/index.js +1 -1
- package/dist/input/component.js +1 -1
- package/dist/input/index.js +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
- package/dist/input-autocomplete/component.js +1 -1
- package/dist/input-autocomplete/index.js +1 -1
- package/dist/input-ghost/component.js +1 -1
- package/dist/input-ghost/index.js +1 -1
- package/dist/link/component.js +1 -1
- package/dist/link/index.js +1 -1
- package/dist/list-allert/component.js +1 -1
- package/dist/list-allert/index.js +1 -1
- package/dist/masked-input/component.js +1 -1
- package/dist/masked-input/index.js +1 -1
- package/dist/menu/component.js +1 -1
- package/dist/menu/components/content-header/index.js +1 -1
- package/dist/menu/components/index.js +1 -1
- package/dist/menu/components/menu-avatar/index.js +1 -1
- package/dist/menu/components/menu-back-button/index.js +1 -1
- package/dist/menu/components/menu-button/index.js +1 -1
- package/dist/menu/components/menu-buttons-list/index.js +1 -1
- package/dist/menu/components/user-button/index.js +1 -1
- package/dist/menu/index.js +1 -1
- package/dist/message/component.js +1 -1
- package/dist/message/index.js +1 -1
- package/dist/modal/components/modals/index.js +1 -1
- package/dist/modal/components/modals/modal.js +1 -1
- package/dist/modal/context.js +1 -1
- package/dist/modal/hooks/use-modal.js +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/modal/utils/delete-property-by-id.js +1 -1
- package/dist/not-found/component.js +1 -1
- package/dist/not-found/index.js +1 -1
- package/dist/notification/component.js +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/{parse-query-params-c9e273d3.js → parse-query-params-899f22e3.js} +1 -1
- package/dist/picker-button/common/index.js +1 -1
- package/dist/picker-button/common/labeled-button/index.js +1 -1
- package/dist/picker-button/component.js +1 -1
- package/dist/picker-button/field/Component.js +1 -1
- package/dist/picker-button/field/index.js +1 -1
- package/dist/picker-button/index.js +1 -1
- package/dist/popover/component.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/progress-bar/component.js +1 -1
- package/dist/progress-bar/index.js +1 -1
- package/dist/progress-index/component.js +1 -1
- package/dist/progress-index/index.js +1 -1
- package/dist/radio/component.js +1 -1
- package/dist/radio/index.js +1 -1
- package/dist/radio-group/component.js +1 -1
- package/dist/radio-group/index.js +1 -1
- package/dist/radio-groups/component.js +1 -1
- package/dist/radio-groups/index.js +1 -1
- package/dist/select/component.js +1 -1
- package/dist/select/components/base-select/component.js +1 -1
- package/dist/select/components/base-select/index.js +1 -1
- package/dist/select/components/field/component.js +1 -1
- package/dist/select/components/field/index.js +1 -1
- package/dist/select/components/index.js +1 -1
- package/dist/select/components/native-select/component.js +1 -1
- package/dist/select/components/native-select/index.js +1 -1
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/option/index.js +1 -1
- package/dist/select/components/options-list/component.js +1 -1
- package/dist/select/components/options-list/index.js +1 -1
- package/dist/select/components/virtual-options-list/component.js +1 -1
- package/dist/select/components/virtual-options-list/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select/presets/index.js +1 -1
- package/dist/select/presets/use-lazy-loading/index.js +1 -1
- package/dist/select/presets/use-select-with-loading/hook.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/space/Item.js +1 -1
- package/dist/space/component.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/suffix-input/component.d.ts +4 -4
- package/dist/suffix-input/component.js +1 -1
- package/dist/suffix-input/index.js +1 -1
- package/dist/super-list-header/component.js +1 -1
- package/dist/super-list-header/index.js +1 -1
- package/dist/super-list-item/component.js +1 -1
- package/dist/super-list-item/index.js +1 -1
- package/dist/switch/component.js +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/columns.js +1 -1
- package/dist/table/component.js +1 -1
- package/dist/table/components/cell/component.js +1 -1
- package/dist/table/components/cell/index.js +1 -1
- package/dist/table/components/cells/index.js +1 -1
- package/dist/table/components/empty-list/index.js +1 -1
- package/dist/table/components/error/index.js +1 -1
- package/dist/table/components/loading/index.js +1 -1
- package/dist/table/components/pagination/index.js +1 -1
- package/dist/table/components/table-header/index.js +1 -1
- package/dist/table/hooks/use-table-data.js +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/utils/add-query-param.js +1 -1
- package/dist/table/utils/get-query-from-url.js +1 -1
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/table/utils/parse-query-params.js +1 -1
- package/dist/table/utils/prepare-rows.js +1 -1
- package/dist/table/utils/query-adapter.js +1 -1
- package/dist/table/utils/remove-query-param.js +1 -1
- package/dist/table/utils/reset-query-param.js +1 -1
- package/dist/table-status/component.js +1 -1
- package/dist/table-status/index.js +1 -1
- package/dist/tag/component.js +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/tags-list/component.js +1 -1
- package/dist/tags-list/index.js +1 -1
- package/dist/tariff-builder/component.js +1 -1
- package/dist/tariff-builder/index.js +1 -1
- package/dist/textarea/component.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/toast/component.js +1 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast-notifier/component.js +1 -1
- package/dist/toast-notifier/index.js +1 -1
- package/dist/toast-plate/component.js +1 -1
- package/dist/toast-plate/index.js +1 -1
- package/dist/tooltip/component.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/typography/component.js +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text/component.js +1 -1
- package/dist/typography/text/index.js +1 -1
- package/dist/typography/title/component.js +1 -1
- package/dist/typography/title/index.js +1 -1
- package/dist/typography/title-responsive/component.js +1 -1
- package/dist/typography/title-responsive/index.js +1 -1
- package/dist/{use-image-render-component-73dace91.js → use-image-render-component-5e39f592.js} +1 -1
- package/dist/utils/format-date/index.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/show-toast/index.js +1 -1
- package/dist/with-suffix/component.js +1 -1
- package/dist/with-suffix/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-02014072.js +0 -1
- package/dist/index-23effb59.js +0 -1
- package/dist/index-709d0751.js +0 -1
- package/dist/index-f053f67c.js +0 -1
- /package/dist/{_commonjsHelpers-bfadea47.js → _commonjsHelpers-1e872f7c.js} +0 -0
- /package/dist/{_tslib-531dfe1b-554e0eca.js → _tslib-531dfe1b-d5312c9f.js} +0 -0
- /package/dist/{colors.module-bacabcc7.js → colors.module-2b89feb9.js} +0 -0
- /package/dist/{common.module-dc752649.js → common.module-d733e757.js} +0 -0
- /package/dist/{component-36e17053.d.ts → component-4155675b.d.ts} +0 -0
- /package/dist/{component-84f4f00a.d.ts → component-e7905309.d.ts} +0 -0
- /package/dist/{component-84f4f00a.js → component-e7905309.js} +0 -0
- /package/dist/{contact-block-615aaa16.d.ts → contact-block-dbabe068.d.ts} +0 -0
- /package/dist/{contact-block-615aaa16.js → contact-block-dbabe068.js} +0 -0
- /package/dist/{gutters.module-43c715e9.js → gutters.module-d5c8a394.js} +0 -0
- /package/dist/{index-43b952a8.js → index-2b1df0ee.js} +0 -0
- /package/dist/{index-4295ceb3.js → index-708c40c0.js} +0 -0
- /package/dist/{index-aa8863b7.d.ts → index-7358b4b7.d.ts} +0 -0
- /package/dist/{intersection-observer-e0a51fe5.js → intersection-observer-74af8d05.js} +0 -0
- /package/dist/{parse-query-params-c9e273d3.d.ts → parse-query-params-899f22e3.d.ts} +0 -0
- /package/dist/{slide-19ffb151.d.ts → slide-ef3f7a4b.d.ts} +0 -0
- /package/dist/{slide-19ffb151.js → slide-ef3f7a4b.js} +0 -0
- /package/dist/{tslib.es6-ee1c75de.js → tslib.es6-b38f5082.js} +0 -0
- /package/dist/{use-image-render-component-73dace91.d.ts → use-image-render-component-5e39f592.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,t as e}from"./index-
|
|
1
|
+
import{r as t,t as e}from"./index-708c40c0.js";import{t as r,g as n}from"./index-5ae8bb7c.js";import{b as o}from"./index-45585523.js";function a(r,n){var o;t(1,arguments);var a=r||{},u=e(a.start),i=e(a.end).getTime();if(!(u.getTime()<=i))throw new RangeError("Invalid interval");var l=[],s=u;s.setHours(0,0,0,0);var f=Number(null!==(o=null==n?void 0:n.step)&&void 0!==o?o:1);if(f<1||isNaN(f))throw new RangeError("`options.step` must be a number greater than 1");for(;s.getTime()<=i;)l.push(e(s)),s.setDate(s.getDate()+f),s.setHours(0,0,0,0);return l}function u(r){t(1,arguments);var n=r||{},o=e(n.start),a=e(n.end).getTime(),u=[];if(!(o.getTime()<=a))throw new RangeError("Invalid interval");var i=o;for(i.setHours(0,0,0,0),i.setDate(1);i.getTime()<=a;)u.push(e(i)),i.setMonth(i.getMonth()+1);return u}function i(r){t(1,arguments);var n=r||{},o=e(n.start),a=e(n.end).getTime();if(!(o.getTime()<=a))throw new RangeError("Invalid interval");var u=[],i=o;for(i.setHours(0,0,0,0),i.setMonth(0,1);i.getTime()<=a;)u.push(e(i)),i.setFullYear(i.getFullYear()+1);return u}function l(o,a){var u,i,l,s,f,c,v,m;t(1,arguments);var y=n(),p=r(null!==(u=null!==(i=null!==(l=null!==(s=null==a?void 0:a.weekStartsOn)&&void 0!==s?s:null==a||null===(f=a.locale)||void 0===f||null===(c=f.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==l?l:y.weekStartsOn)&&void 0!==i?i:null===(v=y.locale)||void 0===v||null===(m=v.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==u?u:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=e(o),b=g.getDay(),d=6+(b<p?-7:0)-(b-p);return g.setDate(g.getDate()+d),g.setHours(23,59,59,999),g}function s(e){return t(1,arguments),l(e,{weekStartsOn:1})}function f(r){t(1,arguments);var n=e(r),o=n.getFullYear();return n.setFullYear(o+1,0,0),n.setHours(23,59,59,999),n}function c(r,n){t(2,arguments);var o=e(r),a=e(n);return o.getFullYear()===a.getFullYear()&&o.getMonth()===a.getMonth()}function v(r){t(1,arguments);var n=e(r),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(0,0,0,0),n}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function y(r){var n,o;if(t(1,arguments),r&&"function"==typeof r.forEach)n=r;else{if("object"!==m(r)||null===r)return new Date(NaN);n=Array.prototype.slice.call(r)}return n.forEach((function(t){var r=e(t);(void 0===o||o<r||isNaN(Number(r)))&&(o=r)})),o||new Date(NaN)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function g(r){var n,o;if(t(1,arguments),r&&"function"==typeof r.forEach)n=r;else{if("object"!==p(r)||null===r)return new Date(NaN);n=Array.prototype.slice.call(r)}return n.forEach((function(t){var r=e(t);(void 0===o||o>r||isNaN(r.getDate()))&&(o=r)})),o||new Date(NaN)}function b(r){t(1,arguments);var n=e(r);return n.setDate(1),n.setHours(0,0,0,0),n}function d(r){t(1,arguments);var n=e(r),o=new Date(0);return o.setFullYear(n.getFullYear(),0,1),o.setHours(0,0,0,0),o}function w(e,n){t(2,arguments);var a=r(n);return o(e,-a)}export{u as a,i as b,s as c,l as d,a as e,f,g,d as h,c as i,w as j,v as l,y as m,b as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as r}from"./index-654b802b.js";import{r as i}from"./index-708c40c0.js";function o(o){return i(1,arguments),r(Date.now(),o)}export{o as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t,{createContext as e,forwardRef as r,createElement as n,useContext as o,useImperativeHandle as a,useEffect as i,Children as u,useRef as c,useReducer as l,useCallback as s,useMemo as f,Component as p,useLayoutEffect as d}from"react";import{r as v}from"./index-0d346cbb.js";var h=Array.isArray,y=Object.keys,b=Object.prototype.hasOwnProperty,m="undefined"!=typeof Element;function _(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var r,n,o,a=h(t),i=h(e);if(a&&i){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!_(t[r],e[r]))return!1;return!0}if(a!=i)return!1;var u=t instanceof Date,c=e instanceof Date;if(u!=c)return!1;if(u&&c)return t.getTime()==e.getTime();var l=t instanceof RegExp,s=e instanceof RegExp;if(l!=s)return!1;if(l&&s)return t.toString()==e.toString();var f=y(t);if((n=f.length)!==y(e).length)return!1;for(r=n;0!=r--;)if(!b.call(e,f[r]))return!1;if(m&&t instanceof Element&&e instanceof Element)return t===e;for(r=n;0!=r--;)if(!("_owner"===(o=f[r])&&t.$$typeof||_(t[o],e[o])))return!1;return!0}return t!=t&&e!=e}var g=function(t,e){try{return _(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}},j=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===E}(t)}(t)};var E="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function S(t,e){return!1!==e.clone&&e.isMergeableObject(t)?A((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function O(t,e,r){return t.concat(e).map((function(t){return S(t,r)}))}function A(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||O,r.isMergeableObject=r.isMergeableObject||j;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach((function(e){n[e]=S(t[e],r)})),Object.keys(e).forEach((function(o){r.isMergeableObject(e[o])&&t[o]?n[o]=A(t[o],e[o],r):n[o]=S(e[o],r)})),n}(t,e,r):S(e,r)}A.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return A(t,r,e)}),{})};var T=A,w="object"==typeof global&&global&&global.Object===Object&&global,F="object"==typeof self&&self&&self.Object===Object&&self,I=w||F||Function("return this")(),R=I.Symbol,k=Object.prototype,D=k.hasOwnProperty,P=k.toString,M=R?R.toStringTag:void 0;var N=Object.prototype.toString;var V="[object Null]",U="[object Undefined]",x=R?R.toStringTag:void 0;function C(t){return null==t?void 0===t?U:V:x&&x in Object(t)?function(t){var e=D.call(t,M),r=t[M];try{t[M]=void 0;var n=!0}catch(t){}var o=P.call(t);return n&&(e?t[M]=r:delete t[M]),o}(t):function(t){return N.call(t)}(t)}function L(t,e){return function(r){return t(e(r))}}var B=L(Object.getPrototypeOf,Object);function z(t){return null!=t&&"object"==typeof t}var $="[object Object]",W=Function.prototype,G=Object.prototype,H=W.toString,K=G.hasOwnProperty,q=H.call(Object);function Y(t){if(!z(t)||C(t)!=$)return!1;var e=B(t);if(null===e)return!0;var r=K.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&H.call(r)==q}function J(t,e){return t===e||t!=t&&e!=e}function Q(t,e){for(var r=t.length;r--;)if(J(t[r][0],e))return r;return-1}var X=Array.prototype.splice;function Z(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(t){var e=this.__data__,r=Q(e,t);return!(r<0)&&(r==e.length-1?e.pop():X.call(e,r,1),--this.size,!0)},Z.prototype.get=function(t){var e=this.__data__,r=Q(e,t);return r<0?void 0:e[r][1]},Z.prototype.has=function(t){return Q(this.__data__,t)>-1},Z.prototype.set=function(t,e){var r=this.__data__,n=Q(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};var et="[object AsyncFunction]",rt="[object Function]",nt="[object GeneratorFunction]",ot="[object Proxy]";function at(t){if(!tt(t))return!1;var e=C(t);return e==rt||e==nt||e==et||e==ot}var it,ut=I["__core-js_shared__"],ct=(it=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+it:"";var lt=Function.prototype.toString;function st(t){if(null!=t){try{return lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ft=/^\[object .+?Constructor\]$/,pt=Function.prototype,dt=Object.prototype,vt=pt.toString,ht=dt.hasOwnProperty,yt=RegExp("^"+vt.call(ht).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bt(t){return!(!tt(t)||(e=t,ct&&ct in e))&&(at(t)?yt:ft).test(st(t));var e}function mt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return bt(r)?r:void 0}var _t=mt(I,"Map"),gt=mt(Object,"create");var jt="__lodash_hash_undefined__",Et=Object.prototype.hasOwnProperty;var St=Object.prototype.hasOwnProperty;var Ot="__lodash_hash_undefined__";function At(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Tt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function wt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}At.prototype.clear=function(){this.__data__=gt?gt(null):{},this.size=0},At.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},At.prototype.get=function(t){var e=this.__data__;if(gt){var r=e[t];return r===jt?void 0:r}return Et.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:St.call(e,t)},At.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=gt&&void 0===e?Ot:e,this},wt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(_t||Z),string:new At}},wt.prototype.delete=function(t){var e=Tt(this,t).delete(t);return this.size-=e?1:0,e},wt.prototype.get=function(t){return Tt(this,t).get(t)},wt.prototype.has=function(t){return Tt(this,t).has(t)},wt.prototype.set=function(t,e){var r=Tt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};var Ft=200;function It(t){var e=this.__data__=new Z(t);this.size=e.size}It.prototype.clear=function(){this.__data__=new Z,this.size=0},It.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},It.prototype.get=function(t){return this.__data__.get(t)},It.prototype.has=function(t){return this.__data__.has(t)},It.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Z){var n=r.__data__;if(!_t||n.length<Ft-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new wt(n)}return r.set(t,e),this.size=r.size,this};var Rt=function(){try{var t=mt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function kt(t,e,r){"__proto__"==e&&Rt?Rt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Dt=Object.prototype.hasOwnProperty;function Pt(t,e,r){var n=t[e];Dt.call(t,e)&&J(n,r)&&(void 0!==r||e in t)||kt(t,e,r)}function Mt(t,e,r,n){var o=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var u=e[a],c=n?n(r[u],t[u],u,r,t):void 0;void 0===c&&(c=t[u]),o?kt(r,u,c):Pt(r,u,c)}return r}var Nt="[object Arguments]";function Vt(t){return z(t)&&C(t)==Nt}var Ut=Object.prototype,xt=Ut.hasOwnProperty,Ct=Ut.propertyIsEnumerable,Lt=Vt(function(){return arguments}())?Vt:function(t){return z(t)&&xt.call(t,"callee")&&!Ct.call(t,"callee")},Bt=Array.isArray;var zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=zt&&"object"==typeof module&&module&&!module.nodeType&&module,Wt=$t&&$t.exports===zt?I.Buffer:void 0,Gt=(Wt?Wt.isBuffer:void 0)||function(){return!1},Ht=9007199254740991,Kt=/^(?:0|[1-9]\d*)$/;function qt(t,e){var r=typeof t;return!!(e=null==e?Ht:e)&&("number"==r||"symbol"!=r&&Kt.test(t))&&t>-1&&t%1==0&&t<e}var Yt=9007199254740991;function Jt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Yt}var Qt={};function Xt(t){return function(e){return t(e)}}Qt["[object Float32Array]"]=Qt["[object Float64Array]"]=Qt["[object Int8Array]"]=Qt["[object Int16Array]"]=Qt["[object Int32Array]"]=Qt["[object Uint8Array]"]=Qt["[object Uint8ClampedArray]"]=Qt["[object Uint16Array]"]=Qt["[object Uint32Array]"]=!0,Qt["[object Arguments]"]=Qt["[object Array]"]=Qt["[object ArrayBuffer]"]=Qt["[object Boolean]"]=Qt["[object DataView]"]=Qt["[object Date]"]=Qt["[object Error]"]=Qt["[object Function]"]=Qt["[object Map]"]=Qt["[object Number]"]=Qt["[object Object]"]=Qt["[object RegExp]"]=Qt["[object Set]"]=Qt["[object String]"]=Qt["[object WeakMap]"]=!1;var Zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,te=Zt&&"object"==typeof module&&module&&!module.nodeType&&module,ee=te&&te.exports===Zt&&w.process,re=function(){try{var t=te&&te.require&&te.require("util").types;return t||ee&&ee.binding&&ee.binding("util")}catch(t){}}(),ne=re&&re.isTypedArray,oe=ne?Xt(ne):function(t){return z(t)&&Jt(t.length)&&!!Qt[C(t)]},ae=Object.prototype.hasOwnProperty;function ie(t,e){var r=Bt(t),n=!r&&Lt(t),o=!r&&!n&&Gt(t),a=!r&&!n&&!o&&oe(t),i=r||n||o||a,u=i?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=u.length;for(var l in t)!e&&!ae.call(t,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qt(l,c))||u.push(l);return u}var ue=Object.prototype;function ce(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)}var le=L(Object.keys,Object),se=Object.prototype.hasOwnProperty;function fe(t){return null!=t&&Jt(t.length)&&!at(t)}function pe(t){return fe(t)?ie(t):function(t){if(!ce(t))return le(t);var e=[];for(var r in Object(t))se.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var de=Object.prototype.hasOwnProperty;function ve(t){if(!tt(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=ce(t),r=[];for(var n in t)("constructor"!=n||!e&&de.call(t,n))&&r.push(n);return r}function he(t){return fe(t)?ie(t,!0):ve(t)}var ye="object"==typeof exports&&exports&&!exports.nodeType&&exports,be=ye&&"object"==typeof module&&module&&!module.nodeType&&module,me=be&&be.exports===ye?I.Buffer:void 0,_e=me?me.allocUnsafe:void 0;function ge(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function je(){return[]}var Ee=Object.prototype.propertyIsEnumerable,Se=Object.getOwnPropertySymbols,Oe=Se?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var i=t[r];e(i,r,t)&&(a[o++]=i)}return a}(Se(t),(function(e){return Ee.call(t,e)})))}:je;function Ae(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}var Te=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ae(e,Oe(t)),t=B(t);return e}:je;function we(t,e,r){var n=e(t);return Bt(t)?n:Ae(n,r(t))}function Fe(t){return we(t,pe,Oe)}function Ie(t){return we(t,he,Te)}var Re=mt(I,"DataView"),ke=mt(I,"Promise"),De=mt(I,"Set"),Pe=mt(I,"WeakMap"),Me="[object Map]",Ne="[object Promise]",Ve="[object Set]",Ue="[object WeakMap]",xe="[object DataView]",Ce=st(Re),Le=st(_t),Be=st(ke),ze=st(De),$e=st(Pe),We=C;(Re&&We(new Re(new ArrayBuffer(1)))!=xe||_t&&We(new _t)!=Me||ke&&We(ke.resolve())!=Ne||De&&We(new De)!=Ve||Pe&&We(new Pe)!=Ue)&&(We=function(t){var e=C(t),r="[object Object]"==e?t.constructor:void 0,n=r?st(r):"";if(n)switch(n){case Ce:return xe;case Le:return Me;case Be:return Ne;case ze:return Ve;case $e:return Ue}return e});var Ge=We,He=Object.prototype.hasOwnProperty;var Ke=I.Uint8Array;function qe(t){var e=new t.constructor(t.byteLength);return new Ke(e).set(new Ke(t)),e}var Ye=/\w*$/;var Je=R?R.prototype:void 0,Qe=Je?Je.valueOf:void 0;var Xe="[object Boolean]",Ze="[object Date]",tr="[object Map]",er="[object Number]",rr="[object RegExp]",nr="[object Set]",or="[object String]",ar="[object Symbol]",ir="[object ArrayBuffer]",ur="[object DataView]",cr="[object Float32Array]",lr="[object Float64Array]",sr="[object Int8Array]",fr="[object Int16Array]",pr="[object Int32Array]",dr="[object Uint8Array]",vr="[object Uint8ClampedArray]",hr="[object Uint16Array]",yr="[object Uint32Array]";function br(t,e,r){var n,o,a,i=t.constructor;switch(e){case ir:return qe(t);case Xe:case Ze:return new i(+t);case ur:return function(t,e){var r=e?qe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case cr:case lr:case sr:case fr:case pr:case dr:case vr:case hr:case yr:return function(t,e){var r=e?qe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case tr:return new i;case er:case or:return new i(t);case rr:return(a=new(o=t).constructor(o.source,Ye.exec(o))).lastIndex=o.lastIndex,a;case nr:return new i;case ar:return n=t,Qe?Object(Qe.call(n)):{}}}var mr=Object.create,_r=function(){function t(){}return function(e){if(!tt(e))return{};if(mr)return mr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var gr="[object Map]";var jr=re&&re.isMap,Er=jr?Xt(jr):function(t){return z(t)&&Ge(t)==gr},Sr="[object Set]";var Or=re&&re.isSet,Ar=Or?Xt(Or):function(t){return z(t)&&Ge(t)==Sr},Tr=1,wr=2,Fr=4,Ir="[object Arguments]",Rr="[object Function]",kr="[object GeneratorFunction]",Dr="[object Object]",Pr={};function Mr(t,e,r,n,o,a){var i,u=e&Tr,c=e&wr,l=e&Fr;if(r&&(i=o?r(t,n,o,a):r(t)),void 0!==i)return i;if(!tt(t))return t;var s=Bt(t);if(s){if(i=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!u)return ge(t,i)}else{var f=Ge(t),p=f==Rr||f==kr;if(Gt(t))return function(t,e){if(e)return t.slice();var r=t.length,n=_e?_e(r):new t.constructor(r);return t.copy(n),n}(t,u);if(f==Dr||f==Ir||p&&!o){if(i=c||p?{}:function(t){return"function"!=typeof t.constructor||ce(t)?{}:_r(B(t))}(t),!u)return c?function(t,e){return Mt(t,Te(t),e)}(t,function(t,e){return t&&Mt(e,he(e),t)}(i,t)):function(t,e){return Mt(t,Oe(t),e)}(t,function(t,e){return t&&Mt(e,pe(e),t)}(i,t))}else{if(!Pr[f])return o?t:{};i=br(t,f,u)}}a||(a=new It);var d=a.get(t);if(d)return d;a.set(t,i),Ar(t)?t.forEach((function(n){i.add(Mr(n,e,r,n,t,a))})):Er(t)&&t.forEach((function(n,o){i.set(o,Mr(n,e,r,o,t,a))}));var v=s?void 0:(l?c?Ie:Fe:c?he:pe)(t);return function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););}(v||t,(function(n,o){v&&(n=t[o=n]),Pt(i,o,Mr(n,e,r,o,t,a))})),i}Pr[Ir]=Pr["[object Array]"]=Pr["[object ArrayBuffer]"]=Pr["[object DataView]"]=Pr["[object Boolean]"]=Pr["[object Date]"]=Pr["[object Float32Array]"]=Pr["[object Float64Array]"]=Pr["[object Int8Array]"]=Pr["[object Int16Array]"]=Pr["[object Int32Array]"]=Pr["[object Map]"]=Pr["[object Number]"]=Pr[Dr]=Pr["[object RegExp]"]=Pr["[object Set]"]=Pr["[object String]"]=Pr["[object Symbol]"]=Pr["[object Uint8Array]"]=Pr["[object Uint8ClampedArray]"]=Pr["[object Uint16Array]"]=Pr["[object Uint32Array]"]=!0,Pr["[object Error]"]=Pr[Rr]=Pr["[object WeakMap]"]=!1;var Nr=4;function Vr(t){return Mr(t,Nr)}function Ur(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}var xr="[object Symbol]";function Cr(t){return"symbol"==typeof t||z(t)&&C(t)==xr}var Lr="Expected a function";function Br(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Lr);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Br.Cache||wt),r}Br.Cache=wt;var zr=500;var $r,Wr,Gr,Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kr=/\\(\\)?/g,qr=($r=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Hr,(function(t,r,n,o){e.push(n?o.replace(Kr,"$1"):r||t)})),e},Wr=Br($r,(function(t){return Gr.size===zr&&Gr.clear(),t})),Gr=Wr.cache,Wr),Yr=1/0;function Jr(t){if("string"==typeof t||Cr(t))return t;var e=t+"";return"0"==e&&1/t==-Yr?"-0":e}var Qr=1/0,Xr=R?R.prototype:void 0,Zr=Xr?Xr.toString:void 0;function tn(t){if("string"==typeof t)return t;if(Bt(t))return Ur(t,tn)+"";if(Cr(t))return Zr?Zr.call(t):"";var e=t+"";return"0"==e&&1/t==-Qr?"-0":e}function en(t){return Bt(t)?Ur(t,Jr):Cr(t)?[t]:ge(qr(function(t){return null==t?"":tn(t)}(t)))}var rn="production"===process.env.NODE_ENV;function nn(t,e){if(!rn){if(t)return;var r="Warning: "+e;"undefined"!=typeof console&&console.warn(r);try{throw Error(r)}catch(t){}}}var on={};on[v.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},on[v.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var an=1,un=4;function cn(t){return Mr(t,an|un)}function ln(){return ln=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ln.apply(this,arguments)}function sn(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}function fn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var pn=function(t){return Array.isArray(t)&&0===t.length},dn=function(t){return"function"==typeof t},vn=function(t){return null!==t&&"object"==typeof t},hn=function(t){return String(Math.floor(Number(t)))===t},yn=function(t){return"[object String]"===Object.prototype.toString.call(t)},bn=function(t){return 0===u.count(t)},mn=function(t){return vn(t)&&dn(t.then)};function _n(t,e,r,n){void 0===n&&(n=0);for(var o=en(e);t&&n<o.length;)t=t[o[n++]];return void 0===t?r:t}function gn(t,e,r){for(var n=Vr(t),o=n,a=0,i=en(e);a<i.length-1;a++){var u=i[a],c=_n(t,i.slice(0,a+1));if(c&&(vn(c)||Array.isArray(c)))o=o[u]=Vr(c);else{var l=i[a+1];o=o[u]=hn(l)&&Number(l)>=0?[]:{}}}return(0===a?t:o)[i[a]]===r?t:(void 0===r?delete o[i[a]]:o[i[a]]=r,0===a&&void 0===r&&delete n[i[a]],n)}function jn(t,e,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var o=0,a=Object.keys(t);o<a.length;o++){var i=a[o],u=t[i];vn(u)?r.get(u)||(r.set(u,!0),n[i]=Array.isArray(u)?[]:{},jn(u,e,r,n[i])):n[i]=e}return n}var En=e(void 0);En.displayName="FormikContext";var Sn=En.Provider;function On(){var t=o(En);return t||("production"!==process.env.NODE_ENV?nn(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):nn(!1)),t}function An(t,e){switch(e.type){case"SET_VALUES":return ln({},t,{values:e.payload});case"SET_TOUCHED":return ln({},t,{touched:e.payload});case"SET_ERRORS":return g(t.errors,e.payload)?t:ln({},t,{errors:e.payload});case"SET_STATUS":return ln({},t,{status:e.payload});case"SET_ISSUBMITTING":return ln({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return ln({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return ln({},t,{values:gn(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return ln({},t,{touched:gn(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return ln({},t,{errors:gn(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return ln({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return ln({},t,{touched:jn(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return ln({},t,{isSubmitting:!1});default:return t}}En.Consumer;var Tn={},wn={};function Fn(t){var e=t.validateOnChange,r=void 0===e||e,n=t.validateOnBlur,o=void 0===n||n,a=t.validateOnMount,u=void 0!==a&&a,p=t.isInitialValid,d=t.enableReinitialize,v=void 0!==d&&d,h=t.onSubmit,y=sn(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),b=ln({validateOnChange:r,validateOnBlur:o,validateOnMount:u,onSubmit:h},y),m=c(b.initialValues),_=c(b.initialErrors||Tn),j=c(b.initialTouched||wn),E=c(b.initialStatus),S=c(!1),O=c({});"production"!==process.env.NODE_ENV&&i((function(){void 0!==p&&("production"!==process.env.NODE_ENV?nn(!1,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):nn(!1))}),[]),i((function(){return S.current=!0,function(){S.current=!1}}),[]);var A=l(An,{values:b.initialValues,errors:b.initialErrors||Tn,touched:b.initialTouched||wn,status:b.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),w=A[0],F=A[1],I=s((function(t,e){return new Promise((function(r,n){var o=b.validate(t,e);null==o?r(Tn):mn(o)?o.then((function(t){r(t||Tn)}),(function(t){"production"!==process.env.NODE_ENV&&console.warn("Warning: An unhandled error was caught during validation in <Formik validate />",t),n(t)})):r(o)}))}),[b.validate]),R=s((function(t,e){var r=b.validationSchema,n=dn(r)?r(e):r,o=e&&n.validateAt?n.validateAt(e,t):function(t,e,r,n){void 0===r&&(r=!1);void 0===n&&(n={});var o=kn(t);return e[r?"validateSync":"validate"](o,{abortEarly:!1,context:n})}(t,n);return new Promise((function(t,e){o.then((function(){t(Tn)}),(function(r){"ValidationError"===r.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return gn(e,t.path,t.message);var r=t.inner,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var a;if(n){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var i=a;_n(e,i.path)||(e=gn(e,i.path,i.message))}}return e}(r)):("production"!==process.env.NODE_ENV&&console.warn("Warning: An unhandled error was caught during validation in <Formik validationSchema />",r),e(r))}))}))}),[b.validationSchema]),k=s((function(t,e){return new Promise((function(r){return r(O.current[t].validate(e))}))}),[]),D=s((function(t){var e=Object.keys(O.current).filter((function(t){return dn(O.current[t].validate)})),r=e.length>0?e.map((function(e){return k(e,_n(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(t){return t.reduce((function(t,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(t=gn(t,e[n],r)),t}),{})}))}),[k]),P=s((function(t){return Promise.all([D(t),b.validationSchema?R(t):{},b.validate?I(t):{}]).then((function(t){var e=t[0],r=t[1],n=t[2];return T.all([e,r,n],{arrayMerge:Dn})}))}),[b.validate,b.validationSchema,D,I,R]),M=Mn((function(t){return void 0===t&&(t=w.values),F({type:"SET_ISVALIDATING",payload:!0}),P(t).then((function(t){return S.current&&(F({type:"SET_ISVALIDATING",payload:!1}),F({type:"SET_ERRORS",payload:t})),t}))}));i((function(){u&&!0===S.current&&g(m.current,b.initialValues)&&M(m.current)}),[u,M]);var N=s((function(t){var e=t&&t.values?t.values:m.current,r=t&&t.errors?t.errors:_.current?_.current:b.initialErrors||{},n=t&&t.touched?t.touched:j.current?j.current:b.initialTouched||{},o=t&&t.status?t.status:E.current?E.current:b.initialStatus;m.current=e,_.current=r,j.current=n,E.current=o;var a=function(){F({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:r,touched:n,status:o,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"==typeof t.submitCount?t.submitCount:0}})};if(b.onReset){var i=b.onReset(w.values,tt);mn(i)?i.then(a):a()}else a()}),[b.initialErrors,b.initialStatus,b.initialTouched]);i((function(){!0!==S.current||g(m.current,b.initialValues)||(v&&(m.current=b.initialValues,N()),u&&M(m.current))}),[v,b.initialValues,N,u,M]),i((function(){v&&!0===S.current&&!g(_.current,b.initialErrors)&&(_.current=b.initialErrors||Tn,F({type:"SET_ERRORS",payload:b.initialErrors||Tn}))}),[v,b.initialErrors]),i((function(){v&&!0===S.current&&!g(j.current,b.initialTouched)&&(j.current=b.initialTouched||wn,F({type:"SET_TOUCHED",payload:b.initialTouched||wn}))}),[v,b.initialTouched]),i((function(){v&&!0===S.current&&!g(E.current,b.initialStatus)&&(E.current=b.initialStatus,F({type:"SET_STATUS",payload:b.initialStatus}))}),[v,b.initialStatus,b.initialTouched]);var V=Mn((function(t){if(O.current[t]&&dn(O.current[t].validate)){var e=_n(w.values,t),r=O.current[t].validate(e);return mn(r)?(F({type:"SET_ISVALIDATING",payload:!0}),r.then((function(t){return t})).then((function(e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),F({type:"SET_ISVALIDATING",payload:!1})}))):(F({type:"SET_FIELD_ERROR",payload:{field:t,value:r}}),Promise.resolve(r))}return b.validationSchema?(F({type:"SET_ISVALIDATING",payload:!0}),R(w.values,t).then((function(t){return t})).then((function(e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),F({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),U=s((function(t,e){var r=e.validate;O.current[t]={validate:r}}),[]),x=s((function(t){delete O.current[t]}),[]),C=Mn((function(t,e){return F({type:"SET_TOUCHED",payload:t}),(void 0===e?o:e)?M(w.values):Promise.resolve()})),L=s((function(t){F({type:"SET_ERRORS",payload:t})}),[]),B=Mn((function(t,e){var n=dn(t)?t(w.values):t;return F({type:"SET_VALUES",payload:n}),(void 0===e?r:e)?M(n):Promise.resolve()})),z=s((function(t,e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),$=Mn((function(t,e,n){return F({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===n?r:n)?M(gn(w.values,t,e)):Promise.resolve()})),W=s((function(t,e){var r,n=e,o=t;if(!yn(t)){t.persist&&t.persist();var a=t.target?t.target:t.currentTarget,i=a.type,u=a.name,c=a.id,l=a.value,s=a.checked,f=a.outerHTML,p=a.options,d=a.multiple;(n=e||(u||c))||"production"===process.env.NODE_ENV||Rn({htmlContent:f,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),o=/number|range/.test(i)?(r=parseFloat(l),isNaN(r)?"":r):/checkbox/.test(i)?function(t,e,r){if("boolean"==typeof t)return Boolean(e);var n=[],o=!1,a=-1;if(Array.isArray(t))n=t,o=(a=t.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return Boolean(e);if(e&&r&&!o)return n.concat(r);if(!o)return n;return n.slice(0,a).concat(n.slice(a+1))}(_n(w.values,n),s,l):p&&d?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(p):l}n&&$(n,o)}),[$,w.values]),G=Mn((function(t){if(yn(t))return function(e){return W(e,t)};W(t)})),H=Mn((function(t,e,r){return void 0===e&&(e=!0),F({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===r?o:r)?M(w.values):Promise.resolve()})),K=s((function(t,e){t.persist&&t.persist();var r=t.target,n=r.name,o=r.id,a=r.outerHTML,i=e||(n||o);i||"production"===process.env.NODE_ENV||Rn({htmlContent:a,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),H(i,!0)}),[H]),q=Mn((function(t){if(yn(t))return function(e){return K(e,t)};K(t)})),Y=s((function(t){dn(t)?F({type:"SET_FORMIK_STATE",payload:t}):F({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),J=s((function(t){F({type:"SET_STATUS",payload:t})}),[]),Q=s((function(t){F({type:"SET_ISSUBMITTING",payload:t})}),[]),X=Mn((function(){return F({type:"SUBMIT_ATTEMPT"}),M().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var r;try{if(void 0===(r=et()))return}catch(t){throw t}return Promise.resolve(r).then((function(t){return S.current&&F({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(S.current)throw F({type:"SUBMIT_FAILURE"}),t}))}if(S.current&&(F({type:"SUBMIT_FAILURE"}),e))throw t}))})),Z=Mn((function(t){if(t&&t.preventDefault&&dn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&dn(t.stopPropagation)&&t.stopPropagation(),"production"!==process.env.NODE_ENV&&"undefined"!=typeof document){var e=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}();null!==e&&e instanceof HTMLButtonElement&&(e.attributes&&e.attributes.getNamedItem("type")||("production"!==process.env.NODE_ENV?nn(!1,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):nn(!1)))}X().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),tt={resetForm:N,validateForm:M,validateField:V,setErrors:L,setFieldError:z,setFieldTouched:H,setFieldValue:$,setStatus:J,setSubmitting:Q,setTouched:C,setValues:B,setFormikState:Y,submitForm:X},et=Mn((function(){return h(w.values,tt)})),rt=Mn((function(t){t&&t.preventDefault&&dn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&dn(t.stopPropagation)&&t.stopPropagation(),N()})),nt=s((function(t){return{value:_n(w.values,t),error:_n(w.errors,t),touched:!!_n(w.touched,t),initialValue:_n(m.current,t),initialTouched:!!_n(j.current,t),initialError:_n(_.current,t)}}),[w.errors,w.touched,w.values]),ot=s((function(t){return{setValue:function(e,r){return $(t,e,r)},setTouched:function(e,r){return H(t,e,r)},setError:function(e){return z(t,e)}}}),[$,H,z]),at=s((function(t){var e=vn(t),r=e?t.name:t,n=_n(w.values,r),o={name:r,value:n,onChange:G,onBlur:q};if(e){var a=t.type,i=t.value,u=t.as,c=t.multiple;"checkbox"===a?void 0===i?o.checked=!!n:(o.checked=!(!Array.isArray(n)||!~n.indexOf(i)),o.value=i):"radio"===a?(o.checked=n===i,o.value=i):"select"===u&&c&&(o.value=o.value||[],o.multiple=!0)}return o}),[q,G,w.values]),it=f((function(){return!g(m.current,w.values)}),[m.current,w.values]),ut=f((function(){return void 0!==p?it?w.errors&&0===Object.keys(w.errors).length:!1!==p&&dn(p)?p(b):p:w.errors&&0===Object.keys(w.errors).length}),[p,it,w.errors,b]);return ln({},w,{initialValues:m.current,initialErrors:_.current,initialTouched:j.current,initialStatus:E.current,handleBlur:q,handleChange:G,handleReset:rt,handleSubmit:Z,resetForm:N,setErrors:L,setFormikState:Y,setFieldTouched:H,setFieldValue:$,setFieldError:z,setStatus:J,setSubmitting:Q,setTouched:C,setValues:B,submitForm:X,validateForm:M,validateField:V,isValid:ut,dirty:it,unregisterField:x,registerField:U,getFieldProps:at,getFieldMeta:nt,getFieldHelpers:ot,validateOnBlur:o,validateOnChange:r,validateOnMount:u})}function In(t){var e=Fn(t),r=t.component,o=t.children,c=t.render,l=t.innerRef;return a(l,(function(){return e})),"production"!==process.env.NODE_ENV&&i((function(){t.render&&("production"!==process.env.NODE_ENV?nn(!1,"<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>"):nn(!1))}),[]),n(Sn,{value:e},r?n(r,e):c?c(e):o?dn(o)?o(e):bn(o)?null:u.only(o):null)}function Rn(t){var e=t.htmlContent,r=t.documentationAnchorLink,n=t.handlerName;console.warn("Warning: Formik called `"+n+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+e+"\n Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#"+r+"\n ")}function kn(t){var e=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=String(r);!0===Array.isArray(t[n])?e[n]=t[n].map((function(t){return!0===Array.isArray(t)||Y(t)?kn(t):""!==t?t:void 0})):Y(t[n])?e[n]=kn(t[n]):e[n]=""!==t[n]?t[n]:void 0}return e}function Dn(t,e,r){var n=t.slice();return e.forEach((function(e,o){if(void 0===n[o]){var a=!1!==r.clone&&r.isMergeableObject(e);n[o]=a?T(Array.isArray(e)?[]:{},e,r):e}else r.isMergeableObject(e)?n[o]=T(t[o],e,r):-1===t.indexOf(e)&&n.push(e)})),n}var Pn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d:i;function Mn(t){var e=c(t);return Pn((function(){e.current=t})),s((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.apply(void 0,r)}),[])}r((function(t,e){var r=t.action,o=sn(t,["action"]),a=null!=r?r:"#",i=On(),u=i.handleReset,c=i.handleSubmit;return n("form",Object.assign({onSubmit:c,ref:e,onReset:u,action:a},o))})).displayName="Form";var Nn=function(t,e,r){var n=Cn(t),o=n[e];return n.splice(e,1),n.splice(r,0,o),n},Vn=function(t,e,r){var n=Cn(t),o=n[e];return n[e]=n[r],n[r]=o,n},Un=function(t,e,r){var n=Cn(t);return n.splice(e,0,r),n},xn=function(t,e,r){var n=Cn(t);return n[e]=r,n},Cn=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(ln({},t,{length:e+1}))}return[]},Ln=function(t){var e,r;function o(e){var r;return(r=t.call(this,e)||this).updateArrayField=function(t,e,n){var o=r.props,a=o.name;(0,o.formik.setFormikState)((function(r){var o="function"==typeof n?n:t,i="function"==typeof e?e:t,u=gn(r.values,a,t(_n(r.values,a))),c=n?o(_n(r.errors,a)):void 0,l=e?i(_n(r.touched,a)):void 0;return pn(c)&&(c=void 0),pn(l)&&(l=void 0),ln({},r,{values:u,errors:n?gn(r.errors,a,c):r.errors,touched:e?gn(r.touched,a,l):r.touched})}))},r.push=function(t){return r.updateArrayField((function(e){return[].concat(Cn(e),[cn(t)])}),!1,!1)},r.handlePush=function(t){return function(){return r.push(t)}},r.swap=function(t,e){return r.updateArrayField((function(r){return Vn(r,t,e)}),!0,!0)},r.handleSwap=function(t,e){return function(){return r.swap(t,e)}},r.move=function(t,e){return r.updateArrayField((function(r){return Nn(r,t,e)}),!0,!0)},r.handleMove=function(t,e){return function(){return r.move(t,e)}},r.insert=function(t,e){return r.updateArrayField((function(r){return Un(r,t,e)}),(function(e){return Un(e,t,null)}),(function(e){return Un(e,t,null)}))},r.handleInsert=function(t,e){return function(){return r.insert(t,e)}},r.replace=function(t,e){return r.updateArrayField((function(r){return xn(r,t,e)}),!1,!1)},r.handleReplace=function(t,e){return function(){return r.replace(t,e)}},r.unshift=function(t){var e=-1;return r.updateArrayField((function(r){var n=r?[t].concat(r):[t];return e<0&&(e=n.length),n}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r})),e},r.handleUnshift=function(t){return function(){return r.unshift(t)}},r.handleRemove=function(t){return function(){return r.remove(t)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(fn(r)),r.pop=r.pop.bind(fn(r)),r}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!g(_n(t.formik.values,t.name),_n(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},a.remove=function(t){var e;return this.updateArrayField((function(r){var n=r?Cn(r):[];return e||(e=n[t]),dn(n.splice)&&n.splice(t,1),n}),!0,!0),e},a.pop=function(){var t;return this.updateArrayField((function(e){var r=e;return t||(t=r&&r.pop&&r.pop()),r}),!0,!0),t},a.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,r=e.component,o=e.render,a=e.children,i=e.name,c=ln({},t,{form:sn(e.formik,["validate","validationSchema"]),name:i});return r?n(r,c):o?o(c):a?"function"==typeof a?a(c):bn(a)?null:u.only(a):null},o}(p);Ln.defaultProps={validateOnChange:!0};var Bn="index-module_content__fBSK1",zn=function(e){var r=e.children,n=c(null),o=On();return i((function(){var t;if((null==o?void 0:o.errors)&&(null==n?void 0:n.current)&&(null==o?void 0:o.isSubmitting)){var e=null===(t=n.current.querySelectorAll('[data-attribute="form-error"]'))||void 0===t?void 0:t[0];null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}}),[null==o?void 0:o.errors,null==n?void 0:n.current,null==o?void 0:o.isSubmitting]),t.createElement("div",{ref:n,className:Bn},r)};export{In as F,zn as a};
|
|
1
|
+
import t,{createContext as e,forwardRef as r,createElement as n,useContext as o,useImperativeHandle as a,useEffect as i,Children as u,useRef as c,useReducer as l,useCallback as s,useMemo as f,Component as p,useLayoutEffect as d}from"react";import{r as v}from"./index-5a84d92a.js";var h=Array.isArray,y=Object.keys,b=Object.prototype.hasOwnProperty,m="undefined"!=typeof Element;function _(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var r,n,o,a=h(t),i=h(e);if(a&&i){if((n=t.length)!=e.length)return!1;for(r=n;0!=r--;)if(!_(t[r],e[r]))return!1;return!0}if(a!=i)return!1;var u=t instanceof Date,c=e instanceof Date;if(u!=c)return!1;if(u&&c)return t.getTime()==e.getTime();var l=t instanceof RegExp,s=e instanceof RegExp;if(l!=s)return!1;if(l&&s)return t.toString()==e.toString();var f=y(t);if((n=f.length)!==y(e).length)return!1;for(r=n;0!=r--;)if(!b.call(e,f[r]))return!1;if(m&&t instanceof Element&&e instanceof Element)return t===e;for(r=n;0!=r--;)if(!("_owner"===(o=f[r])&&t.$$typeof||_(t[o],e[o])))return!1;return!0}return t!=t&&e!=e}var g=function(t,e){try{return _(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}},j=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===E}(t)}(t)};var E="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function S(t,e){return!1!==e.clone&&e.isMergeableObject(t)?A((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function O(t,e,r){return t.concat(e).map((function(t){return S(t,r)}))}function A(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||O,r.isMergeableObject=r.isMergeableObject||j;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach((function(e){n[e]=S(t[e],r)})),Object.keys(e).forEach((function(o){r.isMergeableObject(e[o])&&t[o]?n[o]=A(t[o],e[o],r):n[o]=S(e[o],r)})),n}(t,e,r):S(e,r)}A.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return A(t,r,e)}),{})};var T=A,w="object"==typeof global&&global&&global.Object===Object&&global,F="object"==typeof self&&self&&self.Object===Object&&self,I=w||F||Function("return this")(),R=I.Symbol,k=Object.prototype,D=k.hasOwnProperty,P=k.toString,M=R?R.toStringTag:void 0;var N=Object.prototype.toString;var V="[object Null]",U="[object Undefined]",x=R?R.toStringTag:void 0;function C(t){return null==t?void 0===t?U:V:x&&x in Object(t)?function(t){var e=D.call(t,M),r=t[M];try{t[M]=void 0;var n=!0}catch(t){}var o=P.call(t);return n&&(e?t[M]=r:delete t[M]),o}(t):function(t){return N.call(t)}(t)}function L(t,e){return function(r){return t(e(r))}}var B=L(Object.getPrototypeOf,Object);function z(t){return null!=t&&"object"==typeof t}var $="[object Object]",W=Function.prototype,G=Object.prototype,H=W.toString,K=G.hasOwnProperty,q=H.call(Object);function Y(t){if(!z(t)||C(t)!=$)return!1;var e=B(t);if(null===e)return!0;var r=K.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&H.call(r)==q}function J(t,e){return t===e||t!=t&&e!=e}function Q(t,e){for(var r=t.length;r--;)if(J(t[r][0],e))return r;return-1}var X=Array.prototype.splice;function Z(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function tt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(t){var e=this.__data__,r=Q(e,t);return!(r<0)&&(r==e.length-1?e.pop():X.call(e,r,1),--this.size,!0)},Z.prototype.get=function(t){var e=this.__data__,r=Q(e,t);return r<0?void 0:e[r][1]},Z.prototype.has=function(t){return Q(this.__data__,t)>-1},Z.prototype.set=function(t,e){var r=this.__data__,n=Q(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};var et="[object AsyncFunction]",rt="[object Function]",nt="[object GeneratorFunction]",ot="[object Proxy]";function at(t){if(!tt(t))return!1;var e=C(t);return e==rt||e==nt||e==et||e==ot}var it,ut=I["__core-js_shared__"],ct=(it=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+it:"";var lt=Function.prototype.toString;function st(t){if(null!=t){try{return lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ft=/^\[object .+?Constructor\]$/,pt=Function.prototype,dt=Object.prototype,vt=pt.toString,ht=dt.hasOwnProperty,yt=RegExp("^"+vt.call(ht).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bt(t){return!(!tt(t)||(e=t,ct&&ct in e))&&(at(t)?yt:ft).test(st(t));var e}function mt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return bt(r)?r:void 0}var _t=mt(I,"Map"),gt=mt(Object,"create");var jt="__lodash_hash_undefined__",Et=Object.prototype.hasOwnProperty;var St=Object.prototype.hasOwnProperty;var Ot="__lodash_hash_undefined__";function At(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Tt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function wt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}At.prototype.clear=function(){this.__data__=gt?gt(null):{},this.size=0},At.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},At.prototype.get=function(t){var e=this.__data__;if(gt){var r=e[t];return r===jt?void 0:r}return Et.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return gt?void 0!==e[t]:St.call(e,t)},At.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=gt&&void 0===e?Ot:e,this},wt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(_t||Z),string:new At}},wt.prototype.delete=function(t){var e=Tt(this,t).delete(t);return this.size-=e?1:0,e},wt.prototype.get=function(t){return Tt(this,t).get(t)},wt.prototype.has=function(t){return Tt(this,t).has(t)},wt.prototype.set=function(t,e){var r=Tt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};var Ft=200;function It(t){var e=this.__data__=new Z(t);this.size=e.size}It.prototype.clear=function(){this.__data__=new Z,this.size=0},It.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},It.prototype.get=function(t){return this.__data__.get(t)},It.prototype.has=function(t){return this.__data__.has(t)},It.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Z){var n=r.__data__;if(!_t||n.length<Ft-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new wt(n)}return r.set(t,e),this.size=r.size,this};var Rt=function(){try{var t=mt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function kt(t,e,r){"__proto__"==e&&Rt?Rt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var Dt=Object.prototype.hasOwnProperty;function Pt(t,e,r){var n=t[e];Dt.call(t,e)&&J(n,r)&&(void 0!==r||e in t)||kt(t,e,r)}function Mt(t,e,r,n){var o=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var u=e[a],c=n?n(r[u],t[u],u,r,t):void 0;void 0===c&&(c=t[u]),o?kt(r,u,c):Pt(r,u,c)}return r}var Nt="[object Arguments]";function Vt(t){return z(t)&&C(t)==Nt}var Ut=Object.prototype,xt=Ut.hasOwnProperty,Ct=Ut.propertyIsEnumerable,Lt=Vt(function(){return arguments}())?Vt:function(t){return z(t)&&xt.call(t,"callee")&&!Ct.call(t,"callee")},Bt=Array.isArray;var zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,$t=zt&&"object"==typeof module&&module&&!module.nodeType&&module,Wt=$t&&$t.exports===zt?I.Buffer:void 0,Gt=(Wt?Wt.isBuffer:void 0)||function(){return!1},Ht=9007199254740991,Kt=/^(?:0|[1-9]\d*)$/;function qt(t,e){var r=typeof t;return!!(e=null==e?Ht:e)&&("number"==r||"symbol"!=r&&Kt.test(t))&&t>-1&&t%1==0&&t<e}var Yt=9007199254740991;function Jt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Yt}var Qt={};function Xt(t){return function(e){return t(e)}}Qt["[object Float32Array]"]=Qt["[object Float64Array]"]=Qt["[object Int8Array]"]=Qt["[object Int16Array]"]=Qt["[object Int32Array]"]=Qt["[object Uint8Array]"]=Qt["[object Uint8ClampedArray]"]=Qt["[object Uint16Array]"]=Qt["[object Uint32Array]"]=!0,Qt["[object Arguments]"]=Qt["[object Array]"]=Qt["[object ArrayBuffer]"]=Qt["[object Boolean]"]=Qt["[object DataView]"]=Qt["[object Date]"]=Qt["[object Error]"]=Qt["[object Function]"]=Qt["[object Map]"]=Qt["[object Number]"]=Qt["[object Object]"]=Qt["[object RegExp]"]=Qt["[object Set]"]=Qt["[object String]"]=Qt["[object WeakMap]"]=!1;var Zt="object"==typeof exports&&exports&&!exports.nodeType&&exports,te=Zt&&"object"==typeof module&&module&&!module.nodeType&&module,ee=te&&te.exports===Zt&&w.process,re=function(){try{var t=te&&te.require&&te.require("util").types;return t||ee&&ee.binding&&ee.binding("util")}catch(t){}}(),ne=re&&re.isTypedArray,oe=ne?Xt(ne):function(t){return z(t)&&Jt(t.length)&&!!Qt[C(t)]},ae=Object.prototype.hasOwnProperty;function ie(t,e){var r=Bt(t),n=!r&&Lt(t),o=!r&&!n&&Gt(t),a=!r&&!n&&!o&&oe(t),i=r||n||o||a,u=i?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=u.length;for(var l in t)!e&&!ae.call(t,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qt(l,c))||u.push(l);return u}var ue=Object.prototype;function ce(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)}var le=L(Object.keys,Object),se=Object.prototype.hasOwnProperty;function fe(t){return null!=t&&Jt(t.length)&&!at(t)}function pe(t){return fe(t)?ie(t):function(t){if(!ce(t))return le(t);var e=[];for(var r in Object(t))se.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}var de=Object.prototype.hasOwnProperty;function ve(t){if(!tt(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=ce(t),r=[];for(var n in t)("constructor"!=n||!e&&de.call(t,n))&&r.push(n);return r}function he(t){return fe(t)?ie(t,!0):ve(t)}var ye="object"==typeof exports&&exports&&!exports.nodeType&&exports,be=ye&&"object"==typeof module&&module&&!module.nodeType&&module,me=be&&be.exports===ye?I.Buffer:void 0,_e=me?me.allocUnsafe:void 0;function ge(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function je(){return[]}var Ee=Object.prototype.propertyIsEnumerable,Se=Object.getOwnPropertySymbols,Oe=Se?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var i=t[r];e(i,r,t)&&(a[o++]=i)}return a}(Se(t),(function(e){return Ee.call(t,e)})))}:je;function Ae(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}var Te=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Ae(e,Oe(t)),t=B(t);return e}:je;function we(t,e,r){var n=e(t);return Bt(t)?n:Ae(n,r(t))}function Fe(t){return we(t,pe,Oe)}function Ie(t){return we(t,he,Te)}var Re=mt(I,"DataView"),ke=mt(I,"Promise"),De=mt(I,"Set"),Pe=mt(I,"WeakMap"),Me="[object Map]",Ne="[object Promise]",Ve="[object Set]",Ue="[object WeakMap]",xe="[object DataView]",Ce=st(Re),Le=st(_t),Be=st(ke),ze=st(De),$e=st(Pe),We=C;(Re&&We(new Re(new ArrayBuffer(1)))!=xe||_t&&We(new _t)!=Me||ke&&We(ke.resolve())!=Ne||De&&We(new De)!=Ve||Pe&&We(new Pe)!=Ue)&&(We=function(t){var e=C(t),r="[object Object]"==e?t.constructor:void 0,n=r?st(r):"";if(n)switch(n){case Ce:return xe;case Le:return Me;case Be:return Ne;case ze:return Ve;case $e:return Ue}return e});var Ge=We,He=Object.prototype.hasOwnProperty;var Ke=I.Uint8Array;function qe(t){var e=new t.constructor(t.byteLength);return new Ke(e).set(new Ke(t)),e}var Ye=/\w*$/;var Je=R?R.prototype:void 0,Qe=Je?Je.valueOf:void 0;var Xe="[object Boolean]",Ze="[object Date]",tr="[object Map]",er="[object Number]",rr="[object RegExp]",nr="[object Set]",or="[object String]",ar="[object Symbol]",ir="[object ArrayBuffer]",ur="[object DataView]",cr="[object Float32Array]",lr="[object Float64Array]",sr="[object Int8Array]",fr="[object Int16Array]",pr="[object Int32Array]",dr="[object Uint8Array]",vr="[object Uint8ClampedArray]",hr="[object Uint16Array]",yr="[object Uint32Array]";function br(t,e,r){var n,o,a,i=t.constructor;switch(e){case ir:return qe(t);case Xe:case Ze:return new i(+t);case ur:return function(t,e){var r=e?qe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case cr:case lr:case sr:case fr:case pr:case dr:case vr:case hr:case yr:return function(t,e){var r=e?qe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,r);case tr:return new i;case er:case or:return new i(t);case rr:return(a=new(o=t).constructor(o.source,Ye.exec(o))).lastIndex=o.lastIndex,a;case nr:return new i;case ar:return n=t,Qe?Object(Qe.call(n)):{}}}var mr=Object.create,_r=function(){function t(){}return function(e){if(!tt(e))return{};if(mr)return mr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var gr="[object Map]";var jr=re&&re.isMap,Er=jr?Xt(jr):function(t){return z(t)&&Ge(t)==gr},Sr="[object Set]";var Or=re&&re.isSet,Ar=Or?Xt(Or):function(t){return z(t)&&Ge(t)==Sr},Tr=1,wr=2,Fr=4,Ir="[object Arguments]",Rr="[object Function]",kr="[object GeneratorFunction]",Dr="[object Object]",Pr={};function Mr(t,e,r,n,o,a){var i,u=e&Tr,c=e&wr,l=e&Fr;if(r&&(i=o?r(t,n,o,a):r(t)),void 0!==i)return i;if(!tt(t))return t;var s=Bt(t);if(s){if(i=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!u)return ge(t,i)}else{var f=Ge(t),p=f==Rr||f==kr;if(Gt(t))return function(t,e){if(e)return t.slice();var r=t.length,n=_e?_e(r):new t.constructor(r);return t.copy(n),n}(t,u);if(f==Dr||f==Ir||p&&!o){if(i=c||p?{}:function(t){return"function"!=typeof t.constructor||ce(t)?{}:_r(B(t))}(t),!u)return c?function(t,e){return Mt(t,Te(t),e)}(t,function(t,e){return t&&Mt(e,he(e),t)}(i,t)):function(t,e){return Mt(t,Oe(t),e)}(t,function(t,e){return t&&Mt(e,pe(e),t)}(i,t))}else{if(!Pr[f])return o?t:{};i=br(t,f,u)}}a||(a=new It);var d=a.get(t);if(d)return d;a.set(t,i),Ar(t)?t.forEach((function(n){i.add(Mr(n,e,r,n,t,a))})):Er(t)&&t.forEach((function(n,o){i.set(o,Mr(n,e,r,o,t,a))}));var v=s?void 0:(l?c?Ie:Fe:c?he:pe)(t);return function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););}(v||t,(function(n,o){v&&(n=t[o=n]),Pt(i,o,Mr(n,e,r,o,t,a))})),i}Pr[Ir]=Pr["[object Array]"]=Pr["[object ArrayBuffer]"]=Pr["[object DataView]"]=Pr["[object Boolean]"]=Pr["[object Date]"]=Pr["[object Float32Array]"]=Pr["[object Float64Array]"]=Pr["[object Int8Array]"]=Pr["[object Int16Array]"]=Pr["[object Int32Array]"]=Pr["[object Map]"]=Pr["[object Number]"]=Pr[Dr]=Pr["[object RegExp]"]=Pr["[object Set]"]=Pr["[object String]"]=Pr["[object Symbol]"]=Pr["[object Uint8Array]"]=Pr["[object Uint8ClampedArray]"]=Pr["[object Uint16Array]"]=Pr["[object Uint32Array]"]=!0,Pr["[object Error]"]=Pr[Rr]=Pr["[object WeakMap]"]=!1;var Nr=4;function Vr(t){return Mr(t,Nr)}function Ur(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}var xr="[object Symbol]";function Cr(t){return"symbol"==typeof t||z(t)&&C(t)==xr}var Lr="Expected a function";function Br(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Lr);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Br.Cache||wt),r}Br.Cache=wt;var zr=500;var $r,Wr,Gr,Hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Kr=/\\(\\)?/g,qr=($r=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Hr,(function(t,r,n,o){e.push(n?o.replace(Kr,"$1"):r||t)})),e},Wr=Br($r,(function(t){return Gr.size===zr&&Gr.clear(),t})),Gr=Wr.cache,Wr),Yr=1/0;function Jr(t){if("string"==typeof t||Cr(t))return t;var e=t+"";return"0"==e&&1/t==-Yr?"-0":e}var Qr=1/0,Xr=R?R.prototype:void 0,Zr=Xr?Xr.toString:void 0;function tn(t){if("string"==typeof t)return t;if(Bt(t))return Ur(t,tn)+"";if(Cr(t))return Zr?Zr.call(t):"";var e=t+"";return"0"==e&&1/t==-Qr?"-0":e}function en(t){return Bt(t)?Ur(t,Jr):Cr(t)?[t]:ge(qr(function(t){return null==t?"":tn(t)}(t)))}var rn="production"===process.env.NODE_ENV;function nn(t,e){if(!rn){if(t)return;var r="Warning: "+e;"undefined"!=typeof console&&console.warn(r);try{throw Error(r)}catch(t){}}}var on={};on[v.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},on[v.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var an=1,un=4;function cn(t){return Mr(t,an|un)}function ln(){return ln=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ln.apply(this,arguments)}function sn(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}function fn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var pn=function(t){return Array.isArray(t)&&0===t.length},dn=function(t){return"function"==typeof t},vn=function(t){return null!==t&&"object"==typeof t},hn=function(t){return String(Math.floor(Number(t)))===t},yn=function(t){return"[object String]"===Object.prototype.toString.call(t)},bn=function(t){return 0===u.count(t)},mn=function(t){return vn(t)&&dn(t.then)};function _n(t,e,r,n){void 0===n&&(n=0);for(var o=en(e);t&&n<o.length;)t=t[o[n++]];return void 0===t?r:t}function gn(t,e,r){for(var n=Vr(t),o=n,a=0,i=en(e);a<i.length-1;a++){var u=i[a],c=_n(t,i.slice(0,a+1));if(c&&(vn(c)||Array.isArray(c)))o=o[u]=Vr(c);else{var l=i[a+1];o=o[u]=hn(l)&&Number(l)>=0?[]:{}}}return(0===a?t:o)[i[a]]===r?t:(void 0===r?delete o[i[a]]:o[i[a]]=r,0===a&&void 0===r&&delete n[i[a]],n)}function jn(t,e,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var o=0,a=Object.keys(t);o<a.length;o++){var i=a[o],u=t[i];vn(u)?r.get(u)||(r.set(u,!0),n[i]=Array.isArray(u)?[]:{},jn(u,e,r,n[i])):n[i]=e}return n}var En=e(void 0);En.displayName="FormikContext";var Sn=En.Provider;function On(){var t=o(En);return t||("production"!==process.env.NODE_ENV?nn(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):nn(!1)),t}function An(t,e){switch(e.type){case"SET_VALUES":return ln({},t,{values:e.payload});case"SET_TOUCHED":return ln({},t,{touched:e.payload});case"SET_ERRORS":return g(t.errors,e.payload)?t:ln({},t,{errors:e.payload});case"SET_STATUS":return ln({},t,{status:e.payload});case"SET_ISSUBMITTING":return ln({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return ln({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return ln({},t,{values:gn(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return ln({},t,{touched:gn(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return ln({},t,{errors:gn(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return ln({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return ln({},t,{touched:jn(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return ln({},t,{isSubmitting:!1});default:return t}}En.Consumer;var Tn={},wn={};function Fn(t){var e=t.validateOnChange,r=void 0===e||e,n=t.validateOnBlur,o=void 0===n||n,a=t.validateOnMount,u=void 0!==a&&a,p=t.isInitialValid,d=t.enableReinitialize,v=void 0!==d&&d,h=t.onSubmit,y=sn(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),b=ln({validateOnChange:r,validateOnBlur:o,validateOnMount:u,onSubmit:h},y),m=c(b.initialValues),_=c(b.initialErrors||Tn),j=c(b.initialTouched||wn),E=c(b.initialStatus),S=c(!1),O=c({});"production"!==process.env.NODE_ENV&&i((function(){void 0!==p&&("production"!==process.env.NODE_ENV?nn(!1,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):nn(!1))}),[]),i((function(){return S.current=!0,function(){S.current=!1}}),[]);var A=l(An,{values:b.initialValues,errors:b.initialErrors||Tn,touched:b.initialTouched||wn,status:b.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),w=A[0],F=A[1],I=s((function(t,e){return new Promise((function(r,n){var o=b.validate(t,e);null==o?r(Tn):mn(o)?o.then((function(t){r(t||Tn)}),(function(t){"production"!==process.env.NODE_ENV&&console.warn("Warning: An unhandled error was caught during validation in <Formik validate />",t),n(t)})):r(o)}))}),[b.validate]),R=s((function(t,e){var r=b.validationSchema,n=dn(r)?r(e):r,o=e&&n.validateAt?n.validateAt(e,t):function(t,e,r,n){void 0===r&&(r=!1);void 0===n&&(n={});var o=kn(t);return e[r?"validateSync":"validate"](o,{abortEarly:!1,context:n})}(t,n);return new Promise((function(t,e){o.then((function(){t(Tn)}),(function(r){"ValidationError"===r.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return gn(e,t.path,t.message);var r=t.inner,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var a;if(n){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var i=a;_n(e,i.path)||(e=gn(e,i.path,i.message))}}return e}(r)):("production"!==process.env.NODE_ENV&&console.warn("Warning: An unhandled error was caught during validation in <Formik validationSchema />",r),e(r))}))}))}),[b.validationSchema]),k=s((function(t,e){return new Promise((function(r){return r(O.current[t].validate(e))}))}),[]),D=s((function(t){var e=Object.keys(O.current).filter((function(t){return dn(O.current[t].validate)})),r=e.length>0?e.map((function(e){return k(e,_n(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(t){return t.reduce((function(t,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(t=gn(t,e[n],r)),t}),{})}))}),[k]),P=s((function(t){return Promise.all([D(t),b.validationSchema?R(t):{},b.validate?I(t):{}]).then((function(t){var e=t[0],r=t[1],n=t[2];return T.all([e,r,n],{arrayMerge:Dn})}))}),[b.validate,b.validationSchema,D,I,R]),M=Mn((function(t){return void 0===t&&(t=w.values),F({type:"SET_ISVALIDATING",payload:!0}),P(t).then((function(t){return S.current&&(F({type:"SET_ISVALIDATING",payload:!1}),F({type:"SET_ERRORS",payload:t})),t}))}));i((function(){u&&!0===S.current&&g(m.current,b.initialValues)&&M(m.current)}),[u,M]);var N=s((function(t){var e=t&&t.values?t.values:m.current,r=t&&t.errors?t.errors:_.current?_.current:b.initialErrors||{},n=t&&t.touched?t.touched:j.current?j.current:b.initialTouched||{},o=t&&t.status?t.status:E.current?E.current:b.initialStatus;m.current=e,_.current=r,j.current=n,E.current=o;var a=function(){F({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:r,touched:n,status:o,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"==typeof t.submitCount?t.submitCount:0}})};if(b.onReset){var i=b.onReset(w.values,tt);mn(i)?i.then(a):a()}else a()}),[b.initialErrors,b.initialStatus,b.initialTouched]);i((function(){!0!==S.current||g(m.current,b.initialValues)||(v&&(m.current=b.initialValues,N()),u&&M(m.current))}),[v,b.initialValues,N,u,M]),i((function(){v&&!0===S.current&&!g(_.current,b.initialErrors)&&(_.current=b.initialErrors||Tn,F({type:"SET_ERRORS",payload:b.initialErrors||Tn}))}),[v,b.initialErrors]),i((function(){v&&!0===S.current&&!g(j.current,b.initialTouched)&&(j.current=b.initialTouched||wn,F({type:"SET_TOUCHED",payload:b.initialTouched||wn}))}),[v,b.initialTouched]),i((function(){v&&!0===S.current&&!g(E.current,b.initialStatus)&&(E.current=b.initialStatus,F({type:"SET_STATUS",payload:b.initialStatus}))}),[v,b.initialStatus,b.initialTouched]);var V=Mn((function(t){if(O.current[t]&&dn(O.current[t].validate)){var e=_n(w.values,t),r=O.current[t].validate(e);return mn(r)?(F({type:"SET_ISVALIDATING",payload:!0}),r.then((function(t){return t})).then((function(e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),F({type:"SET_ISVALIDATING",payload:!1})}))):(F({type:"SET_FIELD_ERROR",payload:{field:t,value:r}}),Promise.resolve(r))}return b.validationSchema?(F({type:"SET_ISVALIDATING",payload:!0}),R(w.values,t).then((function(t){return t})).then((function(e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),F({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),U=s((function(t,e){var r=e.validate;O.current[t]={validate:r}}),[]),x=s((function(t){delete O.current[t]}),[]),C=Mn((function(t,e){return F({type:"SET_TOUCHED",payload:t}),(void 0===e?o:e)?M(w.values):Promise.resolve()})),L=s((function(t){F({type:"SET_ERRORS",payload:t})}),[]),B=Mn((function(t,e){var n=dn(t)?t(w.values):t;return F({type:"SET_VALUES",payload:n}),(void 0===e?r:e)?M(n):Promise.resolve()})),z=s((function(t,e){F({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),$=Mn((function(t,e,n){return F({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===n?r:n)?M(gn(w.values,t,e)):Promise.resolve()})),W=s((function(t,e){var r,n=e,o=t;if(!yn(t)){t.persist&&t.persist();var a=t.target?t.target:t.currentTarget,i=a.type,u=a.name,c=a.id,l=a.value,s=a.checked,f=a.outerHTML,p=a.options,d=a.multiple;(n=e||(u||c))||"production"===process.env.NODE_ENV||Rn({htmlContent:f,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),o=/number|range/.test(i)?(r=parseFloat(l),isNaN(r)?"":r):/checkbox/.test(i)?function(t,e,r){if("boolean"==typeof t)return Boolean(e);var n=[],o=!1,a=-1;if(Array.isArray(t))n=t,o=(a=t.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return Boolean(e);if(e&&r&&!o)return n.concat(r);if(!o)return n;return n.slice(0,a).concat(n.slice(a+1))}(_n(w.values,n),s,l):p&&d?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(p):l}n&&$(n,o)}),[$,w.values]),G=Mn((function(t){if(yn(t))return function(e){return W(e,t)};W(t)})),H=Mn((function(t,e,r){return void 0===e&&(e=!0),F({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===r?o:r)?M(w.values):Promise.resolve()})),K=s((function(t,e){t.persist&&t.persist();var r=t.target,n=r.name,o=r.id,a=r.outerHTML,i=e||(n||o);i||"production"===process.env.NODE_ENV||Rn({htmlContent:a,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),H(i,!0)}),[H]),q=Mn((function(t){if(yn(t))return function(e){return K(e,t)};K(t)})),Y=s((function(t){dn(t)?F({type:"SET_FORMIK_STATE",payload:t}):F({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),J=s((function(t){F({type:"SET_STATUS",payload:t})}),[]),Q=s((function(t){F({type:"SET_ISSUBMITTING",payload:t})}),[]),X=Mn((function(){return F({type:"SUBMIT_ATTEMPT"}),M().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var r;try{if(void 0===(r=et()))return}catch(t){throw t}return Promise.resolve(r).then((function(t){return S.current&&F({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(S.current)throw F({type:"SUBMIT_FAILURE"}),t}))}if(S.current&&(F({type:"SUBMIT_FAILURE"}),e))throw t}))})),Z=Mn((function(t){if(t&&t.preventDefault&&dn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&dn(t.stopPropagation)&&t.stopPropagation(),"production"!==process.env.NODE_ENV&&"undefined"!=typeof document){var e=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}();null!==e&&e instanceof HTMLButtonElement&&(e.attributes&&e.attributes.getNamedItem("type")||("production"!==process.env.NODE_ENV?nn(!1,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):nn(!1)))}X().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),tt={resetForm:N,validateForm:M,validateField:V,setErrors:L,setFieldError:z,setFieldTouched:H,setFieldValue:$,setStatus:J,setSubmitting:Q,setTouched:C,setValues:B,setFormikState:Y,submitForm:X},et=Mn((function(){return h(w.values,tt)})),rt=Mn((function(t){t&&t.preventDefault&&dn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&dn(t.stopPropagation)&&t.stopPropagation(),N()})),nt=s((function(t){return{value:_n(w.values,t),error:_n(w.errors,t),touched:!!_n(w.touched,t),initialValue:_n(m.current,t),initialTouched:!!_n(j.current,t),initialError:_n(_.current,t)}}),[w.errors,w.touched,w.values]),ot=s((function(t){return{setValue:function(e,r){return $(t,e,r)},setTouched:function(e,r){return H(t,e,r)},setError:function(e){return z(t,e)}}}),[$,H,z]),at=s((function(t){var e=vn(t),r=e?t.name:t,n=_n(w.values,r),o={name:r,value:n,onChange:G,onBlur:q};if(e){var a=t.type,i=t.value,u=t.as,c=t.multiple;"checkbox"===a?void 0===i?o.checked=!!n:(o.checked=!(!Array.isArray(n)||!~n.indexOf(i)),o.value=i):"radio"===a?(o.checked=n===i,o.value=i):"select"===u&&c&&(o.value=o.value||[],o.multiple=!0)}return o}),[q,G,w.values]),it=f((function(){return!g(m.current,w.values)}),[m.current,w.values]),ut=f((function(){return void 0!==p?it?w.errors&&0===Object.keys(w.errors).length:!1!==p&&dn(p)?p(b):p:w.errors&&0===Object.keys(w.errors).length}),[p,it,w.errors,b]);return ln({},w,{initialValues:m.current,initialErrors:_.current,initialTouched:j.current,initialStatus:E.current,handleBlur:q,handleChange:G,handleReset:rt,handleSubmit:Z,resetForm:N,setErrors:L,setFormikState:Y,setFieldTouched:H,setFieldValue:$,setFieldError:z,setStatus:J,setSubmitting:Q,setTouched:C,setValues:B,submitForm:X,validateForm:M,validateField:V,isValid:ut,dirty:it,unregisterField:x,registerField:U,getFieldProps:at,getFieldMeta:nt,getFieldHelpers:ot,validateOnBlur:o,validateOnChange:r,validateOnMount:u})}function In(t){var e=Fn(t),r=t.component,o=t.children,c=t.render,l=t.innerRef;return a(l,(function(){return e})),"production"!==process.env.NODE_ENV&&i((function(){t.render&&("production"!==process.env.NODE_ENV?nn(!1,"<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>"):nn(!1))}),[]),n(Sn,{value:e},r?n(r,e):c?c(e):o?dn(o)?o(e):bn(o)?null:u.only(o):null)}function Rn(t){var e=t.htmlContent,r=t.documentationAnchorLink,n=t.handlerName;console.warn("Warning: Formik called `"+n+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+e+"\n Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#"+r+"\n ")}function kn(t){var e=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=String(r);!0===Array.isArray(t[n])?e[n]=t[n].map((function(t){return!0===Array.isArray(t)||Y(t)?kn(t):""!==t?t:void 0})):Y(t[n])?e[n]=kn(t[n]):e[n]=""!==t[n]?t[n]:void 0}return e}function Dn(t,e,r){var n=t.slice();return e.forEach((function(e,o){if(void 0===n[o]){var a=!1!==r.clone&&r.isMergeableObject(e);n[o]=a?T(Array.isArray(e)?[]:{},e,r):e}else r.isMergeableObject(e)?n[o]=T(t[o],e,r):-1===t.indexOf(e)&&n.push(e)})),n}var Pn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?d:i;function Mn(t){var e=c(t);return Pn((function(){e.current=t})),s((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.apply(void 0,r)}),[])}r((function(t,e){var r=t.action,o=sn(t,["action"]),a=null!=r?r:"#",i=On(),u=i.handleReset,c=i.handleSubmit;return n("form",Object.assign({onSubmit:c,ref:e,onReset:u,action:a},o))})).displayName="Form";var Nn=function(t,e,r){var n=Cn(t),o=n[e];return n.splice(e,1),n.splice(r,0,o),n},Vn=function(t,e,r){var n=Cn(t),o=n[e];return n[e]=n[r],n[r]=o,n},Un=function(t,e,r){var n=Cn(t);return n.splice(e,0,r),n},xn=function(t,e,r){var n=Cn(t);return n[e]=r,n},Cn=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(ln({},t,{length:e+1}))}return[]},Ln=function(t){var e,r;function o(e){var r;return(r=t.call(this,e)||this).updateArrayField=function(t,e,n){var o=r.props,a=o.name;(0,o.formik.setFormikState)((function(r){var o="function"==typeof n?n:t,i="function"==typeof e?e:t,u=gn(r.values,a,t(_n(r.values,a))),c=n?o(_n(r.errors,a)):void 0,l=e?i(_n(r.touched,a)):void 0;return pn(c)&&(c=void 0),pn(l)&&(l=void 0),ln({},r,{values:u,errors:n?gn(r.errors,a,c):r.errors,touched:e?gn(r.touched,a,l):r.touched})}))},r.push=function(t){return r.updateArrayField((function(e){return[].concat(Cn(e),[cn(t)])}),!1,!1)},r.handlePush=function(t){return function(){return r.push(t)}},r.swap=function(t,e){return r.updateArrayField((function(r){return Vn(r,t,e)}),!0,!0)},r.handleSwap=function(t,e){return function(){return r.swap(t,e)}},r.move=function(t,e){return r.updateArrayField((function(r){return Nn(r,t,e)}),!0,!0)},r.handleMove=function(t,e){return function(){return r.move(t,e)}},r.insert=function(t,e){return r.updateArrayField((function(r){return Un(r,t,e)}),(function(e){return Un(e,t,null)}),(function(e){return Un(e,t,null)}))},r.handleInsert=function(t,e){return function(){return r.insert(t,e)}},r.replace=function(t,e){return r.updateArrayField((function(r){return xn(r,t,e)}),!1,!1)},r.handleReplace=function(t,e){return function(){return r.replace(t,e)}},r.unshift=function(t){var e=-1;return r.updateArrayField((function(r){var n=r?[t].concat(r):[t];return e<0&&(e=n.length),n}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r})),e},r.handleUnshift=function(t){return function(){return r.unshift(t)}},r.handleRemove=function(t){return function(){return r.remove(t)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(fn(r)),r.pop=r.pop.bind(fn(r)),r}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!g(_n(t.formik.values,t.name),_n(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},a.remove=function(t){var e;return this.updateArrayField((function(r){var n=r?Cn(r):[];return e||(e=n[t]),dn(n.splice)&&n.splice(t,1),n}),!0,!0),e},a.pop=function(){var t;return this.updateArrayField((function(e){var r=e;return t||(t=r&&r.pop&&r.pop()),r}),!0,!0),t},a.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,r=e.component,o=e.render,a=e.children,i=e.name,c=ln({},t,{form:sn(e.formik,["validate","validationSchema"]),name:i});return r?n(r,c):o?o(c):a?"function"==typeof a?a(c):bn(a)?null:u.only(a):null},o}(p);Ln.defaultProps={validateOnChange:!0};var Bn="index-module_content__fBSK1",zn=function(e){var r=e.children,n=c(null),o=On();return i((function(){var t;if((null==o?void 0:o.errors)&&(null==n?void 0:n.current)&&(null==o?void 0:o.isSubmitting)){var e=null===(t=n.current.querySelectorAll('[data-attribute="form-error"]'))||void 0===t?void 0:t[0];null==e||e.scrollIntoView({behavior:"smooth",block:"center"})}}),[null==o?void 0:o.errors,null==n?void 0:n.current,null==o?void 0:o.isSubmitting]),t.createElement("div",{ref:n,className:Bn},r)};export{In as F,zn as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as r}from"./index-8f970111.js";import{r as i}from"./index-708c40c0.js";function o(o){return i(1,arguments),r(o,Date.now())}export{o as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,t as e}from"./index-
|
|
1
|
+
import{r,t as e}from"./index-708c40c0.js";function t(t,a){r(2,arguments);var i=e(t),l=e(a);return i.getFullYear()===l.getFullYear()}export{t as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,t as e}from"./index-4295ceb3.js";import{a as r,b as n,c as a,d as o,e as i,t as u,f as c,s as d,l as s,i as l,h as f,j as h,g}from"./index-88eee402.js";function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function m(r){if(t(1,arguments),!function(e){return t(1,arguments),e instanceof Date||"object"===w(e)&&"[object Date]"===Object.prototype.toString.call(e)}(r)&&"number"!=typeof r)return!1;var n=e(r);return!isNaN(Number(n))}var v=864e5;function b(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var y=function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return b("yy"===e?n%100:n,e.length)},x=function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):b(r+1,2)},T=function(t,e){return b(t.getUTCDate(),e.length)},M=function(t,e){return b(t.getUTCHours()%12||12,e.length)},C=function(t,e){return b(t.getUTCHours(),e.length)},p=function(t,e){return b(t.getUTCMinutes(),e.length)},U=function(t,e){return b(t.getUTCSeconds(),e.length)},S=function(t,e){var r=e.length,n=t.getUTCMilliseconds();return b(Math.floor(n*Math.pow(10,r-3)),e.length)},D="midnight",E="noon",k="morning",q="afternoon",N="evening",O="night";function L(t,e){var r=t>0?"-":"+",n=Math.abs(t),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var i=e||"";return r+String(a)+i+b(o,2)}function G(t,e){return t%60==0?(t>0?"-":"+")+b(Math.abs(t)/60,2):z(t,e)}function z(t,e){var r=e||"",n=t>0?"-":"+",a=Math.abs(t);return n+b(Math.floor(a/60),2)+r+b(a%60,2)}var P={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return y(t,e)},Y:function(t,e,n,a){var o=r(t,a),i=o>0?o:1-o;return"YY"===e?b(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):b(i,e.length)},R:function(t,e){return b(n(t),e.length)},u:function(t,e){return b(t.getUTCFullYear(),e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return b(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return b(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return x(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return b(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var o=a(t,n);return"wo"===e?r.ordinalNumber(o,{unit:"week"}):b(o,e.length)},I:function(t,e,r){var n=o(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):b(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):T(t,e)},D:function(r,n,a){var o=function(r){t(1,arguments);var n=e(r),a=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var o=a-n.getTime();return Math.floor(o/v)+1}(r);return"Do"===n?a.ordinalNumber(o,{unit:"dayOfYear"}):b(o,n.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return b(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return b(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return b(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,a=t.getUTCHours();switch(n=12===a?E:0===a?D:a/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,a=t.getUTCHours();switch(n=a>=17?N:a>=12?q:a>=4?k:O,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return M(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):C(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):b(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):b(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):p(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):U(t,e)},S:function(t,e){return S(t,e)},X:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return G(a);case"XXXX":case"XX":return z(a);default:return z(a,":")}},x:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return G(a);case"xxxx":case"xx":return z(a);default:return z(a,":")}},O:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+L(a,":");default:return"GMT"+z(a,":")}},z:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+L(a,":");default:return"GMT"+z(a,":")}},t:function(t,e,r,n){var a=n._originalDate||t;return b(Math.floor(a.getTime()/1e3),e.length)},T:function(t,e,r,n){return b((n._originalDate||t).getTime(),e.length)}},Q=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,H=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,B=/^'([^]*?)'?$/,Y=/''/g,j=/[a-zA-Z]/;function X(r,n,a){var o,w,v,b,y,x,T,M,C,p,U,S,D,E,k,q,N,O;t(2,arguments);var L=String(n),G=g(),z=null!==(o=null!==(w=null==a?void 0:a.locale)&&void 0!==w?w:G.locale)&&void 0!==o?o:i,X=u(null!==(v=null!==(b=null!==(y=null!==(x=null==a?void 0:a.firstWeekContainsDate)&&void 0!==x?x:null==a||null===(T=a.locale)||void 0===T||null===(M=T.options)||void 0===M?void 0:M.firstWeekContainsDate)&&void 0!==y?y:G.firstWeekContainsDate)&&void 0!==b?b:null===(C=G.locale)||void 0===C||null===(p=C.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==v?v:1);if(!(X>=1&&X<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=u(null!==(U=null!==(S=null!==(D=null!==(E=null==a?void 0:a.weekStartsOn)&&void 0!==E?E:null==a||null===(k=a.locale)||void 0===k||null===(q=k.options)||void 0===q?void 0:q.weekStartsOn)&&void 0!==D?D:G.weekStartsOn)&&void 0!==S?S:null===(N=G.locale)||void 0===N||null===(O=N.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==U?U:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!z.localize)throw new RangeError("locale must contain localize property");if(!z.formatLong)throw new RangeError("locale must contain formatLong property");var W=e(r);if(!m(W))throw new RangeError("Invalid time value");var _=c(W),F=d(W,_),I={firstWeekContainsDate:X,weekStartsOn:R,locale:z,_originalDate:W};return L.match(H).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,s[e])(t,z.formatLong):t})).join("").match(Q).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return function(t){var e=t.match(B);if(!e)return t;return e[1].replace(Y,"'")}(t);var o=P[e];if(o)return null!=a&&a.useAdditionalWeekYearTokens||!l(t)||f(t,n,String(r)),null!=a&&a.useAdditionalDayOfYearTokens||!h(t)||f(t,n,String(r)),o(F,t,z.localize,I);if(e.match(j))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("")}export{X as f};
|
|
1
|
+
import{r as t,t as e}from"./index-708c40c0.js";import{a as r,b as n,c as a,d as o,e as i,t as u,f as c,s as d,l as s,i as l,h as f,j as h,g}from"./index-5ae8bb7c.js";function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function m(r){if(t(1,arguments),!function(e){return t(1,arguments),e instanceof Date||"object"===w(e)&&"[object Date]"===Object.prototype.toString.call(e)}(r)&&"number"!=typeof r)return!1;var n=e(r);return!isNaN(Number(n))}var v=864e5;function b(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var y=function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return b("yy"===e?n%100:n,e.length)},x=function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):b(r+1,2)},T=function(t,e){return b(t.getUTCDate(),e.length)},M=function(t,e){return b(t.getUTCHours()%12||12,e.length)},C=function(t,e){return b(t.getUTCHours(),e.length)},p=function(t,e){return b(t.getUTCMinutes(),e.length)},U=function(t,e){return b(t.getUTCSeconds(),e.length)},S=function(t,e){var r=e.length,n=t.getUTCMilliseconds();return b(Math.floor(n*Math.pow(10,r-3)),e.length)},D="midnight",E="noon",k="morning",q="afternoon",N="evening",O="night";function L(t,e){var r=t>0?"-":"+",n=Math.abs(t),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var i=e||"";return r+String(a)+i+b(o,2)}function G(t,e){return t%60==0?(t>0?"-":"+")+b(Math.abs(t)/60,2):z(t,e)}function z(t,e){var r=e||"",n=t>0?"-":"+",a=Math.abs(t);return n+b(Math.floor(a/60),2)+r+b(a%60,2)}var P={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return y(t,e)},Y:function(t,e,n,a){var o=r(t,a),i=o>0?o:1-o;return"YY"===e?b(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):b(i,e.length)},R:function(t,e){return b(n(t),e.length)},u:function(t,e){return b(t.getUTCFullYear(),e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return b(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return b(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return x(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return b(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var o=a(t,n);return"wo"===e?r.ordinalNumber(o,{unit:"week"}):b(o,e.length)},I:function(t,e,r){var n=o(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):b(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):T(t,e)},D:function(r,n,a){var o=function(r){t(1,arguments);var n=e(r),a=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var o=a-n.getTime();return Math.floor(o/v)+1}(r);return"Do"===n?a.ordinalNumber(o,{unit:"dayOfYear"}):b(o,n.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return b(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return b(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),a=0===n?7:n;switch(e){case"i":return String(a);case"ii":return b(a,e.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,a=t.getUTCHours();switch(n=12===a?E:0===a?D:a/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,a=t.getUTCHours();switch(n=a>=17?N:a>=12?q:a>=4?k:O,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return M(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):C(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):b(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):b(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):p(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):U(t,e)},S:function(t,e){return S(t,e)},X:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return G(a);case"XXXX":case"XX":return z(a);default:return z(a,":")}},x:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return G(a);case"xxxx":case"xx":return z(a);default:return z(a,":")}},O:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+L(a,":");default:return"GMT"+z(a,":")}},z:function(t,e,r,n){var a=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+L(a,":");default:return"GMT"+z(a,":")}},t:function(t,e,r,n){var a=n._originalDate||t;return b(Math.floor(a.getTime()/1e3),e.length)},T:function(t,e,r,n){return b((n._originalDate||t).getTime(),e.length)}},Q=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,H=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,B=/^'([^]*?)'?$/,Y=/''/g,j=/[a-zA-Z]/;function X(r,n,a){var o,w,v,b,y,x,T,M,C,p,U,S,D,E,k,q,N,O;t(2,arguments);var L=String(n),G=g(),z=null!==(o=null!==(w=null==a?void 0:a.locale)&&void 0!==w?w:G.locale)&&void 0!==o?o:i,X=u(null!==(v=null!==(b=null!==(y=null!==(x=null==a?void 0:a.firstWeekContainsDate)&&void 0!==x?x:null==a||null===(T=a.locale)||void 0===T||null===(M=T.options)||void 0===M?void 0:M.firstWeekContainsDate)&&void 0!==y?y:G.firstWeekContainsDate)&&void 0!==b?b:null===(C=G.locale)||void 0===C||null===(p=C.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==v?v:1);if(!(X>=1&&X<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=u(null!==(U=null!==(S=null!==(D=null!==(E=null==a?void 0:a.weekStartsOn)&&void 0!==E?E:null==a||null===(k=a.locale)||void 0===k||null===(q=k.options)||void 0===q?void 0:q.weekStartsOn)&&void 0!==D?D:G.weekStartsOn)&&void 0!==S?S:null===(N=G.locale)||void 0===N||null===(O=N.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==U?U:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!z.localize)throw new RangeError("locale must contain localize property");if(!z.formatLong)throw new RangeError("locale must contain formatLong property");var W=e(r);if(!m(W))throw new RangeError("Invalid time value");var _=c(W),F=d(W,_),I={firstWeekContainsDate:X,weekStartsOn:R,locale:z,_originalDate:W};return L.match(H).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,s[e])(t,z.formatLong):t})).join("").match(Q).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return function(t){var e=t.match(B);if(!e)return t;return e[1].replace(Y,"'")}(t);var o=P[e];if(o)return null!=a&&a.useAdditionalWeekYearTokens||!l(t)||f(t,n,String(r)),null!=a&&a.useAdditionalDayOfYearTokens||!h(t)||f(t,n,String(r)),o(F,t,z.localize,I);if(e.match(j))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("")}export{X as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e,a as t}from"./index-
|
|
1
|
+
import{b as e,a as t}from"./index-45585523.js";import{r,t as n}from"./index-708c40c0.js";import{t as a}from"./index-5ae8bb7c.js";import{m as i,a as o}from"./index-2b1df0ee.js";function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(i,o){if(r(2,arguments),!o||"object"!==u(o))return new Date(NaN);var s=o.years?a(o.years):0,f=o.months?a(o.months):0,l=o.weeks?a(o.weeks):0,m=o.days?a(o.days):0,c=o.hours?a(o.hours):0,d=o.minutes?a(o.minutes):0,N=o.seconds?a(o.seconds):0,D=n(i),p=f||s?e(D,f+12*s):D,g=m||l?t(p,m+7*l):p,v=1e3*(N+60*(d+60*c));return new Date(g.getTime()+v)}function f(e,t){var n;r(1,arguments);var u=a(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==u&&1!==u&&0!==u)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var s,f=function(e){var t,r={},n=e.split(l.dateTimeDelimiter);if(n.length>2)return r;/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],l.timeZoneDelimiter.test(r.date)&&(r.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length)));if(t){var a=l.timezone.exec(t);a?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t}return r}(e);if(f.date){var v=function(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var a=n[1]?parseInt(n[1]):null,i=n[2]?parseInt(n[2]):null;return{year:null===i?a:100*i,restDateString:e.slice((n[1]||n[2]).length)}}(f.date,u);s=function(e,t){if(null===t)return new Date(NaN);var r=e.match(m);if(!r)return new Date(NaN);var n=!!r[4],a=N(r[1]),i=N(r[2])-1,o=N(r[3]),u=N(r[4]),s=N(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,u,s)?function(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var a=n.getUTCDay()||7,i=7*(t-1)+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}(t,u,s):new Date(NaN);var f=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(p[t]||(g(e)?29:28))}(t,i,o)&&function(e,t){return t>=1&&t<=(g(e)?366:365)}(t,a)?(f.setUTCFullYear(t,i,Math.max(a,o)),f):new Date(NaN)}(v.restDateString,v.year)}if(!s||isNaN(s.getTime()))return new Date(NaN);var y,w=s.getTime(),T=0;if(f.time&&(T=function(e){var t=e.match(c);if(!t)return NaN;var r=D(t[1]),n=D(t[2]),a=D(t[3]);if(!function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,n,a))return NaN;return r*i+n*o+1e3*a}(f.time),isNaN(T)))return new Date(NaN);if(!f.timezone){var b=new Date(w+T),h=new Date(0);return h.setFullYear(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),h.setHours(b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds()),h}return y=function(e){if("Z"===e)return 0;var t=e.match(d);if(!t)return 0;var r="+"===t[1]?-1:1,n=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return r*(n*i+a*o)}(f.timezone),isNaN(y)?new Date(NaN):new Date(w+T+y)}var l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},m=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,d=/^([+-])(\d{2})(?::?(\d{2}))?$/;function N(e){return e?parseInt(e):1}function D(e){return e&&parseFloat(e.replace(",","."))||0}var p=[31,null,31,30,31,30,31,31,30,31,30,31];function g(e){return e%400==0||e%4==0&&e%100!=0}function v(e,n){return r(2,arguments),function(e,n){r(2,arguments);var i=a(n);return t(e,7*i)}(e,-a(n))}export{s as a,f as p,v as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t,p as n,q as a,r as i,u as r,v as o,w as u,k as s}from"./index-88eee402.js";import{r as l}from"./index-4295ceb3.js";var d={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},m={date:e({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},c={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},h={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},g={narrow:h.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:h.wide},v={code:"de",formatDistance:function(e,t,n){var a,i=null!=n&&n.addSuffix?d[e].withPreposition:d[e].standalone;return a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},formatLong:m,formatRelative:function(e,t,n,a){return c[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:t({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:t({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t({values:h,formattingValues:g,defaultWidth:"wide"}),day:t({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:t({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:n({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:a({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:a({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:a({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:a({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:a({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},f={code:"en-GB",formatDistance:i,formatLong:{date:e({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:r,localize:o,match:u,options:{weekStartsOn:1,firstWeekContainsDate:4}};function w(e,t,n){l(2,arguments);var a=s(e,n),i=s(t,n);return a.getTime()===i.getTime()}function p(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,a=t%100;return 1===n&&11!==a?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function M(e){return function(t,n){return null!=n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?p(e.future,t):"через "+p(e.regular,t):e.past?p(e.past,t):p(e.regular,t)+" назад":p(e.regular,t)}}var b={lessThanXSeconds:M({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:M({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 null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:M({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:M({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:M({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:M({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:M({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:M({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:M({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:M({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:M({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:M({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:M({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:M({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:M({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},y={date:e({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:e({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},W=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function G(e){var t=W[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}var P={lastWeek:function(e,t,n){var a=e.getUTCDay();return w(e,t,n)?G(a):function(e){var t=W[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(a)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var a=e.getUTCDay();return w(e,t,n)?G(a):function(e){var t=W[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(a)},other:"P"},N={code:"ru",formatDistance:function(e,t,n){return b[e](t,n)},formatLong:y,formatRelative:function(e,t,n,a){var i=P[e];return"function"==typeof i?i(t,n,a):i},localize:{ordinalNumber:function(e,t){var n=Number(e),a=null==t?void 0:t.unit;return n+("date"===a?"-е":"week"===a||"minute"===a||"second"===a?"-я":"-й")},era:t({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:t({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:t({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:t({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:t({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"})},match:{ordinalNumber:n({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:a({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:a({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:a({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:a({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:a({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}};export{v as d,f as e,w as i,N as r};
|
|
1
|
+
import{n as e,o as t,p as n,q as a,r as i,u as r,v as o,w as u,k as s}from"./index-5ae8bb7c.js";import{r as l}from"./index-708c40c0.js";var d={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},m={date:e({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},c={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},h={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},g={narrow:h.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:h.wide},v={code:"de",formatDistance:function(e,t,n){var a,i=null!=n&&n.addSuffix?d[e].withPreposition:d[e].standalone;return a="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:"vor "+a:a},formatLong:m,formatRelative:function(e,t,n,a){return c[e]},localize:{ordinalNumber:function(e){return Number(e)+"."},era:t({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:t({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t({values:h,formattingValues:g,defaultWidth:"wide"}),day:t({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:t({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:n({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:a({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:a({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:a({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:a({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:a({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},f={code:"en-GB",formatDistance:i,formatLong:{date:e({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:r,localize:o,match:u,options:{weekStartsOn:1,firstWeekContainsDate:4}};function w(e,t,n){l(2,arguments);var a=s(e,n),i=s(t,n);return a.getTime()===i.getTime()}function p(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,a=t%100;return 1===n&&11!==a?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function M(e){return function(t,n){return null!=n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?p(e.future,t):"через "+p(e.regular,t):e.past?p(e.past,t):p(e.regular,t)+" назад":p(e.regular,t)}}var b={lessThanXSeconds:M({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:M({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 null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:M({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:M({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:M({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:M({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:M({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:M({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:M({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:M({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:M({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:M({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:M({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:M({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:M({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},y={date:e({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:e({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},W=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function G(e){var t=W[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}var P={lastWeek:function(e,t,n){var a=e.getUTCDay();return w(e,t,n)?G(a):function(e){var t=W[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(a)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(e,t,n){var a=e.getUTCDay();return w(e,t,n)?G(a):function(e){var t=W[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(a)},other:"P"},N={code:"ru",formatDistance:function(e,t,n){return b[e](t,n)},formatLong:y,formatRelative:function(e,t,n,a){var i=P[e];return"function"==typeof i?i(t,n,a):i},localize:{ordinalNumber:function(e,t){var n=Number(e),a=null==t?void 0:t.unit;return n+("date"===a?"-е":"week"===a||"minute"===a||"second"===a?"-я":"-й")},era:t({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:t({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:t({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:t({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:t({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"})},match:{ordinalNumber:n({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:a({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:a({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:a({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:a({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:a({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}};export{v as d,f as e,w as i,N as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as n,p as t,q as o}from"./index-88eee402.js";import{i}from"./index-37314f75.js";var a={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},r={date:e({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:e({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],d={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(e){var n=e.getUTCDay();return"'v "+u[n]+" o' p"},other:"P"},p={code:"cs",formatDistance:function(e,n,t){var o,i=a[e];o="other"===i.type?i.other:1===n?i.one:n>1&&n<5?i.few:i.many;var r=!0===(null==t?void 0:t.addSuffix),u=null==t?void 0:t.comparison;return(r&&-1===u?o.past:r&&1===u?o.future:o.regular).replace("{{count}}",String(n))},formatLong:r,formatRelative:function(e,n){var t=d[e];return"function"==typeof t?t(n):t},localize:{ordinalNumber:function(e,n){return Number(e)+"."},era:n({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:n({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:n({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:n({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:t({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},s={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function l(e,n,t){var o=function(e,n){if(1===n)return e.one;var t=n%100;if(t<=20&&t>10)return e.other;var o=t%10;return o>=2&&o<=4?e.twoFour:e.other}(e,n);return("string"==typeof o?o:o[t]).replace("{{count}}",String(n))}var c={date:e({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},m={masculine:"ostatni",feminine:"ostatnia"},f={masculine:"ten",feminine:"ta"},w={masculine:"następny",feminine:"następna"},g={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function k(e,n,t,o){var a;if(i(n,t,o))a=f;else if("lastWeek"===e)a=m;else{if("nextWeek"!==e)throw new Error("Cannot determine adjectives for token ".concat(e));a=w}var r=n.getUTCDay(),u=a[g[r]];return"'".concat(u,"' eeee 'o' p")}var h={lastWeek:k,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:k,other:"P"},y={code:"pl",formatDistance:function(e,n,t){var o=s[e];return null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"za "+l(o,n,"future"):l(o,n,"past")+" temu":l(o,n,"regular")},formatLong:c,formatRelative:function(e,n,t,o){var i=h[e];return"function"==typeof i?i(e,n,t,o):i},localize:{ordinalNumber:function(e,n){return String(e)},era:n({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},defaultWidth:"wide"}),quarter:n({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:n({values:{narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:n({values:{narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:t({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};export{p as c,y as p};
|
|
1
|
+
import{n as e,o as n,p as t,q as o}from"./index-5ae8bb7c.js";import{i}from"./index-c247ab24.js";var a={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},r={date:e({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:e({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],d={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(e){var n=e.getUTCDay();return"'v "+u[n]+" o' p"},other:"P"},p={code:"cs",formatDistance:function(e,n,t){var o,i=a[e];o="other"===i.type?i.other:1===n?i.one:n>1&&n<5?i.few:i.many;var r=!0===(null==t?void 0:t.addSuffix),u=null==t?void 0:t.comparison;return(r&&-1===u?o.past:r&&1===u?o.future:o.regular).replace("{{count}}",String(n))},formatLong:r,formatRelative:function(e,n){var t=d[e];return"function"==typeof t?t(n):t},localize:{ordinalNumber:function(e,n){return Number(e)+"."},era:n({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:n({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:n({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:n({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:t({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},s={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function l(e,n,t){var o=function(e,n){if(1===n)return e.one;var t=n%100;if(t<=20&&t>10)return e.other;var o=t%10;return o>=2&&o<=4?e.twoFour:e.other}(e,n);return("string"==typeof o?o:o[t]).replace("{{count}}",String(n))}var c={date:e({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:e({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:e({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},m={masculine:"ostatni",feminine:"ostatnia"},w={masculine:"ten",feminine:"ta"},f={masculine:"następny",feminine:"następna"},g={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function k(e,n,t,o){var a;if(i(n,t,o))a=w;else if("lastWeek"===e)a=m;else{if("nextWeek"!==e)throw new Error("Cannot determine adjectives for token ".concat(e));a=f}var r=n.getUTCDay(),u=a[g[r]];return"'".concat(u,"' eeee 'o' p")}var h={lastWeek:k,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:k,other:"P"},y={code:"pl",formatDistance:function(e,n,t){var o=s[e];return null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"za "+l(o,n,"future"):l(o,n,"past")+" temu":l(o,n,"regular")},formatLong:c,formatRelative:function(e,n,t,o){var i=h[e];return"function"==typeof i?i(e,n,t,o):i},localize:{ordinalNumber:function(e,n){return String(e)},era:n({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},defaultWidth:"wide"}),quarter:n({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:n({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:n({values:{narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:n({values:{narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:t({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:o({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};export{p as c,y as p};
|