Version Description
= 2.6.2 = See: https://codex.buddypress.org/releases/version-2-6-2/
= 2.6.1.1 = See: https://codex.buddypress.org/releases/version-2-6-1-1/
= 2.6.1 = See: https://codex.buddypress.org/releases/version-2-6-1/
= 2.6.0 = See: https://codex.buddypress.org/releases/version-2-6-0/
Download this release
Release Info
Developer | mercime |
Plugin | BuddyPress |
Version | 2.7.0-rc2 |
Comparing to | |
See all releases |
Code changes from version 2.7.0-rc1 to 2.7.0-rc2
- bp-core/admin/css/common-rtl.css +7 -0
- bp-core/admin/css/common-rtl.min.css +1 -1
- bp-core/admin/css/common.css +7 -0
- bp-core/admin/css/common.min.css +1 -1
- bp-core/bp-core-cssjs.php +68 -33
- bp-core/classes/class-bp-admin.php +56 -19
- bp-core/classes/class-bp-button.php +3 -3
- bp-core/js/vendor/moment-js/locale/af.js +73 -0
- bp-core/js/vendor/moment-js/locale/af.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ar-ly.js +122 -0
- bp-core/js/vendor/moment-js/locale/ar-ly.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ar-ma.js +60 -0
- bp-core/js/vendor/moment-js/locale/ar-ma.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ar-sa.js +104 -0
- bp-core/js/vendor/moment-js/locale/ar-sa.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ar-tn.js +59 -0
- bp-core/js/vendor/moment-js/locale/ar-tn.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ar.js +137 -0
- bp-core/js/vendor/moment-js/locale/ar.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/az.js +105 -0
- bp-core/js/vendor/moment-js/locale/az.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/be.js +134 -0
- bp-core/js/vendor/moment-js/locale/be.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/bg.js +90 -0
- bp-core/js/vendor/moment-js/locale/bg.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/bn.js +119 -0
- bp-core/js/vendor/moment-js/locale/bn.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/bo.js +119 -0
- bp-core/js/vendor/moment-js/locale/bo.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/br.js +108 -0
- bp-core/js/vendor/moment-js/locale/br.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/bs.js +143 -0
- bp-core/js/vendor/moment-js/locale/bs.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ca.js +81 -0
- bp-core/js/vendor/moment-js/locale/ca.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/cs.js +172 -0
- bp-core/js/vendor/moment-js/locale/cs.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/cv.js +63 -0
- bp-core/js/vendor/moment-js/locale/cv.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/cy.js +81 -0
- bp-core/js/vendor/moment-js/locale/cy.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/da.js +60 -0
- bp-core/js/vendor/moment-js/locale/da.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/de-at.js +79 -0
- bp-core/js/vendor/moment-js/locale/de-at.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/de.js +78 -0
- bp-core/js/vendor/moment-js/locale/de.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/dv.js +99 -0
- bp-core/js/vendor/moment-js/locale/dv.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/el.js +98 -0
- bp-core/js/vendor/moment-js/locale/el.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/en-au.js +67 -0
- bp-core/js/vendor/moment-js/locale/en-au.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/en-ca.js +63 -0
- bp-core/js/vendor/moment-js/locale/en-ca.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/en-gb.js +67 -0
- bp-core/js/vendor/moment-js/locale/en-gb.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/en-ie.js +67 -0
- bp-core/js/vendor/moment-js/locale/en-ie.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/en-nz.js +67 -0
- bp-core/js/vendor/moment-js/locale/en-nz.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/eo.js +73 -0
- bp-core/js/vendor/moment-js/locale/eo.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/es-do.js +80 -0
- bp-core/js/vendor/moment-js/locale/es-do.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/es.js +81 -0
- bp-core/js/vendor/moment-js/locale/es.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/et.js +80 -0
- bp-core/js/vendor/moment-js/locale/et.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/eu.js +66 -0
- bp-core/js/vendor/moment-js/locale/eu.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fa.js +106 -0
- bp-core/js/vendor/moment-js/locale/fa.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fi.js +107 -0
- bp-core/js/vendor/moment-js/locale/fi.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fo.js +60 -0
- bp-core/js/vendor/moment-js/locale/fo.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fr-ca.js +60 -0
- bp-core/js/vendor/moment-js/locale/fr-ca.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fr-ch.js +64 -0
- bp-core/js/vendor/moment-js/locale/fr-ch.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fr.js +64 -0
- bp-core/js/vendor/moment-js/locale/fr.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/fy.js +73 -0
- bp-core/js/vendor/moment-js/locale/fy.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/gd.js +76 -0
- bp-core/js/vendor/moment-js/locale/gd.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/gl.js +77 -0
- bp-core/js/vendor/moment-js/locale/gl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/he.js +99 -0
- bp-core/js/vendor/moment-js/locale/he.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/hi.js +124 -0
- bp-core/js/vendor/moment-js/locale/hi.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/hr.js +145 -0
- bp-core/js/vendor/moment-js/locale/hr.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/hu.js +109 -0
- bp-core/js/vendor/moment-js/locale/hu.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/hy-am.js +95 -0
- bp-core/js/vendor/moment-js/locale/hy-am.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/id.js +83 -0
- bp-core/js/vendor/moment-js/locale/id.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/is.js +127 -0
- bp-core/js/vendor/moment-js/locale/is.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/it.js +70 -0
- bp-core/js/vendor/moment-js/locale/it.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ja.js +76 -0
- bp-core/js/vendor/moment-js/locale/ja.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/jv.js +83 -0
- bp-core/js/vendor/moment-js/locale/jv.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ka.js +89 -0
- bp-core/js/vendor/moment-js/locale/ka.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/kk.js +87 -0
- bp-core/js/vendor/moment-js/locale/kk.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/km.js +58 -0
- bp-core/js/vendor/moment-js/locale/km.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ko.js +65 -0
- bp-core/js/vendor/moment-js/locale/ko.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ky.js +88 -0
- bp-core/js/vendor/moment-js/locale/ky.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/lb.js +137 -0
- bp-core/js/vendor/moment-js/locale/lb.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/lo.js +70 -0
- bp-core/js/vendor/moment-js/locale/lo.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/lt.js +117 -0
- bp-core/js/vendor/moment-js/locale/lt.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/lv.js +97 -0
- bp-core/js/vendor/moment-js/locale/lv.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/me.js +111 -0
- bp-core/js/vendor/moment-js/locale/me.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/mi.js +64 -0
- bp-core/js/vendor/moment-js/locale/mi.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/mk.js +90 -0
- bp-core/js/vendor/moment-js/locale/mk.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ml.js +81 -0
- bp-core/js/vendor/moment-js/locale/ml.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/mr.js +159 -0
- bp-core/js/vendor/moment-js/locale/mr.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ms-my.js +83 -0
- bp-core/js/vendor/moment-js/locale/ms-my.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ms.js +82 -0
- bp-core/js/vendor/moment-js/locale/ms.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/my.js +95 -0
- bp-core/js/vendor/moment-js/locale/my.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/nb.js +63 -0
- bp-core/js/vendor/moment-js/locale/nb.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ne.js +123 -0
- bp-core/js/vendor/moment-js/locale/ne.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/nl.js +86 -0
- bp-core/js/vendor/moment-js/locale/nl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/nn.js +60 -0
- bp-core/js/vendor/moment-js/locale/nn.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/pa-in.js +124 -0
- bp-core/js/vendor/moment-js/locale/pa-in.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/pl.js +105 -0
- bp-core/js/vendor/moment-js/locale/pl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/pt-br.js +61 -0
- bp-core/js/vendor/moment-js/locale/pt-br.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/pt.js +65 -0
- bp-core/js/vendor/moment-js/locale/pt.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ro.js +75 -0
- bp-core/js/vendor/moment-js/locale/ro.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ru.js +183 -0
- bp-core/js/vendor/moment-js/locale/ru.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/se.js +61 -0
- bp-core/js/vendor/moment-js/locale/se.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/si.js +71 -0
- bp-core/js/vendor/moment-js/locale/si.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sk.js +150 -0
- bp-core/js/vendor/moment-js/locale/sk.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sl.js +162 -0
- bp-core/js/vendor/moment-js/locale/sl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sq.js +70 -0
- bp-core/js/vendor/moment-js/locale/sq.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sr-cyrl.js +110 -0
- bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sr.js +110 -0
- bp-core/js/vendor/moment-js/locale/sr.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ss.js +89 -0
- bp-core/js/vendor/moment-js/locale/ss.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sv.js +69 -0
- bp-core/js/vendor/moment-js/locale/sv.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/sw.js +59 -0
- bp-core/js/vendor/moment-js/locale/sw.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/ta.js +129 -0
- bp-core/js/vendor/moment-js/locale/ta.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/te.js +89 -0
- bp-core/js/vendor/moment-js/locale/te.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/th.js +67 -0
- bp-core/js/vendor/moment-js/locale/th.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tl-ph.js +62 -0
- bp-core/js/vendor/moment-js/locale/tl-ph.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tlh.js +120 -0
- bp-core/js/vendor/moment-js/locale/tlh.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tr.js +90 -0
- bp-core/js/vendor/moment-js/locale/tr.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tzl.js +91 -0
- bp-core/js/vendor/moment-js/locale/tzl.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tzm-latn.js +58 -0
- bp-core/js/vendor/moment-js/locale/tzm-latn.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/tzm.js +58 -0
- bp-core/js/vendor/moment-js/locale/tzm.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/uk.js +146 -0
- bp-core/js/vendor/moment-js/locale/uk.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/uz.js +58 -0
- bp-core/js/vendor/moment-js/locale/uz.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/vi.js +79 -0
- bp-core/js/vendor/moment-js/locale/vi.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/x-pseudo.js +68 -0
- bp-core/js/vendor/moment-js/locale/x-pseudo.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/zh-cn.js +127 -0
- bp-core/js/vendor/moment-js/locale/zh-cn.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/zh-hk.js +105 -0
- bp-core/js/vendor/moment-js/locale/zh-hk.min.js +1 -0
- bp-core/js/vendor/moment-js/locale/zh-tw.js +104 -0
- bp-core/js/vendor/moment-js/locale/zh-tw.min.js +1 -0
- bp-core/js/vendor/{moment.js → moment-js/moment.js} +2085 -1891
- bp-core/js/vendor/moment-js/moment.min.js +2 -0
- bp-core/js/vendor/moment.min.js +0 -2
- bp-groups/bp-groups-admin.php +1 -1
- bp-groups/bp-groups-template.php +1 -1
- bp-loader.php +2 -2
- bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php +2 -2
- buddypress.pot +116 -145
bp-core/admin/css/common-rtl.css
CHANGED
@@ -154,6 +154,13 @@ TABLE OF CONTENTS:
|
|
154 |
width: 47.6%;
|
155 |
}
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
.index_page_bp-about .bp-feature:nth-of-type(2n),
|
158 |
.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
|
159 |
margin-left: 0;
|
154 |
width: 47.6%;
|
155 |
}
|
156 |
|
157 |
+
|
158 |
+
.index_page_bp-about .bp-feature code,
|
159 |
+
.dashboard_page_bp-about .bp-feature code{
|
160 |
+
font-size: 0.95em;
|
161 |
+
line-height: 1.5;
|
162 |
+
}
|
163 |
+
|
164 |
.index_page_bp-about .bp-feature:nth-of-type(2n),
|
165 |
.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
|
166 |
margin-left: 0;
|
bp-core/admin/css/common-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 125px 0 0}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em 125px .6em auto}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:right;color:#d84800;font-size:50px;float:right;height:80px;line-height:80px;margin:0 0 15px 15px;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-left:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-right:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:right}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-right:0;text-align:right}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
1 |
+
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 125px 0 0}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em 125px .6em auto}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:right;color:#d84800;font-size:50px;float:right;height:80px;line-height:80px;margin:0 0 15px 15px;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature code,.index_page_bp-about .bp-feature code{font-size:.95em;line-height:1.5}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-left:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-right:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:right}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-right:0;text-align:right}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
bp-core/admin/css/common.css
CHANGED
@@ -154,6 +154,13 @@ TABLE OF CONTENTS:
|
|
154 |
width: 47.6%;
|
155 |
}
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
.index_page_bp-about .bp-feature:nth-of-type(2n),
|
158 |
.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
|
159 |
margin-right: 0;
|
154 |
width: 47.6%;
|
155 |
}
|
156 |
|
157 |
+
|
158 |
+
.index_page_bp-about .bp-feature code,
|
159 |
+
.dashboard_page_bp-about .bp-feature code{
|
160 |
+
font-size: 0.95em;
|
161 |
+
line-height: 1.5;
|
162 |
+
}
|
163 |
+
|
164 |
.index_page_bp-about .bp-feature:nth-of-type(2n),
|
165 |
.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
|
166 |
margin-right: 0;
|
bp-core/admin/css/common.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 0 0 125px}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 125px}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:left;color:#d84800;font-size:50px;float:left;height:80px;line-height:80px;margin:0 15px 15px 0;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-right:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-left:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:left}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-left:0;text-align:left}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
1 |
+
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 0 0 125px}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 125px}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:left;color:#d84800;font-size:50px;float:left;height:80px;line-height:80px;margin:0 15px 15px 0;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature code,.index_page_bp-about .bp-feature code{font-size:.95em;line-height:1.5}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-right:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-left:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:left}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-left:0;text-align:left}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
bp-core/bp-core-cssjs.php
CHANGED
@@ -19,15 +19,34 @@ function bp_core_register_common_scripts() {
|
|
19 |
$min = bp_core_get_minified_asset_suffix();
|
20 |
$url = buddypress()->plugin_url . 'bp-core/js/';
|
21 |
|
22 |
-
|
23 |
-
*
|
24 |
*
|
25 |
-
*
|
26 |
*
|
27 |
-
*
|
|
|
28 |
*/
|
29 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
31 |
// Legacy.
|
32 |
'bp-confirm' => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
|
33 |
'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
|
@@ -48,9 +67,31 @@ function bp_core_register_common_scripts() {
|
|
48 |
'bp-cover-image' => array( 'file' => "{$url}cover-image{$min}.js", 'dependencies' => array(), 'footer' => true ),
|
49 |
|
50 |
// Version 2.7.
|
51 |
-
'bp-moment' => array( 'file' => "{$url}vendor/moment{$min}.js", 'dependencies' => array(), 'footer' => true ),
|
52 |
'bp-livestamp' => array( 'file' => "{$url}vendor/livestamp{$min}.js", 'dependencies' => array( 'jquery', 'bp-moment' ), 'footer' => true ),
|
53 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
$version = bp_get_version();
|
56 |
foreach ( $scripts as $id => $script ) {
|
@@ -489,30 +530,21 @@ function bp_core_enqueue_livestamp() {
|
|
489 |
return;
|
490 |
}
|
491 |
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
's' => __( 'a few seconds', 'buddypress' ),
|
499 |
-
'm' => __( 'a minute', 'buddypress' ),
|
500 |
-
'mm' => __( '%d minutes', 'buddypress' ),
|
501 |
-
'h' => __( 'an hour', 'buddypress' ),
|
502 |
-
'hh' => __( '%d hours', 'buddypress' ),
|
503 |
-
'd' => __( 'a day', 'buddypress' ),
|
504 |
-
'dd' => __( '%d days', 'buddypress' ),
|
505 |
-
'M' => __( 'a month', 'buddypress' ),
|
506 |
-
'MM' => __( '%d months', 'buddypress' ),
|
507 |
-
'y' => __( 'a year', 'buddypress' ),
|
508 |
-
'yy' => __( '%d years', 'buddypress' ),
|
509 |
-
) );
|
510 |
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
|
|
515 |
}
|
|
|
|
|
516 |
}
|
517 |
|
518 |
/**
|
@@ -523,11 +555,14 @@ function bp_core_enqueue_livestamp() {
|
|
523 |
* @return string
|
524 |
*/
|
525 |
function bp_core_moment_js_config() {
|
|
|
|
|
|
|
|
|
|
|
526 |
$inline_js = <<<EOD
|
527 |
jQuery(function() {
|
528 |
-
moment.locale( '
|
529 |
-
relativeTime : BP_Moment_i18n
|
530 |
-
});
|
531 |
});
|
532 |
EOD;
|
533 |
|
@@ -544,7 +579,7 @@ EOD;
|
|
544 |
* @access private
|
545 |
*/
|
546 |
function _bp_core_moment_js_config_footer() {
|
547 |
-
if ( ! wp_script_is( 'bp-
|
548 |
return;
|
549 |
}
|
550 |
|
19 |
$min = bp_core_get_minified_asset_suffix();
|
20 |
$url = buddypress()->plugin_url . 'bp-core/js/';
|
21 |
|
22 |
+
/*
|
23 |
+
* Moment.js locale.
|
24 |
*
|
25 |
+
* Try to map current WordPress locale to a moment.js locale file for loading.
|
26 |
*
|
27 |
+
* eg. French (France) locale for WP is fr_FR. Here, we try to find fr-fr.js
|
28 |
+
* (this file doesn't exist).
|
29 |
*/
|
30 |
+
$locale = sanitize_file_name( strtolower( get_locale() ) );
|
31 |
+
$locale = str_replace( '_', '-', $locale );
|
32 |
+
if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-js/locale/{$locale}{$min}.js" ) ) {
|
33 |
+
$moment_locale_url = $url . "vendor/moment-js/locale/{$locale}{$min}.js";
|
34 |
+
|
35 |
+
/*
|
36 |
+
* Try to find the short-form locale.
|
37 |
+
*
|
38 |
+
* eg. French (France) locale for WP is fr_FR. Here, we try to find fr.js
|
39 |
+
* (this exists).
|
40 |
+
*/
|
41 |
+
} else {
|
42 |
+
$locale = substr( $locale, 0, strpos( $locale, '-' ) );
|
43 |
+
if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-js/locale/{$locale}{$min}.js" ) ) {
|
44 |
+
$moment_locale_url = $url . "vendor/moment-js/locale/{$locale}{$min}.js";
|
45 |
+
}
|
46 |
+
}
|
47 |
|
48 |
+
// Set up default scripts to register.
|
49 |
+
$scripts = array(
|
50 |
// Legacy.
|
51 |
'bp-confirm' => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
|
52 |
'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
|
67 |
'bp-cover-image' => array( 'file' => "{$url}cover-image{$min}.js", 'dependencies' => array(), 'footer' => true ),
|
68 |
|
69 |
// Version 2.7.
|
70 |
+
'bp-moment' => array( 'file' => "{$url}vendor/moment-js/moment{$min}.js", 'dependencies' => array(), 'footer' => true ),
|
71 |
'bp-livestamp' => array( 'file' => "{$url}vendor/livestamp{$min}.js", 'dependencies' => array( 'jquery', 'bp-moment' ), 'footer' => true ),
|
72 |
+
);
|
73 |
+
|
74 |
+
// Version 2.7 - Add Moment.js locale to our $scripts array if we found one.
|
75 |
+
if ( isset( $moment_locale_url ) ) {
|
76 |
+
$scripts['bp-moment-locale'] = array( 'file' => esc_url( $moment_locale_url ), 'dependencies' => array( 'bp-moment' ), 'footer' => true );
|
77 |
+
}
|
78 |
+
|
79 |
+
/**
|
80 |
+
* Filters the BuddyPress Core javascript files to register.
|
81 |
+
*
|
82 |
+
* Default handles include 'bp-confirm', 'bp-widget-members',
|
83 |
+
* 'bp-jquery-query', 'bp-jquery-cookie', and 'bp-jquery-scroll-to'.
|
84 |
+
*
|
85 |
+
* @since 2.1.0 'jquery-caret', 'jquery-atwho' added.
|
86 |
+
* @since 2.3.0 'bp-plupload', 'bp-avatar', 'bp-webcam' added.
|
87 |
+
* @since 2.4.0 'bp-cover-image' added.
|
88 |
+
* @since 2.7.0 'bp-moment', 'bp-livestamp' added.
|
89 |
+
* 'bp-moment-locale' is added conditionally if a moment.js locale file is found.
|
90 |
+
*
|
91 |
+
* @param array $value Array of javascript file information to register.
|
92 |
+
*/
|
93 |
+
$scripts = apply_filters( 'bp_core_register_common_scripts', $scripts );
|
94 |
+
|
95 |
|
96 |
$version = bp_get_version();
|
97 |
foreach ( $scripts as $id => $script ) {
|
530 |
return;
|
531 |
}
|
532 |
|
533 |
+
/*
|
534 |
+
* Only enqueue Moment.js locale if we registered it in
|
535 |
+
* bp_core_register_common_scripts().
|
536 |
+
*/
|
537 |
+
if ( wp_script_is( 'bp-moment-locale', 'registered' ) ) {
|
538 |
+
wp_enqueue_script( 'bp-moment-locale' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
|
540 |
+
if ( function_exists( 'wp_add_inline_script' ) ) {
|
541 |
+
wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() );
|
542 |
+
} else {
|
543 |
+
add_action( 'wp_footer', '_bp_core_moment_js_config_footer', 20 );
|
544 |
+
}
|
545 |
}
|
546 |
+
|
547 |
+
wp_enqueue_script( 'bp-livestamp' );
|
548 |
}
|
549 |
|
550 |
/**
|
555 |
* @return string
|
556 |
*/
|
557 |
function bp_core_moment_js_config() {
|
558 |
+
// Grab the locale from the enqueued JS.
|
559 |
+
$moment_locale = wp_scripts()->query( 'bp-moment-locale' );
|
560 |
+
$moment_locale = substr( $moment_locale->src, strpos( $moment_locale->src, '/moment-js/locale/' ) + 18 );
|
561 |
+
$moment_locale = str_replace( '.js', '', $moment_locale );
|
562 |
+
|
563 |
$inline_js = <<<EOD
|
564 |
jQuery(function() {
|
565 |
+
moment.locale( '{$moment_locale}' );
|
|
|
|
|
566 |
});
|
567 |
EOD;
|
568 |
|
579 |
* @access private
|
580 |
*/
|
581 |
function _bp_core_moment_js_config_footer() {
|
582 |
+
if ( ! wp_script_is( 'bp-moment-locale' ) ) {
|
583 |
return;
|
584 |
}
|
585 |
|
bp-core/classes/class-bp-admin.php
CHANGED
@@ -617,13 +617,17 @@ class BP_Admin {
|
|
617 |
<span class="dashicons dashicons-list-view" aria-hidden="true"></span>
|
618 |
<h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3>
|
619 |
|
620 |
-
<p class="introduction"><?php
|
|
|
|
|
|
|
|
|
621 |
</div>
|
622 |
</div>
|
623 |
|
624 |
<div class="bp-features-section">
|
625 |
|
626 |
-
<h3 class="headline-title"><?php esc_html_e( 'For Developers & Site
|
627 |
|
628 |
<div class="bp-feature">
|
629 |
<span class="dashicons dashicons-calendar" aria-hidden="true"></span>
|
@@ -634,7 +638,27 @@ class BP_Admin {
|
|
634 |
<div class="bp-feature opposite">
|
635 |
<span class="dashicons dashicons-groups" aria-hidden="true"></span>
|
636 |
<h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4>
|
637 |
-
<p><?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
</div>
|
639 |
|
640 |
<div class="bp-feature">
|
@@ -646,43 +670,52 @@ class BP_Admin {
|
|
646 |
<div class="bp-feature opposite">
|
647 |
<span class="dashicons dashicons-email" aria-hidden="true"></span>
|
648 |
<h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4>
|
649 |
-
<p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions
|
650 |
</div>
|
651 |
|
652 |
<div class="bp-feature">
|
653 |
-
<span class="dashicons dashicons-
|
654 |
-
<h4 class="title"><?php esc_html_e( '
|
655 |
-
<p><?php esc_html_e( '
|
656 |
</div>
|
657 |
|
658 |
<div class="bp-feature opposite">
|
659 |
<span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
|
660 |
-
<h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front
|
661 |
-
<p><?php esc_html_e( 'Continued improvements for universal
|
662 |
</div>
|
663 |
|
664 |
<div class="bp-feature">
|
665 |
-
<span class="dashicons dashicons-
|
666 |
-
<h4 class="title"><?php
|
667 |
-
|
|
|
|
|
|
|
668 |
</div>
|
669 |
|
670 |
<div class="bp-feature opposite">
|
671 |
<span class="dashicons dashicons-image-filter" aria-hidden="true"></span>
|
672 |
-
<h4 class="title"><?php esc_html_e( 'Improvements to a Single Group
|
673 |
-
|
674 |
</div>
|
675 |
|
676 |
<div class="bp-feature">
|
677 |
<span class="dashicons dashicons-groups" aria-hidden="true"></span>
|
678 |
-
<h4 class="title"><?php
|
679 |
-
|
|
|
|
|
|
|
680 |
</div>
|
681 |
|
682 |
<div class="bp-feature opposite">
|
683 |
<span class="dashicons dashicons-chart-bar" aria-hidden="true"></span>
|
684 |
<h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4>
|
685 |
-
<p><?php
|
|
|
|
|
|
|
686 |
</div>
|
687 |
|
688 |
|
@@ -691,7 +724,11 @@ class BP_Admin {
|
|
691 |
|
692 |
<div class="bp-changelog-section">
|
693 |
<h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3>
|
694 |
-
<p class="bp-changelog-url"
|
|
|
|
|
|
|
|
|
695 |
|
696 |
</div>
|
697 |
|
@@ -841,7 +878,7 @@ class BP_Admin {
|
|
841 |
<a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>,
|
842 |
<a href="https://profiles.wordpress.org/herbovec/">herbovec</a>,
|
843 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
844 |
-
<a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes jdgrimes</a>,
|
845 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
846 |
<a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
|
847 |
<a href="https://profiles.wordpress.org/kitsunesolar/">kitsunesolar</a>,
|
617 |
<span class="dashicons dashicons-list-view" aria-hidden="true"></span>
|
618 |
<h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3>
|
619 |
|
620 |
+
<p class="introduction"><?php
|
621 |
+
/* translators: %s: URL to the development post about this feature */
|
622 |
+
printf( __( 'Huge performance improvements on sites using persistent caching. <a href="%s">Learn more about the Groups Query rewrite</a>.', 'buddypress' ),
|
623 |
+
'https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/' );
|
624 |
+
?></p>
|
625 |
</div>
|
626 |
</div>
|
627 |
|
628 |
<div class="bp-features-section">
|
629 |
|
630 |
+
<h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3>
|
631 |
|
632 |
<div class="bp-feature">
|
633 |
<span class="dashicons dashicons-calendar" aria-hidden="true"></span>
|
638 |
<div class="bp-feature opposite">
|
639 |
<span class="dashicons dashicons-groups" aria-hidden="true"></span>
|
640 |
<h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4>
|
641 |
+
<p><?php
|
642 |
+
/* translators: %s: URL to the BuddyPress Codex article */
|
643 |
+
printf( __( 'Enable developers to show Group Types on the front end as well as control where the group type information is rendered. <a href="%s">Learn how to implement this feature</a>.', 'buddypress' ),
|
644 |
+
'https://codex.buddypress.org/developer/group-types/' );
|
645 |
+
?></p>
|
646 |
+
</div>
|
647 |
+
|
648 |
+
<div class="bp-feature">
|
649 |
+
<span class="dashicons dashicons-admin-multisite" aria-hidden="true"></span>
|
650 |
+
<h4 class="feature-title"><?php esc_html_e( 'Use the Site Icon as Your Site’s Profile Photo', 'buddypress' ); ?></h4>
|
651 |
+
<p><?php
|
652 |
+
/* translators: %s: URL to the WordPress Codex article */
|
653 |
+
printf( __( 'BuddyPress sets the site admin’s profile photo as the default site profile photo on the Sites Directory page. You can now <a href="%s">use the Site Icon introduced in WordPress 4.3</a> instead.', 'buddypress' ),
|
654 |
+
'https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later' );
|
655 |
+
?></p>
|
656 |
+
</div>
|
657 |
+
|
658 |
+
<div class="bp-feature opposite">
|
659 |
+
<span class="dashicons dashicons-filter" aria-hidden="true"></span>
|
660 |
+
<h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups Admin Screens', 'buddypress' ); ?></h4>
|
661 |
+
<p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p>
|
662 |
</div>
|
663 |
|
664 |
<div class="bp-feature">
|
670 |
<div class="bp-feature opposite">
|
671 |
<span class="dashicons dashicons-email" aria-hidden="true"></span>
|
672 |
<h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4>
|
673 |
+
<p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions via new email tokens and unsubscribe links.', 'buddypress' ); ?></p>
|
674 |
</div>
|
675 |
|
676 |
<div class="bp-feature">
|
677 |
+
<span class="dashicons dashicons-admin-page" aria-hidden="true"></span>
|
678 |
+
<h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4>
|
679 |
+
<p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages on the back end, is what you’ll get as the heading on the front end.', 'buddypress' ); ?></p>
|
680 |
</div>
|
681 |
|
682 |
<div class="bp-feature opposite">
|
683 |
<span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
|
684 |
+
<h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front End and Back End', 'buddypress' ); ?></h4>
|
685 |
+
<p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>
|
686 |
</div>
|
687 |
|
688 |
<div class="bp-feature">
|
689 |
+
<span class="dashicons dashicons-screenoptions" aria-hidden="true"></span>
|
690 |
+
<h4 class="title"><?php
|
691 |
+
/* translators: %s: BP_Button */
|
692 |
+
printf( __( 'Refactored %s Class to Accept New Arguments', 'buddypress' ), '<code>BP_Button</code>' );
|
693 |
+
?></h4>
|
694 |
+
<p><?php esc_html_e( 'Provides developers with improved syntax and more control over the rendering of buttons.', 'buddypress' ); ?></p>
|
695 |
</div>
|
696 |
|
697 |
<div class="bp-feature opposite">
|
698 |
<span class="dashicons dashicons-image-filter" aria-hidden="true"></span>
|
699 |
+
<h4 class="title"><?php esc_html_e( 'Improvements to a Single Group’s Management Screens', 'buddypress' ); ?></h4>
|
700 |
+
<p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p>
|
701 |
</div>
|
702 |
|
703 |
<div class="bp-feature">
|
704 |
<span class="dashicons dashicons-groups" aria-hidden="true"></span>
|
705 |
+
<h4 class="title"><?php
|
706 |
+
/* translators: %s: parent_id */
|
707 |
+
printf( __( 'Support for Querying for Groups by New Column %s', 'buddypress' ), '<code>parent_id</code>' );
|
708 |
+
?></h4>
|
709 |
+
<p><?php esc_html_e( 'Query support for hierarchical groups makes it much easier for developers to add custom front-end functionality.', 'buddypress' ); ?></p>
|
710 |
</div>
|
711 |
|
712 |
<div class="bp-feature opposite">
|
713 |
<span class="dashicons dashicons-chart-bar" aria-hidden="true"></span>
|
714 |
<h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4>
|
715 |
+
<p><?php
|
716 |
+
/* translators: %s: bp_get_user_groups() */
|
717 |
+
printf( __( 'Improved performance by removing extra database queries, adding new cache calls, and removing the number of loops in %s.', 'buddypress' ), '<code>bp_get_user_groups()</code>' );
|
718 |
+
?></p>
|
719 |
</div>
|
720 |
|
721 |
|
724 |
|
725 |
<div class="bp-changelog-section">
|
726 |
<h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3>
|
727 |
+
<p class="bp-changelog-url"><?php
|
728 |
+
/* translators: %s: URL to the BuddyPress Codex article */
|
729 |
+
printf( __( '<a href="%s">Changelog for BuddyPress 2.7.</a>', 'buddypress' ),
|
730 |
+
'https://codex.buddypress.org/releases/version-2-7-0/' );
|
731 |
+
?></p>
|
732 |
|
733 |
</div>
|
734 |
|
878 |
<a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>,
|
879 |
<a href="https://profiles.wordpress.org/herbovec/">herbovec</a>,
|
880 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
881 |
+
<a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes (jdgrimes)</a>,
|
882 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
883 |
<a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
|
884 |
<a href="https://profiles.wordpress.org/kitsunesolar/">kitsunesolar</a>,
|
bp-core/classes/class-bp-button.php
CHANGED
@@ -94,7 +94,7 @@ class BP_Button {
|
|
94 |
*
|
95 |
* @var string Default: 'div'.
|
96 |
*/
|
97 |
-
public $parent_element = '
|
98 |
|
99 |
/**
|
100 |
* Element attributes for parent element.
|
@@ -153,7 +153,7 @@ class BP_Button {
|
|
153 |
*
|
154 |
* @var string|bool
|
155 |
*/
|
156 |
-
public $wrapper = '';
|
157 |
|
158 |
/**
|
159 |
* The DOM class of the button wrapper.
|
@@ -385,7 +385,7 @@ class BP_Button {
|
|
385 |
}
|
386 |
|
387 |
// Set element.
|
388 |
-
if ( false === $child ) {
|
389 |
$r[ "{$parent}_element" ] = $r[ $prop ];
|
390 |
|
391 |
// Set attributes.
|
94 |
*
|
95 |
* @var string Default: 'div'.
|
96 |
*/
|
97 |
+
public $parent_element = '';
|
98 |
|
99 |
/**
|
100 |
* Element attributes for parent element.
|
153 |
*
|
154 |
* @var string|bool
|
155 |
*/
|
156 |
+
public $wrapper = 'div';
|
157 |
|
158 |
/**
|
159 |
* The DOM class of the button wrapper.
|
385 |
}
|
386 |
|
387 |
// Set element.
|
388 |
+
if ( false === $child && empty( $r[ "{$parent}_element" ] ) ) {
|
389 |
$r[ "{$parent}_element" ] = $r[ $prop ];
|
390 |
|
391 |
// Set attributes.
|
bp-core/js/vendor/moment-js/locale/af.js
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Afrikaans [af]
|
3 |
+
//! author : Werner Mollentze : https://github.com/wernerm
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var af = moment.defineLocale('af', {
|
14 |
+
months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
|
16 |
+
weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
|
17 |
+
weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
|
19 |
+
meridiemParse: /vm|nm/i,
|
20 |
+
isPM : function (input) {
|
21 |
+
return /^nm$/i.test(input);
|
22 |
+
},
|
23 |
+
meridiem : function (hours, minutes, isLower) {
|
24 |
+
if (hours < 12) {
|
25 |
+
return isLower ? 'vm' : 'VM';
|
26 |
+
} else {
|
27 |
+
return isLower ? 'nm' : 'NM';
|
28 |
+
}
|
29 |
+
},
|
30 |
+
longDateFormat : {
|
31 |
+
LT : 'HH:mm',
|
32 |
+
LTS : 'HH:mm:ss',
|
33 |
+
L : 'DD/MM/YYYY',
|
34 |
+
LL : 'D MMMM YYYY',
|
35 |
+
LLL : 'D MMMM YYYY HH:mm',
|
36 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
37 |
+
},
|
38 |
+
calendar : {
|
39 |
+
sameDay : '[Vandag om] LT',
|
40 |
+
nextDay : '[Môre om] LT',
|
41 |
+
nextWeek : 'dddd [om] LT',
|
42 |
+
lastDay : '[Gister om] LT',
|
43 |
+
lastWeek : '[Laas] dddd [om] LT',
|
44 |
+
sameElse : 'L'
|
45 |
+
},
|
46 |
+
relativeTime : {
|
47 |
+
future : 'oor %s',
|
48 |
+
past : '%s gelede',
|
49 |
+
s : '\'n paar sekondes',
|
50 |
+
m : '\'n minuut',
|
51 |
+
mm : '%d minute',
|
52 |
+
h : '\'n uur',
|
53 |
+
hh : '%d ure',
|
54 |
+
d : '\'n dag',
|
55 |
+
dd : '%d dae',
|
56 |
+
M : '\'n maand',
|
57 |
+
MM : '%d maande',
|
58 |
+
y : '\'n jaar',
|
59 |
+
yy : '%d jaar'
|
60 |
+
},
|
61 |
+
ordinalParse: /\d{1,2}(ste|de)/,
|
62 |
+
ordinal : function (number) {
|
63 |
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
|
64 |
+
},
|
65 |
+
week : {
|
66 |
+
dow : 1, // Maandag is die eerste dag van die week.
|
67 |
+
doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
|
68 |
+
}
|
69 |
+
});
|
70 |
+
|
71 |
+
return af;
|
72 |
+
|
73 |
+
}));
|
bp-core/js/vendor/moment-js/locale/af.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ar-ly.js
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Lybia) [ar-ly]
|
3 |
+
//! author : Ali Hmer: https://github.com/kikoanis
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '1',
|
15 |
+
'2': '2',
|
16 |
+
'3': '3',
|
17 |
+
'4': '4',
|
18 |
+
'5': '5',
|
19 |
+
'6': '6',
|
20 |
+
'7': '7',
|
21 |
+
'8': '8',
|
22 |
+
'9': '9',
|
23 |
+
'0': '0'
|
24 |
+
}, pluralForm = function (n) {
|
25 |
+
return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
|
26 |
+
}, plurals = {
|
27 |
+
s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
|
28 |
+
m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
|
29 |
+
h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
|
30 |
+
d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
|
31 |
+
M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
|
32 |
+
y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
|
33 |
+
}, pluralize = function (u) {
|
34 |
+
return function (number, withoutSuffix, string, isFuture) {
|
35 |
+
var f = pluralForm(number),
|
36 |
+
str = plurals[u][pluralForm(number)];
|
37 |
+
if (f === 2) {
|
38 |
+
str = str[withoutSuffix ? 0 : 1];
|
39 |
+
}
|
40 |
+
return str.replace(/%d/i, number);
|
41 |
+
};
|
42 |
+
}, months = [
|
43 |
+
'يناير',
|
44 |
+
'فبراير',
|
45 |
+
'مارس',
|
46 |
+
'أبريل',
|
47 |
+
'مايو',
|
48 |
+
'يونيو',
|
49 |
+
'يوليو',
|
50 |
+
'أغسطس',
|
51 |
+
'سبتمبر',
|
52 |
+
'أكتوبر',
|
53 |
+
'نوفمبر',
|
54 |
+
'ديسمبر'
|
55 |
+
];
|
56 |
+
|
57 |
+
var ar_ly = moment.defineLocale('ar-ly', {
|
58 |
+
months : months,
|
59 |
+
monthsShort : months,
|
60 |
+
weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
61 |
+
weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
62 |
+
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
63 |
+
weekdaysParseExact : true,
|
64 |
+
longDateFormat : {
|
65 |
+
LT : 'HH:mm',
|
66 |
+
LTS : 'HH:mm:ss',
|
67 |
+
L : 'D/\u200FM/\u200FYYYY',
|
68 |
+
LL : 'D MMMM YYYY',
|
69 |
+
LLL : 'D MMMM YYYY HH:mm',
|
70 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
71 |
+
},
|
72 |
+
meridiemParse: /ص|م/,
|
73 |
+
isPM : function (input) {
|
74 |
+
return 'م' === input;
|
75 |
+
},
|
76 |
+
meridiem : function (hour, minute, isLower) {
|
77 |
+
if (hour < 12) {
|
78 |
+
return 'ص';
|
79 |
+
} else {
|
80 |
+
return 'م';
|
81 |
+
}
|
82 |
+
},
|
83 |
+
calendar : {
|
84 |
+
sameDay: '[اليوم عند الساعة] LT',
|
85 |
+
nextDay: '[غدًا عند الساعة] LT',
|
86 |
+
nextWeek: 'dddd [عند الساعة] LT',
|
87 |
+
lastDay: '[أمس عند الساعة] LT',
|
88 |
+
lastWeek: 'dddd [عند الساعة] LT',
|
89 |
+
sameElse: 'L'
|
90 |
+
},
|
91 |
+
relativeTime : {
|
92 |
+
future : 'بعد %s',
|
93 |
+
past : 'منذ %s',
|
94 |
+
s : pluralize('s'),
|
95 |
+
m : pluralize('m'),
|
96 |
+
mm : pluralize('m'),
|
97 |
+
h : pluralize('h'),
|
98 |
+
hh : pluralize('h'),
|
99 |
+
d : pluralize('d'),
|
100 |
+
dd : pluralize('d'),
|
101 |
+
M : pluralize('M'),
|
102 |
+
MM : pluralize('M'),
|
103 |
+
y : pluralize('y'),
|
104 |
+
yy : pluralize('y')
|
105 |
+
},
|
106 |
+
preparse: function (string) {
|
107 |
+
return string.replace(/\u200f/g, '').replace(/،/g, ',');
|
108 |
+
},
|
109 |
+
postformat: function (string) {
|
110 |
+
return string.replace(/\d/g, function (match) {
|
111 |
+
return symbolMap[match];
|
112 |
+
}).replace(/,/g, '،');
|
113 |
+
},
|
114 |
+
week : {
|
115 |
+
dow : 6, // Saturday is the first day of the week.
|
116 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
117 |
+
}
|
118 |
+
});
|
119 |
+
|
120 |
+
return ar_ly;
|
121 |
+
|
122 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ar-ly.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},c=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},d={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},e=function(a){return function(b,e,f,g){var h=c(b),i=d[a][c(b)];return 2===h&&(i=i[e?0:1]),i.replace(/%d/i,b)}},f=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],g=a.defineLocale("ar-ly",{months:f,monthsShort:f,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return g});
|
bp-core/js/vendor/moment-js/locale/ar-ma.js
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Morocco) [ar-ma]
|
3 |
+
//! author : ElFadili Yassine : https://github.com/ElFadiliY
|
4 |
+
//! author : Abdel Said : https://github.com/abdelsaid
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var ar_ma = moment.defineLocale('ar-ma', {
|
15 |
+
months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
|
16 |
+
monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
|
17 |
+
weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
18 |
+
weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
|
19 |
+
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY HH:mm',
|
27 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay: '[اليوم على الساعة] LT',
|
31 |
+
nextDay: '[غدا على الساعة] LT',
|
32 |
+
nextWeek: 'dddd [على الساعة] LT',
|
33 |
+
lastDay: '[أمس على الساعة] LT',
|
34 |
+
lastWeek: 'dddd [على الساعة] LT',
|
35 |
+
sameElse: 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'في %s',
|
39 |
+
past : 'منذ %s',
|
40 |
+
s : 'ثوان',
|
41 |
+
m : 'دقيقة',
|
42 |
+
mm : '%d دقائق',
|
43 |
+
h : 'ساعة',
|
44 |
+
hh : '%d ساعات',
|
45 |
+
d : 'يوم',
|
46 |
+
dd : '%d أيام',
|
47 |
+
M : 'شهر',
|
48 |
+
MM : '%d أشهر',
|
49 |
+
y : 'سنة',
|
50 |
+
yy : '%d سنوات'
|
51 |
+
},
|
52 |
+
week : {
|
53 |
+
dow : 6, // Saturday is the first day of the week.
|
54 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
return ar_ma;
|
59 |
+
|
60 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ar-ma.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return b});
|
bp-core/js/vendor/moment-js/locale/ar-sa.js
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Saudi Arabia) [ar-sa]
|
3 |
+
//! author : Suhail Alkowaileet : https://github.com/xsoh
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '١',
|
15 |
+
'2': '٢',
|
16 |
+
'3': '٣',
|
17 |
+
'4': '٤',
|
18 |
+
'5': '٥',
|
19 |
+
'6': '٦',
|
20 |
+
'7': '٧',
|
21 |
+
'8': '٨',
|
22 |
+
'9': '٩',
|
23 |
+
'0': '٠'
|
24 |
+
}, numberMap = {
|
25 |
+
'١': '1',
|
26 |
+
'٢': '2',
|
27 |
+
'٣': '3',
|
28 |
+
'٤': '4',
|
29 |
+
'٥': '5',
|
30 |
+
'٦': '6',
|
31 |
+
'٧': '7',
|
32 |
+
'٨': '8',
|
33 |
+
'٩': '9',
|
34 |
+
'٠': '0'
|
35 |
+
};
|
36 |
+
|
37 |
+
var ar_sa = moment.defineLocale('ar-sa', {
|
38 |
+
months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
|
39 |
+
monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
|
40 |
+
weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
41 |
+
weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
42 |
+
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
43 |
+
weekdaysParseExact : true,
|
44 |
+
longDateFormat : {
|
45 |
+
LT : 'HH:mm',
|
46 |
+
LTS : 'HH:mm:ss',
|
47 |
+
L : 'DD/MM/YYYY',
|
48 |
+
LL : 'D MMMM YYYY',
|
49 |
+
LLL : 'D MMMM YYYY HH:mm',
|
50 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
51 |
+
},
|
52 |
+
meridiemParse: /ص|م/,
|
53 |
+
isPM : function (input) {
|
54 |
+
return 'م' === input;
|
55 |
+
},
|
56 |
+
meridiem : function (hour, minute, isLower) {
|
57 |
+
if (hour < 12) {
|
58 |
+
return 'ص';
|
59 |
+
} else {
|
60 |
+
return 'م';
|
61 |
+
}
|
62 |
+
},
|
63 |
+
calendar : {
|
64 |
+
sameDay: '[اليوم على الساعة] LT',
|
65 |
+
nextDay: '[غدا على الساعة] LT',
|
66 |
+
nextWeek: 'dddd [على الساعة] LT',
|
67 |
+
lastDay: '[أمس على الساعة] LT',
|
68 |
+
lastWeek: 'dddd [على الساعة] LT',
|
69 |
+
sameElse: 'L'
|
70 |
+
},
|
71 |
+
relativeTime : {
|
72 |
+
future : 'في %s',
|
73 |
+
past : 'منذ %s',
|
74 |
+
s : 'ثوان',
|
75 |
+
m : 'دقيقة',
|
76 |
+
mm : '%d دقائق',
|
77 |
+
h : 'ساعة',
|
78 |
+
hh : '%d ساعات',
|
79 |
+
d : 'يوم',
|
80 |
+
dd : '%d أيام',
|
81 |
+
M : 'شهر',
|
82 |
+
MM : '%d أشهر',
|
83 |
+
y : 'سنة',
|
84 |
+
yy : '%d سنوات'
|
85 |
+
},
|
86 |
+
preparse: function (string) {
|
87 |
+
return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
88 |
+
return numberMap[match];
|
89 |
+
}).replace(/،/g, ',');
|
90 |
+
},
|
91 |
+
postformat: function (string) {
|
92 |
+
return string.replace(/\d/g, function (match) {
|
93 |
+
return symbolMap[match];
|
94 |
+
}).replace(/,/g, '،');
|
95 |
+
},
|
96 |
+
week : {
|
97 |
+
dow : 6, // Saturday is the first day of the week.
|
98 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
99 |
+
}
|
100 |
+
});
|
101 |
+
|
102 |
+
return ar_sa;
|
103 |
+
|
104 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ar-sa.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},c={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},d=a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return d});
|
bp-core/js/vendor/moment-js/locale/ar-tn.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic (Tunisia) [ar-tn]
|
3 |
+
//! author : Nader Toukabri : https://github.com/naderio
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ar_tn = moment.defineLocale('ar-tn', {
|
14 |
+
months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
|
15 |
+
monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
|
16 |
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
17 |
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
18 |
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
19 |
+
weekdaysParseExact : true,
|
20 |
+
longDateFormat: {
|
21 |
+
LT: 'HH:mm',
|
22 |
+
LTS: 'HH:mm:ss',
|
23 |
+
L: 'DD/MM/YYYY',
|
24 |
+
LL: 'D MMMM YYYY',
|
25 |
+
LLL: 'D MMMM YYYY HH:mm',
|
26 |
+
LLLL: 'dddd D MMMM YYYY HH:mm'
|
27 |
+
},
|
28 |
+
calendar: {
|
29 |
+
sameDay: '[اليوم على الساعة] LT',
|
30 |
+
nextDay: '[غدا على الساعة] LT',
|
31 |
+
nextWeek: 'dddd [على الساعة] LT',
|
32 |
+
lastDay: '[أمس على الساعة] LT',
|
33 |
+
lastWeek: 'dddd [على الساعة] LT',
|
34 |
+
sameElse: 'L'
|
35 |
+
},
|
36 |
+
relativeTime: {
|
37 |
+
future: 'في %s',
|
38 |
+
past: 'منذ %s',
|
39 |
+
s: 'ثوان',
|
40 |
+
m: 'دقيقة',
|
41 |
+
mm: '%d دقائق',
|
42 |
+
h: 'ساعة',
|
43 |
+
hh: '%d ساعات',
|
44 |
+
d: 'يوم',
|
45 |
+
dd: '%d أيام',
|
46 |
+
M: 'شهر',
|
47 |
+
MM: '%d أشهر',
|
48 |
+
y: 'سنة',
|
49 |
+
yy: '%d سنوات'
|
50 |
+
},
|
51 |
+
week: {
|
52 |
+
dow: 1, // Monday is the first day of the week.
|
53 |
+
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
54 |
+
}
|
55 |
+
});
|
56 |
+
|
57 |
+
return ar_tn;
|
58 |
+
|
59 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ar-tn.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ar.js
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Arabic [ar]
|
3 |
+
//! author : Abdel Said: https://github.com/abdelsaid
|
4 |
+
//! author : Ahmed Elkhatib
|
5 |
+
//! author : forabi https://github.com/forabi
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var symbolMap = {
|
16 |
+
'1': '١',
|
17 |
+
'2': '٢',
|
18 |
+
'3': '٣',
|
19 |
+
'4': '٤',
|
20 |
+
'5': '٥',
|
21 |
+
'6': '٦',
|
22 |
+
'7': '٧',
|
23 |
+
'8': '٨',
|
24 |
+
'9': '٩',
|
25 |
+
'0': '٠'
|
26 |
+
}, numberMap = {
|
27 |
+
'١': '1',
|
28 |
+
'٢': '2',
|
29 |
+
'٣': '3',
|
30 |
+
'٤': '4',
|
31 |
+
'٥': '5',
|
32 |
+
'٦': '6',
|
33 |
+
'٧': '7',
|
34 |
+
'٨': '8',
|
35 |
+
'٩': '9',
|
36 |
+
'٠': '0'
|
37 |
+
}, pluralForm = function (n) {
|
38 |
+
return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
|
39 |
+
}, plurals = {
|
40 |
+
s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
|
41 |
+
m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
|
42 |
+
h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
|
43 |
+
d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
|
44 |
+
M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
|
45 |
+
y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
|
46 |
+
}, pluralize = function (u) {
|
47 |
+
return function (number, withoutSuffix, string, isFuture) {
|
48 |
+
var f = pluralForm(number),
|
49 |
+
str = plurals[u][pluralForm(number)];
|
50 |
+
if (f === 2) {
|
51 |
+
str = str[withoutSuffix ? 0 : 1];
|
52 |
+
}
|
53 |
+
return str.replace(/%d/i, number);
|
54 |
+
};
|
55 |
+
}, months = [
|
56 |
+
'كانون الثاني يناير',
|
57 |
+
'شباط فبراير',
|
58 |
+
'آذار مارس',
|
59 |
+
'نيسان أبريل',
|
60 |
+
'أيار مايو',
|
61 |
+
'حزيران يونيو',
|
62 |
+
'تموز يوليو',
|
63 |
+
'آب أغسطس',
|
64 |
+
'أيلول سبتمبر',
|
65 |
+
'تشرين الأول أكتوبر',
|
66 |
+
'تشرين الثاني نوفمبر',
|
67 |
+
'كانون الأول ديسمبر'
|
68 |
+
];
|
69 |
+
|
70 |
+
var ar = moment.defineLocale('ar', {
|
71 |
+
months : months,
|
72 |
+
monthsShort : months,
|
73 |
+
weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
74 |
+
weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
75 |
+
weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
76 |
+
weekdaysParseExact : true,
|
77 |
+
longDateFormat : {
|
78 |
+
LT : 'HH:mm',
|
79 |
+
LTS : 'HH:mm:ss',
|
80 |
+
L : 'D/\u200FM/\u200FYYYY',
|
81 |
+
LL : 'D MMMM YYYY',
|
82 |
+
LLL : 'D MMMM YYYY HH:mm',
|
83 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
84 |
+
},
|
85 |
+
meridiemParse: /ص|م/,
|
86 |
+
isPM : function (input) {
|
87 |
+
return 'م' === input;
|
88 |
+
},
|
89 |
+
meridiem : function (hour, minute, isLower) {
|
90 |
+
if (hour < 12) {
|
91 |
+
return 'ص';
|
92 |
+
} else {
|
93 |
+
return 'م';
|
94 |
+
}
|
95 |
+
},
|
96 |
+
calendar : {
|
97 |
+
sameDay: '[اليوم عند الساعة] LT',
|
98 |
+
nextDay: '[غدًا عند الساعة] LT',
|
99 |
+
nextWeek: 'dddd [عند الساعة] LT',
|
100 |
+
lastDay: '[أمس عند الساعة] LT',
|
101 |
+
lastWeek: 'dddd [عند الساعة] LT',
|
102 |
+
sameElse: 'L'
|
103 |
+
},
|
104 |
+
relativeTime : {
|
105 |
+
future : 'بعد %s',
|
106 |
+
past : 'منذ %s',
|
107 |
+
s : pluralize('s'),
|
108 |
+
m : pluralize('m'),
|
109 |
+
mm : pluralize('m'),
|
110 |
+
h : pluralize('h'),
|
111 |
+
hh : pluralize('h'),
|
112 |
+
d : pluralize('d'),
|
113 |
+
dd : pluralize('d'),
|
114 |
+
M : pluralize('M'),
|
115 |
+
MM : pluralize('M'),
|
116 |
+
y : pluralize('y'),
|
117 |
+
yy : pluralize('y')
|
118 |
+
},
|
119 |
+
preparse: function (string) {
|
120 |
+
return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
121 |
+
return numberMap[match];
|
122 |
+
}).replace(/،/g, ',');
|
123 |
+
},
|
124 |
+
postformat: function (string) {
|
125 |
+
return string.replace(/\d/g, function (match) {
|
126 |
+
return symbolMap[match];
|
127 |
+
}).replace(/,/g, '،');
|
128 |
+
},
|
129 |
+
week : {
|
130 |
+
dow : 6, // Saturday is the first day of the week.
|
131 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
132 |
+
}
|
133 |
+
});
|
134 |
+
|
135 |
+
return ar;
|
136 |
+
|
137 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ar.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},c={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},d=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},e={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},f=function(a){return function(b,c,f,g){var h=d(b),i=e[a][d(b)];return 2===h&&(i=i[c?0:1]),i.replace(/%d/i,b)}},g=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],h=a.defineLocale("ar",{months:g,monthsShort:g,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return h});
|
bp-core/js/vendor/moment-js/locale/az.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Azerbaijani [az]
|
3 |
+
//! author : topchiyev : https://github.com/topchiyev
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var suffixes = {
|
14 |
+
1: '-inci',
|
15 |
+
5: '-inci',
|
16 |
+
8: '-inci',
|
17 |
+
70: '-inci',
|
18 |
+
80: '-inci',
|
19 |
+
2: '-nci',
|
20 |
+
7: '-nci',
|
21 |
+
20: '-nci',
|
22 |
+
50: '-nci',
|
23 |
+
3: '-üncü',
|
24 |
+
4: '-üncü',
|
25 |
+
100: '-üncü',
|
26 |
+
6: '-ncı',
|
27 |
+
9: '-uncu',
|
28 |
+
10: '-uncu',
|
29 |
+
30: '-uncu',
|
30 |
+
60: '-ıncı',
|
31 |
+
90: '-ıncı'
|
32 |
+
};
|
33 |
+
|
34 |
+
var az = moment.defineLocale('az', {
|
35 |
+
months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
|
36 |
+
monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
|
37 |
+
weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
|
38 |
+
weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
|
39 |
+
weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
|
40 |
+
weekdaysParseExact : true,
|
41 |
+
longDateFormat : {
|
42 |
+
LT : 'HH:mm',
|
43 |
+
LTS : 'HH:mm:ss',
|
44 |
+
L : 'DD.MM.YYYY',
|
45 |
+
LL : 'D MMMM YYYY',
|
46 |
+
LLL : 'D MMMM YYYY HH:mm',
|
47 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
48 |
+
},
|
49 |
+
calendar : {
|
50 |
+
sameDay : '[bugün saat] LT',
|
51 |
+
nextDay : '[sabah saat] LT',
|
52 |
+
nextWeek : '[gələn həftə] dddd [saat] LT',
|
53 |
+
lastDay : '[dünən] LT',
|
54 |
+
lastWeek : '[keçən həftə] dddd [saat] LT',
|
55 |
+
sameElse : 'L'
|
56 |
+
},
|
57 |
+
relativeTime : {
|
58 |
+
future : '%s sonra',
|
59 |
+
past : '%s əvvəl',
|
60 |
+
s : 'birneçə saniyyə',
|
61 |
+
m : 'bir dəqiqə',
|
62 |
+
mm : '%d dəqiqə',
|
63 |
+
h : 'bir saat',
|
64 |
+
hh : '%d saat',
|
65 |
+
d : 'bir gün',
|
66 |
+
dd : '%d gün',
|
67 |
+
M : 'bir ay',
|
68 |
+
MM : '%d ay',
|
69 |
+
y : 'bir il',
|
70 |
+
yy : '%d il'
|
71 |
+
},
|
72 |
+
meridiemParse: /gecə|səhər|gündüz|axşam/,
|
73 |
+
isPM : function (input) {
|
74 |
+
return /^(gündüz|axşam)$/.test(input);
|
75 |
+
},
|
76 |
+
meridiem : function (hour, minute, isLower) {
|
77 |
+
if (hour < 4) {
|
78 |
+
return 'gecə';
|
79 |
+
} else if (hour < 12) {
|
80 |
+
return 'səhər';
|
81 |
+
} else if (hour < 17) {
|
82 |
+
return 'gündüz';
|
83 |
+
} else {
|
84 |
+
return 'axşam';
|
85 |
+
}
|
86 |
+
},
|
87 |
+
ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
|
88 |
+
ordinal : function (number) {
|
89 |
+
if (number === 0) { // special case for zero
|
90 |
+
return number + '-ıncı';
|
91 |
+
}
|
92 |
+
var a = number % 10,
|
93 |
+
b = number % 100 - a,
|
94 |
+
c = number >= 100 ? 100 : null;
|
95 |
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
96 |
+
},
|
97 |
+
week : {
|
98 |
+
dow : 1, // Monday is the first day of the week.
|
99 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
100 |
+
}
|
101 |
+
});
|
102 |
+
|
103 |
+
return az;
|
104 |
+
|
105 |
+
}));
|
bp-core/js/vendor/moment-js/locale/az.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},c=a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return a<4?"gecə":a<12?"səhər":a<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var c=a%10,d=a%100-c,e=a>=100?100:null;return a+(b[c]||b[d]||b[e])},week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/be.js
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Belarusian [be]
|
3 |
+
//! author : Dmitry Demidov : https://github.com/demidov91
|
4 |
+
//! author: Praleska: http://praleska.pro/
|
5 |
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
function plural(word, num) {
|
16 |
+
var forms = word.split('_');
|
17 |
+
return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
|
18 |
+
}
|
19 |
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
20 |
+
var format = {
|
21 |
+
'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
|
22 |
+
'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
|
23 |
+
'dd': 'дзень_дні_дзён',
|
24 |
+
'MM': 'месяц_месяцы_месяцаў',
|
25 |
+
'yy': 'год_гады_гадоў'
|
26 |
+
};
|
27 |
+
if (key === 'm') {
|
28 |
+
return withoutSuffix ? 'хвіліна' : 'хвіліну';
|
29 |
+
}
|
30 |
+
else if (key === 'h') {
|
31 |
+
return withoutSuffix ? 'гадзіна' : 'гадзіну';
|
32 |
+
}
|
33 |
+
else {
|
34 |
+
return number + ' ' + plural(format[key], +number);
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
var be = moment.defineLocale('be', {
|
39 |
+
months : {
|
40 |
+
format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
|
41 |
+
standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
|
42 |
+
},
|
43 |
+
monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
|
44 |
+
weekdays : {
|
45 |
+
format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
|
46 |
+
standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
|
47 |
+
isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/
|
48 |
+
},
|
49 |
+
weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
50 |
+
weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
51 |
+
longDateFormat : {
|
52 |
+
LT : 'HH:mm',
|
53 |
+
LTS : 'HH:mm:ss',
|
54 |
+
L : 'DD.MM.YYYY',
|
55 |
+
LL : 'D MMMM YYYY г.',
|
56 |
+
LLL : 'D MMMM YYYY г., HH:mm',
|
57 |
+
LLLL : 'dddd, D MMMM YYYY г., HH:mm'
|
58 |
+
},
|
59 |
+
calendar : {
|
60 |
+
sameDay: '[Сёння ў] LT',
|
61 |
+
nextDay: '[Заўтра ў] LT',
|
62 |
+
lastDay: '[Учора ў] LT',
|
63 |
+
nextWeek: function () {
|
64 |
+
return '[У] dddd [ў] LT';
|
65 |
+
},
|
66 |
+
lastWeek: function () {
|
67 |
+
switch (this.day()) {
|
68 |
+
case 0:
|
69 |
+
case 3:
|
70 |
+
case 5:
|
71 |
+
case 6:
|
72 |
+
return '[У мінулую] dddd [ў] LT';
|
73 |
+
case 1:
|
74 |
+
case 2:
|
75 |
+
case 4:
|
76 |
+
return '[У мінулы] dddd [ў] LT';
|
77 |
+
}
|
78 |
+
},
|
79 |
+
sameElse: 'L'
|
80 |
+
},
|
81 |
+
relativeTime : {
|
82 |
+
future : 'праз %s',
|
83 |
+
past : '%s таму',
|
84 |
+
s : 'некалькі секунд',
|
85 |
+
m : relativeTimeWithPlural,
|
86 |
+
mm : relativeTimeWithPlural,
|
87 |
+
h : relativeTimeWithPlural,
|
88 |
+
hh : relativeTimeWithPlural,
|
89 |
+
d : 'дзень',
|
90 |
+
dd : relativeTimeWithPlural,
|
91 |
+
M : 'месяц',
|
92 |
+
MM : relativeTimeWithPlural,
|
93 |
+
y : 'год',
|
94 |
+
yy : relativeTimeWithPlural
|
95 |
+
},
|
96 |
+
meridiemParse: /ночы|раніцы|дня|вечара/,
|
97 |
+
isPM : function (input) {
|
98 |
+
return /^(дня|вечара)$/.test(input);
|
99 |
+
},
|
100 |
+
meridiem : function (hour, minute, isLower) {
|
101 |
+
if (hour < 4) {
|
102 |
+
return 'ночы';
|
103 |
+
} else if (hour < 12) {
|
104 |
+
return 'раніцы';
|
105 |
+
} else if (hour < 17) {
|
106 |
+
return 'дня';
|
107 |
+
} else {
|
108 |
+
return 'вечара';
|
109 |
+
}
|
110 |
+
},
|
111 |
+
ordinalParse: /\d{1,2}-(і|ы|га)/,
|
112 |
+
ordinal: function (number, period) {
|
113 |
+
switch (period) {
|
114 |
+
case 'M':
|
115 |
+
case 'd':
|
116 |
+
case 'DDD':
|
117 |
+
case 'w':
|
118 |
+
case 'W':
|
119 |
+
return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
|
120 |
+
case 'D':
|
121 |
+
return number + '-га';
|
122 |
+
default:
|
123 |
+
return number;
|
124 |
+
}
|
125 |
+
},
|
126 |
+
week : {
|
127 |
+
dow : 1, // Monday is the first day of the week.
|
128 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
129 |
+
}
|
130 |
+
});
|
131 |
+
|
132 |
+
return be;
|
133 |
+
|
134 |
+
}));
|
bp-core/js/vendor/moment-js/locale/be.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:c?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===d?c?"хвіліна":"хвіліну":"h"===d?c?"гадзіна":"гадзіну":a+" "+b(e[d],+a)}var d=a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:c,mm:c,h:c,hh:c,d:"дзень",dd:c,M:"месяц",MM:c,y:"год",yy:c},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночы":a<12?"раніцы":a<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!==2&&a%10!==3||a%100===12||a%100===13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}});return d});
|
bp-core/js/vendor/moment-js/locale/bg.js
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Bulgarian [bg]
|
3 |
+
//! author : Krasen Borisov : https://github.com/kraz
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var bg = moment.defineLocale('bg', {
|
14 |
+
months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
|
15 |
+
monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
|
16 |
+
weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
|
17 |
+
weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
|
18 |
+
weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'H:mm',
|
21 |
+
LTS : 'H:mm:ss',
|
22 |
+
L : 'D.MM.YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY H:mm',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY H:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Днес в] LT',
|
29 |
+
nextDay : '[Утре в] LT',
|
30 |
+
nextWeek : 'dddd [в] LT',
|
31 |
+
lastDay : '[Вчера в] LT',
|
32 |
+
lastWeek : function () {
|
33 |
+
switch (this.day()) {
|
34 |
+
case 0:
|
35 |
+
case 3:
|
36 |
+
case 6:
|
37 |
+
return '[В изминалата] dddd [в] LT';
|
38 |
+
case 1:
|
39 |
+
case 2:
|
40 |
+
case 4:
|
41 |
+
case 5:
|
42 |
+
return '[В изминалия] dddd [в] LT';
|
43 |
+
}
|
44 |
+
},
|
45 |
+
sameElse : 'L'
|
46 |
+
},
|
47 |
+
relativeTime : {
|
48 |
+
future : 'след %s',
|
49 |
+
past : 'преди %s',
|
50 |
+
s : 'няколко секунди',
|
51 |
+
m : 'минута',
|
52 |
+
mm : '%d минути',
|
53 |
+
h : 'час',
|
54 |
+
hh : '%d часа',
|
55 |
+
d : 'ден',
|
56 |
+
dd : '%d дни',
|
57 |
+
M : 'месец',
|
58 |
+
MM : '%d месеца',
|
59 |
+
y : 'година',
|
60 |
+
yy : '%d години'
|
61 |
+
},
|
62 |
+
ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
63 |
+
ordinal : function (number) {
|
64 |
+
var lastDigit = number % 10,
|
65 |
+
last2Digits = number % 100;
|
66 |
+
if (number === 0) {
|
67 |
+
return number + '-ев';
|
68 |
+
} else if (last2Digits === 0) {
|
69 |
+
return number + '-ен';
|
70 |
+
} else if (last2Digits > 10 && last2Digits < 20) {
|
71 |
+
return number + '-ти';
|
72 |
+
} else if (lastDigit === 1) {
|
73 |
+
return number + '-ви';
|
74 |
+
} else if (lastDigit === 2) {
|
75 |
+
return number + '-ри';
|
76 |
+
} else if (lastDigit === 7 || lastDigit === 8) {
|
77 |
+
return number + '-ми';
|
78 |
+
} else {
|
79 |
+
return number + '-ти';
|
80 |
+
}
|
81 |
+
},
|
82 |
+
week : {
|
83 |
+
dow : 1, // Monday is the first day of the week.
|
84 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
85 |
+
}
|
86 |
+
});
|
87 |
+
|
88 |
+
return bg;
|
89 |
+
|
90 |
+
}));
|
bp-core/js/vendor/moment-js/locale/bg.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/bn.js
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Bengali [bn]
|
3 |
+
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '১',
|
15 |
+
'2': '২',
|
16 |
+
'3': '৩',
|
17 |
+
'4': '৪',
|
18 |
+
'5': '৫',
|
19 |
+
'6': '৬',
|
20 |
+
'7': '৭',
|
21 |
+
'8': '৮',
|
22 |
+
'9': '৯',
|
23 |
+
'0': '০'
|
24 |
+
},
|
25 |
+
numberMap = {
|
26 |
+
'১': '1',
|
27 |
+
'২': '2',
|
28 |
+
'৩': '3',
|
29 |
+
'৪': '4',
|
30 |
+
'৫': '5',
|
31 |
+
'৬': '6',
|
32 |
+
'৭': '7',
|
33 |
+
'৮': '8',
|
34 |
+
'৯': '9',
|
35 |
+
'০': '0'
|
36 |
+
};
|
37 |
+
|
38 |
+
var bn = moment.defineLocale('bn', {
|
39 |
+
months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
|
40 |
+
monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
|
41 |
+
weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
|
42 |
+
weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
|
43 |
+
weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'),
|
44 |
+
longDateFormat : {
|
45 |
+
LT : 'A h:mm সময়',
|
46 |
+
LTS : 'A h:mm:ss সময়',
|
47 |
+
L : 'DD/MM/YYYY',
|
48 |
+
LL : 'D MMMM YYYY',
|
49 |
+
LLL : 'D MMMM YYYY, A h:mm সময়',
|
50 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm সময়'
|
51 |
+
},
|
52 |
+
calendar : {
|
53 |
+
sameDay : '[আজ] LT',
|
54 |
+
nextDay : '[আগামীকাল] LT',
|
55 |
+
nextWeek : 'dddd, LT',
|
56 |
+
lastDay : '[গতকাল] LT',
|
57 |
+
lastWeek : '[গত] dddd, LT',
|
58 |
+
sameElse : 'L'
|
59 |
+
},
|
60 |
+
relativeTime : {
|
61 |
+
future : '%s পরে',
|
62 |
+
past : '%s আগে',
|
63 |
+
s : 'কয়েক সেকেন্ড',
|
64 |
+
m : 'এক মিনিট',
|
65 |
+
mm : '%d মিনিট',
|
66 |
+
h : 'এক ঘন্টা',
|
67 |
+
hh : '%d ঘন্টা',
|
68 |
+
d : 'এক দিন',
|
69 |
+
dd : '%d দিন',
|
70 |
+
M : 'এক মাস',
|
71 |
+
MM : '%d মাস',
|
72 |
+
y : 'এক বছর',
|
73 |
+
yy : '%d বছর'
|
74 |
+
},
|
75 |
+
preparse: function (string) {
|
76 |
+
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
77 |
+
return numberMap[match];
|
78 |
+
});
|
79 |
+
},
|
80 |
+
postformat: function (string) {
|
81 |
+
return string.replace(/\d/g, function (match) {
|
82 |
+
return symbolMap[match];
|
83 |
+
});
|
84 |
+
},
|
85 |
+
meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
|
86 |
+
meridiemHour : function (hour, meridiem) {
|
87 |
+
if (hour === 12) {
|
88 |
+
hour = 0;
|
89 |
+
}
|
90 |
+
if ((meridiem === 'রাত' && hour >= 4) ||
|
91 |
+
(meridiem === 'দুপুর' && hour < 5) ||
|
92 |
+
meridiem === 'বিকাল') {
|
93 |
+
return hour + 12;
|
94 |
+
} else {
|
95 |
+
return hour;
|
96 |
+
}
|
97 |
+
},
|
98 |
+
meridiem : function (hour, minute, isLower) {
|
99 |
+
if (hour < 4) {
|
100 |
+
return 'রাত';
|
101 |
+
} else if (hour < 10) {
|
102 |
+
return 'সকাল';
|
103 |
+
} else if (hour < 17) {
|
104 |
+
return 'দুপুর';
|
105 |
+
} else if (hour < 20) {
|
106 |
+
return 'বিকাল';
|
107 |
+
} else {
|
108 |
+
return 'রাত';
|
109 |
+
}
|
110 |
+
},
|
111 |
+
week : {
|
112 |
+
dow : 0, // Sunday is the first day of the week.
|
113 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
114 |
+
}
|
115 |
+
});
|
116 |
+
|
117 |
+
return bn;
|
118 |
+
|
119 |
+
}));
|
bp-core/js/vendor/moment-js/locale/bn.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},c={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},d=a.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&a<5||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return a<4?"রাত":a<10?"সকাল":a<17?"দুপুর":a<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/bo.js
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Tibetan [bo]
|
3 |
+
//! author : Thupten N. Chakrishar : https://github.com/vajradog
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '༡',
|
15 |
+
'2': '༢',
|
16 |
+
'3': '༣',
|
17 |
+
'4': '༤',
|
18 |
+
'5': '༥',
|
19 |
+
'6': '༦',
|
20 |
+
'7': '༧',
|
21 |
+
'8': '༨',
|
22 |
+
'9': '༩',
|
23 |
+
'0': '༠'
|
24 |
+
},
|
25 |
+
numberMap = {
|
26 |
+
'༡': '1',
|
27 |
+
'༢': '2',
|
28 |
+
'༣': '3',
|
29 |
+
'༤': '4',
|
30 |
+
'༥': '5',
|
31 |
+
'༦': '6',
|
32 |
+
'༧': '7',
|
33 |
+
'༨': '8',
|
34 |
+
'༩': '9',
|
35 |
+
'༠': '0'
|
36 |
+
};
|
37 |
+
|
38 |
+
var bo = moment.defineLocale('bo', {
|
39 |
+
months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
|
40 |
+
monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
|
41 |
+
weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
|
42 |
+
weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
|
43 |
+
weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
|
44 |
+
longDateFormat : {
|
45 |
+
LT : 'A h:mm',
|
46 |
+
LTS : 'A h:mm:ss',
|
47 |
+
L : 'DD/MM/YYYY',
|
48 |
+
LL : 'D MMMM YYYY',
|
49 |
+
LLL : 'D MMMM YYYY, A h:mm',
|
50 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm'
|
51 |
+
},
|
52 |
+
calendar : {
|
53 |
+
sameDay : '[དི་རིང] LT',
|
54 |
+
nextDay : '[སང་ཉིན] LT',
|
55 |
+
nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT',
|
56 |
+
lastDay : '[ཁ་སང] LT',
|
57 |
+
lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
|
58 |
+
sameElse : 'L'
|
59 |
+
},
|
60 |
+
relativeTime : {
|
61 |
+
future : '%s ལ་',
|
62 |
+
past : '%s སྔན་ལ',
|
63 |
+
s : 'ལམ་སང',
|
64 |
+
m : 'སྐར་མ་གཅིག',
|
65 |
+
mm : '%d སྐར་མ',
|
66 |
+
h : 'ཆུ་ཚོད་གཅིག',
|
67 |
+
hh : '%d ཆུ་ཚོད',
|
68 |
+
d : 'ཉིན་གཅིག',
|
69 |
+
dd : '%d ཉིན་',
|
70 |
+
M : 'ཟླ་བ་གཅིག',
|
71 |
+
MM : '%d ཟླ་བ',
|
72 |
+
y : 'ལོ་གཅིག',
|
73 |
+
yy : '%d ལོ'
|
74 |
+
},
|
75 |
+
preparse: function (string) {
|
76 |
+
return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
|
77 |
+
return numberMap[match];
|
78 |
+
});
|
79 |
+
},
|
80 |
+
postformat: function (string) {
|
81 |
+
return string.replace(/\d/g, function (match) {
|
82 |
+
return symbolMap[match];
|
83 |
+
});
|
84 |
+
},
|
85 |
+
meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
|
86 |
+
meridiemHour : function (hour, meridiem) {
|
87 |
+
if (hour === 12) {
|
88 |
+
hour = 0;
|
89 |
+
}
|
90 |
+
if ((meridiem === 'མཚན་མོ' && hour >= 4) ||
|
91 |
+
(meridiem === 'ཉིན་གུང' && hour < 5) ||
|
92 |
+
meridiem === 'དགོང་དག') {
|
93 |
+
return hour + 12;
|
94 |
+
} else {
|
95 |
+
return hour;
|
96 |
+
}
|
97 |
+
},
|
98 |
+
meridiem : function (hour, minute, isLower) {
|
99 |
+
if (hour < 4) {
|
100 |
+
return 'མཚན་མོ';
|
101 |
+
} else if (hour < 10) {
|
102 |
+
return 'ཞོགས་ཀས';
|
103 |
+
} else if (hour < 17) {
|
104 |
+
return 'ཉིན་གུང';
|
105 |
+
} else if (hour < 20) {
|
106 |
+
return 'དགོང་དག';
|
107 |
+
} else {
|
108 |
+
return 'མཚན་མོ';
|
109 |
+
}
|
110 |
+
},
|
111 |
+
week : {
|
112 |
+
dow : 0, // Sunday is the first day of the week.
|
113 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
114 |
+
}
|
115 |
+
});
|
116 |
+
|
117 |
+
return bo;
|
118 |
+
|
119 |
+
}));
|
bp-core/js/vendor/moment-js/locale/bo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},c={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},d=a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&a<5||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return a<4?"མཚན་མོ":a<10?"ཞོགས་ཀས":a<17?"ཉིན་གུང":a<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/br.js
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Breton [br]
|
3 |
+
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
function relativeTimeWithMutation(number, withoutSuffix, key) {
|
14 |
+
var format = {
|
15 |
+
'mm': 'munutenn',
|
16 |
+
'MM': 'miz',
|
17 |
+
'dd': 'devezh'
|
18 |
+
};
|
19 |
+
return number + ' ' + mutation(format[key], number);
|
20 |
+
}
|
21 |
+
function specialMutationForYears(number) {
|
22 |
+
switch (lastNumber(number)) {
|
23 |
+
case 1:
|
24 |
+
case 3:
|
25 |
+
case 4:
|
26 |
+
case 5:
|
27 |
+
case 9:
|
28 |
+
return number + ' bloaz';
|
29 |
+
default:
|
30 |
+
return number + ' vloaz';
|
31 |
+
}
|
32 |
+
}
|
33 |
+
function lastNumber(number) {
|
34 |
+
if (number > 9) {
|
35 |
+
return lastNumber(number % 10);
|
36 |
+
}
|
37 |
+
return number;
|
38 |
+
}
|
39 |
+
function mutation(text, number) {
|
40 |
+
if (number === 2) {
|
41 |
+
return softMutation(text);
|
42 |
+
}
|
43 |
+
return text;
|
44 |
+
}
|
45 |
+
function softMutation(text) {
|
46 |
+
var mutationTable = {
|
47 |
+
'm': 'v',
|
48 |
+
'b': 'v',
|
49 |
+
'd': 'z'
|
50 |
+
};
|
51 |
+
if (mutationTable[text.charAt(0)] === undefined) {
|
52 |
+
return text;
|
53 |
+
}
|
54 |
+
return mutationTable[text.charAt(0)] + text.substring(1);
|
55 |
+
}
|
56 |
+
|
57 |
+
var br = moment.defineLocale('br', {
|
58 |
+
months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
|
59 |
+
monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
|
60 |
+
weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'),
|
61 |
+
weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
|
62 |
+
weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
|
63 |
+
weekdaysParseExact : true,
|
64 |
+
longDateFormat : {
|
65 |
+
LT : 'h[e]mm A',
|
66 |
+
LTS : 'h[e]mm:ss A',
|
67 |
+
L : 'DD/MM/YYYY',
|
68 |
+
LL : 'D [a viz] MMMM YYYY',
|
69 |
+
LLL : 'D [a viz] MMMM YYYY h[e]mm A',
|
70 |
+
LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A'
|
71 |
+
},
|
72 |
+
calendar : {
|
73 |
+
sameDay : '[Hiziv da] LT',
|
74 |
+
nextDay : '[Warc\'hoazh da] LT',
|
75 |
+
nextWeek : 'dddd [da] LT',
|
76 |
+
lastDay : '[Dec\'h da] LT',
|
77 |
+
lastWeek : 'dddd [paset da] LT',
|
78 |
+
sameElse : 'L'
|
79 |
+
},
|
80 |
+
relativeTime : {
|
81 |
+
future : 'a-benn %s',
|
82 |
+
past : '%s \'zo',
|
83 |
+
s : 'un nebeud segondennoù',
|
84 |
+
m : 'ur vunutenn',
|
85 |
+
mm : relativeTimeWithMutation,
|
86 |
+
h : 'un eur',
|
87 |
+
hh : '%d eur',
|
88 |
+
d : 'un devezh',
|
89 |
+
dd : relativeTimeWithMutation,
|
90 |
+
M : 'ur miz',
|
91 |
+
MM : relativeTimeWithMutation,
|
92 |
+
y : 'ur bloaz',
|
93 |
+
yy : specialMutationForYears
|
94 |
+
},
|
95 |
+
ordinalParse: /\d{1,2}(añ|vet)/,
|
96 |
+
ordinal : function (number) {
|
97 |
+
var output = (number === 1) ? 'añ' : 'vet';
|
98 |
+
return number + output;
|
99 |
+
},
|
100 |
+
week : {
|
101 |
+
dow : 1, // Monday is the first day of the week.
|
102 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
103 |
+
}
|
104 |
+
});
|
105 |
+
|
106 |
+
return br;
|
107 |
+
|
108 |
+
}));
|
bp-core/js/vendor/moment-js/locale/br.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return a+" "+e(d[c],a)}function c(a){switch(d(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}function d(a){return a>9?d(a%10):a}function e(a,b){return 2===b?f(a):a}function f(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)}var g=a.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:b,h:"un eur",hh:"%d eur",d:"un devezh",dd:b,M:"ur miz",MM:b,y:"ur bloaz",yy:c},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){var b=1===a?"añ":"vet";return a+b},week:{dow:1,doy:4}});return g});
|
bp-core/js/vendor/moment-js/locale/bs.js
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Bosnian [bs]
|
3 |
+
//! author : Nedim Cholich : https://github.com/frontyard
|
4 |
+
//! based on (hr) translation by Bojan Marković
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
function translate(number, withoutSuffix, key) {
|
15 |
+
var result = number + ' ';
|
16 |
+
switch (key) {
|
17 |
+
case 'm':
|
18 |
+
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
19 |
+
case 'mm':
|
20 |
+
if (number === 1) {
|
21 |
+
result += 'minuta';
|
22 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
23 |
+
result += 'minute';
|
24 |
+
} else {
|
25 |
+
result += 'minuta';
|
26 |
+
}
|
27 |
+
return result;
|
28 |
+
case 'h':
|
29 |
+
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
30 |
+
case 'hh':
|
31 |
+
if (number === 1) {
|
32 |
+
result += 'sat';
|
33 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
34 |
+
result += 'sata';
|
35 |
+
} else {
|
36 |
+
result += 'sati';
|
37 |
+
}
|
38 |
+
return result;
|
39 |
+
case 'dd':
|
40 |
+
if (number === 1) {
|
41 |
+
result += 'dan';
|
42 |
+
} else {
|
43 |
+
result += 'dana';
|
44 |
+
}
|
45 |
+
return result;
|
46 |
+
case 'MM':
|
47 |
+
if (number === 1) {
|
48 |
+
result += 'mjesec';
|
49 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
50 |
+
result += 'mjeseca';
|
51 |
+
} else {
|
52 |
+
result += 'mjeseci';
|
53 |
+
}
|
54 |
+
return result;
|
55 |
+
case 'yy':
|
56 |
+
if (number === 1) {
|
57 |
+
result += 'godina';
|
58 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
59 |
+
result += 'godine';
|
60 |
+
} else {
|
61 |
+
result += 'godina';
|
62 |
+
}
|
63 |
+
return result;
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
var bs = moment.defineLocale('bs', {
|
68 |
+
months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
|
69 |
+
monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
70 |
+
monthsParseExact: true,
|
71 |
+
weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
|
72 |
+
weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
73 |
+
weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
|
74 |
+
weekdaysParseExact : true,
|
75 |
+
longDateFormat : {
|
76 |
+
LT : 'H:mm',
|
77 |
+
LTS : 'H:mm:ss',
|
78 |
+
L : 'DD.MM.YYYY',
|
79 |
+
LL : 'D. MMMM YYYY',
|
80 |
+
LLL : 'D. MMMM YYYY H:mm',
|
81 |
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
82 |
+
},
|
83 |
+
calendar : {
|
84 |
+
sameDay : '[danas u] LT',
|
85 |
+
nextDay : '[sutra u] LT',
|
86 |
+
nextWeek : function () {
|
87 |
+
switch (this.day()) {
|
88 |
+
case 0:
|
89 |
+
return '[u] [nedjelju] [u] LT';
|
90 |
+
case 3:
|
91 |
+
return '[u] [srijedu] [u] LT';
|
92 |
+
case 6:
|
93 |
+
return '[u] [subotu] [u] LT';
|
94 |
+
case 1:
|
95 |
+
case 2:
|
96 |
+
case 4:
|
97 |
+
case 5:
|
98 |
+
return '[u] dddd [u] LT';
|
99 |
+
}
|
100 |
+
},
|
101 |
+
lastDay : '[jučer u] LT',
|
102 |
+
lastWeek : function () {
|
103 |
+
switch (this.day()) {
|
104 |
+
case 0:
|
105 |
+
case 3:
|
106 |
+
return '[prošlu] dddd [u] LT';
|
107 |
+
case 6:
|
108 |
+
return '[prošle] [subote] [u] LT';
|
109 |
+
case 1:
|
110 |
+
case 2:
|
111 |
+
case 4:
|
112 |
+
case 5:
|
113 |
+
return '[prošli] dddd [u] LT';
|
114 |
+
}
|
115 |
+
},
|
116 |
+
sameElse : 'L'
|
117 |
+
},
|
118 |
+
relativeTime : {
|
119 |
+
future : 'za %s',
|
120 |
+
past : 'prije %s',
|
121 |
+
s : 'par sekundi',
|
122 |
+
m : translate,
|
123 |
+
mm : translate,
|
124 |
+
h : translate,
|
125 |
+
hh : translate,
|
126 |
+
d : 'dan',
|
127 |
+
dd : translate,
|
128 |
+
M : 'mjesec',
|
129 |
+
MM : translate,
|
130 |
+
y : 'godinu',
|
131 |
+
yy : translate
|
132 |
+
},
|
133 |
+
ordinalParse: /\d{1,2}\./,
|
134 |
+
ordinal : '%d.',
|
135 |
+
week : {
|
136 |
+
dow : 1, // Monday is the first day of the week.
|
137 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
138 |
+
}
|
139 |
+
});
|
140 |
+
|
141 |
+
return bs;
|
142 |
+
|
143 |
+
}));
|
bp-core/js/vendor/moment-js/locale/bs.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}var c=a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:b,mm:b,h:b,hh:b,d:"dan",dd:b,M:"mjesec",MM:b,y:"godinu",yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/ca.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Catalan [ca]
|
3 |
+
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ca = moment.defineLocale('ca', {
|
14 |
+
months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
|
15 |
+
monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
|
18 |
+
weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
|
19 |
+
weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'H:mm',
|
23 |
+
LTS : 'H:mm:ss',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY H:mm',
|
27 |
+
LLLL : 'dddd D MMMM YYYY H:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay : function () {
|
31 |
+
return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
32 |
+
},
|
33 |
+
nextDay : function () {
|
34 |
+
return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
35 |
+
},
|
36 |
+
nextWeek : function () {
|
37 |
+
return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
38 |
+
},
|
39 |
+
lastDay : function () {
|
40 |
+
return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
41 |
+
},
|
42 |
+
lastWeek : function () {
|
43 |
+
return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
44 |
+
},
|
45 |
+
sameElse : 'L'
|
46 |
+
},
|
47 |
+
relativeTime : {
|
48 |
+
future : 'en %s',
|
49 |
+
past : 'fa %s',
|
50 |
+
s : 'uns segons',
|
51 |
+
m : 'un minut',
|
52 |
+
mm : '%d minuts',
|
53 |
+
h : 'una hora',
|
54 |
+
hh : '%d hores',
|
55 |
+
d : 'un dia',
|
56 |
+
dd : '%d dies',
|
57 |
+
M : 'un mes',
|
58 |
+
MM : '%d mesos',
|
59 |
+
y : 'un any',
|
60 |
+
yy : '%d anys'
|
61 |
+
},
|
62 |
+
ordinalParse: /\d{1,2}(r|n|t|è|a)/,
|
63 |
+
ordinal : function (number, period) {
|
64 |
+
var output = (number === 1) ? 'r' :
|
65 |
+
(number === 2) ? 'n' :
|
66 |
+
(number === 3) ? 'r' :
|
67 |
+
(number === 4) ? 't' : 'è';
|
68 |
+
if (period === 'w' || period === 'W') {
|
69 |
+
output = 'a';
|
70 |
+
}
|
71 |
+
return number + output;
|
72 |
+
},
|
73 |
+
week : {
|
74 |
+
dow : 1, // Monday is the first day of the week.
|
75 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
76 |
+
}
|
77 |
+
});
|
78 |
+
|
79 |
+
return ca;
|
80 |
+
|
81 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ca.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return"w"!==b&&"W"!==b||(c="a"),a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/cs.js
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Czech [cs]
|
3 |
+
//! author : petrbela : https://github.com/petrbela
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
|
14 |
+
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
|
15 |
+
function plural(n) {
|
16 |
+
return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
|
17 |
+
}
|
18 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
19 |
+
var result = number + ' ';
|
20 |
+
switch (key) {
|
21 |
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
22 |
+
return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
|
23 |
+
case 'm': // a minute / in a minute / a minute ago
|
24 |
+
return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
|
25 |
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
26 |
+
if (withoutSuffix || isFuture) {
|
27 |
+
return result + (plural(number) ? 'minuty' : 'minut');
|
28 |
+
} else {
|
29 |
+
return result + 'minutami';
|
30 |
+
}
|
31 |
+
break;
|
32 |
+
case 'h': // an hour / in an hour / an hour ago
|
33 |
+
return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
|
34 |
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
35 |
+
if (withoutSuffix || isFuture) {
|
36 |
+
return result + (plural(number) ? 'hodiny' : 'hodin');
|
37 |
+
} else {
|
38 |
+
return result + 'hodinami';
|
39 |
+
}
|
40 |
+
break;
|
41 |
+
case 'd': // a day / in a day / a day ago
|
42 |
+
return (withoutSuffix || isFuture) ? 'den' : 'dnem';
|
43 |
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
44 |
+
if (withoutSuffix || isFuture) {
|
45 |
+
return result + (plural(number) ? 'dny' : 'dní');
|
46 |
+
} else {
|
47 |
+
return result + 'dny';
|
48 |
+
}
|
49 |
+
break;
|
50 |
+
case 'M': // a month / in a month / a month ago
|
51 |
+
return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
|
52 |
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
53 |
+
if (withoutSuffix || isFuture) {
|
54 |
+
return result + (plural(number) ? 'měsíce' : 'měsíců');
|
55 |
+
} else {
|
56 |
+
return result + 'měsíci';
|
57 |
+
}
|
58 |
+
break;
|
59 |
+
case 'y': // a year / in a year / a year ago
|
60 |
+
return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
|
61 |
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
62 |
+
if (withoutSuffix || isFuture) {
|
63 |
+
return result + (plural(number) ? 'roky' : 'let');
|
64 |
+
} else {
|
65 |
+
return result + 'lety';
|
66 |
+
}
|
67 |
+
break;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
var cs = moment.defineLocale('cs', {
|
72 |
+
months : months,
|
73 |
+
monthsShort : monthsShort,
|
74 |
+
monthsParse : (function (months, monthsShort) {
|
75 |
+
var i, _monthsParse = [];
|
76 |
+
for (i = 0; i < 12; i++) {
|
77 |
+
// use custom parser to solve problem with July (červenec)
|
78 |
+
_monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
|
79 |
+
}
|
80 |
+
return _monthsParse;
|
81 |
+
}(months, monthsShort)),
|
82 |
+
shortMonthsParse : (function (monthsShort) {
|
83 |
+
var i, _shortMonthsParse = [];
|
84 |
+
for (i = 0; i < 12; i++) {
|
85 |
+
_shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
|
86 |
+
}
|
87 |
+
return _shortMonthsParse;
|
88 |
+
}(monthsShort)),
|
89 |
+
longMonthsParse : (function (months) {
|
90 |
+
var i, _longMonthsParse = [];
|
91 |
+
for (i = 0; i < 12; i++) {
|
92 |
+
_longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
|
93 |
+
}
|
94 |
+
return _longMonthsParse;
|
95 |
+
}(months)),
|
96 |
+
weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
97 |
+
weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
|
98 |
+
weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
|
99 |
+
longDateFormat : {
|
100 |
+
LT: 'H:mm',
|
101 |
+
LTS : 'H:mm:ss',
|
102 |
+
L : 'DD.MM.YYYY',
|
103 |
+
LL : 'D. MMMM YYYY',
|
104 |
+
LLL : 'D. MMMM YYYY H:mm',
|
105 |
+
LLLL : 'dddd D. MMMM YYYY H:mm',
|
106 |
+
l : 'D. M. YYYY'
|
107 |
+
},
|
108 |
+
calendar : {
|
109 |
+
sameDay: '[dnes v] LT',
|
110 |
+
nextDay: '[zítra v] LT',
|
111 |
+
nextWeek: function () {
|
112 |
+
switch (this.day()) {
|
113 |
+
case 0:
|
114 |
+
return '[v neděli v] LT';
|
115 |
+
case 1:
|
116 |
+
case 2:
|
117 |
+
return '[v] dddd [v] LT';
|
118 |
+
case 3:
|
119 |
+
return '[ve středu v] LT';
|
120 |
+
case 4:
|
121 |
+
return '[ve čtvrtek v] LT';
|
122 |
+
case 5:
|
123 |
+
return '[v pátek v] LT';
|
124 |
+
case 6:
|
125 |
+
return '[v sobotu v] LT';
|
126 |
+
}
|
127 |
+
},
|
128 |
+
lastDay: '[včera v] LT',
|
129 |
+
lastWeek: function () {
|
130 |
+
switch (this.day()) {
|
131 |
+
case 0:
|
132 |
+
return '[minulou neděli v] LT';
|
133 |
+
case 1:
|
134 |
+
case 2:
|
135 |
+
return '[minulé] dddd [v] LT';
|
136 |
+
case 3:
|
137 |
+
return '[minulou středu v] LT';
|
138 |
+
case 4:
|
139 |
+
case 5:
|
140 |
+
return '[minulý] dddd [v] LT';
|
141 |
+
case 6:
|
142 |
+
return '[minulou sobotu v] LT';
|
143 |
+
}
|
144 |
+
},
|
145 |
+
sameElse: 'L'
|
146 |
+
},
|
147 |
+
relativeTime : {
|
148 |
+
future : 'za %s',
|
149 |
+
past : 'před %s',
|
150 |
+
s : translate,
|
151 |
+
m : translate,
|
152 |
+
mm : translate,
|
153 |
+
h : translate,
|
154 |
+
hh : translate,
|
155 |
+
d : translate,
|
156 |
+
dd : translate,
|
157 |
+
M : translate,
|
158 |
+
MM : translate,
|
159 |
+
y : translate,
|
160 |
+
yy : translate
|
161 |
+
},
|
162 |
+
ordinalParse : /\d{1,2}\./,
|
163 |
+
ordinal : '%d.',
|
164 |
+
week : {
|
165 |
+
dow : 1, // Monday is the first day of the week.
|
166 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
167 |
+
}
|
168 |
+
});
|
169 |
+
|
170 |
+
return cs;
|
171 |
+
|
172 |
+
}));
|
bp-core/js/vendor/moment-js/locale/cs.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a>1&&a<5&&1!==~~(a/10)}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"pár sekund":"pár sekundami";case"m":return c?"minuta":e?"minutu":"minutou";case"mm":return c||e?f+(b(a)?"minuty":"minut"):f+"minutami";case"h":return c?"hodina":e?"hodinu":"hodinou";case"hh":return c||e?f+(b(a)?"hodiny":"hodin"):f+"hodinami";case"d":return c||e?"den":"dnem";case"dd":return c||e?f+(b(a)?"dny":"dní"):f+"dny";case"M":return c||e?"měsíc":"měsícem";case"MM":return c||e?f+(b(a)?"měsíce":"měsíců"):f+"měsíci";case"y":return c||e?"rok":"rokem";case"yy":return c||e?f+(b(a)?"roky":"let"):f+"lety"}}var d="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),e="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),f=a.defineLocale("cs",{months:d,monthsShort:e,monthsParse:function(a,b){var c,d=[];for(c=0;c<12;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(d,e),shortMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(e),longMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(d),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/cv.js
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chuvash [cv]
|
3 |
+
//! author : Anatoly Mironov : https://github.com/mirontoli
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var cv = moment.defineLocale('cv', {
|
14 |
+
months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
|
15 |
+
monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
16 |
+
weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
|
17 |
+
weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
18 |
+
weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD-MM-YYYY',
|
23 |
+
LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
24 |
+
LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
25 |
+
LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay: '[Паян] LT [сехетре]',
|
29 |
+
nextDay: '[Ыран] LT [сехетре]',
|
30 |
+
lastDay: '[Ӗнер] LT [сехетре]',
|
31 |
+
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
32 |
+
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : function (output) {
|
37 |
+
var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
|
38 |
+
return output + affix;
|
39 |
+
},
|
40 |
+
past : '%s каялла',
|
41 |
+
s : 'пӗр-ик ҫеккунт',
|
42 |
+
m : 'пӗр минут',
|
43 |
+
mm : '%d минут',
|
44 |
+
h : 'пӗр сехет',
|
45 |
+
hh : '%d сехет',
|
46 |
+
d : 'пӗр кун',
|
47 |
+
dd : '%d кун',
|
48 |
+
M : 'пӗр уйӑх',
|
49 |
+
MM : '%d уйӑх',
|
50 |
+
y : 'пӗр ҫул',
|
51 |
+
yy : '%d ҫул'
|
52 |
+
},
|
53 |
+
ordinalParse: /\d{1,2}-мӗш/,
|
54 |
+
ordinal : '%d-мӗш',
|
55 |
+
week : {
|
56 |
+
dow : 1, // Monday is the first day of the week.
|
57 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
58 |
+
}
|
59 |
+
});
|
60 |
+
|
61 |
+
return cv;
|
62 |
+
|
63 |
+
}));
|
bp-core/js/vendor/moment-js/locale/cv.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран";return a+b},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/cy.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Welsh [cy]
|
3 |
+
//! author : Robert Allen : https://github.com/robgallen
|
4 |
+
//! author : https://github.com/ryangreaves
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var cy = moment.defineLocale('cy', {
|
15 |
+
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
|
16 |
+
monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
|
17 |
+
weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
|
18 |
+
weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
|
19 |
+
weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
// time formats are the same as en-gb
|
22 |
+
longDateFormat: {
|
23 |
+
LT: 'HH:mm',
|
24 |
+
LTS : 'HH:mm:ss',
|
25 |
+
L: 'DD/MM/YYYY',
|
26 |
+
LL: 'D MMMM YYYY',
|
27 |
+
LLL: 'D MMMM YYYY HH:mm',
|
28 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
29 |
+
},
|
30 |
+
calendar: {
|
31 |
+
sameDay: '[Heddiw am] LT',
|
32 |
+
nextDay: '[Yfory am] LT',
|
33 |
+
nextWeek: 'dddd [am] LT',
|
34 |
+
lastDay: '[Ddoe am] LT',
|
35 |
+
lastWeek: 'dddd [diwethaf am] LT',
|
36 |
+
sameElse: 'L'
|
37 |
+
},
|
38 |
+
relativeTime: {
|
39 |
+
future: 'mewn %s',
|
40 |
+
past: '%s yn ôl',
|
41 |
+
s: 'ychydig eiliadau',
|
42 |
+
m: 'munud',
|
43 |
+
mm: '%d munud',
|
44 |
+
h: 'awr',
|
45 |
+
hh: '%d awr',
|
46 |
+
d: 'diwrnod',
|
47 |
+
dd: '%d diwrnod',
|
48 |
+
M: 'mis',
|
49 |
+
MM: '%d mis',
|
50 |
+
y: 'blwyddyn',
|
51 |
+
yy: '%d flynedd'
|
52 |
+
},
|
53 |
+
ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
|
54 |
+
// traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
|
55 |
+
ordinal: function (number) {
|
56 |
+
var b = number,
|
57 |
+
output = '',
|
58 |
+
lookup = [
|
59 |
+
'', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
|
60 |
+
'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
|
61 |
+
];
|
62 |
+
if (b > 20) {
|
63 |
+
if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
|
64 |
+
output = 'fed'; // not 30ain, 70ain or 90ain
|
65 |
+
} else {
|
66 |
+
output = 'ain';
|
67 |
+
}
|
68 |
+
} else if (b > 0) {
|
69 |
+
output = lookup[b];
|
70 |
+
}
|
71 |
+
return number + output;
|
72 |
+
},
|
73 |
+
week : {
|
74 |
+
dow : 1, // Monday is the first day of the week.
|
75 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
76 |
+
}
|
77 |
+
});
|
78 |
+
|
79 |
+
return cy;
|
80 |
+
|
81 |
+
}));
|
bp-core/js/vendor/moment-js/locale/cy.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b=a,c="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return b>20?c=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(c=d[b]),a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/da.js
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Danish [da]
|
3 |
+
//! author : Ulrik Nielsen : https://github.com/mrbase
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var da = moment.defineLocale('da', {
|
14 |
+
months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
|
15 |
+
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
16 |
+
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
17 |
+
weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'),
|
18 |
+
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D. MMMM YYYY',
|
24 |
+
LLL : 'D. MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd [d.] D. MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[I dag kl.] LT',
|
29 |
+
nextDay : '[I morgen kl.] LT',
|
30 |
+
nextWeek : 'dddd [kl.] LT',
|
31 |
+
lastDay : '[I går kl.] LT',
|
32 |
+
lastWeek : '[sidste] dddd [kl] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'om %s',
|
37 |
+
past : '%s siden',
|
38 |
+
s : 'få sekunder',
|
39 |
+
m : 'et minut',
|
40 |
+
mm : '%d minutter',
|
41 |
+
h : 'en time',
|
42 |
+
hh : '%d timer',
|
43 |
+
d : 'en dag',
|
44 |
+
dd : '%d dage',
|
45 |
+
M : 'en måned',
|
46 |
+
MM : '%d måneder',
|
47 |
+
y : 'et år',
|
48 |
+
yy : '%d år'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}\./,
|
51 |
+
ordinal : '%d.',
|
52 |
+
week : {
|
53 |
+
dow : 1, // Monday is the first day of the week.
|
54 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
return da;
|
59 |
+
|
60 |
+
}));
|
bp-core/js/vendor/moment-js/locale/da.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/de-at.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : German (Austria) [de-at]
|
3 |
+
//! author : lluchs : https://github.com/lluchs
|
4 |
+
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
+
//! author : Martin Groller : https://github.com/MadMG
|
6 |
+
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
7 |
+
|
8 |
+
;(function (global, factory) {
|
9 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
10 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
11 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
12 |
+
factory(global.moment)
|
13 |
+
}(this, function (moment) { 'use strict';
|
14 |
+
|
15 |
+
|
16 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
17 |
+
var format = {
|
18 |
+
'm': ['eine Minute', 'einer Minute'],
|
19 |
+
'h': ['eine Stunde', 'einer Stunde'],
|
20 |
+
'd': ['ein Tag', 'einem Tag'],
|
21 |
+
'dd': [number + ' Tage', number + ' Tagen'],
|
22 |
+
'M': ['ein Monat', 'einem Monat'],
|
23 |
+
'MM': [number + ' Monate', number + ' Monaten'],
|
24 |
+
'y': ['ein Jahr', 'einem Jahr'],
|
25 |
+
'yy': [number + ' Jahre', number + ' Jahren']
|
26 |
+
};
|
27 |
+
return withoutSuffix ? format[key][0] : format[key][1];
|
28 |
+
}
|
29 |
+
|
30 |
+
var de_at = moment.defineLocale('de-at', {
|
31 |
+
months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
32 |
+
monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
33 |
+
monthsParseExact : true,
|
34 |
+
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
35 |
+
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
36 |
+
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
37 |
+
weekdaysParseExact : true,
|
38 |
+
longDateFormat : {
|
39 |
+
LT: 'HH:mm',
|
40 |
+
LTS: 'HH:mm:ss',
|
41 |
+
L : 'DD.MM.YYYY',
|
42 |
+
LL : 'D. MMMM YYYY',
|
43 |
+
LLL : 'D. MMMM YYYY HH:mm',
|
44 |
+
LLLL : 'dddd, D. MMMM YYYY HH:mm'
|
45 |
+
},
|
46 |
+
calendar : {
|
47 |
+
sameDay: '[heute um] LT [Uhr]',
|
48 |
+
sameElse: 'L',
|
49 |
+
nextDay: '[morgen um] LT [Uhr]',
|
50 |
+
nextWeek: 'dddd [um] LT [Uhr]',
|
51 |
+
lastDay: '[gestern um] LT [Uhr]',
|
52 |
+
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
53 |
+
},
|
54 |
+
relativeTime : {
|
55 |
+
future : 'in %s',
|
56 |
+
past : 'vor %s',
|
57 |
+
s : 'ein paar Sekunden',
|
58 |
+
m : processRelativeTime,
|
59 |
+
mm : '%d Minuten',
|
60 |
+
h : processRelativeTime,
|
61 |
+
hh : '%d Stunden',
|
62 |
+
d : processRelativeTime,
|
63 |
+
dd : processRelativeTime,
|
64 |
+
M : processRelativeTime,
|
65 |
+
MM : processRelativeTime,
|
66 |
+
y : processRelativeTime,
|
67 |
+
yy : processRelativeTime
|
68 |
+
},
|
69 |
+
ordinalParse: /\d{1,2}\./,
|
70 |
+
ordinal : '%d.',
|
71 |
+
week : {
|
72 |
+
dow : 1, // Monday is the first day of the week.
|
73 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
74 |
+
}
|
75 |
+
});
|
76 |
+
|
77 |
+
return de_at;
|
78 |
+
|
79 |
+
}));
|
bp-core/js/vendor/moment-js/locale/de-at.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}var c=a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:b,mm:"%d Minuten",h:b,hh:"%d Stunden",d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c});
|
bp-core/js/vendor/moment-js/locale/de.js
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : German [de]
|
3 |
+
//! author : lluchs : https://github.com/lluchs
|
4 |
+
//! author: Menelion Elensúle: https://github.com/Oire
|
5 |
+
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16 |
+
var format = {
|
17 |
+
'm': ['eine Minute', 'einer Minute'],
|
18 |
+
'h': ['eine Stunde', 'einer Stunde'],
|
19 |
+
'd': ['ein Tag', 'einem Tag'],
|
20 |
+
'dd': [number + ' Tage', number + ' Tagen'],
|
21 |
+
'M': ['ein Monat', 'einem Monat'],
|
22 |
+
'MM': [number + ' Monate', number + ' Monaten'],
|
23 |
+
'y': ['ein Jahr', 'einem Jahr'],
|
24 |
+
'yy': [number + ' Jahre', number + ' Jahren']
|
25 |
+
};
|
26 |
+
return withoutSuffix ? format[key][0] : format[key][1];
|
27 |
+
}
|
28 |
+
|
29 |
+
var de = moment.defineLocale('de', {
|
30 |
+
months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
31 |
+
monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
32 |
+
monthsParseExact : true,
|
33 |
+
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
34 |
+
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
35 |
+
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
36 |
+
weekdaysParseExact : true,
|
37 |
+
longDateFormat : {
|
38 |
+
LT: 'HH:mm',
|
39 |
+
LTS: 'HH:mm:ss',
|
40 |
+
L : 'DD.MM.YYYY',
|
41 |
+
LL : 'D. MMMM YYYY',
|
42 |
+
LLL : 'D. MMMM YYYY HH:mm',
|
43 |
+
LLLL : 'dddd, D. MMMM YYYY HH:mm'
|
44 |
+
},
|
45 |
+
calendar : {
|
46 |
+
sameDay: '[heute um] LT [Uhr]',
|
47 |
+
sameElse: 'L',
|
48 |
+
nextDay: '[morgen um] LT [Uhr]',
|
49 |
+
nextWeek: 'dddd [um] LT [Uhr]',
|
50 |
+
lastDay: '[gestern um] LT [Uhr]',
|
51 |
+
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
52 |
+
},
|
53 |
+
relativeTime : {
|
54 |
+
future : 'in %s',
|
55 |
+
past : 'vor %s',
|
56 |
+
s : 'ein paar Sekunden',
|
57 |
+
m : processRelativeTime,
|
58 |
+
mm : '%d Minuten',
|
59 |
+
h : processRelativeTime,
|
60 |
+
hh : '%d Stunden',
|
61 |
+
d : processRelativeTime,
|
62 |
+
dd : processRelativeTime,
|
63 |
+
M : processRelativeTime,
|
64 |
+
MM : processRelativeTime,
|
65 |
+
y : processRelativeTime,
|
66 |
+
yy : processRelativeTime
|
67 |
+
},
|
68 |
+
ordinalParse: /\d{1,2}\./,
|
69 |
+
ordinal : '%d.',
|
70 |
+
week : {
|
71 |
+
dow : 1, // Monday is the first day of the week.
|
72 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
73 |
+
}
|
74 |
+
});
|
75 |
+
|
76 |
+
return de;
|
77 |
+
|
78 |
+
}));
|
bp-core/js/vendor/moment-js/locale/de.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}var c=a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:b,mm:"%d Minuten",h:b,hh:"%d Stunden",d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c});
|
bp-core/js/vendor/moment-js/locale/dv.js
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Maldivian [dv]
|
3 |
+
//! author : Jawish Hameed : https://github.com/jawish
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var months = [
|
14 |
+
'ޖެނުއަރީ',
|
15 |
+
'ފެބްރުއަރީ',
|
16 |
+
'މާރިޗު',
|
17 |
+
'އޭޕްރީލު',
|
18 |
+
'މޭ',
|
19 |
+
'ޖޫން',
|
20 |
+
'ޖުލައި',
|
21 |
+
'އޯގަސްޓު',
|
22 |
+
'ސެޕްޓެމްބަރު',
|
23 |
+
'އޮކްޓޯބަރު',
|
24 |
+
'ނޮވެމްބަރު',
|
25 |
+
'ޑިސެމްބަރު'
|
26 |
+
], weekdays = [
|
27 |
+
'އާދިއްތަ',
|
28 |
+
'ހޯމަ',
|
29 |
+
'އަންގާރަ',
|
30 |
+
'ބުދަ',
|
31 |
+
'ބުރާސްފަތި',
|
32 |
+
'ހުކުރު',
|
33 |
+
'ހޮނިހިރު'
|
34 |
+
];
|
35 |
+
|
36 |
+
var dv = moment.defineLocale('dv', {
|
37 |
+
months : months,
|
38 |
+
monthsShort : months,
|
39 |
+
weekdays : weekdays,
|
40 |
+
weekdaysShort : weekdays,
|
41 |
+
weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
|
42 |
+
longDateFormat : {
|
43 |
+
|
44 |
+
LT : 'HH:mm',
|
45 |
+
LTS : 'HH:mm:ss',
|
46 |
+
L : 'D/M/YYYY',
|
47 |
+
LL : 'D MMMM YYYY',
|
48 |
+
LLL : 'D MMMM YYYY HH:mm',
|
49 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
50 |
+
},
|
51 |
+
meridiemParse: /މކ|މފ/,
|
52 |
+
isPM : function (input) {
|
53 |
+
return 'މފ' === input;
|
54 |
+
},
|
55 |
+
meridiem : function (hour, minute, isLower) {
|
56 |
+
if (hour < 12) {
|
57 |
+
return 'މކ';
|
58 |
+
} else {
|
59 |
+
return 'މފ';
|
60 |
+
}
|
61 |
+
},
|
62 |
+
calendar : {
|
63 |
+
sameDay : '[މިއަދު] LT',
|
64 |
+
nextDay : '[މާދަމާ] LT',
|
65 |
+
nextWeek : 'dddd LT',
|
66 |
+
lastDay : '[އިއްޔެ] LT',
|
67 |
+
lastWeek : '[ފާއިތުވި] dddd LT',
|
68 |
+
sameElse : 'L'
|
69 |
+
},
|
70 |
+
relativeTime : {
|
71 |
+
future : 'ތެރޭގައި %s',
|
72 |
+
past : 'ކުރިން %s',
|
73 |
+
s : 'ސިކުންތުކޮޅެއް',
|
74 |
+
m : 'މިނިޓެއް',
|
75 |
+
mm : 'މިނިޓު %d',
|
76 |
+
h : 'ގަޑިއިރެއް',
|
77 |
+
hh : 'ގަޑިއިރު %d',
|
78 |
+
d : 'ދުވަހެއް',
|
79 |
+
dd : 'ދުވަސް %d',
|
80 |
+
M : 'މަހެއް',
|
81 |
+
MM : 'މަސް %d',
|
82 |
+
y : 'އަހަރެއް',
|
83 |
+
yy : 'އަހަރު %d'
|
84 |
+
},
|
85 |
+
preparse: function (string) {
|
86 |
+
return string.replace(/،/g, ',');
|
87 |
+
},
|
88 |
+
postformat: function (string) {
|
89 |
+
return string.replace(/,/g, '،');
|
90 |
+
},
|
91 |
+
week : {
|
92 |
+
dow : 7, // Sunday is the first day of the week.
|
93 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
94 |
+
}
|
95 |
+
});
|
96 |
+
|
97 |
+
return dv;
|
98 |
+
|
99 |
+
}));
|
bp-core/js/vendor/moment-js/locale/dv.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],c=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],d=a.defineLocale("dv",{months:b,monthsShort:b,weekdays:c,weekdaysShort:c,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(a){return"މފ"===a},meridiem:function(a,b,c){return a<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}});return d});
|
bp-core/js/vendor/moment-js/locale/el.js
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Greek [el]
|
3 |
+
//! author : Aggelos Karalias : https://github.com/mehiel
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
function isFunction(input) {
|
13 |
+
return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
|
14 |
+
}
|
15 |
+
|
16 |
+
|
17 |
+
var el = moment.defineLocale('el', {
|
18 |
+
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
19 |
+
monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
|
20 |
+
months : function (momentToFormat, format) {
|
21 |
+
if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
|
22 |
+
return this._monthsGenitiveEl[momentToFormat.month()];
|
23 |
+
} else {
|
24 |
+
return this._monthsNominativeEl[momentToFormat.month()];
|
25 |
+
}
|
26 |
+
},
|
27 |
+
monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
|
28 |
+
weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
|
29 |
+
weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
30 |
+
weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
31 |
+
meridiem : function (hours, minutes, isLower) {
|
32 |
+
if (hours > 11) {
|
33 |
+
return isLower ? 'μμ' : 'ΜΜ';
|
34 |
+
} else {
|
35 |
+
return isLower ? 'πμ' : 'ΠΜ';
|
36 |
+
}
|
37 |
+
},
|
38 |
+
isPM : function (input) {
|
39 |
+
return ((input + '').toLowerCase()[0] === 'μ');
|
40 |
+
},
|
41 |
+
meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
|
42 |
+
longDateFormat : {
|
43 |
+
LT : 'h:mm A',
|
44 |
+
LTS : 'h:mm:ss A',
|
45 |
+
L : 'DD/MM/YYYY',
|
46 |
+
LL : 'D MMMM YYYY',
|
47 |
+
LLL : 'D MMMM YYYY h:mm A',
|
48 |
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
49 |
+
},
|
50 |
+
calendarEl : {
|
51 |
+
sameDay : '[Σήμερα {}] LT',
|
52 |
+
nextDay : '[Αύριο {}] LT',
|
53 |
+
nextWeek : 'dddd [{}] LT',
|
54 |
+
lastDay : '[Χθες {}] LT',
|
55 |
+
lastWeek : function () {
|
56 |
+
switch (this.day()) {
|
57 |
+
case 6:
|
58 |
+
return '[το προηγούμενο] dddd [{}] LT';
|
59 |
+
default:
|
60 |
+
return '[την προηγούμενη] dddd [{}] LT';
|
61 |
+
}
|
62 |
+
},
|
63 |
+
sameElse : 'L'
|
64 |
+
},
|
65 |
+
calendar : function (key, mom) {
|
66 |
+
var output = this._calendarEl[key],
|
67 |
+
hours = mom && mom.hours();
|
68 |
+
if (isFunction(output)) {
|
69 |
+
output = output.apply(mom);
|
70 |
+
}
|
71 |
+
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
|
72 |
+
},
|
73 |
+
relativeTime : {
|
74 |
+
future : 'σε %s',
|
75 |
+
past : '%s πριν',
|
76 |
+
s : 'λίγα δευτερόλεπτα',
|
77 |
+
m : 'ένα λεπτό',
|
78 |
+
mm : '%d λεπτά',
|
79 |
+
h : 'μία ώρα',
|
80 |
+
hh : '%d ώρες',
|
81 |
+
d : 'μία μέρα',
|
82 |
+
dd : '%d μέρες',
|
83 |
+
M : 'ένας μήνας',
|
84 |
+
MM : '%d μήνες',
|
85 |
+
y : 'ένας χρόνος',
|
86 |
+
yy : '%d χρόνια'
|
87 |
+
},
|
88 |
+
ordinalParse: /\d{1,2}η/,
|
89 |
+
ordinal: '%dη',
|
90 |
+
week : {
|
91 |
+
dow : 1, // Monday is the first day of the week.
|
92 |
+
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
93 |
+
}
|
94 |
+
});
|
95 |
+
|
96 |
+
return el;
|
97 |
+
|
98 |
+
}));
|
bp-core/js/vendor/moment-js/locale/el.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}var c=a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,c){var d=this._calendarEl[a],e=c&&c.hours();return b(d)&&(d=d.apply(c)),d.replace("{}",e%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return c});
|
bp-core/js/vendor/moment-js/locale/en-au.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (Australia) [en-au]
|
3 |
+
//! author : Jared Morse : https://github.com/jarcoal
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var en_au = moment.defineLocale('en-au', {
|
14 |
+
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16 |
+
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
17 |
+
weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'h:mm A',
|
21 |
+
LTS : 'h:mm:ss A',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY h:mm A',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Today at] LT',
|
29 |
+
nextDay : '[Tomorrow at] LT',
|
30 |
+
nextWeek : 'dddd [at] LT',
|
31 |
+
lastDay : '[Yesterday at] LT',
|
32 |
+
lastWeek : '[Last] dddd [at] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'in %s',
|
37 |
+
past : '%s ago',
|
38 |
+
s : 'a few seconds',
|
39 |
+
m : 'a minute',
|
40 |
+
mm : '%d minutes',
|
41 |
+
h : 'an hour',
|
42 |
+
hh : '%d hours',
|
43 |
+
d : 'a day',
|
44 |
+
dd : '%d days',
|
45 |
+
M : 'a month',
|
46 |
+
MM : '%d months',
|
47 |
+
y : 'a year',
|
48 |
+
yy : '%d years'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
var b = number % 10,
|
53 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
54 |
+
(b === 1) ? 'st' :
|
55 |
+
(b === 2) ? 'nd' :
|
56 |
+
(b === 3) ? 'rd' : 'th';
|
57 |
+
return number + output;
|
58 |
+
},
|
59 |
+
week : {
|
60 |
+
dow : 1, // Monday is the first day of the week.
|
61 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
return en_au;
|
66 |
+
|
67 |
+
}));
|
bp-core/js/vendor/moment-js/locale/en-au.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/en-ca.js
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (Canada) [en-ca]
|
3 |
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var en_ca = moment.defineLocale('en-ca', {
|
14 |
+
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16 |
+
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
17 |
+
weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'h:mm A',
|
21 |
+
LTS : 'h:mm:ss A',
|
22 |
+
L : 'YYYY-MM-DD',
|
23 |
+
LL : 'MMMM D, YYYY',
|
24 |
+
LLL : 'MMMM D, YYYY h:mm A',
|
25 |
+
LLLL : 'dddd, MMMM D, YYYY h:mm A'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Today at] LT',
|
29 |
+
nextDay : '[Tomorrow at] LT',
|
30 |
+
nextWeek : 'dddd [at] LT',
|
31 |
+
lastDay : '[Yesterday at] LT',
|
32 |
+
lastWeek : '[Last] dddd [at] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'in %s',
|
37 |
+
past : '%s ago',
|
38 |
+
s : 'a few seconds',
|
39 |
+
m : 'a minute',
|
40 |
+
mm : '%d minutes',
|
41 |
+
h : 'an hour',
|
42 |
+
hh : '%d hours',
|
43 |
+
d : 'a day',
|
44 |
+
dd : '%d days',
|
45 |
+
M : 'a month',
|
46 |
+
MM : '%d months',
|
47 |
+
y : 'a year',
|
48 |
+
yy : '%d years'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
var b = number % 10,
|
53 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
54 |
+
(b === 1) ? 'st' :
|
55 |
+
(b === 2) ? 'nd' :
|
56 |
+
(b === 3) ? 'rd' : 'th';
|
57 |
+
return number + output;
|
58 |
+
}
|
59 |
+
});
|
60 |
+
|
61 |
+
return en_ca;
|
62 |
+
|
63 |
+
}));
|
bp-core/js/vendor/moment-js/locale/en-ca.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}});return b});
|
bp-core/js/vendor/moment-js/locale/en-gb.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (United Kingdom) [en-gb]
|
3 |
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var en_gb = moment.defineLocale('en-gb', {
|
14 |
+
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16 |
+
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
17 |
+
weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Today at] LT',
|
29 |
+
nextDay : '[Tomorrow at] LT',
|
30 |
+
nextWeek : 'dddd [at] LT',
|
31 |
+
lastDay : '[Yesterday at] LT',
|
32 |
+
lastWeek : '[Last] dddd [at] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'in %s',
|
37 |
+
past : '%s ago',
|
38 |
+
s : 'a few seconds',
|
39 |
+
m : 'a minute',
|
40 |
+
mm : '%d minutes',
|
41 |
+
h : 'an hour',
|
42 |
+
hh : '%d hours',
|
43 |
+
d : 'a day',
|
44 |
+
dd : '%d days',
|
45 |
+
M : 'a month',
|
46 |
+
MM : '%d months',
|
47 |
+
y : 'a year',
|
48 |
+
yy : '%d years'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
var b = number % 10,
|
53 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
54 |
+
(b === 1) ? 'st' :
|
55 |
+
(b === 2) ? 'nd' :
|
56 |
+
(b === 3) ? 'rd' : 'th';
|
57 |
+
return number + output;
|
58 |
+
},
|
59 |
+
week : {
|
60 |
+
dow : 1, // Monday is the first day of the week.
|
61 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
return en_gb;
|
66 |
+
|
67 |
+
}));
|
bp-core/js/vendor/moment-js/locale/en-gb.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/en-ie.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (Ireland) [en-ie]
|
3 |
+
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var en_ie = moment.defineLocale('en-ie', {
|
14 |
+
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16 |
+
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
17 |
+
weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD-MM-YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Today at] LT',
|
29 |
+
nextDay : '[Tomorrow at] LT',
|
30 |
+
nextWeek : 'dddd [at] LT',
|
31 |
+
lastDay : '[Yesterday at] LT',
|
32 |
+
lastWeek : '[Last] dddd [at] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'in %s',
|
37 |
+
past : '%s ago',
|
38 |
+
s : 'a few seconds',
|
39 |
+
m : 'a minute',
|
40 |
+
mm : '%d minutes',
|
41 |
+
h : 'an hour',
|
42 |
+
hh : '%d hours',
|
43 |
+
d : 'a day',
|
44 |
+
dd : '%d days',
|
45 |
+
M : 'a month',
|
46 |
+
MM : '%d months',
|
47 |
+
y : 'a year',
|
48 |
+
yy : '%d years'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
var b = number % 10,
|
53 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
54 |
+
(b === 1) ? 'st' :
|
55 |
+
(b === 2) ? 'nd' :
|
56 |
+
(b === 3) ? 'rd' : 'th';
|
57 |
+
return number + output;
|
58 |
+
},
|
59 |
+
week : {
|
60 |
+
dow : 1, // Monday is the first day of the week.
|
61 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
return en_ie;
|
66 |
+
|
67 |
+
}));
|
bp-core/js/vendor/moment-js/locale/en-ie.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/en-nz.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : English (New Zealand) [en-nz]
|
3 |
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var en_nz = moment.defineLocale('en-nz', {
|
14 |
+
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
16 |
+
weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
17 |
+
weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
18 |
+
weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'h:mm A',
|
21 |
+
LTS : 'h:mm:ss A',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY h:mm A',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Today at] LT',
|
29 |
+
nextDay : '[Tomorrow at] LT',
|
30 |
+
nextWeek : 'dddd [at] LT',
|
31 |
+
lastDay : '[Yesterday at] LT',
|
32 |
+
lastWeek : '[Last] dddd [at] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'in %s',
|
37 |
+
past : '%s ago',
|
38 |
+
s : 'a few seconds',
|
39 |
+
m : 'a minute',
|
40 |
+
mm : '%d minutes',
|
41 |
+
h : 'an hour',
|
42 |
+
hh : '%d hours',
|
43 |
+
d : 'a day',
|
44 |
+
dd : '%d days',
|
45 |
+
M : 'a month',
|
46 |
+
MM : '%d months',
|
47 |
+
y : 'a year',
|
48 |
+
yy : '%d years'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}(st|nd|rd|th)/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
var b = number % 10,
|
53 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
54 |
+
(b === 1) ? 'st' :
|
55 |
+
(b === 2) ? 'nd' :
|
56 |
+
(b === 3) ? 'rd' : 'th';
|
57 |
+
return number + output;
|
58 |
+
},
|
59 |
+
week : {
|
60 |
+
dow : 1, // Monday is the first day of the week.
|
61 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
return en_nz;
|
66 |
+
|
67 |
+
}));
|
bp-core/js/vendor/moment-js/locale/en-nz.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/eo.js
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Esperanto [eo]
|
3 |
+
//! author : Colin Dean : https://github.com/colindean
|
4 |
+
//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
5 |
+
//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var eo = moment.defineLocale('eo', {
|
16 |
+
months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
|
17 |
+
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
|
18 |
+
weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
|
19 |
+
weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
|
20 |
+
weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'YYYY-MM-DD',
|
25 |
+
LL : 'D[-an de] MMMM, YYYY',
|
26 |
+
LLL : 'D[-an de] MMMM, YYYY HH:mm',
|
27 |
+
LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm'
|
28 |
+
},
|
29 |
+
meridiemParse: /[ap]\.t\.m/i,
|
30 |
+
isPM: function (input) {
|
31 |
+
return input.charAt(0).toLowerCase() === 'p';
|
32 |
+
},
|
33 |
+
meridiem : function (hours, minutes, isLower) {
|
34 |
+
if (hours > 11) {
|
35 |
+
return isLower ? 'p.t.m.' : 'P.T.M.';
|
36 |
+
} else {
|
37 |
+
return isLower ? 'a.t.m.' : 'A.T.M.';
|
38 |
+
}
|
39 |
+
},
|
40 |
+
calendar : {
|
41 |
+
sameDay : '[Hodiaŭ je] LT',
|
42 |
+
nextDay : '[Morgaŭ je] LT',
|
43 |
+
nextWeek : 'dddd [je] LT',
|
44 |
+
lastDay : '[Hieraŭ je] LT',
|
45 |
+
lastWeek : '[pasinta] dddd [je] LT',
|
46 |
+
sameElse : 'L'
|
47 |
+
},
|
48 |
+
relativeTime : {
|
49 |
+
future : 'je %s',
|
50 |
+
past : 'antaŭ %s',
|
51 |
+
s : 'sekundoj',
|
52 |
+
m : 'minuto',
|
53 |
+
mm : '%d minutoj',
|
54 |
+
h : 'horo',
|
55 |
+
hh : '%d horoj',
|
56 |
+
d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
|
57 |
+
dd : '%d tagoj',
|
58 |
+
M : 'monato',
|
59 |
+
MM : '%d monatoj',
|
60 |
+
y : 'jaro',
|
61 |
+
yy : '%d jaroj'
|
62 |
+
},
|
63 |
+
ordinalParse: /\d{1,2}a/,
|
64 |
+
ordinal : '%da',
|
65 |
+
week : {
|
66 |
+
dow : 1, // Monday is the first day of the week.
|
67 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
68 |
+
}
|
69 |
+
});
|
70 |
+
|
71 |
+
return eo;
|
72 |
+
|
73 |
+
}));
|
bp-core/js/vendor/moment-js/locale/eo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/es-do.js
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Spanish (Dominican Republic) [es-do]
|
3 |
+
|
4 |
+
;(function (global, factory) {
|
5 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
6 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
7 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
8 |
+
factory(global.moment)
|
9 |
+
}(this, function (moment) { 'use strict';
|
10 |
+
|
11 |
+
|
12 |
+
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
13 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
14 |
+
|
15 |
+
var es_do = moment.defineLocale('es-do', {
|
16 |
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
17 |
+
monthsShort : function (m, format) {
|
18 |
+
if (/-MMM-/.test(format)) {
|
19 |
+
return monthsShort[m.month()];
|
20 |
+
} else {
|
21 |
+
return monthsShortDot[m.month()];
|
22 |
+
}
|
23 |
+
},
|
24 |
+
monthsParseExact : true,
|
25 |
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
26 |
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
27 |
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
28 |
+
weekdaysParseExact : true,
|
29 |
+
longDateFormat : {
|
30 |
+
LT : 'h:mm A',
|
31 |
+
LTS : 'h:mm:ss A',
|
32 |
+
L : 'DD/MM/YYYY',
|
33 |
+
LL : 'D [de] MMMM [de] YYYY',
|
34 |
+
LLL : 'D [de] MMMM [de] YYYY h:mm A',
|
35 |
+
LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
|
36 |
+
},
|
37 |
+
calendar : {
|
38 |
+
sameDay : function () {
|
39 |
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
40 |
+
},
|
41 |
+
nextDay : function () {
|
42 |
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
43 |
+
},
|
44 |
+
nextWeek : function () {
|
45 |
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
46 |
+
},
|
47 |
+
lastDay : function () {
|
48 |
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
49 |
+
},
|
50 |
+
lastWeek : function () {
|
51 |
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
52 |
+
},
|
53 |
+
sameElse : 'L'
|
54 |
+
},
|
55 |
+
relativeTime : {
|
56 |
+
future : 'en %s',
|
57 |
+
past : 'hace %s',
|
58 |
+
s : 'unos segundos',
|
59 |
+
m : 'un minuto',
|
60 |
+
mm : '%d minutos',
|
61 |
+
h : 'una hora',
|
62 |
+
hh : '%d horas',
|
63 |
+
d : 'un día',
|
64 |
+
dd : '%d días',
|
65 |
+
M : 'un mes',
|
66 |
+
MM : '%d meses',
|
67 |
+
y : 'un año',
|
68 |
+
yy : '%d años'
|
69 |
+
},
|
70 |
+
ordinalParse : /\d{1,2}º/,
|
71 |
+
ordinal : '%dº',
|
72 |
+
week : {
|
73 |
+
dow : 1, // Monday is the first day of the week.
|
74 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
75 |
+
}
|
76 |
+
});
|
77 |
+
|
78 |
+
return es_do;
|
79 |
+
|
80 |
+
}));
|
bp-core/js/vendor/moment-js/locale/es-do.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return d});
|
bp-core/js/vendor/moment-js/locale/es.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Spanish [es]
|
3 |
+
//! author : Julio Napurí : https://github.com/julionc
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
14 |
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
15 |
+
|
16 |
+
var es = moment.defineLocale('es', {
|
17 |
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
18 |
+
monthsShort : function (m, format) {
|
19 |
+
if (/-MMM-/.test(format)) {
|
20 |
+
return monthsShort[m.month()];
|
21 |
+
} else {
|
22 |
+
return monthsShortDot[m.month()];
|
23 |
+
}
|
24 |
+
},
|
25 |
+
monthsParseExact : true,
|
26 |
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
27 |
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
28 |
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
29 |
+
weekdaysParseExact : true,
|
30 |
+
longDateFormat : {
|
31 |
+
LT : 'H:mm',
|
32 |
+
LTS : 'H:mm:ss',
|
33 |
+
L : 'DD/MM/YYYY',
|
34 |
+
LL : 'D [de] MMMM [de] YYYY',
|
35 |
+
LLL : 'D [de] MMMM [de] YYYY H:mm',
|
36 |
+
LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
|
37 |
+
},
|
38 |
+
calendar : {
|
39 |
+
sameDay : function () {
|
40 |
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
41 |
+
},
|
42 |
+
nextDay : function () {
|
43 |
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
44 |
+
},
|
45 |
+
nextWeek : function () {
|
46 |
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
47 |
+
},
|
48 |
+
lastDay : function () {
|
49 |
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
50 |
+
},
|
51 |
+
lastWeek : function () {
|
52 |
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
53 |
+
},
|
54 |
+
sameElse : 'L'
|
55 |
+
},
|
56 |
+
relativeTime : {
|
57 |
+
future : 'en %s',
|
58 |
+
past : 'hace %s',
|
59 |
+
s : 'unos segundos',
|
60 |
+
m : 'un minuto',
|
61 |
+
mm : '%d minutos',
|
62 |
+
h : 'una hora',
|
63 |
+
hh : '%d horas',
|
64 |
+
d : 'un día',
|
65 |
+
dd : '%d días',
|
66 |
+
M : 'un mes',
|
67 |
+
MM : '%d meses',
|
68 |
+
y : 'un año',
|
69 |
+
yy : '%d años'
|
70 |
+
},
|
71 |
+
ordinalParse : /\d{1,2}º/,
|
72 |
+
ordinal : '%dº',
|
73 |
+
week : {
|
74 |
+
dow : 1, // Monday is the first day of the week.
|
75 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
76 |
+
}
|
77 |
+
});
|
78 |
+
|
79 |
+
return es;
|
80 |
+
|
81 |
+
}));
|
bp-core/js/vendor/moment-js/locale/es.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return d});
|
bp-core/js/vendor/moment-js/locale/et.js
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Estonian [et]
|
3 |
+
//! author : Henry Kehlmann : https://github.com/madhenry
|
4 |
+
//! improvements : Illimar Tambek : https://github.com/ragulka
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
+
var format = {
|
16 |
+
's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
17 |
+
'm' : ['ühe minuti', 'üks minut'],
|
18 |
+
'mm': [number + ' minuti', number + ' minutit'],
|
19 |
+
'h' : ['ühe tunni', 'tund aega', 'üks tund'],
|
20 |
+
'hh': [number + ' tunni', number + ' tundi'],
|
21 |
+
'd' : ['ühe päeva', 'üks päev'],
|
22 |
+
'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
|
23 |
+
'MM': [number + ' kuu', number + ' kuud'],
|
24 |
+
'y' : ['ühe aasta', 'aasta', 'üks aasta'],
|
25 |
+
'yy': [number + ' aasta', number + ' aastat']
|
26 |
+
};
|
27 |
+
if (withoutSuffix) {
|
28 |
+
return format[key][2] ? format[key][2] : format[key][1];
|
29 |
+
}
|
30 |
+
return isFuture ? format[key][0] : format[key][1];
|
31 |
+
}
|
32 |
+
|
33 |
+
var et = moment.defineLocale('et', {
|
34 |
+
months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
|
35 |
+
monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
|
36 |
+
weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
|
37 |
+
weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
|
38 |
+
weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
|
39 |
+
longDateFormat : {
|
40 |
+
LT : 'H:mm',
|
41 |
+
LTS : 'H:mm:ss',
|
42 |
+
L : 'DD.MM.YYYY',
|
43 |
+
LL : 'D. MMMM YYYY',
|
44 |
+
LLL : 'D. MMMM YYYY H:mm',
|
45 |
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
46 |
+
},
|
47 |
+
calendar : {
|
48 |
+
sameDay : '[Täna,] LT',
|
49 |
+
nextDay : '[Homme,] LT',
|
50 |
+
nextWeek : '[Järgmine] dddd LT',
|
51 |
+
lastDay : '[Eile,] LT',
|
52 |
+
lastWeek : '[Eelmine] dddd LT',
|
53 |
+
sameElse : 'L'
|
54 |
+
},
|
55 |
+
relativeTime : {
|
56 |
+
future : '%s pärast',
|
57 |
+
past : '%s tagasi',
|
58 |
+
s : processRelativeTime,
|
59 |
+
m : processRelativeTime,
|
60 |
+
mm : processRelativeTime,
|
61 |
+
h : processRelativeTime,
|
62 |
+
hh : processRelativeTime,
|
63 |
+
d : processRelativeTime,
|
64 |
+
dd : '%d päeva',
|
65 |
+
M : processRelativeTime,
|
66 |
+
MM : processRelativeTime,
|
67 |
+
y : processRelativeTime,
|
68 |
+
yy : processRelativeTime
|
69 |
+
},
|
70 |
+
ordinalParse: /\d{1,2}\./,
|
71 |
+
ordinal : '%d.',
|
72 |
+
week : {
|
73 |
+
dow : 1, // Monday is the first day of the week.
|
74 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
75 |
+
}
|
76 |
+
});
|
77 |
+
|
78 |
+
return et;
|
79 |
+
|
80 |
+
}));
|
bp-core/js/vendor/moment-js/locale/et.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}var c=a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:"%d päeva",M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c});
|
bp-core/js/vendor/moment-js/locale/eu.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Basque [eu]
|
3 |
+
//! author : Eneko Illarramendi : https://github.com/eillarra
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var eu = moment.defineLocale('eu', {
|
14 |
+
months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
|
15 |
+
monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
|
18 |
+
weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
|
19 |
+
weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'YYYY-MM-DD',
|
25 |
+
LL : 'YYYY[ko] MMMM[ren] D[a]',
|
26 |
+
LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm',
|
27 |
+
LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
|
28 |
+
l : 'YYYY-M-D',
|
29 |
+
ll : 'YYYY[ko] MMM D[a]',
|
30 |
+
lll : 'YYYY[ko] MMM D[a] HH:mm',
|
31 |
+
llll : 'ddd, YYYY[ko] MMM D[a] HH:mm'
|
32 |
+
},
|
33 |
+
calendar : {
|
34 |
+
sameDay : '[gaur] LT[etan]',
|
35 |
+
nextDay : '[bihar] LT[etan]',
|
36 |
+
nextWeek : 'dddd LT[etan]',
|
37 |
+
lastDay : '[atzo] LT[etan]',
|
38 |
+
lastWeek : '[aurreko] dddd LT[etan]',
|
39 |
+
sameElse : 'L'
|
40 |
+
},
|
41 |
+
relativeTime : {
|
42 |
+
future : '%s barru',
|
43 |
+
past : 'duela %s',
|
44 |
+
s : 'segundo batzuk',
|
45 |
+
m : 'minutu bat',
|
46 |
+
mm : '%d minutu',
|
47 |
+
h : 'ordu bat',
|
48 |
+
hh : '%d ordu',
|
49 |
+
d : 'egun bat',
|
50 |
+
dd : '%d egun',
|
51 |
+
M : 'hilabete bat',
|
52 |
+
MM : '%d hilabete',
|
53 |
+
y : 'urte bat',
|
54 |
+
yy : '%d urte'
|
55 |
+
},
|
56 |
+
ordinalParse: /\d{1,2}\./,
|
57 |
+
ordinal : '%d.',
|
58 |
+
week : {
|
59 |
+
dow : 1, // Monday is the first day of the week.
|
60 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
61 |
+
}
|
62 |
+
});
|
63 |
+
|
64 |
+
return eu;
|
65 |
+
|
66 |
+
}));
|
bp-core/js/vendor/moment-js/locale/eu.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/fa.js
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Persian [fa]
|
3 |
+
//! author : Ebrahim Byagowi : https://github.com/ebraminio
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '۱',
|
15 |
+
'2': '۲',
|
16 |
+
'3': '۳',
|
17 |
+
'4': '۴',
|
18 |
+
'5': '۵',
|
19 |
+
'6': '۶',
|
20 |
+
'7': '۷',
|
21 |
+
'8': '۸',
|
22 |
+
'9': '۹',
|
23 |
+
'0': '۰'
|
24 |
+
}, numberMap = {
|
25 |
+
'۱': '1',
|
26 |
+
'۲': '2',
|
27 |
+
'۳': '3',
|
28 |
+
'۴': '4',
|
29 |
+
'۵': '5',
|
30 |
+
'۶': '6',
|
31 |
+
'۷': '7',
|
32 |
+
'۸': '8',
|
33 |
+
'۹': '9',
|
34 |
+
'۰': '0'
|
35 |
+
};
|
36 |
+
|
37 |
+
var fa = moment.defineLocale('fa', {
|
38 |
+
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
39 |
+
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
40 |
+
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
41 |
+
weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
42 |
+
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
|
43 |
+
weekdaysParseExact : true,
|
44 |
+
longDateFormat : {
|
45 |
+
LT : 'HH:mm',
|
46 |
+
LTS : 'HH:mm:ss',
|
47 |
+
L : 'DD/MM/YYYY',
|
48 |
+
LL : 'D MMMM YYYY',
|
49 |
+
LLL : 'D MMMM YYYY HH:mm',
|
50 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
51 |
+
},
|
52 |
+
meridiemParse: /قبل از ظهر|بعد از ظهر/,
|
53 |
+
isPM: function (input) {
|
54 |
+
return /بعد از ظهر/.test(input);
|
55 |
+
},
|
56 |
+
meridiem : function (hour, minute, isLower) {
|
57 |
+
if (hour < 12) {
|
58 |
+
return 'قبل از ظهر';
|
59 |
+
} else {
|
60 |
+
return 'بعد از ظهر';
|
61 |
+
}
|
62 |
+
},
|
63 |
+
calendar : {
|
64 |
+
sameDay : '[امروز ساعت] LT',
|
65 |
+
nextDay : '[فردا ساعت] LT',
|
66 |
+
nextWeek : 'dddd [ساعت] LT',
|
67 |
+
lastDay : '[دیروز ساعت] LT',
|
68 |
+
lastWeek : 'dddd [پیش] [ساعت] LT',
|
69 |
+
sameElse : 'L'
|
70 |
+
},
|
71 |
+
relativeTime : {
|
72 |
+
future : 'در %s',
|
73 |
+
past : '%s پیش',
|
74 |
+
s : 'چندین ثانیه',
|
75 |
+
m : 'یک دقیقه',
|
76 |
+
mm : '%d دقیقه',
|
77 |
+
h : 'یک ساعت',
|
78 |
+
hh : '%d ساعت',
|
79 |
+
d : 'یک روز',
|
80 |
+
dd : '%d روز',
|
81 |
+
M : 'یک ماه',
|
82 |
+
MM : '%d ماه',
|
83 |
+
y : 'یک سال',
|
84 |
+
yy : '%d سال'
|
85 |
+
},
|
86 |
+
preparse: function (string) {
|
87 |
+
return string.replace(/[۰-۹]/g, function (match) {
|
88 |
+
return numberMap[match];
|
89 |
+
}).replace(/،/g, ',');
|
90 |
+
},
|
91 |
+
postformat: function (string) {
|
92 |
+
return string.replace(/\d/g, function (match) {
|
93 |
+
return symbolMap[match];
|
94 |
+
}).replace(/,/g, '،');
|
95 |
+
},
|
96 |
+
ordinalParse: /\d{1,2}م/,
|
97 |
+
ordinal : '%dم',
|
98 |
+
week : {
|
99 |
+
dow : 6, // Saturday is the first day of the week.
|
100 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
101 |
+
}
|
102 |
+
});
|
103 |
+
|
104 |
+
return fa;
|
105 |
+
|
106 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fa.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},c={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},d=a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return a<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(a){return a.replace(/[۰-۹]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return d});
|
bp-core/js/vendor/moment-js/locale/fi.js
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Finnish [fi]
|
3 |
+
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
|
14 |
+
numbersFuture = [
|
15 |
+
'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
|
16 |
+
numbersPast[7], numbersPast[8], numbersPast[9]
|
17 |
+
];
|
18 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
19 |
+
var result = '';
|
20 |
+
switch (key) {
|
21 |
+
case 's':
|
22 |
+
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
23 |
+
case 'm':
|
24 |
+
return isFuture ? 'minuutin' : 'minuutti';
|
25 |
+
case 'mm':
|
26 |
+
result = isFuture ? 'minuutin' : 'minuuttia';
|
27 |
+
break;
|
28 |
+
case 'h':
|
29 |
+
return isFuture ? 'tunnin' : 'tunti';
|
30 |
+
case 'hh':
|
31 |
+
result = isFuture ? 'tunnin' : 'tuntia';
|
32 |
+
break;
|
33 |
+
case 'd':
|
34 |
+
return isFuture ? 'päivän' : 'päivä';
|
35 |
+
case 'dd':
|
36 |
+
result = isFuture ? 'päivän' : 'päivää';
|
37 |
+
break;
|
38 |
+
case 'M':
|
39 |
+
return isFuture ? 'kuukauden' : 'kuukausi';
|
40 |
+
case 'MM':
|
41 |
+
result = isFuture ? 'kuukauden' : 'kuukautta';
|
42 |
+
break;
|
43 |
+
case 'y':
|
44 |
+
return isFuture ? 'vuoden' : 'vuosi';
|
45 |
+
case 'yy':
|
46 |
+
result = isFuture ? 'vuoden' : 'vuotta';
|
47 |
+
break;
|
48 |
+
}
|
49 |
+
result = verbalNumber(number, isFuture) + ' ' + result;
|
50 |
+
return result;
|
51 |
+
}
|
52 |
+
function verbalNumber(number, isFuture) {
|
53 |
+
return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
|
54 |
+
}
|
55 |
+
|
56 |
+
var fi = moment.defineLocale('fi', {
|
57 |
+
months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
|
58 |
+
monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
|
59 |
+
weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
|
60 |
+
weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'),
|
61 |
+
weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'),
|
62 |
+
longDateFormat : {
|
63 |
+
LT : 'HH.mm',
|
64 |
+
LTS : 'HH.mm.ss',
|
65 |
+
L : 'DD.MM.YYYY',
|
66 |
+
LL : 'Do MMMM[ta] YYYY',
|
67 |
+
LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm',
|
68 |
+
LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
|
69 |
+
l : 'D.M.YYYY',
|
70 |
+
ll : 'Do MMM YYYY',
|
71 |
+
lll : 'Do MMM YYYY, [klo] HH.mm',
|
72 |
+
llll : 'ddd, Do MMM YYYY, [klo] HH.mm'
|
73 |
+
},
|
74 |
+
calendar : {
|
75 |
+
sameDay : '[tänään] [klo] LT',
|
76 |
+
nextDay : '[huomenna] [klo] LT',
|
77 |
+
nextWeek : 'dddd [klo] LT',
|
78 |
+
lastDay : '[eilen] [klo] LT',
|
79 |
+
lastWeek : '[viime] dddd[na] [klo] LT',
|
80 |
+
sameElse : 'L'
|
81 |
+
},
|
82 |
+
relativeTime : {
|
83 |
+
future : '%s päästä',
|
84 |
+
past : '%s sitten',
|
85 |
+
s : translate,
|
86 |
+
m : translate,
|
87 |
+
mm : translate,
|
88 |
+
h : translate,
|
89 |
+
hh : translate,
|
90 |
+
d : translate,
|
91 |
+
dd : translate,
|
92 |
+
M : translate,
|
93 |
+
MM : translate,
|
94 |
+
y : translate,
|
95 |
+
yy : translate
|
96 |
+
},
|
97 |
+
ordinalParse: /\d{1,2}\./,
|
98 |
+
ordinal : '%d.',
|
99 |
+
week : {
|
100 |
+
dow : 1, // Monday is the first day of the week.
|
101 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
102 |
+
}
|
103 |
+
});
|
104 |
+
|
105 |
+
return fi;
|
106 |
+
|
107 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fi.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,d,e){var f="";switch(d){case"s":return e?"muutaman sekunnin":"muutama sekunti";case"m":return e?"minuutin":"minuutti";case"mm":f=e?"minuutin":"minuuttia";break;case"h":return e?"tunnin":"tunti";case"hh":f=e?"tunnin":"tuntia";break;case"d":return e?"päivän":"päivä";case"dd":f=e?"päivän":"päivää";break;case"M":return e?"kuukauden":"kuukausi";case"MM":f=e?"kuukauden":"kuukautta";break;case"y":return e?"vuoden":"vuosi";case"yy":f=e?"vuoden":"vuotta"}return f=c(a,e)+" "+f}function c(a,b){return a<10?b?e[a]:d[a]:a}var d="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),e=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",d[7],d[8],d[9]],f=a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/fo.js
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Faroese [fo]
|
3 |
+
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var fo = moment.defineLocale('fo', {
|
14 |
+
months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
15 |
+
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
16 |
+
weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
|
17 |
+
weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
18 |
+
weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd D. MMMM, YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Í dag kl.] LT',
|
29 |
+
nextDay : '[Í morgin kl.] LT',
|
30 |
+
nextWeek : 'dddd [kl.] LT',
|
31 |
+
lastDay : '[Í gjár kl.] LT',
|
32 |
+
lastWeek : '[síðstu] dddd [kl] LT',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'um %s',
|
37 |
+
past : '%s síðani',
|
38 |
+
s : 'fá sekund',
|
39 |
+
m : 'ein minutt',
|
40 |
+
mm : '%d minuttir',
|
41 |
+
h : 'ein tími',
|
42 |
+
hh : '%d tímar',
|
43 |
+
d : 'ein dagur',
|
44 |
+
dd : '%d dagar',
|
45 |
+
M : 'ein mánaði',
|
46 |
+
MM : '%d mánaðir',
|
47 |
+
y : 'eitt ár',
|
48 |
+
yy : '%d ár'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}\./,
|
51 |
+
ordinal : '%d.',
|
52 |
+
week : {
|
53 |
+
dow : 1, // Monday is the first day of the week.
|
54 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
return fo;
|
59 |
+
|
60 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/fr-ca.js
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : French (Canada) [fr-ca]
|
3 |
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var fr_ca = moment.defineLocale('fr-ca', {
|
14 |
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15 |
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18 |
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19 |
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'YYYY-MM-DD',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY HH:mm',
|
27 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay: '[Aujourd\'hui à] LT',
|
31 |
+
nextDay: '[Demain à] LT',
|
32 |
+
nextWeek: 'dddd [à] LT',
|
33 |
+
lastDay: '[Hier à] LT',
|
34 |
+
lastWeek: 'dddd [dernier à] LT',
|
35 |
+
sameElse: 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'dans %s',
|
39 |
+
past : 'il y a %s',
|
40 |
+
s : 'quelques secondes',
|
41 |
+
m : 'une minute',
|
42 |
+
mm : '%d minutes',
|
43 |
+
h : 'une heure',
|
44 |
+
hh : '%d heures',
|
45 |
+
d : 'un jour',
|
46 |
+
dd : '%d jours',
|
47 |
+
M : 'un mois',
|
48 |
+
MM : '%d mois',
|
49 |
+
y : 'un an',
|
50 |
+
yy : '%d ans'
|
51 |
+
},
|
52 |
+
ordinalParse: /\d{1,2}(er|e)/,
|
53 |
+
ordinal : function (number) {
|
54 |
+
return number + (number === 1 ? 'er' : 'e');
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
return fr_ca;
|
59 |
+
|
60 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fr-ca.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(a){return a+(1===a?"er":"e")}});return b});
|
bp-core/js/vendor/moment-js/locale/fr-ch.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : French (Switzerland) [fr-ch]
|
3 |
+
//! author : Gaspard Bucher : https://github.com/gaspard
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var fr_ch = moment.defineLocale('fr-ch', {
|
14 |
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15 |
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18 |
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19 |
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'DD.MM.YYYY',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY HH:mm',
|
27 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay: '[Aujourd\'hui à] LT',
|
31 |
+
nextDay: '[Demain à] LT',
|
32 |
+
nextWeek: 'dddd [à] LT',
|
33 |
+
lastDay: '[Hier à] LT',
|
34 |
+
lastWeek: 'dddd [dernier à] LT',
|
35 |
+
sameElse: 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'dans %s',
|
39 |
+
past : 'il y a %s',
|
40 |
+
s : 'quelques secondes',
|
41 |
+
m : 'une minute',
|
42 |
+
mm : '%d minutes',
|
43 |
+
h : 'une heure',
|
44 |
+
hh : '%d heures',
|
45 |
+
d : 'un jour',
|
46 |
+
dd : '%d jours',
|
47 |
+
M : 'un mois',
|
48 |
+
MM : '%d mois',
|
49 |
+
y : 'un an',
|
50 |
+
yy : '%d ans'
|
51 |
+
},
|
52 |
+
ordinalParse: /\d{1,2}(er|e)/,
|
53 |
+
ordinal : function (number) {
|
54 |
+
return number + (number === 1 ? 'er' : 'e');
|
55 |
+
},
|
56 |
+
week : {
|
57 |
+
dow : 1, // Monday is the first day of the week.
|
58 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59 |
+
}
|
60 |
+
});
|
61 |
+
|
62 |
+
return fr_ch;
|
63 |
+
|
64 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fr-ch.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(a){return a+(1===a?"er":"e")},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/fr.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : French [fr]
|
3 |
+
//! author : John Fischer : https://github.com/jfroffice
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var fr = moment.defineLocale('fr', {
|
14 |
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15 |
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18 |
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19 |
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY HH:mm',
|
27 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay: '[Aujourd\'hui à] LT',
|
31 |
+
nextDay: '[Demain à] LT',
|
32 |
+
nextWeek: 'dddd [à] LT',
|
33 |
+
lastDay: '[Hier à] LT',
|
34 |
+
lastWeek: 'dddd [dernier à] LT',
|
35 |
+
sameElse: 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'dans %s',
|
39 |
+
past : 'il y a %s',
|
40 |
+
s : 'quelques secondes',
|
41 |
+
m : 'une minute',
|
42 |
+
mm : '%d minutes',
|
43 |
+
h : 'une heure',
|
44 |
+
hh : '%d heures',
|
45 |
+
d : 'un jour',
|
46 |
+
dd : '%d jours',
|
47 |
+
M : 'un mois',
|
48 |
+
MM : '%d mois',
|
49 |
+
y : 'un an',
|
50 |
+
yy : '%d ans'
|
51 |
+
},
|
52 |
+
ordinalParse: /\d{1,2}(er|)/,
|
53 |
+
ordinal : function (number) {
|
54 |
+
return number + (number === 1 ? 'er' : '');
|
55 |
+
},
|
56 |
+
week : {
|
57 |
+
dow : 1, // Monday is the first day of the week.
|
58 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59 |
+
}
|
60 |
+
});
|
61 |
+
|
62 |
+
return fr;
|
63 |
+
|
64 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fr.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(a){return a+(1===a?"er":"")},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/fy.js
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Frisian [fy]
|
3 |
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
|
14 |
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
|
15 |
+
|
16 |
+
var fy = moment.defineLocale('fy', {
|
17 |
+
months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
|
18 |
+
monthsShort : function (m, format) {
|
19 |
+
if (/-MMM-/.test(format)) {
|
20 |
+
return monthsShortWithoutDots[m.month()];
|
21 |
+
} else {
|
22 |
+
return monthsShortWithDots[m.month()];
|
23 |
+
}
|
24 |
+
},
|
25 |
+
monthsParseExact : true,
|
26 |
+
weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
|
27 |
+
weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
28 |
+
weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
29 |
+
weekdaysParseExact : true,
|
30 |
+
longDateFormat : {
|
31 |
+
LT : 'HH:mm',
|
32 |
+
LTS : 'HH:mm:ss',
|
33 |
+
L : 'DD-MM-YYYY',
|
34 |
+
LL : 'D MMMM YYYY',
|
35 |
+
LLL : 'D MMMM YYYY HH:mm',
|
36 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
37 |
+
},
|
38 |
+
calendar : {
|
39 |
+
sameDay: '[hjoed om] LT',
|
40 |
+
nextDay: '[moarn om] LT',
|
41 |
+
nextWeek: 'dddd [om] LT',
|
42 |
+
lastDay: '[juster om] LT',
|
43 |
+
lastWeek: '[ôfrûne] dddd [om] LT',
|
44 |
+
sameElse: 'L'
|
45 |
+
},
|
46 |
+
relativeTime : {
|
47 |
+
future : 'oer %s',
|
48 |
+
past : '%s lyn',
|
49 |
+
s : 'in pear sekonden',
|
50 |
+
m : 'ien minút',
|
51 |
+
mm : '%d minuten',
|
52 |
+
h : 'ien oere',
|
53 |
+
hh : '%d oeren',
|
54 |
+
d : 'ien dei',
|
55 |
+
dd : '%d dagen',
|
56 |
+
M : 'ien moanne',
|
57 |
+
MM : '%d moannen',
|
58 |
+
y : 'ien jier',
|
59 |
+
yy : '%d jierren'
|
60 |
+
},
|
61 |
+
ordinalParse: /\d{1,2}(ste|de)/,
|
62 |
+
ordinal : function (number) {
|
63 |
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
64 |
+
},
|
65 |
+
week : {
|
66 |
+
dow : 1, // Monday is the first day of the week.
|
67 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
68 |
+
}
|
69 |
+
});
|
70 |
+
|
71 |
+
return fy;
|
72 |
+
|
73 |
+
}));
|
bp-core/js/vendor/moment-js/locale/fy.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),c="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),d=a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return d});
|
bp-core/js/vendor/moment-js/locale/gd.js
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Scottish Gaelic [gd]
|
3 |
+
//! author : Jon Ashdown : https://github.com/jonashdown
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var months = [
|
14 |
+
'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
|
15 |
+
];
|
16 |
+
|
17 |
+
var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
|
18 |
+
|
19 |
+
var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
|
20 |
+
|
21 |
+
var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
|
22 |
+
|
23 |
+
var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
|
24 |
+
|
25 |
+
var gd = moment.defineLocale('gd', {
|
26 |
+
months : months,
|
27 |
+
monthsShort : monthsShort,
|
28 |
+
monthsParseExact : true,
|
29 |
+
weekdays : weekdays,
|
30 |
+
weekdaysShort : weekdaysShort,
|
31 |
+
weekdaysMin : weekdaysMin,
|
32 |
+
longDateFormat : {
|
33 |
+
LT : 'HH:mm',
|
34 |
+
LTS : 'HH:mm:ss',
|
35 |
+
L : 'DD/MM/YYYY',
|
36 |
+
LL : 'D MMMM YYYY',
|
37 |
+
LLL : 'D MMMM YYYY HH:mm',
|
38 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
39 |
+
},
|
40 |
+
calendar : {
|
41 |
+
sameDay : '[An-diugh aig] LT',
|
42 |
+
nextDay : '[A-màireach aig] LT',
|
43 |
+
nextWeek : 'dddd [aig] LT',
|
44 |
+
lastDay : '[An-dè aig] LT',
|
45 |
+
lastWeek : 'dddd [seo chaidh] [aig] LT',
|
46 |
+
sameElse : 'L'
|
47 |
+
},
|
48 |
+
relativeTime : {
|
49 |
+
future : 'ann an %s',
|
50 |
+
past : 'bho chionn %s',
|
51 |
+
s : 'beagan diogan',
|
52 |
+
m : 'mionaid',
|
53 |
+
mm : '%d mionaidean',
|
54 |
+
h : 'uair',
|
55 |
+
hh : '%d uairean',
|
56 |
+
d : 'latha',
|
57 |
+
dd : '%d latha',
|
58 |
+
M : 'mìos',
|
59 |
+
MM : '%d mìosan',
|
60 |
+
y : 'bliadhna',
|
61 |
+
yy : '%d bliadhna'
|
62 |
+
},
|
63 |
+
ordinalParse : /\d{1,2}(d|na|mh)/,
|
64 |
+
ordinal : function (number) {
|
65 |
+
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
66 |
+
return number + output;
|
67 |
+
},
|
68 |
+
week : {
|
69 |
+
dow : 1, // Monday is the first day of the week.
|
70 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
71 |
+
}
|
72 |
+
});
|
73 |
+
|
74 |
+
return gd;
|
75 |
+
|
76 |
+
}));
|
bp-core/js/vendor/moment-js/locale/gd.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],c=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],d=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],e=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],f=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],g=a.defineLocale("gd",{months:b,monthsShort:c,monthsParseExact:!0,weekdays:d,weekdaysShort:e,weekdaysMin:f,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(a){var b=1===a?"d":a%10===2?"na":"mh";return a+b},week:{dow:1,doy:4}});return g});
|
bp-core/js/vendor/moment-js/locale/gl.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Galician [gl]
|
3 |
+
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var gl = moment.defineLocale('gl', {
|
14 |
+
months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
|
15 |
+
monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
|
16 |
+
monthsParseExact: true,
|
17 |
+
weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
|
18 |
+
weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
|
19 |
+
weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'H:mm',
|
23 |
+
LTS : 'H:mm:ss',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D [de] MMMM [de] YYYY',
|
26 |
+
LLL : 'D [de] MMMM [de] YYYY H:mm',
|
27 |
+
LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay : function () {
|
31 |
+
return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
|
32 |
+
},
|
33 |
+
nextDay : function () {
|
34 |
+
return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
|
35 |
+
},
|
36 |
+
nextWeek : function () {
|
37 |
+
return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
38 |
+
},
|
39 |
+
lastDay : function () {
|
40 |
+
return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
|
41 |
+
},
|
42 |
+
lastWeek : function () {
|
43 |
+
return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
44 |
+
},
|
45 |
+
sameElse : 'L'
|
46 |
+
},
|
47 |
+
relativeTime : {
|
48 |
+
future : function (str) {
|
49 |
+
if (str.indexOf('un') === 0) {
|
50 |
+
return 'n' + str;
|
51 |
+
}
|
52 |
+
return 'en ' + str;
|
53 |
+
},
|
54 |
+
past : 'hai %s',
|
55 |
+
s : 'uns segundos',
|
56 |
+
m : 'un minuto',
|
57 |
+
mm : '%d minutos',
|
58 |
+
h : 'unha hora',
|
59 |
+
hh : '%d horas',
|
60 |
+
d : 'un día',
|
61 |
+
dd : '%d días',
|
62 |
+
M : 'un mes',
|
63 |
+
MM : '%d meses',
|
64 |
+
y : 'un ano',
|
65 |
+
yy : '%d anos'
|
66 |
+
},
|
67 |
+
ordinalParse : /\d{1,2}º/,
|
68 |
+
ordinal : '%dº',
|
69 |
+
week : {
|
70 |
+
dow : 1, // Monday is the first day of the week.
|
71 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
72 |
+
}
|
73 |
+
});
|
74 |
+
|
75 |
+
return gl;
|
76 |
+
|
77 |
+
}));
|
bp-core/js/vendor/moment-js/locale/gl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return 0===a.indexOf("un")?"n"+a:"en "+a},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/he.js
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Hebrew [he]
|
3 |
+
//! author : Tomer Cohen : https://github.com/tomer
|
4 |
+
//! author : Moshe Simantov : https://github.com/DevelopmentIL
|
5 |
+
//! author : Tal Ater : https://github.com/TalAter
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var he = moment.defineLocale('he', {
|
16 |
+
months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
|
17 |
+
monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
|
18 |
+
weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
|
19 |
+
weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
|
20 |
+
weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
LTS : 'HH:mm:ss',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D [ב]MMMM YYYY',
|
26 |
+
LLL : 'D [ב]MMMM YYYY HH:mm',
|
27 |
+
LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',
|
28 |
+
l : 'D/M/YYYY',
|
29 |
+
ll : 'D MMM YYYY',
|
30 |
+
lll : 'D MMM YYYY HH:mm',
|
31 |
+
llll : 'ddd, D MMM YYYY HH:mm'
|
32 |
+
},
|
33 |
+
calendar : {
|
34 |
+
sameDay : '[היום ב־]LT',
|
35 |
+
nextDay : '[מחר ב־]LT',
|
36 |
+
nextWeek : 'dddd [בשעה] LT',
|
37 |
+
lastDay : '[אתמול ב־]LT',
|
38 |
+
lastWeek : '[ביום] dddd [האחרון בשעה] LT',
|
39 |
+
sameElse : 'L'
|
40 |
+
},
|
41 |
+
relativeTime : {
|
42 |
+
future : 'בעוד %s',
|
43 |
+
past : 'לפני %s',
|
44 |
+
s : 'מספר שניות',
|
45 |
+
m : 'דקה',
|
46 |
+
mm : '%d דקות',
|
47 |
+
h : 'שעה',
|
48 |
+
hh : function (number) {
|
49 |
+
if (number === 2) {
|
50 |
+
return 'שעתיים';
|
51 |
+
}
|
52 |
+
return number + ' שעות';
|
53 |
+
},
|
54 |
+
d : 'יום',
|
55 |
+
dd : function (number) {
|
56 |
+
if (number === 2) {
|
57 |
+
return 'יומיים';
|
58 |
+
}
|
59 |
+
return number + ' ימים';
|
60 |
+
},
|
61 |
+
M : 'חודש',
|
62 |
+
MM : function (number) {
|
63 |
+
if (number === 2) {
|
64 |
+
return 'חודשיים';
|
65 |
+
}
|
66 |
+
return number + ' חודשים';
|
67 |
+
},
|
68 |
+
y : 'שנה',
|
69 |
+
yy : function (number) {
|
70 |
+
if (number === 2) {
|
71 |
+
return 'שנתיים';
|
72 |
+
} else if (number % 10 === 0 && number !== 10) {
|
73 |
+
return number + ' שנה';
|
74 |
+
}
|
75 |
+
return number + ' שנים';
|
76 |
+
}
|
77 |
+
},
|
78 |
+
meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
|
79 |
+
isPM : function (input) {
|
80 |
+
return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
|
81 |
+
},
|
82 |
+
meridiem : function (hour, minute, isLower) {
|
83 |
+
if (hour < 5) {
|
84 |
+
return 'לפנות בוקר';
|
85 |
+
} else if (hour < 10) {
|
86 |
+
return 'בבוקר';
|
87 |
+
} else if (hour < 12) {
|
88 |
+
return isLower ? 'לפנה"צ' : 'לפני הצהריים';
|
89 |
+
} else if (hour < 18) {
|
90 |
+
return isLower ? 'אחה"צ' : 'אחרי הצהריים';
|
91 |
+
} else {
|
92 |
+
return 'בערב';
|
93 |
+
}
|
94 |
+
}
|
95 |
+
});
|
96 |
+
|
97 |
+
return he;
|
98 |
+
|
99 |
+
}));
|
bp-core/js/vendor/moment-js/locale/he.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":a%10===0&&10!==a?a+" שנה":a+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,b,c){return a<5?"לפנות בוקר":a<10?"בבוקר":a<12?c?'לפנה"צ':"לפני הצהריים":a<18?c?'אחה"צ':"אחרי הצהריים":"בערב"}});return b});
|
bp-core/js/vendor/moment-js/locale/hi.js
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Hindi [hi]
|
3 |
+
//! author : Mayank Singhal : https://github.com/mayanksinghal
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '१',
|
15 |
+
'2': '२',
|
16 |
+
'3': '३',
|
17 |
+
'4': '४',
|
18 |
+
'5': '५',
|
19 |
+
'6': '६',
|
20 |
+
'7': '७',
|
21 |
+
'8': '८',
|
22 |
+
'9': '९',
|
23 |
+
'0': '०'
|
24 |
+
},
|
25 |
+
numberMap = {
|
26 |
+
'१': '1',
|
27 |
+
'२': '2',
|
28 |
+
'३': '3',
|
29 |
+
'४': '4',
|
30 |
+
'५': '5',
|
31 |
+
'६': '6',
|
32 |
+
'७': '7',
|
33 |
+
'८': '8',
|
34 |
+
'९': '9',
|
35 |
+
'०': '0'
|
36 |
+
};
|
37 |
+
|
38 |
+
var hi = moment.defineLocale('hi', {
|
39 |
+
months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
|
40 |
+
monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
|
41 |
+
monthsParseExact: true,
|
42 |
+
weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
43 |
+
weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
|
44 |
+
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
45 |
+
longDateFormat : {
|
46 |
+
LT : 'A h:mm बजे',
|
47 |
+
LTS : 'A h:mm:ss बजे',
|
48 |
+
L : 'DD/MM/YYYY',
|
49 |
+
LL : 'D MMMM YYYY',
|
50 |
+
LLL : 'D MMMM YYYY, A h:mm बजे',
|
51 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'
|
52 |
+
},
|
53 |
+
calendar : {
|
54 |
+
sameDay : '[आज] LT',
|
55 |
+
nextDay : '[कल] LT',
|
56 |
+
nextWeek : 'dddd, LT',
|
57 |
+
lastDay : '[कल] LT',
|
58 |
+
lastWeek : '[पिछले] dddd, LT',
|
59 |
+
sameElse : 'L'
|
60 |
+
},
|
61 |
+
relativeTime : {
|
62 |
+
future : '%s में',
|
63 |
+
past : '%s पहले',
|
64 |
+
s : 'कुछ ही क्षण',
|
65 |
+
m : 'एक मिनट',
|
66 |
+
mm : '%d मिनट',
|
67 |
+
h : 'एक घंटा',
|
68 |
+
hh : '%d घंटे',
|
69 |
+
d : 'एक दिन',
|
70 |
+
dd : '%d दिन',
|
71 |
+
M : 'एक महीने',
|
72 |
+
MM : '%d महीने',
|
73 |
+
y : 'एक वर्ष',
|
74 |
+
yy : '%d वर्ष'
|
75 |
+
},
|
76 |
+
preparse: function (string) {
|
77 |
+
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
78 |
+
return numberMap[match];
|
79 |
+
});
|
80 |
+
},
|
81 |
+
postformat: function (string) {
|
82 |
+
return string.replace(/\d/g, function (match) {
|
83 |
+
return symbolMap[match];
|
84 |
+
});
|
85 |
+
},
|
86 |
+
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
87 |
+
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
|
88 |
+
meridiemParse: /रात|सुबह|दोपहर|शाम/,
|
89 |
+
meridiemHour : function (hour, meridiem) {
|
90 |
+
if (hour === 12) {
|
91 |
+
hour = 0;
|
92 |
+
}
|
93 |
+
if (meridiem === 'रात') {
|
94 |
+
return hour < 4 ? hour : hour + 12;
|
95 |
+
} else if (meridiem === 'सुबह') {
|
96 |
+
return hour;
|
97 |
+
} else if (meridiem === 'दोपहर') {
|
98 |
+
return hour >= 10 ? hour : hour + 12;
|
99 |
+
} else if (meridiem === 'शाम') {
|
100 |
+
return hour + 12;
|
101 |
+
}
|
102 |
+
},
|
103 |
+
meridiem : function (hour, minute, isLower) {
|
104 |
+
if (hour < 4) {
|
105 |
+
return 'रात';
|
106 |
+
} else if (hour < 10) {
|
107 |
+
return 'सुबह';
|
108 |
+
} else if (hour < 17) {
|
109 |
+
return 'दोपहर';
|
110 |
+
} else if (hour < 20) {
|
111 |
+
return 'शाम';
|
112 |
+
} else {
|
113 |
+
return 'रात';
|
114 |
+
}
|
115 |
+
},
|
116 |
+
week : {
|
117 |
+
dow : 0, // Sunday is the first day of the week.
|
118 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
119 |
+
}
|
120 |
+
});
|
121 |
+
|
122 |
+
return hi;
|
123 |
+
|
124 |
+
}));
|
bp-core/js/vendor/moment-js/locale/hi.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},c={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},d=a.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?a<4?a:a+12:"सुबह"===b?a:"दोपहर"===b?a>=10?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात":a<10?"सुबह":a<17?"दोपहर":a<20?"शाम":"रात"},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/hr.js
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Croatian [hr]
|
3 |
+
//! author : Bojan Marković : https://github.com/bmarkovic
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
function translate(number, withoutSuffix, key) {
|
14 |
+
var result = number + ' ';
|
15 |
+
switch (key) {
|
16 |
+
case 'm':
|
17 |
+
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
18 |
+
case 'mm':
|
19 |
+
if (number === 1) {
|
20 |
+
result += 'minuta';
|
21 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
22 |
+
result += 'minute';
|
23 |
+
} else {
|
24 |
+
result += 'minuta';
|
25 |
+
}
|
26 |
+
return result;
|
27 |
+
case 'h':
|
28 |
+
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
29 |
+
case 'hh':
|
30 |
+
if (number === 1) {
|
31 |
+
result += 'sat';
|
32 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
33 |
+
result += 'sata';
|
34 |
+
} else {
|
35 |
+
result += 'sati';
|
36 |
+
}
|
37 |
+
return result;
|
38 |
+
case 'dd':
|
39 |
+
if (number === 1) {
|
40 |
+
result += 'dan';
|
41 |
+
} else {
|
42 |
+
result += 'dana';
|
43 |
+
}
|
44 |
+
return result;
|
45 |
+
case 'MM':
|
46 |
+
if (number === 1) {
|
47 |
+
result += 'mjesec';
|
48 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
49 |
+
result += 'mjeseca';
|
50 |
+
} else {
|
51 |
+
result += 'mjeseci';
|
52 |
+
}
|
53 |
+
return result;
|
54 |
+
case 'yy':
|
55 |
+
if (number === 1) {
|
56 |
+
result += 'godina';
|
57 |
+
} else if (number === 2 || number === 3 || number === 4) {
|
58 |
+
result += 'godine';
|
59 |
+
} else {
|
60 |
+
result += 'godina';
|
61 |
+
}
|
62 |
+
return result;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
var hr = moment.defineLocale('hr', {
|
67 |
+
months : {
|
68 |
+
format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
|
69 |
+
standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
|
70 |
+
},
|
71 |
+
monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
|
72 |
+
monthsParseExact: true,
|
73 |
+
weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
|
74 |
+
weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
75 |
+
weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
|
76 |
+
weekdaysParseExact : true,
|
77 |
+
longDateFormat : {
|
78 |
+
LT : 'H:mm',
|
79 |
+
LTS : 'H:mm:ss',
|
80 |
+
L : 'DD.MM.YYYY',
|
81 |
+
LL : 'D. MMMM YYYY',
|
82 |
+
LLL : 'D. MMMM YYYY H:mm',
|
83 |
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
84 |
+
},
|
85 |
+
calendar : {
|
86 |
+
sameDay : '[danas u] LT',
|
87 |
+
nextDay : '[sutra u] LT',
|
88 |
+
nextWeek : function () {
|
89 |
+
switch (this.day()) {
|
90 |
+
case 0:
|
91 |
+
return '[u] [nedjelju] [u] LT';
|
92 |
+
case 3:
|
93 |
+
return '[u] [srijedu] [u] LT';
|
94 |
+
case 6:
|
95 |
+
return '[u] [subotu] [u] LT';
|
96 |
+
case 1:
|
97 |
+
case 2:
|
98 |
+
case 4:
|
99 |
+
case 5:
|
100 |
+
return '[u] dddd [u] LT';
|
101 |
+
}
|
102 |
+
},
|
103 |
+
lastDay : '[jučer u] LT',
|
104 |
+
lastWeek : function () {
|
105 |
+
switch (this.day()) {
|
106 |
+
case 0:
|
107 |
+
case 3:
|
108 |
+
return '[prošlu] dddd [u] LT';
|
109 |
+
case 6:
|
110 |
+
return '[prošle] [subote] [u] LT';
|
111 |
+
case 1:
|
112 |
+
case 2:
|
113 |
+
case 4:
|
114 |
+
case 5:
|
115 |
+
return '[prošli] dddd [u] LT';
|
116 |
+
}
|
117 |
+
},
|
118 |
+
sameElse : 'L'
|
119 |
+
},
|
120 |
+
relativeTime : {
|
121 |
+
future : 'za %s',
|
122 |
+
past : 'prije %s',
|
123 |
+
s : 'par sekundi',
|
124 |
+
m : translate,
|
125 |
+
mm : translate,
|
126 |
+
h : translate,
|
127 |
+
hh : translate,
|
128 |
+
d : 'dan',
|
129 |
+
dd : translate,
|
130 |
+
M : 'mjesec',
|
131 |
+
MM : translate,
|
132 |
+
y : 'godinu',
|
133 |
+
yy : translate
|
134 |
+
},
|
135 |
+
ordinalParse: /\d{1,2}\./,
|
136 |
+
ordinal : '%d.',
|
137 |
+
week : {
|
138 |
+
dow : 1, // Monday is the first day of the week.
|
139 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
140 |
+
}
|
141 |
+
});
|
142 |
+
|
143 |
+
return hr;
|
144 |
+
|
145 |
+
}));
|
bp-core/js/vendor/moment-js/locale/hr.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}var c=a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:b,mm:b,h:b,hh:b,d:"dan",dd:b,M:"mjesec",MM:b,y:"godinu",yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/hu.js
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Hungarian [hu]
|
3 |
+
//! author : Adam Brunner : https://github.com/adambrunner
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
|
14 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
15 |
+
var num = number,
|
16 |
+
suffix;
|
17 |
+
switch (key) {
|
18 |
+
case 's':
|
19 |
+
return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
|
20 |
+
case 'm':
|
21 |
+
return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
22 |
+
case 'mm':
|
23 |
+
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
24 |
+
case 'h':
|
25 |
+
return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
26 |
+
case 'hh':
|
27 |
+
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
28 |
+
case 'd':
|
29 |
+
return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
30 |
+
case 'dd':
|
31 |
+
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
32 |
+
case 'M':
|
33 |
+
return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
34 |
+
case 'MM':
|
35 |
+
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
36 |
+
case 'y':
|
37 |
+
return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
|
38 |
+
case 'yy':
|
39 |
+
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
40 |
+
}
|
41 |
+
return '';
|
42 |
+
}
|
43 |
+
function week(isFuture) {
|
44 |
+
return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
|
45 |
+
}
|
46 |
+
|
47 |
+
var hu = moment.defineLocale('hu', {
|
48 |
+
months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
|
49 |
+
monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
|
50 |
+
weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
|
51 |
+
weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
|
52 |
+
weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'),
|
53 |
+
longDateFormat : {
|
54 |
+
LT : 'H:mm',
|
55 |
+
LTS : 'H:mm:ss',
|
56 |
+
L : 'YYYY.MM.DD.',
|
57 |
+
LL : 'YYYY. MMMM D.',
|
58 |
+
LLL : 'YYYY. MMMM D. H:mm',
|
59 |
+
LLLL : 'YYYY. MMMM D., dddd H:mm'
|
60 |
+
},
|
61 |
+
meridiemParse: /de|du/i,
|
62 |
+
isPM: function (input) {
|
63 |
+
return input.charAt(1).toLowerCase() === 'u';
|
64 |
+
},
|
65 |
+
meridiem : function (hours, minutes, isLower) {
|
66 |
+
if (hours < 12) {
|
67 |
+
return isLower === true ? 'de' : 'DE';
|
68 |
+
} else {
|
69 |
+
return isLower === true ? 'du' : 'DU';
|
70 |
+
}
|
71 |
+
},
|
72 |
+
calendar : {
|
73 |
+
sameDay : '[ma] LT[-kor]',
|
74 |
+
nextDay : '[holnap] LT[-kor]',
|
75 |
+
nextWeek : function () {
|
76 |
+
return week.call(this, true);
|
77 |
+
},
|
78 |
+
lastDay : '[tegnap] LT[-kor]',
|
79 |
+
lastWeek : function () {
|
80 |
+
return week.call(this, false);
|
81 |
+
},
|
82 |
+
sameElse : 'L'
|
83 |
+
},
|
84 |
+
relativeTime : {
|
85 |
+
future : '%s múlva',
|
86 |
+
past : '%s',
|
87 |
+
s : translate,
|
88 |
+
m : translate,
|
89 |
+
mm : translate,
|
90 |
+
h : translate,
|
91 |
+
hh : translate,
|
92 |
+
d : translate,
|
93 |
+
dd : translate,
|
94 |
+
M : translate,
|
95 |
+
MM : translate,
|
96 |
+
y : translate,
|
97 |
+
yy : translate
|
98 |
+
},
|
99 |
+
ordinalParse: /\d{1,2}\./,
|
100 |
+
ordinal : '%d.',
|
101 |
+
week : {
|
102 |
+
dow : 1, // Monday is the first day of the week.
|
103 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
104 |
+
}
|
105 |
+
});
|
106 |
+
|
107 |
+
return hu;
|
108 |
+
|
109 |
+
}));
|
bp-core/js/vendor/moment-js/locale/hu.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function c(a){return(a?"":"[múlt] ")+"["+d[this.day()]+"] LT[-kor]"}var d="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),e=a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return a<12?c===!0?"de":"DE":c===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return c.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return c.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e});
|
bp-core/js/vendor/moment-js/locale/hy-am.js
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Armenian [hy-am]
|
3 |
+
//! author : Armendarabyan : https://github.com/armendarabyan
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var hy_am = moment.defineLocale('hy-am', {
|
14 |
+
months : {
|
15 |
+
format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
|
16 |
+
standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
|
17 |
+
},
|
18 |
+
monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
|
19 |
+
weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
|
20 |
+
weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
21 |
+
weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
22 |
+
longDateFormat : {
|
23 |
+
LT : 'HH:mm',
|
24 |
+
LTS : 'HH:mm:ss',
|
25 |
+
L : 'DD.MM.YYYY',
|
26 |
+
LL : 'D MMMM YYYY թ.',
|
27 |
+
LLL : 'D MMMM YYYY թ., HH:mm',
|
28 |
+
LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
|
29 |
+
},
|
30 |
+
calendar : {
|
31 |
+
sameDay: '[այսօր] LT',
|
32 |
+
nextDay: '[վաղը] LT',
|
33 |
+
lastDay: '[երեկ] LT',
|
34 |
+
nextWeek: function () {
|
35 |
+
return 'dddd [օրը ժամը] LT';
|
36 |
+
},
|
37 |
+
lastWeek: function () {
|
38 |
+
return '[անցած] dddd [օրը ժամը] LT';
|
39 |
+
},
|
40 |
+
sameElse: 'L'
|
41 |
+
},
|
42 |
+
relativeTime : {
|
43 |
+
future : '%s հետո',
|
44 |
+
past : '%s առաջ',
|
45 |
+
s : 'մի քանի վայրկյան',
|
46 |
+
m : 'րոպե',
|
47 |
+
mm : '%d րոպե',
|
48 |
+
h : 'ժամ',
|
49 |
+
hh : '%d ժամ',
|
50 |
+
d : 'օր',
|
51 |
+
dd : '%d օր',
|
52 |
+
M : 'ամիս',
|
53 |
+
MM : '%d ամիս',
|
54 |
+
y : 'տարի',
|
55 |
+
yy : '%d տարի'
|
56 |
+
},
|
57 |
+
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
|
58 |
+
isPM: function (input) {
|
59 |
+
return /^(ցերեկվա|երեկոյան)$/.test(input);
|
60 |
+
},
|
61 |
+
meridiem : function (hour) {
|
62 |
+
if (hour < 4) {
|
63 |
+
return 'գիշերվա';
|
64 |
+
} else if (hour < 12) {
|
65 |
+
return 'առավոտվա';
|
66 |
+
} else if (hour < 17) {
|
67 |
+
return 'ցերեկվա';
|
68 |
+
} else {
|
69 |
+
return 'երեկոյան';
|
70 |
+
}
|
71 |
+
},
|
72 |
+
ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
73 |
+
ordinal: function (number, period) {
|
74 |
+
switch (period) {
|
75 |
+
case 'DDD':
|
76 |
+
case 'w':
|
77 |
+
case 'W':
|
78 |
+
case 'DDDo':
|
79 |
+
if (number === 1) {
|
80 |
+
return number + '-ին';
|
81 |
+
}
|
82 |
+
return number + '-րդ';
|
83 |
+
default:
|
84 |
+
return number;
|
85 |
+
}
|
86 |
+
},
|
87 |
+
week : {
|
88 |
+
dow : 1, // Monday is the first day of the week.
|
89 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
90 |
+
}
|
91 |
+
});
|
92 |
+
|
93 |
+
return hy_am;
|
94 |
+
|
95 |
+
}));
|
bp-core/js/vendor/moment-js/locale/hy-am.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"գիշերվա":a<12?"առավոտվա":a<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/id.js
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Indonesian [id]
|
3 |
+
//! author : Mohammad Satrio Utomo : https://github.com/tyok
|
4 |
+
//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var id = moment.defineLocale('id', {
|
15 |
+
months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
|
16 |
+
monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
|
17 |
+
weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
|
18 |
+
weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
|
19 |
+
weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH.mm',
|
22 |
+
LTS : 'HH.mm.ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
27 |
+
},
|
28 |
+
meridiemParse: /pagi|siang|sore|malam/,
|
29 |
+
meridiemHour : function (hour, meridiem) {
|
30 |
+
if (hour === 12) {
|
31 |
+
hour = 0;
|
32 |
+
}
|
33 |
+
if (meridiem === 'pagi') {
|
34 |
+
return hour;
|
35 |
+
} else if (meridiem === 'siang') {
|
36 |
+
return hour >= 11 ? hour : hour + 12;
|
37 |
+
} else if (meridiem === 'sore' || meridiem === 'malam') {
|
38 |
+
return hour + 12;
|
39 |
+
}
|
40 |
+
},
|
41 |
+
meridiem : function (hours, minutes, isLower) {
|
42 |
+
if (hours < 11) {
|
43 |
+
return 'pagi';
|
44 |
+
} else if (hours < 15) {
|
45 |
+
return 'siang';
|
46 |
+
} else if (hours < 19) {
|
47 |
+
return 'sore';
|
48 |
+
} else {
|
49 |
+
return 'malam';
|
50 |
+
}
|
51 |
+
},
|
52 |
+
calendar : {
|
53 |
+
sameDay : '[Hari ini pukul] LT',
|
54 |
+
nextDay : '[Besok pukul] LT',
|
55 |
+
nextWeek : 'dddd [pukul] LT',
|
56 |
+
lastDay : '[Kemarin pukul] LT',
|
57 |
+
lastWeek : 'dddd [lalu pukul] LT',
|
58 |
+
sameElse : 'L'
|
59 |
+
},
|
60 |
+
relativeTime : {
|
61 |
+
future : 'dalam %s',
|
62 |
+
past : '%s yang lalu',
|
63 |
+
s : 'beberapa detik',
|
64 |
+
m : 'semenit',
|
65 |
+
mm : '%d menit',
|
66 |
+
h : 'sejam',
|
67 |
+
hh : '%d jam',
|
68 |
+
d : 'sehari',
|
69 |
+
dd : '%d hari',
|
70 |
+
M : 'sebulan',
|
71 |
+
MM : '%d bulan',
|
72 |
+
y : 'setahun',
|
73 |
+
yy : '%d tahun'
|
74 |
+
},
|
75 |
+
week : {
|
76 |
+
dow : 1, // Monday is the first day of the week.
|
77 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78 |
+
}
|
79 |
+
});
|
80 |
+
|
81 |
+
return id;
|
82 |
+
|
83 |
+
}));
|
bp-core/js/vendor/moment-js/locale/id.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?a>=11?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"siang":a<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/is.js
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Icelandic [is]
|
3 |
+
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
function plural(n) {
|
14 |
+
if (n % 100 === 11) {
|
15 |
+
return true;
|
16 |
+
} else if (n % 10 === 1) {
|
17 |
+
return false;
|
18 |
+
}
|
19 |
+
return true;
|
20 |
+
}
|
21 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
22 |
+
var result = number + ' ';
|
23 |
+
switch (key) {
|
24 |
+
case 's':
|
25 |
+
return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
|
26 |
+
case 'm':
|
27 |
+
return withoutSuffix ? 'mínúta' : 'mínútu';
|
28 |
+
case 'mm':
|
29 |
+
if (plural(number)) {
|
30 |
+
return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
|
31 |
+
} else if (withoutSuffix) {
|
32 |
+
return result + 'mínúta';
|
33 |
+
}
|
34 |
+
return result + 'mínútu';
|
35 |
+
case 'hh':
|
36 |
+
if (plural(number)) {
|
37 |
+
return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
|
38 |
+
}
|
39 |
+
return result + 'klukkustund';
|
40 |
+
case 'd':
|
41 |
+
if (withoutSuffix) {
|
42 |
+
return 'dagur';
|
43 |
+
}
|
44 |
+
return isFuture ? 'dag' : 'degi';
|
45 |
+
case 'dd':
|
46 |
+
if (plural(number)) {
|
47 |
+
if (withoutSuffix) {
|
48 |
+
return result + 'dagar';
|
49 |
+
}
|
50 |
+
return result + (isFuture ? 'daga' : 'dögum');
|
51 |
+
} else if (withoutSuffix) {
|
52 |
+
return result + 'dagur';
|
53 |
+
}
|
54 |
+
return result + (isFuture ? 'dag' : 'degi');
|
55 |
+
case 'M':
|
56 |
+
if (withoutSuffix) {
|
57 |
+
return 'mánuður';
|
58 |
+
}
|
59 |
+
return isFuture ? 'mánuð' : 'mánuði';
|
60 |
+
case 'MM':
|
61 |
+
if (plural(number)) {
|
62 |
+
if (withoutSuffix) {
|
63 |
+
return result + 'mánuðir';
|
64 |
+
}
|
65 |
+
return result + (isFuture ? 'mánuði' : 'mánuðum');
|
66 |
+
} else if (withoutSuffix) {
|
67 |
+
return result + 'mánuður';
|
68 |
+
}
|
69 |
+
return result + (isFuture ? 'mánuð' : 'mánuði');
|
70 |
+
case 'y':
|
71 |
+
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
72 |
+
case 'yy':
|
73 |
+
if (plural(number)) {
|
74 |
+
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
75 |
+
}
|
76 |
+
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
+
var is = moment.defineLocale('is', {
|
81 |
+
months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
|
82 |
+
monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
|
83 |
+
weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
|
84 |
+
weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
|
85 |
+
weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
|
86 |
+
longDateFormat : {
|
87 |
+
LT : 'H:mm',
|
88 |
+
LTS : 'H:mm:ss',
|
89 |
+
L : 'DD.MM.YYYY',
|
90 |
+
LL : 'D. MMMM YYYY',
|
91 |
+
LLL : 'D. MMMM YYYY [kl.] H:mm',
|
92 |
+
LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
|
93 |
+
},
|
94 |
+
calendar : {
|
95 |
+
sameDay : '[í dag kl.] LT',
|
96 |
+
nextDay : '[á morgun kl.] LT',
|
97 |
+
nextWeek : 'dddd [kl.] LT',
|
98 |
+
lastDay : '[í gær kl.] LT',
|
99 |
+
lastWeek : '[síðasta] dddd [kl.] LT',
|
100 |
+
sameElse : 'L'
|
101 |
+
},
|
102 |
+
relativeTime : {
|
103 |
+
future : 'eftir %s',
|
104 |
+
past : 'fyrir %s síðan',
|
105 |
+
s : translate,
|
106 |
+
m : translate,
|
107 |
+
mm : translate,
|
108 |
+
h : 'klukkustund',
|
109 |
+
hh : translate,
|
110 |
+
d : translate,
|
111 |
+
dd : translate,
|
112 |
+
M : translate,
|
113 |
+
MM : translate,
|
114 |
+
y : translate,
|
115 |
+
yy : translate
|
116 |
+
},
|
117 |
+
ordinalParse: /\d{1,2}\./,
|
118 |
+
ordinal : '%d.',
|
119 |
+
week : {
|
120 |
+
dow : 1, // Monday is the first day of the week.
|
121 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
122 |
+
}
|
123 |
+
});
|
124 |
+
|
125 |
+
return is;
|
126 |
+
|
127 |
+
}));
|
bp-core/js/vendor/moment-js/locale/is.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a%100===11||a%10!==1}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return c?"mínúta":"mínútu";case"mm":return b(a)?f+(c||e?"mínútur":"mínútum"):c?f+"mínúta":f+"mínútu";case"hh":return b(a)?f+(c||e?"klukkustundir":"klukkustundum"):f+"klukkustund";case"d":return c?"dagur":e?"dag":"degi";case"dd":return b(a)?c?f+"dagar":f+(e?"daga":"dögum"):c?f+"dagur":f+(e?"dag":"degi");case"M":return c?"mánuður":e?"mánuð":"mánuði";case"MM":return b(a)?c?f+"mánuðir":f+(e?"mánuði":"mánuðum"):c?f+"mánuður":f+(e?"mánuð":"mánuði");case"y":return c||e?"ár":"ári";case"yy":return b(a)?f+(c||e?"ár":"árum"):f+(c||e?"ár":"ári")}}var d=a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:c,m:c,mm:c,h:"klukkustund",hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return d});
|
bp-core/js/vendor/moment-js/locale/it.js
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Italian [it]
|
3 |
+
//! author : Lorenzo : https://github.com/aliem
|
4 |
+
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var it = moment.defineLocale('it', {
|
15 |
+
months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
|
16 |
+
monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
17 |
+
weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
|
18 |
+
weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
|
19 |
+
weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY HH:mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay: '[Oggi alle] LT',
|
30 |
+
nextDay: '[Domani alle] LT',
|
31 |
+
nextWeek: 'dddd [alle] LT',
|
32 |
+
lastDay: '[Ieri alle] LT',
|
33 |
+
lastWeek: function () {
|
34 |
+
switch (this.day()) {
|
35 |
+
case 0:
|
36 |
+
return '[la scorsa] dddd [alle] LT';
|
37 |
+
default:
|
38 |
+
return '[lo scorso] dddd [alle] LT';
|
39 |
+
}
|
40 |
+
},
|
41 |
+
sameElse: 'L'
|
42 |
+
},
|
43 |
+
relativeTime : {
|
44 |
+
future : function (s) {
|
45 |
+
return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
|
46 |
+
},
|
47 |
+
past : '%s fa',
|
48 |
+
s : 'alcuni secondi',
|
49 |
+
m : 'un minuto',
|
50 |
+
mm : '%d minuti',
|
51 |
+
h : 'un\'ora',
|
52 |
+
hh : '%d ore',
|
53 |
+
d : 'un giorno',
|
54 |
+
dd : '%d giorni',
|
55 |
+
M : 'un mese',
|
56 |
+
MM : '%d mesi',
|
57 |
+
y : 'un anno',
|
58 |
+
yy : '%d anni'
|
59 |
+
},
|
60 |
+
ordinalParse : /\d{1,2}º/,
|
61 |
+
ordinal: '%dº',
|
62 |
+
week : {
|
63 |
+
dow : 1, // Monday is the first day of the week.
|
64 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65 |
+
}
|
66 |
+
});
|
67 |
+
|
68 |
+
return it;
|
69 |
+
|
70 |
+
}));
|
bp-core/js/vendor/moment-js/locale/it.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ja.js
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Japanese [ja]
|
3 |
+
//! author : LI Long : https://github.com/baryon
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ja = moment.defineLocale('ja', {
|
14 |
+
months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
15 |
+
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
16 |
+
weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
|
17 |
+
weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
|
18 |
+
weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'Ah時m分',
|
21 |
+
LTS : 'Ah時m分s秒',
|
22 |
+
L : 'YYYY/MM/DD',
|
23 |
+
LL : 'YYYY年M月D日',
|
24 |
+
LLL : 'YYYY年M月D日Ah時m分',
|
25 |
+
LLLL : 'YYYY年M月D日Ah時m分 dddd'
|
26 |
+
},
|
27 |
+
meridiemParse: /午前|午後/i,
|
28 |
+
isPM : function (input) {
|
29 |
+
return input === '午後';
|
30 |
+
},
|
31 |
+
meridiem : function (hour, minute, isLower) {
|
32 |
+
if (hour < 12) {
|
33 |
+
return '午前';
|
34 |
+
} else {
|
35 |
+
return '午後';
|
36 |
+
}
|
37 |
+
},
|
38 |
+
calendar : {
|
39 |
+
sameDay : '[今日] LT',
|
40 |
+
nextDay : '[明日] LT',
|
41 |
+
nextWeek : '[来週]dddd LT',
|
42 |
+
lastDay : '[昨日] LT',
|
43 |
+
lastWeek : '[前週]dddd LT',
|
44 |
+
sameElse : 'L'
|
45 |
+
},
|
46 |
+
ordinalParse : /\d{1,2}日/,
|
47 |
+
ordinal : function (number, period) {
|
48 |
+
switch (period) {
|
49 |
+
case 'd':
|
50 |
+
case 'D':
|
51 |
+
case 'DDD':
|
52 |
+
return number + '日';
|
53 |
+
default:
|
54 |
+
return number;
|
55 |
+
}
|
56 |
+
},
|
57 |
+
relativeTime : {
|
58 |
+
future : '%s後',
|
59 |
+
past : '%s前',
|
60 |
+
s : '数秒',
|
61 |
+
m : '1分',
|
62 |
+
mm : '%d分',
|
63 |
+
h : '1時間',
|
64 |
+
hh : '%d時間',
|
65 |
+
d : '1日',
|
66 |
+
dd : '%d日',
|
67 |
+
M : '1ヶ月',
|
68 |
+
MM : '%dヶ月',
|
69 |
+
y : '1年',
|
70 |
+
yy : '%d年'
|
71 |
+
}
|
72 |
+
});
|
73 |
+
|
74 |
+
return ja;
|
75 |
+
|
76 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ja.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(a){return"午後"===a},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";default:return a}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return b});
|
bp-core/js/vendor/moment-js/locale/jv.js
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Japanese [jv]
|
3 |
+
//! author : Rony Lantip : https://github.com/lantip
|
4 |
+
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var jv = moment.defineLocale('jv', {
|
15 |
+
months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
|
16 |
+
monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
|
17 |
+
weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
|
18 |
+
weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
|
19 |
+
weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH.mm',
|
22 |
+
LTS : 'HH.mm.ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
27 |
+
},
|
28 |
+
meridiemParse: /enjing|siyang|sonten|ndalu/,
|
29 |
+
meridiemHour : function (hour, meridiem) {
|
30 |
+
if (hour === 12) {
|
31 |
+
hour = 0;
|
32 |
+
}
|
33 |
+
if (meridiem === 'enjing') {
|
34 |
+
return hour;
|
35 |
+
} else if (meridiem === 'siyang') {
|
36 |
+
return hour >= 11 ? hour : hour + 12;
|
37 |
+
} else if (meridiem === 'sonten' || meridiem === 'ndalu') {
|
38 |
+
return hour + 12;
|
39 |
+
}
|
40 |
+
},
|
41 |
+
meridiem : function (hours, minutes, isLower) {
|
42 |
+
if (hours < 11) {
|
43 |
+
return 'enjing';
|
44 |
+
} else if (hours < 15) {
|
45 |
+
return 'siyang';
|
46 |
+
} else if (hours < 19) {
|
47 |
+
return 'sonten';
|
48 |
+
} else {
|
49 |
+
return 'ndalu';
|
50 |
+
}
|
51 |
+
},
|
52 |
+
calendar : {
|
53 |
+
sameDay : '[Dinten puniko pukul] LT',
|
54 |
+
nextDay : '[Mbenjang pukul] LT',
|
55 |
+
nextWeek : 'dddd [pukul] LT',
|
56 |
+
lastDay : '[Kala wingi pukul] LT',
|
57 |
+
lastWeek : 'dddd [kepengker pukul] LT',
|
58 |
+
sameElse : 'L'
|
59 |
+
},
|
60 |
+
relativeTime : {
|
61 |
+
future : 'wonten ing %s',
|
62 |
+
past : '%s ingkang kepengker',
|
63 |
+
s : 'sawetawis detik',
|
64 |
+
m : 'setunggal menit',
|
65 |
+
mm : '%d menit',
|
66 |
+
h : 'setunggal jam',
|
67 |
+
hh : '%d jam',
|
68 |
+
d : 'sedinten',
|
69 |
+
dd : '%d dinten',
|
70 |
+
M : 'sewulan',
|
71 |
+
MM : '%d wulan',
|
72 |
+
y : 'setaun',
|
73 |
+
yy : '%d taun'
|
74 |
+
},
|
75 |
+
week : {
|
76 |
+
dow : 1, // Monday is the first day of the week.
|
77 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78 |
+
}
|
79 |
+
});
|
80 |
+
|
81 |
+
return jv;
|
82 |
+
|
83 |
+
}));
|
bp-core/js/vendor/moment-js/locale/jv.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===b?a>=11?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"enjing":a<15?"siyang":a<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/ka.js
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Georgian [ka]
|
3 |
+
//! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ka = moment.defineLocale('ka', {
|
14 |
+
months : {
|
15 |
+
standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
|
16 |
+
format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
|
17 |
+
},
|
18 |
+
monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
|
19 |
+
weekdays : {
|
20 |
+
standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
|
21 |
+
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
|
22 |
+
isFormat: /(წინა|შემდეგ)/
|
23 |
+
},
|
24 |
+
weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
|
25 |
+
weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
|
26 |
+
longDateFormat : {
|
27 |
+
LT : 'h:mm A',
|
28 |
+
LTS : 'h:mm:ss A',
|
29 |
+
L : 'DD/MM/YYYY',
|
30 |
+
LL : 'D MMMM YYYY',
|
31 |
+
LLL : 'D MMMM YYYY h:mm A',
|
32 |
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
33 |
+
},
|
34 |
+
calendar : {
|
35 |
+
sameDay : '[დღეს] LT[-ზე]',
|
36 |
+
nextDay : '[ხვალ] LT[-ზე]',
|
37 |
+
lastDay : '[გუშინ] LT[-ზე]',
|
38 |
+
nextWeek : '[შემდეგ] dddd LT[-ზე]',
|
39 |
+
lastWeek : '[წინა] dddd LT-ზე',
|
40 |
+
sameElse : 'L'
|
41 |
+
},
|
42 |
+
relativeTime : {
|
43 |
+
future : function (s) {
|
44 |
+
return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
|
45 |
+
s.replace(/ი$/, 'ში') :
|
46 |
+
s + 'ში';
|
47 |
+
},
|
48 |
+
past : function (s) {
|
49 |
+
if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
|
50 |
+
return s.replace(/(ი|ე)$/, 'ის წინ');
|
51 |
+
}
|
52 |
+
if ((/წელი/).test(s)) {
|
53 |
+
return s.replace(/წელი$/, 'წლის წინ');
|
54 |
+
}
|
55 |
+
},
|
56 |
+
s : 'რამდენიმე წამი',
|
57 |
+
m : 'წუთი',
|
58 |
+
mm : '%d წუთი',
|
59 |
+
h : 'საათი',
|
60 |
+
hh : '%d საათი',
|
61 |
+
d : 'დღე',
|
62 |
+
dd : '%d დღე',
|
63 |
+
M : 'თვე',
|
64 |
+
MM : '%d თვე',
|
65 |
+
y : 'წელი',
|
66 |
+
yy : '%d წელი'
|
67 |
+
},
|
68 |
+
ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
69 |
+
ordinal : function (number) {
|
70 |
+
if (number === 0) {
|
71 |
+
return number;
|
72 |
+
}
|
73 |
+
if (number === 1) {
|
74 |
+
return number + '-ლი';
|
75 |
+
}
|
76 |
+
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
|
77 |
+
return 'მე-' + number;
|
78 |
+
}
|
79 |
+
return number + '-ე';
|
80 |
+
},
|
81 |
+
week : {
|
82 |
+
dow : 1,
|
83 |
+
doy : 7
|
84 |
+
}
|
85 |
+
});
|
86 |
+
|
87 |
+
return ka;
|
88 |
+
|
89 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ka.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(a)?a.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(a){return 0===a?a:1===a?a+"-ლი":a<20||a<=100&&a%20===0||a%100===0?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/kk.js
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Kazakh [kk]
|
3 |
+
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var suffixes = {
|
14 |
+
0: '-ші',
|
15 |
+
1: '-ші',
|
16 |
+
2: '-ші',
|
17 |
+
3: '-ші',
|
18 |
+
4: '-ші',
|
19 |
+
5: '-ші',
|
20 |
+
6: '-шы',
|
21 |
+
7: '-ші',
|
22 |
+
8: '-ші',
|
23 |
+
9: '-шы',
|
24 |
+
10: '-шы',
|
25 |
+
20: '-шы',
|
26 |
+
30: '-шы',
|
27 |
+
40: '-шы',
|
28 |
+
50: '-ші',
|
29 |
+
60: '-шы',
|
30 |
+
70: '-ші',
|
31 |
+
80: '-ші',
|
32 |
+
90: '-шы',
|
33 |
+
100: '-ші'
|
34 |
+
};
|
35 |
+
|
36 |
+
var kk = moment.defineLocale('kk', {
|
37 |
+
months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
|
38 |
+
monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
|
39 |
+
weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
|
40 |
+
weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
|
41 |
+
weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
|
42 |
+
longDateFormat : {
|
43 |
+
LT : 'HH:mm',
|
44 |
+
LTS : 'HH:mm:ss',
|
45 |
+
L : 'DD.MM.YYYY',
|
46 |
+
LL : 'D MMMM YYYY',
|
47 |
+
LLL : 'D MMMM YYYY HH:mm',
|
48 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
49 |
+
},
|
50 |
+
calendar : {
|
51 |
+
sameDay : '[Бүгін сағат] LT',
|
52 |
+
nextDay : '[Ертең сағат] LT',
|
53 |
+
nextWeek : 'dddd [сағат] LT',
|
54 |
+
lastDay : '[Кеше сағат] LT',
|
55 |
+
lastWeek : '[Өткен аптаның] dddd [сағат] LT',
|
56 |
+
sameElse : 'L'
|
57 |
+
},
|
58 |
+
relativeTime : {
|
59 |
+
future : '%s ішінде',
|
60 |
+
past : '%s бұрын',
|
61 |
+
s : 'бірнеше секунд',
|
62 |
+
m : 'бір минут',
|
63 |
+
mm : '%d минут',
|
64 |
+
h : 'бір сағат',
|
65 |
+
hh : '%d сағат',
|
66 |
+
d : 'бір күн',
|
67 |
+
dd : '%d күн',
|
68 |
+
M : 'бір ай',
|
69 |
+
MM : '%d ай',
|
70 |
+
y : 'бір жыл',
|
71 |
+
yy : '%d жыл'
|
72 |
+
},
|
73 |
+
ordinalParse: /\d{1,2}-(ші|шы)/,
|
74 |
+
ordinal : function (number) {
|
75 |
+
var a = number % 10,
|
76 |
+
b = number >= 100 ? 100 : null;
|
77 |
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
78 |
+
},
|
79 |
+
week : {
|
80 |
+
dow : 1, // Monday is the first day of the week.
|
81 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
82 |
+
}
|
83 |
+
});
|
84 |
+
|
85 |
+
return kk;
|
86 |
+
|
87 |
+
}));
|
bp-core/js/vendor/moment-js/locale/kk.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},c=a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(a){var c=a%10,d=a>=100?100:null;return a+(b[a]||b[c]||b[d])},week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/km.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Cambodian [km]
|
3 |
+
//! author : Kruy Vanna : https://github.com/kruyvanna
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var km = moment.defineLocale('km', {
|
14 |
+
months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
|
15 |
+
monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
|
16 |
+
weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
17 |
+
weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
18 |
+
weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
|
19 |
+
longDateFormat: {
|
20 |
+
LT: 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L: 'DD/MM/YYYY',
|
23 |
+
LL: 'D MMMM YYYY',
|
24 |
+
LLL: 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL: 'dddd, D MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar: {
|
28 |
+
sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
|
29 |
+
nextDay: '[ស្អែក ម៉ោង] LT',
|
30 |
+
nextWeek: 'dddd [ម៉ោង] LT',
|
31 |
+
lastDay: '[ម្សិលមិញ ម៉ោង] LT',
|
32 |
+
lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime: {
|
36 |
+
future: '%sទៀត',
|
37 |
+
past: '%sមុន',
|
38 |
+
s: 'ប៉ុន្មានវិនាទី',
|
39 |
+
m: 'មួយនាទី',
|
40 |
+
mm: '%d នាទី',
|
41 |
+
h: 'មួយម៉ោង',
|
42 |
+
hh: '%d ម៉ោង',
|
43 |
+
d: 'មួយថ្ងៃ',
|
44 |
+
dd: '%d ថ្ងៃ',
|
45 |
+
M: 'មួយខែ',
|
46 |
+
MM: '%d ខែ',
|
47 |
+
y: 'មួយឆ្នាំ',
|
48 |
+
yy: '%d ឆ្នាំ'
|
49 |
+
},
|
50 |
+
week: {
|
51 |
+
dow: 1, // Monday is the first day of the week.
|
52 |
+
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
53 |
+
}
|
54 |
+
});
|
55 |
+
|
56 |
+
return km;
|
57 |
+
|
58 |
+
}));
|
bp-core/js/vendor/moment-js/locale/km.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ko.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Korean [ko]
|
3 |
+
//! author : Kyungwook, Park : https://github.com/kyungw00k
|
4 |
+
//! author : Jeeeyul Lee <jeeeyul@gmail.com>
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var ko = moment.defineLocale('ko', {
|
15 |
+
months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
16 |
+
monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
17 |
+
weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
|
18 |
+
weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
|
19 |
+
weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'A h시 m분',
|
22 |
+
LTS : 'A h시 m분 s초',
|
23 |
+
L : 'YYYY.MM.DD',
|
24 |
+
LL : 'YYYY년 MMMM D일',
|
25 |
+
LLL : 'YYYY년 MMMM D일 A h시 m분',
|
26 |
+
LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay : '오늘 LT',
|
30 |
+
nextDay : '내일 LT',
|
31 |
+
nextWeek : 'dddd LT',
|
32 |
+
lastDay : '어제 LT',
|
33 |
+
lastWeek : '지난주 dddd LT',
|
34 |
+
sameElse : 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : '%s 후',
|
38 |
+
past : '%s 전',
|
39 |
+
s : '몇 초',
|
40 |
+
ss : '%d초',
|
41 |
+
m : '일분',
|
42 |
+
mm : '%d분',
|
43 |
+
h : '한 시간',
|
44 |
+
hh : '%d시간',
|
45 |
+
d : '하루',
|
46 |
+
dd : '%d일',
|
47 |
+
M : '한 달',
|
48 |
+
MM : '%d달',
|
49 |
+
y : '일 년',
|
50 |
+
yy : '%d년'
|
51 |
+
},
|
52 |
+
ordinalParse : /\d{1,2}일/,
|
53 |
+
ordinal : '%d일',
|
54 |
+
meridiemParse : /오전|오후/,
|
55 |
+
isPM : function (token) {
|
56 |
+
return token === '오후';
|
57 |
+
},
|
58 |
+
meridiem : function (hour, minute, isUpper) {
|
59 |
+
return hour < 12 ? '오전' : '오후';
|
60 |
+
}
|
61 |
+
});
|
62 |
+
|
63 |
+
return ko;
|
64 |
+
|
65 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ko.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(a){return"오후"===a},meridiem:function(a,b,c){return a<12?"오전":"오후"}});return b});
|
bp-core/js/vendor/moment-js/locale/ky.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Kyrgyz [ky]
|
3 |
+
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
var suffixes = {
|
15 |
+
0: '-чү',
|
16 |
+
1: '-чи',
|
17 |
+
2: '-чи',
|
18 |
+
3: '-чү',
|
19 |
+
4: '-чү',
|
20 |
+
5: '-чи',
|
21 |
+
6: '-чы',
|
22 |
+
7: '-чи',
|
23 |
+
8: '-чи',
|
24 |
+
9: '-чу',
|
25 |
+
10: '-чу',
|
26 |
+
20: '-чы',
|
27 |
+
30: '-чу',
|
28 |
+
40: '-чы',
|
29 |
+
50: '-чү',
|
30 |
+
60: '-чы',
|
31 |
+
70: '-чи',
|
32 |
+
80: '-чи',
|
33 |
+
90: '-чу',
|
34 |
+
100: '-чү'
|
35 |
+
};
|
36 |
+
|
37 |
+
var ky = moment.defineLocale('ky', {
|
38 |
+
months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
|
39 |
+
monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
|
40 |
+
weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
|
41 |
+
weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
|
42 |
+
weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
|
43 |
+
longDateFormat : {
|
44 |
+
LT : 'HH:mm',
|
45 |
+
LTS : 'HH:mm:ss',
|
46 |
+
L : 'DD.MM.YYYY',
|
47 |
+
LL : 'D MMMM YYYY',
|
48 |
+
LLL : 'D MMMM YYYY HH:mm',
|
49 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
50 |
+
},
|
51 |
+
calendar : {
|
52 |
+
sameDay : '[Бүгүн саат] LT',
|
53 |
+
nextDay : '[Эртең саат] LT',
|
54 |
+
nextWeek : 'dddd [саат] LT',
|
55 |
+
lastDay : '[Кече саат] LT',
|
56 |
+
lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
|
57 |
+
sameElse : 'L'
|
58 |
+
},
|
59 |
+
relativeTime : {
|
60 |
+
future : '%s ичинде',
|
61 |
+
past : '%s мурун',
|
62 |
+
s : 'бирнече секунд',
|
63 |
+
m : 'бир мүнөт',
|
64 |
+
mm : '%d мүнөт',
|
65 |
+
h : 'бир саат',
|
66 |
+
hh : '%d саат',
|
67 |
+
d : 'бир күн',
|
68 |
+
dd : '%d күн',
|
69 |
+
M : 'бир ай',
|
70 |
+
MM : '%d ай',
|
71 |
+
y : 'бир жыл',
|
72 |
+
yy : '%d жыл'
|
73 |
+
},
|
74 |
+
ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
|
75 |
+
ordinal : function (number) {
|
76 |
+
var a = number % 10,
|
77 |
+
b = number >= 100 ? 100 : null;
|
78 |
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
79 |
+
},
|
80 |
+
week : {
|
81 |
+
dow : 1, // Monday is the first day of the week.
|
82 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
83 |
+
}
|
84 |
+
});
|
85 |
+
|
86 |
+
return ky;
|
87 |
+
|
88 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ky.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},c=a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(a){var c=a%10,d=a>=100?100:null;return a+(b[a]||b[c]||b[d])},week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/lb.js
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Luxembourgish [lb]
|
3 |
+
//! author : mweimerskirch : https://github.com/mweimerskirch
|
4 |
+
//! author : David Raison : https://github.com/kwisatz
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
15 |
+
var format = {
|
16 |
+
'm': ['eng Minutt', 'enger Minutt'],
|
17 |
+
'h': ['eng Stonn', 'enger Stonn'],
|
18 |
+
'd': ['een Dag', 'engem Dag'],
|
19 |
+
'M': ['ee Mount', 'engem Mount'],
|
20 |
+
'y': ['ee Joer', 'engem Joer']
|
21 |
+
};
|
22 |
+
return withoutSuffix ? format[key][0] : format[key][1];
|
23 |
+
}
|
24 |
+
function processFutureTime(string) {
|
25 |
+
var number = string.substr(0, string.indexOf(' '));
|
26 |
+
if (eifelerRegelAppliesToNumber(number)) {
|
27 |
+
return 'a ' + string;
|
28 |
+
}
|
29 |
+
return 'an ' + string;
|
30 |
+
}
|
31 |
+
function processPastTime(string) {
|
32 |
+
var number = string.substr(0, string.indexOf(' '));
|
33 |
+
if (eifelerRegelAppliesToNumber(number)) {
|
34 |
+
return 'viru ' + string;
|
35 |
+
}
|
36 |
+
return 'virun ' + string;
|
37 |
+
}
|
38 |
+
/**
|
39 |
+
* Returns true if the word before the given number loses the '-n' ending.
|
40 |
+
* e.g. 'an 10 Deeg' but 'a 5 Deeg'
|
41 |
+
*
|
42 |
+
* @param number {integer}
|
43 |
+
* @returns {boolean}
|
44 |
+
*/
|
45 |
+
function eifelerRegelAppliesToNumber(number) {
|
46 |
+
number = parseInt(number, 10);
|
47 |
+
if (isNaN(number)) {
|
48 |
+
return false;
|
49 |
+
}
|
50 |
+
if (number < 0) {
|
51 |
+
// Negative Number --> always true
|
52 |
+
return true;
|
53 |
+
} else if (number < 10) {
|
54 |
+
// Only 1 digit
|
55 |
+
if (4 <= number && number <= 7) {
|
56 |
+
return true;
|
57 |
+
}
|
58 |
+
return false;
|
59 |
+
} else if (number < 100) {
|
60 |
+
// 2 digits
|
61 |
+
var lastDigit = number % 10, firstDigit = number / 10;
|
62 |
+
if (lastDigit === 0) {
|
63 |
+
return eifelerRegelAppliesToNumber(firstDigit);
|
64 |
+
}
|
65 |
+
return eifelerRegelAppliesToNumber(lastDigit);
|
66 |
+
} else if (number < 10000) {
|
67 |
+
// 3 or 4 digits --> recursively check first digit
|
68 |
+
while (number >= 10) {
|
69 |
+
number = number / 10;
|
70 |
+
}
|
71 |
+
return eifelerRegelAppliesToNumber(number);
|
72 |
+
} else {
|
73 |
+
// Anything larger than 4 digits: recursively check first n-3 digits
|
74 |
+
number = number / 1000;
|
75 |
+
return eifelerRegelAppliesToNumber(number);
|
76 |
+
}
|
77 |
+
}
|
78 |
+
|
79 |
+
var lb = moment.defineLocale('lb', {
|
80 |
+
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
|
81 |
+
monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
|
82 |
+
monthsParseExact : true,
|
83 |
+
weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
|
84 |
+
weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
|
85 |
+
weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
|
86 |
+
weekdaysParseExact : true,
|
87 |
+
longDateFormat: {
|
88 |
+
LT: 'H:mm [Auer]',
|
89 |
+
LTS: 'H:mm:ss [Auer]',
|
90 |
+
L: 'DD.MM.YYYY',
|
91 |
+
LL: 'D. MMMM YYYY',
|
92 |
+
LLL: 'D. MMMM YYYY H:mm [Auer]',
|
93 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
|
94 |
+
},
|
95 |
+
calendar: {
|
96 |
+
sameDay: '[Haut um] LT',
|
97 |
+
sameElse: 'L',
|
98 |
+
nextDay: '[Muer um] LT',
|
99 |
+
nextWeek: 'dddd [um] LT',
|
100 |
+
lastDay: '[Gëschter um] LT',
|
101 |
+
lastWeek: function () {
|
102 |
+
// Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
|
103 |
+
switch (this.day()) {
|
104 |
+
case 2:
|
105 |
+
case 4:
|
106 |
+
return '[Leschten] dddd [um] LT';
|
107 |
+
default:
|
108 |
+
return '[Leschte] dddd [um] LT';
|
109 |
+
}
|
110 |
+
}
|
111 |
+
},
|
112 |
+
relativeTime : {
|
113 |
+
future : processFutureTime,
|
114 |
+
past : processPastTime,
|
115 |
+
s : 'e puer Sekonnen',
|
116 |
+
m : processRelativeTime,
|
117 |
+
mm : '%d Minutten',
|
118 |
+
h : processRelativeTime,
|
119 |
+
hh : '%d Stonnen',
|
120 |
+
d : processRelativeTime,
|
121 |
+
dd : '%d Deeg',
|
122 |
+
M : processRelativeTime,
|
123 |
+
MM : '%d Méint',
|
124 |
+
y : processRelativeTime,
|
125 |
+
yy : '%d Joer'
|
126 |
+
},
|
127 |
+
ordinalParse: /\d{1,2}\./,
|
128 |
+
ordinal: '%d.',
|
129 |
+
week: {
|
130 |
+
dow: 1, // Monday is the first day of the week.
|
131 |
+
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
132 |
+
}
|
133 |
+
});
|
134 |
+
|
135 |
+
return lb;
|
136 |
+
|
137 |
+
}));
|
bp-core/js/vendor/moment-js/locale/lb.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?e[c][0]:e[c][1]}function c(a){var b=a.substr(0,a.indexOf(" "));return e(b)?"a "+a:"an "+a}function d(a){var b=a.substr(0,a.indexOf(" "));return e(b)?"viru "+a:"virun "+a}function e(a){if(a=parseInt(a,10),isNaN(a))return!1;if(a<0)return!0;if(a<10)return 4<=a&&a<=7;if(a<100){var b=a%10,c=a/10;return e(0===b?c:b)}if(a<1e4){for(;a>=10;)a/=10;return e(a)}return a/=1e3,e(a)}var f=a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:c,past:d,s:"e puer Sekonnen",m:b,mm:"%d Minutten",h:b,hh:"%d Stonnen",d:b,dd:"%d Deeg",M:b,MM:"%d Méint",y:b,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/lo.js
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Lao [lo]
|
3 |
+
//! author : Ryan Hart : https://github.com/ryanhart2
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var lo = moment.defineLocale('lo', {
|
14 |
+
months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
|
15 |
+
monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
|
16 |
+
weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
17 |
+
weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
18 |
+
weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
|
19 |
+
weekdaysParseExact : true,
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY HH:mm',
|
26 |
+
LLLL : 'ວັນdddd D MMMM YYYY HH:mm'
|
27 |
+
},
|
28 |
+
meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
|
29 |
+
isPM: function (input) {
|
30 |
+
return input === 'ຕອນແລງ';
|
31 |
+
},
|
32 |
+
meridiem : function (hour, minute, isLower) {
|
33 |
+
if (hour < 12) {
|
34 |
+
return 'ຕອນເຊົ້າ';
|
35 |
+
} else {
|
36 |
+
return 'ຕອນແລງ';
|
37 |
+
}
|
38 |
+
},
|
39 |
+
calendar : {
|
40 |
+
sameDay : '[ມື້ນີ້ເວລາ] LT',
|
41 |
+
nextDay : '[ມື້ອື່ນເວລາ] LT',
|
42 |
+
nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT',
|
43 |
+
lastDay : '[ມື້ວານນີ້ເວລາ] LT',
|
44 |
+
lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
|
45 |
+
sameElse : 'L'
|
46 |
+
},
|
47 |
+
relativeTime : {
|
48 |
+
future : 'ອີກ %s',
|
49 |
+
past : '%sຜ່ານມາ',
|
50 |
+
s : 'ບໍ່ເທົ່າໃດວິນາທີ',
|
51 |
+
m : '1 ນາທີ',
|
52 |
+
mm : '%d ນາທີ',
|
53 |
+
h : '1 ຊົ່ວໂມງ',
|
54 |
+
hh : '%d ຊົ່ວໂມງ',
|
55 |
+
d : '1 ມື້',
|
56 |
+
dd : '%d ມື້',
|
57 |
+
M : '1 ເດືອນ',
|
58 |
+
MM : '%d ເດືອນ',
|
59 |
+
y : '1 ປີ',
|
60 |
+
yy : '%d ປີ'
|
61 |
+
},
|
62 |
+
ordinalParse: /(ທີ່)\d{1,2}/,
|
63 |
+
ordinal : function (number) {
|
64 |
+
return 'ທີ່' + number;
|
65 |
+
}
|
66 |
+
});
|
67 |
+
|
68 |
+
return lo;
|
69 |
+
|
70 |
+
}));
|
bp-core/js/vendor/moment-js/locale/lo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(a){return"ຕອນແລງ"===a},meridiem:function(a,b,c){return a<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(a){return"ທີ່"+a}});return b});
|
bp-core/js/vendor/moment-js/locale/lt.js
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Lithuanian [lt]
|
3 |
+
//! author : Mindaugas Mozūras : https://github.com/mmozuras
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var units = {
|
14 |
+
'm' : 'minutė_minutės_minutę',
|
15 |
+
'mm': 'minutės_minučių_minutes',
|
16 |
+
'h' : 'valanda_valandos_valandą',
|
17 |
+
'hh': 'valandos_valandų_valandas',
|
18 |
+
'd' : 'diena_dienos_dieną',
|
19 |
+
'dd': 'dienos_dienų_dienas',
|
20 |
+
'M' : 'mėnuo_mėnesio_mėnesį',
|
21 |
+
'MM': 'mėnesiai_mėnesių_mėnesius',
|
22 |
+
'y' : 'metai_metų_metus',
|
23 |
+
'yy': 'metai_metų_metus'
|
24 |
+
};
|
25 |
+
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
26 |
+
if (withoutSuffix) {
|
27 |
+
return 'kelios sekundės';
|
28 |
+
} else {
|
29 |
+
return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
|
30 |
+
}
|
31 |
+
}
|
32 |
+
function translateSingular(number, withoutSuffix, key, isFuture) {
|
33 |
+
return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
|
34 |
+
}
|
35 |
+
function special(number) {
|
36 |
+
return number % 10 === 0 || (number > 10 && number < 20);
|
37 |
+
}
|
38 |
+
function forms(key) {
|
39 |
+
return units[key].split('_');
|
40 |
+
}
|
41 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
42 |
+
var result = number + ' ';
|
43 |
+
if (number === 1) {
|
44 |
+
return result + translateSingular(number, withoutSuffix, key[0], isFuture);
|
45 |
+
} else if (withoutSuffix) {
|
46 |
+
return result + (special(number) ? forms(key)[1] : forms(key)[0]);
|
47 |
+
} else {
|
48 |
+
if (isFuture) {
|
49 |
+
return result + forms(key)[1];
|
50 |
+
} else {
|
51 |
+
return result + (special(number) ? forms(key)[1] : forms(key)[2]);
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
55 |
+
var lt = moment.defineLocale('lt', {
|
56 |
+
months : {
|
57 |
+
format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
|
58 |
+
standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
|
59 |
+
isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/
|
60 |
+
},
|
61 |
+
monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
|
62 |
+
weekdays : {
|
63 |
+
format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
|
64 |
+
standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
|
65 |
+
isFormat: /dddd HH:mm/
|
66 |
+
},
|
67 |
+
weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
|
68 |
+
weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),
|
69 |
+
weekdaysParseExact : true,
|
70 |
+
longDateFormat : {
|
71 |
+
LT : 'HH:mm',
|
72 |
+
LTS : 'HH:mm:ss',
|
73 |
+
L : 'YYYY-MM-DD',
|
74 |
+
LL : 'YYYY [m.] MMMM D [d.]',
|
75 |
+
LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
|
76 |
+
LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
|
77 |
+
l : 'YYYY-MM-DD',
|
78 |
+
ll : 'YYYY [m.] MMMM D [d.]',
|
79 |
+
lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
|
80 |
+
llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
|
81 |
+
},
|
82 |
+
calendar : {
|
83 |
+
sameDay : '[Šiandien] LT',
|
84 |
+
nextDay : '[Rytoj] LT',
|
85 |
+
nextWeek : 'dddd LT',
|
86 |
+
lastDay : '[Vakar] LT',
|
87 |
+
lastWeek : '[Praėjusį] dddd LT',
|
88 |
+
sameElse : 'L'
|
89 |
+
},
|
90 |
+
relativeTime : {
|
91 |
+
future : 'po %s',
|
92 |
+
past : 'prieš %s',
|
93 |
+
s : translateSeconds,
|
94 |
+
m : translateSingular,
|
95 |
+
mm : translate,
|
96 |
+
h : translateSingular,
|
97 |
+
hh : translate,
|
98 |
+
d : translateSingular,
|
99 |
+
dd : translate,
|
100 |
+
M : translateSingular,
|
101 |
+
MM : translate,
|
102 |
+
y : translateSingular,
|
103 |
+
yy : translate
|
104 |
+
},
|
105 |
+
ordinalParse: /\d{1,2}-oji/,
|
106 |
+
ordinal : function (number) {
|
107 |
+
return number + '-oji';
|
108 |
+
},
|
109 |
+
week : {
|
110 |
+
dow : 1, // Monday is the first day of the week.
|
111 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
112 |
+
}
|
113 |
+
});
|
114 |
+
|
115 |
+
return lt;
|
116 |
+
|
117 |
+
}));
|
bp-core/js/vendor/moment-js/locale/lt.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function c(a,b,c,d){return b?e(c)[0]:d?e(c)[1]:e(c)[2]}function d(a){return a%10===0||a>10&&a<20}function e(a){return g[a].split("_")}function f(a,b,f,g){var h=a+" ";return 1===a?h+c(a,b,f[0],g):b?h+(d(a)?e(f)[1]:e(f)[0]):g?h+e(f)[1]:h+(d(a)?e(f)[1]:e(f)[2])}var g={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},h=a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:b,m:c,mm:f,h:c,hh:f,d:c,dd:f,M:c,MM:f,y:c,yy:f},ordinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},week:{dow:1,doy:4}});return h});
|
bp-core/js/vendor/moment-js/locale/lv.js
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Latvian [lv]
|
3 |
+
//! author : Kristaps Karlsons : https://github.com/skakri
|
4 |
+
//! author : Jānis Elmeris : https://github.com/JanisE
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var units = {
|
15 |
+
'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
16 |
+
'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
17 |
+
'h': 'stundas_stundām_stunda_stundas'.split('_'),
|
18 |
+
'hh': 'stundas_stundām_stunda_stundas'.split('_'),
|
19 |
+
'd': 'dienas_dienām_diena_dienas'.split('_'),
|
20 |
+
'dd': 'dienas_dienām_diena_dienas'.split('_'),
|
21 |
+
'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
|
22 |
+
'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
|
23 |
+
'y': 'gada_gadiem_gads_gadi'.split('_'),
|
24 |
+
'yy': 'gada_gadiem_gads_gadi'.split('_')
|
25 |
+
};
|
26 |
+
/**
|
27 |
+
* @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
|
28 |
+
*/
|
29 |
+
function format(forms, number, withoutSuffix) {
|
30 |
+
if (withoutSuffix) {
|
31 |
+
// E.g. "21 minūte", "3 minūtes".
|
32 |
+
return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
|
33 |
+
} else {
|
34 |
+
// E.g. "21 minūtes" as in "pēc 21 minūtes".
|
35 |
+
// E.g. "3 minūtēm" as in "pēc 3 minūtēm".
|
36 |
+
return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
|
37 |
+
}
|
38 |
+
}
|
39 |
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
40 |
+
return number + ' ' + format(units[key], number, withoutSuffix);
|
41 |
+
}
|
42 |
+
function relativeTimeWithSingular(number, withoutSuffix, key) {
|
43 |
+
return format(units[key], number, withoutSuffix);
|
44 |
+
}
|
45 |
+
function relativeSeconds(number, withoutSuffix) {
|
46 |
+
return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
|
47 |
+
}
|
48 |
+
|
49 |
+
var lv = moment.defineLocale('lv', {
|
50 |
+
months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
|
51 |
+
monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
|
52 |
+
weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
|
53 |
+
weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'),
|
54 |
+
weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'),
|
55 |
+
weekdaysParseExact : true,
|
56 |
+
longDateFormat : {
|
57 |
+
LT : 'HH:mm',
|
58 |
+
LTS : 'HH:mm:ss',
|
59 |
+
L : 'DD.MM.YYYY.',
|
60 |
+
LL : 'YYYY. [gada] D. MMMM',
|
61 |
+
LLL : 'YYYY. [gada] D. MMMM, HH:mm',
|
62 |
+
LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm'
|
63 |
+
},
|
64 |
+
calendar : {
|
65 |
+
sameDay : '[Šodien pulksten] LT',
|
66 |
+
nextDay : '[Rīt pulksten] LT',
|
67 |
+
nextWeek : 'dddd [pulksten] LT',
|
68 |
+
lastDay : '[Vakar pulksten] LT',
|
69 |
+
lastWeek : '[Pagājušā] dddd [pulksten] LT',
|
70 |
+
sameElse : 'L'
|
71 |
+
},
|
72 |
+
relativeTime : {
|
73 |
+
future : 'pēc %s',
|
74 |
+
past : 'pirms %s',
|
75 |
+
s : relativeSeconds,
|
76 |
+
m : relativeTimeWithSingular,
|
77 |
+
mm : relativeTimeWithPlural,
|
78 |
+
h : relativeTimeWithSingular,
|
79 |
+
hh : relativeTimeWithPlural,
|
80 |
+
d : relativeTimeWithSingular,
|
81 |
+
dd : relativeTimeWithPlural,
|
82 |
+
M : relativeTimeWithSingular,
|
83 |
+
MM : relativeTimeWithPlural,
|
84 |
+
y : relativeTimeWithSingular,
|
85 |
+
yy : relativeTimeWithPlural
|
86 |
+
},
|
87 |
+
ordinalParse: /\d{1,2}\./,
|
88 |
+
ordinal : '%d.',
|
89 |
+
week : {
|
90 |
+
dow : 1, // Monday is the first day of the week.
|
91 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
92 |
+
}
|
93 |
+
});
|
94 |
+
|
95 |
+
return lv;
|
96 |
+
|
97 |
+
}));
|
bp-core/js/vendor/moment-js/locale/lv.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){return c?b%10===1&&b%100!==11?a[2]:a[3]:b%10===1&&b%100!==11?a[0]:a[1]}function c(a,c,d){return a+" "+b(f[d],a,c)}function d(a,c,d){return b(f[d],a,c)}function e(a,b){return b?"dažas sekundes":"dažām sekundēm"}var f={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},g=a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:e,m:d,mm:c,h:d,hh:c,d:d,dd:c,M:d,MM:c,y:d,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return g});
|
bp-core/js/vendor/moment-js/locale/me.js
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Montenegrin [me]
|
3 |
+
//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var translator = {
|
14 |
+
words: { //Different grammatical cases
|
15 |
+
m: ['jedan minut', 'jednog minuta'],
|
16 |
+
mm: ['minut', 'minuta', 'minuta'],
|
17 |
+
h: ['jedan sat', 'jednog sata'],
|
18 |
+
hh: ['sat', 'sata', 'sati'],
|
19 |
+
dd: ['dan', 'dana', 'dana'],
|
20 |
+
MM: ['mjesec', 'mjeseca', 'mjeseci'],
|
21 |
+
yy: ['godina', 'godine', 'godina']
|
22 |
+
},
|
23 |
+
correctGrammaticalCase: function (number, wordKey) {
|
24 |
+
return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
|
25 |
+
},
|
26 |
+
translate: function (number, withoutSuffix, key) {
|
27 |
+
var wordKey = translator.words[key];
|
28 |
+
if (key.length === 1) {
|
29 |
+
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
+
} else {
|
31 |
+
return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
};
|
35 |
+
|
36 |
+
var me = moment.defineLocale('me', {
|
37 |
+
months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
|
38 |
+
monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
|
39 |
+
monthsParseExact : true,
|
40 |
+
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
|
41 |
+
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
42 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
43 |
+
weekdaysParseExact : true,
|
44 |
+
longDateFormat: {
|
45 |
+
LT: 'H:mm',
|
46 |
+
LTS : 'H:mm:ss',
|
47 |
+
L: 'DD.MM.YYYY',
|
48 |
+
LL: 'D. MMMM YYYY',
|
49 |
+
LLL: 'D. MMMM YYYY H:mm',
|
50 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
51 |
+
},
|
52 |
+
calendar: {
|
53 |
+
sameDay: '[danas u] LT',
|
54 |
+
nextDay: '[sjutra u] LT',
|
55 |
+
|
56 |
+
nextWeek: function () {
|
57 |
+
switch (this.day()) {
|
58 |
+
case 0:
|
59 |
+
return '[u] [nedjelju] [u] LT';
|
60 |
+
case 3:
|
61 |
+
return '[u] [srijedu] [u] LT';
|
62 |
+
case 6:
|
63 |
+
return '[u] [subotu] [u] LT';
|
64 |
+
case 1:
|
65 |
+
case 2:
|
66 |
+
case 4:
|
67 |
+
case 5:
|
68 |
+
return '[u] dddd [u] LT';
|
69 |
+
}
|
70 |
+
},
|
71 |
+
lastDay : '[juče u] LT',
|
72 |
+
lastWeek : function () {
|
73 |
+
var lastWeekDays = [
|
74 |
+
'[prošle] [nedjelje] [u] LT',
|
75 |
+
'[prošlog] [ponedjeljka] [u] LT',
|
76 |
+
'[prošlog] [utorka] [u] LT',
|
77 |
+
'[prošle] [srijede] [u] LT',
|
78 |
+
'[prošlog] [četvrtka] [u] LT',
|
79 |
+
'[prošlog] [petka] [u] LT',
|
80 |
+
'[prošle] [subote] [u] LT'
|
81 |
+
];
|
82 |
+
return lastWeekDays[this.day()];
|
83 |
+
},
|
84 |
+
sameElse : 'L'
|
85 |
+
},
|
86 |
+
relativeTime : {
|
87 |
+
future : 'za %s',
|
88 |
+
past : 'prije %s',
|
89 |
+
s : 'nekoliko sekundi',
|
90 |
+
m : translator.translate,
|
91 |
+
mm : translator.translate,
|
92 |
+
h : translator.translate,
|
93 |
+
hh : translator.translate,
|
94 |
+
d : 'dan',
|
95 |
+
dd : translator.translate,
|
96 |
+
M : 'mjesec',
|
97 |
+
MM : translator.translate,
|
98 |
+
y : 'godinu',
|
99 |
+
yy : translator.translate
|
100 |
+
},
|
101 |
+
ordinalParse: /\d{1,2}\./,
|
102 |
+
ordinal : '%d.',
|
103 |
+
week : {
|
104 |
+
dow : 1, // Monday is the first day of the week.
|
105 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
106 |
+
}
|
107 |
+
});
|
108 |
+
|
109 |
+
return me;
|
110 |
+
|
111 |
+
}));
|
bp-core/js/vendor/moment-js/locale/me.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"dan",dd:b.translate,M:"mjesec",MM:b.translate,y:"godinu",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/mi.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Maori [mi]
|
3 |
+
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var mi = moment.defineLocale('mi', {
|
14 |
+
months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'),
|
15 |
+
monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
|
16 |
+
monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
17 |
+
monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
18 |
+
monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
|
19 |
+
monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
|
20 |
+
weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
|
21 |
+
weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
22 |
+
weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
|
23 |
+
longDateFormat: {
|
24 |
+
LT: 'HH:mm',
|
25 |
+
LTS: 'HH:mm:ss',
|
26 |
+
L: 'DD/MM/YYYY',
|
27 |
+
LL: 'D MMMM YYYY',
|
28 |
+
LLL: 'D MMMM YYYY [i] HH:mm',
|
29 |
+
LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
|
30 |
+
},
|
31 |
+
calendar: {
|
32 |
+
sameDay: '[i teie mahana, i] LT',
|
33 |
+
nextDay: '[apopo i] LT',
|
34 |
+
nextWeek: 'dddd [i] LT',
|
35 |
+
lastDay: '[inanahi i] LT',
|
36 |
+
lastWeek: 'dddd [whakamutunga i] LT',
|
37 |
+
sameElse: 'L'
|
38 |
+
},
|
39 |
+
relativeTime: {
|
40 |
+
future: 'i roto i %s',
|
41 |
+
past: '%s i mua',
|
42 |
+
s: 'te hēkona ruarua',
|
43 |
+
m: 'he meneti',
|
44 |
+
mm: '%d meneti',
|
45 |
+
h: 'te haora',
|
46 |
+
hh: '%d haora',
|
47 |
+
d: 'he ra',
|
48 |
+
dd: '%d ra',
|
49 |
+
M: 'he marama',
|
50 |
+
MM: '%d marama',
|
51 |
+
y: 'he tau',
|
52 |
+
yy: '%d tau'
|
53 |
+
},
|
54 |
+
ordinalParse: /\d{1,2}º/,
|
55 |
+
ordinal: '%dº',
|
56 |
+
week : {
|
57 |
+
dow : 1, // Monday is the first day of the week.
|
58 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59 |
+
}
|
60 |
+
});
|
61 |
+
|
62 |
+
return mi;
|
63 |
+
|
64 |
+
}));
|
bp-core/js/vendor/moment-js/locale/mi.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/mk.js
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Macedonian [mk]
|
3 |
+
//! author : Borislav Mickov : https://github.com/B0k0
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var mk = moment.defineLocale('mk', {
|
14 |
+
months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
|
15 |
+
monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
|
16 |
+
weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
|
17 |
+
weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
|
18 |
+
weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'H:mm',
|
21 |
+
LTS : 'H:mm:ss',
|
22 |
+
L : 'D.MM.YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY H:mm',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY H:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Денес во] LT',
|
29 |
+
nextDay : '[Утре во] LT',
|
30 |
+
nextWeek : '[Во] dddd [во] LT',
|
31 |
+
lastDay : '[Вчера во] LT',
|
32 |
+
lastWeek : function () {
|
33 |
+
switch (this.day()) {
|
34 |
+
case 0:
|
35 |
+
case 3:
|
36 |
+
case 6:
|
37 |
+
return '[Изминатата] dddd [во] LT';
|
38 |
+
case 1:
|
39 |
+
case 2:
|
40 |
+
case 4:
|
41 |
+
case 5:
|
42 |
+
return '[Изминатиот] dddd [во] LT';
|
43 |
+
}
|
44 |
+
},
|
45 |
+
sameElse : 'L'
|
46 |
+
},
|
47 |
+
relativeTime : {
|
48 |
+
future : 'после %s',
|
49 |
+
past : 'пред %s',
|
50 |
+
s : 'неколку секунди',
|
51 |
+
m : 'минута',
|
52 |
+
mm : '%d минути',
|
53 |
+
h : 'час',
|
54 |
+
hh : '%d часа',
|
55 |
+
d : 'ден',
|
56 |
+
dd : '%d дена',
|
57 |
+
M : 'месец',
|
58 |
+
MM : '%d месеци',
|
59 |
+
y : 'година',
|
60 |
+
yy : '%d години'
|
61 |
+
},
|
62 |
+
ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
63 |
+
ordinal : function (number) {
|
64 |
+
var lastDigit = number % 10,
|
65 |
+
last2Digits = number % 100;
|
66 |
+
if (number === 0) {
|
67 |
+
return number + '-ев';
|
68 |
+
} else if (last2Digits === 0) {
|
69 |
+
return number + '-ен';
|
70 |
+
} else if (last2Digits > 10 && last2Digits < 20) {
|
71 |
+
return number + '-ти';
|
72 |
+
} else if (lastDigit === 1) {
|
73 |
+
return number + '-ви';
|
74 |
+
} else if (lastDigit === 2) {
|
75 |
+
return number + '-ри';
|
76 |
+
} else if (lastDigit === 7 || lastDigit === 8) {
|
77 |
+
return number + '-ми';
|
78 |
+
} else {
|
79 |
+
return number + '-ти';
|
80 |
+
}
|
81 |
+
},
|
82 |
+
week : {
|
83 |
+
dow : 1, // Monday is the first day of the week.
|
84 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
85 |
+
}
|
86 |
+
});
|
87 |
+
|
88 |
+
return mk;
|
89 |
+
|
90 |
+
}));
|
bp-core/js/vendor/moment-js/locale/mk.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/ml.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Malayalam [ml]
|
3 |
+
//! author : Floyd Pink : https://github.com/floydpink
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ml = moment.defineLocale('ml', {
|
14 |
+
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
|
15 |
+
monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
|
18 |
+
weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
|
19 |
+
weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'A h:mm -നു',
|
22 |
+
LTS : 'A h:mm:ss -നു',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY, A h:mm -നു',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm -നു'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay : '[ഇന്ന്] LT',
|
30 |
+
nextDay : '[നാളെ] LT',
|
31 |
+
nextWeek : 'dddd, LT',
|
32 |
+
lastDay : '[ഇന്നലെ] LT',
|
33 |
+
lastWeek : '[കഴിഞ്ഞ] dddd, LT',
|
34 |
+
sameElse : 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : '%s കഴിഞ്ഞ്',
|
38 |
+
past : '%s മുൻപ്',
|
39 |
+
s : 'അൽപ നിമിഷങ്ങൾ',
|
40 |
+
m : 'ഒരു മിനിറ്റ്',
|
41 |
+
mm : '%d മിനിറ്റ്',
|
42 |
+
h : 'ഒരു മണിക്കൂർ',
|
43 |
+
hh : '%d മണിക്കൂർ',
|
44 |
+
d : 'ഒരു ദിവസം',
|
45 |
+
dd : '%d ദിവസം',
|
46 |
+
M : 'ഒരു മാസം',
|
47 |
+
MM : '%d മാസം',
|
48 |
+
y : 'ഒരു വർഷം',
|
49 |
+
yy : '%d വർഷം'
|
50 |
+
},
|
51 |
+
meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
|
52 |
+
meridiemHour : function (hour, meridiem) {
|
53 |
+
if (hour === 12) {
|
54 |
+
hour = 0;
|
55 |
+
}
|
56 |
+
if ((meridiem === 'രാത്രി' && hour >= 4) ||
|
57 |
+
meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
|
58 |
+
meridiem === 'വൈകുന്നേരം') {
|
59 |
+
return hour + 12;
|
60 |
+
} else {
|
61 |
+
return hour;
|
62 |
+
}
|
63 |
+
},
|
64 |
+
meridiem : function (hour, minute, isLower) {
|
65 |
+
if (hour < 4) {
|
66 |
+
return 'രാത്രി';
|
67 |
+
} else if (hour < 12) {
|
68 |
+
return 'രാവിലെ';
|
69 |
+
} else if (hour < 17) {
|
70 |
+
return 'ഉച്ച കഴിഞ്ഞ്';
|
71 |
+
} else if (hour < 20) {
|
72 |
+
return 'വൈകുന്നേരം';
|
73 |
+
} else {
|
74 |
+
return 'രാത്രി';
|
75 |
+
}
|
76 |
+
}
|
77 |
+
});
|
78 |
+
|
79 |
+
return ml;
|
80 |
+
|
81 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ml.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(a,b){return 12===a&&(a=0),"രാത്രി"===b&&a>=4||"ഉച്ച കഴിഞ്ഞ്"===b||"വൈകുന്നേരം"===b?a+12:a},meridiem:function(a,b,c){return a<4?"രാത്രി":a<12?"രാവിലെ":a<17?"ഉച്ച കഴിഞ്ഞ്":a<20?"വൈകുന്നേരം":"രാത്രി"}});return b});
|
bp-core/js/vendor/moment-js/locale/mr.js
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Marathi [mr]
|
3 |
+
//! author : Harshad Kale : https://github.com/kalehv
|
4 |
+
//! author : Vivek Athalye : https://github.com/vnathalye
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var symbolMap = {
|
15 |
+
'1': '१',
|
16 |
+
'2': '२',
|
17 |
+
'3': '३',
|
18 |
+
'4': '४',
|
19 |
+
'5': '५',
|
20 |
+
'6': '६',
|
21 |
+
'7': '७',
|
22 |
+
'8': '८',
|
23 |
+
'9': '९',
|
24 |
+
'0': '०'
|
25 |
+
},
|
26 |
+
numberMap = {
|
27 |
+
'१': '1',
|
28 |
+
'२': '2',
|
29 |
+
'३': '3',
|
30 |
+
'४': '4',
|
31 |
+
'५': '5',
|
32 |
+
'६': '6',
|
33 |
+
'७': '7',
|
34 |
+
'८': '8',
|
35 |
+
'९': '9',
|
36 |
+
'०': '0'
|
37 |
+
};
|
38 |
+
|
39 |
+
function relativeTimeMr(number, withoutSuffix, string, isFuture)
|
40 |
+
{
|
41 |
+
var output = '';
|
42 |
+
if (withoutSuffix) {
|
43 |
+
switch (string) {
|
44 |
+
case 's': output = 'काही सेकंद'; break;
|
45 |
+
case 'm': output = 'एक मिनिट'; break;
|
46 |
+
case 'mm': output = '%d मिनिटे'; break;
|
47 |
+
case 'h': output = 'एक तास'; break;
|
48 |
+
case 'hh': output = '%d तास'; break;
|
49 |
+
case 'd': output = 'एक दिवस'; break;
|
50 |
+
case 'dd': output = '%d दिवस'; break;
|
51 |
+
case 'M': output = 'एक महिना'; break;
|
52 |
+
case 'MM': output = '%d महिने'; break;
|
53 |
+
case 'y': output = 'एक वर्ष'; break;
|
54 |
+
case 'yy': output = '%d वर्षे'; break;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
else {
|
58 |
+
switch (string) {
|
59 |
+
case 's': output = 'काही सेकंदां'; break;
|
60 |
+
case 'm': output = 'एका मिनिटा'; break;
|
61 |
+
case 'mm': output = '%d मिनिटां'; break;
|
62 |
+
case 'h': output = 'एका तासा'; break;
|
63 |
+
case 'hh': output = '%d तासां'; break;
|
64 |
+
case 'd': output = 'एका दिवसा'; break;
|
65 |
+
case 'dd': output = '%d दिवसां'; break;
|
66 |
+
case 'M': output = 'एका महिन्या'; break;
|
67 |
+
case 'MM': output = '%d महिन्यां'; break;
|
68 |
+
case 'y': output = 'एका वर्षा'; break;
|
69 |
+
case 'yy': output = '%d वर्षां'; break;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
return output.replace(/%d/i, number);
|
73 |
+
}
|
74 |
+
|
75 |
+
var mr = moment.defineLocale('mr', {
|
76 |
+
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
|
77 |
+
monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
|
78 |
+
monthsParseExact : true,
|
79 |
+
weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
|
80 |
+
weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
|
81 |
+
weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
|
82 |
+
longDateFormat : {
|
83 |
+
LT : 'A h:mm वाजता',
|
84 |
+
LTS : 'A h:mm:ss वाजता',
|
85 |
+
L : 'DD/MM/YYYY',
|
86 |
+
LL : 'D MMMM YYYY',
|
87 |
+
LLL : 'D MMMM YYYY, A h:mm वाजता',
|
88 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
|
89 |
+
},
|
90 |
+
calendar : {
|
91 |
+
sameDay : '[आज] LT',
|
92 |
+
nextDay : '[उद्या] LT',
|
93 |
+
nextWeek : 'dddd, LT',
|
94 |
+
lastDay : '[काल] LT',
|
95 |
+
lastWeek: '[मागील] dddd, LT',
|
96 |
+
sameElse : 'L'
|
97 |
+
},
|
98 |
+
relativeTime : {
|
99 |
+
future: '%sमध्ये',
|
100 |
+
past: '%sपूर्वी',
|
101 |
+
s: relativeTimeMr,
|
102 |
+
m: relativeTimeMr,
|
103 |
+
mm: relativeTimeMr,
|
104 |
+
h: relativeTimeMr,
|
105 |
+
hh: relativeTimeMr,
|
106 |
+
d: relativeTimeMr,
|
107 |
+
dd: relativeTimeMr,
|
108 |
+
M: relativeTimeMr,
|
109 |
+
MM: relativeTimeMr,
|
110 |
+
y: relativeTimeMr,
|
111 |
+
yy: relativeTimeMr
|
112 |
+
},
|
113 |
+
preparse: function (string) {
|
114 |
+
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
115 |
+
return numberMap[match];
|
116 |
+
});
|
117 |
+
},
|
118 |
+
postformat: function (string) {
|
119 |
+
return string.replace(/\d/g, function (match) {
|
120 |
+
return symbolMap[match];
|
121 |
+
});
|
122 |
+
},
|
123 |
+
meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
|
124 |
+
meridiemHour : function (hour, meridiem) {
|
125 |
+
if (hour === 12) {
|
126 |
+
hour = 0;
|
127 |
+
}
|
128 |
+
if (meridiem === 'रात्री') {
|
129 |
+
return hour < 4 ? hour : hour + 12;
|
130 |
+
} else if (meridiem === 'सकाळी') {
|
131 |
+
return hour;
|
132 |
+
} else if (meridiem === 'दुपारी') {
|
133 |
+
return hour >= 10 ? hour : hour + 12;
|
134 |
+
} else if (meridiem === 'सायंकाळी') {
|
135 |
+
return hour + 12;
|
136 |
+
}
|
137 |
+
},
|
138 |
+
meridiem: function (hour, minute, isLower) {
|
139 |
+
if (hour < 4) {
|
140 |
+
return 'रात्री';
|
141 |
+
} else if (hour < 10) {
|
142 |
+
return 'सकाळी';
|
143 |
+
} else if (hour < 17) {
|
144 |
+
return 'दुपारी';
|
145 |
+
} else if (hour < 20) {
|
146 |
+
return 'सायंकाळी';
|
147 |
+
} else {
|
148 |
+
return 'रात्री';
|
149 |
+
}
|
150 |
+
},
|
151 |
+
week : {
|
152 |
+
dow : 0, // Sunday is the first day of the week.
|
153 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
154 |
+
}
|
155 |
+
});
|
156 |
+
|
157 |
+
return mr;
|
158 |
+
|
159 |
+
}));
|
bp-core/js/vendor/moment-js/locale/mr.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}var c={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},d={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},e=a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return d[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return c[a]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===b?a<4?a:a+12:"सकाळी"===b?a:"दुपारी"===b?a>=10?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात्री":a<10?"सकाळी":a<17?"दुपारी":a<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return e});
|
bp-core/js/vendor/moment-js/locale/ms-my.js
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Malay [ms-my]
|
3 |
+
//! note : DEPRECATED, the correct one is [ms]
|
4 |
+
//! author : Weldan Jamili : https://github.com/weldan
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var ms_my = moment.defineLocale('ms-my', {
|
15 |
+
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
|
16 |
+
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
17 |
+
weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
18 |
+
weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
19 |
+
weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH.mm',
|
22 |
+
LTS : 'HH.mm.ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
27 |
+
},
|
28 |
+
meridiemParse: /pagi|tengahari|petang|malam/,
|
29 |
+
meridiemHour: function (hour, meridiem) {
|
30 |
+
if (hour === 12) {
|
31 |
+
hour = 0;
|
32 |
+
}
|
33 |
+
if (meridiem === 'pagi') {
|
34 |
+
return hour;
|
35 |
+
} else if (meridiem === 'tengahari') {
|
36 |
+
return hour >= 11 ? hour : hour + 12;
|
37 |
+
} else if (meridiem === 'petang' || meridiem === 'malam') {
|
38 |
+
return hour + 12;
|
39 |
+
}
|
40 |
+
},
|
41 |
+
meridiem : function (hours, minutes, isLower) {
|
42 |
+
if (hours < 11) {
|
43 |
+
return 'pagi';
|
44 |
+
} else if (hours < 15) {
|
45 |
+
return 'tengahari';
|
46 |
+
} else if (hours < 19) {
|
47 |
+
return 'petang';
|
48 |
+
} else {
|
49 |
+
return 'malam';
|
50 |
+
}
|
51 |
+
},
|
52 |
+
calendar : {
|
53 |
+
sameDay : '[Hari ini pukul] LT',
|
54 |
+
nextDay : '[Esok pukul] LT',
|
55 |
+
nextWeek : 'dddd [pukul] LT',
|
56 |
+
lastDay : '[Kelmarin pukul] LT',
|
57 |
+
lastWeek : 'dddd [lepas pukul] LT',
|
58 |
+
sameElse : 'L'
|
59 |
+
},
|
60 |
+
relativeTime : {
|
61 |
+
future : 'dalam %s',
|
62 |
+
past : '%s yang lepas',
|
63 |
+
s : 'beberapa saat',
|
64 |
+
m : 'seminit',
|
65 |
+
mm : '%d minit',
|
66 |
+
h : 'sejam',
|
67 |
+
hh : '%d jam',
|
68 |
+
d : 'sehari',
|
69 |
+
dd : '%d hari',
|
70 |
+
M : 'sebulan',
|
71 |
+
MM : '%d bulan',
|
72 |
+
y : 'setahun',
|
73 |
+
yy : '%d tahun'
|
74 |
+
},
|
75 |
+
week : {
|
76 |
+
dow : 1, // Monday is the first day of the week.
|
77 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
78 |
+
}
|
79 |
+
});
|
80 |
+
|
81 |
+
return ms_my;
|
82 |
+
|
83 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ms-my.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/ms.js
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Malay [ms]
|
3 |
+
//! author : Weldan Jamili : https://github.com/weldan
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var ms = moment.defineLocale('ms', {
|
14 |
+
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
|
16 |
+
weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
|
17 |
+
weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
|
18 |
+
weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH.mm',
|
21 |
+
LTS : 'HH.mm.ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
25 |
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
26 |
+
},
|
27 |
+
meridiemParse: /pagi|tengahari|petang|malam/,
|
28 |
+
meridiemHour: function (hour, meridiem) {
|
29 |
+
if (hour === 12) {
|
30 |
+
hour = 0;
|
31 |
+
}
|
32 |
+
if (meridiem === 'pagi') {
|
33 |
+
return hour;
|
34 |
+
} else if (meridiem === 'tengahari') {
|
35 |
+
return hour >= 11 ? hour : hour + 12;
|
36 |
+
} else if (meridiem === 'petang' || meridiem === 'malam') {
|
37 |
+
return hour + 12;
|
38 |
+
}
|
39 |
+
},
|
40 |
+
meridiem : function (hours, minutes, isLower) {
|
41 |
+
if (hours < 11) {
|
42 |
+
return 'pagi';
|
43 |
+
} else if (hours < 15) {
|
44 |
+
return 'tengahari';
|
45 |
+
} else if (hours < 19) {
|
46 |
+
return 'petang';
|
47 |
+
} else {
|
48 |
+
return 'malam';
|
49 |
+
}
|
50 |
+
},
|
51 |
+
calendar : {
|
52 |
+
sameDay : '[Hari ini pukul] LT',
|
53 |
+
nextDay : '[Esok pukul] LT',
|
54 |
+
nextWeek : 'dddd [pukul] LT',
|
55 |
+
lastDay : '[Kelmarin pukul] LT',
|
56 |
+
lastWeek : 'dddd [lepas pukul] LT',
|
57 |
+
sameElse : 'L'
|
58 |
+
},
|
59 |
+
relativeTime : {
|
60 |
+
future : 'dalam %s',
|
61 |
+
past : '%s yang lepas',
|
62 |
+
s : 'beberapa saat',
|
63 |
+
m : 'seminit',
|
64 |
+
mm : '%d minit',
|
65 |
+
h : 'sejam',
|
66 |
+
hh : '%d jam',
|
67 |
+
d : 'sehari',
|
68 |
+
dd : '%d hari',
|
69 |
+
M : 'sebulan',
|
70 |
+
MM : '%d bulan',
|
71 |
+
y : 'setahun',
|
72 |
+
yy : '%d tahun'
|
73 |
+
},
|
74 |
+
week : {
|
75 |
+
dow : 1, // Monday is the first day of the week.
|
76 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
77 |
+
}
|
78 |
+
});
|
79 |
+
|
80 |
+
return ms;
|
81 |
+
|
82 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ms.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/my.js
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Burmese [my]
|
3 |
+
//! author : Squar team, mysquar.com
|
4 |
+
//! author : David Rossellat : https://github.com/gholadr
|
5 |
+
//! author : Tin Aung Lin : https://github.com/thanyawzinmin
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var symbolMap = {
|
16 |
+
'1': '၁',
|
17 |
+
'2': '၂',
|
18 |
+
'3': '၃',
|
19 |
+
'4': '၄',
|
20 |
+
'5': '၅',
|
21 |
+
'6': '၆',
|
22 |
+
'7': '၇',
|
23 |
+
'8': '၈',
|
24 |
+
'9': '၉',
|
25 |
+
'0': '၀'
|
26 |
+
}, numberMap = {
|
27 |
+
'၁': '1',
|
28 |
+
'၂': '2',
|
29 |
+
'၃': '3',
|
30 |
+
'၄': '4',
|
31 |
+
'၅': '5',
|
32 |
+
'၆': '6',
|
33 |
+
'၇': '7',
|
34 |
+
'၈': '8',
|
35 |
+
'၉': '9',
|
36 |
+
'၀': '0'
|
37 |
+
};
|
38 |
+
|
39 |
+
var my = moment.defineLocale('my', {
|
40 |
+
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
|
41 |
+
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
42 |
+
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
|
43 |
+
weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
44 |
+
weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
45 |
+
|
46 |
+
longDateFormat: {
|
47 |
+
LT: 'HH:mm',
|
48 |
+
LTS: 'HH:mm:ss',
|
49 |
+
L: 'DD/MM/YYYY',
|
50 |
+
LL: 'D MMMM YYYY',
|
51 |
+
LLL: 'D MMMM YYYY HH:mm',
|
52 |
+
LLLL: 'dddd D MMMM YYYY HH:mm'
|
53 |
+
},
|
54 |
+
calendar: {
|
55 |
+
sameDay: '[ယနေ.] LT [မှာ]',
|
56 |
+
nextDay: '[မနက်ဖြန်] LT [မှာ]',
|
57 |
+
nextWeek: 'dddd LT [မှာ]',
|
58 |
+
lastDay: '[မနေ.က] LT [မှာ]',
|
59 |
+
lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
|
60 |
+
sameElse: 'L'
|
61 |
+
},
|
62 |
+
relativeTime: {
|
63 |
+
future: 'လာမည့် %s မှာ',
|
64 |
+
past: 'လွန်ခဲ့သော %s က',
|
65 |
+
s: 'စက္ကန်.အနည်းငယ်',
|
66 |
+
m: 'တစ်မိနစ်',
|
67 |
+
mm: '%d မိနစ်',
|
68 |
+
h: 'တစ်နာရီ',
|
69 |
+
hh: '%d နာရီ',
|
70 |
+
d: 'တစ်ရက်',
|
71 |
+
dd: '%d ရက်',
|
72 |
+
M: 'တစ်လ',
|
73 |
+
MM: '%d လ',
|
74 |
+
y: 'တစ်နှစ်',
|
75 |
+
yy: '%d နှစ်'
|
76 |
+
},
|
77 |
+
preparse: function (string) {
|
78 |
+
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
79 |
+
return numberMap[match];
|
80 |
+
});
|
81 |
+
},
|
82 |
+
postformat: function (string) {
|
83 |
+
return string.replace(/\d/g, function (match) {
|
84 |
+
return symbolMap[match];
|
85 |
+
});
|
86 |
+
},
|
87 |
+
week: {
|
88 |
+
dow: 1, // Monday is the first day of the week.
|
89 |
+
doy: 4 // The week that contains Jan 1st is the first week of the year.
|
90 |
+
}
|
91 |
+
});
|
92 |
+
|
93 |
+
return my;
|
94 |
+
|
95 |
+
}));
|
bp-core/js/vendor/moment-js/locale/my.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},c={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},d=a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},week:{dow:1,doy:4}});return d});
|
bp-core/js/vendor/moment-js/locale/nb.js
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Norwegian Bokmål [nb]
|
3 |
+
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
4 |
+
//! Sigurd Gartmann : https://github.com/sigurdga
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var nb = moment.defineLocale('nb', {
|
15 |
+
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
16 |
+
monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
|
17 |
+
monthsParseExact : true,
|
18 |
+
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
19 |
+
weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
|
20 |
+
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
21 |
+
weekdaysParseExact : true,
|
22 |
+
longDateFormat : {
|
23 |
+
LT : 'HH:mm',
|
24 |
+
LTS : 'HH:mm:ss',
|
25 |
+
L : 'DD.MM.YYYY',
|
26 |
+
LL : 'D. MMMM YYYY',
|
27 |
+
LLL : 'D. MMMM YYYY [kl.] HH:mm',
|
28 |
+
LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
|
29 |
+
},
|
30 |
+
calendar : {
|
31 |
+
sameDay: '[i dag kl.] LT',
|
32 |
+
nextDay: '[i morgen kl.] LT',
|
33 |
+
nextWeek: 'dddd [kl.] LT',
|
34 |
+
lastDay: '[i går kl.] LT',
|
35 |
+
lastWeek: '[forrige] dddd [kl.] LT',
|
36 |
+
sameElse: 'L'
|
37 |
+
},
|
38 |
+
relativeTime : {
|
39 |
+
future : 'om %s',
|
40 |
+
past : '%s siden',
|
41 |
+
s : 'noen sekunder',
|
42 |
+
m : 'ett minutt',
|
43 |
+
mm : '%d minutter',
|
44 |
+
h : 'en time',
|
45 |
+
hh : '%d timer',
|
46 |
+
d : 'en dag',
|
47 |
+
dd : '%d dager',
|
48 |
+
M : 'en måned',
|
49 |
+
MM : '%d måneder',
|
50 |
+
y : 'ett år',
|
51 |
+
yy : '%d år'
|
52 |
+
},
|
53 |
+
ordinalParse: /\d{1,2}\./,
|
54 |
+
ordinal : '%d.',
|
55 |
+
week : {
|
56 |
+
dow : 1, // Monday is the first day of the week.
|
57 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
58 |
+
}
|
59 |
+
});
|
60 |
+
|
61 |
+
return nb;
|
62 |
+
|
63 |
+
}));
|
bp-core/js/vendor/moment-js/locale/nb.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ne.js
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Nepalese [ne]
|
3 |
+
//! author : suvash : https://github.com/suvash
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '१',
|
15 |
+
'2': '२',
|
16 |
+
'3': '३',
|
17 |
+
'4': '४',
|
18 |
+
'5': '५',
|
19 |
+
'6': '६',
|
20 |
+
'7': '७',
|
21 |
+
'8': '८',
|
22 |
+
'9': '९',
|
23 |
+
'0': '०'
|
24 |
+
},
|
25 |
+
numberMap = {
|
26 |
+
'१': '1',
|
27 |
+
'२': '2',
|
28 |
+
'३': '3',
|
29 |
+
'४': '4',
|
30 |
+
'५': '5',
|
31 |
+
'६': '6',
|
32 |
+
'७': '7',
|
33 |
+
'८': '8',
|
34 |
+
'९': '9',
|
35 |
+
'०': '0'
|
36 |
+
};
|
37 |
+
|
38 |
+
var ne = moment.defineLocale('ne', {
|
39 |
+
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
|
40 |
+
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
|
41 |
+
monthsParseExact : true,
|
42 |
+
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
|
43 |
+
weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
|
44 |
+
weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
|
45 |
+
weekdaysParseExact : true,
|
46 |
+
longDateFormat : {
|
47 |
+
LT : 'Aको h:mm बजे',
|
48 |
+
LTS : 'Aको h:mm:ss बजे',
|
49 |
+
L : 'DD/MM/YYYY',
|
50 |
+
LL : 'D MMMM YYYY',
|
51 |
+
LLL : 'D MMMM YYYY, Aको h:mm बजे',
|
52 |
+
LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
|
53 |
+
},
|
54 |
+
preparse: function (string) {
|
55 |
+
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
56 |
+
return numberMap[match];
|
57 |
+
});
|
58 |
+
},
|
59 |
+
postformat: function (string) {
|
60 |
+
return string.replace(/\d/g, function (match) {
|
61 |
+
return symbolMap[match];
|
62 |
+
});
|
63 |
+
},
|
64 |
+
meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
|
65 |
+
meridiemHour : function (hour, meridiem) {
|
66 |
+
if (hour === 12) {
|
67 |
+
hour = 0;
|
68 |
+
}
|
69 |
+
if (meridiem === 'राति') {
|
70 |
+
return hour < 4 ? hour : hour + 12;
|
71 |
+
} else if (meridiem === 'बिहान') {
|
72 |
+
return hour;
|
73 |
+
} else if (meridiem === 'दिउँसो') {
|
74 |
+
return hour >= 10 ? hour : hour + 12;
|
75 |
+
} else if (meridiem === 'साँझ') {
|
76 |
+
return hour + 12;
|
77 |
+
}
|
78 |
+
},
|
79 |
+
meridiem : function (hour, minute, isLower) {
|
80 |
+
if (hour < 3) {
|
81 |
+
return 'राति';
|
82 |
+
} else if (hour < 12) {
|
83 |
+
return 'बिहान';
|
84 |
+
} else if (hour < 16) {
|
85 |
+
return 'दिउँसो';
|
86 |
+
} else if (hour < 20) {
|
87 |
+
return 'साँझ';
|
88 |
+
} else {
|
89 |
+
return 'राति';
|
90 |
+
}
|
91 |
+
},
|
92 |
+
calendar : {
|
93 |
+
sameDay : '[आज] LT',
|
94 |
+
nextDay : '[भोलि] LT',
|
95 |
+
nextWeek : '[आउँदो] dddd[,] LT',
|
96 |
+
lastDay : '[हिजो] LT',
|
97 |
+
lastWeek : '[गएको] dddd[,] LT',
|
98 |
+
sameElse : 'L'
|
99 |
+
},
|
100 |
+
relativeTime : {
|
101 |
+
future : '%sमा',
|
102 |
+
past : '%s अगाडि',
|
103 |
+
s : 'केही क्षण',
|
104 |
+
m : 'एक मिनेट',
|
105 |
+
mm : '%d मिनेट',
|
106 |
+
h : 'एक घण्टा',
|
107 |
+
hh : '%d घण्टा',
|
108 |
+
d : 'एक दिन',
|
109 |
+
dd : '%d दिन',
|
110 |
+
M : 'एक महिना',
|
111 |
+
MM : '%d महिना',
|
112 |
+
y : 'एक बर्ष',
|
113 |
+
yy : '%d बर्ष'
|
114 |
+
},
|
115 |
+
week : {
|
116 |
+
dow : 0, // Sunday is the first day of the week.
|
117 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
118 |
+
}
|
119 |
+
});
|
120 |
+
|
121 |
+
return ne;
|
122 |
+
|
123 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ne.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},c={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},d=a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(a,b){return 12===a&&(a=0),"राति"===b?a<4?a:a+12:"बिहान"===b?a:"दिउँसो"===b?a>=10?a:a+12:"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return a<3?"राति":a<12?"बिहान":a<16?"दिउँसो":a<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/nl.js
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Dutch [nl]
|
3 |
+
//! author : Joris Röling : https://github.com/jorisroling
|
4 |
+
//! author : Jacob Middag : https://github.com/middagj
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
15 |
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
|
16 |
+
|
17 |
+
var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
|
18 |
+
var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
19 |
+
|
20 |
+
var nl = moment.defineLocale('nl', {
|
21 |
+
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
|
22 |
+
monthsShort : function (m, format) {
|
23 |
+
if (/-MMM-/.test(format)) {
|
24 |
+
return monthsShortWithoutDots[m.month()];
|
25 |
+
} else {
|
26 |
+
return monthsShortWithDots[m.month()];
|
27 |
+
}
|
28 |
+
},
|
29 |
+
|
30 |
+
monthsRegex: monthsRegex,
|
31 |
+
monthsShortRegex: monthsRegex,
|
32 |
+
monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,
|
33 |
+
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
34 |
+
|
35 |
+
monthsParse : monthsParse,
|
36 |
+
longMonthsParse : monthsParse,
|
37 |
+
shortMonthsParse : monthsParse,
|
38 |
+
|
39 |
+
weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
40 |
+
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
41 |
+
weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
|
42 |
+
weekdaysParseExact : true,
|
43 |
+
longDateFormat : {
|
44 |
+
LT : 'HH:mm',
|
45 |
+
LTS : 'HH:mm:ss',
|
46 |
+
L : 'DD-MM-YYYY',
|
47 |
+
LL : 'D MMMM YYYY',
|
48 |
+
LLL : 'D MMMM YYYY HH:mm',
|
49 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
50 |
+
},
|
51 |
+
calendar : {
|
52 |
+
sameDay: '[vandaag om] LT',
|
53 |
+
nextDay: '[morgen om] LT',
|
54 |
+
nextWeek: 'dddd [om] LT',
|
55 |
+
lastDay: '[gisteren om] LT',
|
56 |
+
lastWeek: '[afgelopen] dddd [om] LT',
|
57 |
+
sameElse: 'L'
|
58 |
+
},
|
59 |
+
relativeTime : {
|
60 |
+
future : 'over %s',
|
61 |
+
past : '%s geleden',
|
62 |
+
s : 'een paar seconden',
|
63 |
+
m : 'één minuut',
|
64 |
+
mm : '%d minuten',
|
65 |
+
h : 'één uur',
|
66 |
+
hh : '%d uur',
|
67 |
+
d : 'één dag',
|
68 |
+
dd : '%d dagen',
|
69 |
+
M : 'één maand',
|
70 |
+
MM : '%d maanden',
|
71 |
+
y : 'één jaar',
|
72 |
+
yy : '%d jaar'
|
73 |
+
},
|
74 |
+
ordinalParse: /\d{1,2}(ste|de)/,
|
75 |
+
ordinal : function (number) {
|
76 |
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
77 |
+
},
|
78 |
+
week : {
|
79 |
+
dow : 1, // Monday is the first day of the week.
|
80 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
81 |
+
}
|
82 |
+
});
|
83 |
+
|
84 |
+
return nl;
|
85 |
+
|
86 |
+
}));
|
bp-core/js/vendor/moment-js/locale/nl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),c="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),d=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,f=a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/nn.js
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Nynorsk [nn]
|
3 |
+
//! author : https://github.com/mechuwind
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var nn = moment.defineLocale('nn', {
|
14 |
+
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
15 |
+
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
16 |
+
weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
|
17 |
+
weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
|
18 |
+
weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD.MM.YYYY',
|
23 |
+
LL : 'D. MMMM YYYY',
|
24 |
+
LLL : 'D. MMMM YYYY [kl.] H:mm',
|
25 |
+
LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay: '[I dag klokka] LT',
|
29 |
+
nextDay: '[I morgon klokka] LT',
|
30 |
+
nextWeek: 'dddd [klokka] LT',
|
31 |
+
lastDay: '[I går klokka] LT',
|
32 |
+
lastWeek: '[Føregåande] dddd [klokka] LT',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'om %s',
|
37 |
+
past : '%s sidan',
|
38 |
+
s : 'nokre sekund',
|
39 |
+
m : 'eit minutt',
|
40 |
+
mm : '%d minutt',
|
41 |
+
h : 'ein time',
|
42 |
+
hh : '%d timar',
|
43 |
+
d : 'ein dag',
|
44 |
+
dd : '%d dagar',
|
45 |
+
M : 'ein månad',
|
46 |
+
MM : '%d månader',
|
47 |
+
y : 'eit år',
|
48 |
+
yy : '%d år'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}\./,
|
51 |
+
ordinal : '%d.',
|
52 |
+
week : {
|
53 |
+
dow : 1, // Monday is the first day of the week.
|
54 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
return nn;
|
59 |
+
|
60 |
+
}));
|
bp-core/js/vendor/moment-js/locale/nn.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/pa-in.js
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Punjabi (India) [pa-in]
|
3 |
+
//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '੧',
|
15 |
+
'2': '੨',
|
16 |
+
'3': '੩',
|
17 |
+
'4': '੪',
|
18 |
+
'5': '੫',
|
19 |
+
'6': '੬',
|
20 |
+
'7': '੭',
|
21 |
+
'8': '੮',
|
22 |
+
'9': '੯',
|
23 |
+
'0': '੦'
|
24 |
+
},
|
25 |
+
numberMap = {
|
26 |
+
'੧': '1',
|
27 |
+
'੨': '2',
|
28 |
+
'੩': '3',
|
29 |
+
'੪': '4',
|
30 |
+
'੫': '5',
|
31 |
+
'੬': '6',
|
32 |
+
'੭': '7',
|
33 |
+
'੮': '8',
|
34 |
+
'੯': '9',
|
35 |
+
'੦': '0'
|
36 |
+
};
|
37 |
+
|
38 |
+
var pa_in = moment.defineLocale('pa-in', {
|
39 |
+
// There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi.
|
40 |
+
months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
|
41 |
+
monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
|
42 |
+
weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
|
43 |
+
weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
|
44 |
+
weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
|
45 |
+
longDateFormat : {
|
46 |
+
LT : 'A h:mm ਵਜੇ',
|
47 |
+
LTS : 'A h:mm:ss ਵਜੇ',
|
48 |
+
L : 'DD/MM/YYYY',
|
49 |
+
LL : 'D MMMM YYYY',
|
50 |
+
LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',
|
51 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
|
52 |
+
},
|
53 |
+
calendar : {
|
54 |
+
sameDay : '[ਅਜ] LT',
|
55 |
+
nextDay : '[ਕਲ] LT',
|
56 |
+
nextWeek : 'dddd, LT',
|
57 |
+
lastDay : '[ਕਲ] LT',
|
58 |
+
lastWeek : '[ਪਿਛਲੇ] dddd, LT',
|
59 |
+
sameElse : 'L'
|
60 |
+
},
|
61 |
+
relativeTime : {
|
62 |
+
future : '%s ਵਿੱਚ',
|
63 |
+
past : '%s ਪਿਛਲੇ',
|
64 |
+
s : 'ਕੁਝ ਸਕਿੰਟ',
|
65 |
+
m : 'ਇਕ ਮਿੰਟ',
|
66 |
+
mm : '%d ਮਿੰਟ',
|
67 |
+
h : 'ਇੱਕ ਘੰਟਾ',
|
68 |
+
hh : '%d ਘੰਟੇ',
|
69 |
+
d : 'ਇੱਕ ਦਿਨ',
|
70 |
+
dd : '%d ਦਿਨ',
|
71 |
+
M : 'ਇੱਕ ਮਹੀਨਾ',
|
72 |
+
MM : '%d ਮਹੀਨੇ',
|
73 |
+
y : 'ਇੱਕ ਸਾਲ',
|
74 |
+
yy : '%d ਸਾਲ'
|
75 |
+
},
|
76 |
+
preparse: function (string) {
|
77 |
+
return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
|
78 |
+
return numberMap[match];
|
79 |
+
});
|
80 |
+
},
|
81 |
+
postformat: function (string) {
|
82 |
+
return string.replace(/\d/g, function (match) {
|
83 |
+
return symbolMap[match];
|
84 |
+
});
|
85 |
+
},
|
86 |
+
// Punjabi notation for meridiems are quite fuzzy in practice. While there exists
|
87 |
+
// a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
|
88 |
+
meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
|
89 |
+
meridiemHour : function (hour, meridiem) {
|
90 |
+
if (hour === 12) {
|
91 |
+
hour = 0;
|
92 |
+
}
|
93 |
+
if (meridiem === 'ਰਾਤ') {
|
94 |
+
return hour < 4 ? hour : hour + 12;
|
95 |
+
} else if (meridiem === 'ਸਵੇਰ') {
|
96 |
+
return hour;
|
97 |
+
} else if (meridiem === 'ਦੁਪਹਿਰ') {
|
98 |
+
return hour >= 10 ? hour : hour + 12;
|
99 |
+
} else if (meridiem === 'ਸ਼ਾਮ') {
|
100 |
+
return hour + 12;
|
101 |
+
}
|
102 |
+
},
|
103 |
+
meridiem : function (hour, minute, isLower) {
|
104 |
+
if (hour < 4) {
|
105 |
+
return 'ਰਾਤ';
|
106 |
+
} else if (hour < 10) {
|
107 |
+
return 'ਸਵੇਰ';
|
108 |
+
} else if (hour < 17) {
|
109 |
+
return 'ਦੁਪਹਿਰ';
|
110 |
+
} else if (hour < 20) {
|
111 |
+
return 'ਸ਼ਾਮ';
|
112 |
+
} else {
|
113 |
+
return 'ਰਾਤ';
|
114 |
+
}
|
115 |
+
},
|
116 |
+
week : {
|
117 |
+
dow : 0, // Sunday is the first day of the week.
|
118 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
119 |
+
}
|
120 |
+
});
|
121 |
+
|
122 |
+
return pa_in;
|
123 |
+
|
124 |
+
}));
|
bp-core/js/vendor/moment-js/locale/pa-in.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},c={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},d=a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(a){return a.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ਰਾਤ"===b?a<4?a:a+12:"ਸਵੇਰ"===b?a:"ਦੁਪਹਿਰ"===b?a>=10?a:a+12:"ਸ਼ਾਮ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ਰਾਤ":a<10?"ਸਵੇਰ":a<17?"ਦੁਪਹਿਰ":a<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/pl.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Polish [pl]
|
3 |
+
//! author : Rafal Hirsz : https://github.com/evoL
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
|
14 |
+
monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
|
15 |
+
function plural(n) {
|
16 |
+
return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
|
17 |
+
}
|
18 |
+
function translate(number, withoutSuffix, key) {
|
19 |
+
var result = number + ' ';
|
20 |
+
switch (key) {
|
21 |
+
case 'm':
|
22 |
+
return withoutSuffix ? 'minuta' : 'minutę';
|
23 |
+
case 'mm':
|
24 |
+
return result + (plural(number) ? 'minuty' : 'minut');
|
25 |
+
case 'h':
|
26 |
+
return withoutSuffix ? 'godzina' : 'godzinę';
|
27 |
+
case 'hh':
|
28 |
+
return result + (plural(number) ? 'godziny' : 'godzin');
|
29 |
+
case 'MM':
|
30 |
+
return result + (plural(number) ? 'miesiące' : 'miesięcy');
|
31 |
+
case 'yy':
|
32 |
+
return result + (plural(number) ? 'lata' : 'lat');
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
var pl = moment.defineLocale('pl', {
|
37 |
+
months : function (momentToFormat, format) {
|
38 |
+
if (format === '') {
|
39 |
+
// Hack: if format empty we know this is used to generate
|
40 |
+
// RegExp by moment. Give then back both valid forms of months
|
41 |
+
// in RegExp ready format.
|
42 |
+
return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
|
43 |
+
} else if (/D MMMM/.test(format)) {
|
44 |
+
return monthsSubjective[momentToFormat.month()];
|
45 |
+
} else {
|
46 |
+
return monthsNominative[momentToFormat.month()];
|
47 |
+
}
|
48 |
+
},
|
49 |
+
monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
|
50 |
+
weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
|
51 |
+
weekdaysShort : 'nie_pon_wt_śr_czw_pt_sb'.split('_'),
|
52 |
+
weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
|
53 |
+
longDateFormat : {
|
54 |
+
LT : 'HH:mm',
|
55 |
+
LTS : 'HH:mm:ss',
|
56 |
+
L : 'DD.MM.YYYY',
|
57 |
+
LL : 'D MMMM YYYY',
|
58 |
+
LLL : 'D MMMM YYYY HH:mm',
|
59 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
60 |
+
},
|
61 |
+
calendar : {
|
62 |
+
sameDay: '[Dziś o] LT',
|
63 |
+
nextDay: '[Jutro o] LT',
|
64 |
+
nextWeek: '[W] dddd [o] LT',
|
65 |
+
lastDay: '[Wczoraj o] LT',
|
66 |
+
lastWeek: function () {
|
67 |
+
switch (this.day()) {
|
68 |
+
case 0:
|
69 |
+
return '[W zeszłą niedzielę o] LT';
|
70 |
+
case 3:
|
71 |
+
return '[W zeszłą środę o] LT';
|
72 |
+
case 6:
|
73 |
+
return '[W zeszłą sobotę o] LT';
|
74 |
+
default:
|
75 |
+
return '[W zeszły] dddd [o] LT';
|
76 |
+
}
|
77 |
+
},
|
78 |
+
sameElse: 'L'
|
79 |
+
},
|
80 |
+
relativeTime : {
|
81 |
+
future : 'za %s',
|
82 |
+
past : '%s temu',
|
83 |
+
s : 'kilka sekund',
|
84 |
+
m : translate,
|
85 |
+
mm : translate,
|
86 |
+
h : translate,
|
87 |
+
hh : translate,
|
88 |
+
d : '1 dzień',
|
89 |
+
dd : '%d dni',
|
90 |
+
M : 'miesiąc',
|
91 |
+
MM : translate,
|
92 |
+
y : 'rok',
|
93 |
+
yy : translate
|
94 |
+
},
|
95 |
+
ordinalParse: /\d{1,2}\./,
|
96 |
+
ordinal : '%d.',
|
97 |
+
week : {
|
98 |
+
dow : 1, // Monday is the first day of the week.
|
99 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
100 |
+
}
|
101 |
+
});
|
102 |
+
|
103 |
+
return pl;
|
104 |
+
|
105 |
+
}));
|
bp-core/js/vendor/moment-js/locale/pl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a%10<5&&a%10>1&&~~(a/10)%10!==1}function c(a,c,d){var e=a+" ";switch(d){case"m":return c?"minuta":"minutę";case"mm":return e+(b(a)?"minuty":"minut");case"h":return c?"godzina":"godzinę";case"hh":return e+(b(a)?"godziny":"godzin");case"MM":return e+(b(a)?"miesiące":"miesięcy");case"yy":return e+(b(a)?"lata":"lat")}}var d="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),e="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),f=a.defineLocale("pl",{months:function(a,b){return""===b?"("+e[a.month()]+"|"+d[a.month()]+")":/D MMMM/.test(b)?e[a.month()]:d[a.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:c,mm:c,h:c,hh:c,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:c,y:"rok",yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/pt-br.js
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Portuguese (Brazil) [pt-br]
|
3 |
+
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var pt_br = moment.defineLocale('pt-br', {
|
14 |
+
months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
|
15 |
+
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
16 |
+
weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
|
17 |
+
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
|
18 |
+
weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
|
19 |
+
weekdaysParseExact : true,
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D [de] MMMM [de] YYYY',
|
25 |
+
LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
|
26 |
+
LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay: '[Hoje às] LT',
|
30 |
+
nextDay: '[Amanhã às] LT',
|
31 |
+
nextWeek: 'dddd [às] LT',
|
32 |
+
lastDay: '[Ontem às] LT',
|
33 |
+
lastWeek: function () {
|
34 |
+
return (this.day() === 0 || this.day() === 6) ?
|
35 |
+
'[Último] dddd [às] LT' : // Saturday + Sunday
|
36 |
+
'[Última] dddd [às] LT'; // Monday - Friday
|
37 |
+
},
|
38 |
+
sameElse: 'L'
|
39 |
+
},
|
40 |
+
relativeTime : {
|
41 |
+
future : 'em %s',
|
42 |
+
past : '%s atrás',
|
43 |
+
s : 'poucos segundos',
|
44 |
+
m : 'um minuto',
|
45 |
+
mm : '%d minutos',
|
46 |
+
h : 'uma hora',
|
47 |
+
hh : '%d horas',
|
48 |
+
d : 'um dia',
|
49 |
+
dd : '%d dias',
|
50 |
+
M : 'um mês',
|
51 |
+
MM : '%d meses',
|
52 |
+
y : 'um ano',
|
53 |
+
yy : '%d anos'
|
54 |
+
},
|
55 |
+
ordinalParse: /\d{1,2}º/,
|
56 |
+
ordinal : '%dº'
|
57 |
+
});
|
58 |
+
|
59 |
+
return pt_br;
|
60 |
+
|
61 |
+
}));
|
bp-core/js/vendor/moment-js/locale/pt-br.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"});return b});
|
bp-core/js/vendor/moment-js/locale/pt.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Portuguese [pt]
|
3 |
+
//! author : Jefferson : https://github.com/jalex79
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var pt = moment.defineLocale('pt', {
|
14 |
+
months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
|
15 |
+
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
16 |
+
weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
|
17 |
+
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
|
18 |
+
weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
|
19 |
+
weekdaysParseExact : true,
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D [de] MMMM [de] YYYY',
|
25 |
+
LLL : 'D [de] MMMM [de] YYYY HH:mm',
|
26 |
+
LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay: '[Hoje às] LT',
|
30 |
+
nextDay: '[Amanhã às] LT',
|
31 |
+
nextWeek: 'dddd [às] LT',
|
32 |
+
lastDay: '[Ontem às] LT',
|
33 |
+
lastWeek: function () {
|
34 |
+
return (this.day() === 0 || this.day() === 6) ?
|
35 |
+
'[Último] dddd [às] LT' : // Saturday + Sunday
|
36 |
+
'[Última] dddd [às] LT'; // Monday - Friday
|
37 |
+
},
|
38 |
+
sameElse: 'L'
|
39 |
+
},
|
40 |
+
relativeTime : {
|
41 |
+
future : 'em %s',
|
42 |
+
past : 'há %s',
|
43 |
+
s : 'segundos',
|
44 |
+
m : 'um minuto',
|
45 |
+
mm : '%d minutos',
|
46 |
+
h : 'uma hora',
|
47 |
+
hh : '%d horas',
|
48 |
+
d : 'um dia',
|
49 |
+
dd : '%d dias',
|
50 |
+
M : 'um mês',
|
51 |
+
MM : '%d meses',
|
52 |
+
y : 'um ano',
|
53 |
+
yy : '%d anos'
|
54 |
+
},
|
55 |
+
ordinalParse: /\d{1,2}º/,
|
56 |
+
ordinal : '%dº',
|
57 |
+
week : {
|
58 |
+
dow : 1, // Monday is the first day of the week.
|
59 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
60 |
+
}
|
61 |
+
});
|
62 |
+
|
63 |
+
return pt;
|
64 |
+
|
65 |
+
}));
|
bp-core/js/vendor/moment-js/locale/pt.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/ro.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Romanian [ro]
|
3 |
+
//! author : Vlad Gurdiga : https://github.com/gurdiga
|
4 |
+
//! author : Valentin Agachi : https://github.com/avaly
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
15 |
+
var format = {
|
16 |
+
'mm': 'minute',
|
17 |
+
'hh': 'ore',
|
18 |
+
'dd': 'zile',
|
19 |
+
'MM': 'luni',
|
20 |
+
'yy': 'ani'
|
21 |
+
},
|
22 |
+
separator = ' ';
|
23 |
+
if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
|
24 |
+
separator = ' de ';
|
25 |
+
}
|
26 |
+
return number + separator + format[key];
|
27 |
+
}
|
28 |
+
|
29 |
+
var ro = moment.defineLocale('ro', {
|
30 |
+
months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
|
31 |
+
monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
|
32 |
+
monthsParseExact: true,
|
33 |
+
weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
|
34 |
+
weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
|
35 |
+
weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
|
36 |
+
longDateFormat : {
|
37 |
+
LT : 'H:mm',
|
38 |
+
LTS : 'H:mm:ss',
|
39 |
+
L : 'DD.MM.YYYY',
|
40 |
+
LL : 'D MMMM YYYY',
|
41 |
+
LLL : 'D MMMM YYYY H:mm',
|
42 |
+
LLLL : 'dddd, D MMMM YYYY H:mm'
|
43 |
+
},
|
44 |
+
calendar : {
|
45 |
+
sameDay: '[azi la] LT',
|
46 |
+
nextDay: '[mâine la] LT',
|
47 |
+
nextWeek: 'dddd [la] LT',
|
48 |
+
lastDay: '[ieri la] LT',
|
49 |
+
lastWeek: '[fosta] dddd [la] LT',
|
50 |
+
sameElse: 'L'
|
51 |
+
},
|
52 |
+
relativeTime : {
|
53 |
+
future : 'peste %s',
|
54 |
+
past : '%s în urmă',
|
55 |
+
s : 'câteva secunde',
|
56 |
+
m : 'un minut',
|
57 |
+
mm : relativeTimeWithPlural,
|
58 |
+
h : 'o oră',
|
59 |
+
hh : relativeTimeWithPlural,
|
60 |
+
d : 'o zi',
|
61 |
+
dd : relativeTimeWithPlural,
|
62 |
+
M : 'o lună',
|
63 |
+
MM : relativeTimeWithPlural,
|
64 |
+
y : 'un an',
|
65 |
+
yy : relativeTimeWithPlural
|
66 |
+
},
|
67 |
+
week : {
|
68 |
+
dow : 1, // Monday is the first day of the week.
|
69 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
70 |
+
}
|
71 |
+
});
|
72 |
+
|
73 |
+
return ro;
|
74 |
+
|
75 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ro.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},e=" ";return(a%100>=20||a>=100&&a%100===0)&&(e=" de "),a+e+d[c]}var c=a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:b,h:"o oră",hh:b,d:"o zi",dd:b,M:"o lună",MM:b,y:"un an",yy:b},week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/ru.js
ADDED
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Russian [ru]
|
3 |
+
//! author : Viktorminator : https://github.com/Viktorminator
|
4 |
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
5 |
+
//! author : Коренберг Марк : https://github.com/socketpair
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
function plural(word, num) {
|
16 |
+
var forms = word.split('_');
|
17 |
+
return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
|
18 |
+
}
|
19 |
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
20 |
+
var format = {
|
21 |
+
'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
|
22 |
+
'hh': 'час_часа_часов',
|
23 |
+
'dd': 'день_дня_дней',
|
24 |
+
'MM': 'месяц_месяца_месяцев',
|
25 |
+
'yy': 'год_года_лет'
|
26 |
+
};
|
27 |
+
if (key === 'm') {
|
28 |
+
return withoutSuffix ? 'минута' : 'минуту';
|
29 |
+
}
|
30 |
+
else {
|
31 |
+
return number + ' ' + plural(format[key], +number);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
|
35 |
+
|
36 |
+
// http://new.gramota.ru/spravka/rules/139-prop : § 103
|
37 |
+
// Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
|
38 |
+
// CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
|
39 |
+
var ru = moment.defineLocale('ru', {
|
40 |
+
months : {
|
41 |
+
format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
|
42 |
+
standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
|
43 |
+
},
|
44 |
+
monthsShort : {
|
45 |
+
// по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ?
|
46 |
+
format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
|
47 |
+
standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
|
48 |
+
},
|
49 |
+
weekdays : {
|
50 |
+
standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
|
51 |
+
format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
|
52 |
+
isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/
|
53 |
+
},
|
54 |
+
weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
55 |
+
weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
56 |
+
monthsParse : monthsParse,
|
57 |
+
longMonthsParse : monthsParse,
|
58 |
+
shortMonthsParse : monthsParse,
|
59 |
+
|
60 |
+
// полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
|
61 |
+
monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
|
62 |
+
|
63 |
+
// копия предыдущего
|
64 |
+
monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
|
65 |
+
|
66 |
+
// полные названия с падежами
|
67 |
+
monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
|
68 |
+
|
69 |
+
// Выражение, которое соотвествует только сокращённым формам
|
70 |
+
monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
|
71 |
+
longDateFormat : {
|
72 |
+
LT : 'HH:mm',
|
73 |
+
LTS : 'HH:mm:ss',
|
74 |
+
L : 'DD.MM.YYYY',
|
75 |
+
LL : 'D MMMM YYYY г.',
|
76 |
+
LLL : 'D MMMM YYYY г., HH:mm',
|
77 |
+
LLLL : 'dddd, D MMMM YYYY г., HH:mm'
|
78 |
+
},
|
79 |
+
calendar : {
|
80 |
+
sameDay: '[Сегодня в] LT',
|
81 |
+
nextDay: '[Завтра в] LT',
|
82 |
+
lastDay: '[Вчера в] LT',
|
83 |
+
nextWeek: function (now) {
|
84 |
+
if (now.week() !== this.week()) {
|
85 |
+
switch (this.day()) {
|
86 |
+
case 0:
|
87 |
+
return '[В следующее] dddd [в] LT';
|
88 |
+
case 1:
|
89 |
+
case 2:
|
90 |
+
case 4:
|
91 |
+
return '[В следующий] dddd [в] LT';
|
92 |
+
case 3:
|
93 |
+
case 5:
|
94 |
+
case 6:
|
95 |
+
return '[В следующую] dddd [в] LT';
|
96 |
+
}
|
97 |
+
} else {
|
98 |
+
if (this.day() === 2) {
|
99 |
+
return '[Во] dddd [в] LT';
|
100 |
+
} else {
|
101 |
+
return '[В] dddd [в] LT';
|
102 |
+
}
|
103 |
+
}
|
104 |
+
},
|
105 |
+
lastWeek: function (now) {
|
106 |
+
if (now.week() !== this.week()) {
|
107 |
+
switch (this.day()) {
|
108 |
+
case 0:
|
109 |
+
return '[В прошлое] dddd [в] LT';
|
110 |
+
case 1:
|
111 |
+
case 2:
|
112 |
+
case 4:
|
113 |
+
return '[В прошлый] dddd [в] LT';
|
114 |
+
case 3:
|
115 |
+
case 5:
|
116 |
+
case 6:
|
117 |
+
return '[В прошлую] dddd [в] LT';
|
118 |
+
}
|
119 |
+
} else {
|
120 |
+
if (this.day() === 2) {
|
121 |
+
return '[Во] dddd [в] LT';
|
122 |
+
} else {
|
123 |
+
return '[В] dddd [в] LT';
|
124 |
+
}
|
125 |
+
}
|
126 |
+
},
|
127 |
+
sameElse: 'L'
|
128 |
+
},
|
129 |
+
relativeTime : {
|
130 |
+
future : 'через %s',
|
131 |
+
past : '%s назад',
|
132 |
+
s : 'несколько секунд',
|
133 |
+
m : relativeTimeWithPlural,
|
134 |
+
mm : relativeTimeWithPlural,
|
135 |
+
h : 'час',
|
136 |
+
hh : relativeTimeWithPlural,
|
137 |
+
d : 'день',
|
138 |
+
dd : relativeTimeWithPlural,
|
139 |
+
M : 'месяц',
|
140 |
+
MM : relativeTimeWithPlural,
|
141 |
+
y : 'год',
|
142 |
+
yy : relativeTimeWithPlural
|
143 |
+
},
|
144 |
+
meridiemParse: /ночи|утра|дня|вечера/i,
|
145 |
+
isPM : function (input) {
|
146 |
+
return /^(дня|вечера)$/.test(input);
|
147 |
+
},
|
148 |
+
meridiem : function (hour, minute, isLower) {
|
149 |
+
if (hour < 4) {
|
150 |
+
return 'ночи';
|
151 |
+
} else if (hour < 12) {
|
152 |
+
return 'утра';
|
153 |
+
} else if (hour < 17) {
|
154 |
+
return 'дня';
|
155 |
+
} else {
|
156 |
+
return 'вечера';
|
157 |
+
}
|
158 |
+
},
|
159 |
+
ordinalParse: /\d{1,2}-(й|го|я)/,
|
160 |
+
ordinal: function (number, period) {
|
161 |
+
switch (period) {
|
162 |
+
case 'M':
|
163 |
+
case 'd':
|
164 |
+
case 'DDD':
|
165 |
+
return number + '-й';
|
166 |
+
case 'D':
|
167 |
+
return number + '-го';
|
168 |
+
case 'w':
|
169 |
+
case 'W':
|
170 |
+
return number + '-я';
|
171 |
+
default:
|
172 |
+
return number;
|
173 |
+
}
|
174 |
+
},
|
175 |
+
week : {
|
176 |
+
dow : 1, // Monday is the first day of the week.
|
177 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
178 |
+
}
|
179 |
+
});
|
180 |
+
|
181 |
+
return ru;
|
182 |
+
|
183 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ru.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===d?c?"минута":"минуту":a+" "+b(e[d],+a)}var d=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],e=a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:d,longMonthsParse:d,shortMonthsParse:d,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночи":a<12?"утра":a<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":return a+"-й";case"D":return a+"-го";case"w":case"W":return a+"-я";default:return a}},week:{dow:1,doy:7}});return e});
|
bp-core/js/vendor/moment-js/locale/se.js
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Northern Sami [se]
|
3 |
+
//! authors : Bård Rolstad Henriksen : https://github.com/karamell
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
var se = moment.defineLocale('se', {
|
15 |
+
months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
|
16 |
+
monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
|
17 |
+
weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
|
18 |
+
weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
|
19 |
+
weekdaysMin : 's_v_m_g_d_b_L'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD.MM.YYYY',
|
24 |
+
LL : 'MMMM D. [b.] YYYY',
|
25 |
+
LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',
|
26 |
+
LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay: '[otne ti] LT',
|
30 |
+
nextDay: '[ihttin ti] LT',
|
31 |
+
nextWeek: 'dddd [ti] LT',
|
32 |
+
lastDay: '[ikte ti] LT',
|
33 |
+
lastWeek: '[ovddit] dddd [ti] LT',
|
34 |
+
sameElse: 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : '%s geažes',
|
38 |
+
past : 'maŋit %s',
|
39 |
+
s : 'moadde sekunddat',
|
40 |
+
m : 'okta minuhta',
|
41 |
+
mm : '%d minuhtat',
|
42 |
+
h : 'okta diimmu',
|
43 |
+
hh : '%d diimmut',
|
44 |
+
d : 'okta beaivi',
|
45 |
+
dd : '%d beaivvit',
|
46 |
+
M : 'okta mánnu',
|
47 |
+
MM : '%d mánut',
|
48 |
+
y : 'okta jahki',
|
49 |
+
yy : '%d jagit'
|
50 |
+
},
|
51 |
+
ordinalParse: /\d{1,2}\./,
|
52 |
+
ordinal : '%d.',
|
53 |
+
week : {
|
54 |
+
dow : 1, // Monday is the first day of the week.
|
55 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
56 |
+
}
|
57 |
+
});
|
58 |
+
|
59 |
+
return se;
|
60 |
+
|
61 |
+
}));
|
bp-core/js/vendor/moment-js/locale/se.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/si.js
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Sinhalese [si]
|
3 |
+
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
/*jshint -W100*/
|
14 |
+
var si = moment.defineLocale('si', {
|
15 |
+
months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
|
16 |
+
monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
|
17 |
+
weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
|
18 |
+
weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'),
|
19 |
+
weekdaysMin : 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'a h:mm',
|
23 |
+
LTS : 'a h:mm:ss',
|
24 |
+
L : 'YYYY/MM/DD',
|
25 |
+
LL : 'YYYY MMMM D',
|
26 |
+
LLL : 'YYYY MMMM D, a h:mm',
|
27 |
+
LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay : '[අද] LT[ට]',
|
31 |
+
nextDay : '[හෙට] LT[ට]',
|
32 |
+
nextWeek : 'dddd LT[ට]',
|
33 |
+
lastDay : '[ඊයේ] LT[ට]',
|
34 |
+
lastWeek : '[පසුගිය] dddd LT[ට]',
|
35 |
+
sameElse : 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : '%sකින්',
|
39 |
+
past : '%sකට පෙර',
|
40 |
+
s : 'තත්පර කිහිපය',
|
41 |
+
m : 'මිනිත්තුව',
|
42 |
+
mm : 'මිනිත්තු %d',
|
43 |
+
h : 'පැය',
|
44 |
+
hh : 'පැය %d',
|
45 |
+
d : 'දිනය',
|
46 |
+
dd : 'දින %d',
|
47 |
+
M : 'මාසය',
|
48 |
+
MM : 'මාස %d',
|
49 |
+
y : 'වසර',
|
50 |
+
yy : 'වසර %d'
|
51 |
+
},
|
52 |
+
ordinalParse: /\d{1,2} වැනි/,
|
53 |
+
ordinal : function (number) {
|
54 |
+
return number + ' වැනි';
|
55 |
+
},
|
56 |
+
meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
|
57 |
+
isPM : function (input) {
|
58 |
+
return input === 'ප.ව.' || input === 'පස් වරු';
|
59 |
+
},
|
60 |
+
meridiem : function (hours, minutes, isLower) {
|
61 |
+
if (hours > 11) {
|
62 |
+
return isLower ? 'ප.ව.' : 'පස් වරු';
|
63 |
+
} else {
|
64 |
+
return isLower ? 'පෙ.ව.' : 'පෙර වරු';
|
65 |
+
}
|
66 |
+
}
|
67 |
+
});
|
68 |
+
|
69 |
+
return si;
|
70 |
+
|
71 |
+
}));
|
bp-core/js/vendor/moment-js/locale/si.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(a){return a+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return"ප.ව."===a||"පස් වරු"===a},meridiem:function(a,b,c){return a>11?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}});return b});
|
bp-core/js/vendor/moment-js/locale/sk.js
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Slovak [sk]
|
3 |
+
//! author : Martin Minka : https://github.com/k2s
|
4 |
+
//! based on work of petrbela : https://github.com/petrbela
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
|
15 |
+
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
|
16 |
+
function plural(n) {
|
17 |
+
return (n > 1) && (n < 5);
|
18 |
+
}
|
19 |
+
function translate(number, withoutSuffix, key, isFuture) {
|
20 |
+
var result = number + ' ';
|
21 |
+
switch (key) {
|
22 |
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
23 |
+
return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
|
24 |
+
case 'm': // a minute / in a minute / a minute ago
|
25 |
+
return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou');
|
26 |
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
27 |
+
if (withoutSuffix || isFuture) {
|
28 |
+
return result + (plural(number) ? 'minúty' : 'minút');
|
29 |
+
} else {
|
30 |
+
return result + 'minútami';
|
31 |
+
}
|
32 |
+
break;
|
33 |
+
case 'h': // an hour / in an hour / an hour ago
|
34 |
+
return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
|
35 |
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
36 |
+
if (withoutSuffix || isFuture) {
|
37 |
+
return result + (plural(number) ? 'hodiny' : 'hodín');
|
38 |
+
} else {
|
39 |
+
return result + 'hodinami';
|
40 |
+
}
|
41 |
+
break;
|
42 |
+
case 'd': // a day / in a day / a day ago
|
43 |
+
return (withoutSuffix || isFuture) ? 'deň' : 'dňom';
|
44 |
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
45 |
+
if (withoutSuffix || isFuture) {
|
46 |
+
return result + (plural(number) ? 'dni' : 'dní');
|
47 |
+
} else {
|
48 |
+
return result + 'dňami';
|
49 |
+
}
|
50 |
+
break;
|
51 |
+
case 'M': // a month / in a month / a month ago
|
52 |
+
return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom';
|
53 |
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
54 |
+
if (withoutSuffix || isFuture) {
|
55 |
+
return result + (plural(number) ? 'mesiace' : 'mesiacov');
|
56 |
+
} else {
|
57 |
+
return result + 'mesiacmi';
|
58 |
+
}
|
59 |
+
break;
|
60 |
+
case 'y': // a year / in a year / a year ago
|
61 |
+
return (withoutSuffix || isFuture) ? 'rok' : 'rokom';
|
62 |
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
63 |
+
if (withoutSuffix || isFuture) {
|
64 |
+
return result + (plural(number) ? 'roky' : 'rokov');
|
65 |
+
} else {
|
66 |
+
return result + 'rokmi';
|
67 |
+
}
|
68 |
+
break;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
var sk = moment.defineLocale('sk', {
|
73 |
+
months : months,
|
74 |
+
monthsShort : monthsShort,
|
75 |
+
weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
|
76 |
+
weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'),
|
77 |
+
weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'),
|
78 |
+
longDateFormat : {
|
79 |
+
LT: 'H:mm',
|
80 |
+
LTS : 'H:mm:ss',
|
81 |
+
L : 'DD.MM.YYYY',
|
82 |
+
LL : 'D. MMMM YYYY',
|
83 |
+
LLL : 'D. MMMM YYYY H:mm',
|
84 |
+
LLLL : 'dddd D. MMMM YYYY H:mm'
|
85 |
+
},
|
86 |
+
calendar : {
|
87 |
+
sameDay: '[dnes o] LT',
|
88 |
+
nextDay: '[zajtra o] LT',
|
89 |
+
nextWeek: function () {
|
90 |
+
switch (this.day()) {
|
91 |
+
case 0:
|
92 |
+
return '[v nedeľu o] LT';
|
93 |
+
case 1:
|
94 |
+
case 2:
|
95 |
+
return '[v] dddd [o] LT';
|
96 |
+
case 3:
|
97 |
+
return '[v stredu o] LT';
|
98 |
+
case 4:
|
99 |
+
return '[vo štvrtok o] LT';
|
100 |
+
case 5:
|
101 |
+
return '[v piatok o] LT';
|
102 |
+
case 6:
|
103 |
+
return '[v sobotu o] LT';
|
104 |
+
}
|
105 |
+
},
|
106 |
+
lastDay: '[včera o] LT',
|
107 |
+
lastWeek: function () {
|
108 |
+
switch (this.day()) {
|
109 |
+
case 0:
|
110 |
+
return '[minulú nedeľu o] LT';
|
111 |
+
case 1:
|
112 |
+
case 2:
|
113 |
+
return '[minulý] dddd [o] LT';
|
114 |
+
case 3:
|
115 |
+
return '[minulú stredu o] LT';
|
116 |
+
case 4:
|
117 |
+
case 5:
|
118 |
+
return '[minulý] dddd [o] LT';
|
119 |
+
case 6:
|
120 |
+
return '[minulú sobotu o] LT';
|
121 |
+
}
|
122 |
+
},
|
123 |
+
sameElse: 'L'
|
124 |
+
},
|
125 |
+
relativeTime : {
|
126 |
+
future : 'za %s',
|
127 |
+
past : 'pred %s',
|
128 |
+
s : translate,
|
129 |
+
m : translate,
|
130 |
+
mm : translate,
|
131 |
+
h : translate,
|
132 |
+
hh : translate,
|
133 |
+
d : translate,
|
134 |
+
dd : translate,
|
135 |
+
M : translate,
|
136 |
+
MM : translate,
|
137 |
+
y : translate,
|
138 |
+
yy : translate
|
139 |
+
},
|
140 |
+
ordinalParse: /\d{1,2}\./,
|
141 |
+
ordinal : '%d.',
|
142 |
+
week : {
|
143 |
+
dow : 1, // Monday is the first day of the week.
|
144 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
145 |
+
}
|
146 |
+
});
|
147 |
+
|
148 |
+
return sk;
|
149 |
+
|
150 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sk.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a>1&&a<5}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"pár sekúnd":"pár sekundami";case"m":return c?"minúta":e?"minútu":"minútou";case"mm":return c||e?f+(b(a)?"minúty":"minút"):f+"minútami";case"h":return c?"hodina":e?"hodinu":"hodinou";case"hh":return c||e?f+(b(a)?"hodiny":"hodín"):f+"hodinami";case"d":return c||e?"deň":"dňom";case"dd":return c||e?f+(b(a)?"dni":"dní"):f+"dňami";case"M":return c||e?"mesiac":"mesiacom";case"MM":return c||e?f+(b(a)?"mesiace":"mesiacov"):f+"mesiacmi";case"y":return c||e?"rok":"rokom";case"yy":return c||e?f+(b(a)?"roky":"rokov"):f+"rokmi"}}var d="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),e="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),f=a.defineLocale("sk",{months:d,monthsShort:e,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f});
|
bp-core/js/vendor/moment-js/locale/sl.js
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Slovenian [sl]
|
3 |
+
//! author : Robert Sedovšek : https://github.com/sedovsek
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
14 |
+
var result = number + ' ';
|
15 |
+
switch (key) {
|
16 |
+
case 's':
|
17 |
+
return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
|
18 |
+
case 'm':
|
19 |
+
return withoutSuffix ? 'ena minuta' : 'eno minuto';
|
20 |
+
case 'mm':
|
21 |
+
if (number === 1) {
|
22 |
+
result += withoutSuffix ? 'minuta' : 'minuto';
|
23 |
+
} else if (number === 2) {
|
24 |
+
result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
|
25 |
+
} else if (number < 5) {
|
26 |
+
result += withoutSuffix || isFuture ? 'minute' : 'minutami';
|
27 |
+
} else {
|
28 |
+
result += withoutSuffix || isFuture ? 'minut' : 'minutami';
|
29 |
+
}
|
30 |
+
return result;
|
31 |
+
case 'h':
|
32 |
+
return withoutSuffix ? 'ena ura' : 'eno uro';
|
33 |
+
case 'hh':
|
34 |
+
if (number === 1) {
|
35 |
+
result += withoutSuffix ? 'ura' : 'uro';
|
36 |
+
} else if (number === 2) {
|
37 |
+
result += withoutSuffix || isFuture ? 'uri' : 'urama';
|
38 |
+
} else if (number < 5) {
|
39 |
+
result += withoutSuffix || isFuture ? 'ure' : 'urami';
|
40 |
+
} else {
|
41 |
+
result += withoutSuffix || isFuture ? 'ur' : 'urami';
|
42 |
+
}
|
43 |
+
return result;
|
44 |
+
case 'd':
|
45 |
+
return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
|
46 |
+
case 'dd':
|
47 |
+
if (number === 1) {
|
48 |
+
result += withoutSuffix || isFuture ? 'dan' : 'dnem';
|
49 |
+
} else if (number === 2) {
|
50 |
+
result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
|
51 |
+
} else {
|
52 |
+
result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
|
53 |
+
}
|
54 |
+
return result;
|
55 |
+
case 'M':
|
56 |
+
return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
|
57 |
+
case 'MM':
|
58 |
+
if (number === 1) {
|
59 |
+
result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
|
60 |
+
} else if (number === 2) {
|
61 |
+
result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
|
62 |
+
} else if (number < 5) {
|
63 |
+
result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
|
64 |
+
} else {
|
65 |
+
result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
|
66 |
+
}
|
67 |
+
return result;
|
68 |
+
case 'y':
|
69 |
+
return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
|
70 |
+
case 'yy':
|
71 |
+
if (number === 1) {
|
72 |
+
result += withoutSuffix || isFuture ? 'leto' : 'letom';
|
73 |
+
} else if (number === 2) {
|
74 |
+
result += withoutSuffix || isFuture ? 'leti' : 'letoma';
|
75 |
+
} else if (number < 5) {
|
76 |
+
result += withoutSuffix || isFuture ? 'leta' : 'leti';
|
77 |
+
} else {
|
78 |
+
result += withoutSuffix || isFuture ? 'let' : 'leti';
|
79 |
+
}
|
80 |
+
return result;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
var sl = moment.defineLocale('sl', {
|
85 |
+
months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
|
86 |
+
monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
|
87 |
+
monthsParseExact: true,
|
88 |
+
weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
|
89 |
+
weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
|
90 |
+
weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'),
|
91 |
+
weekdaysParseExact : true,
|
92 |
+
longDateFormat : {
|
93 |
+
LT : 'H:mm',
|
94 |
+
LTS : 'H:mm:ss',
|
95 |
+
L : 'DD.MM.YYYY',
|
96 |
+
LL : 'D. MMMM YYYY',
|
97 |
+
LLL : 'D. MMMM YYYY H:mm',
|
98 |
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
99 |
+
},
|
100 |
+
calendar : {
|
101 |
+
sameDay : '[danes ob] LT',
|
102 |
+
nextDay : '[jutri ob] LT',
|
103 |
+
|
104 |
+
nextWeek : function () {
|
105 |
+
switch (this.day()) {
|
106 |
+
case 0:
|
107 |
+
return '[v] [nedeljo] [ob] LT';
|
108 |
+
case 3:
|
109 |
+
return '[v] [sredo] [ob] LT';
|
110 |
+
case 6:
|
111 |
+
return '[v] [soboto] [ob] LT';
|
112 |
+
case 1:
|
113 |
+
case 2:
|
114 |
+
case 4:
|
115 |
+
case 5:
|
116 |
+
return '[v] dddd [ob] LT';
|
117 |
+
}
|
118 |
+
},
|
119 |
+
lastDay : '[včeraj ob] LT',
|
120 |
+
lastWeek : function () {
|
121 |
+
switch (this.day()) {
|
122 |
+
case 0:
|
123 |
+
return '[prejšnjo] [nedeljo] [ob] LT';
|
124 |
+
case 3:
|
125 |
+
return '[prejšnjo] [sredo] [ob] LT';
|
126 |
+
case 6:
|
127 |
+
return '[prejšnjo] [soboto] [ob] LT';
|
128 |
+
case 1:
|
129 |
+
case 2:
|
130 |
+
case 4:
|
131 |
+
case 5:
|
132 |
+
return '[prejšnji] dddd [ob] LT';
|
133 |
+
}
|
134 |
+
},
|
135 |
+
sameElse : 'L'
|
136 |
+
},
|
137 |
+
relativeTime : {
|
138 |
+
future : 'čez %s',
|
139 |
+
past : 'pred %s',
|
140 |
+
s : processRelativeTime,
|
141 |
+
m : processRelativeTime,
|
142 |
+
mm : processRelativeTime,
|
143 |
+
h : processRelativeTime,
|
144 |
+
hh : processRelativeTime,
|
145 |
+
d : processRelativeTime,
|
146 |
+
dd : processRelativeTime,
|
147 |
+
M : processRelativeTime,
|
148 |
+
MM : processRelativeTime,
|
149 |
+
y : processRelativeTime,
|
150 |
+
yy : processRelativeTime
|
151 |
+
},
|
152 |
+
ordinalParse: /\d{1,2}\./,
|
153 |
+
ordinal : '%d.',
|
154 |
+
week : {
|
155 |
+
dow : 1, // Monday is the first day of the week.
|
156 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
157 |
+
}
|
158 |
+
});
|
159 |
+
|
160 |
+
return sl;
|
161 |
+
|
162 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+=1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":a<5?b||d?"minute":"minutami":b||d?"minut":"minutami";case"h":return b?"ena ura":"eno uro";case"hh":return e+=1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":a<5?b||d?"ure":"urami":b||d?"ur":"urami";case"d":return b||d?"en dan":"enim dnem";case"dd":return e+=1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi";case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+=1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":a<5?b||d?"mesece":"meseci":b||d?"mesecev":"meseci";case"y":return b||d?"eno leto":"enim letom";case"yy":return e+=1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":a<5?b||d?"leta":"leti":b||d?"let":"leti"}}var c=a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/sq.js
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Albanian [sq]
|
3 |
+
//! author : Flakërim Ismani : https://github.com/flakerimi
|
4 |
+
//! author : Menelion Elensúle : https://github.com/Oire
|
5 |
+
//! author : Oerd Cukalla : https://github.com/oerd
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var sq = moment.defineLocale('sq', {
|
16 |
+
months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
|
17 |
+
monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
|
18 |
+
weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
|
19 |
+
weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
|
20 |
+
weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'),
|
21 |
+
weekdaysParseExact : true,
|
22 |
+
meridiemParse: /PD|MD/,
|
23 |
+
isPM: function (input) {
|
24 |
+
return input.charAt(0) === 'M';
|
25 |
+
},
|
26 |
+
meridiem : function (hours, minutes, isLower) {
|
27 |
+
return hours < 12 ? 'PD' : 'MD';
|
28 |
+
},
|
29 |
+
longDateFormat : {
|
30 |
+
LT : 'HH:mm',
|
31 |
+
LTS : 'HH:mm:ss',
|
32 |
+
L : 'DD/MM/YYYY',
|
33 |
+
LL : 'D MMMM YYYY',
|
34 |
+
LLL : 'D MMMM YYYY HH:mm',
|
35 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
36 |
+
},
|
37 |
+
calendar : {
|
38 |
+
sameDay : '[Sot në] LT',
|
39 |
+
nextDay : '[Nesër në] LT',
|
40 |
+
nextWeek : 'dddd [në] LT',
|
41 |
+
lastDay : '[Dje në] LT',
|
42 |
+
lastWeek : 'dddd [e kaluar në] LT',
|
43 |
+
sameElse : 'L'
|
44 |
+
},
|
45 |
+
relativeTime : {
|
46 |
+
future : 'në %s',
|
47 |
+
past : '%s më parë',
|
48 |
+
s : 'disa sekonda',
|
49 |
+
m : 'një minutë',
|
50 |
+
mm : '%d minuta',
|
51 |
+
h : 'një orë',
|
52 |
+
hh : '%d orë',
|
53 |
+
d : 'një ditë',
|
54 |
+
dd : '%d ditë',
|
55 |
+
M : 'një muaj',
|
56 |
+
MM : '%d muaj',
|
57 |
+
y : 'një vit',
|
58 |
+
yy : '%d vite'
|
59 |
+
},
|
60 |
+
ordinalParse: /\d{1,2}\./,
|
61 |
+
ordinal : '%d.',
|
62 |
+
week : {
|
63 |
+
dow : 1, // Monday is the first day of the week.
|
64 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65 |
+
}
|
66 |
+
});
|
67 |
+
|
68 |
+
return sq;
|
69 |
+
|
70 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sq.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return a<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/sr-cyrl.js
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Serbian Cyrillic [sr-cyrl]
|
3 |
+
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var translator = {
|
14 |
+
words: { //Different grammatical cases
|
15 |
+
m: ['један минут', 'једне минуте'],
|
16 |
+
mm: ['минут', 'минуте', 'минута'],
|
17 |
+
h: ['један сат', 'једног сата'],
|
18 |
+
hh: ['сат', 'сата', 'сати'],
|
19 |
+
dd: ['дан', 'дана', 'дана'],
|
20 |
+
MM: ['месец', 'месеца', 'месеци'],
|
21 |
+
yy: ['година', 'године', 'година']
|
22 |
+
},
|
23 |
+
correctGrammaticalCase: function (number, wordKey) {
|
24 |
+
return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
|
25 |
+
},
|
26 |
+
translate: function (number, withoutSuffix, key) {
|
27 |
+
var wordKey = translator.words[key];
|
28 |
+
if (key.length === 1) {
|
29 |
+
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
+
} else {
|
31 |
+
return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
};
|
35 |
+
|
36 |
+
var sr_cyrl = moment.defineLocale('sr-cyrl', {
|
37 |
+
months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
|
38 |
+
monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
|
39 |
+
monthsParseExact: true,
|
40 |
+
weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
|
41 |
+
weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
|
42 |
+
weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
|
43 |
+
weekdaysParseExact : true,
|
44 |
+
longDateFormat: {
|
45 |
+
LT: 'H:mm',
|
46 |
+
LTS : 'H:mm:ss',
|
47 |
+
L: 'DD.MM.YYYY',
|
48 |
+
LL: 'D. MMMM YYYY',
|
49 |
+
LLL: 'D. MMMM YYYY H:mm',
|
50 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
51 |
+
},
|
52 |
+
calendar: {
|
53 |
+
sameDay: '[данас у] LT',
|
54 |
+
nextDay: '[сутра у] LT',
|
55 |
+
nextWeek: function () {
|
56 |
+
switch (this.day()) {
|
57 |
+
case 0:
|
58 |
+
return '[у] [недељу] [у] LT';
|
59 |
+
case 3:
|
60 |
+
return '[у] [среду] [у] LT';
|
61 |
+
case 6:
|
62 |
+
return '[у] [суботу] [у] LT';
|
63 |
+
case 1:
|
64 |
+
case 2:
|
65 |
+
case 4:
|
66 |
+
case 5:
|
67 |
+
return '[у] dddd [у] LT';
|
68 |
+
}
|
69 |
+
},
|
70 |
+
lastDay : '[јуче у] LT',
|
71 |
+
lastWeek : function () {
|
72 |
+
var lastWeekDays = [
|
73 |
+
'[прошле] [недеље] [у] LT',
|
74 |
+
'[прошлог] [понедељка] [у] LT',
|
75 |
+
'[прошлог] [уторка] [у] LT',
|
76 |
+
'[прошле] [среде] [у] LT',
|
77 |
+
'[прошлог] [четвртка] [у] LT',
|
78 |
+
'[прошлог] [петка] [у] LT',
|
79 |
+
'[прошле] [суботе] [у] LT'
|
80 |
+
];
|
81 |
+
return lastWeekDays[this.day()];
|
82 |
+
},
|
83 |
+
sameElse : 'L'
|
84 |
+
},
|
85 |
+
relativeTime : {
|
86 |
+
future : 'за %s',
|
87 |
+
past : 'пре %s',
|
88 |
+
s : 'неколико секунди',
|
89 |
+
m : translator.translate,
|
90 |
+
mm : translator.translate,
|
91 |
+
h : translator.translate,
|
92 |
+
hh : translator.translate,
|
93 |
+
d : 'дан',
|
94 |
+
dd : translator.translate,
|
95 |
+
M : 'месец',
|
96 |
+
MM : translator.translate,
|
97 |
+
y : 'годину',
|
98 |
+
yy : translator.translate
|
99 |
+
},
|
100 |
+
ordinalParse: /\d{1,2}\./,
|
101 |
+
ordinal : '%d.',
|
102 |
+
week : {
|
103 |
+
dow : 1, // Monday is the first day of the week.
|
104 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
105 |
+
}
|
106 |
+
});
|
107 |
+
|
108 |
+
return sr_cyrl;
|
109 |
+
|
110 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var a=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"дан",dd:b.translate,M:"месец",MM:b.translate,y:"годину",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/sr.js
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Serbian [sr]
|
3 |
+
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var translator = {
|
14 |
+
words: { //Different grammatical cases
|
15 |
+
m: ['jedan minut', 'jedne minute'],
|
16 |
+
mm: ['minut', 'minute', 'minuta'],
|
17 |
+
h: ['jedan sat', 'jednog sata'],
|
18 |
+
hh: ['sat', 'sata', 'sati'],
|
19 |
+
dd: ['dan', 'dana', 'dana'],
|
20 |
+
MM: ['mesec', 'meseca', 'meseci'],
|
21 |
+
yy: ['godina', 'godine', 'godina']
|
22 |
+
},
|
23 |
+
correctGrammaticalCase: function (number, wordKey) {
|
24 |
+
return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
|
25 |
+
},
|
26 |
+
translate: function (number, withoutSuffix, key) {
|
27 |
+
var wordKey = translator.words[key];
|
28 |
+
if (key.length === 1) {
|
29 |
+
return withoutSuffix ? wordKey[0] : wordKey[1];
|
30 |
+
} else {
|
31 |
+
return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
};
|
35 |
+
|
36 |
+
var sr = moment.defineLocale('sr', {
|
37 |
+
months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
|
38 |
+
monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
|
39 |
+
monthsParseExact: true,
|
40 |
+
weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
|
41 |
+
weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
|
42 |
+
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
43 |
+
weekdaysParseExact : true,
|
44 |
+
longDateFormat: {
|
45 |
+
LT: 'H:mm',
|
46 |
+
LTS : 'H:mm:ss',
|
47 |
+
L: 'DD.MM.YYYY',
|
48 |
+
LL: 'D. MMMM YYYY',
|
49 |
+
LLL: 'D. MMMM YYYY H:mm',
|
50 |
+
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
51 |
+
},
|
52 |
+
calendar: {
|
53 |
+
sameDay: '[danas u] LT',
|
54 |
+
nextDay: '[sutra u] LT',
|
55 |
+
nextWeek: function () {
|
56 |
+
switch (this.day()) {
|
57 |
+
case 0:
|
58 |
+
return '[u] [nedelju] [u] LT';
|
59 |
+
case 3:
|
60 |
+
return '[u] [sredu] [u] LT';
|
61 |
+
case 6:
|
62 |
+
return '[u] [subotu] [u] LT';
|
63 |
+
case 1:
|
64 |
+
case 2:
|
65 |
+
case 4:
|
66 |
+
case 5:
|
67 |
+
return '[u] dddd [u] LT';
|
68 |
+
}
|
69 |
+
},
|
70 |
+
lastDay : '[juče u] LT',
|
71 |
+
lastWeek : function () {
|
72 |
+
var lastWeekDays = [
|
73 |
+
'[prošle] [nedelje] [u] LT',
|
74 |
+
'[prošlog] [ponedeljka] [u] LT',
|
75 |
+
'[prošlog] [utorka] [u] LT',
|
76 |
+
'[prošle] [srede] [u] LT',
|
77 |
+
'[prošlog] [četvrtka] [u] LT',
|
78 |
+
'[prošlog] [petka] [u] LT',
|
79 |
+
'[prošle] [subote] [u] LT'
|
80 |
+
];
|
81 |
+
return lastWeekDays[this.day()];
|
82 |
+
},
|
83 |
+
sameElse : 'L'
|
84 |
+
},
|
85 |
+
relativeTime : {
|
86 |
+
future : 'za %s',
|
87 |
+
past : 'pre %s',
|
88 |
+
s : 'nekoliko sekundi',
|
89 |
+
m : translator.translate,
|
90 |
+
mm : translator.translate,
|
91 |
+
h : translator.translate,
|
92 |
+
hh : translator.translate,
|
93 |
+
d : 'dan',
|
94 |
+
dd : translator.translate,
|
95 |
+
M : 'mesec',
|
96 |
+
MM : translator.translate,
|
97 |
+
y : 'godinu',
|
98 |
+
yy : translator.translate
|
99 |
+
},
|
100 |
+
ordinalParse: /\d{1,2}\./,
|
101 |
+
ordinal : '%d.',
|
102 |
+
week : {
|
103 |
+
dow : 1, // Monday is the first day of the week.
|
104 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
105 |
+
}
|
106 |
+
});
|
107 |
+
|
108 |
+
return sr;
|
109 |
+
|
110 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sr.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"dan",dd:b.translate,M:"mesec",MM:b.translate,y:"godinu",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/ss.js
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : siSwati [ss]
|
3 |
+
//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
var ss = moment.defineLocale('ss', {
|
15 |
+
months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
|
16 |
+
monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
|
17 |
+
weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
|
18 |
+
weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
|
19 |
+
weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'h:mm A',
|
23 |
+
LTS : 'h:mm:ss A',
|
24 |
+
L : 'DD/MM/YYYY',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY h:mm A',
|
27 |
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay : '[Namuhla nga] LT',
|
31 |
+
nextDay : '[Kusasa nga] LT',
|
32 |
+
nextWeek : 'dddd [nga] LT',
|
33 |
+
lastDay : '[Itolo nga] LT',
|
34 |
+
lastWeek : 'dddd [leliphelile] [nga] LT',
|
35 |
+
sameElse : 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'nga %s',
|
39 |
+
past : 'wenteka nga %s',
|
40 |
+
s : 'emizuzwana lomcane',
|
41 |
+
m : 'umzuzu',
|
42 |
+
mm : '%d emizuzu',
|
43 |
+
h : 'lihora',
|
44 |
+
hh : '%d emahora',
|
45 |
+
d : 'lilanga',
|
46 |
+
dd : '%d emalanga',
|
47 |
+
M : 'inyanga',
|
48 |
+
MM : '%d tinyanga',
|
49 |
+
y : 'umnyaka',
|
50 |
+
yy : '%d iminyaka'
|
51 |
+
},
|
52 |
+
meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
|
53 |
+
meridiem : function (hours, minutes, isLower) {
|
54 |
+
if (hours < 11) {
|
55 |
+
return 'ekuseni';
|
56 |
+
} else if (hours < 15) {
|
57 |
+
return 'emini';
|
58 |
+
} else if (hours < 19) {
|
59 |
+
return 'entsambama';
|
60 |
+
} else {
|
61 |
+
return 'ebusuku';
|
62 |
+
}
|
63 |
+
},
|
64 |
+
meridiemHour : function (hour, meridiem) {
|
65 |
+
if (hour === 12) {
|
66 |
+
hour = 0;
|
67 |
+
}
|
68 |
+
if (meridiem === 'ekuseni') {
|
69 |
+
return hour;
|
70 |
+
} else if (meridiem === 'emini') {
|
71 |
+
return hour >= 11 ? hour : hour + 12;
|
72 |
+
} else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
|
73 |
+
if (hour === 0) {
|
74 |
+
return 0;
|
75 |
+
}
|
76 |
+
return hour + 12;
|
77 |
+
}
|
78 |
+
},
|
79 |
+
ordinalParse: /\d{1,2}/,
|
80 |
+
ordinal : '%d',
|
81 |
+
week : {
|
82 |
+
dow : 1, // Monday is the first day of the week.
|
83 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
84 |
+
}
|
85 |
+
});
|
86 |
+
|
87 |
+
return ss;
|
88 |
+
|
89 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ss.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(a,b,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,b){return 12===a&&(a=0),"ekuseni"===b?a:"emini"===b?a>=11?a:a+12:"entsambama"===b||"ebusuku"===b?0===a?0:a+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/sv.js
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Swedish [sv]
|
3 |
+
//! author : Jens Alm : https://github.com/ulmus
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var sv = moment.defineLocale('sv', {
|
14 |
+
months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
|
15 |
+
monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
16 |
+
weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
|
17 |
+
weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
|
18 |
+
weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'YYYY-MM-DD',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY [kl.] HH:mm',
|
25 |
+
LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
|
26 |
+
lll : 'D MMM YYYY HH:mm',
|
27 |
+
llll : 'ddd D MMM YYYY HH:mm'
|
28 |
+
},
|
29 |
+
calendar : {
|
30 |
+
sameDay: '[Idag] LT',
|
31 |
+
nextDay: '[Imorgon] LT',
|
32 |
+
lastDay: '[Igår] LT',
|
33 |
+
nextWeek: '[På] dddd LT',
|
34 |
+
lastWeek: '[I] dddd[s] LT',
|
35 |
+
sameElse: 'L'
|
36 |
+
},
|
37 |
+
relativeTime : {
|
38 |
+
future : 'om %s',
|
39 |
+
past : 'för %s sedan',
|
40 |
+
s : 'några sekunder',
|
41 |
+
m : 'en minut',
|
42 |
+
mm : '%d minuter',
|
43 |
+
h : 'en timme',
|
44 |
+
hh : '%d timmar',
|
45 |
+
d : 'en dag',
|
46 |
+
dd : '%d dagar',
|
47 |
+
M : 'en månad',
|
48 |
+
MM : '%d månader',
|
49 |
+
y : 'ett år',
|
50 |
+
yy : '%d år'
|
51 |
+
},
|
52 |
+
ordinalParse: /\d{1,2}(e|a)/,
|
53 |
+
ordinal : function (number) {
|
54 |
+
var b = number % 10,
|
55 |
+
output = (~~(number % 100 / 10) === 1) ? 'e' :
|
56 |
+
(b === 1) ? 'a' :
|
57 |
+
(b === 2) ? 'a' :
|
58 |
+
(b === 3) ? 'e' : 'e';
|
59 |
+
return number + output;
|
60 |
+
},
|
61 |
+
week : {
|
62 |
+
dow : 1, // Monday is the first day of the week.
|
63 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
64 |
+
}
|
65 |
+
});
|
66 |
+
|
67 |
+
return sv;
|
68 |
+
|
69 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sv.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"e":1===b?"a":2===b?"a":"e";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/sw.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Swahili [sw]
|
3 |
+
//! author : Fahad Kassim : https://github.com/fadsel
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var sw = moment.defineLocale('sw', {
|
14 |
+
months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
|
15 |
+
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
|
16 |
+
weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
|
17 |
+
weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
|
18 |
+
weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
|
19 |
+
weekdaysParseExact : true,
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'HH:mm',
|
22 |
+
LTS : 'HH:mm:ss',
|
23 |
+
L : 'DD.MM.YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY HH:mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay : '[leo saa] LT',
|
30 |
+
nextDay : '[kesho saa] LT',
|
31 |
+
nextWeek : '[wiki ijayo] dddd [saat] LT',
|
32 |
+
lastDay : '[jana] LT',
|
33 |
+
lastWeek : '[wiki iliyopita] dddd [saat] LT',
|
34 |
+
sameElse : 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : '%s baadaye',
|
38 |
+
past : 'tokea %s',
|
39 |
+
s : 'hivi punde',
|
40 |
+
m : 'dakika moja',
|
41 |
+
mm : 'dakika %d',
|
42 |
+
h : 'saa limoja',
|
43 |
+
hh : 'masaa %d',
|
44 |
+
d : 'siku moja',
|
45 |
+
dd : 'masiku %d',
|
46 |
+
M : 'mwezi mmoja',
|
47 |
+
MM : 'miezi %d',
|
48 |
+
y : 'mwaka mmoja',
|
49 |
+
yy : 'miaka %d'
|
50 |
+
},
|
51 |
+
week : {
|
52 |
+
dow : 1, // Monday is the first day of the week.
|
53 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
54 |
+
}
|
55 |
+
});
|
56 |
+
|
57 |
+
return sw;
|
58 |
+
|
59 |
+
}));
|
bp-core/js/vendor/moment-js/locale/sw.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/ta.js
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Tamil [ta]
|
3 |
+
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var symbolMap = {
|
14 |
+
'1': '௧',
|
15 |
+
'2': '௨',
|
16 |
+
'3': '௩',
|
17 |
+
'4': '௪',
|
18 |
+
'5': '௫',
|
19 |
+
'6': '௬',
|
20 |
+
'7': '௭',
|
21 |
+
'8': '௮',
|
22 |
+
'9': '௯',
|
23 |
+
'0': '௦'
|
24 |
+
}, numberMap = {
|
25 |
+
'௧': '1',
|
26 |
+
'௨': '2',
|
27 |
+
'௩': '3',
|
28 |
+
'௪': '4',
|
29 |
+
'௫': '5',
|
30 |
+
'௬': '6',
|
31 |
+
'௭': '7',
|
32 |
+
'௮': '8',
|
33 |
+
'௯': '9',
|
34 |
+
'௦': '0'
|
35 |
+
};
|
36 |
+
|
37 |
+
var ta = moment.defineLocale('ta', {
|
38 |
+
months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
39 |
+
monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
|
40 |
+
weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
|
41 |
+
weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
|
42 |
+
weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
|
43 |
+
longDateFormat : {
|
44 |
+
LT : 'HH:mm',
|
45 |
+
LTS : 'HH:mm:ss',
|
46 |
+
L : 'DD/MM/YYYY',
|
47 |
+
LL : 'D MMMM YYYY',
|
48 |
+
LLL : 'D MMMM YYYY, HH:mm',
|
49 |
+
LLLL : 'dddd, D MMMM YYYY, HH:mm'
|
50 |
+
},
|
51 |
+
calendar : {
|
52 |
+
sameDay : '[இன்று] LT',
|
53 |
+
nextDay : '[நாளை] LT',
|
54 |
+
nextWeek : 'dddd, LT',
|
55 |
+
lastDay : '[நேற்று] LT',
|
56 |
+
lastWeek : '[கடந்த வாரம்] dddd, LT',
|
57 |
+
sameElse : 'L'
|
58 |
+
},
|
59 |
+
relativeTime : {
|
60 |
+
future : '%s இல்',
|
61 |
+
past : '%s முன்',
|
62 |
+
s : 'ஒரு சில விநாடிகள்',
|
63 |
+
m : 'ஒரு நிமிடம்',
|
64 |
+
mm : '%d நிமிடங்கள்',
|
65 |
+
h : 'ஒரு மணி நேரம்',
|
66 |
+
hh : '%d மணி நேரம்',
|
67 |
+
d : 'ஒரு நாள்',
|
68 |
+
dd : '%d நாட்கள்',
|
69 |
+
M : 'ஒரு மாதம்',
|
70 |
+
MM : '%d மாதங்கள்',
|
71 |
+
y : 'ஒரு வருடம்',
|
72 |
+
yy : '%d ஆண்டுகள்'
|
73 |
+
},
|
74 |
+
ordinalParse: /\d{1,2}வது/,
|
75 |
+
ordinal : function (number) {
|
76 |
+
return number + 'வது';
|
77 |
+
},
|
78 |
+
preparse: function (string) {
|
79 |
+
return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
|
80 |
+
return numberMap[match];
|
81 |
+
});
|
82 |
+
},
|
83 |
+
postformat: function (string) {
|
84 |
+
return string.replace(/\d/g, function (match) {
|
85 |
+
return symbolMap[match];
|
86 |
+
});
|
87 |
+
},
|
88 |
+
// refer http://ta.wikipedia.org/s/1er1
|
89 |
+
meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
|
90 |
+
meridiem : function (hour, minute, isLower) {
|
91 |
+
if (hour < 2) {
|
92 |
+
return ' யாமம்';
|
93 |
+
} else if (hour < 6) {
|
94 |
+
return ' வைகறை'; // வைகறை
|
95 |
+
} else if (hour < 10) {
|
96 |
+
return ' காலை'; // காலை
|
97 |
+
} else if (hour < 14) {
|
98 |
+
return ' நண்பகல்'; // நண்பகல்
|
99 |
+
} else if (hour < 18) {
|
100 |
+
return ' எற்பாடு'; // எற்பாடு
|
101 |
+
} else if (hour < 22) {
|
102 |
+
return ' மாலை'; // மாலை
|
103 |
+
} else {
|
104 |
+
return ' யாமம்';
|
105 |
+
}
|
106 |
+
},
|
107 |
+
meridiemHour : function (hour, meridiem) {
|
108 |
+
if (hour === 12) {
|
109 |
+
hour = 0;
|
110 |
+
}
|
111 |
+
if (meridiem === 'யாமம்') {
|
112 |
+
return hour < 2 ? hour : hour + 12;
|
113 |
+
} else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
|
114 |
+
return hour;
|
115 |
+
} else if (meridiem === 'நண்பகல்') {
|
116 |
+
return hour >= 10 ? hour : hour + 12;
|
117 |
+
} else {
|
118 |
+
return hour + 12;
|
119 |
+
}
|
120 |
+
},
|
121 |
+
week : {
|
122 |
+
dow : 0, // Sunday is the first day of the week.
|
123 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
124 |
+
}
|
125 |
+
});
|
126 |
+
|
127 |
+
return ta;
|
128 |
+
|
129 |
+
}));
|
bp-core/js/vendor/moment-js/locale/ta.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},c={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},d=a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(a){return a+"வது"},preparse:function(a){return a.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return a<2?" யாமம்":a<6?" வைகறை":a<10?" காலை":a<14?" நண்பகல்":a<18?" எற்பாடு":a<22?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?a<2?a:a+12:"வைகறை"===b||"காலை"===b?a:"நண்பகல்"===b&&a>=10?a:a+12},week:{dow:0,doy:6}});return d});
|
bp-core/js/vendor/moment-js/locale/te.js
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Telugu [te]
|
3 |
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var te = moment.defineLocale('te', {
|
14 |
+
months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
|
15 |
+
monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
|
18 |
+
weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
19 |
+
weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'A h:mm',
|
22 |
+
LTS : 'A h:mm:ss',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY, A h:mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY, A h:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay : '[నేడు] LT',
|
30 |
+
nextDay : '[రేపు] LT',
|
31 |
+
nextWeek : 'dddd, LT',
|
32 |
+
lastDay : '[నిన్న] LT',
|
33 |
+
lastWeek : '[గత] dddd, LT',
|
34 |
+
sameElse : 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : '%s లో',
|
38 |
+
past : '%s క్రితం',
|
39 |
+
s : 'కొన్ని క్షణాలు',
|
40 |
+
m : 'ఒక నిమిషం',
|
41 |
+
mm : '%d నిమిషాలు',
|
42 |
+
h : 'ఒక గంట',
|
43 |
+
hh : '%d గంటలు',
|
44 |
+
d : 'ఒక రోజు',
|
45 |
+
dd : '%d రోజులు',
|
46 |
+
M : 'ఒక నెల',
|
47 |
+
MM : '%d నెలలు',
|
48 |
+
y : 'ఒక సంవత్సరం',
|
49 |
+
yy : '%d సంవత్సరాలు'
|
50 |
+
},
|
51 |
+
ordinalParse : /\d{1,2}వ/,
|
52 |
+
ordinal : '%dవ',
|
53 |
+
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
54 |
+
meridiemHour : function (hour, meridiem) {
|
55 |
+
if (hour === 12) {
|
56 |
+
hour = 0;
|
57 |
+
}
|
58 |
+
if (meridiem === 'రాత్రి') {
|
59 |
+
return hour < 4 ? hour : hour + 12;
|
60 |
+
} else if (meridiem === 'ఉదయం') {
|
61 |
+
return hour;
|
62 |
+
} else if (meridiem === 'మధ్యాహ్నం') {
|
63 |
+
return hour >= 10 ? hour : hour + 12;
|
64 |
+
} else if (meridiem === 'సాయంత్రం') {
|
65 |
+
return hour + 12;
|
66 |
+
}
|
67 |
+
},
|
68 |
+
meridiem : function (hour, minute, isLower) {
|
69 |
+
if (hour < 4) {
|
70 |
+
return 'రాత్రి';
|
71 |
+
} else if (hour < 10) {
|
72 |
+
return 'ఉదయం';
|
73 |
+
} else if (hour < 17) {
|
74 |
+
return 'మధ్యాహ్నం';
|
75 |
+
} else if (hour < 20) {
|
76 |
+
return 'సాయంత్రం';
|
77 |
+
} else {
|
78 |
+
return 'రాత్రి';
|
79 |
+
}
|
80 |
+
},
|
81 |
+
week : {
|
82 |
+
dow : 0, // Sunday is the first day of the week.
|
83 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
84 |
+
}
|
85 |
+
});
|
86 |
+
|
87 |
+
return te;
|
88 |
+
|
89 |
+
}));
|
bp-core/js/vendor/moment-js/locale/te.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(a,b){return 12===a&&(a=0),"రాత్రి"===b?a<4?a:a+12:"ఉదయం"===b?a:"మధ్యాహ్నం"===b?a>=10?a:a+12:"సాయంత్రం"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"రాత్రి":a<10?"ఉదయం":a<17?"మధ్యాహ్నం":a<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return b});
|
bp-core/js/vendor/moment-js/locale/th.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Thai [th]
|
3 |
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var th = moment.defineLocale('th', {
|
14 |
+
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
15 |
+
monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
|
16 |
+
monthsParseExact: true,
|
17 |
+
weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
18 |
+
weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
19 |
+
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'H:mm',
|
23 |
+
LTS : 'H:mm:ss',
|
24 |
+
L : 'YYYY/MM/DD',
|
25 |
+
LL : 'D MMMM YYYY',
|
26 |
+
LLL : 'D MMMM YYYY เวลา H:mm',
|
27 |
+
LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm'
|
28 |
+
},
|
29 |
+
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
30 |
+
isPM: function (input) {
|
31 |
+
return input === 'หลังเที่ยง';
|
32 |
+
},
|
33 |
+
meridiem : function (hour, minute, isLower) {
|
34 |
+
if (hour < 12) {
|
35 |
+
return 'ก่อนเที่ยง';
|
36 |
+
} else {
|
37 |
+
return 'หลังเที่ยง';
|
38 |
+
}
|
39 |
+
},
|
40 |
+
calendar : {
|
41 |
+
sameDay : '[วันนี้ เวลา] LT',
|
42 |
+
nextDay : '[พรุ่งนี้ เวลา] LT',
|
43 |
+
nextWeek : 'dddd[หน้า เวลา] LT',
|
44 |
+
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
45 |
+
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
46 |
+
sameElse : 'L'
|
47 |
+
},
|
48 |
+
relativeTime : {
|
49 |
+
future : 'อีก %s',
|
50 |
+
past : '%sที่แล้ว',
|
51 |
+
s : 'ไม่กี่วินาที',
|
52 |
+
m : '1 นาที',
|
53 |
+
mm : '%d นาที',
|
54 |
+
h : '1 ชั่วโมง',
|
55 |
+
hh : '%d ชั่วโมง',
|
56 |
+
d : '1 วัน',
|
57 |
+
dd : '%d วัน',
|
58 |
+
M : '1 เดือน',
|
59 |
+
MM : '%d เดือน',
|
60 |
+
y : '1 ปี',
|
61 |
+
yy : '%d ปี'
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
return th;
|
66 |
+
|
67 |
+
}));
|
bp-core/js/vendor/moment-js/locale/th.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return a<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return b});
|
bp-core/js/vendor/moment-js/locale/tl-ph.js
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Tagalog (Philippines) [tl-ph]
|
3 |
+
//! author : Dan Hagman : https://github.com/hagmandan
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var tl_ph = moment.defineLocale('tl-ph', {
|
14 |
+
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
15 |
+
monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
16 |
+
weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
17 |
+
weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
18 |
+
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'MM/D/YYYY',
|
23 |
+
LL : 'MMMM D, YYYY',
|
24 |
+
LLL : 'MMMM D, YYYY HH:mm',
|
25 |
+
LLLL : 'dddd, MMMM DD, YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay: '[Ngayon sa] LT',
|
29 |
+
nextDay: '[Bukas sa] LT',
|
30 |
+
nextWeek: 'dddd [sa] LT',
|
31 |
+
lastDay: '[Kahapon sa] LT',
|
32 |
+
lastWeek: 'dddd [huling linggo] LT',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'sa loob ng %s',
|
37 |
+
past : '%s ang nakalipas',
|
38 |
+
s : 'ilang segundo',
|
39 |
+
m : 'isang minuto',
|
40 |
+
mm : '%d minuto',
|
41 |
+
h : 'isang oras',
|
42 |
+
hh : '%d oras',
|
43 |
+
d : 'isang araw',
|
44 |
+
dd : '%d araw',
|
45 |
+
M : 'isang buwan',
|
46 |
+
MM : '%d buwan',
|
47 |
+
y : 'isang taon',
|
48 |
+
yy : '%d taon'
|
49 |
+
},
|
50 |
+
ordinalParse: /\d{1,2}/,
|
51 |
+
ordinal : function (number) {
|
52 |
+
return number;
|
53 |
+
},
|
54 |
+
week : {
|
55 |
+
dow : 1, // Monday is the first day of the week.
|
56 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57 |
+
}
|
58 |
+
});
|
59 |
+
|
60 |
+
return tl_ph;
|
61 |
+
|
62 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tl-ph.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/tlh.js
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Klingon [tlh]
|
3 |
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
14 |
+
|
15 |
+
function translateFuture(output) {
|
16 |
+
var time = output;
|
17 |
+
time = (output.indexOf('jaj') !== -1) ?
|
18 |
+
time.slice(0, -3) + 'leS' :
|
19 |
+
(output.indexOf('jar') !== -1) ?
|
20 |
+
time.slice(0, -3) + 'waQ' :
|
21 |
+
(output.indexOf('DIS') !== -1) ?
|
22 |
+
time.slice(0, -3) + 'nem' :
|
23 |
+
time + ' pIq';
|
24 |
+
return time;
|
25 |
+
}
|
26 |
+
|
27 |
+
function translatePast(output) {
|
28 |
+
var time = output;
|
29 |
+
time = (output.indexOf('jaj') !== -1) ?
|
30 |
+
time.slice(0, -3) + 'Hu’' :
|
31 |
+
(output.indexOf('jar') !== -1) ?
|
32 |
+
time.slice(0, -3) + 'wen' :
|
33 |
+
(output.indexOf('DIS') !== -1) ?
|
34 |
+
time.slice(0, -3) + 'ben' :
|
35 |
+
time + ' ret';
|
36 |
+
return time;
|
37 |
+
}
|
38 |
+
|
39 |
+
function translate(number, withoutSuffix, string, isFuture) {
|
40 |
+
var numberNoun = numberAsNoun(number);
|
41 |
+
switch (string) {
|
42 |
+
case 'mm':
|
43 |
+
return numberNoun + ' tup';
|
44 |
+
case 'hh':
|
45 |
+
return numberNoun + ' rep';
|
46 |
+
case 'dd':
|
47 |
+
return numberNoun + ' jaj';
|
48 |
+
case 'MM':
|
49 |
+
return numberNoun + ' jar';
|
50 |
+
case 'yy':
|
51 |
+
return numberNoun + ' DIS';
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
function numberAsNoun(number) {
|
56 |
+
var hundred = Math.floor((number % 1000) / 100),
|
57 |
+
ten = Math.floor((number % 100) / 10),
|
58 |
+
one = number % 10,
|
59 |
+
word = '';
|
60 |
+
if (hundred > 0) {
|
61 |
+
word += numbersNouns[hundred] + 'vatlh';
|
62 |
+
}
|
63 |
+
if (ten > 0) {
|
64 |
+
word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
|
65 |
+
}
|
66 |
+
if (one > 0) {
|
67 |
+
word += ((word !== '') ? ' ' : '') + numbersNouns[one];
|
68 |
+
}
|
69 |
+
return (word === '') ? 'pagh' : word;
|
70 |
+
}
|
71 |
+
|
72 |
+
var tlh = moment.defineLocale('tlh', {
|
73 |
+
months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
|
74 |
+
monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
|
75 |
+
monthsParseExact : true,
|
76 |
+
weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
77 |
+
weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
78 |
+
weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
79 |
+
longDateFormat : {
|
80 |
+
LT : 'HH:mm',
|
81 |
+
LTS : 'HH:mm:ss',
|
82 |
+
L : 'DD.MM.YYYY',
|
83 |
+
LL : 'D MMMM YYYY',
|
84 |
+
LLL : 'D MMMM YYYY HH:mm',
|
85 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
86 |
+
},
|
87 |
+
calendar : {
|
88 |
+
sameDay: '[DaHjaj] LT',
|
89 |
+
nextDay: '[wa’leS] LT',
|
90 |
+
nextWeek: 'LLL',
|
91 |
+
lastDay: '[wa’Hu’] LT',
|
92 |
+
lastWeek: 'LLL',
|
93 |
+
sameElse: 'L'
|
94 |
+
},
|
95 |
+
relativeTime : {
|
96 |
+
future : translateFuture,
|
97 |
+
past : translatePast,
|
98 |
+
s : 'puS lup',
|
99 |
+
m : 'wa’ tup',
|
100 |
+
mm : translate,
|
101 |
+
h : 'wa’ rep',
|
102 |
+
hh : translate,
|
103 |
+
d : 'wa’ jaj',
|
104 |
+
dd : translate,
|
105 |
+
M : 'wa’ jar',
|
106 |
+
MM : translate,
|
107 |
+
y : 'wa’ DIS',
|
108 |
+
yy : translate
|
109 |
+
},
|
110 |
+
ordinalParse: /\d{1,2}\./,
|
111 |
+
ordinal : '%d.',
|
112 |
+
week : {
|
113 |
+
dow : 1, // Monday is the first day of the week.
|
114 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
115 |
+
}
|
116 |
+
});
|
117 |
+
|
118 |
+
return tlh;
|
119 |
+
|
120 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tlh.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"leS":a.indexOf("jar")!==-1?b.slice(0,-3)+"waQ":a.indexOf("DIS")!==-1?b.slice(0,-3)+"nem":b+" pIq"}function c(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"Hu’":a.indexOf("jar")!==-1?b.slice(0,-3)+"wen":a.indexOf("DIS")!==-1?b.slice(0,-3)+"ben":b+" ret"}function d(a,b,c,d){var f=e(a);switch(c){case"mm":return f+" tup";case"hh":return f+" rep";case"dd":return f+" jaj";case"MM":return f+" jar";case"yy":return f+" DIS"}}function e(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=f[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+f[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+f[d]),""===e?"pagh":e}var f="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),g=a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:b,past:c,s:"puS lup",m:"wa’ tup",mm:d,h:"wa’ rep",hh:d,d:"wa’ jaj",dd:d,M:"wa’ jar",MM:d,y:"wa’ DIS",yy:d},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return g});
|
bp-core/js/vendor/moment-js/locale/tr.js
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Turkish [tr]
|
3 |
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4 |
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var suffixes = {
|
15 |
+
1: '\'inci',
|
16 |
+
5: '\'inci',
|
17 |
+
8: '\'inci',
|
18 |
+
70: '\'inci',
|
19 |
+
80: '\'inci',
|
20 |
+
2: '\'nci',
|
21 |
+
7: '\'nci',
|
22 |
+
20: '\'nci',
|
23 |
+
50: '\'nci',
|
24 |
+
3: '\'üncü',
|
25 |
+
4: '\'üncü',
|
26 |
+
100: '\'üncü',
|
27 |
+
6: '\'ncı',
|
28 |
+
9: '\'uncu',
|
29 |
+
10: '\'uncu',
|
30 |
+
30: '\'uncu',
|
31 |
+
60: '\'ıncı',
|
32 |
+
90: '\'ıncı'
|
33 |
+
};
|
34 |
+
|
35 |
+
var tr = moment.defineLocale('tr', {
|
36 |
+
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
|
37 |
+
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
38 |
+
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
|
39 |
+
weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
40 |
+
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
41 |
+
longDateFormat : {
|
42 |
+
LT : 'HH:mm',
|
43 |
+
LTS : 'HH:mm:ss',
|
44 |
+
L : 'DD.MM.YYYY',
|
45 |
+
LL : 'D MMMM YYYY',
|
46 |
+
LLL : 'D MMMM YYYY HH:mm',
|
47 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
48 |
+
},
|
49 |
+
calendar : {
|
50 |
+
sameDay : '[bugün saat] LT',
|
51 |
+
nextDay : '[yarın saat] LT',
|
52 |
+
nextWeek : '[haftaya] dddd [saat] LT',
|
53 |
+
lastDay : '[dün] LT',
|
54 |
+
lastWeek : '[geçen hafta] dddd [saat] LT',
|
55 |
+
sameElse : 'L'
|
56 |
+
},
|
57 |
+
relativeTime : {
|
58 |
+
future : '%s sonra',
|
59 |
+
past : '%s önce',
|
60 |
+
s : 'birkaç saniye',
|
61 |
+
m : 'bir dakika',
|
62 |
+
mm : '%d dakika',
|
63 |
+
h : 'bir saat',
|
64 |
+
hh : '%d saat',
|
65 |
+
d : 'bir gün',
|
66 |
+
dd : '%d gün',
|
67 |
+
M : 'bir ay',
|
68 |
+
MM : '%d ay',
|
69 |
+
y : 'bir yıl',
|
70 |
+
yy : '%d yıl'
|
71 |
+
},
|
72 |
+
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
73 |
+
ordinal : function (number) {
|
74 |
+
if (number === 0) { // special case for zero
|
75 |
+
return number + '\'ıncı';
|
76 |
+
}
|
77 |
+
var a = number % 10,
|
78 |
+
b = number % 100 - a,
|
79 |
+
c = number >= 100 ? 100 : null;
|
80 |
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
81 |
+
},
|
82 |
+
week : {
|
83 |
+
dow : 1, // Monday is the first day of the week.
|
84 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
85 |
+
}
|
86 |
+
});
|
87 |
+
|
88 |
+
return tr;
|
89 |
+
|
90 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tr.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},c=a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(a){if(0===a)return a+"'ıncı";var c=a%10,d=a%100-c,e=a>=100?100:null;return a+(b[c]||b[d]||b[e])},week:{dow:1,doy:7}});return c});
|
bp-core/js/vendor/moment-js/locale/tzl.js
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Talossan [tzl]
|
3 |
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4 |
+
//! author : Iustì Canun
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
15 |
+
// This is currently too difficult (maybe even impossible) to add.
|
16 |
+
var tzl = moment.defineLocale('tzl', {
|
17 |
+
months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
|
18 |
+
monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
19 |
+
weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
20 |
+
weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
21 |
+
weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
22 |
+
longDateFormat : {
|
23 |
+
LT : 'HH.mm',
|
24 |
+
LTS : 'HH.mm.ss',
|
25 |
+
L : 'DD.MM.YYYY',
|
26 |
+
LL : 'D. MMMM [dallas] YYYY',
|
27 |
+
LLL : 'D. MMMM [dallas] YYYY HH.mm',
|
28 |
+
LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
|
29 |
+
},
|
30 |
+
meridiemParse: /d\'o|d\'a/i,
|
31 |
+
isPM : function (input) {
|
32 |
+
return 'd\'o' === input.toLowerCase();
|
33 |
+
},
|
34 |
+
meridiem : function (hours, minutes, isLower) {
|
35 |
+
if (hours > 11) {
|
36 |
+
return isLower ? 'd\'o' : 'D\'O';
|
37 |
+
} else {
|
38 |
+
return isLower ? 'd\'a' : 'D\'A';
|
39 |
+
}
|
40 |
+
},
|
41 |
+
calendar : {
|
42 |
+
sameDay : '[oxhi à] LT',
|
43 |
+
nextDay : '[demà à] LT',
|
44 |
+
nextWeek : 'dddd [à] LT',
|
45 |
+
lastDay : '[ieiri à] LT',
|
46 |
+
lastWeek : '[sür el] dddd [lasteu à] LT',
|
47 |
+
sameElse : 'L'
|
48 |
+
},
|
49 |
+
relativeTime : {
|
50 |
+
future : 'osprei %s',
|
51 |
+
past : 'ja%s',
|
52 |
+
s : processRelativeTime,
|
53 |
+
m : processRelativeTime,
|
54 |
+
mm : processRelativeTime,
|
55 |
+
h : processRelativeTime,
|
56 |
+
hh : processRelativeTime,
|
57 |
+
d : processRelativeTime,
|
58 |
+
dd : processRelativeTime,
|
59 |
+
M : processRelativeTime,
|
60 |
+
MM : processRelativeTime,
|
61 |
+
y : processRelativeTime,
|
62 |
+
yy : processRelativeTime
|
63 |
+
},
|
64 |
+
ordinalParse: /\d{1,2}\./,
|
65 |
+
ordinal : '%d.',
|
66 |
+
week : {
|
67 |
+
dow : 1, // Monday is the first day of the week.
|
68 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
69 |
+
}
|
70 |
+
});
|
71 |
+
|
72 |
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
73 |
+
var format = {
|
74 |
+
's': ['viensas secunds', '\'iensas secunds'],
|
75 |
+
'm': ['\'n míut', '\'iens míut'],
|
76 |
+
'mm': [number + ' míuts', '' + number + ' míuts'],
|
77 |
+
'h': ['\'n þora', '\'iensa þora'],
|
78 |
+
'hh': [number + ' þoras', '' + number + ' þoras'],
|
79 |
+
'd': ['\'n ziua', '\'iensa ziua'],
|
80 |
+
'dd': [number + ' ziuas', '' + number + ' ziuas'],
|
81 |
+
'M': ['\'n mes', '\'iens mes'],
|
82 |
+
'MM': [number + ' mesen', '' + number + ' mesen'],
|
83 |
+
'y': ['\'n ar', '\'iens ar'],
|
84 |
+
'yy': [number + ' ars', '' + number + ' ars']
|
85 |
+
};
|
86 |
+
return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
|
87 |
+
}
|
88 |
+
|
89 |
+
return tzl;
|
90 |
+
|
91 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tzl.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",""+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",""+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",""+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",""+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",""+a+" ars"]};return d?e[c][0]:b?e[c][0]:e[c][1]}var c=a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,b,c){return a>11?c?"d'o":"D'O":c?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c});
|
bp-core/js/vendor/moment-js/locale/tzm-latn.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
3 |
+
//! author : Abdel Said : https://github.com/abdelsaid
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var tzm_latn = moment.defineLocale('tzm-latn', {
|
14 |
+
months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
15 |
+
monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
|
16 |
+
weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
17 |
+
weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
18 |
+
weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay: '[asdkh g] LT',
|
29 |
+
nextDay: '[aska g] LT',
|
30 |
+
nextWeek: 'dddd [g] LT',
|
31 |
+
lastDay: '[assant g] LT',
|
32 |
+
lastWeek: 'dddd [g] LT',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'dadkh s yan %s',
|
37 |
+
past : 'yan %s',
|
38 |
+
s : 'imik',
|
39 |
+
m : 'minuḍ',
|
40 |
+
mm : '%d minuḍ',
|
41 |
+
h : 'saɛa',
|
42 |
+
hh : '%d tassaɛin',
|
43 |
+
d : 'ass',
|
44 |
+
dd : '%d ossan',
|
45 |
+
M : 'ayowr',
|
46 |
+
MM : '%d iyyirn',
|
47 |
+
y : 'asgas',
|
48 |
+
yy : '%d isgasn'
|
49 |
+
},
|
50 |
+
week : {
|
51 |
+
dow : 6, // Saturday is the first day of the week.
|
52 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
53 |
+
}
|
54 |
+
});
|
55 |
+
|
56 |
+
return tzm_latn;
|
57 |
+
|
58 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tzm-latn.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return b});
|
bp-core/js/vendor/moment-js/locale/tzm.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Central Atlas Tamazight [tzm]
|
3 |
+
//! author : Abdel Said : https://github.com/abdelsaid
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var tzm = moment.defineLocale('tzm', {
|
14 |
+
months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
|
15 |
+
monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
|
16 |
+
weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
17 |
+
weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
18 |
+
weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS: 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
29 |
+
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
30 |
+
nextWeek: 'dddd [ⴴ] LT',
|
31 |
+
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
32 |
+
lastWeek: 'dddd [ⴴ] LT',
|
33 |
+
sameElse: 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
|
37 |
+
past : 'ⵢⴰⵏ %s',
|
38 |
+
s : 'ⵉⵎⵉⴽ',
|
39 |
+
m : 'ⵎⵉⵏⵓⴺ',
|
40 |
+
mm : '%d ⵎⵉⵏⵓⴺ',
|
41 |
+
h : 'ⵙⴰⵄⴰ',
|
42 |
+
hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
|
43 |
+
d : 'ⴰⵙⵙ',
|
44 |
+
dd : '%d oⵙⵙⴰⵏ',
|
45 |
+
M : 'ⴰⵢoⵓⵔ',
|
46 |
+
MM : '%d ⵉⵢⵢⵉⵔⵏ',
|
47 |
+
y : 'ⴰⵙⴳⴰⵙ',
|
48 |
+
yy : '%d ⵉⵙⴳⴰⵙⵏ'
|
49 |
+
},
|
50 |
+
week : {
|
51 |
+
dow : 6, // Saturday is the first day of the week.
|
52 |
+
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
53 |
+
}
|
54 |
+
});
|
55 |
+
|
56 |
+
return tzm;
|
57 |
+
|
58 |
+
}));
|
bp-core/js/vendor/moment-js/locale/tzm.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return b});
|
bp-core/js/vendor/moment-js/locale/uk.js
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Ukrainian [uk]
|
3 |
+
//! author : zemlanin : https://github.com/zemlanin
|
4 |
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
function plural(word, num) {
|
15 |
+
var forms = word.split('_');
|
16 |
+
return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
|
17 |
+
}
|
18 |
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
19 |
+
var format = {
|
20 |
+
'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
|
21 |
+
'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
|
22 |
+
'dd': 'день_дні_днів',
|
23 |
+
'MM': 'місяць_місяці_місяців',
|
24 |
+
'yy': 'рік_роки_років'
|
25 |
+
};
|
26 |
+
if (key === 'm') {
|
27 |
+
return withoutSuffix ? 'хвилина' : 'хвилину';
|
28 |
+
}
|
29 |
+
else if (key === 'h') {
|
30 |
+
return withoutSuffix ? 'година' : 'годину';
|
31 |
+
}
|
32 |
+
else {
|
33 |
+
return number + ' ' + plural(format[key], +number);
|
34 |
+
}
|
35 |
+
}
|
36 |
+
function weekdaysCaseReplace(m, format) {
|
37 |
+
var weekdays = {
|
38 |
+
'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
|
39 |
+
'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
|
40 |
+
'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
|
41 |
+
},
|
42 |
+
nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
|
43 |
+
'accusative' :
|
44 |
+
((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
|
45 |
+
'genitive' :
|
46 |
+
'nominative');
|
47 |
+
return weekdays[nounCase][m.day()];
|
48 |
+
}
|
49 |
+
function processHoursFunction(str) {
|
50 |
+
return function () {
|
51 |
+
return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
|
52 |
+
};
|
53 |
+
}
|
54 |
+
|
55 |
+
var uk = moment.defineLocale('uk', {
|
56 |
+
months : {
|
57 |
+
'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
|
58 |
+
'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
|
59 |
+
},
|
60 |
+
monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
|
61 |
+
weekdays : weekdaysCaseReplace,
|
62 |
+
weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
63 |
+
weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
64 |
+
longDateFormat : {
|
65 |
+
LT : 'HH:mm',
|
66 |
+
LTS : 'HH:mm:ss',
|
67 |
+
L : 'DD.MM.YYYY',
|
68 |
+
LL : 'D MMMM YYYY р.',
|
69 |
+
LLL : 'D MMMM YYYY р., HH:mm',
|
70 |
+
LLLL : 'dddd, D MMMM YYYY р., HH:mm'
|
71 |
+
},
|
72 |
+
calendar : {
|
73 |
+
sameDay: processHoursFunction('[Сьогодні '),
|
74 |
+
nextDay: processHoursFunction('[Завтра '),
|
75 |
+
lastDay: processHoursFunction('[Вчора '),
|
76 |
+
nextWeek: processHoursFunction('[У] dddd ['),
|
77 |
+
lastWeek: function () {
|
78 |
+
switch (this.day()) {
|
79 |
+
case 0:
|
80 |
+
case 3:
|
81 |
+
case 5:
|
82 |
+
case 6:
|
83 |
+
return processHoursFunction('[Минулої] dddd [').call(this);
|
84 |
+
case 1:
|
85 |
+
case 2:
|
86 |
+
case 4:
|
87 |
+
return processHoursFunction('[Минулого] dddd [').call(this);
|
88 |
+
}
|
89 |
+
},
|
90 |
+
sameElse: 'L'
|
91 |
+
},
|
92 |
+
relativeTime : {
|
93 |
+
future : 'за %s',
|
94 |
+
past : '%s тому',
|
95 |
+
s : 'декілька секунд',
|
96 |
+
m : relativeTimeWithPlural,
|
97 |
+
mm : relativeTimeWithPlural,
|
98 |
+
h : 'годину',
|
99 |
+
hh : relativeTimeWithPlural,
|
100 |
+
d : 'день',
|
101 |
+
dd : relativeTimeWithPlural,
|
102 |
+
M : 'місяць',
|
103 |
+
MM : relativeTimeWithPlural,
|
104 |
+
y : 'рік',
|
105 |
+
yy : relativeTimeWithPlural
|
106 |
+
},
|
107 |
+
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
108 |
+
meridiemParse: /ночі|ранку|дня|вечора/,
|
109 |
+
isPM: function (input) {
|
110 |
+
return /^(дня|вечора)$/.test(input);
|
111 |
+
},
|
112 |
+
meridiem : function (hour, minute, isLower) {
|
113 |
+
if (hour < 4) {
|
114 |
+
return 'ночі';
|
115 |
+
} else if (hour < 12) {
|
116 |
+
return 'ранку';
|
117 |
+
} else if (hour < 17) {
|
118 |
+
return 'дня';
|
119 |
+
} else {
|
120 |
+
return 'вечора';
|
121 |
+
}
|
122 |
+
},
|
123 |
+
ordinalParse: /\d{1,2}-(й|го)/,
|
124 |
+
ordinal: function (number, period) {
|
125 |
+
switch (period) {
|
126 |
+
case 'M':
|
127 |
+
case 'd':
|
128 |
+
case 'DDD':
|
129 |
+
case 'w':
|
130 |
+
case 'W':
|
131 |
+
return number + '-й';
|
132 |
+
case 'D':
|
133 |
+
return number + '-го';
|
134 |
+
default:
|
135 |
+
return number;
|
136 |
+
}
|
137 |
+
},
|
138 |
+
week : {
|
139 |
+
dow : 1, // Monday is the first day of the week.
|
140 |
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
141 |
+
}
|
142 |
+
});
|
143 |
+
|
144 |
+
return uk;
|
145 |
+
|
146 |
+
}));
|
bp-core/js/vendor/moment-js/locale/uk.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:c?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===d?c?"хвилина":"хвилину":"h"===d?c?"година":"годину":a+" "+b(e[d],+a)}function d(a,b){var c={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},d=/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative";return c[d][a.day()]}function e(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var f=a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:d,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:e("[Сьогодні "),nextDay:e("[Завтра "),lastDay:e("[Вчора "),nextWeek:e("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return e("[Минулої] dddd [").call(this);case 1:case 2:case 4:return e("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:c,mm:c,h:"годину",hh:c,d:"день",dd:c,M:"місяць",MM:c,y:"рік",yy:c},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночі":a<12?"ранку":a<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a+"-й";case"D":return a+"-го";default:return a}},week:{dow:1,doy:7}});return f});
|
bp-core/js/vendor/moment-js/locale/uz.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Uzbek [uz]
|
3 |
+
//! author : Sardor Muminov : https://github.com/muminoff
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var uz = moment.defineLocale('uz', {
|
14 |
+
months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
|
15 |
+
monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
|
16 |
+
weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
|
17 |
+
weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
|
18 |
+
weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
|
19 |
+
longDateFormat : {
|
20 |
+
LT : 'HH:mm',
|
21 |
+
LTS : 'HH:mm:ss',
|
22 |
+
L : 'DD/MM/YYYY',
|
23 |
+
LL : 'D MMMM YYYY',
|
24 |
+
LLL : 'D MMMM YYYY HH:mm',
|
25 |
+
LLLL : 'D MMMM YYYY, dddd HH:mm'
|
26 |
+
},
|
27 |
+
calendar : {
|
28 |
+
sameDay : '[Бугун соат] LT [да]',
|
29 |
+
nextDay : '[Эртага] LT [да]',
|
30 |
+
nextWeek : 'dddd [куни соат] LT [да]',
|
31 |
+
lastDay : '[Кеча соат] LT [да]',
|
32 |
+
lastWeek : '[Утган] dddd [куни соат] LT [да]',
|
33 |
+
sameElse : 'L'
|
34 |
+
},
|
35 |
+
relativeTime : {
|
36 |
+
future : 'Якин %s ичида',
|
37 |
+
past : 'Бир неча %s олдин',
|
38 |
+
s : 'фурсат',
|
39 |
+
m : 'бир дакика',
|
40 |
+
mm : '%d дакика',
|
41 |
+
h : 'бир соат',
|
42 |
+
hh : '%d соат',
|
43 |
+
d : 'бир кун',
|
44 |
+
dd : '%d кун',
|
45 |
+
M : 'бир ой',
|
46 |
+
MM : '%d ой',
|
47 |
+
y : 'бир йил',
|
48 |
+
yy : '%d йил'
|
49 |
+
},
|
50 |
+
week : {
|
51 |
+
dow : 1, // Monday is the first day of the week.
|
52 |
+
doy : 7 // The week that contains Jan 4th is the first week of the year.
|
53 |
+
}
|
54 |
+
});
|
55 |
+
|
56 |
+
return uz;
|
57 |
+
|
58 |
+
}));
|
bp-core/js/vendor/moment-js/locale/uz.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return b});
|
bp-core/js/vendor/moment-js/locale/vi.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Vietnamese [vi]
|
3 |
+
//! author : Bang Nguyen : https://github.com/bangnk
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var vi = moment.defineLocale('vi', {
|
14 |
+
months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
|
15 |
+
monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
|
18 |
+
weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
19 |
+
weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
meridiemParse: /sa|ch/i,
|
22 |
+
isPM : function (input) {
|
23 |
+
return /^ch$/i.test(input);
|
24 |
+
},
|
25 |
+
meridiem : function (hours, minutes, isLower) {
|
26 |
+
if (hours < 12) {
|
27 |
+
return isLower ? 'sa' : 'SA';
|
28 |
+
} else {
|
29 |
+
return isLower ? 'ch' : 'CH';
|
30 |
+
}
|
31 |
+
},
|
32 |
+
longDateFormat : {
|
33 |
+
LT : 'HH:mm',
|
34 |
+
LTS : 'HH:mm:ss',
|
35 |
+
L : 'DD/MM/YYYY',
|
36 |
+
LL : 'D MMMM [năm] YYYY',
|
37 |
+
LLL : 'D MMMM [năm] YYYY HH:mm',
|
38 |
+
LLLL : 'dddd, D MMMM [năm] YYYY HH:mm',
|
39 |
+
l : 'DD/M/YYYY',
|
40 |
+
ll : 'D MMM YYYY',
|
41 |
+
lll : 'D MMM YYYY HH:mm',
|
42 |
+
llll : 'ddd, D MMM YYYY HH:mm'
|
43 |
+
},
|
44 |
+
calendar : {
|
45 |
+
sameDay: '[Hôm nay lúc] LT',
|
46 |
+
nextDay: '[Ngày mai lúc] LT',
|
47 |
+
nextWeek: 'dddd [tuần tới lúc] LT',
|
48 |
+
lastDay: '[Hôm qua lúc] LT',
|
49 |
+
lastWeek: 'dddd [tuần rồi lúc] LT',
|
50 |
+
sameElse: 'L'
|
51 |
+
},
|
52 |
+
relativeTime : {
|
53 |
+
future : '%s tới',
|
54 |
+
past : '%s trước',
|
55 |
+
s : 'vài giây',
|
56 |
+
m : 'một phút',
|
57 |
+
mm : '%d phút',
|
58 |
+
h : 'một giờ',
|
59 |
+
hh : '%d giờ',
|
60 |
+
d : 'một ngày',
|
61 |
+
dd : '%d ngày',
|
62 |
+
M : 'một tháng',
|
63 |
+
MM : '%d tháng',
|
64 |
+
y : 'một năm',
|
65 |
+
yy : '%d năm'
|
66 |
+
},
|
67 |
+
ordinalParse: /\d{1,2}/,
|
68 |
+
ordinal : function (number) {
|
69 |
+
return number;
|
70 |
+
},
|
71 |
+
week : {
|
72 |
+
dow : 1, // Monday is the first day of the week.
|
73 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
74 |
+
}
|
75 |
+
});
|
76 |
+
|
77 |
+
return vi;
|
78 |
+
|
79 |
+
}));
|
bp-core/js/vendor/moment-js/locale/vi.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(a){return/^ch$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/x-pseudo.js
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Pseudo [x-pseudo]
|
3 |
+
//! author : Andrew Hood : https://github.com/andrewhood125
|
4 |
+
|
5 |
+
;(function (global, factory) {
|
6 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9 |
+
factory(global.moment)
|
10 |
+
}(this, function (moment) { 'use strict';
|
11 |
+
|
12 |
+
|
13 |
+
var x_pseudo = moment.defineLocale('x-pseudo', {
|
14 |
+
months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
|
15 |
+
monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
|
16 |
+
monthsParseExact : true,
|
17 |
+
weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
|
18 |
+
weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
|
19 |
+
weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
|
20 |
+
weekdaysParseExact : true,
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'HH:mm',
|
23 |
+
L : 'DD/MM/YYYY',
|
24 |
+
LL : 'D MMMM YYYY',
|
25 |
+
LLL : 'D MMMM YYYY HH:mm',
|
26 |
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
27 |
+
},
|
28 |
+
calendar : {
|
29 |
+
sameDay : '[T~ódá~ý át] LT',
|
30 |
+
nextDay : '[T~ómó~rró~w át] LT',
|
31 |
+
nextWeek : 'dddd [át] LT',
|
32 |
+
lastDay : '[Ý~ést~érdá~ý át] LT',
|
33 |
+
lastWeek : '[L~ást] dddd [át] LT',
|
34 |
+
sameElse : 'L'
|
35 |
+
},
|
36 |
+
relativeTime : {
|
37 |
+
future : 'í~ñ %s',
|
38 |
+
past : '%s á~gó',
|
39 |
+
s : 'á ~féw ~sécó~ñds',
|
40 |
+
m : 'á ~míñ~úté',
|
41 |
+
mm : '%d m~íñú~tés',
|
42 |
+
h : 'á~ñ hó~úr',
|
43 |
+
hh : '%d h~óúrs',
|
44 |
+
d : 'á ~dáý',
|
45 |
+
dd : '%d d~áýs',
|
46 |
+
M : 'á ~móñ~th',
|
47 |
+
MM : '%d m~óñt~hs',
|
48 |
+
y : 'á ~ýéár',
|
49 |
+
yy : '%d ý~éárs'
|
50 |
+
},
|
51 |
+
ordinalParse: /\d{1,2}(th|st|nd|rd)/,
|
52 |
+
ordinal : function (number) {
|
53 |
+
var b = number % 10,
|
54 |
+
output = (~~(number % 100 / 10) === 1) ? 'th' :
|
55 |
+
(b === 1) ? 'st' :
|
56 |
+
(b === 2) ? 'nd' :
|
57 |
+
(b === 3) ? 'rd' : 'th';
|
58 |
+
return number + output;
|
59 |
+
},
|
60 |
+
week : {
|
61 |
+
dow : 1, // Monday is the first day of the week.
|
62 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
63 |
+
}
|
64 |
+
});
|
65 |
+
|
66 |
+
return x_pseudo;
|
67 |
+
|
68 |
+
}));
|
bp-core/js/vendor/moment-js/locale/x-pseudo.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/zh-cn.js
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (China) [zh-cn]
|
3 |
+
//! author : suupic : https://github.com/suupic
|
4 |
+
//! author : Zeno Zeng : https://github.com/zenozeng
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var zh_cn = moment.defineLocale('zh-cn', {
|
15 |
+
months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
|
16 |
+
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
17 |
+
weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
18 |
+
weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'),
|
19 |
+
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'Ah点mm分',
|
22 |
+
LTS : 'Ah点m分s秒',
|
23 |
+
L : 'YYYY-MM-DD',
|
24 |
+
LL : 'YYYY年MMMD日',
|
25 |
+
LLL : 'YYYY年MMMD日Ah点mm分',
|
26 |
+
LLLL : 'YYYY年MMMD日ddddAh点mm分',
|
27 |
+
l : 'YYYY-MM-DD',
|
28 |
+
ll : 'YYYY年MMMD日',
|
29 |
+
lll : 'YYYY年MMMD日Ah点mm分',
|
30 |
+
llll : 'YYYY年MMMD日ddddAh点mm分'
|
31 |
+
},
|
32 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
33 |
+
meridiemHour: function (hour, meridiem) {
|
34 |
+
if (hour === 12) {
|
35 |
+
hour = 0;
|
36 |
+
}
|
37 |
+
if (meridiem === '凌晨' || meridiem === '早上' ||
|
38 |
+
meridiem === '上午') {
|
39 |
+
return hour;
|
40 |
+
} else if (meridiem === '下午' || meridiem === '晚上') {
|
41 |
+
return hour + 12;
|
42 |
+
} else {
|
43 |
+
// '中午'
|
44 |
+
return hour >= 11 ? hour : hour + 12;
|
45 |
+
}
|
46 |
+
},
|
47 |
+
meridiem : function (hour, minute, isLower) {
|
48 |
+
var hm = hour * 100 + minute;
|
49 |
+
if (hm < 600) {
|
50 |
+
return '凌晨';
|
51 |
+
} else if (hm < 900) {
|
52 |
+
return '早上';
|
53 |
+
} else if (hm < 1130) {
|
54 |
+
return '上午';
|
55 |
+
} else if (hm < 1230) {
|
56 |
+
return '中午';
|
57 |
+
} else if (hm < 1800) {
|
58 |
+
return '下午';
|
59 |
+
} else {
|
60 |
+
return '晚上';
|
61 |
+
}
|
62 |
+
},
|
63 |
+
calendar : {
|
64 |
+
sameDay : function () {
|
65 |
+
return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT';
|
66 |
+
},
|
67 |
+
nextDay : function () {
|
68 |
+
return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT';
|
69 |
+
},
|
70 |
+
lastDay : function () {
|
71 |
+
return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT';
|
72 |
+
},
|
73 |
+
nextWeek : function () {
|
74 |
+
var startOfWeek, prefix;
|
75 |
+
startOfWeek = moment().startOf('week');
|
76 |
+
prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]';
|
77 |
+
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
|
78 |
+
},
|
79 |
+
lastWeek : function () {
|
80 |
+
var startOfWeek, prefix;
|
81 |
+
startOfWeek = moment().startOf('week');
|
82 |
+
prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]';
|
83 |
+
return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
|
84 |
+
},
|
85 |
+
sameElse : 'LL'
|
86 |
+
},
|
87 |
+
ordinalParse: /\d{1,2}(日|月|周)/,
|
88 |
+
ordinal : function (number, period) {
|
89 |
+
switch (period) {
|
90 |
+
case 'd':
|
91 |
+
case 'D':
|
92 |
+
case 'DDD':
|
93 |
+
return number + '日';
|
94 |
+
case 'M':
|
95 |
+
return number + '月';
|
96 |
+
case 'w':
|
97 |
+
case 'W':
|
98 |
+
return number + '周';
|
99 |
+
default:
|
100 |
+
return number;
|
101 |
+
}
|
102 |
+
},
|
103 |
+
relativeTime : {
|
104 |
+
future : '%s内',
|
105 |
+
past : '%s前',
|
106 |
+
s : '几秒',
|
107 |
+
m : '1 分钟',
|
108 |
+
mm : '%d 分钟',
|
109 |
+
h : '1 小时',
|
110 |
+
hh : '%d 小时',
|
111 |
+
d : '1 天',
|
112 |
+
dd : '%d 天',
|
113 |
+
M : '1 个月',
|
114 |
+
MM : '%d 个月',
|
115 |
+
y : '1 年',
|
116 |
+
yy : '%d 年'
|
117 |
+
},
|
118 |
+
week : {
|
119 |
+
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
120 |
+
dow : 1, // Monday is the first day of the week.
|
121 |
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
122 |
+
}
|
123 |
+
});
|
124 |
+
|
125 |
+
return zh_cn;
|
126 |
+
|
127 |
+
}));
|
bp-core/js/vendor/moment-js/locale/zh-cn.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:a>=11?a:a+12},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var b,c;return b=a().startOf("week"),c=this.diff(b,"days")>=7?"[下]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},lastWeek:function(){var b,c;return b=a().startOf("week"),c=this.unix()<b.unix()?"[上]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return b});
|
bp-core/js/vendor/moment-js/locale/zh-hk.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (Hong Kong) [zh-hk]
|
3 |
+
//! author : Ben : https://github.com/ben-lin
|
4 |
+
//! author : Chris Lam : https://github.com/hehachris
|
5 |
+
//! author : Konstantin : https://github.com/skfd
|
6 |
+
|
7 |
+
;(function (global, factory) {
|
8 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11 |
+
factory(global.moment)
|
12 |
+
}(this, function (moment) { 'use strict';
|
13 |
+
|
14 |
+
|
15 |
+
var zh_hk = moment.defineLocale('zh-hk', {
|
16 |
+
months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
|
17 |
+
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
18 |
+
weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
19 |
+
weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
|
20 |
+
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
|
21 |
+
longDateFormat : {
|
22 |
+
LT : 'Ah點mm分',
|
23 |
+
LTS : 'Ah點m分s秒',
|
24 |
+
L : 'YYYY年MMMD日',
|
25 |
+
LL : 'YYYY年MMMD日',
|
26 |
+
LLL : 'YYYY年MMMD日Ah點mm分',
|
27 |
+
LLLL : 'YYYY年MMMD日ddddAh點mm分',
|
28 |
+
l : 'YYYY年MMMD日',
|
29 |
+
ll : 'YYYY年MMMD日',
|
30 |
+
lll : 'YYYY年MMMD日Ah點mm分',
|
31 |
+
llll : 'YYYY年MMMD日ddddAh點mm分'
|
32 |
+
},
|
33 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
34 |
+
meridiemHour : function (hour, meridiem) {
|
35 |
+
if (hour === 12) {
|
36 |
+
hour = 0;
|
37 |
+
}
|
38 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
39 |
+
return hour;
|
40 |
+
} else if (meridiem === '中午') {
|
41 |
+
return hour >= 11 ? hour : hour + 12;
|
42 |
+
} else if (meridiem === '下午' || meridiem === '晚上') {
|
43 |
+
return hour + 12;
|
44 |
+
}
|
45 |
+
},
|
46 |
+
meridiem : function (hour, minute, isLower) {
|
47 |
+
var hm = hour * 100 + minute;
|
48 |
+
if (hm < 600) {
|
49 |
+
return '凌晨';
|
50 |
+
} else if (hm < 900) {
|
51 |
+
return '早上';
|
52 |
+
} else if (hm < 1130) {
|
53 |
+
return '上午';
|
54 |
+
} else if (hm < 1230) {
|
55 |
+
return '中午';
|
56 |
+
} else if (hm < 1800) {
|
57 |
+
return '下午';
|
58 |
+
} else {
|
59 |
+
return '晚上';
|
60 |
+
}
|
61 |
+
},
|
62 |
+
calendar : {
|
63 |
+
sameDay : '[今天]LT',
|
64 |
+
nextDay : '[明天]LT',
|
65 |
+
nextWeek : '[下]ddddLT',
|
66 |
+
lastDay : '[昨天]LT',
|
67 |
+
lastWeek : '[上]ddddLT',
|
68 |
+
sameElse : 'L'
|
69 |
+
},
|
70 |
+
ordinalParse: /\d{1,2}(日|月|週)/,
|
71 |
+
ordinal : function (number, period) {
|
72 |
+
switch (period) {
|
73 |
+
case 'd' :
|
74 |
+
case 'D' :
|
75 |
+
case 'DDD' :
|
76 |
+
return number + '日';
|
77 |
+
case 'M' :
|
78 |
+
return number + '月';
|
79 |
+
case 'w' :
|
80 |
+
case 'W' :
|
81 |
+
return number + '週';
|
82 |
+
default :
|
83 |
+
return number;
|
84 |
+
}
|
85 |
+
},
|
86 |
+
relativeTime : {
|
87 |
+
future : '%s內',
|
88 |
+
past : '%s前',
|
89 |
+
s : '幾秒',
|
90 |
+
m : '1 分鐘',
|
91 |
+
mm : '%d 分鐘',
|
92 |
+
h : '1 小時',
|
93 |
+
hh : '%d 小時',
|
94 |
+
d : '1 天',
|
95 |
+
dd : '%d 天',
|
96 |
+
M : '1 個月',
|
97 |
+
MM : '%d 個月',
|
98 |
+
y : '1 年',
|
99 |
+
yy : '%d 年'
|
100 |
+
}
|
101 |
+
});
|
102 |
+
|
103 |
+
return zh_hk;
|
104 |
+
|
105 |
+
}));
|
bp-core/js/vendor/moment-js/locale/zh-hk.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return b});
|
bp-core/js/vendor/moment-js/locale/zh-tw.js
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//! moment.js locale configuration
|
2 |
+
//! locale : Chinese (Taiwan) [zh-tw]
|
3 |
+
//! author : Ben : https://github.com/ben-lin
|
4 |
+
//! author : Chris Lam : https://github.com/hehachris
|
5 |
+
|
6 |
+
;(function (global, factory) {
|
7 |
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8 |
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9 |
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10 |
+
factory(global.moment)
|
11 |
+
}(this, function (moment) { 'use strict';
|
12 |
+
|
13 |
+
|
14 |
+
var zh_tw = moment.defineLocale('zh-tw', {
|
15 |
+
months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
|
16 |
+
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
17 |
+
weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
|
18 |
+
weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
|
19 |
+
weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
|
20 |
+
longDateFormat : {
|
21 |
+
LT : 'Ah點mm分',
|
22 |
+
LTS : 'Ah點m分s秒',
|
23 |
+
L : 'YYYY年MMMD日',
|
24 |
+
LL : 'YYYY年MMMD日',
|
25 |
+
LLL : 'YYYY年MMMD日Ah點mm分',
|
26 |
+
LLLL : 'YYYY年MMMD日ddddAh點mm分',
|
27 |
+
l : 'YYYY年MMMD日',
|
28 |
+
ll : 'YYYY年MMMD日',
|
29 |
+
lll : 'YYYY年MMMD日Ah點mm分',
|
30 |
+
llll : 'YYYY年MMMD日ddddAh點mm分'
|
31 |
+
},
|
32 |
+
meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
|
33 |
+
meridiemHour : function (hour, meridiem) {
|
34 |
+
if (hour === 12) {
|
35 |
+
hour = 0;
|
36 |
+
}
|
37 |
+
if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
|
38 |
+
return hour;
|
39 |
+
} else if (meridiem === '中午') {
|
40 |
+
return hour >= 11 ? hour : hour + 12;
|
41 |
+
} else if (meridiem === '下午' || meridiem === '晚上') {
|
42 |
+
return hour + 12;
|
43 |
+
}
|
44 |
+
},
|
45 |
+
meridiem : function (hour, minute, isLower) {
|
46 |
+
var hm = hour * 100 + minute;
|
47 |
+
if (hm < 600) {
|
48 |
+
return '凌晨';
|
49 |
+
} else if (hm < 900) {
|
50 |
+
return '早上';
|
51 |
+
} else if (hm < 1130) {
|
52 |
+
return '上午';
|
53 |
+
} else if (hm < 1230) {
|
54 |
+
return '中午';
|
55 |
+
} else if (hm < 1800) {
|
56 |
+
return '下午';
|
57 |
+
} else {
|
58 |
+
return '晚上';
|
59 |
+
}
|
60 |
+
},
|
61 |
+
calendar : {
|
62 |
+
sameDay : '[今天]LT',
|
63 |
+
nextDay : '[明天]LT',
|
64 |
+
nextWeek : '[下]ddddLT',
|
65 |
+
lastDay : '[昨天]LT',
|
66 |
+
lastWeek : '[上]ddddLT',
|
67 |
+
sameElse : 'L'
|
68 |
+
},
|
69 |
+
ordinalParse: /\d{1,2}(日|月|週)/,
|
70 |
+
ordinal : function (number, period) {
|
71 |
+
switch (period) {
|
72 |
+
case 'd' :
|
73 |
+
case 'D' :
|
74 |
+
case 'DDD' :
|
75 |
+
return number + '日';
|
76 |
+
case 'M' :
|
77 |
+
return number + '月';
|
78 |
+
case 'w' :
|
79 |
+
case 'W' :
|
80 |
+
return number + '週';
|
81 |
+
default :
|
82 |
+
return number;
|
83 |
+
}
|
84 |
+
},
|
85 |
+
relativeTime : {
|
86 |
+
future : '%s內',
|
87 |
+
past : '%s前',
|
88 |
+
s : '幾秒',
|
89 |
+
m : '1 分鐘',
|
90 |
+
mm : '%d 分鐘',
|
91 |
+
h : '1 小時',
|
92 |
+
hh : '%d 小時',
|
93 |
+
d : '1 天',
|
94 |
+
dd : '%d 天',
|
95 |
+
M : '1 個月',
|
96 |
+
MM : '%d 個月',
|
97 |
+
y : '1 年',
|
98 |
+
yy : '%d 年'
|
99 |
+
}
|
100 |
+
});
|
101 |
+
|
102 |
+
return zh_tw;
|
103 |
+
|
104 |
+
}));
|
bp-core/js/vendor/moment-js/locale/zh-tw.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return b});
|
bp-core/js/vendor/{moment.js → moment-js/moment.js}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
//! moment.js
|
2 |
-
//! version : 2.
|
3 |
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4 |
//! license : MIT
|
5 |
//! momentjs.com
|
@@ -26,6 +26,21 @@
|
|
26 |
return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
|
27 |
}
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
function isDate(input) {
|
30 |
return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
|
31 |
}
|
@@ -113,7 +128,7 @@
|
|
113 |
var parsedParts = some.call(flags.parsedDateParts, function (i) {
|
114 |
return i != null;
|
115 |
});
|
116 |
-
|
117 |
flags.overflow < 0 &&
|
118 |
!flags.empty &&
|
119 |
!flags.invalidMonth &&
|
@@ -124,11 +139,18 @@
|
|
124 |
(!flags.meridiem || (flags.meridiem && parsedParts));
|
125 |
|
126 |
if (m._strict) {
|
127 |
-
|
128 |
flags.charsLeftOver === 0 &&
|
129 |
flags.unusedTokens.length === 0 &&
|
130 |
flags.bigHour === undefined;
|
131 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
}
|
133 |
return m._isValid;
|
134 |
}
|
@@ -221,7 +243,8 @@
|
|
221 |
|
222 |
function absFloor (number) {
|
223 |
if (number < 0) {
|
224 |
-
|
|
|
225 |
} else {
|
226 |
return Math.floor(number);
|
227 |
}
|
@@ -268,7 +291,22 @@
|
|
268 |
utils_hooks__hooks.deprecationHandler(null, msg);
|
269 |
}
|
270 |
if (firstTime) {
|
271 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
firstTime = false;
|
273 |
}
|
274 |
return fn.apply(this, arguments);
|
@@ -294,10 +332,6 @@
|
|
294 |
return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
|
295 |
}
|
296 |
|
297 |
-
function isObject(input) {
|
298 |
-
return Object.prototype.toString.call(input) === '[object Object]';
|
299 |
-
}
|
300 |
-
|
301 |
function locale_set__set (config) {
|
302 |
var prop, i;
|
303 |
for (i in config) {
|
@@ -329,6 +363,14 @@
|
|
329 |
}
|
330 |
}
|
331 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
return res;
|
333 |
}
|
334 |
|
@@ -354,161 +396,83 @@
|
|
354 |
};
|
355 |
}
|
356 |
|
357 |
-
|
358 |
-
|
359 |
-
|
|
|
|
|
|
|
|
|
|
|
360 |
|
361 |
-
function
|
362 |
-
|
|
|
363 |
}
|
364 |
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
|
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
next = normalizeLocale(names[i + 1]);
|
375 |
-
next = next ? next.split('-') : null;
|
376 |
-
while (j > 0) {
|
377 |
-
locale = loadLocale(split.slice(0, j).join('-'));
|
378 |
-
if (locale) {
|
379 |
-
return locale;
|
380 |
-
}
|
381 |
-
if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {
|
382 |
-
//the next array item is better than a shallower substring of this one
|
383 |
-
break;
|
384 |
-
}
|
385 |
-
j--;
|
386 |
-
}
|
387 |
-
i++;
|
388 |
-
}
|
389 |
-
return null;
|
390 |
-
}
|
391 |
|
392 |
-
|
393 |
-
|
394 |
-
// TODO: Find a better way to register and load all the locales in Node
|
395 |
-
if (!locales[name] && (typeof module !== 'undefined') &&
|
396 |
-
module && module.exports) {
|
397 |
-
try {
|
398 |
-
oldLocale = globalLocale._abbr;
|
399 |
-
require('./locale/' + name);
|
400 |
-
// because defineLocale currently also sets the global locale, we
|
401 |
-
// want to undo that for lazy loaded locales
|
402 |
-
locale_locales__getSetGlobalLocale(oldLocale);
|
403 |
-
} catch (e) { }
|
404 |
}
|
405 |
-
return locales[name];
|
406 |
-
}
|
407 |
-
|
408 |
-
// This function will load locale and then set the global locale. If
|
409 |
-
// no arguments are passed in, it will simply return the current global
|
410 |
-
// locale key.
|
411 |
-
function locale_locales__getSetGlobalLocale (key, values) {
|
412 |
-
var data;
|
413 |
-
if (key) {
|
414 |
-
if (isUndefined(values)) {
|
415 |
-
data = locale_locales__getLocale(key);
|
416 |
-
}
|
417 |
-
else {
|
418 |
-
data = defineLocale(key, values);
|
419 |
-
}
|
420 |
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
}
|
425 |
-
}
|
426 |
|
427 |
-
return
|
428 |
}
|
429 |
|
430 |
-
|
431 |
-
if (config !== null) {
|
432 |
-
config.abbr = name;
|
433 |
-
if (locales[name] != null) {
|
434 |
-
deprecateSimple('defineLocaleOverride',
|
435 |
-
'use moment.updateLocale(localeName, config) to change ' +
|
436 |
-
'an existing locale. moment.defineLocale(localeName, ' +
|
437 |
-
'config) should only be used for creating a new locale');
|
438 |
-
config = mergeConfigs(locales[name]._config, config);
|
439 |
-
} else if (config.parentLocale != null) {
|
440 |
-
if (locales[config.parentLocale] != null) {
|
441 |
-
config = mergeConfigs(locales[config.parentLocale]._config, config);
|
442 |
-
} else {
|
443 |
-
// treat as if there is no base config
|
444 |
-
deprecateSimple('parentLocaleUndefined',
|
445 |
-
'specified parentLocale is not defined yet');
|
446 |
-
}
|
447 |
-
}
|
448 |
-
locales[name] = new Locale(config);
|
449 |
-
|
450 |
-
// backwards compat for now: also set the locale
|
451 |
-
locale_locales__getSetGlobalLocale(name);
|
452 |
|
453 |
-
|
454 |
-
|
455 |
-
// useful for testing
|
456 |
-
delete locales[name];
|
457 |
-
return null;
|
458 |
-
}
|
459 |
}
|
460 |
|
461 |
-
|
462 |
-
|
463 |
-
var locale;
|
464 |
-
if (locales[name] != null) {
|
465 |
-
config = mergeConfigs(locales[name]._config, config);
|
466 |
-
}
|
467 |
-
locale = new Locale(config);
|
468 |
-
locale.parentLocale = locales[name];
|
469 |
-
locales[name] = locale;
|
470 |
|
471 |
-
|
472 |
-
|
473 |
-
} else {
|
474 |
-
// pass null for config to unupdate, useful for tests
|
475 |
-
if (locales[name] != null) {
|
476 |
-
if (locales[name].parentLocale != null) {
|
477 |
-
locales[name] = locales[name].parentLocale;
|
478 |
-
} else if (locales[name] != null) {
|
479 |
-
delete locales[name];
|
480 |
-
}
|
481 |
-
}
|
482 |
-
}
|
483 |
-
return locales[name];
|
484 |
}
|
485 |
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
if (locale) {
|
502 |
-
return locale;
|
503 |
-
}
|
504 |
-
key = [key];
|
505 |
-
}
|
506 |
|
507 |
-
|
|
|
|
|
|
|
|
|
508 |
}
|
509 |
|
510 |
-
function
|
511 |
-
|
|
|
512 |
}
|
513 |
|
514 |
var aliases = {};
|
@@ -539,6 +503,23 @@
|
|
539 |
return normalizedInput;
|
540 |
}
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
function makeGetSet (unit, keepTime) {
|
543 |
return function (value) {
|
544 |
if (value != null) {
|
@@ -564,11 +545,21 @@
|
|
564 |
|
565 |
// MOMENTS
|
566 |
|
567 |
-
function
|
568 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
569 |
if (typeof units === 'object') {
|
570 |
-
|
571 |
-
|
|
|
|
|
572 |
}
|
573 |
} else {
|
574 |
units = normalizeUnits(units);
|
@@ -808,6 +799,10 @@
|
|
808 |
|
809 |
addUnitAlias('month', 'M');
|
810 |
|
|
|
|
|
|
|
|
|
811 |
// PARSING
|
812 |
|
813 |
addRegexToken('M', match1to2);
|
@@ -838,12 +833,18 @@
|
|
838 |
var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;
|
839 |
var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
|
840 |
function localeMonths (m, format) {
|
|
|
|
|
|
|
841 |
return isArray(this._months) ? this._months[m.month()] :
|
842 |
-
this._months[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
|
843 |
}
|
844 |
|
845 |
var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
|
846 |
function localeMonthsShort (m, format) {
|
|
|
|
|
|
|
847 |
return isArray(this._monthsShort) ? this._monthsShort[m.month()] :
|
848 |
this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
|
849 |
}
|
@@ -980,6 +981,9 @@
|
|
980 |
return this._monthsShortRegex;
|
981 |
}
|
982 |
} else {
|
|
|
|
|
|
|
983 |
return this._monthsShortStrictRegex && isStrict ?
|
984 |
this._monthsShortStrictRegex : this._monthsShortRegex;
|
985 |
}
|
@@ -997,6 +1001,9 @@
|
|
997 |
return this._monthsRegex;
|
998 |
}
|
999 |
} else {
|
|
|
|
|
|
|
1000 |
return this._monthsStrictRegex && isStrict ?
|
1001 |
this._monthsStrictRegex : this._monthsRegex;
|
1002 |
}
|
@@ -1025,6 +1032,8 @@
|
|
1025 |
for (i = 0; i < 12; i++) {
|
1026 |
shortPieces[i] = regexEscape(shortPieces[i]);
|
1027 |
longPieces[i] = regexEscape(longPieces[i]);
|
|
|
|
|
1028 |
mixedPieces[i] = regexEscape(mixedPieces[i]);
|
1029 |
}
|
1030 |
|
@@ -1034,184 +1043,16 @@
|
|
1034 |
this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
|
1035 |
}
|
1036 |
|
1037 |
-
|
1038 |
-
var overflow;
|
1039 |
-
var a = m._a;
|
1040 |
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :
|
1046 |
-
a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE :
|
1047 |
-
a[SECOND] < 0 || a[SECOND] > 59 ? SECOND :
|
1048 |
-
a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND :
|
1049 |
-
-1;
|
1050 |
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
|
1055 |
-
overflow = WEEK;
|
1056 |
-
}
|
1057 |
-
if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
|
1058 |
-
overflow = WEEKDAY;
|
1059 |
-
}
|
1060 |
-
|
1061 |
-
getParsingFlags(m).overflow = overflow;
|
1062 |
-
}
|
1063 |
-
|
1064 |
-
return m;
|
1065 |
-
}
|
1066 |
-
|
1067 |
-
// iso 8601 regex
|
1068 |
-
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
1069 |
-
var extendedIsoRegex = /^\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)?)?/;
|
1070 |
-
var basicIsoRegex = /^\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)?)?/;
|
1071 |
-
|
1072 |
-
var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/;
|
1073 |
-
|
1074 |
-
var isoDates = [
|
1075 |
-
['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
|
1076 |
-
['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
|
1077 |
-
['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
|
1078 |
-
['GGGG-[W]WW', /\d{4}-W\d\d/, false],
|
1079 |
-
['YYYY-DDD', /\d{4}-\d{3}/],
|
1080 |
-
['YYYY-MM', /\d{4}-\d\d/, false],
|
1081 |
-
['YYYYYYMMDD', /[+-]\d{10}/],
|
1082 |
-
['YYYYMMDD', /\d{8}/],
|
1083 |
-
// YYYYMM is NOT allowed by the standard
|
1084 |
-
['GGGG[W]WWE', /\d{4}W\d{3}/],
|
1085 |
-
['GGGG[W]WW', /\d{4}W\d{2}/, false],
|
1086 |
-
['YYYYDDD', /\d{7}/]
|
1087 |
-
];
|
1088 |
-
|
1089 |
-
// iso time formats and regexes
|
1090 |
-
var isoTimes = [
|
1091 |
-
['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
|
1092 |
-
['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
|
1093 |
-
['HH:mm:ss', /\d\d:\d\d:\d\d/],
|
1094 |
-
['HH:mm', /\d\d:\d\d/],
|
1095 |
-
['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
|
1096 |
-
['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
|
1097 |
-
['HHmmss', /\d\d\d\d\d\d/],
|
1098 |
-
['HHmm', /\d\d\d\d/],
|
1099 |
-
['HH', /\d\d/]
|
1100 |
-
];
|
1101 |
-
|
1102 |
-
var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i;
|
1103 |
-
|
1104 |
-
// date from iso format
|
1105 |
-
function configFromISO(config) {
|
1106 |
-
var i, l,
|
1107 |
-
string = config._i,
|
1108 |
-
match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
|
1109 |
-
allowTime, dateFormat, timeFormat, tzFormat;
|
1110 |
-
|
1111 |
-
if (match) {
|
1112 |
-
getParsingFlags(config).iso = true;
|
1113 |
-
|
1114 |
-
for (i = 0, l = isoDates.length; i < l; i++) {
|
1115 |
-
if (isoDates[i][1].exec(match[1])) {
|
1116 |
-
dateFormat = isoDates[i][0];
|
1117 |
-
allowTime = isoDates[i][2] !== false;
|
1118 |
-
break;
|
1119 |
-
}
|
1120 |
-
}
|
1121 |
-
if (dateFormat == null) {
|
1122 |
-
config._isValid = false;
|
1123 |
-
return;
|
1124 |
-
}
|
1125 |
-
if (match[3]) {
|
1126 |
-
for (i = 0, l = isoTimes.length; i < l; i++) {
|
1127 |
-
if (isoTimes[i][1].exec(match[3])) {
|
1128 |
-
// match[2] should be 'T' or space
|
1129 |
-
timeFormat = (match[2] || ' ') + isoTimes[i][0];
|
1130 |
-
break;
|
1131 |
-
}
|
1132 |
-
}
|
1133 |
-
if (timeFormat == null) {
|
1134 |
-
config._isValid = false;
|
1135 |
-
return;
|
1136 |
-
}
|
1137 |
-
}
|
1138 |
-
if (!allowTime && timeFormat != null) {
|
1139 |
-
config._isValid = false;
|
1140 |
-
return;
|
1141 |
-
}
|
1142 |
-
if (match[4]) {
|
1143 |
-
if (tzRegex.exec(match[4])) {
|
1144 |
-
tzFormat = 'Z';
|
1145 |
-
} else {
|
1146 |
-
config._isValid = false;
|
1147 |
-
return;
|
1148 |
-
}
|
1149 |
-
}
|
1150 |
-
config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
|
1151 |
-
configFromStringAndFormat(config);
|
1152 |
-
} else {
|
1153 |
-
config._isValid = false;
|
1154 |
-
}
|
1155 |
-
}
|
1156 |
-
|
1157 |
-
// date from iso format or fallback
|
1158 |
-
function configFromString(config) {
|
1159 |
-
var matched = aspNetJsonRegex.exec(config._i);
|
1160 |
-
|
1161 |
-
if (matched !== null) {
|
1162 |
-
config._d = new Date(+matched[1]);
|
1163 |
-
return;
|
1164 |
-
}
|
1165 |
-
|
1166 |
-
configFromISO(config);
|
1167 |
-
if (config._isValid === false) {
|
1168 |
-
delete config._isValid;
|
1169 |
-
utils_hooks__hooks.createFromInputFallback(config);
|
1170 |
-
}
|
1171 |
-
}
|
1172 |
-
|
1173 |
-
utils_hooks__hooks.createFromInputFallback = deprecate(
|
1174 |
-
'moment construction falls back to js Date. This is ' +
|
1175 |
-
'discouraged and will be removed in upcoming major ' +
|
1176 |
-
'release. Please refer to ' +
|
1177 |
-
'https://github.com/moment/moment/issues/1407 for more info.',
|
1178 |
-
function (config) {
|
1179 |
-
config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
|
1180 |
-
}
|
1181 |
-
);
|
1182 |
-
|
1183 |
-
function createDate (y, m, d, h, M, s, ms) {
|
1184 |
-
//can't just apply() to create a date:
|
1185 |
-
//http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply
|
1186 |
-
var date = new Date(y, m, d, h, M, s, ms);
|
1187 |
-
|
1188 |
-
//the date constructor remaps years 0-99 to 1900-1999
|
1189 |
-
if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {
|
1190 |
-
date.setFullYear(y);
|
1191 |
-
}
|
1192 |
-
return date;
|
1193 |
-
}
|
1194 |
-
|
1195 |
-
function createUTCDate (y) {
|
1196 |
-
var date = new Date(Date.UTC.apply(null, arguments));
|
1197 |
-
|
1198 |
-
//the Date.UTC function remaps years 0-99 to 1900-1999
|
1199 |
-
if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) {
|
1200 |
-
date.setUTCFullYear(y);
|
1201 |
-
}
|
1202 |
-
return date;
|
1203 |
-
}
|
1204 |
-
|
1205 |
-
// FORMATTING
|
1206 |
-
|
1207 |
-
addFormatToken('Y', 0, 0, function () {
|
1208 |
-
var y = this.year();
|
1209 |
-
return y <= 9999 ? '' + y : '+' + y;
|
1210 |
-
});
|
1211 |
-
|
1212 |
-
addFormatToken(0, ['YY', 2], 0, function () {
|
1213 |
-
return this.year() % 100;
|
1214 |
-
});
|
1215 |
|
1216 |
addFormatToken(0, ['YYYY', 4], 0, 'year');
|
1217 |
addFormatToken(0, ['YYYYY', 5], 0, 'year');
|
@@ -1221,6 +1062,10 @@
|
|
1221 |
|
1222 |
addUnitAlias('year', 'y');
|
1223 |
|
|
|
|
|
|
|
|
|
1224 |
// PARSING
|
1225 |
|
1226 |
addRegexToken('Y', matchSigned);
|
@@ -1264,6 +1109,28 @@
|
|
1264 |
return isLeapYear(this.year());
|
1265 |
}
|
1266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1267 |
// start-of-first-week - start-of-year
|
1268 |
function firstWeekOffset(year, dow, doy) {
|
1269 |
var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
|
@@ -1326,1864 +1193,2262 @@
|
|
1326 |
return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
|
1327 |
}
|
1328 |
|
1329 |
-
//
|
1330 |
-
function defaults(a, b, c) {
|
1331 |
-
if (a != null) {
|
1332 |
-
return a;
|
1333 |
-
}
|
1334 |
-
if (b != null) {
|
1335 |
-
return b;
|
1336 |
-
}
|
1337 |
-
return c;
|
1338 |
-
}
|
1339 |
|
1340 |
-
|
1341 |
-
|
1342 |
-
var nowValue = new Date(utils_hooks__hooks.now());
|
1343 |
-
if (config._useUTC) {
|
1344 |
-
return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];
|
1345 |
-
}
|
1346 |
-
return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
|
1347 |
-
}
|
1348 |
|
1349 |
-
//
|
1350 |
-
// the array should mirror the parameters below
|
1351 |
-
// note: all values past the year are optional and will default to the lowest possible value.
|
1352 |
-
// [year, month, day , hour, minute, second, millisecond]
|
1353 |
-
function configFromArray (config) {
|
1354 |
-
var i, date, input = [], currentDate, yearToUse;
|
1355 |
|
1356 |
-
|
1357 |
-
|
1358 |
-
}
|
1359 |
|
1360 |
-
|
1361 |
|
1362 |
-
|
1363 |
-
|
1364 |
-
dayOfYearFromWeekInfo(config);
|
1365 |
-
}
|
1366 |
|
1367 |
-
|
1368 |
-
if (config._dayOfYear) {
|
1369 |
-
yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
|
1370 |
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
|
|
1374 |
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
}
|
1379 |
|
1380 |
-
|
1381 |
-
// * if no year, month, day of month are given, default to today
|
1382 |
-
// * if day of month is given, default month and year
|
1383 |
-
// * if month is given, default only year
|
1384 |
-
// * if year is given, don't default anything
|
1385 |
-
for (i = 0; i < 3 && config._a[i] == null; ++i) {
|
1386 |
-
config._a[i] = input[i] = currentDate[i];
|
1387 |
-
}
|
1388 |
|
1389 |
-
|
1390 |
-
for (; i < 7; i++) {
|
1391 |
-
config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
|
1392 |
-
}
|
1393 |
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
config._a[SECOND] === 0 &&
|
1398 |
-
config._a[MILLISECOND] === 0) {
|
1399 |
-
config._nextDay = true;
|
1400 |
-
config._a[HOUR] = 0;
|
1401 |
-
}
|
1402 |
|
1403 |
-
|
1404 |
-
|
1405 |
-
//
|
1406 |
-
|
1407 |
-
config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
|
1408 |
-
}
|
1409 |
|
1410 |
-
|
1411 |
-
|
1412 |
-
}
|
1413 |
}
|
1414 |
|
1415 |
-
function
|
1416 |
-
|
1417 |
-
|
1418 |
-
w = config._w;
|
1419 |
-
if (w.GG != null || w.W != null || w.E != null) {
|
1420 |
-
dow = 1;
|
1421 |
-
doy = 4;
|
1422 |
-
|
1423 |
-
// TODO: We need to take the current isoWeekYear, but that depends on
|
1424 |
-
// how we interpret now (local, utc, fixed offset). So create
|
1425 |
-
// a now version of current config (take local/utc/offset flags, and
|
1426 |
-
// create now).
|
1427 |
-
weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(local__createLocal(), 1, 4).year);
|
1428 |
-
week = defaults(w.W, 1);
|
1429 |
-
weekday = defaults(w.E, 1);
|
1430 |
-
if (weekday < 1 || weekday > 7) {
|
1431 |
-
weekdayOverflow = true;
|
1432 |
-
}
|
1433 |
-
} else {
|
1434 |
-
dow = config._locale._week.dow;
|
1435 |
-
doy = config._locale._week.doy;
|
1436 |
|
1437 |
-
|
1438 |
-
week = defaults(w.w, 1);
|
1439 |
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
if (weekday < 0 || weekday > 6) {
|
1444 |
-
weekdayOverflow = true;
|
1445 |
-
}
|
1446 |
-
} else if (w.e != null) {
|
1447 |
-
// local weekday -- counting starts from begining of week
|
1448 |
-
weekday = w.e + dow;
|
1449 |
-
if (w.e < 0 || w.e > 6) {
|
1450 |
-
weekdayOverflow = true;
|
1451 |
-
}
|
1452 |
-
} else {
|
1453 |
-
// default to begining of week
|
1454 |
-
weekday = dow;
|
1455 |
-
}
|
1456 |
-
}
|
1457 |
-
if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
|
1458 |
-
getParsingFlags(config)._overflowWeeks = true;
|
1459 |
-
} else if (weekdayOverflow != null) {
|
1460 |
-
getParsingFlags(config)._overflowWeekday = true;
|
1461 |
-
} else {
|
1462 |
-
temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
|
1463 |
-
config._a[YEAR] = temp.year;
|
1464 |
-
config._dayOfYear = temp.dayOfYear;
|
1465 |
-
}
|
1466 |
}
|
1467 |
|
1468 |
-
|
1469 |
-
|
|
|
|
|
1470 |
|
1471 |
-
//
|
1472 |
-
function configFromStringAndFormat(config) {
|
1473 |
-
// TODO: Move this to another part of the creation flow to prevent circular deps
|
1474 |
-
if (config._f === utils_hooks__hooks.ISO_8601) {
|
1475 |
-
configFromISO(config);
|
1476 |
-
return;
|
1477 |
-
}
|
1478 |
|
1479 |
-
|
1480 |
-
getParsingFlags(config).empty = true;
|
1481 |
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
stringLength = string.length,
|
1486 |
-
totalParsedInputLength = 0;
|
1487 |
|
1488 |
-
|
|
|
|
|
1489 |
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
// console.log('token', token, 'parsedInput', parsedInput,
|
1494 |
-
// 'regex', getParseRegexForToken(token, config));
|
1495 |
-
if (parsedInput) {
|
1496 |
-
skipped = string.substr(0, string.indexOf(parsedInput));
|
1497 |
-
if (skipped.length > 0) {
|
1498 |
-
getParsingFlags(config).unusedInput.push(skipped);
|
1499 |
-
}
|
1500 |
-
string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
|
1501 |
-
totalParsedInputLength += parsedInput.length;
|
1502 |
-
}
|
1503 |
-
// don't parse if it's not a known token
|
1504 |
-
if (formatTokenFunctions[token]) {
|
1505 |
-
if (parsedInput) {
|
1506 |
-
getParsingFlags(config).empty = false;
|
1507 |
-
}
|
1508 |
-
else {
|
1509 |
-
getParsingFlags(config).unusedTokens.push(token);
|
1510 |
-
}
|
1511 |
-
addTimeToArrayFromToken(token, parsedInput, config);
|
1512 |
-
}
|
1513 |
-
else if (config._strict && !parsedInput) {
|
1514 |
-
getParsingFlags(config).unusedTokens.push(token);
|
1515 |
-
}
|
1516 |
-
}
|
1517 |
|
1518 |
-
|
1519 |
-
|
1520 |
-
if (string.length > 0) {
|
1521 |
-
getParsingFlags(config).unusedInput.push(string);
|
1522 |
-
}
|
1523 |
|
1524 |
-
|
1525 |
-
if (getParsingFlags(config).bigHour === true &&
|
1526 |
-
config._a[HOUR] <= 12 &&
|
1527 |
-
config._a[HOUR] > 0) {
|
1528 |
-
getParsingFlags(config).bigHour = undefined;
|
1529 |
-
}
|
1530 |
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
|
1535 |
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
|
|
1539 |
|
|
|
1540 |
|
1541 |
-
|
1542 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1543 |
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
return locale.meridiemHour(hour, meridiem);
|
1550 |
-
} else if (locale.isPM != null) {
|
1551 |
-
// Fallback
|
1552 |
-
isPm = locale.isPM(meridiem);
|
1553 |
-
if (isPm && hour < 12) {
|
1554 |
-
hour += 12;
|
1555 |
-
}
|
1556 |
-
if (!isPm && hour === 12) {
|
1557 |
-
hour = 0;
|
1558 |
-
}
|
1559 |
-
return hour;
|
1560 |
} else {
|
1561 |
-
|
1562 |
-
return hour;
|
1563 |
}
|
1564 |
-
}
|
1565 |
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
bestMoment,
|
1570 |
|
1571 |
-
|
1572 |
-
i,
|
1573 |
-
currentScore;
|
1574 |
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
return;
|
1579 |
}
|
1580 |
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
if (config._useUTC != null) {
|
1585 |
-
tempConfig._useUTC = config._useUTC;
|
1586 |
-
}
|
1587 |
-
tempConfig._f = config._f[i];
|
1588 |
-
configFromStringAndFormat(tempConfig);
|
1589 |
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
|
|
1593 |
|
1594 |
-
|
1595 |
-
|
1596 |
|
1597 |
-
|
1598 |
-
|
|
|
|
|
|
|
|
|
1599 |
|
1600 |
-
|
1601 |
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
}
|
1607 |
-
|
1608 |
-
|
1609 |
}
|
1610 |
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
});
|
1620 |
-
|
1621 |
-
configFromArray(config);
|
1622 |
}
|
1623 |
|
1624 |
-
function
|
1625 |
-
var
|
1626 |
-
if (
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1630 |
}
|
1631 |
|
1632 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1633 |
}
|
1634 |
|
1635 |
-
function
|
1636 |
-
var
|
1637 |
-
format = config._f;
|
1638 |
-
|
1639 |
-
config._locale = config._locale || locale_locales__getLocale(config._l);
|
1640 |
|
1641 |
-
if (
|
1642 |
-
return
|
1643 |
}
|
1644 |
|
1645 |
-
if (
|
1646 |
-
|
|
|
|
|
|
|
1647 |
}
|
1648 |
|
1649 |
-
|
1650 |
-
|
1651 |
-
} else if (isArray(format)) {
|
1652 |
-
configFromStringAndArray(config);
|
1653 |
-
} else if (format) {
|
1654 |
-
configFromStringAndFormat(config);
|
1655 |
-
} else if (isDate(input)) {
|
1656 |
-
config._d = input;
|
1657 |
-
} else {
|
1658 |
-
configFromInput(config);
|
1659 |
-
}
|
1660 |
|
1661 |
-
|
1662 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1663 |
}
|
1664 |
-
|
1665 |
-
return config;
|
1666 |
}
|
1667 |
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
return parseInt(obj, 10);
|
1679 |
-
});
|
1680 |
-
configFromArray(config);
|
1681 |
-
} else if (typeof(input) === 'object') {
|
1682 |
-
configFromObject(config);
|
1683 |
-
} else if (typeof(input) === 'number') {
|
1684 |
-
// from milliseconds
|
1685 |
-
config._d = new Date(input);
|
1686 |
} else {
|
1687 |
-
|
1688 |
}
|
1689 |
}
|
1690 |
|
1691 |
-
function
|
1692 |
-
|
|
|
|
|
|
|
|
|
|
|
1693 |
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
}
|
1698 |
-
// object construction must be done this way.
|
1699 |
-
// https://github.com/moment/moment/issues/1423
|
1700 |
-
c._isAMomentObject = true;
|
1701 |
-
c._useUTC = c._isUTC = isUTC;
|
1702 |
-
c._l = locale;
|
1703 |
-
c._i = input;
|
1704 |
-
c._f = format;
|
1705 |
-
c._strict = strict;
|
1706 |
|
1707 |
-
|
1708 |
-
|
|
|
1709 |
|
1710 |
-
|
1711 |
-
|
|
|
|
|
|
|
|
|
1712 |
}
|
1713 |
|
1714 |
-
var
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
}
|
1723 |
-
}
|
1724 |
-
);
|
1725 |
-
|
1726 |
-
var prototypeMax = deprecate(
|
1727 |
-
'moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548',
|
1728 |
-
function () {
|
1729 |
-
var other = local__createLocal.apply(null, arguments);
|
1730 |
-
if (this.isValid() && other.isValid()) {
|
1731 |
-
return other > this ? this : other;
|
1732 |
} else {
|
1733 |
-
return
|
1734 |
}
|
1735 |
-
}
|
1736 |
-
|
1737 |
-
|
1738 |
-
// Pick a moment m from moments so that m[fn](other) is true for all
|
1739 |
-
// other. This relies on the function fn to be transitive.
|
1740 |
-
//
|
1741 |
-
// moments should either be an array of moment objects or an array, whose
|
1742 |
-
// first element is an array of moment objects.
|
1743 |
-
function pickBy(fn, moments) {
|
1744 |
-
var res, i;
|
1745 |
-
if (moments.length === 1 && isArray(moments[0])) {
|
1746 |
-
moments = moments[0];
|
1747 |
-
}
|
1748 |
-
if (!moments.length) {
|
1749 |
-
return local__createLocal();
|
1750 |
-
}
|
1751 |
-
res = moments[0];
|
1752 |
-
for (i = 1; i < moments.length; ++i) {
|
1753 |
-
if (!moments[i].isValid() || moments[i][fn](res)) {
|
1754 |
-
res = moments[i];
|
1755 |
}
|
|
|
|
|
1756 |
}
|
1757 |
-
return res;
|
1758 |
}
|
1759 |
|
1760 |
-
|
1761 |
-
function
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1765 |
}
|
1766 |
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1771 |
}
|
1772 |
|
1773 |
-
var now = function () {
|
1774 |
-
return Date.now ? Date.now() : +(new Date());
|
1775 |
-
};
|
1776 |
|
1777 |
-
function
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
months = normalizedInput.month || 0,
|
1782 |
-
weeks = normalizedInput.week || 0,
|
1783 |
-
days = normalizedInput.day || 0,
|
1784 |
-
hours = normalizedInput.hour || 0,
|
1785 |
-
minutes = normalizedInput.minute || 0,
|
1786 |
-
seconds = normalizedInput.second || 0,
|
1787 |
-
milliseconds = normalizedInput.millisecond || 0;
|
1788 |
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1804 |
|
1805 |
-
this.
|
|
|
|
|
1806 |
|
1807 |
-
this.
|
|
|
|
|
|
|
1808 |
|
1809 |
-
|
|
|
|
|
|
|
1810 |
}
|
1811 |
|
1812 |
-
function
|
1813 |
-
return
|
1814 |
}
|
1815 |
|
1816 |
-
|
|
|
|
|
1817 |
|
1818 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1819 |
addFormatToken(token, 0, 0, function () {
|
1820 |
-
|
1821 |
-
var sign = '+';
|
1822 |
-
if (offset < 0) {
|
1823 |
-
offset = -offset;
|
1824 |
-
sign = '-';
|
1825 |
-
}
|
1826 |
-
return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2);
|
1827 |
});
|
1828 |
}
|
1829 |
|
1830 |
-
|
1831 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1832 |
|
1833 |
// PARSING
|
1834 |
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
config._useUTC = true;
|
1839 |
-
config._tzm = offsetFromString(matchShortOffset, input);
|
1840 |
-
});
|
1841 |
|
1842 |
-
|
|
|
|
|
|
|
|
|
|
|
1843 |
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1854 |
|
1855 |
-
|
|
|
|
|
|
|
|
|
|
|
1856 |
}
|
1857 |
|
1858 |
-
|
1859 |
-
function
|
1860 |
-
|
1861 |
-
|
1862 |
-
res = model.clone();
|
1863 |
-
diff = (isMoment(input) || isDate(input) ? input.valueOf() : local__createLocal(input).valueOf()) - res.valueOf();
|
1864 |
-
// Use low-level api, because this fn is low-level api.
|
1865 |
-
res._d.setTime(res._d.valueOf() + diff);
|
1866 |
-
utils_hooks__hooks.updateOffset(res, false);
|
1867 |
-
return res;
|
1868 |
} else {
|
1869 |
-
return
|
1870 |
}
|
1871 |
}
|
1872 |
|
1873 |
-
function getDateOffset (m) {
|
1874 |
-
// On Firefox.24 Date#getTimezoneOffset returns a floating point.
|
1875 |
-
// https://github.com/moment/moment/pull/1871
|
1876 |
-
return -Math.round(m._d.getTimezoneOffset() / 15) * 15;
|
1877 |
-
}
|
1878 |
|
1879 |
-
//
|
1880 |
|
1881 |
-
//
|
1882 |
-
//
|
1883 |
-
|
|
|
|
|
1884 |
|
1885 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1886 |
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1908 |
}
|
1909 |
-
|
1910 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1911 |
}
|
1912 |
-
|
1913 |
-
|
1914 |
-
if (localAdjust != null) {
|
1915 |
-
this.add(localAdjust, 'm');
|
1916 |
}
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
this._changeInProgress = true;
|
1922 |
-
utils_hooks__hooks.updateOffset(this, true);
|
1923 |
-
this._changeInProgress = null;
|
1924 |
-
}
|
1925 |
}
|
1926 |
-
return this;
|
1927 |
-
} else {
|
1928 |
-
return this._isUTC ? offset : getDateOffset(this);
|
1929 |
}
|
|
|
|
|
1930 |
}
|
1931 |
|
1932 |
-
function
|
1933 |
-
if (
|
1934 |
-
|
1935 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1936 |
}
|
|
|
1937 |
|
1938 |
-
|
|
|
1939 |
|
1940 |
-
return
|
1941 |
} else {
|
1942 |
-
|
|
|
|
|
1943 |
}
|
1944 |
}
|
1945 |
|
1946 |
-
function
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
|
|
|
|
|
|
1954 |
|
1955 |
-
|
1956 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1957 |
}
|
1958 |
}
|
1959 |
-
return
|
1960 |
}
|
1961 |
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
|
|
1967 |
}
|
1968 |
-
return this;
|
1969 |
-
}
|
1970 |
|
1971 |
-
|
1972 |
-
|
1973 |
-
return false;
|
1974 |
}
|
1975 |
-
input = input ? local__createLocal(input).utcOffset() : 0;
|
1976 |
|
1977 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1978 |
}
|
1979 |
|
1980 |
-
function
|
1981 |
-
return (
|
1982 |
-
this.utcOffset() > this.clone().month(0).utcOffset() ||
|
1983 |
-
this.utcOffset() > this.clone().month(5).utcOffset()
|
1984 |
-
);
|
1985 |
}
|
1986 |
|
1987 |
-
function
|
1988 |
-
|
1989 |
-
|
1990 |
-
}
|
1991 |
|
1992 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1993 |
|
1994 |
-
|
1995 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1996 |
|
1997 |
-
|
1998 |
-
var other = c._isUTC ? create_utc__createUTC(c._a) : local__createLocal(c._a);
|
1999 |
-
this._isDSTShifted = this.isValid() &&
|
2000 |
-
compareArrays(c._a, other.toArray()) > 0;
|
2001 |
-
} else {
|
2002 |
-
this._isDSTShifted = false;
|
2003 |
}
|
2004 |
|
2005 |
-
return
|
2006 |
-
}
|
2007 |
-
|
2008 |
-
function isLocal () {
|
2009 |
-
return this.isValid() ? !this._isUTC : false;
|
2010 |
}
|
2011 |
|
2012 |
-
|
2013 |
-
|
2014 |
-
}
|
|
|
2015 |
|
2016 |
-
|
2017 |
-
return this.isValid() ? this._isUTC && this._offset === 0 : false;
|
2018 |
-
}
|
2019 |
|
2020 |
-
|
2021 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022 |
|
2023 |
-
//
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
|
2036 |
-
|
2037 |
-
duration = {
|
2038 |
-
ms : input._milliseconds,
|
2039 |
-
d : input._days,
|
2040 |
-
M : input._months
|
2041 |
-
};
|
2042 |
-
} else if (typeof input === 'number') {
|
2043 |
-
duration = {};
|
2044 |
-
if (key) {
|
2045 |
-
duration[key] = input;
|
2046 |
-
} else {
|
2047 |
-
duration.milliseconds = input;
|
2048 |
-
}
|
2049 |
-
} else if (!!(match = aspNetRegex.exec(input))) {
|
2050 |
-
sign = (match[1] === '-') ? -1 : 1;
|
2051 |
-
duration = {
|
2052 |
-
y : 0,
|
2053 |
-
d : toInt(match[DATE]) * sign,
|
2054 |
-
h : toInt(match[HOUR]) * sign,
|
2055 |
-
m : toInt(match[MINUTE]) * sign,
|
2056 |
-
s : toInt(match[SECOND]) * sign,
|
2057 |
-
ms : toInt(match[MILLISECOND]) * sign
|
2058 |
-
};
|
2059 |
-
} else if (!!(match = isoRegex.exec(input))) {
|
2060 |
-
sign = (match[1] === '-') ? -1 : 1;
|
2061 |
-
duration = {
|
2062 |
-
y : parseIso(match[2], sign),
|
2063 |
-
M : parseIso(match[3], sign),
|
2064 |
-
w : parseIso(match[4], sign),
|
2065 |
-
d : parseIso(match[5], sign),
|
2066 |
-
h : parseIso(match[6], sign),
|
2067 |
-
m : parseIso(match[7], sign),
|
2068 |
-
s : parseIso(match[8], sign)
|
2069 |
-
};
|
2070 |
-
} else if (duration == null) {// checks for null or undefined
|
2071 |
-
duration = {};
|
2072 |
-
} else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {
|
2073 |
-
diffRes = momentsDifference(local__createLocal(duration.from), local__createLocal(duration.to));
|
2074 |
|
2075 |
-
|
2076 |
-
|
2077 |
-
|
2078 |
-
|
|
|
|
|
2079 |
|
2080 |
-
|
|
|
2081 |
|
2082 |
-
|
2083 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2084 |
}
|
2085 |
-
|
2086 |
-
return ret;
|
2087 |
-
}
|
2088 |
-
|
2089 |
-
create__createDuration.fn = Duration.prototype;
|
2090 |
-
|
2091 |
-
function parseIso (inp, sign) {
|
2092 |
-
// We'd normally use ~~inp for this, but unfortunately it also
|
2093 |
-
// converts floats to ints.
|
2094 |
-
// inp may be undefined, so careful calling replace on it.
|
2095 |
-
var res = inp && parseFloat(inp.replace(',', '.'));
|
2096 |
-
// apply sign while we're at it
|
2097 |
-
return (isNaN(res) ? 0 : res) * sign;
|
2098 |
}
|
2099 |
|
2100 |
-
|
2101 |
-
|
|
|
2102 |
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
--res.months;
|
2107 |
}
|
2108 |
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
|
|
|
|
2112 |
}
|
2113 |
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
|
|
|
|
|
|
2118 |
}
|
|
|
2119 |
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
res = positiveMomentsDifference(other, base);
|
2125 |
-
res.milliseconds = -res.milliseconds;
|
2126 |
-
res.months = -res.months;
|
2127 |
}
|
2128 |
-
|
2129 |
-
|
2130 |
-
}
|
2131 |
-
|
2132 |
-
function absRound (number) {
|
2133 |
-
if (number < 0) {
|
2134 |
-
return Math.round(-1 * number) * -1;
|
2135 |
-
} else {
|
2136 |
-
return Math.round(number);
|
2137 |
}
|
|
|
2138 |
}
|
2139 |
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
tmp = val; val = period; period = tmp;
|
2148 |
-
}
|
2149 |
-
|
2150 |
-
val = typeof val === 'string' ? +val : val;
|
2151 |
-
dur = create__createDuration(val, period);
|
2152 |
-
add_subtract__addSubtract(this, dur, direction);
|
2153 |
-
return this;
|
2154 |
-
};
|
2155 |
}
|
2156 |
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
|
|
|
|
2161 |
|
2162 |
-
if (
|
2163 |
-
// No op
|
2164 |
return;
|
2165 |
}
|
2166 |
|
2167 |
-
|
2168 |
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
if (days) {
|
2173 |
-
get_set__set(mom, 'Date', get_set__get(mom, 'Date') + days * isAdding);
|
2174 |
-
}
|
2175 |
-
if (months) {
|
2176 |
-
setMonth(mom, get_set__get(mom, 'Month') + months * isAdding);
|
2177 |
-
}
|
2178 |
-
if (updateOffset) {
|
2179 |
-
utils_hooks__hooks.updateOffset(mom, days || months);
|
2180 |
}
|
2181 |
-
}
|
2182 |
|
2183 |
-
|
2184 |
-
|
|
|
2185 |
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
var now = time || local__createLocal(),
|
2190 |
-
sod = cloneWithOffset(now, this).startOf('day'),
|
2191 |
-
diff = this.diff(sod, 'days', true),
|
2192 |
-
format = diff < -6 ? 'sameElse' :
|
2193 |
-
diff < -1 ? 'lastWeek' :
|
2194 |
-
diff < 0 ? 'lastDay' :
|
2195 |
-
diff < 1 ? 'sameDay' :
|
2196 |
-
diff < 2 ? 'nextDay' :
|
2197 |
-
diff < 7 ? 'nextWeek' : 'sameElse';
|
2198 |
|
2199 |
-
|
|
|
|
|
|
|
2200 |
|
2201 |
-
|
2202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2203 |
|
2204 |
-
|
2205 |
-
|
2206 |
-
|
2207 |
-
|
2208 |
-
function isAfter (input, units) {
|
2209 |
-
var localInput = isMoment(input) ? input : local__createLocal(input);
|
2210 |
-
if (!(this.isValid() && localInput.isValid())) {
|
2211 |
-
return false;
|
2212 |
}
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
|
|
|
|
|
|
2218 |
}
|
2219 |
-
}
|
2220 |
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
|
|
2225 |
}
|
2226 |
-
|
2227 |
-
if (
|
2228 |
-
|
2229 |
-
} else {
|
2230 |
-
return this.clone().endOf(units).valueOf() < localInput.valueOf();
|
2231 |
}
|
2232 |
}
|
2233 |
|
2234 |
-
function
|
2235 |
-
|
2236 |
-
return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) &&
|
2237 |
-
(inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units));
|
2238 |
-
}
|
2239 |
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2249 |
} else {
|
2250 |
-
|
2251 |
-
|
2252 |
-
}
|
2253 |
-
}
|
2254 |
|
2255 |
-
|
2256 |
-
|
2257 |
-
}
|
2258 |
|
2259 |
-
|
2260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2261 |
}
|
2262 |
|
2263 |
-
|
2264 |
-
|
2265 |
-
zoneDelta,
|
2266 |
-
delta, output;
|
2267 |
|
2268 |
-
|
2269 |
-
|
|
|
|
|
|
|
|
|
2270 |
}
|
2271 |
|
2272 |
-
|
2273 |
-
|
2274 |
-
if (!that.isValid()) {
|
2275 |
-
return NaN;
|
2276 |
-
}
|
2277 |
|
2278 |
-
|
|
|
|
|
|
|
|
|
2279 |
|
2280 |
-
|
2281 |
|
2282 |
-
|
2283 |
-
|
2284 |
-
|
2285 |
-
|
2286 |
-
|
2287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2288 |
}
|
2289 |
-
} else {
|
2290 |
-
delta = this - that;
|
2291 |
-
output = units === 'second' ? delta / 1e3 : // 1000
|
2292 |
-
units === 'minute' ? delta / 6e4 : // 1000 * 60
|
2293 |
-
units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60
|
2294 |
-
units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst
|
2295 |
-
units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst
|
2296 |
-
delta;
|
2297 |
}
|
2298 |
-
return asFloat ? output : absFloor(output);
|
2299 |
-
}
|
2300 |
|
2301 |
-
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
2305 |
-
|
2306 |
-
anchor2, adjust;
|
2307 |
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
|
2314 |
-
// linear across the month
|
2315 |
-
adjust = (b - anchor) / (anchor2 - anchor);
|
2316 |
}
|
2317 |
|
2318 |
-
|
2319 |
-
|
|
|
|
|
|
|
|
|
|
|
2320 |
}
|
2321 |
|
2322 |
-
utils_hooks__hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
|
2323 |
-
utils_hooks__hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
|
2324 |
|
2325 |
-
function
|
2326 |
-
|
2327 |
-
}
|
2328 |
|
2329 |
-
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2337 |
}
|
|
|
2338 |
} else {
|
2339 |
-
|
|
|
2340 |
}
|
2341 |
}
|
2342 |
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
var output = formatMoment(this, inputString);
|
2348 |
-
return this.localeData().postformat(output);
|
2349 |
-
}
|
2350 |
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
|
|
2358 |
}
|
2359 |
-
}
|
2360 |
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
|
|
|
|
|
|
|
|
|
|
2364 |
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
local__createLocal(time).isValid())) {
|
2369 |
-
return create__createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
|
2370 |
-
} else {
|
2371 |
-
return this.localeData().invalidDate();
|
2372 |
-
}
|
2373 |
-
}
|
2374 |
|
2375 |
-
|
2376 |
-
|
2377 |
-
}
|
2378 |
|
2379 |
-
|
2380 |
-
|
2381 |
-
// variables for this instance.
|
2382 |
-
function locale (key) {
|
2383 |
-
var newLocaleData;
|
2384 |
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
this._locale = newLocaleData;
|
2391 |
}
|
2392 |
-
return this;
|
2393 |
}
|
|
|
|
|
2394 |
}
|
2395 |
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
if (key === undefined) {
|
2400 |
-
return this.localeData();
|
2401 |
-
} else {
|
2402 |
-
return this.locale(key);
|
2403 |
-
}
|
2404 |
}
|
2405 |
-
);
|
2406 |
|
2407 |
-
|
2408 |
-
|
|
|
|
|
|
|
|
|
2409 |
}
|
2410 |
|
2411 |
-
function
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
2417 |
-
this.month(0);
|
2418 |
-
/* falls through */
|
2419 |
-
case 'quarter':
|
2420 |
-
case 'month':
|
2421 |
-
this.date(1);
|
2422 |
-
/* falls through */
|
2423 |
-
case 'week':
|
2424 |
-
case 'isoWeek':
|
2425 |
-
case 'day':
|
2426 |
-
case 'date':
|
2427 |
-
this.hours(0);
|
2428 |
-
/* falls through */
|
2429 |
-
case 'hour':
|
2430 |
-
this.minutes(0);
|
2431 |
-
/* falls through */
|
2432 |
-
case 'minute':
|
2433 |
-
this.seconds(0);
|
2434 |
-
/* falls through */
|
2435 |
-
case 'second':
|
2436 |
-
this.milliseconds(0);
|
2437 |
}
|
2438 |
|
2439 |
-
|
2440 |
-
|
2441 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2442 |
}
|
2443 |
-
|
2444 |
-
|
|
|
2445 |
}
|
2446 |
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2450 |
}
|
2451 |
|
2452 |
-
|
|
|
|
|
|
|
|
|
2453 |
}
|
2454 |
|
2455 |
-
function
|
2456 |
-
|
2457 |
-
if (
|
2458 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2459 |
}
|
|
|
2460 |
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
|
|
|
|
|
|
2464 |
}
|
2465 |
|
2466 |
-
|
2467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2468 |
|
2469 |
-
|
2470 |
-
return this._d.valueOf() - ((this._offset || 0) * 60000);
|
2471 |
}
|
2472 |
|
2473 |
-
function
|
2474 |
-
return
|
2475 |
}
|
2476 |
|
2477 |
-
|
2478 |
-
|
2479 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2480 |
|
2481 |
-
|
2482 |
-
|
2483 |
-
|
2484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2485 |
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2497 |
}
|
2498 |
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
}
|
2503 |
|
2504 |
-
|
2505 |
-
return valid__isValid(this);
|
2506 |
}
|
2507 |
|
2508 |
-
function
|
2509 |
-
|
2510 |
-
}
|
2511 |
|
2512 |
-
|
2513 |
-
return getParsingFlags(this).overflow;
|
2514 |
-
}
|
2515 |
-
|
2516 |
-
function creationData() {
|
2517 |
-
return {
|
2518 |
-
input: this._i,
|
2519 |
-
format: this._f,
|
2520 |
-
locale: this._locale,
|
2521 |
-
isUTC: this._isUTC,
|
2522 |
-
strict: this._strict
|
2523 |
-
};
|
2524 |
-
}
|
2525 |
-
|
2526 |
-
// FORMATTING
|
2527 |
-
|
2528 |
-
addFormatToken(0, ['gg', 2], 0, function () {
|
2529 |
-
return this.weekYear() % 100;
|
2530 |
-
});
|
2531 |
-
|
2532 |
-
addFormatToken(0, ['GG', 2], 0, function () {
|
2533 |
-
return this.isoWeekYear() % 100;
|
2534 |
-
});
|
2535 |
-
|
2536 |
-
function addWeekYearFormatToken (token, getter) {
|
2537 |
-
addFormatToken(0, [token, token.length], 0, getter);
|
2538 |
}
|
2539 |
|
2540 |
-
|
2541 |
-
|
2542 |
-
|
2543 |
-
addWeekYearFormatToken('GGGGG', 'isoWeekYear');
|
2544 |
-
|
2545 |
-
// ALIASES
|
2546 |
-
|
2547 |
-
addUnitAlias('weekYear', 'gg');
|
2548 |
-
addUnitAlias('isoWeekYear', 'GG');
|
2549 |
-
|
2550 |
-
// PARSING
|
2551 |
-
|
2552 |
-
addRegexToken('G', matchSigned);
|
2553 |
-
addRegexToken('g', matchSigned);
|
2554 |
-
addRegexToken('GG', match1to2, match2);
|
2555 |
-
addRegexToken('gg', match1to2, match2);
|
2556 |
-
addRegexToken('GGGG', match1to4, match4);
|
2557 |
-
addRegexToken('gggg', match1to4, match4);
|
2558 |
-
addRegexToken('GGGGG', match1to6, match6);
|
2559 |
-
addRegexToken('ggggg', match1to6, match6);
|
2560 |
-
|
2561 |
-
addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
|
2562 |
-
week[token.substr(0, 2)] = toInt(input);
|
2563 |
-
});
|
2564 |
|
2565 |
-
|
2566 |
-
|
2567 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2568 |
|
2569 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2570 |
|
2571 |
-
|
2572 |
-
return getSetWeekYearHelper.call(this,
|
2573 |
-
input,
|
2574 |
-
this.week(),
|
2575 |
-
this.weekday(),
|
2576 |
-
this.localeData()._week.dow,
|
2577 |
-
this.localeData()._week.doy);
|
2578 |
-
}
|
2579 |
|
2580 |
-
|
2581 |
-
return getSetWeekYearHelper.call(this,
|
2582 |
-
input, this.isoWeek(), this.isoWeekday(), 1, 4);
|
2583 |
-
}
|
2584 |
|
2585 |
-
|
2586 |
-
return weeksInYear(this.year(), 1, 4);
|
2587 |
}
|
2588 |
|
2589 |
-
function
|
2590 |
-
|
2591 |
-
return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
|
2592 |
}
|
2593 |
|
2594 |
-
function
|
2595 |
-
|
2596 |
-
|
2597 |
-
return weekOfYear(this, dow, doy).year;
|
2598 |
} else {
|
2599 |
-
|
2600 |
-
if (week > weeksTarget) {
|
2601 |
-
week = weeksTarget;
|
2602 |
-
}
|
2603 |
-
return setWeekAll.call(this, input, week, weekday, dow, doy);
|
2604 |
}
|
2605 |
}
|
2606 |
|
2607 |
-
function setWeekAll(weekYear, week, weekday, dow, doy) {
|
2608 |
-
var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
|
2609 |
-
date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
|
2610 |
-
|
2611 |
-
this.year(date.getUTCFullYear());
|
2612 |
-
this.month(date.getUTCMonth());
|
2613 |
-
this.date(date.getUTCDate());
|
2614 |
-
return this;
|
2615 |
-
}
|
2616 |
-
|
2617 |
// FORMATTING
|
2618 |
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
2628 |
-
|
2629 |
-
array[MONTH] = (toInt(input) - 1) * 3;
|
2630 |
-
});
|
2631 |
-
|
2632 |
-
// MOMENTS
|
2633 |
-
|
2634 |
-
function getSetQuarter (input) {
|
2635 |
-
return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
|
2636 |
}
|
2637 |
|
2638 |
-
|
2639 |
-
|
2640 |
-
addFormatToken('w', ['ww', 2], 'wo', 'week');
|
2641 |
-
addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
|
2642 |
-
|
2643 |
-
// ALIASES
|
2644 |
-
|
2645 |
-
addUnitAlias('week', 'w');
|
2646 |
-
addUnitAlias('isoWeek', 'W');
|
2647 |
|
2648 |
// PARSING
|
2649 |
|
2650 |
-
addRegexToken('
|
2651 |
-
addRegexToken('
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
|
2656 |
-
week[token.substr(0, 1)] = toInt(input);
|
2657 |
});
|
2658 |
|
2659 |
// HELPERS
|
2660 |
|
2661 |
-
//
|
2662 |
-
|
2663 |
-
|
2664 |
-
|
2665 |
-
}
|
2666 |
-
|
2667 |
-
var defaultLocaleWeek = {
|
2668 |
-
dow : 0, // Sunday is the first day of the week.
|
2669 |
-
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
2670 |
-
};
|
2671 |
|
2672 |
-
function
|
2673 |
-
|
2674 |
-
|
|
|
|
|
2675 |
|
2676 |
-
|
2677 |
-
return this._week.doy;
|
2678 |
}
|
2679 |
|
2680 |
-
//
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2685 |
}
|
2686 |
|
2687 |
-
function
|
2688 |
-
|
2689 |
-
|
|
|
2690 |
}
|
2691 |
|
2692 |
-
//
|
2693 |
-
|
2694 |
-
addFormatToken('D', ['DD', 2], 'Do', 'date');
|
2695 |
-
|
2696 |
-
// ALIASES
|
2697 |
-
|
2698 |
-
addUnitAlias('date', 'D');
|
2699 |
-
|
2700 |
-
// PARSING
|
2701 |
-
|
2702 |
-
addRegexToken('D', match1to2);
|
2703 |
-
addRegexToken('DD', match1to2, match2);
|
2704 |
-
addRegexToken('Do', function (isStrict, locale) {
|
2705 |
-
return isStrict ? locale._ordinalParse : locale._ordinalParseLenient;
|
2706 |
-
});
|
2707 |
|
2708 |
-
|
2709 |
-
|
2710 |
-
|
2711 |
-
});
|
2712 |
|
2713 |
// MOMENTS
|
2714 |
|
2715 |
-
|
2716 |
-
|
2717 |
-
//
|
2718 |
-
|
2719 |
-
|
2720 |
-
|
2721 |
-
|
2722 |
-
|
2723 |
-
|
2724 |
-
|
2725 |
-
|
2726 |
-
|
2727 |
-
|
2728 |
-
|
2729 |
-
|
2730 |
-
|
2731 |
-
|
2732 |
-
|
2733 |
-
|
2734 |
-
|
2735 |
-
|
2736 |
-
|
2737 |
-
|
2738 |
-
|
2739 |
-
|
2740 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2741 |
|
2742 |
-
|
|
|
|
|
|
|
|
|
2743 |
|
2744 |
-
|
2745 |
-
addRegexToken('e', match1to2);
|
2746 |
-
addRegexToken('E', match1to2);
|
2747 |
-
addRegexToken('dd', function (isStrict, locale) {
|
2748 |
-
return locale.weekdaysMinRegex(isStrict);
|
2749 |
-
});
|
2750 |
-
addRegexToken('ddd', function (isStrict, locale) {
|
2751 |
-
return locale.weekdaysShortRegex(isStrict);
|
2752 |
-
});
|
2753 |
-
addRegexToken('dddd', function (isStrict, locale) {
|
2754 |
-
return locale.weekdaysRegex(isStrict);
|
2755 |
-
});
|
2756 |
|
2757 |
-
|
2758 |
-
var weekday = config._locale.weekdaysParse(input, token, config._strict);
|
2759 |
-
// if we didn't get a weekday name, mark the date as invalid
|
2760 |
-
if (weekday != null) {
|
2761 |
-
week.d = weekday;
|
2762 |
} else {
|
2763 |
-
|
2764 |
}
|
2765 |
-
}
|
2766 |
|
2767 |
-
|
2768 |
-
|
2769 |
-
}
|
2770 |
|
2771 |
-
|
|
|
|
|
|
|
2772 |
|
2773 |
-
|
2774 |
-
|
2775 |
-
|
2776 |
}
|
|
|
|
|
2777 |
|
2778 |
-
|
2779 |
-
|
2780 |
-
|
|
|
|
|
2781 |
|
2782 |
-
|
2783 |
-
|
2784 |
-
|
|
|
|
|
2785 |
}
|
2786 |
-
|
2787 |
-
return null;
|
2788 |
}
|
2789 |
|
2790 |
-
|
|
|
|
|
|
|
|
|
2791 |
|
2792 |
-
|
2793 |
-
function localeWeekdays (m, format) {
|
2794 |
-
return isArray(this._weekdays) ? this._weekdays[m.day()] :
|
2795 |
-
this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];
|
2796 |
}
|
2797 |
|
2798 |
-
|
2799 |
-
|
2800 |
-
|
|
|
|
|
2801 |
}
|
2802 |
|
2803 |
-
|
2804 |
-
|
2805 |
-
|
2806 |
-
|
2807 |
|
2808 |
-
|
2809 |
-
var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
|
2810 |
-
if (!this._weekdaysParse) {
|
2811 |
-
this._weekdaysParse = [];
|
2812 |
-
this._shortWeekdaysParse = [];
|
2813 |
-
this._minWeekdaysParse = [];
|
2814 |
|
2815 |
-
|
2816 |
-
|
2817 |
-
this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
|
2818 |
-
this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
|
2819 |
-
this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
|
2820 |
-
}
|
2821 |
-
}
|
2822 |
|
2823 |
-
if (
|
2824 |
-
|
2825 |
-
|
2826 |
-
|
2827 |
-
} else if (format === 'ddd') {
|
2828 |
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
2829 |
-
return ii !== -1 ? ii : null;
|
2830 |
-
} else {
|
2831 |
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
2832 |
-
return ii !== -1 ? ii : null;
|
2833 |
-
}
|
2834 |
} else {
|
2835 |
-
|
2836 |
-
ii = indexOf.call(this._weekdaysParse, llc);
|
2837 |
-
if (ii !== -1) {
|
2838 |
-
return ii;
|
2839 |
-
}
|
2840 |
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
2841 |
-
if (ii !== -1) {
|
2842 |
-
return ii;
|
2843 |
-
}
|
2844 |
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
2845 |
-
return ii !== -1 ? ii : null;
|
2846 |
-
} else if (format === 'ddd') {
|
2847 |
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
2848 |
-
if (ii !== -1) {
|
2849 |
-
return ii;
|
2850 |
-
}
|
2851 |
-
ii = indexOf.call(this._weekdaysParse, llc);
|
2852 |
-
if (ii !== -1) {
|
2853 |
-
return ii;
|
2854 |
-
}
|
2855 |
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
2856 |
-
return ii !== -1 ? ii : null;
|
2857 |
-
} else {
|
2858 |
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
2859 |
-
if (ii !== -1) {
|
2860 |
-
return ii;
|
2861 |
-
}
|
2862 |
-
ii = indexOf.call(this._weekdaysParse, llc);
|
2863 |
-
if (ii !== -1) {
|
2864 |
-
return ii;
|
2865 |
-
}
|
2866 |
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
2867 |
-
return ii !== -1 ? ii : null;
|
2868 |
-
}
|
2869 |
}
|
|
|
|
|
2870 |
}
|
2871 |
|
2872 |
-
function
|
2873 |
-
|
|
|
2874 |
|
2875 |
-
|
2876 |
-
|
2877 |
-
|
2878 |
|
2879 |
-
|
2880 |
-
|
2881 |
-
|
2882 |
-
this._shortWeekdaysParse = [];
|
2883 |
-
this._fullWeekdaysParse = [];
|
2884 |
-
}
|
2885 |
|
2886 |
-
|
2887 |
-
|
2888 |
|
2889 |
-
|
2890 |
-
|
2891 |
-
|
2892 |
-
|
2893 |
-
|
2894 |
-
|
2895 |
-
|
2896 |
-
|
2897 |
-
|
2898 |
-
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
|
2904 |
-
|
2905 |
-
|
2906 |
-
|
2907 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2908 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2909 |
}
|
2910 |
-
}
|
2911 |
|
2912 |
-
|
2913 |
|
2914 |
-
|
2915 |
-
|
2916 |
-
return input != null ? this : NaN;
|
2917 |
-
}
|
2918 |
-
var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
|
2919 |
-
if (input != null) {
|
2920 |
-
input = parseWeekday(input, this.localeData());
|
2921 |
-
return this.add(input - day, 'd');
|
2922 |
-
} else {
|
2923 |
-
return day;
|
2924 |
}
|
|
|
|
|
2925 |
}
|
2926 |
|
2927 |
-
|
2928 |
-
|
2929 |
-
|
2930 |
-
|
2931 |
-
|
2932 |
-
|
|
|
|
|
|
|
2933 |
}
|
2934 |
|
2935 |
-
function
|
2936 |
-
|
2937 |
-
|
|
|
|
|
|
|
|
|
2938 |
}
|
2939 |
-
|
2940 |
-
|
2941 |
-
|
2942 |
-
return
|
2943 |
}
|
2944 |
|
2945 |
-
|
2946 |
-
|
2947 |
-
if (
|
2948 |
-
|
2949 |
-
|
2950 |
-
|
2951 |
-
|
2952 |
-
|
2953 |
-
|
2954 |
-
return this._weekdaysRegex;
|
2955 |
-
}
|
2956 |
} else {
|
2957 |
-
|
2958 |
-
|
|
|
2959 |
}
|
|
|
|
|
2960 |
}
|
2961 |
|
2962 |
-
|
2963 |
-
function
|
2964 |
-
|
2965 |
-
|
2966 |
-
|
2967 |
-
|
2968 |
-
|
2969 |
-
|
2970 |
-
|
2971 |
-
return this._weekdaysShortRegex;
|
2972 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2973 |
} else {
|
2974 |
-
return
|
2975 |
-
this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
|
2976 |
}
|
2977 |
}
|
2978 |
|
2979 |
-
|
2980 |
-
|
2981 |
-
if (this.
|
2982 |
-
|
2983 |
-
|
2984 |
-
|
2985 |
-
|
2986 |
-
|
2987 |
-
} else {
|
2988 |
-
return this._weekdaysMinRegex;
|
2989 |
-
}
|
2990 |
} else {
|
2991 |
-
return this.
|
2992 |
-
this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
|
2993 |
}
|
2994 |
}
|
2995 |
|
|
|
|
|
|
|
|
|
|
|
2996 |
|
2997 |
-
function
|
2998 |
-
|
2999 |
-
|
|
|
|
|
3000 |
}
|
3001 |
-
|
3002 |
-
|
3003 |
-
|
3004 |
-
|
3005 |
-
|
3006 |
-
|
3007 |
-
minp = this.weekdaysMin(mom, '');
|
3008 |
-
shortp = this.weekdaysShort(mom, '');
|
3009 |
-
longp = this.weekdays(mom, '');
|
3010 |
-
minPieces.push(minp);
|
3011 |
-
shortPieces.push(shortp);
|
3012 |
-
longPieces.push(longp);
|
3013 |
-
mixedPieces.push(minp);
|
3014 |
-
mixedPieces.push(shortp);
|
3015 |
-
mixedPieces.push(longp);
|
3016 |
}
|
3017 |
-
|
3018 |
-
|
3019 |
-
|
3020 |
-
|
3021 |
-
|
3022 |
-
|
3023 |
-
|
3024 |
-
|
3025 |
-
|
3026 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3027 |
}
|
|
|
3028 |
|
3029 |
-
|
3030 |
-
|
3031 |
-
|
3032 |
|
3033 |
-
this.
|
3034 |
-
this.
|
3035 |
-
this.
|
|
|
3036 |
}
|
3037 |
|
3038 |
// FORMATTING
|
3039 |
|
3040 |
-
addFormatToken('
|
3041 |
|
3042 |
// ALIASES
|
3043 |
|
3044 |
-
addUnitAlias('
|
|
|
|
|
|
|
|
|
3045 |
|
3046 |
// PARSING
|
3047 |
|
3048 |
-
addRegexToken('
|
3049 |
-
|
3050 |
-
|
3051 |
-
config._dayOfYear = toInt(input);
|
3052 |
});
|
3053 |
|
3054 |
-
// HELPERS
|
3055 |
-
|
3056 |
// MOMENTS
|
3057 |
|
3058 |
-
function
|
3059 |
-
|
3060 |
-
return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');
|
3061 |
}
|
3062 |
|
3063 |
// FORMATTING
|
3064 |
|
3065 |
-
|
3066 |
-
return this.hours() % 12 || 12;
|
3067 |
-
}
|
3068 |
|
3069 |
-
|
3070 |
-
return this.hours() || 24;
|
3071 |
-
}
|
3072 |
|
3073 |
-
|
3074 |
-
addFormatToken('h', ['hh', 2], 0, hFormat);
|
3075 |
-
addFormatToken('k', ['kk', 2], 0, kFormat);
|
3076 |
|
3077 |
-
|
3078 |
-
|
3079 |
-
});
|
3080 |
|
3081 |
-
|
3082 |
-
return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) +
|
3083 |
-
zeroFill(this.seconds(), 2);
|
3084 |
-
});
|
3085 |
|
3086 |
-
|
3087 |
-
|
|
|
|
|
3088 |
});
|
3089 |
|
3090 |
-
|
3091 |
-
|
3092 |
-
|
3093 |
});
|
3094 |
|
3095 |
-
|
3096 |
-
addFormatToken(token, 0, 0, function () {
|
3097 |
-
return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);
|
3098 |
-
});
|
3099 |
-
}
|
3100 |
|
3101 |
-
|
3102 |
-
meridiem('A', false);
|
3103 |
|
3104 |
-
//
|
3105 |
|
3106 |
-
|
3107 |
|
3108 |
-
//
|
3109 |
|
3110 |
-
|
3111 |
-
return locale._meridiemParse;
|
3112 |
-
}
|
3113 |
|
3114 |
-
|
3115 |
-
|
3116 |
-
addRegexToken('H', match1to2);
|
3117 |
-
addRegexToken('h', match1to2);
|
3118 |
-
addRegexToken('HH', match1to2, match2);
|
3119 |
-
addRegexToken('hh', match1to2, match2);
|
3120 |
|
3121 |
-
|
3122 |
-
addRegexToken('hmmss', match5to6);
|
3123 |
-
addRegexToken('Hmm', match3to4);
|
3124 |
-
addRegexToken('Hmmss', match5to6);
|
3125 |
|
3126 |
-
|
3127 |
-
|
3128 |
-
|
3129 |
-
config.
|
3130 |
-
});
|
3131 |
-
addParseToken(['h', 'hh'], function (input, array, config) {
|
3132 |
-
array[HOUR] = toInt(input);
|
3133 |
-
getParsingFlags(config).bigHour = true;
|
3134 |
-
});
|
3135 |
-
addParseToken('hmm', function (input, array, config) {
|
3136 |
-
var pos = input.length - 2;
|
3137 |
-
array[HOUR] = toInt(input.substr(0, pos));
|
3138 |
-
array[MINUTE] = toInt(input.substr(pos));
|
3139 |
-
getParsingFlags(config).bigHour = true;
|
3140 |
-
});
|
3141 |
-
addParseToken('hmmss', function (input, array, config) {
|
3142 |
-
var pos1 = input.length - 4;
|
3143 |
-
var pos2 = input.length - 2;
|
3144 |
-
array[HOUR] = toInt(input.substr(0, pos1));
|
3145 |
-
array[MINUTE] = toInt(input.substr(pos1, 2));
|
3146 |
-
array[SECOND] = toInt(input.substr(pos2));
|
3147 |
-
getParsingFlags(config).bigHour = true;
|
3148 |
-
});
|
3149 |
-
addParseToken('Hmm', function (input, array, config) {
|
3150 |
-
var pos = input.length - 2;
|
3151 |
-
array[HOUR] = toInt(input.substr(0, pos));
|
3152 |
-
array[MINUTE] = toInt(input.substr(pos));
|
3153 |
-
});
|
3154 |
-
addParseToken('Hmmss', function (input, array, config) {
|
3155 |
-
var pos1 = input.length - 4;
|
3156 |
-
var pos2 = input.length - 2;
|
3157 |
-
array[HOUR] = toInt(input.substr(0, pos1));
|
3158 |
-
array[MINUTE] = toInt(input.substr(pos1, 2));
|
3159 |
-
array[SECOND] = toInt(input.substr(pos2));
|
3160 |
});
|
3161 |
|
3162 |
-
//
|
3163 |
-
|
3164 |
-
function localeIsPM (input) {
|
3165 |
-
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
3166 |
-
// Using charAt should be more compatible.
|
3167 |
-
return ((input + '').toLowerCase().charAt(0) === 'p');
|
3168 |
-
}
|
3169 |
-
|
3170 |
-
var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i;
|
3171 |
-
function localeMeridiem (hours, minutes, isLower) {
|
3172 |
-
if (hours > 11) {
|
3173 |
-
return isLower ? 'pm' : 'PM';
|
3174 |
-
} else {
|
3175 |
-
return isLower ? 'am' : 'AM';
|
3176 |
-
}
|
3177 |
-
}
|
3178 |
-
|
3179 |
|
3180 |
// MOMENTS
|
3181 |
|
3182 |
-
|
3183 |
-
|
3184 |
-
|
3185 |
-
|
3186 |
-
var getSetHour = makeGetSet('Hours', true);
|
3187 |
|
3188 |
// FORMATTING
|
3189 |
|
@@ -3193,6 +3458,10 @@
|
|
3193 |
|
3194 |
addUnitAlias('minute', 'm');
|
3195 |
|
|
|
|
|
|
|
|
|
3196 |
// PARSING
|
3197 |
|
3198 |
addRegexToken('m', match1to2);
|
@@ -3211,6 +3480,10 @@
|
|
3211 |
|
3212 |
addUnitAlias('second', 's');
|
3213 |
|
|
|
|
|
|
|
|
|
3214 |
// PARSING
|
3215 |
|
3216 |
addRegexToken('s', match1to2);
|
@@ -3256,6 +3529,10 @@
|
|
3256 |
|
3257 |
addUnitAlias('millisecond', 'ms');
|
3258 |
|
|
|
|
|
|
|
|
|
3259 |
// PARSING
|
3260 |
|
3261 |
addRegexToken('S', match1to3, match1);
|
@@ -3305,7 +3582,7 @@
|
|
3305 |
momentPrototype__proto.fromNow = fromNow;
|
3306 |
momentPrototype__proto.to = to;
|
3307 |
momentPrototype__proto.toNow = toNow;
|
3308 |
-
momentPrototype__proto.get =
|
3309 |
momentPrototype__proto.invalidAt = invalidAt;
|
3310 |
momentPrototype__proto.isAfter = isAfter;
|
3311 |
momentPrototype__proto.isBefore = isBefore;
|
@@ -3320,7 +3597,7 @@
|
|
3320 |
momentPrototype__proto.max = prototypeMax;
|
3321 |
momentPrototype__proto.min = prototypeMin;
|
3322 |
momentPrototype__proto.parsingFlags = parsingFlags;
|
3323 |
-
momentPrototype__proto.set =
|
3324 |
momentPrototype__proto.startOf = startOf;
|
3325 |
momentPrototype__proto.subtract = add_subtract__subtract;
|
3326 |
momentPrototype__proto.toArray = toArray;
|
@@ -3380,7 +3657,6 @@
|
|
3380 |
momentPrototype__proto.parseZone = setOffsetToParsedOffset;
|
3381 |
momentPrototype__proto.hasAlignedHourOffset = hasAlignedHourOffset;
|
3382 |
momentPrototype__proto.isDST = isDaylightSavingTime;
|
3383 |
-
momentPrototype__proto.isDSTShifted = isDaylightSavingTimeShifted;
|
3384 |
momentPrototype__proto.isLocal = isLocal;
|
3385 |
momentPrototype__proto.isUtcOffset = isUtcOffset;
|
3386 |
momentPrototype__proto.isUtc = isUtc;
|
@@ -3394,7 +3670,8 @@
|
|
3394 |
momentPrototype__proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);
|
3395 |
momentPrototype__proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
|
3396 |
momentPrototype__proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);
|
3397 |
-
momentPrototype__proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead.
|
|
|
3398 |
|
3399 |
var momentPrototype = momentPrototype__proto;
|
3400 |
|
@@ -3406,143 +3683,46 @@
|
|
3406 |
return local__createLocal.apply(null, arguments).parseZone();
|
3407 |
}
|
3408 |
|
3409 |
-
var defaultCalendar = {
|
3410 |
-
sameDay : '[Today at] LT',
|
3411 |
-
nextDay : '[Tomorrow at] LT',
|
3412 |
-
nextWeek : 'dddd [at] LT',
|
3413 |
-
lastDay : '[Yesterday at] LT',
|
3414 |
-
lastWeek : '[Last] dddd [at] LT',
|
3415 |
-
sameElse : 'L'
|
3416 |
-
};
|
3417 |
-
|
3418 |
-
function locale_calendar__calendar (key, mom, now) {
|
3419 |
-
var output = this._calendar[key];
|
3420 |
-
return isFunction(output) ? output.call(mom, now) : output;
|
3421 |
-
}
|
3422 |
-
|
3423 |
-
var defaultLongDateFormat = {
|
3424 |
-
LTS : 'h:mm:ss A',
|
3425 |
-
LT : 'h:mm A',
|
3426 |
-
L : 'MM/DD/YYYY',
|
3427 |
-
LL : 'MMMM D, YYYY',
|
3428 |
-
LLL : 'MMMM D, YYYY h:mm A',
|
3429 |
-
LLLL : 'dddd, MMMM D, YYYY h:mm A'
|
3430 |
-
};
|
3431 |
-
|
3432 |
-
function longDateFormat (key) {
|
3433 |
-
var format = this._longDateFormat[key],
|
3434 |
-
formatUpper = this._longDateFormat[key.toUpperCase()];
|
3435 |
-
|
3436 |
-
if (format || !formatUpper) {
|
3437 |
-
return format;
|
3438 |
-
}
|
3439 |
-
|
3440 |
-
this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
|
3441 |
-
return val.slice(1);
|
3442 |
-
});
|
3443 |
-
|
3444 |
-
return this._longDateFormat[key];
|
3445 |
-
}
|
3446 |
-
|
3447 |
-
var defaultInvalidDate = 'Invalid date';
|
3448 |
-
|
3449 |
-
function invalidDate () {
|
3450 |
-
return this._invalidDate;
|
3451 |
-
}
|
3452 |
-
|
3453 |
-
var defaultOrdinal = '%d';
|
3454 |
-
var defaultOrdinalParse = /\d{1,2}/;
|
3455 |
-
|
3456 |
-
function ordinal (number) {
|
3457 |
-
return this._ordinal.replace('%d', number);
|
3458 |
-
}
|
3459 |
-
|
3460 |
function preParsePostFormat (string) {
|
3461 |
return string;
|
3462 |
}
|
3463 |
|
3464 |
-
var defaultRelativeTime = {
|
3465 |
-
future : 'in %s',
|
3466 |
-
past : '%s ago',
|
3467 |
-
s : 'a few seconds',
|
3468 |
-
m : 'a minute',
|
3469 |
-
mm : '%d minutes',
|
3470 |
-
h : 'an hour',
|
3471 |
-
hh : '%d hours',
|
3472 |
-
d : 'a day',
|
3473 |
-
dd : '%d days',
|
3474 |
-
M : 'a month',
|
3475 |
-
MM : '%d months',
|
3476 |
-
y : 'a year',
|
3477 |
-
yy : '%d years'
|
3478 |
-
};
|
3479 |
-
|
3480 |
-
function relative__relativeTime (number, withoutSuffix, string, isFuture) {
|
3481 |
-
var output = this._relativeTime[string];
|
3482 |
-
return (isFunction(output)) ?
|
3483 |
-
output(number, withoutSuffix, string, isFuture) :
|
3484 |
-
output.replace(/%d/i, number);
|
3485 |
-
}
|
3486 |
-
|
3487 |
-
function pastFuture (diff, output) {
|
3488 |
-
var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
|
3489 |
-
return isFunction(format) ? format(output) : format.replace(/%s/i, output);
|
3490 |
-
}
|
3491 |
-
|
3492 |
var prototype__proto = Locale.prototype;
|
3493 |
|
3494 |
-
prototype__proto._calendar = defaultCalendar;
|
3495 |
prototype__proto.calendar = locale_calendar__calendar;
|
3496 |
-
prototype__proto._longDateFormat = defaultLongDateFormat;
|
3497 |
prototype__proto.longDateFormat = longDateFormat;
|
3498 |
-
prototype__proto._invalidDate = defaultInvalidDate;
|
3499 |
prototype__proto.invalidDate = invalidDate;
|
3500 |
-
prototype__proto._ordinal = defaultOrdinal;
|
3501 |
prototype__proto.ordinal = ordinal;
|
3502 |
-
prototype__proto._ordinalParse = defaultOrdinalParse;
|
3503 |
prototype__proto.preparse = preParsePostFormat;
|
3504 |
prototype__proto.postformat = preParsePostFormat;
|
3505 |
-
prototype__proto._relativeTime = defaultRelativeTime;
|
3506 |
prototype__proto.relativeTime = relative__relativeTime;
|
3507 |
prototype__proto.pastFuture = pastFuture;
|
3508 |
prototype__proto.set = locale_set__set;
|
3509 |
|
3510 |
// Month
|
3511 |
prototype__proto.months = localeMonths;
|
3512 |
-
prototype__proto._months = defaultLocaleMonths;
|
3513 |
prototype__proto.monthsShort = localeMonthsShort;
|
3514 |
-
prototype__proto._monthsShort = defaultLocaleMonthsShort;
|
3515 |
prototype__proto.monthsParse = localeMonthsParse;
|
3516 |
-
prototype__proto._monthsRegex = defaultMonthsRegex;
|
3517 |
prototype__proto.monthsRegex = monthsRegex;
|
3518 |
-
prototype__proto._monthsShortRegex = defaultMonthsShortRegex;
|
3519 |
prototype__proto.monthsShortRegex = monthsShortRegex;
|
3520 |
|
3521 |
// Week
|
3522 |
prototype__proto.week = localeWeek;
|
3523 |
-
prototype__proto._week = defaultLocaleWeek;
|
3524 |
prototype__proto.firstDayOfYear = localeFirstDayOfYear;
|
3525 |
prototype__proto.firstDayOfWeek = localeFirstDayOfWeek;
|
3526 |
|
3527 |
// Day of Week
|
3528 |
prototype__proto.weekdays = localeWeekdays;
|
3529 |
-
prototype__proto._weekdays = defaultLocaleWeekdays;
|
3530 |
prototype__proto.weekdaysMin = localeWeekdaysMin;
|
3531 |
-
prototype__proto._weekdaysMin = defaultLocaleWeekdaysMin;
|
3532 |
prototype__proto.weekdaysShort = localeWeekdaysShort;
|
3533 |
-
prototype__proto._weekdaysShort = defaultLocaleWeekdaysShort;
|
3534 |
prototype__proto.weekdaysParse = localeWeekdaysParse;
|
3535 |
|
3536 |
-
prototype__proto._weekdaysRegex = defaultWeekdaysRegex;
|
3537 |
prototype__proto.weekdaysRegex = weekdaysRegex;
|
3538 |
-
prototype__proto._weekdaysShortRegex = defaultWeekdaysShortRegex;
|
3539 |
prototype__proto.weekdaysShortRegex = weekdaysShortRegex;
|
3540 |
-
prototype__proto._weekdaysMinRegex = defaultWeekdaysMinRegex;
|
3541 |
prototype__proto.weekdaysMinRegex = weekdaysMinRegex;
|
3542 |
|
3543 |
// Hours
|
3544 |
prototype__proto.isPM = localeIsPM;
|
3545 |
-
prototype__proto._meridiemParse = defaultLocaleMeridiemParse;
|
3546 |
prototype__proto.meridiem = localeMeridiem;
|
3547 |
|
3548 |
function lists__get (format, index, field, setter) {
|
@@ -3871,6 +4051,18 @@
|
|
3871 |
return substituteTimeAgo.apply(null, a);
|
3872 |
}
|
3873 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3874 |
// This function allows you to set a threshold for relative time strings
|
3875 |
function duration_humanize__getSetRelativeTimeThreshold (threshold, limit) {
|
3876 |
if (thresholds[threshold] === undefined) {
|
@@ -4003,7 +4195,7 @@
|
|
4003 |
// Side effect imports
|
4004 |
|
4005 |
|
4006 |
-
utils_hooks__hooks.version = '2.
|
4007 |
|
4008 |
setHookCallback(local__createLocal);
|
4009 |
|
@@ -4030,7 +4222,9 @@
|
|
4030 |
utils_hooks__hooks.locales = locale_locales__listLocales;
|
4031 |
utils_hooks__hooks.weekdaysShort = lists__listWeekdaysShort;
|
4032 |
utils_hooks__hooks.normalizeUnits = normalizeUnits;
|
|
|
4033 |
utils_hooks__hooks.relativeTimeThreshold = duration_humanize__getSetRelativeTimeThreshold;
|
|
|
4034 |
utils_hooks__hooks.prototype = momentPrototype;
|
4035 |
|
4036 |
var _moment = utils_hooks__hooks;
|
1 |
//! moment.js
|
2 |
+
//! version : 2.15.1
|
3 |
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4 |
//! license : MIT
|
5 |
//! momentjs.com
|
26 |
return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
|
27 |
}
|
28 |
|
29 |
+
function isObject(input) {
|
30 |
+
// IE8 will treat undefined and null as object if it wasn't for
|
31 |
+
// input != null
|
32 |
+
return input != null && Object.prototype.toString.call(input) === '[object Object]';
|
33 |
+
}
|
34 |
+
|
35 |
+
function isObjectEmpty(obj) {
|
36 |
+
var k;
|
37 |
+
for (k in obj) {
|
38 |
+
// even if its not own property I'd still call it non-empty
|
39 |
+
return false;
|
40 |
+
}
|
41 |
+
return true;
|
42 |
+
}
|
43 |
+
|
44 |
function isDate(input) {
|
45 |
return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
|
46 |
}
|
128 |
var parsedParts = some.call(flags.parsedDateParts, function (i) {
|
129 |
return i != null;
|
130 |
});
|
131 |
+
var isNowValid = !isNaN(m._d.getTime()) &&
|
132 |
flags.overflow < 0 &&
|
133 |
!flags.empty &&
|
134 |
!flags.invalidMonth &&
|
139 |
(!flags.meridiem || (flags.meridiem && parsedParts));
|
140 |
|
141 |
if (m._strict) {
|
142 |
+
isNowValid = isNowValid &&
|
143 |
flags.charsLeftOver === 0 &&
|
144 |
flags.unusedTokens.length === 0 &&
|
145 |
flags.bigHour === undefined;
|
146 |
}
|
147 |
+
|
148 |
+
if (Object.isFrozen == null || !Object.isFrozen(m)) {
|
149 |
+
m._isValid = isNowValid;
|
150 |
+
}
|
151 |
+
else {
|
152 |
+
return isNowValid;
|
153 |
+
}
|
154 |
}
|
155 |
return m._isValid;
|
156 |
}
|
243 |
|
244 |
function absFloor (number) {
|
245 |
if (number < 0) {
|
246 |
+
// -0 -> 0
|
247 |
+
return Math.ceil(number) || 0;
|
248 |
} else {
|
249 |
return Math.floor(number);
|
250 |
}
|
291 |
utils_hooks__hooks.deprecationHandler(null, msg);
|
292 |
}
|
293 |
if (firstTime) {
|
294 |
+
var args = [];
|
295 |
+
var arg;
|
296 |
+
for (var i = 0; i < arguments.length; i++) {
|
297 |
+
arg = '';
|
298 |
+
if (typeof arguments[i] === 'object') {
|
299 |
+
arg += '\n[' + i + '] ';
|
300 |
+
for (var key in arguments[0]) {
|
301 |
+
arg += key + ': ' + arguments[0][key] + ', ';
|
302 |
+
}
|
303 |
+
arg = arg.slice(0, -2); // Remove trailing comma and space
|
304 |
+
} else {
|
305 |
+
arg = arguments[i];
|
306 |
+
}
|
307 |
+
args.push(arg);
|
308 |
+
}
|
309 |
+
warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack);
|
310 |
firstTime = false;
|
311 |
}
|
312 |
return fn.apply(this, arguments);
|
332 |
return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
|
333 |
}
|
334 |
|
|
|
|
|
|
|
|
|
335 |
function locale_set__set (config) {
|
336 |
var prop, i;
|
337 |
for (i in config) {
|
363 |
}
|
364 |
}
|
365 |
}
|
366 |
+
for (prop in parentConfig) {
|
367 |
+
if (hasOwnProp(parentConfig, prop) &&
|
368 |
+
!hasOwnProp(childConfig, prop) &&
|
369 |
+
isObject(parentConfig[prop])) {
|
370 |
+
// make sure changes to properties don't modify parent config
|
371 |
+
res[prop] = extend({}, res[prop]);
|
372 |
+
}
|
373 |
+
}
|
374 |
return res;
|
375 |
}
|
376 |
|
396 |
};
|
397 |
}
|
398 |
|
399 |
+
var defaultCalendar = {
|
400 |
+
sameDay : '[Today at] LT',
|
401 |
+
nextDay : '[Tomorrow at] LT',
|
402 |
+
nextWeek : 'dddd [at] LT',
|
403 |
+
lastDay : '[Yesterday at] LT',
|
404 |
+
lastWeek : '[Last] dddd [at] LT',
|
405 |
+
sameElse : 'L'
|
406 |
+
};
|
407 |
|
408 |
+
function locale_calendar__calendar (key, mom, now) {
|
409 |
+
var output = this._calendar[key] || this._calendar['sameElse'];
|
410 |
+
return isFunction(output) ? output.call(mom, now) : output;
|
411 |
}
|
412 |
|
413 |
+
var defaultLongDateFormat = {
|
414 |
+
LTS : 'h:mm:ss A',
|
415 |
+
LT : 'h:mm A',
|
416 |
+
L : 'MM/DD/YYYY',
|
417 |
+
LL : 'MMMM D, YYYY',
|
418 |
+
LLL : 'MMMM D, YYYY h:mm A',
|
419 |
+
LLLL : 'dddd, MMMM D, YYYY h:mm A'
|
420 |
+
};
|
421 |
|
422 |
+
function longDateFormat (key) {
|
423 |
+
var format = this._longDateFormat[key],
|
424 |
+
formatUpper = this._longDateFormat[key.toUpperCase()];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
|
426 |
+
if (format || !formatUpper) {
|
427 |
+
return format;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
|
430 |
+
this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
|
431 |
+
return val.slice(1);
|
432 |
+
});
|
|
|
|
|
433 |
|
434 |
+
return this._longDateFormat[key];
|
435 |
}
|
436 |
|
437 |
+
var defaultInvalidDate = 'Invalid date';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
|
439 |
+
function invalidDate () {
|
440 |
+
return this._invalidDate;
|
|
|
|
|
|
|
|
|
441 |
}
|
442 |
|
443 |
+
var defaultOrdinal = '%d';
|
444 |
+
var defaultOrdinalParse = /\d{1,2}/;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
|
446 |
+
function ordinal (number) {
|
447 |
+
return this._ordinal.replace('%d', number);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
}
|
449 |
|
450 |
+
var defaultRelativeTime = {
|
451 |
+
future : 'in %s',
|
452 |
+
past : '%s ago',
|
453 |
+
s : 'a few seconds',
|
454 |
+
m : 'a minute',
|
455 |
+
mm : '%d minutes',
|
456 |
+
h : 'an hour',
|
457 |
+
hh : '%d hours',
|
458 |
+
d : 'a day',
|
459 |
+
dd : '%d days',
|
460 |
+
M : 'a month',
|
461 |
+
MM : '%d months',
|
462 |
+
y : 'a year',
|
463 |
+
yy : '%d years'
|
464 |
+
};
|
|
|
|
|
|
|
|
|
|
|
465 |
|
466 |
+
function relative__relativeTime (number, withoutSuffix, string, isFuture) {
|
467 |
+
var output = this._relativeTime[string];
|
468 |
+
return (isFunction(output)) ?
|
469 |
+
output(number, withoutSuffix, string, isFuture) :
|
470 |
+
output.replace(/%d/i, number);
|
471 |
}
|
472 |
|
473 |
+
function pastFuture (diff, output) {
|
474 |
+
var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
|
475 |
+
return isFunction(format) ? format(output) : format.replace(/%s/i, output);
|
476 |
}
|
477 |
|
478 |
var aliases = {};
|
503 |
return normalizedInput;
|
504 |
}
|
505 |
|
506 |
+
var priorities = {};
|
507 |
+
|
508 |
+
function addUnitPriority(unit, priority) {
|
509 |
+
priorities[unit] = priority;
|
510 |
+
}
|
511 |
+
|
512 |
+
function getPrioritizedUnits(unitsObj) {
|
513 |
+
var units = [];
|
514 |
+
for (var u in unitsObj) {
|
515 |
+
units.push({unit: u, priority: priorities[u]});
|
516 |
+
}
|
517 |
+
units.sort(function (a, b) {
|
518 |
+
return a.priority - b.priority;
|
519 |
+
});
|
520 |
+
return units;
|
521 |
+
}
|
522 |
+
|
523 |
function makeGetSet (unit, keepTime) {
|
524 |
return function (value) {
|
525 |
if (value != null) {
|
545 |
|
546 |
// MOMENTS
|
547 |
|
548 |
+
function stringGet (units) {
|
549 |
+
units = normalizeUnits(units);
|
550 |
+
if (isFunction(this[units])) {
|
551 |
+
return this[units]();
|
552 |
+
}
|
553 |
+
return this;
|
554 |
+
}
|
555 |
+
|
556 |
+
|
557 |
+
function stringSet (units, value) {
|
558 |
if (typeof units === 'object') {
|
559 |
+
units = normalizeObjectUnits(units);
|
560 |
+
var prioritized = getPrioritizedUnits(units);
|
561 |
+
for (var i = 0; i < prioritized.length; i++) {
|
562 |
+
this[prioritized[i].unit](units[prioritized[i].unit]);
|
563 |
}
|
564 |
} else {
|
565 |
units = normalizeUnits(units);
|
799 |
|
800 |
addUnitAlias('month', 'M');
|
801 |
|
802 |
+
// PRIORITY
|
803 |
+
|
804 |
+
addUnitPriority('month', 8);
|
805 |
+
|
806 |
// PARSING
|
807 |
|
808 |
addRegexToken('M', match1to2);
|
833 |
var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;
|
834 |
var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
|
835 |
function localeMonths (m, format) {
|
836 |
+
if (!m) {
|
837 |
+
return this._months;
|
838 |
+
}
|
839 |
return isArray(this._months) ? this._months[m.month()] :
|
840 |
+
this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
|
841 |
}
|
842 |
|
843 |
var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_');
|
844 |
function localeMonthsShort (m, format) {
|
845 |
+
if (!m) {
|
846 |
+
return this._monthsShort;
|
847 |
+
}
|
848 |
return isArray(this._monthsShort) ? this._monthsShort[m.month()] :
|
849 |
this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
|
850 |
}
|
981 |
return this._monthsShortRegex;
|
982 |
}
|
983 |
} else {
|
984 |
+
if (!hasOwnProp(this, '_monthsShortRegex')) {
|
985 |
+
this._monthsShortRegex = defaultMonthsShortRegex;
|
986 |
+
}
|
987 |
return this._monthsShortStrictRegex && isStrict ?
|
988 |
this._monthsShortStrictRegex : this._monthsShortRegex;
|
989 |
}
|
1001 |
return this._monthsRegex;
|
1002 |
}
|
1003 |
} else {
|
1004 |
+
if (!hasOwnProp(this, '_monthsRegex')) {
|
1005 |
+
this._monthsRegex = defaultMonthsRegex;
|
1006 |
+
}
|
1007 |
return this._monthsStrictRegex && isStrict ?
|
1008 |
this._monthsStrictRegex : this._monthsRegex;
|
1009 |
}
|
1032 |
for (i = 0; i < 12; i++) {
|
1033 |
shortPieces[i] = regexEscape(shortPieces[i]);
|
1034 |
longPieces[i] = regexEscape(longPieces[i]);
|
1035 |
+
}
|
1036 |
+
for (i = 0; i < 24; i++) {
|
1037 |
mixedPieces[i] = regexEscape(mixedPieces[i]);
|
1038 |
}
|
1039 |
|
1043 |
this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
|
1044 |
}
|
1045 |
|
1046 |
+
// FORMATTING
|
|
|
|
|
1047 |
|
1048 |
+
addFormatToken('Y', 0, 0, function () {
|
1049 |
+
var y = this.year();
|
1050 |
+
return y <= 9999 ? '' + y : '+' + y;
|
1051 |
+
});
|
|
|
|
|
|
|
|
|
|
|
1052 |
|
1053 |
+
addFormatToken(0, ['YY', 2], 0, function () {
|
1054 |
+
return this.year() % 100;
|
1055 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1056 |
|
1057 |
addFormatToken(0, ['YYYY', 4], 0, 'year');
|
1058 |
addFormatToken(0, ['YYYYY', 5], 0, 'year');
|
1062 |
|
1063 |
addUnitAlias('year', 'y');
|
1064 |
|
1065 |
+
// PRIORITIES
|
1066 |
+
|
1067 |
+
addUnitPriority('year', 1);
|
1068 |
+
|
1069 |
// PARSING
|
1070 |
|
1071 |
addRegexToken('Y', matchSigned);
|
1109 |
return isLeapYear(this.year());
|
1110 |
}
|
1111 |
|
1112 |
+
function createDate (y, m, d, h, M, s, ms) {
|
1113 |
+
//can't just apply() to create a date:
|
1114 |
+
//http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply
|
1115 |
+
var date = new Date(y, m, d, h, M, s, ms);
|
1116 |
+
|
1117 |
+
//the date constructor remaps years 0-99 to 1900-1999
|
1118 |
+
if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {
|
1119 |
+
date.setFullYear(y);
|
1120 |
+
}
|
1121 |
+
return date;
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
function createUTCDate (y) {
|
1125 |
+
var date = new Date(Date.UTC.apply(null, arguments));
|
1126 |
+
|
1127 |
+
//the Date.UTC function remaps years 0-99 to 1900-1999
|
1128 |
+
if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) {
|
1129 |
+
date.setUTCFullYear(y);
|
1130 |
+
}
|
1131 |
+
return date;
|
1132 |
+
}
|
1133 |
+
|
1134 |
// start-of-first-week - start-of-year
|
1135 |
function firstWeekOffset(year, dow, doy) {
|
1136 |
var // first-week day -- which january is always in the first week (4 for iso, 1 for other)
|
1193 |
return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
|
1194 |
}
|
1195 |
|
1196 |
+
// FORMATTING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1197 |
|
1198 |
+
addFormatToken('w', ['ww', 2], 'wo', 'week');
|
1199 |
+
addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
|
|
|
|
|
|
|
|
|
|
|
|
|
1200 |
|
1201 |
+
// ALIASES
|
|
|
|
|
|
|
|
|
|
|
1202 |
|
1203 |
+
addUnitAlias('week', 'w');
|
1204 |
+
addUnitAlias('isoWeek', 'W');
|
|
|
1205 |
|
1206 |
+
// PRIORITIES
|
1207 |
|
1208 |
+
addUnitPriority('week', 5);
|
1209 |
+
addUnitPriority('isoWeek', 5);
|
|
|
|
|
1210 |
|
1211 |
+
// PARSING
|
|
|
|
|
1212 |
|
1213 |
+
addRegexToken('w', match1to2);
|
1214 |
+
addRegexToken('ww', match1to2, match2);
|
1215 |
+
addRegexToken('W', match1to2);
|
1216 |
+
addRegexToken('WW', match1to2, match2);
|
1217 |
|
1218 |
+
addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
|
1219 |
+
week[token.substr(0, 1)] = toInt(input);
|
1220 |
+
});
|
|
|
1221 |
|
1222 |
+
// HELPERS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1223 |
|
1224 |
+
// LOCALES
|
|
|
|
|
|
|
1225 |
|
1226 |
+
function localeWeek (mom) {
|
1227 |
+
return weekOfYear(mom, this._week.dow, this._week.doy).week;
|
1228 |
+
}
|
|
|
|
|
|
|
|
|
|
|
1229 |
|
1230 |
+
var defaultLocaleWeek = {
|
1231 |
+
dow : 0, // Sunday is the first day of the week.
|
1232 |
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
1233 |
+
};
|
|
|
|
|
1234 |
|
1235 |
+
function localeFirstDayOfWeek () {
|
1236 |
+
return this._week.dow;
|
|
|
1237 |
}
|
1238 |
|
1239 |
+
function localeFirstDayOfYear () {
|
1240 |
+
return this._week.doy;
|
1241 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1242 |
|
1243 |
+
// MOMENTS
|
|
|
1244 |
|
1245 |
+
function getSetWeek (input) {
|
1246 |
+
var week = this.localeData().week(this);
|
1247 |
+
return input == null ? week : this.add((input - week) * 7, 'd');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1248 |
}
|
1249 |
|
1250 |
+
function getSetISOWeek (input) {
|
1251 |
+
var week = weekOfYear(this, 1, 4).week;
|
1252 |
+
return input == null ? week : this.add((input - week) * 7, 'd');
|
1253 |
+
}
|
1254 |
|
1255 |
+
// FORMATTING
|
|
|
|
|
|
|
|
|
|
|
|
|
1256 |
|
1257 |
+
addFormatToken('d', 0, 'do', 'day');
|
|
|
1258 |
|
1259 |
+
addFormatToken('dd', 0, 0, function (format) {
|
1260 |
+
return this.localeData().weekdaysMin(this, format);
|
1261 |
+
});
|
|
|
|
|
1262 |
|
1263 |
+
addFormatToken('ddd', 0, 0, function (format) {
|
1264 |
+
return this.localeData().weekdaysShort(this, format);
|
1265 |
+
});
|
1266 |
|
1267 |
+
addFormatToken('dddd', 0, 0, function (format) {
|
1268 |
+
return this.localeData().weekdays(this, format);
|
1269 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
|
1271 |
+
addFormatToken('e', 0, 0, 'weekday');
|
1272 |
+
addFormatToken('E', 0, 0, 'isoWeekday');
|
|
|
|
|
|
|
1273 |
|
1274 |
+
// ALIASES
|
|
|
|
|
|
|
|
|
|
|
1275 |
|
1276 |
+
addUnitAlias('day', 'd');
|
1277 |
+
addUnitAlias('weekday', 'e');
|
1278 |
+
addUnitAlias('isoWeekday', 'E');
|
|
|
1279 |
|
1280 |
+
// PRIORITY
|
1281 |
+
addUnitPriority('day', 11);
|
1282 |
+
addUnitPriority('weekday', 11);
|
1283 |
+
addUnitPriority('isoWeekday', 11);
|
1284 |
|
1285 |
+
// PARSING
|
1286 |
|
1287 |
+
addRegexToken('d', match1to2);
|
1288 |
+
addRegexToken('e', match1to2);
|
1289 |
+
addRegexToken('E', match1to2);
|
1290 |
+
addRegexToken('dd', function (isStrict, locale) {
|
1291 |
+
return locale.weekdaysMinRegex(isStrict);
|
1292 |
+
});
|
1293 |
+
addRegexToken('ddd', function (isStrict, locale) {
|
1294 |
+
return locale.weekdaysShortRegex(isStrict);
|
1295 |
+
});
|
1296 |
+
addRegexToken('dddd', function (isStrict, locale) {
|
1297 |
+
return locale.weekdaysRegex(isStrict);
|
1298 |
+
});
|
1299 |
|
1300 |
+
addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
|
1301 |
+
var weekday = config._locale.weekdaysParse(input, token, config._strict);
|
1302 |
+
// if we didn't get a weekday name, mark the date as invalid
|
1303 |
+
if (weekday != null) {
|
1304 |
+
week.d = weekday;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1305 |
} else {
|
1306 |
+
getParsingFlags(config).invalidWeekday = input;
|
|
|
1307 |
}
|
1308 |
+
});
|
1309 |
|
1310 |
+
addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
|
1311 |
+
week[token] = toInt(input);
|
1312 |
+
});
|
|
|
1313 |
|
1314 |
+
// HELPERS
|
|
|
|
|
1315 |
|
1316 |
+
function parseWeekday(input, locale) {
|
1317 |
+
if (typeof input !== 'string') {
|
1318 |
+
return input;
|
|
|
1319 |
}
|
1320 |
|
1321 |
+
if (!isNaN(input)) {
|
1322 |
+
return parseInt(input, 10);
|
1323 |
+
}
|
|
|
|
|
|
|
|
|
|
|
1324 |
|
1325 |
+
input = locale.weekdaysParse(input);
|
1326 |
+
if (typeof input === 'number') {
|
1327 |
+
return input;
|
1328 |
+
}
|
1329 |
|
1330 |
+
return null;
|
1331 |
+
}
|
1332 |
|
1333 |
+
function parseIsoWeekday(input, locale) {
|
1334 |
+
if (typeof input === 'string') {
|
1335 |
+
return locale.weekdaysParse(input) % 7 || 7;
|
1336 |
+
}
|
1337 |
+
return isNaN(input) ? null : input;
|
1338 |
+
}
|
1339 |
|
1340 |
+
// LOCALES
|
1341 |
|
1342 |
+
var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');
|
1343 |
+
function localeWeekdays (m, format) {
|
1344 |
+
if (!m) {
|
1345 |
+
return this._weekdays;
|
1346 |
}
|
1347 |
+
return isArray(this._weekdays) ? this._weekdays[m.day()] :
|
1348 |
+
this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];
|
1349 |
}
|
1350 |
|
1351 |
+
var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');
|
1352 |
+
function localeWeekdaysShort (m) {
|
1353 |
+
return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort;
|
1354 |
+
}
|
1355 |
|
1356 |
+
var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_');
|
1357 |
+
function localeWeekdaysMin (m) {
|
1358 |
+
return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin;
|
|
|
|
|
|
|
1359 |
}
|
1360 |
|
1361 |
+
function day_of_week__handleStrictParse(weekdayName, format, strict) {
|
1362 |
+
var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
|
1363 |
+
if (!this._weekdaysParse) {
|
1364 |
+
this._weekdaysParse = [];
|
1365 |
+
this._shortWeekdaysParse = [];
|
1366 |
+
this._minWeekdaysParse = [];
|
1367 |
+
|
1368 |
+
for (i = 0; i < 7; ++i) {
|
1369 |
+
mom = create_utc__createUTC([2000, 1]).day(i);
|
1370 |
+
this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
|
1371 |
+
this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
|
1372 |
+
this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
|
1373 |
+
}
|
1374 |
}
|
1375 |
|
1376 |
+
if (strict) {
|
1377 |
+
if (format === 'dddd') {
|
1378 |
+
ii = indexOf.call(this._weekdaysParse, llc);
|
1379 |
+
return ii !== -1 ? ii : null;
|
1380 |
+
} else if (format === 'ddd') {
|
1381 |
+
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
1382 |
+
return ii !== -1 ? ii : null;
|
1383 |
+
} else {
|
1384 |
+
ii = indexOf.call(this._minWeekdaysParse, llc);
|
1385 |
+
return ii !== -1 ? ii : null;
|
1386 |
+
}
|
1387 |
+
} else {
|
1388 |
+
if (format === 'dddd') {
|
1389 |
+
ii = indexOf.call(this._weekdaysParse, llc);
|
1390 |
+
if (ii !== -1) {
|
1391 |
+
return ii;
|
1392 |
+
}
|
1393 |
+
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
1394 |
+
if (ii !== -1) {
|
1395 |
+
return ii;
|
1396 |
+
}
|
1397 |
+
ii = indexOf.call(this._minWeekdaysParse, llc);
|
1398 |
+
return ii !== -1 ? ii : null;
|
1399 |
+
} else if (format === 'ddd') {
|
1400 |
+
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
1401 |
+
if (ii !== -1) {
|
1402 |
+
return ii;
|
1403 |
+
}
|
1404 |
+
ii = indexOf.call(this._weekdaysParse, llc);
|
1405 |
+
if (ii !== -1) {
|
1406 |
+
return ii;
|
1407 |
+
}
|
1408 |
+
ii = indexOf.call(this._minWeekdaysParse, llc);
|
1409 |
+
return ii !== -1 ? ii : null;
|
1410 |
+
} else {
|
1411 |
+
ii = indexOf.call(this._minWeekdaysParse, llc);
|
1412 |
+
if (ii !== -1) {
|
1413 |
+
return ii;
|
1414 |
+
}
|
1415 |
+
ii = indexOf.call(this._weekdaysParse, llc);
|
1416 |
+
if (ii !== -1) {
|
1417 |
+
return ii;
|
1418 |
+
}
|
1419 |
+
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
1420 |
+
return ii !== -1 ? ii : null;
|
1421 |
+
}
|
1422 |
+
}
|
1423 |
}
|
1424 |
|
1425 |
+
function localeWeekdaysParse (weekdayName, format, strict) {
|
1426 |
+
var i, mom, regex;
|
|
|
|
|
|
|
1427 |
|
1428 |
+
if (this._weekdaysParseExact) {
|
1429 |
+
return day_of_week__handleStrictParse.call(this, weekdayName, format, strict);
|
1430 |
}
|
1431 |
|
1432 |
+
if (!this._weekdaysParse) {
|
1433 |
+
this._weekdaysParse = [];
|
1434 |
+
this._minWeekdaysParse = [];
|
1435 |
+
this._shortWeekdaysParse = [];
|
1436 |
+
this._fullWeekdaysParse = [];
|
1437 |
}
|
1438 |
|
1439 |
+
for (i = 0; i < 7; i++) {
|
1440 |
+
// make the regex if we don't have it already
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1441 |
|
1442 |
+
mom = create_utc__createUTC([2000, 1]).day(i);
|
1443 |
+
if (strict && !this._fullWeekdaysParse[i]) {
|
1444 |
+
this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i');
|
1445 |
+
this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '$', 'i');
|
1446 |
+
this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', 'i');
|
1447 |
+
}
|
1448 |
+
if (!this._weekdaysParse[i]) {
|
1449 |
+
regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
|
1450 |
+
this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
|
1451 |
+
}
|
1452 |
+
// test the regex
|
1453 |
+
if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
|
1454 |
+
return i;
|
1455 |
+
} else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
|
1456 |
+
return i;
|
1457 |
+
} else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
|
1458 |
+
return i;
|
1459 |
+
} else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
|
1460 |
+
return i;
|
1461 |
+
}
|
1462 |
}
|
|
|
|
|
1463 |
}
|
1464 |
|
1465 |
+
// MOMENTS
|
1466 |
+
|
1467 |
+
function getSetDayOfWeek (input) {
|
1468 |
+
if (!this.isValid()) {
|
1469 |
+
return input != null ? this : NaN;
|
1470 |
+
}
|
1471 |
+
var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
|
1472 |
+
if (input != null) {
|
1473 |
+
input = parseWeekday(input, this.localeData());
|
1474 |
+
return this.add(input - day, 'd');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1475 |
} else {
|
1476 |
+
return day;
|
1477 |
}
|
1478 |
}
|
1479 |
|
1480 |
+
function getSetLocaleDayOfWeek (input) {
|
1481 |
+
if (!this.isValid()) {
|
1482 |
+
return input != null ? this : NaN;
|
1483 |
+
}
|
1484 |
+
var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
1485 |
+
return input == null ? weekday : this.add(input - weekday, 'd');
|
1486 |
+
}
|
1487 |
|
1488 |
+
function getSetISODayOfWeek (input) {
|
1489 |
+
if (!this.isValid()) {
|
1490 |
+
return input != null ? this : NaN;
|
1491 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1492 |
|
1493 |
+
// behaves the same as moment#day except
|
1494 |
+
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
1495 |
+
// as a setter, sunday should belong to the previous week.
|
1496 |
|
1497 |
+
if (input != null) {
|
1498 |
+
var weekday = parseIsoWeekday(input, this.localeData());
|
1499 |
+
return this.day(this.day() % 7 ? weekday : weekday - 7);
|
1500 |
+
} else {
|
1501 |
+
return this.day() || 7;
|
1502 |
+
}
|
1503 |
}
|
1504 |
|
1505 |
+
var defaultWeekdaysRegex = matchWord;
|
1506 |
+
function weekdaysRegex (isStrict) {
|
1507 |
+
if (this._weekdaysParseExact) {
|
1508 |
+
if (!hasOwnProp(this, '_weekdaysRegex')) {
|
1509 |
+
computeWeekdaysParse.call(this);
|
1510 |
+
}
|
1511 |
+
if (isStrict) {
|
1512 |
+
return this._weekdaysStrictRegex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1513 |
} else {
|
1514 |
+
return this._weekdaysRegex;
|
1515 |
}
|
1516 |
+
} else {
|
1517 |
+
if (!hasOwnProp(this, '_weekdaysRegex')) {
|
1518 |
+
this._weekdaysRegex = defaultWeekdaysRegex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1519 |
}
|
1520 |
+
return this._weekdaysStrictRegex && isStrict ?
|
1521 |
+
this._weekdaysStrictRegex : this._weekdaysRegex;
|
1522 |
}
|
|
|
1523 |
}
|
1524 |
|
1525 |
+
var defaultWeekdaysShortRegex = matchWord;
|
1526 |
+
function weekdaysShortRegex (isStrict) {
|
1527 |
+
if (this._weekdaysParseExact) {
|
1528 |
+
if (!hasOwnProp(this, '_weekdaysRegex')) {
|
1529 |
+
computeWeekdaysParse.call(this);
|
1530 |
+
}
|
1531 |
+
if (isStrict) {
|
1532 |
+
return this._weekdaysShortStrictRegex;
|
1533 |
+
} else {
|
1534 |
+
return this._weekdaysShortRegex;
|
1535 |
+
}
|
1536 |
+
} else {
|
1537 |
+
if (!hasOwnProp(this, '_weekdaysShortRegex')) {
|
1538 |
+
this._weekdaysShortRegex = defaultWeekdaysShortRegex;
|
1539 |
+
}
|
1540 |
+
return this._weekdaysShortStrictRegex && isStrict ?
|
1541 |
+
this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
|
1542 |
+
}
|
1543 |
}
|
1544 |
|
1545 |
+
var defaultWeekdaysMinRegex = matchWord;
|
1546 |
+
function weekdaysMinRegex (isStrict) {
|
1547 |
+
if (this._weekdaysParseExact) {
|
1548 |
+
if (!hasOwnProp(this, '_weekdaysRegex')) {
|
1549 |
+
computeWeekdaysParse.call(this);
|
1550 |
+
}
|
1551 |
+
if (isStrict) {
|
1552 |
+
return this._weekdaysMinStrictRegex;
|
1553 |
+
} else {
|
1554 |
+
return this._weekdaysMinRegex;
|
1555 |
+
}
|
1556 |
+
} else {
|
1557 |
+
if (!hasOwnProp(this, '_weekdaysMinRegex')) {
|
1558 |
+
this._weekdaysMinRegex = defaultWeekdaysMinRegex;
|
1559 |
+
}
|
1560 |
+
return this._weekdaysMinStrictRegex && isStrict ?
|
1561 |
+
this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
|
1562 |
+
}
|
1563 |
}
|
1564 |
|
|
|
|
|
|
|
1565 |
|
1566 |
+
function computeWeekdaysParse () {
|
1567 |
+
function cmpLenRev(a, b) {
|
1568 |
+
return b.length - a.length;
|
1569 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1570 |
|
1571 |
+
var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [],
|
1572 |
+
i, mom, minp, shortp, longp;
|
1573 |
+
for (i = 0; i < 7; i++) {
|
1574 |
+
// make the regex if we don't have it already
|
1575 |
+
mom = create_utc__createUTC([2000, 1]).day(i);
|
1576 |
+
minp = this.weekdaysMin(mom, '');
|
1577 |
+
shortp = this.weekdaysShort(mom, '');
|
1578 |
+
longp = this.weekdays(mom, '');
|
1579 |
+
minPieces.push(minp);
|
1580 |
+
shortPieces.push(shortp);
|
1581 |
+
longPieces.push(longp);
|
1582 |
+
mixedPieces.push(minp);
|
1583 |
+
mixedPieces.push(shortp);
|
1584 |
+
mixedPieces.push(longp);
|
1585 |
+
}
|
1586 |
+
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
1587 |
+
// will match the longer piece.
|
1588 |
+
minPieces.sort(cmpLenRev);
|
1589 |
+
shortPieces.sort(cmpLenRev);
|
1590 |
+
longPieces.sort(cmpLenRev);
|
1591 |
+
mixedPieces.sort(cmpLenRev);
|
1592 |
+
for (i = 0; i < 7; i++) {
|
1593 |
+
shortPieces[i] = regexEscape(shortPieces[i]);
|
1594 |
+
longPieces[i] = regexEscape(longPieces[i]);
|
1595 |
+
mixedPieces[i] = regexEscape(mixedPieces[i]);
|
1596 |
+
}
|
1597 |
|
1598 |
+
this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
|
1599 |
+
this._weekdaysShortRegex = this._weekdaysRegex;
|
1600 |
+
this._weekdaysMinRegex = this._weekdaysRegex;
|
1601 |
|
1602 |
+
this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
|
1603 |
+
this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
|
1604 |
+
this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');
|
1605 |
+
}
|
1606 |
|
1607 |
+
// FORMATTING
|
1608 |
+
|
1609 |
+
function hFormat() {
|
1610 |
+
return this.hours() % 12 || 12;
|
1611 |
}
|
1612 |
|
1613 |
+
function kFormat() {
|
1614 |
+
return this.hours() || 24;
|
1615 |
}
|
1616 |
|
1617 |
+
addFormatToken('H', ['HH', 2], 0, 'hour');
|
1618 |
+
addFormatToken('h', ['hh', 2], 0, hFormat);
|
1619 |
+
addFormatToken('k', ['kk', 2], 0, kFormat);
|
1620 |
|
1621 |
+
addFormatToken('hmm', 0, 0, function () {
|
1622 |
+
return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
|
1623 |
+
});
|
1624 |
+
|
1625 |
+
addFormatToken('hmmss', 0, 0, function () {
|
1626 |
+
return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) +
|
1627 |
+
zeroFill(this.seconds(), 2);
|
1628 |
+
});
|
1629 |
+
|
1630 |
+
addFormatToken('Hmm', 0, 0, function () {
|
1631 |
+
return '' + this.hours() + zeroFill(this.minutes(), 2);
|
1632 |
+
});
|
1633 |
+
|
1634 |
+
addFormatToken('Hmmss', 0, 0, function () {
|
1635 |
+
return '' + this.hours() + zeroFill(this.minutes(), 2) +
|
1636 |
+
zeroFill(this.seconds(), 2);
|
1637 |
+
});
|
1638 |
+
|
1639 |
+
function meridiem (token, lowercase) {
|
1640 |
addFormatToken(token, 0, 0, function () {
|
1641 |
+
return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);
|
|
|
|
|
|
|
|
|
|
|
|
|
1642 |
});
|
1643 |
}
|
1644 |
|
1645 |
+
meridiem('a', true);
|
1646 |
+
meridiem('A', false);
|
1647 |
+
|
1648 |
+
// ALIASES
|
1649 |
+
|
1650 |
+
addUnitAlias('hour', 'h');
|
1651 |
+
|
1652 |
+
// PRIORITY
|
1653 |
+
addUnitPriority('hour', 13);
|
1654 |
|
1655 |
// PARSING
|
1656 |
|
1657 |
+
function matchMeridiem (isStrict, locale) {
|
1658 |
+
return locale._meridiemParse;
|
1659 |
+
}
|
|
|
|
|
|
|
1660 |
|
1661 |
+
addRegexToken('a', matchMeridiem);
|
1662 |
+
addRegexToken('A', matchMeridiem);
|
1663 |
+
addRegexToken('H', match1to2);
|
1664 |
+
addRegexToken('h', match1to2);
|
1665 |
+
addRegexToken('HH', match1to2, match2);
|
1666 |
+
addRegexToken('hh', match1to2, match2);
|
1667 |
|
1668 |
+
addRegexToken('hmm', match3to4);
|
1669 |
+
addRegexToken('hmmss', match5to6);
|
1670 |
+
addRegexToken('Hmm', match3to4);
|
1671 |
+
addRegexToken('Hmmss', match5to6);
|
1672 |
|
1673 |
+
addParseToken(['H', 'HH'], HOUR);
|
1674 |
+
addParseToken(['a', 'A'], function (input, array, config) {
|
1675 |
+
config._isPm = config._locale.isPM(input);
|
1676 |
+
config._meridiem = input;
|
1677 |
+
});
|
1678 |
+
addParseToken(['h', 'hh'], function (input, array, config) {
|
1679 |
+
array[HOUR] = toInt(input);
|
1680 |
+
getParsingFlags(config).bigHour = true;
|
1681 |
+
});
|
1682 |
+
addParseToken('hmm', function (input, array, config) {
|
1683 |
+
var pos = input.length - 2;
|
1684 |
+
array[HOUR] = toInt(input.substr(0, pos));
|
1685 |
+
array[MINUTE] = toInt(input.substr(pos));
|
1686 |
+
getParsingFlags(config).bigHour = true;
|
1687 |
+
});
|
1688 |
+
addParseToken('hmmss', function (input, array, config) {
|
1689 |
+
var pos1 = input.length - 4;
|
1690 |
+
var pos2 = input.length - 2;
|
1691 |
+
array[HOUR] = toInt(input.substr(0, pos1));
|
1692 |
+
array[MINUTE] = toInt(input.substr(pos1, 2));
|
1693 |
+
array[SECOND] = toInt(input.substr(pos2));
|
1694 |
+
getParsingFlags(config).bigHour = true;
|
1695 |
+
});
|
1696 |
+
addParseToken('Hmm', function (input, array, config) {
|
1697 |
+
var pos = input.length - 2;
|
1698 |
+
array[HOUR] = toInt(input.substr(0, pos));
|
1699 |
+
array[MINUTE] = toInt(input.substr(pos));
|
1700 |
+
});
|
1701 |
+
addParseToken('Hmmss', function (input, array, config) {
|
1702 |
+
var pos1 = input.length - 4;
|
1703 |
+
var pos2 = input.length - 2;
|
1704 |
+
array[HOUR] = toInt(input.substr(0, pos1));
|
1705 |
+
array[MINUTE] = toInt(input.substr(pos1, 2));
|
1706 |
+
array[SECOND] = toInt(input.substr(pos2));
|
1707 |
+
});
|
1708 |
|
1709 |
+
// LOCALES
|
1710 |
+
|
1711 |
+
function localeIsPM (input) {
|
1712 |
+
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
1713 |
+
// Using charAt should be more compatible.
|
1714 |
+
return ((input + '').toLowerCase().charAt(0) === 'p');
|
1715 |
}
|
1716 |
|
1717 |
+
var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i;
|
1718 |
+
function localeMeridiem (hours, minutes, isLower) {
|
1719 |
+
if (hours > 11) {
|
1720 |
+
return isLower ? 'pm' : 'PM';
|
|
|
|
|
|
|
|
|
|
|
|
|
1721 |
} else {
|
1722 |
+
return isLower ? 'am' : 'AM';
|
1723 |
}
|
1724 |
}
|
1725 |
|
|
|
|
|
|
|
|
|
|
|
1726 |
|
1727 |
+
// MOMENTS
|
1728 |
|
1729 |
+
// Setting the hour should keep the time, because the user explicitly
|
1730 |
+
// specified which hour he wants. So trying to maintain the same hour (in
|
1731 |
+
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
1732 |
+
// this rule.
|
1733 |
+
var getSetHour = makeGetSet('Hours', true);
|
1734 |
|
1735 |
+
var baseConfig = {
|
1736 |
+
calendar: defaultCalendar,
|
1737 |
+
longDateFormat: defaultLongDateFormat,
|
1738 |
+
invalidDate: defaultInvalidDate,
|
1739 |
+
ordinal: defaultOrdinal,
|
1740 |
+
ordinalParse: defaultOrdinalParse,
|
1741 |
+
relativeTime: defaultRelativeTime,
|
1742 |
|
1743 |
+
months: defaultLocaleMonths,
|
1744 |
+
monthsShort: defaultLocaleMonthsShort,
|
1745 |
+
|
1746 |
+
week: defaultLocaleWeek,
|
1747 |
+
|
1748 |
+
weekdays: defaultLocaleWeekdays,
|
1749 |
+
weekdaysMin: defaultLocaleWeekdaysMin,
|
1750 |
+
weekdaysShort: defaultLocaleWeekdaysShort,
|
1751 |
+
|
1752 |
+
meridiemParse: defaultLocaleMeridiemParse
|
1753 |
+
};
|
1754 |
+
|
1755 |
+
// internal storage for locale config files
|
1756 |
+
var locales = {};
|
1757 |
+
var globalLocale;
|
1758 |
+
|
1759 |
+
function normalizeLocale(key) {
|
1760 |
+
return key ? key.toLowerCase().replace('_', '-') : key;
|
1761 |
+
}
|
1762 |
+
|
1763 |
+
// pick the locale from the array
|
1764 |
+
// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
|
1765 |
+
// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
|
1766 |
+
function chooseLocale(names) {
|
1767 |
+
var i = 0, j, next, locale, split;
|
1768 |
+
|
1769 |
+
while (i < names.length) {
|
1770 |
+
split = normalizeLocale(names[i]).split('-');
|
1771 |
+
j = split.length;
|
1772 |
+
next = normalizeLocale(names[i + 1]);
|
1773 |
+
next = next ? next.split('-') : null;
|
1774 |
+
while (j > 0) {
|
1775 |
+
locale = loadLocale(split.slice(0, j).join('-'));
|
1776 |
+
if (locale) {
|
1777 |
+
return locale;
|
1778 |
+
}
|
1779 |
+
if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) {
|
1780 |
+
//the next array item is better than a shallower substring of this one
|
1781 |
+
break;
|
1782 |
+
}
|
1783 |
+
j--;
|
1784 |
}
|
1785 |
+
i++;
|
1786 |
+
}
|
1787 |
+
return null;
|
1788 |
+
}
|
1789 |
+
|
1790 |
+
function loadLocale(name) {
|
1791 |
+
var oldLocale = null;
|
1792 |
+
// TODO: Find a better way to register and load all the locales in Node
|
1793 |
+
if (!locales[name] && (typeof module !== 'undefined') &&
|
1794 |
+
module && module.exports) {
|
1795 |
+
try {
|
1796 |
+
oldLocale = globalLocale._abbr;
|
1797 |
+
require('./locale/' + name);
|
1798 |
+
// because defineLocale currently also sets the global locale, we
|
1799 |
+
// want to undo that for lazy loaded locales
|
1800 |
+
locale_locales__getSetGlobalLocale(oldLocale);
|
1801 |
+
} catch (e) { }
|
1802 |
+
}
|
1803 |
+
return locales[name];
|
1804 |
+
}
|
1805 |
+
|
1806 |
+
// This function will load locale and then set the global locale. If
|
1807 |
+
// no arguments are passed in, it will simply return the current global
|
1808 |
+
// locale key.
|
1809 |
+
function locale_locales__getSetGlobalLocale (key, values) {
|
1810 |
+
var data;
|
1811 |
+
if (key) {
|
1812 |
+
if (isUndefined(values)) {
|
1813 |
+
data = locale_locales__getLocale(key);
|
1814 |
}
|
1815 |
+
else {
|
1816 |
+
data = defineLocale(key, values);
|
|
|
|
|
1817 |
}
|
1818 |
+
|
1819 |
+
if (data) {
|
1820 |
+
// moment.duration._locale = moment._locale = data;
|
1821 |
+
globalLocale = data;
|
|
|
|
|
|
|
|
|
1822 |
}
|
|
|
|
|
|
|
1823 |
}
|
1824 |
+
|
1825 |
+
return globalLocale._abbr;
|
1826 |
}
|
1827 |
|
1828 |
+
function defineLocale (name, config) {
|
1829 |
+
if (config !== null) {
|
1830 |
+
var parentConfig = baseConfig;
|
1831 |
+
config.abbr = name;
|
1832 |
+
if (locales[name] != null) {
|
1833 |
+
deprecateSimple('defineLocaleOverride',
|
1834 |
+
'use moment.updateLocale(localeName, config) to change ' +
|
1835 |
+
'an existing locale. moment.defineLocale(localeName, ' +
|
1836 |
+
'config) should only be used for creating a new locale ' +
|
1837 |
+
'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');
|
1838 |
+
parentConfig = locales[name]._config;
|
1839 |
+
} else if (config.parentLocale != null) {
|
1840 |
+
if (locales[config.parentLocale] != null) {
|
1841 |
+
parentConfig = locales[config.parentLocale]._config;
|
1842 |
+
} else {
|
1843 |
+
// treat as if there is no base config
|
1844 |
+
deprecateSimple('parentLocaleUndefined',
|
1845 |
+
'specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/');
|
1846 |
+
}
|
1847 |
}
|
1848 |
+
locales[name] = new Locale(mergeConfigs(parentConfig, config));
|
1849 |
|
1850 |
+
// backwards compat for now: also set the locale
|
1851 |
+
locale_locales__getSetGlobalLocale(name);
|
1852 |
|
1853 |
+
return locales[name];
|
1854 |
} else {
|
1855 |
+
// useful for testing
|
1856 |
+
delete locales[name];
|
1857 |
+
return null;
|
1858 |
}
|
1859 |
}
|
1860 |
|
1861 |
+
function updateLocale(name, config) {
|
1862 |
+
if (config != null) {
|
1863 |
+
var locale, parentConfig = baseConfig;
|
1864 |
+
// MERGE
|
1865 |
+
if (locales[name] != null) {
|
1866 |
+
parentConfig = locales[name]._config;
|
1867 |
+
}
|
1868 |
+
config = mergeConfigs(parentConfig, config);
|
1869 |
+
locale = new Locale(config);
|
1870 |
+
locale.parentLocale = locales[name];
|
1871 |
+
locales[name] = locale;
|
1872 |
|
1873 |
+
// backwards compat for now: also set the locale
|
1874 |
+
locale_locales__getSetGlobalLocale(name);
|
1875 |
+
} else {
|
1876 |
+
// pass null for config to unupdate, useful for tests
|
1877 |
+
if (locales[name] != null) {
|
1878 |
+
if (locales[name].parentLocale != null) {
|
1879 |
+
locales[name] = locales[name].parentLocale;
|
1880 |
+
} else if (locales[name] != null) {
|
1881 |
+
delete locales[name];
|
1882 |
+
}
|
1883 |
}
|
1884 |
}
|
1885 |
+
return locales[name];
|
1886 |
}
|
1887 |
|
1888 |
+
// returns locale data
|
1889 |
+
function locale_locales__getLocale (key) {
|
1890 |
+
var locale;
|
1891 |
+
|
1892 |
+
if (key && key._locale && key._locale._abbr) {
|
1893 |
+
key = key._locale._abbr;
|
1894 |
}
|
|
|
|
|
1895 |
|
1896 |
+
if (!key) {
|
1897 |
+
return globalLocale;
|
|
|
1898 |
}
|
|
|
1899 |
|
1900 |
+
if (!isArray(key)) {
|
1901 |
+
//short-circuit everything else
|
1902 |
+
locale = loadLocale(key);
|
1903 |
+
if (locale) {
|
1904 |
+
return locale;
|
1905 |
+
}
|
1906 |
+
key = [key];
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
return chooseLocale(key);
|
1910 |
}
|
1911 |
|
1912 |
+
function locale_locales__listLocales() {
|
1913 |
+
return keys(locales);
|
|
|
|
|
|
|
1914 |
}
|
1915 |
|
1916 |
+
function checkOverflow (m) {
|
1917 |
+
var overflow;
|
1918 |
+
var a = m._a;
|
|
|
1919 |
|
1920 |
+
if (a && getParsingFlags(m).overflow === -2) {
|
1921 |
+
overflow =
|
1922 |
+
a[MONTH] < 0 || a[MONTH] > 11 ? MONTH :
|
1923 |
+
a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE :
|
1924 |
+
a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR :
|
1925 |
+
a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE :
|
1926 |
+
a[SECOND] < 0 || a[SECOND] > 59 ? SECOND :
|
1927 |
+
a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND :
|
1928 |
+
-1;
|
1929 |
|
1930 |
+
if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
|
1931 |
+
overflow = DATE;
|
1932 |
+
}
|
1933 |
+
if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
|
1934 |
+
overflow = WEEK;
|
1935 |
+
}
|
1936 |
+
if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
|
1937 |
+
overflow = WEEKDAY;
|
1938 |
+
}
|
1939 |
|
1940 |
+
getParsingFlags(m).overflow = overflow;
|
|
|
|
|
|
|
|
|
|
|
1941 |
}
|
1942 |
|
1943 |
+
return m;
|
|
|
|
|
|
|
|
|
1944 |
}
|
1945 |
|
1946 |
+
// iso 8601 regex
|
1947 |
+
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
1948 |
+
var extendedIsoRegex = /^\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)?)?/;
|
1949 |
+
var basicIsoRegex = /^\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)?)?/;
|
1950 |
|
1951 |
+
var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/;
|
|
|
|
|
1952 |
|
1953 |
+
var isoDates = [
|
1954 |
+
['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
|
1955 |
+
['YYYY-MM-DD', /\d{4}-\d\d-\d\d/],
|
1956 |
+
['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/],
|
1957 |
+
['GGGG-[W]WW', /\d{4}-W\d\d/, false],
|
1958 |
+
['YYYY-DDD', /\d{4}-\d{3}/],
|
1959 |
+
['YYYY-MM', /\d{4}-\d\d/, false],
|
1960 |
+
['YYYYYYMMDD', /[+-]\d{10}/],
|
1961 |
+
['YYYYMMDD', /\d{8}/],
|
1962 |
+
// YYYYMM is NOT allowed by the standard
|
1963 |
+
['GGGG[W]WWE', /\d{4}W\d{3}/],
|
1964 |
+
['GGGG[W]WW', /\d{4}W\d{2}/, false],
|
1965 |
+
['YYYYDDD', /\d{7}/]
|
1966 |
+
];
|
1967 |
|
1968 |
+
// iso time formats and regexes
|
1969 |
+
var isoTimes = [
|
1970 |
+
['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/],
|
1971 |
+
['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/],
|
1972 |
+
['HH:mm:ss', /\d\d:\d\d:\d\d/],
|
1973 |
+
['HH:mm', /\d\d:\d\d/],
|
1974 |
+
['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/],
|
1975 |
+
['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/],
|
1976 |
+
['HHmmss', /\d\d\d\d\d\d/],
|
1977 |
+
['HHmm', /\d\d\d\d/],
|
1978 |
+
['HH', /\d\d/]
|
1979 |
+
];
|
1980 |
|
1981 |
+
var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1982 |
|
1983 |
+
// date from iso format
|
1984 |
+
function configFromISO(config) {
|
1985 |
+
var i, l,
|
1986 |
+
string = config._i,
|
1987 |
+
match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
|
1988 |
+
allowTime, dateFormat, timeFormat, tzFormat;
|
1989 |
|
1990 |
+
if (match) {
|
1991 |
+
getParsingFlags(config).iso = true;
|
1992 |
|
1993 |
+
for (i = 0, l = isoDates.length; i < l; i++) {
|
1994 |
+
if (isoDates[i][1].exec(match[1])) {
|
1995 |
+
dateFormat = isoDates[i][0];
|
1996 |
+
allowTime = isoDates[i][2] !== false;
|
1997 |
+
break;
|
1998 |
+
}
|
1999 |
+
}
|
2000 |
+
if (dateFormat == null) {
|
2001 |
+
config._isValid = false;
|
2002 |
+
return;
|
2003 |
+
}
|
2004 |
+
if (match[3]) {
|
2005 |
+
for (i = 0, l = isoTimes.length; i < l; i++) {
|
2006 |
+
if (isoTimes[i][1].exec(match[3])) {
|
2007 |
+
// match[2] should be 'T' or space
|
2008 |
+
timeFormat = (match[2] || ' ') + isoTimes[i][0];
|
2009 |
+
break;
|
2010 |
+
}
|
2011 |
+
}
|
2012 |
+
if (timeFormat == null) {
|
2013 |
+
config._isValid = false;
|
2014 |
+
return;
|
2015 |
+
}
|
2016 |
+
}
|
2017 |
+
if (!allowTime && timeFormat != null) {
|
2018 |
+
config._isValid = false;
|
2019 |
+
return;
|
2020 |
+
}
|
2021 |
+
if (match[4]) {
|
2022 |
+
if (tzRegex.exec(match[4])) {
|
2023 |
+
tzFormat = 'Z';
|
2024 |
+
} else {
|
2025 |
+
config._isValid = false;
|
2026 |
+
return;
|
2027 |
+
}
|
2028 |
+
}
|
2029 |
+
config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
|
2030 |
+
configFromStringAndFormat(config);
|
2031 |
+
} else {
|
2032 |
+
config._isValid = false;
|
2033 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2034 |
}
|
2035 |
|
2036 |
+
// date from iso format or fallback
|
2037 |
+
function configFromString(config) {
|
2038 |
+
var matched = aspNetJsonRegex.exec(config._i);
|
2039 |
|
2040 |
+
if (matched !== null) {
|
2041 |
+
config._d = new Date(+matched[1]);
|
2042 |
+
return;
|
|
|
2043 |
}
|
2044 |
|
2045 |
+
configFromISO(config);
|
2046 |
+
if (config._isValid === false) {
|
2047 |
+
delete config._isValid;
|
2048 |
+
utils_hooks__hooks.createFromInputFallback(config);
|
2049 |
+
}
|
2050 |
}
|
2051 |
|
2052 |
+
utils_hooks__hooks.createFromInputFallback = deprecate(
|
2053 |
+
'value provided is not in a recognized ISO format. moment construction falls back to js Date(), ' +
|
2054 |
+
'which is not reliable across all browsers and versions. Non ISO date formats are ' +
|
2055 |
+
'discouraged and will be removed in an upcoming major release. Please refer to ' +
|
2056 |
+
'http://momentjs.com/guides/#/warnings/js-date/ for more info.',
|
2057 |
+
function (config) {
|
2058 |
+
config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
|
2059 |
}
|
2060 |
+
);
|
2061 |
|
2062 |
+
// Pick the first defined of two or three arguments.
|
2063 |
+
function defaults(a, b, c) {
|
2064 |
+
if (a != null) {
|
2065 |
+
return a;
|
|
|
|
|
|
|
2066 |
}
|
2067 |
+
if (b != null) {
|
2068 |
+
return b;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2069 |
}
|
2070 |
+
return c;
|
2071 |
}
|
2072 |
|
2073 |
+
function currentDateArray(config) {
|
2074 |
+
// hooks is actually the exported moment object
|
2075 |
+
var nowValue = new Date(utils_hooks__hooks.now());
|
2076 |
+
if (config._useUTC) {
|
2077 |
+
return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];
|
2078 |
+
}
|
2079 |
+
return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2080 |
}
|
2081 |
|
2082 |
+
// convert an array to a date.
|
2083 |
+
// the array should mirror the parameters below
|
2084 |
+
// note: all values past the year are optional and will default to the lowest possible value.
|
2085 |
+
// [year, month, day , hour, minute, second, millisecond]
|
2086 |
+
function configFromArray (config) {
|
2087 |
+
var i, date, input = [], currentDate, yearToUse;
|
2088 |
|
2089 |
+
if (config._d) {
|
|
|
2090 |
return;
|
2091 |
}
|
2092 |
|
2093 |
+
currentDate = currentDateArray(config);
|
2094 |
|
2095 |
+
//compute day of the year from weeks and weekdays
|
2096 |
+
if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
|
2097 |
+
dayOfYearFromWeekInfo(config);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2098 |
}
|
|
|
2099 |
|
2100 |
+
//if the day of the year is set, figure out what it is
|
2101 |
+
if (config._dayOfYear) {
|
2102 |
+
yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
|
2103 |
|
2104 |
+
if (config._dayOfYear > daysInYear(yearToUse)) {
|
2105 |
+
getParsingFlags(config)._overflowDayOfYear = true;
|
2106 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2107 |
|
2108 |
+
date = createUTCDate(yearToUse, 0, config._dayOfYear);
|
2109 |
+
config._a[MONTH] = date.getUTCMonth();
|
2110 |
+
config._a[DATE] = date.getUTCDate();
|
2111 |
+
}
|
2112 |
|
2113 |
+
// Default to current date.
|
2114 |
+
// * if no year, month, day of month are given, default to today
|
2115 |
+
// * if day of month is given, default month and year
|
2116 |
+
// * if month is given, default only year
|
2117 |
+
// * if year is given, don't default anything
|
2118 |
+
for (i = 0; i < 3 && config._a[i] == null; ++i) {
|
2119 |
+
config._a[i] = input[i] = currentDate[i];
|
2120 |
+
}
|
2121 |
|
2122 |
+
// Zero out whatever was not defaulted, including time
|
2123 |
+
for (; i < 7; i++) {
|
2124 |
+
config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i];
|
|
|
|
|
|
|
|
|
|
|
2125 |
}
|
2126 |
+
|
2127 |
+
// Check for 24:00:00.000
|
2128 |
+
if (config._a[HOUR] === 24 &&
|
2129 |
+
config._a[MINUTE] === 0 &&
|
2130 |
+
config._a[SECOND] === 0 &&
|
2131 |
+
config._a[MILLISECOND] === 0) {
|
2132 |
+
config._nextDay = true;
|
2133 |
+
config._a[HOUR] = 0;
|
2134 |
}
|
|
|
2135 |
|
2136 |
+
config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);
|
2137 |
+
// Apply timezone offset from input. The actual utcOffset can be changed
|
2138 |
+
// with parseZone.
|
2139 |
+
if (config._tzm != null) {
|
2140 |
+
config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
|
2141 |
}
|
2142 |
+
|
2143 |
+
if (config._nextDay) {
|
2144 |
+
config._a[HOUR] = 24;
|
|
|
|
|
2145 |
}
|
2146 |
}
|
2147 |
|
2148 |
+
function dayOfYearFromWeekInfo(config) {
|
2149 |
+
var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow;
|
|
|
|
|
|
|
2150 |
|
2151 |
+
w = config._w;
|
2152 |
+
if (w.GG != null || w.W != null || w.E != null) {
|
2153 |
+
dow = 1;
|
2154 |
+
doy = 4;
|
2155 |
+
|
2156 |
+
// TODO: We need to take the current isoWeekYear, but that depends on
|
2157 |
+
// how we interpret now (local, utc, fixed offset). So create
|
2158 |
+
// a now version of current config (take local/utc/offset flags, and
|
2159 |
+
// create now).
|
2160 |
+
weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(local__createLocal(), 1, 4).year);
|
2161 |
+
week = defaults(w.W, 1);
|
2162 |
+
weekday = defaults(w.E, 1);
|
2163 |
+
if (weekday < 1 || weekday > 7) {
|
2164 |
+
weekdayOverflow = true;
|
2165 |
+
}
|
2166 |
} else {
|
2167 |
+
dow = config._locale._week.dow;
|
2168 |
+
doy = config._locale._week.doy;
|
|
|
|
|
2169 |
|
2170 |
+
weekYear = defaults(w.gg, config._a[YEAR], weekOfYear(local__createLocal(), dow, doy).year);
|
2171 |
+
week = defaults(w.w, 1);
|
|
|
2172 |
|
2173 |
+
if (w.d != null) {
|
2174 |
+
// weekday -- low day numbers are considered next week
|
2175 |
+
weekday = w.d;
|
2176 |
+
if (weekday < 0 || weekday > 6) {
|
2177 |
+
weekdayOverflow = true;
|
2178 |
+
}
|
2179 |
+
} else if (w.e != null) {
|
2180 |
+
// local weekday -- counting starts from begining of week
|
2181 |
+
weekday = w.e + dow;
|
2182 |
+
if (w.e < 0 || w.e > 6) {
|
2183 |
+
weekdayOverflow = true;
|
2184 |
+
}
|
2185 |
+
} else {
|
2186 |
+
// default to begining of week
|
2187 |
+
weekday = dow;
|
2188 |
+
}
|
2189 |
+
}
|
2190 |
+
if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
|
2191 |
+
getParsingFlags(config)._overflowWeeks = true;
|
2192 |
+
} else if (weekdayOverflow != null) {
|
2193 |
+
getParsingFlags(config)._overflowWeekday = true;
|
2194 |
+
} else {
|
2195 |
+
temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
|
2196 |
+
config._a[YEAR] = temp.year;
|
2197 |
+
config._dayOfYear = temp.dayOfYear;
|
2198 |
+
}
|
2199 |
}
|
2200 |
|
2201 |
+
// constant that refers to the ISO standard
|
2202 |
+
utils_hooks__hooks.ISO_8601 = function () {};
|
|
|
|
|
2203 |
|
2204 |
+
// date from string and format string
|
2205 |
+
function configFromStringAndFormat(config) {
|
2206 |
+
// TODO: Move this to another part of the creation flow to prevent circular deps
|
2207 |
+
if (config._f === utils_hooks__hooks.ISO_8601) {
|
2208 |
+
configFromISO(config);
|
2209 |
+
return;
|
2210 |
}
|
2211 |
|
2212 |
+
config._a = [];
|
2213 |
+
getParsingFlags(config).empty = true;
|
|
|
|
|
|
|
2214 |
|
2215 |
+
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
2216 |
+
var string = '' + config._i,
|
2217 |
+
i, parsedInput, tokens, token, skipped,
|
2218 |
+
stringLength = string.length,
|
2219 |
+
totalParsedInputLength = 0;
|
2220 |
|
2221 |
+
tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];
|
2222 |
|
2223 |
+
for (i = 0; i < tokens.length; i++) {
|
2224 |
+
token = tokens[i];
|
2225 |
+
parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
|
2226 |
+
// console.log('token', token, 'parsedInput', parsedInput,
|
2227 |
+
// 'regex', getParseRegexForToken(token, config));
|
2228 |
+
if (parsedInput) {
|
2229 |
+
skipped = string.substr(0, string.indexOf(parsedInput));
|
2230 |
+
if (skipped.length > 0) {
|
2231 |
+
getParsingFlags(config).unusedInput.push(skipped);
|
2232 |
+
}
|
2233 |
+
string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
|
2234 |
+
totalParsedInputLength += parsedInput.length;
|
2235 |
+
}
|
2236 |
+
// don't parse if it's not a known token
|
2237 |
+
if (formatTokenFunctions[token]) {
|
2238 |
+
if (parsedInput) {
|
2239 |
+
getParsingFlags(config).empty = false;
|
2240 |
+
}
|
2241 |
+
else {
|
2242 |
+
getParsingFlags(config).unusedTokens.push(token);
|
2243 |
+
}
|
2244 |
+
addTimeToArrayFromToken(token, parsedInput, config);
|
2245 |
+
}
|
2246 |
+
else if (config._strict && !parsedInput) {
|
2247 |
+
getParsingFlags(config).unusedTokens.push(token);
|
2248 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2249 |
}
|
|
|
|
|
2250 |
|
2251 |
+
// add remaining unparsed input length to the string
|
2252 |
+
getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
|
2253 |
+
if (string.length > 0) {
|
2254 |
+
getParsingFlags(config).unusedInput.push(string);
|
2255 |
+
}
|
|
|
2256 |
|
2257 |
+
// clear _12h flag if hour is <= 12
|
2258 |
+
if (config._a[HOUR] <= 12 &&
|
2259 |
+
getParsingFlags(config).bigHour === true &&
|
2260 |
+
config._a[HOUR] > 0) {
|
2261 |
+
getParsingFlags(config).bigHour = undefined;
|
|
|
|
|
|
|
2262 |
}
|
2263 |
|
2264 |
+
getParsingFlags(config).parsedDateParts = config._a.slice(0);
|
2265 |
+
getParsingFlags(config).meridiem = config._meridiem;
|
2266 |
+
// handle meridiem
|
2267 |
+
config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
|
2268 |
+
|
2269 |
+
configFromArray(config);
|
2270 |
+
checkOverflow(config);
|
2271 |
}
|
2272 |
|
|
|
|
|
2273 |
|
2274 |
+
function meridiemFixWrap (locale, hour, meridiem) {
|
2275 |
+
var isPm;
|
|
|
2276 |
|
2277 |
+
if (meridiem == null) {
|
2278 |
+
// nothing to do
|
2279 |
+
return hour;
|
2280 |
+
}
|
2281 |
+
if (locale.meridiemHour != null) {
|
2282 |
+
return locale.meridiemHour(hour, meridiem);
|
2283 |
+
} else if (locale.isPM != null) {
|
2284 |
+
// Fallback
|
2285 |
+
isPm = locale.isPM(meridiem);
|
2286 |
+
if (isPm && hour < 12) {
|
2287 |
+
hour += 12;
|
2288 |
+
}
|
2289 |
+
if (!isPm && hour === 12) {
|
2290 |
+
hour = 0;
|
2291 |
}
|
2292 |
+
return hour;
|
2293 |
} else {
|
2294 |
+
// this is not supposed to happen
|
2295 |
+
return hour;
|
2296 |
}
|
2297 |
}
|
2298 |
|
2299 |
+
// date from string and array of format strings
|
2300 |
+
function configFromStringAndArray(config) {
|
2301 |
+
var tempConfig,
|
2302 |
+
bestMoment,
|
|
|
|
|
|
|
2303 |
|
2304 |
+
scoreToBeat,
|
2305 |
+
i,
|
2306 |
+
currentScore;
|
2307 |
+
|
2308 |
+
if (config._f.length === 0) {
|
2309 |
+
getParsingFlags(config).invalidFormat = true;
|
2310 |
+
config._d = new Date(NaN);
|
2311 |
+
return;
|
2312 |
}
|
|
|
2313 |
|
2314 |
+
for (i = 0; i < config._f.length; i++) {
|
2315 |
+
currentScore = 0;
|
2316 |
+
tempConfig = copyConfig({}, config);
|
2317 |
+
if (config._useUTC != null) {
|
2318 |
+
tempConfig._useUTC = config._useUTC;
|
2319 |
+
}
|
2320 |
+
tempConfig._f = config._f[i];
|
2321 |
+
configFromStringAndFormat(tempConfig);
|
2322 |
|
2323 |
+
if (!valid__isValid(tempConfig)) {
|
2324 |
+
continue;
|
2325 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2326 |
|
2327 |
+
// if there is any input that was not parsed add a penalty for that format
|
2328 |
+
currentScore += getParsingFlags(tempConfig).charsLeftOver;
|
|
|
2329 |
|
2330 |
+
//or tokens
|
2331 |
+
currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
|
|
|
|
|
|
|
2332 |
|
2333 |
+
getParsingFlags(tempConfig).score = currentScore;
|
2334 |
+
|
2335 |
+
if (scoreToBeat == null || currentScore < scoreToBeat) {
|
2336 |
+
scoreToBeat = currentScore;
|
2337 |
+
bestMoment = tempConfig;
|
|
|
2338 |
}
|
|
|
2339 |
}
|
2340 |
+
|
2341 |
+
extend(config, bestMoment || tempConfig);
|
2342 |
}
|
2343 |
|
2344 |
+
function configFromObject(config) {
|
2345 |
+
if (config._d) {
|
2346 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
2347 |
}
|
|
|
2348 |
|
2349 |
+
var i = normalizeObjectUnits(config._i);
|
2350 |
+
config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) {
|
2351 |
+
return obj && parseInt(obj, 10);
|
2352 |
+
});
|
2353 |
+
|
2354 |
+
configFromArray(config);
|
2355 |
}
|
2356 |
|
2357 |
+
function createFromConfig (config) {
|
2358 |
+
var res = new Moment(checkOverflow(prepareConfig(config)));
|
2359 |
+
if (res._nextDay) {
|
2360 |
+
// Adding is smart enough around DST
|
2361 |
+
res.add(1, 'd');
|
2362 |
+
res._nextDay = undefined;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2363 |
}
|
2364 |
|
2365 |
+
return res;
|
2366 |
+
}
|
2367 |
+
|
2368 |
+
function prepareConfig (config) {
|
2369 |
+
var input = config._i,
|
2370 |
+
format = config._f;
|
2371 |
+
|
2372 |
+
config._locale = config._locale || locale_locales__getLocale(config._l);
|
2373 |
+
|
2374 |
+
if (input === null || (format === undefined && input === '')) {
|
2375 |
+
return valid__createInvalid({nullInput: true});
|
2376 |
}
|
2377 |
+
|
2378 |
+
if (typeof input === 'string') {
|
2379 |
+
config._i = input = config._locale.preparse(input);
|
2380 |
}
|
2381 |
|
2382 |
+
if (isMoment(input)) {
|
2383 |
+
return new Moment(checkOverflow(input));
|
2384 |
+
} else if (isArray(format)) {
|
2385 |
+
configFromStringAndArray(config);
|
2386 |
+
} else if (isDate(input)) {
|
2387 |
+
config._d = input;
|
2388 |
+
} else if (format) {
|
2389 |
+
configFromStringAndFormat(config);
|
2390 |
+
} else {
|
2391 |
+
configFromInput(config);
|
2392 |
}
|
2393 |
|
2394 |
+
if (!valid__isValid(config)) {
|
2395 |
+
config._d = null;
|
2396 |
+
}
|
2397 |
+
|
2398 |
+
return config;
|
2399 |
}
|
2400 |
|
2401 |
+
function configFromInput(config) {
|
2402 |
+
var input = config._i;
|
2403 |
+
if (input === undefined) {
|
2404 |
+
config._d = new Date(utils_hooks__hooks.now());
|
2405 |
+
} else if (isDate(input)) {
|
2406 |
+
config._d = new Date(input.valueOf());
|
2407 |
+
} else if (typeof input === 'string') {
|
2408 |
+
configFromString(config);
|
2409 |
+
} else if (isArray(input)) {
|
2410 |
+
config._a = map(input.slice(0), function (obj) {
|
2411 |
+
return parseInt(obj, 10);
|
2412 |
+
});
|
2413 |
+
configFromArray(config);
|
2414 |
+
} else if (typeof(input) === 'object') {
|
2415 |
+
configFromObject(config);
|
2416 |
+
} else if (typeof(input) === 'number') {
|
2417 |
+
// from milliseconds
|
2418 |
+
config._d = new Date(input);
|
2419 |
+
} else {
|
2420 |
+
utils_hooks__hooks.createFromInputFallback(config);
|
2421 |
}
|
2422 |
+
}
|
2423 |
|
2424 |
+
function createLocalOrUTC (input, format, locale, strict, isUTC) {
|
2425 |
+
var c = {};
|
2426 |
+
|
2427 |
+
if (typeof(locale) === 'boolean') {
|
2428 |
+
strict = locale;
|
2429 |
+
locale = undefined;
|
2430 |
}
|
2431 |
|
2432 |
+
if ((isObject(input) && isObjectEmpty(input)) ||
|
2433 |
+
(isArray(input) && input.length === 0)) {
|
2434 |
+
input = undefined;
|
2435 |
+
}
|
2436 |
+
// object construction must be done this way.
|
2437 |
+
// https://github.com/moment/moment/issues/1423
|
2438 |
+
c._isAMomentObject = true;
|
2439 |
+
c._useUTC = c._isUTC = isUTC;
|
2440 |
+
c._l = locale;
|
2441 |
+
c._i = input;
|
2442 |
+
c._f = format;
|
2443 |
+
c._strict = strict;
|
2444 |
|
2445 |
+
return createFromConfig(c);
|
|
|
2446 |
}
|
2447 |
|
2448 |
+
function local__createLocal (input, format, locale, strict) {
|
2449 |
+
return createLocalOrUTC(input, format, locale, strict, false);
|
2450 |
}
|
2451 |
|
2452 |
+
var prototypeMin = deprecate(
|
2453 |
+
'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',
|
2454 |
+
function () {
|
2455 |
+
var other = local__createLocal.apply(null, arguments);
|
2456 |
+
if (this.isValid() && other.isValid()) {
|
2457 |
+
return other < this ? this : other;
|
2458 |
+
} else {
|
2459 |
+
return valid__createInvalid();
|
2460 |
+
}
|
2461 |
+
}
|
2462 |
+
);
|
2463 |
|
2464 |
+
var prototypeMax = deprecate(
|
2465 |
+
'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',
|
2466 |
+
function () {
|
2467 |
+
var other = local__createLocal.apply(null, arguments);
|
2468 |
+
if (this.isValid() && other.isValid()) {
|
2469 |
+
return other > this ? this : other;
|
2470 |
+
} else {
|
2471 |
+
return valid__createInvalid();
|
2472 |
+
}
|
2473 |
+
}
|
2474 |
+
);
|
2475 |
|
2476 |
+
// Pick a moment m from moments so that m[fn](other) is true for all
|
2477 |
+
// other. This relies on the function fn to be transitive.
|
2478 |
+
//
|
2479 |
+
// moments should either be an array of moment objects or an array, whose
|
2480 |
+
// first element is an array of moment objects.
|
2481 |
+
function pickBy(fn, moments) {
|
2482 |
+
var res, i;
|
2483 |
+
if (moments.length === 1 && isArray(moments[0])) {
|
2484 |
+
moments = moments[0];
|
2485 |
+
}
|
2486 |
+
if (!moments.length) {
|
2487 |
+
return local__createLocal();
|
2488 |
+
}
|
2489 |
+
res = moments[0];
|
2490 |
+
for (i = 1; i < moments.length; ++i) {
|
2491 |
+
if (!moments[i].isValid() || moments[i][fn](res)) {
|
2492 |
+
res = moments[i];
|
2493 |
+
}
|
2494 |
+
}
|
2495 |
+
return res;
|
2496 |
}
|
2497 |
|
2498 |
+
// TODO: Use [].sort instead?
|
2499 |
+
function min () {
|
2500 |
+
var args = [].slice.call(arguments, 0);
|
|
|
2501 |
|
2502 |
+
return pickBy('isBefore', args);
|
|
|
2503 |
}
|
2504 |
|
2505 |
+
function max () {
|
2506 |
+
var args = [].slice.call(arguments, 0);
|
|
|
2507 |
|
2508 |
+
return pickBy('isAfter', args);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2509 |
}
|
2510 |
|
2511 |
+
var now = function () {
|
2512 |
+
return Date.now ? Date.now() : +(new Date());
|
2513 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2514 |
|
2515 |
+
function Duration (duration) {
|
2516 |
+
var normalizedInput = normalizeObjectUnits(duration),
|
2517 |
+
years = normalizedInput.year || 0,
|
2518 |
+
quarters = normalizedInput.quarter || 0,
|
2519 |
+
months = normalizedInput.month || 0,
|
2520 |
+
weeks = normalizedInput.week || 0,
|
2521 |
+
days = normalizedInput.day || 0,
|
2522 |
+
hours = normalizedInput.hour || 0,
|
2523 |
+
minutes = normalizedInput.minute || 0,
|
2524 |
+
seconds = normalizedInput.second || 0,
|
2525 |
+
milliseconds = normalizedInput.millisecond || 0;
|
2526 |
|
2527 |
+
// representation for dateAddRemove
|
2528 |
+
this._milliseconds = +milliseconds +
|
2529 |
+
seconds * 1e3 + // 1000
|
2530 |
+
minutes * 6e4 + // 1000 * 60
|
2531 |
+
hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
|
2532 |
+
// Because of dateAddRemove treats 24 hours as different from a
|
2533 |
+
// day when working around DST, we need to store them separately
|
2534 |
+
this._days = +days +
|
2535 |
+
weeks * 7;
|
2536 |
+
// It is impossible translate months into days without knowing
|
2537 |
+
// which months you are are talking about, so we have to store
|
2538 |
+
// it separately.
|
2539 |
+
this._months = +months +
|
2540 |
+
quarters * 3 +
|
2541 |
+
years * 12;
|
2542 |
|
2543 |
+
this._data = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2544 |
|
2545 |
+
this._locale = locale_locales__getLocale();
|
|
|
|
|
|
|
2546 |
|
2547 |
+
this._bubble();
|
|
|
2548 |
}
|
2549 |
|
2550 |
+
function isDuration (obj) {
|
2551 |
+
return obj instanceof Duration;
|
|
|
2552 |
}
|
2553 |
|
2554 |
+
function absRound (number) {
|
2555 |
+
if (number < 0) {
|
2556 |
+
return Math.round(-1 * number) * -1;
|
|
|
2557 |
} else {
|
2558 |
+
return Math.round(number);
|
|
|
|
|
|
|
|
|
2559 |
}
|
2560 |
}
|
2561 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2562 |
// FORMATTING
|
2563 |
|
2564 |
+
function offset (token, separator) {
|
2565 |
+
addFormatToken(token, 0, 0, function () {
|
2566 |
+
var offset = this.utcOffset();
|
2567 |
+
var sign = '+';
|
2568 |
+
if (offset < 0) {
|
2569 |
+
offset = -offset;
|
2570 |
+
sign = '-';
|
2571 |
+
}
|
2572 |
+
return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2);
|
2573 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2574 |
}
|
2575 |
|
2576 |
+
offset('Z', ':');
|
2577 |
+
offset('ZZ', '');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2578 |
|
2579 |
// PARSING
|
2580 |
|
2581 |
+
addRegexToken('Z', matchShortOffset);
|
2582 |
+
addRegexToken('ZZ', matchShortOffset);
|
2583 |
+
addParseToken(['Z', 'ZZ'], function (input, array, config) {
|
2584 |
+
config._useUTC = true;
|
2585 |
+
config._tzm = offsetFromString(matchShortOffset, input);
|
|
|
|
|
2586 |
});
|
2587 |
|
2588 |
// HELPERS
|
2589 |
|
2590 |
+
// timezone chunker
|
2591 |
+
// '+10:00' > ['10', '00']
|
2592 |
+
// '-1530' > ['-15', '30']
|
2593 |
+
var chunkOffset = /([\+\-]|\d\d)/gi;
|
|
|
|
|
|
|
|
|
|
|
|
|
2594 |
|
2595 |
+
function offsetFromString(matcher, string) {
|
2596 |
+
var matches = ((string || '').match(matcher) || []);
|
2597 |
+
var chunk = matches[matches.length - 1] || [];
|
2598 |
+
var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
|
2599 |
+
var minutes = +(parts[1] * 60) + toInt(parts[2]);
|
2600 |
|
2601 |
+
return parts[0] === '+' ? minutes : -minutes;
|
|
|
2602 |
}
|
2603 |
|
2604 |
+
// Return a moment from input, that is local/utc/zone equivalent to model.
|
2605 |
+
function cloneWithOffset(input, model) {
|
2606 |
+
var res, diff;
|
2607 |
+
if (model._isUTC) {
|
2608 |
+
res = model.clone();
|
2609 |
+
diff = (isMoment(input) || isDate(input) ? input.valueOf() : local__createLocal(input).valueOf()) - res.valueOf();
|
2610 |
+
// Use low-level api, because this fn is low-level api.
|
2611 |
+
res._d.setTime(res._d.valueOf() + diff);
|
2612 |
+
utils_hooks__hooks.updateOffset(res, false);
|
2613 |
+
return res;
|
2614 |
+
} else {
|
2615 |
+
return local__createLocal(input).local();
|
2616 |
+
}
|
2617 |
}
|
2618 |
|
2619 |
+
function getDateOffset (m) {
|
2620 |
+
// On Firefox.24 Date#getTimezoneOffset returns a floating point.
|
2621 |
+
// https://github.com/moment/moment/pull/1871
|
2622 |
+
return -Math.round(m._d.getTimezoneOffset() / 15) * 15;
|
2623 |
}
|
2624 |
|
2625 |
+
// HOOKS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2626 |
|
2627 |
+
// This function will be called whenever a moment is mutated.
|
2628 |
+
// It is intended to keep the offset in sync with the timezone.
|
2629 |
+
utils_hooks__hooks.updateOffset = function () {};
|
|
|
2630 |
|
2631 |
// MOMENTS
|
2632 |
|
2633 |
+
// keepLocalTime = true means only change the timezone, without
|
2634 |
+
// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
|
2635 |
+
// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
|
2636 |
+
// +0200, so we adjust the time as needed, to be valid.
|
2637 |
+
//
|
2638 |
+
// Keeping the time actually adds/subtracts (one hour)
|
2639 |
+
// from the actual represented time. That is why we call updateOffset
|
2640 |
+
// a second time. In case it wants us to change the offset again
|
2641 |
+
// _changeInProgress == true case, then we have to adjust, because
|
2642 |
+
// there is no such time in the given timezone.
|
2643 |
+
function getSetOffset (input, keepLocalTime) {
|
2644 |
+
var offset = this._offset || 0,
|
2645 |
+
localAdjust;
|
2646 |
+
if (!this.isValid()) {
|
2647 |
+
return input != null ? this : NaN;
|
2648 |
+
}
|
2649 |
+
if (input != null) {
|
2650 |
+
if (typeof input === 'string') {
|
2651 |
+
input = offsetFromString(matchShortOffset, input);
|
2652 |
+
} else if (Math.abs(input) < 16) {
|
2653 |
+
input = input * 60;
|
2654 |
+
}
|
2655 |
+
if (!this._isUTC && keepLocalTime) {
|
2656 |
+
localAdjust = getDateOffset(this);
|
2657 |
+
}
|
2658 |
+
this._offset = input;
|
2659 |
+
this._isUTC = true;
|
2660 |
+
if (localAdjust != null) {
|
2661 |
+
this.add(localAdjust, 'm');
|
2662 |
+
}
|
2663 |
+
if (offset !== input) {
|
2664 |
+
if (!keepLocalTime || this._changeInProgress) {
|
2665 |
+
add_subtract__addSubtract(this, create__createDuration(input - offset, 'm'), 1, false);
|
2666 |
+
} else if (!this._changeInProgress) {
|
2667 |
+
this._changeInProgress = true;
|
2668 |
+
utils_hooks__hooks.updateOffset(this, true);
|
2669 |
+
this._changeInProgress = null;
|
2670 |
+
}
|
2671 |
+
}
|
2672 |
+
return this;
|
2673 |
+
} else {
|
2674 |
+
return this._isUTC ? offset : getDateOffset(this);
|
2675 |
+
}
|
2676 |
+
}
|
2677 |
|
2678 |
+
function getSetZone (input, keepLocalTime) {
|
2679 |
+
if (input != null) {
|
2680 |
+
if (typeof input !== 'string') {
|
2681 |
+
input = -input;
|
2682 |
+
}
|
2683 |
|
2684 |
+
this.utcOffset(input, keepLocalTime);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2685 |
|
2686 |
+
return this;
|
|
|
|
|
|
|
|
|
2687 |
} else {
|
2688 |
+
return -this.utcOffset();
|
2689 |
}
|
2690 |
+
}
|
2691 |
|
2692 |
+
function setOffsetToUTC (keepLocalTime) {
|
2693 |
+
return this.utcOffset(0, keepLocalTime);
|
2694 |
+
}
|
2695 |
|
2696 |
+
function setOffsetToLocal (keepLocalTime) {
|
2697 |
+
if (this._isUTC) {
|
2698 |
+
this.utcOffset(0, keepLocalTime);
|
2699 |
+
this._isUTC = false;
|
2700 |
|
2701 |
+
if (keepLocalTime) {
|
2702 |
+
this.subtract(getDateOffset(this), 'm');
|
2703 |
+
}
|
2704 |
}
|
2705 |
+
return this;
|
2706 |
+
}
|
2707 |
|
2708 |
+
function setOffsetToParsedOffset () {
|
2709 |
+
if (this._tzm) {
|
2710 |
+
this.utcOffset(this._tzm);
|
2711 |
+
} else if (typeof this._i === 'string') {
|
2712 |
+
var tZone = offsetFromString(matchOffset, this._i);
|
2713 |
|
2714 |
+
if (tZone === 0) {
|
2715 |
+
this.utcOffset(0, true);
|
2716 |
+
} else {
|
2717 |
+
this.utcOffset(offsetFromString(matchOffset, this._i));
|
2718 |
+
}
|
2719 |
}
|
2720 |
+
return this;
|
|
|
2721 |
}
|
2722 |
|
2723 |
+
function hasAlignedHourOffset (input) {
|
2724 |
+
if (!this.isValid()) {
|
2725 |
+
return false;
|
2726 |
+
}
|
2727 |
+
input = input ? local__createLocal(input).utcOffset() : 0;
|
2728 |
|
2729 |
+
return (this.utcOffset() - input) % 60 === 0;
|
|
|
|
|
|
|
2730 |
}
|
2731 |
|
2732 |
+
function isDaylightSavingTime () {
|
2733 |
+
return (
|
2734 |
+
this.utcOffset() > this.clone().month(0).utcOffset() ||
|
2735 |
+
this.utcOffset() > this.clone().month(5).utcOffset()
|
2736 |
+
);
|
2737 |
}
|
2738 |
|
2739 |
+
function isDaylightSavingTimeShifted () {
|
2740 |
+
if (!isUndefined(this._isDSTShifted)) {
|
2741 |
+
return this._isDSTShifted;
|
2742 |
+
}
|
2743 |
|
2744 |
+
var c = {};
|
|
|
|
|
|
|
|
|
|
|
2745 |
|
2746 |
+
copyConfig(c, this);
|
2747 |
+
c = prepareConfig(c);
|
|
|
|
|
|
|
|
|
|
|
2748 |
|
2749 |
+
if (c._a) {
|
2750 |
+
var other = c._isUTC ? create_utc__createUTC(c._a) : local__createLocal(c._a);
|
2751 |
+
this._isDSTShifted = this.isValid() &&
|
2752 |
+
compareArrays(c._a, other.toArray()) > 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2753 |
} else {
|
2754 |
+
this._isDSTShifted = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2755 |
}
|
2756 |
+
|
2757 |
+
return this._isDSTShifted;
|
2758 |
}
|
2759 |
|
2760 |
+
function isLocal () {
|
2761 |
+
return this.isValid() ? !this._isUTC : false;
|
2762 |
+
}
|
2763 |
|
2764 |
+
function isUtcOffset () {
|
2765 |
+
return this.isValid() ? this._isUTC : false;
|
2766 |
+
}
|
2767 |
|
2768 |
+
function isUtc () {
|
2769 |
+
return this.isValid() ? this._isUTC && this._offset === 0 : false;
|
2770 |
+
}
|
|
|
|
|
|
|
2771 |
|
2772 |
+
// ASP.NET json date format regex
|
2773 |
+
var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;
|
2774 |
|
2775 |
+
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
2776 |
+
// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
|
2777 |
+
// and further modified to allow for strings containing both week and day
|
2778 |
+
var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;
|
2779 |
+
|
2780 |
+
function create__createDuration (input, key) {
|
2781 |
+
var duration = input,
|
2782 |
+
// matching against regexp is expensive, do it on demand
|
2783 |
+
match = null,
|
2784 |
+
sign,
|
2785 |
+
ret,
|
2786 |
+
diffRes;
|
2787 |
+
|
2788 |
+
if (isDuration(input)) {
|
2789 |
+
duration = {
|
2790 |
+
ms : input._milliseconds,
|
2791 |
+
d : input._days,
|
2792 |
+
M : input._months
|
2793 |
+
};
|
2794 |
+
} else if (typeof input === 'number') {
|
2795 |
+
duration = {};
|
2796 |
+
if (key) {
|
2797 |
+
duration[key] = input;
|
2798 |
+
} else {
|
2799 |
+
duration.milliseconds = input;
|
2800 |
}
|
2801 |
+
} else if (!!(match = aspNetRegex.exec(input))) {
|
2802 |
+
sign = (match[1] === '-') ? -1 : 1;
|
2803 |
+
duration = {
|
2804 |
+
y : 0,
|
2805 |
+
d : toInt(match[DATE]) * sign,
|
2806 |
+
h : toInt(match[HOUR]) * sign,
|
2807 |
+
m : toInt(match[MINUTE]) * sign,
|
2808 |
+
s : toInt(match[SECOND]) * sign,
|
2809 |
+
ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match
|
2810 |
+
};
|
2811 |
+
} else if (!!(match = isoRegex.exec(input))) {
|
2812 |
+
sign = (match[1] === '-') ? -1 : 1;
|
2813 |
+
duration = {
|
2814 |
+
y : parseIso(match[2], sign),
|
2815 |
+
M : parseIso(match[3], sign),
|
2816 |
+
w : parseIso(match[4], sign),
|
2817 |
+
d : parseIso(match[5], sign),
|
2818 |
+
h : parseIso(match[6], sign),
|
2819 |
+
m : parseIso(match[7], sign),
|
2820 |
+
s : parseIso(match[8], sign)
|
2821 |
+
};
|
2822 |
+
} else if (duration == null) {// checks for null or undefined
|
2823 |
+
duration = {};
|
2824 |
+
} else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {
|
2825 |
+
diffRes = momentsDifference(local__createLocal(duration.from), local__createLocal(duration.to));
|
2826 |
+
|
2827 |
+
duration = {};
|
2828 |
+
duration.ms = diffRes.milliseconds;
|
2829 |
+
duration.M = diffRes.months;
|
2830 |
}
|
|
|
2831 |
|
2832 |
+
ret = new Duration(duration);
|
2833 |
|
2834 |
+
if (isDuration(input) && hasOwnProp(input, '_locale')) {
|
2835 |
+
ret._locale = input._locale;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2836 |
}
|
2837 |
+
|
2838 |
+
return ret;
|
2839 |
}
|
2840 |
|
2841 |
+
create__createDuration.fn = Duration.prototype;
|
2842 |
+
|
2843 |
+
function parseIso (inp, sign) {
|
2844 |
+
// We'd normally use ~~inp for this, but unfortunately it also
|
2845 |
+
// converts floats to ints.
|
2846 |
+
// inp may be undefined, so careful calling replace on it.
|
2847 |
+
var res = inp && parseFloat(inp.replace(',', '.'));
|
2848 |
+
// apply sign while we're at it
|
2849 |
+
return (isNaN(res) ? 0 : res) * sign;
|
2850 |
}
|
2851 |
|
2852 |
+
function positiveMomentsDifference(base, other) {
|
2853 |
+
var res = {milliseconds: 0, months: 0};
|
2854 |
+
|
2855 |
+
res.months = other.month() - base.month() +
|
2856 |
+
(other.year() - base.year()) * 12;
|
2857 |
+
if (base.clone().add(res.months, 'M').isAfter(other)) {
|
2858 |
+
--res.months;
|
2859 |
}
|
2860 |
+
|
2861 |
+
res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
|
2862 |
+
|
2863 |
+
return res;
|
2864 |
}
|
2865 |
|
2866 |
+
function momentsDifference(base, other) {
|
2867 |
+
var res;
|
2868 |
+
if (!(base.isValid() && other.isValid())) {
|
2869 |
+
return {milliseconds: 0, months: 0};
|
2870 |
+
}
|
2871 |
+
|
2872 |
+
other = cloneWithOffset(other, base);
|
2873 |
+
if (base.isBefore(other)) {
|
2874 |
+
res = positiveMomentsDifference(base, other);
|
|
|
|
|
2875 |
} else {
|
2876 |
+
res = positiveMomentsDifference(other, base);
|
2877 |
+
res.milliseconds = -res.milliseconds;
|
2878 |
+
res.months = -res.months;
|
2879 |
}
|
2880 |
+
|
2881 |
+
return res;
|
2882 |
}
|
2883 |
|
2884 |
+
// TODO: remove 'name' arg after deprecation is removed
|
2885 |
+
function createAdder(direction, name) {
|
2886 |
+
return function (val, period) {
|
2887 |
+
var dur, tmp;
|
2888 |
+
//invert the arguments, but complain about it
|
2889 |
+
if (period !== null && !isNaN(+period)) {
|
2890 |
+
deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' +
|
2891 |
+
'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');
|
2892 |
+
tmp = val; val = period; period = tmp;
|
|
|
2893 |
}
|
2894 |
+
|
2895 |
+
val = typeof val === 'string' ? +val : val;
|
2896 |
+
dur = create__createDuration(val, period);
|
2897 |
+
add_subtract__addSubtract(this, dur, direction);
|
2898 |
+
return this;
|
2899 |
+
};
|
2900 |
+
}
|
2901 |
+
|
2902 |
+
function add_subtract__addSubtract (mom, duration, isAdding, updateOffset) {
|
2903 |
+
var milliseconds = duration._milliseconds,
|
2904 |
+
days = absRound(duration._days),
|
2905 |
+
months = absRound(duration._months);
|
2906 |
+
|
2907 |
+
if (!mom.isValid()) {
|
2908 |
+
// No op
|
2909 |
+
return;
|
2910 |
+
}
|
2911 |
+
|
2912 |
+
updateOffset = updateOffset == null ? true : updateOffset;
|
2913 |
+
|
2914 |
+
if (milliseconds) {
|
2915 |
+
mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
|
2916 |
+
}
|
2917 |
+
if (days) {
|
2918 |
+
get_set__set(mom, 'Date', get_set__get(mom, 'Date') + days * isAdding);
|
2919 |
+
}
|
2920 |
+
if (months) {
|
2921 |
+
setMonth(mom, get_set__get(mom, 'Month') + months * isAdding);
|
2922 |
+
}
|
2923 |
+
if (updateOffset) {
|
2924 |
+
utils_hooks__hooks.updateOffset(mom, days || months);
|
2925 |
+
}
|
2926 |
+
}
|
2927 |
+
|
2928 |
+
var add_subtract__add = createAdder(1, 'add');
|
2929 |
+
var add_subtract__subtract = createAdder(-1, 'subtract');
|
2930 |
+
|
2931 |
+
function getCalendarFormat(myMoment, now) {
|
2932 |
+
var diff = myMoment.diff(now, 'days', true);
|
2933 |
+
return diff < -6 ? 'sameElse' :
|
2934 |
+
diff < -1 ? 'lastWeek' :
|
2935 |
+
diff < 0 ? 'lastDay' :
|
2936 |
+
diff < 1 ? 'sameDay' :
|
2937 |
+
diff < 2 ? 'nextDay' :
|
2938 |
+
diff < 7 ? 'nextWeek' : 'sameElse';
|
2939 |
+
}
|
2940 |
+
|
2941 |
+
function moment_calendar__calendar (time, formats) {
|
2942 |
+
// We want to compare the start of today, vs this.
|
2943 |
+
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
2944 |
+
var now = time || local__createLocal(),
|
2945 |
+
sod = cloneWithOffset(now, this).startOf('day'),
|
2946 |
+
format = utils_hooks__hooks.calendarFormat(this, sod) || 'sameElse';
|
2947 |
+
|
2948 |
+
var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);
|
2949 |
+
|
2950 |
+
return this.format(output || this.localeData().calendar(format, this, local__createLocal(now)));
|
2951 |
+
}
|
2952 |
+
|
2953 |
+
function clone () {
|
2954 |
+
return new Moment(this);
|
2955 |
+
}
|
2956 |
+
|
2957 |
+
function isAfter (input, units) {
|
2958 |
+
var localInput = isMoment(input) ? input : local__createLocal(input);
|
2959 |
+
if (!(this.isValid() && localInput.isValid())) {
|
2960 |
+
return false;
|
2961 |
+
}
|
2962 |
+
units = normalizeUnits(!isUndefined(units) ? units : 'millisecond');
|
2963 |
+
if (units === 'millisecond') {
|
2964 |
+
return this.valueOf() > localInput.valueOf();
|
2965 |
} else {
|
2966 |
+
return localInput.valueOf() < this.clone().startOf(units).valueOf();
|
|
|
2967 |
}
|
2968 |
}
|
2969 |
|
2970 |
+
function isBefore (input, units) {
|
2971 |
+
var localInput = isMoment(input) ? input : local__createLocal(input);
|
2972 |
+
if (!(this.isValid() && localInput.isValid())) {
|
2973 |
+
return false;
|
2974 |
+
}
|
2975 |
+
units = normalizeUnits(!isUndefined(units) ? units : 'millisecond');
|
2976 |
+
if (units === 'millisecond') {
|
2977 |
+
return this.valueOf() < localInput.valueOf();
|
|
|
|
|
|
|
2978 |
} else {
|
2979 |
+
return this.clone().endOf(units).valueOf() < localInput.valueOf();
|
|
|
2980 |
}
|
2981 |
}
|
2982 |
|
2983 |
+
function isBetween (from, to, units, inclusivity) {
|
2984 |
+
inclusivity = inclusivity || '()';
|
2985 |
+
return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) &&
|
2986 |
+
(inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units));
|
2987 |
+
}
|
2988 |
|
2989 |
+
function isSame (input, units) {
|
2990 |
+
var localInput = isMoment(input) ? input : local__createLocal(input),
|
2991 |
+
inputMs;
|
2992 |
+
if (!(this.isValid() && localInput.isValid())) {
|
2993 |
+
return false;
|
2994 |
}
|
2995 |
+
units = normalizeUnits(units || 'millisecond');
|
2996 |
+
if (units === 'millisecond') {
|
2997 |
+
return this.valueOf() === localInput.valueOf();
|
2998 |
+
} else {
|
2999 |
+
inputMs = localInput.valueOf();
|
3000 |
+
return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3001 |
}
|
3002 |
+
}
|
3003 |
+
|
3004 |
+
function isSameOrAfter (input, units) {
|
3005 |
+
return this.isSame(input, units) || this.isAfter(input,units);
|
3006 |
+
}
|
3007 |
+
|
3008 |
+
function isSameOrBefore (input, units) {
|
3009 |
+
return this.isSame(input, units) || this.isBefore(input,units);
|
3010 |
+
}
|
3011 |
+
|
3012 |
+
function diff (input, units, asFloat) {
|
3013 |
+
var that,
|
3014 |
+
zoneDelta,
|
3015 |
+
delta, output;
|
3016 |
+
|
3017 |
+
if (!this.isValid()) {
|
3018 |
+
return NaN;
|
3019 |
+
}
|
3020 |
+
|
3021 |
+
that = cloneWithOffset(input, this);
|
3022 |
+
|
3023 |
+
if (!that.isValid()) {
|
3024 |
+
return NaN;
|
3025 |
+
}
|
3026 |
+
|
3027 |
+
zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
|
3028 |
+
|
3029 |
+
units = normalizeUnits(units);
|
3030 |
+
|
3031 |
+
if (units === 'year' || units === 'month' || units === 'quarter') {
|
3032 |
+
output = monthDiff(this, that);
|
3033 |
+
if (units === 'quarter') {
|
3034 |
+
output = output / 3;
|
3035 |
+
} else if (units === 'year') {
|
3036 |
+
output = output / 12;
|
3037 |
+
}
|
3038 |
+
} else {
|
3039 |
+
delta = this - that;
|
3040 |
+
output = units === 'second' ? delta / 1e3 : // 1000
|
3041 |
+
units === 'minute' ? delta / 6e4 : // 1000 * 60
|
3042 |
+
units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60
|
3043 |
+
units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst
|
3044 |
+
units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst
|
3045 |
+
delta;
|
3046 |
+
}
|
3047 |
+
return asFloat ? output : absFloor(output);
|
3048 |
+
}
|
3049 |
+
|
3050 |
+
function monthDiff (a, b) {
|
3051 |
+
// difference in months
|
3052 |
+
var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()),
|
3053 |
+
// b is in (anchor - 1 month, anchor + 1 month)
|
3054 |
+
anchor = a.clone().add(wholeMonthDiff, 'months'),
|
3055 |
+
anchor2, adjust;
|
3056 |
+
|
3057 |
+
if (b - anchor < 0) {
|
3058 |
+
anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
|
3059 |
+
// linear across the month
|
3060 |
+
adjust = (b - anchor) / (anchor - anchor2);
|
3061 |
+
} else {
|
3062 |
+
anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
|
3063 |
+
// linear across the month
|
3064 |
+
adjust = (b - anchor) / (anchor2 - anchor);
|
3065 |
+
}
|
3066 |
+
|
3067 |
+
//check for negative zero, return zero if negative zero
|
3068 |
+
return -(wholeMonthDiff + adjust) || 0;
|
3069 |
+
}
|
3070 |
+
|
3071 |
+
utils_hooks__hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
|
3072 |
+
utils_hooks__hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
|
3073 |
+
|
3074 |
+
function toString () {
|
3075 |
+
return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
|
3076 |
+
}
|
3077 |
+
|
3078 |
+
function moment_format__toISOString () {
|
3079 |
+
var m = this.clone().utc();
|
3080 |
+
if (0 < m.year() && m.year() <= 9999) {
|
3081 |
+
if (isFunction(Date.prototype.toISOString)) {
|
3082 |
+
// native implementation is ~50x faster, use it when we can
|
3083 |
+
return this.toDate().toISOString();
|
3084 |
+
} else {
|
3085 |
+
return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
|
3086 |
+
}
|
3087 |
+
} else {
|
3088 |
+
return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
|
3089 |
+
}
|
3090 |
+
}
|
3091 |
+
|
3092 |
+
function format (inputString) {
|
3093 |
+
if (!inputString) {
|
3094 |
+
inputString = this.isUtc() ? utils_hooks__hooks.defaultFormatUtc : utils_hooks__hooks.defaultFormat;
|
3095 |
+
}
|
3096 |
+
var output = formatMoment(this, inputString);
|
3097 |
+
return this.localeData().postformat(output);
|
3098 |
+
}
|
3099 |
+
|
3100 |
+
function from (time, withoutSuffix) {
|
3101 |
+
if (this.isValid() &&
|
3102 |
+
((isMoment(time) && time.isValid()) ||
|
3103 |
+
local__createLocal(time).isValid())) {
|
3104 |
+
return create__createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
|
3105 |
+
} else {
|
3106 |
+
return this.localeData().invalidDate();
|
3107 |
+
}
|
3108 |
+
}
|
3109 |
+
|
3110 |
+
function fromNow (withoutSuffix) {
|
3111 |
+
return this.from(local__createLocal(), withoutSuffix);
|
3112 |
+
}
|
3113 |
+
|
3114 |
+
function to (time, withoutSuffix) {
|
3115 |
+
if (this.isValid() &&
|
3116 |
+
((isMoment(time) && time.isValid()) ||
|
3117 |
+
local__createLocal(time).isValid())) {
|
3118 |
+
return create__createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
|
3119 |
+
} else {
|
3120 |
+
return this.localeData().invalidDate();
|
3121 |
+
}
|
3122 |
+
}
|
3123 |
+
|
3124 |
+
function toNow (withoutSuffix) {
|
3125 |
+
return this.to(local__createLocal(), withoutSuffix);
|
3126 |
+
}
|
3127 |
+
|
3128 |
+
// If passed a locale key, it will set the locale for this
|
3129 |
+
// instance. Otherwise, it will return the locale configuration
|
3130 |
+
// variables for this instance.
|
3131 |
+
function locale (key) {
|
3132 |
+
var newLocaleData;
|
3133 |
+
|
3134 |
+
if (key === undefined) {
|
3135 |
+
return this._locale._abbr;
|
3136 |
+
} else {
|
3137 |
+
newLocaleData = locale_locales__getLocale(key);
|
3138 |
+
if (newLocaleData != null) {
|
3139 |
+
this._locale = newLocaleData;
|
3140 |
+
}
|
3141 |
+
return this;
|
3142 |
+
}
|
3143 |
+
}
|
3144 |
+
|
3145 |
+
var lang = deprecate(
|
3146 |
+
'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
|
3147 |
+
function (key) {
|
3148 |
+
if (key === undefined) {
|
3149 |
+
return this.localeData();
|
3150 |
+
} else {
|
3151 |
+
return this.locale(key);
|
3152 |
+
}
|
3153 |
+
}
|
3154 |
+
);
|
3155 |
+
|
3156 |
+
function localeData () {
|
3157 |
+
return this._locale;
|
3158 |
+
}
|
3159 |
+
|
3160 |
+
function startOf (units) {
|
3161 |
+
units = normalizeUnits(units);
|
3162 |
+
// the following switch intentionally omits break keywords
|
3163 |
+
// to utilize falling through the cases.
|
3164 |
+
switch (units) {
|
3165 |
+
case 'year':
|
3166 |
+
this.month(0);
|
3167 |
+
/* falls through */
|
3168 |
+
case 'quarter':
|
3169 |
+
case 'month':
|
3170 |
+
this.date(1);
|
3171 |
+
/* falls through */
|
3172 |
+
case 'week':
|
3173 |
+
case 'isoWeek':
|
3174 |
+
case 'day':
|
3175 |
+
case 'date':
|
3176 |
+
this.hours(0);
|
3177 |
+
/* falls through */
|
3178 |
+
case 'hour':
|
3179 |
+
this.minutes(0);
|
3180 |
+
/* falls through */
|
3181 |
+
case 'minute':
|
3182 |
+
this.seconds(0);
|
3183 |
+
/* falls through */
|
3184 |
+
case 'second':
|
3185 |
+
this.milliseconds(0);
|
3186 |
+
}
|
3187 |
+
|
3188 |
+
// weeks are a special case
|
3189 |
+
if (units === 'week') {
|
3190 |
+
this.weekday(0);
|
3191 |
+
}
|
3192 |
+
if (units === 'isoWeek') {
|
3193 |
+
this.isoWeekday(1);
|
3194 |
+
}
|
3195 |
+
|
3196 |
+
// quarters are also special
|
3197 |
+
if (units === 'quarter') {
|
3198 |
+
this.month(Math.floor(this.month() / 3) * 3);
|
3199 |
+
}
|
3200 |
+
|
3201 |
+
return this;
|
3202 |
+
}
|
3203 |
+
|
3204 |
+
function endOf (units) {
|
3205 |
+
units = normalizeUnits(units);
|
3206 |
+
if (units === undefined || units === 'millisecond') {
|
3207 |
+
return this;
|
3208 |
+
}
|
3209 |
+
|
3210 |
+
// 'date' is an alias for 'day', so it should be considered as such.
|
3211 |
+
if (units === 'date') {
|
3212 |
+
units = 'day';
|
3213 |
+
}
|
3214 |
+
|
3215 |
+
return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms');
|
3216 |
+
}
|
3217 |
+
|
3218 |
+
function to_type__valueOf () {
|
3219 |
+
return this._d.valueOf() - ((this._offset || 0) * 60000);
|
3220 |
+
}
|
3221 |
+
|
3222 |
+
function unix () {
|
3223 |
+
return Math.floor(this.valueOf() / 1000);
|
3224 |
+
}
|
3225 |
+
|
3226 |
+
function toDate () {
|
3227 |
+
return new Date(this.valueOf());
|
3228 |
+
}
|
3229 |
+
|
3230 |
+
function toArray () {
|
3231 |
+
var m = this;
|
3232 |
+
return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
|
3233 |
+
}
|
3234 |
+
|
3235 |
+
function toObject () {
|
3236 |
+
var m = this;
|
3237 |
+
return {
|
3238 |
+
years: m.year(),
|
3239 |
+
months: m.month(),
|
3240 |
+
date: m.date(),
|
3241 |
+
hours: m.hours(),
|
3242 |
+
minutes: m.minutes(),
|
3243 |
+
seconds: m.seconds(),
|
3244 |
+
milliseconds: m.milliseconds()
|
3245 |
+
};
|
3246 |
+
}
|
3247 |
+
|
3248 |
+
function toJSON () {
|
3249 |
+
// new Date(NaN).toJSON() === null
|
3250 |
+
return this.isValid() ? this.toISOString() : null;
|
3251 |
+
}
|
3252 |
+
|
3253 |
+
function moment_valid__isValid () {
|
3254 |
+
return valid__isValid(this);
|
3255 |
+
}
|
3256 |
+
|
3257 |
+
function parsingFlags () {
|
3258 |
+
return extend({}, getParsingFlags(this));
|
3259 |
+
}
|
3260 |
+
|
3261 |
+
function invalidAt () {
|
3262 |
+
return getParsingFlags(this).overflow;
|
3263 |
+
}
|
3264 |
+
|
3265 |
+
function creationData() {
|
3266 |
+
return {
|
3267 |
+
input: this._i,
|
3268 |
+
format: this._f,
|
3269 |
+
locale: this._locale,
|
3270 |
+
isUTC: this._isUTC,
|
3271 |
+
strict: this._strict
|
3272 |
+
};
|
3273 |
+
}
|
3274 |
+
|
3275 |
+
// FORMATTING
|
3276 |
+
|
3277 |
+
addFormatToken(0, ['gg', 2], 0, function () {
|
3278 |
+
return this.weekYear() % 100;
|
3279 |
+
});
|
3280 |
+
|
3281 |
+
addFormatToken(0, ['GG', 2], 0, function () {
|
3282 |
+
return this.isoWeekYear() % 100;
|
3283 |
+
});
|
3284 |
+
|
3285 |
+
function addWeekYearFormatToken (token, getter) {
|
3286 |
+
addFormatToken(0, [token, token.length], 0, getter);
|
3287 |
+
}
|
3288 |
+
|
3289 |
+
addWeekYearFormatToken('gggg', 'weekYear');
|
3290 |
+
addWeekYearFormatToken('ggggg', 'weekYear');
|
3291 |
+
addWeekYearFormatToken('GGGG', 'isoWeekYear');
|
3292 |
+
addWeekYearFormatToken('GGGGG', 'isoWeekYear');
|
3293 |
+
|
3294 |
+
// ALIASES
|
3295 |
+
|
3296 |
+
addUnitAlias('weekYear', 'gg');
|
3297 |
+
addUnitAlias('isoWeekYear', 'GG');
|
3298 |
+
|
3299 |
+
// PRIORITY
|
3300 |
+
|
3301 |
+
addUnitPriority('weekYear', 1);
|
3302 |
+
addUnitPriority('isoWeekYear', 1);
|
3303 |
+
|
3304 |
+
|
3305 |
+
// PARSING
|
3306 |
+
|
3307 |
+
addRegexToken('G', matchSigned);
|
3308 |
+
addRegexToken('g', matchSigned);
|
3309 |
+
addRegexToken('GG', match1to2, match2);
|
3310 |
+
addRegexToken('gg', match1to2, match2);
|
3311 |
+
addRegexToken('GGGG', match1to4, match4);
|
3312 |
+
addRegexToken('gggg', match1to4, match4);
|
3313 |
+
addRegexToken('GGGGG', match1to6, match6);
|
3314 |
+
addRegexToken('ggggg', match1to6, match6);
|
3315 |
+
|
3316 |
+
addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
|
3317 |
+
week[token.substr(0, 2)] = toInt(input);
|
3318 |
+
});
|
3319 |
+
|
3320 |
+
addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
|
3321 |
+
week[token] = utils_hooks__hooks.parseTwoDigitYear(input);
|
3322 |
+
});
|
3323 |
+
|
3324 |
+
// MOMENTS
|
3325 |
+
|
3326 |
+
function getSetWeekYear (input) {
|
3327 |
+
return getSetWeekYearHelper.call(this,
|
3328 |
+
input,
|
3329 |
+
this.week(),
|
3330 |
+
this.weekday(),
|
3331 |
+
this.localeData()._week.dow,
|
3332 |
+
this.localeData()._week.doy);
|
3333 |
+
}
|
3334 |
+
|
3335 |
+
function getSetISOWeekYear (input) {
|
3336 |
+
return getSetWeekYearHelper.call(this,
|
3337 |
+
input, this.isoWeek(), this.isoWeekday(), 1, 4);
|
3338 |
+
}
|
3339 |
+
|
3340 |
+
function getISOWeeksInYear () {
|
3341 |
+
return weeksInYear(this.year(), 1, 4);
|
3342 |
+
}
|
3343 |
+
|
3344 |
+
function getWeeksInYear () {
|
3345 |
+
var weekInfo = this.localeData()._week;
|
3346 |
+
return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
|
3347 |
+
}
|
3348 |
+
|
3349 |
+
function getSetWeekYearHelper(input, week, weekday, dow, doy) {
|
3350 |
+
var weeksTarget;
|
3351 |
+
if (input == null) {
|
3352 |
+
return weekOfYear(this, dow, doy).year;
|
3353 |
+
} else {
|
3354 |
+
weeksTarget = weeksInYear(input, dow, doy);
|
3355 |
+
if (week > weeksTarget) {
|
3356 |
+
week = weeksTarget;
|
3357 |
+
}
|
3358 |
+
return setWeekAll.call(this, input, week, weekday, dow, doy);
|
3359 |
}
|
3360 |
+
}
|
3361 |
|
3362 |
+
function setWeekAll(weekYear, week, weekday, dow, doy) {
|
3363 |
+
var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
|
3364 |
+
date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
|
3365 |
|
3366 |
+
this.year(date.getUTCFullYear());
|
3367 |
+
this.month(date.getUTCMonth());
|
3368 |
+
this.date(date.getUTCDate());
|
3369 |
+
return this;
|
3370 |
}
|
3371 |
|
3372 |
// FORMATTING
|
3373 |
|
3374 |
+
addFormatToken('Q', 0, 'Qo', 'quarter');
|
3375 |
|
3376 |
// ALIASES
|
3377 |
|
3378 |
+
addUnitAlias('quarter', 'Q');
|
3379 |
+
|
3380 |
+
// PRIORITY
|
3381 |
+
|
3382 |
+
addUnitPriority('quarter', 7);
|
3383 |
|
3384 |
// PARSING
|
3385 |
|
3386 |
+
addRegexToken('Q', match1);
|
3387 |
+
addParseToken('Q', function (input, array) {
|
3388 |
+
array[MONTH] = (toInt(input) - 1) * 3;
|
|
|
3389 |
});
|
3390 |
|
|
|
|
|
3391 |
// MOMENTS
|
3392 |
|
3393 |
+
function getSetQuarter (input) {
|
3394 |
+
return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
|
|
|
3395 |
}
|
3396 |
|
3397 |
// FORMATTING
|
3398 |
|
3399 |
+
addFormatToken('D', ['DD', 2], 'Do', 'date');
|
|
|
|
|
3400 |
|
3401 |
+
// ALIASES
|
|
|
|
|
3402 |
|
3403 |
+
addUnitAlias('date', 'D');
|
|
|
|
|
3404 |
|
3405 |
+
// PRIOROITY
|
3406 |
+
addUnitPriority('date', 9);
|
|
|
3407 |
|
3408 |
+
// PARSING
|
|
|
|
|
|
|
3409 |
|
3410 |
+
addRegexToken('D', match1to2);
|
3411 |
+
addRegexToken('DD', match1to2, match2);
|
3412 |
+
addRegexToken('Do', function (isStrict, locale) {
|
3413 |
+
return isStrict ? locale._ordinalParse : locale._ordinalParseLenient;
|
3414 |
});
|
3415 |
|
3416 |
+
addParseToken(['D', 'DD'], DATE);
|
3417 |
+
addParseToken('Do', function (input, array) {
|
3418 |
+
array[DATE] = toInt(input.match(match1to2)[0], 10);
|
3419 |
});
|
3420 |
|
3421 |
+
// MOMENTS
|
|
|
|
|
|
|
|
|
3422 |
|
3423 |
+
var getSetDayOfMonth = makeGetSet('Date', true);
|
|
|
3424 |
|
3425 |
+
// FORMATTING
|
3426 |
|
3427 |
+
addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
|
3428 |
|
3429 |
+
// ALIASES
|
3430 |
|
3431 |
+
addUnitAlias('dayOfYear', 'DDD');
|
|
|
|
|
3432 |
|
3433 |
+
// PRIORITY
|
3434 |
+
addUnitPriority('dayOfYear', 4);
|
|
|
|
|
|
|
|
|
3435 |
|
3436 |
+
// PARSING
|
|
|
|
|
|
|
3437 |
|
3438 |
+
addRegexToken('DDD', match1to3);
|
3439 |
+
addRegexToken('DDDD', match3);
|
3440 |
+
addParseToken(['DDD', 'DDDD'], function (input, array, config) {
|
3441 |
+
config._dayOfYear = toInt(input);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3442 |
});
|
3443 |
|
3444 |
+
// HELPERS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3445 |
|
3446 |
// MOMENTS
|
3447 |
|
3448 |
+
function getSetDayOfYear (input) {
|
3449 |
+
var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;
|
3450 |
+
return input == null ? dayOfYear : this.add((input - dayOfYear), 'd');
|
3451 |
+
}
|
|
|
3452 |
|
3453 |
// FORMATTING
|
3454 |
|
3458 |
|
3459 |
addUnitAlias('minute', 'm');
|
3460 |
|
3461 |
+
// PRIORITY
|
3462 |
+
|
3463 |
+
addUnitPriority('minute', 14);
|
3464 |
+
|
3465 |
// PARSING
|
3466 |
|
3467 |
addRegexToken('m', match1to2);
|
3480 |
|
3481 |
addUnitAlias('second', 's');
|
3482 |
|
3483 |
+
// PRIORITY
|
3484 |
+
|
3485 |
+
addUnitPriority('second', 15);
|
3486 |
+
|
3487 |
// PARSING
|
3488 |
|
3489 |
addRegexToken('s', match1to2);
|
3529 |
|
3530 |
addUnitAlias('millisecond', 'ms');
|
3531 |
|
3532 |
+
// PRIORITY
|
3533 |
+
|
3534 |
+
addUnitPriority('millisecond', 16);
|
3535 |
+
|
3536 |
// PARSING
|
3537 |
|
3538 |
addRegexToken('S', match1to3, match1);
|
3582 |
momentPrototype__proto.fromNow = fromNow;
|
3583 |
momentPrototype__proto.to = to;
|
3584 |
momentPrototype__proto.toNow = toNow;
|
3585 |
+
momentPrototype__proto.get = stringGet;
|
3586 |
momentPrototype__proto.invalidAt = invalidAt;
|
3587 |
momentPrototype__proto.isAfter = isAfter;
|
3588 |
momentPrototype__proto.isBefore = isBefore;
|
3597 |
momentPrototype__proto.max = prototypeMax;
|
3598 |
momentPrototype__proto.min = prototypeMin;
|
3599 |
momentPrototype__proto.parsingFlags = parsingFlags;
|
3600 |
+
momentPrototype__proto.set = stringSet;
|
3601 |
momentPrototype__proto.startOf = startOf;
|
3602 |
momentPrototype__proto.subtract = add_subtract__subtract;
|
3603 |
momentPrototype__proto.toArray = toArray;
|
3657 |
momentPrototype__proto.parseZone = setOffsetToParsedOffset;
|
3658 |
momentPrototype__proto.hasAlignedHourOffset = hasAlignedHourOffset;
|
3659 |
momentPrototype__proto.isDST = isDaylightSavingTime;
|
|
|
3660 |
momentPrototype__proto.isLocal = isLocal;
|
3661 |
momentPrototype__proto.isUtcOffset = isUtcOffset;
|
3662 |
momentPrototype__proto.isUtc = isUtc;
|
3670 |
momentPrototype__proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);
|
3671 |
momentPrototype__proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
|
3672 |
momentPrototype__proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);
|
3673 |
+
momentPrototype__proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);
|
3674 |
+
momentPrototype__proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);
|
3675 |
|
3676 |
var momentPrototype = momentPrototype__proto;
|
3677 |
|
3683 |
return local__createLocal.apply(null, arguments).parseZone();
|
3684 |
}
|
3685 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3686 |
function preParsePostFormat (string) {
|
3687 |
return string;
|
3688 |
}
|
3689 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3690 |
var prototype__proto = Locale.prototype;
|
3691 |
|
|
|
3692 |
prototype__proto.calendar = locale_calendar__calendar;
|
|
|
3693 |
prototype__proto.longDateFormat = longDateFormat;
|
|
|
3694 |
prototype__proto.invalidDate = invalidDate;
|
|
|
3695 |
prototype__proto.ordinal = ordinal;
|
|
|
3696 |
prototype__proto.preparse = preParsePostFormat;
|
3697 |
prototype__proto.postformat = preParsePostFormat;
|
|
|
3698 |
prototype__proto.relativeTime = relative__relativeTime;
|
3699 |
prototype__proto.pastFuture = pastFuture;
|
3700 |
prototype__proto.set = locale_set__set;
|
3701 |
|
3702 |
// Month
|
3703 |
prototype__proto.months = localeMonths;
|
|
|
3704 |
prototype__proto.monthsShort = localeMonthsShort;
|
|
|
3705 |
prototype__proto.monthsParse = localeMonthsParse;
|
|
|
3706 |
prototype__proto.monthsRegex = monthsRegex;
|
|
|
3707 |
prototype__proto.monthsShortRegex = monthsShortRegex;
|
3708 |
|
3709 |
// Week
|
3710 |
prototype__proto.week = localeWeek;
|
|
|
3711 |
prototype__proto.firstDayOfYear = localeFirstDayOfYear;
|
3712 |
prototype__proto.firstDayOfWeek = localeFirstDayOfWeek;
|
3713 |
|
3714 |
// Day of Week
|
3715 |
prototype__proto.weekdays = localeWeekdays;
|
|
|
3716 |
prototype__proto.weekdaysMin = localeWeekdaysMin;
|
|
|
3717 |
prototype__proto.weekdaysShort = localeWeekdaysShort;
|
|
|
3718 |
prototype__proto.weekdaysParse = localeWeekdaysParse;
|
3719 |
|
|
|
3720 |
prototype__proto.weekdaysRegex = weekdaysRegex;
|
|
|
3721 |
prototype__proto.weekdaysShortRegex = weekdaysShortRegex;
|
|
|
3722 |
prototype__proto.weekdaysMinRegex = weekdaysMinRegex;
|
3723 |
|
3724 |
// Hours
|
3725 |
prototype__proto.isPM = localeIsPM;
|
|
|
3726 |
prototype__proto.meridiem = localeMeridiem;
|
3727 |
|
3728 |
function lists__get (format, index, field, setter) {
|
4051 |
return substituteTimeAgo.apply(null, a);
|
4052 |
}
|
4053 |
|
4054 |
+
// This function allows you to set the rounding function for relative time strings
|
4055 |
+
function duration_humanize__getSetRelativeTimeRounding (roundingFunction) {
|
4056 |
+
if (roundingFunction === undefined) {
|
4057 |
+
return round;
|
4058 |
+
}
|
4059 |
+
if (typeof(roundingFunction) === 'function') {
|
4060 |
+
round = roundingFunction;
|
4061 |
+
return true;
|
4062 |
+
}
|
4063 |
+
return false;
|
4064 |
+
}
|
4065 |
+
|
4066 |
// This function allows you to set a threshold for relative time strings
|
4067 |
function duration_humanize__getSetRelativeTimeThreshold (threshold, limit) {
|
4068 |
if (thresholds[threshold] === undefined) {
|
4195 |
// Side effect imports
|
4196 |
|
4197 |
|
4198 |
+
utils_hooks__hooks.version = '2.15.1';
|
4199 |
|
4200 |
setHookCallback(local__createLocal);
|
4201 |
|
4222 |
utils_hooks__hooks.locales = locale_locales__listLocales;
|
4223 |
utils_hooks__hooks.weekdaysShort = lists__listWeekdaysShort;
|
4224 |
utils_hooks__hooks.normalizeUnits = normalizeUnits;
|
4225 |
+
utils_hooks__hooks.relativeTimeRounding = duration_humanize__getSetRelativeTimeRounding;
|
4226 |
utils_hooks__hooks.relativeTimeThreshold = duration_humanize__getSetRelativeTimeThreshold;
|
4227 |
+
utils_hooks__hooks.calendarFormat = getCalendarFormat;
|
4228 |
utils_hooks__hooks.prototype = momentPrototype;
|
4229 |
|
4230 |
var _moment = utils_hooks__hooks;
|
bp-core/js/vendor/moment-js/moment.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return md.apply(null,arguments)}function b(a){md=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function g(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function h(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function i(a,b){for(var c in b)h(b,c)&&(a[c]=b[c]);return h(b,"toString")&&(a.toString=b.toString),h(b,"valueOf")&&(a.valueOf=b.valueOf),a}function j(a,b,c,d){return qb(a,b,c,d,!0).utc()}function k(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(a){return null==a._pf&&(a._pf=k()),a._pf}function m(a){if(null==a._isValid){var b=l(a),c=nd.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function n(a){var b=j(NaN);return null!=a?i(l(b),a):l(b).userInvalidated=!0,b}function o(a){return void 0===a}function p(a,b){var c,d,e;if(o(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),o(b._i)||(a._i=b._i),o(b._f)||(a._f=b._f),o(b._l)||(a._l=b._l),o(b._strict)||(a._strict=b._strict),o(b._tzm)||(a._tzm=b._tzm),o(b._isUTC)||(a._isUTC=b._isUTC),o(b._offset)||(a._offset=b._offset),o(b._pf)||(a._pf=l(b)),o(b._locale)||(a._locale=b._locale),od.length>0)for(c in od)d=od[c],e=b[d],o(e)||(a[d]=e);return a}function q(b){p(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),pd===!1&&(pd=!0,a.updateOffset(this),pd=!1)}function r(a){return a instanceof q||null!=a&&null!=a._isAMomentObject}function s(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function t(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=s(b)),c}function u(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&t(a[d])!==t(b[d]))&&g++;return g+f}function v(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function w(b,c){var d=!0;return i(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}v(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function x(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),qd[b]||(v(c),qd[b]=!0)}function y(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function z(a){var b,c;for(c in a)b=a[c],y(b)?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function A(a,b){var c,e=i({},a);for(c in b)h(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},i(e[c],a[c]),i(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)h(a,c)&&!h(b,c)&&d(a[c])&&(e[c]=i({},e[c]));return e}function B(a){null!=a&&this.set(a)}function C(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return y(d)?d.call(b,c):d}function D(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function E(){return this._invalidDate}function F(a){return this._ordinal.replace("%d",a)}function G(a,b,c,d){var e=this._relativeTime[c];return y(e)?e(a,b,c,d):e.replace(/%d/i,a)}function H(a,b){var c=this._relativeTime[a>0?"future":"past"];return y(c)?c(b):c.replace(/%s/i,b)}function I(a,b){var c=a.toLowerCase();zd[c]=zd[c+"s"]=zd[b]=a}function J(a){return"string"==typeof a?zd[a]||zd[a.toLowerCase()]:void 0}function K(a){var b,c,d={};for(c in a)h(a,c)&&(b=J(c),b&&(d[b]=a[c]));return d}function L(a,b){Ad[a]=b}function M(a){var b=[];for(var c in a)b.push({unit:c,priority:Ad[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function N(b,c){return function(d){return null!=d?(P(this,b,d),a.updateOffset(this,c),this):O(this,b)}}function O(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function P(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function Q(a){return a=J(a),y(this[a])?this[a]():this}function R(a,b){if("object"==typeof a){a=K(a);for(var c=M(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=J(a),y(this[a]))return this[a](b);return this}function S(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function T(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Ed[a]=e),b&&(Ed[b[0]]=function(){return S(e.apply(this,arguments),b[1],b[2])}),c&&(Ed[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function U(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function V(a){var b,c,d=a.match(Bd);for(b=0,c=d.length;b<c;b++)Ed[d[b]]?d[b]=Ed[d[b]]:d[b]=U(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=d[e]instanceof Function?d[e].call(b,a):d[e];return f}}function W(a,b){return a.isValid()?(b=X(b,a.localeData()),Dd[b]=Dd[b]||V(b),Dd[b](a)):a.localeData().invalidDate()}function X(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Cd.lastIndex=0;d>=0&&Cd.test(a);)a=a.replace(Cd,c),Cd.lastIndex=0,d-=1;return a}function Y(a,b,c){Wd[a]=y(b)?b:function(a,d){return a&&c?c:b}}function Z(a,b){return h(Wd,a)?Wd[a](b._strict,b._locale):new RegExp($(a))}function $(a){return _(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function _(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function aa(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=t(a)}),c=0;c<a.length;c++)Xd[a[c]]=d}function ba(a,b){aa(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function ca(a,b,c){null!=b&&h(Xd,a)&&Xd[a](b,c._a,c,a)}function da(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function ea(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||fe).test(b)?"format":"standalone"][a.month()]:this._months}function fa(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[fe.test(b)?"format":"standalone"][a.month()]:this._monthsShort}function ga(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=j([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=sd.call(this._shortMonthsParse,g),e!==-1?e:null):(e=sd.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=sd.call(this._shortMonthsParse,g),e!==-1?e:(e=sd.call(this._longMonthsParse,g),e!==-1?e:null)):(e=sd.call(this._longMonthsParse,g),e!==-1?e:(e=sd.call(this._shortMonthsParse,g),e!==-1?e:null))}function ha(a,b,c){var d,e,f;if(this._monthsParseExact)return ga.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=j([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ia(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=t(b);else if(b=a.localeData().monthsParse(b),"number"!=typeof b)return a;return c=Math.min(a.date(),da(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ja(b){return null!=b?(ia(this,b),a.updateOffset(this,!0),this):O(this,"Month")}function ka(){return da(this.year(),this.month())}function la(a){return this._monthsParseExact?(h(this,"_monthsRegex")||na.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=ie),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function ma(a){return this._monthsParseExact?(h(this,"_monthsRegex")||na.call(this),a?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function na(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=j([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=_(d[b]),e[b]=_(e[b]);for(b=0;b<24;b++)f[b]=_(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function oa(a){return pa(a)?366:365}function pa(a){return a%4===0&&a%100!==0||a%400===0}function qa(){return pa(this.year())}function ra(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function sa(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ta(a,b,c){var d=7+b-c,e=(7+sa(a,0,d).getUTCDay()-b)%7;return-e+d-1}function ua(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ta(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=oa(f)+j):j>oa(a)?(f=a+1,g=j-oa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function va(a,b,c){var d,e,f=ta(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+wa(e,b,c)):g>wa(a.year(),b,c)?(d=g-wa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function wa(a,b,c){var d=ta(a,b,c),e=ta(a+1,b,c);return(oa(a)-d+e)/7}function xa(a){return va(a,this._week.dow,this._week.doy).week}function ya(){return this._week.dow}function za(){return this._week.doy}function Aa(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ba(a){var b=va(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Ca(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Da(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Ea(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:this._weekdays}function Fa(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ga(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=j([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=sd.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ia(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ha.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=j([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ja(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Ca(a,this.localeData()),this.add(a-b,"d")):b}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function La(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Da(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Ma(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=pe),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Na(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Oa(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=re),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Pa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],k=[];for(b=0;b<7;b++)c=j([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),k.push(d),k.push(e),k.push(f);for(g.sort(a),h.sort(a),i.sort(a),k.sort(a),b=0;b<7;b++)h[b]=_(h[b]),i[b]=_(i[b]),k[b]=_(k[b]);this._weekdaysRegex=new RegExp("^("+k.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Qa(){return this.hours()%12||12}function Ra(){return this.hours()||24}function Sa(a,b){T(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ta(a,b){return b._meridiemParse}function Ua(a){return"p"===(a+"").toLowerCase().charAt(0)}function Va(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Wa(a){return a?a.toLowerCase().replace("_","-"):a}function Xa(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Wa(a[f]).split("-"),b=e.length,c=Wa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Ya(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&u(e,c,!0)>=b-1)break;b--}f++}return null}function Ya(a){var b=null;if(!we[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=se._abbr,require("./locale/"+a),Za(b)}catch(a){}return we[a]}function Za(a,b){var c;return a&&(c=o(b)?ab(a):$a(a,b),c&&(se=c)),se._abbr}function $a(a,b){if(null!==b){var c=ve;return b.abbr=a,null!=we[a]?(x("defineLocaleOverride","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."),c=we[a]._config):null!=b.parentLocale&&(null!=we[b.parentLocale]?c=we[b.parentLocale]._config:x("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),we[a]=new B(A(c,b)),Za(a),we[a]}return delete we[a],null}function _a(a,b){if(null!=b){var c,d=ve;null!=we[a]&&(d=we[a]._config),b=A(d,b),c=new B(b),c.parentLocale=we[a],we[a]=c,Za(a)}else null!=we[a]&&(null!=we[a].parentLocale?we[a]=we[a].parentLocale:null!=we[a]&&delete we[a]);return we[a]}function ab(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return se;if(!c(a)){if(b=Ya(a))return b;a=[a]}return Xa(a)}function bb(){return rd(we)}function cb(a){var b,c=a._a;return c&&l(a).overflow===-2&&(b=c[Zd]<0||c[Zd]>11?Zd:c[$d]<1||c[$d]>da(c[Yd],c[Zd])?$d:c[_d]<0||c[_d]>24||24===c[_d]&&(0!==c[ae]||0!==c[be]||0!==c[ce])?_d:c[ae]<0||c[ae]>59?ae:c[be]<0||c[be]>59?be:c[ce]<0||c[ce]>999?ce:-1,l(a)._overflowDayOfYear&&(b<Yd||b>$d)&&(b=$d),l(a)._overflowWeeks&&b===-1&&(b=de),l(a)._overflowWeekday&&b===-1&&(b=ee),l(a).overflow=b),a}function db(a){var b,c,d,e,f,g,h=a._i,i=xe.exec(h)||ye.exec(h);if(i){for(l(a).iso=!0,b=0,c=Ae.length;b<c;b++)if(Ae[b][1].exec(i[1])){e=Ae[b][0],d=Ae[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Be.length;b<c;b++)if(Be[b][1].exec(i[3])){f=(i[2]||" ")+Be[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!ze.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),jb(a)}else a._isValid=!1}function eb(b){var c=Ce.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(db(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function fb(a,b,c){return null!=a?a:null!=b?b:c}function gb(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function hb(a){var b,c,d,e,f=[];if(!a._d){for(d=gb(a),a._w&&null==a._a[$d]&&null==a._a[Zd]&&ib(a),a._dayOfYear&&(e=fb(a._a[Yd],d[Yd]),a._dayOfYear>oa(e)&&(l(a)._overflowDayOfYear=!0),c=sa(e,0,a._dayOfYear),a._a[Zd]=c.getUTCMonth(),a._a[$d]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[_d]&&0===a._a[ae]&&0===a._a[be]&&0===a._a[ce]&&(a._nextDay=!0,a._a[_d]=0),a._d=(a._useUTC?sa:ra).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[_d]=24)}}function ib(a){var b,c,d,e,f,g,h,i;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=fb(b.GG,a._a[Yd],va(rb(),1,4).year),d=fb(b.W,1),e=fb(b.E,1),(e<1||e>7)&&(i=!0)):(f=a._locale._week.dow,g=a._locale._week.doy,c=fb(b.gg,a._a[Yd],va(rb(),f,g).year),d=fb(b.w,1),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f),d<1||d>wa(c,f,g)?l(a)._overflowWeeks=!0:null!=i?l(a)._overflowWeekday=!0:(h=ua(c,d,e,f,g),a._a[Yd]=h.year,a._dayOfYear=h.dayOfYear)}function jb(b){if(b._f===a.ISO_8601)return void db(b);b._a=[],l(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=X(b._f,b._locale).match(Bd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(Z(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&l(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Ed[f]?(d?l(b).empty=!1:l(b).unusedTokens.push(f),ca(f,d,b)):b._strict&&!d&&l(b).unusedTokens.push(f);l(b).charsLeftOver=i-j,h.length>0&&l(b).unusedInput.push(h),b._a[_d]<=12&&l(b).bigHour===!0&&b._a[_d]>0&&(l(b).bigHour=void 0),l(b).parsedDateParts=b._a.slice(0),l(b).meridiem=b._meridiem,b._a[_d]=kb(b._locale,b._a[_d],b._meridiem),hb(b),cb(b)}function kb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function lb(a){var b,c,d,e,f;if(0===a._f.length)return l(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=p({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],jb(b),m(b)&&(f+=l(b).charsLeftOver,f+=10*l(b).unusedTokens.length,l(b).score=f,(null==d||f<d)&&(d=f,c=b));i(a,c||b)}function mb(a){if(!a._d){var b=K(a._i);a._a=g([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),hb(a)}}function nb(a){var b=new q(cb(ob(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function ob(a){var b=a._i,d=a._f;return a._locale=a._locale||ab(a._l),null===b||void 0===d&&""===b?n({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),r(b)?new q(cb(b)):(c(d)?lb(a):f(b)?a._d=b:d?jb(a):pb(a),m(a)||(a._d=null),a))}function pb(b){var d=b._i;void 0===d?b._d=new Date(a.now()):f(d)?b._d=new Date(d.valueOf()):"string"==typeof d?eb(b):c(d)?(b._a=g(d.slice(0),function(a){return parseInt(a,10)}),hb(b)):"object"==typeof d?mb(b):"number"==typeof d?b._d=new Date(d):a.createFromInputFallback(b)}function qb(a,b,f,g,h){var i={};return"boolean"==typeof f&&(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,nb(i)}function rb(a,b,c,d){return qb(a,b,c,d,!1)}function sb(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return rb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function tb(){var a=[].slice.call(arguments,0);return sb("isBefore",a)}function ub(){var a=[].slice.call(arguments,0);return sb("isAfter",a)}function vb(a){var b=K(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=ab(),this._bubble()}function wb(a){return a instanceof vb}function xb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function yb(a,b){T(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+S(~~(a/60),2)+b+S(~~a%60,2)})}function zb(a,b){var c=(b||"").match(a)||[],d=c[c.length-1]||[],e=(d+"").match(Ge)||["-",0,0],f=+(60*e[1])+t(e[2]);return"+"===e[0]?f:-f}function Ab(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(r(b)||f(b)?b.valueOf():rb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):rb(b).local()}function Bb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Cb(b,c){var d,e=this._offset||0;return this.isValid()?null!=b?("string"==typeof b?b=zb(Td,b):Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Bb(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?Sb(this,Nb(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Bb(this):null!=b?this:NaN}function Db(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Eb(a){return this.utcOffset(0,a)}function Fb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Bb(this),"m")),this}function Gb(){if(this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var a=zb(Sd,this._i);0===a?this.utcOffset(0,!0):this.utcOffset(zb(Sd,this._i))}return this}function Hb(a){return!!this.isValid()&&(a=a?rb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Ib(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jb(){if(!o(this._isDSTShifted))return this._isDSTShifted;var a={};if(p(a,this),a=ob(a),a._a){var b=a._isUTC?j(a._a):rb(a._a);this._isDSTShifted=this.isValid()&&u(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Kb(){return!!this.isValid()&&!this._isUTC}function Lb(){return!!this.isValid()&&this._isUTC}function Mb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Nb(a,b){var c,d,e,f=a,g=null;return wb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(g=He.exec(a))?(c="-"===g[1]?-1:1,f={y:0,d:t(g[$d])*c,h:t(g[_d])*c,m:t(g[ae])*c,s:t(g[be])*c,ms:t(xb(1e3*g[ce]))*c}):(g=Ie.exec(a))?(c="-"===g[1]?-1:1,f={y:Ob(g[2],c),M:Ob(g[3],c),w:Ob(g[4],c),d:Ob(g[5],c),h:Ob(g[6],c),m:Ob(g[7],c),s:Ob(g[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Qb(rb(f.from),rb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new vb(f),wb(a)&&h(a,"_locale")&&(d._locale=a._locale),d}function Ob(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Pb(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Qb(a,b){var c;return a.isValid()&&b.isValid()?(b=Ab(b,a),a.isBefore(b)?c=Pb(a,b):(c=Pb(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Rb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(x(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Nb(c,d),Sb(this,e,a),this}}function Sb(b,c,d,e){var f=c._milliseconds,g=xb(c._days),h=xb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&P(b,"Date",O(b,"Date")+g*d),h&&ia(b,O(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Tb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Ub(b,c){var d=b||rb(),e=Ab(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(y(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,rb(d)))}function Vb(){return new q(this)}function Wb(a,b){var c=r(a)?a:rb(a);return!(!this.isValid()||!c.isValid())&&(b=J(o(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function Xb(a,b){var c=r(a)?a:rb(a);return!(!this.isValid()||!c.isValid())&&(b=J(o(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function Yb(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function Zb(a,b){var c,d=r(a)?a:rb(a);return!(!this.isValid()||!d.isValid())&&(b=J(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function $b(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function _b(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function ac(a,b,c){var d,e,f,g;return this.isValid()?(d=Ab(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=J(b),"year"===b||"month"===b||"quarter"===b?(g=bc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:s(g)):NaN):NaN}function bc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function cc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dc(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?y(Date.prototype.toISOString)?this.toDate().toISOString():W(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):W(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ec(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=W(this,b);return this.localeData().postformat(c)}function fc(a,b){return this.isValid()&&(r(a)&&a.isValid()||rb(a).isValid())?Nb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function gc(a){return this.from(rb(),a)}function hc(a,b){return this.isValid()&&(r(a)&&a.isValid()||rb(a).isValid())?Nb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function ic(a){return this.to(rb(),a)}function jc(a){var b;return void 0===a?this._locale._abbr:(b=ab(a),null!=b&&(this._locale=b),this)}function kc(){return this._locale}function lc(a){switch(a=J(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function mc(a){return a=J(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function nc(){return this._d.valueOf()-6e4*(this._offset||0)}function oc(){return Math.floor(this.valueOf()/1e3)}function pc(){return new Date(this.valueOf())}function qc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function rc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function sc(){return this.isValid()?this.toISOString():null}function tc(){return m(this)}function uc(){return i({},l(this))}function vc(){return l(this).overflow}function wc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function xc(a,b){T(0,[a,a.length],0,b)}function yc(a){return Cc.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function zc(a){return Cc.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Ac(){return wa(this.year(),1,4)}function Bc(){var a=this.localeData()._week;return wa(this.year(),a.dow,a.doy)}function Cc(a,b,c,d,e){var f;return null==a?va(this,d,e).year:(f=wa(a,d,e),b>f&&(b=f),Dc.call(this,a,b,c,d,e))}function Dc(a,b,c,d,e){var f=ua(a,b,c,d,e),g=sa(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Ec(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Fc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Gc(a,b){b[ce]=t(1e3*("0."+a))}function Hc(){return this._isUTC?"UTC":""}function Ic(){return this._isUTC?"Coordinated Universal Time":""}function Jc(a){return rb(1e3*a)}function Kc(){return rb.apply(null,arguments).parseZone()}function Lc(a){return a}function Mc(a,b,c,d){var e=ab(),f=j().set(d,b);return e[c](f,a)}function Nc(a,b,c){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return Mc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Mc(a,d,c,"month");return e}function Oc(a,b,c,d){"boolean"==typeof a?("number"==typeof b&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,"number"==typeof b&&(c=b,b=void 0),b=b||"");var e=ab(),f=a?e._week.dow:0;if(null!=c)return Mc(b,(c+f)%7,d,"day");var g,h=[];for(g=0;g<7;g++)h[g]=Mc(b,(g+f)%7,d,"day");return h}function Pc(a,b){return Nc(a,b,"months")}function Qc(a,b){return Nc(a,b,"monthsShort")}function Rc(a,b,c){return Oc(a,b,c,"weekdays")}function Sc(a,b,c){return Oc(a,b,c,"weekdaysShort")}function Tc(a,b,c){return Oc(a,b,c,"weekdaysMin");
|
2 |
+
}function Uc(){var a=this._data;return this._milliseconds=Ue(this._milliseconds),this._days=Ue(this._days),this._months=Ue(this._months),a.milliseconds=Ue(a.milliseconds),a.seconds=Ue(a.seconds),a.minutes=Ue(a.minutes),a.hours=Ue(a.hours),a.months=Ue(a.months),a.years=Ue(a.years),this}function Vc(a,b,c,d){var e=Nb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function Wc(a,b){return Vc(this,a,b,1)}function Xc(a,b){return Vc(this,a,b,-1)}function Yc(a){return a<0?Math.floor(a):Math.ceil(a)}function Zc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*Yc(_c(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=s(f/1e3),i.seconds=a%60,b=s(a/60),i.minutes=b%60,c=s(b/60),i.hours=c%24,g+=s(c/24),e=s($c(g)),h+=e,g-=Yc(_c(e)),d=s(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function $c(a){return 4800*a/146097}function _c(a){return 146097*a/4800}function ad(a){var b,c,d=this._milliseconds;if(a=J(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+$c(b),"month"===a?c:c/12;switch(b=this._days+Math.round(_c(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function bd(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*t(this._months/12)}function cd(a){return function(){return this.as(a)}}function dd(a){return a=J(a),this[a+"s"]()}function ed(a){return function(){return this._data[a]}}function fd(){return s(this.days()/7)}function gd(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function hd(a,b,c){var d=Nb(a).abs(),e=jf(d.as("s")),f=jf(d.as("m")),g=jf(d.as("h")),h=jf(d.as("d")),i=jf(d.as("M")),j=jf(d.as("y")),k=e<kf.s&&["s",e]||f<=1&&["m"]||f<kf.m&&["mm",f]||g<=1&&["h"]||g<kf.h&&["hh",g]||h<=1&&["d"]||h<kf.d&&["dd",h]||i<=1&&["M"]||i<kf.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,gd.apply(null,k)}function id(a){return void 0===a?jf:"function"==typeof a&&(jf=a,!0)}function jd(a,b){return void 0!==kf[a]&&(void 0===b?kf[a]:(kf[a]=b,!0))}function kd(a){var b=this.localeData(),c=hd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function ld(){var a,b,c,d=lf(this._milliseconds)/1e3,e=lf(this._days),f=lf(this._months);a=s(d/60),b=s(a/60),d%=60,a%=60,c=s(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var md,nd;nd=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var od=a.momentProperties=[],pd=!1,qd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var rd;rd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)h(a,b)&&c.push(b);return c};var sd,td={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},ud={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},vd="Invalid date",wd="%d",xd=/\d{1,2}/,yd={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},zd={},Ad={},Bd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Cd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Dd={},Ed={},Fd=/\d/,Gd=/\d\d/,Hd=/\d{3}/,Id=/\d{4}/,Jd=/[+-]?\d{6}/,Kd=/\d\d?/,Ld=/\d\d\d\d?/,Md=/\d\d\d\d\d\d?/,Nd=/\d{1,3}/,Od=/\d{1,4}/,Pd=/[+-]?\d{1,6}/,Qd=/\d+/,Rd=/[+-]?\d+/,Sd=/Z|[+-]\d\d:?\d\d/gi,Td=/Z|[+-]\d\d(?::?\d\d)?/gi,Ud=/[+-]?\d+(\.\d{1,3})?/,Vd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Wd={},Xd={},Yd=0,Zd=1,$d=2,_d=3,ae=4,be=5,ce=6,de=7,ee=8;sd=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1},T("M",["MM",2],"Mo",function(){return this.month()+1}),T("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),T("MMMM",0,0,function(a){return this.localeData().months(this,a)}),I("month","M"),L("month",8),Y("M",Kd),Y("MM",Kd,Gd),Y("MMM",function(a,b){return b.monthsShortRegex(a)}),Y("MMMM",function(a,b){return b.monthsRegex(a)}),aa(["M","MM"],function(a,b){b[Zd]=t(a)-1}),aa(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[Zd]=e:l(c).invalidMonth=a});var fe=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ge="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),he="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ie=Vd,je=Vd;T("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),T(0,["YY",2],0,function(){return this.year()%100}),T(0,["YYYY",4],0,"year"),T(0,["YYYYY",5],0,"year"),T(0,["YYYYYY",6,!0],0,"year"),I("year","y"),L("year",1),Y("Y",Rd),Y("YY",Kd,Gd),Y("YYYY",Od,Id),Y("YYYYY",Pd,Jd),Y("YYYYYY",Pd,Jd),aa(["YYYYY","YYYYYY"],Yd),aa("YYYY",function(b,c){c[Yd]=2===b.length?a.parseTwoDigitYear(b):t(b)}),aa("YY",function(b,c){c[Yd]=a.parseTwoDigitYear(b)}),aa("Y",function(a,b){b[Yd]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return t(a)+(t(a)>68?1900:2e3)};var ke=N("FullYear",!0);T("w",["ww",2],"wo","week"),T("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),L("week",5),L("isoWeek",5),Y("w",Kd),Y("ww",Kd,Gd),Y("W",Kd),Y("WW",Kd,Gd),ba(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=t(a)});var le={dow:0,doy:6};T("d",0,"do","day"),T("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),T("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),T("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),T("e",0,0,"weekday"),T("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),Y("d",Kd),Y("e",Kd),Y("E",Kd),Y("dd",function(a,b){return b.weekdaysMinRegex(a)}),Y("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Y("dddd",function(a,b){return b.weekdaysRegex(a)}),ba(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:l(c).invalidWeekday=a}),ba(["d","e","E"],function(a,b,c,d){b[d]=t(a)});var me="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ne="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),pe=Vd,qe=Vd,re=Vd;T("H",["HH",2],0,"hour"),T("h",["hh",2],0,Qa),T("k",["kk",2],0,Ra),T("hmm",0,0,function(){return""+Qa.apply(this)+S(this.minutes(),2)}),T("hmmss",0,0,function(){return""+Qa.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),T("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),T("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),Sa("a",!0),Sa("A",!1),I("hour","h"),L("hour",13),Y("a",Ta),Y("A",Ta),Y("H",Kd),Y("h",Kd),Y("HH",Kd,Gd),Y("hh",Kd,Gd),Y("hmm",Ld),Y("hmmss",Md),Y("Hmm",Ld),Y("Hmmss",Md),aa(["H","HH"],_d),aa(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),aa(["h","hh"],function(a,b,c){b[_d]=t(a),l(c).bigHour=!0}),aa("hmm",function(a,b,c){var d=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d)),l(c).bigHour=!0}),aa("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d,2)),b[be]=t(a.substr(e)),l(c).bigHour=!0}),aa("Hmm",function(a,b,c){var d=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d))}),aa("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d,2)),b[be]=t(a.substr(e))});var se,te=/[ap]\.?m?\.?/i,ue=N("Hours",!0),ve={calendar:td,longDateFormat:ud,invalidDate:vd,ordinal:wd,ordinalParse:xd,relativeTime:yd,months:ge,monthsShort:he,week:le,weekdays:me,weekdaysMin:oe,weekdaysShort:ne,meridiemParse:te},we={},xe=/^\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)?)?/,ye=/^\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)?)?/,ze=/Z|[+-]\d\d(?::?\d\d)?/,Ae=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Be=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ce=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=w("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){};var De=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=rb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:n()}),Ee=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=rb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:n()}),Fe=function(){return Date.now?Date.now():+new Date};yb("Z",":"),yb("ZZ",""),Y("Z",Td),Y("ZZ",Td),aa(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=zb(Td,a)});var Ge=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var He=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ie=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nb.fn=vb.prototype;var Je=Rb(1,"add"),Ke=Rb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Le=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});T(0,["gg",2],0,function(){return this.weekYear()%100}),T(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xc("gggg","weekYear"),xc("ggggg","weekYear"),xc("GGGG","isoWeekYear"),xc("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),Y("G",Rd),Y("g",Rd),Y("GG",Kd,Gd),Y("gg",Kd,Gd),Y("GGGG",Od,Id),Y("gggg",Od,Id),Y("GGGGG",Pd,Jd),Y("ggggg",Pd,Jd),ba(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=t(a)}),ba(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),T("Q",0,"Qo","quarter"),I("quarter","Q"),L("quarter",7),Y("Q",Fd),aa("Q",function(a,b){b[Zd]=3*(t(a)-1)}),T("D",["DD",2],"Do","date"),I("date","D"),L("date",9),Y("D",Kd),Y("DD",Kd,Gd),Y("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),aa(["D","DD"],$d),aa("Do",function(a,b){b[$d]=t(a.match(Kd)[0],10)});var Me=N("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),L("dayOfYear",4),Y("DDD",Nd),Y("DDDD",Hd),aa(["DDD","DDDD"],function(a,b,c){c._dayOfYear=t(a)}),T("m",["mm",2],0,"minute"),I("minute","m"),L("minute",14),Y("m",Kd),Y("mm",Kd,Gd),aa(["m","mm"],ae);var Ne=N("Minutes",!1);T("s",["ss",2],0,"second"),I("second","s"),L("second",15),Y("s",Kd),Y("ss",Kd,Gd),aa(["s","ss"],be);var Oe=N("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)}),T(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),T(0,["SSS",3],0,"millisecond"),T(0,["SSSS",4],0,function(){return 10*this.millisecond()}),T(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),T(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),T(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),T(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),T(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),L("millisecond",16),Y("S",Nd,Fd),Y("SS",Nd,Gd),Y("SSS",Nd,Hd);var Pe;for(Pe="SSSS";Pe.length<=9;Pe+="S")Y(Pe,Qd);for(Pe="S";Pe.length<=9;Pe+="S")aa(Pe,Gc);var Qe=N("Milliseconds",!1);T("z",0,0,"zoneAbbr"),T("zz",0,0,"zoneName");var Re=q.prototype;Re.add=Je,Re.calendar=Ub,Re.clone=Vb,Re.diff=ac,Re.endOf=mc,Re.format=ec,Re.from=fc,Re.fromNow=gc,Re.to=hc,Re.toNow=ic,Re.get=Q,Re.invalidAt=vc,Re.isAfter=Wb,Re.isBefore=Xb,Re.isBetween=Yb,Re.isSame=Zb,Re.isSameOrAfter=$b,Re.isSameOrBefore=_b,Re.isValid=tc,Re.lang=Le,Re.locale=jc,Re.localeData=kc,Re.max=Ee,Re.min=De,Re.parsingFlags=uc,Re.set=R,Re.startOf=lc,Re.subtract=Ke,Re.toArray=qc,Re.toObject=rc,Re.toDate=pc,Re.toISOString=dc,Re.toJSON=sc,Re.toString=cc,Re.unix=oc,Re.valueOf=nc,Re.creationData=wc,Re.year=ke,Re.isLeapYear=qa,Re.weekYear=yc,Re.isoWeekYear=zc,Re.quarter=Re.quarters=Ec,Re.month=ja,Re.daysInMonth=ka,Re.week=Re.weeks=Aa,Re.isoWeek=Re.isoWeeks=Ba,Re.weeksInYear=Bc,Re.isoWeeksInYear=Ac,Re.date=Me,Re.day=Re.days=Ja,Re.weekday=Ka,Re.isoWeekday=La,Re.dayOfYear=Fc,Re.hour=Re.hours=ue,Re.minute=Re.minutes=Ne,Re.second=Re.seconds=Oe,Re.millisecond=Re.milliseconds=Qe,Re.utcOffset=Cb,Re.utc=Eb,Re.local=Fb,Re.parseZone=Gb,Re.hasAlignedHourOffset=Hb,Re.isDST=Ib,Re.isLocal=Kb,Re.isUtcOffset=Lb,Re.isUtc=Mb,Re.isUTC=Mb,Re.zoneAbbr=Hc,Re.zoneName=Ic,Re.dates=w("dates accessor is deprecated. Use date instead.",Me),Re.months=w("months accessor is deprecated. Use month instead",ja),Re.years=w("years accessor is deprecated. Use year instead",ke),Re.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Db),Re.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jb);var Se=Re,Te=B.prototype;Te.calendar=C,Te.longDateFormat=D,Te.invalidDate=E,Te.ordinal=F,Te.preparse=Lc,Te.postformat=Lc,Te.relativeTime=G,Te.pastFuture=H,Te.set=z,Te.months=ea,Te.monthsShort=fa,Te.monthsParse=ha,Te.monthsRegex=ma,Te.monthsShortRegex=la,Te.week=xa,Te.firstDayOfYear=za,Te.firstDayOfWeek=ya,Te.weekdays=Ea,Te.weekdaysMin=Ga,Te.weekdaysShort=Fa,Te.weekdaysParse=Ia,Te.weekdaysRegex=Ma,Te.weekdaysShortRegex=Na,Te.weekdaysMinRegex=Oa,Te.isPM=Ua,Te.meridiem=Va,Za("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===t(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=w("moment.lang is deprecated. Use moment.locale instead.",Za),a.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ab);var Ue=Math.abs,Ve=cd("ms"),We=cd("s"),Xe=cd("m"),Ye=cd("h"),Ze=cd("d"),$e=cd("w"),_e=cd("M"),af=cd("y"),bf=ed("milliseconds"),cf=ed("seconds"),df=ed("minutes"),ef=ed("hours"),ff=ed("days"),gf=ed("months"),hf=ed("years"),jf=Math.round,kf={s:45,m:45,h:22,d:26,M:11},lf=Math.abs,mf=vb.prototype;mf.abs=Uc,mf.add=Wc,mf.subtract=Xc,mf.as=ad,mf.asMilliseconds=Ve,mf.asSeconds=We,mf.asMinutes=Xe,mf.asHours=Ye,mf.asDays=Ze,mf.asWeeks=$e,mf.asMonths=_e,mf.asYears=af,mf.valueOf=bd,mf._bubble=Zc,mf.get=dd,mf.milliseconds=bf,mf.seconds=cf,mf.minutes=df,mf.hours=ef,mf.days=ff,mf.weeks=fd,mf.months=gf,mf.years=hf,mf.humanize=kd,mf.toISOString=ld,mf.toString=ld,mf.toJSON=ld,mf.locale=jc,mf.localeData=kc,mf.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ld),mf.lang=Le,T("X",0,0,"unix"),T("x",0,0,"valueOf"),Y("x",Rd),Y("X",Ud),aa("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),aa("x",function(a,b,c){c._d=new Date(t(a))}),a.version="2.15.1",b(rb),a.fn=Se,a.min=tb,a.max=ub,a.now=Fe,a.utc=j,a.unix=Jc,a.months=Pc,a.isDate=f,a.locale=Za,a.invalid=n,a.duration=Nb,a.isMoment=r,a.weekdays=Rc,a.parseZone=Kc,a.localeData=ab,a.isDuration=wb,a.monthsShort=Qc,a.weekdaysMin=Tc,a.defineLocale=$a,a.updateLocale=_a,a.locales=bb,a.weekdaysShort=Sc,a.normalizeUnits=J,a.relativeTimeRounding=id,a.relativeTimeThreshold=jd,a.calendarFormat=Tb,a.prototype=Se;var nf=a;return nf});
|
bp-core/js/vendor/moment.min.js
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return fd.apply(null,arguments)}function b(a){fd=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function e(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function f(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function g(a,b){for(var c in b)f(b,c)&&(a[c]=b[c]);return f(b,"toString")&&(a.toString=b.toString),f(b,"valueOf")&&(a.valueOf=b.valueOf),a}function h(a,b,c,d){return Ja(a,b,c,d,!0).utc()}function i(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function j(a){return null==a._pf&&(a._pf=i()),a._pf}function k(a){if(null==a._isValid){var b=j(a),c=gd.call(b.parsedDateParts,function(a){return null!=a});a._isValid=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c),a._strict&&(a._isValid=a._isValid&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour)}return a._isValid}function l(a){var b=h(NaN);return null!=a?g(j(b),a):j(b).userInvalidated=!0,b}function m(a){return void 0===a}function n(a,b){var c,d,e;if(m(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),m(b._i)||(a._i=b._i),m(b._f)||(a._f=b._f),m(b._l)||(a._l=b._l),m(b._strict)||(a._strict=b._strict),m(b._tzm)||(a._tzm=b._tzm),m(b._isUTC)||(a._isUTC=b._isUTC),m(b._offset)||(a._offset=b._offset),m(b._pf)||(a._pf=j(b)),m(b._locale)||(a._locale=b._locale),hd.length>0)for(c in hd)d=hd[c],e=b[d],m(e)||(a[d]=e);return a}function o(b){n(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),id===!1&&(id=!0,a.updateOffset(this),id=!1)}function p(a){return a instanceof o||null!=a&&null!=a._isAMomentObject}function q(a){return a<0?Math.ceil(a):Math.floor(a)}function r(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=q(b)),c}function s(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&r(a[d])!==r(b[d]))&&g++;return g+f}function t(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function u(b,c){var d=!0;return g(function(){return null!=a.deprecationHandler&&a.deprecationHandler(null,b),d&&(t(b+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),d=!1),c.apply(this,arguments)},c)}function v(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),jd[b]||(t(c),jd[b]=!0)}function w(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function x(a){return"[object Object]"===Object.prototype.toString.call(a)}function y(a){var b,c;for(c in a)b=a[c],w(b)?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function z(a,b){var c,d=g({},a);for(c in b)f(b,c)&&(x(a[c])&&x(b[c])?(d[c]={},g(d[c],a[c]),g(d[c],b[c])):null!=b[c]?d[c]=b[c]:delete d[c]);return d}function A(a){null!=a&&this.set(a)}function B(a){return a?a.toLowerCase().replace("_","-"):a}function C(a){for(var b,c,d,e,f=0;f<a.length;){for(e=B(a[f]).split("-"),b=e.length,c=B(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=D(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&s(e,c,!0)>=b-1)break;b--}f++}return null}function D(a){var b=null;if(!nd[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=ld._abbr,require("./locale/"+a),E(b)}catch(a){}return nd[a]}function E(a,b){var c;return a&&(c=m(b)?H(a):F(a,b),c&&(ld=c)),ld._abbr}function F(a,b){return null!==b?(b.abbr=a,null!=nd[a]?(v("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),b=z(nd[a]._config,b)):null!=b.parentLocale&&(null!=nd[b.parentLocale]?b=z(nd[b.parentLocale]._config,b):v("parentLocaleUndefined","specified parentLocale is not defined yet")),nd[a]=new A(b),E(a),nd[a]):(delete nd[a],null)}function G(a,b){if(null!=b){var c;null!=nd[a]&&(b=z(nd[a]._config,b)),c=new A(b),c.parentLocale=nd[a],nd[a]=c,E(a)}else null!=nd[a]&&(null!=nd[a].parentLocale?nd[a]=nd[a].parentLocale:null!=nd[a]&&delete nd[a]);return nd[a]}function H(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return ld;if(!c(a)){if(b=D(a))return b;a=[a]}return C(a)}function I(){return kd(nd)}function J(a,b){var c=a.toLowerCase();od[c]=od[c+"s"]=od[b]=a}function K(a){return"string"==typeof a?od[a]||od[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)f(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(b,c){return function(d){return null!=d?(O(this,b,d),a.updateOffset(this,c),this):N(this,b)}}function N(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function O(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function P(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=K(a),w(this[a]))return this[a](b);return this}function Q(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function R(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(sd[a]=e),b&&(sd[b[0]]=function(){return Q(e.apply(this,arguments),b[1],b[2])}),c&&(sd[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function S(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function T(a){var b,c,d=a.match(pd);for(b=0,c=d.length;b<c;b++)sd[d[b]]?d[b]=sd[d[b]]:d[b]=S(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=d[e]instanceof Function?d[e].call(b,a):d[e];return f}}function U(a,b){return a.isValid()?(b=V(b,a.localeData()),rd[b]=rd[b]||T(b),rd[b](a)):a.localeData().invalidDate()}function V(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(qd.lastIndex=0;d>=0&&qd.test(a);)a=a.replace(qd,c),qd.lastIndex=0,d-=1;return a}function W(a,b,c){Kd[a]=w(b)?b:function(a,d){return a&&c?c:b}}function X(a,b){return f(Kd,a)?Kd[a](b._strict,b._locale):new RegExp(Y(a))}function Y(a){return Z(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function Z(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=r(a)}),c=0;c<a.length;c++)Ld[a[c]]=d}function _(a,b){$(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function aa(a,b,c){null!=b&&f(Ld,a)&&Ld[a](b,c._a,c,a)}function ba(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function ca(a,b){return c(this._months)?this._months[a.month()]:this._months[Vd.test(b)?"format":"standalone"][a.month()]}function da(a,b){return c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[Vd.test(b)?"format":"standalone"][a.month()]}function ea(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=h([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=md.call(this._shortMonthsParse,g),e!==-1?e:null):(e=md.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=md.call(this._shortMonthsParse,g),e!==-1?e:(e=md.call(this._longMonthsParse,g),e!==-1?e:null)):(e=md.call(this._longMonthsParse,g),e!==-1?e:(e=md.call(this._shortMonthsParse,g),e!==-1?e:null))}function fa(a,b,c){var d,e,f;if(this._monthsParseExact)return ea.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=h([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ga(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=r(b);else if(b=a.localeData().monthsParse(b),"number"!=typeof b)return a;return c=Math.min(a.date(),ba(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ha(b){return null!=b?(ga(this,b),a.updateOffset(this,!0),this):N(this,"Month")}function ia(){return ba(this.year(),this.month())}function ja(a){return this._monthsParseExact?(f(this,"_monthsRegex")||la.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex}function ka(a){return this._monthsParseExact?(f(this,"_monthsRegex")||la.call(this),a?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex}function la(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=h([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=Z(d[b]),e[b]=Z(e[b]),f[b]=Z(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function ma(a){var b,c=a._a;return c&&j(a).overflow===-2&&(b=c[Nd]<0||c[Nd]>11?Nd:c[Od]<1||c[Od]>ba(c[Md],c[Nd])?Od:c[Pd]<0||c[Pd]>24||24===c[Pd]&&(0!==c[Qd]||0!==c[Rd]||0!==c[Sd])?Pd:c[Qd]<0||c[Qd]>59?Qd:c[Rd]<0||c[Rd]>59?Rd:c[Sd]<0||c[Sd]>999?Sd:-1,j(a)._overflowDayOfYear&&(b<Md||b>Od)&&(b=Od),j(a)._overflowWeeks&&b===-1&&(b=Td),j(a)._overflowWeekday&&b===-1&&(b=Ud),j(a).overflow=b),a}function na(a){var b,c,d,e,f,g,h=a._i,i=$d.exec(h)||_d.exec(h);if(i){for(j(a).iso=!0,b=0,c=be.length;b<c;b++)if(be[b][1].exec(i[1])){e=be[b][0],d=be[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=ce.length;b<c;b++)if(ce[b][1].exec(i[3])){f=(i[2]||" ")+ce[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!ae.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),Ca(a)}else a._isValid=!1}function oa(b){var c=de.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(na(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function pa(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function qa(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ra(a){return sa(a)?366:365}function sa(a){return a%4===0&&a%100!==0||a%400===0}function ta(){return sa(this.year())}function ua(a,b,c){var d=7+b-c,e=(7+qa(a,0,d).getUTCDay()-b)%7;return-e+d-1}function va(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ua(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=ra(f)+j):j>ra(a)?(f=a+1,g=j-ra(a)):(f=a,g=j),{year:f,dayOfYear:g}}function wa(a,b,c){var d,e,f=ua(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+xa(e,b,c)):g>xa(a.year(),b,c)?(d=g-xa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function xa(a,b,c){var d=ua(a,b,c),e=ua(a+1,b,c);return(ra(a)-d+e)/7}function ya(a,b,c){return null!=a?a:null!=b?b:c}function za(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function Aa(a){var b,c,d,e,f=[];if(!a._d){for(d=za(a),a._w&&null==a._a[Od]&&null==a._a[Nd]&&Ba(a),a._dayOfYear&&(e=ya(a._a[Md],d[Md]),a._dayOfYear>ra(e)&&(j(a)._overflowDayOfYear=!0),c=qa(e,0,a._dayOfYear),a._a[Nd]=c.getUTCMonth(),a._a[Od]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[Pd]&&0===a._a[Qd]&&0===a._a[Rd]&&0===a._a[Sd]&&(a._nextDay=!0,a._a[Pd]=0),a._d=(a._useUTC?qa:pa).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Pd]=24)}}function Ba(a){var b,c,d,e,f,g,h,i;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=ya(b.GG,a._a[Md],wa(Ka(),1,4).year),d=ya(b.W,1),e=ya(b.E,1),(e<1||e>7)&&(i=!0)):(f=a._locale._week.dow,g=a._locale._week.doy,c=ya(b.gg,a._a[Md],wa(Ka(),f,g).year),d=ya(b.w,1),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f),d<1||d>xa(c,f,g)?j(a)._overflowWeeks=!0:null!=i?j(a)._overflowWeekday=!0:(h=va(c,d,e,f,g),a._a[Md]=h.year,a._dayOfYear=h.dayOfYear)}function Ca(b){if(b._f===a.ISO_8601)return void na(b);b._a=[],j(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,k=0;for(e=V(b._f,b._locale).match(pd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(X(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&j(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),k+=d.length),sd[f]?(d?j(b).empty=!1:j(b).unusedTokens.push(f),aa(f,d,b)):b._strict&&!d&&j(b).unusedTokens.push(f);j(b).charsLeftOver=i-k,h.length>0&&j(b).unusedInput.push(h),j(b).bigHour===!0&&b._a[Pd]<=12&&b._a[Pd]>0&&(j(b).bigHour=void 0),j(b).parsedDateParts=b._a.slice(0),j(b).meridiem=b._meridiem,b._a[Pd]=Da(b._locale,b._a[Pd],b._meridiem),Aa(b),ma(b)}function Da(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function Ea(a){var b,c,d,e,f;if(0===a._f.length)return j(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=n({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],Ca(b),k(b)&&(f+=j(b).charsLeftOver,f+=10*j(b).unusedTokens.length,j(b).score=f,(null==d||f<d)&&(d=f,c=b));g(a,c||b)}function Fa(a){if(!a._d){var b=L(a._i);a._a=e([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),Aa(a)}}function Ga(a){var b=new o(ma(Ha(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function Ha(a){var b=a._i,e=a._f;return a._locale=a._locale||H(a._l),null===b||void 0===e&&""===b?l({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),p(b)?new o(ma(b)):(c(e)?Ea(a):e?Ca(a):d(b)?a._d=b:Ia(a),k(a)||(a._d=null),a))}function Ia(b){var f=b._i;void 0===f?b._d=new Date(a.now()):d(f)?b._d=new Date(f.valueOf()):"string"==typeof f?oa(b):c(f)?(b._a=e(f.slice(0),function(a){return parseInt(a,10)}),Aa(b)):"object"==typeof f?Fa(b):"number"==typeof f?b._d=new Date(f):a.createFromInputFallback(b)}function Ja(a,b,c,d,e){var f={};return"boolean"==typeof c&&(d=c,c=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=e,f._l=c,f._i=a,f._f=b,f._strict=d,Ga(f)}function Ka(a,b,c,d){return Ja(a,b,c,d,!1)}function La(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return Ka();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function Ma(){var a=[].slice.call(arguments,0);return La("isBefore",a)}function Na(){var a=[].slice.call(arguments,0);return La("isAfter",a)}function Oa(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=H(),this._bubble()}function Pa(a){return a instanceof Oa}function Qa(a,b){R(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+Q(~~(a/60),2)+b+Q(~~a%60,2)})}function Ra(a,b){var c=(b||"").match(a)||[],d=c[c.length-1]||[],e=(d+"").match(ie)||["-",0,0],f=+(60*e[1])+r(e[2]);return"+"===e[0]?f:-f}function Sa(b,c){var e,f;return c._isUTC?(e=c.clone(),f=(p(b)||d(b)?b.valueOf():Ka(b).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+f),a.updateOffset(e,!1),e):Ka(b).local()}function Ta(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Ua(b,c){var d,e=this._offset||0;return this.isValid()?null!=b?("string"==typeof b?b=Ra(Hd,b):Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Ta(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?jb(this,db(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Ta(this):null!=b?this:NaN}function Va(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Wa(a){return this.utcOffset(0,a)}function Xa(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ta(this),"m")),this}function Ya(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ra(Gd,this._i)),this}function Za(a){return!!this.isValid()&&(a=a?Ka(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function $a(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _a(){if(!m(this._isDSTShifted))return this._isDSTShifted;var a={};if(n(a,this),a=Ha(a),a._a){var b=a._isUTC?h(a._a):Ka(a._a);this._isDSTShifted=this.isValid()&&s(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function ab(){return!!this.isValid()&&!this._isUTC}function bb(){return!!this.isValid()&&this._isUTC}function cb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function db(a,b){var c,d,e,g=a,h=null;return Pa(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=je.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:r(h[Od])*c,h:r(h[Pd])*c,m:r(h[Qd])*c,s:r(h[Rd])*c,ms:r(h[Sd])*c}):(h=ke.exec(a))?(c="-"===h[1]?-1:1,g={y:eb(h[2],c),M:eb(h[3],c),w:eb(h[4],c),d:eb(h[5],c),h:eb(h[6],c),m:eb(h[7],c),s:eb(h[8],c)}):null==g?g={}:"object"==typeof g&&("from"in g||"to"in g)&&(e=gb(Ka(g.from),Ka(g.to)),g={},g.ms=e.milliseconds,g.M=e.months),d=new Oa(g),Pa(a)&&f(a,"_locale")&&(d._locale=a._locale),d}function eb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function fb(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function gb(a,b){var c;return a.isValid()&&b.isValid()?(b=Sa(b,a),a.isBefore(b)?c=fb(a,b):(c=fb(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function hb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function ib(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(v(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=db(c,d),jb(this,e,a),this}}function jb(b,c,d,e){var f=c._milliseconds,g=hb(c._days),h=hb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&O(b,"Date",N(b,"Date")+g*d),h&&ga(b,N(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function kb(a,b){var c=a||Ka(),d=Sa(c,this).startOf("day"),e=this.diff(d,"days",!0),f=e<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse",g=b&&(w(b[f])?b[f]():b[f]);return this.format(g||this.localeData().calendar(f,this,Ka(c)))}function lb(){return new o(this)}function mb(a,b){var c=p(a)?a:Ka(a);return!(!this.isValid()||!c.isValid())&&(b=K(m(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function nb(a,b){var c=p(a)?a:Ka(a);return!(!this.isValid()||!c.isValid())&&(b=K(m(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function ob(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function pb(a,b){var c,d=p(a)?a:Ka(a);return!(!this.isValid()||!d.isValid())&&(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function qb(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function rb(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function sb(a,b,c){var d,e,f,g;return this.isValid()?(d=Sa(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b),"year"===b||"month"===b||"quarter"===b?(g=tb(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:q(g)):NaN):NaN}function tb(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function ub(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vb(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?w(Date.prototype.toISOString)?this.toDate().toISOString():U(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):U(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function wb(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=U(this,b);return this.localeData().postformat(c)}function xb(a,b){return this.isValid()&&(p(a)&&a.isValid()||Ka(a).isValid())?db({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function yb(a){return this.from(Ka(),a)}function zb(a,b){return this.isValid()&&(p(a)&&a.isValid()||Ka(a).isValid())?db({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function Ab(a){return this.to(Ka(),a)}function Bb(a){var b;return void 0===a?this._locale._abbr:(b=H(a),null!=b&&(this._locale=b),this)}function Cb(){return this._locale}function Db(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function Eb(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function Fb(){return this._d.valueOf()-6e4*(this._offset||0)}function Gb(){return Math.floor(this.valueOf()/1e3)}function Hb(){return this._offset?new Date(this.valueOf()):this._d}function Ib(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function Jb(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function Kb(){return this.isValid()?this.toISOString():null}function Lb(){return k(this)}function Mb(){return g({},j(this))}function Nb(){return j(this).overflow}function Ob(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Pb(a,b){R(0,[a,a.length],0,b)}function Qb(a){return Ub.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rb(a){return Ub.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Sb(){return xa(this.year(),1,4)}function Tb(){var a=this.localeData()._week;return xa(this.year(),a.dow,a.doy)}function Ub(a,b,c,d,e){var f;return null==a?wa(this,d,e).year:(f=xa(a,d,e),b>f&&(b=f),Vb.call(this,a,b,c,d,e))}function Vb(a,b,c,d,e){var f=va(a,b,c,d,e),g=qa(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Wb(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Xb(a){return wa(a,this._week.dow,this._week.doy).week}function Yb(){return this._week.dow}function Zb(){return this._week.doy}function $b(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function _b(a){var b=wa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function ac(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function bc(a,b){return c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]}function cc(a){return this._weekdaysShort[a.day()]}function dc(a){return this._weekdaysMin[a.day()]}function ec(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=h([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=md.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=md.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=md.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=md.call(this._weekdaysParse,g),e!==-1?e:(e=md.call(this._shortWeekdaysParse,g),e!==-1?e:(e=md.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=md.call(this._shortWeekdaysParse,g),e!==-1?e:(e=md.call(this._weekdaysParse,g),e!==-1?e:(e=md.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=md.call(this._minWeekdaysParse,g),e!==-1?e:(e=md.call(this._weekdaysParse,g),e!==-1?e:(e=md.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function fc(a,b,c){var d,e,f;if(this._weekdaysParseExact)return ec.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=h([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function gc(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=ac(a,this.localeData()),this.add(a-b,"d")):b}function hc(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function ic(a){return this.isValid()?null==a?this.day()||7:this.day(this.day()%7?a:a-7):null!=a?this:NaN}function jc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex}function kc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function lc(a){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||mc.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mc(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],i=[],j=[],k=[];for(b=0;b<7;b++)c=h([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),i.push(e),j.push(f),k.push(d),k.push(e),k.push(f);for(g.sort(a),i.sort(a),j.sort(a),k.sort(a),b=0;b<7;b++)i[b]=Z(i[b]),j[b]=Z(j[b]),k[b]=Z(k[b]);this._weekdaysRegex=new RegExp("^("+k.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function nc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function oc(){return this.hours()%12||12}function pc(){return this.hours()||24}function qc(a,b){R(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function rc(a,b){return b._meridiemParse}function sc(a){return"p"===(a+"").toLowerCase().charAt(0)}function tc(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function uc(a,b){b[Sd]=r(1e3*("0."+a))}function vc(){return this._isUTC?"UTC":""}function wc(){return this._isUTC?"Coordinated Universal Time":""}function xc(a){return Ka(1e3*a)}function yc(){return Ka.apply(null,arguments).parseZone()}function zc(a,b,c){var d=this._calendar[a];return w(d)?d.call(b,c):d}function Ac(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function Bc(){return this._invalidDate}function Cc(a){return this._ordinal.replace("%d",a)}function Dc(a){return a}function Ec(a,b,c,d){var e=this._relativeTime[c];return w(e)?e(a,b,c,d):e.replace(/%d/i,a)}function Fc(a,b){var c=this._relativeTime[a>0?"future":"past"];return w(c)?c(b):c.replace(/%s/i,b)}function Gc(a,b,c,d){var e=H(),f=h().set(d,b);return e[c](f,a)}function Hc(a,b,c){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return Gc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Gc(a,d,c,"month");return e}function Ic(a,b,c,d){"boolean"==typeof a?("number"==typeof b&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,"number"==typeof b&&(c=b,b=void 0),b=b||"");var e=H(),f=a?e._week.dow:0;if(null!=c)return Gc(b,(c+f)%7,d,"day");var g,h=[];for(g=0;g<7;g++)h[g]=Gc(b,(g+f)%7,d,"day");return h}function Jc(a,b){return Hc(a,b,"months")}function Kc(a,b){return Hc(a,b,"monthsShort")}function Lc(a,b,c){return Ic(a,b,c,"weekdays")}function Mc(a,b,c){return Ic(a,b,c,"weekdaysShort")}function Nc(a,b,c){return Ic(a,b,c,"weekdaysMin")}function Oc(){var a=this._data;return this._milliseconds=Le(this._milliseconds),this._days=Le(this._days),this._months=Le(this._months),a.milliseconds=Le(a.milliseconds),a.seconds=Le(a.seconds),a.minutes=Le(a.minutes),a.hours=Le(a.hours),a.months=Le(a.months),a.years=Le(a.years),this}function Pc(a,b,c,d){var e=db(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function Qc(a,b){return Pc(this,a,b,1)}function Rc(a,b){return Pc(this,a,b,-1)}function Sc(a){return a<0?Math.floor(a):Math.ceil(a)}function Tc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*Sc(Vc(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=q(f/1e3),i.seconds=a%60,b=q(a/60),i.minutes=b%60,c=q(b/60),i.hours=c%24,g+=q(c/24),e=q(Uc(g)),h+=e,g-=Sc(Vc(e)),d=q(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function Uc(a){return 4800*a/146097}function Vc(a){return 146097*a/4800}function Wc(a){var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+Uc(b),"month"===a?c:c/12;switch(b=this._days+Math.round(Vc(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function Xc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*r(this._months/12)}function Yc(a){return function(){return this.as(a)}}function Zc(a){
|
2 |
-
return a=K(a),this[a+"s"]()}function $c(a){return function(){return this._data[a]}}function _c(){return q(this.days()/7)}function ad(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function bd(a,b,c){var d=db(a).abs(),e=_e(d.as("s")),f=_e(d.as("m")),g=_e(d.as("h")),h=_e(d.as("d")),i=_e(d.as("M")),j=_e(d.as("y")),k=e<af.s&&["s",e]||f<=1&&["m"]||f<af.m&&["mm",f]||g<=1&&["h"]||g<af.h&&["hh",g]||h<=1&&["d"]||h<af.d&&["dd",h]||i<=1&&["M"]||i<af.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,ad.apply(null,k)}function cd(a,b){return void 0!==af[a]&&(void 0===b?af[a]:(af[a]=b,!0))}function dd(a){var b=this.localeData(),c=bd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function ed(){var a,b,c,d=bf(this._milliseconds)/1e3,e=bf(this._days),f=bf(this._months);a=q(d/60),b=q(a/60),d%=60,a%=60,c=q(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var fd,gd;gd=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var hd=a.momentProperties=[],id=!1,jd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var kd;kd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)f(a,b)&&c.push(b);return c};var ld,md,nd={},od={},pd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,qd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rd={},sd={},td=/\d/,ud=/\d\d/,vd=/\d{3}/,wd=/\d{4}/,xd=/[+-]?\d{6}/,yd=/\d\d?/,zd=/\d\d\d\d?/,Ad=/\d\d\d\d\d\d?/,Bd=/\d{1,3}/,Cd=/\d{1,4}/,Dd=/[+-]?\d{1,6}/,Ed=/\d+/,Fd=/[+-]?\d+/,Gd=/Z|[+-]\d\d:?\d\d/gi,Hd=/Z|[+-]\d\d(?::?\d\d)?/gi,Id=/[+-]?\d+(\.\d{1,3})?/,Jd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Kd={},Ld={},Md=0,Nd=1,Od=2,Pd=3,Qd=4,Rd=5,Sd=6,Td=7,Ud=8;md=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1},R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),R("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),W("M",yd),W("MM",yd,ud),W("MMM",function(a,b){return b.monthsShortRegex(a)}),W("MMMM",function(a,b){return b.monthsRegex(a)}),$(["M","MM"],function(a,b){b[Nd]=r(a)-1}),$(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[Nd]=e:j(c).invalidMonth=a});var Vd=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Wd="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Yd=Jd,Zd=Jd,$d=/^\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)?)?/,_d=/^\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)?)?/,ae=/Z|[+-]\d\d(?::?\d\d)?/,be=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ce=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],de=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=u("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),R("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),J("year","y"),W("Y",Fd),W("YY",yd,ud),W("YYYY",Cd,wd),W("YYYYY",Dd,xd),W("YYYYYY",Dd,xd),$(["YYYYY","YYYYYY"],Md),$("YYYY",function(b,c){c[Md]=2===b.length?a.parseTwoDigitYear(b):r(b)}),$("YY",function(b,c){c[Md]=a.parseTwoDigitYear(b)}),$("Y",function(a,b){b[Md]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return r(a)+(r(a)>68?1900:2e3)};var ee=M("FullYear",!0);a.ISO_8601=function(){};var fe=u("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=Ka.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:l()}),ge=u("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=Ka.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:l()}),he=function(){return Date.now?Date.now():+new Date};Qa("Z",":"),Qa("ZZ",""),W("Z",Hd),W("ZZ",Hd),$(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Ra(Hd,a)});var ie=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var je=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ke=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;db.fn=Oa.prototype;var le=ib(1,"add"),me=ib(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ne=u("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pb("gggg","weekYear"),Pb("ggggg","weekYear"),Pb("GGGG","isoWeekYear"),Pb("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),W("G",Fd),W("g",Fd),W("GG",yd,ud),W("gg",yd,ud),W("GGGG",Cd,wd),W("gggg",Cd,wd),W("GGGGG",Dd,xd),W("ggggg",Dd,xd),_(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=r(a)}),_(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),R("Q",0,"Qo","quarter"),J("quarter","Q"),W("Q",td),$("Q",function(a,b){b[Nd]=3*(r(a)-1)}),R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),W("w",yd),W("ww",yd,ud),W("W",yd),W("WW",yd,ud),_(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=r(a)});var oe={dow:0,doy:6};R("D",["DD",2],"Do","date"),J("date","D"),W("D",yd),W("DD",yd,ud),W("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),$(["D","DD"],Od),$("Do",function(a,b){b[Od]=r(a.match(yd)[0],10)});var pe=M("Date",!0);R("d",0,"do","day"),R("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),R("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),R("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),W("d",yd),W("e",yd),W("E",yd),W("dd",function(a,b){return b.weekdaysMinRegex(a)}),W("ddd",function(a,b){return b.weekdaysShortRegex(a)}),W("dddd",function(a,b){return b.weekdaysRegex(a)}),_(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:j(c).invalidWeekday=a}),_(["d","e","E"],function(a,b,c,d){b[d]=r(a)});var qe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),se="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),te=Jd,ue=Jd,ve=Jd;R("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),W("DDD",Bd),W("DDDD",vd),$(["DDD","DDDD"],function(a,b,c){c._dayOfYear=r(a)}),R("H",["HH",2],0,"hour"),R("h",["hh",2],0,oc),R("k",["kk",2],0,pc),R("hmm",0,0,function(){return""+oc.apply(this)+Q(this.minutes(),2)}),R("hmmss",0,0,function(){return""+oc.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+Q(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)}),qc("a",!0),qc("A",!1),J("hour","h"),W("a",rc),W("A",rc),W("H",yd),W("h",yd),W("HH",yd,ud),W("hh",yd,ud),W("hmm",zd),W("hmmss",Ad),W("Hmm",zd),W("Hmmss",Ad),$(["H","HH"],Pd),$(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),$(["h","hh"],function(a,b,c){b[Pd]=r(a),j(c).bigHour=!0}),$("hmm",function(a,b,c){var d=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d)),j(c).bigHour=!0}),$("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d,2)),b[Rd]=r(a.substr(e)),j(c).bigHour=!0}),$("Hmm",function(a,b,c){var d=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d))}),$("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[Pd]=r(a.substr(0,d)),b[Qd]=r(a.substr(d,2)),b[Rd]=r(a.substr(e))});var we=/[ap]\.?m?\.?/i,xe=M("Hours",!0);R("m",["mm",2],0,"minute"),J("minute","m"),W("m",yd),W("mm",yd,ud),$(["m","mm"],Qd);var ye=M("Minutes",!1);R("s",["ss",2],0,"second"),J("second","s"),W("s",yd),W("ss",yd,ud),$(["s","ss"],Rd);var ze=M("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),W("S",Bd,td),W("SS",Bd,ud),W("SSS",Bd,vd);var Ae;for(Ae="SSSS";Ae.length<=9;Ae+="S")W(Ae,Ed);for(Ae="S";Ae.length<=9;Ae+="S")$(Ae,uc);var Be=M("Milliseconds",!1);R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var Ce=o.prototype;Ce.add=le,Ce.calendar=kb,Ce.clone=lb,Ce.diff=sb,Ce.endOf=Eb,Ce.format=wb,Ce.from=xb,Ce.fromNow=yb,Ce.to=zb,Ce.toNow=Ab,Ce.get=P,Ce.invalidAt=Nb,Ce.isAfter=mb,Ce.isBefore=nb,Ce.isBetween=ob,Ce.isSame=pb,Ce.isSameOrAfter=qb,Ce.isSameOrBefore=rb,Ce.isValid=Lb,Ce.lang=ne,Ce.locale=Bb,Ce.localeData=Cb,Ce.max=ge,Ce.min=fe,Ce.parsingFlags=Mb,Ce.set=P,Ce.startOf=Db,Ce.subtract=me,Ce.toArray=Ib,Ce.toObject=Jb,Ce.toDate=Hb,Ce.toISOString=vb,Ce.toJSON=Kb,Ce.toString=ub,Ce.unix=Gb,Ce.valueOf=Fb,Ce.creationData=Ob,Ce.year=ee,Ce.isLeapYear=ta,Ce.weekYear=Qb,Ce.isoWeekYear=Rb,Ce.quarter=Ce.quarters=Wb,Ce.month=ha,Ce.daysInMonth=ia,Ce.week=Ce.weeks=$b,Ce.isoWeek=Ce.isoWeeks=_b,Ce.weeksInYear=Tb,Ce.isoWeeksInYear=Sb,Ce.date=pe,Ce.day=Ce.days=gc,Ce.weekday=hc,Ce.isoWeekday=ic,Ce.dayOfYear=nc,Ce.hour=Ce.hours=xe,Ce.minute=Ce.minutes=ye,Ce.second=Ce.seconds=ze,Ce.millisecond=Ce.milliseconds=Be,Ce.utcOffset=Ua,Ce.utc=Wa,Ce.local=Xa,Ce.parseZone=Ya,Ce.hasAlignedHourOffset=Za,Ce.isDST=$a,Ce.isDSTShifted=_a,Ce.isLocal=ab,Ce.isUtcOffset=bb,Ce.isUtc=cb,Ce.isUTC=cb,Ce.zoneAbbr=vc,Ce.zoneName=wc,Ce.dates=u("dates accessor is deprecated. Use date instead.",pe),Ce.months=u("months accessor is deprecated. Use month instead",ha),Ce.years=u("years accessor is deprecated. Use year instead",ee),Ce.zone=u("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Va);var De=Ce,Ee={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Fe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ge="Invalid date",He="%d",Ie=/\d{1,2}/,Je={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ke=A.prototype;Ke._calendar=Ee,Ke.calendar=zc,Ke._longDateFormat=Fe,Ke.longDateFormat=Ac,Ke._invalidDate=Ge,Ke.invalidDate=Bc,Ke._ordinal=He,Ke.ordinal=Cc,Ke._ordinalParse=Ie,Ke.preparse=Dc,Ke.postformat=Dc,Ke._relativeTime=Je,Ke.relativeTime=Ec,Ke.pastFuture=Fc,Ke.set=y,Ke.months=ca,Ke._months=Wd,Ke.monthsShort=da,Ke._monthsShort=Xd,Ke.monthsParse=fa,Ke._monthsRegex=Zd,Ke.monthsRegex=ka,Ke._monthsShortRegex=Yd,Ke.monthsShortRegex=ja,Ke.week=Xb,Ke._week=oe,Ke.firstDayOfYear=Zb,Ke.firstDayOfWeek=Yb,Ke.weekdays=bc,Ke._weekdays=qe,Ke.weekdaysMin=dc,Ke._weekdaysMin=se,Ke.weekdaysShort=cc,Ke._weekdaysShort=re,Ke.weekdaysParse=fc,Ke._weekdaysRegex=te,Ke.weekdaysRegex=jc,Ke._weekdaysShortRegex=ue,Ke.weekdaysShortRegex=kc,Ke._weekdaysMinRegex=ve,Ke.weekdaysMinRegex=lc,Ke.isPM=sc,Ke._meridiemParse=we,Ke.meridiem=tc,E("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===r(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=u("moment.lang is deprecated. Use moment.locale instead.",E),a.langData=u("moment.langData is deprecated. Use moment.localeData instead.",H);var Le=Math.abs,Me=Yc("ms"),Ne=Yc("s"),Oe=Yc("m"),Pe=Yc("h"),Qe=Yc("d"),Re=Yc("w"),Se=Yc("M"),Te=Yc("y"),Ue=$c("milliseconds"),Ve=$c("seconds"),We=$c("minutes"),Xe=$c("hours"),Ye=$c("days"),Ze=$c("months"),$e=$c("years"),_e=Math.round,af={s:45,m:45,h:22,d:26,M:11},bf=Math.abs,cf=Oa.prototype;cf.abs=Oc,cf.add=Qc,cf.subtract=Rc,cf.as=Wc,cf.asMilliseconds=Me,cf.asSeconds=Ne,cf.asMinutes=Oe,cf.asHours=Pe,cf.asDays=Qe,cf.asWeeks=Re,cf.asMonths=Se,cf.asYears=Te,cf.valueOf=Xc,cf._bubble=Tc,cf.get=Zc,cf.milliseconds=Ue,cf.seconds=Ve,cf.minutes=We,cf.hours=Xe,cf.days=Ye,cf.weeks=_c,cf.months=Ze,cf.years=$e,cf.humanize=dd,cf.toISOString=ed,cf.toString=ed,cf.toJSON=ed,cf.locale=Bb,cf.localeData=Cb,cf.toIsoString=u("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ed),cf.lang=ne,R("X",0,0,"unix"),R("x",0,0,"valueOf"),W("x",Fd),W("X",Id),$("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),$("x",function(a,b,c){c._d=new Date(r(a))}),a.version="2.13.0",b(Ka),a.fn=De,a.min=Ma,a.max=Na,a.now=he,a.utc=h,a.unix=xc,a.months=Jc,a.isDate=d,a.locale=E,a.invalid=l,a.duration=db,a.isMoment=p,a.weekdays=Lc,a.parseZone=yc,a.localeData=H,a.isDuration=Pa,a.monthsShort=Kc,a.weekdaysMin=Nc,a.defineLocale=F,a.updateLocale=G,a.locales=I,a.weekdaysShort=Mc,a.normalizeUnits=K,a.relativeTimeThreshold=cd,a.prototype=De;var df=a;return df});
|
|
|
|
bp-groups/bp-groups-admin.php
CHANGED
@@ -1047,7 +1047,7 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null
|
|
1047 |
}
|
1048 |
|
1049 |
$types = bp_groups_get_group_types( array(), 'objects' );
|
1050 |
-
$current_types = bp_groups_get_group_type( $group->id, false );
|
1051 |
$backend_only = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) );
|
1052 |
?>
|
1053 |
|
1047 |
}
|
1048 |
|
1049 |
$types = bp_groups_get_group_types( array(), 'objects' );
|
1050 |
+
$current_types = (array) bp_groups_get_group_type( $group->id, false );
|
1051 |
$backend_only = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) );
|
1052 |
?>
|
1053 |
|
bp-groups/bp-groups-template.php
CHANGED
@@ -249,7 +249,7 @@ function bp_group_type_list( $group_id = 0, $r = array() ) {
|
|
249 |
|
250 |
if ( $types = bp_groups_get_group_type( $group_id, false ) ) {
|
251 |
// Make sure we can show the type in the list.
|
252 |
-
if ( false === $show_all ) {
|
253 |
$types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types );
|
254 |
if ( empty( $types ) ) {
|
255 |
return $retval;
|
249 |
|
250 |
if ( $types = bp_groups_get_group_type( $group_id, false ) ) {
|
251 |
// Make sure we can show the type in the list.
|
252 |
+
if ( false === $r['show_all'] ) {
|
253 |
$types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types );
|
254 |
if ( empty( $types ) ) {
|
255 |
return $retval;
|
bp-loader.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Description: BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.
|
16 |
* Author: The BuddyPress Community
|
17 |
* Author URI: https://buddypress.org/
|
18 |
-
* Version: 2.7-
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
@@ -330,7 +330,7 @@ class BuddyPress {
|
|
330 |
|
331 |
/** Versions **********************************************************/
|
332 |
|
333 |
-
$this->version = '2.7-
|
334 |
$this->db_version = 11105;
|
335 |
|
336 |
/** Loading ***********************************************************/
|
15 |
* Description: BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.
|
16 |
* Author: The BuddyPress Community
|
17 |
* Author URI: https://buddypress.org/
|
18 |
+
* Version: 2.7-rc2
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
330 |
|
331 |
/** Versions **********************************************************/
|
332 |
|
333 |
+
$this->version = '2.7-rc2';
|
334 |
$this->db_version = 11105;
|
335 |
|
336 |
/** Loading ***********************************************************/
|
bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php
CHANGED
@@ -7,10 +7,10 @@
|
|
7 |
?>
|
8 |
|
9 |
<div id="<?php echo esc_attr( bp_current_component() ); ?>-dir-search" class="dir-search" role="search">
|
10 |
-
<form action="" method="get" id="search-<?php
|
11 |
<label for="<?php bp_search_input_name(); ?>" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?></label>
|
12 |
<input type="text" name="<?php echo esc_attr( bp_core_get_component_search_query_arg() ); ?>" id="<?php bp_search_input_name(); ?>" placeholder="<?php bp_search_placeholder(); ?>" />
|
13 |
|
14 |
-
<input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php
|
15 |
</form>
|
16 |
</div><!-- #<?php echo esc_attr( bp_current_component() ); ?>-dir-search -->
|
7 |
?>
|
8 |
|
9 |
<div id="<?php echo esc_attr( bp_current_component() ); ?>-dir-search" class="dir-search" role="search">
|
10 |
+
<form action="" method="get" id="search-<?php echo esc_attr( bp_current_component() ); ?>-form">
|
11 |
<label for="<?php bp_search_input_name(); ?>" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?></label>
|
12 |
<input type="text" name="<?php echo esc_attr( bp_core_get_component_search_query_arg() ); ?>" id="<?php bp_search_input_name(); ?>" placeholder="<?php bp_search_placeholder(); ?>" />
|
13 |
|
14 |
+
<input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" />
|
15 |
</form>
|
16 |
</div><!-- #<?php echo esc_attr( bp_current_component() ); ?>-dir-search -->
|
buddypress.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: BuddyPress 2.7-
|
6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
7 |
-
"POT-Creation-Date: 2016-10-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -834,7 +834,7 @@ msgid "Replies disabled"
|
|
834 |
msgstr ""
|
835 |
|
836 |
#: bp-activity/classes/class-bp-activity-list-table.php:609
|
837 |
-
#: bp-core/bp-core-cssjs.php:
|
838 |
msgid "Are you sure?"
|
839 |
msgstr ""
|
840 |
|
@@ -1086,6 +1086,7 @@ msgstr ""
|
|
1086 |
#: bp-forums/bp-forums-template.php:2925 bp-groups/bp-groups-template.php:5222
|
1087 |
#: bp-members/bp-members-template.php:1275
|
1088 |
#: bp-messages/bp-messages-template.php:794
|
|
|
1089 |
msgid "Search"
|
1090 |
msgstr ""
|
1091 |
|
@@ -1970,58 +1971,6 @@ msgstr ""
|
|
1970 |
msgid "You must log in to access the page you requested."
|
1971 |
msgstr ""
|
1972 |
|
1973 |
-
#: bp-core/bp-core-cssjs.php:496
|
1974 |
-
msgid "in %s"
|
1975 |
-
msgstr ""
|
1976 |
-
|
1977 |
-
#: bp-core/bp-core-cssjs.php:497 bp-core/bp-core-functions.php:1154
|
1978 |
-
msgid "%s ago"
|
1979 |
-
msgstr ""
|
1980 |
-
|
1981 |
-
#: bp-core/bp-core-cssjs.php:498
|
1982 |
-
msgid "a few seconds"
|
1983 |
-
msgstr ""
|
1984 |
-
|
1985 |
-
#: bp-core/bp-core-cssjs.php:499
|
1986 |
-
msgid "a minute"
|
1987 |
-
msgstr ""
|
1988 |
-
|
1989 |
-
#: bp-core/bp-core-cssjs.php:500
|
1990 |
-
msgid "%d minutes"
|
1991 |
-
msgstr ""
|
1992 |
-
|
1993 |
-
#: bp-core/bp-core-cssjs.php:501
|
1994 |
-
msgid "an hour"
|
1995 |
-
msgstr ""
|
1996 |
-
|
1997 |
-
#: bp-core/bp-core-cssjs.php:502
|
1998 |
-
msgid "%d hours"
|
1999 |
-
msgstr ""
|
2000 |
-
|
2001 |
-
#: bp-core/bp-core-cssjs.php:503
|
2002 |
-
msgid "a day"
|
2003 |
-
msgstr ""
|
2004 |
-
|
2005 |
-
#: bp-core/bp-core-cssjs.php:504
|
2006 |
-
msgid "%d days"
|
2007 |
-
msgstr ""
|
2008 |
-
|
2009 |
-
#: bp-core/bp-core-cssjs.php:505
|
2010 |
-
msgid "a month"
|
2011 |
-
msgstr ""
|
2012 |
-
|
2013 |
-
#: bp-core/bp-core-cssjs.php:506
|
2014 |
-
msgid "%d months"
|
2015 |
-
msgstr ""
|
2016 |
-
|
2017 |
-
#: bp-core/bp-core-cssjs.php:507
|
2018 |
-
msgid "a year"
|
2019 |
-
msgstr ""
|
2020 |
-
|
2021 |
-
#: bp-core/bp-core-cssjs.php:508
|
2022 |
-
msgid "%d years"
|
2023 |
-
msgstr ""
|
2024 |
-
|
2025 |
#: bp-core/bp-core-customizer-email.php:32
|
2026 |
msgid "Customize the appearance of emails sent by BuddyPress."
|
2027 |
msgstr ""
|
@@ -2087,6 +2036,10 @@ msgstr ""
|
|
2087 |
msgid "right now"
|
2088 |
msgstr ""
|
2089 |
|
|
|
|
|
|
|
|
|
2090 |
#: bp-core/bp-core-functions.php:1215
|
2091 |
msgid "%s year"
|
2092 |
msgid_plural "%s years"
|
@@ -2979,211 +2932,229 @@ msgstr ""
|
|
2979 |
msgid "Groups Query Overhaul"
|
2980 |
msgstr ""
|
2981 |
|
2982 |
-
#: bp-core/classes/class-bp-admin.php:
|
2983 |
-
|
2984 |
-
|
2985 |
-
|
2986 |
-
|
2987 |
-
msgid " "
|
2988 |
-
msgstr ""
|
2989 |
-
|
2990 |
-
#: bp-core/classes/class-bp-admin.php:620
|
2991 |
-
msgid "Learn more about the Groups Query rewrite."
|
2992 |
msgstr ""
|
2993 |
|
2994 |
-
#: bp-core/classes/class-bp-admin.php:
|
2995 |
-
msgid "For Developers & Site
|
2996 |
msgstr ""
|
2997 |
|
2998 |
-
#: bp-core/classes/class-bp-admin.php:
|
2999 |
msgid "Improved Profile Date Field"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
-
#: bp-core/classes/class-bp-admin.php:
|
3003 |
msgid ""
|
3004 |
"New Date Field settings, \"Date format\" and \"Range\", make it easier for "
|
3005 |
"site administrators to decide how date-based data will be collected and "
|
3006 |
"displayed."
|
3007 |
msgstr ""
|
3008 |
|
3009 |
-
#: bp-core/classes/class-bp-admin.php:
|
3010 |
msgid "Group Types Integration in Templates"
|
3011 |
msgstr ""
|
3012 |
|
3013 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
3014 |
msgid ""
|
3015 |
-
"Enable developers to show Group Types
|
3016 |
-
"where the group type information is rendered."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3017 |
msgstr ""
|
3018 |
|
3019 |
-
#: bp-core/classes/class-bp-admin.php:
|
3020 |
-
msgid "
|
|
|
|
|
3021 |
msgstr ""
|
3022 |
|
3023 |
-
#: bp-core/classes/class-bp-admin.php:
|
3024 |
msgid "Localized Timestamps"
|
3025 |
msgstr ""
|
3026 |
|
3027 |
-
#: bp-core/classes/class-bp-admin.php:
|
3028 |
msgid ""
|
3029 |
"Fix inaccurate timestamps due to time zones or page caching with new "
|
3030 |
"client-side timestamp handling."
|
3031 |
msgstr ""
|
3032 |
|
3033 |
-
#: bp-core/classes/class-bp-admin.php:
|
3034 |
msgid "Links to Unsubscribe from Emails"
|
3035 |
msgstr ""
|
3036 |
|
3037 |
-
#: bp-core/classes/class-bp-admin.php:
|
3038 |
msgid ""
|
3039 |
"Improve user experience by facilitating the removal of any or all "
|
3040 |
-
"subscriptions
|
3041 |
msgstr ""
|
3042 |
|
3043 |
-
#: bp-core/classes/class-bp-admin.php:
|
3044 |
-
msgid "
|
3045 |
msgstr ""
|
3046 |
|
3047 |
-
#: bp-core/classes/class-bp-admin.php:
|
3048 |
msgid ""
|
3049 |
-
"
|
3050 |
-
"
|
|
|
3051 |
msgstr ""
|
3052 |
|
3053 |
-
#: bp-core/classes/class-bp-admin.php:
|
3054 |
-
msgid "Accessibility Updates for the Front
|
3055 |
msgstr ""
|
3056 |
|
3057 |
-
#: bp-core/classes/class-bp-admin.php:
|
3058 |
msgid ""
|
3059 |
-
"Continued improvements for universal
|
3060 |
-
"
|
3061 |
-
"devices)."
|
3062 |
msgstr ""
|
3063 |
|
3064 |
-
#: bp-core/classes/class-bp-admin.php:
|
3065 |
-
|
|
|
3066 |
msgstr ""
|
3067 |
|
3068 |
-
#: bp-core/classes/class-bp-admin.php:
|
3069 |
msgid ""
|
3070 |
-
"
|
3071 |
-
"
|
3072 |
-
"in the front end."
|
3073 |
msgstr ""
|
3074 |
|
3075 |
-
#: bp-core/classes/class-bp-admin.php:
|
3076 |
-
msgid "Improvements to a Single Group
|
3077 |
msgstr ""
|
3078 |
|
3079 |
-
#: bp-core/classes/class-bp-admin.php:
|
3080 |
msgid ""
|
3081 |
"Improved markup, new modular group management templates, and a new member "
|
3082 |
"search form are just some of the enhancements added to the single group "
|
3083 |
"admin screens."
|
3084 |
msgstr ""
|
3085 |
|
3086 |
-
#: bp-core/classes/class-bp-admin.php:
|
3087 |
-
|
|
|
3088 |
msgstr ""
|
3089 |
|
3090 |
-
#: bp-core/classes/class-bp-admin.php:
|
3091 |
msgid ""
|
3092 |
-
"Query support for hierarchical groups
|
3093 |
-
"
|
3094 |
msgstr ""
|
3095 |
|
3096 |
-
#: bp-core/classes/class-bp-admin.php:
|
3097 |
msgid "Many, Many Performance Improvements"
|
3098 |
msgstr ""
|
3099 |
|
3100 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
3101 |
msgid ""
|
3102 |
-
"
|
3103 |
-
"calls, and removing the number of loops in
|
3104 |
msgstr ""
|
3105 |
|
3106 |
-
#: bp-core/classes/class-bp-admin.php:
|
3107 |
msgid "And so much more!"
|
3108 |
msgstr ""
|
3109 |
|
3110 |
-
#: bp-core/classes/class-bp-admin.php:
|
3111 |
-
|
|
|
3112 |
msgstr ""
|
3113 |
|
3114 |
-
#: bp-core/classes/class-bp-admin.php:
|
3115 |
msgid "BuddyPress is created by a worldwide network of friendly folks like these."
|
3116 |
msgstr ""
|
3117 |
|
3118 |
-
#: bp-core/classes/class-bp-admin.php:
|
3119 |
msgid "Project Leaders"
|
3120 |
msgstr ""
|
3121 |
|
3122 |
-
#: bp-core/classes/class-bp-admin.php:
|
3123 |
msgid "Project Lead"
|
3124 |
msgstr ""
|
3125 |
|
3126 |
-
#: bp-core/classes/class-bp-admin.php:
|
3127 |
-
#: bp-core/classes/class-bp-admin.php:
|
3128 |
msgid "Lead Developer"
|
3129 |
msgstr ""
|
3130 |
|
3131 |
-
#: bp-core/classes/class-bp-admin.php:
|
3132 |
msgid "BuddyPress Team"
|
3133 |
msgstr ""
|
3134 |
|
3135 |
-
#: bp-core/classes/class-bp-admin.php:
|
3136 |
msgid "2.7 Release Lead"
|
3137 |
msgstr ""
|
3138 |
|
3139 |
-
#: bp-core/classes/class-bp-admin.php:
|
3140 |
-
#: bp-core/classes/class-bp-admin.php:
|
3141 |
-
#: bp-core/classes/class-bp-admin.php:
|
3142 |
-
#: bp-core/classes/class-bp-admin.php:
|
3143 |
-
#: bp-core/classes/class-bp-admin.php:
|
3144 |
msgid "Core Developer"
|
3145 |
msgstr ""
|
3146 |
|
3147 |
-
#: bp-core/classes/class-bp-admin.php:
|
3148 |
-
#: bp-core/classes/class-bp-admin.php:
|
3149 |
-
#: bp-core/classes/class-bp-admin.php:
|
3150 |
msgid "Community Support"
|
3151 |
msgstr ""
|
3152 |
|
3153 |
-
#: bp-core/classes/class-bp-admin.php:
|
3154 |
msgid "🌟Recent Rockstars🌟"
|
3155 |
msgstr ""
|
3156 |
|
3157 |
-
#: bp-core/classes/class-bp-admin.php:
|
3158 |
msgid "Contributors to BuddyPress %s"
|
3159 |
msgstr ""
|
3160 |
|
3161 |
-
#: bp-core/classes/class-bp-admin.php:
|
3162 |
msgid "💖With our thanks to these Open Source projects💖"
|
3163 |
msgstr ""
|
3164 |
|
3165 |
-
#: bp-core/classes/class-bp-admin.php:
|
3166 |
msgid ""
|
3167 |
"Thank you for installing BuddyPress! BuddyPress helps site builders and "
|
3168 |
"WordPress developers add community features to their websites, with user "
|
3169 |
"profile fields, activity streams, messaging, and notifications."
|
3170 |
msgstr ""
|
3171 |
|
3172 |
-
#: bp-core/classes/class-bp-admin.php:
|
3173 |
msgid ""
|
3174 |
"Thank you for updating! BuddyPress %s has many new features that you will "
|
3175 |
"enjoy."
|
3176 |
msgstr ""
|
3177 |
|
3178 |
-
#: bp-core/classes/class-bp-admin.php:
|
3179 |
msgid "Welcome to BuddyPress %s"
|
3180 |
msgstr ""
|
3181 |
|
3182 |
-
#: bp-core/classes/class-bp-admin.php:
|
3183 |
msgid "What’s New"
|
3184 |
msgstr ""
|
3185 |
|
3186 |
-
#: bp-core/classes/class-bp-admin.php:
|
3187 |
msgid "Credits"
|
3188 |
msgstr ""
|
3189 |
|
@@ -8789,52 +8760,52 @@ msgctxt "BuddyPress setting tab"
|
|
8789 |
msgid "Profile Settings"
|
8790 |
msgstr ""
|
8791 |
|
8792 |
-
#: bp-core/classes/class-bp-admin.php:
|
8793 |
msgctxt "About screen, website links"
|
8794 |
msgid "Learn more:"
|
8795 |
msgstr ""
|
8796 |
|
8797 |
-
#: bp-core/classes/class-bp-admin.php:
|
8798 |
msgctxt "About screen, link to project blog"
|
8799 |
msgid "News"
|
8800 |
msgstr ""
|
8801 |
|
8802 |
-
#: bp-core/classes/class-bp-admin.php:
|
8803 |
msgctxt "About screen, link to support site"
|
8804 |
msgid "Support"
|
8805 |
msgstr ""
|
8806 |
|
8807 |
-
#: bp-core/classes/class-bp-admin.php:
|
8808 |
msgctxt "About screen, link to documentation"
|
8809 |
msgid "Documentation"
|
8810 |
msgstr ""
|
8811 |
|
8812 |
-
#: bp-core/classes/class-bp-admin.php:
|
8813 |
msgctxt "About screen, link to development blog"
|
8814 |
msgid "Development Blog"
|
8815 |
msgstr ""
|
8816 |
|
8817 |
-
#: bp-core/classes/class-bp-admin.php:
|
8818 |
msgctxt "official Twitter accounts:"
|
8819 |
msgid "Twitter:"
|
8820 |
msgstr ""
|
8821 |
|
8822 |
-
#: bp-core/classes/class-bp-admin.php:
|
8823 |
msgctxt "@buddypress twitter account name"
|
8824 |
msgid "BuddyPress"
|
8825 |
msgstr ""
|
8826 |
|
8827 |
-
#: bp-core/classes/class-bp-admin.php:
|
8828 |
msgctxt "@bptrac twitter account name"
|
8829 |
msgid "Trac"
|
8830 |
msgstr ""
|
8831 |
|
8832 |
-
#: bp-core/classes/class-bp-admin.php:
|
8833 |
msgctxt "@buddypressdev twitter account name"
|
8834 |
msgid "Development"
|
8835 |
msgstr ""
|
8836 |
|
8837 |
-
#: bp-core/classes/class-bp-admin.php:
|
8838 |
msgctxt "Email post type"
|
8839 |
msgid "Situations"
|
8840 |
msgstr ""
|
2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: BuddyPress 2.7-rc2\n"
|
6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
7 |
+
"POT-Creation-Date: 2016-10-13 00:28:58+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
834 |
msgstr ""
|
835 |
|
836 |
#: bp-activity/classes/class-bp-activity-list-table.php:609
|
837 |
+
#: bp-core/bp-core-cssjs.php:165
|
838 |
msgid "Are you sure?"
|
839 |
msgstr ""
|
840 |
|
1086 |
#: bp-forums/bp-forums-template.php:2925 bp-groups/bp-groups-template.php:5222
|
1087 |
#: bp-members/bp-members-template.php:1275
|
1088 |
#: bp-messages/bp-messages-template.php:794
|
1089 |
+
#: bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php:14
|
1090 |
msgid "Search"
|
1091 |
msgstr ""
|
1092 |
|
1971 |
msgid "You must log in to access the page you requested."
|
1972 |
msgstr ""
|
1973 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1974 |
#: bp-core/bp-core-customizer-email.php:32
|
1975 |
msgid "Customize the appearance of emails sent by BuddyPress."
|
1976 |
msgstr ""
|
2036 |
msgid "right now"
|
2037 |
msgstr ""
|
2038 |
|
2039 |
+
#: bp-core/bp-core-functions.php:1154
|
2040 |
+
msgid "%s ago"
|
2041 |
+
msgstr ""
|
2042 |
+
|
2043 |
#: bp-core/bp-core-functions.php:1215
|
2044 |
msgid "%s year"
|
2045 |
msgid_plural "%s years"
|
2932 |
msgid "Groups Query Overhaul"
|
2933 |
msgstr ""
|
2934 |
|
2935 |
+
#: bp-core/classes/class-bp-admin.php:622
|
2936 |
+
#. translators: %s: URL to the development post about this feature
|
2937 |
+
msgid ""
|
2938 |
+
"Huge performance improvements on sites using persistent caching. <a "
|
2939 |
+
"href=\"%s\">Learn more about the Groups Query rewrite</a>."
|
|
|
|
|
|
|
|
|
|
|
2940 |
msgstr ""
|
2941 |
|
2942 |
+
#: bp-core/classes/class-bp-admin.php:630
|
2943 |
+
msgid "For Developers & Site Builders"
|
2944 |
msgstr ""
|
2945 |
|
2946 |
+
#: bp-core/classes/class-bp-admin.php:634
|
2947 |
msgid "Improved Profile Date Field"
|
2948 |
msgstr ""
|
2949 |
|
2950 |
+
#: bp-core/classes/class-bp-admin.php:635
|
2951 |
msgid ""
|
2952 |
"New Date Field settings, \"Date format\" and \"Range\", make it easier for "
|
2953 |
"site administrators to decide how date-based data will be collected and "
|
2954 |
"displayed."
|
2955 |
msgstr ""
|
2956 |
|
2957 |
+
#: bp-core/classes/class-bp-admin.php:640
|
2958 |
msgid "Group Types Integration in Templates"
|
2959 |
msgstr ""
|
2960 |
|
2961 |
+
#: bp-core/classes/class-bp-admin.php:643
|
2962 |
+
#. translators: %s: URL to the BuddyPress Codex article
|
2963 |
msgid ""
|
2964 |
+
"Enable developers to show Group Types on the front end as well as control "
|
2965 |
+
"where the group type information is rendered. <a href=\"%s\">Learn how to "
|
2966 |
+
"implement this feature</a>."
|
2967 |
+
msgstr ""
|
2968 |
+
|
2969 |
+
#: bp-core/classes/class-bp-admin.php:650
|
2970 |
+
msgid "Use the Site Icon as Your Site’s Profile Photo"
|
2971 |
+
msgstr ""
|
2972 |
+
|
2973 |
+
#: bp-core/classes/class-bp-admin.php:653
|
2974 |
+
#. translators: %s: URL to the WordPress Codex article
|
2975 |
+
msgid ""
|
2976 |
+
"BuddyPress sets the site admin’s profile photo as the default site "
|
2977 |
+
"profile photo on the Sites Directory page. You can now <a href=\"%s\">use "
|
2978 |
+
"the Site Icon introduced in WordPress 4.3</a> instead."
|
2979 |
+
msgstr ""
|
2980 |
+
|
2981 |
+
#: bp-core/classes/class-bp-admin.php:660
|
2982 |
+
msgid "Member Type and Group Type Filters in Users and Groups Admin Screens"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
+
#: bp-core/classes/class-bp-admin.php:661
|
2986 |
+
msgid ""
|
2987 |
+
"Easily filter your members and groups by type and set types in bulk on the "
|
2988 |
+
"users and groups list tables in the dashboard."
|
2989 |
msgstr ""
|
2990 |
|
2991 |
+
#: bp-core/classes/class-bp-admin.php:666
|
2992 |
msgid "Localized Timestamps"
|
2993 |
msgstr ""
|
2994 |
|
2995 |
+
#: bp-core/classes/class-bp-admin.php:667
|
2996 |
msgid ""
|
2997 |
"Fix inaccurate timestamps due to time zones or page caching with new "
|
2998 |
"client-side timestamp handling."
|
2999 |
msgstr ""
|
3000 |
|
3001 |
+
#: bp-core/classes/class-bp-admin.php:672
|
3002 |
msgid "Links to Unsubscribe from Emails"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
+
#: bp-core/classes/class-bp-admin.php:673
|
3006 |
msgid ""
|
3007 |
"Improve user experience by facilitating the removal of any or all "
|
3008 |
+
"subscriptions via new email tokens and unsubscribe links."
|
3009 |
msgstr ""
|
3010 |
|
3011 |
+
#: bp-core/classes/class-bp-admin.php:678
|
3012 |
+
msgid "Use WP Page Names for Headings of BP Directory Pages"
|
3013 |
msgstr ""
|
3014 |
|
3015 |
+
#: bp-core/classes/class-bp-admin.php:679
|
3016 |
msgid ""
|
3017 |
+
"Whatever you choose as the title of your Activity, Sites, Members, or "
|
3018 |
+
"Groups directory pages on the back end, is what you’ll get as the "
|
3019 |
+
"heading on the front end."
|
3020 |
msgstr ""
|
3021 |
|
3022 |
+
#: bp-core/classes/class-bp-admin.php:684
|
3023 |
+
msgid "Accessibility Updates for the Front End and Back End"
|
3024 |
msgstr ""
|
3025 |
|
3026 |
+
#: bp-core/classes/class-bp-admin.php:685
|
3027 |
msgid ""
|
3028 |
+
"Continued improvements for universal access help make BuddyPress back- and "
|
3029 |
+
"front-end screens usable for everyone (and on more devices)."
|
|
|
3030 |
msgstr ""
|
3031 |
|
3032 |
+
#: bp-core/classes/class-bp-admin.php:692
|
3033 |
+
#. translators: %s: BP_Button
|
3034 |
+
msgid "Refactored %s Class to Accept New Arguments"
|
3035 |
msgstr ""
|
3036 |
|
3037 |
+
#: bp-core/classes/class-bp-admin.php:694
|
3038 |
msgid ""
|
3039 |
+
"Provides developers with improved syntax and more control over the "
|
3040 |
+
"rendering of buttons."
|
|
|
3041 |
msgstr ""
|
3042 |
|
3043 |
+
#: bp-core/classes/class-bp-admin.php:699
|
3044 |
+
msgid "Improvements to a Single Group’s Management Screens"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
+
#: bp-core/classes/class-bp-admin.php:700
|
3048 |
msgid ""
|
3049 |
"Improved markup, new modular group management templates, and a new member "
|
3050 |
"search form are just some of the enhancements added to the single group "
|
3051 |
"admin screens."
|
3052 |
msgstr ""
|
3053 |
|
3054 |
+
#: bp-core/classes/class-bp-admin.php:707
|
3055 |
+
#. translators: %s: parent_id
|
3056 |
+
msgid "Support for Querying for Groups by New Column %s"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: bp-core/classes/class-bp-admin.php:709
|
3060 |
msgid ""
|
3061 |
+
"Query support for hierarchical groups makes it much easier for developers "
|
3062 |
+
"to add custom front-end functionality."
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: bp-core/classes/class-bp-admin.php:714
|
3066 |
msgid "Many, Many Performance Improvements"
|
3067 |
msgstr ""
|
3068 |
|
3069 |
+
#: bp-core/classes/class-bp-admin.php:717
|
3070 |
+
#. translators: %s: bp_get_user_groups()
|
3071 |
msgid ""
|
3072 |
+
"Improved performance by removing extra database queries, adding new cache "
|
3073 |
+
"calls, and removing the number of loops in %s."
|
3074 |
msgstr ""
|
3075 |
|
3076 |
+
#: bp-core/classes/class-bp-admin.php:726
|
3077 |
msgid "And so much more!"
|
3078 |
msgstr ""
|
3079 |
|
3080 |
+
#: bp-core/classes/class-bp-admin.php:729
|
3081 |
+
#. translators: %s: URL to the BuddyPress Codex article
|
3082 |
+
msgid "<a href=\"%s\">Changelog for BuddyPress 2.7.</a>"
|
3083 |
msgstr ""
|
3084 |
|
3085 |
+
#: bp-core/classes/class-bp-admin.php:763
|
3086 |
msgid "BuddyPress is created by a worldwide network of friendly folks like these."
|
3087 |
msgstr ""
|
3088 |
|
3089 |
+
#: bp-core/classes/class-bp-admin.php:765
|
3090 |
msgid "Project Leaders"
|
3091 |
msgstr ""
|
3092 |
|
3093 |
+
#: bp-core/classes/class-bp-admin.php:770
|
3094 |
msgid "Project Lead"
|
3095 |
msgstr ""
|
3096 |
|
3097 |
+
#: bp-core/classes/class-bp-admin.php:775
|
3098 |
+
#: bp-core/classes/class-bp-admin.php:780
|
3099 |
msgid "Lead Developer"
|
3100 |
msgstr ""
|
3101 |
|
3102 |
+
#: bp-core/classes/class-bp-admin.php:784
|
3103 |
msgid "BuddyPress Team"
|
3104 |
msgstr ""
|
3105 |
|
3106 |
+
#: bp-core/classes/class-bp-admin.php:789
|
3107 |
msgid "2.7 Release Lead"
|
3108 |
msgstr ""
|
3109 |
|
3110 |
+
#: bp-core/classes/class-bp-admin.php:794
|
3111 |
+
#: bp-core/classes/class-bp-admin.php:799
|
3112 |
+
#: bp-core/classes/class-bp-admin.php:804
|
3113 |
+
#: bp-core/classes/class-bp-admin.php:809
|
3114 |
+
#: bp-core/classes/class-bp-admin.php:814
|
3115 |
msgid "Core Developer"
|
3116 |
msgstr ""
|
3117 |
|
3118 |
+
#: bp-core/classes/class-bp-admin.php:819
|
3119 |
+
#: bp-core/classes/class-bp-admin.php:824
|
3120 |
+
#: bp-core/classes/class-bp-admin.php:829
|
3121 |
msgid "Community Support"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
+
#: bp-core/classes/class-bp-admin.php:833
|
3125 |
msgid "🌟Recent Rockstars🌟"
|
3126 |
msgstr ""
|
3127 |
|
3128 |
+
#: bp-core/classes/class-bp-admin.php:865
|
3129 |
msgid "Contributors to BuddyPress %s"
|
3130 |
msgstr ""
|
3131 |
|
3132 |
+
#: bp-core/classes/class-bp-admin.php:906
|
3133 |
msgid "💖With our thanks to these Open Source projects💖"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
+
#: bp-core/classes/class-bp-admin.php:934
|
3137 |
msgid ""
|
3138 |
"Thank you for installing BuddyPress! BuddyPress helps site builders and "
|
3139 |
"WordPress developers add community features to their websites, with user "
|
3140 |
"profile fields, activity streams, messaging, and notifications."
|
3141 |
msgstr ""
|
3142 |
|
3143 |
+
#: bp-core/classes/class-bp-admin.php:935
|
3144 |
msgid ""
|
3145 |
"Thank you for updating! BuddyPress %s has many new features that you will "
|
3146 |
"enjoy."
|
3147 |
msgstr ""
|
3148 |
|
3149 |
+
#: bp-core/classes/class-bp-admin.php:939
|
3150 |
msgid "Welcome to BuddyPress %s"
|
3151 |
msgstr ""
|
3152 |
|
3153 |
+
#: bp-core/classes/class-bp-admin.php:968
|
3154 |
msgid "What’s New"
|
3155 |
msgstr ""
|
3156 |
|
3157 |
+
#: bp-core/classes/class-bp-admin.php:970
|
3158 |
msgid "Credits"
|
3159 |
msgstr ""
|
3160 |
|
8760 |
msgid "Profile Settings"
|
8761 |
msgstr ""
|
8762 |
|
8763 |
+
#: bp-core/classes/class-bp-admin.php:736
|
8764 |
msgctxt "About screen, website links"
|
8765 |
msgid "Learn more:"
|
8766 |
msgstr ""
|
8767 |
|
8768 |
+
#: bp-core/classes/class-bp-admin.php:736
|
8769 |
msgctxt "About screen, link to project blog"
|
8770 |
msgid "News"
|
8771 |
msgstr ""
|
8772 |
|
8773 |
+
#: bp-core/classes/class-bp-admin.php:736
|
8774 |
msgctxt "About screen, link to support site"
|
8775 |
msgid "Support"
|
8776 |
msgstr ""
|
8777 |
|
8778 |
+
#: bp-core/classes/class-bp-admin.php:736
|
8779 |
msgctxt "About screen, link to documentation"
|
8780 |
msgid "Documentation"
|
8781 |
msgstr ""
|
8782 |
|
8783 |
+
#: bp-core/classes/class-bp-admin.php:736
|
8784 |
msgctxt "About screen, link to development blog"
|
8785 |
msgid "Development Blog"
|
8786 |
msgstr ""
|
8787 |
|
8788 |
+
#: bp-core/classes/class-bp-admin.php:738
|
8789 |
msgctxt "official Twitter accounts:"
|
8790 |
msgid "Twitter:"
|
8791 |
msgstr ""
|
8792 |
|
8793 |
+
#: bp-core/classes/class-bp-admin.php:738
|
8794 |
msgctxt "@buddypress twitter account name"
|
8795 |
msgid "BuddyPress"
|
8796 |
msgstr ""
|
8797 |
|
8798 |
+
#: bp-core/classes/class-bp-admin.php:738
|
8799 |
msgctxt "@bptrac twitter account name"
|
8800 |
msgid "Trac"
|
8801 |
msgstr ""
|
8802 |
|
8803 |
+
#: bp-core/classes/class-bp-admin.php:738
|
8804 |
msgctxt "@buddypressdev twitter account name"
|
8805 |
msgid "Development"
|
8806 |
msgstr ""
|
8807 |
|
8808 |
+
#: bp-core/classes/class-bp-admin.php:989
|
8809 |
msgctxt "Email post type"
|
8810 |
msgid "Situations"
|
8811 |
msgstr ""
|