r3ui-lib 1.3.18 → 1.3.19
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/login.es.js +1242 -1220
- package/dist/login.umd.js +5 -5
- package/dist/r3ui-lib.css +1 -1
- package/dist/r3ui-lib.es.js +6895 -6838
- package/dist/r3ui-lib.umd.js +30 -30
- package/dist/types/components/SsoLoginScreen.vue.d.ts.map +1 -1
- package/dist/types/components/form/CustomInput.vue.d.ts.map +1 -1
- package/dist/types/components/form/PasswordInput.vue.d.ts.map +1 -1
- package/dist/types/components/form/VSelect.vue.d.ts +2 -0
- package/dist/types/components/form/VSelect.vue.d.ts.map +1 -1
- package/dist/types/components/modals/ConfirmationModal.vue.d.ts +1 -1
- package/dist/types/components/modals/ConfirmationModal.vue.d.ts.map +1 -1
- package/dist/types/components/notifications/ErrorMessageComponent.vue.d.ts.map +1 -1
- package/dist/types/composables/forms/useFieldError.d.ts +10 -0
- package/dist/types/composables/forms/useFieldError.d.ts.map +1 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/login.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as mt, useId as ds, watch as cs, onDeactivated as cr, computed as ue, createElementBlock as R, openBlock as P, withKeys as hs, createElementVNode as Y, withModifiers as kt, unref as ze, createTextVNode as fs, toDisplayString as G, createCommentVNode as Ne, Fragment as hr, renderList as ms, normalizeClass as pe, defineComponent as ke, normalizeStyle as tr, renderSlot as Qe, createVNode as xe, createBlock as fr, withCtx as rr, nextTick as ys, onMounted as _s, onUnmounted as gs, onActivated as ws } from "vue";
|
|
2
|
+
const tt = (e, t) => {
|
|
3
3
|
const r = e.__vccOpts || e;
|
|
4
4
|
for (const [s, n] of t)
|
|
5
5
|
r[s] = n;
|
|
6
6
|
return r;
|
|
7
|
-
},
|
|
7
|
+
}, ps = ["aria-expanded", "aria-controls"], ks = ["aria-expanded", "aria-controls"], Ss = { style: { "border-bottom": "2px solid #000" } }, vs = { class: "dropdown-list-wrapper" }, Ms = ["id"], Ds = ["disabled", "onClick"], Ys = {
|
|
8
8
|
__name: "DefaultDropDown",
|
|
9
9
|
props: {
|
|
10
10
|
links: {
|
|
@@ -24,85 +24,85 @@ const Je = (e, t) => {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
setup(e) {
|
|
27
|
-
const t = e, r =
|
|
27
|
+
const t = e, r = mt(!1), s = mt(null), n = mt(null), a = ds(), i = () => {
|
|
28
28
|
r.value = !r.value;
|
|
29
|
-
},
|
|
30
|
-
r.value = !1,
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
s.value?.contains(
|
|
35
|
-
},
|
|
36
|
-
!r.value ||
|
|
29
|
+
}, o = (p = !1) => {
|
|
30
|
+
r.value = !1, p && n.value?.focus({ preventScroll: !0 });
|
|
31
|
+
}, c = (p) => {
|
|
32
|
+
o(!0), typeof p == "function" && p();
|
|
33
|
+
}, f = (p) => {
|
|
34
|
+
s.value?.contains(p.relatedTarget) || o();
|
|
35
|
+
}, O = (p) => {
|
|
36
|
+
!r.value || p.isComposing || (p.preventDefault(), p.stopPropagation(), o(!0));
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
if (!
|
|
40
|
-
const
|
|
41
|
-
s.value?.contains(
|
|
38
|
+
cs(r, (p, se, B) => {
|
|
39
|
+
if (!p) return;
|
|
40
|
+
const x = s.value.ownerDocument, De = (Ye) => {
|
|
41
|
+
s.value?.contains(Ye.target) || o();
|
|
42
42
|
};
|
|
43
|
-
|
|
44
|
-
() =>
|
|
43
|
+
x.addEventListener("pointerdown", De, !0), B(
|
|
44
|
+
() => x.removeEventListener("pointerdown", De, !0)
|
|
45
45
|
);
|
|
46
|
-
}),
|
|
47
|
-
const
|
|
48
|
-
return (
|
|
46
|
+
}), cr(() => o());
|
|
47
|
+
const b = ue(() => t.type === "profile");
|
|
48
|
+
return (p, se) => (P(), R("div", {
|
|
49
49
|
ref_key: "wrapperRef",
|
|
50
50
|
ref: s,
|
|
51
51
|
class: "custom-dropdown",
|
|
52
|
-
onFocusout:
|
|
53
|
-
onKeydown:
|
|
52
|
+
onFocusout: f,
|
|
53
|
+
onKeydown: hs(O, ["esc"])
|
|
54
54
|
}, [
|
|
55
|
-
|
|
55
|
+
b.value ? (P(), R("button", {
|
|
56
56
|
key: 0,
|
|
57
57
|
ref_key: "triggerRef",
|
|
58
58
|
ref: n,
|
|
59
59
|
type: "button",
|
|
60
60
|
class: "dropdown-trigger cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",
|
|
61
61
|
"aria-expanded": r.value,
|
|
62
|
-
"aria-controls":
|
|
63
|
-
onClick:
|
|
62
|
+
"aria-controls": ze(a),
|
|
63
|
+
onClick: kt(i, ["stop"])
|
|
64
64
|
}, [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
], 8,
|
|
65
|
+
se[0] || (se[0] = Y("div", { class: "circl" }, null, -1)),
|
|
66
|
+
fs(" " + G(e.title), 1)
|
|
67
|
+
], 8, ps)) : (P(), R("button", {
|
|
68
68
|
key: 1,
|
|
69
69
|
ref_key: "triggerRef",
|
|
70
70
|
ref: n,
|
|
71
71
|
class: "dropdown-trigger link-dark",
|
|
72
72
|
type: "button",
|
|
73
73
|
"aria-expanded": r.value,
|
|
74
|
-
"aria-controls":
|
|
75
|
-
onClick:
|
|
74
|
+
"aria-controls": ze(a),
|
|
75
|
+
onClick: kt(i, ["stop"])
|
|
76
76
|
}, [
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Y("span", Ss, G(e.title), 1),
|
|
78
|
+
se[1] || (se[1] = Y("i", {
|
|
79
79
|
class: "bi bi-chevron-up dropdown-edit",
|
|
80
80
|
style: { "font-size": "12px", "padding-inline-start": "5px" }
|
|
81
81
|
}, null, -1))
|
|
82
|
-
], 8,
|
|
83
|
-
|
|
84
|
-
r.value ? (
|
|
82
|
+
], 8, ks)),
|
|
83
|
+
Y("div", vs, [
|
|
84
|
+
r.value ? (P(), R("ul", {
|
|
85
85
|
key: 0,
|
|
86
|
-
id:
|
|
86
|
+
id: ze(a),
|
|
87
87
|
class: "custom-dropdown-menu"
|
|
88
88
|
}, [
|
|
89
|
-
(
|
|
90
|
-
B.hidden ?
|
|
89
|
+
(P(!0), R(hr, null, ms(e.links, (B, x) => (P(), R("li", { key: x }, [
|
|
90
|
+
B.hidden ? Ne("", !0) : (P(), R("button", {
|
|
91
91
|
key: 0,
|
|
92
92
|
type: "button",
|
|
93
|
-
class:
|
|
93
|
+
class: pe(["dropdown-item", { disabled: B?.disabled }]),
|
|
94
94
|
disabled: !!B?.disabled,
|
|
95
|
-
onClick: (
|
|
96
|
-
},
|
|
95
|
+
onClick: (De) => c(B?.action)
|
|
96
|
+
}, G(B?.title), 11, Ds))
|
|
97
97
|
]))), 128))
|
|
98
|
-
], 8,
|
|
98
|
+
], 8, Ms)) : Ne("", !0)
|
|
99
99
|
])
|
|
100
100
|
], 544));
|
|
101
101
|
}
|
|
102
|
-
},
|
|
102
|
+
}, Os = /* @__PURE__ */ tt(Ys, [["__scopeId", "data-v-ffaf1261"]]), bs = "data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg2+32ztey+YRx3gbkmB2u63rFYvEegB4AEFGFiHbq9XrrnE2bS+QzzRxBzjg7AKzQ4fVOp/Ptedk0j8hJM2f45ptvloUQ34WPMfNmqVRayeOck0Huns0ZXrx4sQkgQg4iWpYxT44TQE6a+cSm5phj2/bjM7dkDpGTZj5RSTjerNfrzplaMofISTNncBynAiCRGMy8eobmzCVy0swRQonO1NO+/vrr6pkYNKfISTMnsG27KeXmJNdsjFKpdOsMTJpbFM7bgBzHh+M41uHh4UPDMJrIQJYRhBB5fdoMyEnziWFpaalCRPcNw1geDAZVwzCsyd+KYH17e3vrVIz7gyBPbl5gOI5jDYfDqu/7t4ioSkQOpphRFPSZeb3b7a6dpI1/ROSkuSCo1WpVZr4ryVFFQI5pZxEVfQA9IcTmwsLC07wi4GSQk+YcUa/XHWa+D6CB2QkCAB4z95jZBdDL3bDTQU6ac4AkyypS8ikZMCYIEXmlUmkrn0nOBjlpzhAyj/IExyNLH0AbQI+Z3W63++5krcuRFTlpzgi2bTcBrGJ6N8wVQrRyV+viICfNGaBer7eOUb7i+r6/kq/5v3jISXPKmJYwzOwxcyOfWS4uYqRxHMc6ODjI7EJMMxIuLS0dN8cw1bVqtVoVwXr5v4yOMXPfNM3vp9knbGTvcUd7uVvMk6znn/ZiMd4tOyjgbuSggEc39o+9/RO/LVcg6D6YqxBcBSjoOwQPDA8GXPzfwTO63Z/4m3i3XEEBD7NfHO9A8OjL/an3fuMdy8KlxWWAb4GoCpb5L4IHcB9Emxhgi27ux/77GGlG+2lNaUOPmXtCiLWkDiYVo0nFhKnwff9aUvsyEdhk5kdIiRvkPmGbvu9vTCLD0tJSxTCM1W63uzKtrZpdYlLBzK3TTDzybrkCEzp7PLq+f+1Y7RXwBJxJ1PDAeEo39lP7Ff/zi2Uoq04zgagPwRuT2gckWT5bbMKgR2CeNDlo7Y4VbMqs87SoElHDMIznSbOJEOKu7nhWMLOXRsjBYLAj3aDUG0FEFQDNNFtHePXqlUdEy47jTJ1DGQwGy7gghAEAGGgk2FPhHWuq38dvLjdRoJ2MhAGACgirvFdOn3WZj9dHmK2g/f9OXWTHu+UKLi3ugLCagTBAgt26Kudjl40TUcU0zaQbM2s5unY7IhkzZB7RRyCiShbiAOgfHR09mqZtiUzfOQvC8G65AkJyXFUqZr53/EO5BebH2k7H8ADqAXAB0rljjfSOzTP2EWrybllLZN67UkWBkqvAA9uTXMiI3ZGCTRkLRG4GM29C02GJyEJABNVIp16vO2rsoJnBerLtTDAMIxYY27bdTAiyXSHEJhFtAfgFwOcIZsNVhG5aiOT3Ui7dJ6Km4zgbWWMN6Zpl6YhnUwtmphAGABbMW0gYlMLgN5eb0N1vRgtFatNff47kjni33ICBVVC4o1KTd8vP6KYmDlFnLqJNgNf11hgWWDSh9j+T7wOItM275QrgfwdWvBCGB+Ymfj/cGsVc0o1dRVClETZmbHeENKZpVoQQkVMHg8Ha69evE2+oLtj1ff9W2HDZiSIGCyHa29vbG0ntToJsUx21+oZhrMjNJcJ4h6BTtG3bbgORYFNL8hB6AKpHR0ePAWSKbXzfnzhiMrPX7XZPfWsl3rtSBfxoByDaBPPy+L3gKoBUMYB3yxUwR+83wwOZD+jGT9r+QTf327x3pQcSzyMzk65jB3ZGG/BFm756n6gi8tvKFoaHbyNts2YmKdBjMEePM9r47eBbVaCQgf8K/1D2QIjGSAGZ3Ih7pos70ggDAN1ut60ek7PQGLpONBwOZ5JUZWY9jL7v+7c1hImgWCw2oezWIuu/tBBCjDbga9y5c6eZxbbhcPiXtM9H+y5naWt2+Gpg3Qbzs6hBGVzb2GxFfQjco+t6wozPuv5TTzNbNGInmpqY1xepVQ90zesDHL2+0vd4r9yIDBAAwPDoxv5KmqJHN/bXoBAbgMM7lqWup1E790QpT474qedoyNifRMY0SCVOdfeaWaRh13X7tm2vAbgvt2/1kOKaSBcPAGAYxuM7d+5ge3s7wWUYf2eSGNFSbR2pf0IIPimXjffK8eDfxxpM04qM6kFVdXI7u+UK1I4uRItuvs8mxRcWNzA47IPIA9M7FMQvsXN8NZ7hPv3P/6b2kWD2U9wz5igRCA/ByhdFqjsexlOo7t+fFu6qpInFHZNaHQwGOn9Z/Z76p8y0x7AQ4hHRR7VcujqZcw2dTmcdQGrHH6Hb7fZs2+5DxnqGYTyu1Wq30uR1qdAlYV19LEZYniYiF8DMpJGKmPLf8DrdfO/x24qFQcQVqvCOZSWOvOosw/Doq/eZXetgRkD6+URVcLh30+Q+YlITMUbQ2NPQkgpo63IvCRfoxVzGAn2caaQIEIEsMddCjowtZm4o3/G63e4z5XS1batWq2XOkodHXvlQo8h0e4y80rRoAxi7ZkTUME2zUavV2qZpPjNN080iEjCzVyqVYoQI53NYHSmPi88Wo0ugGR4EbQBBJ+Y3l/uRWCBQ0JI6qhKgT/ZApkFA4oNoH0m4Bu9YFv5jsQpgFaq3wfAg8NHtL9F9+Aqp/CkGJN/vw4wfDs80uil6eUQmIrJY3mQiqkp1KOaGMEf9V50ih0DJyiov9hAaeX3fj0mKvu+faskJET1j5lg8Q0QNIURDCAHbtl3DMDZevHixycxWeCYcgZkbKrlqtZrqQs2803+CxNxSRlgP4f88QUGTAXp05iTE4tjg3D9XQebk/MevB73IrDY80PQFakr3MozADnVyGRsQzKTj90KNZbiX2aUEgAIqumuNSUNEsUCMiBrK+9RrMHNLo4jNmp+JjDhy6W/4UD/JTbJtO+n2Rr7f6XQ+Tzvh5cuXrm3bLtJL+h3f9z0AmwkxTdLa/IgIIYSY/YlmOndKLZVh7iH83yQpaAZXIJRjvx58r70uFZ6AM+RaSsXbCBPUoFuxGSEYoDMmXakPIVpxl5GqEYZNO0OSYYGVH8/wwurZLJ3bFUI4ugBWR8Ypcaz4SOduZmxfi2KxuIJgdE7D6HM11+UVi0WtWxCKf/pCiExiRhqCmSGmTsXdV1OJGZIUNOKYEpgY+2QhjC7AF8dcjMfwwGjh/3+/phKG31YsTQJ2unsrRFxV/fXg+wIwjhPUHzxSlkaI/TAhRJOINicsiIq0KxOamaRbACiVSh/C79VRPCkGkOvts1wiE2lc1/Ucx7k3oZ5s1FbkcyJqJcU8zNwCgJNbealIzAwPJWzx23LUZnX2SHKXRbaOx2/KTqLbFL1Q/H7HyeaCpQtIZMlKAUW942aqGHFwYMXiESMx458EVZnr0e1+vwAAw+EwdsOEEJHydF0BIhE53W430XAdGZnZ3d7ePvVVh4ZhEPSSeeRGpIkdKiYRZzAYvJO/edzRmLmdpuxpRJNjQysxEyoY4K3mbPVAuoIWOk97dAhP1rdFESQIK6H3mmy92iZv0o33kXsWSzYaaPHf/7w1SZaOID4AJEJ7L0HrwaUxzuBHsLCwEPFbXdf1iCiSESeiZdu2E0u5dWTE7IFuZKRLknc7nc56p9O5F35JFysCIYTeP09A6KljkWCYmb3Xr1/31N8shDiTLZP0EvOU0NWgMWIDHP/rctxlu7nv0Y39p+pLTTbCV5KRRSPeRyg+G8WTjWShaCbWsell5WziU+K9lMqcEdhI6ujr6VwFWWqiKifrSVXAOjKewOIq1a5q1ipkTWVCooiQBtd1vU6ns8LM4TjHldcY/2Zmbp/ZyktVYj4OAgVNgRkf5IZiOX5eHLx3pRqLK34/jP7/mspm+nJf30ficrGTVKApoXgRvJypovvSn6KzIwDwR/VxRJrMyUciUl0NK6kKWFOkObO+T0QxdyYhwRqDpjJhplmv2+22O53ONWZeMU3zGQAYhjHuUMyslWZPGlqJOVDH2qkvVuITEQ/k6fpPPZAaC1BTulXpIBHLo8TdP+WazMl9LyjyjPahtGLUmFpGFi4tpq7X4b3L6wBH+zPDw28H4zCkoKvITfPzdfJrUhWwxnWaOQchr+8hOhI06/X6h5cvX2qTnMr+YmNME8+kYVR/J+MZR7btndmSZY3EDEEPJmW++c3lx4jkn5LKf3gdUQWuAhPP+Z/lVnhV5jjxKODAwN1Y8lGtEwuuqcjCEyoBTNqEH2nX4d2yo62aLixuYHjYVGY7h/fKb0FYGa345B3Lwn9+5kD4q9rlCWQ+CJO9kFCRm2q4YRjrQkRGEevw8PAhQqUSCYpcw7btTFP7CMzsqOqcYRjfap4ruVqr1R5K2/vAmLRVTlhwdFKkGeHo6Gh5pNgR0Zm4Zdq6MDXJlwQDnlIlond1CosbODpoREv8UYFAG5cWwW8u9+V1LTCC9cA6JU0VAfauVMG+Wq6f/p8YC08hDlvRqumg+jh2uWten/9xeQ0G1NinAsZz3isHqz6ZLQgB7ZYZjIZaxW1kEQFUmKa5BSW2MAwj8scliAAWghki80snZ8use2xWkY8CXyaihkzMOkhOkPUm/c5pQUThaf0kdsycjGAJ80dMUxfGpN5brctF17w+BO7F3LlxO6zLiahow1dda82APfRT/xNZx6a6vYmxDX318zpYk6caIcluhgeYt3X7Jxi6xWGT8gWu6/bVchkA1fCj6WZd3jy6VNIH3W53TUecjG02Op3O7ZPcwEL+9nAnqNbr9VOtidPLoikdRMVAxMtmNMoYINWooDp4ijiN+mC04OMaXd9fibmLRMqAPbmyGQAw5LhMbyYv76Ab+2vwsZJIep3Nvx3cTlr2UGDmD7KyNjA7o8tiGMaWeq4kiguMk5AzuT9CiNS1Md1ud81xnKdSCBjtQKNivAl4hkTsscHMMemdmVdt277r+/6KYRiWEOJYal0i/HhuZJqdZejmvsc/KPVdh5yYER4v0Notr8Gk+yA40iUL7eQilzwT9+jLn9NjuiE/gxEKBTimjCbZ4fKbL5YhRHjxWep36eZ+G0Cb33xxH+w7QSxFwQxpUA8sPDD18NvvE3fOmbt9z2q12nikLJVKH85qf2Pbtp8juTbNJaI1IcQT0zS/nbRQLsfFxtyR5qwh1cdHzPy9ugeBRB9Ar1gsPhgMBr8AABHdm2b/tRwXC/mT0GaEdA0rcr1/W850nzPzfxGRF3YHbdsGgNETlnPSfKLISTM7lsNFo5Ikk+KmSZt55LjAyJ/uPAPknmkWEVmTSnnCyiIAMMdL7nN8GshJczJILCUaQVXXWN1SKMcng5w0M0DKx6Pqg2bSwjf5bBq1bH7mkqIc54OcNLNjlOyziOh5eG80x3EsmeCMlbBPuyQhx8VBLjnPCCk57yBeNqMWlY4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e", Ts = ["src", "alt"], xs = /* @__PURE__ */ ke({
|
|
103
103
|
__name: "Logo",
|
|
104
104
|
props: {
|
|
105
|
-
src: { default:
|
|
105
|
+
src: { default: bs },
|
|
106
106
|
alt: { default: "Logo" },
|
|
107
107
|
width: { default: 154 },
|
|
108
108
|
height: { default: 50 },
|
|
@@ -115,38 +115,38 @@ const Je = (e, t) => {
|
|
|
115
115
|
showText: { type: Boolean, default: !0 }
|
|
116
116
|
},
|
|
117
117
|
setup(e) {
|
|
118
|
-
const t = e, r =
|
|
119
|
-
const
|
|
120
|
-
return t.className ? `${
|
|
121
|
-
}), n =
|
|
118
|
+
const t = e, r = ue(() => t.src?.startsWith("~/") ? t.src.replace("~/", "/") : t.src), s = ue(() => {
|
|
119
|
+
const o = "r3ui-logo";
|
|
120
|
+
return t.className ? `${o} ${t.className}` : o;
|
|
121
|
+
}), n = ue(() => ({
|
|
122
122
|
width: typeof t.width == "number" ? `${t.width}px` : t.width,
|
|
123
123
|
height: typeof t.height == "number" ? `${t.height}px` : t.height,
|
|
124
124
|
...t.style
|
|
125
|
-
})), a =
|
|
125
|
+
})), a = ue(() => "r3ui-logo-container"), i = ue(() => ({
|
|
126
126
|
fontSize: typeof t.textSize == "number" ? `${t.textSize}px` : t.textSize,
|
|
127
127
|
color: t.textColor,
|
|
128
128
|
fontWeight: t.textWeight
|
|
129
129
|
}));
|
|
130
|
-
return (
|
|
131
|
-
class:
|
|
130
|
+
return (o, c) => (P(), R("div", {
|
|
131
|
+
class: pe(["r3ui-logo-container", a.value])
|
|
132
132
|
}, [
|
|
133
|
-
|
|
133
|
+
Y("img", {
|
|
134
134
|
src: r.value,
|
|
135
|
-
alt:
|
|
136
|
-
class:
|
|
137
|
-
style:
|
|
138
|
-
}, null, 14,
|
|
139
|
-
|
|
135
|
+
alt: o.alt,
|
|
136
|
+
class: pe(s.value),
|
|
137
|
+
style: tr(n.value)
|
|
138
|
+
}, null, 14, Ts),
|
|
139
|
+
o.brandText && o.brandText.trim() && o.showText ? (P(), R("span", {
|
|
140
140
|
key: 0,
|
|
141
141
|
class: "r3ui-logo-text",
|
|
142
|
-
style:
|
|
143
|
-
},
|
|
142
|
+
style: tr(i.value)
|
|
143
|
+
}, G(o.brandText), 5)) : Ne("", !0)
|
|
144
144
|
], 2));
|
|
145
145
|
}
|
|
146
|
-
}),
|
|
146
|
+
}), mr = /* @__PURE__ */ tt(xs, [["__scopeId", "data-v-57bc5457"]]), Ps = { class: "navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header" }, Ns = { class: "row align-items-center" }, Rs = { class: "col-auto pe-0" }, Ws = { class: "col-auto ps-0 text-wrap mx-3 r3ui-header-label" }, Cs = { class: "row" }, As = { class: "col-auto d-flex align-items-center" }, Ls = {
|
|
147
147
|
key: 1,
|
|
148
148
|
class: "text-muted"
|
|
149
|
-
},
|
|
149
|
+
}, Is = { class: "col-auto" }, Es = /* @__PURE__ */ ke({
|
|
150
150
|
__name: "Header",
|
|
151
151
|
props: {
|
|
152
152
|
isAuthenticated: { type: Boolean, default: !1 },
|
|
@@ -160,73 +160,73 @@ const Je = (e, t) => {
|
|
|
160
160
|
},
|
|
161
161
|
emits: ["navigate", "logout"],
|
|
162
162
|
setup(e, { emit: t }) {
|
|
163
|
-
const r = e, s = t, n =
|
|
163
|
+
const r = e, s = t, n = ue(() => r.rawDropdownLinks.map((a) => a.name === "logout" ? { ...a, action: () => s("logout") } : a.name.includes("http") ? {
|
|
164
164
|
...a,
|
|
165
165
|
action: () => s("navigate", a.name, {
|
|
166
166
|
external: !0
|
|
167
167
|
})
|
|
168
168
|
} : { ...a, action: () => s("navigate", `/${a.name}`) }));
|
|
169
|
-
return (a, i) => (
|
|
170
|
-
|
|
171
|
-
class:
|
|
169
|
+
return (a, i) => (P(), R("div", Ps, [
|
|
170
|
+
Y("div", {
|
|
171
|
+
class: pe([r.isAuthenticated ? "container-fluid" : "container"])
|
|
172
172
|
}, [
|
|
173
|
-
|
|
173
|
+
Y("a", {
|
|
174
174
|
href: "/",
|
|
175
|
-
onClick: i[0] || (i[0] =
|
|
175
|
+
onClick: i[0] || (i[0] = kt(() => s("navigate", "/"), ["prevent"])),
|
|
176
176
|
class: "text-decoration-none r3ui-header-link"
|
|
177
177
|
}, [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
Y("div", Ns, [
|
|
179
|
+
Y("div", Rs, [
|
|
180
|
+
Qe(a.$slots, "logo", {}, () => [
|
|
181
|
+
xe(mr, {
|
|
182
182
|
class: "r3ui-header-logo",
|
|
183
183
|
brandText: r.brandText
|
|
184
184
|
}, null, 8, ["brandText"])
|
|
185
185
|
], !0)
|
|
186
186
|
]),
|
|
187
|
-
|
|
187
|
+
Y("div", Ws, G(r.brandText), 1)
|
|
188
188
|
])
|
|
189
189
|
]),
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
r.isAuthenticated ? (
|
|
190
|
+
Y("div", Cs, [
|
|
191
|
+
Y("div", As, [
|
|
192
|
+
r.isAuthenticated ? (P(), fr(Os, {
|
|
193
193
|
key: 0,
|
|
194
194
|
type: "profile",
|
|
195
195
|
title: r.user?.name || "",
|
|
196
196
|
links: n.value
|
|
197
|
-
}, null, 8, ["title", "links"])) :
|
|
198
|
-
r.isAuthenticated ?
|
|
197
|
+
}, null, 8, ["title", "links"])) : Ne("", !0),
|
|
198
|
+
r.isAuthenticated ? Ne("", !0) : (P(), R("div", Ls, G(r.loginText), 1))
|
|
199
199
|
]),
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
Y("div", Is, [
|
|
201
|
+
Qe(a.$slots, "language-selector", {}, void 0, !0)
|
|
202
202
|
])
|
|
203
203
|
])
|
|
204
204
|
], 2)
|
|
205
205
|
]));
|
|
206
206
|
}
|
|
207
|
-
}),
|
|
207
|
+
}), Fs = /* @__PURE__ */ tt(Es, [["__scopeId", "data-v-a63a7e7f"]]);
|
|
208
208
|
//! moment.js
|
|
209
209
|
//! version : 2.30.1
|
|
210
210
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
211
211
|
//! license : MIT
|
|
212
212
|
//! momentjs.com
|
|
213
|
-
var
|
|
213
|
+
var yr;
|
|
214
214
|
function u() {
|
|
215
|
-
return
|
|
215
|
+
return yr.apply(null, arguments);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
|
|
217
|
+
function Us(e) {
|
|
218
|
+
yr = e;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function F(e) {
|
|
221
221
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function ce(e) {
|
|
224
224
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
225
225
|
}
|
|
226
226
|
function g(e, t) {
|
|
227
227
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Pt(e) {
|
|
230
230
|
if (Object.getOwnPropertyNames)
|
|
231
231
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
232
232
|
var t;
|
|
@@ -235,30 +235,30 @@ function Yt(e) {
|
|
|
235
235
|
return !1;
|
|
236
236
|
return !0;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function W(e) {
|
|
239
239
|
return e === void 0;
|
|
240
240
|
}
|
|
241
241
|
function ee(e) {
|
|
242
242
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Le(e) {
|
|
245
245
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function _r(e, t) {
|
|
248
248
|
var r = [], s, n = e.length;
|
|
249
249
|
for (s = 0; s < n; ++s)
|
|
250
250
|
r.push(t(e[s], s));
|
|
251
251
|
return r;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function ne(e, t) {
|
|
254
254
|
for (var r in t)
|
|
255
255
|
g(t, r) && (e[r] = t[r]);
|
|
256
256
|
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
return
|
|
258
|
+
function z(e, t, r, s) {
|
|
259
|
+
return Fr(e, t, r, s, !0).utc();
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Hs() {
|
|
262
262
|
return {
|
|
263
263
|
empty: !1,
|
|
264
264
|
unusedTokens: [],
|
|
@@ -279,19 +279,19 @@ function Ps() {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
function m(e) {
|
|
282
|
-
return e._pf == null && (e._pf =
|
|
282
|
+
return e._pf == null && (e._pf = Hs()), e._pf;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
285
|
-
Array.prototype.some ?
|
|
284
|
+
var St;
|
|
285
|
+
Array.prototype.some ? St = Array.prototype.some : St = function(e) {
|
|
286
286
|
var t = Object(this), r = t.length >>> 0, s;
|
|
287
287
|
for (s = 0; s < r; s++)
|
|
288
288
|
if (s in t && e.call(this, t[s], s, t))
|
|
289
289
|
return !0;
|
|
290
290
|
return !1;
|
|
291
291
|
};
|
|
292
|
-
function
|
|
292
|
+
function Nt(e) {
|
|
293
293
|
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
294
|
-
if (s && (t = m(e), r =
|
|
294
|
+
if (s && (t = m(e), r = St.call(t.parsedDateParts, function(n) {
|
|
295
295
|
return n != null;
|
|
296
296
|
}), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && r), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
297
297
|
e._isValid = s;
|
|
@@ -299,33 +299,33 @@ function Ot(e) {
|
|
|
299
299
|
return s;
|
|
300
300
|
return e._isValid;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
var t =
|
|
304
|
-
return e != null ?
|
|
302
|
+
function rt(e) {
|
|
303
|
+
var t = z(NaN);
|
|
304
|
+
return e != null ? ne(m(t), e) : m(t).userInvalidated = !0, t;
|
|
305
305
|
}
|
|
306
|
-
var
|
|
307
|
-
function
|
|
308
|
-
var r, s, n, a =
|
|
309
|
-
if (
|
|
306
|
+
var sr = u.momentProperties = [], yt = !1;
|
|
307
|
+
function Rt(e, t) {
|
|
308
|
+
var r, s, n, a = sr.length;
|
|
309
|
+
if (W(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), W(t._i) || (e._i = t._i), W(t._f) || (e._f = t._f), W(t._l) || (e._l = t._l), W(t._strict) || (e._strict = t._strict), W(t._tzm) || (e._tzm = t._tzm), W(t._isUTC) || (e._isUTC = t._isUTC), W(t._offset) || (e._offset = t._offset), W(t._pf) || (e._pf = m(t)), W(t._locale) || (e._locale = t._locale), a > 0)
|
|
310
310
|
for (r = 0; r < a; r++)
|
|
311
|
-
s =
|
|
311
|
+
s = sr[r], n = t[s], W(n) || (e[s] = n);
|
|
312
312
|
return e;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
|
|
314
|
+
function Ie(e) {
|
|
315
|
+
Rt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), yt === !1 && (yt = !0, u.updateOffset(this), yt = !1);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
return e instanceof
|
|
317
|
+
function U(e) {
|
|
318
|
+
return e instanceof Ie || e != null && e._isAMomentObject != null;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function gr(e) {
|
|
321
321
|
u.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function L(e, t) {
|
|
324
324
|
var r = !0;
|
|
325
|
-
return
|
|
325
|
+
return ne(function() {
|
|
326
326
|
if (u.deprecationHandler != null && u.deprecationHandler(null, e), r) {
|
|
327
|
-
var s = [], n, a, i,
|
|
328
|
-
for (a = 0; a <
|
|
327
|
+
var s = [], n, a, i, o = arguments.length;
|
|
328
|
+
for (a = 0; a < o; a++) {
|
|
329
329
|
if (n = "", typeof arguments[a] == "object") {
|
|
330
330
|
n += `
|
|
331
331
|
[` + a + "] ";
|
|
@@ -336,7 +336,7 @@ function A(e, t) {
|
|
|
336
336
|
n = arguments[a];
|
|
337
337
|
s.push(n);
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
gr(
|
|
340
340
|
e + `
|
|
341
341
|
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
342
342
|
` + new Error().stack
|
|
@@ -345,42 +345,42 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
345
345
|
return t.apply(this, arguments);
|
|
346
346
|
}, t);
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
u.deprecationHandler != null && u.deprecationHandler(e, t),
|
|
348
|
+
var nr = {};
|
|
349
|
+
function wr(e, t) {
|
|
350
|
+
u.deprecationHandler != null && u.deprecationHandler(e, t), nr[e] || (gr(t), nr[e] = !0);
|
|
351
351
|
}
|
|
352
352
|
u.suppressDeprecationWarnings = !1;
|
|
353
353
|
u.deprecationHandler = null;
|
|
354
|
-
function
|
|
354
|
+
function Z(e) {
|
|
355
355
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Vs(e) {
|
|
358
358
|
var t, r;
|
|
359
359
|
for (r in e)
|
|
360
|
-
g(e, r) && (t = e[r],
|
|
360
|
+
g(e, r) && (t = e[r], Z(t) ? this[r] = t : this["_" + r] = t);
|
|
361
361
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
362
362
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
363
363
|
);
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
var r =
|
|
365
|
+
function vt(e, t) {
|
|
366
|
+
var r = ne({}, e), s;
|
|
367
367
|
for (s in t)
|
|
368
|
-
g(t, s) && (
|
|
368
|
+
g(t, s) && (ce(e[s]) && ce(t[s]) ? (r[s] = {}, ne(r[s], e[s]), ne(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
|
|
369
369
|
for (s in e)
|
|
370
|
-
g(e, s) && !g(t, s) &&
|
|
370
|
+
g(e, s) && !g(t, s) && ce(e[s]) && (r[s] = ne({}, r[s]));
|
|
371
371
|
return r;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Wt(e) {
|
|
374
374
|
e != null && this.set(e);
|
|
375
375
|
}
|
|
376
|
-
var
|
|
377
|
-
Object.keys ?
|
|
376
|
+
var Mt;
|
|
377
|
+
Object.keys ? Mt = Object.keys : Mt = function(e) {
|
|
378
378
|
var t, r = [];
|
|
379
379
|
for (t in e)
|
|
380
380
|
g(e, t) && r.push(t);
|
|
381
381
|
return r;
|
|
382
382
|
};
|
|
383
|
-
var
|
|
383
|
+
var Gs = {
|
|
384
384
|
sameDay: "[Today at] LT",
|
|
385
385
|
nextDay: "[Tomorrow at] LT",
|
|
386
386
|
nextWeek: "dddd [at] LT",
|
|
@@ -388,58 +388,58 @@ var Ws = {
|
|
|
388
388
|
lastWeek: "[Last] dddd [at] LT",
|
|
389
389
|
sameElse: "L"
|
|
390
390
|
};
|
|
391
|
-
function
|
|
391
|
+
function js(e, t, r) {
|
|
392
392
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
393
|
-
return
|
|
393
|
+
return Z(s) ? s.call(t, r) : s;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function j(e, t, r) {
|
|
396
396
|
var s = "" + Math.abs(e), n = t - s.length, a = e >= 0;
|
|
397
397
|
return (a ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + s;
|
|
398
398
|
}
|
|
399
|
-
var
|
|
400
|
-
function
|
|
399
|
+
var Ct = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, _t = {}, _e = {};
|
|
400
|
+
function h(e, t, r, s) {
|
|
401
401
|
var n = s;
|
|
402
402
|
typeof s == "string" && (n = function() {
|
|
403
403
|
return this[s]();
|
|
404
|
-
}), e && (
|
|
405
|
-
return
|
|
406
|
-
}), r && (
|
|
404
|
+
}), e && (_e[e] = n), t && (_e[t[0]] = function() {
|
|
405
|
+
return j(n.apply(this, arguments), t[1], t[2]);
|
|
406
|
+
}), r && (_e[r] = function() {
|
|
407
407
|
return this.localeData().ordinal(
|
|
408
408
|
n.apply(this, arguments),
|
|
409
409
|
e
|
|
410
410
|
);
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function zs(e) {
|
|
414
414
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
var t = e.match(
|
|
416
|
+
function Zs(e) {
|
|
417
|
+
var t = e.match(Ct), r, s;
|
|
418
418
|
for (r = 0, s = t.length; r < s; r++)
|
|
419
|
-
|
|
419
|
+
_e[t[r]] ? t[r] = _e[t[r]] : t[r] = zs(t[r]);
|
|
420
420
|
return function(n) {
|
|
421
421
|
var a = "", i;
|
|
422
422
|
for (i = 0; i < s; i++)
|
|
423
|
-
a +=
|
|
423
|
+
a += Z(t[i]) ? t[i].call(n, e) : t[i];
|
|
424
424
|
return a;
|
|
425
425
|
};
|
|
426
426
|
}
|
|
427
|
-
function
|
|
428
|
-
return e.isValid() ? (t =
|
|
427
|
+
function Ze(e, t) {
|
|
428
|
+
return e.isValid() ? (t = pr(t, e.localeData()), _t[t] = _t[t] || Zs(t), _t[t](e)) : e.localeData().invalidDate();
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function pr(e, t) {
|
|
431
431
|
var r = 5;
|
|
432
432
|
function s(n) {
|
|
433
433
|
return t.longDateFormat(n) || n;
|
|
434
434
|
}
|
|
435
|
-
for (
|
|
435
|
+
for (Ve.lastIndex = 0; r >= 0 && Ve.test(e); )
|
|
436
436
|
e = e.replace(
|
|
437
|
-
|
|
437
|
+
Ve,
|
|
438
438
|
s
|
|
439
|
-
),
|
|
439
|
+
), Ve.lastIndex = 0, r -= 1;
|
|
440
440
|
return e;
|
|
441
441
|
}
|
|
442
|
-
var
|
|
442
|
+
var Bs = {
|
|
443
443
|
LTS: "h:mm:ss A",
|
|
444
444
|
LT: "h:mm A",
|
|
445
445
|
L: "MM/DD/YYYY",
|
|
@@ -447,21 +447,21 @@ var Is = {
|
|
|
447
447
|
LLL: "MMMM D, YYYY h:mm A",
|
|
448
448
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
449
449
|
};
|
|
450
|
-
function
|
|
450
|
+
function qs(e) {
|
|
451
451
|
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
452
|
-
return t || !r ? t : (this._longDateFormat[e] = r.match(
|
|
452
|
+
return t || !r ? t : (this._longDateFormat[e] = r.match(Ct).map(function(s) {
|
|
453
453
|
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
454
454
|
}).join(""), this._longDateFormat[e]);
|
|
455
455
|
}
|
|
456
|
-
var
|
|
457
|
-
function
|
|
456
|
+
var Qs = "Invalid date";
|
|
457
|
+
function Js() {
|
|
458
458
|
return this._invalidDate;
|
|
459
459
|
}
|
|
460
|
-
var
|
|
461
|
-
function
|
|
460
|
+
var Ks = "%d", Xs = /\d{1,2}/;
|
|
461
|
+
function $s(e) {
|
|
462
462
|
return this._ordinal.replace("%d", e);
|
|
463
463
|
}
|
|
464
|
-
var
|
|
464
|
+
var en = {
|
|
465
465
|
future: "in %s",
|
|
466
466
|
past: "%s ago",
|
|
467
467
|
s: "a few seconds",
|
|
@@ -479,15 +479,15 @@ var js = {
|
|
|
479
479
|
y: "a year",
|
|
480
480
|
yy: "%d years"
|
|
481
481
|
};
|
|
482
|
-
function
|
|
482
|
+
function tn(e, t, r, s) {
|
|
483
483
|
var n = this._relativeTime[r];
|
|
484
|
-
return
|
|
484
|
+
return Z(n) ? n(e, t, r, s) : n.replace(/%d/i, e);
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function rn(e, t) {
|
|
487
487
|
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
488
|
-
return
|
|
488
|
+
return Z(r) ? r(t) : r.replace(/%s/i, t);
|
|
489
489
|
}
|
|
490
|
-
var
|
|
490
|
+
var ar = {
|
|
491
491
|
D: "date",
|
|
492
492
|
dates: "date",
|
|
493
493
|
date: "date",
|
|
@@ -537,16 +537,16 @@ var $t = {
|
|
|
537
537
|
years: "year",
|
|
538
538
|
year: "year"
|
|
539
539
|
};
|
|
540
|
-
function
|
|
541
|
-
return typeof e == "string" ?
|
|
540
|
+
function I(e) {
|
|
541
|
+
return typeof e == "string" ? ar[e] || ar[e.toLowerCase()] : void 0;
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function At(e) {
|
|
544
544
|
var t = {}, r, s;
|
|
545
545
|
for (s in e)
|
|
546
|
-
g(e, s) && (r =
|
|
546
|
+
g(e, s) && (r = I(s), r && (t[r] = e[s]));
|
|
547
547
|
return t;
|
|
548
548
|
}
|
|
549
|
-
var
|
|
549
|
+
var sn = {
|
|
550
550
|
date: 9,
|
|
551
551
|
day: 11,
|
|
552
552
|
weekday: 11,
|
|
@@ -564,25 +564,25 @@ var Bs = {
|
|
|
564
564
|
isoWeek: 5,
|
|
565
565
|
year: 1
|
|
566
566
|
};
|
|
567
|
-
function
|
|
567
|
+
function nn(e) {
|
|
568
568
|
var t = [], r;
|
|
569
569
|
for (r in e)
|
|
570
|
-
g(e, r) && t.push({ unit: r, priority:
|
|
570
|
+
g(e, r) && t.push({ unit: r, priority: sn[r] });
|
|
571
571
|
return t.sort(function(s, n) {
|
|
572
572
|
return s.priority - n.priority;
|
|
573
573
|
}), t;
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
|
|
577
|
-
function
|
|
578
|
-
|
|
575
|
+
var kr = /\d/, C = /\d\d/, Sr = /\d{3}/, Lt = /\d{4}/, st = /[+-]?\d{6}/, v = /\d\d?/, vr = /\d\d\d\d?/, Mr = /\d\d\d\d\d\d?/, nt = /\d{1,3}/, It = /\d{1,4}/, at = /[+-]?\d{1,6}/, Se = /\d+/, it = /[+-]?\d+/, an = /Z|[+-]\d\d:?\d\d/gi, ot = /Z|[+-]\d\d(?::?\d\d)?/gi, on = /[+-]?\d+(\.\d{1,3})?/, Ee = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ve = /^[1-9]\d?/, Et = /^([1-9]\d|\d)/, Je;
|
|
576
|
+
Je = {};
|
|
577
|
+
function d(e, t, r) {
|
|
578
|
+
Je[e] = Z(t) ? t : function(s, n) {
|
|
579
579
|
return s && r ? r : t;
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
return g(
|
|
582
|
+
function ln(e, t) {
|
|
583
|
+
return g(Je, e) ? Je[e](t._strict, t._locale) : new RegExp(un(e));
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function un(e) {
|
|
586
586
|
return X(
|
|
587
587
|
e.replace("\\", "").replace(
|
|
588
588
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -595,74 +595,74 @@ function Xs(e) {
|
|
|
595
595
|
function X(e) {
|
|
596
596
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function A(e) {
|
|
599
599
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
600
600
|
}
|
|
601
601
|
function y(e) {
|
|
602
602
|
var t = +e, r = 0;
|
|
603
|
-
return t !== 0 && isFinite(t) && (r =
|
|
603
|
+
return t !== 0 && isFinite(t) && (r = A(t)), r;
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
function
|
|
605
|
+
var Dt = {};
|
|
606
|
+
function k(e, t) {
|
|
607
607
|
var r, s = t, n;
|
|
608
608
|
for (typeof e == "string" && (e = [e]), ee(t) && (s = function(a, i) {
|
|
609
609
|
i[t] = y(a);
|
|
610
610
|
}), n = e.length, r = 0; r < n; r++)
|
|
611
|
-
|
|
611
|
+
Dt[e[r]] = s;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
614
|
-
|
|
613
|
+
function Fe(e, t) {
|
|
614
|
+
k(e, function(r, s, n, a) {
|
|
615
615
|
n._w = n._w || {}, t(r, n._w, n, a);
|
|
616
616
|
});
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
t != null && g(
|
|
618
|
+
function dn(e, t, r) {
|
|
619
|
+
t != null && g(Dt, e) && Dt[e](t, r._a, r, e);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function lt(e) {
|
|
622
622
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
624
|
+
var N = 0, J = 1, V = 2, T = 3, E = 4, K = 5, de = 6, cn = 7, hn = 8;
|
|
625
|
+
h("Y", 0, 0, function() {
|
|
626
626
|
var e = this.year();
|
|
627
|
-
return e <= 9999 ?
|
|
627
|
+
return e <= 9999 ? j(e, 4) : "+" + e;
|
|
628
628
|
});
|
|
629
|
-
|
|
629
|
+
h(0, ["YY", 2], 0, function() {
|
|
630
630
|
return this.year() % 100;
|
|
631
631
|
});
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
t[
|
|
632
|
+
h(0, ["YYYY", 4], 0, "year");
|
|
633
|
+
h(0, ["YYYYY", 5], 0, "year");
|
|
634
|
+
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
635
|
+
d("Y", it);
|
|
636
|
+
d("YY", v, C);
|
|
637
|
+
d("YYYY", It, Lt);
|
|
638
|
+
d("YYYYY", at, st);
|
|
639
|
+
d("YYYYYY", at, st);
|
|
640
|
+
k(["YYYYY", "YYYYYY"], N);
|
|
641
|
+
k("YYYY", function(e, t) {
|
|
642
|
+
t[N] = e.length === 2 ? u.parseTwoDigitYear(e) : y(e);
|
|
643
643
|
});
|
|
644
|
-
|
|
645
|
-
t[
|
|
644
|
+
k("YY", function(e, t) {
|
|
645
|
+
t[N] = u.parseTwoDigitYear(e);
|
|
646
646
|
});
|
|
647
|
-
|
|
648
|
-
t[
|
|
647
|
+
k("Y", function(e, t) {
|
|
648
|
+
t[N] = parseInt(e, 10);
|
|
649
649
|
});
|
|
650
|
-
function
|
|
651
|
-
return
|
|
650
|
+
function Pe(e) {
|
|
651
|
+
return lt(e) ? 366 : 365;
|
|
652
652
|
}
|
|
653
653
|
u.parseTwoDigitYear = function(e) {
|
|
654
654
|
return y(e) + (y(e) > 68 ? 1900 : 2e3);
|
|
655
655
|
};
|
|
656
|
-
var
|
|
657
|
-
function
|
|
658
|
-
return
|
|
656
|
+
var Dr = Me("FullYear", !0);
|
|
657
|
+
function fn() {
|
|
658
|
+
return lt(this.year());
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Me(e, t) {
|
|
661
661
|
return function(r) {
|
|
662
|
-
return r != null ? (
|
|
662
|
+
return r != null ? (Yr(this, e, r), u.updateOffset(this, t), this) : Re(this, e);
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function Re(e, t) {
|
|
666
666
|
if (!e.isValid())
|
|
667
667
|
return NaN;
|
|
668
668
|
var r = e._d, s = e._isUTC;
|
|
@@ -687,8 +687,8 @@ function Te(e, t) {
|
|
|
687
687
|
return NaN;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
-
function
|
|
691
|
-
var s, n, a, i,
|
|
690
|
+
function Yr(e, t, r) {
|
|
691
|
+
var s, n, a, i, o;
|
|
692
692
|
if (!(!e.isValid() || isNaN(r))) {
|
|
693
693
|
switch (s = e._d, n = e._isUTC, t) {
|
|
694
694
|
case "Milliseconds":
|
|
@@ -711,88 +711,88 @@ function wr(e, t, r) {
|
|
|
711
711
|
default:
|
|
712
712
|
return;
|
|
713
713
|
}
|
|
714
|
-
a = r, i = e.month(),
|
|
714
|
+
a = r, i = e.month(), o = e.date(), o = o === 29 && i === 1 && !lt(a) ? 28 : o, n ? s.setUTCFullYear(a, i, o) : s.setFullYear(a, i, o);
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
function
|
|
718
|
-
return e =
|
|
717
|
+
function mn(e) {
|
|
718
|
+
return e = I(e), Z(this[e]) ? this[e]() : this;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function yn(e, t) {
|
|
721
721
|
if (typeof e == "object") {
|
|
722
|
-
e =
|
|
723
|
-
var r =
|
|
722
|
+
e = At(e);
|
|
723
|
+
var r = nn(e), s, n = r.length;
|
|
724
724
|
for (s = 0; s < n; s++)
|
|
725
725
|
this[r[s].unit](e[r[s].unit]);
|
|
726
|
-
} else if (e =
|
|
726
|
+
} else if (e = I(e), Z(this[e]))
|
|
727
727
|
return this[e](t);
|
|
728
728
|
return this;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function _n(e, t) {
|
|
731
731
|
return (e % t + t) % t;
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
Array.prototype.indexOf ?
|
|
733
|
+
var D;
|
|
734
|
+
Array.prototype.indexOf ? D = Array.prototype.indexOf : D = function(e) {
|
|
735
735
|
var t;
|
|
736
736
|
for (t = 0; t < this.length; ++t)
|
|
737
737
|
if (this[t] === e)
|
|
738
738
|
return t;
|
|
739
739
|
return -1;
|
|
740
740
|
};
|
|
741
|
-
function
|
|
741
|
+
function Ft(e, t) {
|
|
742
742
|
if (isNaN(e) || isNaN(t))
|
|
743
743
|
return NaN;
|
|
744
|
-
var r =
|
|
745
|
-
return e += (t - r) / 12, r === 1 ?
|
|
744
|
+
var r = _n(t, 12);
|
|
745
|
+
return e += (t - r) / 12, r === 1 ? lt(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
746
746
|
}
|
|
747
|
-
|
|
747
|
+
h("M", ["MM", 2], "Mo", function() {
|
|
748
748
|
return this.month() + 1;
|
|
749
749
|
});
|
|
750
|
-
|
|
750
|
+
h("MMM", 0, 0, function(e) {
|
|
751
751
|
return this.localeData().monthsShort(this, e);
|
|
752
752
|
});
|
|
753
|
-
|
|
753
|
+
h("MMMM", 0, 0, function(e) {
|
|
754
754
|
return this.localeData().months(this, e);
|
|
755
755
|
});
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
756
|
+
d("M", v, ve);
|
|
757
|
+
d("MM", v, C);
|
|
758
|
+
d("MMM", function(e, t) {
|
|
759
759
|
return t.monthsShortRegex(e);
|
|
760
760
|
});
|
|
761
|
-
|
|
761
|
+
d("MMMM", function(e, t) {
|
|
762
762
|
return t.monthsRegex(e);
|
|
763
763
|
});
|
|
764
|
-
|
|
764
|
+
k(["M", "MM"], function(e, t) {
|
|
765
765
|
t[J] = y(e) - 1;
|
|
766
766
|
});
|
|
767
|
-
|
|
767
|
+
k(["MMM", "MMMM"], function(e, t, r, s) {
|
|
768
768
|
var n = r._locale.monthsParse(e, s, r._strict);
|
|
769
769
|
n != null ? t[J] = n : m(r).invalidMonth = e;
|
|
770
770
|
});
|
|
771
|
-
var
|
|
771
|
+
var gn = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
772
772
|
"_"
|
|
773
|
-
),
|
|
774
|
-
function
|
|
775
|
-
return e ?
|
|
773
|
+
), Or = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), br = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, wn = Ee, pn = Ee;
|
|
774
|
+
function kn(e, t) {
|
|
775
|
+
return e ? F(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || br).test(t) ? "format" : "standalone"][e.month()] : F(this._months) ? this._months : this._months.standalone;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
778
|
-
return e ?
|
|
777
|
+
function Sn(e, t) {
|
|
778
|
+
return e ? F(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[br.test(t) ? "format" : "standalone"][e.month()] : F(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function vn(e, t, r) {
|
|
781
781
|
var s, n, a, i = e.toLocaleLowerCase();
|
|
782
782
|
if (!this._monthsParse)
|
|
783
783
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
784
|
-
a =
|
|
784
|
+
a = z([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
785
785
|
a,
|
|
786
786
|
""
|
|
787
787
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(a, "").toLocaleLowerCase();
|
|
788
|
-
return r ? t === "MMM" ? (n =
|
|
788
|
+
return r ? t === "MMM" ? (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : null) : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : null) : t === "MMM" ? (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : null)) : (n = D.call(this._longMonthsParse, i), n !== -1 ? n : (n = D.call(this._shortMonthsParse, i), n !== -1 ? n : null));
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Mn(e, t, r) {
|
|
791
791
|
var s, n, a;
|
|
792
792
|
if (this._monthsParseExact)
|
|
793
|
-
return
|
|
793
|
+
return vn.call(this, e, t, r);
|
|
794
794
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
795
|
-
if (n =
|
|
795
|
+
if (n = z([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
796
796
|
"^" + this.months(n, "").replace(".", "") + "$",
|
|
797
797
|
"i"
|
|
798
798
|
), this._shortMonthsParse[s] = new RegExp(
|
|
@@ -806,7 +806,7 @@ function hn(e, t, r) {
|
|
|
806
806
|
return s;
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Tr(e, t) {
|
|
810
810
|
if (!e.isValid())
|
|
811
811
|
return e;
|
|
812
812
|
if (typeof t == "string") {
|
|
@@ -816,27 +816,27 @@ function Sr(e, t) {
|
|
|
816
816
|
return e;
|
|
817
817
|
}
|
|
818
818
|
var r = t, s = e.date();
|
|
819
|
-
return s = s < 29 ? s : Math.min(s,
|
|
819
|
+
return s = s < 29 ? s : Math.min(s, Ft(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
820
820
|
}
|
|
821
|
-
function
|
|
822
|
-
return e != null ? (
|
|
821
|
+
function xr(e) {
|
|
822
|
+
return e != null ? (Tr(this, e), u.updateOffset(this, !0), this) : Re(this, "Month");
|
|
823
823
|
}
|
|
824
|
-
function
|
|
825
|
-
return
|
|
824
|
+
function Dn() {
|
|
825
|
+
return Ft(this.year(), this.month());
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") ||
|
|
827
|
+
function Yn(e) {
|
|
828
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || Pr.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = wn), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") ||
|
|
830
|
+
function On(e) {
|
|
831
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || Pr.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = pn), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
832
832
|
}
|
|
833
|
-
function
|
|
834
|
-
function e(
|
|
835
|
-
return
|
|
833
|
+
function Pr() {
|
|
834
|
+
function e(c, f) {
|
|
835
|
+
return f.length - c.length;
|
|
836
836
|
}
|
|
837
|
-
var t = [], r = [], s = [], n, a, i,
|
|
837
|
+
var t = [], r = [], s = [], n, a, i, o;
|
|
838
838
|
for (n = 0; n < 12; n++)
|
|
839
|
-
a =
|
|
839
|
+
a = z([2e3, n]), i = X(this.monthsShort(a, "")), o = X(this.months(a, "")), t.push(i), r.push(o), s.push(o), s.push(i);
|
|
840
840
|
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
841
841
|
"^(" + r.join("|") + ")",
|
|
842
842
|
"i"
|
|
@@ -845,141 +845,141 @@ function Mr() {
|
|
|
845
845
|
"i"
|
|
846
846
|
);
|
|
847
847
|
}
|
|
848
|
-
function
|
|
849
|
-
var
|
|
850
|
-
return e < 100 && e >= 0 ? (
|
|
848
|
+
function bn(e, t, r, s, n, a, i) {
|
|
849
|
+
var o;
|
|
850
|
+
return e < 100 && e >= 0 ? (o = new Date(e + 400, t, r, s, n, a, i), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, r, s, n, a, i), o;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function We(e) {
|
|
853
853
|
var t, r;
|
|
854
854
|
return e < 100 && e >= 0 ? (r = Array.prototype.slice.call(arguments), r[0] = e + 400, t = new Date(Date.UTC.apply(null, r)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
855
855
|
}
|
|
856
|
-
function
|
|
857
|
-
var s = 7 + t - r, n = (7 +
|
|
856
|
+
function Ke(e, t, r) {
|
|
857
|
+
var s = 7 + t - r, n = (7 + We(e, 0, s).getUTCDay() - t) % 7;
|
|
858
858
|
return -n + s - 1;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
861
|
-
var a = (7 + r - s) % 7, i =
|
|
862
|
-
return
|
|
863
|
-
year:
|
|
864
|
-
dayOfYear:
|
|
860
|
+
function Nr(e, t, r, s, n) {
|
|
861
|
+
var a = (7 + r - s) % 7, i = Ke(e, s, n), o = 1 + 7 * (t - 1) + a + i, c, f;
|
|
862
|
+
return o <= 0 ? (c = e - 1, f = Pe(c) + o) : o > Pe(e) ? (c = e + 1, f = o - Pe(e)) : (c = e, f = o), {
|
|
863
|
+
year: c,
|
|
864
|
+
dayOfYear: f
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
|
-
function
|
|
868
|
-
var s =
|
|
867
|
+
function Ce(e, t, r) {
|
|
868
|
+
var s = Ke(e.year(), t, r), n = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, a, i;
|
|
869
869
|
return n < 1 ? (i = e.year() - 1, a = n + $(i, t, r)) : n > $(e.year(), t, r) ? (a = n - $(e.year(), t, r), i = e.year() + 1) : (i = e.year(), a = n), {
|
|
870
870
|
week: a,
|
|
871
871
|
year: i
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
874
|
function $(e, t, r) {
|
|
875
|
-
var s =
|
|
876
|
-
return (
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
875
|
+
var s = Ke(e, t, r), n = Ke(e + 1, t, r);
|
|
876
|
+
return (Pe(e) - s + n) / 7;
|
|
877
|
+
}
|
|
878
|
+
h("w", ["ww", 2], "wo", "week");
|
|
879
|
+
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
880
|
+
d("w", v, ve);
|
|
881
|
+
d("ww", v, C);
|
|
882
|
+
d("W", v, ve);
|
|
883
|
+
d("WW", v, C);
|
|
884
|
+
Fe(
|
|
885
885
|
["w", "ww", "W", "WW"],
|
|
886
886
|
function(e, t, r, s) {
|
|
887
887
|
t[s.substr(0, 1)] = y(e);
|
|
888
888
|
}
|
|
889
889
|
);
|
|
890
|
-
function
|
|
891
|
-
return
|
|
890
|
+
function Tn(e) {
|
|
891
|
+
return Ce(e, this._week.dow, this._week.doy).week;
|
|
892
892
|
}
|
|
893
|
-
var
|
|
893
|
+
var xn = {
|
|
894
894
|
dow: 0,
|
|
895
895
|
// Sunday is the first day of the week.
|
|
896
896
|
doy: 6
|
|
897
897
|
// The week that contains Jan 6th is the first week of the year.
|
|
898
898
|
};
|
|
899
|
-
function
|
|
899
|
+
function Pn() {
|
|
900
900
|
return this._week.dow;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Nn() {
|
|
903
903
|
return this._week.doy;
|
|
904
904
|
}
|
|
905
|
-
function
|
|
905
|
+
function Rn(e) {
|
|
906
906
|
var t = this.localeData().week(this);
|
|
907
907
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
908
908
|
}
|
|
909
|
-
function
|
|
910
|
-
var t =
|
|
909
|
+
function Wn(e) {
|
|
910
|
+
var t = Ce(this, 1, 4).week;
|
|
911
911
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
912
912
|
}
|
|
913
|
-
|
|
914
|
-
|
|
913
|
+
h("d", 0, "do", "day");
|
|
914
|
+
h("dd", 0, 0, function(e) {
|
|
915
915
|
return this.localeData().weekdaysMin(this, e);
|
|
916
916
|
});
|
|
917
|
-
|
|
917
|
+
h("ddd", 0, 0, function(e) {
|
|
918
918
|
return this.localeData().weekdaysShort(this, e);
|
|
919
919
|
});
|
|
920
|
-
|
|
920
|
+
h("dddd", 0, 0, function(e) {
|
|
921
921
|
return this.localeData().weekdays(this, e);
|
|
922
922
|
});
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
923
|
+
h("e", 0, 0, "weekday");
|
|
924
|
+
h("E", 0, 0, "isoWeekday");
|
|
925
|
+
d("d", v);
|
|
926
|
+
d("e", v);
|
|
927
|
+
d("E", v);
|
|
928
|
+
d("dd", function(e, t) {
|
|
929
929
|
return t.weekdaysMinRegex(e);
|
|
930
930
|
});
|
|
931
|
-
|
|
931
|
+
d("ddd", function(e, t) {
|
|
932
932
|
return t.weekdaysShortRegex(e);
|
|
933
933
|
});
|
|
934
|
-
|
|
934
|
+
d("dddd", function(e, t) {
|
|
935
935
|
return t.weekdaysRegex(e);
|
|
936
936
|
});
|
|
937
|
-
|
|
937
|
+
Fe(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
938
938
|
var n = r._locale.weekdaysParse(e, s, r._strict);
|
|
939
939
|
n != null ? t.d = n : m(r).invalidWeekday = e;
|
|
940
940
|
});
|
|
941
|
-
|
|
941
|
+
Fe(["d", "e", "E"], function(e, t, r, s) {
|
|
942
942
|
t[s] = y(e);
|
|
943
943
|
});
|
|
944
|
-
function
|
|
944
|
+
function Cn(e, t) {
|
|
945
945
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function An(e, t) {
|
|
948
948
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Ut(e, t) {
|
|
951
951
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
952
952
|
}
|
|
953
|
-
var
|
|
954
|
-
function
|
|
955
|
-
var r =
|
|
956
|
-
return e === !0 ?
|
|
953
|
+
var Ln = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Rr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), In = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), En = Ee, Fn = Ee, Un = Ee;
|
|
954
|
+
function Hn(e, t) {
|
|
955
|
+
var r = F(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
956
|
+
return e === !0 ? Ut(r, this._week.dow) : e ? r[e.day()] : r;
|
|
957
957
|
}
|
|
958
|
-
function
|
|
959
|
-
return e === !0 ?
|
|
958
|
+
function Vn(e) {
|
|
959
|
+
return e === !0 ? Ut(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
return e === !0 ?
|
|
961
|
+
function Gn(e) {
|
|
962
|
+
return e === !0 ? Ut(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function jn(e, t, r) {
|
|
965
965
|
var s, n, a, i = e.toLocaleLowerCase();
|
|
966
966
|
if (!this._weekdaysParse)
|
|
967
967
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
968
|
-
a =
|
|
968
|
+
a = z([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
969
969
|
a,
|
|
970
970
|
""
|
|
971
971
|
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
972
972
|
a,
|
|
973
973
|
""
|
|
974
974
|
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(a, "").toLocaleLowerCase();
|
|
975
|
-
return r ? t === "dddd" ? (n =
|
|
975
|
+
return r ? t === "dddd" ? (n = D.call(this._weekdaysParse, i), n !== -1 ? n : null) : t === "ddd" ? (n = D.call(this._shortWeekdaysParse, i), n !== -1 ? n : null) : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null) : t === "dddd" ? (n = D.call(this._weekdaysParse, i), n !== -1 || (n = D.call(this._shortWeekdaysParse, i), n !== -1) ? n : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : t === "ddd" ? (n = D.call(this._shortWeekdaysParse, i), n !== -1 || (n = D.call(this._weekdaysParse, i), n !== -1) ? n : (n = D.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : (n = D.call(this._minWeekdaysParse, i), n !== -1 || (n = D.call(this._weekdaysParse, i), n !== -1) ? n : (n = D.call(this._shortWeekdaysParse, i), n !== -1 ? n : null));
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function zn(e, t, r) {
|
|
978
978
|
var s, n, a;
|
|
979
979
|
if (this._weekdaysParseExact)
|
|
980
|
-
return
|
|
980
|
+
return jn.call(this, e, t, r);
|
|
981
981
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
982
|
-
if (n =
|
|
982
|
+
if (n = z([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
983
983
|
"^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
|
|
984
984
|
"i"
|
|
985
985
|
), this._shortWeekdaysParse[s] = new RegExp(
|
|
@@ -998,43 +998,43 @@ function An(e, t, r) {
|
|
|
998
998
|
return s;
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function Zn(e) {
|
|
1002
1002
|
if (!this.isValid())
|
|
1003
1003
|
return e != null ? this : NaN;
|
|
1004
|
-
var t =
|
|
1005
|
-
return e != null ? (e =
|
|
1004
|
+
var t = Re(this, "Day");
|
|
1005
|
+
return e != null ? (e = Cn(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function Bn(e) {
|
|
1008
1008
|
if (!this.isValid())
|
|
1009
1009
|
return e != null ? this : NaN;
|
|
1010
1010
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
1011
1011
|
return e == null ? t : this.add(e - t, "d");
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function qn(e) {
|
|
1014
1014
|
if (!this.isValid())
|
|
1015
1015
|
return e != null ? this : NaN;
|
|
1016
1016
|
if (e != null) {
|
|
1017
|
-
var t =
|
|
1017
|
+
var t = An(e, this.localeData());
|
|
1018
1018
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
1019
1019
|
} else
|
|
1020
1020
|
return this.day() || 7;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1022
|
+
function Qn(e) {
|
|
1023
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = En), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1026
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1025
|
+
function Jn(e) {
|
|
1026
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (g(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Fn), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1029
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1028
|
+
function Kn(e) {
|
|
1029
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Ht.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Un), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1032
|
-
function e(
|
|
1033
|
-
return
|
|
1031
|
+
function Ht() {
|
|
1032
|
+
function e(O, b) {
|
|
1033
|
+
return b.length - O.length;
|
|
1034
1034
|
}
|
|
1035
|
-
var t = [], r = [], s = [], n = [], a, i,
|
|
1035
|
+
var t = [], r = [], s = [], n = [], a, i, o, c, f;
|
|
1036
1036
|
for (a = 0; a < 7; a++)
|
|
1037
|
-
i =
|
|
1037
|
+
i = z([2e3, 1]).day(a), o = X(this.weekdaysMin(i, "")), c = X(this.weekdaysShort(i, "")), f = X(this.weekdays(i, "")), t.push(o), r.push(c), s.push(f), n.push(o), n.push(c), n.push(f);
|
|
1038
1038
|
t.sort(e), r.sort(e), s.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
1039
1039
|
"^(" + s.join("|") + ")",
|
|
1040
1040
|
"i"
|
|
@@ -1046,29 +1046,29 @@ function Lt() {
|
|
|
1046
1046
|
"i"
|
|
1047
1047
|
);
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Vt() {
|
|
1050
1050
|
return this.hours() % 12 || 12;
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Xn() {
|
|
1053
1053
|
return this.hours() || 24;
|
|
1054
1054
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
return "" +
|
|
1055
|
+
h("H", ["HH", 2], 0, "hour");
|
|
1056
|
+
h("h", ["hh", 2], 0, Vt);
|
|
1057
|
+
h("k", ["kk", 2], 0, Xn);
|
|
1058
|
+
h("hmm", 0, 0, function() {
|
|
1059
|
+
return "" + Vt.apply(this) + j(this.minutes(), 2);
|
|
1060
1060
|
});
|
|
1061
|
-
|
|
1062
|
-
return "" +
|
|
1061
|
+
h("hmmss", 0, 0, function() {
|
|
1062
|
+
return "" + Vt.apply(this) + j(this.minutes(), 2) + j(this.seconds(), 2);
|
|
1063
1063
|
});
|
|
1064
|
-
|
|
1065
|
-
return "" + this.hours() +
|
|
1064
|
+
h("Hmm", 0, 0, function() {
|
|
1065
|
+
return "" + this.hours() + j(this.minutes(), 2);
|
|
1066
1066
|
});
|
|
1067
|
-
|
|
1068
|
-
return "" + this.hours() +
|
|
1067
|
+
h("Hmmss", 0, 0, function() {
|
|
1068
|
+
return "" + this.hours() + j(this.minutes(), 2) + j(this.seconds(), 2);
|
|
1069
1069
|
});
|
|
1070
|
-
function
|
|
1071
|
-
|
|
1070
|
+
function Wr(e, t) {
|
|
1071
|
+
h(e, 0, 0, function() {
|
|
1072
1072
|
return this.localeData().meridiem(
|
|
1073
1073
|
this.hours(),
|
|
1074
1074
|
this.minutes(),
|
|
@@ -1076,165 +1076,165 @@ function Or(e, t) {
|
|
|
1076
1076
|
);
|
|
1077
1077
|
});
|
|
1078
1078
|
}
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
function
|
|
1079
|
+
Wr("a", !0);
|
|
1080
|
+
Wr("A", !1);
|
|
1081
|
+
function Cr(e, t) {
|
|
1082
1082
|
return t._meridiemParse;
|
|
1083
1083
|
}
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1084
|
+
d("a", Cr);
|
|
1085
|
+
d("A", Cr);
|
|
1086
|
+
d("H", v, Et);
|
|
1087
|
+
d("h", v, ve);
|
|
1088
|
+
d("k", v, ve);
|
|
1089
|
+
d("HH", v, C);
|
|
1090
|
+
d("hh", v, C);
|
|
1091
|
+
d("kk", v, C);
|
|
1092
|
+
d("hmm", vr);
|
|
1093
|
+
d("hmmss", Mr);
|
|
1094
|
+
d("Hmm", vr);
|
|
1095
|
+
d("Hmmss", Mr);
|
|
1096
|
+
k(["H", "HH"], T);
|
|
1097
|
+
k(["k", "kk"], function(e, t, r) {
|
|
1098
1098
|
var s = y(e);
|
|
1099
|
-
t[
|
|
1099
|
+
t[T] = s === 24 ? 0 : s;
|
|
1100
1100
|
});
|
|
1101
|
-
|
|
1101
|
+
k(["a", "A"], function(e, t, r) {
|
|
1102
1102
|
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
1103
1103
|
});
|
|
1104
|
-
|
|
1105
|
-
t[
|
|
1104
|
+
k(["h", "hh"], function(e, t, r) {
|
|
1105
|
+
t[T] = y(e), m(r).bigHour = !0;
|
|
1106
1106
|
});
|
|
1107
|
-
|
|
1107
|
+
k("hmm", function(e, t, r) {
|
|
1108
1108
|
var s = e.length - 2;
|
|
1109
|
-
t[
|
|
1109
|
+
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s)), m(r).bigHour = !0;
|
|
1110
1110
|
});
|
|
1111
|
-
|
|
1111
|
+
k("hmmss", function(e, t, r) {
|
|
1112
1112
|
var s = e.length - 4, n = e.length - 2;
|
|
1113
|
-
t[
|
|
1113
|
+
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s, 2)), t[K] = y(e.substr(n)), m(r).bigHour = !0;
|
|
1114
1114
|
});
|
|
1115
|
-
|
|
1115
|
+
k("Hmm", function(e, t, r) {
|
|
1116
1116
|
var s = e.length - 2;
|
|
1117
|
-
t[
|
|
1117
|
+
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s));
|
|
1118
1118
|
});
|
|
1119
|
-
|
|
1119
|
+
k("Hmmss", function(e, t, r) {
|
|
1120
1120
|
var s = e.length - 4, n = e.length - 2;
|
|
1121
|
-
t[
|
|
1121
|
+
t[T] = y(e.substr(0, s)), t[E] = y(e.substr(s, 2)), t[K] = y(e.substr(n));
|
|
1122
1122
|
});
|
|
1123
|
-
function
|
|
1123
|
+
function $n(e) {
|
|
1124
1124
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1125
1125
|
}
|
|
1126
|
-
var
|
|
1127
|
-
function
|
|
1126
|
+
var ea = /[ap]\.?m?\.?/i, ta = Me("Hours", !0);
|
|
1127
|
+
function ra(e, t, r) {
|
|
1128
1128
|
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
1129
1129
|
}
|
|
1130
|
-
var
|
|
1131
|
-
calendar:
|
|
1132
|
-
longDateFormat:
|
|
1133
|
-
invalidDate:
|
|
1134
|
-
ordinal:
|
|
1135
|
-
dayOfMonthOrdinalParse:
|
|
1136
|
-
relativeTime:
|
|
1137
|
-
months:
|
|
1138
|
-
monthsShort:
|
|
1139
|
-
week:
|
|
1140
|
-
weekdays:
|
|
1141
|
-
weekdaysMin:
|
|
1142
|
-
weekdaysShort:
|
|
1143
|
-
meridiemParse:
|
|
1144
|
-
}, M = {},
|
|
1145
|
-
function
|
|
1130
|
+
var Ar = {
|
|
1131
|
+
calendar: Gs,
|
|
1132
|
+
longDateFormat: Bs,
|
|
1133
|
+
invalidDate: Qs,
|
|
1134
|
+
ordinal: Ks,
|
|
1135
|
+
dayOfMonthOrdinalParse: Xs,
|
|
1136
|
+
relativeTime: en,
|
|
1137
|
+
months: gn,
|
|
1138
|
+
monthsShort: Or,
|
|
1139
|
+
week: xn,
|
|
1140
|
+
weekdays: Ln,
|
|
1141
|
+
weekdaysMin: In,
|
|
1142
|
+
weekdaysShort: Rr,
|
|
1143
|
+
meridiemParse: ea
|
|
1144
|
+
}, M = {}, be = {}, Ae;
|
|
1145
|
+
function sa(e, t) {
|
|
1146
1146
|
var r, s = Math.min(e.length, t.length);
|
|
1147
1147
|
for (r = 0; r < s; r += 1)
|
|
1148
1148
|
if (e[r] !== t[r])
|
|
1149
1149
|
return r;
|
|
1150
1150
|
return s;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function ir(e) {
|
|
1153
1153
|
return e && e.toLowerCase().replace("_", "-");
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1155
|
+
function na(e) {
|
|
1156
1156
|
for (var t = 0, r, s, n, a; t < e.length; ) {
|
|
1157
|
-
for (a =
|
|
1158
|
-
if (n =
|
|
1157
|
+
for (a = ir(e[t]).split("-"), r = a.length, s = ir(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
1158
|
+
if (n = ut(a.slice(0, r).join("-")), n)
|
|
1159
1159
|
return n;
|
|
1160
|
-
if (s && s.length >= r &&
|
|
1160
|
+
if (s && s.length >= r && sa(a, s) >= r - 1)
|
|
1161
1161
|
break;
|
|
1162
1162
|
r--;
|
|
1163
1163
|
}
|
|
1164
1164
|
t++;
|
|
1165
1165
|
}
|
|
1166
|
-
return
|
|
1166
|
+
return Ae;
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function aa(e) {
|
|
1169
1169
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function ut(e) {
|
|
1172
1172
|
var t = null, r;
|
|
1173
|
-
if (M[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
1173
|
+
if (M[e] === void 0 && typeof module < "u" && module && module.exports && aa(e))
|
|
1174
1174
|
try {
|
|
1175
|
-
t =
|
|
1175
|
+
t = Ae._abbr, r = require, r("./locale/" + e), ie(t);
|
|
1176
1176
|
} catch {
|
|
1177
1177
|
M[e] = null;
|
|
1178
1178
|
}
|
|
1179
1179
|
return M[e];
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function ie(e, t) {
|
|
1182
1182
|
var r;
|
|
1183
|
-
return e && (
|
|
1183
|
+
return e && (W(t) ? r = te(e) : r = Gt(e, t), r ? Ae = r : typeof console < "u" && console.warn && console.warn(
|
|
1184
1184
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1185
|
-
)),
|
|
1185
|
+
)), Ae._abbr;
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function Gt(e, t) {
|
|
1188
1188
|
if (t !== null) {
|
|
1189
|
-
var r, s =
|
|
1189
|
+
var r, s = Ar;
|
|
1190
1190
|
if (t.abbr = e, M[e] != null)
|
|
1191
|
-
|
|
1191
|
+
wr(
|
|
1192
1192
|
"defineLocaleOverride",
|
|
1193
1193
|
"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
|
|
1194
1194
|
), s = M[e]._config;
|
|
1195
1195
|
else if (t.parentLocale != null)
|
|
1196
1196
|
if (M[t.parentLocale] != null)
|
|
1197
1197
|
s = M[t.parentLocale]._config;
|
|
1198
|
-
else if (r =
|
|
1198
|
+
else if (r = ut(t.parentLocale), r != null)
|
|
1199
1199
|
s = r._config;
|
|
1200
1200
|
else
|
|
1201
|
-
return
|
|
1201
|
+
return be[t.parentLocale] || (be[t.parentLocale] = []), be[t.parentLocale].push({
|
|
1202
1202
|
name: e,
|
|
1203
1203
|
config: t
|
|
1204
1204
|
}), null;
|
|
1205
|
-
return M[e] = new
|
|
1206
|
-
|
|
1207
|
-
}),
|
|
1205
|
+
return M[e] = new Wt(vt(s, t)), be[e] && be[e].forEach(function(n) {
|
|
1206
|
+
Gt(n.name, n.config);
|
|
1207
|
+
}), ie(e), M[e];
|
|
1208
1208
|
} else
|
|
1209
1209
|
return delete M[e], null;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function ia(e, t) {
|
|
1212
1212
|
if (t != null) {
|
|
1213
|
-
var r, s, n =
|
|
1214
|
-
M[e] != null && M[e].parentLocale != null ? M[e].set(
|
|
1213
|
+
var r, s, n = Ar;
|
|
1214
|
+
M[e] != null && M[e].parentLocale != null ? M[e].set(vt(M[e]._config, t)) : (s = ut(e), s != null && (n = s._config), t = vt(n, t), s == null && (t.abbr = e), r = new Wt(t), r.parentLocale = M[e], M[e] = r), ie(e);
|
|
1215
1215
|
} else
|
|
1216
|
-
M[e] != null && (M[e].parentLocale != null ? (M[e] = M[e].parentLocale, e ===
|
|
1216
|
+
M[e] != null && (M[e].parentLocale != null ? (M[e] = M[e].parentLocale, e === ie() && ie(e)) : M[e] != null && delete M[e]);
|
|
1217
1217
|
return M[e];
|
|
1218
1218
|
}
|
|
1219
1219
|
function te(e) {
|
|
1220
1220
|
var t;
|
|
1221
1221
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1222
|
-
return
|
|
1223
|
-
if (!
|
|
1224
|
-
if (t =
|
|
1222
|
+
return Ae;
|
|
1223
|
+
if (!F(e)) {
|
|
1224
|
+
if (t = ut(e), t)
|
|
1225
1225
|
return t;
|
|
1226
1226
|
e = [e];
|
|
1227
1227
|
}
|
|
1228
|
-
return
|
|
1228
|
+
return na(e);
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return
|
|
1230
|
+
function oa() {
|
|
1231
|
+
return Mt(M);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function jt(e) {
|
|
1234
1234
|
var t, r = e._a;
|
|
1235
|
-
return r && m(e).overflow === -2 && (t = r[J] < 0 || r[J] > 11 ? J : r[
|
|
1235
|
+
return r && m(e).overflow === -2 && (t = r[J] < 0 || r[J] > 11 ? J : r[V] < 1 || r[V] > Ft(r[N], r[J]) ? V : r[T] < 0 || r[T] > 24 || r[T] === 24 && (r[E] !== 0 || r[K] !== 0 || r[de] !== 0) ? T : r[E] < 0 || r[E] > 59 ? E : r[K] < 0 || r[K] > 59 ? K : r[de] < 0 || r[de] > 999 ? de : -1, m(e)._overflowDayOfYear && (t < N || t > V) && (t = V), m(e)._overflowWeeks && t === -1 && (t = cn), m(e)._overflowWeekday && t === -1 && (t = hn), m(e).overflow = t), e;
|
|
1236
1236
|
}
|
|
1237
|
-
var
|
|
1237
|
+
var la = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ua = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, da = /Z|[+-]\d\d(?::?\d\d)?/, Ge = [
|
|
1238
1238
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1239
1239
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1240
1240
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1248,7 +1248,7 @@ var Xn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1248
1248
|
["YYYYDDD", /\d{7}/],
|
|
1249
1249
|
["YYYYMM", /\d{6}/, !1],
|
|
1250
1250
|
["YYYY", /\d{4}/, !1]
|
|
1251
|
-
],
|
|
1251
|
+
], gt = [
|
|
1252
1252
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1253
1253
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1254
1254
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1258,7 +1258,7 @@ var Xn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1258
1258
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1259
1259
|
["HHmm", /\d\d\d\d/],
|
|
1260
1260
|
["HH", /\d\d/]
|
|
1261
|
-
],
|
|
1261
|
+
], ca = /^\/?Date\((-?\d+)/i, ha = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, fa = {
|
|
1262
1262
|
UT: 0,
|
|
1263
1263
|
GMT: 0,
|
|
1264
1264
|
EDT: -240,
|
|
@@ -1270,12 +1270,12 @@ var Xn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1270
1270
|
PDT: -420,
|
|
1271
1271
|
PST: -480
|
|
1272
1272
|
};
|
|
1273
|
-
function
|
|
1274
|
-
var t, r, s = e._i, n =
|
|
1273
|
+
function Lr(e) {
|
|
1274
|
+
var t, r, s = e._i, n = la.exec(s) || ua.exec(s), a, i, o, c, f = Ge.length, O = gt.length;
|
|
1275
1275
|
if (n) {
|
|
1276
|
-
for (m(e).iso = !0, t = 0, r =
|
|
1277
|
-
if (
|
|
1278
|
-
i =
|
|
1276
|
+
for (m(e).iso = !0, t = 0, r = f; t < r; t++)
|
|
1277
|
+
if (Ge[t][1].exec(n[1])) {
|
|
1278
|
+
i = Ge[t][0], a = Ge[t][2] !== !1;
|
|
1279
1279
|
break;
|
|
1280
1280
|
}
|
|
1281
1281
|
if (i == null) {
|
|
@@ -1283,51 +1283,51 @@ function xr(e) {
|
|
|
1283
1283
|
return;
|
|
1284
1284
|
}
|
|
1285
1285
|
if (n[3]) {
|
|
1286
|
-
for (t = 0, r =
|
|
1287
|
-
if (
|
|
1288
|
-
|
|
1286
|
+
for (t = 0, r = O; t < r; t++)
|
|
1287
|
+
if (gt[t][1].exec(n[3])) {
|
|
1288
|
+
o = (n[2] || " ") + gt[t][0];
|
|
1289
1289
|
break;
|
|
1290
1290
|
}
|
|
1291
|
-
if (
|
|
1291
|
+
if (o == null) {
|
|
1292
1292
|
e._isValid = !1;
|
|
1293
1293
|
return;
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
if (!a &&
|
|
1296
|
+
if (!a && o != null) {
|
|
1297
1297
|
e._isValid = !1;
|
|
1298
1298
|
return;
|
|
1299
1299
|
}
|
|
1300
1300
|
if (n[4])
|
|
1301
|
-
if (
|
|
1302
|
-
|
|
1301
|
+
if (da.exec(n[4]))
|
|
1302
|
+
c = "Z";
|
|
1303
1303
|
else {
|
|
1304
1304
|
e._isValid = !1;
|
|
1305
1305
|
return;
|
|
1306
1306
|
}
|
|
1307
|
-
e._f = i + (
|
|
1307
|
+
e._f = i + (o || "") + (c || ""), Zt(e);
|
|
1308
1308
|
} else
|
|
1309
1309
|
e._isValid = !1;
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1311
|
+
function ma(e, t, r, s, n, a) {
|
|
1312
1312
|
var i = [
|
|
1313
|
-
|
|
1314
|
-
|
|
1313
|
+
ya(e),
|
|
1314
|
+
Or.indexOf(t),
|
|
1315
1315
|
parseInt(r, 10),
|
|
1316
1316
|
parseInt(s, 10),
|
|
1317
1317
|
parseInt(n, 10)
|
|
1318
1318
|
];
|
|
1319
1319
|
return a && i.push(parseInt(a, 10)), i;
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function ya(e) {
|
|
1322
1322
|
var t = parseInt(e, 10);
|
|
1323
1323
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function _a(e) {
|
|
1326
1326
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function ga(e, t, r) {
|
|
1329
1329
|
if (e) {
|
|
1330
|
-
var s =
|
|
1330
|
+
var s = Rr.indexOf(e), n = new Date(
|
|
1331
1331
|
t[0],
|
|
1332
1332
|
t[1],
|
|
1333
1333
|
t[2]
|
|
@@ -1337,56 +1337,56 @@ function oa(e, t, r) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
return !0;
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1340
|
+
function wa(e, t, r) {
|
|
1341
1341
|
if (e)
|
|
1342
|
-
return
|
|
1342
|
+
return fa[e];
|
|
1343
1343
|
if (t)
|
|
1344
1344
|
return 0;
|
|
1345
1345
|
var s = parseInt(r, 10), n = s % 100, a = (s - n) / 100;
|
|
1346
1346
|
return a * 60 + n;
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1349
|
-
var t =
|
|
1348
|
+
function Ir(e) {
|
|
1349
|
+
var t = ha.exec(_a(e._i)), r;
|
|
1350
1350
|
if (t) {
|
|
1351
|
-
if (r =
|
|
1351
|
+
if (r = ma(
|
|
1352
1352
|
t[4],
|
|
1353
1353
|
t[3],
|
|
1354
1354
|
t[2],
|
|
1355
1355
|
t[5],
|
|
1356
1356
|
t[6],
|
|
1357
1357
|
t[7]
|
|
1358
|
-
), !
|
|
1358
|
+
), !ga(t[1], r, e))
|
|
1359
1359
|
return;
|
|
1360
|
-
e._a = r, e._tzm =
|
|
1360
|
+
e._a = r, e._tzm = wa(t[8], t[9], t[10]), e._d = We.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0;
|
|
1361
1361
|
} else
|
|
1362
1362
|
e._isValid = !1;
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
var t =
|
|
1364
|
+
function pa(e) {
|
|
1365
|
+
var t = ca.exec(e._i);
|
|
1366
1366
|
if (t !== null) {
|
|
1367
1367
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1368
1368
|
return;
|
|
1369
1369
|
}
|
|
1370
|
-
if (
|
|
1370
|
+
if (Lr(e), e._isValid === !1)
|
|
1371
1371
|
delete e._isValid;
|
|
1372
1372
|
else
|
|
1373
1373
|
return;
|
|
1374
|
-
if (
|
|
1374
|
+
if (Ir(e), e._isValid === !1)
|
|
1375
1375
|
delete e._isValid;
|
|
1376
1376
|
else
|
|
1377
1377
|
return;
|
|
1378
1378
|
e._strict ? e._isValid = !1 : u.createFromInputFallback(e);
|
|
1379
1379
|
}
|
|
1380
|
-
u.createFromInputFallback =
|
|
1380
|
+
u.createFromInputFallback = L(
|
|
1381
1381
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1382
1382
|
function(e) {
|
|
1383
1383
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1384
1384
|
}
|
|
1385
1385
|
);
|
|
1386
|
-
function
|
|
1386
|
+
function me(e, t, r) {
|
|
1387
1387
|
return e ?? t ?? r;
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1389
|
+
function ka(e) {
|
|
1390
1390
|
var t = new Date(u.now());
|
|
1391
1391
|
return e._useUTC ? [
|
|
1392
1392
|
t.getUTCFullYear(),
|
|
@@ -1394,130 +1394,130 @@ function da(e) {
|
|
|
1394
1394
|
t.getUTCDate()
|
|
1395
1395
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function zt(e) {
|
|
1398
1398
|
var t, r, s = [], n, a, i;
|
|
1399
1399
|
if (!e._d) {
|
|
1400
|
-
for (n =
|
|
1400
|
+
for (n = ka(e), e._w && e._a[V] == null && e._a[J] == null && Sa(e), e._dayOfYear != null && (i = me(e._a[N], n[N]), (e._dayOfYear > Pe(i) || e._dayOfYear === 0) && (m(e)._overflowDayOfYear = !0), r = We(i, 0, e._dayOfYear), e._a[J] = r.getUTCMonth(), e._a[V] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1401
1401
|
e._a[t] = s[t] = n[t];
|
|
1402
1402
|
for (; t < 7; t++)
|
|
1403
1403
|
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1404
|
-
e._a[
|
|
1404
|
+
e._a[T] === 24 && e._a[E] === 0 && e._a[K] === 0 && e._a[de] === 0 && (e._nextDay = !0, e._a[T] = 0), e._d = (e._useUTC ? We : bn).apply(
|
|
1405
1405
|
null,
|
|
1406
1406
|
s
|
|
1407
|
-
), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[
|
|
1407
|
+
), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[T] = 24), e._w && typeof e._w.d < "u" && e._w.d !== a && (m(e).weekdayMismatch = !0);
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1411
|
-
var t, r, s, n, a, i,
|
|
1412
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, r =
|
|
1410
|
+
function Sa(e) {
|
|
1411
|
+
var t, r, s, n, a, i, o, c, f;
|
|
1412
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, r = me(
|
|
1413
1413
|
t.GG,
|
|
1414
|
-
e._a[
|
|
1415
|
-
|
|
1416
|
-
), s =
|
|
1414
|
+
e._a[N],
|
|
1415
|
+
Ce(S(), 1, 4).year
|
|
1416
|
+
), s = me(t.W, 1), n = me(t.E, 1), (n < 1 || n > 7) && (c = !0)) : (a = e._locale._week.dow, i = e._locale._week.doy, f = Ce(S(), a, i), r = me(t.gg, e._a[N], f.year), s = me(t.w, f.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (c = !0)) : t.e != null ? (n = t.e + a, (t.e < 0 || t.e > 6) && (c = !0)) : n = a), s < 1 || s > $(r, a, i) ? m(e)._overflowWeeks = !0 : c != null ? m(e)._overflowWeekday = !0 : (o = Nr(r, s, n, a, i), e._a[N] = o.year, e._dayOfYear = o.dayOfYear);
|
|
1417
1417
|
}
|
|
1418
1418
|
u.ISO_8601 = function() {
|
|
1419
1419
|
};
|
|
1420
1420
|
u.RFC_2822 = function() {
|
|
1421
1421
|
};
|
|
1422
|
-
function
|
|
1422
|
+
function Zt(e) {
|
|
1423
1423
|
if (e._f === u.ISO_8601) {
|
|
1424
|
-
|
|
1424
|
+
Lr(e);
|
|
1425
1425
|
return;
|
|
1426
1426
|
}
|
|
1427
1427
|
if (e._f === u.RFC_2822) {
|
|
1428
|
-
|
|
1428
|
+
Ir(e);
|
|
1429
1429
|
return;
|
|
1430
1430
|
}
|
|
1431
1431
|
e._a = [], m(e).empty = !0;
|
|
1432
|
-
var t = "" + e._i, r, s, n, a, i,
|
|
1433
|
-
for (n =
|
|
1434
|
-
a = n[r], s = (t.match(
|
|
1432
|
+
var t = "" + e._i, r, s, n, a, i, o = t.length, c = 0, f, O;
|
|
1433
|
+
for (n = pr(e._f, e._locale).match(Ct) || [], O = n.length, r = 0; r < O; r++)
|
|
1434
|
+
a = n[r], s = (t.match(ln(a, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && m(e).unusedInput.push(i), t = t.slice(
|
|
1435
1435
|
t.indexOf(s) + s.length
|
|
1436
|
-
),
|
|
1437
|
-
m(e).charsLeftOver =
|
|
1436
|
+
), c += s.length), _e[a] ? (s ? m(e).empty = !1 : m(e).unusedTokens.push(a), dn(a, s, e)) : e._strict && !s && m(e).unusedTokens.push(a);
|
|
1437
|
+
m(e).charsLeftOver = o - c, t.length > 0 && m(e).unusedInput.push(t), e._a[T] <= 12 && m(e).bigHour === !0 && e._a[T] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[T] = va(
|
|
1438
1438
|
e._locale,
|
|
1439
|
-
e._a[
|
|
1439
|
+
e._a[T],
|
|
1440
1440
|
e._meridiem
|
|
1441
|
-
),
|
|
1441
|
+
), f = m(e).era, f !== null && (e._a[N] = e._locale.erasConvertYear(f, e._a[N])), zt(e), jt(e);
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function va(e, t, r) {
|
|
1444
1444
|
var s;
|
|
1445
1445
|
return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (s = e.isPM(r), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1448
|
-
var t, r, s, n, a, i,
|
|
1449
|
-
if (
|
|
1447
|
+
function Ma(e) {
|
|
1448
|
+
var t, r, s, n, a, i, o = !1, c = e._f.length;
|
|
1449
|
+
if (c === 0) {
|
|
1450
1450
|
m(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1451
1451
|
return;
|
|
1452
1452
|
}
|
|
1453
|
-
for (n = 0; n <
|
|
1454
|
-
a = 0, i = !1, t =
|
|
1455
|
-
|
|
1453
|
+
for (n = 0; n < c; n++)
|
|
1454
|
+
a = 0, i = !1, t = Rt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], Zt(t), Nt(t) && (i = !0), a += m(t).charsLeftOver, a += m(t).unusedTokens.length * 10, m(t).score = a, o ? a < s && (s = a, r = t) : (s == null || a < s || i) && (s = a, r = t, i && (o = !0));
|
|
1455
|
+
ne(e, r || t);
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function Da(e) {
|
|
1458
1458
|
if (!e._d) {
|
|
1459
|
-
var t =
|
|
1460
|
-
e._a =
|
|
1459
|
+
var t = At(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1460
|
+
e._a = _r(
|
|
1461
1461
|
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1462
1462
|
function(s) {
|
|
1463
1463
|
return s && parseInt(s, 10);
|
|
1464
1464
|
}
|
|
1465
|
-
),
|
|
1465
|
+
), zt(e);
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1469
|
-
var t = new
|
|
1468
|
+
function Ya(e) {
|
|
1469
|
+
var t = new Ie(jt(Er(e)));
|
|
1470
1470
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function Er(e) {
|
|
1473
1473
|
var t = e._i, r = e._f;
|
|
1474
|
-
return e._locale = e._locale || te(e._l), t === null || r === void 0 && t === "" ?
|
|
1474
|
+
return e._locale = e._locale || te(e._l), t === null || r === void 0 && t === "" ? rt({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), U(t) ? new Ie(jt(t)) : (Le(t) ? e._d = t : F(r) ? Ma(e) : r ? Zt(e) : Oa(e), Nt(e) || (e._d = null), e));
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1476
|
+
function Oa(e) {
|
|
1477
1477
|
var t = e._i;
|
|
1478
|
-
|
|
1478
|
+
W(t) ? e._d = new Date(u.now()) : Le(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? pa(e) : F(t) ? (e._a = _r(t.slice(0), function(r) {
|
|
1479
1479
|
return parseInt(r, 10);
|
|
1480
|
-
}),
|
|
1480
|
+
}), zt(e)) : ce(t) ? Da(e) : ee(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function Fr(e, t, r, s, n) {
|
|
1483
1483
|
var a = {};
|
|
1484
|
-
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (
|
|
1484
|
+
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (ce(e) && Pt(e) || F(e) && e.length === 0) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = n, a._l = r, a._i = e, a._f = t, a._strict = s, Ya(a);
|
|
1485
1485
|
}
|
|
1486
1486
|
function S(e, t, r, s) {
|
|
1487
|
-
return
|
|
1487
|
+
return Fr(e, t, r, s, !1);
|
|
1488
1488
|
}
|
|
1489
|
-
var
|
|
1489
|
+
var ba = L(
|
|
1490
1490
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1491
1491
|
function() {
|
|
1492
1492
|
var e = S.apply(null, arguments);
|
|
1493
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1493
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : rt();
|
|
1494
1494
|
}
|
|
1495
|
-
),
|
|
1495
|
+
), Ta = L(
|
|
1496
1496
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1497
1497
|
function() {
|
|
1498
1498
|
var e = S.apply(null, arguments);
|
|
1499
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1499
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : rt();
|
|
1500
1500
|
}
|
|
1501
1501
|
);
|
|
1502
|
-
function
|
|
1502
|
+
function Ur(e, t) {
|
|
1503
1503
|
var r, s;
|
|
1504
|
-
if (t.length === 1 &&
|
|
1504
|
+
if (t.length === 1 && F(t[0]) && (t = t[0]), !t.length)
|
|
1505
1505
|
return S();
|
|
1506
1506
|
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1507
1507
|
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1508
1508
|
return r;
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function xa() {
|
|
1511
1511
|
var e = [].slice.call(arguments, 0);
|
|
1512
|
-
return
|
|
1512
|
+
return Ur("isBefore", e);
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function Pa() {
|
|
1515
1515
|
var e = [].slice.call(arguments, 0);
|
|
1516
|
-
return
|
|
1516
|
+
return Ur("isAfter", e);
|
|
1517
1517
|
}
|
|
1518
|
-
var
|
|
1518
|
+
var Na = function() {
|
|
1519
1519
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1520
|
-
},
|
|
1520
|
+
}, Te = [
|
|
1521
1521
|
"year",
|
|
1522
1522
|
"quarter",
|
|
1523
1523
|
"month",
|
|
@@ -1528,143 +1528,143 @@ var Sa = function() {
|
|
|
1528
1528
|
"second",
|
|
1529
1529
|
"millisecond"
|
|
1530
1530
|
];
|
|
1531
|
-
function
|
|
1532
|
-
var t, r = !1, s, n =
|
|
1531
|
+
function Ra(e) {
|
|
1532
|
+
var t, r = !1, s, n = Te.length;
|
|
1533
1533
|
for (t in e)
|
|
1534
|
-
if (g(e, t) && !(
|
|
1534
|
+
if (g(e, t) && !(D.call(Te, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1535
1535
|
return !1;
|
|
1536
1536
|
for (s = 0; s < n; ++s)
|
|
1537
|
-
if (e[
|
|
1537
|
+
if (e[Te[s]]) {
|
|
1538
1538
|
if (r)
|
|
1539
1539
|
return !1;
|
|
1540
|
-
parseFloat(e[
|
|
1540
|
+
parseFloat(e[Te[s]]) !== y(e[Te[s]]) && (r = !0);
|
|
1541
1541
|
}
|
|
1542
1542
|
return !0;
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function Wa() {
|
|
1545
1545
|
return this._isValid;
|
|
1546
1546
|
}
|
|
1547
|
-
function
|
|
1548
|
-
return
|
|
1547
|
+
function Ca() {
|
|
1548
|
+
return H(NaN);
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1551
|
-
var t =
|
|
1552
|
-
this._isValid =
|
|
1553
|
-
|
|
1554
|
-
|
|
1550
|
+
function dt(e) {
|
|
1551
|
+
var t = At(e), r = t.year || 0, s = t.quarter || 0, n = t.month || 0, a = t.week || t.isoWeek || 0, i = t.day || 0, o = t.hour || 0, c = t.minute || 0, f = t.second || 0, O = t.millisecond || 0;
|
|
1552
|
+
this._isValid = Ra(t), this._milliseconds = +O + f * 1e3 + // 1000
|
|
1553
|
+
c * 6e4 + // 1000 * 60
|
|
1554
|
+
o * 1e3 * 60 * 60, this._days = +i + a * 7, this._months = +n + s * 3 + r * 12, this._data = {}, this._locale = te(), this._bubble();
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1557
|
-
return e instanceof
|
|
1556
|
+
function Be(e) {
|
|
1557
|
+
return e instanceof dt;
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function Yt(e) {
|
|
1560
1560
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function Aa(e, t, r) {
|
|
1563
1563
|
var s = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), a = 0, i;
|
|
1564
1564
|
for (i = 0; i < s; i++)
|
|
1565
1565
|
y(e[i]) !== y(t[i]) && a++;
|
|
1566
1566
|
return a + n;
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1569
|
-
|
|
1568
|
+
function Hr(e, t) {
|
|
1569
|
+
h(e, 0, 0, function() {
|
|
1570
1570
|
var r = this.utcOffset(), s = "+";
|
|
1571
|
-
return r < 0 && (r = -r, s = "-"), s +
|
|
1571
|
+
return r < 0 && (r = -r, s = "-"), s + j(~~(r / 60), 2) + t + j(~~r % 60, 2);
|
|
1572
1572
|
});
|
|
1573
1573
|
}
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
r._useUTC = !0, r._tzm =
|
|
1574
|
+
Hr("Z", ":");
|
|
1575
|
+
Hr("ZZ", "");
|
|
1576
|
+
d("Z", ot);
|
|
1577
|
+
d("ZZ", ot);
|
|
1578
|
+
k(["Z", "ZZ"], function(e, t, r) {
|
|
1579
|
+
r._useUTC = !0, r._tzm = Bt(ot, e);
|
|
1580
1580
|
});
|
|
1581
|
-
var
|
|
1582
|
-
function
|
|
1581
|
+
var La = /([\+\-]|\d\d)/gi;
|
|
1582
|
+
function Bt(e, t) {
|
|
1583
1583
|
var r = (t || "").match(e), s, n, a;
|
|
1584
|
-
return r === null ? null : (s = r[r.length - 1] || [], n = (s + "").match(
|
|
1584
|
+
return r === null ? null : (s = r[r.length - 1] || [], n = (s + "").match(La) || ["-", 0, 0], a = +(n[1] * 60) + y(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function qt(e, t) {
|
|
1587
1587
|
var r, s;
|
|
1588
|
-
return t._isUTC ? (r = t.clone(), s = (
|
|
1588
|
+
return t._isUTC ? (r = t.clone(), s = (U(e) || Le(e) ? e.valueOf() : S(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), u.updateOffset(r, !1), r) : S(e).local();
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function Ot(e) {
|
|
1591
1591
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1592
1592
|
}
|
|
1593
1593
|
u.updateOffset = function() {
|
|
1594
1594
|
};
|
|
1595
|
-
function
|
|
1595
|
+
function Ia(e, t, r) {
|
|
1596
1596
|
var s = this._offset || 0, n;
|
|
1597
1597
|
if (!this.isValid())
|
|
1598
1598
|
return e != null ? this : NaN;
|
|
1599
1599
|
if (e != null) {
|
|
1600
1600
|
if (typeof e == "string") {
|
|
1601
|
-
if (e =
|
|
1601
|
+
if (e = Bt(ot, e), e === null)
|
|
1602
1602
|
return this;
|
|
1603
1603
|
} else Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1604
|
-
return !this._isUTC && t && (n =
|
|
1604
|
+
return !this._isUTC && t && (n = Ot(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), s !== e && (!t || this._changeInProgress ? jr(
|
|
1605
1605
|
this,
|
|
1606
|
-
|
|
1606
|
+
H(e - s, "m"),
|
|
1607
1607
|
1,
|
|
1608
1608
|
!1
|
|
1609
1609
|
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1610
1610
|
} else
|
|
1611
|
-
return this._isUTC ? s :
|
|
1611
|
+
return this._isUTC ? s : Ot(this);
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Ea(e, t) {
|
|
1614
1614
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1616
|
+
function Fa(e) {
|
|
1617
1617
|
return this.utcOffset(0, e);
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1620
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1619
|
+
function Ua(e) {
|
|
1620
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Ot(this), "m")), this;
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function Ha() {
|
|
1623
1623
|
if (this._tzm != null)
|
|
1624
1624
|
this.utcOffset(this._tzm, !1, !0);
|
|
1625
1625
|
else if (typeof this._i == "string") {
|
|
1626
|
-
var e =
|
|
1626
|
+
var e = Bt(an, this._i);
|
|
1627
1627
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1628
1628
|
}
|
|
1629
1629
|
return this;
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function Va(e) {
|
|
1632
1632
|
return this.isValid() ? (e = e ? S(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function Ga() {
|
|
1635
1635
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1638
|
-
if (!
|
|
1637
|
+
function ja() {
|
|
1638
|
+
if (!W(this._isDSTShifted))
|
|
1639
1639
|
return this._isDSTShifted;
|
|
1640
1640
|
var e = {}, t;
|
|
1641
|
-
return
|
|
1641
|
+
return Rt(e, this), e = Er(e), e._a ? (t = e._isUTC ? z(e._a) : S(e._a), this._isDSTShifted = this.isValid() && Aa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function za() {
|
|
1644
1644
|
return this.isValid() ? !this._isUTC : !1;
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function Za() {
|
|
1647
1647
|
return this.isValid() ? this._isUTC : !1;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function Vr() {
|
|
1650
1650
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1651
1651
|
}
|
|
1652
|
-
var
|
|
1653
|
-
function
|
|
1652
|
+
var Ba = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, qa = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1653
|
+
function H(e, t) {
|
|
1654
1654
|
var r = e, s = null, n, a, i;
|
|
1655
|
-
return
|
|
1655
|
+
return Be(e) ? r = {
|
|
1656
1656
|
ms: e._milliseconds,
|
|
1657
1657
|
d: e._days,
|
|
1658
1658
|
M: e._months
|
|
1659
|
-
} : ee(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s =
|
|
1659
|
+
} : ee(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Ba.exec(e)) ? (n = s[1] === "-" ? -1 : 1, r = {
|
|
1660
1660
|
y: 0,
|
|
1661
|
-
d: y(s[
|
|
1662
|
-
h: y(s[
|
|
1663
|
-
m: y(s[
|
|
1661
|
+
d: y(s[V]) * n,
|
|
1662
|
+
h: y(s[T]) * n,
|
|
1663
|
+
m: y(s[E]) * n,
|
|
1664
1664
|
s: y(s[K]) * n,
|
|
1665
|
-
ms: y(
|
|
1665
|
+
ms: y(Yt(s[de] * 1e3)) * n
|
|
1666
1666
|
// the millisecond decimal point is included in the match
|
|
1667
|
-
}) : (s =
|
|
1667
|
+
}) : (s = qa.exec(e)) ? (n = s[1] === "-" ? -1 : 1, r = {
|
|
1668
1668
|
y: oe(s[2], n),
|
|
1669
1669
|
M: oe(s[3], n),
|
|
1670
1670
|
w: oe(s[4], n),
|
|
@@ -1672,47 +1672,47 @@ function U(e, t) {
|
|
|
1672
1672
|
h: oe(s[6], n),
|
|
1673
1673
|
m: oe(s[7], n),
|
|
1674
1674
|
s: oe(s[8], n)
|
|
1675
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i =
|
|
1675
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Qa(
|
|
1676
1676
|
S(r.from),
|
|
1677
1677
|
S(r.to)
|
|
1678
|
-
), r = {}, r.ms = i.milliseconds, r.M = i.months), a = new
|
|
1678
|
+
), r = {}, r.ms = i.milliseconds, r.M = i.months), a = new dt(r), Be(e) && g(e, "_locale") && (a._locale = e._locale), Be(e) && g(e, "_isValid") && (a._isValid = e._isValid), a;
|
|
1679
1679
|
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1680
|
+
H.fn = dt.prototype;
|
|
1681
|
+
H.invalid = Ca;
|
|
1682
1682
|
function oe(e, t) {
|
|
1683
1683
|
var r = e && parseFloat(e.replace(",", "."));
|
|
1684
1684
|
return (isNaN(r) ? 0 : r) * t;
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1686
|
+
function or(e, t) {
|
|
1687
1687
|
var r = {};
|
|
1688
1688
|
return r.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(r.months, "M").isAfter(t) && --r.months, r.milliseconds = +t - +e.clone().add(r.months, "M"), r;
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function Qa(e, t) {
|
|
1691
1691
|
var r;
|
|
1692
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1692
|
+
return e.isValid() && t.isValid() ? (t = qt(t, e), e.isBefore(t) ? r = or(e, t) : (r = or(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
1693
1693
|
}
|
|
1694
|
-
function
|
|
1694
|
+
function Gr(e, t) {
|
|
1695
1695
|
return function(r, s) {
|
|
1696
1696
|
var n, a;
|
|
1697
|
-
return s !== null && !isNaN(+s) && (
|
|
1697
|
+
return s !== null && !isNaN(+s) && (wr(
|
|
1698
1698
|
t,
|
|
1699
1699
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1700
|
-
), a = r, r = s, s = a), n =
|
|
1700
|
+
), a = r, r = s, s = a), n = H(r, s), jr(this, n, e), this;
|
|
1701
1701
|
};
|
|
1702
1702
|
}
|
|
1703
|
-
function
|
|
1704
|
-
var n = t._milliseconds, a =
|
|
1705
|
-
e.isValid() && (s = s ?? !0, i &&
|
|
1703
|
+
function jr(e, t, r, s) {
|
|
1704
|
+
var n = t._milliseconds, a = Yt(t._days), i = Yt(t._months);
|
|
1705
|
+
e.isValid() && (s = s ?? !0, i && Tr(e, Re(e, "Month") + i * r), a && Yr(e, "Date", Re(e, "Date") + a * r), n && e._d.setTime(e._d.valueOf() + n * r), s && u.updateOffset(e, a || i));
|
|
1706
1706
|
}
|
|
1707
|
-
var
|
|
1708
|
-
function
|
|
1707
|
+
var Ja = Gr(1, "add"), Ka = Gr(-1, "subtract");
|
|
1708
|
+
function zr(e) {
|
|
1709
1709
|
return typeof e == "string" || e instanceof String;
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1712
|
-
return
|
|
1711
|
+
function Xa(e) {
|
|
1712
|
+
return U(e) || Le(e) || zr(e) || ee(e) || ei(e) || $a(e) || e === null || e === void 0;
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1715
|
-
var t =
|
|
1714
|
+
function $a(e) {
|
|
1715
|
+
var t = ce(e) && !Pt(e), r = !1, s = [
|
|
1716
1716
|
"years",
|
|
1717
1717
|
"year",
|
|
1718
1718
|
"y",
|
|
@@ -1742,14 +1742,14 @@ function Ga(e) {
|
|
|
1742
1742
|
a = s[n], r = r || g(e, a);
|
|
1743
1743
|
return t && r;
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1746
|
-
var t =
|
|
1745
|
+
function ei(e) {
|
|
1746
|
+
var t = F(e), r = !1;
|
|
1747
1747
|
return t && (r = e.filter(function(s) {
|
|
1748
|
-
return !ee(s) &&
|
|
1748
|
+
return !ee(s) && zr(e);
|
|
1749
1749
|
}).length === 0), t && r;
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1752
|
-
var t =
|
|
1751
|
+
function ti(e) {
|
|
1752
|
+
var t = ce(e) && !Pt(e), r = !1, s = [
|
|
1753
1753
|
"sameDay",
|
|
1754
1754
|
"nextDay",
|
|
1755
1755
|
"lastDay",
|
|
@@ -1761,57 +1761,57 @@ function za(e) {
|
|
|
1761
1761
|
a = s[n], r = r || g(e, a);
|
|
1762
1762
|
return t && r;
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function ri(e, t) {
|
|
1765
1765
|
var r = e.diff(t, "days", !0);
|
|
1766
1766
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1769
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1770
|
-
var r = e || S(), s =
|
|
1768
|
+
function si(e, t) {
|
|
1769
|
+
arguments.length === 1 && (arguments[0] ? Xa(arguments[0]) ? (e = arguments[0], t = void 0) : ti(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1770
|
+
var r = e || S(), s = qt(r, this).startOf("day"), n = u.calendarFormat(this, s) || "sameElse", a = t && (Z(t[n]) ? t[n].call(this, r) : t[n]);
|
|
1771
1771
|
return this.format(
|
|
1772
1772
|
a || this.localeData().calendar(n, this, S(r))
|
|
1773
1773
|
);
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1776
|
-
return new
|
|
1775
|
+
function ni() {
|
|
1776
|
+
return new Ie(this);
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1779
|
-
var r =
|
|
1780
|
-
return this.isValid() && r.isValid() ? (t =
|
|
1778
|
+
function ai(e, t) {
|
|
1779
|
+
var r = U(e) ? e : S(e);
|
|
1780
|
+
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1781
1781
|
}
|
|
1782
|
-
function
|
|
1783
|
-
var r =
|
|
1784
|
-
return this.isValid() && r.isValid() ? (t =
|
|
1782
|
+
function ii(e, t) {
|
|
1783
|
+
var r = U(e) ? e : S(e);
|
|
1784
|
+
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1787
|
-
var n =
|
|
1786
|
+
function oi(e, t, r, s) {
|
|
1787
|
+
var n = U(e) ? e : S(e), a = U(t) ? t : S(t);
|
|
1788
1788
|
return this.isValid() && n.isValid() && a.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(n, r) : !this.isBefore(n, r)) && (s[1] === ")" ? this.isBefore(a, r) : !this.isAfter(a, r))) : !1;
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1791
|
-
var r =
|
|
1792
|
-
return this.isValid() && r.isValid() ? (t =
|
|
1790
|
+
function li(e, t) {
|
|
1791
|
+
var r = U(e) ? e : S(e), s;
|
|
1792
|
+
return this.isValid() && r.isValid() ? (t = I(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function ui(e, t) {
|
|
1795
1795
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function di(e, t) {
|
|
1798
1798
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function ci(e, t, r) {
|
|
1801
1801
|
var s, n, a;
|
|
1802
1802
|
if (!this.isValid())
|
|
1803
1803
|
return NaN;
|
|
1804
|
-
if (s =
|
|
1804
|
+
if (s = qt(e, this), !s.isValid())
|
|
1805
1805
|
return NaN;
|
|
1806
|
-
switch (n = (s.utcOffset() - this.utcOffset()) * 6e4, t =
|
|
1806
|
+
switch (n = (s.utcOffset() - this.utcOffset()) * 6e4, t = I(t), t) {
|
|
1807
1807
|
case "year":
|
|
1808
|
-
a =
|
|
1808
|
+
a = qe(this, s) / 12;
|
|
1809
1809
|
break;
|
|
1810
1810
|
case "month":
|
|
1811
|
-
a =
|
|
1811
|
+
a = qe(this, s);
|
|
1812
1812
|
break;
|
|
1813
1813
|
case "quarter":
|
|
1814
|
-
a =
|
|
1814
|
+
a = qe(this, s) / 3;
|
|
1815
1815
|
break;
|
|
1816
1816
|
case "second":
|
|
1817
1817
|
a = (this - s) / 1e3;
|
|
@@ -1836,82 +1836,82 @@ function ti(e, t, r) {
|
|
|
1836
1836
|
default:
|
|
1837
1837
|
a = this - s;
|
|
1838
1838
|
}
|
|
1839
|
-
return r ? a :
|
|
1839
|
+
return r ? a : A(a);
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function qe(e, t) {
|
|
1842
1842
|
if (e.date() < t.date())
|
|
1843
|
-
return -
|
|
1843
|
+
return -qe(t, e);
|
|
1844
1844
|
var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), n, a;
|
|
1845
1845
|
return t - s < 0 ? (n = e.clone().add(r - 1, "months"), a = (t - s) / (s - n)) : (n = e.clone().add(r + 1, "months"), a = (t - s) / (n - s)), -(r + a) || 0;
|
|
1846
1846
|
}
|
|
1847
1847
|
u.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1848
1848
|
u.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1849
|
-
function
|
|
1849
|
+
function hi() {
|
|
1850
1850
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1852
|
+
function fi(e) {
|
|
1853
1853
|
if (!this.isValid())
|
|
1854
1854
|
return null;
|
|
1855
1855
|
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1856
|
-
return r.year() < 0 || r.year() > 9999 ?
|
|
1856
|
+
return r.year() < 0 || r.year() > 9999 ? Ze(
|
|
1857
1857
|
r,
|
|
1858
1858
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1859
|
-
) :
|
|
1859
|
+
) : Z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Ze(r, "Z")) : Ze(
|
|
1860
1860
|
r,
|
|
1861
1861
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1862
1862
|
);
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function mi() {
|
|
1865
1865
|
if (!this.isValid())
|
|
1866
1866
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1867
1867
|
var e = "moment", t = "", r, s, n, a;
|
|
1868
1868
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", a = t + '[")]', this.format(r + s + n + a);
|
|
1869
1869
|
}
|
|
1870
|
-
function
|
|
1870
|
+
function yi(e) {
|
|
1871
1871
|
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1872
|
-
var t =
|
|
1872
|
+
var t = Ze(this, e);
|
|
1873
1873
|
return this.localeData().postformat(t);
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return this.isValid() && (
|
|
1875
|
+
function _i(e, t) {
|
|
1876
|
+
return this.isValid() && (U(e) && e.isValid() || S(e).isValid()) ? H({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1878
|
+
function gi(e) {
|
|
1879
1879
|
return this.from(S(), e);
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1882
|
-
return this.isValid() && (
|
|
1881
|
+
function wi(e, t) {
|
|
1882
|
+
return this.isValid() && (U(e) && e.isValid() || S(e).isValid()) ? H({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function pi(e) {
|
|
1885
1885
|
return this.to(S(), e);
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1887
|
+
function Zr(e) {
|
|
1888
1888
|
var t;
|
|
1889
1889
|
return e === void 0 ? this._locale._abbr : (t = te(e), t != null && (this._locale = t), this);
|
|
1890
1890
|
}
|
|
1891
|
-
var
|
|
1891
|
+
var Br = L(
|
|
1892
1892
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1893
1893
|
function(e) {
|
|
1894
1894
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1895
1895
|
}
|
|
1896
1896
|
);
|
|
1897
|
-
function
|
|
1897
|
+
function qr() {
|
|
1898
1898
|
return this._locale;
|
|
1899
1899
|
}
|
|
1900
|
-
var
|
|
1901
|
-
function
|
|
1900
|
+
var Xe = 1e3, ge = 60 * Xe, $e = 60 * ge, Qr = (365 * 400 + 97) * 24 * $e;
|
|
1901
|
+
function we(e, t) {
|
|
1902
1902
|
return (e % t + t) % t;
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1905
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) -
|
|
1904
|
+
function Jr(e, t, r) {
|
|
1905
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - Qr : new Date(e, t, r).valueOf();
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1908
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) -
|
|
1907
|
+
function Kr(e, t, r) {
|
|
1908
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - Qr : Date.UTC(e, t, r);
|
|
1909
1909
|
}
|
|
1910
|
-
function
|
|
1910
|
+
function ki(e) {
|
|
1911
1911
|
var t, r;
|
|
1912
|
-
if (e =
|
|
1912
|
+
if (e = I(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1913
1913
|
return this;
|
|
1914
|
-
switch (r = this._isUTC ?
|
|
1914
|
+
switch (r = this._isUTC ? Kr : Jr, e) {
|
|
1915
1915
|
case "year":
|
|
1916
1916
|
t = r(this.year(), 0, 1);
|
|
1917
1917
|
break;
|
|
@@ -1944,25 +1944,25 @@ function di(e) {
|
|
|
1944
1944
|
t = r(this.year(), this.month(), this.date());
|
|
1945
1945
|
break;
|
|
1946
1946
|
case "hour":
|
|
1947
|
-
t = this._d.valueOf(), t -=
|
|
1948
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
1949
|
-
|
|
1947
|
+
t = this._d.valueOf(), t -= we(
|
|
1948
|
+
t + (this._isUTC ? 0 : this.utcOffset() * ge),
|
|
1949
|
+
$e
|
|
1950
1950
|
);
|
|
1951
1951
|
break;
|
|
1952
1952
|
case "minute":
|
|
1953
|
-
t = this._d.valueOf(), t -=
|
|
1953
|
+
t = this._d.valueOf(), t -= we(t, ge);
|
|
1954
1954
|
break;
|
|
1955
1955
|
case "second":
|
|
1956
|
-
t = this._d.valueOf(), t -=
|
|
1956
|
+
t = this._d.valueOf(), t -= we(t, Xe);
|
|
1957
1957
|
break;
|
|
1958
1958
|
}
|
|
1959
1959
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1961
|
+
function Si(e) {
|
|
1962
1962
|
var t, r;
|
|
1963
|
-
if (e =
|
|
1963
|
+
if (e = I(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1964
1964
|
return this;
|
|
1965
|
-
switch (r = this._isUTC ?
|
|
1965
|
+
switch (r = this._isUTC ? Kr : Jr, e) {
|
|
1966
1966
|
case "year":
|
|
1967
1967
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
1968
1968
|
break;
|
|
@@ -1995,30 +1995,30 @@ function ci(e) {
|
|
|
1995
1995
|
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
1996
1996
|
break;
|
|
1997
1997
|
case "hour":
|
|
1998
|
-
t = this._d.valueOf(), t +=
|
|
1999
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2000
|
-
|
|
1998
|
+
t = this._d.valueOf(), t += $e - we(
|
|
1999
|
+
t + (this._isUTC ? 0 : this.utcOffset() * ge),
|
|
2000
|
+
$e
|
|
2001
2001
|
) - 1;
|
|
2002
2002
|
break;
|
|
2003
2003
|
case "minute":
|
|
2004
|
-
t = this._d.valueOf(), t +=
|
|
2004
|
+
t = this._d.valueOf(), t += ge - we(t, ge) - 1;
|
|
2005
2005
|
break;
|
|
2006
2006
|
case "second":
|
|
2007
|
-
t = this._d.valueOf(), t +=
|
|
2007
|
+
t = this._d.valueOf(), t += Xe - we(t, Xe) - 1;
|
|
2008
2008
|
break;
|
|
2009
2009
|
}
|
|
2010
2010
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function vi() {
|
|
2013
2013
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function Mi() {
|
|
2016
2016
|
return Math.floor(this.valueOf() / 1e3);
|
|
2017
2017
|
}
|
|
2018
|
-
function
|
|
2018
|
+
function Di() {
|
|
2019
2019
|
return new Date(this.valueOf());
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2021
|
+
function Yi() {
|
|
2022
2022
|
var e = this;
|
|
2023
2023
|
return [
|
|
2024
2024
|
e.year(),
|
|
@@ -2030,7 +2030,7 @@ function yi() {
|
|
|
2030
2030
|
e.millisecond()
|
|
2031
2031
|
];
|
|
2032
2032
|
}
|
|
2033
|
-
function
|
|
2033
|
+
function Oi() {
|
|
2034
2034
|
var e = this;
|
|
2035
2035
|
return {
|
|
2036
2036
|
years: e.year(),
|
|
@@ -2042,19 +2042,19 @@ function _i() {
|
|
|
2042
2042
|
milliseconds: e.milliseconds()
|
|
2043
2043
|
};
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function bi() {
|
|
2046
2046
|
return this.isValid() ? this.toISOString() : null;
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2049
|
-
return
|
|
2048
|
+
function Ti() {
|
|
2049
|
+
return Nt(this);
|
|
2050
2050
|
}
|
|
2051
|
-
function
|
|
2052
|
-
return
|
|
2051
|
+
function xi() {
|
|
2052
|
+
return ne({}, m(this));
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2054
|
+
function Pi() {
|
|
2055
2055
|
return m(this).overflow;
|
|
2056
2056
|
}
|
|
2057
|
-
function
|
|
2057
|
+
function Ni() {
|
|
2058
2058
|
return {
|
|
2059
2059
|
input: this._i,
|
|
2060
2060
|
format: this._f,
|
|
@@ -2063,38 +2063,38 @@ function Si() {
|
|
|
2063
2063
|
strict: this._strict
|
|
2064
2064
|
};
|
|
2065
2065
|
}
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2066
|
+
h("N", 0, 0, "eraAbbr");
|
|
2067
|
+
h("NN", 0, 0, "eraAbbr");
|
|
2068
|
+
h("NNN", 0, 0, "eraAbbr");
|
|
2069
|
+
h("NNNN", 0, 0, "eraName");
|
|
2070
|
+
h("NNNNN", 0, 0, "eraNarrow");
|
|
2071
|
+
h("y", ["y", 1], "yo", "eraYear");
|
|
2072
|
+
h("y", ["yy", 2], 0, "eraYear");
|
|
2073
|
+
h("y", ["yyy", 3], 0, "eraYear");
|
|
2074
|
+
h("y", ["yyyy", 4], 0, "eraYear");
|
|
2075
|
+
d("N", Qt);
|
|
2076
|
+
d("NN", Qt);
|
|
2077
|
+
d("NNN", Qt);
|
|
2078
|
+
d("NNNN", Vi);
|
|
2079
|
+
d("NNNNN", Gi);
|
|
2080
|
+
k(
|
|
2081
2081
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2082
2082
|
function(e, t, r, s) {
|
|
2083
2083
|
var n = r._locale.erasParse(e, s, r._strict);
|
|
2084
2084
|
n ? m(r).era = n : m(r).invalidEra = e;
|
|
2085
2085
|
}
|
|
2086
2086
|
);
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2087
|
+
d("y", Se);
|
|
2088
|
+
d("yy", Se);
|
|
2089
|
+
d("yyy", Se);
|
|
2090
|
+
d("yyyy", Se);
|
|
2091
|
+
d("yo", ji);
|
|
2092
|
+
k(["y", "yy", "yyy", "yyyy"], N);
|
|
2093
|
+
k(["yo"], function(e, t, r, s) {
|
|
2094
2094
|
var n;
|
|
2095
|
-
r._locale._eraYearOrdinalRegex && (n = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[
|
|
2095
|
+
r._locale._eraYearOrdinalRegex && (n = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[N] = r._locale.eraYearOrdinalParse(e, n) : t[N] = parseInt(e, 10);
|
|
2096
2096
|
});
|
|
2097
|
-
function
|
|
2097
|
+
function Ri(e, t) {
|
|
2098
2098
|
var r, s, n, a = this._eras || te("en")._eras;
|
|
2099
2099
|
for (r = 0, s = a.length; r < s; ++r) {
|
|
2100
2100
|
switch (typeof a[r].since) {
|
|
@@ -2113,15 +2113,15 @@ function vi(e, t) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
return a;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2117
|
-
var s, n, a = this.eras(), i,
|
|
2116
|
+
function Wi(e, t, r) {
|
|
2117
|
+
var s, n, a = this.eras(), i, o, c;
|
|
2118
2118
|
for (e = e.toUpperCase(), s = 0, n = a.length; s < n; ++s)
|
|
2119
|
-
if (i = a[s].name.toUpperCase(),
|
|
2119
|
+
if (i = a[s].name.toUpperCase(), o = a[s].abbr.toUpperCase(), c = a[s].narrow.toUpperCase(), r)
|
|
2120
2120
|
switch (t) {
|
|
2121
2121
|
case "N":
|
|
2122
2122
|
case "NN":
|
|
2123
2123
|
case "NNN":
|
|
2124
|
-
if (
|
|
2124
|
+
if (o === e)
|
|
2125
2125
|
return a[s];
|
|
2126
2126
|
break;
|
|
2127
2127
|
case "NNNN":
|
|
@@ -2129,107 +2129,107 @@ function Mi(e, t, r) {
|
|
|
2129
2129
|
return a[s];
|
|
2130
2130
|
break;
|
|
2131
2131
|
case "NNNNN":
|
|
2132
|
-
if (
|
|
2132
|
+
if (c === e)
|
|
2133
2133
|
return a[s];
|
|
2134
2134
|
break;
|
|
2135
2135
|
}
|
|
2136
|
-
else if ([i,
|
|
2136
|
+
else if ([i, o, c].indexOf(e) >= 0)
|
|
2137
2137
|
return a[s];
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2139
|
+
function Ci(e, t) {
|
|
2140
2140
|
var r = e.since <= e.until ? 1 : -1;
|
|
2141
2141
|
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * r;
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2143
|
+
function Ai() {
|
|
2144
2144
|
var e, t, r, s = this.localeData().eras();
|
|
2145
2145
|
for (e = 0, t = s.length; e < t; ++e)
|
|
2146
2146
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2147
2147
|
return s[e].name;
|
|
2148
2148
|
return "";
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2150
|
+
function Li() {
|
|
2151
2151
|
var e, t, r, s = this.localeData().eras();
|
|
2152
2152
|
for (e = 0, t = s.length; e < t; ++e)
|
|
2153
2153
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2154
2154
|
return s[e].narrow;
|
|
2155
2155
|
return "";
|
|
2156
2156
|
}
|
|
2157
|
-
function
|
|
2157
|
+
function Ii() {
|
|
2158
2158
|
var e, t, r, s = this.localeData().eras();
|
|
2159
2159
|
for (e = 0, t = s.length; e < t; ++e)
|
|
2160
2160
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2161
2161
|
return s[e].abbr;
|
|
2162
2162
|
return "";
|
|
2163
2163
|
}
|
|
2164
|
-
function
|
|
2164
|
+
function Ei() {
|
|
2165
2165
|
var e, t, r, s, n = this.localeData().eras();
|
|
2166
2166
|
for (e = 0, t = n.length; e < t; ++e)
|
|
2167
2167
|
if (r = n[e].since <= n[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), n[e].since <= s && s <= n[e].until || n[e].until <= s && s <= n[e].since)
|
|
2168
2168
|
return (this.year() - u(n[e].since).year()) * r + n[e].offset;
|
|
2169
2169
|
return this.year();
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2172
|
-
return g(this, "_erasNameRegex") ||
|
|
2171
|
+
function Fi(e) {
|
|
2172
|
+
return g(this, "_erasNameRegex") || Jt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2173
2173
|
}
|
|
2174
|
-
function
|
|
2175
|
-
return g(this, "_erasAbbrRegex") ||
|
|
2174
|
+
function Ui(e) {
|
|
2175
|
+
return g(this, "_erasAbbrRegex") || Jt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2178
|
-
return g(this, "_erasNarrowRegex") ||
|
|
2177
|
+
function Hi(e) {
|
|
2178
|
+
return g(this, "_erasNarrowRegex") || Jt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2179
2179
|
}
|
|
2180
|
-
function
|
|
2180
|
+
function Qt(e, t) {
|
|
2181
2181
|
return t.erasAbbrRegex(e);
|
|
2182
2182
|
}
|
|
2183
|
-
function
|
|
2183
|
+
function Vi(e, t) {
|
|
2184
2184
|
return t.erasNameRegex(e);
|
|
2185
2185
|
}
|
|
2186
|
-
function
|
|
2186
|
+
function Gi(e, t) {
|
|
2187
2187
|
return t.erasNarrowRegex(e);
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
return t._eraYearOrdinalRegex ||
|
|
2189
|
+
function ji(e, t) {
|
|
2190
|
+
return t._eraYearOrdinalRegex || Se;
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
var e = [], t = [], r = [], s = [], n, a, i,
|
|
2194
|
-
for (n = 0, a =
|
|
2195
|
-
i = X(
|
|
2192
|
+
function Jt() {
|
|
2193
|
+
var e = [], t = [], r = [], s = [], n, a, i, o, c, f = this.eras();
|
|
2194
|
+
for (n = 0, a = f.length; n < a; ++n)
|
|
2195
|
+
i = X(f[n].name), o = X(f[n].abbr), c = X(f[n].narrow), t.push(i), e.push(o), r.push(c), s.push(i), s.push(o), s.push(c);
|
|
2196
2196
|
this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2197
2197
|
"^(" + r.join("|") + ")",
|
|
2198
2198
|
"i"
|
|
2199
2199
|
);
|
|
2200
2200
|
}
|
|
2201
|
-
|
|
2201
|
+
h(0, ["gg", 2], 0, function() {
|
|
2202
2202
|
return this.weekYear() % 100;
|
|
2203
2203
|
});
|
|
2204
|
-
|
|
2204
|
+
h(0, ["GG", 2], 0, function() {
|
|
2205
2205
|
return this.isoWeekYear() % 100;
|
|
2206
2206
|
});
|
|
2207
|
-
function
|
|
2208
|
-
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2207
|
+
function ct(e, t) {
|
|
2208
|
+
h(0, [e, e.length], 0, t);
|
|
2209
|
+
}
|
|
2210
|
+
ct("gggg", "weekYear");
|
|
2211
|
+
ct("ggggg", "weekYear");
|
|
2212
|
+
ct("GGGG", "isoWeekYear");
|
|
2213
|
+
ct("GGGGG", "isoWeekYear");
|
|
2214
|
+
d("G", it);
|
|
2215
|
+
d("g", it);
|
|
2216
|
+
d("GG", v, C);
|
|
2217
|
+
d("gg", v, C);
|
|
2218
|
+
d("GGGG", It, Lt);
|
|
2219
|
+
d("gggg", It, Lt);
|
|
2220
|
+
d("GGGGG", at, st);
|
|
2221
|
+
d("ggggg", at, st);
|
|
2222
|
+
Fe(
|
|
2223
2223
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2224
2224
|
function(e, t, r, s) {
|
|
2225
2225
|
t[s.substr(0, 2)] = y(e);
|
|
2226
2226
|
}
|
|
2227
2227
|
);
|
|
2228
|
-
|
|
2228
|
+
Fe(["gg", "GG"], function(e, t, r, s) {
|
|
2229
2229
|
t[s] = u.parseTwoDigitYear(e);
|
|
2230
2230
|
});
|
|
2231
|
-
function
|
|
2232
|
-
return
|
|
2231
|
+
function zi(e) {
|
|
2232
|
+
return Xr.call(
|
|
2233
2233
|
this,
|
|
2234
2234
|
e,
|
|
2235
2235
|
this.week(),
|
|
@@ -2238,8 +2238,8 @@ function Ai(e) {
|
|
|
2238
2238
|
this.localeData()._week.doy
|
|
2239
2239
|
);
|
|
2240
2240
|
}
|
|
2241
|
-
function
|
|
2242
|
-
return
|
|
2241
|
+
function Zi(e) {
|
|
2242
|
+
return Xr.call(
|
|
2243
2243
|
this,
|
|
2244
2244
|
e,
|
|
2245
2245
|
this.isoWeek(),
|
|
@@ -2248,293 +2248,293 @@ function Li(e) {
|
|
|
2248
2248
|
4
|
|
2249
2249
|
);
|
|
2250
2250
|
}
|
|
2251
|
-
function
|
|
2251
|
+
function Bi() {
|
|
2252
2252
|
return $(this.year(), 1, 4);
|
|
2253
2253
|
}
|
|
2254
|
-
function
|
|
2254
|
+
function qi() {
|
|
2255
2255
|
return $(this.isoWeekYear(), 1, 4);
|
|
2256
2256
|
}
|
|
2257
|
-
function
|
|
2257
|
+
function Qi() {
|
|
2258
2258
|
var e = this.localeData()._week;
|
|
2259
2259
|
return $(this.year(), e.dow, e.doy);
|
|
2260
2260
|
}
|
|
2261
|
-
function
|
|
2261
|
+
function Ji() {
|
|
2262
2262
|
var e = this.localeData()._week;
|
|
2263
2263
|
return $(this.weekYear(), e.dow, e.doy);
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function Xr(e, t, r, s, n) {
|
|
2266
2266
|
var a;
|
|
2267
|
-
return e == null ?
|
|
2267
|
+
return e == null ? Ce(this, s, n).year : (a = $(e, s, n), t > a && (t = a), Ki.call(this, e, t, r, s, n));
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2270
|
-
var a =
|
|
2269
|
+
function Ki(e, t, r, s, n) {
|
|
2270
|
+
var a = Nr(e, t, r, s, n), i = We(a.year, 0, a.dayOfYear);
|
|
2271
2271
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2272
2272
|
}
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2273
|
+
h("Q", 0, "Qo", "quarter");
|
|
2274
|
+
d("Q", kr);
|
|
2275
|
+
k("Q", function(e, t) {
|
|
2276
2276
|
t[J] = (y(e) - 1) * 3;
|
|
2277
2277
|
});
|
|
2278
|
-
function
|
|
2278
|
+
function Xi(e) {
|
|
2279
2279
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2280
2280
|
}
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2281
|
+
h("D", ["DD", 2], "Do", "date");
|
|
2282
|
+
d("D", v, ve);
|
|
2283
|
+
d("DD", v, C);
|
|
2284
|
+
d("Do", function(e, t) {
|
|
2285
2285
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2286
2286
|
});
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
t[
|
|
2287
|
+
k(["D", "DD"], V);
|
|
2288
|
+
k("Do", function(e, t) {
|
|
2289
|
+
t[V] = y(e.match(v)[0]);
|
|
2290
2290
|
});
|
|
2291
|
-
var
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2291
|
+
var $r = Me("Date", !0);
|
|
2292
|
+
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2293
|
+
d("DDD", nt);
|
|
2294
|
+
d("DDDD", Sr);
|
|
2295
|
+
k(["DDD", "DDDD"], function(e, t, r) {
|
|
2296
2296
|
r._dayOfYear = y(e);
|
|
2297
2297
|
});
|
|
2298
|
-
function
|
|
2298
|
+
function $i(e) {
|
|
2299
2299
|
var t = Math.round(
|
|
2300
2300
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2301
2301
|
) + 1;
|
|
2302
2302
|
return e == null ? t : this.add(e - t, "d");
|
|
2303
2303
|
}
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
var
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
var
|
|
2314
|
-
|
|
2304
|
+
h("m", ["mm", 2], 0, "minute");
|
|
2305
|
+
d("m", v, Et);
|
|
2306
|
+
d("mm", v, C);
|
|
2307
|
+
k(["m", "mm"], E);
|
|
2308
|
+
var eo = Me("Minutes", !1);
|
|
2309
|
+
h("s", ["ss", 2], 0, "second");
|
|
2310
|
+
d("s", v, Et);
|
|
2311
|
+
d("ss", v, C);
|
|
2312
|
+
k(["s", "ss"], K);
|
|
2313
|
+
var to = Me("Seconds", !1);
|
|
2314
|
+
h("S", 0, 0, function() {
|
|
2315
2315
|
return ~~(this.millisecond() / 100);
|
|
2316
2316
|
});
|
|
2317
|
-
|
|
2317
|
+
h(0, ["SS", 2], 0, function() {
|
|
2318
2318
|
return ~~(this.millisecond() / 10);
|
|
2319
2319
|
});
|
|
2320
|
-
|
|
2321
|
-
|
|
2320
|
+
h(0, ["SSS", 3], 0, "millisecond");
|
|
2321
|
+
h(0, ["SSSS", 4], 0, function() {
|
|
2322
2322
|
return this.millisecond() * 10;
|
|
2323
2323
|
});
|
|
2324
|
-
|
|
2324
|
+
h(0, ["SSSSS", 5], 0, function() {
|
|
2325
2325
|
return this.millisecond() * 100;
|
|
2326
2326
|
});
|
|
2327
|
-
|
|
2327
|
+
h(0, ["SSSSSS", 6], 0, function() {
|
|
2328
2328
|
return this.millisecond() * 1e3;
|
|
2329
2329
|
});
|
|
2330
|
-
|
|
2330
|
+
h(0, ["SSSSSSS", 7], 0, function() {
|
|
2331
2331
|
return this.millisecond() * 1e4;
|
|
2332
2332
|
});
|
|
2333
|
-
|
|
2333
|
+
h(0, ["SSSSSSSS", 8], 0, function() {
|
|
2334
2334
|
return this.millisecond() * 1e5;
|
|
2335
2335
|
});
|
|
2336
|
-
|
|
2336
|
+
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2337
2337
|
return this.millisecond() * 1e6;
|
|
2338
2338
|
});
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
var
|
|
2343
|
-
for (
|
|
2344
|
-
|
|
2345
|
-
function
|
|
2346
|
-
t[
|
|
2347
|
-
}
|
|
2348
|
-
for (
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
function
|
|
2339
|
+
d("S", nt, kr);
|
|
2340
|
+
d("SS", nt, C);
|
|
2341
|
+
d("SSS", nt, Sr);
|
|
2342
|
+
var ae, es;
|
|
2343
|
+
for (ae = "SSSS"; ae.length <= 9; ae += "S")
|
|
2344
|
+
d(ae, Se);
|
|
2345
|
+
function ro(e, t) {
|
|
2346
|
+
t[de] = y(("0." + e) * 1e3);
|
|
2347
|
+
}
|
|
2348
|
+
for (ae = "S"; ae.length <= 9; ae += "S")
|
|
2349
|
+
k(ae, ro);
|
|
2350
|
+
es = Me("Milliseconds", !1);
|
|
2351
|
+
h("z", 0, 0, "zoneAbbr");
|
|
2352
|
+
h("zz", 0, 0, "zoneName");
|
|
2353
|
+
function so() {
|
|
2354
2354
|
return this._isUTC ? "UTC" : "";
|
|
2355
2355
|
}
|
|
2356
|
-
function
|
|
2356
|
+
function no() {
|
|
2357
2357
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2358
2358
|
}
|
|
2359
|
-
var
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
typeof Symbol < "u" && Symbol.for != null && (
|
|
2359
|
+
var l = Ie.prototype;
|
|
2360
|
+
l.add = Ja;
|
|
2361
|
+
l.calendar = si;
|
|
2362
|
+
l.clone = ni;
|
|
2363
|
+
l.diff = ci;
|
|
2364
|
+
l.endOf = Si;
|
|
2365
|
+
l.format = yi;
|
|
2366
|
+
l.from = _i;
|
|
2367
|
+
l.fromNow = gi;
|
|
2368
|
+
l.to = wi;
|
|
2369
|
+
l.toNow = pi;
|
|
2370
|
+
l.get = mn;
|
|
2371
|
+
l.invalidAt = Pi;
|
|
2372
|
+
l.isAfter = ai;
|
|
2373
|
+
l.isBefore = ii;
|
|
2374
|
+
l.isBetween = oi;
|
|
2375
|
+
l.isSame = li;
|
|
2376
|
+
l.isSameOrAfter = ui;
|
|
2377
|
+
l.isSameOrBefore = di;
|
|
2378
|
+
l.isValid = Ti;
|
|
2379
|
+
l.lang = Br;
|
|
2380
|
+
l.locale = Zr;
|
|
2381
|
+
l.localeData = qr;
|
|
2382
|
+
l.max = Ta;
|
|
2383
|
+
l.min = ba;
|
|
2384
|
+
l.parsingFlags = xi;
|
|
2385
|
+
l.set = yn;
|
|
2386
|
+
l.startOf = ki;
|
|
2387
|
+
l.subtract = Ka;
|
|
2388
|
+
l.toArray = Yi;
|
|
2389
|
+
l.toObject = Oi;
|
|
2390
|
+
l.toDate = Di;
|
|
2391
|
+
l.toISOString = fi;
|
|
2392
|
+
l.inspect = mi;
|
|
2393
|
+
typeof Symbol < "u" && Symbol.for != null && (l[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2394
2394
|
return "Moment<" + this.format() + ">";
|
|
2395
2395
|
});
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2396
|
+
l.toJSON = bi;
|
|
2397
|
+
l.toString = hi;
|
|
2398
|
+
l.unix = Mi;
|
|
2399
|
+
l.valueOf = vi;
|
|
2400
|
+
l.creationData = Ni;
|
|
2401
|
+
l.eraName = Ai;
|
|
2402
|
+
l.eraNarrow = Li;
|
|
2403
|
+
l.eraAbbr = Ii;
|
|
2404
|
+
l.eraYear = Ei;
|
|
2405
|
+
l.year = Dr;
|
|
2406
|
+
l.isLeapYear = fn;
|
|
2407
|
+
l.weekYear = zi;
|
|
2408
|
+
l.isoWeekYear = Zi;
|
|
2409
|
+
l.quarter = l.quarters = Xi;
|
|
2410
|
+
l.month = xr;
|
|
2411
|
+
l.daysInMonth = Dn;
|
|
2412
|
+
l.week = l.weeks = Rn;
|
|
2413
|
+
l.isoWeek = l.isoWeeks = Wn;
|
|
2414
|
+
l.weeksInYear = Qi;
|
|
2415
|
+
l.weeksInWeekYear = Ji;
|
|
2416
|
+
l.isoWeeksInYear = Bi;
|
|
2417
|
+
l.isoWeeksInISOWeekYear = qi;
|
|
2418
|
+
l.date = $r;
|
|
2419
|
+
l.day = l.days = Zn;
|
|
2420
|
+
l.weekday = Bn;
|
|
2421
|
+
l.isoWeekday = qn;
|
|
2422
|
+
l.dayOfYear = $i;
|
|
2423
|
+
l.hour = l.hours = ta;
|
|
2424
|
+
l.minute = l.minutes = eo;
|
|
2425
|
+
l.second = l.seconds = to;
|
|
2426
|
+
l.millisecond = l.milliseconds = es;
|
|
2427
|
+
l.utcOffset = Ia;
|
|
2428
|
+
l.utc = Fa;
|
|
2429
|
+
l.local = Ua;
|
|
2430
|
+
l.parseZone = Ha;
|
|
2431
|
+
l.hasAlignedHourOffset = Va;
|
|
2432
|
+
l.isDST = Ga;
|
|
2433
|
+
l.isLocal = za;
|
|
2434
|
+
l.isUtcOffset = Za;
|
|
2435
|
+
l.isUtc = Vr;
|
|
2436
|
+
l.isUTC = Vr;
|
|
2437
|
+
l.zoneAbbr = so;
|
|
2438
|
+
l.zoneName = no;
|
|
2439
|
+
l.dates = L(
|
|
2440
2440
|
"dates accessor is deprecated. Use date instead.",
|
|
2441
|
-
|
|
2441
|
+
$r
|
|
2442
2442
|
);
|
|
2443
|
-
|
|
2443
|
+
l.months = L(
|
|
2444
2444
|
"months accessor is deprecated. Use month instead",
|
|
2445
|
-
|
|
2445
|
+
xr
|
|
2446
2446
|
);
|
|
2447
|
-
|
|
2447
|
+
l.years = L(
|
|
2448
2448
|
"years accessor is deprecated. Use year instead",
|
|
2449
|
-
|
|
2449
|
+
Dr
|
|
2450
2450
|
);
|
|
2451
|
-
|
|
2451
|
+
l.zone = L(
|
|
2452
2452
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2453
|
-
|
|
2453
|
+
Ea
|
|
2454
2454
|
);
|
|
2455
|
-
|
|
2455
|
+
l.isDSTShifted = L(
|
|
2456
2456
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2457
|
-
|
|
2457
|
+
ja
|
|
2458
2458
|
);
|
|
2459
|
-
function
|
|
2459
|
+
function ao(e) {
|
|
2460
2460
|
return S(e * 1e3);
|
|
2461
2461
|
}
|
|
2462
|
-
function
|
|
2462
|
+
function io() {
|
|
2463
2463
|
return S.apply(null, arguments).parseZone();
|
|
2464
2464
|
}
|
|
2465
|
-
function
|
|
2465
|
+
function ts(e) {
|
|
2466
2466
|
return e;
|
|
2467
2467
|
}
|
|
2468
|
-
var w =
|
|
2469
|
-
w.calendar =
|
|
2470
|
-
w.longDateFormat =
|
|
2471
|
-
w.invalidDate =
|
|
2472
|
-
w.ordinal =
|
|
2473
|
-
w.preparse =
|
|
2474
|
-
w.postformat =
|
|
2475
|
-
w.relativeTime =
|
|
2476
|
-
w.pastFuture =
|
|
2477
|
-
w.set =
|
|
2478
|
-
w.eras =
|
|
2479
|
-
w.erasParse =
|
|
2480
|
-
w.erasConvertYear =
|
|
2481
|
-
w.erasAbbrRegex =
|
|
2482
|
-
w.erasNameRegex =
|
|
2483
|
-
w.erasNarrowRegex =
|
|
2484
|
-
w.months =
|
|
2485
|
-
w.monthsShort =
|
|
2486
|
-
w.monthsParse =
|
|
2487
|
-
w.monthsRegex =
|
|
2488
|
-
w.monthsShortRegex =
|
|
2489
|
-
w.week =
|
|
2490
|
-
w.firstDayOfYear =
|
|
2491
|
-
w.firstDayOfWeek =
|
|
2492
|
-
w.weekdays =
|
|
2493
|
-
w.weekdaysMin =
|
|
2494
|
-
w.weekdaysShort =
|
|
2495
|
-
w.weekdaysParse =
|
|
2496
|
-
w.weekdaysRegex =
|
|
2497
|
-
w.weekdaysShortRegex =
|
|
2498
|
-
w.weekdaysMinRegex =
|
|
2499
|
-
w.isPM =
|
|
2500
|
-
w.meridiem =
|
|
2501
|
-
function
|
|
2502
|
-
var n = te(), a =
|
|
2468
|
+
var w = Wt.prototype;
|
|
2469
|
+
w.calendar = js;
|
|
2470
|
+
w.longDateFormat = qs;
|
|
2471
|
+
w.invalidDate = Js;
|
|
2472
|
+
w.ordinal = $s;
|
|
2473
|
+
w.preparse = ts;
|
|
2474
|
+
w.postformat = ts;
|
|
2475
|
+
w.relativeTime = tn;
|
|
2476
|
+
w.pastFuture = rn;
|
|
2477
|
+
w.set = Vs;
|
|
2478
|
+
w.eras = Ri;
|
|
2479
|
+
w.erasParse = Wi;
|
|
2480
|
+
w.erasConvertYear = Ci;
|
|
2481
|
+
w.erasAbbrRegex = Ui;
|
|
2482
|
+
w.erasNameRegex = Fi;
|
|
2483
|
+
w.erasNarrowRegex = Hi;
|
|
2484
|
+
w.months = kn;
|
|
2485
|
+
w.monthsShort = Sn;
|
|
2486
|
+
w.monthsParse = Mn;
|
|
2487
|
+
w.monthsRegex = On;
|
|
2488
|
+
w.monthsShortRegex = Yn;
|
|
2489
|
+
w.week = Tn;
|
|
2490
|
+
w.firstDayOfYear = Nn;
|
|
2491
|
+
w.firstDayOfWeek = Pn;
|
|
2492
|
+
w.weekdays = Hn;
|
|
2493
|
+
w.weekdaysMin = Gn;
|
|
2494
|
+
w.weekdaysShort = Vn;
|
|
2495
|
+
w.weekdaysParse = zn;
|
|
2496
|
+
w.weekdaysRegex = Qn;
|
|
2497
|
+
w.weekdaysShortRegex = Jn;
|
|
2498
|
+
w.weekdaysMinRegex = Kn;
|
|
2499
|
+
w.isPM = $n;
|
|
2500
|
+
w.meridiem = ra;
|
|
2501
|
+
function et(e, t, r, s) {
|
|
2502
|
+
var n = te(), a = z().set(s, t);
|
|
2503
2503
|
return n[r](a, e);
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2505
|
+
function rs(e, t, r) {
|
|
2506
2506
|
if (ee(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2507
|
-
return
|
|
2507
|
+
return et(e, t, r, "month");
|
|
2508
2508
|
var s, n = [];
|
|
2509
2509
|
for (s = 0; s < 12; s++)
|
|
2510
|
-
n[s] =
|
|
2510
|
+
n[s] = et(e, s, r, "month");
|
|
2511
2511
|
return n;
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2513
|
+
function Kt(e, t, r, s) {
|
|
2514
2514
|
typeof e == "boolean" ? (ee(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, ee(t) && (r = t, t = void 0), t = t || "");
|
|
2515
|
-
var n = te(), a = e ? n._week.dow : 0, i,
|
|
2515
|
+
var n = te(), a = e ? n._week.dow : 0, i, o = [];
|
|
2516
2516
|
if (r != null)
|
|
2517
|
-
return
|
|
2517
|
+
return et(t, (r + a) % 7, s, "day");
|
|
2518
2518
|
for (i = 0; i < 7; i++)
|
|
2519
|
-
|
|
2520
|
-
return
|
|
2519
|
+
o[i] = et(t, (i + a) % 7, s, "day");
|
|
2520
|
+
return o;
|
|
2521
2521
|
}
|
|
2522
|
-
function
|
|
2523
|
-
return
|
|
2522
|
+
function oo(e, t) {
|
|
2523
|
+
return rs(e, t, "months");
|
|
2524
2524
|
}
|
|
2525
|
-
function
|
|
2526
|
-
return
|
|
2525
|
+
function lo(e, t) {
|
|
2526
|
+
return rs(e, t, "monthsShort");
|
|
2527
2527
|
}
|
|
2528
|
-
function
|
|
2529
|
-
return
|
|
2528
|
+
function uo(e, t, r) {
|
|
2529
|
+
return Kt(e, t, r, "weekdays");
|
|
2530
2530
|
}
|
|
2531
|
-
function
|
|
2532
|
-
return
|
|
2531
|
+
function co(e, t, r) {
|
|
2532
|
+
return Kt(e, t, r, "weekdaysShort");
|
|
2533
2533
|
}
|
|
2534
|
-
function
|
|
2535
|
-
return
|
|
2534
|
+
function ho(e, t, r) {
|
|
2535
|
+
return Kt(e, t, r, "weekdaysMin");
|
|
2536
2536
|
}
|
|
2537
|
-
|
|
2537
|
+
ie("en", {
|
|
2538
2538
|
eras: [
|
|
2539
2539
|
{
|
|
2540
2540
|
since: "0001-01-01",
|
|
@@ -2559,48 +2559,48 @@ ae("en", {
|
|
|
2559
2559
|
return e + r;
|
|
2560
2560
|
}
|
|
2561
2561
|
});
|
|
2562
|
-
u.lang =
|
|
2562
|
+
u.lang = L(
|
|
2563
2563
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2564
|
-
|
|
2564
|
+
ie
|
|
2565
2565
|
);
|
|
2566
|
-
u.langData =
|
|
2566
|
+
u.langData = L(
|
|
2567
2567
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2568
2568
|
te
|
|
2569
2569
|
);
|
|
2570
2570
|
var q = Math.abs;
|
|
2571
|
-
function
|
|
2571
|
+
function fo() {
|
|
2572
2572
|
var e = this._data;
|
|
2573
2573
|
return this._milliseconds = q(this._milliseconds), this._days = q(this._days), this._months = q(this._months), e.milliseconds = q(e.milliseconds), e.seconds = q(e.seconds), e.minutes = q(e.minutes), e.hours = q(e.hours), e.months = q(e.months), e.years = q(e.years), this;
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2576
|
-
var n =
|
|
2575
|
+
function ss(e, t, r, s) {
|
|
2576
|
+
var n = H(t, r);
|
|
2577
2577
|
return e._milliseconds += s * n._milliseconds, e._days += s * n._days, e._months += s * n._months, e._bubble();
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2580
|
-
return
|
|
2579
|
+
function mo(e, t) {
|
|
2580
|
+
return ss(this, e, t, 1);
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2583
|
-
return
|
|
2582
|
+
function yo(e, t) {
|
|
2583
|
+
return ss(this, e, t, -1);
|
|
2584
2584
|
}
|
|
2585
|
-
function
|
|
2585
|
+
function lr(e) {
|
|
2586
2586
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2587
2587
|
}
|
|
2588
|
-
function
|
|
2589
|
-
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, n, a, i,
|
|
2590
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e +=
|
|
2588
|
+
function _o() {
|
|
2589
|
+
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, n, a, i, o, c;
|
|
2590
|
+
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += lr(bt(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, n = A(e / 1e3), s.seconds = n % 60, a = A(n / 60), s.minutes = a % 60, i = A(a / 60), s.hours = i % 24, t += A(i / 24), c = A(ns(t)), r += c, t -= lr(bt(c)), o = A(r / 12), r %= 12, s.days = t, s.months = r, s.years = o, this;
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function ns(e) {
|
|
2593
2593
|
return e * 4800 / 146097;
|
|
2594
2594
|
}
|
|
2595
|
-
function
|
|
2595
|
+
function bt(e) {
|
|
2596
2596
|
return e * 146097 / 4800;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function go(e) {
|
|
2599
2599
|
if (!this.isValid())
|
|
2600
2600
|
return NaN;
|
|
2601
2601
|
var t, r, s = this._milliseconds;
|
|
2602
|
-
if (e =
|
|
2603
|
-
switch (t = this._days + s / 864e5, r = this._months +
|
|
2602
|
+
if (e = I(e), e === "month" || e === "quarter" || e === "year")
|
|
2603
|
+
switch (t = this._days + s / 864e5, r = this._months + ns(t), e) {
|
|
2604
2604
|
case "month":
|
|
2605
2605
|
return r;
|
|
2606
2606
|
case "quarter":
|
|
@@ -2609,7 +2609,7 @@ function io(e) {
|
|
|
2609
2609
|
return r / 12;
|
|
2610
2610
|
}
|
|
2611
2611
|
else
|
|
2612
|
-
switch (t = this._days + Math.round(
|
|
2612
|
+
switch (t = this._days + Math.round(bt(this._months)), e) {
|
|
2613
2613
|
case "week":
|
|
2614
2614
|
return t / 7 + s / 6048e5;
|
|
2615
2615
|
case "day":
|
|
@@ -2632,23 +2632,23 @@ function re(e) {
|
|
|
2632
2632
|
return this.as(e);
|
|
2633
2633
|
};
|
|
2634
2634
|
}
|
|
2635
|
-
var
|
|
2636
|
-
function
|
|
2637
|
-
return
|
|
2635
|
+
var as = re("ms"), wo = re("s"), po = re("m"), ko = re("h"), So = re("d"), vo = re("w"), Mo = re("M"), Do = re("Q"), Yo = re("y"), Oo = as;
|
|
2636
|
+
function bo() {
|
|
2637
|
+
return H(this);
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2640
|
-
return e =
|
|
2639
|
+
function To(e) {
|
|
2640
|
+
return e = I(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2641
2641
|
}
|
|
2642
|
-
function
|
|
2642
|
+
function he(e) {
|
|
2643
2643
|
return function() {
|
|
2644
2644
|
return this.isValid() ? this._data[e] : NaN;
|
|
2645
2645
|
};
|
|
2646
2646
|
}
|
|
2647
|
-
var
|
|
2648
|
-
function
|
|
2649
|
-
return
|
|
2647
|
+
var xo = he("milliseconds"), Po = he("seconds"), No = he("minutes"), Ro = he("hours"), Wo = he("days"), Co = he("months"), Ao = he("years");
|
|
2648
|
+
function Lo() {
|
|
2649
|
+
return A(this.days() / 7);
|
|
2650
2650
|
}
|
|
2651
|
-
var Q = Math.round,
|
|
2651
|
+
var Q = Math.round, ye = {
|
|
2652
2652
|
ss: 44,
|
|
2653
2653
|
// a few seconds to seconds
|
|
2654
2654
|
s: 45,
|
|
@@ -2664,113 +2664,113 @@ var Q = Math.round, me = {
|
|
|
2664
2664
|
M: 11
|
|
2665
2665
|
// months to year
|
|
2666
2666
|
};
|
|
2667
|
-
function
|
|
2667
|
+
function Io(e, t, r, s, n) {
|
|
2668
2668
|
return n.relativeTime(t || 1, !!r, e, s);
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2671
|
-
var n =
|
|
2672
|
-
return r.w != null && (
|
|
2670
|
+
function Eo(e, t, r, s) {
|
|
2671
|
+
var n = H(e).abs(), a = Q(n.as("s")), i = Q(n.as("m")), o = Q(n.as("h")), c = Q(n.as("d")), f = Q(n.as("M")), O = Q(n.as("w")), b = Q(n.as("y")), p = a <= r.ss && ["s", a] || a < r.s && ["ss", a] || i <= 1 && ["m"] || i < r.m && ["mm", i] || o <= 1 && ["h"] || o < r.h && ["hh", o] || c <= 1 && ["d"] || c < r.d && ["dd", c];
|
|
2672
|
+
return r.w != null && (p = p || O <= 1 && ["w"] || O < r.w && ["ww", O]), p = p || f <= 1 && ["M"] || f < r.M && ["MM", f] || b <= 1 && ["y"] || ["yy", b], p[2] = t, p[3] = +e > 0, p[4] = s, Io.apply(null, p);
|
|
2673
2673
|
}
|
|
2674
|
-
function
|
|
2674
|
+
function Fo(e) {
|
|
2675
2675
|
return e === void 0 ? Q : typeof e == "function" ? (Q = e, !0) : !1;
|
|
2676
2676
|
}
|
|
2677
|
-
function
|
|
2678
|
-
return
|
|
2677
|
+
function Uo(e, t) {
|
|
2678
|
+
return ye[e] === void 0 ? !1 : t === void 0 ? ye[e] : (ye[e] = t, e === "s" && (ye.ss = t - 1), !0);
|
|
2679
2679
|
}
|
|
2680
|
-
function
|
|
2680
|
+
function Ho(e, t) {
|
|
2681
2681
|
if (!this.isValid())
|
|
2682
2682
|
return this.localeData().invalidDate();
|
|
2683
|
-
var r = !1, s =
|
|
2684
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({},
|
|
2683
|
+
var r = !1, s = ye, n, a;
|
|
2684
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ye, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), n = this.localeData(), a = Eo(this, !r, s, n), r && (a = n.pastFuture(+this, a)), n.postformat(a);
|
|
2685
2685
|
}
|
|
2686
|
-
var
|
|
2686
|
+
var wt = Math.abs;
|
|
2687
2687
|
function fe(e) {
|
|
2688
2688
|
return (e > 0) - (e < 0) || +e;
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2690
|
+
function ht() {
|
|
2691
2691
|
if (!this.isValid())
|
|
2692
2692
|
return this.localeData().invalidDate();
|
|
2693
|
-
var e =
|
|
2694
|
-
return
|
|
2695
|
-
}
|
|
2696
|
-
var _ =
|
|
2697
|
-
_.isValid =
|
|
2698
|
-
_.abs =
|
|
2699
|
-
_.add =
|
|
2700
|
-
_.subtract =
|
|
2701
|
-
_.as =
|
|
2702
|
-
_.asMilliseconds =
|
|
2703
|
-
_.asSeconds =
|
|
2704
|
-
_.asMinutes =
|
|
2705
|
-
_.asHours =
|
|
2706
|
-
_.asDays =
|
|
2707
|
-
_.asWeeks =
|
|
2708
|
-
_.asMonths =
|
|
2709
|
-
_.asQuarters =
|
|
2710
|
-
_.asYears =
|
|
2711
|
-
_.valueOf =
|
|
2712
|
-
_._bubble =
|
|
2713
|
-
_.clone =
|
|
2714
|
-
_.get =
|
|
2715
|
-
_.milliseconds =
|
|
2716
|
-
_.seconds =
|
|
2717
|
-
_.minutes =
|
|
2718
|
-
_.hours =
|
|
2719
|
-
_.days =
|
|
2720
|
-
_.weeks =
|
|
2721
|
-
_.months =
|
|
2722
|
-
_.years =
|
|
2723
|
-
_.humanize =
|
|
2724
|
-
_.toISOString =
|
|
2725
|
-
_.toString =
|
|
2726
|
-
_.toJSON =
|
|
2727
|
-
_.locale =
|
|
2728
|
-
_.localeData =
|
|
2729
|
-
_.toIsoString =
|
|
2693
|
+
var e = wt(this._milliseconds) / 1e3, t = wt(this._days), r = wt(this._months), s, n, a, i, o = this.asSeconds(), c, f, O, b;
|
|
2694
|
+
return o ? (s = A(e / 60), n = A(s / 60), e %= 60, s %= 60, a = A(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", c = o < 0 ? "-" : "", f = fe(this._months) !== fe(o) ? "-" : "", O = fe(this._days) !== fe(o) ? "-" : "", b = fe(this._milliseconds) !== fe(o) ? "-" : "", c + "P" + (a ? f + a + "Y" : "") + (r ? f + r + "M" : "") + (t ? O + t + "D" : "") + (n || s || e ? "T" : "") + (n ? b + n + "H" : "") + (s ? b + s + "M" : "") + (e ? b + i + "S" : "")) : "P0D";
|
|
2695
|
+
}
|
|
2696
|
+
var _ = dt.prototype;
|
|
2697
|
+
_.isValid = Wa;
|
|
2698
|
+
_.abs = fo;
|
|
2699
|
+
_.add = mo;
|
|
2700
|
+
_.subtract = yo;
|
|
2701
|
+
_.as = go;
|
|
2702
|
+
_.asMilliseconds = as;
|
|
2703
|
+
_.asSeconds = wo;
|
|
2704
|
+
_.asMinutes = po;
|
|
2705
|
+
_.asHours = ko;
|
|
2706
|
+
_.asDays = So;
|
|
2707
|
+
_.asWeeks = vo;
|
|
2708
|
+
_.asMonths = Mo;
|
|
2709
|
+
_.asQuarters = Do;
|
|
2710
|
+
_.asYears = Yo;
|
|
2711
|
+
_.valueOf = Oo;
|
|
2712
|
+
_._bubble = _o;
|
|
2713
|
+
_.clone = bo;
|
|
2714
|
+
_.get = To;
|
|
2715
|
+
_.milliseconds = xo;
|
|
2716
|
+
_.seconds = Po;
|
|
2717
|
+
_.minutes = No;
|
|
2718
|
+
_.hours = Ro;
|
|
2719
|
+
_.days = Wo;
|
|
2720
|
+
_.weeks = Lo;
|
|
2721
|
+
_.months = Co;
|
|
2722
|
+
_.years = Ao;
|
|
2723
|
+
_.humanize = Ho;
|
|
2724
|
+
_.toISOString = ht;
|
|
2725
|
+
_.toString = ht;
|
|
2726
|
+
_.toJSON = ht;
|
|
2727
|
+
_.locale = Zr;
|
|
2728
|
+
_.localeData = qr;
|
|
2729
|
+
_.toIsoString = L(
|
|
2730
2730
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2731
|
-
|
|
2731
|
+
ht
|
|
2732
2732
|
);
|
|
2733
|
-
_.lang =
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2733
|
+
_.lang = Br;
|
|
2734
|
+
h("X", 0, 0, "unix");
|
|
2735
|
+
h("x", 0, 0, "valueOf");
|
|
2736
|
+
d("x", it);
|
|
2737
|
+
d("X", on);
|
|
2738
|
+
k("X", function(e, t, r) {
|
|
2739
2739
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
2740
2740
|
});
|
|
2741
|
-
|
|
2741
|
+
k("x", function(e, t, r) {
|
|
2742
2742
|
r._d = new Date(y(e));
|
|
2743
2743
|
});
|
|
2744
2744
|
//! moment.js
|
|
2745
2745
|
u.version = "2.30.1";
|
|
2746
|
-
|
|
2747
|
-
u.fn =
|
|
2748
|
-
u.min =
|
|
2749
|
-
u.max =
|
|
2750
|
-
u.now =
|
|
2751
|
-
u.utc =
|
|
2752
|
-
u.unix =
|
|
2753
|
-
u.months =
|
|
2754
|
-
u.isDate =
|
|
2755
|
-
u.locale =
|
|
2756
|
-
u.invalid =
|
|
2757
|
-
u.duration =
|
|
2758
|
-
u.isMoment =
|
|
2759
|
-
u.weekdays =
|
|
2760
|
-
u.parseZone =
|
|
2746
|
+
Us(S);
|
|
2747
|
+
u.fn = l;
|
|
2748
|
+
u.min = xa;
|
|
2749
|
+
u.max = Pa;
|
|
2750
|
+
u.now = Na;
|
|
2751
|
+
u.utc = z;
|
|
2752
|
+
u.unix = ao;
|
|
2753
|
+
u.months = oo;
|
|
2754
|
+
u.isDate = Le;
|
|
2755
|
+
u.locale = ie;
|
|
2756
|
+
u.invalid = rt;
|
|
2757
|
+
u.duration = H;
|
|
2758
|
+
u.isMoment = U;
|
|
2759
|
+
u.weekdays = uo;
|
|
2760
|
+
u.parseZone = io;
|
|
2761
2761
|
u.localeData = te;
|
|
2762
|
-
u.isDuration =
|
|
2763
|
-
u.monthsShort =
|
|
2764
|
-
u.weekdaysMin =
|
|
2765
|
-
u.defineLocale =
|
|
2766
|
-
u.updateLocale =
|
|
2767
|
-
u.locales =
|
|
2768
|
-
u.weekdaysShort =
|
|
2769
|
-
u.normalizeUnits =
|
|
2770
|
-
u.relativeTimeRounding =
|
|
2771
|
-
u.relativeTimeThreshold =
|
|
2772
|
-
u.calendarFormat =
|
|
2773
|
-
u.prototype =
|
|
2762
|
+
u.isDuration = Be;
|
|
2763
|
+
u.monthsShort = lo;
|
|
2764
|
+
u.weekdaysMin = ho;
|
|
2765
|
+
u.defineLocale = Gt;
|
|
2766
|
+
u.updateLocale = ia;
|
|
2767
|
+
u.locales = oa;
|
|
2768
|
+
u.weekdaysShort = co;
|
|
2769
|
+
u.normalizeUnits = I;
|
|
2770
|
+
u.relativeTimeRounding = Fo;
|
|
2771
|
+
u.relativeTimeThreshold = Uo;
|
|
2772
|
+
u.calendarFormat = ri;
|
|
2773
|
+
u.prototype = l;
|
|
2774
2774
|
u.HTML5_FMT = {
|
|
2775
2775
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
2776
2776
|
// <input type="datetime-local" />
|
|
@@ -2791,16 +2791,16 @@ u.HTML5_FMT = {
|
|
|
2791
2791
|
MONTH: "YYYY-MM"
|
|
2792
2792
|
// <input type="month" />
|
|
2793
2793
|
};
|
|
2794
|
-
const
|
|
2794
|
+
const Vo = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, Go = /* @__PURE__ */ ke({
|
|
2795
2795
|
__name: "Footer",
|
|
2796
2796
|
props: {
|
|
2797
2797
|
copyrightText: { type: String, required: !0 }
|
|
2798
2798
|
},
|
|
2799
2799
|
setup(e) {
|
|
2800
2800
|
const t = e;
|
|
2801
|
-
return (r, s) => (
|
|
2801
|
+
return (r, s) => (P(), R("footer", Vo, G(t.copyrightText) + " " + G(ze(u)().year()), 1));
|
|
2802
2802
|
}
|
|
2803
|
-
}),
|
|
2803
|
+
}), hl = /* @__PURE__ */ ke({
|
|
2804
2804
|
__name: "LoginLayoutFrame",
|
|
2805
2805
|
props: {
|
|
2806
2806
|
loginText: {},
|
|
@@ -2816,31 +2816,31 @@ const Ro = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2816
2816
|
throw new Error("LoginLayoutFrame: brandText обязателен");
|
|
2817
2817
|
if (!t.copyrightText.trim())
|
|
2818
2818
|
throw new Error("LoginLayoutFrame: copyrightText обязателен");
|
|
2819
|
-
return (r, s) => (
|
|
2820
|
-
|
|
2819
|
+
return (r, s) => (P(), R(hr, null, [
|
|
2820
|
+
xe(Fs, {
|
|
2821
2821
|
"is-authenticated": !1,
|
|
2822
2822
|
"login-text": r.loginText,
|
|
2823
2823
|
"raw-dropdown-links": [],
|
|
2824
2824
|
"brand-text": r.brandText
|
|
2825
2825
|
}, {
|
|
2826
|
-
logo:
|
|
2827
|
-
|
|
2826
|
+
logo: rr(() => [
|
|
2827
|
+
xe(mr)
|
|
2828
2828
|
]),
|
|
2829
|
-
"language-selector":
|
|
2830
|
-
|
|
2829
|
+
"language-selector": rr(() => [
|
|
2830
|
+
Qe(r.$slots, "language-selector")
|
|
2831
2831
|
]),
|
|
2832
2832
|
_: 3
|
|
2833
2833
|
}, 8, ["login-text", "brand-text"]),
|
|
2834
|
-
|
|
2835
|
-
class:
|
|
2834
|
+
Y("main", {
|
|
2835
|
+
class: pe(r.mainClass),
|
|
2836
2836
|
style: { "min-height": "80vh" }
|
|
2837
2837
|
}, [
|
|
2838
|
-
|
|
2838
|
+
Qe(r.$slots, "default")
|
|
2839
2839
|
], 2),
|
|
2840
|
-
|
|
2840
|
+
xe(Go, { "copyright-text": r.copyrightText }, null, 8, ["copyright-text"])
|
|
2841
2841
|
], 64));
|
|
2842
2842
|
}
|
|
2843
|
-
}),
|
|
2843
|
+
}), jo = {
|
|
2844
2844
|
__name: "Spinner",
|
|
2845
2845
|
props: {
|
|
2846
2846
|
isSmall: {
|
|
@@ -2849,22 +2849,22 @@ const Ro = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2849
2849
|
}
|
|
2850
2850
|
},
|
|
2851
2851
|
setup(e) {
|
|
2852
|
-
return (t, r) => (
|
|
2853
|
-
class:
|
|
2852
|
+
return (t, r) => (P(), R("div", {
|
|
2853
|
+
class: pe(["spinner-border", { "spinner-border-sm": e.isSmall }]),
|
|
2854
2854
|
role: "status"
|
|
2855
2855
|
}, null, 2));
|
|
2856
2856
|
}
|
|
2857
|
-
},
|
|
2857
|
+
}, zo = {
|
|
2858
2858
|
class: "container",
|
|
2859
2859
|
"data-test": "SsoLoginPending"
|
|
2860
|
-
},
|
|
2860
|
+
}, Zo = { class: "row justify-content-center" }, Bo = { class: "col-md-8" }, qo = { class: "card" }, Qo = { class: "card-header" }, Jo = { class: "card-body" }, Ko = {
|
|
2861
2861
|
class: "login-spinner text-center",
|
|
2862
2862
|
role: "status",
|
|
2863
2863
|
"aria-live": "polite"
|
|
2864
|
-
},
|
|
2864
|
+
}, Xo = {
|
|
2865
2865
|
class: "visually-hidden",
|
|
2866
2866
|
"data-test": "SsoLoginPending-status"
|
|
2867
|
-
},
|
|
2867
|
+
}, $o = /* @__PURE__ */ ke({
|
|
2868
2868
|
__name: "SsoLoginPending",
|
|
2869
2869
|
props: {
|
|
2870
2870
|
title: {},
|
|
@@ -2876,15 +2876,15 @@ const Ro = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2876
2876
|
throw new Error("SsoLoginPending: title обязателен");
|
|
2877
2877
|
if (!t.statusText.trim())
|
|
2878
2878
|
throw new Error("SsoLoginPending: statusText обязателен");
|
|
2879
|
-
return (r, s) => (
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2879
|
+
return (r, s) => (P(), R("div", zo, [
|
|
2880
|
+
Y("div", Zo, [
|
|
2881
|
+
Y("div", Bo, [
|
|
2882
|
+
Y("div", qo, [
|
|
2883
|
+
Y("div", Qo, G(r.title), 1),
|
|
2884
|
+
Y("div", Jo, [
|
|
2885
|
+
Y("div", Ko, [
|
|
2886
|
+
xe(jo),
|
|
2887
|
+
Y("span", Xo, G(r.statusText), 1)
|
|
2888
2888
|
])
|
|
2889
2889
|
])
|
|
2890
2890
|
])
|
|
@@ -2892,8 +2892,8 @@ const Ro = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2892
2892
|
])
|
|
2893
2893
|
]));
|
|
2894
2894
|
}
|
|
2895
|
-
}),
|
|
2896
|
-
function
|
|
2895
|
+
}), el = /* @__PURE__ */ tt($o, [["__scopeId", "data-v-6eb41b83"]]), ur = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";
|
|
2896
|
+
function is() {
|
|
2897
2897
|
const e = globalThis.crypto;
|
|
2898
2898
|
if (!e)
|
|
2899
2899
|
throw new Error("Web Crypto API is not available.");
|
|
@@ -2903,102 +2903,95 @@ function $r() {
|
|
|
2903
2903
|
throw new Error("Web Crypto subtle digest is not available.");
|
|
2904
2904
|
return e;
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2907
|
-
const t =
|
|
2906
|
+
function os(e) {
|
|
2907
|
+
const t = is(), r = new Uint8Array(e);
|
|
2908
2908
|
t.getRandomValues(r);
|
|
2909
2909
|
let s = "";
|
|
2910
2910
|
return r.forEach((n) => {
|
|
2911
|
-
s +=
|
|
2911
|
+
s += ur[n % ur.length];
|
|
2912
2912
|
}), s;
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function tl(e) {
|
|
2915
2915
|
const t = new Uint8Array(e);
|
|
2916
2916
|
let r = "";
|
|
2917
2917
|
return t.forEach((s) => {
|
|
2918
2918
|
r += String.fromCharCode(s);
|
|
2919
2919
|
}), btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2921
|
+
function rl(e = 64) {
|
|
2922
2922
|
if (!Number.isInteger(e) || e < 43 || e > 128)
|
|
2923
2923
|
throw new Error("PKCE code_verifier length must be between 43 and 128.");
|
|
2924
|
-
return
|
|
2924
|
+
return os(e);
|
|
2925
2925
|
}
|
|
2926
|
-
async function
|
|
2927
|
-
const t =
|
|
2928
|
-
return
|
|
2926
|
+
async function sl(e) {
|
|
2927
|
+
const t = is(), s = new TextEncoder().encode(e), n = await t.subtle.digest("SHA-256", s);
|
|
2928
|
+
return tl(n);
|
|
2929
2929
|
}
|
|
2930
|
-
async function
|
|
2931
|
-
const t =
|
|
2930
|
+
async function nl(e = 64) {
|
|
2931
|
+
const t = rl(e), r = await sl(t);
|
|
2932
2932
|
return { codeVerifier: t, codeChallenge: r };
|
|
2933
2933
|
}
|
|
2934
|
-
function
|
|
2934
|
+
function al(e = 32) {
|
|
2935
2935
|
if (!Number.isInteger(e) || e < 16 || e > 128)
|
|
2936
2936
|
throw new Error("OAuth state length must be between 16 and 128.");
|
|
2937
|
-
return
|
|
2937
|
+
return os(e);
|
|
2938
2938
|
}
|
|
2939
|
-
function
|
|
2939
|
+
function je(e) {
|
|
2940
2940
|
return Number.isInteger(e) && Number(e) >= 400 && Number(e) < 600;
|
|
2941
2941
|
}
|
|
2942
|
-
function
|
|
2942
|
+
function Tt(e, t = /* @__PURE__ */ new Set()) {
|
|
2943
2943
|
if (e == null)
|
|
2944
2944
|
return;
|
|
2945
2945
|
if (typeof e == "number")
|
|
2946
|
-
return
|
|
2946
|
+
return je(e) ? e : void 0;
|
|
2947
2947
|
if (typeof e != "object" || t.has(e))
|
|
2948
2948
|
return;
|
|
2949
2949
|
if (t.add(e), typeof Response < "u" && e instanceof Response)
|
|
2950
|
-
return
|
|
2950
|
+
return je(e.status) ? e.status : void 0;
|
|
2951
2951
|
const r = e;
|
|
2952
|
-
if (
|
|
2952
|
+
if (je(r.status))
|
|
2953
2953
|
return r.status;
|
|
2954
|
-
if (
|
|
2954
|
+
if (je(r.statusCode))
|
|
2955
2955
|
return r.statusCode;
|
|
2956
|
-
const s =
|
|
2957
|
-
return s !== void 0 ? s :
|
|
2956
|
+
const s = Tt(r.response, t);
|
|
2957
|
+
return s !== void 0 ? s : Tt(r.cause, t);
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function ls(e) {
|
|
2960
2960
|
return e === 400 ? "Bad Request" : e === 401 ? "Unauthorized" : e === 403 ? "Forbidden" : e === 404 ? "Not Found" : e === 409 ? "Conflict" : e === 422 ? "Unprocessable Entity" : e === 429 ? "Too Many Requests" : e === 502 ? "Bad Gateway" : e === 503 ? "Service Unavailable" : e === 504 ? "Gateway Timeout" : e >= 500 ? "Internal Server Error" : "Request failed";
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2963
|
-
return
|
|
2962
|
+
function xt(e, t = 500) {
|
|
2963
|
+
return Tt(e) ?? t;
|
|
2964
2964
|
}
|
|
2965
|
-
const
|
|
2966
|
-
let
|
|
2967
|
-
function
|
|
2965
|
+
const il = "Web Crypto API недоступен. Используйте HTTPS или обновите браузер.", ol = "NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.", us = "r3ui-sso-start-lock", Xt = "r3ui-sso-auth-url";
|
|
2966
|
+
let le;
|
|
2967
|
+
function ll() {
|
|
2968
2968
|
try {
|
|
2969
|
-
|
|
2970
|
-
} catch {
|
|
2971
|
-
return !1;
|
|
2972
|
-
}
|
|
2973
|
-
}
|
|
2974
|
-
function $o() {
|
|
2975
|
-
try {
|
|
2976
|
-
const e = sessionStorage.getItem(qt);
|
|
2969
|
+
const e = sessionStorage.getItem(Xt);
|
|
2977
2970
|
return typeof e == "string" && e.length > 0 ? e : null;
|
|
2978
2971
|
} catch {
|
|
2979
2972
|
return null;
|
|
2980
2973
|
}
|
|
2981
2974
|
}
|
|
2982
|
-
function
|
|
2975
|
+
function dr() {
|
|
2983
2976
|
try {
|
|
2984
|
-
sessionStorage.setItem(
|
|
2977
|
+
sessionStorage.setItem(us, "1");
|
|
2985
2978
|
} catch {
|
|
2986
2979
|
}
|
|
2987
2980
|
}
|
|
2988
|
-
function
|
|
2981
|
+
function ul(e) {
|
|
2989
2982
|
try {
|
|
2990
|
-
sessionStorage.setItem(
|
|
2983
|
+
sessionStorage.setItem(Xt, e);
|
|
2991
2984
|
} catch {
|
|
2992
2985
|
}
|
|
2993
2986
|
}
|
|
2994
|
-
function
|
|
2995
|
-
|
|
2987
|
+
function pt() {
|
|
2988
|
+
le = void 0;
|
|
2996
2989
|
try {
|
|
2997
|
-
sessionStorage.removeItem(
|
|
2990
|
+
sessionStorage.removeItem(us), sessionStorage.removeItem(Xt);
|
|
2998
2991
|
} catch {
|
|
2999
2992
|
}
|
|
3000
2993
|
}
|
|
3001
|
-
async function
|
|
2994
|
+
async function dl(e) {
|
|
3002
2995
|
if (!e || typeof e.setLoading != "function")
|
|
3003
2996
|
throw new Error("signInWithSSO: deps.setLoading обязателен");
|
|
3004
2997
|
if (typeof e.getPublicConfig != "function")
|
|
@@ -3009,76 +3002,94 @@ async function tl(e) {
|
|
|
3009
3002
|
throw new Error("signInWithSSO: deps.showError обязателен");
|
|
3010
3003
|
if (typeof window > "u")
|
|
3011
3004
|
return;
|
|
3012
|
-
const t = e.redirectTo ?? ((
|
|
3013
|
-
window.location.href =
|
|
3005
|
+
const t = e.redirectTo ?? ((o) => {
|
|
3006
|
+
window.location.href = o;
|
|
3014
3007
|
}), s = {
|
|
3015
3008
|
maxAge: 300,
|
|
3016
3009
|
sameSite: "lax",
|
|
3017
3010
|
secure: (e.isSecure ?? (() => window.location.protocol === "https:"))(),
|
|
3018
3011
|
path: "/"
|
|
3019
|
-
}, n = () => {
|
|
3020
|
-
const
|
|
3021
|
-
return typeof
|
|
3022
|
-
}, a = () => {
|
|
3023
|
-
const d = $o();
|
|
3024
|
-
return !n() || !d ? !1 : (Ge = !0, nr(), t(d), !0);
|
|
3012
|
+
}, n = (o) => {
|
|
3013
|
+
const c = e.useCookie(o, s).value;
|
|
3014
|
+
return typeof c == "string" && c.length > 0 ? c : null;
|
|
3025
3015
|
};
|
|
3026
|
-
if (
|
|
3016
|
+
if (le?.url === null)
|
|
3027
3017
|
return;
|
|
3028
|
-
if (Xo()) {
|
|
3029
|
-
if (a())
|
|
3030
|
-
return;
|
|
3031
|
-
mt();
|
|
3032
|
-
}
|
|
3033
3018
|
e.setLoading(!0);
|
|
3034
|
-
const
|
|
3019
|
+
const a = e.generatePkcePair ?? nl, i = e.generateState ?? al;
|
|
3035
3020
|
try {
|
|
3036
|
-
const { authApiUrl:
|
|
3037
|
-
if (!
|
|
3021
|
+
const { authApiUrl: o, ssoClientId: c, origin: f } = e.getPublicConfig();
|
|
3022
|
+
if (!o || !c)
|
|
3038
3023
|
throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");
|
|
3039
|
-
if (typeof
|
|
3024
|
+
if (typeof f != "string" || f !== window.location.origin) {
|
|
3040
3025
|
e.setLoading(!1), e.showError({
|
|
3041
3026
|
statusCode: 400,
|
|
3042
|
-
statusMessage:
|
|
3027
|
+
statusMessage: ol
|
|
3043
3028
|
});
|
|
3044
3029
|
return;
|
|
3045
3030
|
}
|
|
3046
|
-
|
|
3047
|
-
|
|
3031
|
+
const O = `${f}/api/auth/callback`, b = new URL(
|
|
3032
|
+
`${o.replace(/\/+$/, "")}/oauth/authorize`
|
|
3033
|
+
);
|
|
3034
|
+
if (!["https:", "http:"].includes(b.protocol) || b.username || b.password || b.search || b.hash)
|
|
3035
|
+
throw new Error("Некорректный NUXT_AUTH_API_URL");
|
|
3036
|
+
const p = le?.url ?? ll(), se = n("pkce_state"), B = n("pkce_verifier");
|
|
3037
|
+
let x;
|
|
3038
|
+
if (p && se && B)
|
|
3039
|
+
try {
|
|
3040
|
+
x = new URL(p);
|
|
3041
|
+
} catch {
|
|
3042
|
+
}
|
|
3043
|
+
const De = {
|
|
3044
|
+
client_id: c,
|
|
3045
|
+
redirect_uri: O,
|
|
3046
|
+
response_type: "code",
|
|
3047
|
+
code_challenge_method: "S256",
|
|
3048
|
+
state: se
|
|
3049
|
+
};
|
|
3050
|
+
if (p && x && x.origin === b.origin && x.pathname === b.pathname && !x.username && !x.password && !x.hash && !x.searchParams.has("scope") && x.searchParams.getAll("code_challenge").length === 1 && x.searchParams.get("code_challenge") && Object.entries(De).every(
|
|
3051
|
+
([He, Oe]) => x.searchParams.getAll(He).length === 1 && x.searchParams.get(He) === Oe
|
|
3052
|
+
)) {
|
|
3053
|
+
le?.url !== p && (le = { url: p }, dr(), t(p));
|
|
3048
3054
|
return;
|
|
3049
3055
|
}
|
|
3050
|
-
|
|
3051
|
-
let
|
|
3056
|
+
pt(), le = { url: null }, dr();
|
|
3057
|
+
let Ye, $t, Ue;
|
|
3052
3058
|
try {
|
|
3053
|
-
({ codeVerifier:
|
|
3059
|
+
({ codeVerifier: Ye, codeChallenge: $t } = await a()), Ue = i();
|
|
3054
3060
|
} catch {
|
|
3055
|
-
|
|
3061
|
+
pt(), e.setLoading(!1), e.showError({
|
|
3056
3062
|
statusCode: 500,
|
|
3057
|
-
statusMessage:
|
|
3063
|
+
statusMessage: il
|
|
3058
3064
|
});
|
|
3059
3065
|
return;
|
|
3060
3066
|
}
|
|
3061
|
-
e.useCookie("pkce_verifier", s).value =
|
|
3062
|
-
const
|
|
3063
|
-
|
|
3064
|
-
|
|
3067
|
+
e.useCookie("pkce_verifier", s).value = Ye, e.useCookie("pkce_state", s).value = Ue, await ys();
|
|
3068
|
+
const er = (He) => document.cookie.split(";").map((Oe) => Oe.trim()).find((Oe) => Oe.startsWith(`${He}=`));
|
|
3069
|
+
if (er("pkce_verifier") !== `pkce_verifier=${encodeURIComponent(Ye)}` || er("pkce_state") !== `pkce_state=${encodeURIComponent(Ue)}`)
|
|
3070
|
+
throw new Error(
|
|
3071
|
+
"Не удалось сохранить данные входа. Разрешите cookie в браузере и повторите вход."
|
|
3072
|
+
);
|
|
3073
|
+
const ft = `${b.href}?` + new URLSearchParams({
|
|
3074
|
+
client_id: c,
|
|
3075
|
+
redirect_uri: O,
|
|
3065
3076
|
response_type: "code",
|
|
3066
|
-
code_challenge:
|
|
3077
|
+
code_challenge: $t,
|
|
3067
3078
|
code_challenge_method: "S256",
|
|
3068
|
-
state:
|
|
3079
|
+
state: Ue
|
|
3069
3080
|
});
|
|
3070
|
-
|
|
3071
|
-
} catch (
|
|
3072
|
-
|
|
3073
|
-
const
|
|
3081
|
+
le = { url: ft }, ul(ft), t(ft);
|
|
3082
|
+
} catch (o) {
|
|
3083
|
+
pt(), e.setLoading(!1);
|
|
3084
|
+
const c = xt(o, 500), f = o instanceof Error && o.message.trim() ? o.message : ls(c);
|
|
3074
3085
|
e.showError({
|
|
3075
|
-
statusCode:
|
|
3076
|
-
statusMessage:
|
|
3077
|
-
cause:
|
|
3086
|
+
statusCode: c,
|
|
3087
|
+
statusMessage: f,
|
|
3088
|
+
cause: o
|
|
3078
3089
|
});
|
|
3079
3090
|
}
|
|
3080
3091
|
}
|
|
3081
|
-
const
|
|
3092
|
+
const fl = /* @__PURE__ */ ke({
|
|
3082
3093
|
__name: "SsoLoginScreen",
|
|
3083
3094
|
props: {
|
|
3084
3095
|
title: {},
|
|
@@ -3099,30 +3110,41 @@ const nl = /* @__PURE__ */ pe({
|
|
|
3099
3110
|
throw new Error("SsoLoginScreen: useCookie обязателен");
|
|
3100
3111
|
if (typeof t.showError != "function")
|
|
3101
3112
|
throw new Error("SsoLoginScreen: showError обязателен");
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
+
function r() {
|
|
3114
|
+
dl({
|
|
3115
|
+
setLoading: () => {
|
|
3116
|
+
},
|
|
3117
|
+
getPublicConfig: t.getPublicConfig,
|
|
3118
|
+
useCookie: t.useCookie,
|
|
3119
|
+
showError: t.showError
|
|
3120
|
+
}).catch((a) => {
|
|
3121
|
+
t.showError({
|
|
3122
|
+
statusCode: xt(a, 500),
|
|
3123
|
+
statusMessage: a instanceof Error && a.message.trim() ? a.message : ls(xt(a, 500)),
|
|
3124
|
+
cause: a
|
|
3125
|
+
});
|
|
3113
3126
|
});
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
|
|
3127
|
+
}
|
|
3128
|
+
let s = !0;
|
|
3129
|
+
function n(a) {
|
|
3130
|
+
s && a.persisted && window.location.reload();
|
|
3131
|
+
}
|
|
3132
|
+
return _s(() => window.addEventListener("pageshow", n)), gs(() => window.removeEventListener("pageshow", n)), ws(() => {
|
|
3133
|
+
s = !0, r();
|
|
3134
|
+
}), cr(() => {
|
|
3135
|
+
s = !1;
|
|
3136
|
+
}), r(), (a, i) => (P(), fr(el, {
|
|
3137
|
+
title: a.title,
|
|
3138
|
+
"status-text": a.statusText
|
|
3117
3139
|
}, null, 8, ["title", "status-text"]));
|
|
3118
3140
|
}
|
|
3119
3141
|
});
|
|
3120
3142
|
export {
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3143
|
+
Go as Footer,
|
|
3144
|
+
Fs as Header,
|
|
3145
|
+
hl as LoginLayoutFrame,
|
|
3146
|
+
mr as Logo,
|
|
3147
|
+
el as SsoLoginPending,
|
|
3148
|
+
fl as SsoLoginScreen,
|
|
3149
|
+
dl as signInWithSSO
|
|
3128
3150
|
};
|