r3ui-lib 1.2.29 → 1.2.31
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/CHANGELOG.md +20 -0
- package/dist/login.es.js +1246 -1112
- package/dist/login.umd.js +6 -6
- package/dist/r3ui-lib.es.js +3826 -3589
- package/dist/r3ui-lib.umd.js +28 -28
- package/dist/types/components/SsoLoginScreen.vue.d.ts +11 -0
- package/dist/types/components/SsoLoginScreen.vue.d.ts.map +1 -0
- package/dist/types/components/form/CustomInput.vue.d.ts +2 -2
- package/dist/types/components/form/VSelect.vue.d.ts +2 -2
- package/dist/types/components/forms/Flatpickr.vue.d.ts +1 -1
- package/dist/types/components/forms/Flatpickr.vue.d.ts.map +1 -1
- package/dist/types/components/forms/MultiInput.vue.d.ts +1 -1
- package/dist/types/components/forms/MultiInput.vue.d.ts.map +1 -1
- package/dist/types/components/layout/LoginLayoutFrame.vue.d.ts +23 -0
- package/dist/types/components/layout/LoginLayoutFrame.vue.d.ts.map +1 -0
- package/dist/types/login-entry.d.ts +2 -0
- package/dist/types/login-entry.d.ts.map +1 -1
- package/dist/types/main.d.ts +3 -0
- package/dist/types/main.d.ts.map +1 -1
- package/dist/types/utils/auth/exchangePasswordToken.d.ts +15 -0
- package/dist/types/utils/auth/exchangePasswordToken.d.ts.map +1 -0
- package/dist/types/utils/auth/handlePkceCallback.d.ts +28 -0
- package/dist/types/utils/auth/handlePkceCallback.d.ts.map +1 -0
- package/dist/types/utils/auth/runLogoutHandler.d.ts +19 -0
- package/dist/types/utils/auth/runLogoutHandler.d.ts.map +1 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts +2 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/login.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as Qs, computed as ae, createElementBlock as x, openBlock as b, createElementVNode as Y, createTextVNode as Js, toDisplayString as V, createCommentVNode as De, Fragment as Kt, renderList as Ks, withModifiers as Xt, normalizeClass as ye, defineComponent as _e, normalizeStyle as Ht, renderSlot as Fe, createVNode as ve, createBlock as $t, unref as Xs, withCtx as Vt } from "vue";
|
|
2
|
+
const ze = (e, t) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
|
-
for (const [r,
|
|
5
|
-
s[r] =
|
|
4
|
+
for (const [r, n] of t)
|
|
5
|
+
s[r] = n;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, $s = { class: "custom-dropdown" }, er = { style: { "border-bottom": "2px solid #000" } }, tr = { class: "dropdown-list-wrapper" }, sr = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "custom-dropdown-menu"
|
|
10
|
-
},
|
|
10
|
+
}, rr = ["onMousedown"], nr = {
|
|
11
11
|
__name: "DefaultDropDown",
|
|
12
12
|
props: {
|
|
13
13
|
links: {
|
|
@@ -28,61 +28,61 @@ const Ge = (e, t) => {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(e) {
|
|
31
|
-
const t = e, s =
|
|
31
|
+
const t = e, s = Qs(!1), r = (l) => {
|
|
32
32
|
l && (l.preventDefault(), l.stopPropagation()), s.value = !s.value;
|
|
33
|
-
},
|
|
33
|
+
}, n = (l) => {
|
|
34
34
|
if (typeof l != "function") {
|
|
35
35
|
r();
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
38
|
l(), r();
|
|
39
|
-
},
|
|
39
|
+
}, a = (l) => {
|
|
40
40
|
l && (l.preventDefault(), l.stopPropagation()), setTimeout(() => {
|
|
41
41
|
s.value = !1;
|
|
42
42
|
}, 100);
|
|
43
|
-
}, i =
|
|
44
|
-
return (l, h) => (
|
|
45
|
-
i.value ? (
|
|
43
|
+
}, i = ae(() => t.type === "profile");
|
|
44
|
+
return (l, h) => (b(), x("div", $s, [
|
|
45
|
+
i.value ? (b(), x("a", {
|
|
46
46
|
key: 0,
|
|
47
47
|
href: "#",
|
|
48
48
|
class: "cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",
|
|
49
49
|
onClick: r,
|
|
50
|
-
onBlur:
|
|
50
|
+
onBlur: a
|
|
51
51
|
}, [
|
|
52
52
|
h[0] || (h[0] = Y("div", { class: "circl" }, null, -1)),
|
|
53
|
-
|
|
54
|
-
], 32)) : (
|
|
53
|
+
Js(" " + V(e.title), 1)
|
|
54
|
+
], 32)) : (b(), x("a", {
|
|
55
55
|
key: 1,
|
|
56
56
|
href: "#",
|
|
57
57
|
class: "link-dark",
|
|
58
58
|
type: "button",
|
|
59
59
|
onClick: r,
|
|
60
|
-
onBlur:
|
|
60
|
+
onBlur: a
|
|
61
61
|
}, [
|
|
62
|
-
Y("span",
|
|
62
|
+
Y("span", er, V(e.title), 1),
|
|
63
63
|
h[1] || (h[1] = Y("i", {
|
|
64
64
|
class: "bi bi-chevron-up dropdown-edit",
|
|
65
65
|
style: { "font-size": "12px", "padding-inline-start": "5px" }
|
|
66
66
|
}, null, -1))
|
|
67
67
|
], 32)),
|
|
68
|
-
Y("div",
|
|
69
|
-
s.value ? (
|
|
70
|
-
(
|
|
71
|
-
f.hidden ?
|
|
68
|
+
Y("div", tr, [
|
|
69
|
+
s.value ? (b(), x("ul", sr, [
|
|
70
|
+
(b(!0), x(Kt, null, Ks(e.links, (f, M) => (b(), x("li", { key: M }, [
|
|
71
|
+
f.hidden ? De("", !0) : (b(), x("div", {
|
|
72
72
|
key: 0,
|
|
73
|
-
class:
|
|
73
|
+
class: ye(["dropdown-item", { disabled: f?.disabled }]),
|
|
74
74
|
style: { cursor: "pointer" },
|
|
75
|
-
onMousedown:
|
|
76
|
-
}, V(f?.title), 43,
|
|
75
|
+
onMousedown: Xt((N) => n(f?.action), ["prevent"])
|
|
76
|
+
}, V(f?.title), 43, rr))
|
|
77
77
|
]))), 128))
|
|
78
|
-
])) :
|
|
78
|
+
])) : De("", !0)
|
|
79
79
|
])
|
|
80
80
|
]));
|
|
81
81
|
}
|
|
82
|
-
},
|
|
82
|
+
}, ar = /* @__PURE__ */ ze(nr, [["__scopeId", "data-v-81ded822"]]), ir = "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", or = ["src", "alt"], lr = /* @__PURE__ */ _e({
|
|
83
83
|
__name: "Logo",
|
|
84
84
|
props: {
|
|
85
|
-
src: { default:
|
|
85
|
+
src: { default: ir },
|
|
86
86
|
alt: { default: "Logo" },
|
|
87
87
|
width: { default: 154 },
|
|
88
88
|
height: { default: 50 },
|
|
@@ -95,38 +95,38 @@ const Ge = (e, t) => {
|
|
|
95
95
|
showText: { type: Boolean, default: !0 }
|
|
96
96
|
},
|
|
97
97
|
setup(e) {
|
|
98
|
-
const t = e, s =
|
|
98
|
+
const t = e, s = ae(() => t.src?.startsWith("~/") ? t.src.replace("~/", "/") : t.src), r = ae(() => {
|
|
99
99
|
const l = "r3ui-logo";
|
|
100
100
|
return t.className ? `${l} ${t.className}` : l;
|
|
101
|
-
}),
|
|
101
|
+
}), n = ae(() => ({
|
|
102
102
|
width: typeof t.width == "number" ? `${t.width}px` : t.width,
|
|
103
103
|
height: typeof t.height == "number" ? `${t.height}px` : t.height,
|
|
104
104
|
...t.style
|
|
105
|
-
})),
|
|
105
|
+
})), a = ae(() => "r3ui-logo-container"), i = ae(() => ({
|
|
106
106
|
fontSize: typeof t.textSize == "number" ? `${t.textSize}px` : t.textSize,
|
|
107
107
|
color: t.textColor,
|
|
108
108
|
fontWeight: t.textWeight
|
|
109
109
|
}));
|
|
110
|
-
return (l, h) => (
|
|
111
|
-
class:
|
|
110
|
+
return (l, h) => (b(), x("div", {
|
|
111
|
+
class: ye(["r3ui-logo-container", a.value])
|
|
112
112
|
}, [
|
|
113
113
|
Y("img", {
|
|
114
114
|
src: s.value,
|
|
115
115
|
alt: l.alt,
|
|
116
|
-
class:
|
|
117
|
-
style:
|
|
118
|
-
}, null, 14,
|
|
119
|
-
l.brandText && l.brandText.trim() && l.showText ? (
|
|
116
|
+
class: ye(r.value),
|
|
117
|
+
style: Ht(n.value)
|
|
118
|
+
}, null, 14, or),
|
|
119
|
+
l.brandText && l.brandText.trim() && l.showText ? (b(), x("span", {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "r3ui-logo-text",
|
|
122
|
-
style:
|
|
123
|
-
}, V(l.brandText), 5)) :
|
|
122
|
+
style: Ht(i.value)
|
|
123
|
+
}, V(l.brandText), 5)) : De("", !0)
|
|
124
124
|
], 2));
|
|
125
125
|
}
|
|
126
|
-
}),
|
|
126
|
+
}), es = /* @__PURE__ */ ze(lr, [["__scopeId", "data-v-57bc5457"]]), ur = { class: "navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header" }, dr = { class: "row align-items-center" }, hr = { class: "col-auto pe-0" }, cr = { class: "col-auto ps-0 text-wrap mx-3 r3ui-header-label" }, fr = { class: "row" }, mr = { class: "col-auto d-flex align-items-center" }, yr = {
|
|
127
127
|
key: 1,
|
|
128
128
|
class: "text-muted"
|
|
129
|
-
},
|
|
129
|
+
}, _r = { class: "col-auto" }, gr = /* @__PURE__ */ _e({
|
|
130
130
|
__name: "Header",
|
|
131
131
|
props: {
|
|
132
132
|
isAuthenticated: { type: Boolean, default: !1 },
|
|
@@ -140,64 +140,64 @@ const Ge = (e, t) => {
|
|
|
140
140
|
},
|
|
141
141
|
emits: ["navigate", "logout"],
|
|
142
142
|
setup(e, { emit: t }) {
|
|
143
|
-
const s = e, r = t,
|
|
144
|
-
...
|
|
145
|
-
action: () => r("navigate",
|
|
143
|
+
const s = e, r = t, n = ae(() => s.rawDropdownLinks.map((a) => a.name === "logout" ? { ...a, action: () => r("logout") } : a.name.includes("http") ? {
|
|
144
|
+
...a,
|
|
145
|
+
action: () => r("navigate", a.name, {
|
|
146
146
|
external: !0
|
|
147
147
|
})
|
|
148
|
-
} : { ...
|
|
149
|
-
return (
|
|
148
|
+
} : { ...a, action: () => r("navigate", `/${a.name}`) }));
|
|
149
|
+
return (a, i) => (b(), x("div", ur, [
|
|
150
150
|
Y("div", {
|
|
151
|
-
class:
|
|
151
|
+
class: ye([s.isAuthenticated ? "container-fluid" : "container"])
|
|
152
152
|
}, [
|
|
153
153
|
Y("a", {
|
|
154
154
|
href: "/",
|
|
155
|
-
onClick: i[0] || (i[0] =
|
|
155
|
+
onClick: i[0] || (i[0] = Xt(() => r("navigate", "/"), ["prevent"])),
|
|
156
156
|
class: "text-decoration-none r3ui-header-link"
|
|
157
157
|
}, [
|
|
158
|
-
Y("div",
|
|
159
|
-
Y("div",
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
Y("div", dr, [
|
|
159
|
+
Y("div", hr, [
|
|
160
|
+
Fe(a.$slots, "logo", {}, () => [
|
|
161
|
+
ve(es, {
|
|
162
162
|
class: "r3ui-header-logo",
|
|
163
163
|
brandText: s.brandText
|
|
164
164
|
}, null, 8, ["brandText"])
|
|
165
165
|
], !0)
|
|
166
166
|
]),
|
|
167
|
-
Y("div",
|
|
167
|
+
Y("div", cr, V(s.brandText), 1)
|
|
168
168
|
])
|
|
169
169
|
]),
|
|
170
|
-
Y("div",
|
|
171
|
-
Y("div",
|
|
172
|
-
s.isAuthenticated ? (
|
|
170
|
+
Y("div", fr, [
|
|
171
|
+
Y("div", mr, [
|
|
172
|
+
s.isAuthenticated ? (b(), $t(ar, {
|
|
173
173
|
key: 0,
|
|
174
174
|
type: "profile",
|
|
175
175
|
title: s.user?.name || "",
|
|
176
|
-
links:
|
|
177
|
-
}, null, 8, ["title", "links"])) :
|
|
178
|
-
s.isAuthenticated ?
|
|
176
|
+
links: n.value
|
|
177
|
+
}, null, 8, ["title", "links"])) : De("", !0),
|
|
178
|
+
s.isAuthenticated ? De("", !0) : (b(), x("div", yr, V(s.loginText), 1))
|
|
179
179
|
]),
|
|
180
|
-
Y("div",
|
|
181
|
-
|
|
180
|
+
Y("div", _r, [
|
|
181
|
+
Fe(a.$slots, "language-selector", {}, void 0, !0)
|
|
182
182
|
])
|
|
183
183
|
])
|
|
184
184
|
], 2)
|
|
185
185
|
]));
|
|
186
186
|
}
|
|
187
|
-
}),
|
|
187
|
+
}), wr = /* @__PURE__ */ ze(gr, [["__scopeId", "data-v-a63a7e7f"]]);
|
|
188
188
|
//! moment.js
|
|
189
189
|
//! version : 2.30.1
|
|
190
190
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
191
191
|
//! license : MIT
|
|
192
192
|
//! momentjs.com
|
|
193
|
-
var
|
|
193
|
+
var ts;
|
|
194
194
|
function u() {
|
|
195
|
-
return
|
|
195
|
+
return ts.apply(null, arguments);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
|
|
197
|
+
function pr(e) {
|
|
198
|
+
ts = e;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function E(e) {
|
|
201
201
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
202
202
|
}
|
|
203
203
|
function oe(e) {
|
|
@@ -206,7 +206,7 @@ function oe(e) {
|
|
|
206
206
|
function g(e, t) {
|
|
207
207
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function _t(e) {
|
|
210
210
|
if (Object.getOwnPropertyNames)
|
|
211
211
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
212
212
|
var t;
|
|
@@ -215,18 +215,18 @@ function ct(e) {
|
|
|
215
215
|
return !1;
|
|
216
216
|
return !0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function P(e) {
|
|
219
219
|
return e === void 0;
|
|
220
220
|
}
|
|
221
221
|
function X(e) {
|
|
222
222
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function xe(e) {
|
|
225
225
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
var s = [], r,
|
|
229
|
-
for (r = 0; r <
|
|
227
|
+
function ss(e, t) {
|
|
228
|
+
var s = [], r, n = e.length;
|
|
229
|
+
for (r = 0; r < n; ++r)
|
|
230
230
|
s.push(t(e[r], r));
|
|
231
231
|
return s;
|
|
232
232
|
}
|
|
@@ -236,9 +236,9 @@ function te(e, t) {
|
|
|
236
236
|
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
237
237
|
}
|
|
238
238
|
function j(e, t, s, r) {
|
|
239
|
-
return
|
|
239
|
+
return Ys(e, t, s, r, !0).utc();
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function kr() {
|
|
242
242
|
return {
|
|
243
243
|
empty: !1,
|
|
244
244
|
unusedTokens: [],
|
|
@@ -259,64 +259,64 @@ function fr() {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
function m(e) {
|
|
262
|
-
return e._pf == null && (e._pf =
|
|
262
|
+
return e._pf == null && (e._pf = kr()), e._pf;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
Array.prototype.some ?
|
|
264
|
+
var ut;
|
|
265
|
+
Array.prototype.some ? ut = Array.prototype.some : ut = function(e) {
|
|
266
266
|
var t = Object(this), s = t.length >>> 0, r;
|
|
267
267
|
for (r = 0; r < s; r++)
|
|
268
268
|
if (r in t && e.call(this, t[r], r, t))
|
|
269
269
|
return !0;
|
|
270
270
|
return !1;
|
|
271
271
|
};
|
|
272
|
-
function
|
|
272
|
+
function gt(e) {
|
|
273
273
|
var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
|
|
274
|
-
if (r && (t = m(e), s =
|
|
275
|
-
return
|
|
274
|
+
if (r && (t = m(e), s = ut.call(t.parsedDateParts, function(n) {
|
|
275
|
+
return n != null;
|
|
276
276
|
}), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
277
277
|
e._isValid = r;
|
|
278
278
|
else
|
|
279
279
|
return r;
|
|
280
280
|
return e._isValid;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function Ze(e) {
|
|
283
283
|
var t = j(NaN);
|
|
284
284
|
return e != null ? te(m(t), e) : m(t).userInvalidated = !0, t;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
function
|
|
288
|
-
var s, r,
|
|
289
|
-
if (
|
|
290
|
-
for (s = 0; s <
|
|
291
|
-
r =
|
|
286
|
+
var Gt = u.momentProperties = [], nt = !1;
|
|
287
|
+
function wt(e, t) {
|
|
288
|
+
var s, r, n, a = Gt.length;
|
|
289
|
+
if (P(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), P(t._i) || (e._i = t._i), P(t._f) || (e._f = t._f), P(t._l) || (e._l = t._l), P(t._strict) || (e._strict = t._strict), P(t._tzm) || (e._tzm = t._tzm), P(t._isUTC) || (e._isUTC = t._isUTC), P(t._offset) || (e._offset = t._offset), P(t._pf) || (e._pf = m(t)), P(t._locale) || (e._locale = t._locale), a > 0)
|
|
290
|
+
for (s = 0; s < a; s++)
|
|
291
|
+
r = Gt[s], n = t[r], P(n) || (e[r] = n);
|
|
292
292
|
return e;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
|
|
294
|
+
function Pe(e) {
|
|
295
|
+
wt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), nt === !1 && (nt = !0, u.updateOffset(this), nt = !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
return e instanceof
|
|
297
|
+
function F(e) {
|
|
298
|
+
return e instanceof Pe || e != null && e._isAMomentObject != null;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function rs(e) {
|
|
301
301
|
u.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function A(e, t) {
|
|
304
304
|
var s = !0;
|
|
305
305
|
return te(function() {
|
|
306
306
|
if (u.deprecationHandler != null && u.deprecationHandler(null, e), s) {
|
|
307
|
-
var r = [],
|
|
308
|
-
for (
|
|
309
|
-
if (
|
|
310
|
-
|
|
311
|
-
[` +
|
|
307
|
+
var r = [], n, a, i, l = arguments.length;
|
|
308
|
+
for (a = 0; a < l; a++) {
|
|
309
|
+
if (n = "", typeof arguments[a] == "object") {
|
|
310
|
+
n += `
|
|
311
|
+
[` + a + "] ";
|
|
312
312
|
for (i in arguments[0])
|
|
313
|
-
g(arguments[0], i) && (
|
|
314
|
-
|
|
313
|
+
g(arguments[0], i) && (n += i + ": " + arguments[0][i] + ", ");
|
|
314
|
+
n = n.slice(0, -2);
|
|
315
315
|
} else
|
|
316
|
-
|
|
317
|
-
r.push(
|
|
316
|
+
n = arguments[a];
|
|
317
|
+
r.push(n);
|
|
318
318
|
}
|
|
319
|
-
|
|
319
|
+
rs(
|
|
320
320
|
e + `
|
|
321
321
|
Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
322
322
|
` + new Error().stack
|
|
@@ -325,16 +325,16 @@ Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
|
325
325
|
return t.apply(this, arguments);
|
|
326
326
|
}, t);
|
|
327
327
|
}
|
|
328
|
-
var
|
|
329
|
-
function
|
|
330
|
-
u.deprecationHandler != null && u.deprecationHandler(e, t),
|
|
328
|
+
var jt = {};
|
|
329
|
+
function ns(e, t) {
|
|
330
|
+
u.deprecationHandler != null && u.deprecationHandler(e, t), jt[e] || (rs(t), jt[e] = !0);
|
|
331
331
|
}
|
|
332
332
|
u.suppressDeprecationWarnings = !1;
|
|
333
333
|
u.deprecationHandler = null;
|
|
334
334
|
function z(e) {
|
|
335
335
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Sr(e) {
|
|
338
338
|
var t, s;
|
|
339
339
|
for (s in e)
|
|
340
340
|
g(e, s) && (t = e[s], z(t) ? this[s] = t : this["_" + s] = t);
|
|
@@ -342,7 +342,7 @@ function mr(e) {
|
|
|
342
342
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
343
343
|
);
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function dt(e, t) {
|
|
346
346
|
var s = te({}, e), r;
|
|
347
347
|
for (r in t)
|
|
348
348
|
g(t, r) && (oe(e[r]) && oe(t[r]) ? (s[r] = {}, te(s[r], e[r]), te(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
|
|
@@ -350,17 +350,17 @@ function it(e, t) {
|
|
|
350
350
|
g(e, r) && !g(t, r) && oe(e[r]) && (s[r] = te({}, s[r]));
|
|
351
351
|
return s;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function pt(e) {
|
|
354
354
|
e != null && this.set(e);
|
|
355
355
|
}
|
|
356
|
-
var
|
|
357
|
-
Object.keys ?
|
|
356
|
+
var ht;
|
|
357
|
+
Object.keys ? ht = Object.keys : ht = function(e) {
|
|
358
358
|
var t, s = [];
|
|
359
359
|
for (t in e)
|
|
360
360
|
g(e, t) && s.push(t);
|
|
361
361
|
return s;
|
|
362
362
|
};
|
|
363
|
-
var
|
|
363
|
+
var vr = {
|
|
364
364
|
sameDay: "[Today at] LT",
|
|
365
365
|
nextDay: "[Tomorrow at] LT",
|
|
366
366
|
nextWeek: "dddd [at] LT",
|
|
@@ -368,58 +368,58 @@ var yr = {
|
|
|
368
368
|
lastWeek: "[Last] dddd [at] LT",
|
|
369
369
|
sameElse: "L"
|
|
370
370
|
};
|
|
371
|
-
function
|
|
371
|
+
function Mr(e, t, s) {
|
|
372
372
|
var r = this._calendar[e] || this._calendar.sameElse;
|
|
373
373
|
return z(r) ? r.call(t, s) : r;
|
|
374
374
|
}
|
|
375
375
|
function G(e, t, s) {
|
|
376
|
-
var r = "" + Math.abs(e),
|
|
377
|
-
return (
|
|
376
|
+
var r = "" + Math.abs(e), n = t - r.length, a = e >= 0;
|
|
377
|
+
return (a ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + r;
|
|
378
378
|
}
|
|
379
|
-
var
|
|
379
|
+
var kt = /(\[[^\[]*\])|(\\)?([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, Ce = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, at = {}, ce = {};
|
|
380
380
|
function c(e, t, s, r) {
|
|
381
|
-
var
|
|
382
|
-
typeof r == "string" && (
|
|
381
|
+
var n = r;
|
|
382
|
+
typeof r == "string" && (n = function() {
|
|
383
383
|
return this[r]();
|
|
384
|
-
}), e && (ce[e] =
|
|
385
|
-
return G(
|
|
384
|
+
}), e && (ce[e] = n), t && (ce[t[0]] = function() {
|
|
385
|
+
return G(n.apply(this, arguments), t[1], t[2]);
|
|
386
386
|
}), s && (ce[s] = function() {
|
|
387
387
|
return this.localeData().ordinal(
|
|
388
|
-
|
|
388
|
+
n.apply(this, arguments),
|
|
389
389
|
e
|
|
390
390
|
);
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Dr(e) {
|
|
394
394
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
var t = e.match(
|
|
396
|
+
function Yr(e) {
|
|
397
|
+
var t = e.match(kt), s, r;
|
|
398
398
|
for (s = 0, r = t.length; s < r; s++)
|
|
399
|
-
ce[t[s]] ? t[s] = ce[t[s]] : t[s] =
|
|
400
|
-
return function(
|
|
401
|
-
var
|
|
399
|
+
ce[t[s]] ? t[s] = ce[t[s]] : t[s] = Dr(t[s]);
|
|
400
|
+
return function(n) {
|
|
401
|
+
var a = "", i;
|
|
402
402
|
for (i = 0; i < r; i++)
|
|
403
|
-
|
|
404
|
-
return
|
|
403
|
+
a += z(t[i]) ? t[i].call(n, e) : t[i];
|
|
404
|
+
return a;
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
return e.isValid() ? (t =
|
|
407
|
+
function Re(e, t) {
|
|
408
|
+
return e.isValid() ? (t = as(t, e.localeData()), at[t] = at[t] || Yr(t), at[t](e)) : e.localeData().invalidDate();
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function as(e, t) {
|
|
411
411
|
var s = 5;
|
|
412
|
-
function r(
|
|
413
|
-
return t.longDateFormat(
|
|
412
|
+
function r(n) {
|
|
413
|
+
return t.longDateFormat(n) || n;
|
|
414
414
|
}
|
|
415
|
-
for (
|
|
415
|
+
for (Ce.lastIndex = 0; s >= 0 && Ce.test(e); )
|
|
416
416
|
e = e.replace(
|
|
417
|
-
|
|
417
|
+
Ce,
|
|
418
418
|
r
|
|
419
|
-
),
|
|
419
|
+
), Ce.lastIndex = 0, s -= 1;
|
|
420
420
|
return e;
|
|
421
421
|
}
|
|
422
|
-
var
|
|
422
|
+
var Or = {
|
|
423
423
|
LTS: "h:mm:ss A",
|
|
424
424
|
LT: "h:mm A",
|
|
425
425
|
L: "MM/DD/YYYY",
|
|
@@ -427,21 +427,21 @@ var pr = {
|
|
|
427
427
|
LLL: "MMMM D, YYYY h:mm A",
|
|
428
428
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function br(e) {
|
|
431
431
|
var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
|
|
432
|
-
return t || !s ? t : (this._longDateFormat[e] = s.match(
|
|
432
|
+
return t || !s ? t : (this._longDateFormat[e] = s.match(kt).map(function(r) {
|
|
433
433
|
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
434
434
|
}).join(""), this._longDateFormat[e]);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var Tr = "Invalid date";
|
|
437
|
+
function xr() {
|
|
438
438
|
return this._invalidDate;
|
|
439
439
|
}
|
|
440
|
-
var
|
|
441
|
-
function
|
|
440
|
+
var Pr = "%d", Nr = /\d{1,2}/;
|
|
441
|
+
function Wr(e) {
|
|
442
442
|
return this._ordinal.replace("%d", e);
|
|
443
443
|
}
|
|
444
|
-
var
|
|
444
|
+
var Cr = {
|
|
445
445
|
future: "in %s",
|
|
446
446
|
past: "%s ago",
|
|
447
447
|
s: "a few seconds",
|
|
@@ -459,15 +459,15 @@ var Or = {
|
|
|
459
459
|
y: "a year",
|
|
460
460
|
yy: "%d years"
|
|
461
461
|
};
|
|
462
|
-
function
|
|
463
|
-
var
|
|
464
|
-
return z(
|
|
462
|
+
function Ar(e, t, s, r) {
|
|
463
|
+
var n = this._relativeTime[s];
|
|
464
|
+
return z(n) ? n(e, t, s, r) : n.replace(/%d/i, e);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function Rr(e, t) {
|
|
467
467
|
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
|
468
468
|
return z(s) ? s(t) : s.replace(/%s/i, t);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
470
|
+
var zt = {
|
|
471
471
|
D: "date",
|
|
472
472
|
dates: "date",
|
|
473
473
|
date: "date",
|
|
@@ -517,16 +517,16 @@ var Lt = {
|
|
|
517
517
|
years: "year",
|
|
518
518
|
year: "year"
|
|
519
519
|
};
|
|
520
|
-
function
|
|
521
|
-
return typeof e == "string" ?
|
|
520
|
+
function R(e) {
|
|
521
|
+
return typeof e == "string" ? zt[e] || zt[e.toLowerCase()] : void 0;
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function St(e) {
|
|
524
524
|
var t = {}, s, r;
|
|
525
525
|
for (r in e)
|
|
526
|
-
g(e, r) && (s =
|
|
526
|
+
g(e, r) && (s = R(r), s && (t[s] = e[r]));
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
|
-
var
|
|
529
|
+
var Lr = {
|
|
530
530
|
date: 9,
|
|
531
531
|
day: 11,
|
|
532
532
|
weekday: 11,
|
|
@@ -544,30 +544,30 @@ var xr = {
|
|
|
544
544
|
isoWeek: 5,
|
|
545
545
|
year: 1
|
|
546
546
|
};
|
|
547
|
-
function
|
|
547
|
+
function Ir(e) {
|
|
548
548
|
var t = [], s;
|
|
549
549
|
for (s in e)
|
|
550
|
-
g(e, s) && t.push({ unit: s, priority:
|
|
551
|
-
return t.sort(function(r,
|
|
552
|
-
return r.priority -
|
|
550
|
+
g(e, s) && t.push({ unit: s, priority: Lr[s] });
|
|
551
|
+
return t.sort(function(r, n) {
|
|
552
|
+
return r.priority - n.priority;
|
|
553
553
|
}), t;
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
|
|
555
|
+
var is = /\d/, W = /\d\d/, os = /\d{3}/, vt = /\d{4}/, Be = /[+-]?\d{6}/, S = /\d\d?/, ls = /\d\d\d\d?/, us = /\d\d\d\d\d\d?/, qe = /\d{1,3}/, Mt = /\d{1,4}/, Qe = /[+-]?\d{1,6}/, ge = /\d+/, Je = /[+-]?\d+/, Er = /Z|[+-]\d\d:?\d\d/gi, Ke = /Z|[+-]\d\d(?::?\d\d)?/gi, Fr = /[+-]?\d+(\.\d{1,3})?/, Ne = /[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, we = /^[1-9]\d?/, Dt = /^([1-9]\d|\d)/, Ue;
|
|
556
|
+
Ue = {};
|
|
557
557
|
function d(e, t, s) {
|
|
558
|
-
|
|
558
|
+
Ue[e] = z(t) ? t : function(r, n) {
|
|
559
559
|
return r && s ? s : t;
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return g(
|
|
562
|
+
function Ur(e, t) {
|
|
563
|
+
return g(Ue, e) ? Ue[e](t._strict, t._locale) : new RegExp(Hr(e));
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Hr(e) {
|
|
566
566
|
return J(
|
|
567
567
|
e.replace("\\", "").replace(
|
|
568
568
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
569
|
-
function(t, s, r,
|
|
570
|
-
return s || r ||
|
|
569
|
+
function(t, s, r, n, a) {
|
|
570
|
+
return s || r || n || a;
|
|
571
571
|
}
|
|
572
572
|
)
|
|
573
573
|
);
|
|
@@ -575,33 +575,33 @@ function Ar(e) {
|
|
|
575
575
|
function J(e) {
|
|
576
576
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function C(e) {
|
|
579
579
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
580
580
|
}
|
|
581
581
|
function y(e) {
|
|
582
582
|
var t = +e, s = 0;
|
|
583
|
-
return t !== 0 && isFinite(t) && (s =
|
|
583
|
+
return t !== 0 && isFinite(t) && (s = C(t)), s;
|
|
584
584
|
}
|
|
585
|
-
var
|
|
585
|
+
var ct = {};
|
|
586
586
|
function p(e, t) {
|
|
587
|
-
var s, r = t,
|
|
588
|
-
for (typeof e == "string" && (e = [e]), X(t) && (r = function(
|
|
589
|
-
i[t] = y(
|
|
590
|
-
}),
|
|
591
|
-
|
|
592
|
-
}
|
|
593
|
-
function
|
|
594
|
-
p(e, function(s, r,
|
|
595
|
-
|
|
587
|
+
var s, r = t, n;
|
|
588
|
+
for (typeof e == "string" && (e = [e]), X(t) && (r = function(a, i) {
|
|
589
|
+
i[t] = y(a);
|
|
590
|
+
}), n = e.length, s = 0; s < n; s++)
|
|
591
|
+
ct[e[s]] = r;
|
|
592
|
+
}
|
|
593
|
+
function We(e, t) {
|
|
594
|
+
p(e, function(s, r, n, a) {
|
|
595
|
+
n._w = n._w || {}, t(s, n._w, n, a);
|
|
596
596
|
});
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
t != null && g(
|
|
598
|
+
function Vr(e, t, s) {
|
|
599
|
+
t != null && g(ct, e) && ct[e](t, s._a, s, e);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Xe(e) {
|
|
602
602
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
603
603
|
}
|
|
604
|
-
var
|
|
604
|
+
var T = 0, q = 1, H = 2, O = 3, I = 4, Q = 5, ie = 6, Gr = 7, jr = 8;
|
|
605
605
|
c("Y", 0, 0, function() {
|
|
606
606
|
var e = this.year();
|
|
607
607
|
return e <= 9999 ? G(e, 4) : "+" + e;
|
|
@@ -612,37 +612,37 @@ c(0, ["YY", 2], 0, function() {
|
|
|
612
612
|
c(0, ["YYYY", 4], 0, "year");
|
|
613
613
|
c(0, ["YYYYY", 5], 0, "year");
|
|
614
614
|
c(0, ["YYYYYY", 6, !0], 0, "year");
|
|
615
|
-
d("Y",
|
|
616
|
-
d("YY", S,
|
|
617
|
-
d("YYYY",
|
|
618
|
-
d("YYYYY",
|
|
619
|
-
d("YYYYYY",
|
|
620
|
-
p(["YYYYY", "YYYYYY"],
|
|
615
|
+
d("Y", Je);
|
|
616
|
+
d("YY", S, W);
|
|
617
|
+
d("YYYY", Mt, vt);
|
|
618
|
+
d("YYYYY", Qe, Be);
|
|
619
|
+
d("YYYYYY", Qe, Be);
|
|
620
|
+
p(["YYYYY", "YYYYYY"], T);
|
|
621
621
|
p("YYYY", function(e, t) {
|
|
622
|
-
t[
|
|
622
|
+
t[T] = e.length === 2 ? u.parseTwoDigitYear(e) : y(e);
|
|
623
623
|
});
|
|
624
624
|
p("YY", function(e, t) {
|
|
625
|
-
t[
|
|
625
|
+
t[T] = u.parseTwoDigitYear(e);
|
|
626
626
|
});
|
|
627
627
|
p("Y", function(e, t) {
|
|
628
|
-
t[
|
|
628
|
+
t[T] = parseInt(e, 10);
|
|
629
629
|
});
|
|
630
|
-
function
|
|
631
|
-
return
|
|
630
|
+
function Me(e) {
|
|
631
|
+
return Xe(e) ? 366 : 365;
|
|
632
632
|
}
|
|
633
633
|
u.parseTwoDigitYear = function(e) {
|
|
634
634
|
return y(e) + (y(e) > 68 ? 1900 : 2e3);
|
|
635
635
|
};
|
|
636
|
-
var
|
|
637
|
-
function
|
|
638
|
-
return
|
|
636
|
+
var ds = pe("FullYear", !0);
|
|
637
|
+
function zr() {
|
|
638
|
+
return Xe(this.year());
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function pe(e, t) {
|
|
641
641
|
return function(s) {
|
|
642
|
-
return s != null ? (
|
|
642
|
+
return s != null ? (hs(this, e, s), u.updateOffset(this, t), this) : Ye(this, e);
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Ye(e, t) {
|
|
646
646
|
if (!e.isValid())
|
|
647
647
|
return NaN;
|
|
648
648
|
var s = e._d, r = e._isUTC;
|
|
@@ -667,20 +667,20 @@ function Me(e, t) {
|
|
|
667
667
|
return NaN;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
function
|
|
671
|
-
var r,
|
|
670
|
+
function hs(e, t, s) {
|
|
671
|
+
var r, n, a, i, l;
|
|
672
672
|
if (!(!e.isValid() || isNaN(s))) {
|
|
673
|
-
switch (r = e._d,
|
|
673
|
+
switch (r = e._d, n = e._isUTC, t) {
|
|
674
674
|
case "Milliseconds":
|
|
675
|
-
return void (
|
|
675
|
+
return void (n ? r.setUTCMilliseconds(s) : r.setMilliseconds(s));
|
|
676
676
|
case "Seconds":
|
|
677
|
-
return void (
|
|
677
|
+
return void (n ? r.setUTCSeconds(s) : r.setSeconds(s));
|
|
678
678
|
case "Minutes":
|
|
679
|
-
return void (
|
|
679
|
+
return void (n ? r.setUTCMinutes(s) : r.setMinutes(s));
|
|
680
680
|
case "Hours":
|
|
681
|
-
return void (
|
|
681
|
+
return void (n ? r.setUTCHours(s) : r.setHours(s));
|
|
682
682
|
case "Date":
|
|
683
|
-
return void (
|
|
683
|
+
return void (n ? r.setUTCDate(s) : r.setDate(s));
|
|
684
684
|
// case 'Day': // Not real
|
|
685
685
|
// return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
|
|
686
686
|
// case 'Month': // Not used because we need to pass two variables
|
|
@@ -691,23 +691,23 @@ function ts(e, t, s) {
|
|
|
691
691
|
default:
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
a = s, i = e.month(), l = e.date(), l = l === 29 && i === 1 && !Xe(a) ? 28 : l, n ? r.setUTCFullYear(a, i, l) : r.setFullYear(a, i, l);
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
return e =
|
|
697
|
+
function Zr(e) {
|
|
698
|
+
return e = R(e), z(this[e]) ? this[e]() : this;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Br(e, t) {
|
|
701
701
|
if (typeof e == "object") {
|
|
702
|
-
e =
|
|
703
|
-
var s =
|
|
704
|
-
for (r = 0; r <
|
|
702
|
+
e = St(e);
|
|
703
|
+
var s = Ir(e), r, n = s.length;
|
|
704
|
+
for (r = 0; r < n; r++)
|
|
705
705
|
this[s[r].unit](e[s[r].unit]);
|
|
706
|
-
} else if (e =
|
|
706
|
+
} else if (e = R(e), z(this[e]))
|
|
707
707
|
return this[e](t);
|
|
708
708
|
return this;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function qr(e, t) {
|
|
711
711
|
return (e % t + t) % t;
|
|
712
712
|
}
|
|
713
713
|
var D;
|
|
@@ -718,11 +718,11 @@ Array.prototype.indexOf ? D = Array.prototype.indexOf : D = function(e) {
|
|
|
718
718
|
return t;
|
|
719
719
|
return -1;
|
|
720
720
|
};
|
|
721
|
-
function
|
|
721
|
+
function Yt(e, t) {
|
|
722
722
|
if (isNaN(e) || isNaN(t))
|
|
723
723
|
return NaN;
|
|
724
|
-
var s =
|
|
725
|
-
return e += (t - s) / 12, s === 1 ?
|
|
724
|
+
var s = qr(t, 12);
|
|
725
|
+
return e += (t - s) / 12, s === 1 ? Xe(e) ? 29 : 28 : 31 - s % 7 % 2;
|
|
726
726
|
}
|
|
727
727
|
c("M", ["MM", 2], "Mo", function() {
|
|
728
728
|
return this.month() + 1;
|
|
@@ -733,8 +733,8 @@ c("MMM", 0, 0, function(e) {
|
|
|
733
733
|
c("MMMM", 0, 0, function(e) {
|
|
734
734
|
return this.localeData().months(this, e);
|
|
735
735
|
});
|
|
736
|
-
d("M", S,
|
|
737
|
-
d("MM", S,
|
|
736
|
+
d("M", S, we);
|
|
737
|
+
d("MM", S, W);
|
|
738
738
|
d("MMM", function(e, t) {
|
|
739
739
|
return t.monthsShortRegex(e);
|
|
740
740
|
});
|
|
@@ -745,40 +745,40 @@ p(["M", "MM"], function(e, t) {
|
|
|
745
745
|
t[q] = y(e) - 1;
|
|
746
746
|
});
|
|
747
747
|
p(["MMM", "MMMM"], function(e, t, s, r) {
|
|
748
|
-
var
|
|
749
|
-
|
|
748
|
+
var n = s._locale.monthsParse(e, r, s._strict);
|
|
749
|
+
n != null ? t[q] = n : m(s).invalidMonth = e;
|
|
750
750
|
});
|
|
751
|
-
var
|
|
751
|
+
var Qr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
752
752
|
"_"
|
|
753
|
-
),
|
|
754
|
-
function
|
|
755
|
-
return e ?
|
|
753
|
+
), cs = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), fs = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Jr = Ne, Kr = Ne;
|
|
754
|
+
function Xr(e, t) {
|
|
755
|
+
return e ? E(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || fs).test(t) ? "format" : "standalone"][e.month()] : E(this._months) ? this._months : this._months.standalone;
|
|
756
756
|
}
|
|
757
|
-
function
|
|
758
|
-
return e ?
|
|
757
|
+
function $r(e, t) {
|
|
758
|
+
return e ? E(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[fs.test(t) ? "format" : "standalone"][e.month()] : E(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
761
|
-
var r,
|
|
760
|
+
function en(e, t, s) {
|
|
761
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
762
762
|
if (!this._monthsParse)
|
|
763
763
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
764
|
-
|
|
765
|
-
|
|
764
|
+
a = j([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
|
|
765
|
+
a,
|
|
766
766
|
""
|
|
767
|
-
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(
|
|
768
|
-
return s ? t === "MMM" ? (
|
|
767
|
+
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(a, "").toLocaleLowerCase();
|
|
768
|
+
return s ? 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));
|
|
769
769
|
}
|
|
770
|
-
function
|
|
771
|
-
var r,
|
|
770
|
+
function tn(e, t, s) {
|
|
771
|
+
var r, n, a;
|
|
772
772
|
if (this._monthsParseExact)
|
|
773
|
-
return
|
|
773
|
+
return en.call(this, e, t, s);
|
|
774
774
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
|
|
775
|
-
if (
|
|
776
|
-
"^" + this.months(
|
|
775
|
+
if (n = j([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
776
|
+
"^" + this.months(n, "").replace(".", "") + "$",
|
|
777
777
|
"i"
|
|
778
778
|
), this._shortMonthsParse[r] = new RegExp(
|
|
779
|
-
"^" + this.monthsShort(
|
|
779
|
+
"^" + this.monthsShort(n, "").replace(".", "") + "$",
|
|
780
780
|
"i"
|
|
781
|
-
)), !s && !this._monthsParse[r] && (
|
|
781
|
+
)), !s && !this._monthsParse[r] && (a = "^" + this.months(n, "") + "|^" + this.monthsShort(n, ""), this._monthsParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "MMMM" && this._longMonthsParse[r].test(e))
|
|
782
782
|
return r;
|
|
783
783
|
if (s && t === "MMM" && this._shortMonthsParse[r].test(e))
|
|
784
784
|
return r;
|
|
@@ -786,7 +786,7 @@ function qr(e, t, s) {
|
|
|
786
786
|
return r;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function ms(e, t) {
|
|
790
790
|
if (!e.isValid())
|
|
791
791
|
return e;
|
|
792
792
|
if (typeof t == "string") {
|
|
@@ -796,27 +796,27 @@ function as(e, t) {
|
|
|
796
796
|
return e;
|
|
797
797
|
}
|
|
798
798
|
var s = t, r = e.date();
|
|
799
|
-
return r = r < 29 ? r : Math.min(r,
|
|
799
|
+
return r = r < 29 ? r : Math.min(r, Yt(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
802
|
-
return e != null ? (
|
|
801
|
+
function ys(e) {
|
|
802
|
+
return e != null ? (ms(this, e), u.updateOffset(this, !0), this) : Ye(this, "Month");
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
804
|
+
function sn() {
|
|
805
|
+
return Yt(this.year(), this.month());
|
|
806
806
|
}
|
|
807
|
-
function
|
|
808
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") ||
|
|
807
|
+
function rn(e) {
|
|
808
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || _s.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = Jr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
809
809
|
}
|
|
810
|
-
function
|
|
811
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") ||
|
|
810
|
+
function nn(e) {
|
|
811
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || _s.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = Kr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function _s() {
|
|
814
814
|
function e(h, f) {
|
|
815
815
|
return f.length - h.length;
|
|
816
816
|
}
|
|
817
|
-
var t = [], s = [], r = [],
|
|
818
|
-
for (
|
|
819
|
-
|
|
817
|
+
var t = [], s = [], r = [], n, a, i, l;
|
|
818
|
+
for (n = 0; n < 12; n++)
|
|
819
|
+
a = j([2e3, n]), i = J(this.monthsShort(a, "")), l = J(this.months(a, "")), t.push(i), s.push(l), r.push(l), r.push(i);
|
|
820
820
|
t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
821
821
|
"^(" + s.join("|") + ")",
|
|
822
822
|
"i"
|
|
@@ -825,69 +825,69 @@ function is() {
|
|
|
825
825
|
"i"
|
|
826
826
|
);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function an(e, t, s, r, n, a, i) {
|
|
829
829
|
var l;
|
|
830
|
-
return e < 100 && e >= 0 ? (l = new Date(e + 400, t, s, r,
|
|
830
|
+
return e < 100 && e >= 0 ? (l = new Date(e + 400, t, s, r, n, a, i), isFinite(l.getFullYear()) && l.setFullYear(e)) : l = new Date(e, t, s, r, n, a, i), l;
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Oe(e) {
|
|
833
833
|
var t, s;
|
|
834
834
|
return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
835
835
|
}
|
|
836
|
-
function
|
|
837
|
-
var r = 7 + t - s,
|
|
838
|
-
return -
|
|
836
|
+
function He(e, t, s) {
|
|
837
|
+
var r = 7 + t - s, n = (7 + Oe(e, 0, r).getUTCDay() - t) % 7;
|
|
838
|
+
return -n + r - 1;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
841
|
-
var
|
|
842
|
-
return l <= 0 ? (h = e - 1, f =
|
|
840
|
+
function gs(e, t, s, r, n) {
|
|
841
|
+
var a = (7 + s - r) % 7, i = He(e, r, n), l = 1 + 7 * (t - 1) + a + i, h, f;
|
|
842
|
+
return l <= 0 ? (h = e - 1, f = Me(h) + l) : l > Me(e) ? (h = e + 1, f = l - Me(e)) : (h = e, f = l), {
|
|
843
843
|
year: h,
|
|
844
844
|
dayOfYear: f
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
var r =
|
|
849
|
-
return
|
|
850
|
-
week:
|
|
847
|
+
function be(e, t, s) {
|
|
848
|
+
var r = He(e.year(), t, s), n = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, a, i;
|
|
849
|
+
return n < 1 ? (i = e.year() - 1, a = n + K(i, t, s)) : n > K(e.year(), t, s) ? (a = n - K(e.year(), t, s), i = e.year() + 1) : (i = e.year(), a = n), {
|
|
850
|
+
week: a,
|
|
851
851
|
year: i
|
|
852
852
|
};
|
|
853
853
|
}
|
|
854
854
|
function K(e, t, s) {
|
|
855
|
-
var r =
|
|
856
|
-
return (
|
|
855
|
+
var r = He(e, t, s), n = He(e + 1, t, s);
|
|
856
|
+
return (Me(e) - r + n) / 7;
|
|
857
857
|
}
|
|
858
858
|
c("w", ["ww", 2], "wo", "week");
|
|
859
859
|
c("W", ["WW", 2], "Wo", "isoWeek");
|
|
860
|
-
d("w", S,
|
|
861
|
-
d("ww", S,
|
|
862
|
-
d("W", S,
|
|
863
|
-
d("WW", S,
|
|
864
|
-
|
|
860
|
+
d("w", S, we);
|
|
861
|
+
d("ww", S, W);
|
|
862
|
+
d("W", S, we);
|
|
863
|
+
d("WW", S, W);
|
|
864
|
+
We(
|
|
865
865
|
["w", "ww", "W", "WW"],
|
|
866
866
|
function(e, t, s, r) {
|
|
867
867
|
t[r.substr(0, 1)] = y(e);
|
|
868
868
|
}
|
|
869
869
|
);
|
|
870
|
-
function
|
|
871
|
-
return
|
|
870
|
+
function on(e) {
|
|
871
|
+
return be(e, this._week.dow, this._week.doy).week;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var ln = {
|
|
874
874
|
dow: 0,
|
|
875
875
|
// Sunday is the first day of the week.
|
|
876
876
|
doy: 6
|
|
877
877
|
// The week that contains Jan 6th is the first week of the year.
|
|
878
878
|
};
|
|
879
|
-
function
|
|
879
|
+
function un() {
|
|
880
880
|
return this._week.dow;
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function dn() {
|
|
883
883
|
return this._week.doy;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function hn(e) {
|
|
886
886
|
var t = this.localeData().week(this);
|
|
887
887
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
888
888
|
}
|
|
889
|
-
function
|
|
890
|
-
var t =
|
|
889
|
+
function cn(e) {
|
|
890
|
+
var t = be(this, 1, 4).week;
|
|
891
891
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
892
892
|
}
|
|
893
893
|
c("d", 0, "do", "day");
|
|
@@ -914,61 +914,61 @@ d("ddd", function(e, t) {
|
|
|
914
914
|
d("dddd", function(e, t) {
|
|
915
915
|
return t.weekdaysRegex(e);
|
|
916
916
|
});
|
|
917
|
-
|
|
918
|
-
var
|
|
919
|
-
|
|
917
|
+
We(["dd", "ddd", "dddd"], function(e, t, s, r) {
|
|
918
|
+
var n = s._locale.weekdaysParse(e, r, s._strict);
|
|
919
|
+
n != null ? t.d = n : m(s).invalidWeekday = e;
|
|
920
920
|
});
|
|
921
|
-
|
|
921
|
+
We(["d", "e", "E"], function(e, t, s, r) {
|
|
922
922
|
t[r] = y(e);
|
|
923
923
|
});
|
|
924
|
-
function
|
|
924
|
+
function fn(e, t) {
|
|
925
925
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function mn(e, t) {
|
|
928
928
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function Ot(e, t) {
|
|
931
931
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
932
932
|
}
|
|
933
|
-
var
|
|
934
|
-
function
|
|
935
|
-
var s =
|
|
936
|
-
return e === !0 ?
|
|
933
|
+
var yn = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), ws = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), _n = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), gn = Ne, wn = Ne, pn = Ne;
|
|
934
|
+
function kn(e, t) {
|
|
935
|
+
var s = E(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
936
|
+
return e === !0 ? Ot(s, this._week.dow) : e ? s[e.day()] : s;
|
|
937
937
|
}
|
|
938
|
-
function
|
|
939
|
-
return e === !0 ?
|
|
938
|
+
function Sn(e) {
|
|
939
|
+
return e === !0 ? Ot(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
940
940
|
}
|
|
941
|
-
function
|
|
942
|
-
return e === !0 ?
|
|
941
|
+
function vn(e) {
|
|
942
|
+
return e === !0 ? Ot(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
945
|
-
var r,
|
|
944
|
+
function Mn(e, t, s) {
|
|
945
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
946
946
|
if (!this._weekdaysParse)
|
|
947
947
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
948
|
-
|
|
949
|
-
|
|
948
|
+
a = j([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
|
|
949
|
+
a,
|
|
950
950
|
""
|
|
951
951
|
).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
|
|
952
|
-
|
|
952
|
+
a,
|
|
953
953
|
""
|
|
954
|
-
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(
|
|
955
|
-
return s ? t === "dddd" ? (
|
|
954
|
+
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(a, "").toLocaleLowerCase();
|
|
955
|
+
return s ? 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));
|
|
956
956
|
}
|
|
957
|
-
function
|
|
958
|
-
var r,
|
|
957
|
+
function Dn(e, t, s) {
|
|
958
|
+
var r, n, a;
|
|
959
959
|
if (this._weekdaysParseExact)
|
|
960
|
-
return
|
|
960
|
+
return Mn.call(this, e, t, s);
|
|
961
961
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
|
|
962
|
-
if (
|
|
963
|
-
"^" + this.weekdays(
|
|
962
|
+
if (n = j([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
963
|
+
"^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
|
|
964
964
|
"i"
|
|
965
965
|
), this._shortWeekdaysParse[r] = new RegExp(
|
|
966
|
-
"^" + this.weekdaysShort(
|
|
966
|
+
"^" + this.weekdaysShort(n, "").replace(".", "\\.?") + "$",
|
|
967
967
|
"i"
|
|
968
968
|
), this._minWeekdaysParse[r] = new RegExp(
|
|
969
|
-
"^" + this.weekdaysMin(
|
|
969
|
+
"^" + this.weekdaysMin(n, "").replace(".", "\\.?") + "$",
|
|
970
970
|
"i"
|
|
971
|
-
)), this._weekdaysParse[r] || (
|
|
971
|
+
)), this._weekdaysParse[r] || (a = "^" + this.weekdays(n, "") + "|^" + this.weekdaysShort(n, "") + "|^" + this.weekdaysMin(n, ""), this._weekdaysParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "dddd" && this._fullWeekdaysParse[r].test(e))
|
|
972
972
|
return r;
|
|
973
973
|
if (s && t === "ddd" && this._shortWeekdaysParse[r].test(e))
|
|
974
974
|
return r;
|
|
@@ -978,44 +978,44 @@ function _a(e, t, s) {
|
|
|
978
978
|
return r;
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function Yn(e) {
|
|
982
982
|
if (!this.isValid())
|
|
983
983
|
return e != null ? this : NaN;
|
|
984
|
-
var t =
|
|
985
|
-
return e != null ? (e =
|
|
984
|
+
var t = Ye(this, "Day");
|
|
985
|
+
return e != null ? (e = fn(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function On(e) {
|
|
988
988
|
if (!this.isValid())
|
|
989
989
|
return e != null ? this : NaN;
|
|
990
990
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
991
991
|
return e == null ? t : this.add(e - t, "d");
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function bn(e) {
|
|
994
994
|
if (!this.isValid())
|
|
995
995
|
return e != null ? this : NaN;
|
|
996
996
|
if (e != null) {
|
|
997
|
-
var t =
|
|
997
|
+
var t = mn(e, this.localeData());
|
|
998
998
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
999
999
|
} else
|
|
1000
1000
|
return this.day() || 7;
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1003
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1002
|
+
function Tn(e) {
|
|
1003
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || bt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = gn), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1006
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1005
|
+
function xn(e) {
|
|
1006
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || bt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (g(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = wn), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1009
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1008
|
+
function Pn(e) {
|
|
1009
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || bt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = pn), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1012
|
-
function e(M,
|
|
1013
|
-
return
|
|
1011
|
+
function bt() {
|
|
1012
|
+
function e(M, N) {
|
|
1013
|
+
return N.length - M.length;
|
|
1014
1014
|
}
|
|
1015
|
-
var t = [], s = [], r = [],
|
|
1016
|
-
for (
|
|
1017
|
-
i = j([2e3, 1]).day(
|
|
1018
|
-
t.sort(e), s.sort(e), r.sort(e),
|
|
1015
|
+
var t = [], s = [], r = [], n = [], a, i, l, h, f;
|
|
1016
|
+
for (a = 0; a < 7; a++)
|
|
1017
|
+
i = j([2e3, 1]).day(a), l = J(this.weekdaysMin(i, "")), h = J(this.weekdaysShort(i, "")), f = J(this.weekdays(i, "")), t.push(l), s.push(h), r.push(f), n.push(l), n.push(h), n.push(f);
|
|
1018
|
+
t.sort(e), s.sort(e), r.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
1019
1019
|
"^(" + r.join("|") + ")",
|
|
1020
1020
|
"i"
|
|
1021
1021
|
), this._weekdaysShortStrictRegex = new RegExp(
|
|
@@ -1026,20 +1026,20 @@ function Mt() {
|
|
|
1026
1026
|
"i"
|
|
1027
1027
|
);
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function Tt() {
|
|
1030
1030
|
return this.hours() % 12 || 12;
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Nn() {
|
|
1033
1033
|
return this.hours() || 24;
|
|
1034
1034
|
}
|
|
1035
1035
|
c("H", ["HH", 2], 0, "hour");
|
|
1036
|
-
c("h", ["hh", 2], 0,
|
|
1037
|
-
c("k", ["kk", 2], 0,
|
|
1036
|
+
c("h", ["hh", 2], 0, Tt);
|
|
1037
|
+
c("k", ["kk", 2], 0, Nn);
|
|
1038
1038
|
c("hmm", 0, 0, function() {
|
|
1039
|
-
return "" +
|
|
1039
|
+
return "" + Tt.apply(this) + G(this.minutes(), 2);
|
|
1040
1040
|
});
|
|
1041
1041
|
c("hmmss", 0, 0, function() {
|
|
1042
|
-
return "" +
|
|
1042
|
+
return "" + Tt.apply(this) + G(this.minutes(), 2) + G(this.seconds(), 2);
|
|
1043
1043
|
});
|
|
1044
1044
|
c("Hmm", 0, 0, function() {
|
|
1045
1045
|
return "" + this.hours() + G(this.minutes(), 2);
|
|
@@ -1047,7 +1047,7 @@ c("Hmm", 0, 0, function() {
|
|
|
1047
1047
|
c("Hmmss", 0, 0, function() {
|
|
1048
1048
|
return "" + this.hours() + G(this.minutes(), 2) + G(this.seconds(), 2);
|
|
1049
1049
|
});
|
|
1050
|
-
function
|
|
1050
|
+
function ps(e, t) {
|
|
1051
1051
|
c(e, 0, 0, function() {
|
|
1052
1052
|
return this.localeData().meridiem(
|
|
1053
1053
|
this.hours(),
|
|
@@ -1056,23 +1056,23 @@ function us(e, t) {
|
|
|
1056
1056
|
);
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
function
|
|
1059
|
+
ps("a", !0);
|
|
1060
|
+
ps("A", !1);
|
|
1061
|
+
function ks(e, t) {
|
|
1062
1062
|
return t._meridiemParse;
|
|
1063
1063
|
}
|
|
1064
|
-
d("a",
|
|
1065
|
-
d("A",
|
|
1066
|
-
d("H", S,
|
|
1067
|
-
d("h", S,
|
|
1068
|
-
d("k", S,
|
|
1069
|
-
d("HH", S,
|
|
1070
|
-
d("hh", S,
|
|
1071
|
-
d("kk", S,
|
|
1072
|
-
d("hmm",
|
|
1073
|
-
d("hmmss",
|
|
1074
|
-
d("Hmm",
|
|
1075
|
-
d("Hmmss",
|
|
1064
|
+
d("a", ks);
|
|
1065
|
+
d("A", ks);
|
|
1066
|
+
d("H", S, Dt);
|
|
1067
|
+
d("h", S, we);
|
|
1068
|
+
d("k", S, we);
|
|
1069
|
+
d("HH", S, W);
|
|
1070
|
+
d("hh", S, W);
|
|
1071
|
+
d("kk", S, W);
|
|
1072
|
+
d("hmm", ls);
|
|
1073
|
+
d("hmmss", us);
|
|
1074
|
+
d("Hmm", ls);
|
|
1075
|
+
d("Hmmss", us);
|
|
1076
1076
|
p(["H", "HH"], O);
|
|
1077
1077
|
p(["k", "kk"], function(e, t, s) {
|
|
1078
1078
|
var r = y(e);
|
|
@@ -1086,73 +1086,73 @@ p(["h", "hh"], function(e, t, s) {
|
|
|
1086
1086
|
});
|
|
1087
1087
|
p("hmm", function(e, t, s) {
|
|
1088
1088
|
var r = e.length - 2;
|
|
1089
|
-
t[O] = y(e.substr(0, r)), t[
|
|
1089
|
+
t[O] = y(e.substr(0, r)), t[I] = y(e.substr(r)), m(s).bigHour = !0;
|
|
1090
1090
|
});
|
|
1091
1091
|
p("hmmss", function(e, t, s) {
|
|
1092
|
-
var r = e.length - 4,
|
|
1093
|
-
t[O] = y(e.substr(0, r)), t[
|
|
1092
|
+
var r = e.length - 4, n = e.length - 2;
|
|
1093
|
+
t[O] = y(e.substr(0, r)), t[I] = y(e.substr(r, 2)), t[Q] = y(e.substr(n)), m(s).bigHour = !0;
|
|
1094
1094
|
});
|
|
1095
1095
|
p("Hmm", function(e, t, s) {
|
|
1096
1096
|
var r = e.length - 2;
|
|
1097
|
-
t[O] = y(e.substr(0, r)), t[
|
|
1097
|
+
t[O] = y(e.substr(0, r)), t[I] = y(e.substr(r));
|
|
1098
1098
|
});
|
|
1099
1099
|
p("Hmmss", function(e, t, s) {
|
|
1100
|
-
var r = e.length - 4,
|
|
1101
|
-
t[O] = y(e.substr(0, r)), t[
|
|
1100
|
+
var r = e.length - 4, n = e.length - 2;
|
|
1101
|
+
t[O] = y(e.substr(0, r)), t[I] = y(e.substr(r, 2)), t[Q] = y(e.substr(n));
|
|
1102
1102
|
});
|
|
1103
|
-
function
|
|
1103
|
+
function Wn(e) {
|
|
1104
1104
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1105
1105
|
}
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1106
|
+
var Cn = /[ap]\.?m?\.?/i, An = pe("Hours", !0);
|
|
1107
|
+
function Rn(e, t, s) {
|
|
1108
1108
|
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1111
|
-
calendar:
|
|
1112
|
-
longDateFormat:
|
|
1113
|
-
invalidDate:
|
|
1114
|
-
ordinal:
|
|
1115
|
-
dayOfMonthOrdinalParse:
|
|
1116
|
-
relativeTime:
|
|
1117
|
-
months:
|
|
1118
|
-
monthsShort:
|
|
1119
|
-
week:
|
|
1120
|
-
weekdays:
|
|
1121
|
-
weekdaysMin:
|
|
1122
|
-
weekdaysShort:
|
|
1123
|
-
meridiemParse:
|
|
1124
|
-
}, v = {},
|
|
1125
|
-
function
|
|
1110
|
+
var Ss = {
|
|
1111
|
+
calendar: vr,
|
|
1112
|
+
longDateFormat: Or,
|
|
1113
|
+
invalidDate: Tr,
|
|
1114
|
+
ordinal: Pr,
|
|
1115
|
+
dayOfMonthOrdinalParse: Nr,
|
|
1116
|
+
relativeTime: Cr,
|
|
1117
|
+
months: Qr,
|
|
1118
|
+
monthsShort: cs,
|
|
1119
|
+
week: ln,
|
|
1120
|
+
weekdays: yn,
|
|
1121
|
+
weekdaysMin: _n,
|
|
1122
|
+
weekdaysShort: ws,
|
|
1123
|
+
meridiemParse: Cn
|
|
1124
|
+
}, v = {}, ke = {}, Te;
|
|
1125
|
+
function Ln(e, t) {
|
|
1126
1126
|
var s, r = Math.min(e.length, t.length);
|
|
1127
1127
|
for (s = 0; s < r; s += 1)
|
|
1128
1128
|
if (e[s] !== t[s])
|
|
1129
1129
|
return s;
|
|
1130
1130
|
return r;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function Zt(e) {
|
|
1133
1133
|
return e && e.toLowerCase().replace("_", "-");
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1136
|
-
for (var t = 0, s, r,
|
|
1137
|
-
for (
|
|
1138
|
-
if (
|
|
1139
|
-
return
|
|
1140
|
-
if (r && r.length >= s &&
|
|
1135
|
+
function In(e) {
|
|
1136
|
+
for (var t = 0, s, r, n, a; t < e.length; ) {
|
|
1137
|
+
for (a = Zt(e[t]).split("-"), s = a.length, r = Zt(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
|
|
1138
|
+
if (n = $e(a.slice(0, s).join("-")), n)
|
|
1139
|
+
return n;
|
|
1140
|
+
if (r && r.length >= s && Ln(a, r) >= s - 1)
|
|
1141
1141
|
break;
|
|
1142
1142
|
s--;
|
|
1143
1143
|
}
|
|
1144
1144
|
t++;
|
|
1145
1145
|
}
|
|
1146
|
-
return
|
|
1146
|
+
return Te;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function En(e) {
|
|
1149
1149
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function $e(e) {
|
|
1152
1152
|
var t = null, s;
|
|
1153
|
-
if (v[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
1153
|
+
if (v[e] === void 0 && typeof module < "u" && module && module.exports && En(e))
|
|
1154
1154
|
try {
|
|
1155
|
-
t =
|
|
1155
|
+
t = Te._abbr, s = require, s("./locale/" + e), re(t);
|
|
1156
1156
|
} catch {
|
|
1157
1157
|
v[e] = null;
|
|
1158
1158
|
}
|
|
@@ -1160,38 +1160,38 @@ function Ke(e) {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function re(e, t) {
|
|
1162
1162
|
var s;
|
|
1163
|
-
return e && (
|
|
1163
|
+
return e && (P(t) ? s = $(e) : s = xt(e, t), s ? Te = s : typeof console < "u" && console.warn && console.warn(
|
|
1164
1164
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1165
|
-
)),
|
|
1165
|
+
)), Te._abbr;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function xt(e, t) {
|
|
1168
1168
|
if (t !== null) {
|
|
1169
|
-
var s, r =
|
|
1169
|
+
var s, r = Ss;
|
|
1170
1170
|
if (t.abbr = e, v[e] != null)
|
|
1171
|
-
|
|
1171
|
+
ns(
|
|
1172
1172
|
"defineLocaleOverride",
|
|
1173
1173
|
"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."
|
|
1174
1174
|
), r = v[e]._config;
|
|
1175
1175
|
else if (t.parentLocale != null)
|
|
1176
1176
|
if (v[t.parentLocale] != null)
|
|
1177
1177
|
r = v[t.parentLocale]._config;
|
|
1178
|
-
else if (s =
|
|
1178
|
+
else if (s = $e(t.parentLocale), s != null)
|
|
1179
1179
|
r = s._config;
|
|
1180
1180
|
else
|
|
1181
|
-
return
|
|
1181
|
+
return ke[t.parentLocale] || (ke[t.parentLocale] = []), ke[t.parentLocale].push({
|
|
1182
1182
|
name: e,
|
|
1183
1183
|
config: t
|
|
1184
1184
|
}), null;
|
|
1185
|
-
return v[e] = new
|
|
1186
|
-
|
|
1185
|
+
return v[e] = new pt(dt(r, t)), ke[e] && ke[e].forEach(function(n) {
|
|
1186
|
+
xt(n.name, n.config);
|
|
1187
1187
|
}), re(e), v[e];
|
|
1188
1188
|
} else
|
|
1189
1189
|
return delete v[e], null;
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Fn(e, t) {
|
|
1192
1192
|
if (t != null) {
|
|
1193
|
-
var s, r,
|
|
1194
|
-
v[e] != null && v[e].parentLocale != null ? v[e].set(
|
|
1193
|
+
var s, r, n = Ss;
|
|
1194
|
+
v[e] != null && v[e].parentLocale != null ? v[e].set(dt(v[e]._config, t)) : (r = $e(e), r != null && (n = r._config), t = dt(n, t), r == null && (t.abbr = e), s = new pt(t), s.parentLocale = v[e], v[e] = s), re(e);
|
|
1195
1195
|
} else
|
|
1196
1196
|
v[e] != null && (v[e].parentLocale != null ? (v[e] = v[e].parentLocale, e === re() && re(e)) : v[e] != null && delete v[e]);
|
|
1197
1197
|
return v[e];
|
|
@@ -1199,22 +1199,22 @@ function Na(e, t) {
|
|
|
1199
1199
|
function $(e) {
|
|
1200
1200
|
var t;
|
|
1201
1201
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1202
|
-
return
|
|
1203
|
-
if (!
|
|
1204
|
-
if (t =
|
|
1202
|
+
return Te;
|
|
1203
|
+
if (!E(e)) {
|
|
1204
|
+
if (t = $e(e), t)
|
|
1205
1205
|
return t;
|
|
1206
1206
|
e = [e];
|
|
1207
1207
|
}
|
|
1208
|
-
return
|
|
1208
|
+
return In(e);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return
|
|
1210
|
+
function Un() {
|
|
1211
|
+
return ht(v);
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Pt(e) {
|
|
1214
1214
|
var t, s = e._a;
|
|
1215
|
-
return s && m(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[H] < 1 || s[H] >
|
|
1215
|
+
return s && m(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[H] < 1 || s[H] > Yt(s[T], s[q]) ? H : s[O] < 0 || s[O] > 24 || s[O] === 24 && (s[I] !== 0 || s[Q] !== 0 || s[ie] !== 0) ? O : s[I] < 0 || s[I] > 59 ? I : s[Q] < 0 || s[Q] > 59 ? Q : s[ie] < 0 || s[ie] > 999 ? ie : -1, m(e)._overflowDayOfYear && (t < T || t > H) && (t = H), m(e)._overflowWeeks && t === -1 && (t = Gr), m(e)._overflowWeekday && t === -1 && (t = jr), m(e).overflow = t), e;
|
|
1216
1216
|
}
|
|
1217
|
-
var
|
|
1217
|
+
var Hn = /^\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)?)?$/, Vn = /^\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)?)?$/, Gn = /Z|[+-]\d\d(?::?\d\d)?/, Ae = [
|
|
1218
1218
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1219
1219
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1220
1220
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1228,7 +1228,7 @@ var Ra = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1228
1228
|
["YYYYDDD", /\d{7}/],
|
|
1229
1229
|
["YYYYMM", /\d{6}/, !1],
|
|
1230
1230
|
["YYYY", /\d{4}/, !1]
|
|
1231
|
-
],
|
|
1231
|
+
], it = [
|
|
1232
1232
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1233
1233
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1234
1234
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1238,7 +1238,7 @@ var Ra = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1238
1238
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1239
1239
|
["HHmm", /\d\d\d\d/],
|
|
1240
1240
|
["HH", /\d\d/]
|
|
1241
|
-
],
|
|
1241
|
+
], jn = /^\/?Date\((-?\d+)/i, zn = /^(?:(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}))$/, Zn = {
|
|
1242
1242
|
UT: 0,
|
|
1243
1243
|
GMT: 0,
|
|
1244
1244
|
EDT: -240,
|
|
@@ -1250,22 +1250,22 @@ var Ra = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1250
1250
|
PDT: -420,
|
|
1251
1251
|
PST: -480
|
|
1252
1252
|
};
|
|
1253
|
-
function
|
|
1254
|
-
var t, s, r = e._i,
|
|
1255
|
-
if (
|
|
1253
|
+
function vs(e) {
|
|
1254
|
+
var t, s, r = e._i, n = Hn.exec(r) || Vn.exec(r), a, i, l, h, f = Ae.length, M = it.length;
|
|
1255
|
+
if (n) {
|
|
1256
1256
|
for (m(e).iso = !0, t = 0, s = f; t < s; t++)
|
|
1257
|
-
if (
|
|
1258
|
-
i =
|
|
1257
|
+
if (Ae[t][1].exec(n[1])) {
|
|
1258
|
+
i = Ae[t][0], a = Ae[t][2] !== !1;
|
|
1259
1259
|
break;
|
|
1260
1260
|
}
|
|
1261
1261
|
if (i == null) {
|
|
1262
1262
|
e._isValid = !1;
|
|
1263
1263
|
return;
|
|
1264
1264
|
}
|
|
1265
|
-
if (
|
|
1265
|
+
if (n[3]) {
|
|
1266
1266
|
for (t = 0, s = M; t < s; t++)
|
|
1267
|
-
if (
|
|
1268
|
-
l = (
|
|
1267
|
+
if (it[t][1].exec(n[3])) {
|
|
1268
|
+
l = (n[2] || " ") + it[t][0];
|
|
1269
1269
|
break;
|
|
1270
1270
|
}
|
|
1271
1271
|
if (l == null) {
|
|
@@ -1273,91 +1273,91 @@ function cs(e) {
|
|
|
1273
1273
|
return;
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
|
-
if (!
|
|
1276
|
+
if (!a && l != null) {
|
|
1277
1277
|
e._isValid = !1;
|
|
1278
1278
|
return;
|
|
1279
1279
|
}
|
|
1280
|
-
if (
|
|
1281
|
-
if (
|
|
1280
|
+
if (n[4])
|
|
1281
|
+
if (Gn.exec(n[4]))
|
|
1282
1282
|
h = "Z";
|
|
1283
1283
|
else {
|
|
1284
1284
|
e._isValid = !1;
|
|
1285
1285
|
return;
|
|
1286
1286
|
}
|
|
1287
|
-
e._f = i + (l || "") + (h || ""),
|
|
1287
|
+
e._f = i + (l || "") + (h || ""), Wt(e);
|
|
1288
1288
|
} else
|
|
1289
1289
|
e._isValid = !1;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function Bn(e, t, s, r, n, a) {
|
|
1292
1292
|
var i = [
|
|
1293
|
-
|
|
1294
|
-
|
|
1293
|
+
qn(e),
|
|
1294
|
+
cs.indexOf(t),
|
|
1295
1295
|
parseInt(s, 10),
|
|
1296
1296
|
parseInt(r, 10),
|
|
1297
|
-
parseInt(
|
|
1297
|
+
parseInt(n, 10)
|
|
1298
1298
|
];
|
|
1299
|
-
return
|
|
1299
|
+
return a && i.push(parseInt(a, 10)), i;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1301
|
+
function qn(e) {
|
|
1302
1302
|
var t = parseInt(e, 10);
|
|
1303
1303
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Qn(e) {
|
|
1306
1306
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Jn(e, t, s) {
|
|
1309
1309
|
if (e) {
|
|
1310
|
-
var r =
|
|
1310
|
+
var r = ws.indexOf(e), n = new Date(
|
|
1311
1311
|
t[0],
|
|
1312
1312
|
t[1],
|
|
1313
1313
|
t[2]
|
|
1314
1314
|
).getDay();
|
|
1315
|
-
if (r !==
|
|
1315
|
+
if (r !== n)
|
|
1316
1316
|
return m(s).weekdayMismatch = !0, s._isValid = !1, !1;
|
|
1317
1317
|
}
|
|
1318
1318
|
return !0;
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Kn(e, t, s) {
|
|
1321
1321
|
if (e)
|
|
1322
|
-
return
|
|
1322
|
+
return Zn[e];
|
|
1323
1323
|
if (t)
|
|
1324
1324
|
return 0;
|
|
1325
|
-
var r = parseInt(s, 10),
|
|
1326
|
-
return
|
|
1325
|
+
var r = parseInt(s, 10), n = r % 100, a = (r - n) / 100;
|
|
1326
|
+
return a * 60 + n;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
var t =
|
|
1328
|
+
function Ms(e) {
|
|
1329
|
+
var t = zn.exec(Qn(e._i)), s;
|
|
1330
1330
|
if (t) {
|
|
1331
|
-
if (s =
|
|
1331
|
+
if (s = Bn(
|
|
1332
1332
|
t[4],
|
|
1333
1333
|
t[3],
|
|
1334
1334
|
t[2],
|
|
1335
1335
|
t[5],
|
|
1336
1336
|
t[6],
|
|
1337
1337
|
t[7]
|
|
1338
|
-
), !
|
|
1338
|
+
), !Jn(t[1], s, e))
|
|
1339
1339
|
return;
|
|
1340
|
-
e._a = s, e._tzm =
|
|
1340
|
+
e._a = s, e._tzm = Kn(t[8], t[9], t[10]), e._d = Oe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0;
|
|
1341
1341
|
} else
|
|
1342
1342
|
e._isValid = !1;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1345
|
-
var t =
|
|
1344
|
+
function Xn(e) {
|
|
1345
|
+
var t = jn.exec(e._i);
|
|
1346
1346
|
if (t !== null) {
|
|
1347
1347
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1348
1348
|
return;
|
|
1349
1349
|
}
|
|
1350
|
-
if (
|
|
1350
|
+
if (vs(e), e._isValid === !1)
|
|
1351
1351
|
delete e._isValid;
|
|
1352
1352
|
else
|
|
1353
1353
|
return;
|
|
1354
|
-
if (
|
|
1354
|
+
if (Ms(e), e._isValid === !1)
|
|
1355
1355
|
delete e._isValid;
|
|
1356
1356
|
else
|
|
1357
1357
|
return;
|
|
1358
1358
|
e._strict ? e._isValid = !1 : u.createFromInputFallback(e);
|
|
1359
1359
|
}
|
|
1360
|
-
u.createFromInputFallback =
|
|
1360
|
+
u.createFromInputFallback = A(
|
|
1361
1361
|
"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.",
|
|
1362
1362
|
function(e) {
|
|
1363
1363
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
@@ -1366,7 +1366,7 @@ u.createFromInputFallback = R(
|
|
|
1366
1366
|
function de(e, t, s) {
|
|
1367
1367
|
return e ?? t ?? s;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function $n(e) {
|
|
1370
1370
|
var t = new Date(u.now());
|
|
1371
1371
|
return e._useUTC ? [
|
|
1372
1372
|
t.getUTCFullYear(),
|
|
@@ -1374,130 +1374,130 @@ function za(e) {
|
|
|
1374
1374
|
t.getUTCDate()
|
|
1375
1375
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1378
|
-
var t, s, r = [],
|
|
1377
|
+
function Nt(e) {
|
|
1378
|
+
var t, s, r = [], n, a, i;
|
|
1379
1379
|
if (!e._d) {
|
|
1380
|
-
for (
|
|
1381
|
-
e._a[t] = r[t] =
|
|
1380
|
+
for (n = $n(e), e._w && e._a[H] == null && e._a[q] == null && ea(e), e._dayOfYear != null && (i = de(e._a[T], n[T]), (e._dayOfYear > Me(i) || e._dayOfYear === 0) && (m(e)._overflowDayOfYear = !0), s = Oe(i, 0, e._dayOfYear), e._a[q] = s.getUTCMonth(), e._a[H] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1381
|
+
e._a[t] = r[t] = n[t];
|
|
1382
1382
|
for (; t < 7; t++)
|
|
1383
1383
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1384
|
-
e._a[O] === 24 && e._a[
|
|
1384
|
+
e._a[O] === 24 && e._a[I] === 0 && e._a[Q] === 0 && e._a[ie] === 0 && (e._nextDay = !0, e._a[O] = 0), e._d = (e._useUTC ? Oe : an).apply(
|
|
1385
1385
|
null,
|
|
1386
1386
|
r
|
|
1387
|
-
),
|
|
1387
|
+
), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[O] = 24), e._w && typeof e._w.d < "u" && e._w.d !== a && (m(e).weekdayMismatch = !0);
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1391
|
-
var t, s, r,
|
|
1392
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (
|
|
1390
|
+
function ea(e) {
|
|
1391
|
+
var t, s, r, n, a, i, l, h, f;
|
|
1392
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, s = de(
|
|
1393
1393
|
t.GG,
|
|
1394
|
-
e._a[
|
|
1395
|
-
|
|
1396
|
-
), r = de(t.W, 1),
|
|
1394
|
+
e._a[T],
|
|
1395
|
+
be(k(), 1, 4).year
|
|
1396
|
+
), r = de(t.W, 1), n = de(t.E, 1), (n < 1 || n > 7) && (h = !0)) : (a = e._locale._week.dow, i = e._locale._week.doy, f = be(k(), a, i), s = de(t.gg, e._a[T], f.year), r = de(t.w, f.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (h = !0)) : t.e != null ? (n = t.e + a, (t.e < 0 || t.e > 6) && (h = !0)) : n = a), r < 1 || r > K(s, a, i) ? m(e)._overflowWeeks = !0 : h != null ? m(e)._overflowWeekday = !0 : (l = gs(s, r, n, a, i), e._a[T] = l.year, e._dayOfYear = l.dayOfYear);
|
|
1397
1397
|
}
|
|
1398
1398
|
u.ISO_8601 = function() {
|
|
1399
1399
|
};
|
|
1400
1400
|
u.RFC_2822 = function() {
|
|
1401
1401
|
};
|
|
1402
|
-
function
|
|
1402
|
+
function Wt(e) {
|
|
1403
1403
|
if (e._f === u.ISO_8601) {
|
|
1404
|
-
|
|
1404
|
+
vs(e);
|
|
1405
1405
|
return;
|
|
1406
1406
|
}
|
|
1407
1407
|
if (e._f === u.RFC_2822) {
|
|
1408
|
-
|
|
1408
|
+
Ms(e);
|
|
1409
1409
|
return;
|
|
1410
1410
|
}
|
|
1411
1411
|
e._a = [], m(e).empty = !0;
|
|
1412
|
-
var t = "" + e._i, s, r,
|
|
1413
|
-
for (
|
|
1414
|
-
|
|
1412
|
+
var t = "" + e._i, s, r, n, a, i, l = t.length, h = 0, f, M;
|
|
1413
|
+
for (n = as(e._f, e._locale).match(kt) || [], M = n.length, s = 0; s < M; s++)
|
|
1414
|
+
a = n[s], r = (t.match(Ur(a, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && m(e).unusedInput.push(i), t = t.slice(
|
|
1415
1415
|
t.indexOf(r) + r.length
|
|
1416
|
-
), h += r.length), ce[
|
|
1417
|
-
m(e).charsLeftOver = l - h, t.length > 0 && m(e).unusedInput.push(t), e._a[O] <= 12 && m(e).bigHour === !0 && e._a[O] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[O] =
|
|
1416
|
+
), h += r.length), ce[a] ? (r ? m(e).empty = !1 : m(e).unusedTokens.push(a), Vr(a, r, e)) : e._strict && !r && m(e).unusedTokens.push(a);
|
|
1417
|
+
m(e).charsLeftOver = l - h, t.length > 0 && m(e).unusedInput.push(t), e._a[O] <= 12 && m(e).bigHour === !0 && e._a[O] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[O] = ta(
|
|
1418
1418
|
e._locale,
|
|
1419
1419
|
e._a[O],
|
|
1420
1420
|
e._meridiem
|
|
1421
|
-
), f = m(e).era, f !== null && (e._a[
|
|
1421
|
+
), f = m(e).era, f !== null && (e._a[T] = e._locale.erasConvertYear(f, e._a[T])), Nt(e), Pt(e);
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1423
|
+
function ta(e, t, s) {
|
|
1424
1424
|
var r;
|
|
1425
1425
|
return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1428
|
-
var t, s, r,
|
|
1427
|
+
function sa(e) {
|
|
1428
|
+
var t, s, r, n, a, i, l = !1, h = e._f.length;
|
|
1429
1429
|
if (h === 0) {
|
|
1430
1430
|
m(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1431
1431
|
return;
|
|
1432
1432
|
}
|
|
1433
|
-
for (
|
|
1434
|
-
|
|
1433
|
+
for (n = 0; n < h; n++)
|
|
1434
|
+
a = 0, i = !1, t = wt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], Wt(t), gt(t) && (i = !0), a += m(t).charsLeftOver, a += m(t).unusedTokens.length * 10, m(t).score = a, l ? a < r && (r = a, s = t) : (r == null || a < r || i) && (r = a, s = t, i && (l = !0));
|
|
1435
1435
|
te(e, s || t);
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function ra(e) {
|
|
1438
1438
|
if (!e._d) {
|
|
1439
|
-
var t =
|
|
1440
|
-
e._a =
|
|
1439
|
+
var t = St(e._i), s = t.day === void 0 ? t.date : t.day;
|
|
1440
|
+
e._a = ss(
|
|
1441
1441
|
[t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
|
|
1442
1442
|
function(r) {
|
|
1443
1443
|
return r && parseInt(r, 10);
|
|
1444
1444
|
}
|
|
1445
|
-
),
|
|
1445
|
+
), Nt(e);
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1449
|
-
var t = new
|
|
1448
|
+
function na(e) {
|
|
1449
|
+
var t = new Pe(Pt(Ds(e)));
|
|
1450
1450
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Ds(e) {
|
|
1453
1453
|
var t = e._i, s = e._f;
|
|
1454
|
-
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ?
|
|
1454
|
+
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ? Ze({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new Pe(Pt(t)) : (xe(t) ? e._d = t : E(s) ? sa(e) : s ? Wt(e) : aa(e), gt(e) || (e._d = null), e));
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1456
|
+
function aa(e) {
|
|
1457
1457
|
var t = e._i;
|
|
1458
|
-
|
|
1458
|
+
P(t) ? e._d = new Date(u.now()) : xe(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Xn(e) : E(t) ? (e._a = ss(t.slice(0), function(s) {
|
|
1459
1459
|
return parseInt(s, 10);
|
|
1460
|
-
}),
|
|
1460
|
+
}), Nt(e)) : oe(t) ? ra(e) : X(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1463
|
-
var
|
|
1464
|
-
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (oe(e) &&
|
|
1462
|
+
function Ys(e, t, s, r, n) {
|
|
1463
|
+
var a = {};
|
|
1464
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (oe(e) && _t(e) || E(e) && e.length === 0) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = n, a._l = s, a._i = e, a._f = t, a._strict = r, na(a);
|
|
1465
1465
|
}
|
|
1466
1466
|
function k(e, t, s, r) {
|
|
1467
|
-
return
|
|
1467
|
+
return Ys(e, t, s, r, !1);
|
|
1468
1468
|
}
|
|
1469
|
-
var
|
|
1469
|
+
var ia = A(
|
|
1470
1470
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1471
1471
|
function() {
|
|
1472
1472
|
var e = k.apply(null, arguments);
|
|
1473
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1473
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Ze();
|
|
1474
1474
|
}
|
|
1475
|
-
),
|
|
1475
|
+
), oa = A(
|
|
1476
1476
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1477
1477
|
function() {
|
|
1478
1478
|
var e = k.apply(null, arguments);
|
|
1479
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1479
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Ze();
|
|
1480
1480
|
}
|
|
1481
1481
|
);
|
|
1482
|
-
function
|
|
1482
|
+
function Os(e, t) {
|
|
1483
1483
|
var s, r;
|
|
1484
|
-
if (t.length === 1 &&
|
|
1484
|
+
if (t.length === 1 && E(t[0]) && (t = t[0]), !t.length)
|
|
1485
1485
|
return k();
|
|
1486
1486
|
for (s = t[0], r = 1; r < t.length; ++r)
|
|
1487
1487
|
(!t[r].isValid() || t[r][e](s)) && (s = t[r]);
|
|
1488
1488
|
return s;
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function la() {
|
|
1491
1491
|
var e = [].slice.call(arguments, 0);
|
|
1492
|
-
return
|
|
1492
|
+
return Os("isBefore", e);
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function ua() {
|
|
1495
1495
|
var e = [].slice.call(arguments, 0);
|
|
1496
|
-
return
|
|
1496
|
+
return Os("isAfter", e);
|
|
1497
1497
|
}
|
|
1498
|
-
var
|
|
1498
|
+
var da = function() {
|
|
1499
1499
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1500
|
-
},
|
|
1500
|
+
}, Se = [
|
|
1501
1501
|
"year",
|
|
1502
1502
|
"quarter",
|
|
1503
1503
|
"month",
|
|
@@ -1508,191 +1508,191 @@ var sn = function() {
|
|
|
1508
1508
|
"second",
|
|
1509
1509
|
"millisecond"
|
|
1510
1510
|
];
|
|
1511
|
-
function
|
|
1512
|
-
var t, s = !1, r,
|
|
1511
|
+
function ha(e) {
|
|
1512
|
+
var t, s = !1, r, n = Se.length;
|
|
1513
1513
|
for (t in e)
|
|
1514
|
-
if (g(e, t) && !(D.call(
|
|
1514
|
+
if (g(e, t) && !(D.call(Se, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1515
1515
|
return !1;
|
|
1516
|
-
for (r = 0; r <
|
|
1517
|
-
if (e[
|
|
1516
|
+
for (r = 0; r < n; ++r)
|
|
1517
|
+
if (e[Se[r]]) {
|
|
1518
1518
|
if (s)
|
|
1519
1519
|
return !1;
|
|
1520
|
-
parseFloat(e[
|
|
1520
|
+
parseFloat(e[Se[r]]) !== y(e[Se[r]]) && (s = !0);
|
|
1521
1521
|
}
|
|
1522
1522
|
return !0;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function ca() {
|
|
1525
1525
|
return this._isValid;
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1527
|
+
function fa() {
|
|
1528
1528
|
return U(NaN);
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1531
|
-
var t =
|
|
1532
|
-
this._isValid =
|
|
1530
|
+
function et(e) {
|
|
1531
|
+
var t = St(e), s = t.year || 0, r = t.quarter || 0, n = t.month || 0, a = t.week || t.isoWeek || 0, i = t.day || 0, l = t.hour || 0, h = t.minute || 0, f = t.second || 0, M = t.millisecond || 0;
|
|
1532
|
+
this._isValid = ha(t), this._milliseconds = +M + f * 1e3 + // 1000
|
|
1533
1533
|
h * 6e4 + // 1000 * 60
|
|
1534
|
-
l * 1e3 * 60 * 60, this._days = +i +
|
|
1534
|
+
l * 1e3 * 60 * 60, this._days = +i + a * 7, this._months = +n + r * 3 + s * 12, this._data = {}, this._locale = $(), this._bubble();
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return e instanceof
|
|
1536
|
+
function Le(e) {
|
|
1537
|
+
return e instanceof et;
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function ft(e) {
|
|
1540
1540
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1543
|
-
var r = Math.min(e.length, t.length),
|
|
1542
|
+
function ma(e, t, s) {
|
|
1543
|
+
var r = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), a = 0, i;
|
|
1544
1544
|
for (i = 0; i < r; i++)
|
|
1545
|
-
y(e[i]) !== y(t[i]) &&
|
|
1546
|
-
return
|
|
1545
|
+
y(e[i]) !== y(t[i]) && a++;
|
|
1546
|
+
return a + n;
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function bs(e, t) {
|
|
1549
1549
|
c(e, 0, 0, function() {
|
|
1550
1550
|
var s = this.utcOffset(), r = "+";
|
|
1551
1551
|
return s < 0 && (s = -s, r = "-"), r + G(~~(s / 60), 2) + t + G(~~s % 60, 2);
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
d("Z",
|
|
1557
|
-
d("ZZ",
|
|
1554
|
+
bs("Z", ":");
|
|
1555
|
+
bs("ZZ", "");
|
|
1556
|
+
d("Z", Ke);
|
|
1557
|
+
d("ZZ", Ke);
|
|
1558
1558
|
p(["Z", "ZZ"], function(e, t, s) {
|
|
1559
|
-
s._useUTC = !0, s._tzm =
|
|
1559
|
+
s._useUTC = !0, s._tzm = Ct(Ke, e);
|
|
1560
1560
|
});
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1563
|
-
var s = (t || "").match(e), r,
|
|
1564
|
-
return s === null ? null : (r = s[s.length - 1] || [],
|
|
1561
|
+
var ya = /([\+\-]|\d\d)/gi;
|
|
1562
|
+
function Ct(e, t) {
|
|
1563
|
+
var s = (t || "").match(e), r, n, a;
|
|
1564
|
+
return s === null ? null : (r = s[s.length - 1] || [], n = (r + "").match(ya) || ["-", 0, 0], a = +(n[1] * 60) + y(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function At(e, t) {
|
|
1567
1567
|
var s, r;
|
|
1568
|
-
return t._isUTC ? (s = t.clone(), r = (
|
|
1568
|
+
return t._isUTC ? (s = t.clone(), r = (F(e) || xe(e) ? e.valueOf() : k(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), u.updateOffset(s, !1), s) : k(e).local();
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1570
|
+
function mt(e) {
|
|
1571
1571
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1572
1572
|
}
|
|
1573
1573
|
u.updateOffset = function() {
|
|
1574
1574
|
};
|
|
1575
|
-
function
|
|
1576
|
-
var r = this._offset || 0,
|
|
1575
|
+
function _a(e, t, s) {
|
|
1576
|
+
var r = this._offset || 0, n;
|
|
1577
1577
|
if (!this.isValid())
|
|
1578
1578
|
return e != null ? this : NaN;
|
|
1579
1579
|
if (e != null) {
|
|
1580
1580
|
if (typeof e == "string") {
|
|
1581
|
-
if (e =
|
|
1581
|
+
if (e = Ct(Ke, e), e === null)
|
|
1582
1582
|
return this;
|
|
1583
1583
|
} else Math.abs(e) < 16 && !s && (e = e * 60);
|
|
1584
|
-
return !this._isUTC && t && (
|
|
1584
|
+
return !this._isUTC && t && (n = mt(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), r !== e && (!t || this._changeInProgress ? Ps(
|
|
1585
1585
|
this,
|
|
1586
1586
|
U(e - r, "m"),
|
|
1587
1587
|
1,
|
|
1588
1588
|
!1
|
|
1589
1589
|
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1590
1590
|
} else
|
|
1591
|
-
return this._isUTC ? r :
|
|
1591
|
+
return this._isUTC ? r : mt(this);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function ga(e, t) {
|
|
1594
1594
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function wa(e) {
|
|
1597
1597
|
return this.utcOffset(0, e);
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1600
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1599
|
+
function pa(e) {
|
|
1600
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(mt(this), "m")), this;
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function ka() {
|
|
1603
1603
|
if (this._tzm != null)
|
|
1604
1604
|
this.utcOffset(this._tzm, !1, !0);
|
|
1605
1605
|
else if (typeof this._i == "string") {
|
|
1606
|
-
var e =
|
|
1606
|
+
var e = Ct(Er, this._i);
|
|
1607
1607
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1608
1608
|
}
|
|
1609
1609
|
return this;
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function Sa(e) {
|
|
1612
1612
|
return this.isValid() ? (e = e ? k(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1614
|
+
function va() {
|
|
1615
1615
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1618
|
-
if (!
|
|
1617
|
+
function Ma() {
|
|
1618
|
+
if (!P(this._isDSTShifted))
|
|
1619
1619
|
return this._isDSTShifted;
|
|
1620
1620
|
var e = {}, t;
|
|
1621
|
-
return
|
|
1621
|
+
return wt(e, this), e = Ds(e), e._a ? (t = e._isUTC ? j(e._a) : k(e._a), this._isDSTShifted = this.isValid() && ma(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function Da() {
|
|
1624
1624
|
return this.isValid() ? !this._isUTC : !1;
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1626
|
+
function Ya() {
|
|
1627
1627
|
return this.isValid() ? this._isUTC : !1;
|
|
1628
1628
|
}
|
|
1629
|
-
function
|
|
1629
|
+
function Ts() {
|
|
1630
1630
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1631
1631
|
}
|
|
1632
|
-
var
|
|
1632
|
+
var Oa = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, ba = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1633
1633
|
function U(e, t) {
|
|
1634
|
-
var s = e, r = null,
|
|
1635
|
-
return
|
|
1634
|
+
var s = e, r = null, n, a, i;
|
|
1635
|
+
return Le(e) ? s = {
|
|
1636
1636
|
ms: e._milliseconds,
|
|
1637
1637
|
d: e._days,
|
|
1638
1638
|
M: e._months
|
|
1639
|
-
} : X(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r =
|
|
1639
|
+
} : X(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = Oa.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1640
1640
|
y: 0,
|
|
1641
|
-
d: y(r[H]) *
|
|
1642
|
-
h: y(r[O]) *
|
|
1643
|
-
m: y(r[
|
|
1644
|
-
s: y(r[Q]) *
|
|
1645
|
-
ms: y(
|
|
1641
|
+
d: y(r[H]) * n,
|
|
1642
|
+
h: y(r[O]) * n,
|
|
1643
|
+
m: y(r[I]) * n,
|
|
1644
|
+
s: y(r[Q]) * n,
|
|
1645
|
+
ms: y(ft(r[ie] * 1e3)) * n
|
|
1646
1646
|
// the millisecond decimal point is included in the match
|
|
1647
|
-
}) : (r =
|
|
1648
|
-
y:
|
|
1649
|
-
M:
|
|
1650
|
-
w:
|
|
1651
|
-
d:
|
|
1652
|
-
h:
|
|
1653
|
-
m:
|
|
1654
|
-
s:
|
|
1655
|
-
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i =
|
|
1647
|
+
}) : (r = ba.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1648
|
+
y: ne(r[2], n),
|
|
1649
|
+
M: ne(r[3], n),
|
|
1650
|
+
w: ne(r[4], n),
|
|
1651
|
+
d: ne(r[5], n),
|
|
1652
|
+
h: ne(r[6], n),
|
|
1653
|
+
m: ne(r[7], n),
|
|
1654
|
+
s: ne(r[8], n)
|
|
1655
|
+
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i = Ta(
|
|
1656
1656
|
k(s.from),
|
|
1657
1657
|
k(s.to)
|
|
1658
|
-
), s = {}, s.ms = i.milliseconds, s.M = i.months),
|
|
1658
|
+
), s = {}, s.ms = i.milliseconds, s.M = i.months), a = new et(s), Le(e) && g(e, "_locale") && (a._locale = e._locale), Le(e) && g(e, "_isValid") && (a._isValid = e._isValid), a;
|
|
1659
1659
|
}
|
|
1660
|
-
U.fn =
|
|
1661
|
-
U.invalid =
|
|
1662
|
-
function
|
|
1660
|
+
U.fn = et.prototype;
|
|
1661
|
+
U.invalid = fa;
|
|
1662
|
+
function ne(e, t) {
|
|
1663
1663
|
var s = e && parseFloat(e.replace(",", "."));
|
|
1664
1664
|
return (isNaN(s) ? 0 : s) * t;
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1666
|
+
function Bt(e, t) {
|
|
1667
1667
|
var s = {};
|
|
1668
1668
|
return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1670
|
+
function Ta(e, t) {
|
|
1671
1671
|
var s;
|
|
1672
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1672
|
+
return e.isValid() && t.isValid() ? (t = At(t, e), e.isBefore(t) ? s = Bt(e, t) : (s = Bt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
|
|
1673
1673
|
}
|
|
1674
|
-
function
|
|
1674
|
+
function xs(e, t) {
|
|
1675
1675
|
return function(s, r) {
|
|
1676
|
-
var
|
|
1677
|
-
return r !== null && !isNaN(+r) && (
|
|
1676
|
+
var n, a;
|
|
1677
|
+
return r !== null && !isNaN(+r) && (ns(
|
|
1678
1678
|
t,
|
|
1679
1679
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1680
|
-
),
|
|
1680
|
+
), a = s, s = r, r = a), n = U(s, r), Ps(this, n, e), this;
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1684
|
-
var
|
|
1685
|
-
e.isValid() && (r = r ?? !0, i &&
|
|
1683
|
+
function Ps(e, t, s, r) {
|
|
1684
|
+
var n = t._milliseconds, a = ft(t._days), i = ft(t._months);
|
|
1685
|
+
e.isValid() && (r = r ?? !0, i && ms(e, Ye(e, "Month") + i * s), a && hs(e, "Date", Ye(e, "Date") + a * s), n && e._d.setTime(e._d.valueOf() + n * s), r && u.updateOffset(e, a || i));
|
|
1686
1686
|
}
|
|
1687
|
-
var
|
|
1688
|
-
function
|
|
1687
|
+
var xa = xs(1, "add"), Pa = xs(-1, "subtract");
|
|
1688
|
+
function Ns(e) {
|
|
1689
1689
|
return typeof e == "string" || e instanceof String;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1692
|
-
return
|
|
1691
|
+
function Na(e) {
|
|
1692
|
+
return F(e) || xe(e) || Ns(e) || X(e) || Ca(e) || Wa(e) || e === null || e === void 0;
|
|
1693
1693
|
}
|
|
1694
|
-
function
|
|
1695
|
-
var t = oe(e) && !
|
|
1694
|
+
function Wa(e) {
|
|
1695
|
+
var t = oe(e) && !_t(e), s = !1, r = [
|
|
1696
1696
|
"years",
|
|
1697
1697
|
"year",
|
|
1698
1698
|
"y",
|
|
@@ -1717,181 +1717,181 @@ function Yn(e) {
|
|
|
1717
1717
|
"milliseconds",
|
|
1718
1718
|
"millisecond",
|
|
1719
1719
|
"ms"
|
|
1720
|
-
],
|
|
1721
|
-
for (
|
|
1722
|
-
|
|
1720
|
+
], n, a, i = r.length;
|
|
1721
|
+
for (n = 0; n < i; n += 1)
|
|
1722
|
+
a = r[n], s = s || g(e, a);
|
|
1723
1723
|
return t && s;
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1726
|
-
var t =
|
|
1725
|
+
function Ca(e) {
|
|
1726
|
+
var t = E(e), s = !1;
|
|
1727
1727
|
return t && (s = e.filter(function(r) {
|
|
1728
|
-
return !X(r) &&
|
|
1728
|
+
return !X(r) && Ns(e);
|
|
1729
1729
|
}).length === 0), t && s;
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1732
|
-
var t = oe(e) && !
|
|
1731
|
+
function Aa(e) {
|
|
1732
|
+
var t = oe(e) && !_t(e), s = !1, r = [
|
|
1733
1733
|
"sameDay",
|
|
1734
1734
|
"nextDay",
|
|
1735
1735
|
"lastDay",
|
|
1736
1736
|
"nextWeek",
|
|
1737
1737
|
"lastWeek",
|
|
1738
1738
|
"sameElse"
|
|
1739
|
-
],
|
|
1740
|
-
for (
|
|
1741
|
-
|
|
1739
|
+
], n, a;
|
|
1740
|
+
for (n = 0; n < r.length; n += 1)
|
|
1741
|
+
a = r[n], s = s || g(e, a);
|
|
1742
1742
|
return t && s;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function Ra(e, t) {
|
|
1745
1745
|
var s = e.diff(t, "days", !0);
|
|
1746
1746
|
return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1749
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1750
|
-
var s = e || k(), r =
|
|
1748
|
+
function La(e, t) {
|
|
1749
|
+
arguments.length === 1 && (arguments[0] ? Na(arguments[0]) ? (e = arguments[0], t = void 0) : Aa(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1750
|
+
var s = e || k(), r = At(s, this).startOf("day"), n = u.calendarFormat(this, r) || "sameElse", a = t && (z(t[n]) ? t[n].call(this, s) : t[n]);
|
|
1751
1751
|
return this.format(
|
|
1752
|
-
|
|
1752
|
+
a || this.localeData().calendar(n, this, k(s))
|
|
1753
1753
|
);
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1756
|
-
return new
|
|
1755
|
+
function Ia() {
|
|
1756
|
+
return new Pe(this);
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1759
|
-
var s =
|
|
1760
|
-
return this.isValid() && s.isValid() ? (t =
|
|
1758
|
+
function Ea(e, t) {
|
|
1759
|
+
var s = F(e) ? e : k(e);
|
|
1760
|
+
return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1763
|
-
var s =
|
|
1764
|
-
return this.isValid() && s.isValid() ? (t =
|
|
1762
|
+
function Fa(e, t) {
|
|
1763
|
+
var s = F(e) ? e : k(e);
|
|
1764
|
+
return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1767
|
-
var
|
|
1768
|
-
return this.isValid() &&
|
|
1766
|
+
function Ua(e, t, s, r) {
|
|
1767
|
+
var n = F(e) ? e : k(e), a = F(t) ? t : k(t);
|
|
1768
|
+
return this.isValid() && n.isValid() && a.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(n, s) : !this.isBefore(n, s)) && (r[1] === ")" ? this.isBefore(a, s) : !this.isAfter(a, s))) : !1;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1771
|
-
var s =
|
|
1772
|
-
return this.isValid() && s.isValid() ? (t =
|
|
1770
|
+
function Ha(e, t) {
|
|
1771
|
+
var s = F(e) ? e : k(e), r;
|
|
1772
|
+
return this.isValid() && s.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function Va(e, t) {
|
|
1775
1775
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1776
1776
|
}
|
|
1777
|
-
function
|
|
1777
|
+
function Ga(e, t) {
|
|
1778
1778
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1781
|
-
var r,
|
|
1780
|
+
function ja(e, t, s) {
|
|
1781
|
+
var r, n, a;
|
|
1782
1782
|
if (!this.isValid())
|
|
1783
1783
|
return NaN;
|
|
1784
|
-
if (r =
|
|
1784
|
+
if (r = At(e, this), !r.isValid())
|
|
1785
1785
|
return NaN;
|
|
1786
|
-
switch (
|
|
1786
|
+
switch (n = (r.utcOffset() - this.utcOffset()) * 6e4, t = R(t), t) {
|
|
1787
1787
|
case "year":
|
|
1788
|
-
|
|
1788
|
+
a = Ie(this, r) / 12;
|
|
1789
1789
|
break;
|
|
1790
1790
|
case "month":
|
|
1791
|
-
|
|
1791
|
+
a = Ie(this, r);
|
|
1792
1792
|
break;
|
|
1793
1793
|
case "quarter":
|
|
1794
|
-
|
|
1794
|
+
a = Ie(this, r) / 3;
|
|
1795
1795
|
break;
|
|
1796
1796
|
case "second":
|
|
1797
|
-
|
|
1797
|
+
a = (this - r) / 1e3;
|
|
1798
1798
|
break;
|
|
1799
1799
|
// 1000
|
|
1800
1800
|
case "minute":
|
|
1801
|
-
|
|
1801
|
+
a = (this - r) / 6e4;
|
|
1802
1802
|
break;
|
|
1803
1803
|
// 1000 * 60
|
|
1804
1804
|
case "hour":
|
|
1805
|
-
|
|
1805
|
+
a = (this - r) / 36e5;
|
|
1806
1806
|
break;
|
|
1807
1807
|
// 1000 * 60 * 60
|
|
1808
1808
|
case "day":
|
|
1809
|
-
|
|
1809
|
+
a = (this - r - n) / 864e5;
|
|
1810
1810
|
break;
|
|
1811
1811
|
// 1000 * 60 * 60 * 24, negate dst
|
|
1812
1812
|
case "week":
|
|
1813
|
-
|
|
1813
|
+
a = (this - r - n) / 6048e5;
|
|
1814
1814
|
break;
|
|
1815
1815
|
// 1000 * 60 * 60 * 24 * 7, negate dst
|
|
1816
1816
|
default:
|
|
1817
|
-
|
|
1817
|
+
a = this - r;
|
|
1818
1818
|
}
|
|
1819
|
-
return s ?
|
|
1819
|
+
return s ? a : C(a);
|
|
1820
1820
|
}
|
|
1821
1821
|
function Ie(e, t) {
|
|
1822
1822
|
if (e.date() < t.date())
|
|
1823
1823
|
return -Ie(t, e);
|
|
1824
|
-
var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"),
|
|
1825
|
-
return t - r < 0 ? (
|
|
1824
|
+
var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), n, a;
|
|
1825
|
+
return t - r < 0 ? (n = e.clone().add(s - 1, "months"), a = (t - r) / (r - n)) : (n = e.clone().add(s + 1, "months"), a = (t - r) / (n - r)), -(s + a) || 0;
|
|
1826
1826
|
}
|
|
1827
1827
|
u.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1828
1828
|
u.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1829
|
-
function
|
|
1829
|
+
function za() {
|
|
1830
1830
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1831
1831
|
}
|
|
1832
|
-
function
|
|
1832
|
+
function Za(e) {
|
|
1833
1833
|
if (!this.isValid())
|
|
1834
1834
|
return null;
|
|
1835
1835
|
var t = e !== !0, s = t ? this.clone().utc() : this;
|
|
1836
|
-
return s.year() < 0 || s.year() > 9999 ?
|
|
1836
|
+
return s.year() < 0 || s.year() > 9999 ? Re(
|
|
1837
1837
|
s,
|
|
1838
1838
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1839
|
-
) : z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1839
|
+
) : z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Re(s, "Z")) : Re(
|
|
1840
1840
|
s,
|
|
1841
1841
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1842
1842
|
);
|
|
1843
1843
|
}
|
|
1844
|
-
function
|
|
1844
|
+
function Ba() {
|
|
1845
1845
|
if (!this.isValid())
|
|
1846
1846
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1847
|
-
var e = "moment", t = "", s, r,
|
|
1848
|
-
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY",
|
|
1847
|
+
var e = "moment", t = "", s, r, n, a;
|
|
1848
|
+
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", a = t + '[")]', this.format(s + r + n + a);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function qa(e) {
|
|
1851
1851
|
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1852
|
-
var t =
|
|
1852
|
+
var t = Re(this, e);
|
|
1853
1853
|
return this.localeData().postformat(t);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1856
|
-
return this.isValid() && (
|
|
1855
|
+
function Qa(e, t) {
|
|
1856
|
+
return this.isValid() && (F(e) && e.isValid() || k(e).isValid()) ? U({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function Ja(e) {
|
|
1859
1859
|
return this.from(k(), e);
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1862
|
-
return this.isValid() && (
|
|
1861
|
+
function Ka(e, t) {
|
|
1862
|
+
return this.isValid() && (F(e) && e.isValid() || k(e).isValid()) ? U({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function Xa(e) {
|
|
1865
1865
|
return this.to(k(), e);
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function Ws(e) {
|
|
1868
1868
|
var t;
|
|
1869
1869
|
return e === void 0 ? this._locale._abbr : (t = $(e), t != null && (this._locale = t), this);
|
|
1870
1870
|
}
|
|
1871
|
-
var
|
|
1871
|
+
var Cs = A(
|
|
1872
1872
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1873
1873
|
function(e) {
|
|
1874
1874
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1875
1875
|
}
|
|
1876
1876
|
);
|
|
1877
|
-
function
|
|
1877
|
+
function As() {
|
|
1878
1878
|
return this._locale;
|
|
1879
1879
|
}
|
|
1880
|
-
var
|
|
1880
|
+
var Ve = 1e3, fe = 60 * Ve, Ge = 60 * fe, Rs = (365 * 400 + 97) * 24 * Ge;
|
|
1881
1881
|
function me(e, t) {
|
|
1882
1882
|
return (e % t + t) % t;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1885
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, s) -
|
|
1884
|
+
function Ls(e, t, s) {
|
|
1885
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Rs : new Date(e, t, s).valueOf();
|
|
1886
1886
|
}
|
|
1887
|
-
function
|
|
1888
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) -
|
|
1887
|
+
function Is(e, t, s) {
|
|
1888
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Rs : Date.UTC(e, t, s);
|
|
1889
1889
|
}
|
|
1890
|
-
function
|
|
1890
|
+
function $a(e) {
|
|
1891
1891
|
var t, s;
|
|
1892
|
-
if (e =
|
|
1892
|
+
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1893
1893
|
return this;
|
|
1894
|
-
switch (s = this._isUTC ?
|
|
1894
|
+
switch (s = this._isUTC ? Is : Ls, e) {
|
|
1895
1895
|
case "year":
|
|
1896
1896
|
t = s(this.year(), 0, 1);
|
|
1897
1897
|
break;
|
|
@@ -1926,23 +1926,23 @@ function Zn(e) {
|
|
|
1926
1926
|
case "hour":
|
|
1927
1927
|
t = this._d.valueOf(), t -= me(
|
|
1928
1928
|
t + (this._isUTC ? 0 : this.utcOffset() * fe),
|
|
1929
|
-
|
|
1929
|
+
Ge
|
|
1930
1930
|
);
|
|
1931
1931
|
break;
|
|
1932
1932
|
case "minute":
|
|
1933
1933
|
t = this._d.valueOf(), t -= me(t, fe);
|
|
1934
1934
|
break;
|
|
1935
1935
|
case "second":
|
|
1936
|
-
t = this._d.valueOf(), t -= me(t,
|
|
1936
|
+
t = this._d.valueOf(), t -= me(t, Ve);
|
|
1937
1937
|
break;
|
|
1938
1938
|
}
|
|
1939
1939
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function ei(e) {
|
|
1942
1942
|
var t, s;
|
|
1943
|
-
if (e =
|
|
1943
|
+
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1944
1944
|
return this;
|
|
1945
|
-
switch (s = this._isUTC ?
|
|
1945
|
+
switch (s = this._isUTC ? Is : Ls, e) {
|
|
1946
1946
|
case "year":
|
|
1947
1947
|
t = s(this.year() + 1, 0, 1) - 1;
|
|
1948
1948
|
break;
|
|
@@ -1975,30 +1975,30 @@ function Bn(e) {
|
|
|
1975
1975
|
t = s(this.year(), this.month(), this.date() + 1) - 1;
|
|
1976
1976
|
break;
|
|
1977
1977
|
case "hour":
|
|
1978
|
-
t = this._d.valueOf(), t +=
|
|
1978
|
+
t = this._d.valueOf(), t += Ge - me(
|
|
1979
1979
|
t + (this._isUTC ? 0 : this.utcOffset() * fe),
|
|
1980
|
-
|
|
1980
|
+
Ge
|
|
1981
1981
|
) - 1;
|
|
1982
1982
|
break;
|
|
1983
1983
|
case "minute":
|
|
1984
1984
|
t = this._d.valueOf(), t += fe - me(t, fe) - 1;
|
|
1985
1985
|
break;
|
|
1986
1986
|
case "second":
|
|
1987
|
-
t = this._d.valueOf(), t +=
|
|
1987
|
+
t = this._d.valueOf(), t += Ve - me(t, Ve) - 1;
|
|
1988
1988
|
break;
|
|
1989
1989
|
}
|
|
1990
1990
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function ti() {
|
|
1993
1993
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function si() {
|
|
1996
1996
|
return Math.floor(this.valueOf() / 1e3);
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function ri() {
|
|
1999
1999
|
return new Date(this.valueOf());
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function ni() {
|
|
2002
2002
|
var e = this;
|
|
2003
2003
|
return [
|
|
2004
2004
|
e.year(),
|
|
@@ -2010,7 +2010,7 @@ function Kn() {
|
|
|
2010
2010
|
e.millisecond()
|
|
2011
2011
|
];
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function ai() {
|
|
2014
2014
|
var e = this;
|
|
2015
2015
|
return {
|
|
2016
2016
|
years: e.year(),
|
|
@@ -2022,19 +2022,19 @@ function Xn() {
|
|
|
2022
2022
|
milliseconds: e.milliseconds()
|
|
2023
2023
|
};
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function ii() {
|
|
2026
2026
|
return this.isValid() ? this.toISOString() : null;
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2029
|
-
return
|
|
2028
|
+
function oi() {
|
|
2029
|
+
return gt(this);
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2031
|
+
function li() {
|
|
2032
2032
|
return te({}, m(this));
|
|
2033
2033
|
}
|
|
2034
|
-
function
|
|
2034
|
+
function ui() {
|
|
2035
2035
|
return m(this).overflow;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function di() {
|
|
2038
2038
|
return {
|
|
2039
2039
|
input: this._i,
|
|
2040
2040
|
format: this._f,
|
|
@@ -2052,127 +2052,127 @@ c("y", ["y", 1], "yo", "eraYear");
|
|
|
2052
2052
|
c("y", ["yy", 2], 0, "eraYear");
|
|
2053
2053
|
c("y", ["yyy", 3], 0, "eraYear");
|
|
2054
2054
|
c("y", ["yyyy", 4], 0, "eraYear");
|
|
2055
|
-
d("N",
|
|
2056
|
-
d("NN",
|
|
2057
|
-
d("NNN",
|
|
2058
|
-
d("NNNN",
|
|
2059
|
-
d("NNNNN",
|
|
2055
|
+
d("N", Rt);
|
|
2056
|
+
d("NN", Rt);
|
|
2057
|
+
d("NNN", Rt);
|
|
2058
|
+
d("NNNN", Si);
|
|
2059
|
+
d("NNNNN", vi);
|
|
2060
2060
|
p(
|
|
2061
2061
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2062
2062
|
function(e, t, s, r) {
|
|
2063
|
-
var
|
|
2064
|
-
|
|
2063
|
+
var n = s._locale.erasParse(e, r, s._strict);
|
|
2064
|
+
n ? m(s).era = n : m(s).invalidEra = e;
|
|
2065
2065
|
}
|
|
2066
2066
|
);
|
|
2067
|
-
d("y",
|
|
2068
|
-
d("yy",
|
|
2069
|
-
d("yyy",
|
|
2070
|
-
d("yyyy",
|
|
2071
|
-
d("yo",
|
|
2072
|
-
p(["y", "yy", "yyy", "yyyy"],
|
|
2067
|
+
d("y", ge);
|
|
2068
|
+
d("yy", ge);
|
|
2069
|
+
d("yyy", ge);
|
|
2070
|
+
d("yyyy", ge);
|
|
2071
|
+
d("yo", Mi);
|
|
2072
|
+
p(["y", "yy", "yyy", "yyyy"], T);
|
|
2073
2073
|
p(["yo"], function(e, t, s, r) {
|
|
2074
|
-
var
|
|
2075
|
-
s._locale._eraYearOrdinalRegex && (
|
|
2074
|
+
var n;
|
|
2075
|
+
s._locale._eraYearOrdinalRegex && (n = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[T] = s._locale.eraYearOrdinalParse(e, n) : t[T] = parseInt(e, 10);
|
|
2076
2076
|
});
|
|
2077
|
-
function
|
|
2078
|
-
var s, r,
|
|
2079
|
-
for (s = 0, r =
|
|
2080
|
-
switch (typeof
|
|
2077
|
+
function hi(e, t) {
|
|
2078
|
+
var s, r, n, a = this._eras || $("en")._eras;
|
|
2079
|
+
for (s = 0, r = a.length; s < r; ++s) {
|
|
2080
|
+
switch (typeof a[s].since) {
|
|
2081
2081
|
case "string":
|
|
2082
|
-
|
|
2082
|
+
n = u(a[s].since).startOf("day"), a[s].since = n.valueOf();
|
|
2083
2083
|
break;
|
|
2084
2084
|
}
|
|
2085
|
-
switch (typeof
|
|
2085
|
+
switch (typeof a[s].until) {
|
|
2086
2086
|
case "undefined":
|
|
2087
|
-
|
|
2087
|
+
a[s].until = 1 / 0;
|
|
2088
2088
|
break;
|
|
2089
2089
|
case "string":
|
|
2090
|
-
|
|
2090
|
+
n = u(a[s].until).startOf("day").valueOf(), a[s].until = n.valueOf();
|
|
2091
2091
|
break;
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
|
-
return
|
|
2094
|
+
return a;
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2097
|
-
var r,
|
|
2098
|
-
for (e = e.toUpperCase(), r = 0,
|
|
2099
|
-
if (i =
|
|
2096
|
+
function ci(e, t, s) {
|
|
2097
|
+
var r, n, a = this.eras(), i, l, h;
|
|
2098
|
+
for (e = e.toUpperCase(), r = 0, n = a.length; r < n; ++r)
|
|
2099
|
+
if (i = a[r].name.toUpperCase(), l = a[r].abbr.toUpperCase(), h = a[r].narrow.toUpperCase(), s)
|
|
2100
2100
|
switch (t) {
|
|
2101
2101
|
case "N":
|
|
2102
2102
|
case "NN":
|
|
2103
2103
|
case "NNN":
|
|
2104
2104
|
if (l === e)
|
|
2105
|
-
return
|
|
2105
|
+
return a[r];
|
|
2106
2106
|
break;
|
|
2107
2107
|
case "NNNN":
|
|
2108
2108
|
if (i === e)
|
|
2109
|
-
return
|
|
2109
|
+
return a[r];
|
|
2110
2110
|
break;
|
|
2111
2111
|
case "NNNNN":
|
|
2112
2112
|
if (h === e)
|
|
2113
|
-
return
|
|
2113
|
+
return a[r];
|
|
2114
2114
|
break;
|
|
2115
2115
|
}
|
|
2116
2116
|
else if ([i, l, h].indexOf(e) >= 0)
|
|
2117
|
-
return
|
|
2117
|
+
return a[r];
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function fi(e, t) {
|
|
2120
2120
|
var s = e.since <= e.until ? 1 : -1;
|
|
2121
2121
|
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * s;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function mi() {
|
|
2124
2124
|
var e, t, s, r = this.localeData().eras();
|
|
2125
2125
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2126
2126
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2127
2127
|
return r[e].name;
|
|
2128
2128
|
return "";
|
|
2129
2129
|
}
|
|
2130
|
-
function
|
|
2130
|
+
function yi() {
|
|
2131
2131
|
var e, t, s, r = this.localeData().eras();
|
|
2132
2132
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2133
2133
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2134
2134
|
return r[e].narrow;
|
|
2135
2135
|
return "";
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2137
|
+
function _i() {
|
|
2138
2138
|
var e, t, s, r = this.localeData().eras();
|
|
2139
2139
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2140
2140
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2141
2141
|
return r[e].abbr;
|
|
2142
2142
|
return "";
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2145
|
-
var e, t, s, r,
|
|
2146
|
-
for (e = 0, t =
|
|
2147
|
-
if (s =
|
|
2148
|
-
return (this.year() - u(
|
|
2144
|
+
function gi() {
|
|
2145
|
+
var e, t, s, r, n = this.localeData().eras();
|
|
2146
|
+
for (e = 0, t = n.length; e < t; ++e)
|
|
2147
|
+
if (s = n[e].since <= n[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
2148
|
+
return (this.year() - u(n[e].since).year()) * s + n[e].offset;
|
|
2149
2149
|
return this.year();
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
return g(this, "_erasNameRegex") ||
|
|
2151
|
+
function wi(e) {
|
|
2152
|
+
return g(this, "_erasNameRegex") || Lt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2153
2153
|
}
|
|
2154
|
-
function
|
|
2155
|
-
return g(this, "_erasAbbrRegex") ||
|
|
2154
|
+
function pi(e) {
|
|
2155
|
+
return g(this, "_erasAbbrRegex") || Lt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2156
2156
|
}
|
|
2157
|
-
function
|
|
2158
|
-
return g(this, "_erasNarrowRegex") ||
|
|
2157
|
+
function ki(e) {
|
|
2158
|
+
return g(this, "_erasNarrowRegex") || Lt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2159
2159
|
}
|
|
2160
|
-
function
|
|
2160
|
+
function Rt(e, t) {
|
|
2161
2161
|
return t.erasAbbrRegex(e);
|
|
2162
2162
|
}
|
|
2163
|
-
function
|
|
2163
|
+
function Si(e, t) {
|
|
2164
2164
|
return t.erasNameRegex(e);
|
|
2165
2165
|
}
|
|
2166
|
-
function
|
|
2166
|
+
function vi(e, t) {
|
|
2167
2167
|
return t.erasNarrowRegex(e);
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2170
|
-
return t._eraYearOrdinalRegex ||
|
|
2169
|
+
function Mi(e, t) {
|
|
2170
|
+
return t._eraYearOrdinalRegex || ge;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2173
|
-
var e = [], t = [], s = [], r = [],
|
|
2174
|
-
for (
|
|
2175
|
-
i = J(f[
|
|
2172
|
+
function Lt() {
|
|
2173
|
+
var e = [], t = [], s = [], r = [], n, a, i, l, h, f = this.eras();
|
|
2174
|
+
for (n = 0, a = f.length; n < a; ++n)
|
|
2175
|
+
i = J(f[n].name), l = J(f[n].abbr), h = J(f[n].narrow), t.push(i), e.push(l), s.push(h), r.push(i), r.push(l), r.push(h);
|
|
2176
2176
|
this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2177
2177
|
"^(" + s.join("|") + ")",
|
|
2178
2178
|
"i"
|
|
@@ -2184,32 +2184,32 @@ c(0, ["gg", 2], 0, function() {
|
|
|
2184
2184
|
c(0, ["GG", 2], 0, function() {
|
|
2185
2185
|
return this.isoWeekYear() % 100;
|
|
2186
2186
|
});
|
|
2187
|
-
function
|
|
2187
|
+
function tt(e, t) {
|
|
2188
2188
|
c(0, [e, e.length], 0, t);
|
|
2189
2189
|
}
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
d("G",
|
|
2195
|
-
d("g",
|
|
2196
|
-
d("GG", S,
|
|
2197
|
-
d("gg", S,
|
|
2198
|
-
d("GGGG",
|
|
2199
|
-
d("gggg",
|
|
2200
|
-
d("GGGGG",
|
|
2201
|
-
d("ggggg",
|
|
2202
|
-
|
|
2190
|
+
tt("gggg", "weekYear");
|
|
2191
|
+
tt("ggggg", "weekYear");
|
|
2192
|
+
tt("GGGG", "isoWeekYear");
|
|
2193
|
+
tt("GGGGG", "isoWeekYear");
|
|
2194
|
+
d("G", Je);
|
|
2195
|
+
d("g", Je);
|
|
2196
|
+
d("GG", S, W);
|
|
2197
|
+
d("gg", S, W);
|
|
2198
|
+
d("GGGG", Mt, vt);
|
|
2199
|
+
d("gggg", Mt, vt);
|
|
2200
|
+
d("GGGGG", Qe, Be);
|
|
2201
|
+
d("ggggg", Qe, Be);
|
|
2202
|
+
We(
|
|
2203
2203
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2204
2204
|
function(e, t, s, r) {
|
|
2205
2205
|
t[r.substr(0, 2)] = y(e);
|
|
2206
2206
|
}
|
|
2207
2207
|
);
|
|
2208
|
-
|
|
2208
|
+
We(["gg", "GG"], function(e, t, s, r) {
|
|
2209
2209
|
t[r] = u.parseTwoDigitYear(e);
|
|
2210
2210
|
});
|
|
2211
|
-
function
|
|
2212
|
-
return
|
|
2211
|
+
function Di(e) {
|
|
2212
|
+
return Es.call(
|
|
2213
2213
|
this,
|
|
2214
2214
|
e,
|
|
2215
2215
|
this.week(),
|
|
@@ -2218,8 +2218,8 @@ function gi(e) {
|
|
|
2218
2218
|
this.localeData()._week.doy
|
|
2219
2219
|
);
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2222
|
-
return
|
|
2221
|
+
function Yi(e) {
|
|
2222
|
+
return Es.call(
|
|
2223
2223
|
this,
|
|
2224
2224
|
e,
|
|
2225
2225
|
this.isoWeek(),
|
|
@@ -2228,39 +2228,39 @@ function wi(e) {
|
|
|
2228
2228
|
4
|
|
2229
2229
|
);
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function Oi() {
|
|
2232
2232
|
return K(this.year(), 1, 4);
|
|
2233
2233
|
}
|
|
2234
|
-
function
|
|
2234
|
+
function bi() {
|
|
2235
2235
|
return K(this.isoWeekYear(), 1, 4);
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Ti() {
|
|
2238
2238
|
var e = this.localeData()._week;
|
|
2239
2239
|
return K(this.year(), e.dow, e.doy);
|
|
2240
2240
|
}
|
|
2241
|
-
function
|
|
2241
|
+
function xi() {
|
|
2242
2242
|
var e = this.localeData()._week;
|
|
2243
2243
|
return K(this.weekYear(), e.dow, e.doy);
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2246
|
-
var
|
|
2247
|
-
return e == null ?
|
|
2245
|
+
function Es(e, t, s, r, n) {
|
|
2246
|
+
var a;
|
|
2247
|
+
return e == null ? be(this, r, n).year : (a = K(e, r, n), t > a && (t = a), Pi.call(this, e, t, s, r, n));
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2250
|
-
var
|
|
2249
|
+
function Pi(e, t, s, r, n) {
|
|
2250
|
+
var a = gs(e, t, s, r, n), i = Oe(a.year, 0, a.dayOfYear);
|
|
2251
2251
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2252
2252
|
}
|
|
2253
2253
|
c("Q", 0, "Qo", "quarter");
|
|
2254
|
-
d("Q",
|
|
2254
|
+
d("Q", is);
|
|
2255
2255
|
p("Q", function(e, t) {
|
|
2256
2256
|
t[q] = (y(e) - 1) * 3;
|
|
2257
2257
|
});
|
|
2258
|
-
function
|
|
2258
|
+
function Ni(e) {
|
|
2259
2259
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2260
2260
|
}
|
|
2261
2261
|
c("D", ["DD", 2], "Do", "date");
|
|
2262
|
-
d("D", S,
|
|
2263
|
-
d("DD", S,
|
|
2262
|
+
d("D", S, we);
|
|
2263
|
+
d("DD", S, W);
|
|
2264
2264
|
d("Do", function(e, t) {
|
|
2265
2265
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2266
2266
|
});
|
|
@@ -2268,29 +2268,29 @@ p(["D", "DD"], H);
|
|
|
2268
2268
|
p("Do", function(e, t) {
|
|
2269
2269
|
t[H] = y(e.match(S)[0]);
|
|
2270
2270
|
});
|
|
2271
|
-
var
|
|
2271
|
+
var Fs = pe("Date", !0);
|
|
2272
2272
|
c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2273
|
-
d("DDD",
|
|
2274
|
-
d("DDDD",
|
|
2273
|
+
d("DDD", qe);
|
|
2274
|
+
d("DDDD", os);
|
|
2275
2275
|
p(["DDD", "DDDD"], function(e, t, s) {
|
|
2276
2276
|
s._dayOfYear = y(e);
|
|
2277
2277
|
});
|
|
2278
|
-
function
|
|
2278
|
+
function Wi(e) {
|
|
2279
2279
|
var t = Math.round(
|
|
2280
2280
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2281
2281
|
) + 1;
|
|
2282
2282
|
return e == null ? t : this.add(e - t, "d");
|
|
2283
2283
|
}
|
|
2284
2284
|
c("m", ["mm", 2], 0, "minute");
|
|
2285
|
-
d("m", S,
|
|
2286
|
-
d("mm", S,
|
|
2287
|
-
p(["m", "mm"],
|
|
2288
|
-
var
|
|
2285
|
+
d("m", S, Dt);
|
|
2286
|
+
d("mm", S, W);
|
|
2287
|
+
p(["m", "mm"], I);
|
|
2288
|
+
var Ci = pe("Minutes", !1);
|
|
2289
2289
|
c("s", ["ss", 2], 0, "second");
|
|
2290
|
-
d("s", S,
|
|
2291
|
-
d("ss", S,
|
|
2290
|
+
d("s", S, Dt);
|
|
2291
|
+
d("ss", S, W);
|
|
2292
2292
|
p(["s", "ss"], Q);
|
|
2293
|
-
var
|
|
2293
|
+
var Ai = pe("Seconds", !1);
|
|
2294
2294
|
c("S", 0, 0, function() {
|
|
2295
2295
|
return ~~(this.millisecond() / 100);
|
|
2296
2296
|
});
|
|
@@ -2316,203 +2316,203 @@ c(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2316
2316
|
c(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2317
2317
|
return this.millisecond() * 1e6;
|
|
2318
2318
|
});
|
|
2319
|
-
d("S",
|
|
2320
|
-
d("SS",
|
|
2321
|
-
d("SSS",
|
|
2322
|
-
var se,
|
|
2319
|
+
d("S", qe, is);
|
|
2320
|
+
d("SS", qe, W);
|
|
2321
|
+
d("SSS", qe, os);
|
|
2322
|
+
var se, Us;
|
|
2323
2323
|
for (se = "SSSS"; se.length <= 9; se += "S")
|
|
2324
|
-
d(se,
|
|
2325
|
-
function
|
|
2324
|
+
d(se, ge);
|
|
2325
|
+
function Ri(e, t) {
|
|
2326
2326
|
t[ie] = y(("0." + e) * 1e3);
|
|
2327
2327
|
}
|
|
2328
2328
|
for (se = "S"; se.length <= 9; se += "S")
|
|
2329
|
-
p(se,
|
|
2330
|
-
|
|
2329
|
+
p(se, Ri);
|
|
2330
|
+
Us = pe("Milliseconds", !1);
|
|
2331
2331
|
c("z", 0, 0, "zoneAbbr");
|
|
2332
2332
|
c("zz", 0, 0, "zoneName");
|
|
2333
|
-
function
|
|
2333
|
+
function Li() {
|
|
2334
2334
|
return this._isUTC ? "UTC" : "";
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2336
|
+
function Ii() {
|
|
2337
2337
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2338
2338
|
}
|
|
2339
|
-
var o =
|
|
2340
|
-
o.add =
|
|
2341
|
-
o.calendar =
|
|
2342
|
-
o.clone =
|
|
2343
|
-
o.diff =
|
|
2344
|
-
o.endOf =
|
|
2345
|
-
o.format =
|
|
2346
|
-
o.from =
|
|
2347
|
-
o.fromNow =
|
|
2348
|
-
o.to =
|
|
2349
|
-
o.toNow =
|
|
2350
|
-
o.get =
|
|
2351
|
-
o.invalidAt =
|
|
2352
|
-
o.isAfter =
|
|
2353
|
-
o.isBefore =
|
|
2354
|
-
o.isBetween =
|
|
2355
|
-
o.isSame =
|
|
2356
|
-
o.isSameOrAfter =
|
|
2357
|
-
o.isSameOrBefore =
|
|
2358
|
-
o.isValid =
|
|
2359
|
-
o.lang =
|
|
2360
|
-
o.locale =
|
|
2361
|
-
o.localeData =
|
|
2362
|
-
o.max =
|
|
2363
|
-
o.min =
|
|
2364
|
-
o.parsingFlags =
|
|
2365
|
-
o.set =
|
|
2366
|
-
o.startOf =
|
|
2367
|
-
o.subtract =
|
|
2368
|
-
o.toArray =
|
|
2369
|
-
o.toObject =
|
|
2370
|
-
o.toDate =
|
|
2371
|
-
o.toISOString =
|
|
2372
|
-
o.inspect =
|
|
2339
|
+
var o = Pe.prototype;
|
|
2340
|
+
o.add = xa;
|
|
2341
|
+
o.calendar = La;
|
|
2342
|
+
o.clone = Ia;
|
|
2343
|
+
o.diff = ja;
|
|
2344
|
+
o.endOf = ei;
|
|
2345
|
+
o.format = qa;
|
|
2346
|
+
o.from = Qa;
|
|
2347
|
+
o.fromNow = Ja;
|
|
2348
|
+
o.to = Ka;
|
|
2349
|
+
o.toNow = Xa;
|
|
2350
|
+
o.get = Zr;
|
|
2351
|
+
o.invalidAt = ui;
|
|
2352
|
+
o.isAfter = Ea;
|
|
2353
|
+
o.isBefore = Fa;
|
|
2354
|
+
o.isBetween = Ua;
|
|
2355
|
+
o.isSame = Ha;
|
|
2356
|
+
o.isSameOrAfter = Va;
|
|
2357
|
+
o.isSameOrBefore = Ga;
|
|
2358
|
+
o.isValid = oi;
|
|
2359
|
+
o.lang = Cs;
|
|
2360
|
+
o.locale = Ws;
|
|
2361
|
+
o.localeData = As;
|
|
2362
|
+
o.max = oa;
|
|
2363
|
+
o.min = ia;
|
|
2364
|
+
o.parsingFlags = li;
|
|
2365
|
+
o.set = Br;
|
|
2366
|
+
o.startOf = $a;
|
|
2367
|
+
o.subtract = Pa;
|
|
2368
|
+
o.toArray = ni;
|
|
2369
|
+
o.toObject = ai;
|
|
2370
|
+
o.toDate = ri;
|
|
2371
|
+
o.toISOString = Za;
|
|
2372
|
+
o.inspect = Ba;
|
|
2373
2373
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2374
2374
|
return "Moment<" + this.format() + ">";
|
|
2375
2375
|
});
|
|
2376
|
-
o.toJSON =
|
|
2377
|
-
o.toString =
|
|
2378
|
-
o.unix =
|
|
2379
|
-
o.valueOf =
|
|
2380
|
-
o.creationData =
|
|
2381
|
-
o.eraName =
|
|
2382
|
-
o.eraNarrow =
|
|
2383
|
-
o.eraAbbr =
|
|
2384
|
-
o.eraYear =
|
|
2385
|
-
o.year =
|
|
2386
|
-
o.isLeapYear =
|
|
2387
|
-
o.weekYear =
|
|
2388
|
-
o.isoWeekYear =
|
|
2389
|
-
o.quarter = o.quarters =
|
|
2390
|
-
o.month =
|
|
2391
|
-
o.daysInMonth =
|
|
2392
|
-
o.week = o.weeks =
|
|
2393
|
-
o.isoWeek = o.isoWeeks =
|
|
2394
|
-
o.weeksInYear =
|
|
2395
|
-
o.weeksInWeekYear =
|
|
2396
|
-
o.isoWeeksInYear =
|
|
2397
|
-
o.isoWeeksInISOWeekYear =
|
|
2398
|
-
o.date =
|
|
2399
|
-
o.day = o.days =
|
|
2400
|
-
o.weekday =
|
|
2401
|
-
o.isoWeekday =
|
|
2402
|
-
o.dayOfYear =
|
|
2403
|
-
o.hour = o.hours =
|
|
2404
|
-
o.minute = o.minutes =
|
|
2405
|
-
o.second = o.seconds =
|
|
2406
|
-
o.millisecond = o.milliseconds =
|
|
2407
|
-
o.utcOffset =
|
|
2408
|
-
o.utc =
|
|
2409
|
-
o.local =
|
|
2410
|
-
o.parseZone =
|
|
2411
|
-
o.hasAlignedHourOffset =
|
|
2412
|
-
o.isDST =
|
|
2413
|
-
o.isLocal =
|
|
2414
|
-
o.isUtcOffset =
|
|
2415
|
-
o.isUtc =
|
|
2416
|
-
o.isUTC =
|
|
2417
|
-
o.zoneAbbr =
|
|
2418
|
-
o.zoneName =
|
|
2419
|
-
o.dates =
|
|
2376
|
+
o.toJSON = ii;
|
|
2377
|
+
o.toString = za;
|
|
2378
|
+
o.unix = si;
|
|
2379
|
+
o.valueOf = ti;
|
|
2380
|
+
o.creationData = di;
|
|
2381
|
+
o.eraName = mi;
|
|
2382
|
+
o.eraNarrow = yi;
|
|
2383
|
+
o.eraAbbr = _i;
|
|
2384
|
+
o.eraYear = gi;
|
|
2385
|
+
o.year = ds;
|
|
2386
|
+
o.isLeapYear = zr;
|
|
2387
|
+
o.weekYear = Di;
|
|
2388
|
+
o.isoWeekYear = Yi;
|
|
2389
|
+
o.quarter = o.quarters = Ni;
|
|
2390
|
+
o.month = ys;
|
|
2391
|
+
o.daysInMonth = sn;
|
|
2392
|
+
o.week = o.weeks = hn;
|
|
2393
|
+
o.isoWeek = o.isoWeeks = cn;
|
|
2394
|
+
o.weeksInYear = Ti;
|
|
2395
|
+
o.weeksInWeekYear = xi;
|
|
2396
|
+
o.isoWeeksInYear = Oi;
|
|
2397
|
+
o.isoWeeksInISOWeekYear = bi;
|
|
2398
|
+
o.date = Fs;
|
|
2399
|
+
o.day = o.days = Yn;
|
|
2400
|
+
o.weekday = On;
|
|
2401
|
+
o.isoWeekday = bn;
|
|
2402
|
+
o.dayOfYear = Wi;
|
|
2403
|
+
o.hour = o.hours = An;
|
|
2404
|
+
o.minute = o.minutes = Ci;
|
|
2405
|
+
o.second = o.seconds = Ai;
|
|
2406
|
+
o.millisecond = o.milliseconds = Us;
|
|
2407
|
+
o.utcOffset = _a;
|
|
2408
|
+
o.utc = wa;
|
|
2409
|
+
o.local = pa;
|
|
2410
|
+
o.parseZone = ka;
|
|
2411
|
+
o.hasAlignedHourOffset = Sa;
|
|
2412
|
+
o.isDST = va;
|
|
2413
|
+
o.isLocal = Da;
|
|
2414
|
+
o.isUtcOffset = Ya;
|
|
2415
|
+
o.isUtc = Ts;
|
|
2416
|
+
o.isUTC = Ts;
|
|
2417
|
+
o.zoneAbbr = Li;
|
|
2418
|
+
o.zoneName = Ii;
|
|
2419
|
+
o.dates = A(
|
|
2420
2420
|
"dates accessor is deprecated. Use date instead.",
|
|
2421
|
-
|
|
2421
|
+
Fs
|
|
2422
2422
|
);
|
|
2423
|
-
o.months =
|
|
2423
|
+
o.months = A(
|
|
2424
2424
|
"months accessor is deprecated. Use month instead",
|
|
2425
|
-
|
|
2425
|
+
ys
|
|
2426
2426
|
);
|
|
2427
|
-
o.years =
|
|
2427
|
+
o.years = A(
|
|
2428
2428
|
"years accessor is deprecated. Use year instead",
|
|
2429
|
-
|
|
2429
|
+
ds
|
|
2430
2430
|
);
|
|
2431
|
-
o.zone =
|
|
2431
|
+
o.zone = A(
|
|
2432
2432
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2433
|
-
|
|
2433
|
+
ga
|
|
2434
2434
|
);
|
|
2435
|
-
o.isDSTShifted =
|
|
2435
|
+
o.isDSTShifted = A(
|
|
2436
2436
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2437
|
-
|
|
2437
|
+
Ma
|
|
2438
2438
|
);
|
|
2439
|
-
function
|
|
2439
|
+
function Ei(e) {
|
|
2440
2440
|
return k(e * 1e3);
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function Fi() {
|
|
2443
2443
|
return k.apply(null, arguments).parseZone();
|
|
2444
2444
|
}
|
|
2445
|
-
function
|
|
2445
|
+
function Hs(e) {
|
|
2446
2446
|
return e;
|
|
2447
2447
|
}
|
|
2448
|
-
var w =
|
|
2449
|
-
w.calendar =
|
|
2450
|
-
w.longDateFormat =
|
|
2451
|
-
w.invalidDate =
|
|
2452
|
-
w.ordinal =
|
|
2453
|
-
w.preparse =
|
|
2454
|
-
w.postformat =
|
|
2455
|
-
w.relativeTime =
|
|
2456
|
-
w.pastFuture =
|
|
2457
|
-
w.set =
|
|
2458
|
-
w.eras =
|
|
2459
|
-
w.erasParse =
|
|
2460
|
-
w.erasConvertYear =
|
|
2461
|
-
w.erasAbbrRegex =
|
|
2462
|
-
w.erasNameRegex =
|
|
2463
|
-
w.erasNarrowRegex =
|
|
2464
|
-
w.months =
|
|
2465
|
-
w.monthsShort =
|
|
2466
|
-
w.monthsParse =
|
|
2467
|
-
w.monthsRegex =
|
|
2468
|
-
w.monthsShortRegex =
|
|
2469
|
-
w.week =
|
|
2470
|
-
w.firstDayOfYear =
|
|
2471
|
-
w.firstDayOfWeek =
|
|
2472
|
-
w.weekdays =
|
|
2473
|
-
w.weekdaysMin =
|
|
2474
|
-
w.weekdaysShort =
|
|
2475
|
-
w.weekdaysParse =
|
|
2476
|
-
w.weekdaysRegex =
|
|
2477
|
-
w.weekdaysShortRegex =
|
|
2478
|
-
w.weekdaysMinRegex =
|
|
2479
|
-
w.isPM =
|
|
2480
|
-
w.meridiem =
|
|
2481
|
-
function
|
|
2482
|
-
var
|
|
2483
|
-
return
|
|
2484
|
-
}
|
|
2485
|
-
function
|
|
2448
|
+
var w = pt.prototype;
|
|
2449
|
+
w.calendar = Mr;
|
|
2450
|
+
w.longDateFormat = br;
|
|
2451
|
+
w.invalidDate = xr;
|
|
2452
|
+
w.ordinal = Wr;
|
|
2453
|
+
w.preparse = Hs;
|
|
2454
|
+
w.postformat = Hs;
|
|
2455
|
+
w.relativeTime = Ar;
|
|
2456
|
+
w.pastFuture = Rr;
|
|
2457
|
+
w.set = Sr;
|
|
2458
|
+
w.eras = hi;
|
|
2459
|
+
w.erasParse = ci;
|
|
2460
|
+
w.erasConvertYear = fi;
|
|
2461
|
+
w.erasAbbrRegex = pi;
|
|
2462
|
+
w.erasNameRegex = wi;
|
|
2463
|
+
w.erasNarrowRegex = ki;
|
|
2464
|
+
w.months = Xr;
|
|
2465
|
+
w.monthsShort = $r;
|
|
2466
|
+
w.monthsParse = tn;
|
|
2467
|
+
w.monthsRegex = nn;
|
|
2468
|
+
w.monthsShortRegex = rn;
|
|
2469
|
+
w.week = on;
|
|
2470
|
+
w.firstDayOfYear = dn;
|
|
2471
|
+
w.firstDayOfWeek = un;
|
|
2472
|
+
w.weekdays = kn;
|
|
2473
|
+
w.weekdaysMin = vn;
|
|
2474
|
+
w.weekdaysShort = Sn;
|
|
2475
|
+
w.weekdaysParse = Dn;
|
|
2476
|
+
w.weekdaysRegex = Tn;
|
|
2477
|
+
w.weekdaysShortRegex = xn;
|
|
2478
|
+
w.weekdaysMinRegex = Pn;
|
|
2479
|
+
w.isPM = Wn;
|
|
2480
|
+
w.meridiem = Rn;
|
|
2481
|
+
function je(e, t, s, r) {
|
|
2482
|
+
var n = $(), a = j().set(r, t);
|
|
2483
|
+
return n[s](a, e);
|
|
2484
|
+
}
|
|
2485
|
+
function Vs(e, t, s) {
|
|
2486
2486
|
if (X(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2487
|
-
return
|
|
2488
|
-
var r,
|
|
2487
|
+
return je(e, t, s, "month");
|
|
2488
|
+
var r, n = [];
|
|
2489
2489
|
for (r = 0; r < 12; r++)
|
|
2490
|
-
|
|
2491
|
-
return
|
|
2490
|
+
n[r] = je(e, r, s, "month");
|
|
2491
|
+
return n;
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function It(e, t, s, r) {
|
|
2494
2494
|
typeof e == "boolean" ? (X(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, X(t) && (s = t, t = void 0), t = t || "");
|
|
2495
|
-
var
|
|
2495
|
+
var n = $(), a = e ? n._week.dow : 0, i, l = [];
|
|
2496
2496
|
if (s != null)
|
|
2497
|
-
return
|
|
2497
|
+
return je(t, (s + a) % 7, r, "day");
|
|
2498
2498
|
for (i = 0; i < 7; i++)
|
|
2499
|
-
l[i] =
|
|
2499
|
+
l[i] = je(t, (i + a) % 7, r, "day");
|
|
2500
2500
|
return l;
|
|
2501
2501
|
}
|
|
2502
|
-
function
|
|
2503
|
-
return
|
|
2502
|
+
function Ui(e, t) {
|
|
2503
|
+
return Vs(e, t, "months");
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2506
|
-
return
|
|
2505
|
+
function Hi(e, t) {
|
|
2506
|
+
return Vs(e, t, "monthsShort");
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2509
|
-
return
|
|
2508
|
+
function Vi(e, t, s) {
|
|
2509
|
+
return It(e, t, s, "weekdays");
|
|
2510
2510
|
}
|
|
2511
|
-
function
|
|
2512
|
-
return
|
|
2511
|
+
function Gi(e, t, s) {
|
|
2512
|
+
return It(e, t, s, "weekdaysShort");
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2515
|
-
return
|
|
2514
|
+
function ji(e, t, s) {
|
|
2515
|
+
return It(e, t, s, "weekdaysMin");
|
|
2516
2516
|
}
|
|
2517
2517
|
re("en", {
|
|
2518
2518
|
eras: [
|
|
@@ -2539,48 +2539,48 @@ re("en", {
|
|
|
2539
2539
|
return e + s;
|
|
2540
2540
|
}
|
|
2541
2541
|
});
|
|
2542
|
-
u.lang =
|
|
2542
|
+
u.lang = A(
|
|
2543
2543
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2544
2544
|
re
|
|
2545
2545
|
);
|
|
2546
|
-
u.langData =
|
|
2546
|
+
u.langData = A(
|
|
2547
2547
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2548
2548
|
$
|
|
2549
2549
|
);
|
|
2550
2550
|
var Z = Math.abs;
|
|
2551
|
-
function
|
|
2551
|
+
function zi() {
|
|
2552
2552
|
var e = this._data;
|
|
2553
2553
|
return this._milliseconds = Z(this._milliseconds), this._days = Z(this._days), this._months = Z(this._months), e.milliseconds = Z(e.milliseconds), e.seconds = Z(e.seconds), e.minutes = Z(e.minutes), e.hours = Z(e.hours), e.months = Z(e.months), e.years = Z(e.years), this;
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2556
|
-
var
|
|
2557
|
-
return e._milliseconds += r *
|
|
2555
|
+
function Gs(e, t, s, r) {
|
|
2556
|
+
var n = U(t, s);
|
|
2557
|
+
return e._milliseconds += r * n._milliseconds, e._days += r * n._days, e._months += r * n._months, e._bubble();
|
|
2558
2558
|
}
|
|
2559
|
-
function
|
|
2560
|
-
return
|
|
2559
|
+
function Zi(e, t) {
|
|
2560
|
+
return Gs(this, e, t, 1);
|
|
2561
2561
|
}
|
|
2562
|
-
function
|
|
2563
|
-
return
|
|
2562
|
+
function Bi(e, t) {
|
|
2563
|
+
return Gs(this, e, t, -1);
|
|
2564
2564
|
}
|
|
2565
|
-
function
|
|
2565
|
+
function qt(e) {
|
|
2566
2566
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2569
|
-
var e = this._milliseconds, t = this._days, s = this._months, r = this._data,
|
|
2570
|
-
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e +=
|
|
2568
|
+
function qi() {
|
|
2569
|
+
var e = this._milliseconds, t = this._days, s = this._months, r = this._data, n, a, i, l, h;
|
|
2570
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += qt(yt(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, n = C(e / 1e3), r.seconds = n % 60, a = C(n / 60), r.minutes = a % 60, i = C(a / 60), r.hours = i % 24, t += C(i / 24), h = C(js(t)), s += h, t -= qt(yt(h)), l = C(s / 12), s %= 12, r.days = t, r.months = s, r.years = l, this;
|
|
2571
2571
|
}
|
|
2572
|
-
function
|
|
2572
|
+
function js(e) {
|
|
2573
2573
|
return e * 4800 / 146097;
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2575
|
+
function yt(e) {
|
|
2576
2576
|
return e * 146097 / 4800;
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2578
|
+
function Qi(e) {
|
|
2579
2579
|
if (!this.isValid())
|
|
2580
2580
|
return NaN;
|
|
2581
2581
|
var t, s, r = this._milliseconds;
|
|
2582
|
-
if (e =
|
|
2583
|
-
switch (t = this._days + r / 864e5, s = this._months +
|
|
2582
|
+
if (e = R(e), e === "month" || e === "quarter" || e === "year")
|
|
2583
|
+
switch (t = this._days + r / 864e5, s = this._months + js(t), e) {
|
|
2584
2584
|
case "month":
|
|
2585
2585
|
return s;
|
|
2586
2586
|
case "quarter":
|
|
@@ -2589,7 +2589,7 @@ function Vi(e) {
|
|
|
2589
2589
|
return s / 12;
|
|
2590
2590
|
}
|
|
2591
2591
|
else
|
|
2592
|
-
switch (t = this._days + Math.round(
|
|
2592
|
+
switch (t = this._days + Math.round(yt(this._months)), e) {
|
|
2593
2593
|
case "week":
|
|
2594
2594
|
return t / 7 + r / 6048e5;
|
|
2595
2595
|
case "day":
|
|
@@ -2612,21 +2612,21 @@ function ee(e) {
|
|
|
2612
2612
|
return this.as(e);
|
|
2613
2613
|
};
|
|
2614
2614
|
}
|
|
2615
|
-
var
|
|
2616
|
-
function
|
|
2615
|
+
var zs = ee("ms"), Ji = ee("s"), Ki = ee("m"), Xi = ee("h"), $i = ee("d"), eo = ee("w"), to = ee("M"), so = ee("Q"), ro = ee("y"), no = zs;
|
|
2616
|
+
function ao() {
|
|
2617
2617
|
return U(this);
|
|
2618
2618
|
}
|
|
2619
|
-
function
|
|
2620
|
-
return e =
|
|
2619
|
+
function io(e) {
|
|
2620
|
+
return e = R(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2621
2621
|
}
|
|
2622
2622
|
function le(e) {
|
|
2623
2623
|
return function() {
|
|
2624
2624
|
return this.isValid() ? this._data[e] : NaN;
|
|
2625
2625
|
};
|
|
2626
2626
|
}
|
|
2627
|
-
var
|
|
2628
|
-
function
|
|
2629
|
-
return
|
|
2627
|
+
var oo = le("milliseconds"), lo = le("seconds"), uo = le("minutes"), ho = le("hours"), co = le("days"), fo = le("months"), mo = le("years");
|
|
2628
|
+
function yo() {
|
|
2629
|
+
return C(this.days() / 7);
|
|
2630
2630
|
}
|
|
2631
2631
|
var B = Math.round, he = {
|
|
2632
2632
|
ss: 44,
|
|
@@ -2644,77 +2644,77 @@ var B = Math.round, he = {
|
|
|
2644
2644
|
M: 11
|
|
2645
2645
|
// months to year
|
|
2646
2646
|
};
|
|
2647
|
-
function
|
|
2648
|
-
return
|
|
2647
|
+
function _o(e, t, s, r, n) {
|
|
2648
|
+
return n.relativeTime(t || 1, !!s, e, r);
|
|
2649
2649
|
}
|
|
2650
|
-
function
|
|
2651
|
-
var
|
|
2652
|
-
return s.w != null && (
|
|
2650
|
+
function go(e, t, s, r) {
|
|
2651
|
+
var n = U(e).abs(), a = B(n.as("s")), i = B(n.as("m")), l = B(n.as("h")), h = B(n.as("d")), f = B(n.as("M")), M = B(n.as("w")), N = B(n.as("y")), L = a <= s.ss && ["s", a] || a < s.s && ["ss", a] || i <= 1 && ["m"] || i < s.m && ["mm", i] || l <= 1 && ["h"] || l < s.h && ["hh", l] || h <= 1 && ["d"] || h < s.d && ["dd", h];
|
|
2652
|
+
return s.w != null && (L = L || M <= 1 && ["w"] || M < s.w && ["ww", M]), L = L || f <= 1 && ["M"] || f < s.M && ["MM", f] || N <= 1 && ["y"] || ["yy", N], L[2] = t, L[3] = +e > 0, L[4] = r, _o.apply(null, L);
|
|
2653
2653
|
}
|
|
2654
|
-
function
|
|
2654
|
+
function wo(e) {
|
|
2655
2655
|
return e === void 0 ? B : typeof e == "function" ? (B = e, !0) : !1;
|
|
2656
2656
|
}
|
|
2657
|
-
function
|
|
2657
|
+
function po(e, t) {
|
|
2658
2658
|
return he[e] === void 0 ? !1 : t === void 0 ? he[e] : (he[e] = t, e === "s" && (he.ss = t - 1), !0);
|
|
2659
2659
|
}
|
|
2660
|
-
function
|
|
2660
|
+
function ko(e, t) {
|
|
2661
2661
|
if (!this.isValid())
|
|
2662
2662
|
return this.localeData().invalidDate();
|
|
2663
|
-
var s = !1, r = he,
|
|
2664
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, he, t), t.s != null && t.ss == null && (r.ss = t.s - 1)),
|
|
2663
|
+
var s = !1, r = he, n, a;
|
|
2664
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, he, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), n = this.localeData(), a = go(this, !s, r, n), s && (a = n.pastFuture(+this, a)), n.postformat(a);
|
|
2665
2665
|
}
|
|
2666
|
-
var
|
|
2666
|
+
var ot = Math.abs;
|
|
2667
2667
|
function ue(e) {
|
|
2668
2668
|
return (e > 0) - (e < 0) || +e;
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function st() {
|
|
2671
2671
|
if (!this.isValid())
|
|
2672
2672
|
return this.localeData().invalidDate();
|
|
2673
|
-
var e =
|
|
2674
|
-
return l ? (r =
|
|
2675
|
-
}
|
|
2676
|
-
var _ =
|
|
2677
|
-
_.isValid =
|
|
2678
|
-
_.abs =
|
|
2679
|
-
_.add =
|
|
2680
|
-
_.subtract =
|
|
2681
|
-
_.as =
|
|
2682
|
-
_.asMilliseconds =
|
|
2683
|
-
_.asSeconds =
|
|
2684
|
-
_.asMinutes =
|
|
2685
|
-
_.asHours =
|
|
2686
|
-
_.asDays =
|
|
2687
|
-
_.asWeeks =
|
|
2688
|
-
_.asMonths =
|
|
2689
|
-
_.asQuarters =
|
|
2690
|
-
_.asYears =
|
|
2691
|
-
_.valueOf =
|
|
2692
|
-
_._bubble =
|
|
2693
|
-
_.clone =
|
|
2694
|
-
_.get =
|
|
2695
|
-
_.milliseconds =
|
|
2696
|
-
_.seconds =
|
|
2697
|
-
_.minutes =
|
|
2698
|
-
_.hours =
|
|
2699
|
-
_.days =
|
|
2700
|
-
_.weeks =
|
|
2701
|
-
_.months =
|
|
2702
|
-
_.years =
|
|
2703
|
-
_.humanize =
|
|
2704
|
-
_.toISOString =
|
|
2705
|
-
_.toString =
|
|
2706
|
-
_.toJSON =
|
|
2707
|
-
_.locale =
|
|
2708
|
-
_.localeData =
|
|
2709
|
-
_.toIsoString =
|
|
2673
|
+
var e = ot(this._milliseconds) / 1e3, t = ot(this._days), s = ot(this._months), r, n, a, i, l = this.asSeconds(), h, f, M, N;
|
|
2674
|
+
return l ? (r = C(e / 60), n = C(r / 60), e %= 60, r %= 60, a = C(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = l < 0 ? "-" : "", f = ue(this._months) !== ue(l) ? "-" : "", M = ue(this._days) !== ue(l) ? "-" : "", N = ue(this._milliseconds) !== ue(l) ? "-" : "", h + "P" + (a ? f + a + "Y" : "") + (s ? f + s + "M" : "") + (t ? M + t + "D" : "") + (n || r || e ? "T" : "") + (n ? N + n + "H" : "") + (r ? N + r + "M" : "") + (e ? N + i + "S" : "")) : "P0D";
|
|
2675
|
+
}
|
|
2676
|
+
var _ = et.prototype;
|
|
2677
|
+
_.isValid = ca;
|
|
2678
|
+
_.abs = zi;
|
|
2679
|
+
_.add = Zi;
|
|
2680
|
+
_.subtract = Bi;
|
|
2681
|
+
_.as = Qi;
|
|
2682
|
+
_.asMilliseconds = zs;
|
|
2683
|
+
_.asSeconds = Ji;
|
|
2684
|
+
_.asMinutes = Ki;
|
|
2685
|
+
_.asHours = Xi;
|
|
2686
|
+
_.asDays = $i;
|
|
2687
|
+
_.asWeeks = eo;
|
|
2688
|
+
_.asMonths = to;
|
|
2689
|
+
_.asQuarters = so;
|
|
2690
|
+
_.asYears = ro;
|
|
2691
|
+
_.valueOf = no;
|
|
2692
|
+
_._bubble = qi;
|
|
2693
|
+
_.clone = ao;
|
|
2694
|
+
_.get = io;
|
|
2695
|
+
_.milliseconds = oo;
|
|
2696
|
+
_.seconds = lo;
|
|
2697
|
+
_.minutes = uo;
|
|
2698
|
+
_.hours = ho;
|
|
2699
|
+
_.days = co;
|
|
2700
|
+
_.weeks = yo;
|
|
2701
|
+
_.months = fo;
|
|
2702
|
+
_.years = mo;
|
|
2703
|
+
_.humanize = ko;
|
|
2704
|
+
_.toISOString = st;
|
|
2705
|
+
_.toString = st;
|
|
2706
|
+
_.toJSON = st;
|
|
2707
|
+
_.locale = Ws;
|
|
2708
|
+
_.localeData = As;
|
|
2709
|
+
_.toIsoString = A(
|
|
2710
2710
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2711
|
-
|
|
2711
|
+
st
|
|
2712
2712
|
);
|
|
2713
|
-
_.lang =
|
|
2713
|
+
_.lang = Cs;
|
|
2714
2714
|
c("X", 0, 0, "unix");
|
|
2715
2715
|
c("x", 0, 0, "valueOf");
|
|
2716
|
-
d("x",
|
|
2717
|
-
d("X",
|
|
2716
|
+
d("x", Je);
|
|
2717
|
+
d("X", Fr);
|
|
2718
2718
|
p("X", function(e, t, s) {
|
|
2719
2719
|
s._d = new Date(parseFloat(e) * 1e3);
|
|
2720
2720
|
});
|
|
@@ -2723,33 +2723,33 @@ p("x", function(e, t, s) {
|
|
|
2723
2723
|
});
|
|
2724
2724
|
//! moment.js
|
|
2725
2725
|
u.version = "2.30.1";
|
|
2726
|
-
|
|
2726
|
+
pr(k);
|
|
2727
2727
|
u.fn = o;
|
|
2728
|
-
u.min =
|
|
2729
|
-
u.max =
|
|
2730
|
-
u.now =
|
|
2728
|
+
u.min = la;
|
|
2729
|
+
u.max = ua;
|
|
2730
|
+
u.now = da;
|
|
2731
2731
|
u.utc = j;
|
|
2732
|
-
u.unix =
|
|
2733
|
-
u.months =
|
|
2734
|
-
u.isDate =
|
|
2732
|
+
u.unix = Ei;
|
|
2733
|
+
u.months = Ui;
|
|
2734
|
+
u.isDate = xe;
|
|
2735
2735
|
u.locale = re;
|
|
2736
|
-
u.invalid =
|
|
2736
|
+
u.invalid = Ze;
|
|
2737
2737
|
u.duration = U;
|
|
2738
|
-
u.isMoment =
|
|
2739
|
-
u.weekdays =
|
|
2740
|
-
u.parseZone =
|
|
2738
|
+
u.isMoment = F;
|
|
2739
|
+
u.weekdays = Vi;
|
|
2740
|
+
u.parseZone = Fi;
|
|
2741
2741
|
u.localeData = $;
|
|
2742
|
-
u.isDuration =
|
|
2743
|
-
u.monthsShort =
|
|
2744
|
-
u.weekdaysMin =
|
|
2745
|
-
u.defineLocale =
|
|
2746
|
-
u.updateLocale =
|
|
2747
|
-
u.locales =
|
|
2748
|
-
u.weekdaysShort =
|
|
2749
|
-
u.normalizeUnits =
|
|
2750
|
-
u.relativeTimeRounding =
|
|
2751
|
-
u.relativeTimeThreshold =
|
|
2752
|
-
u.calendarFormat =
|
|
2742
|
+
u.isDuration = Le;
|
|
2743
|
+
u.monthsShort = Hi;
|
|
2744
|
+
u.weekdaysMin = ji;
|
|
2745
|
+
u.defineLocale = xt;
|
|
2746
|
+
u.updateLocale = Fn;
|
|
2747
|
+
u.locales = Un;
|
|
2748
|
+
u.weekdaysShort = Gi;
|
|
2749
|
+
u.normalizeUnits = R;
|
|
2750
|
+
u.relativeTimeRounding = wo;
|
|
2751
|
+
u.relativeTimeThreshold = po;
|
|
2752
|
+
u.calendarFormat = Ra;
|
|
2753
2753
|
u.prototype = o;
|
|
2754
2754
|
u.HTML5_FMT = {
|
|
2755
2755
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2771,16 +2771,56 @@ u.HTML5_FMT = {
|
|
|
2771
2771
|
MONTH: "YYYY-MM"
|
|
2772
2772
|
// <input type="month" />
|
|
2773
2773
|
};
|
|
2774
|
-
const
|
|
2774
|
+
const So = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, vo = /* @__PURE__ */ _e({
|
|
2775
2775
|
__name: "Footer",
|
|
2776
2776
|
props: {
|
|
2777
2777
|
copyrightText: { type: String, required: !0 }
|
|
2778
2778
|
},
|
|
2779
2779
|
setup(e) {
|
|
2780
2780
|
const t = e;
|
|
2781
|
-
return (s, r) => (
|
|
2781
|
+
return (s, r) => (b(), x("footer", So, V(t.copyrightText) + " " + V(Xs(u)().year()), 1));
|
|
2782
|
+
}
|
|
2783
|
+
}), Zo = /* @__PURE__ */ _e({
|
|
2784
|
+
__name: "LoginLayoutFrame",
|
|
2785
|
+
props: {
|
|
2786
|
+
loginText: {},
|
|
2787
|
+
brandText: {},
|
|
2788
|
+
copyrightText: {},
|
|
2789
|
+
mainClass: { default: "my-5" }
|
|
2790
|
+
},
|
|
2791
|
+
setup(e) {
|
|
2792
|
+
const t = e;
|
|
2793
|
+
if (typeof t.loginText != "string")
|
|
2794
|
+
throw new Error("LoginLayoutFrame: loginText обязателен");
|
|
2795
|
+
if (!t.brandText.trim())
|
|
2796
|
+
throw new Error("LoginLayoutFrame: brandText обязателен");
|
|
2797
|
+
if (!t.copyrightText.trim())
|
|
2798
|
+
throw new Error("LoginLayoutFrame: copyrightText обязателен");
|
|
2799
|
+
return (s, r) => (b(), x(Kt, null, [
|
|
2800
|
+
ve(wr, {
|
|
2801
|
+
"is-authenticated": !1,
|
|
2802
|
+
"login-text": s.loginText,
|
|
2803
|
+
"raw-dropdown-links": [],
|
|
2804
|
+
"brand-text": s.brandText
|
|
2805
|
+
}, {
|
|
2806
|
+
logo: Vt(() => [
|
|
2807
|
+
ve(es)
|
|
2808
|
+
]),
|
|
2809
|
+
"language-selector": Vt(() => [
|
|
2810
|
+
Fe(s.$slots, "language-selector")
|
|
2811
|
+
]),
|
|
2812
|
+
_: 3
|
|
2813
|
+
}, 8, ["login-text", "brand-text"]),
|
|
2814
|
+
Y("main", {
|
|
2815
|
+
class: ye(s.mainClass),
|
|
2816
|
+
style: { "min-height": "80vh" }
|
|
2817
|
+
}, [
|
|
2818
|
+
Fe(s.$slots, "default")
|
|
2819
|
+
], 2),
|
|
2820
|
+
ve(vo, { "copyright-text": s.copyrightText }, null, 8, ["copyright-text"])
|
|
2821
|
+
], 64));
|
|
2782
2822
|
}
|
|
2783
|
-
}),
|
|
2823
|
+
}), Mo = {
|
|
2784
2824
|
__name: "Spinner",
|
|
2785
2825
|
props: {
|
|
2786
2826
|
isSmall: {
|
|
@@ -2789,22 +2829,22 @@ const mo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2789
2829
|
}
|
|
2790
2830
|
},
|
|
2791
2831
|
setup(e) {
|
|
2792
|
-
return (t, s) => (
|
|
2793
|
-
class:
|
|
2832
|
+
return (t, s) => (b(), x("div", {
|
|
2833
|
+
class: ye(["spinner-border", { "spinner-border-sm": e.isSmall }]),
|
|
2794
2834
|
role: "status"
|
|
2795
2835
|
}, null, 2));
|
|
2796
2836
|
}
|
|
2797
|
-
},
|
|
2837
|
+
}, Do = {
|
|
2798
2838
|
class: "container",
|
|
2799
2839
|
"data-test": "SsoLoginPending"
|
|
2800
|
-
},
|
|
2840
|
+
}, Yo = { class: "row justify-content-center" }, Oo = { class: "col-md-8" }, bo = { class: "card" }, To = { class: "card-header" }, xo = { class: "card-body" }, Po = {
|
|
2801
2841
|
class: "login-spinner text-center",
|
|
2802
2842
|
role: "status",
|
|
2803
2843
|
"aria-live": "polite"
|
|
2804
|
-
},
|
|
2844
|
+
}, No = {
|
|
2805
2845
|
class: "visually-hidden",
|
|
2806
2846
|
"data-test": "SsoLoginPending-status"
|
|
2807
|
-
},
|
|
2847
|
+
}, Wo = /* @__PURE__ */ _e({
|
|
2808
2848
|
__name: "SsoLoginPending",
|
|
2809
2849
|
props: {
|
|
2810
2850
|
title: {},
|
|
@@ -2816,15 +2856,15 @@ const mo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2816
2856
|
throw new Error("SsoLoginPending: title обязателен");
|
|
2817
2857
|
if (!t.statusText.trim())
|
|
2818
2858
|
throw new Error("SsoLoginPending: statusText обязателен");
|
|
2819
|
-
return (s, r) => (
|
|
2820
|
-
Y("div",
|
|
2821
|
-
Y("div",
|
|
2822
|
-
Y("div",
|
|
2823
|
-
Y("div",
|
|
2824
|
-
Y("div",
|
|
2825
|
-
Y("div",
|
|
2826
|
-
|
|
2827
|
-
Y("span",
|
|
2859
|
+
return (s, r) => (b(), x("div", Do, [
|
|
2860
|
+
Y("div", Yo, [
|
|
2861
|
+
Y("div", Oo, [
|
|
2862
|
+
Y("div", bo, [
|
|
2863
|
+
Y("div", To, V(s.title), 1),
|
|
2864
|
+
Y("div", xo, [
|
|
2865
|
+
Y("div", Po, [
|
|
2866
|
+
ve(Mo),
|
|
2867
|
+
Y("span", No, V(s.statusText), 1)
|
|
2828
2868
|
])
|
|
2829
2869
|
])
|
|
2830
2870
|
])
|
|
@@ -2832,8 +2872,8 @@ const mo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2832
2872
|
])
|
|
2833
2873
|
]));
|
|
2834
2874
|
}
|
|
2835
|
-
}),
|
|
2836
|
-
function
|
|
2875
|
+
}), Co = /* @__PURE__ */ ze(Wo, [["__scopeId", "data-v-6eb41b83"]]), Qt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";
|
|
2876
|
+
function Zs() {
|
|
2837
2877
|
const e = globalThis.crypto;
|
|
2838
2878
|
if (!e)
|
|
2839
2879
|
throw new Error("Web Crypto API is not available.");
|
|
@@ -2843,42 +2883,76 @@ function Is() {
|
|
|
2843
2883
|
throw new Error("Web Crypto subtle digest is not available.");
|
|
2844
2884
|
return e;
|
|
2845
2885
|
}
|
|
2846
|
-
function
|
|
2847
|
-
const t =
|
|
2886
|
+
function Bs(e) {
|
|
2887
|
+
const t = Zs(), s = new Uint8Array(e);
|
|
2848
2888
|
t.getRandomValues(s);
|
|
2849
2889
|
let r = "";
|
|
2850
|
-
return s.forEach((
|
|
2851
|
-
r +=
|
|
2890
|
+
return s.forEach((n) => {
|
|
2891
|
+
r += Qt[n % Qt.length];
|
|
2852
2892
|
}), r;
|
|
2853
2893
|
}
|
|
2854
|
-
function
|
|
2894
|
+
function Ao(e) {
|
|
2855
2895
|
const t = new Uint8Array(e);
|
|
2856
2896
|
let s = "";
|
|
2857
2897
|
return t.forEach((r) => {
|
|
2858
2898
|
s += String.fromCharCode(r);
|
|
2859
2899
|
}), btoa(s).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
2860
2900
|
}
|
|
2861
|
-
function
|
|
2901
|
+
function Ro(e = 64) {
|
|
2862
2902
|
if (!Number.isInteger(e) || e < 43 || e > 128)
|
|
2863
2903
|
throw new Error("PKCE code_verifier length must be between 43 and 128.");
|
|
2864
|
-
return
|
|
2904
|
+
return Bs(e);
|
|
2865
2905
|
}
|
|
2866
|
-
async function
|
|
2867
|
-
const t =
|
|
2868
|
-
return
|
|
2906
|
+
async function Lo(e) {
|
|
2907
|
+
const t = Zs(), r = new TextEncoder().encode(e), n = await t.subtle.digest("SHA-256", r);
|
|
2908
|
+
return Ao(n);
|
|
2869
2909
|
}
|
|
2870
|
-
async function
|
|
2871
|
-
const t =
|
|
2910
|
+
async function Io(e = 64) {
|
|
2911
|
+
const t = Ro(e), s = await Lo(t);
|
|
2872
2912
|
return { codeVerifier: t, codeChallenge: s };
|
|
2873
2913
|
}
|
|
2874
|
-
function
|
|
2914
|
+
function Eo(e = 32) {
|
|
2875
2915
|
if (!Number.isInteger(e) || e < 16 || e > 128)
|
|
2876
2916
|
throw new Error("OAuth state length must be between 16 and 128.");
|
|
2877
|
-
return
|
|
2917
|
+
return Bs(e);
|
|
2878
2918
|
}
|
|
2879
|
-
const
|
|
2880
|
-
let
|
|
2881
|
-
|
|
2919
|
+
const Fo = "Web Crypto API недоступен. Используйте HTTPS или обновите браузер.", Uo = "NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.", Et = "r3ui-sso-start-lock", Ft = "r3ui-sso-auth-url";
|
|
2920
|
+
let Ee = !1;
|
|
2921
|
+
function Ho() {
|
|
2922
|
+
try {
|
|
2923
|
+
return sessionStorage.getItem(Et) === "1";
|
|
2924
|
+
} catch {
|
|
2925
|
+
return !1;
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
function Vo() {
|
|
2929
|
+
try {
|
|
2930
|
+
const e = sessionStorage.getItem(Ft);
|
|
2931
|
+
return typeof e == "string" && e.length > 0 ? e : null;
|
|
2932
|
+
} catch {
|
|
2933
|
+
return null;
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
function Jt() {
|
|
2937
|
+
try {
|
|
2938
|
+
sessionStorage.setItem(Et, "1");
|
|
2939
|
+
} catch {
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
function Go(e) {
|
|
2943
|
+
try {
|
|
2944
|
+
sessionStorage.setItem(Ft, e);
|
|
2945
|
+
} catch {
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
function lt() {
|
|
2949
|
+
Ee = !1;
|
|
2950
|
+
try {
|
|
2951
|
+
sessionStorage.removeItem(Et), sessionStorage.removeItem(Ft);
|
|
2952
|
+
} catch {
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
async function jo(e) {
|
|
2882
2956
|
if (!e || typeof e.setLoading != "function")
|
|
2883
2957
|
throw new Error("signInWithSSO: deps.setLoading обязателен");
|
|
2884
2958
|
if (typeof e.getPublicConfig != "function")
|
|
@@ -2887,51 +2961,111 @@ async function Co(e) {
|
|
|
2887
2961
|
throw new Error("signInWithSSO: deps.useCookie обязателен");
|
|
2888
2962
|
if (typeof e.showError != "function")
|
|
2889
2963
|
throw new Error("signInWithSSO: deps.showError обязателен");
|
|
2890
|
-
if (typeof window > "u"
|
|
2964
|
+
if (typeof window > "u")
|
|
2965
|
+
return;
|
|
2966
|
+
const t = e.redirectTo ?? ((h) => {
|
|
2967
|
+
window.location.href = h;
|
|
2968
|
+
}), r = {
|
|
2969
|
+
maxAge: 300,
|
|
2970
|
+
sameSite: "lax",
|
|
2971
|
+
secure: (e.isSecure ?? (() => window.location.protocol === "https:"))(),
|
|
2972
|
+
path: "/"
|
|
2973
|
+
}, n = () => {
|
|
2974
|
+
const h = e.useCookie("pkce_state", r).value;
|
|
2975
|
+
return typeof h == "string" && h.length > 0 ? h : null;
|
|
2976
|
+
}, a = () => {
|
|
2977
|
+
const h = Vo();
|
|
2978
|
+
return n() ? (Ee = !0, Jt(), h && t(h), !0) : !1;
|
|
2979
|
+
};
|
|
2980
|
+
if (Ee)
|
|
2891
2981
|
return;
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2982
|
+
if (Ho()) {
|
|
2983
|
+
if (a())
|
|
2984
|
+
return;
|
|
2985
|
+
lt();
|
|
2986
|
+
}
|
|
2987
|
+
e.setLoading(!0);
|
|
2988
|
+
const i = e.generatePkcePair ?? Io, l = e.generateState ?? Eo;
|
|
2896
2989
|
try {
|
|
2897
|
-
const { authApiUrl:
|
|
2898
|
-
if (!
|
|
2990
|
+
const { authApiUrl: h, ssoClientId: f, origin: M } = e.getPublicConfig();
|
|
2991
|
+
if (!h || !f)
|
|
2899
2992
|
throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");
|
|
2900
|
-
|
|
2993
|
+
if (typeof M != "string" || M !== window.location.origin) {
|
|
2994
|
+
e.setLoading(!1), e.showError({
|
|
2995
|
+
statusCode: 400,
|
|
2996
|
+
statusMessage: Uo
|
|
2997
|
+
});
|
|
2998
|
+
return;
|
|
2999
|
+
}
|
|
3000
|
+
if (a()) {
|
|
3001
|
+
e.setLoading(!1);
|
|
3002
|
+
return;
|
|
3003
|
+
}
|
|
3004
|
+
Ee = !0, Jt();
|
|
3005
|
+
let N, L, rt;
|
|
2901
3006
|
try {
|
|
2902
|
-
({ codeVerifier:
|
|
3007
|
+
({ codeVerifier: N, codeChallenge: L } = await i()), rt = l();
|
|
2903
3008
|
} catch {
|
|
2904
|
-
|
|
3009
|
+
lt(), e.setLoading(!1), e.showError({
|
|
2905
3010
|
statusCode: 500,
|
|
2906
|
-
statusMessage:
|
|
3011
|
+
statusMessage: Fo
|
|
2907
3012
|
});
|
|
2908
3013
|
return;
|
|
2909
3014
|
}
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
path: "/"
|
|
2915
|
-
};
|
|
2916
|
-
e.useCookie("pkce_verifier", I).value = h, e.useCookie("pkce_state", I).value = M;
|
|
2917
|
-
const Ls = `${l}/api/auth/callback`, Es = `${n}/oauth/authorize?` + new URLSearchParams({
|
|
2918
|
-
client_id: i,
|
|
2919
|
-
redirect_uri: Ls,
|
|
3015
|
+
e.useCookie("pkce_verifier", r).value = N, e.useCookie("pkce_state", r).value = rt;
|
|
3016
|
+
const qs = `${M}/api/auth/callback`, Ut = `${h}/oauth/authorize?` + new URLSearchParams({
|
|
3017
|
+
client_id: f,
|
|
3018
|
+
redirect_uri: qs,
|
|
2920
3019
|
response_type: "code",
|
|
2921
3020
|
scope: "*",
|
|
2922
|
-
code_challenge:
|
|
3021
|
+
code_challenge: L,
|
|
2923
3022
|
code_challenge_method: "S256",
|
|
2924
|
-
state:
|
|
3023
|
+
state: rt
|
|
2925
3024
|
});
|
|
2926
|
-
|
|
3025
|
+
Go(Ut), t(Ut);
|
|
2927
3026
|
} catch {
|
|
2928
|
-
|
|
3027
|
+
lt(), e.setLoading(!1);
|
|
2929
3028
|
}
|
|
2930
3029
|
}
|
|
3030
|
+
const Bo = /* @__PURE__ */ _e({
|
|
3031
|
+
__name: "SsoLoginScreen",
|
|
3032
|
+
props: {
|
|
3033
|
+
title: {},
|
|
3034
|
+
statusText: {},
|
|
3035
|
+
getPublicConfig: { type: Function },
|
|
3036
|
+
useCookie: { type: Function },
|
|
3037
|
+
showError: { type: Function }
|
|
3038
|
+
},
|
|
3039
|
+
setup(e) {
|
|
3040
|
+
const t = e;
|
|
3041
|
+
if (!t.title.trim())
|
|
3042
|
+
throw new Error("SsoLoginScreen: title обязателен");
|
|
3043
|
+
if (!t.statusText.trim())
|
|
3044
|
+
throw new Error("SsoLoginScreen: statusText обязателен");
|
|
3045
|
+
if (typeof t.getPublicConfig != "function")
|
|
3046
|
+
throw new Error("SsoLoginScreen: getPublicConfig обязателен");
|
|
3047
|
+
if (typeof t.useCookie != "function")
|
|
3048
|
+
throw new Error("SsoLoginScreen: useCookie обязателен");
|
|
3049
|
+
if (typeof t.showError != "function")
|
|
3050
|
+
throw new Error("SsoLoginScreen: showError обязателен");
|
|
3051
|
+
return jo({
|
|
3052
|
+
setLoading: () => {
|
|
3053
|
+
},
|
|
3054
|
+
getPublicConfig: t.getPublicConfig,
|
|
3055
|
+
useCookie: t.useCookie,
|
|
3056
|
+
showError: t.showError
|
|
3057
|
+
}), (s, r) => (b(), $t(Co, {
|
|
3058
|
+
title: s.title,
|
|
3059
|
+
"status-text": s.statusText
|
|
3060
|
+
}, null, 8, ["title", "status-text"]));
|
|
3061
|
+
}
|
|
3062
|
+
});
|
|
2931
3063
|
export {
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
Co as
|
|
3064
|
+
vo as Footer,
|
|
3065
|
+
wr as Header,
|
|
3066
|
+
Zo as LoginLayoutFrame,
|
|
3067
|
+
es as Logo,
|
|
3068
|
+
Co as SsoLoginPending,
|
|
3069
|
+
Bo as SsoLoginScreen,
|
|
3070
|
+
jo as signInWithSSO
|
|
2937
3071
|
};
|