BuddyPress - Version 2.7.1

Version Description

See: https://codex.buddypress.org/releases/version-2-7-1/

Download this release

Release Info

Developer DJPaul
Plugin Icon 128x128 BuddyPress
Version 2.7.1
Comparing to
See all releases

Code changes from version 2.9.0 to 2.7.1

Files changed (257) hide show
  1. bp-activity/admin/css/admin-rtl.css +5 -23
  2. bp-activity/admin/css/admin-rtl.min.css +1 -1
  3. bp-activity/admin/css/admin.css +5 -23
  4. bp-activity/admin/css/admin.min.css +1 -1
  5. bp-activity/admin/js/admin.min.js +1 -1
  6. bp-activity/bp-activity-actions.php +1 -5
  7. bp-activity/bp-activity-admin.php +8 -5
  8. bp-activity/bp-activity-akismet.php +4 -0
  9. bp-activity/bp-activity-classes.php +20 -0
  10. bp-activity/bp-activity-embeds.php +1 -1
  11. bp-activity/bp-activity-filters.php +14 -11
  12. bp-activity/bp-activity-functions.php +28 -114
  13. bp-activity/bp-activity-loader.php +4 -0
  14. bp-activity/bp-activity-notifications.php +1 -1
  15. bp-activity/bp-activity-screens.php +4 -0
  16. bp-activity/bp-activity-template.php +55 -64
  17. bp-activity/classes/class-bp-activity-activity.php +120 -72
  18. bp-activity/classes/class-bp-activity-component.php +4 -0
  19. bp-activity/classes/class-bp-activity-list-table.php +12 -7
  20. bp-activity/classes/class-bp-activity-template.php +2 -1
  21. bp-activity/css/mentions-rtl.css +10 -24
  22. bp-activity/css/mentions-rtl.min.css +1 -1
  23. bp-activity/css/mentions.css +10 -25
  24. bp-activity/css/mentions.min.css +1 -1
  25. bp-activity/js/mentions.min.js +1 -1
  26. bp-blogs/bp-blogs-activity.php +8 -17
  27. bp-blogs/bp-blogs-classes.php +13 -0
  28. bp-blogs/bp-blogs-functions.php +4 -62
  29. bp-blogs/bp-blogs-loader.php +4 -0
  30. bp-blogs/bp-blogs-screens.php +4 -0
  31. bp-blogs/bp-blogs-template.php +12 -14
  32. bp-blogs/bp-blogs-widgets.php +5 -1
  33. bp-blogs/classes/class-bp-blogs-blog.php +0 -17
  34. bp-blogs/classes/class-bp-blogs-component.php +4 -0
  35. bp-core/admin/bp-core-admin-classes.php +13 -0
  36. bp-core/admin/bp-core-admin-functions.php +186 -15
  37. bp-core/admin/bp-core-admin-settings.php +1 -33
  38. bp-core/admin/bp-core-admin-slugs.php +1 -0
  39. bp-core/admin/bp-core-admin-tools.php +2 -2
  40. bp-core/admin/css/common-rtl.css +153 -204
  41. bp-core/admin/css/common-rtl.min.css +1 -1
  42. bp-core/admin/css/common.css +153 -204
  43. bp-core/admin/css/common.min.css +1 -1
  44. bp-core/admin/css/customizer-controls-rtl.css +3 -3
  45. bp-core/admin/css/customizer-controls-rtl.min.css +1 -1
  46. bp-core/admin/css/customizer-controls.css +3 -3
  47. bp-core/admin/css/customizer-controls.min.css +1 -1
  48. bp-core/admin/images/list-unsubscribe.png +0 -0
  49. bp-core/admin/images/pending-accounts.png +0 -0
  50. bp-core/admin/images/twenty-seventeen.png +0 -0
  51. bp-core/admin/js/customizer-controls.min.js +1 -1
  52. bp-core/admin/js/customizer-receiver-emails.min.js +1 -1
  53. bp-core/admin/js/dismissible-admin-notices.min.js +1 -1
  54. bp-core/bp-core-actions.php +0 -1
  55. bp-core/bp-core-admin.php +4 -0
  56. bp-core/bp-core-adminbar.php +6 -5
  57. bp-core/bp-core-attachments.php +5 -18
  58. bp-core/bp-core-avatars.php +112 -56
  59. bp-core/bp-core-buddybar.php +22 -18
  60. bp-core/bp-core-cache.php +6 -9
  61. bp-core/bp-core-catchuri.php +7 -42
  62. bp-core/bp-core-classes.php +41 -0
  63. bp-core/bp-core-cssjs.php +2 -2
  64. bp-core/bp-core-customizer-email.php +7 -0
  65. bp-core/bp-core-dependency.php +3 -1
  66. bp-core/bp-core-filters.php +5 -20
  67. bp-core/bp-core-functions.php +37 -108
  68. bp-core/bp-core-loader.php +5 -0
  69. bp-core/bp-core-moderation.php +2 -2
  70. bp-core/bp-core-options.php +11 -4
  71. bp-core/bp-core-template-loader.php +5 -10
  72. bp-core/bp-core-template.php +4 -21
  73. bp-core/bp-core-theme-compatibility.php +6 -0
  74. bp-core/bp-core-update.php +1 -1
  75. bp-core/bp-core-widgets.php +5 -1
  76. bp-core/bp-core-wpabstraction.php +5 -5
  77. bp-core/classes/class-bp-admin.php +147 -115
  78. bp-core/classes/class-bp-attachment-avatar.php +2 -14
  79. bp-core/classes/class-bp-attachment-cover-image.php +1 -1
  80. bp-core/classes/class-bp-attachment.php +25 -33
  81. bp-core/classes/class-bp-button.php +0 -7
  82. bp-core/classes/class-bp-core-bp-nav-backcompat.php +1 -1
  83. bp-core/classes/class-bp-core-login-widget.php +1 -1
  84. bp-core/classes/class-bp-core-nav-item.php +19 -0
  85. bp-core/classes/class-bp-core-nav.php +1 -1
  86. bp-core/classes/class-bp-core-oembed-extension.php +0 -2
  87. bp-core/classes/class-bp-core-sort-by-key-callback.php +83 -0
  88. bp-core/classes/class-bp-core-user.php +14 -4
  89. bp-core/classes/class-bp-core.php +4 -2
  90. bp-core/classes/class-bp-media-extractor.php +1 -1
  91. bp-core/classes/class-bp-phpmailer.php +2 -13
  92. bp-core/classes/class-bp-user-query.php +1 -1
  93. bp-core/classes/class-bp-walker-nav-menu.php +3 -1
  94. bp-core/css/admin-bar-rtl.css +5 -7
  95. bp-core/css/admin-bar-rtl.min.css +1 -1
  96. bp-core/css/admin-bar.css +5 -7
  97. bp-core/css/admin-bar.min.css +1 -1
  98. bp-core/css/avatar-rtl.css +15 -22
  99. bp-core/css/avatar-rtl.min.css +1 -1
  100. bp-core/css/avatar.css +15 -22
  101. bp-core/css/avatar.min.css +1 -1
  102. bp-core/css/buddybar-rtl.css +5 -39
  103. bp-core/css/buddybar-rtl.min.css +1 -1
  104. bp-core/css/buddybar.css +5 -39
  105. bp-core/css/buddybar.min.css +1 -1
  106. bp-core/deprecated/1.2.php +1 -1
  107. bp-core/deprecated/1.5.php +1 -1
  108. bp-core/deprecated/1.7.php +1 -1
  109. bp-core/deprecated/1.9.php +16 -19
  110. bp-core/deprecated/2.1.php +4 -4
  111. bp-core/deprecated/2.5.php +3 -3
  112. bp-core/deprecated/2.8.php +0 -199
  113. bp-core/deprecated/2.9.php +0 -30
  114. bp-core/js/avatar.min.js +1 -1
  115. bp-core/js/bp-plupload.js +0 -5
  116. bp-core/js/bp-plupload.min.js +1 -1
  117. bp-core/js/cover-image.min.js +1 -1
  118. bp-core/js/jquery-query.min.js +1 -1
  119. bp-core/js/vendor/jquery-cookie.min.js +1 -1
  120. bp-core/js/vendor/jquery-scroll-to.min.js +1 -1
  121. bp-core/js/vendor/jquery.atwho.min.js +1 -1
  122. bp-core/js/vendor/jquery.caret.min.js +1 -1
  123. bp-core/js/vendor/livestamp.min.js +1 -1
  124. bp-core/js/vendor/moment-js/locale/af.min.js +1 -1
  125. bp-core/js/vendor/moment-js/locale/ar-ly.min.js +1 -1
  126. bp-core/js/vendor/moment-js/locale/ar-ma.min.js +1 -1
  127. bp-core/js/vendor/moment-js/locale/ar-sa.min.js +1 -1
  128. bp-core/js/vendor/moment-js/locale/ar-tn.min.js +1 -1
  129. bp-core/js/vendor/moment-js/locale/ar.min.js +1 -1
  130. bp-core/js/vendor/moment-js/locale/az.min.js +1 -1
  131. bp-core/js/vendor/moment-js/locale/be.min.js +1 -1
  132. bp-core/js/vendor/moment-js/locale/bg.min.js +1 -1
  133. bp-core/js/vendor/moment-js/locale/bn.min.js +1 -1
  134. bp-core/js/vendor/moment-js/locale/bo.min.js +1 -1
  135. bp-core/js/vendor/moment-js/locale/br.min.js +1 -1
  136. bp-core/js/vendor/moment-js/locale/bs.min.js +1 -1
  137. bp-core/js/vendor/moment-js/locale/ca.min.js +1 -1
  138. bp-core/js/vendor/moment-js/locale/cs.min.js +1 -1
  139. bp-core/js/vendor/moment-js/locale/cv.min.js +1 -1
  140. bp-core/js/vendor/moment-js/locale/cy.min.js +1 -1
  141. bp-core/js/vendor/moment-js/locale/da.min.js +1 -1
  142. bp-core/js/vendor/moment-js/locale/de-at.min.js +1 -1
  143. bp-core/js/vendor/moment-js/locale/de.min.js +1 -1
  144. bp-core/js/vendor/moment-js/locale/dv.min.js +1 -1
  145. bp-core/js/vendor/moment-js/locale/el.min.js +1 -1
  146. bp-core/js/vendor/moment-js/locale/en-au.min.js +1 -1
  147. bp-core/js/vendor/moment-js/locale/en-ca.min.js +1 -1
  148. bp-core/js/vendor/moment-js/locale/en-gb.min.js +1 -1
  149. bp-core/js/vendor/moment-js/locale/en-ie.min.js +1 -1
  150. bp-core/js/vendor/moment-js/locale/en-nz.min.js +1 -1
  151. bp-core/js/vendor/moment-js/locale/eo.min.js +1 -1
  152. bp-core/js/vendor/moment-js/locale/es-do.min.js +1 -1
  153. bp-core/js/vendor/moment-js/locale/es.min.js +1 -1
  154. bp-core/js/vendor/moment-js/locale/et.min.js +1 -1
  155. bp-core/js/vendor/moment-js/locale/eu.min.js +1 -1
  156. bp-core/js/vendor/moment-js/locale/fa.min.js +1 -1
  157. bp-core/js/vendor/moment-js/locale/fi.min.js +1 -1
  158. bp-core/js/vendor/moment-js/locale/fo.min.js +1 -1
  159. bp-core/js/vendor/moment-js/locale/fr-ca.min.js +1 -1
  160. bp-core/js/vendor/moment-js/locale/fr-ch.min.js +1 -1
  161. bp-core/js/vendor/moment-js/locale/fr.min.js +1 -1
  162. bp-core/js/vendor/moment-js/locale/fy.min.js +1 -1
  163. bp-core/js/vendor/moment-js/locale/gd.min.js +1 -1
  164. bp-core/js/vendor/moment-js/locale/gl.min.js +1 -1
  165. bp-core/js/vendor/moment-js/locale/he.min.js +1 -1
  166. bp-core/js/vendor/moment-js/locale/hi.min.js +1 -1
  167. bp-core/js/vendor/moment-js/locale/hr.min.js +1 -1
  168. bp-core/js/vendor/moment-js/locale/hu.min.js +1 -1
  169. bp-core/js/vendor/moment-js/locale/hy-am.min.js +1 -1
  170. bp-core/js/vendor/moment-js/locale/id.min.js +1 -1
  171. bp-core/js/vendor/moment-js/locale/is.min.js +1 -1
  172. bp-core/js/vendor/moment-js/locale/it.min.js +1 -1
  173. bp-core/js/vendor/moment-js/locale/ja.min.js +1 -1
  174. bp-core/js/vendor/moment-js/locale/jv.min.js +1 -1
  175. bp-core/js/vendor/moment-js/locale/ka.min.js +1 -1
  176. bp-core/js/vendor/moment-js/locale/kk.min.js +1 -1
  177. bp-core/js/vendor/moment-js/locale/km.min.js +1 -1
  178. bp-core/js/vendor/moment-js/locale/ko.min.js +1 -1
  179. bp-core/js/vendor/moment-js/locale/ky.min.js +1 -1
  180. bp-core/js/vendor/moment-js/locale/lb.min.js +1 -1
  181. bp-core/js/vendor/moment-js/locale/lo.min.js +1 -1
  182. bp-core/js/vendor/moment-js/locale/lt.min.js +1 -1
  183. bp-core/js/vendor/moment-js/locale/lv.min.js +1 -1
  184. bp-core/js/vendor/moment-js/locale/me.min.js +1 -1
  185. bp-core/js/vendor/moment-js/locale/mi.min.js +1 -1
  186. bp-core/js/vendor/moment-js/locale/mk.min.js +1 -1
  187. bp-core/js/vendor/moment-js/locale/ml.min.js +1 -1
  188. bp-core/js/vendor/moment-js/locale/mr.min.js +1 -1
  189. bp-core/js/vendor/moment-js/locale/ms-my.min.js +1 -1
  190. bp-core/js/vendor/moment-js/locale/ms.min.js +1 -1
  191. bp-core/js/vendor/moment-js/locale/my.min.js +1 -1
  192. bp-core/js/vendor/moment-js/locale/nb.min.js +1 -1
  193. bp-core/js/vendor/moment-js/locale/ne.min.js +1 -1
  194. bp-core/js/vendor/moment-js/locale/nl.min.js +1 -1
  195. bp-core/js/vendor/moment-js/locale/nn.min.js +1 -1
  196. bp-core/js/vendor/moment-js/locale/pa-in.min.js +1 -1
  197. bp-core/js/vendor/moment-js/locale/pl.min.js +1 -1
  198. bp-core/js/vendor/moment-js/locale/pt-br.min.js +1 -1
  199. bp-core/js/vendor/moment-js/locale/pt.min.js +1 -1
  200. bp-core/js/vendor/moment-js/locale/ro.min.js +1 -1
  201. bp-core/js/vendor/moment-js/locale/ru.min.js +1 -1
  202. bp-core/js/vendor/moment-js/locale/se.min.js +1 -1
  203. bp-core/js/vendor/moment-js/locale/si.min.js +1 -1
  204. bp-core/js/vendor/moment-js/locale/sk.min.js +1 -1
  205. bp-core/js/vendor/moment-js/locale/sl.min.js +1 -1
  206. bp-core/js/vendor/moment-js/locale/sq.min.js +1 -1
  207. bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js +1 -1
  208. bp-core/js/vendor/moment-js/locale/sr.min.js +1 -1
  209. bp-core/js/vendor/moment-js/locale/ss.min.js +1 -1
  210. bp-core/js/vendor/moment-js/locale/sv.min.js +1 -1
  211. bp-core/js/vendor/moment-js/locale/sw.min.js +1 -1
  212. bp-core/js/vendor/moment-js/locale/ta.min.js +1 -1
  213. bp-core/js/vendor/moment-js/locale/te.min.js +1 -1
  214. bp-core/js/vendor/moment-js/locale/th.min.js +1 -1
  215. bp-core/js/vendor/moment-js/locale/tl-ph.min.js +1 -1
  216. bp-core/js/vendor/moment-js/locale/tlh.min.js +1 -1
  217. bp-core/js/vendor/moment-js/locale/tr.min.js +1 -1
  218. bp-core/js/vendor/moment-js/locale/tzl.min.js +1 -1
  219. bp-core/js/vendor/moment-js/locale/tzm-latn.min.js +1 -1
  220. bp-core/js/vendor/moment-js/locale/tzm.min.js +1 -1
  221. bp-core/js/vendor/moment-js/locale/uk.min.js +1 -1
  222. bp-core/js/vendor/moment-js/locale/uz.min.js +1 -1
  223. bp-core/js/vendor/moment-js/locale/vi.min.js +1 -1
  224. bp-core/js/vendor/moment-js/locale/x-pseudo.min.js +1 -1
  225. bp-core/js/vendor/moment-js/locale/zh-cn.min.js +1 -1
  226. bp-core/js/vendor/moment-js/locale/zh-hk.min.js +1 -1
  227. bp-core/js/vendor/moment-js/locale/zh-tw.min.js +1 -1
  228. bp-core/js/vendor/moment-js/moment.min.js +2 -1
  229. bp-core/js/webcam.min.js +1 -1
  230. bp-core/js/widget-members.min.js +1 -1
  231. bp-forums/bp-forums-bbpress-sa.php +3 -2
  232. bp-forums/bp-forums-template.php +1 -1
  233. bp-forums/deprecated/1.7.php +1 -1
  234. bp-friends/bp-friends-actions.php +1 -1
  235. bp-friends/bp-friends-activity.php +1 -1
  236. bp-friends/bp-friends-classes.php +13 -0
  237. bp-friends/bp-friends-functions.php +10 -37
  238. bp-friends/bp-friends-loader.php +4 -0
  239. bp-friends/bp-friends-template.php +5 -5
  240. bp-friends/bp-friends-widgets.php +6 -2
  241. bp-friends/classes/class-bp-core-friends-widget.php +2 -2
  242. bp-friends/classes/class-bp-friends-component.php +4 -0
  243. bp-friends/classes/class-bp-friends-friendship.php +11 -11
  244. bp-friends/js/widget-friends.min.js +1 -1
  245. bp-groups/admin/css/admin-rtl.css +5 -57
  246. bp-groups/admin/css/admin-rtl.min.css +1 -1
  247. bp-groups/admin/css/admin.css +5 -57
  248. bp-groups/admin/css/admin.min.css +1 -1
  249. bp-groups/admin/js/admin.min.js +1 -1
  250. bp-groups/bp-groups-actions.php +5 -28
  251. bp-groups/bp-groups-activity.php +6 -16
  252. bp-groups/bp-groups-admin.php +47 -59
  253. bp-groups/bp-groups-cache.php +0 -5
  254. bp-groups/bp-groups-classes.php +17 -0
  255. bp-groups/bp-groups-filters.php +1 -0
  256. bp-groups/bp-groups-forums.php +1 -1
  257. bp-groups/bp-groups-functions.php +35 -117
bp-activity/admin/css/admin-rtl.css CHANGED
@@ -1,20 +1,16 @@
1
  .akismet-status {
2
  float: left;
3
  }
4
-
5
  .akismet-status a {
6
- color: #aaa;
7
  font-style: italic;
8
  }
9
-
10
  .akismet-history {
11
  margin: 13px;
12
  }
13
-
14
  .akismet-history div {
15
  margin-bottom: 13px;
16
  }
17
-
18
  .akismet-history span {
19
  color: #999;
20
  }
@@ -22,43 +18,36 @@
22
  #wp-bp-activities-wrap {
23
  padding: 5px 0;
24
  }
25
-
26
  #bp-activities {
27
  height: 120px;
28
  }
29
-
30
  #bp-replyhead {
31
  font-size: 1em;
32
- line-height: 1.4;
33
  margin: 0;
34
  }
35
-
36
  #bp-replysubmit {
37
  margin: 0;
38
  padding: 0 0 3px;
39
  text-align: center;
40
  }
41
-
42
  #bp-replysubmit .error {
43
- color: #f00;
44
  line-height: 21px;
45
  text-align: center;
46
  vertical-align: center;
47
  }
48
-
49
  #bp-replysubmit img.waiting {
50
  float: left;
51
  padding: 4px 10px 0;
52
  vertical-align: top;
53
  }
54
-
55
  #bp-activities-form .column-response img {
56
  float: right;
57
  margin-bottom: 5px;
58
  margin-left: 10px;
59
  margin-top: 1px;
60
  }
61
-
62
  .activity-errors {
63
  list-style-type: disc;
64
  margin-right: 2em;
@@ -68,38 +57,31 @@
68
  #bp_activity_content div.inside {
69
  line-height: 0;
70
  }
71
-
72
  #bp_activity_action h3,
73
  #bp_activity_content h3 {
74
  cursor: auto;
75
  }
76
-
77
  #bp_activity_action td.mceIframeContainer,
78
  #bp_activity_content td.mceIframeContainer {
79
- background-color: #fff;
80
  }
81
-
82
  #post-body #bp-activities-action_resize,
83
  #post-body #bp-activities-content_resize {
84
  position: inherit;
85
  margin-top: -2px;
86
  }
87
-
88
  #bp_activity_link input {
89
  width: 99%;
90
  }
91
-
92
  #bp-activities-primaryid {
93
  margin-bottom: 1em;
94
  }
95
-
96
  .column-action {
97
  width: 12%;
98
  }
99
 
100
  @media screen and (max-width: 782px) {
101
-
102
  body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
103
  display: table-cell;
104
  }
105
- }
1
  .akismet-status {
2
  float: left;
3
  }
 
4
  .akismet-status a {
5
+ color: #AAA;
6
  font-style: italic;
7
  }
 
8
  .akismet-history {
9
  margin: 13px;
10
  }
 
11
  .akismet-history div {
12
  margin-bottom: 13px;
13
  }
 
14
  .akismet-history span {
15
  color: #999;
16
  }
18
  #wp-bp-activities-wrap {
19
  padding: 5px 0;
20
  }
 
21
  #bp-activities {
22
  height: 120px;
23
  }
 
24
  #bp-replyhead {
25
  font-size: 1em;
26
+ line-height: 1.4em;
27
  margin: 0;
28
  }
 
29
  #bp-replysubmit {
30
  margin: 0;
31
  padding: 0 0 3px;
32
  text-align: center;
33
  }
 
34
  #bp-replysubmit .error {
35
+ color: red;
36
  line-height: 21px;
37
  text-align: center;
38
  vertical-align: center;
39
  }
 
40
  #bp-replysubmit img.waiting {
41
  float: left;
42
  padding: 4px 10px 0;
43
  vertical-align: top;
44
  }
 
45
  #bp-activities-form .column-response img {
46
  float: right;
47
  margin-bottom: 5px;
48
  margin-left: 10px;
49
  margin-top: 1px;
50
  }
 
51
  .activity-errors {
52
  list-style-type: disc;
53
  margin-right: 2em;
57
  #bp_activity_content div.inside {
58
  line-height: 0;
59
  }
 
60
  #bp_activity_action h3,
61
  #bp_activity_content h3 {
62
  cursor: auto;
63
  }
 
64
  #bp_activity_action td.mceIframeContainer,
65
  #bp_activity_content td.mceIframeContainer {
66
+ background-color: white;
67
  }
 
68
  #post-body #bp-activities-action_resize,
69
  #post-body #bp-activities-content_resize {
70
  position: inherit;
71
  margin-top: -2px;
72
  }
 
73
  #bp_activity_link input {
74
  width: 99%;
75
  }
 
76
  #bp-activities-primaryid {
77
  margin-bottom: 1em;
78
  }
 
79
  .column-action {
80
  width: 12%;
81
  }
82
 
83
  @media screen and (max-width: 782px) {
 
84
  body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
85
  display: table-cell;
86
  }
87
+ }
bp-activity/admin/css/admin-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .akismet-status{float:left}.akismet-status a{color:#aaa;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-bottom:5px;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
1
+ .akismet-status{float:left}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-bottom:5px;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
bp-activity/admin/css/admin.css CHANGED
@@ -1,20 +1,16 @@
1
  .akismet-status {
2
  float: right;
3
  }
4
-
5
  .akismet-status a {
6
- color: #aaa;
7
  font-style: italic;
8
  }
9
-
10
  .akismet-history {
11
  margin: 13px;
12
  }
13
-
14
  .akismet-history div {
15
  margin-bottom: 13px;
16
  }
17
-
18
  .akismet-history span {
19
  color: #999;
20
  }
@@ -22,43 +18,36 @@
22
  #wp-bp-activities-wrap {
23
  padding: 5px 0;
24
  }
25
-
26
  #bp-activities {
27
  height: 120px;
28
  }
29
-
30
  #bp-replyhead {
31
  font-size: 1em;
32
- line-height: 1.4;
33
  margin: 0;
34
  }
35
-
36
  #bp-replysubmit {
37
  margin: 0;
38
  padding: 0 0 3px;
39
  text-align: center;
40
  }
41
-
42
  #bp-replysubmit .error {
43
- color: #f00;
44
  line-height: 21px;
45
  text-align: center;
46
  vertical-align: center;
47
  }
48
-
49
  #bp-replysubmit img.waiting {
50
  float: right;
51
  padding: 4px 10px 0;
52
  vertical-align: top;
53
  }
54
-
55
  #bp-activities-form .column-response img {
56
  float: left;
57
  margin-bottom: 5px;
58
  margin-right: 10px;
59
  margin-top: 1px;
60
  }
61
-
62
  .activity-errors {
63
  list-style-type: disc;
64
  margin-left: 2em;
@@ -68,38 +57,31 @@
68
  #bp_activity_content div.inside {
69
  line-height: 0;
70
  }
71
-
72
  #bp_activity_action h3,
73
  #bp_activity_content h3 {
74
  cursor: auto;
75
  }
76
-
77
  #bp_activity_action td.mceIframeContainer,
78
  #bp_activity_content td.mceIframeContainer {
79
- background-color: #fff;
80
  }
81
-
82
  #post-body #bp-activities-action_resize,
83
  #post-body #bp-activities-content_resize {
84
  position: inherit;
85
  margin-top: -2px;
86
  }
87
-
88
  #bp_activity_link input {
89
  width: 99%;
90
  }
91
-
92
  #bp-activities-primaryid {
93
  margin-bottom: 1em;
94
  }
95
-
96
  .column-action {
97
  width: 12%;
98
  }
99
 
100
  @media screen and (max-width: 782px) {
101
-
102
  body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
103
  display: table-cell;
104
  }
105
- }
1
  .akismet-status {
2
  float: right;
3
  }
 
4
  .akismet-status a {
5
+ color: #AAA;
6
  font-style: italic;
7
  }
 
8
  .akismet-history {
9
  margin: 13px;
10
  }
 
11
  .akismet-history div {
12
  margin-bottom: 13px;
13
  }
 
14
  .akismet-history span {
15
  color: #999;
16
  }
18
  #wp-bp-activities-wrap {
19
  padding: 5px 0;
20
  }
 
21
  #bp-activities {
22
  height: 120px;
23
  }
 
24
  #bp-replyhead {
25
  font-size: 1em;
26
+ line-height: 1.4em;
27
  margin: 0;
28
  }
 
29
  #bp-replysubmit {
30
  margin: 0;
31
  padding: 0 0 3px;
32
  text-align: center;
33
  }
 
34
  #bp-replysubmit .error {
35
+ color: red;
36
  line-height: 21px;
37
  text-align: center;
38
  vertical-align: center;
39
  }
 
40
  #bp-replysubmit img.waiting {
41
  float: right;
42
  padding: 4px 10px 0;
43
  vertical-align: top;
44
  }
 
45
  #bp-activities-form .column-response img {
46
  float: left;
47
  margin-bottom: 5px;
48
  margin-right: 10px;
49
  margin-top: 1px;
50
  }
 
51
  .activity-errors {
52
  list-style-type: disc;
53
  margin-left: 2em;
57
  #bp_activity_content div.inside {
58
  line-height: 0;
59
  }
 
60
  #bp_activity_action h3,
61
  #bp_activity_content h3 {
62
  cursor: auto;
63
  }
 
64
  #bp_activity_action td.mceIframeContainer,
65
  #bp_activity_content td.mceIframeContainer {
66
+ background-color: white;
67
  }
 
68
  #post-body #bp-activities-action_resize,
69
  #post-body #bp-activities-content_resize {
70
  position: inherit;
71
  margin-top: -2px;
72
  }
 
73
  #bp_activity_link input {
74
  width: 99%;
75
  }
 
76
  #bp-activities-primaryid {
77
  margin-bottom: 1em;
78
  }
 
79
  .column-action {
80
  width: 12%;
81
  }
82
 
83
  @media screen and (max-width: 782px) {
 
84
  body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
85
  display: table-cell;
86
  }
87
+ }
bp-activity/admin/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .akismet-status{float:right}.akismet-status a{color:#aaa;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:right;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:left;margin-bottom:5px;margin-right:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-left:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
1
+ .akismet-status{float:right}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:right;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:left;margin-bottom:5px;margin-right:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-left:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
bp-activity/admin/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){var t={init:function(){i(document).on("click",".row-actions a.reply",t.open),i(document).on("click","#bp-activities-container a.cancel",t.close),i(document).on("click","#bp-activities-container a.save",t.send),i(document).on("keyup","#bp-activities:visible",function(i){27===i.which&&t.close()})},open:function(){var t=i("#bp-activities-container").hide();return i(this).parents("tr").after(t),t.fadeIn("300"),i("#bp-activities").focus(),!1},close:function(){return i("#bp-activities-container").fadeOut("200",function(){i("#bp-activities").val("").blur(),i("#bp-replysubmit .error").html("").hide(),i("#bp-replysubmit .waiting").hide()}),!1},send:function(){i("#bp-replysubmit .error").hide(),i("#bp-replysubmit .waiting").show();var e={};return e["_ajax_nonce-bp-activity-admin-reply"]=i('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),e.action="bp-activity-admin-reply",e.content=i("#bp-activities").val(),e.parent_id=i("#bp-activities-container").prev().data("parent_id"),e.root_id=i("#bp-activities-container").prev().data("root_id"),i.ajax({data:e,type:"POST",url:ajaxurl,error:function(i){t.error(i)},success:function(i){t.show(i)}}),!1},error:function(t){var e=t.statusText;i("#bp-replysubmit .waiting").hide(),t.responseText&&(e=t.responseText.replace(/<.[^<>]*?>/g,"")),e&&i("#bp-replysubmit .error").html(e).show()},show:function(e){var n,a,r;return"string"==typeof e?(t.error({responseText:e}),!1):(r=wpAjax.parseAjaxResponse(e)).errors?(t.error({responseText:wpAjax.broken}),!1):(r=r.responses[0],void i("#bp-activities-container").fadeOut("200",function(){i("#bp-activities").val("").blur(),i("#bp-replysubmit .error").html("").hide(),i("#bp-replysubmit .waiting").hide(),i("#bp-activities-container").before(r.data),a=i("#activity-"+r.id),n=a.closest(".widefat").css("backgroundColor"),a.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:n},300)}))}};i(document).ready(function(){t.init(),i("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
1
+ !function(a){var b={init:function(){a(document).on("click",".row-actions a.reply",b.open),a(document).on("click","#bp-activities-container a.cancel",b.close),a(document).on("click","#bp-activities-container a.save",b.send),a(document).on("keyup","#bp-activities:visible",function(a){27===a.which&&b.close()})},open:function(){var b=a("#bp-activities-container").hide();return a(this).parents("tr").after(b),b.fadeIn("300"),a("#bp-activities").focus(),!1},close:function(){return a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide()}),!1},send:function(){a("#bp-replysubmit .error").hide(),a("#bp-replysubmit .waiting").show();var c={};return c["_ajax_nonce-bp-activity-admin-reply"]=a('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),c.action="bp-activity-admin-reply",c.content=a("#bp-activities").val(),c.parent_id=a("#bp-activities-container").prev().data("parent_id"),c.root_id=a("#bp-activities-container").prev().data("root_id"),a.ajax({data:c,type:"POST",url:ajaxurl,error:function(a){b.error(a)},success:function(a){b.show(a)}}),!1},error:function(b){var c=b.statusText;a("#bp-replysubmit .waiting").hide(),b.responseText&&(c=b.responseText.replace(/<.[^<>]*?>/g,"")),c&&a("#bp-replysubmit .error").html(c).show()},show:function(c){var d,e,f;return"string"==typeof c?(b.error({responseText:c}),!1):(f=wpAjax.parseAjaxResponse(c),f.errors?(b.error({responseText:wpAjax.broken}),!1):(f=f.responses[0],void a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide(),a("#bp-activities-container").before(f.data),e=a("#activity-"+f.id),d=e.closest(".widefat").css("backgroundColor"),e.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:d},300)})))}};a(document).ready(function(){b.init(),a("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
bp-activity/bp-activity-actions.php CHANGED
@@ -832,11 +832,7 @@ function bp_activity_transition_post_type_comment_status( $new_status, $old_stat
832
 
833
  // Add "new_post_type_comment" to the whitelisted activity types, so that the activity's Akismet history is generated
834
  $post_type_comment_action = $activity_comment_object->action_id;
835
- $comment_akismet_history = function ( $activity_types ) use ( $post_type_comment_action ) {
836
- $activity_types[] = $post_type_comment_action;
837
-
838
- return $activity_types;
839
- };
840
  add_filter( 'bp_akismet_get_activity_types', $comment_akismet_history );
841
 
842
  // Make sure the activity change won't edit the comment if sync is on
832
 
833
  // Add "new_post_type_comment" to the whitelisted activity types, so that the activity's Akismet history is generated
834
  $post_type_comment_action = $activity_comment_object->action_id;
835
+ $comment_akismet_history = create_function( '$t', '$t[] = $post_type_comment_action; return $t;' );
 
 
 
 
836
  add_filter( 'bp_akismet_get_activity_types', $comment_akismet_history );
837
 
838
  // Make sure the activity change won't edit the comment if sync is on
bp-activity/bp-activity-admin.php CHANGED
@@ -16,6 +16,10 @@ defined( 'ABSPATH' ) || exit;
16
  // Include WP's list table class.
17
  if ( !class_exists( 'WP_List_Table' ) ) require( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
18
 
 
 
 
 
19
  // Per_page screen option. Has to be hooked in extremely early.
20
  if ( is_admin() && ! empty( $_REQUEST['page'] ) && 'bp-activity' == $_REQUEST['page'] )
21
  add_filter( 'set-screen-option', 'bp_activity_admin_screen_options', 10, 3 );
@@ -141,7 +145,7 @@ add_action( 'wp_ajax_bp-activity-admin-reply', 'bp_activity_admin_reply' );
141
  * @param string $value Will always be false unless another plugin filters it first.
142
  * @param string $option Screen option name.
143
  * @param string $new_value Screen option form value.
144
- * @return string|int Option value. False to abandon update.
145
  */
146
  function bp_activity_admin_screen_options( $value, $option, $new_value ) {
147
  if ( 'toplevel_page_bp_activity_per_page' != $option && 'toplevel_page_bp_activity_network_per_page' != $option )
@@ -165,9 +169,8 @@ function bp_activity_admin_screen_options( $value, $option, $new_value ) {
165
  * @return array Hidden Meta Boxes.
166
  */
167
  function bp_activity_admin_edit_hidden_metaboxes( $hidden, $screen ) {
168
- if ( empty( $screen->id ) || 'toplevel_page_bp-activity' !== $screen->id && 'toplevel_page_bp-activity-network' !== $screen->id ) {
169
  return $hidden;
170
- }
171
 
172
  // Hide the primary link meta box by default.
173
  $hidden = array_merge( (array) $hidden, array( 'bp_activity_itemids', 'bp_activity_link', 'bp_activity_type', 'bp_activity_userid', ) );
@@ -390,8 +393,8 @@ function bp_activity_admin_load() {
390
  * Remove moderation and blacklist checks in case we want to ham an activity
391
  * which contains one of these listed keys.
392
  */
393
- remove_action( 'bp_activity_before_save', 'bp_activity_check_moderation_keys', 2 );
394
- remove_action( 'bp_activity_before_save', 'bp_activity_check_blacklist_keys', 2 );
395
 
396
  bp_activity_mark_as_ham( $activity );
397
  $result = $activity->save();
16
  // Include WP's list table class.
17
  if ( !class_exists( 'WP_List_Table' ) ) require( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
18
 
19
+ if ( ! buddypress()->do_autoload ) {
20
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-list-table.php';
21
+ }
22
+
23
  // Per_page screen option. Has to be hooked in extremely early.
24
  if ( is_admin() && ! empty( $_REQUEST['page'] ) && 'bp-activity' == $_REQUEST['page'] )
25
  add_filter( 'set-screen-option', 'bp_activity_admin_screen_options', 10, 3 );
145
  * @param string $value Will always be false unless another plugin filters it first.
146
  * @param string $option Screen option name.
147
  * @param string $new_value Screen option form value.
148
+ * @return string Option value. False to abandon update.
149
  */
150
  function bp_activity_admin_screen_options( $value, $option, $new_value ) {
151
  if ( 'toplevel_page_bp_activity_per_page' != $option && 'toplevel_page_bp_activity_network_per_page' != $option )
169
  * @return array Hidden Meta Boxes.
170
  */
171
  function bp_activity_admin_edit_hidden_metaboxes( $hidden, $screen ) {
172
+ if ( empty( $screen->id ) || 'toplevel_page_bp-activity' != $screen->id && 'toplevel_page_bp-activity_network' != $screen->id )
173
  return $hidden;
 
174
 
175
  // Hide the primary link meta box by default.
176
  $hidden = array_merge( (array) $hidden, array( 'bp_activity_itemids', 'bp_activity_link', 'bp_activity_type', 'bp_activity_userid', ) );
393
  * Remove moderation and blacklist checks in case we want to ham an activity
394
  * which contains one of these listed keys.
395
  */
396
+ remove_action( 'bp_activity_before_save', 'bp_activity_check_moderation_keys', 2, 1 );
397
+ remove_action( 'bp_activity_before_save', 'bp_activity_check_blacklist_keys', 2, 1 );
398
 
399
  bp_activity_mark_as_ham( $activity );
400
  $result = $activity->save();
bp-activity/bp-activity-akismet.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Loads Akismet filtering for activity.
15
  *
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-akismet.php';
15
+ }
16
+
17
  /**
18
  * Loads Akismet filtering for activity.
19
  *
bp-activity/bp-activity-classes.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BuddyPress Activity Classes.
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityClasses
7
+ * @since 1.0.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-activity.php';
14
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-feed.php';
15
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-query.php';
16
+
17
+ // Embeds - only applicable for WP 4.5+
18
+ if ( version_compare( $GLOBALS['wp_version'], '4.5', '>=' ) && bp_is_active( 'activity', 'embeds' ) ) {
19
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-oembed-extension.php';
20
+ }
bp-activity/bp-activity-embeds.php CHANGED
@@ -123,7 +123,7 @@ function bp_activity_embed_has_activity( $activity_id = 0 ) {
123
  * @since 2.6.0
124
  */
125
  function bp_activity_embed_excerpt( $content = '' ) {
126
- echo bp_activity_get_embed_excerpt( $content );
127
  }
128
 
129
  /**
123
  * @since 2.6.0
124
  */
125
  function bp_activity_embed_excerpt( $content = '' ) {
126
+ echo bp_activity_get_embed_excerpt( $content = '' );
127
  }
128
 
129
  /**
bp-activity/bp-activity-filters.php CHANGED
@@ -207,12 +207,10 @@ function bp_activity_filter_kses( $content ) {
207
  global $allowedtags;
208
 
209
  $activity_allowedtags = $allowedtags;
210
- $activity_allowedtags['a']['aria-label'] = array();
211
- $activity_allowedtags['a']['class'] = array();
212
- $activity_allowedtags['a']['data-bp-tooltip'] = array();
213
- $activity_allowedtags['a']['id'] = array();
214
- $activity_allowedtags['a']['rel'] = array();
215
- $activity_allowedtags['a']['title'] = array();
216
 
217
  $activity_allowedtags['b'] = array();
218
  $activity_allowedtags['code'] = array();
@@ -225,14 +223,12 @@ function bp_activity_filter_kses( $content ) {
225
  $activity_allowedtags['img']['height'] = array();
226
  $activity_allowedtags['img']['class'] = array();
227
  $activity_allowedtags['img']['id'] = array();
 
228
 
229
  $activity_allowedtags['span'] = array();
230
  $activity_allowedtags['span']['class'] = array();
231
  $activity_allowedtags['span']['data-livestamp'] = array();
232
 
233
- $activity_allowedtags['ul'] = array();
234
- $activity_allowedtags['ol'] = array();
235
- $activity_allowedtags['li'] = array();
236
 
237
  /**
238
  * Filters the allowed HTML tags for BuddyPress Activity content.
@@ -454,7 +450,14 @@ function bp_activity_truncate_entry( $text, $args = array() ) {
454
  */
455
  $append_text = apply_filters( 'bp_activity_excerpt_append_text', __( '[Read more]', 'buddypress' ) );
456
 
457
- $excerpt_length = bp_activity_get_excerpt_length();
 
 
 
 
 
 
 
458
 
459
  $args = wp_parse_args( $args, array( 'ending' => __( '&hellip;', 'buddypress' ) ) );
460
 
@@ -600,7 +603,7 @@ function bp_activity_heartbeat_last_recorded( $response = array(), $data = array
600
  ob_end_clean();
601
 
602
  // Remove the temporary filter.
603
- remove_filter( 'bp_get_activity_css_class', 'bp_activity_newest_class', 10 );
604
 
605
  if ( ! empty( $newest_activities['last_recorded'] ) ) {
606
  $response['bp_activity_newest_activities'] = $newest_activities;
207
  global $allowedtags;
208
 
209
  $activity_allowedtags = $allowedtags;
210
+ $activity_allowedtags['a']['class'] = array();
211
+ $activity_allowedtags['a']['id'] = array();
212
+ $activity_allowedtags['a']['rel'] = array();
213
+ $activity_allowedtags['a']['title'] = array();
 
 
214
 
215
  $activity_allowedtags['b'] = array();
216
  $activity_allowedtags['code'] = array();
223
  $activity_allowedtags['img']['height'] = array();
224
  $activity_allowedtags['img']['class'] = array();
225
  $activity_allowedtags['img']['id'] = array();
226
+ $activity_allowedtags['img']['title'] = array();
227
 
228
  $activity_allowedtags['span'] = array();
229
  $activity_allowedtags['span']['class'] = array();
230
  $activity_allowedtags['span']['data-livestamp'] = array();
231
 
 
 
 
232
 
233
  /**
234
  * Filters the allowed HTML tags for BuddyPress Activity content.
450
  */
451
  $append_text = apply_filters( 'bp_activity_excerpt_append_text', __( '[Read more]', 'buddypress' ) );
452
 
453
+ /**
454
+ * Filters the excerpt length for the activity excerpt.
455
+ *
456
+ * @since 1.5.0
457
+ *
458
+ * @param int $value Number indicating how many words to trim the excerpt down to.
459
+ */
460
+ $excerpt_length = apply_filters( 'bp_activity_excerpt_length', 358 );
461
 
462
  $args = wp_parse_args( $args, array( 'ending' => __( '&hellip;', 'buddypress' ) ) );
463
 
603
  ob_end_clean();
604
 
605
  // Remove the temporary filter.
606
+ remove_filter( 'bp_get_activity_css_class', 'bp_activity_newest_class', 10, 1 );
607
 
608
  if ( ! empty( $newest_activities['last_recorded'] ) ) {
609
  $response['bp_activity_newest_activities'] = $newest_activities;
bp-activity/bp-activity-functions.php CHANGED
@@ -406,7 +406,7 @@ function bp_activity_set_action( $component_id, $type, $description, $format_cal
406
  * @param array $args {
407
  * An associative array of tracking parameters. All items are optional.
408
  * @type string $bp_activity_admin_filter String to use in the Dashboard > Activity dropdown.
409
- * @type string $bp_activity_front_filter String to use in the front-end dropdown.
410
  * @type string $bp_activity_new_post String format to use for generating the activity action. Should be a
411
  * translatable string where %1$s is replaced by a user link and %2$s is
412
  * the URL of the newly created post.
@@ -839,63 +839,6 @@ function bp_activity_get_types() {
839
  return apply_filters( 'bp_activity_get_types', $actions );
840
  }
841
 
842
- /**
843
- * Gets the current activity context.
844
- *
845
- * The "context" is the current view type, corresponding roughly to the
846
- * current component. Use this context to determine which activity actions
847
- * should be whitelisted for the filter dropdown.
848
- *
849
- * @since 2.8.0
850
- *
851
- * @return string Activity context. 'member', 'member_groups', 'group', 'activity'.
852
- */
853
- function bp_activity_get_current_context() {
854
- // On member pages, default to 'member', unless this is a user's Groups activity.
855
- if ( bp_is_user() ) {
856
- if ( bp_is_active( 'groups' ) && bp_is_current_action( bp_get_groups_slug() ) ) {
857
- $context = 'member_groups';
858
- } else {
859
- $context = 'member';
860
- }
861
-
862
- // On individual group pages, default to 'group'.
863
- } elseif ( bp_is_active( 'groups' ) && bp_is_group() ) {
864
- $context = 'group';
865
-
866
- // 'activity' everywhere else.
867
- } else {
868
- $context = 'activity';
869
- }
870
-
871
- return $context;
872
- }
873
-
874
- /**
875
- * Gets a flat list of activity actions compatible with a given context.
876
- *
877
- * @since 2.8.0
878
- *
879
- * @param string $context Optional. Name of the context. Defaults to the current context.
880
- * @return array
881
- */
882
- function bp_activity_get_actions_for_context( $context = '' ) {
883
- if ( ! $context ) {
884
- $context = bp_activity_get_current_context();
885
- }
886
-
887
- $actions = array();
888
- foreach ( bp_activity_get_actions() as $component_actions ) {
889
- foreach ( $component_actions as $component_action ) {
890
- if ( in_array( $context, (array) $component_action['context'], true ) ) {
891
- $actions[] = $component_action;
892
- }
893
- }
894
- }
895
-
896
- return $actions;
897
- }
898
-
899
  /** Favorites ****************************************************************/
900
 
901
  /**
@@ -1502,7 +1445,7 @@ function bp_activity_generate_action_string( $activity ) {
1502
  $action = apply_filters( 'bp_activity_generate_action_string', $activity->action, $activity );
1503
 
1504
  // Remove the filter for future activity items.
1505
- remove_filter( 'bp_activity_generate_action_string', $actions->{$activity->component}->{$activity->type}['format_callback'], 10 );
1506
 
1507
  return $action;
1508
  }
@@ -1781,7 +1724,7 @@ function bp_activity_get_specific( $args = '' ) {
1781
  'sort' => 'DESC', // Sort ASC or DESC
1782
  'spam' => 'ham_only', // Retrieve items marked as spam.
1783
  'update_meta_cache' => true,
1784
- ), 'activity_get_specific' );
1785
 
1786
  $get_args = array(
1787
  'display_comments' => $r['display_comments'],
@@ -1845,7 +1788,7 @@ function bp_activity_get_specific( $args = '' ) {
1845
  * @type bool $is_spam Should the item be marked as spam? Default: false.
1846
  * @type string $error_type Optional. Error type. Either 'bool' or 'wp_error'. Default: 'bool'.
1847
  * }
1848
- * @return WP_Error|bool|int The ID of the activity on success. False on error.
1849
  */
1850
  function bp_activity_add( $args = '' ) {
1851
 
@@ -2026,7 +1969,7 @@ function bp_activity_post_update( $args = '' ) {
2026
  * @param int $post_id ID of the new post.
2027
  * @param WP_Post|null $post Post object.
2028
  * @param int $user_id ID of the post author.
2029
- * @return null|WP_Error|bool|int The ID of the activity on success. False on error.
2030
  */
2031
  function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0 ) {
2032
 
@@ -2161,7 +2104,7 @@ function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0
2161
  * @since 2.2.0
2162
  *
2163
  * @param WP_Post|null $post Post item.
2164
- * @return null|WP_Error|bool True on success, false on failure.
2165
  */
2166
  function bp_activity_post_type_update( $post = null ) {
2167
 
@@ -2283,7 +2226,7 @@ function bp_activity_post_type_unpublish( $post_id = 0, $post = null ) {
2283
  * @param int $comment_id ID of the comment.
2284
  * @param bool $is_approved Whether the comment is approved or not.
2285
  * @param object|null $activity_post_object The post type tracking args object.
2286
- * @return null|WP_Error|bool|int The ID of the activity on success. False on error.
2287
  */
2288
  function bp_activity_post_type_comment( $comment_id = 0, $is_approved = true, $activity_post_object = null ) {
2289
  // Get the users comment
@@ -2557,7 +2500,7 @@ add_action( 'delete_comment', 'bp_activity_post_type_remove_comment', 10, 1 );
2557
  * Defaults to false.
2558
  * @type string $error_type Optional. Error type. Either 'bool' or 'wp_error'. Default: 'bool'.
2559
  * }
2560
- * @return WP_Error|bool|int The ID of the comment on success, otherwise false.
2561
  */
2562
  function bp_activity_new_comment( $args = '' ) {
2563
  $bp = buddypress();
@@ -2672,9 +2615,9 @@ function bp_activity_new_comment( $args = '' ) {
2672
  *
2673
  * @since 1.2.0
2674
  *
2675
- * @param int $comment_id ID of the newly posted activity comment.
2676
- * @param array $r Array of parsed comment arguments.
2677
- * @param BP_Activity_Activity $activity Activity item being commented on.
2678
  */
2679
  do_action( 'bp_activity_comment_posted', $comment_id, $r, $activity );
2680
  } else {
@@ -2684,9 +2627,9 @@ function bp_activity_new_comment( $args = '' ) {
2684
  *
2685
  * @since 2.5.0
2686
  *
2687
- * @param int $comment_id ID of the newly posted activity comment.
2688
- * @param array $r Array of parsed comment arguments.
2689
- * @param BP_Activity_Activity $activity Activity item being commented on.
2690
  */
2691
  do_action( 'bp_activity_comment_posted_notification_skipped', $comment_id, $r, $activity );
2692
  }
@@ -2963,12 +2906,6 @@ function bp_activity_delete_comment( $activity_id, $comment_id ) {
2963
  return $deleted;
2964
  }
2965
 
2966
- // Check if comment still exists.
2967
- $comment = new BP_Activity_Activity( $comment_id );
2968
- if ( empty( $comment->id ) ) {
2969
- return false;
2970
- }
2971
-
2972
  // Delete any children of this comment.
2973
  bp_activity_delete_children( $activity_id, $comment_id );
2974
 
@@ -3009,11 +2946,6 @@ function bp_activity_delete_comment( $activity_id, $comment_id ) {
3009
  * @param int $comment_id The ID of the comment to be deleted.
3010
  */
3011
  function bp_activity_delete_children( $activity_id, $comment_id ) {
3012
- // Check if comment still exists.
3013
- $comment = new BP_Activity_Activity( $comment_id );
3014
- if ( empty( $comment->id ) ) {
3015
- return;
3016
- }
3017
 
3018
  // Get activity children to delete.
3019
  $children = BP_Activity_Activity::get_child_comments( $comment_id );
@@ -3180,24 +3112,6 @@ function bp_activity_thumbnail_content_images( $content, $link = false, $args =
3180
  return apply_filters( 'bp_activity_thumbnail_content_images', $content, $matches, $args );
3181
  }
3182
 
3183
- /**
3184
- * Gets the excerpt length for activity items.
3185
- *
3186
- * @since 2.8.0
3187
- *
3188
- * @return int Character length for activity excerpts.
3189
- */
3190
- function bp_activity_get_excerpt_length() {
3191
- /**
3192
- * Filters the excerpt length for the activity excerpt.
3193
- *
3194
- * @since 1.5.0
3195
- *
3196
- * @param int Character length for activity excerpts.
3197
- */
3198
- return (int) apply_filters( 'bp_activity_excerpt_length', 358 );
3199
- }
3200
-
3201
  /**
3202
  * Create a rich summary of an activity item for the activity stream.
3203
  *
@@ -3407,7 +3321,7 @@ function bp_activity_mark_as_spam( &$activity, $source = 'by_a_person' ) {
3407
 
3408
  // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity.
3409
  if ( 'by_a_person' == $source && !empty( $bp->activity->akismet ) ) {
3410
- remove_action( 'bp_activity_before_save', array( $bp->activity->akismet, 'check_activity' ), 4 );
3411
 
3412
  // Build data package for Akismet.
3413
  $activity_data = BP_Akismet::build_akismet_data_package( $activity );
@@ -3454,7 +3368,7 @@ function bp_activity_mark_as_ham( &$activity, $source = 'by_a_person' ) {
3454
 
3455
  // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity.
3456
  if ( 'by_a_person' == $source && !empty( $bp->activity->akismet ) ) {
3457
- remove_action( 'bp_activity_before_save', array( $bp->activity->akismet, 'check_activity' ), 4 );
3458
 
3459
  // Build data package for Akismet.
3460
  $activity_data = BP_Akismet::build_akismet_data_package( $activity );
@@ -3509,7 +3423,7 @@ function bp_activity_at_message_notification( $activity_id, $receiver_user_id )
3509
  remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
3510
 
3511
  /** This filter is documented in bp-activity/bp-activity-template.php */
3512
- $content = apply_filters_ref_array( 'bp_get_activity_content_body', array( $activity->content, &$activity ) );
3513
 
3514
  add_filter( 'bp_get_activity_content_body', 'convert_smilies' );
3515
  add_filter( 'bp_get_activity_content_body', 'wpautop' );
@@ -3577,7 +3491,7 @@ function bp_activity_new_comment_notification( $comment_id = 0, $commenter_id =
3577
  remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
3578
 
3579
  /** This filter is documented in bp-activity/bp-activity-template.php */
3580
- $content = apply_filters_ref_array( 'bp_get_activity_content_body', array( $params['content'], &$original_activity ) );
3581
 
3582
  add_filter( 'bp_get_activity_content_body', 'convert_smilies' );
3583
  add_filter( 'bp_get_activity_content_body', 'wpautop' );
@@ -3761,7 +3675,7 @@ add_action( 'bp_before_activity_comment', 'bp_activity_comment_embed' );
3761
  function bp_dtheme_embed_read_more( $activity ) {
3762
  buddypress()->activity->read_more_id = $activity->id;
3763
 
3764
- add_filter( 'embed_post_id', function() { return buddypress()->activity->read_more_id; } );
3765
  add_filter( 'bp_embed_get_cache', 'bp_embed_activity_cache', 10, 3 );
3766
  add_action( 'bp_embed_update_cache', 'bp_embed_activity_save_cache', 10, 3 );
3767
  }
@@ -3831,21 +3745,21 @@ function bp_embed_activity_save_cache( $cache, $cachekey, $id ) {
3831
  *
3832
  * @since 2.0.0
3833
  *
 
 
 
3834
  * @return bool True if activity heartbeat is enabled, otherwise false.
3835
  */
3836
  function bp_activity_do_heartbeat() {
3837
  $retval = false;
3838
 
3839
- if ( bp_is_activity_heartbeat_active() && ( bp_is_activity_directory() || bp_is_group_activity() ) ) {
 
 
 
 
3840
  $retval = true;
3841
  }
3842
 
3843
- /**
3844
- * Filters whether the heartbeat feature in the activity stream should be active.
3845
- *
3846
- * @since 2.8.0
3847
- *
3848
- * @param bool $retval Whether or not activity heartbeat is active.
3849
- */
3850
- return (bool) apply_filters( 'bp_activity_do_heartbeat', $retval );
3851
  }
406
  * @param array $args {
407
  * An associative array of tracking parameters. All items are optional.
408
  * @type string $bp_activity_admin_filter String to use in the Dashboard > Activity dropdown.
409
+ * @type string $bp_activity_front_filter String to use in frontend dropdown.
410
  * @type string $bp_activity_new_post String format to use for generating the activity action. Should be a
411
  * translatable string where %1$s is replaced by a user link and %2$s is
412
  * the URL of the newly created post.
839
  return apply_filters( 'bp_activity_get_types', $actions );
840
  }
841
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
842
  /** Favorites ****************************************************************/
843
 
844
  /**
1445
  $action = apply_filters( 'bp_activity_generate_action_string', $activity->action, $activity );
1446
 
1447
  // Remove the filter for future activity items.
1448
+ remove_filter( 'bp_activity_generate_action_string', $actions->{$activity->component}->{$activity->type}['format_callback'], 10, 2 );
1449
 
1450
  return $action;
1451
  }
1724
  'sort' => 'DESC', // Sort ASC or DESC
1725
  'spam' => 'ham_only', // Retrieve items marked as spam.
1726
  'update_meta_cache' => true,
1727
+ ) );
1728
 
1729
  $get_args = array(
1730
  'display_comments' => $r['display_comments'],
1788
  * @type bool $is_spam Should the item be marked as spam? Default: false.
1789
  * @type string $error_type Optional. Error type. Either 'bool' or 'wp_error'. Default: 'bool'.
1790
  * }
1791
+ * @return int|bool The ID of the activity on success. False on error.
1792
  */
1793
  function bp_activity_add( $args = '' ) {
1794
 
1969
  * @param int $post_id ID of the new post.
1970
  * @param WP_Post|null $post Post object.
1971
  * @param int $user_id ID of the post author.
1972
+ * @return int|bool The ID of the activity on success. False on error.
1973
  */
1974
  function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0 ) {
1975
 
2104
  * @since 2.2.0
2105
  *
2106
  * @param WP_Post|null $post Post item.
2107
+ * @return bool True on success, false on failure.
2108
  */
2109
  function bp_activity_post_type_update( $post = null ) {
2110
 
2226
  * @param int $comment_id ID of the comment.
2227
  * @param bool $is_approved Whether the comment is approved or not.
2228
  * @param object|null $activity_post_object The post type tracking args object.
2229
+ * @return int|bool The ID of the activity on success. False on error.
2230
  */
2231
  function bp_activity_post_type_comment( $comment_id = 0, $is_approved = true, $activity_post_object = null ) {
2232
  // Get the users comment
2500
  * Defaults to false.
2501
  * @type string $error_type Optional. Error type. Either 'bool' or 'wp_error'. Default: 'bool'.
2502
  * }
2503
+ * @return int|bool The ID of the comment on success, otherwise false.
2504
  */
2505
  function bp_activity_new_comment( $args = '' ) {
2506
  $bp = buddypress();
2615
  *
2616
  * @since 1.2.0
2617
  *
2618
+ * @param int $comment_id ID of the newly posted activity comment.
2619
+ * @param array $r Array of parsed comment arguments.
2620
+ * @param int $activity ID of the activity item being commented on.
2621
  */
2622
  do_action( 'bp_activity_comment_posted', $comment_id, $r, $activity );
2623
  } else {
2627
  *
2628
  * @since 2.5.0
2629
  *
2630
+ * @param int $comment_id ID of the newly posted activity comment.
2631
+ * @param array $r Array of parsed comment arguments.
2632
+ * @param int $activity ID of the activity item being commented on.
2633
  */
2634
  do_action( 'bp_activity_comment_posted_notification_skipped', $comment_id, $r, $activity );
2635
  }
2906
  return $deleted;
2907
  }
2908
 
 
 
 
 
 
 
2909
  // Delete any children of this comment.
2910
  bp_activity_delete_children( $activity_id, $comment_id );
2911
 
2946
  * @param int $comment_id The ID of the comment to be deleted.
2947
  */
2948
  function bp_activity_delete_children( $activity_id, $comment_id ) {
 
 
 
 
 
2949
 
2950
  // Get activity children to delete.
2951
  $children = BP_Activity_Activity::get_child_comments( $comment_id );
3112
  return apply_filters( 'bp_activity_thumbnail_content_images', $content, $matches, $args );
3113
  }
3114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3115
  /**
3116
  * Create a rich summary of an activity item for the activity stream.
3117
  *
3321
 
3322
  // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity.
3323
  if ( 'by_a_person' == $source && !empty( $bp->activity->akismet ) ) {
3324
+ remove_action( 'bp_activity_before_save', array( $bp->activity->akismet, 'check_activity' ), 4, 1 );
3325
 
3326
  // Build data package for Akismet.
3327
  $activity_data = BP_Akismet::build_akismet_data_package( $activity );
3368
 
3369
  // If Akismet is active, and this was a manual spam/ham request, stop Akismet checking the activity.
3370
  if ( 'by_a_person' == $source && !empty( $bp->activity->akismet ) ) {
3371
+ remove_action( 'bp_activity_before_save', array( $bp->activity->akismet, 'check_activity' ), 4, 1 );
3372
 
3373
  // Build data package for Akismet.
3374
  $activity_data = BP_Akismet::build_akismet_data_package( $activity );
3423
  remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
3424
 
3425
  /** This filter is documented in bp-activity/bp-activity-template.php */
3426
+ $content = apply_filters( 'bp_get_activity_content_body', $activity->content );
3427
 
3428
  add_filter( 'bp_get_activity_content_body', 'convert_smilies' );
3429
  add_filter( 'bp_get_activity_content_body', 'wpautop' );
3491
  remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 );
3492
 
3493
  /** This filter is documented in bp-activity/bp-activity-template.php */
3494
+ $content = apply_filters( 'bp_get_activity_content_body', $params['content'] );
3495
 
3496
  add_filter( 'bp_get_activity_content_body', 'convert_smilies' );
3497
  add_filter( 'bp_get_activity_content_body', 'wpautop' );
3675
  function bp_dtheme_embed_read_more( $activity ) {
3676
  buddypress()->activity->read_more_id = $activity->id;
3677
 
3678
+ add_filter( 'embed_post_id', create_function( '', 'return buddypress()->activity->read_more_id;' ) );
3679
  add_filter( 'bp_embed_get_cache', 'bp_embed_activity_cache', 10, 3 );
3680
  add_action( 'bp_embed_update_cache', 'bp_embed_activity_save_cache', 10, 3 );
3681
  }
3745
  *
3746
  * @since 2.0.0
3747
  *
3748
+ * directory.
3749
+ * is the group activities.
3750
+ *
3751
  * @return bool True if activity heartbeat is enabled, otherwise false.
3752
  */
3753
  function bp_activity_do_heartbeat() {
3754
  $retval = false;
3755
 
3756
+ if ( ! bp_is_activity_heartbeat_active() ) {
3757
+ return $retval;
3758
+ }
3759
+
3760
+ if ( bp_is_activity_directory() || bp_is_group_activity() ) {
3761
  $retval = true;
3762
  }
3763
 
3764
+ return $retval;
 
 
 
 
 
 
 
3765
  }
bp-activity/bp-activity-loader.php CHANGED
@@ -12,6 +12,10 @@
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
 
 
 
 
15
  /**
16
  * Set up the bp-activity component.
17
  *
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
15
+ if ( ! buddypress()->do_autoload ) {
16
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-component.php';
17
+ }
18
+
19
  /**
20
  * Set up the bp-activity component.
21
  *
bp-activity/bp-activity-notifications.php CHANGED
@@ -94,7 +94,7 @@ function bp_activity_format_notifications( $action, $item_id, $secondary_item_id
94
  * @param int $activity_id ID of the activity item being formatted.
95
  * @param int $user_id ID of the user who inited the interaction.
96
  */
97
- $return = apply_filters( 'bp_activity_' . $amount . '_' . $action_filter . '_notification', '<a href="' . esc_url( $link ) . '">' . esc_html( $text ) . '</a>', $link, (int) $total_items, $activity_id, $user_id );
98
  } else {
99
 
100
  /**
94
  * @param int $activity_id ID of the activity item being formatted.
95
  * @param int $user_id ID of the user who inited the interaction.
96
  */
97
+ $return = apply_filters( 'bp_activity_' . $amount . '_' . $action_filter . '_notification', '<a href="' . esc_url( $link ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $text ) . '</a>', $link, (int) $total_items, $activity_id, $user_id );
98
  } else {
99
 
100
  /**
bp-activity/bp-activity-screens.php CHANGED
@@ -14,6 +14,10 @@
14
  // Exit if accessed directly.
15
  defined( 'ABSPATH' ) || exit;
16
 
 
 
 
 
17
  /**
18
  * Load the Activity directory.
19
  *
14
  // Exit if accessed directly.
15
  defined( 'ABSPATH' ) || exit;
16
 
17
+ if ( ! buddypress()->do_autoload ) {
18
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-theme-compat.php';
19
+ }
20
+
21
  /**
22
  * Load the Activity directory.
23
  *
bp-activity/bp-activity-template.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Output the activity component slug.
15
  *
@@ -1386,8 +1390,7 @@ function bp_activity_content_body() {
1386
  *
1387
  * @since 1.2.0
1388
  *
1389
- * @param string $content Content body.
1390
- * @param object $activity Activity object. Passed by reference.
1391
  */
1392
  return apply_filters_ref_array( 'bp_get_activity_content_body', array( $activities_template->activity->content, &$activities_template->activity ) );
1393
  }
@@ -1493,7 +1496,7 @@ function bp_insert_activity_meta( $content = '' ) {
1493
 
1494
  // Setup variables for activity meta.
1495
  $activity_permalink = bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity );
1496
- $activity_meta = sprintf( '%1$s <a href="%2$s" class="view activity-time-since bp-tooltip" data-bp-tooltip="%3$s">%4$s</a>',
1497
  $new_content,
1498
  $activity_permalink,
1499
  esc_attr__( 'View Discussion', 'buddypress' ),
@@ -1533,7 +1536,7 @@ function bp_insert_activity_meta( $content = '' ) {
1533
  *
1534
  * @global object $activities_template {@link BP_Activity_Template}
1535
  *
1536
- * @param false|BP_Activity_Activity $activity Optional. Falls back on the current item in the loop.
1537
  * @return bool True if can delete, false otherwise.
1538
  */
1539
  function bp_activity_user_can_delete( $activity = false ) {
@@ -2090,7 +2093,7 @@ function bp_activity_comment_delete_link() {
2090
  * activity comment.
2091
  */
2092
  function bp_get_activity_comment_delete_link() {
2093
- $link = wp_nonce_url( trailingslashit( bp_get_activity_directory_permalink() . 'delete/' . bp_get_activity_comment_id() ) . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' );
2094
 
2095
  /**
2096
  * Filters the link used for deleting the activity comment currently being displayed.
@@ -2227,61 +2230,19 @@ function bp_activity_comment_count() {
2227
  * Output the depth of the current activity comment.
2228
  *
2229
  * @since 2.0.0
2230
- * @since 2.8.0 Added $comment as a parameter.
2231
- *
2232
- * @param object|int $comment Object of the activity comment or activity comment ID. Usually unnecessary
2233
- * when used in activity comment loop.
2234
  */
2235
- function bp_activity_comment_depth( $comment = 0 ) {
2236
- echo bp_activity_get_comment_depth( $comment );
2237
  }
2238
-
2239
  /**
2240
  * Return the current activity comment depth.
2241
  *
2242
  * @since 2.0.0
2243
- * @since 2.8.0 Added $comment as a parameter.
2244
  *
2245
- * @param object|int $comment Object of the activity comment or activity comment ID. Usually unnecessary
2246
- * when used in activity comment loop.
2247
- * @return int
2248
  */
2249
- function bp_activity_get_comment_depth( $comment = 0 ) {
2250
- $depth = 0;
2251
-
2252
- // Activity comment loop takes precedence.
2253
- if ( isset( $GLOBALS['activities_template']->activity->current_comment->depth ) ) {
2254
- $depth = $GLOBALS['activities_template']->activity->current_comment->depth;
2255
-
2256
- // Get depth for activity comment manually.
2257
- } elseif ( ! empty( $comment ) ) {
2258
- // We passed an activity ID, so fetch the activity object.
2259
- if ( is_int( $comment ) ) {
2260
- $comment = new BP_Activity_Activity( $comment );
2261
- }
2262
-
2263
- // Recurse through activity tree to find the depth.
2264
- if ( is_object( $comment ) && isset( $comment->type ) && 'activity_comment' === $comment->type ) {
2265
- // Fetch the entire root comment tree... ugh.
2266
- $comments = BP_Activity_Activity::get_activity_comments( $comment->item_id, 1, constant( 'PHP_INT_MAX' ) );
2267
-
2268
- // Recursively find our comment object from the comment tree.
2269
- $iterator = new RecursiveArrayIterator( $comments );
2270
- $recursive = new RecursiveIteratorIterator( $iterator, RecursiveIteratorIterator::SELF_FIRST );
2271
- foreach ( $recursive as $cid => $cobj ) {
2272
- // Skip items that are not a comment object.
2273
- if ( ! is_numeric( $cid ) || ! is_object( $cobj ) ) {
2274
- continue;
2275
- }
2276
-
2277
- // We found the activity comment! Set the depth.
2278
- if ( $cid === $comment->id && isset( $cobj->depth ) ) {
2279
- $depth = $cobj->depth;
2280
- break;
2281
- }
2282
- }
2283
- }
2284
- }
2285
 
2286
  /**
2287
  * Filters the comment depth of the current activity comment.
@@ -2290,7 +2251,7 @@ function bp_activity_comment_depth( $comment = 0 ) {
2290
  *
2291
  * @param int $depth Depth for the current activity comment.
2292
  */
2293
- return apply_filters( 'bp_activity_get_comment_depth', $depth );
2294
  }
2295
 
2296
  /**
@@ -2342,8 +2303,8 @@ function bp_activity_comment_form_nojs_display() {
2342
  *
2343
  * @global object $activities_template {@link BP_Activity_Template}
2344
  *
2345
- * @return string|false The activity comment form no JavaScript
2346
- * display CSS. False on failure.
2347
  */
2348
  function bp_get_activity_comment_form_nojs_display() {
2349
  global $activities_template;
@@ -2736,7 +2697,7 @@ function bp_activity_latest_update( $user_id = 0 ) {
2736
  * @param string $value The excerpt for the latest update.
2737
  * @param int $user_id ID of the queried user.
2738
  */
2739
- $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', trim( strip_tags( bp_create_excerpt( $update['content'], bp_activity_get_excerpt_length() ) ) ), $user_id );
2740
 
2741
  $latest_update = sprintf(
2742
  '%s <a href="%s">%s</a>',
@@ -2926,7 +2887,7 @@ function bp_activity_can_comment_reply( $comment = false ) {
2926
  // Fall back on current comment in activity loop.
2927
  $comment_depth = isset( $comment->depth )
2928
  ? intval( $comment->depth )
2929
- : bp_activity_get_comment_depth( $comment );
2930
 
2931
  // Threading is turned on, so check the depth.
2932
  if ( get_option( 'thread_comments' ) ) {
@@ -3838,15 +3799,45 @@ function bp_activity_show_filters( $context = '' ) {
3838
  * @return string HTML for <option> values.
3839
  */
3840
  function bp_get_activity_show_filters( $context = '' ) {
3841
- $filters = array();
3842
- $actions = bp_activity_get_actions_for_context( $context );
3843
- foreach ( $actions as $action ) {
3844
- // Friends activity collapses two filters into one.
3845
- if ( in_array( $action['key'], array( 'friendship_accepted', 'friendship_created' ) ) ) {
3846
- $action['key'] = 'friendship_accepted,friendship_created';
 
 
 
 
 
 
 
 
 
 
 
 
 
3847
  }
 
 
 
 
 
 
 
 
 
 
 
3848
 
3849
- $filters[ $action['key'] ] = $action['label'];
 
 
 
 
 
 
3850
  }
3851
 
3852
  /**
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-activity-template.php';
15
+ }
16
+
17
  /**
18
  * Output the activity component slug.
19
  *
1390
  *
1391
  * @since 1.2.0
1392
  *
1393
+ * @param array $value Array containing the current activity content body and the current activity.
 
1394
  */
1395
  return apply_filters_ref_array( 'bp_get_activity_content_body', array( $activities_template->activity->content, &$activities_template->activity ) );
1396
  }
1496
 
1497
  // Setup variables for activity meta.
1498
  $activity_permalink = bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity );
1499
+ $activity_meta = sprintf( '%1$s <a href="%2$s" class="view activity-time-since" title="%3$s">%4$s</a>',
1500
  $new_content,
1501
  $activity_permalink,
1502
  esc_attr__( 'View Discussion', 'buddypress' ),
1536
  *
1537
  * @global object $activities_template {@link BP_Activity_Template}
1538
  *
1539
+ * @param BP_Activity_Activity $activity Optional. Falls back on the current item in the loop.
1540
  * @return bool True if can delete, false otherwise.
1541
  */
1542
  function bp_activity_user_can_delete( $activity = false ) {
2093
  * activity comment.
2094
  */
2095
  function bp_get_activity_comment_delete_link() {
2096
+ $link = wp_nonce_url( bp_get_activity_directory_permalink() . 'delete/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' );
2097
 
2098
  /**
2099
  * Filters the link used for deleting the activity comment currently being displayed.
2230
  * Output the depth of the current activity comment.
2231
  *
2232
  * @since 2.0.0
 
 
 
 
2233
  */
2234
+ function bp_activity_comment_depth() {
2235
+ echo bp_activity_get_comment_depth();
2236
  }
 
2237
  /**
2238
  * Return the current activity comment depth.
2239
  *
2240
  * @since 2.0.0
 
2241
  *
2242
+ * @return int $depth Depth for the current activity comment.
 
 
2243
  */
2244
+ function bp_activity_get_comment_depth() {
2245
+ global $activities_template;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2246
 
2247
  /**
2248
  * Filters the comment depth of the current activity comment.
2251
  *
2252
  * @param int $depth Depth for the current activity comment.
2253
  */
2254
+ return apply_filters( 'bp_activity_get_comment_depth', $activities_template->activity->current_comment->depth );
2255
  }
2256
 
2257
  /**
2303
  *
2304
  * @global object $activities_template {@link BP_Activity_Template}
2305
  *
2306
+ * @return string|bool The activity comment form no JavaScript
2307
+ * display CSS. False on failure.
2308
  */
2309
  function bp_get_activity_comment_form_nojs_display() {
2310
  global $activities_template;
2697
  * @param string $value The excerpt for the latest update.
2698
  * @param int $user_id ID of the queried user.
2699
  */
2700
+ $latest_update = apply_filters( 'bp_get_activity_latest_update_excerpt', trim( strip_tags( bp_create_excerpt( $update['content'], 358 ) ) ), $user_id );
2701
 
2702
  $latest_update = sprintf(
2703
  '%s <a href="%s">%s</a>',
2887
  // Fall back on current comment in activity loop.
2888
  $comment_depth = isset( $comment->depth )
2889
  ? intval( $comment->depth )
2890
+ : bp_activity_get_comment_depth();
2891
 
2892
  // Threading is turned on, so check the depth.
2893
  if ( get_option( 'thread_comments' ) ) {
3799
  * @return string HTML for <option> values.
3800
  */
3801
  function bp_get_activity_show_filters( $context = '' ) {
3802
+ // Set default context based on current page.
3803
+ if ( empty( $context ) ) {
3804
+
3805
+ // On member pages, default to 'member', unless this
3806
+ // is a user's Groups activity.
3807
+ if ( bp_is_user() ) {
3808
+ if ( bp_is_active( 'groups' ) && bp_is_current_action( bp_get_groups_slug() ) ) {
3809
+ $context = 'member_groups';
3810
+ } else {
3811
+ $context = 'member';
3812
+ }
3813
+
3814
+ // On individual group pages, default to 'group'.
3815
+ } elseif ( bp_is_active( 'groups' ) && bp_is_group() ) {
3816
+ $context = 'group';
3817
+
3818
+ // 'activity' everywhere else.
3819
+ } else {
3820
+ $context = 'activity';
3821
  }
3822
+ }
3823
+
3824
+ $filters = array();
3825
+
3826
+ // Walk through the registered actions, and prepare an the
3827
+ // select box options.
3828
+ foreach ( bp_activity_get_actions() as $actions ) {
3829
+ foreach ( $actions as $action ) {
3830
+ if ( ! in_array( $context, (array) $action['context'] ) ) {
3831
+ continue;
3832
+ }
3833
 
3834
+ // Friends activity collapses two filters into one.
3835
+ if ( in_array( $action['key'], array( 'friendship_accepted', 'friendship_created' ) ) ) {
3836
+ $action['key'] = 'friendship_accepted,friendship_created';
3837
+ }
3838
+
3839
+ $filters[ $action['key'] ] = $action['label'];
3840
+ }
3841
  }
3842
 
3843
  /**
bp-activity/classes/class-bp-activity-activity.php CHANGED
@@ -185,25 +185,22 @@ class BP_Activity_Activity {
185
  wp_cache_set( $this->id, $row, 'bp_activity' );
186
  }
187
 
188
- if ( empty( $row ) ) {
189
- $this->id = 0;
190
- return;
191
- }
192
-
193
- $this->id = (int) $row->id;
194
- $this->item_id = (int) $row->item_id;
195
- $this->secondary_item_id = (int) $row->secondary_item_id;
196
- $this->user_id = (int) $row->user_id;
197
- $this->primary_link = $row->primary_link;
198
- $this->component = $row->component;
199
- $this->type = $row->type;
200
- $this->action = $row->action;
201
- $this->content = $row->content;
202
- $this->date_recorded = $row->date_recorded;
203
- $this->hide_sitewide = (int) $row->hide_sitewide;
204
- $this->mptt_left = (int) $row->mptt_left;
205
- $this->mptt_right = (int) $row->mptt_right;
206
- $this->is_spam = (int) $row->is_spam;
207
 
208
  // Generate dynamic 'action' when possible.
209
  $action = bp_activity_generate_action_string( $this );
@@ -226,7 +223,7 @@ class BP_Activity_Activity {
226
  *
227
  * @since 1.0.0
228
  *
229
- * @return WP_Error|bool True on success.
230
  */
231
  public function save() {
232
  global $wpdb;
@@ -320,7 +317,6 @@ class BP_Activity_Activity {
320
  *
321
  * @since 1.2.0
322
  * @since 2.4.0 Introduced the `$fields` parameter.
323
- * @since 2.9.0 Introduced the `$order_by` parameter.
324
  *
325
  * @see BP_Activity_Activity::get_filter_sql() for a description of the
326
  * 'filter' parameter.
@@ -336,7 +332,6 @@ class BP_Activity_Activity {
336
  * @type string $fields Activity fields to return. Pass 'ids' to get only the activity IDs.
337
  * 'all' returns full activity objects.
338
  * @type string $sort ASC or DESC. Default: 'DESC'.
339
- * @type string $order_by Column to order results by.
340
  * @type array $exclude Array of activity IDs to exclude. Default: false.
341
  * @type array $in Array of ids to limit query by (IN). Default: false.
342
  * @type array $meta_query Array of meta_query conditions. See WP_Meta_Query::queries.
@@ -378,30 +373,30 @@ class BP_Activity_Activity {
378
  10 => 'spam'
379
  );
380
 
381
- $args = bp_core_parse_args_array( $old_args_keys, func_get_args() );
 
382
  }
383
 
384
  $bp = buddypress();
385
  $r = wp_parse_args( $args, array(
386
- 'page' => 1, // The current page.
387
- 'per_page' => 25, // Activity items per page.
388
- 'max' => false, // Max number of items to return.
389
- 'fields' => 'all', // Fields to include.
390
- 'sort' => 'DESC', // ASC or DESC.
391
- 'order_by' => 'date_recorded', // Column to order by.
392
- 'exclude' => false, // Array of ids to exclude.
393
- 'in' => false, // Array of ids to limit query by (IN).
394
- 'meta_query' => false, // Filter by activitymeta.
395
- 'date_query' => false, // Filter by date.
396
- 'filter_query' => false, // Advanced filtering - see BP_Activity_Query.
397
- 'filter' => false, // See self::get_filter_sql().
398
- 'scope' => false, // Preset activity arguments.
399
- 'search_terms' => false, // Terms to search by.
400
- 'display_comments' => false, // Whether to include activity comments.
401
- 'show_hidden' => false, // Show items marked hide_sitewide.
402
- 'spam' => 'ham_only', // Spam status.
403
- 'update_meta_cache' => true, // Whether or not to update meta cache.
404
- 'count_total' => false, // Whether or not to use count_total.
405
  ) );
406
 
407
  // Select conditions.
@@ -428,7 +423,7 @@ class BP_Activity_Activity {
428
 
429
  // Override some arguments if needed.
430
  if ( ! empty( $scope_query['override'] ) ) {
431
- $r = array_replace_recursive( $r, $scope_query['override'] );
432
  }
433
 
434
  // Advanced filtering.
@@ -464,29 +459,6 @@ class BP_Activity_Activity {
464
  $sort = 'DESC';
465
  }
466
 
467
- switch( $r['order_by'] ) {
468
- case 'id' :
469
- case 'user_id' :
470
- case 'component' :
471
- case 'type' :
472
- case 'action' :
473
- case 'content' :
474
- case 'primary_link' :
475
- case 'item_id' :
476
- case 'secondary_item_id' :
477
- case 'date_recorded' :
478
- case 'hide_sitewide' :
479
- case 'mptt_left' :
480
- case 'mptt_right' :
481
- case 'is_spam' :
482
- break;
483
-
484
- default :
485
- $r['order_by'] = 'date_recorded';
486
- break;
487
- }
488
- $order_by = 'a.' . $r['order_by'];
489
-
490
  // Hide Hidden Items?
491
  if ( ! $r['show_hidden'] ) {
492
  $where_conditions['hidden_sql'] = "a.hide_sitewide = 0";
@@ -570,6 +542,28 @@ class BP_Activity_Activity {
570
  */
571
  $join_sql = apply_filters( 'bp_activity_get_join_sql', $join_sql, $r, $select_sql, $from_sql, $where_sql );
572
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
573
  // Sanitize page and per_page parameters.
574
  $page = absint( $r['page'] );
575
  $per_page = absint( $r['per_page'] );
@@ -633,7 +627,7 @@ class BP_Activity_Activity {
633
 
634
  } else {
635
  // Query first for activity IDs.
636
- $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY {$order_by} {$sort}, a.id {$sort}";
637
 
638
  if ( ! empty( $per_page ) && ! empty( $page ) ) {
639
  // We query for $per_page + 1 items in order to
@@ -987,7 +981,7 @@ class BP_Activity_Activity {
987
  * @param mixed $scope The activity scope. Accepts string or array of scopes.
988
  * @param array $r Current activity arguments. Same as those of BP_Activity_Activity::get(),
989
  * but merged with defaults.
990
- * @return false|array 'sql' WHERE SQL string and 'override' activity args.
991
  */
992
  public static function get_scope_query_sql( $scope = false, $r = array() ) {
993
 
@@ -1116,7 +1110,7 @@ class BP_Activity_Activity {
1116
  * @param string $action Action to filter by.
1117
  * @param string $content Content to filter by.
1118
  * @param string $date_recorded Date to filter by.
1119
- * @return int|false Activity ID on success, false if none is found.
1120
  */
1121
  public static function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) {
1122
  global $wpdb;
@@ -1477,6 +1471,7 @@ class BP_Activity_Activity {
1477
  }
1478
 
1479
  // Legacy query - not recommended.
 
1480
 
1481
  /**
1482
  * Filters if BuddyPress should use the legacy activity query.
@@ -1487,7 +1482,7 @@ class BP_Activity_Activity {
1487
  * @param BP_Activity_Activity $value Magic method referring to currently called method.
1488
  * @param array $func_args Array of the method's argument list.
1489
  */
1490
- if ( apply_filters( 'bp_use_legacy_activity_query', false, __METHOD__, func_get_args() ) ) {
1491
 
1492
  /**
1493
  * Filters the MySQL prepared statement for the legacy activity query.
@@ -1697,7 +1692,7 @@ class BP_Activity_Activity {
1697
  *
1698
  * @param string $field The database field.
1699
  * @param array|bool $items The values for the IN clause, or false when none are found.
1700
- * @return string|false
1701
  */
1702
  public static function get_in_operator_sql( $field, $items ) {
1703
  global $wpdb;
@@ -1845,7 +1840,7 @@ class BP_Activity_Activity {
1845
  * @since 1.1.0
1846
  *
1847
  * @param string $content The content to filter by.
1848
- * @return int|false The ID of the first matching item if found, otherwise false.
1849
  */
1850
  public static function check_exists_by_content( $content ) {
1851
  global $wpdb;
@@ -1872,4 +1867,57 @@ class BP_Activity_Activity {
1872
 
1873
  return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
1874
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1875
  }
185
  wp_cache_set( $this->id, $row, 'bp_activity' );
186
  }
187
 
188
+ if ( ! empty( $row ) ) {
189
+ $this->id = (int) $row->id;
190
+ $this->item_id = (int) $row->item_id;
191
+ $this->secondary_item_id = (int) $row->secondary_item_id;
192
+ $this->user_id = (int) $row->user_id;
193
+ $this->primary_link = $row->primary_link;
194
+ $this->component = $row->component;
195
+ $this->type = $row->type;
196
+ $this->action = $row->action;
197
+ $this->content = $row->content;
198
+ $this->date_recorded = $row->date_recorded;
199
+ $this->hide_sitewide = (int) $row->hide_sitewide;
200
+ $this->mptt_left = (int) $row->mptt_left;
201
+ $this->mptt_right = (int) $row->mptt_right;
202
+ $this->is_spam = (int) $row->is_spam;
203
+ }
 
 
 
204
 
205
  // Generate dynamic 'action' when possible.
206
  $action = bp_activity_generate_action_string( $this );
223
  *
224
  * @since 1.0.0
225
  *
226
+ * @return bool True on success.
227
  */
228
  public function save() {
229
  global $wpdb;
317
  *
318
  * @since 1.2.0
319
  * @since 2.4.0 Introduced the `$fields` parameter.
 
320
  *
321
  * @see BP_Activity_Activity::get_filter_sql() for a description of the
322
  * 'filter' parameter.
332
  * @type string $fields Activity fields to return. Pass 'ids' to get only the activity IDs.
333
  * 'all' returns full activity objects.
334
  * @type string $sort ASC or DESC. Default: 'DESC'.
 
335
  * @type array $exclude Array of activity IDs to exclude. Default: false.
336
  * @type array $in Array of ids to limit query by (IN). Default: false.
337
  * @type array $meta_query Array of meta_query conditions. See WP_Meta_Query::queries.
373
  10 => 'spam'
374
  );
375
 
376
+ $func_args = func_get_args();
377
+ $args = bp_core_parse_args_array( $old_args_keys, $func_args );
378
  }
379
 
380
  $bp = buddypress();
381
  $r = wp_parse_args( $args, array(
382
+ 'page' => 1, // The current page.
383
+ 'per_page' => 25, // Activity items per page.
384
+ 'max' => false, // Max number of items to return.
385
+ 'fields' => 'all', // Fields to include.
386
+ 'sort' => 'DESC', // ASC or DESC.
387
+ 'exclude' => false, // Array of ids to exclude.
388
+ 'in' => false, // Array of ids to limit query by (IN).
389
+ 'meta_query' => false, // Filter by activitymeta.
390
+ 'date_query' => false, // Filter by date.
391
+ 'filter_query' => false, // Advanced filtering - see BP_Activity_Query.
392
+ 'filter' => false, // See self::get_filter_sql().
393
+ 'scope' => false, // Preset activity arguments.
394
+ 'search_terms' => false, // Terms to search by.
395
+ 'display_comments' => false, // Whether to include activity comments.
396
+ 'show_hidden' => false, // Show items marked hide_sitewide.
397
+ 'spam' => 'ham_only', // Spam status.
398
+ 'update_meta_cache' => true, // Whether or not to update meta cache.
399
+ 'count_total' => false, // Whether or not to use count_total.
 
400
  ) );
401
 
402
  // Select conditions.
423
 
424
  // Override some arguments if needed.
425
  if ( ! empty( $scope_query['override'] ) ) {
426
+ $r = self::array_replace_recursive( $r, $scope_query['override'] );
427
  }
428
 
429
  // Advanced filtering.
459
  $sort = 'DESC';
460
  }
461
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
  // Hide Hidden Items?
463
  if ( ! $r['show_hidden'] ) {
464
  $where_conditions['hidden_sql'] = "a.hide_sitewide = 0";
542
  */
543
  $join_sql = apply_filters( 'bp_activity_get_join_sql', $join_sql, $r, $select_sql, $from_sql, $where_sql );
544
 
545
+ /**
546
+ * Filters the preferred order of indexes for activity item.
547
+ *
548
+ * @since 1.6.0
549
+ *
550
+ * @param array $value Array of indexes in preferred order.
551
+ */
552
+ $indexes = apply_filters( 'bp_activity_preferred_index_order', array( 'user_id', 'item_id', 'secondary_item_id', 'date_recorded', 'component', 'type', 'hide_sitewide', 'is_spam' ) );
553
+
554
+ foreach( $indexes as $key => $index ) {
555
+ if ( false !== strpos( $where_sql, $index ) ) {
556
+ $the_index = $index;
557
+ break; // Take the first one we find.
558
+ }
559
+ }
560
+
561
+ if ( !empty( $the_index ) ) {
562
+ $index_hint_sql = "USE INDEX ({$the_index})";
563
+ } else {
564
+ $index_hint_sql = '';
565
+ }
566
+
567
  // Sanitize page and per_page parameters.
568
  $page = absint( $r['page'] );
569
  $per_page = absint( $r['per_page'] );
627
 
628
  } else {
629
  // Query first for activity IDs.
630
+ $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";
631
 
632
  if ( ! empty( $per_page ) && ! empty( $page ) ) {
633
  // We query for $per_page + 1 items in order to
981
  * @param mixed $scope The activity scope. Accepts string or array of scopes.
982
  * @param array $r Current activity arguments. Same as those of BP_Activity_Activity::get(),
983
  * but merged with defaults.
984
+ * @return array 'sql' WHERE SQL string and 'override' activity args.
985
  */
986
  public static function get_scope_query_sql( $scope = false, $r = array() ) {
987
 
1110
  * @param string $action Action to filter by.
1111
  * @param string $content Content to filter by.
1112
  * @param string $date_recorded Date to filter by.
1113
+ * @return int|bool Activity ID on success, false if none is found.
1114
  */
1115
  public static function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) {
1116
  global $wpdb;
1471
  }
1472
 
1473
  // Legacy query - not recommended.
1474
+ $func_args = func_get_args();
1475
 
1476
  /**
1477
  * Filters if BuddyPress should use the legacy activity query.
1482
  * @param BP_Activity_Activity $value Magic method referring to currently called method.
1483
  * @param array $func_args Array of the method's argument list.
1484
  */
1485
+ if ( apply_filters( 'bp_use_legacy_activity_query', false, __METHOD__, $func_args ) ) {
1486
 
1487
  /**
1488
  * Filters the MySQL prepared statement for the legacy activity query.
1692
  *
1693
  * @param string $field The database field.
1694
  * @param array|bool $items The values for the IN clause, or false when none are found.
1695
+ * @return string|bool
1696
  */
1697
  public static function get_in_operator_sql( $field, $items ) {
1698
  global $wpdb;
1840
  * @since 1.1.0
1841
  *
1842
  * @param string $content The content to filter by.
1843
+ * @return int|bool The ID of the first matching item if found, otherwise false.
1844
  */
1845
  public static function check_exists_by_content( $content ) {
1846
  global $wpdb;
1867
 
1868
  return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
1869
  }
1870
+
1871
+ /**
1872
+ * PHP-agnostic version of {@link array_replace_recursive()}.
1873
+ *
1874
+ * The array_replace_recursive() function is a PHP 5.3 function. BuddyPress (and
1875
+ * WordPress) currently supports down to PHP 5.2, so this method is a workaround
1876
+ * for PHP 5.2.
1877
+ *
1878
+ * Note: array_replace_recursive() supports infinite arguments, but for our use-
1879
+ * case, we only need to support two arguments.
1880
+ *
1881
+ * Subject to removal once WordPress makes PHP 5.3.0 the minimum requirement.
1882
+ *
1883
+ * @since 2.2.0
1884
+ *
1885
+ * @see http://php.net/manual/en/function.array-replace-recursive.php#109390
1886
+ *
1887
+ * @param array $base Array with keys needing to be replaced.
1888
+ * @param array $replacements Array with the replaced keys.
1889
+ * @return array
1890
+ */
1891
+ protected static function array_replace_recursive( $base = array(), $replacements = array() ) {
1892
+ if ( function_exists( 'array_replace_recursive' ) ) {
1893
+ return array_replace_recursive( $base, $replacements );
1894
+ }
1895
+
1896
+ // PHP 5.2-compatible version
1897
+ // http://php.net/manual/en/function.array-replace-recursive.php#109390.
1898
+ foreach ( array_slice( func_get_args(), 1 ) as $replacements ) {
1899
+ $bref_stack = array( &$base );
1900
+ $head_stack = array( $replacements );
1901
+
1902
+ do {
1903
+ end( $bref_stack );
1904
+
1905
+ $bref = &$bref_stack[ key( $bref_stack ) ];
1906
+ $head = array_pop( $head_stack );
1907
+
1908
+ unset( $bref_stack[ key($bref_stack) ] );
1909
+
1910
+ foreach ( array_keys( $head ) as $key ) {
1911
+ if ( isset( $key, $bref ) && is_array( $bref[$key] ) && is_array( $head[$key] ) ) {
1912
+ $bref_stack[] = &$bref[ $key ];
1913
+ $head_stack[] = $head[ $key ];
1914
+ } else {
1915
+ $bref[ $key ] = $head[ $key ];
1916
+ }
1917
+ }
1918
+ } while( count( $head_stack ) );
1919
+ }
1920
+
1921
+ return $base;
1922
+ }
1923
  }
bp-activity/classes/class-bp-activity-component.php CHANGED
@@ -65,6 +65,10 @@ class BP_Activity_Component extends BP_Component {
65
  $includes[] = 'notifications';
66
  }
67
 
 
 
 
 
68
  // Load Akismet support if Akismet is configured.
69
  $akismet_key = bp_get_option( 'wordpress_api_key' );
70
 
65
  $includes[] = 'notifications';
66
  }
67
 
68
+ if ( ! buddypress()->do_autoload ) {
69
+ $includes[] = 'classes';
70
+ }
71
+
72
  // Load Akismet support if Akismet is configured.
73
  $akismet_key = bp_get_option( 'wordpress_api_key' );
74
 
bp-activity/classes/class-bp-activity-list-table.php CHANGED
@@ -171,7 +171,7 @@ class BP_Activity_List_Table extends WP_List_Table {
171
  $activities['total'] = count( $activities['activities'] );
172
 
173
  // Sort the array by the activity object's date_recorded value.
174
- usort( $activities['activities'], function( $a, $b ) { return $a->date_recorded > $b->date_recorded; } );
175
  }
176
 
177
  // The bp_activity_get function returns an array of objects; cast these to arrays for WP_List_Table.
@@ -592,7 +592,7 @@ class BP_Activity_List_Table extends WP_List_Table {
592
  if ( $this->can_comment( $item ) ) {
593
  $actions['reply'] = sprintf( '<a href="#" class="reply hide-if-no-js">%s</a>', __( 'Reply', 'buddypress' ) );
594
  } else {
595
- $actions['reply'] = sprintf( '<span class="form-input-tip">%s</span>', __( 'Replies disabled', 'buddypress' ) );
596
  }
597
 
598
  // Edit.
@@ -641,10 +641,15 @@ class BP_Activity_List_Table extends WP_List_Table {
641
 
642
  // Get activity content - if not set, use the action.
643
  if ( ! empty( $item['content'] ) ) {
644
- $activity = new BP_Activity_Activity( $item['id'] );
645
 
646
- /** This filter is documented in bp-activity/bp-activity-template.php */
647
- $content = apply_filters_ref_array( 'bp_get_activity_content_body', array( $item['content'], &$activity ) );
 
 
 
 
 
 
648
  } else {
649
  /**
650
  * Filters current activity item action.
@@ -706,7 +711,8 @@ class BP_Activity_List_Table extends WP_List_Table {
706
 
707
  // If the activity has comments, display a link to the activity's permalink, with its comment count in a speech bubble.
708
  if ( $comment_count ) {
709
- printf( '<a href="%1$s" class="post-com-count post-com-count-approved"><span class="comment-count comment-count-approved">%2$s</span></a>', esc_url( $root_activity_url ), number_format_i18n( $comment_count ) );
 
710
  }
711
 
712
  // For non-root activities, display a link to the replied-to activity's author's profile.
@@ -806,7 +812,6 @@ class BP_Activity_List_Table extends WP_List_Table {
806
  $parent_activity = (object) $item;
807
  } elseif ( 'activity_comment' === $item['type'] ) {
808
  $parent_activity = new BP_Activity_Activity( $item['item_id'] );
809
- $can_comment = bp_activity_can_comment_reply( (object) $item );
810
  }
811
 
812
  if ( isset( $parent_activity->type ) && bp_activity_post_type_get_tracking_arg( $parent_activity->type, 'post_type' ) ) {
171
  $activities['total'] = count( $activities['activities'] );
172
 
173
  // Sort the array by the activity object's date_recorded value.
174
+ usort( $activities['activities'], create_function( '$a, $b', 'return $a->date_recorded > $b->date_recorded;' ) );
175
  }
176
 
177
  // The bp_activity_get function returns an array of objects; cast these to arrays for WP_List_Table.
592
  if ( $this->can_comment( $item ) ) {
593
  $actions['reply'] = sprintf( '<a href="#" class="reply hide-if-no-js">%s</a>', __( 'Reply', 'buddypress' ) );
594
  } else {
595
+ $actions['reply'] = sprintf( '<span class="form-input-tip" title="%s">%s</span>', __( 'Replies are disabled for this activity item', 'buddypress' ), __( 'Replies disabled', 'buddypress' ) );
596
  }
597
 
598
  // Edit.
641
 
642
  // Get activity content - if not set, use the action.
643
  if ( ! empty( $item['content'] ) ) {
 
644
 
645
+ /**
646
+ * Filters current activity item content.
647
+ *
648
+ * @since 1.2.0
649
+ *
650
+ * @param array $item Array index holding current activity item content.
651
+ */
652
+ $content = apply_filters_ref_array( 'bp_get_activity_content_body', array( $item['content'] ) );
653
  } else {
654
  /**
655
  * Filters current activity item action.
711
 
712
  // If the activity has comments, display a link to the activity's permalink, with its comment count in a speech bubble.
713
  if ( $comment_count ) {
714
+ $title_attr = sprintf( _n( '%s related activity', '%s related activities', $comment_count, 'buddypress' ), number_format_i18n( $comment_count ) );
715
+ printf( '<a href="%1$s" title="%2$s" class="post-com-count post-com-count-approved"><span class="comment-count comment-count-approved">%3$s</span></a>', esc_url( $root_activity_url ), esc_attr( $title_attr ), number_format_i18n( $comment_count ) );
716
  }
717
 
718
  // For non-root activities, display a link to the replied-to activity's author's profile.
812
  $parent_activity = (object) $item;
813
  } elseif ( 'activity_comment' === $item['type'] ) {
814
  $parent_activity = new BP_Activity_Activity( $item['item_id'] );
 
815
  }
816
 
817
  if ( isset( $parent_activity->type ) && bp_activity_post_type_get_tracking_arg( $parent_activity->type, 'post_type' ) ) {
bp-activity/classes/class-bp-activity-template.php CHANGED
@@ -159,7 +159,8 @@ class BP_Activity_Template {
159
  12 => 'page_arg'
160
  );
161
 
162
- $args = bp_core_parse_args_array( $old_args_keys, func_get_args() );
 
163
  }
164
 
165
  $defaults = array(
159
  12 => 'page_arg'
160
  );
161
 
162
+ $func_args = func_get_args();
163
+ $args = bp_core_parse_args_array( $old_args_keys, $func_args );
164
  }
165
 
166
  $defaults = array(
bp-activity/css/mentions-rtl.css CHANGED
@@ -2,8 +2,8 @@
2
  background: rgba(204, 204, 204, 0.8);
3
  border-radius: 2px;
4
  border: 1px solid rgb(204, 204, 204);
5
- box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #fff;
6
- color: #d84800;
7
  display: none;
8
  font-family: sans-serif;
9
  margin-top: 18px;
@@ -14,16 +14,14 @@
14
  .atwho-view {
15
  left: 0;
16
  }
17
-
18
  .atwho-view ul {
19
- background: #fff;
20
  list-style: none;
21
  margin: auto;
22
  padding: 0;
23
  }
24
-
25
  .atwho-view ul li {
26
- border-bottom: 1px solid #efefef;
27
  box-sizing: content-box;
28
  cursor: pointer;
29
  display: block;
@@ -34,71 +32,59 @@
34
  overflow: hidden;
35
  padding: 5px 10px;
36
  }
37
-
38
  .atwho-view img {
39
  border-radius: 2px;
40
  float: left;
41
  height: 20px;
42
- margin-top: 0;
43
  width: 20px;
44
  }
45
-
46
  .atwho-view strong {
47
- background: #efefef;
48
- font-weight: 700;
49
  }
50
-
51
  .atwho-view .username strong {
52
- color: #d54e21;
53
  }
54
-
55
  .atwho-view small {
56
- color: #aaa;
57
  float: left;
58
  font-size: smaller;
59
- font-weight: 400;
60
  margin: 0 40px 0 10px;
61
  }
62
-
63
  .atwho-view .cur {
64
  background: rgba(239, 239, 239, 0.5);
65
  }
66
 
67
  @media (max-width: 900px) {
68
-
69
  .atwho-view img {
70
  float: right;
71
  margin: 0 0 0 10px;
72
  }
73
  }
74
-
75
  @media (max-width: 400px) {
76
-
77
  .atwho-view ul li {
78
  font-size: 16px;
79
  line-height: 23px;
80
  padding: 13px;
81
  }
82
-
83
  .atwho-view ul li img {
84
  height: 30px;
85
  margin-top: -5px;
86
  width: 30px;
87
  }
88
-
89
  .atwho-view {
90
  border-radius: 0;
91
  height: 100%;
92
  right: 0 !important;
93
  width: 100%;
94
  }
95
-
96
  .atwho-view ul li .username {
97
  display: inline-block;
98
  margin: -10px 0 0 0;
99
  padding: 10px 0;
100
  }
101
-
102
  .atwho-view ul li small {
103
  display: inline-block;
104
  margin-right: 20px;
2
  background: rgba(204, 204, 204, 0.8);
3
  border-radius: 2px;
4
  border: 1px solid rgb(204, 204, 204);
5
+ box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #FFF;
6
+ color: #D84800;
7
  display: none;
8
  font-family: sans-serif;
9
  margin-top: 18px;
14
  .atwho-view {
15
  left: 0;
16
  }
 
17
  .atwho-view ul {
18
+ background: #FFF;
19
  list-style: none;
20
  margin: auto;
21
  padding: 0;
22
  }
 
23
  .atwho-view ul li {
24
+ border-bottom: 1px solid #EFEFEF;
25
  box-sizing: content-box;
26
  cursor: pointer;
27
  display: block;
32
  overflow: hidden;
33
  padding: 5px 10px;
34
  }
 
35
  .atwho-view img {
36
  border-radius: 2px;
37
  float: left;
38
  height: 20px;
39
+ margin-top:0;
40
  width: 20px;
41
  }
 
42
  .atwho-view strong {
43
+ background: #EFEFEF;
44
+ font-weight: bold;
45
  }
 
46
  .atwho-view .username strong {
47
+ color: #D54E21;
48
  }
 
49
  .atwho-view small {
50
+ color: #AAA;
51
  float: left;
52
  font-size: smaller;
53
+ font-weight: normal;
54
  margin: 0 40px 0 10px;
55
  }
 
56
  .atwho-view .cur {
57
  background: rgba(239, 239, 239, 0.5);
58
  }
59
 
60
  @media (max-width: 900px) {
 
61
  .atwho-view img {
62
  float: right;
63
  margin: 0 0 0 10px;
64
  }
65
  }
 
66
  @media (max-width: 400px) {
 
67
  .atwho-view ul li {
68
  font-size: 16px;
69
  line-height: 23px;
70
  padding: 13px;
71
  }
 
72
  .atwho-view ul li img {
73
  height: 30px;
74
  margin-top: -5px;
75
  width: 30px;
76
  }
 
77
  .atwho-view {
78
  border-radius: 0;
79
  height: 100%;
80
  right: 0 !important;
81
  width: 100%;
82
  }
 
83
  .atwho-view ul li .username {
84
  display: inline-block;
85
  margin: -10px 0 0 0;
86
  padding: 10px 0;
87
  }
 
88
  .atwho-view ul li small {
89
  display: inline-block;
90
  margin-right: 20px;
bp-activity/css/mentions-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
1
+ .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font-weight:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
bp-activity/css/mentions.css CHANGED
@@ -2,8 +2,8 @@
2
  background: rgba(204, 204, 204, 0.8);
3
  border-radius: 2px;
4
  border: 1px solid rgb(204, 204, 204);
5
- box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #fff;
6
- color: #d84800;
7
  display: none;
8
  font-family: sans-serif;
9
  margin-top: 18px;
@@ -11,21 +11,18 @@
11
  top: 0;
12
  z-index: 1000; /* >999 for wp-admin */
13
  }
14
-
15
  /* rtl:ignore */
16
  .atwho-view {
17
  left: 0;
18
  }
19
-
20
  .atwho-view ul {
21
- background: #fff;
22
  list-style: none;
23
  margin: auto;
24
  padding: 0;
25
  }
26
-
27
  .atwho-view ul li {
28
- border-bottom: 1px solid #efefef;
29
  box-sizing: content-box;
30
  cursor: pointer;
31
  display: block;
@@ -36,71 +33,59 @@
36
  overflow: hidden;
37
  padding: 5px 10px;
38
  }
39
-
40
  .atwho-view img {
41
  border-radius: 2px;
42
  float: right;
43
  height: 20px;
44
- margin-top: 0;
45
  width: 20px;
46
  }
47
-
48
  .atwho-view strong {
49
- background: #efefef;
50
- font-weight: 700;
51
  }
52
-
53
  .atwho-view .username strong {
54
- color: #d54e21;
55
  }
56
-
57
  .atwho-view small {
58
- color: #aaa;
59
  float: right;
60
  font-size: smaller;
61
- font-weight: 400;
62
  margin: 0 10px 0 40px;
63
  }
64
-
65
  .atwho-view .cur {
66
  background: rgba(239, 239, 239, 0.5);
67
  }
68
 
69
  @media (max-width: 900px) {
70
-
71
  .atwho-view img {
72
  float: left;
73
  margin: 0 10px 0 0;
74
  }
75
  }
76
-
77
  @media (max-width: 400px) {
78
-
79
  .atwho-view ul li {
80
  font-size: 16px;
81
  line-height: 23px;
82
  padding: 13px;
83
  }
84
-
85
  .atwho-view ul li img {
86
  height: 30px;
87
  margin-top: -5px;
88
  width: 30px;
89
  }
90
-
91
  .atwho-view {
92
  border-radius: 0;
93
  height: 100%;
94
  left: 0 !important;
95
  width: 100%;
96
  }
97
-
98
  .atwho-view ul li .username {
99
  display: inline-block;
100
  margin: -10px 0 0 0;
101
  padding: 10px 0;
102
  }
103
-
104
  .atwho-view ul li small {
105
  display: inline-block;
106
  margin-left: 20px;
2
  background: rgba(204, 204, 204, 0.8);
3
  border-radius: 2px;
4
  border: 1px solid rgb(204, 204, 204);
5
+ box-shadow: 0 0 5px rgba(204, 204, 204, 0.25), 0 0 1px #FFF;
6
+ color: #D84800;
7
  display: none;
8
  font-family: sans-serif;
9
  margin-top: 18px;
11
  top: 0;
12
  z-index: 1000; /* >999 for wp-admin */
13
  }
 
14
  /* rtl:ignore */
15
  .atwho-view {
16
  left: 0;
17
  }
 
18
  .atwho-view ul {
19
+ background: #FFF;
20
  list-style: none;
21
  margin: auto;
22
  padding: 0;
23
  }
 
24
  .atwho-view ul li {
25
+ border-bottom: 1px solid #EFEFEF;
26
  box-sizing: content-box;
27
  cursor: pointer;
28
  display: block;
33
  overflow: hidden;
34
  padding: 5px 10px;
35
  }
 
36
  .atwho-view img {
37
  border-radius: 2px;
38
  float: right;
39
  height: 20px;
40
+ margin-top:0;
41
  width: 20px;
42
  }
 
43
  .atwho-view strong {
44
+ background: #EFEFEF;
45
+ font-weight: bold;
46
  }
 
47
  .atwho-view .username strong {
48
+ color: #D54E21;
49
  }
 
50
  .atwho-view small {
51
+ color: #AAA;
52
  float: right;
53
  font-size: smaller;
54
+ font-weight: normal;
55
  margin: 0 10px 0 40px;
56
  }
 
57
  .atwho-view .cur {
58
  background: rgba(239, 239, 239, 0.5);
59
  }
60
 
61
  @media (max-width: 900px) {
 
62
  .atwho-view img {
63
  float: left;
64
  margin: 0 10px 0 0;
65
  }
66
  }
 
67
  @media (max-width: 400px) {
 
68
  .atwho-view ul li {
69
  font-size: 16px;
70
  line-height: 23px;
71
  padding: 13px;
72
  }
 
73
  .atwho-view ul li img {
74
  height: 30px;
75
  margin-top: -5px;
76
  width: 30px;
77
  }
 
78
  .atwho-view {
79
  border-radius: 0;
80
  height: 100%;
81
  left: 0 !important;
82
  width: 100%;
83
  }
 
84
  .atwho-view ul li .username {
85
  display: inline-block;
86
  margin: -10px 0 0 0;
87
  padding: 10px 0;
88
  }
 
89
  .atwho-view ul li small {
90
  display: inline-block;
91
  margin-left: 20px;
bp-activity/css/mentions.min.css CHANGED
@@ -1 +1 @@
1
- .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
1
+ .atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #FFF;color:#D84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000;left:0}.atwho-view ul{background:#FFF;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #EFEFEF;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#EFEFEF;font-weight:700}.atwho-view .username strong{color:#D54E21}.atwho-view small{color:#AAA;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
bp-activity/js/mentions.min.js CHANGED
@@ -1 +1 @@
1
- window.bp=window.bp||{},function(t,e,i){var n,s=[];t.mentions=t.mentions||{},t.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(t.mentions.users=window.BP_Suggestions.friends||t.mentions.users),e.fn.bp_mentions=function(t){e.isArray(t)&&(t={data:t});var i={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(t,e,i){var n,s,r,o=[],a=new RegExp("^"+t+"| "+t,"ig");for(s=0,r=e.length;s<r;s++)(n=e[s])[i].toLowerCase().match(a)&&o.push(n);return o},highlighter:function(t,e){if(!e)return t;var i=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+e.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return t.replace(i,function(t,e,i,n){return">"+e+"<strong>"+i+"</strong>"+n+"<"})},before_reposition:function(t){var i,n,s,r,o=e("#atwho-ground-"+this.id+" .atwho-view"),a=e("body"),u=this.$inputor.data("atwho");"undefined"!==u&&"undefined"!==u.iframe&&null!==u.iframe?(i=this.$inputor.caret("offset",{iframe:u.iframe}),"undefined"!==(s=e(u.iframe).offset())&&(i.left+=s.left,i.top+=s.top)):i=this.$inputor.caret("offset"),i.left>a.width()/2?(o.addClass("right"),r=i.left-t.left-this.view.$el.width()):(o.removeClass("right"),r=i.left-t.left+1),a.width()<=400&&e(document).scrollTop(i.top-6),(!(n=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10))||n<5)&&(n=19),t.top=i.top+n,t.left+=r},inserting_wrapper:function(t,e,i){return""+e+i}}},r={callbacks:{remote_filter:function(t,i){var r=e(this),o={};"object"!=typeof(n=s[t])?(r.xhr&&r.xhr.abort(),o={action:"bp_get_suggestions",term:t,type:"members"},e.isNumeric(this.$inputor.data("suggestions-group-id"))&&(o["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),r.xhr=e.getJSON(ajaxurl,o).done(function(n){if(n.success){var r=e.map(n.data,function(t){return t.search=t.search||t.ID+" "+t.name,t});s[t]=r,i(r)}})):i(n)}},data:e.map(t.data,function(t){return t.search=t.search||t.ID+" "+t.name,t}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},o=e.extend(!0,{},i,r,t);return e.fn.atwho.call(this,o)},e(document).ready(function(){e(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(t.mentions.users)}),t.mentions.tinyMCEinit=function(){void 0!==window.tinyMCE&&null!==window.tinyMCE.activeEditor&&void 0!==window.tinyMCE.activeEditor&&e(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",e(".wp-editor-wrap iframe")[0]).bp_mentions(t.mentions.users)}}(bp,jQuery);
1
+ window.bp=window.bp||{},function(a,b,c){var d,e=[];a.mentions=a.mentions||{},a.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(a.mentions.users=window.BP_Suggestions.friends||a.mentions.users),b.fn.bp_mentions=function(a){b.isArray(a)&&(a={data:a});var c={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;e<f;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(a){var c,d,e,f,g=b("#atwho-ground-"+this.id+" .atwho-view"),h=b("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=b(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-a.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-a.left+1),h.width()<=400&&b(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||d<5)&&(d=19),a.top=c.top+d,a.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(a,c){var f=b(this),g={};return d=e[a],"object"==typeof d?void c(d):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:a,type:"members"},b.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=b.getJSON(ajaxurl,g).done(function(d){if(d.success){var f=b.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});e[a]=f,c(f)}})))}},data:b.map(a.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=b.extend(!0,{},c,f,a);return b.fn.atwho.call(this,g)},b(document).ready(function(){b(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(a.mentions.users)}),a.mentions.tinyMCEinit=function(){"undefined"!=typeof window.tinyMCE&&null!==window.tinyMCE.activeEditor&&"undefined"!=typeof window.tinyMCE.activeEditor&&b(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",b(".wp-editor-wrap iframe")[0]).bp_mentions(a.mentions.users)}}(bp,jQuery);
bp-blogs/bp-blogs-activity.php CHANGED
@@ -48,7 +48,7 @@ add_action( 'bp_register_activity_actions', 'bp_blogs_register_activity_actions'
48
  *
49
  * @param object|null $params Tracking arguments.
50
  * @param string|int $post_type Post type to track.
51
- * @return object|null
52
  */
53
  function bp_blogs_register_post_tracking_args( $params = null, $post_type = 0 ) {
54
 
@@ -435,7 +435,7 @@ add_filter( 'bp_activity_prefetch_object_data', 'bp_blogs_prefetch_activity_obje
435
  * bp_activity_add().
436
  * @type string $component Default: 'blogs'.
437
  * }
438
- * @return WP_Error|bool|int On success, returns the activity ID. False on failure.
439
  */
440
  function bp_blogs_record_activity( $args = '' ) {
441
  $defaults = array(
@@ -547,7 +547,7 @@ function bp_blogs_comments_open( $activity ) {
547
  switch_to_blog( $blog_id );
548
 
549
  // Use comments_open().
550
- remove_filter( 'comments_open', 'bp_comments_open', 10 );
551
  $open = comments_open( $activity->secondary_item_id );
552
  add_filter( 'comments_open', 'bp_comments_open', 10, 2 );
553
 
@@ -624,15 +624,6 @@ function bp_blogs_record_activity_on_site_creation( $recorded_blog, $is_private,
624
  if ( ! $is_private && ! $no_activity && bp_blogs_is_blog_trackable( $recorded_blog->blog_id, $recorded_blog->user_id ) ) {
625
  bp_blogs_record_activity( array(
626
  'user_id' => $recorded_blog->user_id,
627
-
628
- /**
629
- * Filters the activity created blog primary link.
630
- *
631
- * @since 1.1.0
632
- *
633
- * @param string $value Blog primary link.
634
- * @param int $value Blog ID.
635
- */
636
  'primary_link' => apply_filters( 'bp_blogs_activity_created_blog_primary_link', bp_blogs_get_blogmeta( $recorded_blog->blog_id, 'url' ), $recorded_blog->blog_id ),
637
  'type' => 'new_blog',
638
  'item_id' => $recorded_blog->blog_id
@@ -806,7 +797,7 @@ function bp_blogs_sync_add_from_activity_comment( $comment_id, $params, $parent_
806
  );
807
 
808
  // Prevent separate activity entry being made.
809
- remove_action( 'comment_post', 'bp_activity_post_type_comment', 10 );
810
 
811
  // Handle multisite.
812
  switch_to_blog( $parent_activity->item_id );
@@ -832,7 +823,7 @@ function bp_blogs_sync_add_from_activity_comment( $comment_id, $params, $parent_
832
  // permalinks to use the post comment link
833
  //
834
  // @todo since this is done after AJAX posting, the activity comment permalink
835
- // doesn't change on the front end until the next page refresh.
836
  $resave_activity = new BP_Activity_Activity( $comment_id );
837
  $resave_activity->primary_link = get_comment_link( $post_comment_id );
838
 
@@ -970,8 +961,8 @@ function bp_blogs_sync_activity_edit_to_post_comment( BP_Activity_Activity $acti
970
  $old_comment_status = $post_comment_status;
971
 
972
  // No need to edit the activity, as it's the activity who's updating the comment
973
- remove_action( 'transition_comment_status', 'bp_activity_transition_post_type_comment_status', 10 );
974
- remove_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_comment', 10 );
975
 
976
  if ( 1 === $activity->is_spam && 'spam' !== $post_comment_status ) {
977
  wp_spam_comment( $post_comment_id );
@@ -1300,7 +1291,7 @@ function bp_blogs_can_comment_reply( $retval, $comment ) {
1300
 
1301
  // Check comment depth and disable if depth is too large.
1302
  if ( isset( buddypress()->blogs->thread_depth[$comment->item_id] ) ){
1303
- if ( bp_activity_get_comment_depth( $comment ) >= buddypress()->blogs->thread_depth[$comment->item_id] ) {
1304
  $retval = false;
1305
  }
1306
  }
48
  *
49
  * @param object|null $params Tracking arguments.
50
  * @param string|int $post_type Post type to track.
51
+ * @return object
52
  */
53
  function bp_blogs_register_post_tracking_args( $params = null, $post_type = 0 ) {
54
 
435
  * bp_activity_add().
436
  * @type string $component Default: 'blogs'.
437
  * }
438
+ * @return int|bool On success, returns the activity ID. False on failure.
439
  */
440
  function bp_blogs_record_activity( $args = '' ) {
441
  $defaults = array(
547
  switch_to_blog( $blog_id );
548
 
549
  // Use comments_open().
550
+ remove_filter( 'comments_open', 'bp_comments_open', 10, 2 );
551
  $open = comments_open( $activity->secondary_item_id );
552
  add_filter( 'comments_open', 'bp_comments_open', 10, 2 );
553
 
624
  if ( ! $is_private && ! $no_activity && bp_blogs_is_blog_trackable( $recorded_blog->blog_id, $recorded_blog->user_id ) ) {
625
  bp_blogs_record_activity( array(
626
  'user_id' => $recorded_blog->user_id,
 
 
 
 
 
 
 
 
 
627
  'primary_link' => apply_filters( 'bp_blogs_activity_created_blog_primary_link', bp_blogs_get_blogmeta( $recorded_blog->blog_id, 'url' ), $recorded_blog->blog_id ),
628
  'type' => 'new_blog',
629
  'item_id' => $recorded_blog->blog_id
797
  );
798
 
799
  // Prevent separate activity entry being made.
800
+ remove_action( 'comment_post', 'bp_activity_post_type_comment', 10, 2 );
801
 
802
  // Handle multisite.
803
  switch_to_blog( $parent_activity->item_id );
823
  // permalinks to use the post comment link
824
  //
825
  // @todo since this is done after AJAX posting, the activity comment permalink
826
+ // doesn't change on the frontend until the next page refresh.
827
  $resave_activity = new BP_Activity_Activity( $comment_id );
828
  $resave_activity->primary_link = get_comment_link( $post_comment_id );
829
 
961
  $old_comment_status = $post_comment_status;
962
 
963
  // No need to edit the activity, as it's the activity who's updating the comment
964
+ remove_action( 'transition_comment_status', 'bp_activity_transition_post_type_comment_status', 10, 3 );
965
+ remove_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_comment', 10, 4 );
966
 
967
  if ( 1 === $activity->is_spam && 'spam' !== $post_comment_status ) {
968
  wp_spam_comment( $post_comment_id );
1291
 
1292
  // Check comment depth and disable if depth is too large.
1293
  if ( isset( buddypress()->blogs->thread_depth[$comment->item_id] ) ){
1294
+ if ( bp_activity_get_comment_depth() > buddypress()->blogs->thread_depth[$comment->item_id] ) {
1295
  $retval = false;
1296
  }
1297
  }
bp-blogs/bp-blogs-classes.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BuddyPress Blogs Classes.
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage BlogsClasses
7
+ * @since 1.0.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( __FILE__ ) . '/classes/class-bp-blogs-blog.php';
bp-blogs/bp-blogs-functions.php CHANGED
@@ -65,14 +65,7 @@ function bp_blogs_get_blogs( $args = '' ) {
65
  $r['include_blog_ids']
66
  );
67
 
68
- /**
69
- * Filters a set of blogs.
70
- *
71
- * @since 1.2.0
72
- *
73
- * @param array $blogs Array of blog data.
74
- * @param array $r Parsed query arguments.
75
- */
76
  return apply_filters( 'bp_blogs_get_blogs', $blogs, $r );
77
  }
78
 
@@ -253,26 +246,9 @@ function bp_blogs_record_existing_blogs( $args = array() ) {
253
  */
254
  function bp_blogs_is_blog_recordable( $blog_id, $user_id = 0 ) {
255
 
256
- /**
257
- * Filters whether or not a blog is globally activity stream recordable.
258
- *
259
- * @since 1.7.0
260
- *
261
- * @param bool $value Whether or not recordable. Default true.
262
- * @param int $blog_id Current blog ID.
263
- */
264
  $recordable_globally = apply_filters( 'bp_blogs_is_blog_recordable', true, $blog_id );
265
 
266
  if ( !empty( $user_id ) ) {
267
- /**
268
- * Filters whether or not a blog is globally activity stream recordable for user.
269
- *
270
- * @since 1.7.0
271
- *
272
- * @param bool $recordable_globally Whether or not recordable.
273
- * @param int $blog_id Current blog ID.
274
- * @param int $user_id Current user ID.
275
- */
276
  $recordable_for_user = apply_filters( 'bp_blogs_is_blog_recordable_for_user', $recordable_globally, $blog_id, $user_id );
277
  } else {
278
  $recordable_for_user = $recordable_globally;
@@ -299,27 +275,9 @@ function bp_blogs_is_blog_recordable( $blog_id, $user_id = 0 ) {
299
  */
300
  function bp_blogs_is_blog_trackable( $blog_id, $user_id = 0 ) {
301
 
302
- /**
303
- * Filters whether or not a blog is globally trackable.
304
- *
305
- * @since 1.7.0
306
- *
307
- * @param bool $value Whether or not trackable.
308
- * @param int $blog_id Current blog ID.
309
- */
310
  $trackable_globally = apply_filters( 'bp_blogs_is_blog_trackable', bp_blogs_is_blog_recordable( $blog_id, $user_id ), $blog_id );
311
 
312
  if ( !empty( $user_id ) ) {
313
-
314
- /**
315
- * Filters whether or not a blog is globally trackable for user.
316
- *
317
- * @since 1.7.0
318
- *
319
- * @param bool $value Whether or not trackable.
320
- * @param int $blog_id Current blog ID.
321
- * @param int $user_id Current user ID.
322
- */
323
  $trackable_for_user = apply_filters( 'bp_blogs_is_blog_trackable_for_user', $trackable_globally, $blog_id, $user_id );
324
  } else {
325
  $trackable_for_user = $trackable_globally;
@@ -341,7 +299,7 @@ function bp_blogs_is_blog_trackable( $blog_id, $user_id = 0 ) {
341
  * @param int $user_id ID of the user for whom the blog is being recorded.
342
  * @param bool $no_activity Optional. Whether to skip recording an activity
343
  * item about this blog creation. Default: false.
344
- * @return false|null Returns false on failure.
345
  */
346
  function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
347
 
@@ -386,14 +344,6 @@ function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
386
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'thread_comments_depth', $thread_depth );
387
 
388
  $is_private = !empty( $_POST['blog_public'] ) && (int) $_POST['blog_public'] ? false : true;
389
-
390
- /**
391
- * Filters whether or not a new blog is public.
392
- *
393
- * @since 1.5.0
394
- *
395
- * @param bool $is_private Whether or not blog is public.
396
- */
397
  $is_private = !apply_filters( 'bp_is_new_blog_public', !$is_private );
398
 
399
  /**
@@ -694,7 +644,7 @@ add_action( 'bp_activity_post_type_updated', 'bp_blogs_update_post_activity_meta
694
  * @param WP_Comment|null $comment The comment object.
695
  * @param array $activity_args Array of activity arguments.
696
  * @param object|null $activity_post_object The post type tracking args object.
697
- * @return WP_Error|bool|int Returns false if no activity, the activity id otherwise.
698
  */
699
  function bp_blogs_comment_sync_activity_comment( &$activity_id, $comment = null, $activity_args = array(), $activity_post_object = null ) {
700
  if ( empty( $activity_args ) || empty( $comment->post->ID ) || empty( $activity_post_object->comment_action_id ) ) {
@@ -834,7 +784,7 @@ add_action( 'bp_activity_post_type_comment', 'bp_blogs_comment_sync_activity_com
834
  * @param int $user_id The ID of the user.
835
  * @param string|bool $role User's WordPress role for this blog ID.
836
  * @param int $blog_id Blog ID user is being added to.
837
- * @return false|null False on failure.
838
  */
839
  function bp_blogs_add_user_to_blog( $user_id, $role = false, $blog_id = 0 ) {
840
  global $wpdb;
@@ -894,14 +844,6 @@ add_action( 'user_register', 'bp_blogs_add_user_to_blog' );
894
  * @return string
895
  */
896
  function bp_blogs_get_allowed_roles() {
897
-
898
- /**
899
- * Filters the allowed roles a member must have to be recorded into bp_user_blogs pointer table.
900
- *
901
- * @since 2.1.0
902
- *
903
- * @param array $value Array of potential roles user needs.
904
- */
905
  return apply_filters( 'bp_blogs_get_allowed_roles', array( 'contributor', 'author', 'editor', 'administrator' ) );
906
  }
907
 
65
  $r['include_blog_ids']
66
  );
67
 
68
+ // Filter and return.
 
 
 
 
 
 
 
69
  return apply_filters( 'bp_blogs_get_blogs', $blogs, $r );
70
  }
71
 
246
  */
247
  function bp_blogs_is_blog_recordable( $blog_id, $user_id = 0 ) {
248
 
 
 
 
 
 
 
 
 
249
  $recordable_globally = apply_filters( 'bp_blogs_is_blog_recordable', true, $blog_id );
250
 
251
  if ( !empty( $user_id ) ) {
 
 
 
 
 
 
 
 
 
252
  $recordable_for_user = apply_filters( 'bp_blogs_is_blog_recordable_for_user', $recordable_globally, $blog_id, $user_id );
253
  } else {
254
  $recordable_for_user = $recordable_globally;
275
  */
276
  function bp_blogs_is_blog_trackable( $blog_id, $user_id = 0 ) {
277
 
 
 
 
 
 
 
 
 
278
  $trackable_globally = apply_filters( 'bp_blogs_is_blog_trackable', bp_blogs_is_blog_recordable( $blog_id, $user_id ), $blog_id );
279
 
280
  if ( !empty( $user_id ) ) {
 
 
 
 
 
 
 
 
 
 
281
  $trackable_for_user = apply_filters( 'bp_blogs_is_blog_trackable_for_user', $trackable_globally, $blog_id, $user_id );
282
  } else {
283
  $trackable_for_user = $trackable_globally;
299
  * @param int $user_id ID of the user for whom the blog is being recorded.
300
  * @param bool $no_activity Optional. Whether to skip recording an activity
301
  * item about this blog creation. Default: false.
302
+ * @return bool|null Returns false on failure.
303
  */
304
  function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
305
 
344
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'thread_comments_depth', $thread_depth );
345
 
346
  $is_private = !empty( $_POST['blog_public'] ) && (int) $_POST['blog_public'] ? false : true;
 
 
 
 
 
 
 
 
347
  $is_private = !apply_filters( 'bp_is_new_blog_public', !$is_private );
348
 
349
  /**
644
  * @param WP_Comment|null $comment The comment object.
645
  * @param array $activity_args Array of activity arguments.
646
  * @param object|null $activity_post_object The post type tracking args object.
647
+ * @return int|bool Returns false if no activity, the activity id otherwise.
648
  */
649
  function bp_blogs_comment_sync_activity_comment( &$activity_id, $comment = null, $activity_args = array(), $activity_post_object = null ) {
650
  if ( empty( $activity_args ) || empty( $comment->post->ID ) || empty( $activity_post_object->comment_action_id ) ) {
784
  * @param int $user_id The ID of the user.
785
  * @param string|bool $role User's WordPress role for this blog ID.
786
  * @param int $blog_id Blog ID user is being added to.
787
+ * @return bool|null False on failure.
788
  */
789
  function bp_blogs_add_user_to_blog( $user_id, $role = false, $blog_id = 0 ) {
790
  global $wpdb;
844
  * @return string
845
  */
846
  function bp_blogs_get_allowed_roles() {
 
 
 
 
 
 
 
 
847
  return apply_filters( 'bp_blogs_get_allowed_roles', array( 'contributor', 'author', 'editor', 'administrator' ) );
848
  }
849
 
bp-blogs/bp-blogs-loader.php CHANGED
@@ -14,6 +14,10 @@
14
  // Exit if accessed directly.
15
  defined( 'ABSPATH' ) || exit;
16
 
 
 
 
 
17
  /**
18
  * Set up the bp-blogs component.
19
  *
14
  // Exit if accessed directly.
15
  defined( 'ABSPATH' ) || exit;
16
 
17
+ if ( ! buddypress()->do_autoload ) {
18
+ require dirname( __FILE__ ) . '/classes/class-bp-blogs-component.php';
19
+ }
20
+
21
  /**
22
  * Set up the bp-blogs component.
23
  *
bp-blogs/bp-blogs-screens.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Load the "My Blogs" screen.
15
  */
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-blogs-theme-compat.php';
15
+ }
16
+
17
  /**
18
  * Load the "My Blogs" screen.
19
  */
bp-blogs/bp-blogs-template.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Output the blogs component slug.
15
  *
@@ -228,8 +232,6 @@ function bp_blogs_pagination_count() {
228
  * @since 2.7.0
229
  *
230
  * @global object $blogs_template {@link BP_Blogs_Template}
231
- *
232
- * @return string
233
  */
234
  function bp_get_blogs_pagination_count() {
235
  global $blogs_template;
@@ -311,6 +313,7 @@ function bp_blog_avatar( $args = '' ) {
311
  * {@link bp_core_fetch_avatar()}.
312
  * @type string $alt Default: 'Profile picture of site author [user name]'.
313
  * @type string $class Default: 'avatar'.
 
314
  * @type string $type Default: 'full'.
315
  * @type int|bool $width Default: false.
316
  * @type int|bool $height Default: false.
@@ -336,6 +339,7 @@ function bp_blog_avatar( $args = '' ) {
336
  'width' => false,
337
  'height' => false,
338
  'class' => 'avatar',
 
339
  'id' => false,
340
  'alt' => sprintf( __( 'Profile picture of site author %s', 'buddypress' ), esc_attr( $author_displayname ) ),
341
  'no_grav' => true,
@@ -388,7 +392,7 @@ function bp_blog_avatar( $args = '' ) {
388
  $size = (int) $r['width'];
389
  }
390
 
391
- $avatar = sprintf( '<img src="%1$s" class="%2$s" width="%3$s" height="%3$s" alt="%4$s" />',
392
  esc_url( $site_icon ),
393
  esc_attr( "{$r['class']} avatar-{$size}" ),
394
  esc_attr( $size ),
@@ -401,6 +405,7 @@ function bp_blog_avatar( $args = '' ) {
401
  if ( '' === $avatar ) {
402
  $avatar = bp_core_fetch_avatar( array(
403
  'item_id' => $blogs_template->blog->admin_user_id,
 
404
  // 'avatar_dir' => 'blog-avatars',
405
  // 'object' => 'blog',
406
  'type' => $r['type'],
@@ -640,7 +645,7 @@ function bp_blog_last_active( $args = array() ) {
640
  /**
641
  * Filters the last active date of the current blog in the loop.
642
  *
643
- * @since 1.2.0
644
  *
645
  * @param string $last_activity Last active date.
646
  * @param array $r Array of parsed args used to determine formatting.
@@ -1079,7 +1084,7 @@ function bp_blogs_signup_blog( $blogname = '', $blog_title = '', $errors = '' )
1079
  if ( !is_subdomain_install() )
1080
  echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /><br />';
1081
  else
1082
- echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" ' . bp_get_form_field_attributes( 'blogname' ) . '/> <span class="suffix_address">.' . bp_signup_get_subdomain_base() . '</span><br />';
1083
 
1084
  if ( !is_user_logged_in() ) {
1085
  print '(<strong>' . __( 'Your address will be ' , 'buddypress');
@@ -1338,7 +1343,7 @@ function bp_blog_create_button() {
1338
  *
1339
  * @since 2.0.0
1340
  *
1341
- * @return false|string
1342
  */
1343
  function bp_get_blog_create_button() {
1344
  if ( ! is_user_logged_in() ) {
@@ -1396,13 +1401,6 @@ function bp_blog_create_nav_item() {
1396
 
1397
  $output = '<li id="blog-create-nav">' . $create_blog_button . '</li>';
1398
 
1399
- /**
1400
- * Filters the Create A Site nav item output.
1401
- *
1402
- * @since 2.2.0
1403
- *
1404
- * @param string $output Nav item output.
1405
- */
1406
  return apply_filters( 'bp_get_blog_create_nav_item', $output );
1407
  }
1408
 
@@ -1412,7 +1410,7 @@ function bp_blog_create_nav_item() {
1412
  *
1413
  * @since 2.2.0
1414
  *
1415
- * @return string|null HTML Output
1416
  */
1417
  function bp_blog_backcompat_create_nav_item() {
1418
  // Bail if Blogs nav item is already used by bp-legacy.
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-blogs-template.php';
15
+ }
16
+
17
  /**
18
  * Output the blogs component slug.
19
  *
232
  * @since 2.7.0
233
  *
234
  * @global object $blogs_template {@link BP_Blogs_Template}
 
 
235
  */
236
  function bp_get_blogs_pagination_count() {
237
  global $blogs_template;
313
  * {@link bp_core_fetch_avatar()}.
314
  * @type string $alt Default: 'Profile picture of site author [user name]'.
315
  * @type string $class Default: 'avatar'.
316
+ * @type string $title Default: 'Profile picture of site author [user name]'.
317
  * @type string $type Default: 'full'.
318
  * @type int|bool $width Default: false.
319
  * @type int|bool $height Default: false.
339
  'width' => false,
340
  'height' => false,
341
  'class' => 'avatar',
342
+ 'title' => sprintf( __( 'Profile picture of site author %s', 'buddypress' ), esc_attr( $author_displayname ) ),
343
  'id' => false,
344
  'alt' => sprintf( __( 'Profile picture of site author %s', 'buddypress' ), esc_attr( $author_displayname ) ),
345
  'no_grav' => true,
392
  $size = (int) $r['width'];
393
  }
394
 
395
+ $avatar = sprintf( '<img src="%1$s" class="%2$s" width="%3$s" height="%3$s" alt="%4$s" title="%4$s" />',
396
  esc_url( $site_icon ),
397
  esc_attr( "{$r['class']} avatar-{$size}" ),
398
  esc_attr( $size ),
405
  if ( '' === $avatar ) {
406
  $avatar = bp_core_fetch_avatar( array(
407
  'item_id' => $blogs_template->blog->admin_user_id,
408
+ 'title' => $r['title'],
409
  // 'avatar_dir' => 'blog-avatars',
410
  // 'object' => 'blog',
411
  'type' => $r['type'],
645
  /**
646
  * Filters the last active date of the current blog in the loop.
647
  *
648
+ * @since
649
  *
650
  * @param string $last_activity Last active date.
651
  * @param array $r Array of parsed args used to determine formatting.
1084
  if ( !is_subdomain_install() )
1085
  echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /><br />';
1086
  else
1087
+ echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" ' . bp_get_form_field_attributes( 'blogname' ) . '/> <span class="suffix_address">.' . bp_blogs_get_subdomain_base() . '</span><br />';
1088
 
1089
  if ( !is_user_logged_in() ) {
1090
  print '(<strong>' . __( 'Your address will be ' , 'buddypress');
1343
  *
1344
  * @since 2.0.0
1345
  *
1346
+ * @return string
1347
  */
1348
  function bp_get_blog_create_button() {
1349
  if ( ! is_user_logged_in() ) {
1401
 
1402
  $output = '<li id="blog-create-nav">' . $create_blog_button . '</li>';
1403
 
 
 
 
 
 
 
 
1404
  return apply_filters( 'bp_get_blog_create_nav_item', $output );
1405
  }
1406
 
1410
  *
1411
  * @since 2.2.0
1412
  *
1413
+ * @return string HTML Output
1414
  */
1415
  function bp_blog_backcompat_create_nav_item() {
1416
  // Bail if Blogs nav item is already used by bp-legacy.
bp-blogs/bp-blogs-widgets.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Register the widgets for the Blogs component.
15
  */
@@ -17,7 +21,7 @@ function bp_blogs_register_widgets() {
17
  global $wpdb;
18
 
19
  if ( bp_is_active( 'activity' ) && bp_is_root_blog( $wpdb->blogid ) ) {
20
- add_action( 'widgets_init', function() { register_widget( 'BP_Blogs_Recent_Posts_Widget' ); } );
21
  }
22
  }
23
  add_action( 'bp_register_widgets', 'bp_blogs_register_widgets' );
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-blogs-recent-posts-widget.php';
15
+ }
16
+
17
  /**
18
  * Register the widgets for the Blogs component.
19
  */
21
  global $wpdb;
22
 
23
  if ( bp_is_active( 'activity' ) && bp_is_root_blog( $wpdb->blogid ) ) {
24
+ add_action( 'widgets_init', create_function( '', 'return register_widget("BP_Blogs_Recent_Posts_Widget");' ) );
25
  }
26
  }
27
  add_action( 'bp_register_widgets', 'bp_blogs_register_widgets' );
bp-blogs/classes/class-bp-blogs-blog.php CHANGED
@@ -75,24 +75,7 @@ class BP_Blogs_Blog {
75
  public function save() {
76
  global $wpdb;
77
 
78
- /**
79
- * Filters the blog user ID before save.
80
- *
81
- * @since 1.0.0
82
- *
83
- * @param int $value User ID.
84
- * @param int $value Site ID.
85
- */
86
  $this->user_id = apply_filters( 'bp_blogs_blog_user_id_before_save', $this->user_id, $this->id );
87
-
88
- /**
89
- * Filters the blog blog ID before save.
90
- *
91
- * @since 1.0.0
92
- *
93
- * @param int $value Blog ID.
94
- * @param int $value Site ID.
95
- */
96
  $this->blog_id = apply_filters( 'bp_blogs_blog_id_before_save', $this->blog_id, $this->id );
97
 
98
  /**
75
  public function save() {
76
  global $wpdb;
77
 
 
 
 
 
 
 
 
 
78
  $this->user_id = apply_filters( 'bp_blogs_blog_user_id_before_save', $this->user_id, $this->id );
 
 
 
 
 
 
 
 
 
79
  $this->blog_id = apply_filters( 'bp_blogs_blog_id_before_save', $this->blog_id, $this->id );
80
 
81
  /**
bp-blogs/classes/class-bp-blogs-component.php CHANGED
@@ -132,6 +132,10 @@ class BP_Blogs_Component extends BP_Component {
132
  'functions',
133
  );
134
 
 
 
 
 
135
  if ( bp_is_active( 'activity' ) ) {
136
  $includes[] = 'activity';
137
  }
132
  'functions',
133
  );
134
 
135
+ if ( ! buddypress()->do_autoload ) {
136
+ $includes[] = 'classes';
137
+ }
138
+
139
  if ( bp_is_active( 'activity' ) ) {
140
  $includes[] = 'activity';
141
  }
bp-core/admin/bp-core-admin-classes.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Core component classes for wp-admin screens.
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage Core
7
+ * @since 2.5.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( dirname( __FILE__ ) ) . '/classes/class-bp-walker-category-checklist.php';
bp-core/admin/bp-core-admin-functions.php CHANGED
@@ -314,7 +314,7 @@ function bp_core_activation_notice() {
314
 
315
  // BP components cannot share a single WP page. Check for duplicate assignments, and post a message if found.
316
  $dupe_names = array();
317
- $page_ids = bp_core_get_directory_page_ids();
318
  $dupes = array_diff_assoc( $page_ids, array_unique( $page_ids ) );
319
 
320
  if ( !empty( $dupes ) ) {
@@ -1114,6 +1114,191 @@ function bp_core_admin_user_spammed_js() {
1114
  <?php
1115
  }
1116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1117
  /**
1118
  * Catch and process an admin notice dismissal.
1119
  *
@@ -1139,17 +1324,3 @@ function bp_core_admin_notice_dismiss_callback() {
1139
  wp_send_json_success();
1140
  }
1141
  add_action( 'wp_ajax_bp_dismiss_notice', 'bp_core_admin_notice_dismiss_callback' );
1142
-
1143
- /**
1144
- * Add a "buddypress" class to body element of wp-admin.
1145
- *
1146
- * @since 2.8.0
1147
- *
1148
- * @param string $classes CSS classes for the body tag in the admin, a comma separated string.
1149
- *
1150
- * @return string
1151
- */
1152
- function bp_core_admin_body_classes( $classes ) {
1153
- return $classes . ' buddypress';
1154
- }
1155
- add_filter( 'admin_body_class', 'bp_core_admin_body_classes' );
314
 
315
  // BP components cannot share a single WP page. Check for duplicate assignments, and post a message if found.
316
  $dupe_names = array();
317
+ $page_ids = (array)bp_core_get_directory_page_ids();
318
  $dupes = array_diff_assoc( $page_ids, array_unique( $page_ids ) );
319
 
320
  if ( !empty( $dupes ) ) {
1114
  <?php
1115
  }
1116
 
1117
+ /** Upgrade protection *******************************************************/
1118
+
1119
+ /**
1120
+ * Determines whether the current installation is running PHP 5.3 or greater.
1121
+ *
1122
+ * BuddyPress 2.8 introduces a minimum PHP requirement of PHP 5.3.
1123
+ *
1124
+ * @since 2.7.0
1125
+ *
1126
+ * @return bool
1127
+ */
1128
+ function bp_core_admin_is_running_php53_or_greater() {
1129
+ return version_compare( PHP_VERSION, '5.3', '>=' );
1130
+ }
1131
+
1132
+ /**
1133
+ * Replaces WP's default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater.
1134
+ *
1135
+ * @since 2.7.0
1136
+ */
1137
+ function bp_core_admin_maybe_disable_update_row_for_php53_requirement() {
1138
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1139
+ return;
1140
+ }
1141
+
1142
+ $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
1143
+
1144
+ remove_action( "after_plugin_row_{$loader}", 'wp_plugin_update_row', 10, 2 );
1145
+ add_action( "after_plugin_row_{$loader}", 'bp_core_admin_php52_plugin_row', 10, 2 );
1146
+ }
1147
+ add_action( 'load-plugins.php', 'bp_core_admin_maybe_disable_update_row_for_php53_requirement', 100 );
1148
+
1149
+ /**
1150
+ * On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3.
1151
+ *
1152
+ * @since 2.7.0
1153
+ */
1154
+ function bp_core_admin_maybe_remove_from_update_core() {
1155
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1156
+ return;
1157
+ }
1158
+
1159
+ // Add filter to remove BP from the update plugins list.
1160
+ add_filter( 'site_transient_update_plugins', 'bp_core_admin_remove_buddypress_from_update_transient' );
1161
+ }
1162
+ add_action( 'load-update-core.php', 'bp_core_admin_maybe_remove_from_update_core' );
1163
+
1164
+ /**
1165
+ * Filter callback to remove BuddyPress from the update plugins list.
1166
+ *
1167
+ * Attached to the 'site_transient_update_plugins' filter.
1168
+ *
1169
+ * @since 2.7.0
1170
+ *
1171
+ * @param object $retval Object of plugin update data.
1172
+ * @return object
1173
+ */
1174
+ function bp_core_admin_remove_buddypress_from_update_transient( $retval ) {
1175
+ $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
1176
+
1177
+ // Remove BP from update plugins list.
1178
+ if ( isset( $retval->response[ $loader ] ) ) {
1179
+ unset( $retval->response[ $loader ] );
1180
+ }
1181
+
1182
+ return $retval;
1183
+ }
1184
+
1185
+ /**
1186
+ * Outputs a replacement for WP's default update notice, when site is not running PHP 5.3 or greater.
1187
+ *
1188
+ * When we see that a site is not running PHP 5.3 and is trying to update to
1189
+ * BP 2.8+, we replace WP's default notice with our own, which both provides a
1190
+ * link to our documentation of the requirement, and removes the link that
1191
+ * allows a single plugin to be updated.
1192
+ *
1193
+ * @since 2.7.0
1194
+ *
1195
+ * @param string $file Plugin filename. buddypress/bp-loader.php.
1196
+ * @param array $plugin_data Data about the BuddyPress plugin, as returned by the
1197
+ * plugins API.
1198
+ */
1199
+ function bp_core_admin_php52_plugin_row( $file, $plugin_data ) {
1200
+ if ( is_multisite() && ! is_network_admin() ) {
1201
+ return;
1202
+ }
1203
+
1204
+ $current = get_site_transient( 'update_plugins' );
1205
+ if ( ! isset( $current->response[ $file ] ) ) {
1206
+ return false;
1207
+ }
1208
+
1209
+ $response = $current->response[ $file ];
1210
+
1211
+ // No need to do this if update is for < BP 2.8.
1212
+ if ( version_compare( $response->new_version, '2.8', '<' ) ) {
1213
+ return false;
1214
+ }
1215
+
1216
+ $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
1217
+
1218
+ if ( is_network_admin() ) {
1219
+ $active_class = is_plugin_active_for_network( $file ) ? ' active' : '';
1220
+ } else {
1221
+ $active_class = is_plugin_active( $file ) ? ' active' : '';
1222
+ }
1223
+
1224
+ // WP 4.6 uses different markup for the plugin row notice.
1225
+ if ( function_exists( 'wp_get_ext_types' ) ) {
1226
+ $p = '<p>%s</p>';
1227
+
1228
+ // WP < 4.6.
1229
+ } else {
1230
+ $p = '%s';
1231
+
1232
+ // Ugh.
1233
+ $active_class .= ' not-shiny';
1234
+ }
1235
+
1236
+ echo '<tr class="plugin-update-tr' . $active_class . '" id="' . esc_attr( $response->slug . '-update' ) . '" data-slug="' . esc_attr( $response->slug ) . '" data-plugin="' . esc_attr( $file ) . '"><td colspan="' . esc_attr( $wp_list_table->get_column_count() ) . '" class="plugin-update colspanchange"><div class="update-message inline notice notice-error notice-alt">';
1237
+
1238
+ printf( $p,
1239
+ esc_html__( 'A BuddyPress update is available, but your system is not compatible.', 'buddypress' ) . ' ' .
1240
+ sprintf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' )
1241
+ );
1242
+
1243
+ echo '</div></td></tr>';
1244
+
1245
+ /*
1246
+ * JavaScript to disable the bulk upgrade checkbox.
1247
+ * See WP_Plugins_List_Table::single_row().
1248
+ */
1249
+ $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] );
1250
+ echo "<script type='text/javascript'>document.getElementById('$checkbox_id').disabled = true;</script>";
1251
+ }
1252
+
1253
+ /**
1254
+ * Add an admin notice to installations that are not running PHP 5.3+.
1255
+ *
1256
+ * @since 2.7.0
1257
+ */
1258
+ function bp_core_admin_php53_admin_notice() {
1259
+ // If not on the Plugins page, stop now.
1260
+ if ( 'plugins' !== get_current_screen()->parent_base ) {
1261
+ return;
1262
+ }
1263
+
1264
+ if ( ! current_user_can( 'update_core' ) ) {
1265
+ return;
1266
+ }
1267
+
1268
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1269
+ return;
1270
+ }
1271
+
1272
+ $notice_id = 'bp28-php53';
1273
+ if ( bp_get_option( "bp-dismissed-notice-$notice_id" ) ) {
1274
+ return;
1275
+ }
1276
+
1277
+ $bp = buddypress();
1278
+ $min = bp_core_get_minified_asset_suffix();
1279
+
1280
+ wp_enqueue_script(
1281
+ 'bp-dismissible-admin-notices',
1282
+ "{$bp->plugin_url}bp-core/admin/js/dismissible-admin-notices{$min}.js",
1283
+ array( 'jquery' ),
1284
+ bp_get_version(),
1285
+ true
1286
+ );
1287
+
1288
+ $php_version = PHP_VERSION;
1289
+
1290
+ ?>
1291
+
1292
+ <div id="message" class="error notice is-dismissible bp-is-dismissible" data-noticeid="<?php echo esc_attr( $notice_id ); ?>">
1293
+ <p><strong><?php esc_html_e( 'Your site is not ready for BuddyPress 2.8.', 'buddypress' ); ?></strong></p>
1294
+ <p><?php printf( esc_html__( 'Your site is currently running PHP version %s, while BuddyPress 2.8 will require version 5.3+.', 'buddypress' ), $php_version ); ?> <?php printf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); ?></p>
1295
+ <?php wp_nonce_field( "bp-dismissible-notice-$notice_id", "bp-dismissible-nonce-$notice_id" ); ?>
1296
+ </div>
1297
+ <?php
1298
+ }
1299
+ add_action( 'admin_notices', 'bp_core_admin_php53_admin_notice' );
1300
+ add_action( 'network_admin_notices', 'bp_core_admin_php53_admin_notice' );
1301
+
1302
  /**
1303
  * Catch and process an admin notice dismissal.
1304
  *
1324
  wp_send_json_success();
1325
  }
1326
  add_action( 'wp_ajax_bp_dismiss_notice', 'bp_core_admin_notice_dismiss_callback' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bp-core/admin/bp-core-admin-settings.php CHANGED
@@ -47,38 +47,6 @@ function bp_admin_setting_callback_account_deletion() {
47
  <?php
48
  }
49
 
50
- /**
51
- * Form element to change the active template pack.
52
- */
53
- function bp_admin_setting_callback_theme_package_id() {
54
- $options = '';
55
-
56
- /*
57
- * Note: This should never be empty. /bp-templates/ is the
58
- * canonical backup if no other packages exist. If there's an error here,
59
- * something else is wrong.
60
- *
61
- * See BuddyPress::register_theme_packages()
62
- */
63
- foreach ( (array) buddypress()->theme_compat->packages as $id => $theme ) {
64
- $options .= sprintf(
65
- '<option value="%1$s" %2$s>%3$s</option>',
66
- esc_attr( $id ),
67
- selected( $theme->id, bp_get_theme_package_id(), false ),
68
- esc_html( $theme->name )
69
- );
70
- }
71
-
72
- if ( $options ) : ?>
73
- <select name="_bp_theme_package_id" id="_bp_theme_package_id"><?php echo $options; ?></select>
74
- <p class="description"><label for="_bp_theme_package_id"><?php esc_html_e( 'The selected Template Pack will serve all BuddyPress templates.', 'buddypress' ); ?></label></p>
75
-
76
- <?php else : ?>
77
- <p><?php esc_html_e( 'No template packages available.', 'buddypress' ); ?></p>
78
-
79
- <?php endif;
80
- }
81
-
82
  /** Activity *******************************************************************/
83
 
84
  /**
@@ -271,7 +239,7 @@ function bp_admin_setting_callback_bbpress_configuration() {
271
 
272
  <?php if ( false === $file_exists ) : ?>
273
 
274
- <a class="button" href="<?php bp_admin_url( 'admin.php?page=bb-forums-setup&repair=1' ); ?>"><?php _e( 'Repair', 'buddypress' ) ?></a>
275
  <span class="attention"><?php _e( 'File does not exist', 'buddypress' ); ?></span>
276
 
277
  <?php endif; ?>
47
  <?php
48
  }
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  /** Activity *******************************************************************/
51
 
52
  /**
239
 
240
  <?php if ( false === $file_exists ) : ?>
241
 
242
+ <a class="button" href="<?php bp_admin_url( 'admin.php?page=bb-forums-setup&repair=1' ); ?>" title="<?php esc_attr_e( 'Attempt to save a new config file.', 'buddypress' ); ?>"><?php _e( 'Repair', 'buddypress' ) ?></a>
243
  <span class="attention"><?php _e( 'File does not exist', 'buddypress' ); ?></span>
244
 
245
  <?php endif; ?>
bp-core/admin/bp-core-admin-slugs.php CHANGED
@@ -109,6 +109,7 @@ function bp_core_admin_get_static_pages() {
109
  * @todo Use settings API
110
  */
111
  function bp_core_admin_slugs_options() {
 
112
 
113
  // Get the existing WP pages
114
  $existing_pages = bp_core_get_directory_page_ids();
109
  * @todo Use settings API
110
  */
111
  function bp_core_admin_slugs_options() {
112
+ $bp = buddypress();
113
 
114
  // Get the existing WP pages
115
  $existing_pages = bp_core_get_directory_page_ids();
bp-core/admin/bp-core-admin-tools.php CHANGED
@@ -328,7 +328,7 @@ function bp_admin_repair_last_activity() {
328
  *
329
  * @param string $message Feedback message.
330
  * @param string|bool $class Unused.
331
- * @return false|Closure
332
  */
333
  function bp_admin_tools_feedback( $message, $class = false ) {
334
  if ( is_string( $message ) ) {
@@ -357,7 +357,7 @@ function bp_admin_tools_feedback( $message, $class = false ) {
357
 
358
  $message = '<div id="message" class="' . esc_attr( $class ) . '">' . $message . '</div>';
359
  $message = str_replace( "'", "\'", $message );
360
- $lambda = function() use ( $message ) { echo $message; };
361
 
362
  add_action( bp_core_do_network_admin() ? 'network_admin_notices' : 'admin_notices', $lambda );
363
 
328
  *
329
  * @param string $message Feedback message.
330
  * @param string|bool $class Unused.
331
+ * @return bool
332
  */
333
  function bp_admin_tools_feedback( $message, $class = false ) {
334
  if ( is_string( $message ) ) {
357
 
358
  $message = '<div id="message" class="' . esc_attr( $class ) . '">' . $message . '</div>';
359
  $message = str_replace( "'", "\'", $message );
360
+ $lambda = create_function( '', "echo '$message';" );
361
 
362
  add_action( bp_core_do_network_admin() ? 'network_admin_notices' : 'admin_notices', $lambda );
363
 
bp-core/admin/css/common-rtl.css CHANGED
@@ -34,7 +34,7 @@ TABLE OF CONTENTS:
34
  .bp-badge {
35
  color: #d84800;
36
  display: inline-block;
37
- font: 400 150px/1 dashicons !important;
38
  }
39
 
40
  .bp-badge:before {
@@ -47,14 +47,7 @@ TABLE OF CONTENTS:
47
  left: 0;
48
  }
49
 
50
- .buddypress code {
51
- background-color: #e0e0e0;
52
- color: #636363;
53
- font-size: 1em;
54
- }
55
-
56
  @media only screen and (max-width: 500px) {
57
-
58
  .about-wrap .bp-badge {
59
  position: relative;
60
  margin: 10px auto;
@@ -70,65 +63,67 @@ TABLE OF CONTENTS:
70
  /*
71
  * 1.2.1 Headline Feature
72
  */
73
- .buddypress .bp-headline-feature {
74
- margin-bottom: 2em;
 
75
  margin-top: 3em;
76
  padding: 2em 3em;
77
  }
78
 
79
- .buddypress .bp-headline {
 
80
  margin: 0 auto;
81
- width: 45em;
82
  }
83
 
84
- .buddypress .bp-headline span.dashicons {
 
85
  background-color: #f1f1f1;
86
- color: #d84800;
87
  clear: right;
88
  font-size: 100px;
89
  float: right;
90
  height: 100px;
91
  line-height: 100px;
92
- margin: 0 0 15px 15px;
93
  text-align: center;
94
  width: 100px;
95
  }
96
 
97
- .buddypress .bp-headline-feature .headline-title {
 
 
 
98
  font-size: 2.2em;
99
  font-weight: 300;
100
- line-height: 2;
101
- margin: 0 0 1em;
102
- text-align: center;
103
  }
104
 
105
- .buddypress .bp-headline-feature p {
 
106
  font-size: 1.15em;
107
- margin: 1.15em 0 0.6em auto;
 
 
 
 
 
108
  }
109
 
 
110
  /*
111
  * 1.2.2 Features Section
112
  */
113
- .buddypress .bp-features-section {
114
- border-bottom: 1px solid #ccc;
115
  clear: both;
116
- margin-bottom: 3em;
117
- margin-top: 2em;
118
  overflow: hidden;
119
- padding-bottom: 2em;
120
- }
121
-
122
- .buddypress .bp-features-section p {
123
- font-size: 14px;
124
- line-height: 1.5;
125
- }
126
-
127
- .buddypress .bp-features-section img {
128
- margin-bottom: 20px;
129
  }
130
 
131
- .buddypress .bp-features-section span.dashicons {
 
132
  background-color: #fff;
133
  border-radius: 50%;
134
  clear: right;
@@ -137,67 +132,48 @@ TABLE OF CONTENTS:
137
  float: right;
138
  height: 80px;
139
  line-height: 80px;
140
- margin: 0 0 15px 15px;
141
  text-align: center;
142
  width: 80px;
143
  }
144
 
145
- .buddypress .bp-features-section .headline-title {
 
146
  font-size: 2em;
147
  font-weight: 300;
148
  line-height: 1.5;
149
- margin: 1em auto 2em;
150
  text-align: center;
151
  }
152
 
153
- .buddypress .bp-features-section .bp-feature-with-images {
154
- border-bottom: 1px solid #ccc;
155
- margin-bottom: 5em;
156
- padding-bottom: 2em;
157
- }
158
-
159
- .buddypress .bp-features-section .bp-feature,
160
- .buddypress .bp-features-section .bp-feature-imaged {
161
  float: right;
162
  margin-bottom: 3em;
163
  margin-left: 4.799999999%;
164
  width: 47.6%;
165
  }
166
 
167
- .buddypress .bp-features-section .bp-feature.opposite,
168
- .buddypress .bp-features-section .bp-feature-imaged.anon {
169
- margin-left: 0;
170
- }
171
 
172
- .buddypress .bp-features-section .bp-feature code {
 
173
  font-size: 0.95em;
174
  line-height: 1.5;
175
  }
176
 
177
- .buddypress .bp-feature:after {
178
- clear: both;
179
- content: "";
180
- margin-bottom: 2em;
181
- }
182
-
183
- .buddypress .bp-feature-imaged .feature-title {
184
- color: #23282d;
185
- font-size: 1.25em;
186
- margin-bottom: 0.6em;
187
- margin-top: 0;
188
- }
189
-
190
- .buddypress .bp-feature-imaged p {
191
- clear: right;
192
- font-size: 1.1em;
193
  }
194
 
195
- .buddypress .bp-feature-imaged img {
196
- clear: right;
 
197
  }
198
 
199
- .buddypress .bp-feature .feature-title {
200
- font-size: 1em;
 
201
  line-height: 1.5;
202
  margin-bottom: 0;
203
  margin-right: 110px;
@@ -205,70 +181,66 @@ TABLE OF CONTENTS:
205
  text-align: right;
206
  }
207
 
208
- .buddypress .bp-feature p {
 
209
  margin-right: 110px;
210
  }
211
 
212
  /*
213
  * 1.2.3 Changelog Section
214
  */
215
- .buddypress .bp-changelog-section {
 
216
  clear: both;
217
- margin-bottom: 3em;
218
- margin-top: 4em;
 
219
  padding-bottom: 0;
220
  }
221
 
222
- .buddypress .bp-changelog-section:after {
223
- clear: both;
224
- content: "";
225
- display: table;
226
  }
227
 
228
- .buddypress .bp-changelog-section .changelog-title {
 
229
  color: #23282d;
230
- font-size: 1.25em;
 
231
  line-height: 1.5;
232
- margin: 0 auto 1.5em;
 
233
  }
234
 
235
- .buddypress .bp-two-column div {
 
236
  float: right;
237
  margin-left: 4.799999999%;
238
  position: relative;
239
  width: 47.6%;
240
  }
241
 
242
- .buddypress .bp-three-column .bp-column {
243
- float: right;
244
- margin-left: 5%;
245
- position: relative;
246
- width: 29.95%;
247
- }
248
-
249
- .buddypress .bp-two-column .bp-column:nth-of-type(2n),
250
- .buddypress .bp-three-column .bp-column:nth-of-type(3n) {
251
  margin-left: 0;
252
  }
253
 
254
- .buddypress .bp-changelog {
 
255
  margin-bottom: 3em;
256
  }
257
 
258
- .buddypress .bp-changelog:after {
259
- clear: both;
260
- content: "";
261
- display: table;
262
- }
263
-
264
- .buddypress .bp-changelog .title {
265
- font-size: 14px;
266
- margin-bottom: 0.75em;
267
  margin-top: 0;
268
  }
269
 
270
- .buddypress .bp-changelog p {
271
- margin-bottom: 0;
 
272
  }
273
 
274
  .bp-changelog-url {
@@ -277,60 +249,46 @@ TABLE OF CONTENTS:
277
 
278
  .bp-assets {
279
  clear: both;
280
- margin-bottom: 3em;
281
  }
282
 
283
  @media screen and ( max-width: 782px ) {
284
-
285
- .bp-headline-feature,
286
- .bp-features-section,
287
- .bp-changelog-section,
288
- .bp-assets {
289
- margin-right: 20px;
290
- margin-left: 20px;
291
- }
292
-
293
- .buddypress .bp-headline-feature {
294
  padding: 0;
295
  }
296
-
297
- .buddypress .bp-headline {
298
  margin: 0;
299
  width: 97%;
300
  }
301
-
302
- .buddypress .bp-features-section {
303
  clear: both;
304
  margin-bottom: 0;
305
  margin-top: 2em;
306
- padding-bottom: 2em;
307
- }
308
-
309
- .buddypress .bp-features-section .bp-feature-with-images {
310
- margin-bottom: 2em;
311
- }
312
-
313
- .buddypress .bp-features-section .headline-title {
314
- margin-bottom: 1em;
315
  }
316
-
317
- .buddypress .bp-changelog-section .changelog-title {
318
- font-size: 1.25em;
 
 
 
319
  line-height: 1.5;
320
  margin-bottom: 0.5em;
321
  margin-top: 0.5em;
322
  }
323
-
324
- .buddypress .bp-features-section .feature-title,
325
- .buddypress .bp-changelog-section .title {
 
326
  font-size: 1.25em;
327
  line-height: 1.25;
328
  margin-top: 0.6em;
329
  text-align: right;
330
  }
331
-
332
- .buddypress .bp-features-section .bp-feature,
333
- .buddypress .bp-features-section .bp-feature-imaged {
334
  clear: both;
335
  float: right;
336
  margin-bottom: 1em;
@@ -339,53 +297,53 @@ TABLE OF CONTENTS:
339
  padding-left: 1em;
340
  width: 100%;
341
  }
342
-
343
- .buddypress .bp-features-section .bp-feature-imaged p {
344
- font-size: 1em;
345
- }
346
-
347
- .buddypress .bp-features-section .bp-feature span {
348
  margin-top: 0.33em;
349
  }
350
-
351
- .buddypress .bp-feature.opposite .feature-title,
352
- .buddypress .bp-feature.opposite p {
 
 
 
 
 
 
 
353
  float: none;
354
  }
355
-
356
- .buddypress .bp-changelog-section {
357
- clear: both;
358
- margin-bottom: 2em;
359
- margin-top: 2em;
360
  }
361
-
362
- .buddypress .bp-changelog-section .changelog-title {
363
- margin-bottom: 1.5em;
364
  }
365
-
366
- .buddypress .bp-changelog .title {
367
  font-size: 1em;
368
  }
369
-
370
- .buddypress .bp-changelog p {
371
- margin-bottom: 1em;
372
  }
373
-
374
- .buddypress .bp-changelog-section .two-col > div,
375
- .buddypress .bp-changelog-section .three-col .col {
376
  margin-top: 0;
377
  padding-bottom: 0.5em;
378
  width: 100%;
379
  }
380
  }
381
-
382
  @media screen and ( max-width: 360px ) {
383
-
384
- .buddypress .bp-headline {
385
  text-align: center;
386
  }
387
-
388
- .buddypress .bp-headline span.dashicons {
389
  clear: none;
390
  font-size: 80px;
391
  float: none;
@@ -394,39 +352,43 @@ TABLE OF CONTENTS:
394
  margin: 0 auto;
395
  width: 80px;
396
  }
397
-
398
- .buddypress .bp-headline-feature .headline-title,
399
- .buddypress .bp-features-section .headline-title {
400
- font-size: 1.5em;
401
- line-height: 1.5;
402
  text-align: right;
403
  }
404
-
405
- .buddypress .bp-headline-feature .headline-title {
406
- margin: 1em 0 0;
407
- }
408
-
409
- .buddypress .bp-headline-feature p {
410
  margin: 1.15em 0 0.6em auto;
411
  text-align: right;
 
 
 
 
 
 
 
 
412
  width: auto;
413
  }
414
-
415
- .buddypress .bp-features-section .bp-feature {
416
  text-align: center;
417
  }
418
-
419
- .buddypress .bp-features-section span.dashicons {
420
  float: none;
421
  }
422
-
423
- .buddypress .bp-features-section .feature-title,
424
- .buddypress .bp-features-section p {
 
425
  margin-right: 0;
426
  text-align: right;
427
  }
428
  }
429
-
430
  /*------------------------------------------------------------------------------
431
  * 2.0 Dashicons
432
  *----------------------------------------------------------------------------*/
@@ -460,7 +422,7 @@ TABLE OF CONTENTS:
460
 
461
  #adminmenu #toplevel_page_bp-friends .wp-menu-image:before,
462
  #adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before,
463
- #adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before {
464
  content: "\f454";
465
  }
466
 
@@ -486,7 +448,7 @@ TABLE OF CONTENTS:
486
  }
487
 
488
  .settings_page_bp-components td.plugin-title span:before {
489
- font-family: dashicons;
490
  font-size: 18px;
491
  }
492
 
@@ -539,16 +501,13 @@ TABLE OF CONTENTS:
539
  }
540
 
541
  @media screen and ( max-width: 782px ) {
542
-
543
  .settings_page_bp-components td.plugin-title span {
544
  margin-top: 5px;
545
  }
546
-
547
  #bp-admin-component-form .wp-list-table.plugins .plugin-title {
548
  display: block;
549
  width: auto;
550
  }
551
-
552
  #bp-admin-component-form .subsubsub {
553
  margin-bottom: 0;
554
  padding-bottom: 35px;
@@ -594,13 +553,6 @@ body.users_page_bp-signups td.count_sent {
594
  text-align: center;
595
  }
596
 
597
- .bp-signups-list table {
598
- margin: 1em 0;
599
- }
600
-
601
- .bp-signups-list .column-fields {
602
- font-weight: 700;
603
- }
604
 
605
  /*------------------------------------------------------------------------------
606
  * 4.0 Emails - Edit Page
@@ -642,30 +594,27 @@ body.post-type-bp-email .categorydiv label {
642
  .tools_page_bp-tools legend {
643
  color: #23282d;
644
  font-size: 1.3em;
645
- font-weight: 600;
646
  margin: 1em 0;
647
  }
648
 
649
  .tools_page_bp-tools label {
650
  clear: right;
651
  display: block;
652
- line-height: 1.5;
653
  margin: 0 0 1em;
654
  vertical-align: middle;
655
  }
656
 
657
  @media screen and (max-width: 782px) {
658
-
659
  .tools_page_bp-tools p {
660
  line-height: 1.5;
661
  }
662
-
663
  .tools_page_bp-tools label {
664
  margin-bottom: 1em;
665
  padding-left: 25px;
666
  text-indent: -33px;
667
  }
668
-
669
  .tools_page_bp-tools .checkbox {
670
  padding: 0 30px 0 0;
671
  }
34
  .bp-badge {
35
  color: #d84800;
36
  display: inline-block;
37
+ font: normal 150px/1 'dashicons' !important;
38
  }
39
 
40
  .bp-badge:before {
47
  left: 0;
48
  }
49
 
 
 
 
 
 
 
50
  @media only screen and (max-width: 500px) {
 
51
  .about-wrap .bp-badge {
52
  position: relative;
53
  margin: 10px auto;
63
  /*
64
  * 1.2.1 Headline Feature
65
  */
66
+ .index_page_bp-about .bp-headline-feature,
67
+ .dashboard_page_bp-about .bp-headline-feature {
68
+ margin-bottom: 3em;
69
  margin-top: 3em;
70
  padding: 2em 3em;
71
  }
72
 
73
+ .index_page_bp-about .bp-headline,
74
+ .dashboard_page_bp-about .bp-headline {
75
  margin: 0 auto;
76
+ width: 35em;
77
  }
78
 
79
+ .index_page_bp-about .bp-headline span.dashicons,
80
+ .dashboard_page_bp-about .bp-headline span.dashicons {
81
  background-color: #f1f1f1;
 
82
  clear: right;
83
  font-size: 100px;
84
  float: right;
85
  height: 100px;
86
  line-height: 100px;
87
+ margin: 0 0 15px 15px ;
88
  text-align: center;
89
  width: 100px;
90
  }
91
 
92
+ .index_page_bp-about .bp-headline-feature h3,
93
+ .index_page_bp-about .bp-headline-feature .headline-title,
94
+ .dashboard_page_bp-about .bp-headline-feature h3,
95
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
96
  font-size: 2.2em;
97
  font-weight: 300;
98
+ line-height: 1;
99
+ margin: 0 125px 0 0;
 
100
  }
101
 
102
+ .index_page_bp-about .bp-headline-feature p,
103
+ .dashboard_page_bp-about .bp-headline-feature p {
104
  font-size: 1.15em;
105
+ margin: 1.15em 125px 0.6em auto;
106
+ }
107
+
108
+ .index_page_bp-about .bp-headline-feature .introduction,
109
+ .dashboard_page_bp-about .bp-headline-feature .introduction {
110
+ font-weight: 600;
111
  }
112
 
113
+
114
  /*
115
  * 1.2.2 Features Section
116
  */
117
+ .index_page_bp-about .bp-features-section,
118
+ .dashboard_page_bp-about .bp-features-section {
119
  clear: both;
120
+ margin-top: 3em;
 
121
  overflow: hidden;
122
+ padding-bottom: 0;
 
 
 
 
 
 
 
 
 
123
  }
124
 
125
+ .index_page_bp-about span.dashicons,
126
+ .dashboard_page_bp-about span.dashicons {
127
  background-color: #fff;
128
  border-radius: 50%;
129
  clear: right;
132
  float: right;
133
  height: 80px;
134
  line-height: 80px;
135
+ margin: 0 0 15px 15px ;
136
  text-align: center;
137
  width: 80px;
138
  }
139
 
140
+ .index_page_bp-about .bp-features-section h3,
141
+ .dashboard_page_bp-about .bp-features-section h3 {
142
  font-size: 2em;
143
  font-weight: 300;
144
  line-height: 1.5;
145
+ margin: 0 auto 3em;
146
  text-align: center;
147
  }
148
 
149
+ .index_page_bp-about .bp-feature,
150
+ .dashboard_page_bp-about .bp-feature {
 
 
 
 
 
 
151
  float: right;
152
  margin-bottom: 3em;
153
  margin-left: 4.799999999%;
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;
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
168
 
169
+ .index_page_bp-about .bp-feature::after,
170
+ .dashboard_page_bp-about .bp-feature::after {
171
+ content: '';
172
  }
173
 
174
+ .index_page_bp-about .bp-feature h4,
175
+ .dashboard_page_bp-about .bp-feature h4 {
176
+ font-size: 1.25em;
177
  line-height: 1.5;
178
  margin-bottom: 0;
179
  margin-right: 110px;
181
  text-align: right;
182
  }
183
 
184
+ .index_page_bp-about .bp-feature p,
185
+ .dashboard_page_bp-about .bp-feature p {
186
  margin-right: 110px;
187
  }
188
 
189
  /*
190
  * 1.2.3 Changelog Section
191
  */
192
+ .index_page_bp-about .bp-changelog-section,
193
+ .dashboard_page_bp-about .bp-changelog-section {
194
  clear: both;
195
+ margin-bottom: 8em;
196
+ margin-top: 3em;
197
+ overflow: hidden;
198
  padding-bottom: 0;
199
  }
200
 
201
+ .index_page_bp-about .bp-changelog-section::after,
202
+ .dashboard_page_bp-about .bp-changelog-section::after {
203
+ content: '';
 
204
  }
205
 
206
+ .index_page_bp-about .bp-changelog-section .changelog-title,
207
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
208
  color: #23282d;
209
+ font-size: 1.8em;
210
+ font-weight: 300;
211
  line-height: 1.5;
212
+ margin: 0 auto 0.5em;
213
+ text-align: center;
214
  }
215
 
216
+ .index_page_bp-about .bp-changelog-section .two-col > div,
217
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div {
218
  float: right;
219
  margin-left: 4.799999999%;
220
  position: relative;
221
  width: 47.6%;
222
  }
223
 
224
+ .index_page_bp-about .bp-changelog-section .two-col > div.last-feature,
225
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div.last-feature {
 
 
 
 
 
 
 
226
  margin-left: 0;
227
  }
228
 
229
+ .index_page_bp-about .bp-changelog,
230
+ .dashboard_page_bp-about .bp-changelog {
231
  margin-bottom: 3em;
232
  }
233
 
234
+ .index_page_bp-about .bp-changelog h4,
235
+ .dashboard_page_bp-about .bp-changelog h4 {
236
+ font-size: 1em;
237
+ margin-bottom: 0;
 
 
 
 
 
238
  margin-top: 0;
239
  }
240
 
241
+ .index_page_bp-about .bp-changelog p,
242
+ .dashboard_page_bp-about .bp-changelog p {
243
+ margin-bottom: 3em;
244
  }
245
 
246
  .bp-changelog-url {
249
 
250
  .bp-assets {
251
  clear: both;
252
+ margin-bottom: 2em;
253
  }
254
 
255
  @media screen and ( max-width: 782px ) {
256
+ .index_page_bp-about .bp-headline-feature,
257
+ .dashboard_page_bp-about .bp-headline-feature {
 
 
 
 
 
 
 
 
258
  padding: 0;
259
  }
260
+ .index_page_bp-about .bp-headline,
261
+ .dashboard_page_bp-about .bp-headline {
262
  margin: 0;
263
  width: 97%;
264
  }
265
+ .index_page_bp-about .bp-features-section,
266
+ .dashboard_page_bp-about .bp-features-section {
267
  clear: both;
268
  margin-bottom: 0;
269
  margin-top: 2em;
 
 
 
 
 
 
 
 
 
270
  }
271
+ .index_page_bp-about .bp-features-section h3,
272
+ .dashboard_page_bp-about .bp-features-section h3,
273
+ .index_page_bp-about .bp-changelog-section .changelog-title,
274
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
275
+ font-size: 1.8em;
276
+ font-weight: 300;
277
  line-height: 1.5;
278
  margin-bottom: 0.5em;
279
  margin-top: 0.5em;
280
  }
281
+ .index_page_bp-about .bp-features-section h4,
282
+ .dashboard_page_bp-about .bp-features-section h4,
283
+ .index_page_bp-about .bp-changelog-section h4,
284
+ .dashboard_page_bp-about .bp-changelog-section h4 {
285
  font-size: 1.25em;
286
  line-height: 1.25;
287
  margin-top: 0.6em;
288
  text-align: right;
289
  }
290
+ .index_page_bp-about .bp-feature,
291
+ .dashboard_page_bp-about .bp-feature {
 
292
  clear: both;
293
  float: right;
294
  margin-bottom: 1em;
297
  padding-left: 1em;
298
  width: 100%;
299
  }
300
+ .index_page_bp-about .bp-feature span,
301
+ .dashboard_page_bp-about .bp-feature span {
 
 
 
 
302
  margin-top: 0.33em;
303
  }
304
+ .index_page_bp-about .bp-feature h4,
305
+ .dashboard_page_bp-about .bp-feature h4,
306
+ .index_page_bp-about .bp-feature p,
307
+ .dashboard_page_bp-about .bp-feature p {
308
+ width: 100%;
309
+ }
310
+ .index_page_bp-about .bp-feature.opposite h4,
311
+ .dashboard_page_bp-about .bp-feature.opposite h4,
312
+ .index_page_bp-about .bp-feature.opposite p,
313
+ .dashboard_page_bp-about .bp-feature.opposite p {
314
  float: none;
315
  }
316
+ .index_page_bp-about .bp-changelog-section,
317
+ .dashboard_page_bp-about .bp-changelog-section {
318
+ clear: both;
319
+ margin-bottom: 2em;
 
320
  }
321
+ .index_page_bp-about .bp-changelog-section .changelog-title,
322
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
323
+ margin-bottom: 1em;
324
  }
325
+ .index_page_bp-about .bp-changelog h4,
326
+ .dashboard_page_bp-about .bp-changelog h4 {
327
  font-size: 1em;
328
  }
329
+ .index_page_bp-about .bp-changelog p,
330
+ .dashboard_page_bp-about .bp-changelog p {
331
+ margin-bottom: 2em;
332
  }
333
+ .index_page_bp-about .bp-changelog-section .two-col > div,
334
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div {
 
335
  margin-top: 0;
336
  padding-bottom: 0.5em;
337
  width: 100%;
338
  }
339
  }
 
340
  @media screen and ( max-width: 360px ) {
341
+ .index_page_bp-about .bp-headline,
342
+ .dashboard_page_bp-about .bp-headline {
343
  text-align: center;
344
  }
345
+ .index_page_bp-about .bp-headline span.dashicons,
346
+ .dashboard_page_bp-about .bp-headline span.dashicons {
347
  clear: none;
348
  font-size: 80px;
349
  float: none;
352
  margin: 0 auto;
353
  width: 80px;
354
  }
355
+ .index_page_bp-about .bp-headline-feature h3,
356
+ .index_page_bp-about .bp-headline-feature .headline-title,
357
+ .dashboard_page_bp-about .bp-headline-feature h3,
358
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
359
+ margin: 1em 0 0 0;
360
  text-align: right;
361
  }
362
+ .index_page_bp-about .bp-headline-feature p,
363
+ .dashboard_page_bp-about .bp-headline-feature p {
 
 
 
 
364
  margin: 1.15em 0 0.6em auto;
365
  text-align: right;
366
+ }
367
+ .index_page_bp-about .bp-headline-feature .headline-title,
368
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
369
+ font-size: 1.5em;
370
+ line-height: 1.5;
371
+ }
372
+ .index_page_bp-about .bp-headline-feature p,
373
+ .dashboard_page_bp-about .bp-headline-feature p {
374
  width: auto;
375
  }
376
+ .index_page_bp-about .bp-feature,
377
+ .dashboard_page_bp-about .bp-feature {
378
  text-align: center;
379
  }
380
+ .index_page_bp-about span.dashicons,
381
+ .dashboard_page_bp-about span.dashicons {
382
  float: none;
383
  }
384
+ .index_page_bp-about .bp-features-section h4,
385
+ .dashboard_page_bp-about .bp-features-section h4,
386
+ .index_page_bp-about .bp-features-section p,
387
+ .dashboard_page_bp-about .bp-features-section p {
388
  margin-right: 0;
389
  text-align: right;
390
  }
391
  }
 
392
  /*------------------------------------------------------------------------------
393
  * 2.0 Dashicons
394
  *----------------------------------------------------------------------------*/
422
 
423
  #adminmenu #toplevel_page_bp-friends .wp-menu-image:before,
424
  #adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before,
425
+ #adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before{
426
  content: "\f454";
427
  }
428
 
448
  }
449
 
450
  .settings_page_bp-components td.plugin-title span:before {
451
+ font-family: 'dashicons';
452
  font-size: 18px;
453
  }
454
 
501
  }
502
 
503
  @media screen and ( max-width: 782px ) {
 
504
  .settings_page_bp-components td.plugin-title span {
505
  margin-top: 5px;
506
  }
 
507
  #bp-admin-component-form .wp-list-table.plugins .plugin-title {
508
  display: block;
509
  width: auto;
510
  }
 
511
  #bp-admin-component-form .subsubsub {
512
  margin-bottom: 0;
513
  padding-bottom: 35px;
553
  text-align: center;
554
  }
555
 
 
 
 
 
 
 
 
556
 
557
  /*------------------------------------------------------------------------------
558
  * 4.0 Emails - Edit Page
594
  .tools_page_bp-tools legend {
595
  color: #23282d;
596
  font-size: 1.3em;
597
+ font-weight: 600px;
598
  margin: 1em 0;
599
  }
600
 
601
  .tools_page_bp-tools label {
602
  clear: right;
603
  display: block;
604
+ line-height: 1.5em;
605
  margin: 0 0 1em;
606
  vertical-align: middle;
607
  }
608
 
609
  @media screen and (max-width: 782px) {
 
610
  .tools_page_bp-tools p {
611
  line-height: 1.5;
612
  }
 
613
  .tools_page_bp-tools label {
614
  margin-bottom: 1em;
615
  padding-left: 25px;
616
  text-indent: -33px;
617
  }
 
618
  .tools_page_bp-tools .checkbox {
619
  padding: 0 30px 0 0;
620
  }
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"}.about-wrap .bp-badge{position:absolute;top:0;left:0}.buddypress code{background-color:#e0e0e0;color:#636363;font-size:1em}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.buddypress .bp-headline-feature{margin-bottom:2em;margin-top:3em;padding:2em 3em}.buddypress .bp-headline{margin:0 auto;width:45em}.buddypress .bp-headline span.dashicons{background-color:#f1f1f1;color:#d84800;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.buddypress .bp-headline-feature .headline-title{font-size:2.2em;font-weight:300;line-height:2;margin:0 0 1em;text-align:center}.buddypress .bp-headline-feature p{font-size:1.15em;margin:1.15em 0 .6em auto}.buddypress .bp-features-section{border-bottom:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;overflow:hidden;padding-bottom:2em}.buddypress .bp-features-section p{font-size:14px;line-height:1.5}.buddypress .bp-features-section img{margin-bottom:20px}.buddypress .bp-features-section 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}.buddypress .bp-features-section .headline-title{font-size:2em;font-weight:300;line-height:1.5;margin:1em auto 2em;text-align:center}.buddypress .bp-features-section .bp-feature-with-images{border-bottom:1px solid #ccc;margin-bottom:5em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.buddypress .bp-features-section .bp-feature-imaged.anon,.buddypress .bp-features-section .bp-feature.opposite{margin-left:0}.buddypress .bp-features-section .bp-feature code{font-size:.95em;line-height:1.5}.buddypress .bp-feature:after{clear:both;content:"";margin-bottom:2em}.buddypress .bp-feature-imaged .feature-title{color:#23282d;font-size:1.25em;margin-bottom:.6em;margin-top:0}.buddypress .bp-feature-imaged p{clear:right;font-size:1.1em}.buddypress .bp-feature-imaged img{clear:right}.buddypress .bp-feature .feature-title{font-size:1em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.buddypress .bp-feature p{margin-right:110px}.buddypress .bp-changelog-section{clear:both;margin-bottom:3em;margin-top:4em;padding-bottom:0}.buddypress .bp-changelog-section:after{clear:both;content:"";display:table}.buddypress .bp-changelog-section .changelog-title{color:#23282d;font-size:1.25em;line-height:1.5;margin:0 auto 1.5em}.buddypress .bp-two-column div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.buddypress .bp-three-column .bp-column{float:right;margin-left:5%;position:relative;width:29.95%}.buddypress .bp-three-column .bp-column:nth-of-type(3n),.buddypress .bp-two-column .bp-column:nth-of-type(2n){margin-left:0}.buddypress .bp-changelog{margin-bottom:3em}.buddypress .bp-changelog:after{clear:both;content:"";display:table}.buddypress .bp-changelog .title{font-size:14px;margin-bottom:.75em;margin-top:0}.buddypress .bp-changelog p{margin-bottom:0}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:3em}@media screen and (max-width:782px){.bp-assets,.bp-changelog-section,.bp-features-section,.bp-headline-feature{margin-right:20px;margin-left:20px}.buddypress .bp-headline-feature{padding:0}.buddypress .bp-headline{margin:0;width:97%}.buddypress .bp-features-section{clear:both;margin-bottom:0;margin-top:2em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature-with-images{margin-bottom:2em}.buddypress .bp-features-section .headline-title{margin-bottom:1em}.buddypress .bp-changelog-section .changelog-title{font-size:1.25em;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.buddypress .bp-changelog-section .title,.buddypress .bp-features-section .feature-title{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.buddypress .bp-features-section .bp-feature-imaged p{font-size:1em}.buddypress .bp-features-section .bp-feature span{margin-top:.33em}.buddypress .bp-feature.opposite .feature-title,.buddypress .bp-feature.opposite p{float:none}.buddypress .bp-changelog-section{clear:both;margin-bottom:2em;margin-top:2em}.buddypress .bp-changelog-section .changelog-title{margin-bottom:1.5em}.buddypress .bp-changelog .title{font-size:1em}.buddypress .bp-changelog p{margin-bottom:1em}.buddypress .bp-changelog-section .three-col .col,.buddypress .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.buddypress .bp-headline{text-align:center}.buddypress .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.buddypress .bp-features-section .headline-title,.buddypress .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5;text-align:right}.buddypress .bp-headline-feature .headline-title{margin:1em 0 0}.buddypress .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.buddypress .bp-features-section .bp-feature{text-align:center}.buddypress .bp-features-section span.dashicons{float:none}.buddypress .bp-features-section .feature-title,.buddypress .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.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}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}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:600;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5;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
@@ -34,7 +34,7 @@ TABLE OF CONTENTS:
34
  .bp-badge {
35
  color: #d84800;
36
  display: inline-block;
37
- font: 400 150px/1 dashicons !important;
38
  }
39
 
40
  .bp-badge:before {
@@ -47,14 +47,7 @@ TABLE OF CONTENTS:
47
  right: 0;
48
  }
49
 
50
- .buddypress code {
51
- background-color: #e0e0e0;
52
- color: #636363;
53
- font-size: 1em;
54
- }
55
-
56
  @media only screen and (max-width: 500px) {
57
-
58
  .about-wrap .bp-badge {
59
  position: relative;
60
  margin: 10px auto;
@@ -70,65 +63,67 @@ TABLE OF CONTENTS:
70
  /*
71
  * 1.2.1 Headline Feature
72
  */
73
- .buddypress .bp-headline-feature {
74
- margin-bottom: 2em;
 
75
  margin-top: 3em;
76
  padding: 2em 3em;
77
  }
78
 
79
- .buddypress .bp-headline {
 
80
  margin: 0 auto;
81
- width: 45em;
82
  }
83
 
84
- .buddypress .bp-headline span.dashicons {
 
85
  background-color: #f1f1f1;
86
- color: #d84800;
87
  clear: left;
88
  font-size: 100px;
89
  float: left;
90
  height: 100px;
91
  line-height: 100px;
92
- margin: 0 15px 15px 0;
93
  text-align: center;
94
  width: 100px;
95
  }
96
 
97
- .buddypress .bp-headline-feature .headline-title {
 
 
 
98
  font-size: 2.2em;
99
  font-weight: 300;
100
- line-height: 2;
101
- margin: 0 0 1em;
102
- text-align: center;
103
  }
104
 
105
- .buddypress .bp-headline-feature p {
 
106
  font-size: 1.15em;
107
- margin: 1.15em auto 0.6em 0;
 
 
 
 
 
108
  }
109
 
 
110
  /*
111
  * 1.2.2 Features Section
112
  */
113
- .buddypress .bp-features-section {
114
- border-bottom: 1px solid #ccc;
115
  clear: both;
116
- margin-bottom: 3em;
117
- margin-top: 2em;
118
  overflow: hidden;
119
- padding-bottom: 2em;
120
- }
121
-
122
- .buddypress .bp-features-section p {
123
- font-size: 14px;
124
- line-height: 1.5;
125
- }
126
-
127
- .buddypress .bp-features-section img {
128
- margin-bottom: 20px;
129
  }
130
 
131
- .buddypress .bp-features-section span.dashicons {
 
132
  background-color: #fff;
133
  border-radius: 50%;
134
  clear: left;
@@ -137,67 +132,48 @@ TABLE OF CONTENTS:
137
  float: left;
138
  height: 80px;
139
  line-height: 80px;
140
- margin: 0 15px 15px 0;
141
  text-align: center;
142
  width: 80px;
143
  }
144
 
145
- .buddypress .bp-features-section .headline-title {
 
146
  font-size: 2em;
147
  font-weight: 300;
148
  line-height: 1.5;
149
- margin: 1em auto 2em;
150
  text-align: center;
151
  }
152
 
153
- .buddypress .bp-features-section .bp-feature-with-images {
154
- border-bottom: 1px solid #ccc;
155
- margin-bottom: 5em;
156
- padding-bottom: 2em;
157
- }
158
-
159
- .buddypress .bp-features-section .bp-feature,
160
- .buddypress .bp-features-section .bp-feature-imaged {
161
  float: left;
162
  margin-bottom: 3em;
163
  margin-right: 4.799999999%;
164
  width: 47.6%;
165
  }
166
 
167
- .buddypress .bp-features-section .bp-feature.opposite,
168
- .buddypress .bp-features-section .bp-feature-imaged.anon {
169
- margin-right: 0;
170
- }
171
 
172
- .buddypress .bp-features-section .bp-feature code {
 
173
  font-size: 0.95em;
174
  line-height: 1.5;
175
  }
176
 
177
- .buddypress .bp-feature:after {
178
- clear: both;
179
- content: "";
180
- margin-bottom: 2em;
181
- }
182
-
183
- .buddypress .bp-feature-imaged .feature-title {
184
- color: #23282d;
185
- font-size: 1.25em;
186
- margin-bottom: 0.6em;
187
- margin-top: 0;
188
- }
189
-
190
- .buddypress .bp-feature-imaged p {
191
- clear: left;
192
- font-size: 1.1em;
193
  }
194
 
195
- .buddypress .bp-feature-imaged img {
196
- clear: left;
 
197
  }
198
 
199
- .buddypress .bp-feature .feature-title {
200
- font-size: 1em;
 
201
  line-height: 1.5;
202
  margin-bottom: 0;
203
  margin-left: 110px;
@@ -205,70 +181,66 @@ TABLE OF CONTENTS:
205
  text-align: left;
206
  }
207
 
208
- .buddypress .bp-feature p {
 
209
  margin-left: 110px;
210
  }
211
 
212
  /*
213
  * 1.2.3 Changelog Section
214
  */
215
- .buddypress .bp-changelog-section {
 
216
  clear: both;
217
- margin-bottom: 3em;
218
- margin-top: 4em;
 
219
  padding-bottom: 0;
220
  }
221
 
222
- .buddypress .bp-changelog-section:after {
223
- clear: both;
224
- content: "";
225
- display: table;
226
  }
227
 
228
- .buddypress .bp-changelog-section .changelog-title {
 
229
  color: #23282d;
230
- font-size: 1.25em;
 
231
  line-height: 1.5;
232
- margin: 0 auto 1.5em;
 
233
  }
234
 
235
- .buddypress .bp-two-column div {
 
236
  float: left;
237
  margin-right: 4.799999999%;
238
  position: relative;
239
  width: 47.6%;
240
  }
241
 
242
- .buddypress .bp-three-column .bp-column {
243
- float: left;
244
- margin-right: 5%;
245
- position: relative;
246
- width: 29.95%;
247
- }
248
-
249
- .buddypress .bp-two-column .bp-column:nth-of-type(2n),
250
- .buddypress .bp-three-column .bp-column:nth-of-type(3n) {
251
  margin-right: 0;
252
  }
253
 
254
- .buddypress .bp-changelog {
 
255
  margin-bottom: 3em;
256
  }
257
 
258
- .buddypress .bp-changelog:after {
259
- clear: both;
260
- content: "";
261
- display: table;
262
- }
263
-
264
- .buddypress .bp-changelog .title {
265
- font-size: 14px;
266
- margin-bottom: 0.75em;
267
  margin-top: 0;
268
  }
269
 
270
- .buddypress .bp-changelog p {
271
- margin-bottom: 0;
 
272
  }
273
 
274
  .bp-changelog-url {
@@ -277,60 +249,46 @@ TABLE OF CONTENTS:
277
 
278
  .bp-assets {
279
  clear: both;
280
- margin-bottom: 3em;
281
  }
282
 
283
  @media screen and ( max-width: 782px ) {
284
-
285
- .bp-headline-feature,
286
- .bp-features-section,
287
- .bp-changelog-section,
288
- .bp-assets {
289
- margin-left: 20px;
290
- margin-right: 20px;
291
- }
292
-
293
- .buddypress .bp-headline-feature {
294
  padding: 0;
295
  }
296
-
297
- .buddypress .bp-headline {
298
  margin: 0;
299
  width: 97%;
300
  }
301
-
302
- .buddypress .bp-features-section {
303
  clear: both;
304
  margin-bottom: 0;
305
  margin-top: 2em;
306
- padding-bottom: 2em;
307
- }
308
-
309
- .buddypress .bp-features-section .bp-feature-with-images {
310
- margin-bottom: 2em;
311
- }
312
-
313
- .buddypress .bp-features-section .headline-title {
314
- margin-bottom: 1em;
315
  }
316
-
317
- .buddypress .bp-changelog-section .changelog-title {
318
- font-size: 1.25em;
 
 
 
319
  line-height: 1.5;
320
  margin-bottom: 0.5em;
321
  margin-top: 0.5em;
322
  }
323
-
324
- .buddypress .bp-features-section .feature-title,
325
- .buddypress .bp-changelog-section .title {
 
326
  font-size: 1.25em;
327
  line-height: 1.25;
328
  margin-top: 0.6em;
329
  text-align: left;
330
  }
331
-
332
- .buddypress .bp-features-section .bp-feature,
333
- .buddypress .bp-features-section .bp-feature-imaged {
334
  clear: both;
335
  float: left;
336
  margin-bottom: 1em;
@@ -339,53 +297,53 @@ TABLE OF CONTENTS:
339
  padding-right: 1em;
340
  width: 100%;
341
  }
342
-
343
- .buddypress .bp-features-section .bp-feature-imaged p {
344
- font-size: 1em;
345
- }
346
-
347
- .buddypress .bp-features-section .bp-feature span {
348
  margin-top: 0.33em;
349
  }
350
-
351
- .buddypress .bp-feature.opposite .feature-title,
352
- .buddypress .bp-feature.opposite p {
 
 
 
 
 
 
 
353
  float: none;
354
  }
355
-
356
- .buddypress .bp-changelog-section {
357
- clear: both;
358
- margin-bottom: 2em;
359
- margin-top: 2em;
360
  }
361
-
362
- .buddypress .bp-changelog-section .changelog-title {
363
- margin-bottom: 1.5em;
364
  }
365
-
366
- .buddypress .bp-changelog .title {
367
  font-size: 1em;
368
  }
369
-
370
- .buddypress .bp-changelog p {
371
- margin-bottom: 1em;
372
  }
373
-
374
- .buddypress .bp-changelog-section .two-col > div,
375
- .buddypress .bp-changelog-section .three-col .col {
376
  margin-top: 0;
377
  padding-bottom: 0.5em;
378
  width: 100%;
379
  }
380
  }
381
-
382
  @media screen and ( max-width: 360px ) {
383
-
384
- .buddypress .bp-headline {
385
  text-align: center;
386
  }
387
-
388
- .buddypress .bp-headline span.dashicons {
389
  clear: none;
390
  font-size: 80px;
391
  float: none;
@@ -394,39 +352,43 @@ TABLE OF CONTENTS:
394
  margin: 0 auto;
395
  width: 80px;
396
  }
397
-
398
- .buddypress .bp-headline-feature .headline-title,
399
- .buddypress .bp-features-section .headline-title {
400
- font-size: 1.5em;
401
- line-height: 1.5;
402
  text-align: left;
403
  }
404
-
405
- .buddypress .bp-headline-feature .headline-title {
406
- margin: 1em 0 0;
407
- }
408
-
409
- .buddypress .bp-headline-feature p {
410
  margin: 1.15em auto 0.6em 0;
411
  text-align: left;
 
 
 
 
 
 
 
 
412
  width: auto;
413
  }
414
-
415
- .buddypress .bp-features-section .bp-feature {
416
  text-align: center;
417
  }
418
-
419
- .buddypress .bp-features-section span.dashicons {
420
  float: none;
421
  }
422
-
423
- .buddypress .bp-features-section .feature-title,
424
- .buddypress .bp-features-section p {
 
425
  margin-left: 0;
426
  text-align: left;
427
  }
428
  }
429
-
430
  /*------------------------------------------------------------------------------
431
  * 2.0 Dashicons
432
  *----------------------------------------------------------------------------*/
@@ -460,7 +422,7 @@ TABLE OF CONTENTS:
460
 
461
  #adminmenu #toplevel_page_bp-friends .wp-menu-image:before,
462
  #adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before,
463
- #adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before {
464
  content: "\f454";
465
  }
466
 
@@ -486,7 +448,7 @@ TABLE OF CONTENTS:
486
  }
487
 
488
  .settings_page_bp-components td.plugin-title span:before {
489
- font-family: dashicons;
490
  font-size: 18px;
491
  }
492
 
@@ -539,16 +501,13 @@ TABLE OF CONTENTS:
539
  }
540
 
541
  @media screen and ( max-width: 782px ) {
542
-
543
  .settings_page_bp-components td.plugin-title span {
544
  margin-top: 5px;
545
  }
546
-
547
  #bp-admin-component-form .wp-list-table.plugins .plugin-title {
548
  display: block;
549
  width: auto;
550
  }
551
-
552
  #bp-admin-component-form .subsubsub {
553
  margin-bottom: 0;
554
  padding-bottom: 35px;
@@ -594,13 +553,6 @@ body.users_page_bp-signups td.count_sent {
594
  text-align: center;
595
  }
596
 
597
- .bp-signups-list table {
598
- margin: 1em 0;
599
- }
600
-
601
- .bp-signups-list .column-fields {
602
- font-weight: 700;
603
- }
604
 
605
  /*------------------------------------------------------------------------------
606
  * 4.0 Emails - Edit Page
@@ -642,30 +594,27 @@ body.post-type-bp-email .categorydiv label {
642
  .tools_page_bp-tools legend {
643
  color: #23282d;
644
  font-size: 1.3em;
645
- font-weight: 600;
646
  margin: 1em 0;
647
  }
648
 
649
  .tools_page_bp-tools label {
650
  clear: left;
651
  display: block;
652
- line-height: 1.5;
653
  margin: 0 0 1em;
654
  vertical-align: middle;
655
  }
656
 
657
  @media screen and (max-width: 782px) {
658
-
659
  .tools_page_bp-tools p {
660
  line-height: 1.5;
661
  }
662
-
663
  .tools_page_bp-tools label {
664
  margin-bottom: 1em;
665
  padding-right: 25px;
666
  text-indent: -33px;
667
  }
668
-
669
  .tools_page_bp-tools .checkbox {
670
  padding: 0 0 0 30px;
671
  }
34
  .bp-badge {
35
  color: #d84800;
36
  display: inline-block;
37
+ font: normal 150px/1 'dashicons' !important;
38
  }
39
 
40
  .bp-badge:before {
47
  right: 0;
48
  }
49
 
 
 
 
 
 
 
50
  @media only screen and (max-width: 500px) {
 
51
  .about-wrap .bp-badge {
52
  position: relative;
53
  margin: 10px auto;
63
  /*
64
  * 1.2.1 Headline Feature
65
  */
66
+ .index_page_bp-about .bp-headline-feature,
67
+ .dashboard_page_bp-about .bp-headline-feature {
68
+ margin-bottom: 3em;
69
  margin-top: 3em;
70
  padding: 2em 3em;
71
  }
72
 
73
+ .index_page_bp-about .bp-headline,
74
+ .dashboard_page_bp-about .bp-headline {
75
  margin: 0 auto;
76
+ width: 35em;
77
  }
78
 
79
+ .index_page_bp-about .bp-headline span.dashicons,
80
+ .dashboard_page_bp-about .bp-headline span.dashicons {
81
  background-color: #f1f1f1;
 
82
  clear: left;
83
  font-size: 100px;
84
  float: left;
85
  height: 100px;
86
  line-height: 100px;
87
+ margin: 0 15px 15px 0 ;
88
  text-align: center;
89
  width: 100px;
90
  }
91
 
92
+ .index_page_bp-about .bp-headline-feature h3,
93
+ .index_page_bp-about .bp-headline-feature .headline-title,
94
+ .dashboard_page_bp-about .bp-headline-feature h3,
95
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
96
  font-size: 2.2em;
97
  font-weight: 300;
98
+ line-height: 1;
99
+ margin: 0 0 0 125px;
 
100
  }
101
 
102
+ .index_page_bp-about .bp-headline-feature p,
103
+ .dashboard_page_bp-about .bp-headline-feature p {
104
  font-size: 1.15em;
105
+ margin: 1.15em auto 0.6em 125px;
106
+ }
107
+
108
+ .index_page_bp-about .bp-headline-feature .introduction,
109
+ .dashboard_page_bp-about .bp-headline-feature .introduction {
110
+ font-weight: 600;
111
  }
112
 
113
+
114
  /*
115
  * 1.2.2 Features Section
116
  */
117
+ .index_page_bp-about .bp-features-section,
118
+ .dashboard_page_bp-about .bp-features-section {
119
  clear: both;
120
+ margin-top: 3em;
 
121
  overflow: hidden;
122
+ padding-bottom: 0;
 
 
 
 
 
 
 
 
 
123
  }
124
 
125
+ .index_page_bp-about span.dashicons,
126
+ .dashboard_page_bp-about span.dashicons {
127
  background-color: #fff;
128
  border-radius: 50%;
129
  clear: left;
132
  float: left;
133
  height: 80px;
134
  line-height: 80px;
135
+ margin: 0 15px 15px 0 ;
136
  text-align: center;
137
  width: 80px;
138
  }
139
 
140
+ .index_page_bp-about .bp-features-section h3,
141
+ .dashboard_page_bp-about .bp-features-section h3 {
142
  font-size: 2em;
143
  font-weight: 300;
144
  line-height: 1.5;
145
+ margin: 0 auto 3em;
146
  text-align: center;
147
  }
148
 
149
+ .index_page_bp-about .bp-feature,
150
+ .dashboard_page_bp-about .bp-feature {
 
 
 
 
 
 
151
  float: left;
152
  margin-bottom: 3em;
153
  margin-right: 4.799999999%;
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;
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
168
 
169
+ .index_page_bp-about .bp-feature::after,
170
+ .dashboard_page_bp-about .bp-feature::after {
171
+ content: '';
172
  }
173
 
174
+ .index_page_bp-about .bp-feature h4,
175
+ .dashboard_page_bp-about .bp-feature h4 {
176
+ font-size: 1.25em;
177
  line-height: 1.5;
178
  margin-bottom: 0;
179
  margin-left: 110px;
181
  text-align: left;
182
  }
183
 
184
+ .index_page_bp-about .bp-feature p,
185
+ .dashboard_page_bp-about .bp-feature p {
186
  margin-left: 110px;
187
  }
188
 
189
  /*
190
  * 1.2.3 Changelog Section
191
  */
192
+ .index_page_bp-about .bp-changelog-section,
193
+ .dashboard_page_bp-about .bp-changelog-section {
194
  clear: both;
195
+ margin-bottom: 8em;
196
+ margin-top: 3em;
197
+ overflow: hidden;
198
  padding-bottom: 0;
199
  }
200
 
201
+ .index_page_bp-about .bp-changelog-section::after,
202
+ .dashboard_page_bp-about .bp-changelog-section::after {
203
+ content: '';
 
204
  }
205
 
206
+ .index_page_bp-about .bp-changelog-section .changelog-title,
207
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
208
  color: #23282d;
209
+ font-size: 1.8em;
210
+ font-weight: 300;
211
  line-height: 1.5;
212
+ margin: 0 auto 0.5em;
213
+ text-align: center;
214
  }
215
 
216
+ .index_page_bp-about .bp-changelog-section .two-col > div,
217
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div {
218
  float: left;
219
  margin-right: 4.799999999%;
220
  position: relative;
221
  width: 47.6%;
222
  }
223
 
224
+ .index_page_bp-about .bp-changelog-section .two-col > div.last-feature,
225
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div.last-feature {
 
 
 
 
 
 
 
226
  margin-right: 0;
227
  }
228
 
229
+ .index_page_bp-about .bp-changelog,
230
+ .dashboard_page_bp-about .bp-changelog {
231
  margin-bottom: 3em;
232
  }
233
 
234
+ .index_page_bp-about .bp-changelog h4,
235
+ .dashboard_page_bp-about .bp-changelog h4 {
236
+ font-size: 1em;
237
+ margin-bottom: 0;
 
 
 
 
 
238
  margin-top: 0;
239
  }
240
 
241
+ .index_page_bp-about .bp-changelog p,
242
+ .dashboard_page_bp-about .bp-changelog p {
243
+ margin-bottom: 3em;
244
  }
245
 
246
  .bp-changelog-url {
249
 
250
  .bp-assets {
251
  clear: both;
252
+ margin-bottom: 2em;
253
  }
254
 
255
  @media screen and ( max-width: 782px ) {
256
+ .index_page_bp-about .bp-headline-feature,
257
+ .dashboard_page_bp-about .bp-headline-feature {
 
 
 
 
 
 
 
 
258
  padding: 0;
259
  }
260
+ .index_page_bp-about .bp-headline,
261
+ .dashboard_page_bp-about .bp-headline {
262
  margin: 0;
263
  width: 97%;
264
  }
265
+ .index_page_bp-about .bp-features-section,
266
+ .dashboard_page_bp-about .bp-features-section {
267
  clear: both;
268
  margin-bottom: 0;
269
  margin-top: 2em;
 
 
 
 
 
 
 
 
 
270
  }
271
+ .index_page_bp-about .bp-features-section h3,
272
+ .dashboard_page_bp-about .bp-features-section h3,
273
+ .index_page_bp-about .bp-changelog-section .changelog-title,
274
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
275
+ font-size: 1.8em;
276
+ font-weight: 300;
277
  line-height: 1.5;
278
  margin-bottom: 0.5em;
279
  margin-top: 0.5em;
280
  }
281
+ .index_page_bp-about .bp-features-section h4,
282
+ .dashboard_page_bp-about .bp-features-section h4,
283
+ .index_page_bp-about .bp-changelog-section h4,
284
+ .dashboard_page_bp-about .bp-changelog-section h4 {
285
  font-size: 1.25em;
286
  line-height: 1.25;
287
  margin-top: 0.6em;
288
  text-align: left;
289
  }
290
+ .index_page_bp-about .bp-feature,
291
+ .dashboard_page_bp-about .bp-feature {
 
292
  clear: both;
293
  float: left;
294
  margin-bottom: 1em;
297
  padding-right: 1em;
298
  width: 100%;
299
  }
300
+ .index_page_bp-about .bp-feature span,
301
+ .dashboard_page_bp-about .bp-feature span {
 
 
 
 
302
  margin-top: 0.33em;
303
  }
304
+ .index_page_bp-about .bp-feature h4,
305
+ .dashboard_page_bp-about .bp-feature h4,
306
+ .index_page_bp-about .bp-feature p,
307
+ .dashboard_page_bp-about .bp-feature p {
308
+ width: 100%;
309
+ }
310
+ .index_page_bp-about .bp-feature.opposite h4,
311
+ .dashboard_page_bp-about .bp-feature.opposite h4,
312
+ .index_page_bp-about .bp-feature.opposite p,
313
+ .dashboard_page_bp-about .bp-feature.opposite p {
314
  float: none;
315
  }
316
+ .index_page_bp-about .bp-changelog-section,
317
+ .dashboard_page_bp-about .bp-changelog-section {
318
+ clear: both;
319
+ margin-bottom: 2em;
 
320
  }
321
+ .index_page_bp-about .bp-changelog-section .changelog-title,
322
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
323
+ margin-bottom: 1em;
324
  }
325
+ .index_page_bp-about .bp-changelog h4,
326
+ .dashboard_page_bp-about .bp-changelog h4 {
327
  font-size: 1em;
328
  }
329
+ .index_page_bp-about .bp-changelog p,
330
+ .dashboard_page_bp-about .bp-changelog p {
331
+ margin-bottom: 2em;
332
  }
333
+ .index_page_bp-about .bp-changelog-section .two-col > div,
334
+ .dashboard_page_bp-about .bp-changelog-section .two-col > div {
 
335
  margin-top: 0;
336
  padding-bottom: 0.5em;
337
  width: 100%;
338
  }
339
  }
 
340
  @media screen and ( max-width: 360px ) {
341
+ .index_page_bp-about .bp-headline,
342
+ .dashboard_page_bp-about .bp-headline {
343
  text-align: center;
344
  }
345
+ .index_page_bp-about .bp-headline span.dashicons,
346
+ .dashboard_page_bp-about .bp-headline span.dashicons {
347
  clear: none;
348
  font-size: 80px;
349
  float: none;
352
  margin: 0 auto;
353
  width: 80px;
354
  }
355
+ .index_page_bp-about .bp-headline-feature h3,
356
+ .index_page_bp-about .bp-headline-feature .headline-title,
357
+ .dashboard_page_bp-about .bp-headline-feature h3,
358
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
359
+ margin: 1em 0 0 0;
360
  text-align: left;
361
  }
362
+ .index_page_bp-about .bp-headline-feature p,
363
+ .dashboard_page_bp-about .bp-headline-feature p {
 
 
 
 
364
  margin: 1.15em auto 0.6em 0;
365
  text-align: left;
366
+ }
367
+ .index_page_bp-about .bp-headline-feature .headline-title,
368
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
369
+ font-size: 1.5em;
370
+ line-height: 1.5;
371
+ }
372
+ .index_page_bp-about .bp-headline-feature p,
373
+ .dashboard_page_bp-about .bp-headline-feature p {
374
  width: auto;
375
  }
376
+ .index_page_bp-about .bp-feature,
377
+ .dashboard_page_bp-about .bp-feature {
378
  text-align: center;
379
  }
380
+ .index_page_bp-about span.dashicons,
381
+ .dashboard_page_bp-about span.dashicons {
382
  float: none;
383
  }
384
+ .index_page_bp-about .bp-features-section h4,
385
+ .dashboard_page_bp-about .bp-features-section h4,
386
+ .index_page_bp-about .bp-features-section p,
387
+ .dashboard_page_bp-about .bp-features-section p {
388
  margin-left: 0;
389
  text-align: left;
390
  }
391
  }
 
392
  /*------------------------------------------------------------------------------
393
  * 2.0 Dashicons
394
  *----------------------------------------------------------------------------*/
422
 
423
  #adminmenu #toplevel_page_bp-friends .wp-menu-image:before,
424
  #adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before,
425
+ #adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before{
426
  content: "\f454";
427
  }
428
 
448
  }
449
 
450
  .settings_page_bp-components td.plugin-title span:before {
451
+ font-family: 'dashicons';
452
  font-size: 18px;
453
  }
454
 
501
  }
502
 
503
  @media screen and ( max-width: 782px ) {
 
504
  .settings_page_bp-components td.plugin-title span {
505
  margin-top: 5px;
506
  }
 
507
  #bp-admin-component-form .wp-list-table.plugins .plugin-title {
508
  display: block;
509
  width: auto;
510
  }
 
511
  #bp-admin-component-form .subsubsub {
512
  margin-bottom: 0;
513
  padding-bottom: 35px;
553
  text-align: center;
554
  }
555
 
 
 
 
 
 
 
 
556
 
557
  /*------------------------------------------------------------------------------
558
  * 4.0 Emails - Edit Page
594
  .tools_page_bp-tools legend {
595
  color: #23282d;
596
  font-size: 1.3em;
597
+ font-weight: 600px;
598
  margin: 1em 0;
599
  }
600
 
601
  .tools_page_bp-tools label {
602
  clear: left;
603
  display: block;
604
+ line-height: 1.5em;
605
  margin: 0 0 1em;
606
  vertical-align: middle;
607
  }
608
 
609
  @media screen and (max-width: 782px) {
 
610
  .tools_page_bp-tools p {
611
  line-height: 1.5;
612
  }
 
613
  .tools_page_bp-tools label {
614
  margin-bottom: 1em;
615
  padding-right: 25px;
616
  text-indent: -33px;
617
  }
 
618
  .tools_page_bp-tools .checkbox {
619
  padding: 0 0 0 30px;
620
  }
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"}.about-wrap .bp-badge{position:absolute;top:0;right:0}.buddypress code{background-color:#e0e0e0;color:#636363;font-size:1em}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.buddypress .bp-headline-feature{margin-bottom:2em;margin-top:3em;padding:2em 3em}.buddypress .bp-headline{margin:0 auto;width:45em}.buddypress .bp-headline span.dashicons{background-color:#f1f1f1;color:#d84800;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.buddypress .bp-headline-feature .headline-title{font-size:2.2em;font-weight:300;line-height:2;margin:0 0 1em;text-align:center}.buddypress .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 0}.buddypress .bp-features-section{border-bottom:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;overflow:hidden;padding-bottom:2em}.buddypress .bp-features-section p{font-size:14px;line-height:1.5}.buddypress .bp-features-section img{margin-bottom:20px}.buddypress .bp-features-section 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}.buddypress .bp-features-section .headline-title{font-size:2em;font-weight:300;line-height:1.5;margin:1em auto 2em;text-align:center}.buddypress .bp-features-section .bp-feature-with-images{border-bottom:1px solid #ccc;margin-bottom:5em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.buddypress .bp-features-section .bp-feature-imaged.anon,.buddypress .bp-features-section .bp-feature.opposite{margin-right:0}.buddypress .bp-features-section .bp-feature code{font-size:.95em;line-height:1.5}.buddypress .bp-feature:after{clear:both;content:"";margin-bottom:2em}.buddypress .bp-feature-imaged .feature-title{color:#23282d;font-size:1.25em;margin-bottom:.6em;margin-top:0}.buddypress .bp-feature-imaged p{clear:left;font-size:1.1em}.buddypress .bp-feature-imaged img{clear:left}.buddypress .bp-feature .feature-title{font-size:1em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.buddypress .bp-feature p{margin-left:110px}.buddypress .bp-changelog-section{clear:both;margin-bottom:3em;margin-top:4em;padding-bottom:0}.buddypress .bp-changelog-section:after{clear:both;content:"";display:table}.buddypress .bp-changelog-section .changelog-title{color:#23282d;font-size:1.25em;line-height:1.5;margin:0 auto 1.5em}.buddypress .bp-two-column div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.buddypress .bp-three-column .bp-column{float:left;margin-right:5%;position:relative;width:29.95%}.buddypress .bp-three-column .bp-column:nth-of-type(3n),.buddypress .bp-two-column .bp-column:nth-of-type(2n){margin-right:0}.buddypress .bp-changelog{margin-bottom:3em}.buddypress .bp-changelog:after{clear:both;content:"";display:table}.buddypress .bp-changelog .title{font-size:14px;margin-bottom:.75em;margin-top:0}.buddypress .bp-changelog p{margin-bottom:0}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:3em}@media screen and (max-width:782px){.bp-assets,.bp-changelog-section,.bp-features-section,.bp-headline-feature{margin-left:20px;margin-right:20px}.buddypress .bp-headline-feature{padding:0}.buddypress .bp-headline{margin:0;width:97%}.buddypress .bp-features-section{clear:both;margin-bottom:0;margin-top:2em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature-with-images{margin-bottom:2em}.buddypress .bp-features-section .headline-title{margin-bottom:1em}.buddypress .bp-changelog-section .changelog-title{font-size:1.25em;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.buddypress .bp-changelog-section .title,.buddypress .bp-features-section .feature-title{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.buddypress .bp-features-section .bp-feature-imaged p{font-size:1em}.buddypress .bp-features-section .bp-feature span{margin-top:.33em}.buddypress .bp-feature.opposite .feature-title,.buddypress .bp-feature.opposite p{float:none}.buddypress .bp-changelog-section{clear:both;margin-bottom:2em;margin-top:2em}.buddypress .bp-changelog-section .changelog-title{margin-bottom:1.5em}.buddypress .bp-changelog .title{font-size:1em}.buddypress .bp-changelog p{margin-bottom:1em}.buddypress .bp-changelog-section .three-col .col,.buddypress .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.buddypress .bp-headline{text-align:center}.buddypress .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.buddypress .bp-features-section .headline-title,.buddypress .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5;text-align:left}.buddypress .bp-headline-feature .headline-title{margin:1em 0 0}.buddypress .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.buddypress .bp-features-section .bp-feature{text-align:center}.buddypress .bp-features-section span.dashicons{float:none}.buddypress .bp-features-section .feature-title,.buddypress .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.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}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}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:600;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5;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/admin/css/customizer-controls-rtl.css CHANGED
@@ -1,7 +1,7 @@
1
  .customize-control-range output {
2
- background-color: #fff;
3
- border: 1px solid #ddd;
4
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
5
  float: right;
6
  margin-left: 10px;
7
  margin-top: -4px;
1
  .customize-control-range output {
2
+ background-color: #FFF;
3
+ border: 1px solid #DDD;
4
+ box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
5
  float: right;
6
  margin-left: 10px;
7
  margin-top: -4px;
bp-core/admin/css/customizer-controls-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .customize-control-range output{background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);float:right;margin-left:10px;margin-top:-4px;min-width:16px;padding:5px}
1
+ .customize-control-range output{background-color:#FFF;border:1px solid #DDD;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);float:right;margin-left:10px;margin-top:-4px;min-width:16px;padding:5px}
bp-core/admin/css/customizer-controls.css CHANGED
@@ -1,7 +1,7 @@
1
  .customize-control-range output {
2
- background-color: #fff;
3
- border: 1px solid #ddd;
4
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
5
  float: left;
6
  margin-right: 10px;
7
  margin-top: -4px;
1
  .customize-control-range output {
2
+ background-color: #FFF;
3
+ border: 1px solid #DDD;
4
+ box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
5
  float: left;
6
  margin-right: 10px;
7
  margin-top: -4px;
bp-core/admin/css/customizer-controls.min.css CHANGED
@@ -1 +1 @@
1
- .customize-control-range output{background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);float:left;margin-right:10px;margin-top:-4px;min-width:16px;padding:5px}
1
+ .customize-control-range output{background-color:#FFF;border:1px solid #DDD;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);float:left;margin-right:10px;margin-top:-4px;min-width:16px;padding:5px}
bp-core/admin/images/list-unsubscribe.png DELETED
Binary file
bp-core/admin/images/pending-accounts.png DELETED
Binary file
bp-core/admin/images/twenty-seventeen.png DELETED
Binary file
bp-core/admin/js/customizer-controls.min.js CHANGED
@@ -1 +1 @@
1
- !function(n){n(window).on("load",function(){n(".customize-control-range input").on("input",function(){var t=n(this);t.siblings("output").text(t.val())})})}(jQuery);
1
+ !function(a){a(window).on("load",function(){a(".customize-control-range input").on("input",function(){var b=a(this);b.siblings("output").text(b.val())})})}(jQuery);
bp-core/admin/js/customizer-receiver-emails.min.js CHANGED
@@ -1 +1 @@
1
- !function(o){wp.customize("bp_email_options[email_bg]",function(t){t.bind(function(t){t.length&&(o(".email_bg").attr("bgcolor",t),o("hr").attr("color",t))})}),wp.customize("bp_email_options[header_bg]",function(t){t.bind(function(t){t.length&&o(".header_bg").attr("bgcolor",t)})}),wp.customize("bp_email_options[header_text_size]",function(t){t.bind(function(t){t.length&&o(".header_text_size").css("font-size",t+"px")})}),wp.customize("bp_email_options[header_text_color]",function(t){t.bind(function(t){t.length&&o(".header_text_color").css("color",t)})}),wp.customize("bp_email_options[highlight_color]",function(t){t.bind(function(t){t.length&&(o(".header_bg").css("border-top-color",t),o("a").css("color",t),o("hr").attr("color",t))})}),wp.customize("bp_email_options[body_bg]",function(t){t.bind(function(t){t.length&&o(".body_bg").attr("bgcolor",t)})}),wp.customize("bp_email_options[body_text_size]",function(t){t.bind(function(t){t.length&&(o(".body_text_size").css("font-size",t+"px").css("line-height",Math.floor(1.618*t)+"px"),o(".welcome").css("font-size",Math.floor(1.35*t)+"px"))})}),wp.customize("bp_email_options[body_text_color]",function(t){t.bind(function(t){t.length&&o(".body_text_color").css("color",t)})}),wp.customize("bp_email_options[footer_bg]",function(t){t.bind(function(t){t.length&&o(".footer_bg").attr("bgcolor",t)})}),wp.customize("bp_email_options[footer_text_size]",function(t){t.bind(function(t){t.length&&o(".footer_text_size").css("font-size",t+"px").css("line-height",Math.floor(1.618*t)+"px")})}),wp.customize("bp_email_options[footer_text_color]",function(t){t.bind(function(t){t.length&&o(".footer_text_color").css("color",t)})}),wp.customize("bp_email_options[footer_text]",function(t){t.bind(function(t){o(".footer_text").text(t)})})}(jQuery);
1
+ !function(a){wp.customize("bp_email_options[email_bg]",function(b){b.bind(function(b){b.length&&(a(".email_bg").attr("bgcolor",b),a("hr").attr("color",b))})}),wp.customize("bp_email_options[header_bg]",function(b){b.bind(function(b){b.length&&a(".header_bg").attr("bgcolor",b)})}),wp.customize("bp_email_options[header_text_size]",function(b){b.bind(function(b){b.length&&a(".header_text_size").css("font-size",b+"px")})}),wp.customize("bp_email_options[header_text_color]",function(b){b.bind(function(b){b.length&&a(".header_text_color").css("color",b)})}),wp.customize("bp_email_options[highlight_color]",function(b){b.bind(function(b){b.length&&(a(".header_bg").css("border-top-color",b),a("a").css("color",b),a("hr").attr("color",b))})}),wp.customize("bp_email_options[body_bg]",function(b){b.bind(function(b){b.length&&a(".body_bg").attr("bgcolor",b)})}),wp.customize("bp_email_options[body_text_size]",function(b){b.bind(function(b){b.length&&(a(".body_text_size").css("font-size",b+"px").css("line-height",Math.floor(1.618*b)+"px"),a(".welcome").css("font-size",Math.floor(1.35*b)+"px"))})}),wp.customize("bp_email_options[body_text_color]",function(b){b.bind(function(b){b.length&&a(".body_text_color").css("color",b)})}),wp.customize("bp_email_options[footer_bg]",function(b){b.bind(function(b){b.length&&a(".footer_bg").attr("bgcolor",b)})}),wp.customize("bp_email_options[footer_text_size]",function(b){b.bind(function(b){b.length&&a(".footer_text_size").css("font-size",b+"px").css("line-height",Math.floor(1.618*b)+"px")})}),wp.customize("bp_email_options[footer_text_color]",function(b){b.bind(function(b){b.length&&a(".footer_text_color").css("color",b)})}),wp.customize("bp_email_options[footer_text]",function(b){b.bind(function(b){a(".footer_text").text(b)})})}(jQuery);
bp-core/admin/js/dismissible-admin-notices.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){i(document).ready(function(){i(".bp-is-dismissible .notice-dismiss").click(function(){var n=i(this).closest(".notice"),s=n.data("noticeid");i.post({url:ajaxurl,data:{action:"bp_dismiss_notice",nonce:i("#bp-dismissible-nonce-"+s).val(),notice_id:n.data("noticeid")}})})})}(jQuery);
1
+ !function(a){a(document).ready(function(){a(".bp-is-dismissible .notice-dismiss").click(function(){var b=a(this).closest(".notice"),c=b.data("noticeid");a.post({url:ajaxurl,data:{action:"bp_dismiss_notice",nonce:a("#bp-dismissible-nonce-"+c).val(),notice_id:b.data("noticeid")}})})})}(jQuery);
bp-core/bp-core-actions.php CHANGED
@@ -55,7 +55,6 @@ add_action( 'generate_rewrite_rules', 'bp_generate_rewrite_rules', 10 );
55
  */
56
  add_action( 'bp_loaded', 'bp_setup_components', 2 );
57
  add_action( 'bp_loaded', 'bp_include', 4 );
58
- add_action( 'bp_loaded', 'bp_setup_option_filters', 5 );
59
  add_action( 'bp_loaded', 'bp_setup_cache_groups', 5 );
60
  add_action( 'bp_loaded', 'bp_setup_widgets', 6 );
61
  add_action( 'bp_loaded', 'bp_register_theme_packages', 12 );
55
  */
56
  add_action( 'bp_loaded', 'bp_setup_components', 2 );
57
  add_action( 'bp_loaded', 'bp_include', 4 );
 
58
  add_action( 'bp_loaded', 'bp_setup_cache_groups', 5 );
59
  add_action( 'bp_loaded', 'bp_setup_widgets', 6 );
60
  add_action( 'bp_loaded', 'bp_register_theme_packages', 12 );
bp-core/bp-core-admin.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Setup BuddyPress Admin.
15
  *
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-admin.php';
15
+ }
16
+
17
  /**
18
  * Setup BuddyPress Admin.
19
  *
bp-core/bp-core-adminbar.php CHANGED
@@ -39,6 +39,12 @@ function bp_admin_bar_my_account_root() {
39
  'class' => 'ab-sub-secondary'
40
  )
41
  ) );
 
 
 
 
 
 
42
  }
43
  }
44
  add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 );
@@ -61,11 +67,6 @@ function bp_core_load_admin_bar() {
61
  if ( ! bp_use_wp_admin_bar() ) {
62
  _doing_it_wrong( __FUNCTION__, __( 'The BuddyBar is no longer supported. Please migrate to the WordPress toolbar as soon as possible.', 'buddypress' ), '2.1.0' );
63
 
64
- // Load deprecated code if not available.
65
- if ( ! function_exists( 'bp_core_admin_bar' ) ) {
66
- require buddypress()->plugin_dir . 'bp-core/deprecated/2.1.php';
67
- }
68
-
69
  // Keep the WP Toolbar from loading.
70
  show_admin_bar( false );
71
 
39
  'class' => 'ab-sub-secondary'
40
  )
41
  ) );
42
+
43
+ // Remove 'Edit' post link as it's not applicable to BP.
44
+ // Remove when https://core.trac.wordpress.org/ticket/29538 is addressed.
45
+ if ( is_buddypress() ) {
46
+ $wp_admin_bar->remove_node( 'edit' );
47
+ }
48
  }
49
  }
50
  add_action( 'admin_bar_menu', 'bp_admin_bar_my_account_root', 100 );
67
  if ( ! bp_use_wp_admin_bar() ) {
68
  _doing_it_wrong( __FUNCTION__, __( 'The BuddyBar is no longer supported. Please migrate to the WordPress toolbar as soon as possible.', 'buddypress' ), '2.1.0' );
69
 
 
 
 
 
 
70
  // Keep the WP Toolbar from loading.
71
  show_admin_bar( false );
72
 
bp-core/bp-core-attachments.php CHANGED
@@ -512,7 +512,7 @@ function bp_attachments_delete_file( $args = array() ) {
512
  * @since 2.5.1
513
  *
514
  * @param bool $value Whether or not to delete the BuddyPress attachment.
515
- ` * @param array $args Array of arguments for the attachment deletion.
516
  */
517
  if ( ! apply_filters( 'bp_attachments_pre_delete_file', true, $args ) ) {
518
  return true;
@@ -949,7 +949,7 @@ function bp_attachments_get_template_part( $slug ) {
949
  * @since 2.4.0
950
  *
951
  * @param string $component The component to get the settings for ("xprofile" for user or "groups").
952
- * @return false|array The cover image settings in array, false on failure.
953
  */
954
  function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) {
955
  // Default parameters.
@@ -1000,7 +1000,7 @@ function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) {
1000
  * @since 2.4.0
1001
  *
1002
  * @param string $component The BuddyPress component concerned ("xprofile" for user or "groups").
1003
- * @return array|bool An associative array containing the advised width and height for the cover image. False if settings are empty.
1004
  */
1005
  function bp_attachments_get_cover_image_dimensions( $component = 'xprofile' ) {
1006
  // Let's prevent notices when setting the warning strings.
@@ -1110,7 +1110,7 @@ function bp_attachments_get_group_has_cover_image( $group_id = 0 ) {
1110
  * @type string $cover_image_dir The Cover image dir to write the image into. Required.
1111
  * }
1112
  * @param BP_Attachment_Cover_Image|null $cover_image_class The class to use to fit the cover image.
1113
- * @return false|array An array containing cover image data on success, false otherwise.
1114
  */
1115
  function bp_attachments_cover_image_generate_file( $args = array(), $cover_image_class = null ) {
1116
  // Bail if an argument is missing.
@@ -1185,7 +1185,7 @@ function bp_attachments_cover_image_generate_file( $args = array(), $cover_image
1185
  *
1186
  * @since 2.4.0
1187
  *
1188
- * @return string|null A json object containing success data if the upload succeeded,
1189
  * error message otherwise.
1190
  */
1191
  function bp_attachments_cover_image_ajax_upload() {
@@ -1423,19 +1423,6 @@ function bp_attachments_cover_image_ajax_delete() {
1423
 
1424
  // Handle delete.
1425
  if ( bp_attachments_delete_file( array( 'item_id' => $cover_image_data['item_id'], 'object_dir' => $dir, 'type' => 'cover-image' ) ) ) {
1426
- /**
1427
- * Fires if the cover image was successfully deleted.
1428
- *
1429
- * The dynamic portion of the hook will be xprofile in case of a user's
1430
- * cover image, groups in case of a group's cover image. For instance:
1431
- * Use add_action( 'xprofile_cover_image_deleted' ) to run your specific
1432
- * code once the user has deleted his cover image.
1433
- *
1434
- * @since 2.8.0
1435
- *
1436
- * @param int $item_id Inform about the item id the cover image was deleted for.
1437
- */
1438
- do_action( "{$component}_cover_image_deleted", (int) $cover_image_data['item_id'] );
1439
 
1440
  // Defaults no cover image.
1441
  $response = array(
512
  * @since 2.5.1
513
  *
514
  * @param bool $value Whether or not to delete the BuddyPress attachment.
515
+ * @param array Array of arguments for the attachment deletion.
516
  */
517
  if ( ! apply_filters( 'bp_attachments_pre_delete_file', true, $args ) ) {
518
  return true;
949
  * @since 2.4.0
950
  *
951
  * @param string $component The component to get the settings for ("xprofile" for user or "groups").
952
+ * @return array The cover image settings.
953
  */
954
  function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) {
955
  // Default parameters.
1000
  * @since 2.4.0
1001
  *
1002
  * @param string $component The BuddyPress component concerned ("xprofile" for user or "groups").
1003
+ * @return array An associative array containing the advised width and height for the cover image.
1004
  */
1005
  function bp_attachments_get_cover_image_dimensions( $component = 'xprofile' ) {
1006
  // Let's prevent notices when setting the warning strings.
1110
  * @type string $cover_image_dir The Cover image dir to write the image into. Required.
1111
  * }
1112
  * @param BP_Attachment_Cover_Image|null $cover_image_class The class to use to fit the cover image.
1113
+ * @return bool|array An array containing cover image data on success, false otherwise.
1114
  */
1115
  function bp_attachments_cover_image_generate_file( $args = array(), $cover_image_class = null ) {
1116
  // Bail if an argument is missing.
1185
  *
1186
  * @since 2.4.0
1187
  *
1188
+ * @return string|null A json object containing success data if the upload succeeded
1189
  * error message otherwise.
1190
  */
1191
  function bp_attachments_cover_image_ajax_upload() {
1423
 
1424
  // Handle delete.
1425
  if ( bp_attachments_delete_file( array( 'item_id' => $cover_image_data['item_id'], 'object_dir' => $dir, 'type' => 'cover-image' ) ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
1426
 
1427
  // Defaults no cover image.
1428
  $response = array(
bp-core/bp-core-avatars.php CHANGED
@@ -542,9 +542,9 @@ function bp_core_fetch_avatar( $args = '' ) {
542
  * @param string $value Subdirectory where the requested avatar should be found.
543
  * @param string $html_css_id ID attribute for avatar.
544
  * @param string $html_width Width attribute for avatar.
545
- * @param string $html_height Height attribute for avatar.
546
  * @param string $avatar_folder_url Avatar URL path.
547
- * @param string $avatar_folder_dir Avatar DIR path.
548
  */
549
  return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '"' . $html_class . $html_css_id . $html_width . $html_height . $html_alt . $html_title . $extra_attr . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
550
 
@@ -1094,15 +1094,15 @@ function bp_avatar_ajax_upload() {
1094
  }
1095
  add_action( 'wp_ajax_bp_avatar_upload', 'bp_avatar_ajax_upload' );
1096
 
1097
- /**
1098
- * Handle avatar webcam capture.
1099
- *
1100
- * @since 2.3.0
1101
- *
1102
- * @param string $data Base64 encoded image.
1103
- * @param int $item_id Item to associate.
1104
- * @return bool True on success, false on failure.
1105
- */
1106
  function bp_avatar_handle_capture( $data = '', $item_id = 0 ) {
1107
  if ( empty( $data ) || empty( $item_id ) ) {
1108
  return false;
@@ -1293,13 +1293,11 @@ function bp_avatar_ajax_set() {
1293
  * @since 2.3.4 Add two new parameters to inform about the user id and
1294
  * about the way the avatar was set (eg: 'crop' or 'camera')
1295
  * Move the action at the right place, once the avatar is set
1296
- * @since 2.8.0 Added the `$avatar_data` parameter.
1297
  *
1298
- * @param string $item_id Inform about the user id the avatar was set for.
1299
- * @param string $type Inform about the way the avatar was set ('camera').
1300
- * @param array $avatar_data Array of parameters passed to the avatar handler.
1301
  */
1302
- do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $avatar_data );
1303
 
1304
  wp_send_json_success( $return );
1305
  }
@@ -1344,11 +1342,18 @@ function bp_avatar_ajax_set() {
1344
  );
1345
 
1346
  if ( 'user' === $avatar_data['object'] ) {
1347
- /** This action is documented in bp-core/bp-core-avatars.php */
1348
- do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $r );
1349
- } elseif ( 'group' === $avatar_data['object'] ) {
1350
- /** This action is documented in bp-groups/bp-groups-screens.php */
1351
- do_action( 'groups_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'], $r );
 
 
 
 
 
 
 
1352
  }
1353
 
1354
  wp_send_json_success( $return );
@@ -1361,53 +1366,104 @@ function bp_avatar_ajax_set() {
1361
  add_action( 'wp_ajax_bp_avatar_set', 'bp_avatar_ajax_set' );
1362
 
1363
  /**
1364
- * Filter {@link get_avatar_url()} to use the BuddyPress user avatar URL.
1365
  *
1366
- * @since 2.9.0
1367
  *
1368
- * @param string $retval The URL of the avatar.
1369
- * @param mixed $id_or_email The Gravatar to retrieve. Accepts a user_id, gravatar md5 hash,
1370
- * user email, WP_User object, WP_Post object, or WP_Comment object.
1371
- * @param array $args Arguments passed to get_avatar_data(), after processing.
1372
- * @return string
 
 
 
 
 
1373
  */
1374
- function bp_core_get_avatar_data_url_filter( $retval, $id_or_email, $args ) {
1375
- $user = null;
1376
-
1377
- // Ugh, hate duplicating code; process the user identifier.
1378
- if ( is_numeric( $id_or_email ) ) {
1379
- $user = get_user_by( 'id', absint( $id_or_email ) );
1380
- } elseif ( $id_or_email instanceof WP_User ) {
1381
- // User Object
1382
- $user = $id_or_email;
1383
- } elseif ( $id_or_email instanceof WP_Post ) {
1384
- // Post Object
1385
- $user = get_user_by( 'id', (int) $id_or_email->post_author );
1386
- } elseif ( $id_or_email instanceof WP_Comment ) {
1387
- if ( ! empty( $id_or_email->user_id ) ) {
1388
- $user = get_user_by( 'id', (int) $id_or_email->user_id );
1389
  }
1390
- } elseif ( is_email( $id_or_email ) ) {
1391
- $user = get_user_by( 'email', $id_or_email );
 
 
 
 
 
 
1392
  }
1393
 
1394
- // No user, so bail.
1395
- if ( false === $user instanceof WP_User ) {
1396
- return $retval;
1397
  }
1398
 
1399
- // Set BuddyPress-specific avatar args.
1400
- $args['item_id'] = $user->ID;
1401
- $args['html'] = false;
 
1402
 
1403
- // Get the BuddyPress avatar URL.
1404
- if ( $bp_avatar = bp_core_fetch_avatar( $args ) ) {
1405
- return $bp_avatar;
 
 
1406
  }
1407
 
1408
- return $retval;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1409
  }
1410
- add_filter( 'get_avatar_url', 'bp_core_get_avatar_data_url_filter', 10, 3 );
1411
 
1412
  /**
1413
  * Is the current avatar upload error-free?
542
  * @param string $value Subdirectory where the requested avatar should be found.
543
  * @param string $html_css_id ID attribute for avatar.
544
  * @param string $html_width Width attribute for avatar.
545
+ * @param string $html_height Height attribtue for avatar.
546
  * @param string $avatar_folder_url Avatar URL path.
547
+ * @param string $avatar_folder_dir Avatar dir path.
548
  */
549
  return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '"' . $html_class . $html_css_id . $html_width . $html_height . $html_alt . $html_title . $extra_attr . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
550
 
1094
  }
1095
  add_action( 'wp_ajax_bp_avatar_upload', 'bp_avatar_ajax_upload' );
1096
 
1097
+ /**
1098
+ * Handle avatar webcam capture.
1099
+ *
1100
+ * @since 2.3.0
1101
+ *
1102
+ * @param string $data Base64 encoded image.
1103
+ * @param int $item_id Item to associate.
1104
+ * @return bool True on success, false on failure.
1105
+ */
1106
  function bp_avatar_handle_capture( $data = '', $item_id = 0 ) {
1107
  if ( empty( $data ) || empty( $item_id ) ) {
1108
  return false;
1293
  * @since 2.3.4 Add two new parameters to inform about the user id and
1294
  * about the way the avatar was set (eg: 'crop' or 'camera')
1295
  * Move the action at the right place, once the avatar is set
 
1296
  *
1297
+ * @param string $item_id Inform about the user id the avatar was set for
1298
+ * @param string $type Inform about the way the avatar was set ('camera')
 
1299
  */
1300
+ do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'] );
1301
 
1302
  wp_send_json_success( $return );
1303
  }
1342
  );
1343
 
1344
  if ( 'user' === $avatar_data['object'] ) {
1345
+ /**
1346
+ * Fires if the new avatar was successfully cropped.
1347
+ *
1348
+ * @since 1.1.0 Used to inform the avatar was successfully cropped
1349
+ * @since 2.3.4 Add two new parameters to inform about the user id and
1350
+ * about the way the avatar was set (eg: 'crop' or 'camera')
1351
+ * Move the action at the right place, once the avatar is set
1352
+ *
1353
+ * @param string $item_id Inform about the user id the avatar was set for
1354
+ * @param string $type Inform about the way the avatar was set ('crop')
1355
+ */
1356
+ do_action( 'xprofile_avatar_uploaded', (int) $avatar_data['item_id'], $avatar_data['type'] );
1357
  }
1358
 
1359
  wp_send_json_success( $return );
1366
  add_action( 'wp_ajax_bp_avatar_set', 'bp_avatar_ajax_set' );
1367
 
1368
  /**
1369
+ * Replace default WordPress avatars with BP avatars, if available.
1370
  *
1371
+ * See 'get_avatar' filter description in wp-includes/pluggable.php.
1372
  *
1373
+ * @since 1.1.0
1374
+ * @since 2.4.0 Added $args parameter to coincide with WordPress 4.2.0.
1375
+ *
1376
+ * @param string $avatar The avatar path passed to 'get_avatar'.
1377
+ * @param int|string|object $user A user ID, email address, or comment object.
1378
+ * @param int $size Size of the avatar image ('thumb' or 'full').
1379
+ * @param string $default URL to a default image to use if no avatar is available.
1380
+ * @param string $alt Alternate text to use in image tag. Default: ''.
1381
+ * @param array $args Arguments passed to get_avatar_data(), after processing.
1382
+ * @return string BP avatar path, if found; else the original avatar path.
1383
  */
1384
+ function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '', $args = array() ) {
1385
+ global $pagenow;
1386
+
1387
+ // Don't filter if inside WordPress options page and force_default is true.
1388
+ if ( 'options-discussion.php' === $pagenow && true === $args['force_default'] ) {
1389
+ return $avatar;
1390
+ }
1391
+
1392
+ // If passed an object, assume $user->user_id.
1393
+ if ( is_object( $user ) ) {
1394
+ if ( isset( $user->user_id ) ) {
1395
+ $id = $user->user_id;
1396
+ } else {
1397
+ $id = $user->ID;
 
1398
  }
1399
+
1400
+ // If passed a number, assume it was a $user_id.
1401
+ } elseif ( is_numeric( $user ) ) {
1402
+ $id = $user;
1403
+
1404
+ // If passed a string and that string returns a user, get the $id.
1405
+ } elseif ( is_string( $user ) && ( $user_by_email = get_user_by( 'email', $user ) ) ) {
1406
+ $id = $user_by_email->ID;
1407
  }
1408
 
1409
+ // If somehow $id hasn't been assigned, return the result of get_avatar.
1410
+ if ( empty( $id ) ) {
1411
+ return !empty( $avatar ) ? $avatar : $default;
1412
  }
1413
 
1414
+ // Image alt tag.
1415
+ if ( empty( $alt ) ) {
1416
+ $alt = sprintf( __( 'Profile photo of %s', 'buddypress' ), bp_core_get_user_displayname( $id ) );
1417
+ }
1418
 
1419
+ // Use the 'thumb' type, unless the requested width is bigger than
1420
+ // BP's thumb width.
1421
+ $type = 'thumb';
1422
+ if ( (int) $size > bp_core_avatar_thumb_width() ) {
1423
+ $type = 'full';
1424
  }
1425
 
1426
+ $avatar_args = array(
1427
+ 'item_id' => $id,
1428
+ 'type' => $type,
1429
+ 'width' => $size,
1430
+ 'height' => $size,
1431
+ 'alt' => $alt,
1432
+ );
1433
+
1434
+ // Support new arguments as of WordPress 4.2.0.
1435
+ if ( ! empty( $args['width'] ) ) {
1436
+ $avatar_args['width'] = $args['width'];
1437
+ }
1438
+ if ( ! empty( $args['height'] ) ) {
1439
+ $avatar_args['height'] = $args['height'];
1440
+ }
1441
+ if ( ! empty( $args['class'] ) ) {
1442
+ $avatar_args['class'] = $args['class'];
1443
+ }
1444
+ if ( ! empty( $args['class'] ) ) {
1445
+ $avatar_args['class'] = $args['class'];
1446
+ }
1447
+ if ( ! empty( $args['extra_attr'] ) ) {
1448
+ $avatar_args['extra_attr'] = $args['extra_attr'];
1449
+ }
1450
+ if ( ! empty( $args['scheme'] ) ) {
1451
+ $avatar_args['scheme'] = $args['scheme'];
1452
+ }
1453
+ if ( ! empty( $args['force_default'] ) ) {
1454
+ $avatar_args['force_default'] = $args['force_default'];
1455
+ }
1456
+ if ( ! empty( $args['rating'] ) ) {
1457
+ $avatar_args['rating'] = $args['rating'];
1458
+ }
1459
+
1460
+ // Let BuddyPress handle the fetching of the avatar.
1461
+ $bp_avatar = bp_core_fetch_avatar( $avatar_args );
1462
+
1463
+ // If BuddyPress found an avatar, use it. If not, use the result of get_avatar.
1464
+ return ( !$bp_avatar ) ? $avatar : $bp_avatar;
1465
  }
1466
+ add_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 6 );
1467
 
1468
  /**
1469
  * Is the current avatar upload error-free?
bp-core/bp-core-buddybar.php CHANGED
@@ -34,7 +34,7 @@ defined( 'ABSPATH' ) || exit;
34
  * item is clicked.
35
  * }
36
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
37
- * @return null|false Returns false on failure.
38
  */
39
  function bp_core_new_nav_item( $args, $component = 'members' ) {
40
  if ( ! bp_is_active( $component ) ) {
@@ -90,7 +90,7 @@ function bp_core_new_nav_item( $args, $component = 'members' ) {
90
  * Add a link to the main BuddyPress navigation.
91
  *
92
  * @since 2.4.0
93
- * @since 2.6.0 Introduced the `$component` parameter. Began returning a BP_Core_Nav_Item object on success.
94
  *
95
  * @param array|string $args {
96
  * Array describing the new nav item.
@@ -108,7 +108,7 @@ function bp_core_new_nav_item( $args, $component = 'members' ) {
108
  * item is clicked.
109
  * }
110
  * @param string $component Optional. Component that the nav belongs to.
111
- * @return false|array Returns false on failure, new nav item on success.
112
  */
113
  function bp_core_create_nav_link( $args = '', $component = 'members' ) {
114
  $bp = buddypress();
@@ -190,7 +190,7 @@ function bp_core_create_nav_link( $args = '', $component = 'members' ) {
190
  * @type bool|string $default_subnav_slug Optional. The slug of the default subnav item to select when the nav
191
  * item is clicked.
192
  * }
193
- * @return false|null Returns false on failure.
194
  */
195
  function bp_core_register_nav_screen_function( $args = '' ) {
196
  $bp = buddypress();
@@ -394,8 +394,8 @@ function bp_core_new_nav_default( $args = '' ) {
394
  * @type bool $show_in_admin_bar Optional. Whether the nav item should be added into the group's "Edit"
395
  * Admin Bar menu for group admins. Default: false.
396
  * }
397
- * @param string|null $component The component the navigation is attached to. Defaults to 'members'.
398
- * @return null|false Returns false on failure.
399
  */
400
  function bp_core_new_subnav_item( $args, $component = null ) {
401
  // Backward compatibility for plugins using `bp_core_new_subnav_item()` without `$component`
@@ -446,7 +446,7 @@ function bp_core_new_subnav_item( $args, $component = null ) {
446
  * Add a subnav link to the BuddyPress navigation.
447
  *
448
  * @since 2.4.0
449
- * @since 2.6.0 Introduced the `$component` parameter. Began returning a BP_Core_Nav_Item object on success.
450
  *
451
  * @param array|string $args {
452
  * Array describing the new subnav item.
@@ -475,7 +475,7 @@ function bp_core_new_subnav_item( $args, $component = null ) {
475
  * Default: false.
476
  * }
477
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
478
- * @return false|array Returns false on failure, new BP_Core_Nav_Item instance on success.
479
  */
480
  function bp_core_create_subnav_link( $args = '', $component = 'members' ) {
481
  $bp = buddypress();
@@ -571,7 +571,7 @@ function bp_core_create_subnav_link( $args = '', $component = 'members' ) {
571
  * Default: false.
572
  * }
573
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
574
- * @return null|false Returns false on failure.
575
  */
576
  function bp_core_register_subnav_screen_function( $args = '', $component = 'members' ) {
577
  $bp = buddypress();
@@ -775,8 +775,8 @@ function bp_nav_item_has_subnav( $nav_item = '', $component = 'members' ) {
775
  * @since 1.0.0
776
  * @since 2.6.0 Introduced the `$component` parameter.
777
  *
778
- * @param string $slug The slug of the primary navigation item.
779
- * @param string|null $component The component the navigation is attached to. Defaults to 'members'.
780
  * @return bool Returns false on failure, True on success.
781
  */
782
  function bp_core_remove_nav_item( $slug, $component = null ) {
@@ -800,8 +800,10 @@ function bp_core_remove_nav_item( $slug, $component = null ) {
800
  $screen_functions = $bp->{$component}->nav->delete_nav( $slug );
801
 
802
  // Reset backcompat nav items so that subsequent references will be correct.
803
- $bp->bp_nav->reset();
804
- $bp->bp_options_nav->reset();
 
 
805
 
806
  if ( ! is_array( $screen_functions ) ) {
807
  return false;
@@ -823,9 +825,9 @@ function bp_core_remove_nav_item( $slug, $component = null ) {
823
  * @since 1.0.0
824
  * @since 2.6.0 Introduced the `$component` parameter.
825
  *
826
- * @param string $parent_slug The slug of the primary navigation item.
827
- * @param string $slug The slug of the secondary item to be removed.
828
- * @param string|null $component The component the navigation is attached to. Defaults to 'members'.
829
  * @return bool Returns false on failure, True on success.
830
  */
831
  function bp_core_remove_subnav_item( $parent_slug, $slug, $component = null ) {
@@ -849,8 +851,10 @@ function bp_core_remove_subnav_item( $parent_slug, $slug, $component = null ) {
849
  $screen_functions = $bp->{$component}->nav->delete_nav( $slug, $parent_slug );
850
 
851
  // Reset backcompat nav items so that subsequent references will be correct.
852
- $bp->bp_nav->reset();
853
- $bp->bp_options_nav->reset();
 
 
854
 
855
  if ( ! is_array( $screen_functions ) ) {
856
  return false;
34
  * item is clicked.
35
  * }
36
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
37
+ * @return bool|null Returns false on failure.
38
  */
39
  function bp_core_new_nav_item( $args, $component = 'members' ) {
40
  if ( ! bp_is_active( $component ) ) {
90
  * Add a link to the main BuddyPress navigation.
91
  *
92
  * @since 2.4.0
93
+ * @since 2.6.0 Introduced the `$component` parameter. Began returning a BP_Nav_Item object on success.
94
  *
95
  * @param array|string $args {
96
  * Array describing the new nav item.
108
  * item is clicked.
109
  * }
110
  * @param string $component Optional. Component that the nav belongs to.
111
+ * @return bool|BP_Nav_Item Returns false on failure, new nav item on success.
112
  */
113
  function bp_core_create_nav_link( $args = '', $component = 'members' ) {
114
  $bp = buddypress();
190
  * @type bool|string $default_subnav_slug Optional. The slug of the default subnav item to select when the nav
191
  * item is clicked.
192
  * }
193
+ * @return bool|null Returns false on failure.
194
  */
195
  function bp_core_register_nav_screen_function( $args = '' ) {
196
  $bp = buddypress();
394
  * @type bool $show_in_admin_bar Optional. Whether the nav item should be added into the group's "Edit"
395
  * Admin Bar menu for group admins. Default: false.
396
  * }
397
+ * @param string $component The component the navigation is attached to. Defaults to 'members'.
398
+ * @return bool|null Returns false on failure.
399
  */
400
  function bp_core_new_subnav_item( $args, $component = null ) {
401
  // Backward compatibility for plugins using `bp_core_new_subnav_item()` without `$component`
446
  * Add a subnav link to the BuddyPress navigation.
447
  *
448
  * @since 2.4.0
449
+ * @since 2.6.0 Introduced the `$component` parameter. Began returning a BP_Nav_Item object on success.
450
  *
451
  * @param array|string $args {
452
  * Array describing the new subnav item.
475
  * Default: false.
476
  * }
477
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
478
+ * @return bool|object Returns false on failure, new BP_Nav_Item instance on success.
479
  */
480
  function bp_core_create_subnav_link( $args = '', $component = 'members' ) {
481
  $bp = buddypress();
571
  * Default: false.
572
  * }
573
  * @param string $component The component the navigation is attached to. Defaults to 'members'.
574
+ * @return bool|null Returns false on failure.
575
  */
576
  function bp_core_register_subnav_screen_function( $args = '', $component = 'members' ) {
577
  $bp = buddypress();
775
  * @since 1.0.0
776
  * @since 2.6.0 Introduced the `$component` parameter.
777
  *
778
+ * @param string $slug The slug of the primary navigation item.
779
+ * @param string $component The component the navigation is attached to. Defaults to 'members'.
780
  * @return bool Returns false on failure, True on success.
781
  */
782
  function bp_core_remove_nav_item( $slug, $component = null ) {
800
  $screen_functions = $bp->{$component}->nav->delete_nav( $slug );
801
 
802
  // Reset backcompat nav items so that subsequent references will be correct.
803
+ if ( buddypress()->do_nav_backcompat ) {
804
+ $bp->bp_nav->reset();
805
+ $bp->bp_options_nav->reset();
806
+ }
807
 
808
  if ( ! is_array( $screen_functions ) ) {
809
  return false;
825
  * @since 1.0.0
826
  * @since 2.6.0 Introduced the `$component` parameter.
827
  *
828
+ * @param string $parent_slug The slug of the primary navigation item.
829
+ * @param string $slug The slug of the secondary item to be removed.
830
+ * @param string $component The component the navigation is attached to. Defaults to 'members'.
831
  * @return bool Returns false on failure, True on success.
832
  */
833
  function bp_core_remove_subnav_item( $parent_slug, $slug, $component = null ) {
851
  $screen_functions = $bp->{$component}->nav->delete_nav( $slug, $parent_slug );
852
 
853
  // Reset backcompat nav items so that subsequent references will be correct.
854
+ if ( buddypress()->do_nav_backcompat ) {
855
+ $bp->bp_nav->reset();
856
+ $bp->bp_options_nav->reset();
857
+ }
858
 
859
  if ( ! is_array( $screen_functions ) ) {
860
  return false;
bp-core/bp-core-cache.php CHANGED
@@ -73,22 +73,19 @@ add_action( 'deleted_user', 'bp_core_clear_member_count_caches
73
  *
74
  * @param int $post_id ID of the page that was saved.
75
  */
76
- function bp_core_clear_directory_pages_cache_page_edit( $post_id = 0 ) {
77
-
78
- // Bail if BP is not defined here.
79
- if ( ! buddypress() ) {
80
  return;
81
  }
82
 
83
- // Bail if not on the root blog
84
- if ( ! bp_is_root_blog() ) {
85
  return;
86
  }
87
 
88
  $page_ids = bp_core_get_directory_page_ids( 'all' );
89
 
90
- // Bail if post ID is not a directory page
91
- if ( ! in_array( $post_id, $page_ids ) ) {
92
  return;
93
  }
94
 
@@ -194,7 +191,7 @@ function bp_get_non_cached_ids( $item_ids, $cache_group ) {
194
  * @type string $cache_key_prefix Optional. The prefix to use when creating
195
  * cache key names. Default: the value of $meta_table.
196
  * }
197
- * @return false|array Metadata cache for the specified objects, or false on failure.
198
  */
199
  function bp_update_meta_cache( $args = array() ) {
200
  global $wpdb;
73
  *
74
  * @param int $post_id ID of the page that was saved.
75
  */
76
+ function bp_core_clear_directory_pages_cache_page_edit( $post_id ) {
77
+ if ( ! bp_is_root_blog() ) {
 
 
78
  return;
79
  }
80
 
81
+ // Bail if BP is not defined here.
82
+ if ( ! buddypress() ) {
83
  return;
84
  }
85
 
86
  $page_ids = bp_core_get_directory_page_ids( 'all' );
87
 
88
+ if ( ! in_array( $post_id, (array) $page_ids ) ) {
 
89
  return;
90
  }
91
 
191
  * @type string $cache_key_prefix Optional. The prefix to use when creating
192
  * cache key names. Default: the value of $meta_table.
193
  * }
194
+ * @return array|bool Metadata cache for the specified objects, or false on failure.
195
  */
196
  function bp_update_meta_cache( $args = array() ) {
197
  global $wpdb;
bp-core/bp-core-catchuri.php CHANGED
@@ -670,10 +670,7 @@ function bp_core_no_access( $args = '' ) {
670
  // Error message is displayed with bp_core_no_access_wp_login_error().
671
  case 2 :
672
  if ( !empty( $redirect ) ) {
673
- bp_core_redirect( add_query_arg( array(
674
- 'bp-auth' => 1,
675
- 'action' => 'bpnoaccess'
676
- ), wp_login_url( $redirect ) ) );
677
  } else {
678
  bp_core_redirect( $root );
679
  }
@@ -700,35 +697,6 @@ function bp_core_no_access( $args = '' ) {
700
  }
701
  }
702
 
703
- /**
704
- * Login redirector.
705
- *
706
- * If a link is not publicly available, we can send members from external
707
- * locations, like following links in an email, through the login screen.
708
- *
709
- * If a user clicks on this link and is already logged in, we should attempt
710
- * to redirect the user to the authorized content instead of forcing the user
711
- * to re-authenticate.
712
- *
713
- * @since 2.9.0
714
- */
715
- function bp_login_redirector() {
716
- // Redirect links must include the `redirect_to` and `bp-auth` parameters.
717
- if ( empty( $_GET['redirect_to'] ) || empty( $_GET['bp-auth'] ) ) {
718
- return;
719
- }
720
-
721
- /*
722
- * If the user is already logged in,
723
- * skip the login form and redirect them to the content.
724
- */
725
- if ( bp_loggedin_user_id() ) {
726
- wp_safe_redirect( esc_url_raw( $_GET['redirect_to'] ) );
727
- exit;
728
- }
729
- }
730
- add_action( 'login_init', 'bp_login_redirector', 1 );
731
-
732
  /**
733
  * Add a custom BuddyPress no access error message to wp-login.php.
734
  *
@@ -884,14 +852,11 @@ function bp_get_canonical_url( $args = array() ) {
884
  if ( 'page' == get_option( 'show_on_front' ) && $page_on_front = (int) get_option( 'page_on_front' ) ) {
885
  $front_page_component = array_search( $page_on_front, bp_core_get_directory_page_ids() );
886
 
887
- /*
888
- * If requesting the front page component directory, canonical
889
- * URL is the front page. We detect whether we're detecting a
890
- * component *directory* by checking that bp_current_action()
891
- * is empty - ie, this not a single item, a feed, or an item
892
- * type directory.
893
- */
894
- if ( false !== $front_page_component && bp_is_current_component( $front_page_component ) && ! bp_current_action() && ! bp_get_current_member_type() ) {
895
  $bp->canonical_stack['canonical_url'] = trailingslashit( bp_get_root_domain() );
896
 
897
  // Except when the front page is set to the registration page
@@ -1028,7 +993,7 @@ add_action( 'bp_init', '_bp_maybe_remove_redirect_canonical' );
1028
  * @link https://buddypress.trac.wordpress.org/ticket/4415
1029
  */
1030
  function _bp_rehook_maybe_redirect_404() {
1031
- if ( defined( 'NOBLOGREDIRECT' ) && is_multisite() ) {
1032
  remove_action( 'template_redirect', 'maybe_redirect_404' );
1033
  add_action( 'template_redirect', 'maybe_redirect_404', 100 );
1034
  }
670
  // Error message is displayed with bp_core_no_access_wp_login_error().
671
  case 2 :
672
  if ( !empty( $redirect ) ) {
673
+ bp_core_redirect( add_query_arg( array( 'action' => 'bpnoaccess' ), wp_login_url( $redirect ) ) );
 
 
 
674
  } else {
675
  bp_core_redirect( $root );
676
  }
697
  }
698
  }
699
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
700
  /**
701
  * Add a custom BuddyPress no access error message to wp-login.php.
702
  *
852
  if ( 'page' == get_option( 'show_on_front' ) && $page_on_front = (int) get_option( 'page_on_front' ) ) {
853
  $front_page_component = array_search( $page_on_front, bp_core_get_directory_page_ids() );
854
 
855
+ // If requesting the front page component directory, canonical
856
+ // URL is the front page. We detect whether we're detecting a
857
+ // component *directory* by checking that bp_current_action()
858
+ // is empty - ie, this not a single item or a feed.
859
+ if ( false !== $front_page_component && bp_is_current_component( $front_page_component ) && ! bp_current_action() ) {
 
 
 
860
  $bp->canonical_stack['canonical_url'] = trailingslashit( bp_get_root_domain() );
861
 
862
  // Except when the front page is set to the registration page
993
  * @link https://buddypress.trac.wordpress.org/ticket/4415
994
  */
995
  function _bp_rehook_maybe_redirect_404() {
996
+ if ( defined( 'NOBLOGREDIRECT' ) ) {
997
  remove_action( 'template_redirect', 'maybe_redirect_404' );
998
  add_action( 'template_redirect', 'maybe_redirect_404', 100 );
999
  }
bp-core/bp-core-classes.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Core component classes.
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage Core
7
+ * @since 1.0.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( __FILE__ ) . '/classes/class-bp-user-query.php';
14
+ require dirname( __FILE__ ) . '/classes/class-bp-core-user.php';
15
+ require dirname( __FILE__ ) . '/classes/class-bp-date-query.php';
16
+ require dirname( __FILE__ ) . '/classes/class-bp-core-notification.php';
17
+ require dirname( __FILE__ ) . '/classes/class-bp-button.php';
18
+ require dirname( __FILE__ ) . '/classes/class-bp-embed.php';
19
+ require dirname( __FILE__ ) . '/classes/class-bp-walker-nav-menu.php';
20
+ require dirname( __FILE__ ) . '/classes/class-bp-walker-nav-menu-checklist.php';
21
+ require dirname( __FILE__ ) . '/classes/class-bp-suggestions.php';
22
+ require dirname( __FILE__ ) . '/classes/class-bp-members-suggestions.php';
23
+ require dirname( __FILE__ ) . '/classes/class-bp-recursive-query.php';
24
+ require dirname( __FILE__ ) . '/classes/class-bp-core-sort-by-key-callback.php';
25
+ require dirname( __FILE__ ) . '/classes/class-bp-media-extractor.php';
26
+ require dirname( __FILE__ ) . '/classes/class-bp-attachment.php';
27
+ require dirname( __FILE__ ) . '/classes/class-bp-attachment-avatar.php';
28
+ require dirname( __FILE__ ) . '/classes/class-bp-attachment-cover-image.php';
29
+ require dirname( __FILE__ ) . '/classes/class-bp-email-recipient.php';
30
+ require dirname( __FILE__ ) . '/classes/class-bp-email.php';
31
+ require dirname( __FILE__ ) . '/classes/class-bp-email-delivery.php';
32
+ require dirname( __FILE__ ) . '/classes/class-bp-phpmailer.php';
33
+ require dirname( __FILE__ ) . '/classes/class-bp-core-nav.php';
34
+ require dirname( __FILE__ ) . '/classes/class-bp-core-nav-item.php';
35
+ require dirname( __FILE__ ) . '/classes/class-bp-core-oembed-extension.php';
36
+ require dirname( __FILE__ ) . '/classes/class-bp-core-html-element.php';
37
+
38
+ if ( buddypress()->do_nav_backcompat ) {
39
+ require dirname( __FILE__ ) . '/classes/class-bp-core-bp-nav-backcompat.php';
40
+ require dirname( __FILE__ ) . '/classes/class-bp-core-bp-options-nav-backcompat.php';
41
+ }
bp-core/bp-core-cssjs.php CHANGED
@@ -410,8 +410,8 @@ function bp_core_get_js_dependencies() {
410
  * @since 2.4.0
411
  *
412
  * @param bool $return True to get the inline css.
413
- * @return null|array|false The inline css or an associative array containing
414
- * the css rules and the style handle.
415
  */
416
  function bp_add_cover_image_inline_css( $return = false ) {
417
  $bp = buddypress();
410
  * @since 2.4.0
411
  *
412
  * @param bool $return True to get the inline css.
413
+ * @return string|array the inline css or an associative array containing
414
+ * the css rules and the style handle
415
  */
416
  function bp_add_cover_image_inline_css( $return = false ) {
417
  $bp = buddypress();
bp-core/bp-core-customizer-email.php CHANGED
@@ -43,6 +43,13 @@ function bp_email_init_customizer( WP_Customize_Manager $wp_customize ) {
43
  $wp_customize->add_setting( $setting_id, $args );
44
  }
45
 
 
 
 
 
 
 
 
46
  /**
47
  * Fires to let plugins register extra Customizer controls for emails.
48
  *
43
  $wp_customize->add_setting( $setting_id, $args );
44
  }
45
 
46
+ /**
47
+ * BP_Customizer_Control_Range class.
48
+ */
49
+ if ( ! buddypress()->do_autoload ) {
50
+ require_once dirname( __FILE__ ) . '/classes/class-bp-customizer-control-range.php';
51
+ }
52
+
53
  /**
54
  * Fires to let plugins register extra Customizer controls for emails.
55
  *
bp-core/bp-core-dependency.php CHANGED
@@ -13,6 +13,8 @@
13
  * The following functions are wrappers for hooks, allowing them to be
14
  * manually called and/or piggy-backed on top of other hooks if needed.
15
  *
 
 
16
  * @package BuddyPress
17
  * @subpackage Core
18
  * @since 1.7.0
@@ -138,7 +140,7 @@ function bp_setup_admin_bar() {
138
  *
139
  * @since 1.5.0
140
  */
141
- do_action( 'bp_setup_admin_bar', array() );
142
  }
143
  }
144
 
13
  * The following functions are wrappers for hooks, allowing them to be
14
  * manually called and/or piggy-backed on top of other hooks if needed.
15
  *
16
+ * @todo use anonymous functions when PHP minimum requirement allows (5.3)
17
+ *
18
  * @package BuddyPress
19
  * @subpackage Core
20
  * @since 1.7.0
140
  *
141
  * @since 1.5.0
142
  */
143
+ do_action( 'bp_setup_admin_bar' );
144
  }
145
  }
146
 
bp-core/bp-core-filters.php CHANGED
@@ -352,7 +352,7 @@ add_filter( 'bp_login_redirect', 'bp_core_login_redirect', 10, 3 );
352
  * @param string $retval Current email content.
353
  * @param string $prop Email property to check against.
354
  * @param string $transform Either 'raw' or 'replace-tokens'.
355
- * @return string|null $retval Modified email content.
356
  */
357
  function bp_email_plaintext_entity_decode( $retval, $prop, $transform ) {
358
  switch ( $prop ) {
@@ -467,7 +467,7 @@ function bp_core_activation_signup_blog_notification( $domain, $path, $title, $u
467
  'domain' => $domain,
468
  'key_blog' => $key,
469
  'path' => $path,
470
- 'user-site.url' => esc_url( set_url_scheme( "http://{$domain}{$path}" ) ),
471
  'title' => $title,
472
  'user.email' => $user_email,
473
  ),
@@ -490,7 +490,7 @@ add_filter( 'wpmu_signup_blog_notification', 'bp_core_activation_signup_blog_not
490
  * @param string $user_email The user's email address.
491
  * @param string $key The activation key created in wpmu_signup_user().
492
  * @param array $meta By default, an empty array.
493
- * @return false|string Returns false to stop original WPMU function from continuing.
494
  */
495
  function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
496
  if ( is_admin() ) {
@@ -858,8 +858,8 @@ function bp_filter_metaid_column_name( $q ) {
858
  *
859
  * @param string $edit_link The edit link.
860
  * @param int $post_id Post ID.
861
- * @return false|string Will be a boolean (false) if $post_id is 0. Will be a string (the unchanged edit link)
862
- * otherwise
863
  */
864
  function bp_core_filter_edit_post_link( $edit_link = '', $post_id = 0 ) {
865
  if ( 0 === $post_id ) {
@@ -1005,21 +1005,6 @@ function bp_email_set_default_headers( $headers, $property, $transform, $email )
1005
  $headers['X-BuddyPress'] = bp_get_version();
1006
  $headers['X-BuddyPress-Type'] = $email->get( 'type' );
1007
 
1008
- $tokens = $email->get_tokens();
1009
-
1010
- // Add 'List-Unsubscribe' header if applicable.
1011
- if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) {
1012
- $user = get_user_by( 'email', $tokens['recipient.email'] );
1013
-
1014
- $headers['List-Unsubscribe'] = sprintf(
1015
- '<%s>',
1016
- esc_url_raw( bp_email_get_unsubscribe_link( array(
1017
- 'user_id' => $user->ID,
1018
- 'notification_type' => $email->get( 'type' ),
1019
- ) ) )
1020
- );
1021
- }
1022
-
1023
  return $headers;
1024
  }
1025
  add_filter( 'bp_email_get_headers', 'bp_email_set_default_headers', 6, 4 );
352
  * @param string $retval Current email content.
353
  * @param string $prop Email property to check against.
354
  * @param string $transform Either 'raw' or 'replace-tokens'.
355
+ * @return string $retval Modified email content.
356
  */
357
  function bp_email_plaintext_entity_decode( $retval, $prop, $transform ) {
358
  switch ( $prop ) {
467
  'domain' => $domain,
468
  'key_blog' => $key,
469
  'path' => $path,
470
+ 'user-site.url' => esc_url( "http://{$domain}{$path}" ),
471
  'title' => $title,
472
  'user.email' => $user_email,
473
  ),
490
  * @param string $user_email The user's email address.
491
  * @param string $key The activation key created in wpmu_signup_user().
492
  * @param array $meta By default, an empty array.
493
+ * @return bool|string Returns false to stop original WPMU function from continuing.
494
  */
495
  function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
496
  if ( is_admin() ) {
858
  *
859
  * @param string $edit_link The edit link.
860
  * @param int $post_id Post ID.
861
+ * @return bool|string Will be a boolean (false) if $post_id is 0. Will be a string (the unchanged edit link)
862
+ * otherwise
863
  */
864
  function bp_core_filter_edit_post_link( $edit_link = '', $post_id = 0 ) {
865
  if ( 0 === $post_id ) {
1005
  $headers['X-BuddyPress'] = bp_get_version();
1006
  $headers['X-BuddyPress-Type'] = $email->get( 'type' );
1007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1008
  return $headers;
1009
  }
1010
  add_filter( 'bp_email_get_headers', 'bp_email_set_default_headers', 6, 4 );
bp-core/bp-core-functions.php CHANGED
@@ -120,40 +120,10 @@ function bp_core_get_table_prefix() {
120
  * @return array $items The sorted array.
121
  */
122
  function bp_sort_by_key( $items, $key, $type = 'alpha', $preserve_keys = false ) {
123
- $callback = function( $a, $b ) use ( $key, $type ) {
124
- $values = array( 0 => false, 1 => false );
125
- foreach ( func_get_args() as $indexi => $index ) {
126
- if ( isset( $index->{$key} ) ) {
127
- $values[ $indexi ] = $index->{$key};
128
- } elseif ( isset( $index[ $key ] ) ) {
129
- $values[ $indexi ] = $index[ $key ];
130
- }
131
- }
132
-
133
- if ( isset( $values[0], $values[1] ) ) {
134
- if ( 'num' === $type ) {
135
- $cmp = $values[0] - $values[1];
136
- } else {
137
- $cmp = strcmp( $values[0], $values[1] );
138
- }
139
-
140
- if ( 0 > $cmp ) {
141
- $retval = -1;
142
- } elseif ( 0 < $cmp ) {
143
- $retval = 1;
144
- } else {
145
- $retval = 0;
146
- }
147
- return $retval;
148
- } else {
149
- return 0;
150
- }
151
- };
152
-
153
  if ( true === $preserve_keys ) {
154
- uasort( $items, $callback );
155
  } else {
156
- usort( $items, $callback );
157
  }
158
 
159
  return $items;
@@ -488,29 +458,30 @@ function bp_core_get_packaged_component_ids() {
488
  * empty string if the list is not found.
489
  */
490
  function bp_core_get_directory_page_ids( $status = 'active' ) {
491
- $page_ids = bp_get_option( 'bp-pages', array() );
492
 
493
- // Loop through pages
494
- foreach ( $page_ids as $component_name => $page_id ) {
 
 
 
 
495
 
496
- // Ensure that empty indexes are unset. Should only matter in edge cases.
497
- if ( empty( $component_name ) || empty( $page_id ) ) {
498
- unset( $page_ids[ $component_name ] );
499
- }
500
 
501
- // Trashed pages should never appear in results.
502
- if ( 'trash' == get_post_status( $page_id ) ) {
503
- unset( $page_ids[ $component_name ] );
504
- }
505
 
506
- // 'register' and 'activate' do not have components, but should be whitelisted.
507
- if ( in_array( $component_name, array( 'register', 'activate' ), true ) ) {
508
- continue;
509
- }
510
 
511
- // Remove inactive component pages.
512
- if ( ( 'active' === $status ) && ! bp_is_active( $component_name ) ) {
513
- unset( $page_ids[ $component_name ] );
 
514
  }
515
  }
516
 
@@ -518,12 +489,10 @@ function bp_core_get_directory_page_ids( $status = 'active' ) {
518
  * Filters the list of BP directory pages from the appropriate meta table.
519
  *
520
  * @since 1.5.0
521
- * @since 2.9.0 Add $status parameter
522
  *
523
- * @param array $page_ids Array of directory pages.
524
- * @param string $status Page status to limit results to
525
  */
526
- return (array) apply_filters( 'bp_core_get_directory_page_ids', $page_ids, $status );
527
  }
528
 
529
  /**
@@ -531,8 +500,8 @@ function bp_core_get_directory_page_ids( $status = 'active' ) {
531
  *
532
  * @since 2.6.0
533
  *
534
- * @param string|null $component The slug representing the component. Defaults to the current component.
535
- * @return int|false The ID of the directory page associated with the component. False if none is found.
536
  */
537
  function bp_core_get_directory_page_id( $component = null ) {
538
  if ( ! $component ) {
@@ -663,7 +632,7 @@ function bp_core_add_page_mappings( $components, $existing = 'keep' ) {
663
 
664
  // Delete any existing pages.
665
  if ( 'delete' === $existing ) {
666
- foreach ( $pages as $page_id ) {
667
  wp_delete_post( $page_id, true );
668
  }
669
 
@@ -855,7 +824,7 @@ function bp_core_add_root_component( $slug ) {
855
 
856
  // If there was no match, add a page for this root component.
857
  if ( empty( $match ) ) {
858
- $add_root_items = $bp->add_root;
859
  $add_root_items[] = $slug;
860
  $bp->add_root = $add_root_items;
861
  }
@@ -889,7 +858,7 @@ function bp_core_create_root_component_page() {
889
  ) );
890
  }
891
 
892
- $page_ids = array_merge( $new_page_ids, bp_core_get_directory_page_ids( 'all' ) );
893
  bp_core_update_directory_page_ids( $page_ids );
894
  }
895
 
@@ -913,7 +882,7 @@ function bp_core_add_illegal_names() {
913
  * @since 2.7.0 The `$component` parameter was made optional, with the current component
914
  * as the fallback value.
915
  *
916
- * @param string|null $component Optional. Component name. Defaults to current component.
917
  * @return string|bool Query argument on success. False on failure.
918
  */
919
  function bp_core_get_component_search_query_arg( $component = null ) {
@@ -1330,7 +1299,7 @@ function bp_core_time_since( $older_date, $newer_date = false ) {
1330
  * @since 2.7.0
1331
  *
1332
  * @param string String of date to convert. Timezone should be UTC before using this.
1333
- * @return string|null
1334
  */
1335
  function bp_core_iso8601_date( $timestamp = '' ) {
1336
  echo bp_core_get_iso8601_date( $timestamp );
@@ -1489,7 +1458,7 @@ function bp_core_render_message() {
1489
  *
1490
  * usermeta table.
1491
  *
1492
- * @return false|null Returns false if there is nothing to do.
1493
  */
1494
  function bp_core_record_activity() {
1495
 
@@ -1777,7 +1746,7 @@ function bp_use_embed_in_private_messages() {
1777
  * @param string $content The content to check.
1778
  * @param string|int $type The type to check. Can also use a bitmask. See the class constants in the
1779
  * BP_Media_Extractor class for more info.
1780
- * @return false|array If media exists, will return array of media metadata. Else, boolean false.
1781
  */
1782
  function bp_core_extract_media_from_content( $content = '', $type = 'all' ) {
1783
  if ( is_string( $type ) ) {
@@ -2403,7 +2372,7 @@ function bp_remove_adjacent_posts_rel_link() {
2403
  return;
2404
  }
2405
 
2406
- remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10 );
2407
  }
2408
  add_action( 'bp_init', 'bp_remove_adjacent_posts_rel_link' );
2409
 
@@ -3090,7 +3059,7 @@ function bp_get_email( $email_type ) {
3090
  * @param string|array|int|WP_User $to Either a email address, user ID, WP_User object,
3091
  * or an array containg the address and name.
3092
  * @param array $args {
3093
- * Optional. Array of extra parameters.
3094
  *
3095
  * @type array $tokens Optional. Assocative arrays of string replacements for the email.
3096
  * }
@@ -3136,23 +3105,6 @@ function bp_send_email( $email_type, $to, $args = array() ) {
3136
  $email->set_to( $to );
3137
  $email->set_tokens( $args['tokens'] );
3138
 
3139
- /**
3140
- * Gives access to an email before it is sent.
3141
- *
3142
- * @since 2.8.0
3143
- *
3144
- * @param BP_Email $email The email (object) about to be sent.
3145
- * @param string $email_type Type of email being sent.
3146
- * @param string|array|int|WP_User $to Either a email address, user ID, WP_User object,
3147
- * or an array containg the address and name.
3148
- * @param array $args {
3149
- * Optional. Array of extra parameters.
3150
- *
3151
- * @type array $tokens Optional. Assocative arrays of string replacements for the email.
3152
- * }
3153
- */
3154
- do_action_ref_array( 'bp_send_email', array( &$email, $email_type, $to, $args ) );
3155
-
3156
  $status = $email->validate();
3157
  if ( is_wp_error( $status ) ) {
3158
  return $status;
@@ -3430,7 +3382,7 @@ function bp_email_get_schema() {
3430
  /* translators: do not remove {} brackets or translate its contents. */
3431
  'post_content' => __( "<a href=\"{{{inviter.url}}}\">{{inviter.name}}</a> has invited you to join the group: &quot;{{group.name}}&quot;.\n<a href=\"{{{invites.url}}}\">Go here to accept your invitation</a> or <a href=\"{{{group.url}}}\">visit the group</a> to learn more.", 'buddypress' ),
3432
  /* translators: do not remove {} brackets or translate its contents. */
3433
- 'post_excerpt' => __( "{{inviter.name}} has invited you to join the group: \"{{group.name}}\".\n\nTo accept your invitation, visit: {{{invites.url}}}\n\nTo learn more about the group, visit: {{{group.url}}}.\nTo view {{inviter.name}}'s profile, visit: {{{inviter.url}}}", 'buddypress' ),
3434
  ),
3435
  'groups-member-promoted' => array(
3436
  /* translators: do not remove {} brackets or translate its contents. */
@@ -3669,7 +3621,7 @@ function bp_email_get_type_schema( $field = 'description' ) {
3669
  * @since 2.7.0
3670
  */
3671
  function bp_email_unsubscribe_handler() {
3672
- $emails = bp_email_get_unsubscribe_type_schema();
3673
  $raw_email_type = ! empty( $_GET['nt'] ) ? $_GET['nt'] : '';
3674
  $raw_hash = ! empty( $_GET['nh'] ) ? $_GET['nh'] : '';
3675
  $raw_user_id = ! empty( $_GET['uid'] ) ? absint( $_GET['uid'] ) : 0;
@@ -3750,7 +3702,7 @@ function bp_email_unsubscribe_handler() {
3750
  * @return string The unsubscribe link.
3751
  */
3752
  function bp_email_get_unsubscribe_link( $args ) {
3753
- $emails = bp_email_get_unsubscribe_type_schema();
3754
 
3755
  if ( empty( $args['notification_type'] ) || ! array_key_exists( $args['notification_type'], $emails ) ) {
3756
  return site_url( 'wp-login.php' );
@@ -3793,26 +3745,3 @@ function bp_email_get_unsubscribe_link( $args ) {
3793
  function bp_email_get_salt() {
3794
  return bp_get_option( 'bp-emails-unsubscribe-salt', null );
3795
  }
3796
-
3797
- /**
3798
- * Get a list of emails for use in our unsubscribe functions.
3799
- *
3800
- * @since 2.8.0
3801
- *
3802
- * @see https://buddypress.trac.wordpress.org/ticket/7431
3803
- *
3804
- * @return array The array of email types and their schema.
3805
- */
3806
- function bp_email_get_unsubscribe_type_schema() {
3807
- $emails = bp_email_get_type_schema( 'all' );
3808
-
3809
- /**
3810
- * Filters the return of `bp_email_get_type_schema( 'all' )` for use with
3811
- * our unsubscribe functionality.
3812
- *
3813
- * @since 2.8.0
3814
- *
3815
- * @param array $emails The array of email types and their schema.
3816
- */
3817
- return (array) apply_filters( 'bp_email_get_unsubscribe_type_schema', $emails );
3818
- }
120
  * @return array $items The sorted array.
121
  */
122
  function bp_sort_by_key( $items, $key, $type = 'alpha', $preserve_keys = false ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  if ( true === $preserve_keys ) {
124
+ uasort( $items, array( new BP_Core_Sort_By_Key_Callback( $key, $type ), 'sort_callback' ) );
125
  } else {
126
+ usort( $items, array( new BP_Core_Sort_By_Key_Callback( $key, $type ), 'sort_callback' ) );
127
  }
128
 
129
  return $items;
458
  * empty string if the list is not found.
459
  */
460
  function bp_core_get_directory_page_ids( $status = 'active' ) {
461
+ $page_ids = bp_get_option( 'bp-pages' );
462
 
463
+ // Ensure that empty indexes are unset. Should only matter in edge cases.
464
+ if ( !empty( $page_ids ) && is_array( $page_ids ) ) {
465
+ foreach( (array) $page_ids as $component_name => $page_id ) {
466
+ if ( empty( $component_name ) || empty( $page_id ) ) {
467
+ unset( $page_ids[ $component_name ] );
468
+ }
469
 
470
+ // 'register' and 'activate' do not have components, but should be whitelisted.
471
+ if ( 'register' === $component_name || 'activate' === $component_name ) {
472
+ continue;
473
+ }
474
 
475
+ // Trashed pages should not appear in results.
476
+ if ( 'trash' == get_post_status( $page_id ) ) {
477
+ unset( $page_ids[ $component_name ] );
 
478
 
479
+ }
 
 
 
480
 
481
+ // Remove inactive component pages, if required.
482
+ if ( 'active' === $status && ! bp_is_active( $component_name ) ) {
483
+ unset( $page_ids[ $component_name ] );
484
+ }
485
  }
486
  }
487
 
489
  * Filters the list of BP directory pages from the appropriate meta table.
490
  *
491
  * @since 1.5.0
 
492
  *
493
+ * @param array $page_ids Array of directory pages.
 
494
  */
495
+ return apply_filters( 'bp_core_get_directory_page_ids', $page_ids );
496
  }
497
 
498
  /**
500
  *
501
  * @since 2.6.0
502
  *
503
+ * @param string $component The slug representing the component. Defaults to the current component.
504
+ * @return int|bool The ID of the directory page associated with the component. False if none is found.
505
  */
506
  function bp_core_get_directory_page_id( $component = null ) {
507
  if ( ! $component ) {
632
 
633
  // Delete any existing pages.
634
  if ( 'delete' === $existing ) {
635
+ foreach ( (array) $pages as $page_id ) {
636
  wp_delete_post( $page_id, true );
637
  }
638
 
824
 
825
  // If there was no match, add a page for this root component.
826
  if ( empty( $match ) ) {
827
+ $add_root_items = $bp->add_root();
828
  $add_root_items[] = $slug;
829
  $bp->add_root = $add_root_items;
830
  }
858
  ) );
859
  }
860
 
861
+ $page_ids = array_merge( (array) $new_page_ids, (array) bp_core_get_directory_page_ids( 'all' ) );
862
  bp_core_update_directory_page_ids( $page_ids );
863
  }
864
 
882
  * @since 2.7.0 The `$component` parameter was made optional, with the current component
883
  * as the fallback value.
884
  *
885
+ * @param string $component Optional. Component name. Defaults to current component.
886
  * @return string|bool Query argument on success. False on failure.
887
  */
888
  function bp_core_get_component_search_query_arg( $component = null ) {
1299
  * @since 2.7.0
1300
  *
1301
  * @param string String of date to convert. Timezone should be UTC before using this.
1302
+ * @return string
1303
  */
1304
  function bp_core_iso8601_date( $timestamp = '' ) {
1305
  echo bp_core_get_iso8601_date( $timestamp );
1458
  *
1459
  * usermeta table.
1460
  *
1461
+ * @return bool|null Returns false if there is nothing to do.
1462
  */
1463
  function bp_core_record_activity() {
1464
 
1746
  * @param string $content The content to check.
1747
  * @param string|int $type The type to check. Can also use a bitmask. See the class constants in the
1748
  * BP_Media_Extractor class for more info.
1749
+ * @return array|bool If media exists, will return array of media metadata. Else, boolean false.
1750
  */
1751
  function bp_core_extract_media_from_content( $content = '', $type = 'all' ) {
1752
  if ( is_string( $type ) ) {
2372
  return;
2373
  }
2374
 
2375
+ remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
2376
  }
2377
  add_action( 'bp_init', 'bp_remove_adjacent_posts_rel_link' );
2378
 
3059
  * @param string|array|int|WP_User $to Either a email address, user ID, WP_User object,
3060
  * or an array containg the address and name.
3061
  * @param array $args {
3062
+ * Optional. Array of extra. parameters.
3063
  *
3064
  * @type array $tokens Optional. Assocative arrays of string replacements for the email.
3065
  * }
3105
  $email->set_to( $to );
3106
  $email->set_tokens( $args['tokens'] );
3107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3108
  $status = $email->validate();
3109
  if ( is_wp_error( $status ) ) {
3110
  return $status;
3382
  /* translators: do not remove {} brackets or translate its contents. */
3383
  'post_content' => __( "<a href=\"{{{inviter.url}}}\">{{inviter.name}}</a> has invited you to join the group: &quot;{{group.name}}&quot;.\n<a href=\"{{{invites.url}}}\">Go here to accept your invitation</a> or <a href=\"{{{group.url}}}\">visit the group</a> to learn more.", 'buddypress' ),
3384
  /* translators: do not remove {} brackets or translate its contents. */
3385
+ 'post_excerpt' => __( "{{inviter.name}} has invited you to join the group: \"{{group.name}}\".\n\nTo accept your invitation, visit: {{{invites.url}}}\n\nTo learn more about the group, visit {{{group.url}}}.\nTo view {{inviter.name}}'s profile, visit: {{{inviter.url}}}", 'buddypress' ),
3386
  ),
3387
  'groups-member-promoted' => array(
3388
  /* translators: do not remove {} brackets or translate its contents. */
3621
  * @since 2.7.0
3622
  */
3623
  function bp_email_unsubscribe_handler() {
3624
+ $emails = bp_email_get_type_schema( 'all' );
3625
  $raw_email_type = ! empty( $_GET['nt'] ) ? $_GET['nt'] : '';
3626
  $raw_hash = ! empty( $_GET['nh'] ) ? $_GET['nh'] : '';
3627
  $raw_user_id = ! empty( $_GET['uid'] ) ? absint( $_GET['uid'] ) : 0;
3702
  * @return string The unsubscribe link.
3703
  */
3704
  function bp_email_get_unsubscribe_link( $args ) {
3705
+ $emails = bp_email_get_type_schema( 'all' );
3706
 
3707
  if ( empty( $args['notification_type'] ) || ! array_key_exists( $args['notification_type'], $emails ) ) {
3708
  return site_url( 'wp-login.php' );
3745
  function bp_email_get_salt() {
3746
  return bp_get_option( 'bp-emails-unsubscribe-salt', null );
3747
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bp-core/bp-core-loader.php CHANGED
@@ -12,6 +12,11 @@
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
 
 
 
 
 
15
  /**
16
  * Set up the bp-core component.
17
  *
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
15
+ if ( ! buddypress()->do_autoload ) {
16
+ require dirname( __FILE__ ) . '/classes/class-bp-component.php';
17
+ require dirname( __FILE__ ) . '/classes/class-bp-core.php';
18
+ }
19
+
20
  /**
21
  * Set up the bp-core component.
22
  *
bp-core/bp-core-moderation.php CHANGED
@@ -53,7 +53,7 @@ function bp_core_check_for_flood( $user_id = 0 ) {
53
  * @param string $title The title of the content.
54
  * @param string $content The content being posted.
55
  * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
56
- * @return bool|WP_Error True if test is passed, false if fail.
57
  */
58
  function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
59
 
@@ -196,7 +196,7 @@ function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '',
196
  * @param string $title The title of the content.
197
  * @param string $content The content being posted.
198
  * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
199
- * @return bool|WP_Error True if test is passed, false if fail.
200
  */
201
  function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
202
 
53
  * @param string $title The title of the content.
54
  * @param string $content The content being posted.
55
  * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
56
+ * @return bool True if test is passed, false if fail.
57
  */
58
  function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
59
 
196
  * @param string $title The title of the content.
197
  * @param string $content The content being posted.
198
  * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
199
+ * @return bool True if test is passed, false if fail.
200
  */
201
  function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
202
 
bp-core/bp-core-options.php CHANGED
@@ -102,10 +102,10 @@ function bp_get_default_options() {
102
 
103
  /* Legacy *********************************************/
104
 
105
- // Do not register the bp-default themes directory.
106
  '_bp_retain_bp_default' => false,
107
 
108
- // Ignore deprecated code.
109
  '_bp_ignore_deprecated_code' => true,
110
 
111
  /* Widgets **************************************************/
@@ -188,6 +188,8 @@ function bp_delete_options() {
188
  /**
189
  * Add filters to each BP option, allowing them to be overloaded from inside the $bp->options array.
190
  *
 
 
191
  * @since 1.6.0
192
  */
193
  function bp_setup_option_filters() {
@@ -213,6 +215,8 @@ function bp_setup_option_filters() {
213
  /**
214
  * Filter default options and allow them to be overloaded from inside the $bp->options array.
215
  *
 
 
216
  * @since 1.6.0
217
  *
218
  * @param bool $value Optional. Default value false.
@@ -221,8 +225,11 @@ function bp_setup_option_filters() {
221
  function bp_pre_get_option( $value = false ) {
222
  $bp = buddypress();
223
 
 
 
 
224
  // Remove the filter prefix.
225
- $option = str_replace( 'pre_option_', '', current_filter() );
226
 
227
  // Check the options global for preset value.
228
  if ( ! empty( $bp->options[ $option ] ) ) {
@@ -287,7 +294,7 @@ function bp_add_option( $option_name, $value ) {
287
  * @since 1.5.0
288
  *
289
  * @param string $option_name The option key to be set.
290
- * @param mixed $value The value to be set.
291
  * @return bool True on success, false on failure.
292
  */
293
  function bp_update_option( $option_name, $value ) {
102
 
103
  /* Legacy *********************************************/
104
 
105
+ // Whether to register the bp-default themes directory.
106
  '_bp_retain_bp_default' => false,
107
 
108
+ // Whether to load deprecated code.
109
  '_bp_ignore_deprecated_code' => true,
110
 
111
  /* Widgets **************************************************/
188
  /**
189
  * Add filters to each BP option, allowing them to be overloaded from inside the $bp->options array.
190
  *
191
+ * Currently unused.
192
+ *
193
  * @since 1.6.0
194
  */
195
  function bp_setup_option_filters() {
215
  /**
216
  * Filter default options and allow them to be overloaded from inside the $bp->options array.
217
  *
218
+ * Currently unused.
219
+ *
220
  * @since 1.6.0
221
  *
222
  * @param bool $value Optional. Default value false.
225
  function bp_pre_get_option( $value = false ) {
226
  $bp = buddypress();
227
 
228
+ // Get the name of the current filter so we can manipulate it.
229
+ $filter = current_filter();
230
+
231
  // Remove the filter prefix.
232
+ $option = str_replace( 'pre_option_', '', $filter );
233
 
234
  // Check the options global for preset value.
235
  if ( ! empty( $bp->options[ $option ] ) ) {
294
  * @since 1.5.0
295
  *
296
  * @param string $option_name The option key to be set.
297
+ * @param string $value The value to be set.
298
  * @return bool True on success, false on failure.
299
  */
300
  function bp_update_option( $option_name, $value ) {
bp-core/bp-core-template-loader.php CHANGED
@@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
23
  * eg 'friends' for 'friends.php'.
24
  * @param string|null $name Optional. Template part name. Used to generate
25
  * secondary filenames, eg 'personal' for 'activity-personal.php'.
26
- * @return false|string Path to located template. See {@link bp_locate_template()}.
27
  */
28
  function bp_get_template_part( $slug, $name = null ) {
29
 
@@ -73,7 +73,7 @@ function bp_get_template_part( $slug, $name = null ) {
73
  *
74
  * @param string $slug Template slug.
75
  * @param string|null $name Template name.
76
- * @return false|string
77
  */
78
  function bp_get_asset_template_part( $slug, $name = null ) {
79
  return bp_get_template_part( "assets/{$slug}", $name );
@@ -97,11 +97,6 @@ function bp_get_asset_template_part( $slug, $name = null ) {
97
  */
98
  function bp_locate_template( $template_names, $load = false, $require_once = true ) {
99
 
100
- // Bail when there are no templates to locate
101
- if ( empty( $template_names ) ) {
102
- return false;
103
- }
104
-
105
  // No file found yet.
106
  $located = false;
107
  $template_locations = bp_get_template_stack();
@@ -166,8 +161,8 @@ function bp_locate_template( $template_names, $load = false, $require_once = tru
166
  * @since 2.6.0
167
  *
168
  * @param string $filename Relative filename to search for.
169
- * @return false|array Array of asset data if one is located (includes absolute filepath and URI).
170
- * Boolean false on failure.
171
  */
172
  function bp_locate_template_asset( $filename ) {
173
  // Ensure assets can be located when running from /src/.
@@ -605,7 +600,7 @@ function bp_load_theme_functions() {
605
  * @since 1.7.0
606
  * @since 2.4.0 Added singular.php to stack
607
  *
608
- * @return string Possible root level wrapper template files.
609
  */
610
  function bp_get_theme_compat_templates() {
611
  return bp_get_query_template( 'buddypress', array(
23
  * eg 'friends' for 'friends.php'.
24
  * @param string|null $name Optional. Template part name. Used to generate
25
  * secondary filenames, eg 'personal' for 'activity-personal.php'.
26
+ * @return string Path to located template. See {@link bp_locate_template()}.
27
  */
28
  function bp_get_template_part( $slug, $name = null ) {
29
 
73
  *
74
  * @param string $slug Template slug.
75
  * @param string|null $name Template name.
76
+ * @return string
77
  */
78
  function bp_get_asset_template_part( $slug, $name = null ) {
79
  return bp_get_template_part( "assets/{$slug}", $name );
97
  */
98
  function bp_locate_template( $template_names, $load = false, $require_once = true ) {
99
 
 
 
 
 
 
100
  // No file found yet.
101
  $located = false;
102
  $template_locations = bp_get_template_stack();
161
  * @since 2.6.0
162
  *
163
  * @param string $filename Relative filename to search for.
164
+ * @return array|bool Array of asset data if one is located (includes absolute filepath and URI).
165
+ * Boolean false on failure.
166
  */
167
  function bp_locate_template_asset( $filename ) {
168
  // Ensure assets can be located when running from /src/.
600
  * @since 1.7.0
601
  * @since 2.4.0 Added singular.php to stack
602
  *
603
+ * @return array Array of possible root level wrapper template files.
604
  */
605
  function bp_get_theme_compat_templates() {
606
  return bp_get_query_template( 'buddypress', array(
bp-core/bp-core-template.php CHANGED
@@ -2683,7 +2683,7 @@ function bp_is_user_settings_profile() {
2683
  *
2684
  * @since 2.0.0
2685
  *
2686
- * @return bool True if the current page is the groups directory.
2687
  */
2688
  function bp_is_groups_directory() {
2689
  if ( bp_is_groups_component() && ! bp_is_group() && ( ! bp_current_action() || ( bp_action_variable() && bp_is_current_action( bp_get_groups_group_type_base() ) ) ) ) {
@@ -2785,7 +2785,7 @@ function bp_is_group_forum() {
2785
  *
2786
  * @since 1.2.1
2787
  *
2788
- * @return bool True if the current page is a group's activity page.
2789
  */
2790
  function bp_is_group_activity() {
2791
  $retval = false;
@@ -2930,7 +2930,7 @@ function bp_is_create_blog() {
2930
  *
2931
  * @since 2.0.0
2932
  *
2933
- * @return bool True if the current page is the blogs directory.
2934
  */
2935
  function bp_is_blogs_directory() {
2936
  if ( is_multisite() && bp_is_blogs_component() && ! bp_current_action() ) {
@@ -3298,13 +3298,6 @@ function bp_the_body_class() {
3298
 
3299
  if ( bp_is_user() ) {
3300
  $bp_classes[] = 'bp-user';
3301
-
3302
- // Add current user member types.
3303
- if ( $member_types = bp_get_member_type( bp_displayed_user_id(), false ) ) {
3304
- foreach( $member_types as $member_type ) {
3305
- $bp_classes[] = sprintf( 'member-type-%s', esc_attr( $member_type ) );
3306
- }
3307
- }
3308
  }
3309
 
3310
  if ( ! bp_is_directory() ) {
@@ -3395,13 +3388,6 @@ function bp_the_body_class() {
3395
 
3396
  if ( bp_is_group() ) {
3397
  $bp_classes[] = 'group-' . groups_get_current_group()->slug;
3398
-
3399
- // Add current group types.
3400
- if ( $group_types = bp_groups_get_group_type( bp_get_current_group_id(), false ) ) {
3401
- foreach ( $group_types as $group_type ) {
3402
- $bp_classes[] = sprintf( 'group-type-%s', esc_attr( $group_type ) );
3403
- }
3404
- }
3405
  }
3406
 
3407
  if ( bp_is_group_leave() ) {
@@ -3470,9 +3456,6 @@ function bp_the_body_class() {
3470
  $bp_classes[] = 'buddypress';
3471
  }
3472
 
3473
- // Add the theme name/id to the body classes
3474
- $bp_classes[] = 'bp-' . bp_get_theme_compat_id();
3475
-
3476
  // Merge WP classes with BuddyPress classes and remove any duplicates.
3477
  $classes = array_unique( array_merge( (array) $bp_classes, (array) $wp_classes ) );
3478
 
@@ -3611,7 +3594,7 @@ function bp_get_nav_menu_items( $component = 'members' ) {
3611
  $submenu->parent = $nav_menu->slug;
3612
 
3613
  // If we're viewing this item's screen, record that we need to mark its parent menu to be selected.
3614
- if ( bp_is_current_action( $sub_menu->slug ) && bp_is_current_component( $nav_menu->slug ) ) {
3615
  $menu->class[] = 'current-menu-parent';
3616
  $submenu->class[] = 'current-menu-item';
3617
  }
2683
  *
2684
  * @since 2.0.0
2685
  *
2686
+ * @return True if the current page is the groups directory.
2687
  */
2688
  function bp_is_groups_directory() {
2689
  if ( bp_is_groups_component() && ! bp_is_group() && ( ! bp_current_action() || ( bp_action_variable() && bp_is_current_action( bp_get_groups_group_type_base() ) ) ) ) {
2785
  *
2786
  * @since 1.2.1
2787
  *
2788
+ * @return True if the current page is a group's activity page.
2789
  */
2790
  function bp_is_group_activity() {
2791
  $retval = false;
2930
  *
2931
  * @since 2.0.0
2932
  *
2933
+ * @return True if the current page is the blogs directory.
2934
  */
2935
  function bp_is_blogs_directory() {
2936
  if ( is_multisite() && bp_is_blogs_component() && ! bp_current_action() ) {
3298
 
3299
  if ( bp_is_user() ) {
3300
  $bp_classes[] = 'bp-user';
 
 
 
 
 
 
 
3301
  }
3302
 
3303
  if ( ! bp_is_directory() ) {
3388
 
3389
  if ( bp_is_group() ) {
3390
  $bp_classes[] = 'group-' . groups_get_current_group()->slug;
 
 
 
 
 
 
 
3391
  }
3392
 
3393
  if ( bp_is_group_leave() ) {
3456
  $bp_classes[] = 'buddypress';
3457
  }
3458
 
 
 
 
3459
  // Merge WP classes with BuddyPress classes and remove any duplicates.
3460
  $classes = array_unique( array_merge( (array) $bp_classes, (array) $wp_classes ) );
3461
 
3594
  $submenu->parent = $nav_menu->slug;
3595
 
3596
  // If we're viewing this item's screen, record that we need to mark its parent menu to be selected.
3597
+ if ( $sub_menu->slug == bp_current_action() ) {
3598
  $menu->class[] = 'current-menu-parent';
3599
  $submenu->class[] = 'current-menu-item';
3600
  }
bp-core/bp-core-theme-compatibility.php CHANGED
@@ -22,6 +22,12 @@ defined( 'ABSPATH' ) || exit;
22
  * Don't try anything you're about to witness here, at home. Ever.
23
  */
24
 
 
 
 
 
 
 
25
  /** Functions *****************************************************************/
26
 
27
  /**
22
  * Don't try anything you're about to witness here, at home. Ever.
23
  */
24
 
25
+ /** Base Class ****************************************************************/
26
+
27
+ if ( ! buddypress()->do_autoload ) {
28
+ require dirname( __FILE__ ) . '/classes/class-bp-theme-compat.php';
29
+ }
30
+
31
  /** Functions *****************************************************************/
32
 
33
  /**
bp-core/bp-core-update.php CHANGED
@@ -538,7 +538,7 @@ function bp_update_to_2_7() {
538
  }
539
  }
540
 
541
- // Do not ignore deprecated code for existing installs.
542
  bp_add_option( '_bp_ignore_deprecated_code', false );
543
  }
544
 
538
  }
539
  }
540
 
541
+ // Load deprecated code for existing installs.
542
  bp_add_option( '_bp_ignore_deprecated_code', false );
543
  }
544
 
bp-core/bp-core-widgets.php CHANGED
@@ -10,12 +10,16 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Register bp-core widgets.
15
  *
16
  * @since 1.0.0
17
  */
18
  function bp_core_register_widgets() {
19
- add_action( 'widgets_init', function() { register_widget( 'BP_Core_Login_Widget' ); } );
20
  }
21
  add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-core-login-widget.php';
15
+ }
16
+
17
  /**
18
  * Register bp-core widgets.
19
  *
20
  * @since 1.0.0
21
  */
22
  function bp_core_register_widgets() {
23
+ add_action('widgets_init', create_function('', 'return register_widget("BP_Core_Login_Widget");') );
24
  }
25
  add_action( 'bp_register_widgets', 'bp_core_register_widgets' );
bp-core/bp-core-wpabstraction.php CHANGED
@@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
23
  *
24
  * @global string $wp_version
25
  *
26
- * @return double $wp_version
27
  */
28
  function bp_get_major_wp_version() {
29
  global $wp_version;
@@ -160,7 +160,7 @@ if ( !is_multisite() ) {
160
  *
161
  * @param int $user_id ID of the user. Not used.
162
  * @param bool $all Whether or not to return all. Not used.
163
- * @return bool
164
  */
165
  function get_blogs_of_user( $user_id, $all = false ) {
166
  return false;
@@ -180,7 +180,7 @@ if ( !is_multisite() ) {
180
  * @param mixed $pref Preference. Not used.
181
  * @param string $value Value. Not used.
182
  * @param null $deprecated Whether or not deprecated. Not used.
183
- * @return bool
184
  */
185
  function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
186
  return true;
@@ -266,7 +266,7 @@ if ( !function_exists( 'mb_strpos' ) ) {
266
  * @param string $needle String to search for.
267
  * @param int $offset Optional. Start position for the search. Default: 0.
268
  * @param string $encoding Optional. Encoding type. Ignored.
269
- * @return int|false Position of needle in haystack if found, else false.
270
  */
271
  function mb_strpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
272
  $needle = preg_quote( $needle, '/' );
@@ -291,7 +291,7 @@ if ( !function_exists( 'mb_strrpos' ) ) {
291
  * @param string $needle String to search for.
292
  * @param int $offset Optional. Start position for the search. Default: 0.
293
  * @param string $encoding Optional. Encoding type. Ignored.
294
- * @return string|false Position of last needle in haystack if found, else false.
295
  */
296
  function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
297
  $needle = preg_quote( $needle, '/' );
23
  *
24
  * @global string $wp_version
25
  *
26
+ * @return string $wp_version
27
  */
28
  function bp_get_major_wp_version() {
29
  global $wp_version;
160
  *
161
  * @param int $user_id ID of the user. Not used.
162
  * @param bool $all Whether or not to return all. Not used.
163
+ * @return false
164
  */
165
  function get_blogs_of_user( $user_id, $all = false ) {
166
  return false;
180
  * @param mixed $pref Preference. Not used.
181
  * @param string $value Value. Not used.
182
  * @param null $deprecated Whether or not deprecated. Not used.
183
+ * @return true
184
  */
185
  function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) {
186
  return true;
266
  * @param string $needle String to search for.
267
  * @param int $offset Optional. Start position for the search. Default: 0.
268
  * @param string $encoding Optional. Encoding type. Ignored.
269
+ * @return int|bool Position of needle in haystack if found, else false.
270
  */
271
  function mb_strpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
272
  $needle = preg_quote( $needle, '/' );
291
  * @param string $needle String to search for.
292
  * @param int $offset Optional. Start position for the search. Default: 0.
293
  * @param string $encoding Optional. Encoding type. Ignored.
294
+ * @return int Position of last needle in haystack if found, else false.
295
  */
296
  function mb_strrpos( $haystack, $needle, $offset = 0, $encoding = '' ) {
297
  $needle = preg_quote( $needle, '/' );
bp-core/classes/class-bp-admin.php CHANGED
@@ -117,6 +117,10 @@ class BP_Admin {
117
  * @since 1.6.0
118
  */
119
  private function includes() {
 
 
 
 
120
  require( $this->admin_dir . 'bp-core-admin-actions.php' );
121
  require( $this->admin_dir . 'bp-core-admin-settings.php' );
122
  require( $this->admin_dir . 'bp-core-admin-functions.php' );
@@ -382,11 +386,6 @@ class BP_Admin {
382
 
383
  // Only show 'switch to Toolbar' option if the user chose to retain the BuddyBar during the 1.6 upgrade.
384
  if ( (bool) bp_get_option( '_bp_force_buddybar', false ) ) {
385
- // Load deprecated code if not available.
386
- if ( ! function_exists( 'bp_admin_setting_callback_force_buddybar' ) ) {
387
- require buddypress()->plugin_dir . 'bp-core/deprecated/2.1.php';
388
- }
389
-
390
  add_settings_field( '_bp_force_buddybar', __( 'Toolbar', 'buddypress' ), 'bp_admin_setting_callback_force_buddybar', 'buddypress', 'bp_main' );
391
  register_setting( 'buddypress', '_bp_force_buddybar', 'bp_admin_sanitize_callback_force_buddybar' );
392
  }
@@ -395,10 +394,6 @@ class BP_Admin {
395
  add_settings_field( 'bp-disable-account-deletion', __( 'Account Deletion', 'buddypress' ), 'bp_admin_setting_callback_account_deletion', 'buddypress', 'bp_main' );
396
  register_setting( 'buddypress', 'bp-disable-account-deletion', 'intval' );
397
 
398
- // Template pack picker.
399
- add_settings_field( '_bp_theme_package_id', __( 'Template Pack', 'buddypress' ), 'bp_admin_setting_callback_theme_package_id', 'buddypress', 'bp_main' );
400
- register_setting( 'buddypress', '_bp_theme_package_id', 'sanitize_text_field' );
401
-
402
  /* XProfile Section **************************************************/
403
 
404
  if ( bp_is_active( 'xprofile' ) ) {
@@ -555,6 +550,11 @@ class BP_Admin {
555
  * @since 1.7.0
556
  */
557
  public function about_screen() {
 
 
 
 
 
558
  ?>
559
 
560
  <div class="wrap about-wrap">
@@ -567,7 +567,7 @@ class BP_Admin {
567
 
568
  <div id="welcome-panel" class="welcome-panel">
569
  <div class="welcome-panel-content">
570
- <h3 style="margin:0;"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3>
571
  <div class="welcome-panel-column-container">
572
  <div class="welcome-panel-column">
573
  <h4><?php _e( 'Configure BuddyPress', 'buddypress' ); ?></h4>
@@ -612,81 +612,124 @@ class BP_Admin {
612
 
613
  <?php endif; ?>
614
 
 
 
 
 
 
 
 
 
 
 
 
 
 
615
  <div class="bp-features-section">
616
 
617
  <h3 class="headline-title"><?php esc_html_e( 'For Developers &amp; Site Builders', 'buddypress' ); ?></h3>
618
 
619
  <div class="bp-feature">
620
- <span class="dashicons dashicons-groups" aria-hidden="true"></span>
621
- <h4 class="feature-title"><?php esc_html_e( 'Edit Group Slug', 'buddypress' ); ?></h4>
622
- <p><?php esc_html_e( 'Allow administrators to change group names and permalinks. Navigate to the Groups screen in the wp-admin dashboard, click on the Edit link under the Group name, and adjust as needed.', 'buddypress' ); ?></p>
623
  </div>
624
 
625
  <div class="bp-feature opposite">
626
- <span class="dashicons dashicons-admin-users" aria-hidden="true"></span>
627
- <h4 class="feature-title"><?php esc_html_e( 'Improve accessibility of Extended Profile Fields', 'buddypress' ); ?></h4>
628
- <p><?php esc_html_e( 'Related form fields are grouped together in fieldsets and all interactive form controls are associated with necessary ARIA states and properties.', 'buddypress' ); ?></p>
 
 
 
 
629
  </div>
630
 
631
  <div class="bp-feature">
632
- <span class="dashicons dashicons-email" aria-hidden="true"></span>
633
- <h4 class="feature-title"><?php esc_html_e( 'Send group invitation only once per user', 'buddypress' ); ?></h4>
634
- <p><?php esc_html_e( 'Prevent duplicate group invitations from being sent to a user by double-checking if a group invitation has already been sent to that user.', 'buddypress' ); ?></p>
 
 
 
 
635
  </div>
636
 
637
  <div class="bp-feature opposite">
638
- <span class="dashicons dashicons-testimonial" aria-hidden="true"></span>
639
- <h4 class="feature-title"><?php esc_html_e( 'Tooltips Usable for All Devices', 'buddypress' ); ?></h4>
 
 
640
 
641
- <p><?php esc_html_e( 'Replaced HTML title attributes with tooltips which provide additional information and visual cues where needed on mouse hover and keyboard focus events.', 'buddypress' );
642
- ?></p>
 
 
643
  </div>
644
 
645
- </div>
 
 
 
 
646
 
647
- <div class="bp-changelog-section">
 
 
 
 
648
 
649
- <h3 class="changelog-title"><?php esc_html_e( 'More under the hood &#8230;', 'buddypress' ); ?></h3>
650
- <div class="bp-changelog bp-three-column">
651
- <div class="bp-column">
652
- <h4 class="title"><?php esc_html_e( 'Better support for private message thread links in emails', 'buddypress' ); ?></h4>
653
- <p><?php esc_html_e( 'Redirect non-authenticated users to the login screen and authenticated users to the message linked.', 'buddypress' ); ?></p>
654
- </div>
655
- <div class="bp-column">
656
- <h4 class="title"><?php esc_html_e( 'Compatibility with Bootstrap themes', 'buddypress' ); ?></h4>
657
- <p><?php esc_html_e( 'Removed issues with BuddyPress-generated content being hidden in the Groups loop and Activity comments in Bootstrap themes.', 'buddypress' ); ?></p>
658
- </div>
659
 
660
- <div class="bp-column">
661
- <h4 class="title"><?php esc_html_e( 'Improve profile image uploads', 'buddypress' ); ?></h4>
662
- <p><?php esc_html_e( 'Fixed issues with uploading in iOS Safari and uploading files with non-ASCII filenames.', 'buddypress' ); ?></p>
663
- </div>
 
 
 
664
  </div>
665
 
666
- <div class="bp-changelog bp-three-column">
667
- <div class="bp-column">
668
- <h4 class="title"><?php esc_html_e( 'URL compatibility for LightSpeed Servers', 'buddypress' ); ?></h4>
669
- <p><?php
670
- /* translators: %s: trailingslashit() */
671
- printf( __( 'Audited and changed template link functions to use %s where necessary.', 'buddypress' ),
672
- '<code>trailingslashit()</code>' );
673
- ?></p>
674
- </div>
675
- <div class="bp-column">
676
- <h4 class="title"><?php esc_html_e( 'Template Packs UI in BuddyPress > Settings.', 'buddypress' ); ?></h4>
677
- <p><?php esc_html_e( 'Register your new BuddyPress theme package and allow the user to select which template pack to use.', 'buddypress' ); ?></p>
678
- </div>
679
 
680
- <div class="bp-column">
681
- <h4 class="title"><?php
682
- /* translators: %s: bp_group_link() */
683
- printf( __( 'New template function %s', 'buddypress' ),
684
- '<code>bp_group_link()</code>' );
685
- ?></h4>
686
- <p><?php esc_html_e( 'Output a group name as a text hyperlink where appropriate.', 'buddypress' ); ?></p>
687
- </div>
 
 
 
 
 
 
 
 
688
  </div>
689
 
 
 
 
 
 
 
 
 
 
 
 
 
690
  </div>
691
 
692
  <div class="bp-assets">
@@ -740,10 +783,10 @@ class BP_Admin {
740
 
741
  <h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3>
742
  <ul class="wp-people-group " id="wp-people-group-core-team">
743
- <li class="wp-person" id="wp-person-hnla">
744
- <a class="web" href="https://profiles.wordpress.org/hnla"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=60">
745
- Hugo Ashmore</a>
746
- <span class="title"><?php _e( '2.9 Release Lead', 'buddypress' ); ?></span>
747
  </li>
748
  <li class="wp-person" id="wp-person-r-a-y">
749
  <a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60">
@@ -755,11 +798,6 @@ class BP_Admin {
755
  Mathieu Viet</a>
756
  <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
757
  </li>
758
- <li class="wp-person" id="wp-person-mercime">
759
- <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60">
760
- Mercime</a>
761
- <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
762
- </li>
763
  <li class="wp-person" id="wp-person-dcavins">
764
  <a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60">
765
  David Cavins</a>
@@ -770,6 +808,11 @@ class BP_Admin {
770
  Michael Beckwith</a>
771
  <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
772
  </li>
 
 
 
 
 
773
  <li class="wp-person" id="wp-person-henry-wright">
774
  <a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60">
775
  Henry Wright</a>
@@ -785,29 +828,22 @@ class BP_Admin {
785
  shanebp</a>
786
  <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
787
  </li>
788
- <li class="wp-person" id="wp-person-slaffik">
789
- <a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=60">
790
- Slava Abakumov</a>
791
- <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
792
- </li>
793
- <li class="wp-person" id="wp-person-offereins">
794
- <a class="web" href="https://profiles.wordpress.org/Offereins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/2404ed0a35bb41aedefd42b0a7be61c1?s=60">
795
- Laurens Offereins</a>
796
- <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
797
- </li>
798
- <li class="wp-person" id="wp-person-netweb">
799
- <a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60">
800
- Stephen Edgar</a>
801
- <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
802
- </li>
803
  </ul>
804
 
805
  <h3 class="wp-people-group"><?php _e( '&#x1f31f;Recent Rockstars&#x1f31f;', 'buddypress' ); ?></h3>
806
  <ul class="wp-people-group " id="wp-people-group-rockstars">
 
 
 
 
807
  <li class="wp-person" id="wp-person-dimensionmedia">
808
  <a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=60">
809
  David Bisset</a>
810
  </li>
 
 
 
 
811
  <li class="wp-person" id="wp-person-garrett-eclipse">
812
  <a class="web" href="https://profiles.wordpress.org/garrett-eclipse"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7f68f24441c61514d5d0e1451bb5bc9d?s=60">
813
  Garrett Hyder</a>
@@ -820,56 +856,52 @@ class BP_Admin {
820
  <a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=60">
821
  Rami Yushuvaev</a>
822
  </li>
 
 
 
 
823
  </ul>
824
 
825
  <h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
826
  <p class="wp-credits-list">
827
- <a href="https://profiles.wordpress.org/55don/">55don</a>,
828
- <a href="https://profiles.wordpress.org/aaronoftomorrow/">AaronOfTomorrow</a>,
829
- <a href="https://profiles.wordpress.org/allianse/">allianse</a>,
830
- <a href="https://profiles.wordpress.org/antonioeatgoat/">Antonio Mangiacapra (antonioeatgoat)</a>,
831
- <a href="https://profiles.wordpress.org/benjlipchak/">Benj (benjlipchak)</a>,
832
  <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
833
- <a href="https://profiles.wordpress.org/bhargavbhandari90/">Bunty (bhargavbhandari90)</a>,
834
  <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
835
  <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
836
- <a href="https://profiles.wordpress.org/brandonliles/">brandonliles</a>,
837
  <a href="https://profiles.wordpress.org/danbp/">danbp</a>,
 
838
  <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
839
- <a href="https://profiles.wordpress.org/dkelm/">dkelm</a>,
840
- <a href="https://profiles.wordpress.org/dsar/">dsar</a>,
841
- <a href="https://profiles.wordpress.org/dsided/">dsided</a>,
842
- <a href="https://profiles.wordpress.org/henry.wright">Henry Wright (henry.wright)</a>,
 
843
  <a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
844
- <a href="https://profiles.wordpress.org/idofri/">Ido Friedlander (idofri)</a>,
845
- <a href="https://profiles.wordpress.org/uscore713/">Jay (uscore713)</a>,
846
- <a href="https://profiles.wordpress.org/johnbillion/">John Blackbourn (johnbillion)</a>,
847
  <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
848
- <a href="https://profiles.wordpress.org/juanho/">Juanho</a>,
 
849
  <a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
850
  <a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
851
- <a href="https://profiles.wordpress.org/lne1030/">lne1030</a>,
852
- <a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
853
- <a href="https://profiles.wordpress.org/maniou/">Maniou</a>,
854
  <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
855
  <a href="https://profiles.wordpress.org/mercime/">mercime</a>,
856
  <a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
857
- <a href="https://profiles.wordpress.org/mikegillihan/">Mike Gillihan (MikeGillihan)</a>,
858
- <a href="https://profiles.wordpress.org/milindmore22/">Milind More (milindmore22)</a>,
859
- <a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
860
- <a href="https://profiles.wordpress.org/mrjarbenne/">mrjarbenne</a>,
861
- <a href="https://profiles.wordpress.org/nicolaskulka/">Nicolas Kulka (NicolasKulka)</a>,
862
- <a href="https://profiles.wordpress.org/oelita/">Oelita</a>,
863
  <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
864
- <a href="https://profiles.wordpress.org/pareshradadiya/">paresh.radadiya (pareshradadiya)</a>,
865
  <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
866
  <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
867
- <a href="https://profiles.wordpress.org/rianrietveld/">Rian Rietveld (rianrietvelde)</a>,
868
- <a href="https://profiles.wordpress.org/elhardoum/">Samuel Elh (elhardoum)</a>,
869
- <a href="https://profiles.wordpress.org/seventhqueen/">seventhqueen</a>,
870
  <a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>,
 
871
  <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
872
- <a href="https://profiles.wordpress.org/vishalkakadiya/">Vishal Kakadiya (vishalkakadiya)</a>
 
 
 
 
 
873
  </p>
874
 
875
  <h3 class="wp-people-group"><?php _e( '&#x1f496;With our thanks to these Open Source projects&#x1f496;', 'buddypress' ); ?></h3>
@@ -900,8 +932,8 @@ class BP_Admin {
900
 
901
  // Switch welcome text based on whether this is a new installation or not.
902
  $welcome_text = ( self::is_new_install() )
903
- ? __( 'Thank you for installing BuddyPress! BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!', 'buddypress' )
904
- : __( 'Thank you for updating! BuddyPress %s has many new improvements that you will enjoy.', 'buddypress' );
905
 
906
  ?>
907
 
117
  * @since 1.6.0
118
  */
119
  private function includes() {
120
+ if ( ! buddypress()->do_autoload ) {
121
+ require( $this->admin_dir . 'bp-core-admin-classes.php' );
122
+ }
123
+
124
  require( $this->admin_dir . 'bp-core-admin-actions.php' );
125
  require( $this->admin_dir . 'bp-core-admin-settings.php' );
126
  require( $this->admin_dir . 'bp-core-admin-functions.php' );
386
 
387
  // Only show 'switch to Toolbar' option if the user chose to retain the BuddyBar during the 1.6 upgrade.
388
  if ( (bool) bp_get_option( '_bp_force_buddybar', false ) ) {
 
 
 
 
 
389
  add_settings_field( '_bp_force_buddybar', __( 'Toolbar', 'buddypress' ), 'bp_admin_setting_callback_force_buddybar', 'buddypress', 'bp_main' );
390
  register_setting( 'buddypress', '_bp_force_buddybar', 'bp_admin_sanitize_callback_force_buddybar' );
391
  }
394
  add_settings_field( 'bp-disable-account-deletion', __( 'Account Deletion', 'buddypress' ), 'bp_admin_setting_callback_account_deletion', 'buddypress', 'bp_main' );
395
  register_setting( 'buddypress', 'bp-disable-account-deletion', 'intval' );
396
 
 
 
 
 
397
  /* XProfile Section **************************************************/
398
 
399
  if ( bp_is_active( 'xprofile' ) ) {
550
  * @since 1.7.0
551
  */
552
  public function about_screen() {
553
+ $embedded_activity = '';
554
+
555
+ if ( version_compare( $GLOBALS['wp_version'], '4.5', '>=' ) ) {
556
+ $embedded_activity = wp_oembed_get( 'https://buddypress.org/members/djpaul/activity/573821/' );
557
+ }
558
  ?>
559
 
560
  <div class="wrap about-wrap">
567
 
568
  <div id="welcome-panel" class="welcome-panel">
569
  <div class="welcome-panel-content">
570
+ <h3 style="margin:0"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3>
571
  <div class="welcome-panel-column-container">
572
  <div class="welcome-panel-column">
573
  <h4><?php _e( 'Configure BuddyPress', 'buddypress' ); ?></h4>
612
 
613
  <?php endif; ?>
614
 
615
+ <div class="bp-headline-feature">
616
+ <div class="bp-headline">
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 &amp; Site Builders', 'buddypress' ); ?></h3>
631
 
632
  <div class="bp-feature">
633
+ <span class="dashicons dashicons-calendar" aria-hidden="true"></span>
634
+ <h4 class="feature-title"><?php esc_html_e( 'Improved Profile Date Field', 'buddypress' ); ?></h4>
635
+ <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p>
636
  </div>
637
 
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&#8217;s Profile Photo', 'buddypress' ); ?></h4>
651
+ <p><?php
652
+ /* translators: %s: URL to the WordPress Codex article */
653
+ printf( __( 'BuddyPress sets the site admin&#8217;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">
665
+ <span class="dashicons dashicons-clock" aria-hidden="true"></span>
666
+ <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4>
667
+ <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p>
668
  </div>
669
 
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&#8217;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&#8217;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
+
722
+ <div class="clear"></div>
723
+ </div>
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
 
735
  <div class="bp-assets">
783
 
784
  <h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3>
785
  <ul class="wp-people-group " id="wp-people-group-core-team">
786
+ <li class="wp-person" id="wp-person-mercime">
787
+ <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60">
788
+ Mercime</a>
789
+ <span class="title"><?php _e( '2.7 Release Lead', 'buddypress' ); ?></span>
790
  </li>
791
  <li class="wp-person" id="wp-person-r-a-y">
792
  <a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60">
798
  Mathieu Viet</a>
799
  <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
800
  </li>
 
 
 
 
 
801
  <li class="wp-person" id="wp-person-dcavins">
802
  <a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60">
803
  David Cavins</a>
808
  Michael Beckwith</a>
809
  <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
810
  </li>
811
+ <li class="wp-person" id="wp-person-hnla">
812
+ <a class="web" href="https://profiles.wordpress.org/hnla"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=60">
813
+ Hugo</a>
814
+ <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
815
+ </li>
816
  <li class="wp-person" id="wp-person-henry-wright">
817
  <a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60">
818
  Henry Wright</a>
828
  shanebp</a>
829
  <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
830
  </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
831
  </ul>
832
 
833
  <h3 class="wp-people-group"><?php _e( '&#x1f31f;Recent Rockstars&#x1f31f;', 'buddypress' ); ?></h3>
834
  <ul class="wp-people-group " id="wp-people-group-rockstars">
835
+ <li class="wp-person" id="wp-person-netweb">
836
+ <a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60">
837
+ Stephen Edgar</a>
838
+ </li>
839
  <li class="wp-person" id="wp-person-dimensionmedia">
840
  <a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=60">
841
  David Bisset</a>
842
  </li>
843
+ <li class="wp-person" id="wp-person-offereins">
844
+ <a class="web" href="https://profiles.wordpress.org/Offereins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/2404ed0a35bb41aedefd42b0a7be61c1?s=60">
845
+ Laurens Offereins</a>
846
+ </li>
847
  <li class="wp-person" id="wp-person-garrett-eclipse">
848
  <a class="web" href="https://profiles.wordpress.org/garrett-eclipse"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7f68f24441c61514d5d0e1451bb5bc9d?s=60">
849
  Garrett Hyder</a>
856
  <a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=60">
857
  Rami Yushuvaev</a>
858
  </li>
859
+ <li class="wp-person" id="wp-person-slaffik">
860
+ <a class="web" href="https://profiles.wordpress.org/slaffik/"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=60">
861
+ Slava Abakumov</a>
862
+ </li>
863
  </ul>
864
 
865
  <h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
866
  <p class="wp-credits-list">
867
+ <a href="https://profiles.wordpress.org/jorbin/">Aaron Jorbin (jorbin)</a>,
868
+ <a href="https://profiles.wordpress.org/abwebstudio1/">abwebstudio1</a>,
 
 
 
869
  <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
 
870
  <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
871
  <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
 
872
  <a href="https://profiles.wordpress.org/danbp/">danbp</a>,
873
+ <a href="https://profiles.wordpress.org/danielhuesken/">Daniel Hüsken (danielhuesken)</a>,
874
  <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
875
+ <a href="https://profiles.wordpress.org/demon_ru/">demon_ru</a>,
876
+ <a href="https://profiles.wordpress.org/wpdennis/">Dennis (wpdennis)</a>,
877
+ <a href="https://profiles.wordpress.org/ericlewis/">Eric Andrew Lewis (ericlewis)</a>,
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>,
885
  <a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
886
  <a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
 
 
 
887
  <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
888
  <a href="https://profiles.wordpress.org/mercime/">mercime</a>,
889
  <a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
890
+ <a href="https://profiles.wordpress.org/michaelbeil/">Michael Beil (michaelbeil)</a>,
891
+ <a href="https://profiles.wordpress.org/swissspidy/">Pascal Birchler (swissspidy)</a>,
 
 
 
 
892
  <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
 
893
  <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
894
  <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
895
+ <a href="https://profiles.wordpress.org/scharc/">scharc</a>,
 
 
896
  <a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>,
897
+ <a href="https://profiles.wordpress.org/spenser4551/">spenser4551</a>,
898
  <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
899
+ <a href="https://profiles.wordpress.org/svenl77/">Sven Lehnert (svenl77)</a>,
900
+ <a href="https://profiles.wordpress.org/tharsheblows/">tharsheblows</a>,
901
+ <a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>,
902
+ <a href="https://profiles.wordpress.org/tomas711/">tomas711</a>,
903
+ <a href="https://profiles.wordpress.org/venturavan2/">venturavan2</a>,
904
+ <a href="https://profiles.wordpress.org/wordpressrene/">wordpressrene</a>.
905
  </p>
906
 
907
  <h3 class="wp-people-group"><?php _e( '&#x1f496;With our thanks to these Open Source projects&#x1f496;', 'buddypress' ); ?></h3>
932
 
933
  // Switch welcome text based on whether this is a new installation or not.
934
  $welcome_text = ( self::is_new_install() )
935
+ ? __( 'Thank you for installing BuddyPress! BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.', 'buddypress' )
936
+ : __( 'Thank you for updating! BuddyPress %s has many new features that you will enjoy.', 'buddypress' );
937
 
938
  ?>
939
 
bp-core/classes/class-bp-attachment-avatar.php CHANGED
@@ -110,7 +110,7 @@ class BP_Attachment_Avatar extends BP_Attachment {
110
  *
111
  * @param string $file The absolute path to the file.
112
  * @param int $ui_available_width Available width for the UI.
113
- * @return false|string|WP_Image_Editor|WP_Error
114
  */
115
  public static function shrink( $file = '', $ui_available_width = 0 ) {
116
  // Get image size.
@@ -204,23 +204,11 @@ class BP_Attachment_Avatar extends BP_Attachment {
204
  return false;
205
  }
206
 
207
- if ( ! bp_attachments_current_user_can( 'edit_avatar', $args ) ) {
208
- return false;
209
- }
210
-
211
- if ( 'user' === $args['object'] ) {
212
- $avatar_dir = 'avatars';
213
- } else {
214
- $avatar_dir = sanitize_key( $args['object'] ) . '-avatars';
215
- }
216
-
217
- $args['item_id'] = (int) $args['item_id'];
218
-
219
  /**
220
  * Original file is a relative path to the image
221
  * eg: /avatars/1/avatar.jpg
222
  */
223
- $relative_path = sprintf( '/%s/%s/%s', $avatar_dir, $args['item_id'], basename( $args['original_file'] ) );
224
  $absolute_path = $this->upload_path . $relative_path;
225
 
226
  // Bail if the avatar is not available.
110
  *
111
  * @param string $file The absolute path to the file.
112
  * @param int $ui_available_width Available width for the UI.
113
+ * @return mixed
114
  */
115
  public static function shrink( $file = '', $ui_available_width = 0 ) {
116
  // Get image size.
204
  return false;
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /**
208
  * Original file is a relative path to the image
209
  * eg: /avatars/1/avatar.jpg
210
  */
211
+ $relative_path = $args['original_file'];
212
  $absolute_path = $this->upload_path . $relative_path;
213
 
214
  // Bail if the avatar is not available.
bp-core/classes/class-bp-attachment-cover-image.php CHANGED
@@ -201,7 +201,7 @@ class BP_Attachment_Cover_Image extends BP_Attachment {
201
  * @since 2.4.0
202
  *
203
  * @param string $file The absolute path to the file.
204
- * @return false|string $value The absolute path to the new file name.
205
  */
206
  public function generate_filename( $file = '' ) {
207
  if ( empty( $file ) || ! file_exists( $file ) ) {
201
  * @since 2.4.0
202
  *
203
  * @param string $file The absolute path to the file.
204
+ * @return string $value The absolute path to the new file name.
205
  */
206
  public function generate_filename( $file = '' ) {
207
  if ( empty( $file ) || ! file_exists( $file ) ) {
bp-core/classes/class-bp-attachment.php CHANGED
@@ -219,6 +219,13 @@ abstract class BP_Attachment {
219
  */
220
  add_filter( "{$this->action}_prefilter", array( $this, 'validate_upload' ), 10, 1 );
221
 
 
 
 
 
 
 
 
222
  // Set Default overrides.
223
  $overrides = array(
224
  'action' => $this->action,
@@ -261,50 +268,21 @@ abstract class BP_Attachment {
261
  add_filter( 'upload_dir', $upload_dir_filter, 10, $this->upload_dir_filter_args );
262
  }
263
 
264
- // Helper for utf-8 filenames.
265
- add_filter( 'sanitize_file_name', array( $this, 'sanitize_utf8_filename' ) );
266
-
267
  // Upload the attachment.
268
  $this->attachment = wp_handle_upload( $file[ $this->file_input ], $overrides, $time );
269
 
270
- remove_filter( 'sanitize_file_name', array( $this, 'sanitize_utf8_filename' ) );
271
-
272
  // Restore WordPress Uploads data.
273
  if ( ! empty( $upload_dir_filter ) ) {
274
- remove_filter( 'upload_dir', $upload_dir_filter, 10 );
275
  }
276
 
 
 
 
277
  // Finally return the uploaded file or the error.
278
  return $this->attachment;
279
  }
280
 
281
- /**
282
- * Helper to convert utf-8 characters in filenames to their ASCII equivalent.
283
- *
284
- * @since 2.9.0
285
- *
286
- * @param string $retval Filename.
287
- * @return string
288
- */
289
- public function sanitize_utf8_filename( $retval ) {
290
- // PHP 5.4+ or with PECL intl 2.0+
291
- if ( function_exists( 'transliterator_transliterate' ) && seems_utf8( $retval ) ) {
292
- $retval = transliterator_transliterate( 'Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove', $retval );
293
-
294
- // Older.
295
- } else {
296
- // Use WP's built-in function to convert accents to their ASCII equivalent.
297
- $retval = remove_accents( $retval );
298
-
299
- // Still here? use iconv().
300
- if ( function_exists( 'iconv' ) && seems_utf8( $retval ) ) {
301
- $retval = iconv( 'UTF-8', 'ASCII//TRANSLIT//IGNORE', $retval );
302
- }
303
- }
304
-
305
- return $retval;
306
- }
307
-
308
  /**
309
  * Validate the allowed mime types using WordPress allowed mime types.
310
  *
@@ -575,7 +553,21 @@ abstract class BP_Attachment {
575
 
576
  // Now try to get image's meta data.
577
  $meta = wp_read_image_metadata( $file );
 
578
  if ( ! empty( $meta ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
579
  $image_data['meta'] = $meta;
580
  }
581
 
219
  */
220
  add_filter( "{$this->action}_prefilter", array( $this, 'validate_upload' ), 10, 1 );
221
 
222
+ /**
223
+ * The above dynamic filter was introduced in WordPress 4.0, as we support WordPress
224
+ * back to 3.6, we need to also use the pre 4.0 static filter and remove it after
225
+ * the upload was processed.
226
+ */
227
+ add_filter( 'wp_handle_upload_prefilter', array( $this, 'validate_upload' ), 10, 1 );
228
+
229
  // Set Default overrides.
230
  $overrides = array(
231
  'action' => $this->action,
268
  add_filter( 'upload_dir', $upload_dir_filter, 10, $this->upload_dir_filter_args );
269
  }
270
 
 
 
 
271
  // Upload the attachment.
272
  $this->attachment = wp_handle_upload( $file[ $this->file_input ], $overrides, $time );
273
 
 
 
274
  // Restore WordPress Uploads data.
275
  if ( ! empty( $upload_dir_filter ) ) {
276
+ remove_filter( 'upload_dir', $upload_dir_filter, 10, $this->upload_dir_filter_args );
277
  }
278
 
279
+ // Remove the pre WordPress 4.0 static filter.
280
+ remove_filter( 'wp_handle_upload_prefilter', array( $this, 'validate_upload' ), 10, 1 );
281
+
282
  // Finally return the uploaded file or the error.
283
  return $this->attachment;
284
  }
285
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  /**
287
  * Validate the allowed mime types using WordPress allowed mime types.
288
  *
553
 
554
  // Now try to get image's meta data.
555
  $meta = wp_read_image_metadata( $file );
556
+
557
  if ( ! empty( $meta ) ) {
558
+ // Before 4.0 the Orientation wasn't included.
559
+ if ( ! isset( $meta['orientation'] ) &&
560
+ is_callable( 'exif_read_data' ) &&
561
+ in_array( $sourceImageType, apply_filters( 'wp_read_image_metadata_types', array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) )
562
+ ) {
563
+ $exif = exif_read_data( $file );
564
+
565
+ if ( ! empty( $exif['Orientation'] ) ) {
566
+ $meta['orientation'] = $exif['Orientation'];
567
+ }
568
+ }
569
+
570
+ // Now add the metas to image data.
571
  $image_data['meta'] = $meta;
572
  }
573
 
bp-core/classes/class-bp-button.php CHANGED
@@ -293,19 +293,12 @@ class BP_Button {
293
 
294
  // Always add 'generic-button' class.
295
  if ( false === strpos( $r['parent_attr']['class'], 'generic-button' ) ) {
296
- if ( ! is_array( $r['parent_attr'] ) ) {
297
- $r['parent_attr'] = array();
298
- }
299
  if ( ! empty( $r['parent_attr']['class'] ) ) {
300
  $r['parent_attr']['class'] .= ' ';
301
  }
302
  $r['parent_attr']['class'] .= 'generic-button';
303
  }
304
 
305
- // Set parent element props.
306
- $this->parent_element = $r['parent_element'];
307
- $this->parent_attr = $r['parent_attr'];
308
-
309
  // Render parent element attributes.
310
  $parent_elem = new BP_Core_HTML_Element( array(
311
  'element' => $r['parent_element'],
293
 
294
  // Always add 'generic-button' class.
295
  if ( false === strpos( $r['parent_attr']['class'], 'generic-button' ) ) {
 
 
 
296
  if ( ! empty( $r['parent_attr']['class'] ) ) {
297
  $r['parent_attr']['class'] .= ' ';
298
  }
299
  $r['parent_attr']['class'] .= 'generic-button';
300
  }
301
 
 
 
 
 
302
  // Render parent element attributes.
303
  $parent_elem = new BP_Core_HTML_Element( array(
304
  'element' => $r['parent_element'],
bp-core/classes/class-bp-core-bp-nav-backcompat.php CHANGED
@@ -180,7 +180,7 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
180
  * @since 2.6.0
181
  *
182
  * @param mixed $offset Array offset.
183
- * @return string|array
184
  */
185
  public function get_component( $offset = '' ) {
186
  if ( ! isset( $this->component ) ) {
180
  * @since 2.6.0
181
  *
182
  * @param mixed $offset Array offset.
183
+ * @return string
184
  */
185
  public function get_component( $offset = '' ) {
186
  if ( ! isset( $this->component ) ) {
bp-core/classes/class-bp-core-login-widget.php CHANGED
@@ -117,7 +117,7 @@ class BP_Core_Login_Widget extends WP_Widget {
117
 
118
  <?php if ( bp_get_signup_allowed() ) : ?>
119
 
120
- <span class="bp-login-widget-register-link"><a href="<?php echo esc_url( bp_get_signup_page() ); ?>"><?php _e( 'Register', 'buddypress' ); ?></a></span>
121
 
122
  <?php endif; ?>
123
 
117
 
118
  <?php if ( bp_get_signup_allowed() ) : ?>
119
 
120
+ <span class="bp-login-widget-register-link"><a href="<?php echo esc_url( bp_get_signup_page() ); ?>" title="<?php esc_attr_e( 'Register for a new account', 'buddypress' ); ?>"><?php _e( 'Register', 'buddypress' ); ?></a></span>
121
 
122
  <?php endif; ?>
123
 
bp-core/classes/class-bp-core-nav-item.php CHANGED
@@ -3,6 +3,8 @@
3
  // Exit if accessed directly.
4
  defined( 'ABSPATH' ) || exit;
5
 
 
 
6
  /**
7
  * Navigation item.
8
  *
@@ -13,3 +15,20 @@ class BP_Core_Nav_Item extends ArrayObject {
13
  parent::__construct( $data, ArrayObject::ARRAY_AS_PROPS );
14
  }
15
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  // Exit if accessed directly.
4
  defined( 'ABSPATH' ) || exit;
5
 
6
+ if ( class_exists( 'ArrayObject' ) ) :
7
+
8
  /**
9
  * Navigation item.
10
  *
15
  parent::__construct( $data, ArrayObject::ARRAY_AS_PROPS );
16
  }
17
  }
18
+
19
+ else :
20
+
21
+ /**
22
+ * Navigation item.
23
+ *
24
+ * @since 2.6.0
25
+ */
26
+ class BP_Core_Nav_Item {
27
+ public function __construct( $data ) {
28
+ foreach ( $data as $key => $value ) {
29
+ $this->key = $value;
30
+ }
31
+ }
32
+ }
33
+
34
+ endif;
bp-core/classes/class-bp-core-nav.php CHANGED
@@ -212,7 +212,7 @@ class BP_Core_Nav {
212
  *
213
  * @param string $slug The slug of the main item.
214
  * @param string $parent_slug The slug of the sub item.
215
- * @return false|callable|array False on failure, the screen function(s) on success.
216
  */
217
  public function delete_nav( $slug = '', $parent_slug = '' ) {
218
 
212
  *
213
  * @param string $slug The slug of the main item.
214
  * @param string $parent_slug The slug of the sub item.
215
+ * @return bool|callable|array False on failure, the screen function(s) on success.
216
  */
217
  public function delete_nav( $slug = '', $parent_slug = '' ) {
218
 
bp-core/classes/class-bp-core-oembed-extension.php CHANGED
@@ -53,8 +53,6 @@ abstract class BP_Core_oEmbed_Extension {
53
  * Add content for your oEmbed response here.
54
  *
55
  * @since 2.6.0
56
- *
57
- * @return null
58
  */
59
  abstract protected function content();
60
 
53
  * Add content for your oEmbed response here.
54
  *
55
  * @since 2.6.0
 
 
56
  */
57
  abstract protected function content();
58
 
bp-core/classes/class-bp-core-sort-by-key-callback.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Callback class for bp_sort_by_key().
5
+ *
6
+ * Used in place of an anonymous closure.
7
+ *
8
+ * Developers should not use this class directly, as it may be removed once support for PHP 5.2 is dropped.
9
+ *
10
+ * @ignore
11
+ *
12
+ * @since 2.5.0
13
+ */
14
+ class BP_Core_Sort_By_Key_Callback {
15
+ /**
16
+ * Object/array index to use for sorting.
17
+ *
18
+ * @since 2.5.0
19
+ * @var mixed
20
+ */
21
+ protected $key;
22
+
23
+ /**
24
+ * Sort type.
25
+ *
26
+ * @since 2.5.0
27
+ * @var string
28
+ */
29
+ protected $type;
30
+
31
+ /**
32
+ * Constructor.
33
+ *
34
+ * @since 2.5.0
35
+ *
36
+ * @param mixed $key Object or array index to use for sorting.
37
+ * @param string $type Sort type.
38
+ */
39
+ public function __construct( $key, $type ) {
40
+ $this->key = $key;
41
+ $this->type = $type;
42
+ }
43
+
44
+ /**
45
+ * Sort callback.
46
+ *
47
+ * @since 2.5.0
48
+ *
49
+ * @param $a object|array
50
+ * @param $b object|array
51
+ * @return int
52
+ */
53
+ public function sort_callback( $a, $b ) {
54
+ $values = array( 0 => false, 1 => false, );
55
+ $func_args = func_get_args();
56
+ foreach ( $func_args as $indexi => $index ) {
57
+ if ( isset( $index->{$this->key} ) ) {
58
+ $values[ $indexi ] = $index->{$this->key};
59
+ } elseif ( isset( $index[ $this->key ] ) ) {
60
+ $values[ $indexi ] = $index[ $this->key ];
61
+ }
62
+ }
63
+
64
+ if ( isset( $values[0], $values[1] ) ) {
65
+ if ( 'num' === $this->type ) {
66
+ $cmp = $values[0] - $values[1];
67
+ } else {
68
+ $cmp = strcmp( $values[0], $values[1] );
69
+ }
70
+
71
+ if ( 0 > $cmp ) {
72
+ $retval = -1;
73
+ } elseif ( 0 < $cmp ) {
74
+ $retval = 1;
75
+ } else {
76
+ $retval = 0;
77
+ }
78
+ return $retval;
79
+ } else {
80
+ return 0;
81
+ }
82
+ }
83
+ }
bp-core/classes/class-bp-core-user.php CHANGED
@@ -157,7 +157,7 @@ class BP_Core_User {
157
 
158
  $this->user_url = bp_core_get_user_domain( $this->id, $this->profile_data['user_nicename'], $this->profile_data['user_login'] );
159
  $this->fullname = esc_attr( $this->profile_data[$full_name_field_name]['field_data'] );
160
- $this->user_link = "<a href='{$this->user_url}'>{$this->fullname}</a>";
161
  $this->email = esc_attr( $this->profile_data['user_email'] );
162
  } else {
163
  $this->user_url = bp_core_get_user_domain( $this->id );
@@ -230,7 +230,7 @@ class BP_Core_User {
230
  * Default: false.
231
  * @param string|bool $meta_value See {@link BP_User_Query}.
232
  * Default: false.
233
- * @return false|array {
234
  * @type int $total_users Total number of users matched by query
235
  * params.
236
  * @type array $paged_users The current page of users matched by
@@ -439,7 +439,7 @@ class BP_Core_User {
439
  * @param bool $populate_extras If we should populate extra user fields.
440
  * @param string $exclude Comma-separated IDs of users whose results
441
  * aren't to be fetched.
442
- * @return false|array False on error, otherwise associative array of results.
443
  */
444
  public static function get_users_by_letter( $letter, $limit = null, $page = 1, $populate_extras = true, $exclude = '' ) {
445
  global $wpdb;
@@ -723,6 +723,16 @@ class BP_Core_User {
723
  }
724
  }
725
 
 
 
 
 
 
 
 
 
 
 
726
  // Fetch the user's last_activity.
727
  if ( 'active' != $type ) {
728
  $user_activity = $wpdb->get_results( $wpdb->prepare( "SELECT user_id as id, meta_value as last_activity FROM {$wpdb->usermeta} WHERE meta_key = %s AND user_id IN ( {$user_ids} )", bp_get_user_meta_key( 'last_activity' ) ) );
@@ -767,7 +777,7 @@ class BP_Core_User {
767
  * Get last activity data for a user or set of users.
768
  *
769
  * @param int|array $user_id User IDs or multiple user IDs.
770
- * @return false|array
771
  */
772
  public static function get_last_activity( $user_id ) {
773
  global $wpdb;
157
 
158
  $this->user_url = bp_core_get_user_domain( $this->id, $this->profile_data['user_nicename'], $this->profile_data['user_login'] );
159
  $this->fullname = esc_attr( $this->profile_data[$full_name_field_name]['field_data'] );
160
+ $this->user_link = "<a href='{$this->user_url}' title='{$this->fullname}'>{$this->fullname}</a>";
161
  $this->email = esc_attr( $this->profile_data['user_email'] );
162
  } else {
163
  $this->user_url = bp_core_get_user_domain( $this->id );
230
  * Default: false.
231
  * @param string|bool $meta_value See {@link BP_User_Query}.
232
  * Default: false.
233
+ * @return array {
234
  * @type int $total_users Total number of users matched by query
235
  * params.
236
  * @type array $paged_users The current page of users matched by
439
  * @param bool $populate_extras If we should populate extra user fields.
440
  * @param string $exclude Comma-separated IDs of users whose results
441
  * aren't to be fetched.
442
+ * @return mixed False on error, otherwise associative array of results.
443
  */
444
  public static function get_users_by_letter( $letter, $limit = null, $page = 1, $populate_extras = true, $exclude = '' ) {
445
  global $wpdb;
723
  }
724
  }
725
 
726
+ if ( 'active' != $type ) {
727
+ $user_activity = $wpdb->get_results( $wpdb->prepare( "SELECT user_id as id, meta_value as last_activity FROM {$wpdb->usermeta} WHERE meta_key = %s AND user_id IN ( {$user_ids} )", bp_get_user_meta_key( 'last_activity' ) ) );
728
+ for ( $i = 0, $count = count( $paged_users ); $i < $count; ++$i ) {
729
+ foreach ( (array) $user_activity as $activity ) {
730
+ if ( $activity->id == $paged_users[$i]->id )
731
+ $paged_users[$i]->last_activity = $activity->last_activity;
732
+ }
733
+ }
734
+ }
735
+
736
  // Fetch the user's last_activity.
737
  if ( 'active' != $type ) {
738
  $user_activity = $wpdb->get_results( $wpdb->prepare( "SELECT user_id as id, meta_value as last_activity FROM {$wpdb->usermeta} WHERE meta_key = %s AND user_id IN ( {$user_ids} )", bp_get_user_meta_key( 'last_activity' ) ) );
777
  * Get last activity data for a user or set of users.
778
  *
779
  * @param int|array $user_id User IDs or multiple user IDs.
780
+ * @return array
781
  */
782
  public static function get_last_activity( $user_id ) {
783
  global $wpdb;
bp-core/classes/class-bp-core.php CHANGED
@@ -254,8 +254,10 @@ class BP_Core extends BP_Component {
254
  $bp->core->table_name_notifications = $bp->table_prefix . 'bp_notifications';
255
 
256
  // Backward compatibility for plugins modifying the legacy bp_nav and bp_options_nav global properties.
257
- $bp->bp_nav = new BP_Core_BP_Nav_BackCompat();
258
- $bp->bp_options_nav = new BP_Core_BP_Options_Nav_BackCompat();
 
 
259
 
260
  /**
261
  * Used to determine if user has admin rights on current content. If the
254
  $bp->core->table_name_notifications = $bp->table_prefix . 'bp_notifications';
255
 
256
  // Backward compatibility for plugins modifying the legacy bp_nav and bp_options_nav global properties.
257
+ if ( buddypress()->do_nav_backcompat ) {
258
+ $bp->bp_nav = new BP_Core_BP_Nav_BackCompat();
259
+ $bp->bp_options_nav = new BP_Core_BP_Options_Nav_BackCompat();
260
+ }
261
 
262
  /**
263
  * Used to determine if user has admin rights on current content. If the
bp-core/classes/class-bp-media-extractor.php CHANGED
@@ -469,7 +469,7 @@ class BP_Media_Extractor {
469
  if ( ! empty( $matches[2] ) ) {
470
  foreach ( $matches[2] as $i => $shortcode_name ) {
471
  $attrs = shortcode_parse_atts( $matches[3][ $i ] );
472
- $attrs = ( ! $attrs ) ? array() : (array) $attrs;
473
 
474
  $shortcode = array();
475
  $shortcode['attributes'] = $attrs; // Attributes.
469
  if ( ! empty( $matches[2] ) ) {
470
  foreach ( $matches[2] as $i => $shortcode_name ) {
471
  $attrs = shortcode_parse_atts( $matches[3][ $i ] );
472
+ $attrs = ( ! $attrs ) ? array() : $attrs;
473
 
474
  $shortcode = array();
475
  $shortcode['attributes'] = $attrs; // Attributes.
bp-core/classes/class-bp-phpmailer.php CHANGED
@@ -27,18 +27,7 @@ class BP_PHPMailer implements BP_Email_Delivery {
27
  public function bp_email( BP_Email $email ) {
28
  static $phpmailer = null;
29
 
30
- /**
31
- * Filter PHPMailer object to use.
32
- *
33
- * Specify an alternative version of PHPMailer to use instead of WordPress' default.
34
- *
35
- * @since 2.8.0
36
- *
37
- * @param null|PHPMailer $phpmailer The phpmailer class.
38
- */
39
- $phpmailer = apply_filters( 'bp_phpmailer_object', $phpmailer );
40
-
41
- if ( ! ( $phpmailer instanceof PHPMailer ) ) {
42
  if ( ! class_exists( 'PHPMailer' ) ) {
43
  require_once ABSPATH . WPINC . '/class-phpmailer.php';
44
  require_once ABSPATH . WPINC . '/class-smtp.php';
@@ -51,7 +40,7 @@ class BP_PHPMailer implements BP_Email_Delivery {
51
  /*
52
  * Resets.
53
  */
54
- $phpmailer->MessageDate = date( 'D, j M Y H:i:s O' );
55
  $phpmailer->clearAllRecipients();
56
  $phpmailer->clearAttachments();
57
  $phpmailer->clearCustomHeaders();
27
  public function bp_email( BP_Email $email ) {
28
  static $phpmailer = null;
29
 
30
+ if ( $phpmailer === null ) {
 
 
 
 
 
 
 
 
 
 
 
31
  if ( ! class_exists( 'PHPMailer' ) ) {
32
  require_once ABSPATH . WPINC . '/class-phpmailer.php';
33
  require_once ABSPATH . WPINC . '/class-smtp.php';
40
  /*
41
  * Resets.
42
  */
43
+
44
  $phpmailer->clearAllRecipients();
45
  $phpmailer->clearAttachments();
46
  $phpmailer->clearCustomHeaders();
bp-core/classes/class-bp-user-query.php CHANGED
@@ -247,7 +247,7 @@ class BP_User_Query {
247
  // Setup the main SQL query container.
248
  $sql = array(
249
  'select' => '',
250
- 'where' => array('1=1'),
251
  'orderby' => '',
252
  'order' => '',
253
  'limit' => ''
247
  // Setup the main SQL query container.
248
  $sql = array(
249
  'select' => '',
250
+ 'where' => array(),
251
  'orderby' => '',
252
  'order' => '',
253
  'limit' => ''
bp-core/classes/class-bp-walker-nav-menu.php CHANGED
@@ -55,7 +55,9 @@ class BP_Walker_Nav_Menu extends Walker_Nav_Menu {
55
  * @return string See {@link Walker::walk()}.
56
  */
57
  public function walk( $elements, $max_depth ) {
58
- $args = array_slice( func_get_args(), 2 );
 
 
59
  $output = '';
60
 
61
  if ( $max_depth < -1 ) // Invalid parameter.
55
  * @return string See {@link Walker::walk()}.
56
  */
57
  public function walk( $elements, $max_depth ) {
58
+ $func_args = func_get_args();
59
+
60
+ $args = array_slice( $func_args, 2 );
61
  $output = '';
62
 
63
  if ( $max_depth < -1 ) // Invalid parameter.
bp-core/css/admin-bar-rtl.css CHANGED
@@ -16,7 +16,6 @@
16
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul {
17
  right: 0;
18
  }
19
-
20
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul {
21
  right: 0;
22
  }
@@ -25,13 +24,13 @@
25
  #wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,
26
  #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count,
27
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
28
- background: #21759b;
29
  color: #fff;
30
  text-shadow: none;
31
  display: inline;
32
  padding: 2px 5px;
33
  font-size: 10px;
34
- font-weight: 700;
35
  -moz-border-radius: 10px;
36
  -khtml-border-radius: 10px;
37
  -webkit-border-radius: 10px;
@@ -41,16 +40,16 @@
41
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
42
  background: #ddd;
43
  color: #333;
44
- margin: 0;
45
  }
46
 
47
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert {
48
- background-color: #21759b;
49
  color: #fff;
50
  }
51
 
52
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a {
53
- padding: 0 0.5em;
54
  }
55
 
56
  #wp-admin-bar-user-info img.avatar {
@@ -66,7 +65,6 @@
66
  }
67
 
68
  @media screen and (max-width: 600px) {
69
-
70
  #wpadminbar .wp-admin-bar-arrow-right {
71
  display: block;
72
  }
16
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul {
17
  right: 0;
18
  }
 
19
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul {
20
  right: 0;
21
  }
24
  #wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,
25
  #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count,
26
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
27
+ background: #21759B;
28
  color: #fff;
29
  text-shadow: none;
30
  display: inline;
31
  padding: 2px 5px;
32
  font-size: 10px;
33
+ font-weight: bold;
34
  -moz-border-radius: 10px;
35
  -khtml-border-radius: 10px;
36
  -webkit-border-radius: 10px;
40
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
41
  background: #ddd;
42
  color: #333;
43
+ margin: 0
44
  }
45
 
46
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert {
47
+ background-color: #1fb3dd;
48
  color: #fff;
49
  }
50
 
51
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a {
52
+ padding: 0 .5em;
53
  }
54
 
55
  #wp-admin-bar-user-info img.avatar {
65
  }
66
 
67
  @media screen and (max-width: 600px) {
 
68
  #wpadminbar .wp-admin-bar-arrow-right {
69
  display: block;
70
  }
bp-core/css/admin-bar-rtl.min.css CHANGED
@@ -1 +1 @@
1
- #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759b;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#21759b;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}}
1
+ #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}}
bp-core/css/admin-bar.css CHANGED
@@ -16,7 +16,6 @@
16
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul {
17
  left: 0;
18
  }
19
-
20
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul {
21
  left: 0;
22
  }
@@ -25,13 +24,13 @@
25
  #wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,
26
  #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count,
27
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
28
- background: #21759b;
29
  color: #fff;
30
  text-shadow: none;
31
  display: inline;
32
  padding: 2px 5px;
33
  font-size: 10px;
34
- font-weight: 700;
35
  -moz-border-radius: 10px;
36
  -khtml-border-radius: 10px;
37
  -webkit-border-radius: 10px;
@@ -41,16 +40,16 @@
41
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
42
  background: #ddd;
43
  color: #333;
44
- margin: 0;
45
  }
46
 
47
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert {
48
- background-color: #21759b;
49
  color: #fff;
50
  }
51
 
52
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a {
53
- padding: 0 0.5em;
54
  }
55
 
56
  #wp-admin-bar-user-info img.avatar {
@@ -66,7 +65,6 @@
66
  }
67
 
68
  @media screen and (max-width: 600px) {
69
-
70
  #wpadminbar .wp-admin-bar-arrow-right {
71
  display: block;
72
  }
16
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul {
17
  left: 0;
18
  }
 
19
  #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul {
20
  left: 0;
21
  }
24
  #wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,
25
  #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count,
26
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
27
+ background: #21759B;
28
  color: #fff;
29
  text-shadow: none;
30
  display: inline;
31
  padding: 2px 5px;
32
  font-size: 10px;
33
+ font-weight: bold;
34
  -moz-border-radius: 10px;
35
  -khtml-border-radius: 10px;
36
  -webkit-border-radius: 10px;
40
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
41
  background: #ddd;
42
  color: #333;
43
+ margin: 0
44
  }
45
 
46
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert {
47
+ background-color: #1fb3dd;
48
  color: #fff;
49
  }
50
 
51
  #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications > a {
52
+ padding: 0 .5em;
53
  }
54
 
55
  #wp-admin-bar-user-info img.avatar {
65
  }
66
 
67
  @media screen and (max-width: 600px) {
 
68
  #wpadminbar .wp-admin-bar-arrow-right {
69
  display: block;
70
  }
bp-core/css/admin-bar.min.css CHANGED
@@ -1 +1 @@
1
- #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759b;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#21759b;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}}
1
+ #wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}}
bp-core/css/avatar-rtl.css CHANGED
@@ -30,7 +30,7 @@ div.bp-cover-image-status .bp-progress {
30
  border: 1px solid #d1d1d1;
31
  float: left;
32
  height: 22px;
33
- line-height: 2;
34
  margin: 6px 0 0 10px;
35
  margin-bottom: 2px;
36
  padding: 0;
@@ -55,7 +55,6 @@ div.bp-cover-image-status .bp-bar {
55
  padding: 10px 15px;
56
  }
57
 
58
- /* stylelint-disable selector-id-pattern */
59
  #buddypress p.warning,
60
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,
61
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
@@ -67,12 +66,11 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
67
  margin: 1em 0;
68
  padding: 10px 15px;
69
  }
70
- /* stylelint-enable */
71
 
72
  div.bp-avatar-nav {
73
  background: transparent;
74
  clear: both;
75
- margin: 10px 0;
76
  overflow: hidden;
77
  }
78
 
@@ -119,7 +117,7 @@ div.bp-avatar-nav {
119
  .bp-avatar-nav li.current a {
120
  background: none;
121
  color: inherit;
122
- font-weight: 700;
123
  opacity: 0.8;
124
  outline: 0;
125
  }
@@ -147,10 +145,6 @@ div.bp-avatar-nav {
147
  text-align: inherit;
148
  }
149
 
150
- .moxie-shim.moxie-shim-html5 input {
151
- cursor: pointer;
152
- }
153
-
154
  .drag-drop #drag-drop-area {
155
  box-sizing: border-box;
156
  display: table;
@@ -181,8 +175,14 @@ div.bp-avatar-nav {
181
  margin-top: 0;
182
  }
183
 
 
 
 
 
 
 
184
  #avatar-to-crop {
185
- margin: 0 auto 20px;
186
  text-align: right;
187
  }
188
 
@@ -222,7 +222,6 @@ div.bp-avatar-nav {
222
  }
223
 
224
  @media screen and (min-width: 801px) {
225
-
226
  #bp-webcam-avatar #avatar-to-crop {
227
  max-width: 64%;
228
  width: 64%;
@@ -235,7 +234,7 @@ div.bp-avatar-nav {
235
 
236
  #bp-webcam-avatar #avatar-crop-actions {
237
  float: right;
238
- margin: 0 0 20px;
239
  width: 50%;
240
  }
241
 
@@ -300,7 +299,7 @@ div.bp-avatar-nav {
300
  }
301
 
302
  .bp-avatar .item {
303
- overflow: hidden;
304
  }
305
 
306
  .bp-avatar .avatar-crop-management.adjust {
@@ -325,7 +324,7 @@ div.bp-avatar-nav {
325
  margin: 0 auto 10px;
326
  }
327
 
328
- #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions {
329
  width: auto;
330
  }
331
 
@@ -350,9 +349,7 @@ div.bp-avatar-nav {
350
 
351
  }
352
 
353
-
354
  /** Admin Profile **/
355
- /* stylelint-disable selector-id-pattern */
356
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent,
357
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent {
358
  height: 95% !important;
@@ -371,11 +368,9 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
371
  float: right;
372
  margin: 0;
373
  }
374
-
375
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
376
  margin-bottom: 20px;
377
  }
378
-
379
  @media screen and (min-width: 783px) {
380
 
381
  .wp-admin #TB_window .bp-avatar .avatar-crop-management {
@@ -390,8 +385,8 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
390
  }
391
 
392
  .wp-admin #TB_window .bp-avatar #avatar-to-crop video {
393
- width: 100%;
394
- }
395
 
396
  .wp-admin #TB_window .bp-avatar .avatar-crop-management a.button {
397
  height: auto;
@@ -399,7 +394,6 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
399
  }
400
 
401
  @media screen and (min-width: 810px) {
402
-
403
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
404
  max-width: none;
405
  width: 76%;
@@ -410,4 +404,3 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
410
  width: auto;
411
  }
412
  }
413
- /* stylelint-enable */
30
  border: 1px solid #d1d1d1;
31
  float: left;
32
  height: 22px;
33
+ line-height: 2em;
34
  margin: 6px 0 0 10px;
35
  margin-bottom: 2px;
36
  padding: 0;
55
  padding: 10px 15px;
56
  }
57
 
 
58
  #buddypress p.warning,
59
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,
60
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
66
  margin: 1em 0;
67
  padding: 10px 15px;
68
  }
 
69
 
70
  div.bp-avatar-nav {
71
  background: transparent;
72
  clear: both;
73
+ margin: 10px 0 10px;
74
  overflow: hidden;
75
  }
76
 
117
  .bp-avatar-nav li.current a {
118
  background: none;
119
  color: inherit;
120
+ font-weight: bold;
121
  opacity: 0.8;
122
  outline: 0;
123
  }
145
  text-align: inherit;
146
  }
147
 
 
 
 
 
148
  .drag-drop #drag-drop-area {
149
  box-sizing: border-box;
150
  display: table;
175
  margin-top: 0;
176
  }
177
 
178
+ @supports (-ms-accelerator:true) {
179
+ .drag-drop-inside p.drag-drop-info {
180
+ display: block;
181
+ }
182
+ }
183
+
184
  #avatar-to-crop {
185
+ margin: 0 auto 20px ;
186
  text-align: right;
187
  }
188
 
222
  }
223
 
224
  @media screen and (min-width: 801px) {
 
225
  #bp-webcam-avatar #avatar-to-crop {
226
  max-width: 64%;
227
  width: 64%;
234
 
235
  #bp-webcam-avatar #avatar-crop-actions {
236
  float: right;
237
+ margin: 0 0 20px 0;
238
  width: 50%;
239
  }
240
 
299
  }
300
 
301
  .bp-avatar .item {
302
+ overflow:hidden;
303
  }
304
 
305
  .bp-avatar .avatar-crop-management.adjust {
324
  margin: 0 auto 10px;
325
  }
326
 
327
+ #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions {
328
  width: auto;
329
  }
330
 
349
 
350
  }
351
 
 
352
  /** Admin Profile **/
 
353
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent,
354
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent {
355
  height: 95% !important;
368
  float: right;
369
  margin: 0;
370
  }
 
371
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
372
  margin-bottom: 20px;
373
  }
 
374
  @media screen and (min-width: 783px) {
375
 
376
  .wp-admin #TB_window .bp-avatar .avatar-crop-management {
385
  }
386
 
387
  .wp-admin #TB_window .bp-avatar #avatar-to-crop video {
388
+ width: 100%;
389
+ }
390
 
391
  .wp-admin #TB_window .bp-avatar .avatar-crop-management a.button {
392
  height: auto;
394
  }
395
 
396
  @media screen and (min-width: 810px) {
 
397
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
398
  max-width: none;
399
  width: 76%;
404
  width: auto;
405
  }
406
  }
 
bp-core/css/avatar-rtl.min.css CHANGED
@@ -1 +1 @@
1
- div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:left;height:22px;line-height:2;margin:6px 0 0 10px;margin-bottom:2px;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:right!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-right-radius:4px;border-top-left-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.moxie-shim.moxie-shim-html5 input{cursor:pointer}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}#avatar-to-crop{margin:0 auto 20px;text-align:right}#bp-webcam-avatar #avatar-to-crop{float:right;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:right;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:right;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:right;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:right;float:left;margin:0 0 10px 40px;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-right:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:right;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:right;margin-left:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:left}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:right;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:right;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:right;margin-right:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}}
1
+ div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:left;height:22px;line-height:2em;margin:6px 0 2px 10px;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:right!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-right-radius:4px;border-top-left-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:right}#bp-webcam-avatar #avatar-to-crop{float:right;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:right;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:right;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:right;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:right;float:left;margin:0 0 10px 40px;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-right:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:right;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:right;margin-left:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:left}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:right;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:right;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:right;margin-right:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}}
bp-core/css/avatar.css CHANGED
@@ -30,7 +30,7 @@ div.bp-cover-image-status .bp-progress {
30
  border: 1px solid #d1d1d1;
31
  float: right;
32
  height: 22px;
33
- line-height: 2;
34
  margin: 6px 10px 0 0;
35
  margin-bottom: 2px;
36
  padding: 0;
@@ -55,7 +55,6 @@ div.bp-cover-image-status .bp-bar {
55
  padding: 10px 15px;
56
  }
57
 
58
- /* stylelint-disable selector-id-pattern */
59
  #buddypress p.warning,
60
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,
61
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
@@ -67,12 +66,11 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
67
  margin: 1em 0;
68
  padding: 10px 15px;
69
  }
70
- /* stylelint-enable */
71
 
72
  div.bp-avatar-nav {
73
  background: transparent;
74
  clear: both;
75
- margin: 10px 0;
76
  overflow: hidden;
77
  }
78
 
@@ -119,7 +117,7 @@ div.bp-avatar-nav {
119
  .bp-avatar-nav li.current a {
120
  background: none;
121
  color: inherit;
122
- font-weight: 700;
123
  opacity: 0.8;
124
  outline: 0;
125
  }
@@ -147,10 +145,6 @@ div.bp-avatar-nav {
147
  text-align: inherit;
148
  }
149
 
150
- .moxie-shim.moxie-shim-html5 input {
151
- cursor: pointer;
152
- }
153
-
154
  .drag-drop #drag-drop-area {
155
  box-sizing: border-box;
156
  display: table;
@@ -181,8 +175,14 @@ div.bp-avatar-nav {
181
  margin-top: 0;
182
  }
183
 
 
 
 
 
 
 
184
  #avatar-to-crop {
185
- margin: 0 auto 20px;
186
  text-align: left;
187
  }
188
 
@@ -222,7 +222,6 @@ div.bp-avatar-nav {
222
  }
223
 
224
  @media screen and (min-width: 801px) {
225
-
226
  #bp-webcam-avatar #avatar-to-crop {
227
  max-width: 64%;
228
  width: 64%;
@@ -235,7 +234,7 @@ div.bp-avatar-nav {
235
 
236
  #bp-webcam-avatar #avatar-crop-actions {
237
  float: left;
238
- margin: 0 0 20px;
239
  width: 50%;
240
  }
241
 
@@ -300,7 +299,7 @@ div.bp-avatar-nav {
300
  }
301
 
302
  .bp-avatar .item {
303
- overflow: hidden;
304
  }
305
 
306
  .bp-avatar .avatar-crop-management.adjust {
@@ -325,7 +324,7 @@ div.bp-avatar-nav {
325
  margin: 0 auto 10px;
326
  }
327
 
328
- #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions {
329
  width: auto;
330
  }
331
 
@@ -350,9 +349,7 @@ div.bp-avatar-nav {
350
 
351
  }
352
 
353
-
354
  /** Admin Profile **/
355
- /* stylelint-disable selector-id-pattern */
356
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent,
357
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent {
358
  height: 95% !important;
@@ -371,11 +368,9 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
371
  float: left;
372
  margin: 0;
373
  }
374
-
375
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
376
  margin-bottom: 20px;
377
  }
378
-
379
  @media screen and (min-width: 783px) {
380
 
381
  .wp-admin #TB_window .bp-avatar .avatar-crop-management {
@@ -390,8 +385,8 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
390
  }
391
 
392
  .wp-admin #TB_window .bp-avatar #avatar-to-crop video {
393
- width: 100%;
394
- }
395
 
396
  .wp-admin #TB_window .bp-avatar .avatar-crop-management a.button {
397
  height: auto;
@@ -399,7 +394,6 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
399
  }
400
 
401
  @media screen and (min-width: 810px) {
402
-
403
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
404
  max-width: none;
405
  width: 76%;
@@ -410,4 +404,3 @@ body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
410
  width: auto;
411
  }
412
  }
413
- /* stylelint-enable */
30
  border: 1px solid #d1d1d1;
31
  float: right;
32
  height: 22px;
33
+ line-height: 2em;
34
  margin: 6px 10px 0 0;
35
  margin-bottom: 2px;
36
  padding: 0;
55
  padding: 10px 15px;
56
  }
57
 
 
58
  #buddypress p.warning,
59
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,
60
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning {
66
  margin: 1em 0;
67
  padding: 10px 15px;
68
  }
 
69
 
70
  div.bp-avatar-nav {
71
  background: transparent;
72
  clear: both;
73
+ margin: 10px 0 10px;
74
  overflow: hidden;
75
  }
76
 
117
  .bp-avatar-nav li.current a {
118
  background: none;
119
  color: inherit;
120
+ font-weight: bold;
121
  opacity: 0.8;
122
  outline: 0;
123
  }
145
  text-align: inherit;
146
  }
147
 
 
 
 
 
148
  .drag-drop #drag-drop-area {
149
  box-sizing: border-box;
150
  display: table;
175
  margin-top: 0;
176
  }
177
 
178
+ @supports (-ms-accelerator:true) {
179
+ .drag-drop-inside p.drag-drop-info {
180
+ display: block;
181
+ }
182
+ }
183
+
184
  #avatar-to-crop {
185
+ margin: 0 auto 20px ;
186
  text-align: left;
187
  }
188
 
222
  }
223
 
224
  @media screen and (min-width: 801px) {
 
225
  #bp-webcam-avatar #avatar-to-crop {
226
  max-width: 64%;
227
  width: 64%;
234
 
235
  #bp-webcam-avatar #avatar-crop-actions {
236
  float: left;
237
+ margin: 0 0 20px 0;
238
  width: 50%;
239
  }
240
 
299
  }
300
 
301
  .bp-avatar .item {
302
+ overflow:hidden;
303
  }
304
 
305
  .bp-avatar .avatar-crop-management.adjust {
324
  margin: 0 auto 10px;
325
  }
326
 
327
+ #bp-webcam-avatar .avatar-crop-management #avatar-crop-actions {
328
  width: auto;
329
  }
330
 
349
 
350
  }
351
 
 
352
  /** Admin Profile **/
 
353
  body.users_page_bp-profile-edit.modal-open #TB_ajaxContent,
354
  body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent {
355
  height: 95% !important;
368
  float: left;
369
  margin: 0;
370
  }
 
371
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
372
  margin-bottom: 20px;
373
  }
 
374
  @media screen and (min-width: 783px) {
375
 
376
  .wp-admin #TB_window .bp-avatar .avatar-crop-management {
385
  }
386
 
387
  .wp-admin #TB_window .bp-avatar #avatar-to-crop video {
388
+ width: 100%;
389
+ }
390
 
391
  .wp-admin #TB_window .bp-avatar .avatar-crop-management a.button {
392
  height: auto;
394
  }
395
 
396
  @media screen and (min-width: 810px) {
 
397
  .wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop {
398
  max-width: none;
399
  width: 76%;
404
  width: auto;
405
  }
406
  }
 
bp-core/css/avatar.min.css CHANGED
@@ -1 +1 @@
1
- div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:right;height:22px;line-height:2;margin:6px 10px 0 0;margin-bottom:2px;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:left!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.moxie-shim.moxie-shim-html5 input{cursor:pointer}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}#avatar-to-crop{margin:0 auto 20px;text-align:left}#bp-webcam-avatar #avatar-to-crop{float:left;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:left;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:left;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:left;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:left;float:right;margin:0 40px 10px 0;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-left:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:left;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:left;margin-right:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:right}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:left;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:left;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:left;margin-left:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}}
1
+ div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:right;height:22px;line-height:2em;margin:6px 10px 2px 0;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:left!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:left}#bp-webcam-avatar #avatar-to-crop{float:left;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:left;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:left;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:left;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:left;float:right;margin:0 40px 10px 0;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-left:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:left;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:left;margin-right:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:right}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:left;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:left;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:left;margin-left:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}}
bp-core/css/buddybar-rtl.css CHANGED
@@ -1,7 +1,6 @@
1
  body:not(.wp-admin) {
2
  padding-top: 25px !important;
3
  }
4
-
5
  #wp-admin-bar {
6
  position: fixed;
7
  top: 0;
@@ -11,76 +10,63 @@ body:not(.wp-admin) {
11
  width: 100%;
12
  z-index: 9999;
13
  }
14
-
15
  #wp-admin-bar .padder {
16
  position: relative;
17
  padding: 0;
18
  width: 100%;
19
  margin: 0 auto;
20
- background: url(../images/60pc_black.png);
21
  height: 25px;
22
  }
23
-
24
  body#bp-default #wp-admin-bar .padder {
25
  max-width: 1250px;
26
  }
27
-
28
  #wp-admin-bar * {
29
  z-index: 999;
30
  }
31
-
32
  #wp-admin-bar div#admin-bar-logo {
33
  position: absolute;
34
  top: 5px;
35
  right: 10px;
36
  }
37
-
38
  #wp-admin-bar a img {
39
  border: none;
40
  }
41
-
42
  #wp-admin-bar li {
43
  list-style: none;
44
  margin: 0;
45
  padding: 0;
46
- line-height: 1;
47
  text-align: right;
48
  }
49
-
50
  #wp-admin-bar li a {
51
- padding: 7px 15px;
52
  color: #eee;
53
  text-decoration: none;
54
  font-size: 11px;
55
  }
56
-
57
  #wp-admin-bar li.alt {
58
  border: none;
59
  }
60
-
61
  #wp-admin-bar li.no-arrow a {
62
  padding-left: 15px;
63
  }
64
-
65
  #wp-admin-bar ul li ul li a span {
66
  display: none;
67
  }
68
-
69
  #wp-admin-bar li:hover,
70
  #wp-admin-bar li.hover {
71
  position: static;
72
  }
73
-
74
  #admin-bar-logo {
75
  float: right;
76
- font-weight: 700;
77
  font-size: 11px;
78
  padding: 5px 8px;
79
  margin: 0;
80
  text-decoration: none;
81
  color: #fff;
82
  }
83
-
84
  body#bp-default #admin-bar-logo {
85
  padding: 2px 8px;
86
  }
@@ -100,28 +86,23 @@ body#bp-default #admin-bar-logo {
100
  padding: 0;
101
  float: right;
102
  position: relative;
103
- background: url(../images/admin-menu-arrow.gif) 12% 53% no-repeat;
104
  padding-left: 11px;
105
  }
106
-
107
  #wp-admin-bar ul li.no-arrow {
108
  background: none;
109
  padding-left: 0;
110
  }
111
-
112
  #wp-admin-bar ul li ul li {
113
  background-image: none;
114
  }
115
-
116
  #wp-admin-bar ul li.align-right {
117
  position: absolute;
118
  left: 0;
119
  }
120
-
121
  #wp-admin-bar ul li a {
122
  display: block;
123
  }
124
-
125
  #wp-admin-bar ul.main-nav li:hover,
126
  #wp-admin-bar ul.main-nav li.sfhover,
127
  #wp-admin-bar ul.main-nav li ul li.sfhover {
@@ -145,29 +126,23 @@ body#bp-default #admin-bar-logo {
145
  -moz-border-radius-topleft: 0;
146
  -webkit-border-top-left-radius: 0;
147
  }
148
-
149
  #wp-admin-bar ul li > ul {
150
  border-top: none;
151
  }
152
-
153
  #wp-admin-bar ul li ul a {
154
  color: #eee;
155
  }
156
-
157
  #wp-admin-bar ul li ul li {
158
  float: right;
159
  width: 174px;
160
  margin: 0;
161
  }
162
-
163
  #wp-admin-bar ul li ul li:hover a {
164
  color: #fff;
165
  }
166
-
167
  #wp-admin-bar ul li div.admin-bar-clear {
168
  clear: both;
169
  }
170
-
171
  #wp-admin-bar ul.main-nav li ul li:hover,
172
  #wp-admin-bar ul.main-nav li ul li.sfhover,
173
  #wp-admin-bar ul.main-nav li ul li.sfhover {
@@ -180,26 +155,21 @@ body#bp-default #admin-bar-logo {
180
  -moz-border-radius: 3px;
181
  -webkit-border-radius: 3px;
182
  }
183
-
184
  #wp-admin-bar ul li ul li:hover ul li a {
185
  color: #eee;
186
  }
187
-
188
  #wp-admin-bar ul li ul li ul li:hover a {
189
  color: #fff;
190
  }
191
-
192
  #wp-admin-bar ul li:hover ul,
193
  #wp-admin-bar ul li ul li:hover ul,
194
  #wp-admin-bar ul li.sfhover ul,
195
  #wp-admin-bar ul li ul li.sfhover ul {
196
  right: auto;
197
  }
198
-
199
  #wp-admin-bar ul li.align-right:hover ul {
200
  left: 0;
201
  }
202
-
203
  #wp-admin-bar ul li:hover ul ul,
204
  #wp-admin-bar li.sfhover ul li ul {
205
  right: -999em;
@@ -210,17 +180,14 @@ body#bp-default #admin-bar-logo {
210
  float: right;
211
  margin-left: 8px;
212
  }
213
-
214
  #wp-admin-bar span.activity {
215
  display: block;
216
  margin-right: 34px;
217
  padding: 0;
218
  }
219
-
220
  #wp-admin-bar ul.author-list li a {
221
  height: 17px;
222
  }
223
-
224
  #wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
225
  padding: 0 6px;
226
  margin-right: 2px;
@@ -230,7 +197,6 @@ body#bp-default #admin-bar-logo {
230
  -webkit-border-radius: 3px;
231
  border-radius: 3px;
232
  }
233
-
234
  #wp-admin-bar-user-info img.avatar {
235
  height: 64px;
236
  width: 64px;
1
  body:not(.wp-admin) {
2
  padding-top: 25px !important;
3
  }
 
4
  #wp-admin-bar {
5
  position: fixed;
6
  top: 0;
10
  width: 100%;
11
  z-index: 9999;
12
  }
 
13
  #wp-admin-bar .padder {
14
  position: relative;
15
  padding: 0;
16
  width: 100%;
17
  margin: 0 auto;
18
+ background: url('../images/60pc_black.png');
19
  height: 25px;
20
  }
 
21
  body#bp-default #wp-admin-bar .padder {
22
  max-width: 1250px;
23
  }
 
24
  #wp-admin-bar * {
25
  z-index: 999;
26
  }
 
27
  #wp-admin-bar div#admin-bar-logo {
28
  position: absolute;
29
  top: 5px;
30
  right: 10px;
31
  }
 
32
  #wp-admin-bar a img {
33
  border: none;
34
  }
 
35
  #wp-admin-bar li {
36
  list-style: none;
37
  margin: 0;
38
  padding: 0;
39
+ line-height: 100%;
40
  text-align: right;
41
  }
 
42
  #wp-admin-bar li a {
43
+ padding: 7px 15px 7px 15px;
44
  color: #eee;
45
  text-decoration: none;
46
  font-size: 11px;
47
  }
 
48
  #wp-admin-bar li.alt {
49
  border: none;
50
  }
 
51
  #wp-admin-bar li.no-arrow a {
52
  padding-left: 15px;
53
  }
 
54
  #wp-admin-bar ul li ul li a span {
55
  display: none;
56
  }
 
57
  #wp-admin-bar li:hover,
58
  #wp-admin-bar li.hover {
59
  position: static;
60
  }
 
61
  #admin-bar-logo {
62
  float: right;
63
+ font-weight: bold;
64
  font-size: 11px;
65
  padding: 5px 8px;
66
  margin: 0;
67
  text-decoration: none;
68
  color: #fff;
69
  }
 
70
  body#bp-default #admin-bar-logo {
71
  padding: 2px 8px;
72
  }
86
  padding: 0;
87
  float: right;
88
  position: relative;
89
+ background: url('../images/admin-menu-arrow.gif') 88% 53% no-repeat;
90
  padding-left: 11px;
91
  }
 
92
  #wp-admin-bar ul li.no-arrow {
93
  background: none;
94
  padding-left: 0;
95
  }
 
96
  #wp-admin-bar ul li ul li {
97
  background-image: none;
98
  }
 
99
  #wp-admin-bar ul li.align-right {
100
  position: absolute;
101
  left: 0;
102
  }
 
103
  #wp-admin-bar ul li a {
104
  display: block;
105
  }
 
106
  #wp-admin-bar ul.main-nav li:hover,
107
  #wp-admin-bar ul.main-nav li.sfhover,
108
  #wp-admin-bar ul.main-nav li ul li.sfhover {
126
  -moz-border-radius-topleft: 0;
127
  -webkit-border-top-left-radius: 0;
128
  }
 
129
  #wp-admin-bar ul li > ul {
130
  border-top: none;
131
  }
 
132
  #wp-admin-bar ul li ul a {
133
  color: #eee;
134
  }
 
135
  #wp-admin-bar ul li ul li {
136
  float: right;
137
  width: 174px;
138
  margin: 0;
139
  }
 
140
  #wp-admin-bar ul li ul li:hover a {
141
  color: #fff;
142
  }
 
143
  #wp-admin-bar ul li div.admin-bar-clear {
144
  clear: both;
145
  }
 
146
  #wp-admin-bar ul.main-nav li ul li:hover,
147
  #wp-admin-bar ul.main-nav li ul li.sfhover,
148
  #wp-admin-bar ul.main-nav li ul li.sfhover {
155
  -moz-border-radius: 3px;
156
  -webkit-border-radius: 3px;
157
  }
 
158
  #wp-admin-bar ul li ul li:hover ul li a {
159
  color: #eee;
160
  }
 
161
  #wp-admin-bar ul li ul li ul li:hover a {
162
  color: #fff;
163
  }
 
164
  #wp-admin-bar ul li:hover ul,
165
  #wp-admin-bar ul li ul li:hover ul,
166
  #wp-admin-bar ul li.sfhover ul,
167
  #wp-admin-bar ul li ul li.sfhover ul {
168
  right: auto;
169
  }
 
170
  #wp-admin-bar ul li.align-right:hover ul {
171
  left: 0;
172
  }
 
173
  #wp-admin-bar ul li:hover ul ul,
174
  #wp-admin-bar li.sfhover ul li ul {
175
  right: -999em;
180
  float: right;
181
  margin-left: 8px;
182
  }
 
183
  #wp-admin-bar span.activity {
184
  display: block;
185
  margin-right: 34px;
186
  padding: 0;
187
  }
 
188
  #wp-admin-bar ul.author-list li a {
189
  height: 17px;
190
  }
 
191
  #wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
192
  padding: 0 6px;
193
  margin-right: 2px;
197
  -webkit-border-radius: 3px;
198
  border-radius: 3px;
199
  }
 
200
  #wp-admin-bar-user-info img.avatar {
201
  height: 64px;
202
  width: 64px;
bp-core/css/buddybar-rtl.min.css CHANGED
@@ -1 +1 @@
1
- body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:1;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 12% 53% no-repeat;padding-left:11px}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:3px;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:right;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 184px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{right:auto}#wp-admin-bar ul li.align-right:hover ul{left:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{right:-999em}#wp-admin-bar img.avatar{float:right;margin-left:8px}#wp-admin-bar span.activity{display:block;margin-right:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-right:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ #admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}#wp-admin-bar ul li ul a,#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a,#wp-admin-bar ul li ul li:hover a{color:#fff}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 0 0 11px;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none;float:right;width:174px;margin:0}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topright:0;-moz-border-radius-topleft:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 184px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{right:auto}#wp-admin-bar ul li.align-right:hover ul{left:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{right:-999em}#wp-admin-bar img.avatar{float:right;margin-left:8px}#wp-admin-bar span.activity{display:block;margin-right:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-right:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/css/buddybar.css CHANGED
@@ -1,7 +1,6 @@
1
  body:not(.wp-admin) {
2
  padding-top: 25px !important;
3
  }
4
-
5
  #wp-admin-bar {
6
  position: fixed;
7
  top: 0;
@@ -11,76 +10,63 @@ body:not(.wp-admin) {
11
  width: 100%;
12
  z-index: 9999;
13
  }
14
-
15
  #wp-admin-bar .padder {
16
  position: relative;
17
  padding: 0;
18
  width: 100%;
19
  margin: 0 auto;
20
- background: url(../images/60pc_black.png);
21
  height: 25px;
22
  }
23
-
24
  body#bp-default #wp-admin-bar .padder {
25
  max-width: 1250px;
26
  }
27
-
28
  #wp-admin-bar * {
29
  z-index: 999;
30
  }
31
-
32
  #wp-admin-bar div#admin-bar-logo {
33
  position: absolute;
34
  top: 5px;
35
  left: 10px;
36
  }
37
-
38
  #wp-admin-bar a img {
39
  border: none;
40
  }
41
-
42
  #wp-admin-bar li {
43
  list-style: none;
44
  margin: 0;
45
  padding: 0;
46
- line-height: 1;
47
  text-align: left;
48
  }
49
-
50
  #wp-admin-bar li a {
51
- padding: 7px 15px;
52
  color: #eee;
53
  text-decoration: none;
54
  font-size: 11px;
55
  }
56
-
57
  #wp-admin-bar li.alt {
58
  border: none;
59
  }
60
-
61
  #wp-admin-bar li.no-arrow a {
62
  padding-right: 15px;
63
  }
64
-
65
  #wp-admin-bar ul li ul li a span {
66
  display: none;
67
  }
68
-
69
  #wp-admin-bar li:hover,
70
  #wp-admin-bar li.hover {
71
  position: static;
72
  }
73
-
74
  #admin-bar-logo {
75
  float: left;
76
- font-weight: 700;
77
  font-size: 11px;
78
  padding: 5px 8px;
79
  margin: 0;
80
  text-decoration: none;
81
  color: #fff;
82
  }
83
-
84
  body#bp-default #admin-bar-logo {
85
  padding: 2px 8px;
86
  }
@@ -100,28 +86,23 @@ body#bp-default #admin-bar-logo {
100
  padding: 0;
101
  float: left;
102
  position: relative;
103
- background: url(../images/admin-menu-arrow.gif) 88% 53% no-repeat;
104
  padding-right: 11px;
105
  }
106
-
107
  #wp-admin-bar ul li.no-arrow {
108
  background: none;
109
  padding-right: 0;
110
  }
111
-
112
  #wp-admin-bar ul li ul li {
113
  background-image: none;
114
  }
115
-
116
  #wp-admin-bar ul li.align-right {
117
  position: absolute;
118
  right: 0;
119
  }
120
-
121
  #wp-admin-bar ul li a {
122
  display: block;
123
  }
124
-
125
  #wp-admin-bar ul.main-nav li:hover,
126
  #wp-admin-bar ul.main-nav li.sfhover,
127
  #wp-admin-bar ul.main-nav li ul li.sfhover {
@@ -145,29 +126,23 @@ body#bp-default #admin-bar-logo {
145
  -moz-border-radius-topright: 0;
146
  -webkit-border-top-right-radius: 0;
147
  }
148
-
149
  #wp-admin-bar ul li > ul {
150
  border-top: none;
151
  }
152
-
153
  #wp-admin-bar ul li ul a {
154
  color: #eee;
155
  }
156
-
157
  #wp-admin-bar ul li ul li {
158
  float: left;
159
  width: 174px;
160
  margin: 0;
161
  }
162
-
163
  #wp-admin-bar ul li ul li:hover a {
164
  color: #fff;
165
  }
166
-
167
  #wp-admin-bar ul li div.admin-bar-clear {
168
  clear: both;
169
  }
170
-
171
  #wp-admin-bar ul.main-nav li ul li:hover,
172
  #wp-admin-bar ul.main-nav li ul li.sfhover,
173
  #wp-admin-bar ul.main-nav li ul li.sfhover {
@@ -180,26 +155,21 @@ body#bp-default #admin-bar-logo {
180
  -moz-border-radius: 3px;
181
  -webkit-border-radius: 3px;
182
  }
183
-
184
  #wp-admin-bar ul li ul li:hover ul li a {
185
  color: #eee;
186
  }
187
-
188
  #wp-admin-bar ul li ul li ul li:hover a {
189
  color: #fff;
190
  }
191
-
192
  #wp-admin-bar ul li:hover ul,
193
  #wp-admin-bar ul li ul li:hover ul,
194
  #wp-admin-bar ul li.sfhover ul,
195
  #wp-admin-bar ul li ul li.sfhover ul {
196
  left: auto;
197
  }
198
-
199
  #wp-admin-bar ul li.align-right:hover ul {
200
  right: 0;
201
  }
202
-
203
  #wp-admin-bar ul li:hover ul ul,
204
  #wp-admin-bar li.sfhover ul li ul {
205
  left: -999em;
@@ -210,17 +180,14 @@ body#bp-default #admin-bar-logo {
210
  float: left;
211
  margin-right: 8px;
212
  }
213
-
214
  #wp-admin-bar span.activity {
215
  display: block;
216
  margin-left: 34px;
217
  padding: 0;
218
  }
219
-
220
  #wp-admin-bar ul.author-list li a {
221
  height: 17px;
222
  }
223
-
224
  #wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
225
  padding: 0 6px;
226
  margin-left: 2px;
@@ -230,7 +197,6 @@ body#bp-default #admin-bar-logo {
230
  -webkit-border-radius: 3px;
231
  border-radius: 3px;
232
  }
233
-
234
  #wp-admin-bar-user-info img.avatar {
235
  height: 64px;
236
  width: 64px;
1
  body:not(.wp-admin) {
2
  padding-top: 25px !important;
3
  }
 
4
  #wp-admin-bar {
5
  position: fixed;
6
  top: 0;
10
  width: 100%;
11
  z-index: 9999;
12
  }
 
13
  #wp-admin-bar .padder {
14
  position: relative;
15
  padding: 0;
16
  width: 100%;
17
  margin: 0 auto;
18
+ background: url('../images/60pc_black.png');
19
  height: 25px;
20
  }
 
21
  body#bp-default #wp-admin-bar .padder {
22
  max-width: 1250px;
23
  }
 
24
  #wp-admin-bar * {
25
  z-index: 999;
26
  }
 
27
  #wp-admin-bar div#admin-bar-logo {
28
  position: absolute;
29
  top: 5px;
30
  left: 10px;
31
  }
 
32
  #wp-admin-bar a img {
33
  border: none;
34
  }
 
35
  #wp-admin-bar li {
36
  list-style: none;
37
  margin: 0;
38
  padding: 0;
39
+ line-height: 100%;
40
  text-align: left;
41
  }
 
42
  #wp-admin-bar li a {
43
+ padding: 7px 15px 7px 15px;
44
  color: #eee;
45
  text-decoration: none;
46
  font-size: 11px;
47
  }
 
48
  #wp-admin-bar li.alt {
49
  border: none;
50
  }
 
51
  #wp-admin-bar li.no-arrow a {
52
  padding-right: 15px;
53
  }
 
54
  #wp-admin-bar ul li ul li a span {
55
  display: none;
56
  }
 
57
  #wp-admin-bar li:hover,
58
  #wp-admin-bar li.hover {
59
  position: static;
60
  }
 
61
  #admin-bar-logo {
62
  float: left;
63
+ font-weight: bold;
64
  font-size: 11px;
65
  padding: 5px 8px;
66
  margin: 0;
67
  text-decoration: none;
68
  color: #fff;
69
  }
 
70
  body#bp-default #admin-bar-logo {
71
  padding: 2px 8px;
72
  }
86
  padding: 0;
87
  float: left;
88
  position: relative;
89
+ background: url('../images/admin-menu-arrow.gif') 88% 53% no-repeat;
90
  padding-right: 11px;
91
  }
 
92
  #wp-admin-bar ul li.no-arrow {
93
  background: none;
94
  padding-right: 0;
95
  }
 
96
  #wp-admin-bar ul li ul li {
97
  background-image: none;
98
  }
 
99
  #wp-admin-bar ul li.align-right {
100
  position: absolute;
101
  right: 0;
102
  }
 
103
  #wp-admin-bar ul li a {
104
  display: block;
105
  }
 
106
  #wp-admin-bar ul.main-nav li:hover,
107
  #wp-admin-bar ul.main-nav li.sfhover,
108
  #wp-admin-bar ul.main-nav li ul li.sfhover {
126
  -moz-border-radius-topright: 0;
127
  -webkit-border-top-right-radius: 0;
128
  }
 
129
  #wp-admin-bar ul li > ul {
130
  border-top: none;
131
  }
 
132
  #wp-admin-bar ul li ul a {
133
  color: #eee;
134
  }
 
135
  #wp-admin-bar ul li ul li {
136
  float: left;
137
  width: 174px;
138
  margin: 0;
139
  }
 
140
  #wp-admin-bar ul li ul li:hover a {
141
  color: #fff;
142
  }
 
143
  #wp-admin-bar ul li div.admin-bar-clear {
144
  clear: both;
145
  }
 
146
  #wp-admin-bar ul.main-nav li ul li:hover,
147
  #wp-admin-bar ul.main-nav li ul li.sfhover,
148
  #wp-admin-bar ul.main-nav li ul li.sfhover {
155
  -moz-border-radius: 3px;
156
  -webkit-border-radius: 3px;
157
  }
 
158
  #wp-admin-bar ul li ul li:hover ul li a {
159
  color: #eee;
160
  }
 
161
  #wp-admin-bar ul li ul li ul li:hover a {
162
  color: #fff;
163
  }
 
164
  #wp-admin-bar ul li:hover ul,
165
  #wp-admin-bar ul li ul li:hover ul,
166
  #wp-admin-bar ul li.sfhover ul,
167
  #wp-admin-bar ul li ul li.sfhover ul {
168
  left: auto;
169
  }
 
170
  #wp-admin-bar ul li.align-right:hover ul {
171
  right: 0;
172
  }
 
173
  #wp-admin-bar ul li:hover ul ul,
174
  #wp-admin-bar li.sfhover ul li ul {
175
  left: -999em;
180
  float: left;
181
  margin-right: 8px;
182
  }
 
183
  #wp-admin-bar span.activity {
184
  display: block;
185
  margin-left: 34px;
186
  padding: 0;
187
  }
 
188
  #wp-admin-bar ul.author-list li a {
189
  height: 17px;
190
  }
 
191
  #wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
192
  padding: 0 6px;
193
  margin-left: 2px;
197
  -webkit-border-radius: 3px;
198
  border-radius: 3px;
199
  }
 
200
  #wp-admin-bar-user-info img.avatar {
201
  height: 64px;
202
  width: 64px;
bp-core/css/buddybar.min.css CHANGED
@@ -1 +1 @@
1
- body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:1;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee;text-decoration:none;font-size:11px}#wp-admin-bar li.alt{border:none}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;font-size:11px;padding:5px 8px;margin:0;text-decoration:none;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat;padding-right:11px}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:3px;-moz-border-radius-topleft:0;-webkit-border-top-left-radius:0;-moz-border-radius-topright:0;-webkit-border-top-right-radius:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li ul a{color:#eee}#wp-admin-bar ul li ul li{float:left;width:174px;margin:0}#wp-admin-bar ul li ul li:hover a{color:#fff}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 0 0 184px;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a{color:#fff}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{left:auto}#wp-admin-bar ul li.align-right:hover ul{right:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{left:-999em}#wp-admin-bar img.avatar{float:left;margin-right:8px}#wp-admin-bar span.activity{display:block;margin-left:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-left:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
1
+ #admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}#wp-admin-bar ul li ul a,#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a,#wp-admin-bar ul li ul li:hover a{color:#fff}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 11px 0 0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none;float:left;width:174px;margin:0}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 0 0 184px;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{left:auto}#wp-admin-bar ul li.align-right:hover ul{right:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{left:-999em}#wp-admin-bar img.avatar{float:left;margin-right:8px}#wp-admin-bar span.activity{display:block;margin-left:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-left:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
bp-core/deprecated/1.2.php CHANGED
@@ -14,7 +14,7 @@
14
  * @since 1.0.0
15
  * @deprecated 1.2.0
16
  *
17
- * @param string|array $args
18
  *
19
  * @return object $activity The activity/activities object
20
  */
14
  * @since 1.0.0
15
  * @deprecated 1.2.0
16
  *
17
+ * @param array $args
18
  *
19
  * @return object $activity The activity/activities object
20
  */
bp-core/deprecated/1.5.php CHANGED
@@ -508,7 +508,7 @@ function bp_dtheme_deprecated() {
508
  * @deprecated No longer required.
509
  * @param string $oldvalue Previous value of get_option( 'page_on_front' )
510
  * @param string $oldvalue New value of get_option( 'page_on_front' )
511
- * @return false|string
512
  * @since 1.2.0
513
  */
514
  function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
508
  * @deprecated No longer required.
509
  * @param string $oldvalue Previous value of get_option( 'page_on_front' )
510
  * @param string $oldvalue New value of get_option( 'page_on_front' )
511
+ * @return bool|string
512
  * @since 1.2.0
513
  */
514
  function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
bp-core/deprecated/1.7.php CHANGED
@@ -74,7 +74,7 @@ function bp_get_plugin_sidebar() {
74
  * step. It also means that the themes won't show for selection on other blogs.
75
  *
76
  * @deprecated 1.7.0
77
- * @return array
78
  */
79
  function bp_core_allow_default_theme( $themes ) {
80
  _deprecated_function( __FUNCTION__, '1.7' );
74
  * step. It also means that the themes won't show for selection on other blogs.
75
  *
76
  * @deprecated 1.7.0
77
+ * @package BuddyPress Core
78
  */
79
  function bp_core_allow_default_theme( $themes ) {
80
  _deprecated_function( __FUNCTION__, '1.7' );
bp-core/deprecated/1.9.php CHANGED
@@ -19,14 +19,14 @@ defined( 'ABSPATH' ) || exit;
19
  * bp_notifications_add_notification() instead.
20
  *
21
  * @since 1.0.0
22
- * @param string $item_id
23
- * @param int $user_id
24
- * @param string $component_name
25
- * @param string $component_action
26
- * @param int $secondary_item_id
27
- * @param false|string $date_notified
28
- * @param int $is_new
29
- * @return int|boolean True on success, false on failure.
30
  */
31
  function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false, $is_new = 1 ) {
32
 
@@ -62,9 +62,8 @@ function bp_core_add_notification( $item_id, $user_id, $component_name, $compone
62
  * bp_notifications_delete_notification() instead.
63
  *
64
  * @since 1.0.0
65
- *
66
  * @param int $id ID of notification.
67
- * @return false|integer True on success, false on failure.
68
  */
69
  function bp_core_delete_notification( $id ) {
70
 
@@ -87,7 +86,7 @@ function bp_core_delete_notification( $id ) {
87
  *
88
  * @since 1.0.0
89
  * @param int $id ID of notification.
90
- * @return false|BP_Core_Notification
91
  */
92
  function bp_core_get_notification( $id ) {
93
 
@@ -141,7 +140,7 @@ function bp_core_get_notifications_for_user( $user_id, $format = 'string' ) {
141
  * @param int $user_id
142
  * @param string $component_name
143
  * @param string $component_action
144
- * @return false|int True on success, false on failure.
145
  */
146
  function bp_core_delete_notifications_by_type( $user_id, $component_name, $component_action ) {
147
 
@@ -166,11 +165,10 @@ function bp_core_delete_notifications_by_type( $user_id, $component_name, $compo
166
  * bp_notifications_delete_notifications_by_item_id() instead.
167
  *
168
  * @since 1.0.0
169
- *
170
  * @param int $user_id
171
  * @param string $component_name
172
  * @param string $component_action
173
- * @return false|int True on success, false on failure.
174
  */
175
  function bp_core_delete_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
176
 
@@ -192,10 +190,9 @@ function bp_core_delete_notifications_by_item_id( $user_id, $item_id, $component
192
  * bp_notifications_delete_all_notifications_by_type() instead.
193
  *
194
  * @since 1.0.0
195
- *
196
- * @param int $user_id
197
- * @param string $component_name
198
- * @param false|string $component_action
199
  * @return boolean True on success, false on failure.
200
  */
201
  function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
@@ -223,7 +220,7 @@ function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $c
223
  * @param int $user_id
224
  * @param string $component_name
225
  * @param string $component_action
226
- * @return false|int True on success, false on failure.
227
  */
228
  function bp_core_delete_notifications_from_user( $user_id, $component_name, $component_action ) {
229
 
19
  * bp_notifications_add_notification() instead.
20
  *
21
  * @since 1.0.0
22
+ * @param string $item_id
23
+ * @param int $user_id
24
+ * @param string $component_name
25
+ * @param string $component_action
26
+ * @param string $secondary_item_id
27
+ * @param string $date_notified
28
+ * @param int $is_new
29
+ * @return boolean True on success, false on failure.
30
  */
31
  function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false, $is_new = 1 ) {
32
 
62
  * bp_notifications_delete_notification() instead.
63
  *
64
  * @since 1.0.0
 
65
  * @param int $id ID of notification.
66
+ * @return boolean True on success, false on failure.
67
  */
68
  function bp_core_delete_notification( $id ) {
69
 
86
  *
87
  * @since 1.0.0
88
  * @param int $id ID of notification.
89
+ * @return BP_Core_Notification
90
  */
91
  function bp_core_get_notification( $id ) {
92
 
140
  * @param int $user_id
141
  * @param string $component_name
142
  * @param string $component_action
143
+ * @return boolean True on success, false on failure.
144
  */
145
  function bp_core_delete_notifications_by_type( $user_id, $component_name, $component_action ) {
146
 
165
  * bp_notifications_delete_notifications_by_item_id() instead.
166
  *
167
  * @since 1.0.0
 
168
  * @param int $user_id
169
  * @param string $component_name
170
  * @param string $component_action
171
+ * @return boolean True on success, false on failure.
172
  */
173
  function bp_core_delete_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
174
 
190
  * bp_notifications_delete_all_notifications_by_type() instead.
191
  *
192
  * @since 1.0.0
193
+ * @param int $user_id
194
+ * @param string $component_name
195
+ * @param string $component_action
 
196
  * @return boolean True on success, false on failure.
197
  */
198
  function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
220
  * @param int $user_id
221
  * @param string $component_name
222
  * @param string $component_action
223
+ * @return boolean True on success, false on failure.
224
  */
225
  function bp_core_delete_notifications_from_user( $user_id, $component_name, $component_action ) {
226
 
bp-core/deprecated/2.1.php CHANGED
@@ -36,7 +36,7 @@ function bp_core_register_deprecated_styles() {
36
  * @since 1.0.0
37
  * @deprecated 2.1.0
38
  *
39
- * @return false|null Returns false on failure. Otherwise echoes the menu item.
40
  */
41
  function bp_adminbar_blogs_menu() {
42
 
@@ -131,7 +131,7 @@ function bp_admin_sanitize_callback_force_buddybar( $value = false ) {
131
  /**
132
  * Wrapper function for rendering the BuddyBar.
133
  *
134
- * @return false|null Returns false if the BuddyBar is disabled.
135
  * @deprecated 2.1.0
136
  */
137
  function bp_core_admin_bar() {
@@ -179,7 +179,7 @@ function bp_adminbar_logo() {
179
  *
180
  * @deprecated 2.1.0
181
  *
182
- * @return false|null Returns false if the current user is logged in.
183
  */
184
  function bp_adminbar_login_menu() {
185
 
@@ -200,7 +200,7 @@ function bp_adminbar_login_menu() {
200
  *
201
  * @deprecated 2.1.0
202
  *
203
- * @return false|null Returns false on failure.
204
  */
205
  function bp_adminbar_account_menu() {
206
  $bp = buddypress();
36
  * @since 1.0.0
37
  * @deprecated 2.1.0
38
  *
39
+ * @return bool|null Returns false on failure. Otherwise echoes the menu item.
40
  */
41
  function bp_adminbar_blogs_menu() {
42
 
131
  /**
132
  * Wrapper function for rendering the BuddyBar.
133
  *
134
+ * @return bool|null Returns false if the BuddyBar is disabled.
135
  * @deprecated 2.1.0
136
  */
137
  function bp_core_admin_bar() {
179
  *
180
  * @deprecated 2.1.0
181
  *
182
+ * @return bool|null Returns false if the current user is logged in.
183
  */
184
  function bp_adminbar_login_menu() {
185
 
200
  *
201
  * @deprecated 2.1.0
202
  *
203
+ * @return bool|null Returns false on failure.
204
  */
205
  function bp_adminbar_account_menu() {
206
  $bp = buddypress();
bp-core/deprecated/2.5.php CHANGED
@@ -62,7 +62,7 @@ function bp_core_deprecated_email_filters( $value, $property, $transform, $email
62
  'settings-verify-email-change',
63
  );
64
 
65
- remove_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20 );
66
  $email_type = $email->get( 'type' );
67
  $tokens = $email->get( 'tokens' );
68
  add_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20, 4 );
@@ -701,7 +701,7 @@ function bp_core_deprecated_email_actions( $delivery_status, $email ) {
701
  'settings-verify-email-change',
702
  );
703
 
704
- remove_action( 'bp_send_email_success', 'bp_core_deprecated_email_actions', 20 );
705
  $email_content = $email->get( 'content' );
706
  $email_subject = $email->get( 'subject' );
707
  $email_type = $email->get( 'type' );
@@ -914,7 +914,7 @@ function bp_blogs_transition_activity_status( $new_status, $old_status, $comment
914
  * @param int $comment_id ID of the comment being recorded.
915
  * @param bool|string $is_approved Optional. The $is_approved value passed to
916
  * the 'comment_post' action. Default: true.
917
- * @return bool|object|null Returns false on failure, the comment object on success.
918
  */
919
  function bp_blogs_record_comment( $comment_id, $is_approved = true ) {
920
  _deprecated_function( __FUNCTION__, '2.5.0', 'bp_activity_post_type_comment()' );
62
  'settings-verify-email-change',
63
  );
64
 
65
+ remove_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20, 4 );
66
  $email_type = $email->get( 'type' );
67
  $tokens = $email->get( 'tokens' );
68
  add_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20, 4 );
701
  'settings-verify-email-change',
702
  );
703
 
704
+ remove_action( 'bp_send_email_success', 'bp_core_deprecated_email_actions', 20, 2 );
705
  $email_content = $email->get( 'content' );
706
  $email_subject = $email->get( 'subject' );
707
  $email_type = $email->get( 'type' );
914
  * @param int $comment_id ID of the comment being recorded.
915
  * @param bool|string $is_approved Optional. The $is_approved value passed to
916
  * the 'comment_post' action. Default: true.
917
+ * @return bool|object Returns false on failure, the comment object on success.
918
  */
919
  function bp_blogs_record_comment( $comment_id, $is_approved = true ) {
920
  _deprecated_function( __FUNCTION__, '2.5.0', 'bp_activity_post_type_comment()' );
bp-core/deprecated/2.8.php DELETED
@@ -1,199 +0,0 @@
1
- <?php
2
- /**
3
- * Deprecated functions.
4
- *
5
- * @deprecated 2.8.0
6
- */
7
-
8
- // Exit if accessed directly.
9
- defined( 'ABSPATH' ) || exit;
10
-
11
- /**
12
- * Determines whether the current installation is running PHP 5.3 or greater.
13
- *
14
- * BuddyPress 2.8 introduces a minimum PHP requirement of PHP 5.3.
15
- *
16
- * @since 2.7.0
17
- * @deprecated 2.8.0
18
- *
19
- * @return bool
20
- */
21
- function bp_core_admin_is_running_php53_or_greater() {
22
- return version_compare( PHP_VERSION, '5.3', '>=' );
23
- }
24
-
25
- /**
26
- * Replaces WP's default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater.
27
- *
28
- * Originally hooked to 'load-plugins.php' with priority 100.
29
- *
30
- * @since 2.7.0
31
- * @deprecated 2.8.0
32
- */
33
- function bp_core_admin_maybe_disable_update_row_for_php53_requirement() {
34
- if ( bp_core_admin_is_running_php53_or_greater() ) {
35
- return;
36
- }
37
-
38
- $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
39
-
40
- remove_action( "after_plugin_row_{$loader}", 'wp_plugin_update_row', 10 );
41
- add_action( "after_plugin_row_{$loader}", 'bp_core_admin_php52_plugin_row', 10, 2 );
42
- }
43
-
44
- /**
45
- * On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3.
46
- *
47
- * Originally hooked to 'load-update-core.php'.
48
- *
49
- * @since 2.7.0
50
- * @deprecated 2.8.0
51
- */
52
- function bp_core_admin_maybe_remove_from_update_core() {
53
- if ( bp_core_admin_is_running_php53_or_greater() ) {
54
- return;
55
- }
56
-
57
- // Add filter to remove BP from the update plugins list.
58
- add_filter( 'site_transient_update_plugins', 'bp_core_admin_remove_buddypress_from_update_transient' );
59
- }
60
-
61
- /**
62
- * Filter callback to remove BuddyPress from the update plugins list.
63
- *
64
- * Attached to the 'site_transient_update_plugins' filter.
65
- *
66
- * @since 2.7.0
67
- * @deprecated 2.8.0
68
- *
69
- * @param object $retval Object of plugin update data.
70
- * @return object
71
- */
72
- function bp_core_admin_remove_buddypress_from_update_transient( $retval ) {
73
- $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
74
-
75
- // Remove BP from update plugins list.
76
- if ( isset( $retval->response[ $loader ] ) ) {
77
- unset( $retval->response[ $loader ] );
78
- }
79
-
80
- return $retval;
81
- }
82
-
83
- /**
84
- * Outputs a replacement for WP's default update notice, when site is not running PHP 5.3 or greater.
85
- *
86
- * When we see that a site is not running PHP 5.3 and is trying to update to
87
- * BP 2.8+, we replace WP's default notice with our own, which both provides a
88
- * link to our documentation of the requirement, and removes the link that
89
- * allows a single plugin to be updated.
90
- *
91
- * @since 2.7.0
92
- * @deprecated 2.8.0
93
- *
94
- * @param string $file Plugin filename. buddypress/bp-loader.php.
95
- * @param array $plugin_data Data about the BuddyPress plugin, as returned by the
96
- * plugins API.
97
- */
98
- function bp_core_admin_php52_plugin_row( $file, $plugin_data ) {
99
- if ( is_multisite() && ! is_network_admin() ) {
100
- return;
101
- }
102
-
103
- $current = get_site_transient( 'update_plugins' );
104
- if ( ! isset( $current->response[ $file ] ) ) {
105
- return false;
106
- }
107
-
108
- $response = $current->response[ $file ];
109
-
110
- // No need to do this if update is for < BP 2.8.
111
- if ( version_compare( $response->new_version, '2.8', '<' ) ) {
112
- return false;
113
- }
114
-
115
- $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
116
-
117
- if ( is_network_admin() ) {
118
- $active_class = is_plugin_active_for_network( $file ) ? ' active' : '';
119
- } else {
120
- $active_class = is_plugin_active( $file ) ? ' active' : '';
121
- }
122
-
123
- // WP 4.6 uses different markup for the plugin row notice.
124
- if ( function_exists( 'wp_get_ext_types' ) ) {
125
- $p = '<p>%s</p>';
126
-
127
- // WP < 4.6.
128
- } else {
129
- $p = '%s';
130
-
131
- // Ugh.
132
- $active_class .= ' not-shiny';
133
- }
134
-
135
- echo '<tr class="plugin-update-tr' . $active_class . '" id="' . esc_attr( $response->slug . '-update' ) . '" data-slug="' . esc_attr( $response->slug ) . '" data-plugin="' . esc_attr( $file ) . '"><td colspan="' . esc_attr( $wp_list_table->get_column_count() ) . '" class="plugin-update colspanchange"><div class="update-message inline notice notice-error notice-alt">';
136
-
137
- printf( $p,
138
- esc_html__( 'A BuddyPress update is available, but your system is not compatible.', 'buddypress' ) . ' ' .
139
- sprintf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' )
140
- );
141
-
142
- echo '</div></td></tr>';
143
-
144
- /*
145
- * JavaScript to disable the bulk upgrade checkbox.
146
- * See WP_Plugins_List_Table::single_row().
147
- */
148
- $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] );
149
- echo "<script type='text/javascript'>document.getElementById('$checkbox_id').disabled = true;</script>";
150
- }
151
-
152
- /**
153
- * Add an admin notice to installations that are not running PHP 5.3+.
154
- *
155
- * @since 2.7.0
156
- * @deprecated 2.8.0
157
- */
158
- function bp_core_admin_php53_admin_notice() {
159
- // If not on the Plugins page, stop now.
160
- if ( 'plugins' !== get_current_screen()->parent_base ) {
161
- return;
162
- }
163
-
164
- if ( ! current_user_can( 'update_core' ) ) {
165
- return;
166
- }
167
-
168
- if ( bp_core_admin_is_running_php53_or_greater() ) {
169
- return;
170
- }
171
-
172
- $notice_id = 'bp28-php53';
173
- if ( bp_get_option( "bp-dismissed-notice-$notice_id" ) ) {
174
- return;
175
- }
176
-
177
- $bp = buddypress();
178
- $min = bp_core_get_minified_asset_suffix();
179
-
180
- wp_enqueue_script(
181
- 'bp-dismissible-admin-notices',
182
- "{$bp->plugin_url}bp-core/admin/js/dismissible-admin-notices{$min}.js",
183
- array( 'jquery' ),
184
- bp_get_version(),
185
- true
186
- );
187
-
188
- $php_version = PHP_VERSION;
189
-
190
- ?>
191
-
192
- <div id="message" class="error notice is-dismissible bp-is-dismissible" data-noticeid="<?php echo esc_attr( $notice_id ); ?>">
193
- <p><strong><?php esc_html_e( 'Your site is not ready for BuddyPress 2.8.', 'buddypress' ); ?></strong></p>
194
- <p><?php printf( esc_html__( 'Your site is currently running PHP version %s, while BuddyPress 2.8 will require version 5.3+.', 'buddypress' ), $php_version ); ?> <?php printf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); ?></p>
195
- <?php wp_nonce_field( "bp-dismissible-notice-$notice_id", "bp-dismissible-nonce-$notice_id" ); ?>
196
- </div>
197
- <?php
198
- }
199
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bp-core/deprecated/2.9.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- /**
3
- * Deprecated functions.
4
- *
5
- * @deprecated 2.9.0
6
- */
7
-
8
- // Exit if accessed directly.
9
- defined( 'ABSPATH' ) || exit;
10
-
11
- /**
12
- * Replace default WordPress avatars with BP avatars, if available.
13
- *
14
- * See 'get_avatar' filter description in wp-includes/pluggable.php.
15
- *
16
- * @since 1.1.0
17
- * @since 2.4.0 Added $args parameter to coincide with WordPress 4.2.0.
18
- *
19
- * @param string $avatar The avatar path passed to 'get_avatar'.
20
- * @param int|string|object $user A user ID, email address, or comment object.
21
- * @param int $size Size of the avatar image ('thumb' or 'full').
22
- * @param string $default URL to a default image to use if no avatar is available.
23
- * @param string $alt Alternate text to use in image tag. Default: ''.
24
- * @param array $args Arguments passed to get_avatar_data(), after processing.
25
- * @return string BP avatar path, if found; else the original avatar path.
26
- */
27
- function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '', $args = array() ) {
28
- _deprecated_function( __FUNCTION__, '2.9' );
29
- return $avatar;
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bp-core/js/avatar.min.js CHANGED
@@ -1 +1 @@
1
- window.bp=window.bp||{},function(e,t){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Avatar={start:function(){var e=this;this.removeLegacyUI(),this.views=new Backbone.Collection,this.jcropapi={},this.warning=null,this.setupNav(),this.avatars=bp.Uploader.filesUploaded,this.Attachment=new Backbone.Model,bp.Uploader.filesQueue.on("reset",this.cropView,this),t("body.wp-admin").on("tb_unload","#TB_window",function(){e.resetViews()}),t("body.wp-admin").on("click",".bp-xprofile-avatar-user-edit",function(){e.resetViews()})},removeLegacyUI:function(){t("#avatar-upload-form").length?(t("#avatar-upload").remove(),t("#avatar-upload-form p").remove()):t("#group-settings-form").length?(t("#group-settings-form p").each(function(e){0!==e&&t(this).remove()}),t("#delete-group-avatar-button").length&&t("#delete-group-avatar-button").remove()):t("#group-create-body").length?(t(".main-column p #file").remove(),t(".main-column p #upload").remove()):t("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").length&&t("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").remove()},setView:function(e){switch(_.isUndefined(this.views.models)||_.each(this.views.models,function(e){e.get("view").remove()},this),this.views.reset(),_.isUndefined(this.avatars)||this.avatars.reset(),_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),e){case"upload":this.uploaderView();break;case"delete":this.deleteView()}},resetViews:function(){this.nav.trigger("bp-avatar-view:changed","upload"),_.each(this.navItems.models,function(e){"upload"===e.id?e.set({active:1}):e.set({active:0})})},setupNav:function(){var e,t,a=this;this.navItems=new Backbone.Collection,_.each(BP_Uploader.settings.nav,function(i,s){_.isObject(i)&&(t=0,0===s&&(e=i.id,t=1),a.navItems.add({id:i.id,name:i.caption,href:"#",active:t,hide:_.isUndefined(i.hide)?0:i.hide}))}),this.nav=new bp.Views.Nav({collection:this.navItems}),this.nav.inject(".bp-avatar-nav"),this.setView(e),this.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var e=new bp.Views.Uploader;this.views.add({id:"upload",view:e}),e.inject(".bp-avatar")},uploadProgress:function(){var e=new bp.Views.uploaderStatus({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:e}):this.views.set({id:"status",view:e}),e.inject(".bp-avatar-status")},cropView:function(){var e;if(!_.isEmpty(this.avatars.models)){_.isUndefined(this.views.get("status"))||((e=this.views.get("status")).get("view").remove(),this.views.remove({id:"status",view:e}));var t=new bp.Views.Avatars({collection:this.avatars});this.views.add({id:"crop",view:t}),t.inject(".bp-avatar")}},setAvatar:function(e){var a,i=this;_.isUndefined(this.views.get("crop"))||(_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),(a=this.views.get("crop")).get("view").remove(),this.views.remove({id:"crop",view:a})),bp.ajax.post("bp_avatar_set",{json:!0,original_file:e.get("url"),crop_w:e.get("w"),crop_h:e.get("h"),crop_x:e.get("x"),crop_y:e.get("y"),item_id:e.get("item_id"),object:e.get("object"),type:_.isUndefined(e.get("type"))?"crop":e.get("type"),nonce:e.get("nonces").set}).done(function(a){var s=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[a.feedback_code],type:"success"});i.views.add({id:"status",view:s}),s.inject(".bp-avatar-status"),t("."+e.get("object")+"-"+a.item_id+"-avatar").each(function(){t(this).prop("src",a.avatar)}),bp.Avatar.navItems.get("delete").set({hide:0}),i.Attachment.set(_.extend(_.pick(e.attributes,["object","item_id"]),{url:a.avatar,action:"uploaded"}))}).fail(function(e){var t=BP_Uploader.strings.default_error;_.isUndefined(e)||(t=BP_Uploader.strings.feedback_messages[e.feedback_code]);var a=new bp.Views.AvatarStatus({value:t,type:"error"});i.views.add({id:"status",view:a}),a.inject(".bp-avatar-status")})},deleteView:function(){var e=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces")),t=new bp.Views.DeleteAvatar({model:e});this.views.add({id:"delete",view:t}),t.inject(".bp-avatar")},deleteAvatar:function(e){var a,i=this;_.isUndefined(this.views.get("delete"))||((a=this.views.get("delete")).get("view").remove(),this.views.remove({id:"delete",view:a})),bp.ajax.post("bp_avatar_delete",{json:!0,item_id:e.get("item_id"),object:e.get("object"),nonce:e.get("nonces").remove}).done(function(a){var s=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[a.feedback_code],type:"success"});i.views.add({id:"status",view:s}),s.inject(".bp-avatar-status"),t("."+e.get("object")+"-"+a.item_id+"-avatar").each(function(){t(this).prop("src",a.avatar)}),bp.Avatar.navItems.get("delete").set({active:0,hide:1}),i.Attachment.set(_.extend(_.pick(e.attributes,["object","item_id"]),{url:a.avatar,action:"deleted"}))}).fail(function(e){var t=BP_Uploader.strings.default_error;_.isUndefined(e)||(t=BP_Uploader.strings.feedback_messages[e.feedback_code]);var a=new bp.Views.AvatarStatus({value:t,type:"error"});i.views.add({id:"status",view:a}),a.inject(".bp-avatar-status")})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(e){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:e}),this.warning.inject(".bp-avatar-status")}},bp.Views.Nav=bp.View.extend({tagName:"ul",className:"avatar-nav-items",events:{"click .bp-avatar-nav-item":"toggleView"},initialize:function(){1!==_.findWhere(this.collection.models,{id:"delete"}).get("hide")&&bp.Avatar.displayWarning(BP_Uploader.strings.has_avatar_warning),_.each(this.collection.models,this.addNavItem,this),this.collection.on("change:hide",this.showHideNavItem,this)},addNavItem:function(e){1!==e.get("hide")&&this.views.add(new bp.Views.NavItem({model:e}))},showHideNavItem:function(e){var t=null;_.each(this.views._views[""],function(a){1===a.model.get("hide")&&a.remove(),e.get("id")===a.model.get("id")&&(t=!0)}),_.isBoolean(t)||this.addNavItem(e)},toggleView:function(e){e.preventDefault(),bp.Avatar.removeWarning();var a=t(e.target).data("nav");_.each(this.collection.models,function(e){e.id===a?(e.set({active:1}),this.trigger("bp-avatar-view:changed",e.id)):e.set({active:0})},this)}}),bp.Views.NavItem=bp.View.extend({tagName:"li",className:"avatar-nav-item",template:bp.template("bp-avatar-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),this.el.id+="bp-avatar-"+this.model.get("id"),this.model.on("change:active",this.setCurrentNav,this)},setCurrentNav:function(e){1===e.get("active")?this.$el.addClass("current"):this.$el.removeClass("current")}}),bp.Views.Avatars=bp.View.extend({className:"items",initialize:function(){_.each(this.collection.models,this.addItemView,this)},addItemView:function(e){var t={full_h:150,full_w:150};_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(t.full_h=BP_Uploader.settings.crop.full_h,t.full_w=BP_Uploader.settings.crop.full_w),e.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),t)),this.views.add(new bp.Views.Avatar({model:e}))}}),bp.Views.Avatar=bp.View.extend({className:"item",template:bp.template("bp-avatar-item"),events:{"click .avatar-crop-submit":"cropAvatar"},initialize:function(){_.defaults(this.options,{full_h:BP_Uploader.settings.crop.full_h,full_w:BP_Uploader.settings.crop.full_w,aspectRatio:1}),!1!==this.model.get("feedback")&&bp.Avatar.displayWarning(this.model.get("feedback")),this.on("ready",this.initCropper)},initCropper:function(){var e,a,i,s,n,o,r=this,d=this.$el.find("#avatar-to-crop img"),l=this.$el.width(),p={};_.isUndefined(this.options.full_h)||_.isUndefined(this.options.full_w)||(this.options.aspectRatio=this.options.full_w/this.options.full_h),p.w=this.model.get("width"),p.h=this.model.get("height"),this.options.full_w+p.w+20<l&&(t("#avatar-to-crop").addClass("adjust"),this.$el.find(".avatar-crop-management").addClass("adjust")),p.h<=p.w?(e=Math.round(p.h/4),a=(n=o=Math.round(p.h/2))+e,s=o+(i=(p.w-o)/2)):(i=Math.round(p.w/4),n=o=Math.round(p.w/2),s=o+i,a=n+(e=(p.h-n)/2)),d.Jcrop({onChange:_.bind(r.showPreview,r),onSelect:_.bind(r.showPreview,r),aspectRatio:r.options.aspectRatio,setSelect:[i,e,s,a]},function(){bp.Avatar.jcropapi=this})},cropAvatar:function(e){e.preventDefault(),bp.Avatar.setAvatar(this.model)},showPreview:function(e){if(e.w&&e.h&&parseInt(e.w,10)>0){var a=this.options.full_w,i=this.options.full_h,s=a/e.w,n=i/e.h;this.model.set({x:e.x,y:e.y,w:e.w,h:e.h}),t("#avatar-crop-preview").css({maxWidth:"none",width:Math.round(s*this.model.get("width"))+"px",height:Math.round(n*this.model.get("height"))+"px",marginLeft:"-"+Math.round(s*this.model.get("x"))+"px",marginTop:"-"+Math.round(n*this.model.get("y"))+"px"})}}}),bp.Views.AvatarStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-avatar-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteAvatar=bp.View.extend({tagName:"div",id:"bp-delete-avatar-container",template:bp.template("bp-avatar-delete"),events:{"click #bp-delete-avatar":"deleteAvatar"},deleteAvatar:function(e){e.preventDefault(),bp.Avatar.deleteAvatar(this.model)}}),bp.Avatar.start())}(bp,jQuery);
1
+ window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Avatar={start:function(){var a=this;this.removeLegacyUI(),this.views=new Backbone.Collection,this.jcropapi={},this.warning=null,this.setupNav(),this.avatars=bp.Uploader.filesUploaded,this.Attachment=new Backbone.Model,bp.Uploader.filesQueue.on("reset",this.cropView,this),b("body.wp-admin").on("tb_unload","#TB_window",function(){a.resetViews()}),b("body.wp-admin").on("click",".bp-xprofile-avatar-user-edit",function(){a.resetViews()})},removeLegacyUI:function(){b("#avatar-upload-form").length?(b("#avatar-upload").remove(),b("#avatar-upload-form p").remove()):b("#group-settings-form").length?(b("#group-settings-form p").each(function(a){0!==a&&b(this).remove()}),b("#delete-group-avatar-button").length&&b("#delete-group-avatar-button").remove()):b("#group-create-body").length?(b(".main-column p #file").remove(),b(".main-column p #upload").remove()):b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").length&&b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").remove()},setView:function(a){switch(_.isUndefined(this.views.models)||_.each(this.views.models,function(a){a.get("view").remove()},this),this.views.reset(),_.isUndefined(this.avatars)||this.avatars.reset(),_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),a){case"upload":this.uploaderView();break;case"delete":this.deleteView()}},resetViews:function(){this.nav.trigger("bp-avatar-view:changed","upload"),_.each(this.navItems.models,function(a){"upload"===a.id?a.set({active:1}):a.set({active:0})})},setupNav:function(){var a,b,c=this;this.navItems=new Backbone.Collection,_.each(BP_Uploader.settings.nav,function(d,e){_.isObject(d)&&(b=0,0===e&&(a=d.id,b=1),c.navItems.add({id:d.id,name:d.caption,href:"#",active:b,hide:_.isUndefined(d.hide)?0:d.hide}))}),this.nav=new bp.Views.Nav({collection:this.navItems}),this.nav.inject(".bp-avatar-nav"),this.setView(a),this.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-avatar")},uploadProgress:function(){var a=new bp.Views.uploaderStatus({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-avatar-status")},cropView:function(){var a;if(!_.isEmpty(this.avatars.models)){_.isUndefined(this.views.get("status"))||(a=this.views.get("status"),a.get("view").remove(),this.views.remove({id:"status",view:a}));var b=new bp.Views.Avatars({collection:this.avatars});this.views.add({id:"crop",view:b}),b.inject(".bp-avatar")}},setAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("crop"))||(_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),c=this.views.get("crop"),c.get("view").remove(),this.views.remove({id:"crop",view:c})),bp.ajax.post("bp_avatar_set",{json:!0,original_file:a.get("url"),crop_w:a.get("w"),crop_h:a.get("h"),crop_x:a.get("x"),crop_y:a.get("y"),item_id:a.get("item_id"),object:a.get("object"),type:_.isUndefined(a.get("type"))?"crop":a.get("type"),nonce:a.get("nonces").set}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({hide:0}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"uploaded"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces")),b=new bp.Views.DeleteAvatar({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-avatar")},deleteAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_avatar_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({active:0,hide:1}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-avatar-status")}},bp.Views.Nav=bp.View.extend({tagName:"ul",className:"avatar-nav-items",events:{"click .bp-avatar-nav-item":"toggleView"},initialize:function(){var a=_.findWhere(this.collection.models,{id:"delete"});1!==a.get("hide")&&bp.Avatar.displayWarning(BP_Uploader.strings.has_avatar_warning),_.each(this.collection.models,this.addNavItem,this),this.collection.on("change:hide",this.showHideNavItem,this)},addNavItem:function(a){1!==a.get("hide")&&this.views.add(new bp.Views.NavItem({model:a}))},showHideNavItem:function(a){var b=null;_.each(this.views._views[""],function(c){1===c.model.get("hide")&&c.remove(),a.get("id")===c.model.get("id")&&(b=!0)}),_.isBoolean(b)||this.addNavItem(a)},toggleView:function(a){a.preventDefault(),bp.Avatar.removeWarning();var c=b(a.target).data("nav");_.each(this.collection.models,function(a){a.id===c?(a.set({active:1}),this.trigger("bp-avatar-view:changed",a.id)):a.set({active:0})},this)}}),bp.Views.NavItem=bp.View.extend({tagName:"li",className:"avatar-nav-item",template:bp.template("bp-avatar-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),this.el.id+="bp-avatar-"+this.model.get("id"),this.model.on("change:active",this.setCurrentNav,this)},setCurrentNav:function(a){1===a.get("active")?this.$el.addClass("current"):this.$el.removeClass("current")}}),bp.Views.Avatars=bp.View.extend({className:"items",initialize:function(){_.each(this.collection.models,this.addItemView,this)},addItemView:function(a){var b={full_h:150,full_w:150};_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(b.full_h=BP_Uploader.settings.crop.full_h,b.full_w=BP_Uploader.settings.crop.full_w),a.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),b)),this.views.add(new bp.Views.Avatar({model:a}))}}),bp.Views.Avatar=bp.View.extend({className:"item",template:bp.template("bp-avatar-item"),events:{"click .avatar-crop-submit":"cropAvatar"},initialize:function(){_.defaults(this.options,{full_h:BP_Uploader.settings.crop.full_h,full_w:BP_Uploader.settings.crop.full_w,aspectRatio:1}),!1!==this.model.get("feedback")&&bp.Avatar.displayWarning(this.model.get("feedback")),this.on("ready",this.initCropper)},initCropper:function(){var a,c,d,e,f,g,h=this,i=this.$el.find("#avatar-to-crop img"),j=this.$el.width(),k={};_.isUndefined(this.options.full_h)||_.isUndefined(this.options.full_w)||(this.options.aspectRatio=this.options.full_w/this.options.full_h),k.w=this.model.get("width"),k.h=this.model.get("height"),this.options.full_w+k.w+20<j&&(b("#avatar-to-crop").addClass("adjust"),this.$el.find(".avatar-crop-management").addClass("adjust")),k.h<=k.w?(a=Math.round(k.h/4),f=g=Math.round(k.h/2),c=f+a,d=(k.w-g)/2,e=g+d):(d=Math.round(k.w/4),f=g=Math.round(k.w/2),e=g+d,a=(k.h-f)/2,c=f+a),i.Jcrop({onChange:_.bind(h.showPreview,h),onSelect:_.bind(h.showPreview,h),aspectRatio:h.options.aspectRatio,setSelect:[d,a,e,c]},function(){bp.Avatar.jcropapi=this})},cropAvatar:function(a){a.preventDefault(),bp.Avatar.setAvatar(this.model)},showPreview:function(a){if(a.w&&a.h&&parseInt(a.w,10)>0){var c=this.options.full_w,d=this.options.full_h,e=c/a.w,f=d/a.h;this.model.set({x:a.x,y:a.y,w:a.w,h:a.h}),b("#avatar-crop-preview").css({maxWidth:"none",width:Math.round(e*this.model.get("width"))+"px",height:Math.round(f*this.model.get("height"))+"px",marginLeft:"-"+Math.round(e*this.model.get("x"))+"px",marginTop:"-"+Math.round(f*this.model.get("y"))+"px"})}}}),bp.Views.AvatarStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-avatar-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteAvatar=bp.View.extend({tagName:"div",id:"bp-delete-avatar-container",template:bp.template("bp-avatar-delete"),events:{"click #bp-delete-avatar":"deleteAvatar"},deleteAvatar:function(a){a.preventDefault(),bp.Avatar.deleteAvatar(this.model)}}),bp.Avatar.start())}(bp,jQuery);
bp-core/js/bp-plupload.js CHANGED
@@ -97,11 +97,6 @@ window.bp = window.bp || {};
97
 
98
  } );
99
 
100
- // See https://core.trac.wordpress.org/ticket/37039
101
- this.uploader.bind( 'postinit', function( up ) {
102
- up.refresh();
103
- });
104
-
105
  // Init BuddyPress Uploader
106
  this.uploader.init();
107
 
97
 
98
  } );
99
 
 
 
 
 
 
100
  // Init BuddyPress Uploader
101
  this.uploader.init();
102
 
bp-core/js/bp-plupload.min.js CHANGED
@@ -1 +1 @@
1
- window.wp=window.wp||{},window.bp=window.bp||{},function(e,i){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var e=this,t=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(t||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(t){var s=i("#"+e.params.defaults.container),a=i("#"+e.params.defaults.drop_element);"html4"===t.runtime&&(t.settings.multipart_params.html4=!0),"bp_avatar_upload"===t.settings.multipart_params.action&&(t.settings.multipart_params.bp_params.ui_available_width=s.width()),t.features.dragdrop&&!e.params.browser.mobile?(s.addClass("drag-drop"),a.bind("dragover.wp-uploader",function(){s.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){s.removeClass("drag-over")})):(s.removeClass("drag-drop"),a.unbind(".wp-uploader"))}),this.uploader.bind("postinit",function(e){e.refresh()}),this.uploader.init(),this.feedback=function(e,i,t){!_.isNull(t)&&t.item&&t.item.clear(),bp.Uploader.filesError.unshift({message:e,data:i,file:t})},this.uploader.bind("FilesAdded",function(t,s){var a=parseInt(t.settings.max_file_size,10),r=this;if(!t.settings.multi_selection&&s.length>1){for(var n in s)t.removeFile(s[n]);i(e).trigger("bp-uploader-warning",e.strings.unique_file_warning)}else _.each(s,function(e){var i;plupload.FAILED!==e.status&&(a>104857600&&e.size>104857600&&"html5"!==t.runtime?r.uploadSizeError(t,e,!0):(i=_.extend({id:e.id,file:e,uploading:!0,date:new Date,filename:e.name},_.pick(e,"loaded","size","percent")),e.item=new bp.Models.File(i),bp.Uploader.filesQueue.add(e.item)))}),t.refresh(),t.start()}),this.uploader.bind("UploadProgress",function(e,i){i.item.set(_.pick(i,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(i,t,s){var a=e.strings.default_error;try{s=JSON.parse(s.response)}catch(i){return e.feedback(a,i,t)}return!_.isObject(s)||_.isUndefined(s.success)?e.feedback(a,null,t):s.success?(_.each(["file","loaded","size","percent"],function(e){t.item.unset(e)}),t.item.set(_.extend(s.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(t.item)):(s.data&&s.data.message&&(a=s.data.message),e.feedback(a,s.data,t))}),this.uploader.bind("BeforeUpload",function(t,s){i(e).trigger("bp-uploader-new-upload",t,s)}),this.uploader.bind("UploadComplete",function(t,s){i(e).trigger("bp-uploader-upload-complete",t,s),bp.Uploader.filesQueue.reset()}),this.uploader.bind("Error",function(t,s){var a,r=e.strings.default_error,n={FAILED:e.strings.upload_failed,FILE_EXTENSION_ERROR:e.strings.invalid_filetype,IMAGE_FORMAT_ERROR:e.strings.not_an_image,IMAGE_MEMORY_ERROR:e.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:e.strings.image_dimensions_exceeded,GENERIC_ERROR:e.strings.upload_failed,IO_ERROR:e.strings.io_error,HTTP_ERROR:e.strings.http_error,SECURITY_ERROR:e.strings.security_error,FILE_SIZE_ERROR:e.strings.file_exceeds_size_limit.replace("%s",s.file.name)};for(a in n)if(s.code===plupload[a]){r=n[a];break}i(e).trigger("bp-uploader-warning",r),t.refresh()})):BP_Uploader=void 0},bp.Models.File=Backbone.Model.extend({file:{}}),i.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(e){this.render(),i(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,i(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),i(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(e,i){if(!_.isUndefined(i)){var t=new bp.Views.uploaderWarning({value:i}).render();this.warnings.push(t),this.$el.after(t.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(e){e.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(e){this.views.add(new bp.Views.uploaderProgress({model:e}))},progress:function(e){_.isUndefined(e.get("percent"))||i("#"+e.get("id")+" .bp-progress .bp-bar").css("width",e.get("percent")+"%")},feedback:function(e){_.isUndefined(e.get("message"))||_.isUndefined(e.get("file"))||i("#"+e.get("file").id).html(e.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery);
1
+ window.wp=window.wp||{},window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var a=this,c=navigator.userAgent.indexOf("Trident/")!==-1||navigator.userAgent.indexOf("MSIE ")!==-1;return this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(c||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(c){var d=b("#"+a.params.defaults.container),e=b("#"+a.params.defaults.drop_element);"html4"===c.runtime&&(c.settings.multipart_params.html4=!0),"bp_avatar_upload"===c.settings.multipart_params.action&&(c.settings.multipart_params.bp_params.ui_available_width=d.width()),c.features.dragdrop&&!a.params.browser.mobile?(d.addClass("drag-drop"),e.bind("dragover.wp-uploader",function(){d.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){d.removeClass("drag-over")})):(d.removeClass("drag-drop"),e.unbind(".wp-uploader"))}),this.uploader.init(),this.feedback=function(a,b,c){!_.isNull(c)&&c.item&&c.item.clear(),bp.Uploader.filesError.unshift({message:a,data:b,file:c})},this.uploader.bind("FilesAdded",function(c,d){var e=104857600,f=parseInt(c.settings.max_file_size,10),g=this;if(!c.settings.multi_selection&&d.length>1){for(var h in d)c.removeFile(d[h]);return void b(a).trigger("bp-uploader-warning",a.strings.unique_file_warning)}_.each(d,function(a){var b;plupload.FAILED!==a.status&&(f>e&&a.size>e&&"html5"!==c.runtime?g.uploadSizeError(c,a,!0):(b=_.extend({id:a.id,file:a,uploading:!0,date:new Date,filename:a.name},_.pick(a,"loaded","size","percent")),a.item=new bp.Models.File(b),bp.Uploader.filesQueue.add(a.item)))}),c.refresh(),c.start()}),this.uploader.bind("UploadProgress",function(a,b){b.item.set(_.pick(b,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(b,c,d){var e=a.strings.default_error;try{d=JSON.parse(d.response)}catch(b){return a.feedback(e,b,c)}return!_.isObject(d)||_.isUndefined(d.success)?a.feedback(e,null,c):d.success?(_.each(["file","loaded","size","percent"],function(a){c.item.unset(a)}),c.item.set(_.extend(d.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(c.item)):(d.data&&d.data.message&&(e=d.data.message),a.feedback(e,d.data,c))}),this.uploader.bind("BeforeUpload",function(c,d){b(a).trigger("bp-uploader-new-upload",c,d)}),this.uploader.bind("UploadComplete",function(c,d){b(a).trigger("bp-uploader-upload-complete",c,d),bp.Uploader.filesQueue.reset()}),void this.uploader.bind("Error",function(c,d){var e,f=a.strings.default_error,g={FAILED:a.strings.upload_failed,FILE_EXTENSION_ERROR:a.strings.invalid_filetype,IMAGE_FORMAT_ERROR:a.strings.not_an_image,IMAGE_MEMORY_ERROR:a.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:a.strings.image_dimensions_exceeded,GENERIC_ERROR:a.strings.upload_failed,IO_ERROR:a.strings.io_error,HTTP_ERROR:a.strings.http_error,SECURITY_ERROR:a.strings.security_error,FILE_SIZE_ERROR:a.strings.file_exceeds_size_limit.replace("%s",d.file.name)};for(e in g)if(d.code===plupload[e]){f=g[e];break}b(a).trigger("bp-uploader-warning",f),c.refresh()})):void(BP_Uploader=void 0)},bp.Models.File=Backbone.Model.extend({file:{}}),b.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(a){this.render(),b(a).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,b(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),b(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(a,b){if(!_.isUndefined(b)){var c=new bp.Views.uploaderWarning({value:b}).render();this.warnings.push(c),this.$el.after(c.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(a){a.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(a){this.views.add(new bp.Views.uploaderProgress({model:a}))},progress:function(a){_.isUndefined(a.get("percent"))||b("#"+a.get("id")+" .bp-progress .bp-bar").css("width",a.get("percent")+"%")},feedback:function(a){_.isUndefined(a.get("message"))||_.isUndefined(a.get("file"))||b("#"+a.get("file").id).html(a.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery);
bp-core/js/cover-image.min.js CHANGED
@@ -1 +1 @@
1
- window.bp=window.bp||{},function(e,i){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.CoverImage={start:function(){this.views=new Backbone.Collection,this.warning=null,this.Attachment=new Backbone.Model,this.uploaderView(),this.displayWarning(BP_Uploader.strings.cover_image_warnings.dimensions),!0===BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image&&this.deleteView()},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var e=new bp.Views.Uploader;this.views.add({id:"upload",view:e}),e.inject(".bp-cover-image")},uploadProgress:function(){var e=new bp.Views.coverImageUploadProgress({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:e}):this.views.set({id:"status",view:e}),e.inject(".bp-cover-image-status")},deleteView:function(){var e=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id","nonces"]));if(_.isUndefined(this.views.get("delete"))){var i=new bp.Views.DeleteCoverImage({model:e});this.views.add({id:"delete",view:i}),i.inject(".bp-cover-image-manage")}},deleteCoverImage:function(e){var t,a=this;_.isUndefined(this.views.get("delete"))||((t=this.views.get("delete")).get("view").remove(),this.views.remove({id:"delete",view:t})),bp.ajax.post("bp_cover_image_delete",{json:!0,item_id:e.get("item_id"),object:e.get("object"),nonce:e.get("nonces").remove}).done(function(t){var s=new bp.Views.CoverImageStatus({value:BP_Uploader.strings.feedback_messages[t.feedback_code],type:"success"});a.views.add({id:"status",view:s}),s.inject(".bp-cover-image-status"),""===t.reset_url?i("#header-cover-image").css({"background-image":"none"}):i("#header-cover-image").css({"background-image":"url( "+t.reset_url+" )"}),BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image=!1,a.Attachment.set(_.extend(_.pick(e.attributes,["object","item_id"]),{url:t.reset_url,action:"deleted"}))}).fail(function(e){var i=BP_Uploader.strings.default_error;_.isUndefined(e)||(i=BP_Uploader.strings.feedback_messages[e.feedback_code]);var t=new bp.Views.CoverImageStatus({value:i,type:"error"});a.views.add({id:"status",view:t}),t.inject(".bp-cover-image-status"),bp.CoverImage.deleteView()})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(e){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:e}),this.warning.inject(".bp-cover-image-status")}},bp.Views.coverImageUploadProgress=bp.Views.uploaderStatus.extend({className:"files",initialize:function(){bp.Views.uploaderStatus.prototype.initialize.apply(this,arguments),this.collection.on("change:url",this.uploadResult,this)},uploadResult:function(e){var t,a;_.isUndefined(e.get("url"))||(0===e.get("feedback_code")?(t=BP_Uploader.strings.cover_image_warnings.dimensions,a="warning"):(t=BP_Uploader.strings.feedback_messages[e.get("feedback_code")],a="success"),this.views.set(".bp-uploader-progress",new bp.Views.CoverImageStatus({value:t,type:a})),i("#header-cover-image").css({"background-image":"url( "+e.get("url")+" )"}),bp.CoverImage.deleteView(),bp.CoverImage.Attachment.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id"]),{url:e.get("url"),action:"uploaded"})))}}),bp.Views.CoverImageStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-cover-image-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteCoverImage=bp.View.extend({tagName:"div",id:"bp-delete-cover-image-container",template:bp.template("bp-cover-image-delete"),events:{"click #bp-delete-cover-image":"deleteCoverImage"},deleteCoverImage:function(e){e.preventDefault(),bp.CoverImage.deleteCoverImage(this.model)}}),bp.CoverImage.start())}(bp,jQuery);
1
+ window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.CoverImage={start:function(){this.views=new Backbone.Collection,this.warning=null,this.Attachment=new Backbone.Model,this.uploaderView(),this.displayWarning(BP_Uploader.strings.cover_image_warnings.dimensions),!0===BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image&&this.deleteView()},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-cover-image")},uploadProgress:function(){var a=new bp.Views.coverImageUploadProgress({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-cover-image-status")},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id","nonces"]));if(_.isUndefined(this.views.get("delete"))){var b=new bp.Views.DeleteCoverImage({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-cover-image-manage")}},deleteCoverImage:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_cover_image_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.CoverImageStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-cover-image-status"),""===c.reset_url?b("#header-cover-image").css({"background-image":"none"}):b("#header-cover-image").css({"background-image":"url( "+c.reset_url+" )"}),BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image=!1,d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.reset_url,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.CoverImageStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-cover-image-status"),bp.CoverImage.deleteView()})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-cover-image-status")}},bp.Views.coverImageUploadProgress=bp.Views.uploaderStatus.extend({className:"files",initialize:function(){bp.Views.uploaderStatus.prototype.initialize.apply(this,arguments),this.collection.on("change:url",this.uploadResult,this)},uploadResult:function(a){var c,d;_.isUndefined(a.get("url"))||(0===a.get("feedback_code")?(c=BP_Uploader.strings.cover_image_warnings.dimensions,d="warning"):(c=BP_Uploader.strings.feedback_messages[a.get("feedback_code")],d="success"),this.views.set(".bp-uploader-progress",new bp.Views.CoverImageStatus({value:c,type:d})),b("#header-cover-image").css({"background-image":"url( "+a.get("url")+" )"}),bp.CoverImage.deleteView(),bp.CoverImage.Attachment.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id"]),{url:a.get("url"),action:"uploaded"})))}}),bp.Views.CoverImageStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-cover-image-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteCoverImage=bp.View.extend({tagName:"div",id:"bp-delete-cover-image-container",template:bp.template("bp-cover-image-delete"),events:{"click #bp-delete-cover-image":"deleteCoverImage"},deleteCoverImage:function(a){a.preventDefault(),bp.CoverImage.deleteCoverImage(this.model)}}),bp.CoverImage.start())}(bp,jQuery);
bp-core/js/jquery-query.min.js CHANGED
@@ -1 +1 @@
1
- function bp_get_querystring(n){var t=location.search.split(n+"=")[1];return t?decodeURIComponent(t.split("&")[0]):null}
1
+ function bp_get_querystring(a){var b=location.search.split(a+"=")[1];return b?decodeURIComponent(b.split("&")[0]):null}
bp-core/js/vendor/jquery-cookie.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function o(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(c," ")),u.json?JSON.parse(e):e}catch(e){}}function t(n,o){var i=u.raw?n:r(n);return e.isFunction(o)?o(i):i}var c=/\+/g,u=e.cookie=function(r,c,f){if(void 0!==c&&!e.isFunction(c)){if("number"==typeof(f=e.extend({},u.defaults,f)).expires){var a=f.expires,d=f.expires=new Date;d.setTime(+d+864e5*a)}return document.cookie=[n(r),"=",i(c),f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}for(var p=r?void 0:{},s=document.cookie?document.cookie.split("; "):[],m=0,x=s.length;m<x;m++){var v=s[m].split("="),k=o(v.shift()),l=v.join("=");if(r&&r===k){p=t(l,c);break}r||void 0===(l=t(l))||(p[k]=l)}return p};u.defaults={},e.removeCookie=function(n,o){return void 0!==e.cookie(n)&&(e.cookie(n,"",e.extend({},o,{expires:-1})),!e.cookie(n))}});
1
+ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(a){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;n<o;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)&&(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
bp-core/js/vendor/jquery-scroll-to.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){function t(t){return e.isFunction(t)||"object"==typeof t?t:{top:t,left:t}}var n=e.scrollTo=function(t,n,o){return e(window).scrollTo(t,n,o)};return n.defaults={axis:"xy",duration:parseFloat(e.fn.jquery)>=1.3?0:1,limit:!0},n.window=function(){return e(window)._scrollable()},e.fn._scrollable=function(){return this.map(function(){var t=this;if(!(!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])))return t;var n=(t.contentWindow||t).document||t.ownerDocument||t;return/webkit/i.test(navigator.userAgent)||"BackCompat"===n.compatMode?n.body:n.documentElement})},e.fn.scrollTo=function(o,r,i){return"object"==typeof r&&(i=r,r=0),"function"==typeof i&&(i={onAfter:i}),"max"===o&&(o=9e9),i=e.extend({},n.defaults,i),r=r||i.duration,i.queue=i.queue&&i.axis.length>1,i.queue&&(r/=2),i.offset=t(i.offset),i.over=t(i.over),this._scrollable().each(function(){function s(e){u.animate(l,r,i.easing,e&&function(){e.call(this,c,i)})}if(null!==o){var a,f=this,u=e(f),c=o,l={},d=u.is("html,body");switch(typeof c){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(c)){c=t(c);break}if(!(c=d?e(c):e(c,this)).length)return;case"object":(c.is||c.style)&&(a=(c=e(c)).offset())}var m=e.isFunction(i.offset)&&i.offset(f,c)||i.offset;e.each(i.axis.split(""),function(e,t){var o="x"===t?"Left":"Top",r=o.toLowerCase(),h="scroll"+o,p=f[h],y=n.max(f,t);if(a)l[h]=a[r]+(d?0:p-u.offset()[r]),i.margin&&(l[h]-=parseInt(c.css("margin"+o))||0,l[h]-=parseInt(c.css("border"+o+"Width"))||0),l[h]+=m[r]||0,i.over[r]&&(l[h]+=c["x"===t?"width":"height"]()*i.over[r]);else{var b=c[r];l[h]=b.slice&&"%"===b.slice(-1)?parseFloat(b)/100*y:b}i.limit&&/^\d+$/.test(l[h])&&(l[h]=l[h]<=0?0:Math.min(l[h],y)),!e&&i.queue&&(p!==l[h]&&s(i.onAfterFirst),delete l[h])}),s(i.onAfter)}}).end()},n.max=function(t,n){var o="x"===n?"Width":"Height",r="scroll"+o;if(!e(t).is("html,body"))return t[r]-e(t)[o.toLowerCase()]();var i="client"+o,s=t.ownerDocument.documentElement,a=t.ownerDocument.body;return Math.max(s[r],a[r])-Math.min(s[i],a[i])},n});
1
+ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"])!==-1;if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c});
bp-core/js/vendor/jquery.atwho.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(i){return t.returnExportsGlobal=e(i)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){var e,i,n,r,o,s,a,h=[].slice;i=function(){function e(e){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=t(e),this.setIframe(),this.listen()}return e.prototype.createContainer=function(e){if(0===(this.$el=t("#atwho-container",e)).length)return t(e.body).append(this.$el=t("<div id='atwho-container'></div>"))},e.prototype.setIframe=function(t,e){var i;return null==e&&(e=!1),t?(this.window=t.contentWindow,this.document=t.contentDocument||this.window.document,this.iframe=t):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=e)?(null!=(i=this.$el)&&i.remove(),this.createContainer(this.document)):this.createContainer(document)},e.prototype.controller=function(t){var e,i,n,r;if(this.alias_maps[t])i=this.controllers[this.alias_maps[t]];else{r=this.controllers;for(n in r)if(e=r[n],n===t){i=e;break}}return i||this.controllers[this.current_flag]},e.prototype.set_context_for=function(t){return this.current_flag=t,this},e.prototype.reg=function(t,e){var i,r;return i=(r=this.controllers)[t]||(r[t]=new n(this,t)),e.alias&&(this.alias_maps[e.alias]=t),i.init(e),this},e.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(t){return function(e){return t.on_keyup(e)}}(this)).on("keydown.atwhoInner",function(t){return function(e){return t.on_keydown(e)}}(this)).on("scroll.atwhoInner",function(t){return function(e){var i;return null!=(i=t.controller())?i.view.hide(e):void 0}}(this)).on("blur.atwhoInner",function(t){return function(e){var i;if(i=t.controller())return i.view.hide(e,i.get_opt("display_timeout"))}}(this)).on("click.atwhoInner",function(t){return function(e){return t.dispatch()}}(this))},e.prototype.shutdown=function(){var t,e;e=this.controllers;for(t in e)e[t].destroy(),delete this.controllers[t];return this.$inputor.off(".atwhoInner"),this.$el.remove()},e.prototype.dispatch=function(){return t.map(this.controllers,function(t){return function(e){var i;return(i=e.get_opt("delay"))?(clearTimeout(t.delayedCallback),t.delayedCallback=setTimeout(function(){if(e.look_up())return t.set_context_for(e.at)},i)):e.look_up()?t.set_context_for(e.at):void 0}}(this))},e.prototype.on_keyup=function(e){var i;switch(e.keyCode){case o.ESC:e.preventDefault(),null!=(i=this.controller())&&i.view.hide();break;case o.DOWN:case o.UP:case o.CTRL:t.noop();break;case o.P:case o.N:e.ctrlKey||this.dispatch();break;default:this.dispatch()}},e.prototype.on_keydown=function(e){var i,n;if((i=null!=(n=this.controller())?n.view:void 0)&&i.visible())switch(e.keyCode){case o.ESC:e.preventDefault(),i.hide(e);break;case o.UP:e.preventDefault(),i.prev();break;case o.DOWN:e.preventDefault(),i.next();break;case o.P:if(!e.ctrlKey)return;e.preventDefault(),i.prev();break;case o.N:if(!e.ctrlKey)return;e.preventDefault(),i.next();break;case o.TAB:case o.ENTER:if(!i.visible())return;e.preventDefault(),i.choose(e);break;default:t.noop()}},e}(),n=function(){function e(e,i){this.app=e,this.at=i,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=t("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=t("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new s(this),this.view=new a(this)}return e.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},e.prototype.init=function(e){return this.setting=t.extend({},this.setting||t.fn.atwho.default,e),this.view.init(),this.model.reload(this.setting.data)},e.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},e.prototype.call_default=function(){var e,i,n;n=arguments[0],e=2<=arguments.length?h.call(arguments,1):[];try{return r[n].apply(this,e)}catch(e){return i=e,t.error(i+" Or maybe At.js doesn't have function "+n)}},e.prototype.trigger=function(t,e){var i,n;return null==e&&(e=[]),e.push(this),i=this.get_opt("alias"),n=i?t+"-"+i+".atwho":t+".atwho",this.$inputor.trigger(n,e)},e.prototype.callbacks=function(t){return this.get_opt("callbacks")[t]||r[t]},e.prototype.get_opt=function(t,e){try{return this.setting[t]}catch(t){return t,null}},e.prototype.content=function(){var t;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(t=this.mark_range())return(t.startContainer.textContent||"").slice(0,t.startOffset)},e.prototype.catch_query=function(){var t,e,i,n,r,o;return e=this.content(),t=this.$inputor.caret("pos",{iframe:this.app.iframe}),o=e.slice(0,t),"string"==typeof(n=this.callbacks("matcher").call(this,this.at,o,this.get_opt("start_with_space")))&&n.length<=this.get_opt("max_len",20)?(i=(r=t-n.length)+n.length,this.pos=r,n={text:n,head_pos:r,end_pos:i},this.trigger("matched",[this.at,n.text])):(n=null,this.view.hide()),this.query=n},e.prototype.rect=function(){var e,i,n;if(e=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(i=t(this.app.iframe).offset(),e.left+=i.left,e.top+=i.top),this.$inputor.is("[contentEditable]")&&(e=this.cur_rect||(this.cur_rect=e)),n=this.app.document.selection?0:2,{left:e.left,top:e.top,bottom:e.top+e.height+n}},e.prototype.reset_rect=function(){if(this.$inputor.is("[contentEditable]"))return this.cur_rect=null},e.prototype.mark_range=function(){var t;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(t=this.app.window.getSelection()).rangeCount>0?this.range=t.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},e.prototype.insert_content_for=function(e){var i,n,r;return n=e.data("value"),r=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!r?n:(i=t.extend({},e.data("item-data"),{"atwho-data-value":n,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,r,i))},e.prototype.insert=function(e,i){var n,r,o,s,a,h,l,u,c,p,f,d;if(n=this.$inputor,c=this.callbacks("inserting_wrapper").call(this,n,e,this.get_opt("suffix")),n.is("textarea, input"))u=""+(l=(h=n.val()).slice(0,Math.max(this.query.head_pos-this.at.length,0)))+c+h.slice(this.query.end_pos||0),n.val(u),n.caret("pos",l.length+c.length,{iframe:this.app.iframe});else if(s=this.range){for(o=s.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,s.setStart(s.endContainer,Math.max(o,0)),s.setEnd(s.endContainer,s.endOffset),s.deleteContents(),p=0,f=(d=t(c,this.app.document)).length;p<f;p++)r=d[p],s.insertNode(r),s.setEndAfter(r),s.collapse(!1);(a=this.app.window.getSelection()).removeAllRanges(),a.addRange(s)}else(s=this.ie8_range)&&(s.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),s.pasteHTML(c),s.collapse(!1),s.select());return n.is(":focus")||n.focus(),n.change()},e.prototype.render_view=function(t){var e;return e=this.get_opt("search_key"),t=this.callbacks("sorter").call(this,this.query.text,t.slice(0,1001),e),this.view.render(t.slice(0,this.get_opt("limit")))},e.prototype.look_up=function(){var e,i;if(e=this.catch_query())return i=function(t){return t&&t.length>0?this.render_view(t):this.view.hide()},this.model.query(e.text,t.proxy(i,this)),e},e}(),s=function(){function e(t){this.context=t,this.at=this.context.at,this.storage=this.context.$inputor}return e.prototype.destroy=function(){return this.storage.data(this.at,null)},e.prototype.saved=function(){return this.fetch()>0},e.prototype.query=function(t,e){var i,n,r;return i=this.fetch(),n=this.context.get_opt("search_key"),i=this.context.callbacks("filter").call(this.context,t,i,n)||[],r=this.context.callbacks("remote_filter"),i.length>0||!r&&0===i.length?e(i):r.call(this.context,t,e)},e.prototype.fetch=function(){return this.storage.data(this.at)||[]},e.prototype.save=function(t){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,t||[]))},e.prototype.load=function(t){if(!this.saved()&&t)return this._load(t)},e.prototype.reload=function(t){return this._load(t)},e.prototype._load=function(e){return"string"==typeof e?t.ajax(e,{dataType:"json"}).done(function(t){return function(e){return t.save(e)}}(this)):this.save(e)},e}(),a=function(){function e(e){this.context=e,this.$el=t("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return e.prototype.init=function(){var t;return t=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+t})},e.prototype.destroy=function(){return this.$el.remove()},e.prototype.bind_event=function(){var e;return(e=this.$el.find("ul")).on("mouseenter.atwho-view","li",function(i){return e.find(".cur").removeClass("cur"),t(i.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(i){return function(n){return e.find(".cur").removeClass("cur"),t(n.currentTarget).addClass("cur"),i.choose(n),n.preventDefault()}}(this))},e.prototype.visible=function(){return this.$el.is(":visible")},e.prototype.choose=function(t){var e,i;if((e=this.$el.find(".cur")).length&&(i=this.context.insert_content_for(e),this.context.insert(this.context.callbacks("before_insert").call(this.context,i,e),e),this.context.trigger("inserted",[e,t]),this.hide(t)),this.context.get_opt("hide_without_suffix"))return this.stop_showing=!0},e.prototype.reposition=function(e){var i,n,r,o;return o=this.context.app.iframeStandalone?this.context.app.window:window,e.bottom+this.$el.height()-t(o).scrollTop()>t(o).height()&&(e.bottom=e.top-this.$el.height()),e.left>(n=t(o).width()-this.$el.width()-5)&&(e.left=n),i={left:e.left,top:e.bottom},null!=(r=this.context.callbacks("before_reposition"))&&r.call(this.context,i),this.$el.offset(i),this.context.trigger("reposition",[i])},e.prototype.next=function(){var t,e;return t=this.$el.find(".cur").removeClass("cur"),(e=t.next()).length||(e=this.$el.find("li:first")),e.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,t.innerHeight()*(e.index()+2)-this.$el.height())},150)},e.prototype.prev=function(){var t,e;return t=this.$el.find(".cur").removeClass("cur"),(e=t.prev()).length||(e=this.$el.find("li:last")),e.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,t.innerHeight()*(e.index()+2)-this.$el.height())},150)},e.prototype.show=function(){var t;{if(!this.stop_showing)return this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(t=this.context.rect())?this.reposition(t):void 0;this.stop_showing=!1}},e.prototype.hide=function(t,e){var i;if(this.visible())return isNaN(e)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[t])):(i=function(t){return function(){return t.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(i,e))},e.prototype.render=function(e){var i,n,r,o,s,a,h;{if(t.isArray(e)&&e.length>0){for(this.$el.find("ul").empty(),n=this.$el.find("ul"),s=this.context.get_opt("tpl"),a=0,h=e.length;a<h;a++)r=e[a],r=t.extend({},r,{"atwho-at":this.context.at}),o=this.context.callbacks("tpl_eval").call(this.context,s,r),(i=t(this.context.callbacks("highlighter").call(this.context,o,this.context.query.text))).data("item-data",r),n.append(i);return this.show(),this.context.get_opt("highlight_first")?n.find("li:first").addClass("cur"):void 0}this.hide()}},e}(),o={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},r={before_save:function(e){var i,n,r,o;if(!t.isArray(e))return e;for(o=[],n=0,r=e.length;n<r;n++)i=e[n],t.isPlainObject(i)?o.push(i):o.push({name:i});return o},matcher:function(t,e,i){var n,r,o,s;return t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),i&&(t="(?:^|\\s)"+t),o=decodeURI("%C3%80"),s=decodeURI("%C3%BF"),r=new RegExp(t+"([A-Za-z"+o+"-"+s+"0-9_+-]*)$|"+t+"([^\\x00-\\xff]*)$","gi"),(n=r.exec(e))?n[2]||n[1]:null},filter:function(t,e,i){var n,r,o,s;for(s=[],r=0,o=e.length;r<o;r++)n=e[r],~new String(n[i]).toLowerCase().indexOf(t.toLowerCase())&&s.push(n);return s},remote_filter:null,sorter:function(t,e,i){var n,r,o,s;if(!t)return e;for(s=[],r=0,o=e.length;r<o;r++)(n=e[r]).atwho_order=new String(n[i]).toLowerCase().indexOf(t.toLowerCase()),n.atwho_order>-1&&s.push(n);return s.sort(function(t,e){return t.atwho_order-e.atwho_order})},tpl_eval:function(t,e){try{return t.replace(/\$\{([^\}]*)\}/g,function(t,i,n){return e[i]})}catch(t){return t,""}},highlighter:function(t,e){var i;return e?(i=new RegExp(">\\s*(\\w*?)("+e.replace("+","\\+")+")(\\w*)\\s*<","ig"),t.replace(i,function(t,e,i,n){return"> "+e+"<strong>"+i+"</strong>"+n+" <"})):t},before_insert:function(t,e){return t},inserting_wrapper:function(t,e,i){var n;return i=""===i?i:i||" ",t.is("textarea, input")?""+e+i:"true"===t.attr("contentEditable")?(i=" "===i?"&nbsp;":i,n=/firefox/i.test(navigator.userAgent)?"<span>"+e+i+"</span>":"<span contenteditable='false'>"+e+(i="<span contenteditable='false'>"+i+"</span>")+"</span>",this.app.document.selection&&(n="<span contenteditable='true'>"+e+"</span>"),n+"<span></span>"):void 0}},e={load:function(t,e){var i;if(i=this.controller(t))return i.model.load(e)},setIframe:function(t,e){return this.setIframe(t,e),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},t.fn.atwho=function(n){var r,o;return o=arguments,r=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var s,a;return(a=(s=t(this)).data("atwho"))||s.data("atwho",a=new i(this)),"object"!=typeof n&&n?e[n]&&a?r=e[n].apply(a,Array.prototype.slice.call(o,1)):t.error("Method "+n+" does not exist on jQuery.caret"):a.reg(n.at,n)}),r||this},t.fn.atwho.default={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:r,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
1
+ !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){if(0===(this.$el=a("#atwho-container",b)).length)return a(b.body).append(this.$el=a("<div id='atwho-container'></div>"))},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;if(c=a.controller())return c.view.hide(b,c.get_opt("display_timeout"))}}(this)).on("click.atwhoInner",function(a){return function(b){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){if(b.look_up())return a.set_context_for(b.at)},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho.default,b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(b){return c=b,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a,b){var c;try{return this.setting[a]}catch(a){return c=a,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){if(this.$inputor.is("[contentEditable]"))return this.cur_rect=null},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(d=this.$inputor,l=this.callbacks("inserting_wrapper").call(this,d,b,this.get_opt("suffix")),d.is("textarea, input"))i=d.val(),j=i.slice(0,Math.max(this.query.head_pos-this.at.length,0)),k=""+j+l+i.slice(this.query.end_pos||0),d.val(k),d.caret("pos",j.length+l.length,{iframe:this.app.iframe});else if(g=this.range){for(f=g.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,g.setStart(g.endContainer,Math.max(f,0)),g.setEnd(g.endContainer,g.endOffset),g.deleteContents(),o=a(l,this.app.document),m=0,n=o.length;m<n;m++)e=o[m],g.insertNode(e),g.setEndAfter(e),g.collapse(!1);h=this.app.window.getSelection(),h.removeAllRanges(),h.addRange(g)}else(g=this.ie8_range)&&(g.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),g.pasteHTML(l),g.collapse(!1),g.select());return d.is(":focus")||d.focus(),d.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){if(!this.saved()&&a)return this._load(a)},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;if((b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix"))return this.stop_showing=!0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;h<i;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;d<e;d++)c=b[d],a.isPlainObject(c)?f.push(c):f.push({name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;e<f;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;e<f;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c,d){return b[c]})}catch(a){return c=a,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a,b){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?"&nbsp;":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;if(c=this.controller(a))return c.model.load(b)},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho.default={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
bp-core/js/vendor/jquery.caret.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(o){return t.returnExportsGlobal=e(o)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){"use strict";var e,o,n,r,i,s,a,p,l;e=function(){function e(t){this.$inputor=t,this.domInputor=this.$inputor[0]}return e.prototype.setPos=function(t){return this.domInputor},e.prototype.getIEPosition=function(){return this.getPosition()},e.prototype.getPosition=function(){var t,e;return e=this.getOffset(),t=this.$inputor.offset(),e.left-=t.left,e.top-=t.top,e},e.prototype.getOldIEPos=function(){var t,e;return e=s.selection.createRange(),(t=s.body.createTextRange()).moveToElementText(this.domInputor),t.setEndPoint("EndToEnd",e),t.text.length},e.prototype.getPos=function(){var t,e,o;return(o=this.range())?((t=o.cloneRange()).selectNodeContents(this.domInputor),t.setEnd(o.endContainer,o.endOffset),e=t.toString().length,t.detach(),e):s.selection?this.getOldIEPos():void 0},e.prototype.getOldIEOffset=function(){var t,e;return(t=s.selection.createRange().duplicate()).moveStart("character",-1),e=t.getBoundingClientRect(),{height:e.bottom-e.top,left:e.left,top:e.top}},e.prototype.getOffset=function(e){var o,n,r,i,a;return p.getSelection&&(r=this.range())?(r.endOffset-1>0&&r.endContainer===!this.domInputor&&((o=r.cloneRange()).setStart(r.endContainer,r.endOffset-1),o.setEnd(r.endContainer,r.endOffset),n={height:(i=o.getBoundingClientRect()).height,left:i.left+i.width,top:i.top},o.detach()),n&&0!==(null!=n?n.height:void 0)||(o=r.cloneRange(),a=t(s.createTextNode("|")),o.insertNode(a[0]),o.selectNode(a[0]),n={height:(i=o.getBoundingClientRect()).height,left:i.left,top:i.top},a.remove(),o.detach())):s.selection&&(n=this.getOldIEOffset()),n&&(n.top+=t(p).scrollTop(),n.left+=t(p).scrollLeft()),n},e.prototype.range=function(){var t;if(p.getSelection)return(t=p.getSelection()).rangeCount>0?t.getRangeAt(0):null},e}(),o=function(){function e(t){this.$inputor=t,this.domInputor=this.$inputor[0]}return e.prototype.getIEPos=function(){var t,e,o,n,r,i;return e=this.domInputor,r=s.selection.createRange(),n=0,r&&r.parentElement()===e&&(o=e.value.replace(/\r\n/g,"\n").length,(i=e.createTextRange()).moveToBookmark(r.getBookmark()),(t=e.createTextRange()).collapse(!1),n=i.compareEndPoints("StartToEnd",t)>-1?o:-i.moveStart("character",-o)),n},e.prototype.getPos=function(){return s.selection?this.getIEPos():this.domInputor.selectionStart},e.prototype.setPos=function(t){var e,o;return e=this.domInputor,s.selection?((o=e.createTextRange()).move("character",t),o.select()):e.setSelectionRange&&e.setSelectionRange(t,t),e},e.prototype.getIEOffset=function(t){var e,o,n,r;return o=this.domInputor.createTextRange(),t||(t=this.getPos()),o.move("character",t),n=o.boundingLeft,r=o.boundingTop,e=o.boundingHeight,{left:n,top:r,height:e}},e.prototype.getOffset=function(e){var o,n,r;return o=this.$inputor,s.selection?(n=this.getIEOffset(e),n.top+=t(p).scrollTop()+o.scrollTop(),n.left+=t(p).scrollLeft()+o.scrollLeft(),n):(n=o.offset(),r=this.getPosition(e),n={left:n.left+r.left-o.scrollLeft(),top:n.top+r.top-o.scrollTop(),height:r.height})},e.prototype.getPosition=function(t){var e,o,r,i,s,a;return e=this.$inputor,r=function(t){return t=t.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(t=t.replace(/\s/g,"&nbsp;")),t},void 0===t&&(t=this.getPos()),a=e.val().slice(0,t),o=e.val().slice(t),i="<span style='position: relative; display: inline;'>"+r(a)+"</span>",i+="<span id='caret' style='position: relative; display: inline;'>|</span>",i+="<span style='position: relative; display: inline;'>"+r(o)+"</span>",s=new n(e),s.create(i).rect()},e.prototype.getIEPosition=function(t){var e,o,n,r,i;return n=this.getIEOffset(t),o=this.$inputor.offset(),r=n.left-o.left,i=n.top-o.top,e=n.height,{left:r,top:i,height:e}},e}(),n=function(){function e(t){this.$inputor=t}return e.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],e.prototype.mirrorCss=function(){var e,o=this;return e={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),t.each(this.css_attr,function(t,n){return e[n]=o.$inputor.css(n)}),e},e.prototype.create=function(e){return this.$mirror=t("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(e),this.$inputor.after(this.$mirror),this},e.prototype.rect=function(){var t,e,o;return t=this.$mirror.find("#caret"),e=t.position(),o={left:e.left,top:e.top,height:t.height()},this.$mirror.remove(),o},e}(),r={contentEditable:function(t){return!(!t[0].contentEditable||"true"!==t[0].contentEditable)}},i={pos:function(t){return t||0===t?this.setPos(t):this.getPos()},position:function(t){return s.selection?this.getIEPosition(t):this.getPosition(t)},offset:function(t){return this.getOffset(t)}},s=null,p=null,a=null,l=function(t){var e;return(e=null!=t?t.iframe:void 0)?(a=e,p=e.contentWindow,s=e.contentDocument||p.document):(a=void 0,p=window,s=document)},t.fn.caret=function(n,s,a){var p;return i[n]?(t.isPlainObject(s)?(l(s),s=void 0):l(a),p=r.contentEditable(this)?new e(this):new o(this),i[n].apply(p,[s])):t.error("Method "+n+" does not exist on jQuery.caret")},t.fn.caret.EditableCaret=e,t.fn.caret.InputCaret=o,t.fn.caret.Utils=r,t.fn.caret.apis=i});
1
+ !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(a){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(b){var c,d,e,f,g;return j.getSelection&&(e=this.range())?(e.endOffset-1>0&&e.endContainer===!this.domInputor&&(c=e.cloneRange(),c.setStart(e.endContainer,e.endOffset-1),c.setEnd(e.endContainer,e.endOffset),f=c.getBoundingClientRect(),d={height:f.height,left:f.left+f.width,top:f.top},c.detach()),d&&0!==(null!=d?d.height:void 0)||(c=e.cloneRange(),g=a(h.createTextNode("|")),c.insertNode(g[0]),c.selectNode(g[0]),f=c.getBoundingClientRect(),d={height:f.height,left:f.left,top:f.top},g.remove(),c.detach())):h.selection&&(d=this.getOldIEOffset()),d&&(d.top+=a(j).scrollTop(),d.left+=a(j).scrollLeft()),d},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a=a.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(a=a.replace(/\s/g,"&nbsp;")),a},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(a){b=a}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g});
bp-core/js/vendor/livestamp.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,a){var e=1e3,i=!1,n=t([]),o=function(e,i){var o=e.data("livestampdata");if("number"==typeof i&&(i*=1e3),e.removeAttr("data-livestamp").removeData("livestamp"),i=a(i),a.isMoment(i)&&!isNaN(+i)){var r=t.extend({},{original:e.contents()},o);r.moment=a(i),e.data("livestampdata",r).empty(),n.push(e[0])}},r=function(){i||(m.update(),setTimeout(r,e))},m={update:function(){t("[data-livestamp]").each(function(){var a=t(this);o(a,a.data("livestamp"))});var e=[];n.each(function(){var i=t(this),n=i.data("livestampdata");if(void 0===n)e.push(this);else if(a.isMoment(n.moment)){var o=i.html(),r=n.moment.fromNow();if(o!=r){var m=t.Event("change.livestamp");i.trigger(m,[o,r]),m.isDefaultPrevented()||i.html(r)}}}),n=n.not(e)},pause:function(){i=!0},resume:function(){i=!1,r()},interval:function(t){if(void 0===t)return e;e=t}},s={add:function(e,i){return"number"==typeof i&&(i*=1e3),i=a(i),a.isMoment(i)&&!isNaN(+i)&&(e.each(function(){o(t(this),i)}),m.update()),e},destroy:function(a){return n=n.not(a),a.each(function(){var e=t(this),i=e.data("livestampdata");if(void 0===i)return a;e.html(i.original?i.original:"").removeData("livestampdata")}),a},isLivestamp:function(t){return void 0!==t.data("livestampdata")}};t.livestamp=m,t(function(){m.resume()}),t.fn.livestamp=function(t,a){return s[t]||(a=t,t="add"),s[t](this,a)}}(jQuery,moment);
1
+ !function(a,b){var c=1e3,d=!1,e=a([]),f=function(){i.resume()},g=function(c,d){var f=c.data("livestampdata");if("number"==typeof d&&(d*=1e3),c.removeAttr("data-livestamp").removeData("livestamp"),d=b(d),b.isMoment(d)&&!isNaN(+d)){var g=a.extend({},{original:c.contents()},f);g.moment=b(d),c.data("livestampdata",g).empty(),e.push(c[0])}},h=function(){d||(i.update(),setTimeout(h,c))},i={update:function(){a("[data-livestamp]").each(function(){var b=a(this);g(b,b.data("livestamp"))});var c=[];e.each(function(){var d=a(this),e=d.data("livestampdata");if(void 0===e)c.push(this);else if(b.isMoment(e.moment)){var f=d.html(),g=e.moment.fromNow();if(f!=g){var h=a.Event("change.livestamp");d.trigger(h,[f,g]),h.isDefaultPrevented()||d.html(g)}}}),e=e.not(c)},pause:function(){d=!0},resume:function(){d=!1,h()},interval:function(a){return void 0===a?c:void(c=a)}},j={add:function(c,d){return"number"==typeof d&&(d*=1e3),d=b(d),b.isMoment(d)&&!isNaN(+d)&&(c.each(function(){g(a(this),d)}),i.update()),c},destroy:function(b){return e=e.not(b),b.each(function(){var c=a(this),d=c.data("livestampdata");return void 0===d?b:void c.html(d.original?d.original:"").removeData("livestampdata")}),b},isLivestamp:function(a){return void 0!==a.data("livestampdata")}};a.livestamp=i,a(f),a.fn.livestamp=function(a,b){return j[a]||(b=a,a="add"),j[a](this,b)}}(jQuery,moment);
bp-core/js/vendor/moment-js/locale/af.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e){return/^nm$/i.test(e)},meridiem:function(e,n,a){return e<12?a?"vm":"VM":a?"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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";var d={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(d,r,i,m){var o=t(d),a=n[e][t(d)];return 2===o&&(a=a[r?0:1]),a.replace(/%d/i,d)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];return e.defineLocale("ar-ly",{months:i,monthsShort:i,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(e){return"م"===e},meridiem:function(e,d,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return d[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};return e.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(e){return"م"===e},meridiem:function(e,t,_){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return _[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";var d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},t={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(d,t,i,o){var a=n(d),m=r[e][n(d)];return 2===a&&(m=m[t?0:1]),m.replace(/%d/i,d)}},o=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];return e.defineLocale("ar",{months:o,monthsShort:o,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(e){return"م"===e},meridiem:function(e,d,t){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return t[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return d[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(n,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(n.moment)}(this,function(n){"use strict";var a={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ı"};return n.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(n){return/^(gündüz|axşam)$/.test(n)},meridiem:function(n,a,e){return n<4?"gecə":n<12?"səhər":n<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(n){if(0===n)return n+"-ıncı";var e=n%10,i=n%100-e,t=n>=100?100:null;return n+(a[e]||a[i]||a[t])},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";function _(e,_){var t=e.split("_");return _%10==1&&_%100!=11?t[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?t[1]:t[2]}function t(e,t,n){var s={mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+_(s[n],+e)}return e.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:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,_,t){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,_){switch(_){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){var _=e%10,d=e%100;return 0===e?e+"-ев":0===d?e+"-ен":d>10&&d<20?e+"-ти":1===_?e+"-ви":2===_?e+"-ри":7===_||8===_?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},_={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};return e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return _[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,_){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},_={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};return e.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(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return _[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,_){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,r){return e+" "+t({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}function r(e){return e>9?r(e%10):e}function t(e,n){return 2===n?a(e):e}function a(e){var n={m:"v",b:"v",d:"z"};return void 0===n[e.charAt(0)]?e:n[e.charAt(0)]+e.substring(1)}return e.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:n,h:"un eur",hh:"%d eur",d:"un devezh",dd:n,M:"ur miz",MM:n,y:"ur bloaz",yy:function(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a,t){var s=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return s+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return s+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return s+=1===e?"dan":"dana";case"MM":return s+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return s+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.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:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,s){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?s(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],s):s(e.moment)}(this,function(e){"use strict";return e.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(e,s){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==s&&"W"!==s||(n="a"),e+n},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,r,s){var u=e+" ";switch(r){case"s":return t||s?"pár sekund":"pár sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":return t||s?u+(n(e)?"minuty":"minut"):u+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?u+(n(e)?"hodiny":"hodin"):u+"hodinami";case"d":return t||s?"den":"dnem";case"dd":return t||s?u+(n(e)?"dny":"dní"):u+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":return t||s?u+(n(e)?"měsíce":"měsíců"):u+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":return t||s?u+(n(e)?"roky":"let"):u+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),s="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");return e.defineLocale("cs",{months:r,monthsShort:s,monthsParse:function(e,n){var t,r=[];for(t=0;t<12;t++)r[t]=new RegExp("^"+e[t]+"$|^"+n[t]+"$","i");return r}(r,s),shortMonthsParse:function(e){var n,t=[];for(n=0;n<12;n++)t[n]=new RegExp("^"+e[n]+"$","i");return t}(s),longMonthsParse:function(e){var n,t=[];for(n=0;n<12;n++)t[n]=new RegExp("^"+e[n]+"$","i");return t}(r),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:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";return e.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(e){var d=e,a="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return d>20?a=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(a=n[d]),e+a},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,t,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return n?r[t][0]:r[t][1]}return e.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:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,t,a){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return n?r[t][0]:r[t][1]}return e.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:n,mm:"%d Minuten",h:n,hh:"%d Stunden",d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],d=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];return e.defineLocale("dv",{months:t,monthsShort:t,weekdays:d,weekdaysShort:d,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(e){return"މފ"===e},meridiem:function(e,t,d){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}return e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").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(e,n){var _=this._calendarEl[e],i=n&&n.hours();return t(_)&&(_=_.apply(n)),_.replace("{}",i%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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?o(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(e.moment)}(this,function(e){"use strict";return e.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(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,o,a){return e>11?a?"p.t.m.":"P.T.M.":a?"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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return/-MMM-/.test(s)?o[e.month()]:n[e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),o="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");return e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return/-MMM-/.test(s)?o[e.month()]:n[e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a,t,n){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return a?s[t][2]?s[t][2]:s[t][1]:n?s[t][0]:s[t][1]}return e.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:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(a.moment)}(this,function(a){"use strict";return 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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};return e.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(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<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(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,u){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?u(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],u):u(e.moment)}(this,function(e){"use strict";function u(e,u,t,a){var i="";switch(t){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"m":return a?"minuutin":"minuutti";case"mm":i=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":i=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":i=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":i=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":i=a?"vuoden":"vuotta"}return i=n(e,a)+" "+i}function n(e,u){return e<10?u?a[e]:t[e]:e}var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];return e.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:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e){return e+(1===e?"er":"e")}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";var n="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),t="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");return e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,o){return/-MMM-/.test(o)?t[e.month()]:n[e.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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(a.moment)}(this,function(a){"use strict";var n=["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"],i=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],e=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],d=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],t=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];return a.defineLocale("gd",{months:n,monthsShort:i,monthsParseExact:!0,weekdays:e,weekdaysShort:d,weekdaysMin:t,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){return a+(1===a?"d":a%10==2?"na":"mh")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?o(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(e.moment)}(this,function(e){"use strict";return e.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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,_){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?_?'לפנה"צ':"לפני הצהריים":e<18?_?'אחה"צ':"אחרי הצהריים":"בערב"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},_={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.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(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return _[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,_){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a,s){var t=e+" ";switch(s){case"m":return a?"jedna minuta":"jedne minute";case"mm":return t+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return t+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return t+=1===e?"dan":"dana";case"MM":return t+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return t+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}return e.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:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?r(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],r):r(e.moment)}(this,function(e){"use strict";function r(e,r,n,t){var a=e;switch(n){case"s":return t||r?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(t||r?" perc":" perce");case"mm":return a+(t||r?" perc":" perce");case"h":return"egy"+(t||r?" óra":" órája");case"hh":return a+(t||r?" óra":" órája");case"d":return"egy"+(t||r?" nap":" napja");case"dd":return a+(t||r?" nap":" napja");case"M":return"egy"+(t||r?" hónap":" hónapja");case"MM":return a+(t||r?" hónap":" hónapja");case"y":return"egy"+(t||r?" év":" éve");case"yy":return a+(t||r?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");return e.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(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,r,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,_){switch(_){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e,a){return 12===e&&(e=0),"pagi"===a?e:"siang"===a?e>=11?e:e+12:"sore"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,i){return e<11?"pagi":e<15?"siang":e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?r(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],r):r(e.moment)}(this,function(e){"use strict";function r(e){return e%100==11||e%10!=1}function u(e,u,n,a){var t=e+" ";switch(n){case"s":return u||a?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return u?"mínúta":"mínútu";case"mm":return r(e)?t+(u||a?"mínútur":"mínútum"):u?t+"mínúta":t+"mínútu";case"hh":return r(e)?t+(u||a?"klukkustundir":"klukkustundum"):t+"klukkustund";case"d":return u?"dagur":a?"dag":"degi";case"dd":return r(e)?u?t+"dagar":t+(a?"daga":"dögum"):u?t+"dagur":t+(a?"dag":"degi");case"M":return u?"mánuður":a?"mánuð":"mánuði";case"MM":return r(e)?u?t+"mánuðir":t+(a?"mánuði":"mánuðum"):u?t+"mánuður":t+(a?"mánuð":"mánuði");case"y":return u||a?"ár":"ári";case"yy":return r(e)?t+(u||a?"ár":"árum"):t+(u||a?"ár":"ári")}}return e.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:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return"午後"===e},meridiem:function(e,_,t){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(e,_){switch(_){case"d":case"D":case"DDD":return e+"日";default:return e}},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年"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e,n){return 12===e&&(e=0),"enjing"===n?e:"siyang"===n?e>=11?e:e+12:"sonten"===n||"ndalu"===n?e+12:void 0},meridiem:function(e,n,t){return e<11?"enjing":e<15?"siyang":e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.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(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";var _={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};return e.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(e){var d=e%10,t=e>=100?100:null;return e+(_[e]||_[d]||_[t])},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return"오후"===e},meridiem:function(e,_,d){return e<12?"오전":"오후"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";var _={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};return e.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(e){var d=e%10,t=e>=100?100:null;return e+(_[e]||_[d]||_[t])},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,t,r){var u={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 n?u[t][0]:u[t][1]}function t(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var n=e%10,r=e/10;return t(0===n?r:n)}if(e<1e4){for(;e>=10;)e/=10;return t(e)}return e/=1e3,t(e)}return e.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:function(e){return t(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return t(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:n,mm:"%d Minutten",h:n,hh:"%d Stonnen",d:n,dd:"%d Deeg",M:n,MM:"%d Méint",y:n,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return"ຕອນແລງ"===e},meridiem:function(e,_,t){return e<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(e){return"ທີ່"+e}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?i(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(e.moment)}(this,function(e){"use strict";function i(e,i,n,s){return i?a(n)[0]:s?a(n)[1]:a(n)[2]}function n(e){return e%10==0||e>10&&e<20}function a(e){return d[e].split("_")}function s(e,s,d,t){var _=e+" ";return 1===e?_+i(e,s,d[0],t):s?_+(n(e)?a(d)[1]:a(d)[0]):t?_+a(d)[1]:_+(n(e)?a(d)[1]:a(d)[2])}var d={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"};return e.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:function(e,i,n,a){return i?"kelios sekundės":a?"kelių sekundžių":"kelias sekundes"},m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,s){return s?n%10==1&&n%100!=11?e[2]:e[3]:n%10==1&&n%100!=11?e[0]:e[1]}function s(e,s,t){return e+" "+n(i[t],e,s)}function t(e,s,t){return n(i[t],e,s)}var i={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("_")};return e.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:function(e,n){return n?"dažas sekundes":"dažām sekundēm"},m:t,mm:s,h:t,hh:s,d:t,dd:s,M:t,MM:s,y:t,yy:s},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";var a={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(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}};return e.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(){return["[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"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){var _=e%10,d=e%100;return 0===e?e+"-ев":0===d?e+"-ен":d>10&&d<20?e+"-ти":1===_?e+"-ви":2===_?e+"-ри":7===_||8===_?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e,_){return 12===e&&(e=0),"രാത്രി"===_&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===_||"വൈകുന്നേരം"===_?e+12:e},meridiem:function(e,_,t){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a,r,s){var t="";if(a)switch(r){case"s":t="काही सेकंद";break;case"m":t="एक मिनिट";break;case"mm":t="%d मिनिटे";break;case"h":t="एक तास";break;case"hh":t="%d तास";break;case"d":t="एक दिवस";break;case"dd":t="%d दिवस";break;case"M":t="एक महिना";break;case"MM":t="%d महिने";break;case"y":t="एक वर्ष";break;case"yy":t="%d वर्षे"}else switch(r){case"s":t="काही सेकंदां";break;case"m":t="एका मिनिटा";break;case"mm":t="%d मिनिटां";break;case"h":t="एका तासा";break;case"hh":t="%d तासां";break;case"d":t="एका दिवसा";break;case"dd":t="%d दिवसां";break;case"M":t="एका महिन्या";break;case"MM":t="%d महिन्यां";break;case"y":t="एका वर्षा";break;case"yy":t="%d वर्षां"}return t.replace(/%d/i,e)}var r={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},s={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.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:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return s[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return r[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,a){return 12===e&&(e=0),"रात्री"===a?e<4?e:e+12:"सकाळी"===a?e:"दुपारी"===a?e>=10?e:e+12:"सायंकाळी"===a?e+12:void 0},meridiem:function(e,a,r){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,i){return e<11?"pagi":e<15?"tengahari":e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e,a){return 12===e&&(e=0),"pagi"===a?e:"tengahari"===a?e>=11?e:e+12:"petang"===a||"malam"===a?e+12:void 0},meridiem:function(e,a,i){return e<11?"pagi":e<15?"tengahari":e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},_={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};return e.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(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return _[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};return e.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(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^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],r=/^(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;return e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return/-MMM-/.test(t)?n[e.month()]:a[e.month()]},monthsRegex:r,monthsShortRegex:r,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:t,longMonthsParse:t,shortMonthsParse:t,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},_={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};return e.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(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return _[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,_){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,i,n){var a=e+" ";switch(n){case"m":return i?"minuta":"minutę";case"mm":return a+(t(e)?"minuty":"minut");case"h":return i?"godzina":"godzinę";case"hh":return a+(t(e)?"godziny":"godzin");case"MM":return a+(t(e)?"miesiące":"miesięcy");case"yy":return a+(t(e)?"lata":"lat")}}var n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return e.defineLocale("pl",{months:function(e,t){return""===t?"("+a[e.month()]+"|"+n[e.month()]+")":/D MMMM/.test(t)?a[e.month()]:n[e.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:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:i,y:"rok",yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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º"})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?i(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(e.moment)}(this,function(e){"use strict";function i(e,i,t){var n={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},a=" ";return(e%100>=20||e>=100&&e%100==0)&&(a=" de "),e+a+n[t]}return e.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:i,h:"o oră",hh:i,d:"o zi",dd:i,M:"o lună",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e,t){var _=e.split("_");return t%10==1&&t%100!=11?_[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?_[1]:_[2]}function _(e,_,d){var s={mm:_?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===d?_?"минута":"минуту":e+" "+t(s[d],+e)}var d=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];return e.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(e){if(e.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(e){if(e.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:_,mm:_,h:"час",hh:_,d:"день",dd:_,M:"месяц",MM:_,y:"год",yy:_},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,_){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,_,t){return e>11?t?"ප.ව.":"පස් වරු":t?"පෙ.ව.":"පෙර වරු"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e){return e>1&&e<5}function n(e,n,r,o){var s=e+" ";switch(r){case"s":return n||o?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":o?"minútu":"minútou";case"mm":return n||o?s+(t(e)?"minúty":"minút"):s+"minútami";case"h":return n?"hodina":o?"hodinu":"hodinou";case"hh":return n||o?s+(t(e)?"hodiny":"hodín"):s+"hodinami";case"d":return n||o?"deň":"dňom";case"dd":return n||o?s+(t(e)?"dni":"dní"):s+"dňami";case"M":return n||o?"mesiac":"mesiacom";case"MM":return n||o?s+(t(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return n||o?"rok":"rokom";case"yy":return n||o?s+(t(e)?"roky":"rokov"):s+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),o="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");return e.defineLocale("sk",{months:r,monthsShort:o,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:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";function n(e,n,t,a){var r=e+" ";switch(t){case"s":return n||a?"nekaj sekund":"nekaj sekundami";case"m":return n?"ena minuta":"eno minuto";case"mm":return r+=1===e?n?"minuta":"minuto":2===e?n||a?"minuti":"minutama":e<5?n||a?"minute":"minutami":n||a?"minut":"minutami";case"h":return n?"ena ura":"eno uro";case"hh":return r+=1===e?n?"ura":"uro":2===e?n||a?"uri":"urama":e<5?n||a?"ure":"urami":n||a?"ur":"urami";case"d":return n||a?"en dan":"enim dnem";case"dd":return r+=1===e?n||a?"dan":"dnem":2===e?n||a?"dni":"dnevoma":n||a?"dni":"dnevi";case"M":return n||a?"en mesec":"enim mesecem";case"MM":return r+=1===e?n||a?"mesec":"mesecem":2===e?n||a?"meseca":"mesecema":e<5?n||a?"mesece":"meseci":n||a?"mesecev":"meseci";case"y":return n||a?"eno leto":"enim letom";case"yy":return r+=1===e?n||a?"leto":"letom":2===e?n||a?"leti":"letoma":e<5?n||a?"leta":"leti":n||a?"let":"leti"}}return e.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:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,r){var s=t.words[r];return 1===r.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};return e.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(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";var a={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(e,a){return 1===e?a[0]:e>=2&&e<=4?a[1]:a[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}};return e.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(){return["[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"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mesec",MM:a.translate,y:"godinu",yy:a.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(e.moment)}(this,function(e){"use strict";return e.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(e,n,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,n){return 12===e&&(e=0),"ekuseni"===n?e:"emini"===n?e>=11?e:e+12:"entsambama"===n||"ebusuku"===n?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(e.moment)}(this,function(e){"use strict";return e.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(e){var d=e%10;return e+(1==~~(e%100/10)?"e":1===d?"a":2===d?"a":"e")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(a.moment)}(this,function(a){"use strict";return 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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};return e.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(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e,_){return 12===e&&(e=0),"రాత్రి"===_?e<4?e:e+12:"ఉదయం"===_?e:"మధ్యాహ్నం"===_?e>=10?e:e+12:"సాయంత్రం"===_?e+12:void 0},meridiem:function(e,_,d){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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(e){return"หลังเที่ยง"===e},meridiem:function(e,_,t){return e<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 ปี"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";return e.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(e){return e},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(a.moment)}(this,function(a){"use strict";function e(a,e,r,t){var n=j(a);switch(r){case"mm":return n+" tup";case"hh":return n+" rep";case"dd":return n+" jaj";case"MM":return n+" jar";case"yy":return n+" DIS"}}function j(a){var e=Math.floor(a%1e3/100),j=Math.floor(a%100/10),t=a%10,n="";return e>0&&(n+=r[e]+"vatlh"),j>0&&(n+=(""!==n?" ":"")+r[j]+"maH"),t>0&&(n+=(""!==n?" ":"")+r[t]),""===n?"pagh":n}var r="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");return 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:function(a){var e=a;return e=-1!==a.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==a.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==a.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(a){var e=a;return e=-1!==a.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==a.indexOf("jar")?e.slice(0,-3)+"wen":-1!==a.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",m:"wa’ tup",mm:e,h:"wa’ rep",hh:e,d:"wa’ jaj",dd:e,M:"wa’ jar",MM:e,y:"wa’ DIS",yy:e},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,n){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?n(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],n):n(a.moment)}(this,function(a){"use strict";var n={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ı"};return 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 e=a%10,i=a%100-e,t=a>=100?100:null;return a+(n[e]||n[i]||n[t])},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?a(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],a):a(e.moment)}(this,function(e){"use strict";function a(e,a,i,s){var n={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return s?n[i][0]:a?n[i][0]:n[i][1]}return e.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(e){return"d'o"===e.toLowerCase()},meridiem:function(e,a,i){return e>11?i?"d'o":"D'O":i?"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:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,s){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?s(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],s):s(a.moment)}(this,function(a){"use strict";return 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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";function _(e,_){var t=e.split("_");return _%10==1&&_%100!=11?t[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?t[1]:t[2]}function t(e,t,n){var s={mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+_(s[n],+e)}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}return e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,_){return{nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")}[/(\[[ВвУу]\]) ?dddd/.test(_)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(_)?"genitive":"nominative"][e.day()]},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:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,_,t){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,_){switch(_){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,_){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?_(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],_):_(e.moment)}(this,function(e){"use strict";return e.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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(t.moment)}(this,function(t){"use strict";return t.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(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"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(t){return t},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,d){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?d(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],d):d(t.moment)}(this,function(t){"use strict";return t.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(t){var d=t%10;return t+(1==~~(t%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<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 t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},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}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,d){var _=100*e+t;return _<600?"凌晨":_<900?"早上":_<1130?"上午":_<1230?"中午":_<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 年"}})});
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.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";return e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,d){var _=100*e+t;return _<600?"凌晨":_<900?"早上":_<1130?"上午":_<1230?"中午":_<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 年"}})});
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.min.js CHANGED
@@ -1 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return _t.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e){var t;for(t in e)return!1;return!0}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function r(e,t){var n,s=[];for(n=0;n<e.length;++n)s.push(t(e[n],n));return s}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,s){return Ue(e,t,n,s,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=d()),e._pf}function h(e){if(null==e._isValid){var t=l(e),n=yt.call(t.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function c(e){var t=u(NaN);return null!=e?o(l(t),e):l(t).userInvalidated=!0,t}function f(e){return void 0===e}function m(e,t){var n,s,i;if(f(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),f(t._i)||(e._i=t._i),f(t._f)||(e._f=t._f),f(t._l)||(e._l=t._l),f(t._strict)||(e._strict=t._strict),f(t._tzm)||(e._tzm=t._tzm),f(t._isUTC)||(e._isUTC=t._isUTC),f(t._offset)||(e._offset=t._offset),f(t._pf)||(e._pf=l(t)),f(t._locale)||(e._locale=t._locale),gt.length>0)for(n in gt)f(i=t[s=gt[n]])||(e[s]=i);return e}function _(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),!1===pt&&(pt=!0,e.updateOffset(this),pt=!1)}function y(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function g(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function p(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=g(t)),n}function w(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&p(e[s])!==p(t[s]))&&a++;return a+r}function v(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,n){var s=!0;return o(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),s){for(var i,r=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var o in arguments[0])i+=o+": "+arguments[0][o]+", ";i=i.slice(0,-2)}else i=arguments[a];r.push(i)}v(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),s=!1}return n.apply(this,arguments)},n)}function M(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),wt[t]||(v(n),wt[t]=!0)}function k(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var s,i=o({},e);for(s in t)a(t,s)&&(n(e[s])&&n(t[s])?(i[s]={},o(i[s],e[s]),o(i[s],t[s])):null!=t[s]?i[s]=t[s]:delete i[s]);for(s in e)a(e,s)&&!a(t,s)&&n(e[s])&&(i[s]=o({},i[s]));return i}function Y(e){null!=e&&this.set(e)}function x(e,t){var n=e.toLowerCase();xt[n]=xt[n+"s"]=xt[t]=e}function O(e){return"string"==typeof e?xt[e]||xt[e.toLowerCase()]:void 0}function b(e){var t,n,s={};for(n in e)a(e,n)&&(t=O(n))&&(s[t]=e[n]);return s}function T(e,t){Ot[e]=t}function P(e){var t=[];for(var n in e)t.push({unit:n,priority:Ot[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(t,n){return function(s){return null!=s?(U(this,t,s),e.updateOffset(this,n),this):R(this,t)}}function R(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function C(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}function F(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(Wt[e]=i),t&&(Wt[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),n&&(Wt[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function H(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function L(e){var t,n,s=e.match(bt);for(t=0,n=s.length;t<n;t++)Wt[s[t]]?s[t]=Wt[s[t]]:s[t]=H(s[t]);return function(t){var i,r="";for(i=0;i<n;i++)r+=s[i]instanceof Function?s[i].call(t,e):s[i];return r}}function G(e,t){return e.isValid()?(t=V(t,e.localeData()),Pt[t]=Pt[t]||L(t),Pt[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;for(Tt.lastIndex=0;n>=0&&Tt.test(e);)e=e.replace(Tt,function(e){return t.longDateFormat(e)||e}),Tt.lastIndex=0,n-=1;return e}function j(e,t,n){Bt[e]=k(t)?t:function(e,s){return e&&n?n:t}}function A(e,t){return a(Bt,e)?Bt[e](t._strict,t._locale):new RegExp(E(e))}function E(e){return I(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i}))}function I(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function N(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(s=function(e,n){n[t]=p(e)}),n=0;n<e.length;n++)Jt[e[n]]=s}function z(e,t){N(e,function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)})}function Z(e,t,n){null!=t&&a(Jt,e)&&Jt[e](t,n._a,n,e)}function q(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function $(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=u([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=St.call(this._shortMonthsParse,a))?i:null:-1!==(i=St.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=St.call(this._shortMonthsParse,a))?i:-1!==(i=St.call(this._longMonthsParse,a))?i:null:-1!==(i=St.call(this._longMonthsParse,a))?i:-1!==(i=St.call(this._shortMonthsParse,a))?i:null}function B(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=p(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),q(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function J(t){return null!=t?(B(this,t),e.updateOffset(this,!0),this):R(this,"Month")}function Q(){function e(e,t){return t.length-e.length}var t,n,s=[],i=[],r=[];for(t=0;t<12;t++)n=u([2e3,t]),s.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(s.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)s[t]=I(s[t]),i[t]=I(i[t]);for(t=0;t<24;t++)r[t]=I(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function X(e){return K(e)?366:365}function K(e){return e%4==0&&e%100!=0||e%400==0}function ee(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function te(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ne(e,t,n){var s=7+t-n;return-((7+te(e,0,s).getUTCDay()-t)%7)+s-1}function se(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+ne(e,s,i);return o<=0?a=X(r=e-1)+o:o>X(e)?(r=e+1,a=o-X(e)):(r=e,a=o),{year:r,dayOfYear:a}}function ie(e,t,n){var s,i,r=ne(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+re(i=e.year()-1,t,n):a>re(e.year(),t,n)?(s=a-re(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function re(e,t,n){var s=ne(e,t,n),i=ne(e+1,t,n);return(X(e)-s+i)/7}function ae(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ue(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=u([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=St.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=St.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=St.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=St.call(this._weekdaysParse,a))?i:-1!==(i=St.call(this._shortWeekdaysParse,a))?i:-1!==(i=St.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=St.call(this._shortWeekdaysParse,a))?i:-1!==(i=St.call(this._weekdaysParse,a))?i:-1!==(i=St.call(this._minWeekdaysParse,a))?i:null:-1!==(i=St.call(this._minWeekdaysParse,a))?i:-1!==(i=St.call(this._weekdaysParse,a))?i:-1!==(i=St.call(this._shortWeekdaysParse,a))?i:null}function de(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],d=[],l=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),d.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),d.sort(e),l.sort(e),t=0;t<7;t++)o[t]=I(o[t]),d[t]=I(d[t]),l[t]=I(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function le(){return this.hours()%12||12}function he(e,t){F(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ce(e,t){return t._meridiemParse}function fe(e){return e?e.toLowerCase().replace("_","-"):e}function me(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=fe(e[r]).split("-")).length,n=(n=fe(e[r+1]))?n.split("-"):null;t>0;){if(s=_e(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}r++}return null}function _e(e){var t=null;if(!Dn[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=vn._abbr,require("./locale/"+e),ye(t)}catch(e){}return Dn[e]}function ye(e,t){var n;return e&&(n=f(t)?pe(e):ge(e,t))&&(vn=n),vn._abbr}function ge(e,t){if(null!==t){var n=kn;return t.abbr=e,null!=Dn[e]?(M("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."),n=Dn[e]._config):null!=t.parentLocale&&(null!=Dn[t.parentLocale]?n=Dn[t.parentLocale]._config:M("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Dn[e]=new Y(D(n,t)),ye(e),Dn[e]}return delete Dn[e],null}function pe(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return vn;if(!t(e)){if(n=_e(e))return n;e=[e]}return me(e)}function we(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[Xt]<0||n[Xt]>11?Xt:n[Kt]<1||n[Kt]>q(n[Qt],n[Xt])?Kt:n[en]<0||n[en]>24||24===n[en]&&(0!==n[tn]||0!==n[nn]||0!==n[sn])?en:n[tn]<0||n[tn]>59?tn:n[nn]<0||n[nn]>59?nn:n[sn]<0||n[sn]>999?sn:-1,l(e)._overflowDayOfYear&&(t<Qt||t>Kt)&&(t=Kt),l(e)._overflowWeeks&&-1===t&&(t=rn),l(e)._overflowWeekday&&-1===t&&(t=an),l(e).overflow=t),e}function ve(e){var t,n,s,i,r,a,o=e._i,u=Yn.exec(o)||xn.exec(o);if(u){for(l(e).iso=!0,t=0,n=bn.length;t<n;t++)if(bn[t][1].exec(u[1])){i=bn[t][0],s=!1!==bn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Tn.length;t<n;t++)if(Tn[t][1].exec(u[3])){r=(u[2]||" ")+Tn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!On.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),xe(e)}else e._isValid=!1}function Se(t){var n=Pn.exec(t._i);null===n?(ve(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t))):t._d=new Date(+n[1])}function Me(e,t,n){return null!=e?e:null!=t?t:n}function ke(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function De(e){var t,n,s,i,r=[];if(!e._d){for(s=ke(e),e._w&&null==e._a[Kt]&&null==e._a[Xt]&&Ye(e),e._dayOfYear&&(i=Me(e._a[Qt],s[Qt]),e._dayOfYear>X(i)&&(l(e)._overflowDayOfYear=!0),n=te(i,0,e._dayOfYear),e._a[Xt]=n.getUTCMonth(),e._a[Kt]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[en]&&0===e._a[tn]&&0===e._a[nn]&&0===e._a[sn]&&(e._nextDay=!0,e._a[en]=0),e._d=(e._useUTC?te:ee).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[en]=24)}}function Ye(e){var t,n,s,i,r,a,o,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=Me(t.GG,e._a[Qt],ie(Ce(),1,4).year),s=Me(t.W,1),((i=Me(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,n=Me(t.gg,e._a[Qt],ie(Ce(),r,a).year),s=Me(t.w,1),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r),s<1||s>re(n,r,a)?l(e)._overflowWeeks=!0:null!=u?l(e)._overflowWeekday=!0:(o=se(n,s,i,r,a),e._a[Qt]=o.year,e._dayOfYear=o.dayOfYear)}function xe(t){if(t._f!==e.ISO_8601){t._a=[],l(t).empty=!0;var n,s,i,r,a,o=""+t._i,u=o.length,d=0;for(i=V(t._f,t._locale).match(bt)||[],n=0;n<i.length;n++)r=i[n],(s=(o.match(A(r,t))||[])[0])&&((a=o.substr(0,o.indexOf(s))).length>0&&l(t).unusedInput.push(a),o=o.slice(o.indexOf(s)+s.length),d+=s.length),Wt[r]?(s?l(t).empty=!1:l(t).unusedTokens.push(r),Z(r,s,t)):t._strict&&!s&&l(t).unusedTokens.push(r);l(t).charsLeftOver=u-d,o.length>0&&l(t).unusedInput.push(o),t._a[en]<=12&&!0===l(t).bigHour&&t._a[en]>0&&(l(t).bigHour=void 0),l(t).parsedDateParts=t._a.slice(0),l(t).meridiem=t._meridiem,t._a[en]=Oe(t._locale,t._a[en],t._meridiem),De(t),we(t)}else ve(t)}function Oe(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function be(e){var t,n,s,i,r;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],xe(t),h(t)&&(r+=l(t).charsLeftOver,r+=10*l(t).unusedTokens.length,l(t).score=r,(null==s||r<s)&&(s=r,n=t));o(e,n||t)}function Te(e){if(!e._d){var t=b(e._i);e._a=r([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Pe(e){var t=new _(we(We(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function We(e){var n=e._i,s=e._f;return e._locale=e._locale||pe(e._l),null===n||void 0===s&&""===n?c({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),y(n)?new _(we(n)):(t(s)?be(e):i(n)?e._d=n:s?xe(e):Re(e),h(e)||(e._d=null),e))}function Re(n){var s=n._i;void 0===s?n._d=new Date(e.now()):i(s)?n._d=new Date(s.valueOf()):"string"==typeof s?Se(n):t(s)?(n._a=r(s.slice(0),function(e){return parseInt(e,10)}),De(n)):"object"==typeof s?Te(n):"number"==typeof s?n._d=new Date(s):e.createFromInputFallback(n)}function Ue(e,i,r,a,o){var u={};return"boolean"==typeof r&&(a=r,r=void 0),(n(e)&&s(e)||t(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=o,u._l=r,u._i=e,u._f=i,u._strict=a,Pe(u)}function Ce(e,t,n,s){return Ue(e,t,n,s,!1)}function Fe(e,n){var s,i;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return Ce();for(s=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][e](s)||(s=n[i]);return s}function He(e){var t=b(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,d=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*d+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=pe(),this._bubble()}function Le(e){return e instanceof He}function Ge(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ve(e,t){F(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)})}function je(e,t){var n=(t||"").match(e)||[],s=((n[n.length-1]||[])+"").match(Un)||["-",0,0],i=60*s[1]+p(s[2]);return"+"===s[0]?i:-i}function Ae(t,n){var s,r;return n._isUTC?(s=n.clone(),r=(y(t)||i(t)?t.valueOf():Ce(t).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),e.updateOffset(s,!1),s):Ce(t).local()}function Ee(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ie(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ne(e,t){var n,s,i,r=e,o=null;return Le(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(r={},t?r[t]=e:r.milliseconds=e):(o=Cn.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:p(o[Kt])*n,h:p(o[en])*n,m:p(o[tn])*n,s:p(o[nn])*n,ms:p(Ge(1e3*o[sn]))*n}):(o=Fn.exec(e))?(n="-"===o[1]?-1:1,r={y:ze(o[2],n),M:ze(o[3],n),w:ze(o[4],n),d:ze(o[5],n),h:ze(o[6],n),m:ze(o[7],n),s:ze(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=qe(Ce(r.from),Ce(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),s=new He(r),Le(e)&&a(e,"_locale")&&(s._locale=e._locale),s}function ze(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ze(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qe(e,t){var n;return e.isValid()&&t.isValid()?(t=Ae(t,e),e.isBefore(t)?n=Ze(e,t):((n=Ze(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function $e(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),n="string"==typeof n?+n:n,i=Ne(n,s),Be(this,i,e),this}}function Be(t,n,s,i){var r=n._milliseconds,a=Ge(n._days),o=Ge(n._months);t.isValid()&&(i=null==i||i,r&&t._d.setTime(t._d.valueOf()+r*s),a&&U(t,"Date",R(t,"Date")+a*s),o&&B(t,R(t,"Month")+o*s),i&&e.updateOffset(t,a||o))}function Je(e,t){var n,s=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(s,"months");return n=t-i<0?(t-i)/(i-e.clone().add(s-1,"months")):(t-i)/(e.clone().add(s+1,"months")-i),-(s+n)||0}function Qe(e){var t;return void 0===e?this._locale._abbr:(null!=(t=pe(e))&&(this._locale=t),this)}function Xe(){return this._locale}function Ke(e,t){F(0,[e,e.length],0,t)}function et(e,t,n,s,i){var r;return null==e?ie(this,s,i).year:(r=re(e,s,i),t>r&&(t=r),tt.call(this,e,t,n,s,i))}function tt(e,t,n,s,i){var r=se(e,t,n,s,i),a=te(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function nt(e){return e}function st(e,t,n,s){var i=pe(),r=u().set(s,t);return i[n](r,e)}function it(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return st(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=st(e,s,n,"month");return i}function rt(e,t,n,s){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=pe(),r=e?i._week.dow:0;if(null!=n)return st(t,(n+r)%7,s,"day");var a,o=[];for(a=0;a<7;a++)o[a]=st(t,(a+r)%7,s,"day");return o}function at(e,t,n,s){var i=Ne(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function ot(e){return e<0?Math.floor(e):Math.ceil(e)}function ut(e){return 4800*e/146097}function dt(e){return 146097*e/4800}function lt(e){return function(){return this.as(e)}}function ht(e){return function(){return this._data[e]}}function ct(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function ft(e,t,n){var s=Ne(e).abs(),i=ds(s.as("s")),r=ds(s.as("m")),a=ds(s.as("h")),o=ds(s.as("d")),u=ds(s.as("M")),d=ds(s.as("y")),l=i<ls.s&&["s",i]||r<=1&&["m"]||r<ls.m&&["mm",r]||a<=1&&["h"]||a<ls.h&&["hh",a]||o<=1&&["d"]||o<ls.d&&["dd",o]||u<=1&&["M"]||u<ls.M&&["MM",u]||d<=1&&["y"]||["yy",d];return l[2]=t,l[3]=+e>0,l[4]=n,ct.apply(null,l)}function mt(){var e,t,n,s=hs(this._milliseconds)/1e3,i=hs(this._days),r=hs(this._months);t=g((e=g(s/60))/60),s%=60,e%=60;var a=n=g(r/12),o=r%=12,u=i,d=t,l=e,h=s,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(d||l||h?"T":"")+(d?d+"H":"")+(l?l+"M":"")+(h?h+"S":""):"P0D"}var _t,yt;yt=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var gt=e.momentProperties=[],pt=!1,wt={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var vt;vt=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var St,Mt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},kt={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"},Dt=/\d{1,2}/,Yt={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"},xt={},Ot={},bt=/(\[[^\[]*\])|(\\)?([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,Tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pt={},Wt={},Rt=/\d/,Ut=/\d\d/,Ct=/\d{3}/,Ft=/\d{4}/,Ht=/[+-]?\d{6}/,Lt=/\d\d?/,Gt=/\d\d\d\d?/,Vt=/\d\d\d\d\d\d?/,jt=/\d{1,3}/,At=/\d{1,4}/,Et=/[+-]?\d{1,6}/,It=/\d+/,Nt=/[+-]?\d+/,zt=/Z|[+-]\d\d:?\d\d/gi,Zt=/Z|[+-]\d\d(?::?\d\d)?/gi,qt=/[+-]?\d+(\.\d{1,3})?/,$t=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Bt={},Jt={},Qt=0,Xt=1,Kt=2,en=3,tn=4,nn=5,sn=6,rn=7,an=8;St=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),F("MMMM",0,0,function(e){return this.localeData().months(this,e)}),x("month","M"),T("month",8),j("M",Lt),j("MM",Lt,Ut),j("MMM",function(e,t){return t.monthsShortRegex(e)}),j("MMMM",function(e,t){return t.monthsRegex(e)}),N(["M","MM"],function(e,t){t[Xt]=p(e)-1}),N(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[Xt]=i:l(n).invalidMonth=e});var on=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,un="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),dn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ln=$t,hn=$t;F("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),x("year","y"),T("year",1),j("Y",Nt),j("YY",Lt,Ut),j("YYYY",At,Ft),j("YYYYY",Et,Ht),j("YYYYYY",Et,Ht),N(["YYYYY","YYYYYY"],Qt),N("YYYY",function(t,n){n[Qt]=2===t.length?e.parseTwoDigitYear(t):p(t)}),N("YY",function(t,n){n[Qt]=e.parseTwoDigitYear(t)}),N("Y",function(e,t){t[Qt]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return p(e)+(p(e)>68?1900:2e3)};var cn=W("FullYear",!0);F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),T("week",5),T("isoWeek",5),j("w",Lt),j("ww",Lt,Ut),j("W",Lt),j("WW",Lt,Ut),z(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=p(e)});var fn={dow:0,doy:6};F("d",0,"do","day"),F("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),F("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),F("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),T("day",11),T("weekday",11),T("isoWeekday",11),j("d",Lt),j("e",Lt),j("E",Lt),j("dd",function(e,t){return t.weekdaysMinRegex(e)}),j("ddd",function(e,t){return t.weekdaysShortRegex(e)}),j("dddd",function(e,t){return t.weekdaysRegex(e)}),z(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),z(["d","e","E"],function(e,t,n,s){t[s]=p(e)});var mn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_n="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),gn=$t,pn=$t,wn=$t;F("H",["HH",2],0,"hour"),F("h",["hh",2],0,le),F("k",["kk",2],0,function(){return this.hours()||24}),F("hmm",0,0,function(){return""+le.apply(this)+C(this.minutes(),2)}),F("hmmss",0,0,function(){return""+le.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+C(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)}),he("a",!0),he("A",!1),x("hour","h"),T("hour",13),j("a",ce),j("A",ce),j("H",Lt),j("h",Lt),j("HH",Lt,Ut),j("hh",Lt,Ut),j("hmm",Gt),j("hmmss",Vt),j("Hmm",Gt),j("Hmmss",Vt),N(["H","HH"],en),N(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),N(["h","hh"],function(e,t,n){t[en]=p(e),l(n).bigHour=!0}),N("hmm",function(e,t,n){var s=e.length-2;t[en]=p(e.substr(0,s)),t[tn]=p(e.substr(s)),l(n).bigHour=!0}),N("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[en]=p(e.substr(0,s)),t[tn]=p(e.substr(s,2)),t[nn]=p(e.substr(i)),l(n).bigHour=!0}),N("Hmm",function(e,t,n){var s=e.length-2;t[en]=p(e.substr(0,s)),t[tn]=p(e.substr(s))}),N("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[en]=p(e.substr(0,s)),t[tn]=p(e.substr(s,2)),t[nn]=p(e.substr(i))});var vn,Sn=/[ap]\.?m?\.?/i,Mn=W("Hours",!0),kn={calendar:Mt,longDateFormat:kt,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:Dt,relativeTime:Yt,months:un,monthsShort:dn,week:fn,weekdays:mn,weekdaysMin:yn,weekdaysShort:_n,meridiemParse:Sn},Dn={},Yn=/^\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)?)?/,xn=/^\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)?)?/,On=/Z|[+-]\d\d(?::?\d\d)?/,bn=[["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}/]],Tn=[["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/]],Pn=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=S("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Wn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:c()}),Rn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:c()});Ve("Z",":"),Ve("ZZ",""),j("Z",Zt),j("ZZ",Zt),N(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=je(Zt,e)});var Un=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Cn=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Fn=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ne.fn=He.prototype;var Hn=$e(1,"add"),Ln=$e(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gn=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ke("gggg","weekYear"),Ke("ggggg","weekYear"),Ke("GGGG","isoWeekYear"),Ke("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),T("weekYear",1),T("isoWeekYear",1),j("G",Nt),j("g",Nt),j("GG",Lt,Ut),j("gg",Lt,Ut),j("GGGG",At,Ft),j("gggg",At,Ft),j("GGGGG",Et,Ht),j("ggggg",Et,Ht),z(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=p(e)}),z(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),F("Q",0,"Qo","quarter"),x("quarter","Q"),T("quarter",7),j("Q",Rt),N("Q",function(e,t){t[Xt]=3*(p(e)-1)}),F("D",["DD",2],"Do","date"),x("date","D"),T("date",9),j("D",Lt),j("DD",Lt,Ut),j("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),N(["D","DD"],Kt),N("Do",function(e,t){t[Kt]=p(e.match(Lt)[0],10)});var Vn=W("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),T("dayOfYear",4),j("DDD",jt),j("DDDD",Ct),N(["DDD","DDDD"],function(e,t,n){n._dayOfYear=p(e)}),F("m",["mm",2],0,"minute"),x("minute","m"),T("minute",14),j("m",Lt),j("mm",Lt,Ut),N(["m","mm"],tn);var jn=W("Minutes",!1);F("s",["ss",2],0,"second"),x("second","s"),T("second",15),j("s",Lt),j("ss",Lt,Ut),N(["s","ss"],nn);var An=W("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),x("millisecond","ms"),T("millisecond",16),j("S",jt,Rt),j("SS",jt,Ut),j("SSS",jt,Ct);var En;for(En="SSSS";En.length<=9;En+="S")j(En,It);for(En="S";En.length<=9;En+="S")N(En,function(e,t){t[sn]=p(1e3*("0."+e))});var In=W("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var Nn=_.prototype;Nn.add=Hn,Nn.calendar=function(t,n){var s=t||Ce(),i=Ae(s,this).startOf("day"),r=e.calendarFormat(this,i)||"sameElse",a=n&&(k(n[r])?n[r].call(this,s):n[r]);return this.format(a||this.localeData().calendar(r,this,Ce(s)))},Nn.clone=function(){return new _(this)},Nn.diff=function(e,t,n){var s,i,r,a;return this.isValid()&&(s=Ae(e,this)).isValid()?(i=6e4*(s.utcOffset()-this.utcOffset()),"year"===(t=O(t))||"month"===t||"quarter"===t?(a=Je(this,s),"quarter"===t?a/=3:"year"===t&&(a/=12)):(r=this-s,a="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-i)/864e5:"week"===t?(r-i)/6048e5:r),n?a:g(a)):NaN},Nn.endOf=function(e){return void 0===(e=O(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Nn.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=G(this,t);return this.localeData().postformat(n)},Nn.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Ce(e).isValid())?Ne({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Nn.fromNow=function(e){return this.from(Ce(),e)},Nn.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Ce(e).isValid())?Ne({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Nn.toNow=function(e){return this.to(Ce(),e)},Nn.get=function(e){return e=O(e),k(this[e])?this[e]():this},Nn.invalidAt=function(){return l(this).overflow},Nn.isAfter=function(e,t){var n=y(e)?e:Ce(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=O(f(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Nn.isBefore=function(e,t){var n=y(e)?e:Ce(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=O(f(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Nn.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},Nn.isSame=function(e,t){var n,s=y(e)?e:Ce(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=O(t||"millisecond"))?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Nn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Nn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Nn.isValid=function(){return h(this)},Nn.lang=Gn,Nn.locale=Qe,Nn.localeData=Xe,Nn.max=Rn,Nn.min=Wn,Nn.parsingFlags=function(){return o({},l(this))},Nn.set=function(e,t){if("object"==typeof e)for(var n=P(e=b(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(e=O(e),k(this[e]))return this[e](t);return this},Nn.startOf=function(e){switch(e=O(e)){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"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Nn.subtract=Ln,Nn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Nn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Nn.toDate=function(){return new Date(this.valueOf())},Nn.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?k(Date.prototype.toISOString)?this.toDate().toISOString():G(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):G(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Nn.toJSON=function(){return this.isValid()?this.toISOString():null},Nn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Nn.unix=function(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Nn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Nn.year=cn,Nn.isLeapYear=function(){return K(this.year())},Nn.weekYear=function(e){return et.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Nn.isoWeekYear=function(e){return et.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Nn.quarter=Nn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Nn.month=J,Nn.daysInMonth=function(){return q(this.year(),this.month())},Nn.week=Nn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Nn.isoWeek=Nn.isoWeeks=function(e){var t=ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Nn.weeksInYear=function(){var e=this.localeData()._week;return re(this.year(),e.dow,e.doy)},Nn.isoWeeksInYear=function(){return re(this.year(),1,4)},Nn.date=Vn,Nn.day=Nn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ae(e,this.localeData()),this.add(e-t,"d")):t},Nn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Nn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Nn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Nn.hour=Nn.hours=Mn,Nn.minute=Nn.minutes=jn,Nn.second=Nn.seconds=An,Nn.millisecond=Nn.milliseconds=In,Nn.utcOffset=function(t,n){var s,i=this._offset||0;return this.isValid()?null!=t?("string"==typeof t?t=je(Zt,t):Math.abs(t)<16&&(t*=60),!this._isUTC&&n&&(s=Ee(this)),this._offset=t,this._isUTC=!0,null!=s&&this.add(s,"m"),i!==t&&(!n||this._changeInProgress?Be(this,Ne(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ee(this):null!=t?this:NaN},Nn.utc=function(e){return this.utcOffset(0,e)},Nn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ee(this),"m")),this},Nn.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&(0===je(zt,this._i)?this.utcOffset(0,!0):this.utcOffset(je(zt,this._i))),this},Nn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ce(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Nn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Nn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Nn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Nn.isUtc=Ie,Nn.isUTC=Ie,Nn.zoneAbbr=function(){return this._isUTC?"UTC":""},Nn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Nn.dates=S("dates accessor is deprecated. Use date instead.",Vn),Nn.months=S("months accessor is deprecated. Use month instead",J),Nn.years=S("years accessor is deprecated. Use year instead",cn),Nn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Nn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!f(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),(e=We(e))._a){var t=e._isUTC?u(e._a):Ce(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var zn=Nn,Zn=Y.prototype;Zn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return k(s)?s.call(t,n):s},Zn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Zn.invalidDate=function(){return this._invalidDate},Zn.ordinal=function(e){return this._ordinal.replace("%d",e)},Zn.preparse=nt,Zn.postformat=nt,Zn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return k(i)?i(e,t,n,s):i.replace(/%d/i,e)},Zn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)},Zn.set=function(e){var t,n;for(n in e)k(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},Zn.months=function(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||on).test(n)?"format":"standalone"][e.month()]:this._months},Zn.monthsShort=function(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[on.test(n)?"format":"standalone"][e.month()]:this._monthsShort},Zn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return $.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=u([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Zn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Q.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=hn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Zn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Q.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=ln),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Zn.week=function(e){return ie(e,this._week.dow,this._week.doy).week},Zn.firstDayOfYear=function(){return this._week.doy},Zn.firstDayOfWeek=function(){return this._week.dow},Zn.weekdays=function(e,n){return e?t(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][e.day()]:this._weekdays},Zn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},Zn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},Zn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=u([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Zn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||de.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=gn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Zn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||de.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Zn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||de.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Zn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Zn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ye("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===p(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",ye),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",pe);var qn=Math.abs,$n=lt("ms"),Bn=lt("s"),Jn=lt("m"),Qn=lt("h"),Xn=lt("d"),Kn=lt("w"),es=lt("M"),ts=lt("y"),ns=ht("milliseconds"),ss=ht("seconds"),is=ht("minutes"),rs=ht("hours"),as=ht("days"),os=ht("months"),us=ht("years"),ds=Math.round,ls={s:45,m:45,h:22,d:26,M:11},hs=Math.abs,cs=He.prototype;return cs.abs=function(){var e=this._data;return this._milliseconds=qn(this._milliseconds),this._days=qn(this._days),this._months=qn(this._months),e.milliseconds=qn(e.milliseconds),e.seconds=qn(e.seconds),e.minutes=qn(e.minutes),e.hours=qn(e.hours),e.months=qn(e.months),e.years=qn(e.years),this},cs.add=function(e,t){return at(this,e,t,1)},cs.subtract=function(e,t){return at(this,e,t,-1)},cs.as=function(e){var t,n,s=this._milliseconds;if("month"===(e=O(e))||"year"===e)return t=this._days+s/864e5,n=this._months+ut(t),"month"===e?n:n/12;switch(t=this._days+Math.round(dt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},cs.asMilliseconds=$n,cs.asSeconds=Bn,cs.asMinutes=Jn,cs.asHours=Qn,cs.asDays=Xn,cs.asWeeks=Kn,cs.asMonths=es,cs.asYears=ts,cs.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*p(this._months/12)},cs._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*ot(dt(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=g(r/1e3),u.seconds=e%60,t=g(e/60),u.minutes=t%60,n=g(t/60),u.hours=n%24,a+=g(n/24),i=g(ut(a)),o+=i,a-=ot(dt(i)),s=g(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},cs.get=function(e){return e=O(e),this[e+"s"]()},cs.milliseconds=ns,cs.seconds=ss,cs.minutes=is,cs.hours=rs,cs.days=as,cs.weeks=function(){return g(this.days()/7)},cs.months=os,cs.years=us,cs.humanize=function(e){var t=this.localeData(),n=ft(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},cs.toISOString=mt,cs.toString=mt,cs.toJSON=mt,cs.locale=Qe,cs.localeData=Xe,cs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mt),cs.lang=Gn,F("X",0,0,"unix"),F("x",0,0,"valueOf"),j("x",Nt),j("X",qt),N("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),N("x",function(e,t,n){n._d=new Date(p(e))}),e.version="2.15.1",function(e){_t=e}(Ce),e.fn=zn,e.min=function(){return Fe("isBefore",[].slice.call(arguments,0))},e.max=function(){return Fe("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=u,e.unix=function(e){return Ce(1e3*e)},e.months=function(e,t){return it(e,t,"months")},e.isDate=i,e.locale=ye,e.invalid=c,e.duration=Ne,e.isMoment=y,e.weekdays=function(e,t,n){return rt(e,t,n,"weekdays")},e.parseZone=function(){return Ce.apply(null,arguments).parseZone()},e.localeData=pe,e.isDuration=Le,e.monthsShort=function(e,t){return it(e,t,"monthsShort")},e.weekdaysMin=function(e,t,n){return rt(e,t,n,"weekdaysMin")},e.defineLocale=ge,e.updateLocale=function(e,t){if(null!=t){var n,s=kn;null!=Dn[e]&&(s=Dn[e]._config),(n=new Y(t=D(s,t))).parentLocale=Dn[e],Dn[e]=n,ye(e)}else null!=Dn[e]&&(null!=Dn[e].parentLocale?Dn[e]=Dn[e].parentLocale:null!=Dn[e]&&delete Dn[e]);return Dn[e]},e.locales=function(){return vt(Dn)},e.weekdaysShort=function(e,t,n){return rt(e,t,n,"weekdaysShort")},e.normalizeUnits=O,e.relativeTimeRounding=function(e){return void 0===e?ds:"function"==typeof e&&(ds=e,!0)},e.relativeTimeThreshold=function(e,t){return void 0!==ls[e]&&(void 0===t?ls[e]:(ls[e]=t,!0))},e.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=zn,e});
 
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/webcam.min.js CHANGED
@@ -1 +1 @@
1
- window.bp=window.bp||{},bp,jQuery,"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.WebCam={start:function(){this.params={video:null,videoStream:null,capture_enable:!1,capture:null,canvas:null,warning:null,flipped:!1},bp.Avatar.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},setView:function(e){if("camera"===e){var a=new bp.Views.WebCamAvatar({model:new Backbone.Model({user_media:!1})});this.params.flipped=!1,bp.Avatar.views.add({id:"camera",view:a}),a.inject(".bp-avatar")}else _.isNull(this.params.video)||(this.stop(),this.removeWarning())},removeView:function(){var e;_.isUndefined(bp.Avatar.views.get("camera"))||((e=bp.Avatar.views.get("camera")).get("view").remove(),bp.Avatar.views.remove({id:"camera",view:e}))},gotStream:function(e){var a=bp.WebCam.params.video;bp.WebCam.params.videoStream=e,bp.WebCam.displayWarning("loaded"),a.onerror=function(){bp.WebCam.displayWarning("videoerror"),a&&bp.WebCam.stop()},e.onended=bp.WebCam.noStream(),void 0!==a.mozSrcObject?(a.mozSrcObject=e,a.play()):navigator.mozGetUserMedia?(a.src=e,a.play()):void 0!==a.srcObject?a.srcObject=e:window.URL?a.src=window.URL.createObjectURL(e):a.src=e,bp.WebCam.params.capture_enable=!0},stop:function(){bp.WebCam.params.capture_enable=!1,bp.WebCam.params.videoStream&&(bp.WebCam.params.videoStream.stop?bp.WebCam.params.videoStream.stop():bp.WebCam.params.videoStream.msStop&&bp.WebCam.params.videoStream.msStop(),bp.WebCam.params.videoStream.onended=null,bp.WebCam.params.videoStream=null),bp.WebCam.params.video&&(bp.WebCam.params.video.onerror=null,bp.WebCam.params.video.pause(),bp.WebCam.params.video.mozSrcObject&&(bp.WebCam.params.video.mozSrcObject=null),bp.WebCam.params.video.src="")},noStream:function(){_.isNull(bp.WebCam.params.videoStream)&&(bp.WebCam.displayWarning("noaccess"),bp.WebCam.removeView())},setAvatar:function(e){e.get("url")||bp.WebCam.displayWarning("nocapture"),bp.WebCam.removeView(),bp.Avatar.setAvatar(e)},removeWarning:function(){_.isNull(this.params.warning)||this.params.warning.remove()},displayWarning:function(e){this.removeWarning(),this.params.warning=new bp.Views.uploaderWarning({value:BP_Uploader.strings.camera_warnings[e]}),this.params.warning.inject(".bp-avatar-status")}},bp.Views.WebCamAvatar=bp.View.extend({tagName:"div",id:"bp-webcam-avatar",template:bp.template("bp-avatar-webcam"),events:{"click .avatar-webcam-capture":"captureStream","click .avatar-webcam-save":"saveCapture"},initialize:function(){var e;(navigator.getUserMedia||navigator.oGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia||navigator.msGetUserMedia)&&(e=_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),{user_media:!0,w:BP_Uploader.settings.crop.full_w,h:BP_Uploader.settings.crop.full_h,x:0,y:0,type:"camera"}),this.model.set(e)),this.on("ready",this.useStream,this)},useStream:function(){this.model.get("user_media")&&(this.options.video=new bp.Views.WebCamVideo,this.options.canvas=new bp.Views.WebCamCanvas,this.$el.find("#avatar-to-crop").append(this.options.video.el),this.$el.find("#avatar-crop-pane").append(this.options.canvas.el),bp.WebCam.params.video=this.options.video.el,bp.WebCam.params.canvas=this.options.canvas.el,bp.WebCam.displayWarning("requesting"),navigator.getUserMedia?navigator.getUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.oGetUserMedia?navigator.oGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.mozGetUserMedia?navigator.mozGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.webkitGetUserMedia?navigator.webkitGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.msGetUserMedia?navigator.msGetUserMedia({video:!0,audio:!1},bp.WebCams.gotStream,bp.WebCam.noStream):bp.WebCam.displayWarning("errormsg"))},captureStream:function(e){var a,t;e.preventDefault(),bp.WebCam.params.capture_enable?this.model.get("h")>this.options.video.el.videoHeight||this.model.get("w")>this.options.video.el.videoWidth?bp.WebCam.displayWarning("videoerror"):(t=this.options.video.el.videoHeight,a=(this.options.video.el.videoWidth-t)/2,bp.WebCam.params.flipped||(this.options.canvas.el.getContext("2d").translate(this.model.get("w"),0),this.options.canvas.el.getContext("2d").scale(-1,1),bp.WebCam.params.flipped=!0),this.options.canvas.el.getContext("2d").drawImage(this.options.video.el,a,0,t,t,0,0,this.model.get("w"),this.model.get("h")),bp.WebCam.params.capture=this.options.canvas.el.toDataURL("image/png"),this.model.set("url",bp.WebCam.params.capture),bp.WebCam.displayWarning("ready")):bp.WebCam.displayWarning("loading")},saveCapture:function(e){e.preventDefault(),bp.WebCam.params.capture?(bp.WebCam.stop(),bp.WebCam.setAvatar(this.model)):bp.WebCam.displayWarning("nocapture")}}),bp.Views.WebCamVideo=bp.View.extend({tagName:"video",id:"bp-webcam-video",attributes:{autoplay:"autoplay"}}),bp.Views.WebCamCanvas=bp.View.extend({tagName:"canvas",id:"bp-webcam-canvas",attributes:{width:150,height:150},initialize:function(){_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(this.el.attributes.width.value=BP_Uploader.settings.crop.full_w,this.el.attributes.height.value=BP_Uploader.settings.crop.full_h)}}),bp.WebCam.start());
1
+ window.bp=window.bp||{},function(){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.WebCam={start:function(){this.params={video:null,videoStream:null,capture_enable:!1,capture:null,canvas:null,warning:null,flipped:!1},bp.Avatar.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},setView:function(a){if("camera"!==a)return void(_.isNull(this.params.video)||(this.stop(),this.removeWarning()));var b=new bp.Views.WebCamAvatar({model:new Backbone.Model({user_media:!1})});this.params.flipped=!1,bp.Avatar.views.add({id:"camera",view:b}),b.inject(".bp-avatar")},removeView:function(){var a;_.isUndefined(bp.Avatar.views.get("camera"))||(a=bp.Avatar.views.get("camera"),a.get("view").remove(),bp.Avatar.views.remove({id:"camera",view:a}))},gotStream:function(a){var b=bp.WebCam.params.video;bp.WebCam.params.videoStream=a,bp.WebCam.displayWarning("loaded"),b.onerror=function(){bp.WebCam.displayWarning("videoerror"),b&&bp.WebCam.stop()},a.onended=bp.WebCam.noStream(),void 0!==b.mozSrcObject?(b.mozSrcObject=a,b.play()):navigator.mozGetUserMedia?(b.src=a,b.play()):void 0!==b.srcObject?b.srcObject=a:window.URL?b.src=window.URL.createObjectURL(a):b.src=a,bp.WebCam.params.capture_enable=!0},stop:function(){bp.WebCam.params.capture_enable=!1,bp.WebCam.params.videoStream&&(bp.WebCam.params.videoStream.stop?bp.WebCam.params.videoStream.stop():bp.WebCam.params.videoStream.msStop&&bp.WebCam.params.videoStream.msStop(),bp.WebCam.params.videoStream.onended=null,bp.WebCam.params.videoStream=null),bp.WebCam.params.video&&(bp.WebCam.params.video.onerror=null,bp.WebCam.params.video.pause(),bp.WebCam.params.video.mozSrcObject&&(bp.WebCam.params.video.mozSrcObject=null),bp.WebCam.params.video.src="")},noStream:function(){_.isNull(bp.WebCam.params.videoStream)&&(bp.WebCam.displayWarning("noaccess"),bp.WebCam.removeView())},setAvatar:function(a){a.get("url")||bp.WebCam.displayWarning("nocapture"),bp.WebCam.removeView(),bp.Avatar.setAvatar(a)},removeWarning:function(){_.isNull(this.params.warning)||this.params.warning.remove()},displayWarning:function(a){this.removeWarning(),this.params.warning=new bp.Views.uploaderWarning({value:BP_Uploader.strings.camera_warnings[a]}),this.params.warning.inject(".bp-avatar-status")}},bp.Views.WebCamAvatar=bp.View.extend({tagName:"div",id:"bp-webcam-avatar",template:bp.template("bp-avatar-webcam"),events:{"click .avatar-webcam-capture":"captureStream","click .avatar-webcam-save":"saveCapture"},initialize:function(){var a;(navigator.getUserMedia||navigator.oGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia||navigator.msGetUserMedia)&&(a=_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),{user_media:!0,w:BP_Uploader.settings.crop.full_w,h:BP_Uploader.settings.crop.full_h,x:0,y:0,type:"camera"}),this.model.set(a)),this.on("ready",this.useStream,this)},useStream:function(){this.model.get("user_media")&&(this.options.video=new bp.Views.WebCamVideo,this.options.canvas=new bp.Views.WebCamCanvas,this.$el.find("#avatar-to-crop").append(this.options.video.el),this.$el.find("#avatar-crop-pane").append(this.options.canvas.el),bp.WebCam.params.video=this.options.video.el,bp.WebCam.params.canvas=this.options.canvas.el,bp.WebCam.displayWarning("requesting"),navigator.getUserMedia?navigator.getUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.oGetUserMedia?navigator.oGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.mozGetUserMedia?navigator.mozGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.webkitGetUserMedia?navigator.webkitGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.msGetUserMedia?navigator.msGetUserMedia({video:!0,audio:!1},bp.WebCams.gotStream,bp.WebCam.noStream):bp.WebCam.displayWarning("errormsg"))},captureStream:function(a){var b,c;return a.preventDefault(),bp.WebCam.params.capture_enable?this.model.get("h")>this.options.video.el.videoHeight||this.model.get("w")>this.options.video.el.videoWidth?void bp.WebCam.displayWarning("videoerror"):(c=this.options.video.el.videoHeight,b=(this.options.video.el.videoWidth-c)/2,bp.WebCam.params.flipped||(this.options.canvas.el.getContext("2d").translate(this.model.get("w"),0),this.options.canvas.el.getContext("2d").scale(-1,1),bp.WebCam.params.flipped=!0),this.options.canvas.el.getContext("2d").drawImage(this.options.video.el,b,0,c,c,0,0,this.model.get("w"),this.model.get("h")),bp.WebCam.params.capture=this.options.canvas.el.toDataURL("image/png"),this.model.set("url",bp.WebCam.params.capture),void bp.WebCam.displayWarning("ready")):void bp.WebCam.displayWarning("loading")},saveCapture:function(a){return a.preventDefault(),bp.WebCam.params.capture?(bp.WebCam.stop(),void bp.WebCam.setAvatar(this.model)):void bp.WebCam.displayWarning("nocapture")}}),bp.Views.WebCamVideo=bp.View.extend({tagName:"video",id:"bp-webcam-video",attributes:{autoplay:"autoplay"}}),bp.Views.WebCamCanvas=bp.View.extend({tagName:"canvas",id:"bp-webcam-canvas",attributes:{width:150,height:150},initialize:function(){_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(this.el.attributes.width.value=BP_Uploader.settings.crop.full_w,this.el.attributes.height.value=BP_Uploader.settings.crop.full_h)}}),bp.WebCam.start())}(bp,jQuery);
bp-core/js/widget-members.min.js CHANGED
@@ -1 +1 @@
1
- function member_widget_click_handler(){jQuery(".widget div#members-list-options a").on("click",function(){var e=this;return jQuery(e).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(t){jQuery(e).removeClass("loading"),member_widget_response(t)}),!1})}function member_widget_response(e){e=e.substr(0,e.length-1),"-1"!==(e=e.split("[[SPLIT]]"))[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(e[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var t="<p>"+e[1]+"</p>";jQuery(".widget ul#members-list").html(t),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){member_widget_click_handler(),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){member_widget_click_handler()})});
1
+ function member_widget_click_handler(){jQuery(".widget div#members-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),member_widget_response(b)}),!1})}function member_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(a[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#members-list").html(b),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){member_widget_click_handler(),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){member_widget_click_handler()})});
bp-forums/bp-forums-bbpress-sa.php CHANGED
@@ -149,7 +149,7 @@ function bp_forums_load_bbpress() {
149
  *
150
  * @since 1.1.0
151
  */
152
- register_shutdown_function( function() { do_action( 'bb_shutdown' ); } );
153
  }
154
  add_action( 'bbpress_init', 'bp_forums_load_bbpress' );
155
 
@@ -236,7 +236,8 @@ if ( ! class_exists( 'BPDB' ) ) :
236
  function __construct( $dbuser, $dbpassword, $dbname, $dbhost ) {
237
  parent::__construct( $dbuser, $dbpassword, $dbname, $dbhost );
238
 
239
- $args = call_user_func_array( array( &$this, 'init' ), func_get_args() );
 
240
 
241
  if ( $args['host'] )
242
  $this->db_servers['dbh_global'] = $args;
149
  *
150
  * @since 1.1.0
151
  */
152
+ register_shutdown_function( create_function( '', 'do_action("bb_shutdown");' ) );
153
  }
154
  add_action( 'bbpress_init', 'bp_forums_load_bbpress' );
155
 
236
  function __construct( $dbuser, $dbpassword, $dbname, $dbhost ) {
237
  parent::__construct( $dbuser, $dbpassword, $dbname, $dbhost );
238
 
239
+ $args = func_get_args();
240
+ $args = call_user_func_array( array( &$this, 'init' ), $args );
241
 
242
  if ( $args['host'] )
243
  $this->db_servers['dbh_global'] = $args;
bp-forums/bp-forums-template.php CHANGED
@@ -2652,7 +2652,7 @@ function bp_the_topic_post_poster_name() {
2652
  *
2653
  * @param string $value HTML link for the poster's name.
2654
  */
2655
- return apply_filters( 'bp_get_the_topic_post_poster_name', '<a href="' . esc_url( $link ) . '">' . esc_html( $topic_template->post->poster_name ) . '</a>' );
2656
  }
2657
 
2658
  /**
2652
  *
2653
  * @param string $value HTML link for the poster's name.
2654
  */
2655
+ return apply_filters( 'bp_get_the_topic_post_poster_name', '<a href="' . $link . '" title="' . $topic_template->post->poster_name . '">' . $topic_template->post->poster_name . '</a>' );
2656
  }
2657
 
2658
  /**
bp-forums/deprecated/1.7.php CHANGED
@@ -21,7 +21,7 @@ function bp_forums_add_admin_menu() {
21
  $page = bp_core_do_network_admin() ? 'settings.php' : 'options-general.php';
22
 
23
  // Add the administration tab under the "Site Admin" tab for site administrators.
24
- $hook = add_submenu_page( $page, __( 'Forums (Legacy)', 'buddypress' ), __( 'Forums (Legacy)', 'buddypress' ), 'manage_options', 'bb-forums-setup', "bp_forums_bbpress_admin" );
25
 
26
  // Fudge the highlighted subnav item when on the BuddyPress Forums admin page.
27
  add_action( "admin_head-$hook", 'bp_core_modify_admin_menu_highlight' );
21
  $page = bp_core_do_network_admin() ? 'settings.php' : 'options-general.php';
22
 
23
  // Add the administration tab under the "Site Admin" tab for site administrators.
24
+ $hook = add_submenu_page( $page, __( 'Forums', 'buddypress' ), __( 'Forums', 'buddypress' ), 'manage_options', 'bb-forums-setup', "bp_forums_bbpress_admin" );
25
 
26
  // Fudge the highlighted subnav item when on the BuddyPress Forums admin page.
27
  add_action( "admin_head-$hook", 'bp_core_modify_admin_menu_highlight' );
bp-friends/bp-friends-actions.php CHANGED
@@ -82,7 +82,7 @@ function friends_action_remove_friend() {
82
  bp_core_add_message( __( 'Friendship canceled', 'buddypress' ) );
83
  }
84
 
85
- } elseif ( 'not_friends' == $friendship_status ) {
86
  bp_core_add_message( __( 'You are not yet friends with this user', 'buddypress' ), 'error' );
87
  } else {
88
  bp_core_add_message( __( 'You have a pending friendship request with this user', 'buddypress' ), 'error' );
82
  bp_core_add_message( __( 'Friendship canceled', 'buddypress' ) );
83
  }
84
 
85
+ } elseif ( 'is_friends' == $friendship_status ) {
86
  bp_core_add_message( __( 'You are not yet friends with this user', 'buddypress' ), 'error' );
87
  } else {
88
  bp_core_add_message( __( 'You have a pending friendship request with this user', 'buddypress' ), 'error' );
bp-friends/bp-friends-activity.php CHANGED
@@ -31,7 +31,7 @@ defined( 'ABSPATH' ) || exit;
31
  * @type string $component Default: the id of your Friends component
32
  * (usually 'friends').
33
  * }
34
- * @return WP_Error|bool|int See {@link bp_activity_add()}.
35
  */
36
  function friends_record_activity( $args = '' ) {
37
 
31
  * @type string $component Default: the id of your Friends component
32
  * (usually 'friends').
33
  * }
34
+ * @return bool See {@link bp_activity_add()}.
35
  */
36
  function friends_record_activity( $args = '' ) {
37
 
bp-friends/bp-friends-classes.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BuddyPress Friends Classes.
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage FriendsClasses
7
+ * @since 1.0.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( __FILE__ ) . '/classes/class-bp-friends-friendship.php';
bp-friends/bp-friends-functions.php CHANGED
@@ -44,8 +44,8 @@ function friends_add_friend( $initiator_userid, $friend_userid, $force_accept =
44
 
45
  // Setup the friendship data.
46
  $friendship = new BP_Friends_Friendship;
47
- $friendship->initiator_user_id = (int) $initiator_userid;
48
- $friendship->friend_user_id = (int) $friend_userid;
49
  $friendship->is_confirmed = 0;
50
  $friendship->is_limited = 0;
51
  $friendship->date_created = bp_core_current_time();
@@ -348,7 +348,7 @@ function friends_check_user_has_friends( $user_id ) {
348
  *
349
  * @param int $initiator_user_id ID of the first user.
350
  * @param int $friend_user_id ID of the second user.
351
- * @return int|null ID of the friendship if found, otherwise false.
352
  */
353
  function friends_get_friendship_id( $initiator_user_id, $friend_user_id ) {
354
  return BP_Friends_Friendship::get_friendship_id( $initiator_user_id, $friend_user_id );
@@ -421,25 +421,18 @@ function friends_get_friendship_request_user_ids( $user_id ) {
421
  * @return array See {@link BP_Core_User::get_users()}.
422
  */
423
  function friends_get_recently_active( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
424
- $friends = bp_core_get_users( array(
425
- 'type' => 'active',
426
- 'per_page' => $per_page,
427
- 'page' => $page,
428
- 'user_id' => $user_id,
429
- 'search_terms' => $filter,
430
- ) );
431
 
432
  /**
433
  * Filters a user's most recently active friends.
434
  *
435
  * @since 1.2.0
436
  *
437
- * @param array $friends {
438
  * @type int $total_users Total number of users matched by query params.
439
  * @type array $paged_users The current page of users matched by query params.
440
  * }
441
  */
442
- return apply_filters( 'friends_get_recently_active', $friends );
443
  }
444
 
445
  /**
@@ -459,25 +452,18 @@ function friends_get_recently_active( $user_id, $per_page = 0, $page = 0, $filte
459
  * @return array See {@link BP_Core_User::get_users()}.
460
  */
461
  function friends_get_alphabetically( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
462
- $friends = bp_core_get_users( array(
463
- 'type' => 'alphabetical',
464
- 'per_page' => $per_page,
465
- 'page' => $page,
466
- 'user_id' => $user_id,
467
- 'search_terms' => $filter,
468
- ) );
469
 
470
  /**
471
  * Filters a user's friends listed in alphabetical order.
472
  *
473
  * @since 1.2.0
474
  *
475
- * @return array $friends {
476
  * @type int $total_users Total number of users matched by query params.
477
  * @type array $paged_users The current page of users matched by query params.
478
  * }
479
  */
480
- return apply_filters( 'friends_get_alphabetically', $friends );
481
  }
482
 
483
  /**
@@ -497,25 +483,18 @@ function friends_get_alphabetically( $user_id, $per_page = 0, $page = 0, $filter
497
  * @return array See {@link BP_Core_User::get_users()}.
498
  */
499
  function friends_get_newest( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
500
- $friends = bp_core_get_users( array(
501
- 'type' => 'newest',
502
- 'per_page' => $per_page,
503
- 'page' => $page,
504
- 'user_id' => $user_id,
505
- 'search_terms' => $filter,
506
- ) );
507
 
508
  /**
509
  * Filters a user's friends listed from newest to oldest.
510
  *
511
  * @since 1.2.0
512
  *
513
- * @param array $friends {
514
  * @type int $total_users Total number of users matched by query params.
515
  * @type array $paged_users The current page of users matched by query params.
516
  * }
517
  */
518
- return apply_filters( 'friends_get_newest', $friends );
519
  }
520
 
521
  /**
@@ -773,12 +752,6 @@ add_action( 'bp_make_spam_user', 'friends_remove_data' );
773
  * @see bp_activity_mentions_script()
774
  */
775
  function bp_friends_prime_mentions_results() {
776
-
777
- // Stop here if user is not logged in.
778
- if ( ! is_user_logged_in() ) {
779
- return;
780
- }
781
-
782
  if ( ! bp_activity_maybe_load_mentions_scripts() ) {
783
  return;
784
  }
@@ -896,4 +869,4 @@ function friends_notification_accepted_request( $friendship_id, $initiator_id, $
896
  );
897
  bp_send_email( 'friends-request-accepted', $initiator_id, $args );
898
  }
899
- add_action( 'friends_friendship_accepted', 'friends_notification_accepted_request', 10, 3 );
44
 
45
  // Setup the friendship data.
46
  $friendship = new BP_Friends_Friendship;
47
+ $friendship->initiator_user_id = $initiator_userid;
48
+ $friendship->friend_user_id = $friend_userid;
49
  $friendship->is_confirmed = 0;
50
  $friendship->is_limited = 0;
51
  $friendship->date_created = bp_core_current_time();
348
  *
349
  * @param int $initiator_user_id ID of the first user.
350
  * @param int $friend_user_id ID of the second user.
351
+ * @return int|bool ID of the friendship if found, otherwise false.
352
  */
353
  function friends_get_friendship_id( $initiator_user_id, $friend_user_id ) {
354
  return BP_Friends_Friendship::get_friendship_id( $initiator_user_id, $friend_user_id );
421
  * @return array See {@link BP_Core_User::get_users()}.
422
  */
423
  function friends_get_recently_active( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
 
 
 
 
 
 
 
424
 
425
  /**
426
  * Filters a user's most recently active friends.
427
  *
428
  * @since 1.2.0
429
  *
430
+ * @param array {
431
  * @type int $total_users Total number of users matched by query params.
432
  * @type array $paged_users The current page of users matched by query params.
433
  * }
434
  */
435
+ return apply_filters( 'friends_get_recently_active', BP_Core_User::get_users( 'active', $per_page, $page, $user_id, $filter ) );
436
  }
437
 
438
  /**
452
  * @return array See {@link BP_Core_User::get_users()}.
453
  */
454
  function friends_get_alphabetically( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
 
 
 
 
 
 
 
455
 
456
  /**
457
  * Filters a user's friends listed in alphabetical order.
458
  *
459
  * @since 1.2.0
460
  *
461
+ * @return array {
462
  * @type int $total_users Total number of users matched by query params.
463
  * @type array $paged_users The current page of users matched by query params.
464
  * }
465
  */
466
+ return apply_filters( 'friends_get_alphabetically', BP_Core_User::get_users( 'alphabetical', $per_page, $page, $user_id, $filter ) );
467
  }
468
 
469
  /**
483
  * @return array See {@link BP_Core_User::get_users()}.
484
  */
485
  function friends_get_newest( $user_id, $per_page = 0, $page = 0, $filter = '' ) {
 
 
 
 
 
 
 
486
 
487
  /**
488
  * Filters a user's friends listed from newest to oldest.
489
  *
490
  * @since 1.2.0
491
  *
492
+ * @param array {
493
  * @type int $total_users Total number of users matched by query params.
494
  * @type array $paged_users The current page of users matched by query params.
495
  * }
496
  */
497
+ return apply_filters( 'friends_get_newest', BP_Core_User::get_users( 'newest', $per_page, $page, $user_id, $filter ) );
498
  }
499
 
500
  /**
752
  * @see bp_activity_mentions_script()
753
  */
754
  function bp_friends_prime_mentions_results() {
 
 
 
 
 
 
755
  if ( ! bp_activity_maybe_load_mentions_scripts() ) {
756
  return;
757
  }
869
  );
870
  bp_send_email( 'friends-request-accepted', $initiator_id, $args );
871
  }
872
+ add_action( 'friends_friendship_accepted', 'friends_notification_accepted_request', 10, 3 );
bp-friends/bp-friends-loader.php CHANGED
@@ -12,6 +12,10 @@
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
 
 
 
 
15
  /**
16
  * Set up the bp-friends component.
17
  *
12
  // Exit if accessed directly.
13
  defined( 'ABSPATH' ) || exit;
14
 
15
+ if ( ! buddypress()->do_autoload ) {
16
+ require dirname( __FILE__ ) . '/classes/class-bp-friends-component.php';
17
+ }
18
+
19
  /**
20
  * Set up the bp-friends component.
21
  *
bp-friends/bp-friends-template.php CHANGED
@@ -346,7 +346,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
346
  * @param int $potential_friend_id ID of the user to whom the button
347
  * applies. Default: value of {@link bp_get_potential_friend_id()}.
348
  * @param bool $friend_status Not currently used.
349
- * @return false|string HTML for the Add Friend button.
350
  */
351
  function bp_get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
352
 
@@ -441,8 +441,8 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
441
  *
442
  * @param int $user_id Optional. Default: the displayed user's ID, or the
443
  * logged-in user's ID.
444
- * @return false|string A comma-separated list of friend IDs if any are found,
445
- * otherwise false.
446
  */
447
  function bp_get_friend_ids( $user_id = 0 ) {
448
 
@@ -563,7 +563,7 @@ function bp_friend_accept_request_link() {
563
  * @param string $value Accept-friendship URL.
564
  * @param int $friendship_id ID of the friendship.
565
  */
566
- return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' . $friendship_id ), 'friends_accept_friendship' ), $friendship_id );
567
  }
568
 
569
  /**
@@ -598,7 +598,7 @@ function bp_friend_reject_request_link() {
598
  * @param string $value Reject-friendship URL.
599
  * @param int $friendship_id ID of the friendship.
600
  */
601
- return apply_filters( 'bp_get_friend_reject_request_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/reject/' . $friendship_id ), 'friends_reject_friendship' ), $friendship_id );
602
  }
603
 
604
  /**
346
  * @param int $potential_friend_id ID of the user to whom the button
347
  * applies. Default: value of {@link bp_get_potential_friend_id()}.
348
  * @param bool $friend_status Not currently used.
349
+ * @return string HTML for the Add Friend button.
350
  */
351
  function bp_get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
352
 
441
  *
442
  * @param int $user_id Optional. Default: the displayed user's ID, or the
443
  * logged-in user's ID.
444
+ * @return string|bool A comma-separated list of friend IDs if any are found,
445
+ * otherwise false.
446
  */
447
  function bp_get_friend_ids( $user_id = 0 ) {
448
 
563
  * @param string $value Accept-friendship URL.
564
  * @param int $friendship_id ID of the friendship.
565
  */
566
+ return apply_filters( 'bp_get_friend_accept_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/accept/' . $friendship_id, 'friends_accept_friendship' ), $friendship_id );
567
  }
568
 
569
  /**
598
  * @param string $value Reject-friendship URL.
599
  * @param int $friendship_id ID of the friendship.
600
  */
601
+ return apply_filters( 'bp_get_friend_reject_request_link', wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/reject/' . $friendship_id, 'friends_reject_friendship' ), $friendship_id );
602
  }
603
 
604
  /**
bp-friends/bp-friends-widgets.php CHANGED
@@ -10,6 +10,10 @@
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
 
 
 
 
13
  /**
14
  * Register the friends widget.
15
  *
@@ -27,7 +31,7 @@ function bp_friends_register_widgets() {
27
  return;
28
  }
29
 
30
- add_action( 'widgets_init', function() { register_widget( 'BP_Core_Friends_Widget' ); } );
31
  }
32
  add_action( 'bp_register_widgets', 'bp_friends_register_widgets' );
33
 
@@ -72,7 +76,7 @@ function bp_core_ajax_widget_friends() {
72
  </div>
73
 
74
  <div class="item">
75
- <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a></div>
76
  <?php if ( 'active' == $type ) : ?>
77
  <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>
78
  <?php elseif ( 'newest' == $type ) : ?>
10
  // Exit if accessed directly.
11
  defined( 'ABSPATH' ) || exit;
12
 
13
+ if ( ! buddypress()->do_autoload ) {
14
+ require dirname( __FILE__ ) . '/classes/class-bp-core-friends-widget.php';
15
+ }
16
+
17
  /**
18
  * Register the friends widget.
19
  *
31
  return;
32
  }
33
 
34
+ add_action( 'widgets_init', create_function( '', 'return register_widget("BP_Core_Friends_Widget");' ) );
35
  }
36
  add_action( 'bp_register_widgets', 'bp_friends_register_widgets' );
37
 
76
  </div>
77
 
78
  <div class="item">
79
+ <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_name(); ?></a></div>
80
  <?php if ( 'active' == $type ) : ?>
81
  <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>
82
  <?php elseif ( 'newest' == $type ) : ?>
bp-friends/classes/class-bp-core-friends-widget.php CHANGED
@@ -111,11 +111,11 @@ class BP_Core_Friends_Widget extends WP_Widget {
111
  <?php while ( bp_members() ) : bp_the_member(); ?>
112
  <li class="vcard">
113
  <div class="item-avatar">
114
- <a href="<?php bp_member_permalink(); ?>" class="bp-tooltip" data-bp-tooltip="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a>
115
  </div>
116
 
117
  <div class="item">
118
- <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a></div>
119
  <div class="item-meta">
120
  <?php if ( 'newest' == $instance['friend_default'] ) : ?>
121
  <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_registered( array( 'relative' => false ) ) ); ?>"><?php bp_member_registered(); ?></span>
111
  <?php while ( bp_members() ) : bp_the_member(); ?>
112
  <li class="vcard">
113
  <div class="item-avatar">
114
+ <a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a>
115
  </div>
116
 
117
  <div class="item">
118
+ <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_name(); ?></a></div>
119
  <div class="item-meta">
120
  <?php if ( 'newest' == $instance['friend_default'] ) : ?>
121
  <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_registered( array( 'relative' => false ) ) ); ?>"><?php bp_member_registered(); ?></span>
bp-friends/classes/class-bp-friends-component.php CHANGED
@@ -61,6 +61,10 @@ class BP_Friends_Component extends BP_Component {
61
  $includes[] = 'notifications';
62
  }
63
 
 
 
 
 
64
  parent::includes( $includes );
65
  }
66
 
61
  $includes[] = 'notifications';
62
  }
63
 
64
+ if ( ! buddypress()->do_autoload ) {
65
+ $includes[] = 'classes';
66
+ }
67
+
68
  parent::includes( $includes );
69
  }
70
 
bp-friends/classes/class-bp-friends-friendship.php CHANGED
@@ -176,7 +176,7 @@ class BP_Friends_Friendship {
176
  *
177
  * @since 1.0.0
178
  *
179
- * @param BP_Friends_Friendship $value Current friendship request object.
180
  */
181
  do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );
182
 
@@ -195,7 +195,7 @@ class BP_Friends_Friendship {
195
  *
196
  * @since 1.0.0
197
  *
198
- * @param BP_Friends_Friendship $value Current friendship request object.
199
  */
200
  do_action( 'friends_friendship_after_save', array( &$this ) );
201
 
@@ -588,8 +588,8 @@ class BP_Friends_Friendship {
588
  * of the potential friendship/request.
589
  * @param int $possible_friend_userid The ID of the user who is the
590
  * recipient of the potential friendship/request.
591
- * @return string|false $value The friendship status, from among 'not_friends',
592
- * 'is_friend', 'pending', and 'awaiting_response'.
593
  */
594
  public static function check_is_friend( $initiator_userid, $possible_friend_userid ) {
595
  global $wpdb;
@@ -644,13 +644,13 @@ class BP_Friends_Friendship {
644
  $last_activities = BP_Core_User::get_last_activity( $user_ids );
645
 
646
  // Sort and structure as expected in legacy function.
647
- usort( $last_activities, function( $a, $b ) {
648
- if ( $a['date_recorded'] == $b['date_recorded'] ) {
649
  return 0;
650
  }
651
 
652
- return ( strtotime( $a['date_recorded'] ) < strtotime( $b['date_recorded'] ) ) ? 1 : -1;
653
- } );
654
 
655
  $retval = array();
656
  foreach ( $last_activities as $last_activity ) {
@@ -825,8 +825,8 @@ class BP_Friends_Friendship {
825
  * @param int $user_id ID of the user whose friends are being retrieved.
826
  * @param int $total_friends Optional. Number of random friends to get.
827
  * Default: 5.
828
- * @return array|false An array of random friend user IDs on success;
829
- * false if none are found.
830
  */
831
  public static function get_random_friends( $user_id, $total_friends = 5 ) {
832
  global $wpdb;
@@ -916,7 +916,7 @@ class BP_Friends_Friendship {
916
  * @since 1.0.0
917
  *
918
  * @param int $friendship_id ID of the friendship.
919
- * @return null|stdClass friend_user_id and initiator_user_id.
920
  */
921
  public static function get_user_ids_for_friendship( $friendship_id ) {
922
 
176
  *
177
  * @since 1.0.0
178
  *
179
+ * @param Object $value Current friendship request object.
180
  */
181
  do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );
182
 
195
  *
196
  * @since 1.0.0
197
  *
198
+ * @param Object $value Current friendship request object.
199
  */
200
  do_action( 'friends_friendship_after_save', array( &$this ) );
201
 
588
  * of the potential friendship/request.
589
  * @param int $possible_friend_userid The ID of the user who is the
590
  * recipient of the potential friendship/request.
591
+ * @return string $value The friendship status, from among 'not_friends',
592
+ * 'is_friend', 'pending', and 'awaiting_response'.
593
  */
594
  public static function check_is_friend( $initiator_userid, $possible_friend_userid ) {
595
  global $wpdb;
644
  $last_activities = BP_Core_User::get_last_activity( $user_ids );
645
 
646
  // Sort and structure as expected in legacy function.
647
+ usort( $last_activities, create_function( '$a, $b', '
648
+ if ( $a["date_recorded"] == $b["date_recorded"] ) {
649
  return 0;
650
  }
651
 
652
+ return ( strtotime( $a["date_recorded"] ) < strtotime( $b["date_recorded"] ) ) ? 1 : -1;
653
+ ' ) );
654
 
655
  $retval = array();
656
  foreach ( $last_activities as $last_activity ) {
825
  * @param int $user_id ID of the user whose friends are being retrieved.
826
  * @param int $total_friends Optional. Number of random friends to get.
827
  * Default: 5.
828
+ * @return array|bool An array of random friend user IDs on success;
829
+ * false if none are found.
830
  */
831
  public static function get_random_friends( $user_id, $total_friends = 5 ) {
832
  global $wpdb;
916
  * @since 1.0.0
917
  *
918
  * @param int $friendship_id ID of the friendship.
919
+ * @return object friend_user_id and initiator_user_id.
920
  */
921
  public static function get_user_ids_for_friendship( $friendship_id ) {
922
 
bp-friends/js/widget-friends.min.js CHANGED
@@ -1 +1 @@
1
- function friend_widget_click_handler(){jQuery(".widget div#friends-list-options a").on("click",function(){var e=this;return jQuery(e).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(i){jQuery(e).removeClass("loading"),friend_widget_response(i)}),!1})}function friend_widget_response(e){e=e.substr(0,e.length-1),"-1"!==(e=e.split("[[SPLIT]]"))[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(e[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var i="<p>"+e[1]+"</p>";jQuery(".widget ul#friends-list").html(i),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){friend_widget_click_handler(),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){friend_widget_click_handler()})});
1
+ function friend_widget_click_handler(){jQuery(".widget div#friends-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),friend_widget_response(b)}),!1})}function friend_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(a[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#friends-list").html(b),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){friend_widget_click_handler(),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){friend_widget_click_handler()})});
bp-groups/admin/css/admin-rtl.css CHANGED
@@ -12,136 +12,84 @@ body.toplevel_page_bp-groups table.groups th#last_active {
12
  margin-left: 10px;
13
  margin-top: 1px;
14
  }
15
-
16
  #bp-groups-edit-form input {
17
  outline: medium none;
18
  }
19
-
20
  #bp-groups-edit-form input#bp-groups-name {
21
  font-size: 1.7em;
22
  width: 100%;
23
  margin-bottom: 6px;
24
  }
25
-
26
  #bp-groups-edit-form input#bp-groups-new-members {
27
- border: 1px solid #e5e5e5;
28
- margin-top: 6px;
29
  width: 100%;
 
 
30
  }
31
-
32
  #bp-groups-new-members-list {
33
  margin: 0;
34
  }
35
-
36
  .bp-groups-settings-section {
37
  margin-top: 10px;
38
- line-height: 2;
39
  }
40
-
41
  .bp-groups-settings-section legend {
42
  margin-top: 10px;
43
- font-weight: 700;
44
  }
45
-
46
  .bp-groups-settings-section label {
47
  clear: right;
48
  display: block;
49
  float: right;
50
  vertical-align: middle;
51
  }
52
-
53
  #bp-groups-permalink-box {
54
  line-height: 24px;
55
  color: #666;
56
  }
57
-
58
- #bp-groups-permalink {
59
- margin-left: 24px;
60
- }
61
-
62
  .bp-groups-member-type {
63
  position: relative;
64
  }
65
-
66
  .bp-groups-member-type > h4 {
67
- margin-bottom: 0.5em;
68
  }
69
-
70
  ul.bp-group-delete-list {
71
  list-style-type: disc;
72
  margin: 4px 26px;
73
  }
74
-
75
- /*
76
- * Members Pagination
77
- */
78
  .bp-group-admin-pagination {
79
  position: absolute;
80
  text-align: left;
81
  width: 100%;
82
  }
83
-
84
  .bp-group-admin-pagination.table-top {
85
  top: 0;
86
  }
87
-
88
  .bp-group-admin-pagination.table-bottom {
89
  bottom: 0;
90
  }
91
-
92
  .bp-group-admin-pagination-viewing {
93
  color: #777;
94
  font-size: 12px;
95
  font-style: italic;
96
  }
97
-
98
  .bp-group-admin-pagination-links {
99
  white-space: nowrap;
100
  padding-right: 15px;
101
  }
102
 
103
- .bp-group-admin-pagination-links .page-numbers {
104
- display: inline-block;
105
- min-width: 12px;
106
- border: 1px solid #ccc;
107
- padding: 2px 4px 4px;
108
- background: #e5e5e5;
109
- line-height: 1;
110
- font-weight: 400;
111
- text-align: center;
112
- text-decoration: none;
113
- }
114
-
115
- .bp-group-admin-pagination-links a.page-numbers:hover {
116
- text-decoration: underline;
117
- }
118
-
119
- .bp-group-admin-pagination-links .page-numbers.current,
120
- .bp-group-admin-pagination-links .page-numbers.dots {
121
- border-color: #ddd;
122
- background: #f7f7f7;
123
- color: #a0a5aa;
124
- }
125
-
126
- /*
127
- * Members List
128
- */
129
  table.bp-group-members .uid-column {
130
  padding-right: 20px;
131
  padding-left: 20px;
132
  }
133
-
134
  table.bp-group-members .uname-column {
135
  width: 70%;
136
  }
137
-
138
  table.bp-group-members .urole-column {
139
  padding-right: 20px;
140
  padding-left: 20px;
141
  }
142
 
143
  @media screen and (max-width: 782px) {
144
-
145
  .bp-groups-settings-section label {
146
  margin: 0.25em 0;
147
  }
12
  margin-left: 10px;
13
  margin-top: 1px;
14
  }
 
15
  #bp-groups-edit-form input {
16
  outline: medium none;
17
  }
 
18
  #bp-groups-edit-form input#bp-groups-name {
19
  font-size: 1.7em;
20
  width: 100%;
21
  margin-bottom: 6px;
22
  }
 
23
  #bp-groups-edit-form input#bp-groups-new-members {
 
 
24
  width: 100%;
25
+ max-width: 90%;
26
+ border: 0;
27
  }
 
28
  #bp-groups-new-members-list {
29
  margin: 0;
30
  }
 
31
  .bp-groups-settings-section {
32
  margin-top: 10px;
33
+ line-height: 2em;
34
  }
 
35
  .bp-groups-settings-section legend {
36
  margin-top: 10px;
37
+ font-weight: bold;
38
  }
 
39
  .bp-groups-settings-section label {
40
  clear: right;
41
  display: block;
42
  float: right;
43
  vertical-align: middle;
44
  }
 
45
  #bp-groups-permalink-box {
46
  line-height: 24px;
47
  color: #666;
48
  }
 
 
 
 
 
49
  .bp-groups-member-type {
50
  position: relative;
51
  }
 
52
  .bp-groups-member-type > h4 {
53
+ margin-bottom: .5em;
54
  }
 
55
  ul.bp-group-delete-list {
56
  list-style-type: disc;
57
  margin: 4px 26px;
58
  }
 
 
 
 
59
  .bp-group-admin-pagination {
60
  position: absolute;
61
  text-align: left;
62
  width: 100%;
63
  }
 
64
  .bp-group-admin-pagination.table-top {
65
  top: 0;
66
  }
 
67
  .bp-group-admin-pagination.table-bottom {
68
  bottom: 0;
69
  }
 
70
  .bp-group-admin-pagination-viewing {
71
  color: #777;
72
  font-size: 12px;
73
  font-style: italic;
74
  }
 
75
  .bp-group-admin-pagination-links {
76
  white-space: nowrap;
77
  padding-right: 15px;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  table.bp-group-members .uid-column {
81
  padding-right: 20px;
82
  padding-left: 20px;
83
  }
 
84
  table.bp-group-members .uname-column {
85
  width: 70%;
86
  }
 
87
  table.bp-group-members .urole-column {
88
  padding-right: 20px;
89
  padding-left: 20px;
90
  }
91
 
92
  @media screen and (max-width: 782px) {
 
93
  .bp-groups-settings-section label {
94
  margin: 0.25em 0;
95
  }
bp-groups/admin/css/admin-rtl.min.css CHANGED
@@ -1 +1 @@
1
- body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:medium none}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{border:1px solid #e5e5e5;margin-top:6px;width:100%}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:right;display:block;float:right;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}#bp-groups-permalink{margin-left:24px}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}.bp-group-admin-pagination-links .page-numbers{display:inline-block;min-width:12px;border:1px solid #ccc;padding:2px 4px 4px;background:#e5e5e5;line-height:1;font-weight:400;text-align:center;text-decoration:none}.bp-group-admin-pagination-links a.page-numbers:hover{text-decoration:underline}.bp-group-admin-pagination-links .page-numbers.current,.bp-group-admin-pagination-links .page-numbers.dots{border-color:#ddd;background:#f7f7f7;color:#a0a5aa}table.bp-group-members .uid-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}}
1
+ body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2em}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:right;display:block;float:right;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}}
bp-groups/admin/css/admin.css CHANGED
@@ -12,136 +12,84 @@ body.toplevel_page_bp-groups table.groups th#last_active {
12
  margin-right: 10px;
13
  margin-top: 1px;
14
  }
15
-
16
  #bp-groups-edit-form input {
17
  outline: medium none;
18
  }
19
-
20
  #bp-groups-edit-form input#bp-groups-name {
21
  font-size: 1.7em;
22
  width: 100%;
23
  margin-bottom: 6px;
24
  }
25
-
26
  #bp-groups-edit-form input#bp-groups-new-members {
27
- border: 1px solid #e5e5e5;
28
- margin-top: 6px;
29
  width: 100%;
 
 
30
  }
31
-
32
  #bp-groups-new-members-list {
33
  margin: 0;
34
  }
35
-
36
  .bp-groups-settings-section {
37
  margin-top: 10px;
38
- line-height: 2;
39
  }
40
-
41
  .bp-groups-settings-section legend {
42
  margin-top: 10px;
43
- font-weight: 700;
44
  }
45
-
46
  .bp-groups-settings-section label {
47
  clear: left;
48
  display: block;
49
  float: left;
50
  vertical-align: middle;
51
  }
52
-
53
  #bp-groups-permalink-box {
54
  line-height: 24px;
55
  color: #666;
56
  }
57
-
58
- #bp-groups-permalink {
59
- margin-right: 24px;
60
- }
61
-
62
  .bp-groups-member-type {
63
  position: relative;
64
  }
65
-
66
  .bp-groups-member-type > h4 {
67
- margin-bottom: 0.5em;
68
  }
69
-
70
  ul.bp-group-delete-list {
71
  list-style-type: disc;
72
  margin: 4px 26px;
73
  }
74
-
75
- /*
76
- * Members Pagination
77
- */
78
  .bp-group-admin-pagination {
79
  position: absolute;
80
  text-align: right;
81
  width: 100%;
82
  }
83
-
84
  .bp-group-admin-pagination.table-top {
85
  top: 0;
86
  }
87
-
88
  .bp-group-admin-pagination.table-bottom {
89
  bottom: 0;
90
  }
91
-
92
  .bp-group-admin-pagination-viewing {
93
  color: #777;
94
  font-size: 12px;
95
  font-style: italic;
96
  }
97
-
98
  .bp-group-admin-pagination-links {
99
  white-space: nowrap;
100
  padding-left: 15px;
101
  }
102
 
103
- .bp-group-admin-pagination-links .page-numbers {
104
- display: inline-block;
105
- min-width: 12px;
106
- border: 1px solid #ccc;
107
- padding: 2px 4px 4px;
108
- background: #e5e5e5;
109
- line-height: 1;
110
- font-weight: 400;
111
- text-align: center;
112
- text-decoration: none;
113
- }
114
-
115
- .bp-group-admin-pagination-links a.page-numbers:hover {
116
- text-decoration: underline;
117
- }
118
-
119
- .bp-group-admin-pagination-links .page-numbers.current,
120
- .bp-group-admin-pagination-links .page-numbers.dots {
121
- border-color: #ddd;
122
- background: #f7f7f7;
123
- color: #a0a5aa;
124
- }
125
-
126
- /*
127
- * Members List
128
- */
129
  table.bp-group-members .uid-column {
130
  padding-left: 20px;
131
  padding-right: 20px;
132
  }
133
-
134
  table.bp-group-members .uname-column {
135
  width: 70%;
136
  }
137
-
138
  table.bp-group-members .urole-column {
139
  padding-left: 20px;
140
  padding-right: 20px;
141
  }
142
 
143
  @media screen and (max-width: 782px) {
144
-
145
  .bp-groups-settings-section label {
146
  margin: 0.25em 0;
147
  }
12
  margin-right: 10px;
13
  margin-top: 1px;
14
  }
 
15
  #bp-groups-edit-form input {
16
  outline: medium none;
17
  }
 
18
  #bp-groups-edit-form input#bp-groups-name {
19
  font-size: 1.7em;
20
  width: 100%;
21
  margin-bottom: 6px;
22
  }
 
23
  #bp-groups-edit-form input#bp-groups-new-members {
 
 
24
  width: 100%;
25
+ max-width: 90%;
26
+ border: 0;
27
  }
 
28
  #bp-groups-new-members-list {
29
  margin: 0;
30
  }
 
31
  .bp-groups-settings-section {
32
  margin-top: 10px;
33
+ line-height: 2em;
34
  }
 
35
  .bp-groups-settings-section legend {
36
  margin-top: 10px;
37
+ font-weight: bold;
38
  }
 
39
  .bp-groups-settings-section label {
40
  clear: left;
41
  display: block;
42
  float: left;
43
  vertical-align: middle;
44
  }
 
45
  #bp-groups-permalink-box {
46
  line-height: 24px;
47
  color: #666;
48
  }
 
 
 
 
 
49
  .bp-groups-member-type {
50
  position: relative;
51
  }
 
52
  .bp-groups-member-type > h4 {
53
+ margin-bottom: .5em;
54
  }
 
55
  ul.bp-group-delete-list {
56
  list-style-type: disc;
57
  margin: 4px 26px;
58
  }
 
 
 
 
59
  .bp-group-admin-pagination {
60
  position: absolute;
61
  text-align: right;
62
  width: 100%;
63
  }
 
64
  .bp-group-admin-pagination.table-top {
65
  top: 0;
66
  }
 
67
  .bp-group-admin-pagination.table-bottom {
68
  bottom: 0;
69
  }
 
70
  .bp-group-admin-pagination-viewing {
71
  color: #777;
72
  font-size: 12px;
73
  font-style: italic;
74
  }
 
75
  .bp-group-admin-pagination-links {
76
  white-space: nowrap;
77
  padding-left: 15px;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  table.bp-group-members .uid-column {
81
  padding-left: 20px;
82
  padding-right: 20px;
83
  }
 
84
  table.bp-group-members .uname-column {
85
  width: 70%;
86
  }
 
87
  table.bp-group-members .urole-column {
88
  padding-left: 20px;
89
  padding-right: 20px;
90
  }
91
 
92
  @media screen and (max-width: 782px) {
 
93
  .bp-groups-settings-section label {
94
  margin: 0.25em 0;
95
  }
bp-groups/admin/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:medium none}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{border:1px solid #e5e5e5;margin-top:6px;width:100%}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:left;display:block;float:left;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}#bp-groups-permalink{margin-right:24px}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}.bp-group-admin-pagination-links .page-numbers{display:inline-block;min-width:12px;border:1px solid #ccc;padding:2px 4px 4px;background:#e5e5e5;line-height:1;font-weight:400;text-align:center;text-decoration:none}.bp-group-admin-pagination-links a.page-numbers:hover{text-decoration:underline}.bp-group-admin-pagination-links .page-numbers.current,.bp-group-admin-pagination-links .page-numbers.dots{border-color:#ddd;background:#f7f7f7;color:#a0a5aa}table.bp-group-members .uid-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%}table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}}
1
+ body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2em}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:left;display:block;float:left;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}}
bp-groups/admin/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){function n(n,o){e("#bp-groups-new-members-list").append('<li data-login="'+o.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+o.item.label+"</li>")}var o="undefined"!=typeof group_id?"&group_id="+group_id:"";e(document).ready(function(){window.warn_on_leave=!1,e(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+o,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){e(this).addClass("open")},close:function(){e(this).removeClass("open"),e(this).val("")},select:function(e,o){n(0,o)}}),e("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),e("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(n){n.preventDefault(),e(n.target.parentNode).remove()}),e(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),e("input#save").on("click",function(){var n=[];e("#bp-groups-new-members-list li").each(function(){n.push(e(this).data("login"))}),n.length&&e("#bp-groups-new-members").val("").val(n.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){if(window.warn_on_leave)return BP_Group_Admin.warn_on_leave}})}(jQuery);
1
+ !function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){if(window.warn_on_leave)return BP_Group_Admin.warn_on_leave}})}(jQuery);
bp-groups/bp-groups-actions.php CHANGED
@@ -156,7 +156,8 @@ function groups_action_create_group() {
156
  $bp->groups->completed_create_steps = json_decode( base64_decode( stripslashes( $_COOKIE['bp_completed_create_steps'] ) ) );
157
 
158
  // Set the ID of the new group, if it has already been created in a previous step.
159
- if ( bp_get_new_group_id() ) {
 
160
  $bp->groups->current_group = groups_get_group( $bp->groups->new_group_id );
161
 
162
  // Only allow the group creator to continue to edit the new group.
@@ -358,35 +359,11 @@ function groups_action_create_group() {
358
 
359
  // If the image cropping is done, crop the image and save a full/thumb version.
360
  if ( isset( $_POST['avatar-crop-submit'] ) && isset( $_POST['upload'] ) ) {
361
-
362
  // Normally we would check a nonce here, but the group save nonce is used instead.
363
- $args = array(
364
- 'object' => 'group',
365
- 'avatar_dir' => 'group-avatars',
366
- 'item_id' => $bp->groups->current_group->id,
367
- 'original_file' => $_POST['image_src'],
368
- 'crop_x' => $_POST['x'],
369
- 'crop_y' => $_POST['y'],
370
- 'crop_w' => $_POST['w'],
371
- 'crop_h' => $_POST['h']
372
- );
373
-
374
- if ( ! bp_core_avatar_handle_crop( $args ) ) {
375
  bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' );
376
- } else {
377
- /**
378
- * Fires after a group avatar is uploaded.
379
- *
380
- * @since 2.8.0
381
- *
382
- * @param int $group_id ID of the group.
383
- * @param string $type Avatar type. 'crop' or 'full'.
384
- * @param array $args Array of parameters passed to the avatar handler.
385
- */
386
- do_action( 'groups_avatar_uploaded', bp_get_current_group_id(), 'crop', $args );
387
-
388
  bp_core_add_message( __( 'The group profile photo was uploaded successfully.', 'buddypress' ) );
389
- }
390
  }
391
  }
392
 
@@ -619,4 +596,4 @@ function bp_groups_update_orphaned_groups_on_group_delete( $group ) {
619
  $cgroup->save();
620
  }
621
  }
622
- add_action( 'bp_groups_delete_group', 'bp_groups_update_orphaned_groups_on_group_delete', 10, 2 );
156
  $bp->groups->completed_create_steps = json_decode( base64_decode( stripslashes( $_COOKIE['bp_completed_create_steps'] ) ) );
157
 
158
  // Set the ID of the new group, if it has already been created in a previous step.
159
+ if ( isset( $_COOKIE['bp_new_group_id'] ) ) {
160
+ $bp->groups->new_group_id = (int) $_COOKIE['bp_new_group_id'];
161
  $bp->groups->current_group = groups_get_group( $bp->groups->new_group_id );
162
 
163
  // Only allow the group creator to continue to edit the new group.
359
 
360
  // If the image cropping is done, crop the image and save a full/thumb version.
361
  if ( isset( $_POST['avatar-crop-submit'] ) && isset( $_POST['upload'] ) ) {
 
362
  // Normally we would check a nonce here, but the group save nonce is used instead.
363
+ if ( !bp_core_avatar_handle_crop( array( 'object' => 'group', 'avatar_dir' => 'group-avatars', 'item_id' => $bp->groups->current_group->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) )
 
 
 
 
 
 
 
 
 
 
 
364
  bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' );
365
+ else
 
 
 
 
 
 
 
 
 
 
 
366
  bp_core_add_message( __( 'The group profile photo was uploaded successfully.', 'buddypress' ) );
 
367
  }
368
  }
369
 
596
  $cgroup->save();
597
  }
598
  }
599
+ add_action( 'bp_groups_delete_group', 'bp_groups_update_orphaned_groups_on_group_delete', 10, 2 );
bp-groups/bp-groups-activity.php CHANGED
@@ -18,7 +18,7 @@ defined( 'ABSPATH' ) || exit;
18
  *
19
  * @since 1.1.0
20
  *
21
- * @return false|null False on failure.
22
  */
23
  function groups_register_activity_actions() {
24
  $bp = buddypress();
@@ -190,9 +190,6 @@ function bp_groups_format_activity_action_group_details_updated( $action, $activ
190
  } elseif ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) {
191
  $action = sprintf( __( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) );
192
 
193
- } elseif ( ! empty( $changed['slug']['old'] ) && ! empty( $changed['slug']['new'] ) ) {
194
- $action = sprintf( __( '%1$s changed the permalink of the group %2$s.', 'buddypress' ), $user_link, $group_link );
195
-
196
  }
197
 
198
  /**
@@ -340,7 +337,7 @@ add_filter( 'bp_activity_set_groups_scope_args', 'bp_groups_filter_activity_scop
340
  * @type bool $hide_sitewide Default: True if the current group is not
341
  * public, otherwise false.
342
  * }
343
- * @return WP_Error|bool|int See {@link bp_activity_add()}.
344
  */
345
  function groups_record_activity( $args = '' ) {
346
 
@@ -387,7 +384,7 @@ function groups_record_activity( $args = '' ) {
387
  *
388
  * @param int $group_id Optional. The ID of the group whose last_activity is
389
  * being updated. Default: the current group's ID.
390
- * @return false|null False on failure.
391
  */
392
  function groups_update_last_activity( $group_id = 0 ) {
393
 
@@ -414,7 +411,7 @@ add_action( 'groups_new_forum_topic_post', 'groups_update_last_activity' );
414
  *
415
  * @param int $user_id ID of the user joining the group.
416
  * @param int $group_id ID of the group.
417
- * @return false|null False on failure.
418
  */
419
  function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
420
 
@@ -455,7 +452,7 @@ add_action( 'groups_membership_accepted', 'bp_groups_membership_accepted_add_act
455
  * @param int $group_id ID of the group.
456
  * @param BP_Groups_Group $old_group Group object before the details had been changed.
457
  * @param bool $notify_members True if the admin has opted to notify group members, otherwise false.
458
- * @return null|WP_Error|bool|int The ID of the activity on success. False on error.
459
  */
460
  function bp_groups_group_details_updated_add_activity( $group_id, $old_group, $notify_members ) {
461
 
@@ -464,7 +461,7 @@ function bp_groups_group_details_updated_add_activity( $group_id, $old_group, $n
464
  return false;
465
  }
466
 
467
- if ( ! isset( $old_group->name ) || ! isset( $old_group->slug ) || ! isset( $old_group->description ) ) {
468
  return false;
469
  }
470
 
@@ -492,13 +489,6 @@ function bp_groups_group_details_updated_add_activity( $group_id, $old_group, $n
492
  );
493
  }
494
 
495
- if ( $group->slug !== $old_group->slug ) {
496
- $changed['slug'] = array(
497
- 'old' => $old_group->slug,
498
- 'new' => $group->slug,
499
- );
500
- }
501
-
502
  if ( $group->description !== $old_group->description ) {
503
  $changed['description'] = array(
504
  'old' => $old_group->description,
18
  *
19
  * @since 1.1.0
20
  *
21
+ * @return bool|null False on failure.
22
  */
23
  function groups_register_activity_actions() {
24
  $bp = buddypress();
190
  } elseif ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) {
191
  $action = sprintf( __( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) );
192
 
 
 
 
193
  }
194
 
195
  /**
337
  * @type bool $hide_sitewide Default: True if the current group is not
338
  * public, otherwise false.
339
  * }
340
+ * @return bool See {@link bp_activity_add()}.
341
  */
342
  function groups_record_activity( $args = '' ) {
343
 
384
  *
385
  * @param int $group_id Optional. The ID of the group whose last_activity is
386
  * being updated. Default: the current group's ID.
387
+ * @return bool|null False on failure.
388
  */
389
  function groups_update_last_activity( $group_id = 0 ) {
390
 
411
  *
412
  * @param int $user_id ID of the user joining the group.
413
  * @param int $group_id ID of the group.
414
+ * @return bool|null False on failure.
415
  */
416
  function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
417
 
452
  * @param int $group_id ID of the group.
453
  * @param BP_Groups_Group $old_group Group object before the details had been changed.
454
  * @param bool $notify_members True if the admin has opted to notify group members, otherwise false.
455
+ * @return int|bool The ID of the activity on success. False on error.
456
  */
457
  function bp_groups_group_details_updated_add_activity( $group_id, $old_group, $notify_members ) {
458
 
461
  return false;
462
  }
463
 
464
+ if ( ! isset( $old_group->name ) || ! isset( $old_group->description ) ) {
465
  return false;
466
  }
467
 
489
  );
490
  }
491
 
 
 
 
 
 
 
 
492
  if ( $group->description !== $old_group->description ) {
493
  $changed['description'] = array(
494
  'old' => $old_group->description,
bp-groups/bp-groups-admin.php CHANGED
@@ -16,6 +16,10 @@ defined( 'ABSPATH' ) || exit;
16
  // Include WP's list table class.
17
  if ( !class_exists( 'WP_List_Table' ) ) require( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
18
 
 
 
 
 
19
  // The per_page screen option. Has to be hooked in extremely early.
20
  if ( is_admin() && ! empty( $_REQUEST['page'] ) && 'bp-groups' == $_REQUEST['page'] )
21
  add_filter( 'set-screen-option', 'bp_groups_admin_screen_options', 10, 3 );
@@ -236,29 +240,19 @@ function bp_groups_admin_load() {
236
  $error = 0;
237
  $success_new = $error_new = $success_modified = $error_modified = array();
238
 
239
- // Name, description and slug must not be empty.
240
- if ( empty( $_POST['bp-groups-name'] ) ) {
241
- $error = $error - 1;
242
- }
243
- if ( empty( $_POST['bp-groups-description'] ) ) {
244
- $error = $error - 2;
245
- }
246
- if ( empty( $_POST['bp-groups-slug'] ) ) {
247
- $error = $error - 4;
248
- }
249
-
250
- /*
251
- * Group name, slug, and description are handled with
252
- * groups_edit_base_group_details().
253
- */
254
- if ( ! $error && ! groups_edit_base_group_details( array(
255
- 'group_id' => $group_id,
256
- 'name' => $_POST['bp-groups-name'],
257
- 'slug' => $_POST['bp-groups-slug'],
258
- 'description' => $_POST['bp-groups-description'],
259
- 'notify_members' => false,
260
- ) ) ) {
261
  $error = $group_id;
 
 
 
 
 
 
 
 
 
262
  }
263
 
264
  // Enable discussion forum.
@@ -464,7 +458,7 @@ function bp_groups_admin_load() {
464
  * @param string $value Will always be false unless another plugin filters it first.
465
  * @param string $option Screen option name.
466
  * @param string $new_value Screen option form value.
467
- * @return string|int Option value. False to abandon update.
468
  */
469
  function bp_groups_admin_screen_options( $value, $option, $new_value ) {
470
  if ( 'toplevel_page_bp_groups_per_page' != $option && 'toplevel_page_bp_groups_network_per_page' != $option )
@@ -528,10 +522,22 @@ function bp_groups_admin_edit() {
528
  }
529
 
530
  if ( ! empty( $errors ) ) {
531
- if ( $errors < 0 ) {
532
- $messages[] = __( 'Group name, slug, and description are all required fields.', 'buddypress' );
533
- } else {
534
- $messages[] = __( 'An error occurred when trying to update your group details.', 'buddypress' );
 
 
 
 
 
 
 
 
 
 
 
 
535
  }
536
 
537
  } elseif ( ! empty( $updated ) ) {
@@ -610,11 +616,7 @@ function bp_groups_admin_edit() {
610
  ?></label>
611
  <input type="text" name="bp-groups-name" id="bp-groups-name" value="<?php echo esc_attr( stripslashes( $group_name ) ) ?>" />
612
  <div id="bp-groups-permalink-box">
613
- <strong><?php esc_html_e( 'Permalink:', 'buddypress' ) ?></strong>
614
- <span id="bp-groups-permalink">
615
- <?php bp_groups_directory_permalink(); ?> <input type="text" id="bp-groups-slug" name="bp-groups-slug" value="<?php bp_group_slug( $group ); ?>" autocomplete="off"> /
616
- </span>
617
- <a href="<?php echo bp_group_permalink( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'Visit Group', 'buddypress' ) ?></a>
618
  </div>
619
 
620
  <label for="bp-groups-description" class="screen-reader-text"><?php
@@ -792,7 +794,7 @@ function bp_groups_admin_index() {
792
  */
793
  function bp_groups_admin_edit_metabox_settings( $item ) {
794
 
795
- $invite_status = bp_group_get_invite_status( $item->id ); ?>
796
 
797
  <?php if ( bp_is_active( 'forums' ) ) : ?>
798
  <div class="bp-groups-settings-section" id="bp-groups-settings-section-forum">
@@ -837,7 +839,7 @@ function bp_groups_admin_edit_metabox_add_new_members( $item ) {
837
  /* translators: accessibility text */
838
  _e( 'Add new members', 'buddypress' );
839
  ?></label>
840
- <input name="bp-groups-new-members" type="text" id="bp-groups-new-members" class="bp-suggest-user" placeholder="<?php esc_attr_e( 'Enter a comma-separated list of user logins.', 'buddypress' ) ?>" />
841
  <ul id="bp-groups-new-members-list"></ul>
842
  <?php
843
  }
@@ -875,15 +877,7 @@ function bp_groups_admin_edit_metabox_members( $item ) {
875
  'group_id' => $item->id,
876
  'group_role' => array( $type ),
877
  'type' => 'alphabetical',
878
- /**
879
- * Filters the admin members type per page value.
880
- *
881
- * @since 2.8.0
882
- *
883
- * @param int $value Member types per page. Default 10.
884
- * @param string $type Member type.
885
- */
886
- 'per_page' => apply_filters( 'bp_groups_admin_members_type_per_page', 10, $type ),
887
  'page' => $current_type_page,
888
  ) );
889
 
@@ -994,6 +988,10 @@ function bp_groups_admin_edit_metabox_members( $item ) {
994
  </tbody>
995
  </table>
996
 
 
 
 
 
997
  <?php else : ?>
998
 
999
  <p class="bp-groups-no-members description"><?php esc_html_e( 'No members of this type', 'buddypress' ); ?></p>
@@ -1039,7 +1037,7 @@ function bp_groups_admin_edit_metabox_status( $item ) {
1039
  *
1040
  * @since 2.6.0
1041
  *
1042
- * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited.
1043
  */
1044
  function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {
1045
 
@@ -1065,7 +1063,7 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null
1065
  <?php
1066
  echo esc_html( $type->labels['singular_name'] );
1067
  if ( in_array( $type->name, $backend_only ) ) {
1068
- printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the front end)', 'buddypress' ) );
1069
  }
1070
  ?>
1071
 
@@ -1085,8 +1083,6 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null
1085
  * Process changes from the Group Type metabox.
1086
  *
1087
  * @since 2.6.0
1088
- *
1089
- * @param int $group_id Group ID.
1090
  */
1091
  function bp_groups_process_group_type_update( $group_id ) {
1092
  if ( ! isset( $_POST['bp-group-type-nonce'] ) ) {
@@ -1135,19 +1131,11 @@ function bp_groups_admin_create_pagination_links( BP_Group_Member_Query $query,
1135
  }
1136
 
1137
  // The key used to paginate this member type in the $_GET global.
1138
- $qs_key = $member_type . '_page';
1139
  $url_base = remove_query_arg( array( $qs_key, 'updated', 'success_modified' ), $_SERVER['REQUEST_URI'] );
1140
 
1141
- $page = isset( $_GET[ $qs_key ] ) ? absint( $_GET[ $qs_key ] ) : 1;
1142
-
1143
- /**
1144
- * Filters the number of members per member type that is displayed in group editing admin area.
1145
- *
1146
- * @since 2.8.0
1147
- *
1148
- * @param string $member_type Member type, which is a group role (admin, mod etc).
1149
- */
1150
- $per_page = apply_filters( 'bp_groups_admin_members_type_per_page', 10, $member_type );
1151
 
1152
  // Don't show anything if there's no pagination.
1153
  if ( 1 === $page && $query->total_users <= $per_page ) {
@@ -1170,7 +1158,7 @@ function bp_groups_admin_create_pagination_links( BP_Group_Member_Query $query,
1170
  $viewing_text = __( 'Viewing 1 member', 'buddypress' );
1171
  } else {
1172
  $viewing_text = sprintf(
1173
- _nx( 'Viewing %1$s - %2$s of %3$s member', 'Viewing %1$s - %2$s of %3$s members', $query->total_users, 'Group members pagination in group admin', 'buddypress' ),
1174
  bp_core_number_format( $current_page_start ),
1175
  bp_core_number_format( $current_page_end ),
1176
  bp_core_number_format( $query->total_users )
16
  // Include WP's list table class.
17
  if ( !class_exists( 'WP_List_Table' ) ) require( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
18
 
19
+ if ( ! buddypress()->do_autoload ) {
20
+ require dirname( __FILE__ ) . '/classes/class-bp-groups-list-table.php';
21
+ }
22
+
23
  // The per_page screen option. Has to be hooked in extremely early.
24
  if ( is_admin() && ! empty( $_REQUEST['page'] ) && 'bp-groups' == $_REQUEST['page'] )
25
  add_filter( 'set-screen-option', 'bp_groups_admin_screen_options', 10, 3 );
240
  $error = 0;
241
  $success_new = $error_new = $success_modified = $error_modified = array();
242
 
243
+ // Group name and description are handled with
244
+ // groups_edit_base_group_details().
245
+ if ( !groups_edit_base_group_details( $group_id, $_POST['bp-groups-name'], $_POST['bp-groups-description'], 0 ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  $error = $group_id;
247
+
248
+ // Using negative integers for different error messages... eek!
249
+ if ( empty( $_POST['bp-groups-name'] ) && empty( $_POST['bp-groups-description'] ) ) {
250
+ $error = -3;
251
+ } elseif ( empty( $_POST['bp-groups-name'] ) ) {
252
+ $error = -1;
253
+ } elseif ( empty( $_POST['bp-groups-description'] ) ) {
254
+ $error = -2;
255
+ }
256
  }
257
 
258
  // Enable discussion forum.
458
  * @param string $value Will always be false unless another plugin filters it first.
459
  * @param string $option Screen option name.
460
  * @param string $new_value Screen option form value.
461
+ * @return string Option value. False to abandon update.
462
  */
463
  function bp_groups_admin_screen_options( $value, $option, $new_value ) {
464
  if ( 'toplevel_page_bp_groups_per_page' != $option && 'toplevel_page_bp_groups_network_per_page' != $option )
522
  }
523
 
524
  if ( ! empty( $errors ) ) {
525
+ switch ( $errors ) {
526
+ case -1 :
527
+ $messages[] = __( 'Group name cannot be empty.', 'buddypress' );
528
+ break;
529
+
530
+ case -2 :
531
+ $messages[] = __( 'Group description cannot be empty.', 'buddypress' );
532
+ break;
533
+
534
+ case -3 :
535
+ $messages[] = __( 'Group name and description cannot be empty.', 'buddypress' );
536
+ break;
537
+
538
+ default :
539
+ $messages[] = __( 'An error occurred when trying to update your group details.', 'buddypress' );
540
+ break;
541
  }
542
 
543
  } elseif ( ! empty( $updated ) ) {
616
  ?></label>
617
  <input type="text" name="bp-groups-name" id="bp-groups-name" value="<?php echo esc_attr( stripslashes( $group_name ) ) ?>" />
618
  <div id="bp-groups-permalink-box">
619
+ <strong><?php esc_html_e( 'Permalink:', 'buddypress' ) ?></strong> <span id="sample-permalink"><?php bp_group_permalink( $group ) ?></span> <a href="<?php echo bp_group_permalink( $group ) ?>" class="button button-small" id="bp-groups-visit-group"><?php esc_html_e( 'Visit Group', 'buddypress' ) ?></a>
 
 
 
 
620
  </div>
621
 
622
  <label for="bp-groups-description" class="screen-reader-text"><?php
794
  */
795
  function bp_groups_admin_edit_metabox_settings( $item ) {
796
 
797
+ $invite_status = groups_get_groupmeta( $item->id, 'invite_status' ); ?>
798
 
799
  <?php if ( bp_is_active( 'forums' ) ) : ?>
800
  <div class="bp-groups-settings-section" id="bp-groups-settings-section-forum">
839
  /* translators: accessibility text */
840
  _e( 'Add new members', 'buddypress' );
841
  ?></label>
842
+ <input name="bp-groups-new-members" id="bp-groups-new-members" class="bp-suggest-user" placeholder="<?php esc_attr_e( 'Enter a comma-separated list of user logins.', 'buddypress' ) ?>" />
843
  <ul id="bp-groups-new-members-list"></ul>
844
  <?php
845
  }
877
  'group_id' => $item->id,
878
  'group_role' => array( $type ),
879
  'type' => 'alphabetical',
880
+ 'per_page' => 10,
 
 
 
 
 
 
 
 
881
  'page' => $current_type_page,
882
  ) );
883
 
988
  </tbody>
989
  </table>
990
 
991
+ <div class="bp-group-admin-pagination table-bottom">
992
+ <?php echo $pagination[ $member_type ]; ?>
993
+ </div>
994
+
995
  <?php else : ?>
996
 
997
  <p class="bp-groups-no-members description"><?php esc_html_e( 'No members of this type', 'buddypress' ); ?></p>
1037
  *
1038
  * @since 2.6.0
1039
  *
1040
+ * @param BP_Groups_Group|null $user The BP_Groups_Group object corresponding to the group being edited.
1041
  */
1042
  function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {
1043
 
1063
  <?php
1064
  echo esc_html( $type->labels['singular_name'] );
1065
  if ( in_array( $type->name, $backend_only ) ) {
1066
+ printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the frontend)', 'buddypress' ) );
1067
  }
1068
  ?>
1069
 
1083
  * Process changes from the Group Type metabox.
1084
  *
1085
  * @since 2.6.0
 
 
1086
  */
1087
  function bp_groups_process_group_type_update( $group_id ) {
1088
  if ( ! isset( $_POST['bp-group-type-nonce'] ) ) {
1131
  }
1132
 
1133
  // The key used to paginate this member type in the $_GET global.
1134
+ $qs_key = $member_type . '_page';
1135
  $url_base = remove_query_arg( array( $qs_key, 'updated', 'success_modified' ), $_SERVER['REQUEST_URI'] );
1136
 
1137
+ $page = isset( $_GET[ $qs_key ] ) ? absint( $_GET[ $qs_key ] ) : 1;
1138
+ $per_page = 10; // @todo Make this customizable?
 
 
 
 
 
 
 
 
1139
 
1140
  // Don't show anything if there's no pagination.
1141
  if ( 1 === $page && $query->total_users <= $per_page ) {
1158
  $viewing_text = __( 'Viewing 1 member', 'buddypress' );
1159
  } else {
1160
  $viewing_text = sprintf(
1161
+ _n( 'Viewing %1$s - %2$s of %3$s member', 'Viewing %1$s - %2$s of %3$s members', $query->total_users, 'buddypress' ),
1162
  bp_core_number_format( $current_page_start ),
1163
  bp_core_number_format( $current_page_end ),
1164
  bp_core_number_format( $query->total_users )
bp-groups/bp-groups-cache.php CHANGED
@@ -231,8 +231,6 @@ add_action( 'groups_delete_group', 'groups_clear_group_type_cache' );
231
  * Clear caches on membership save.
232
  *
233
  * @since 2.6.0
234
- *
235
- * @param BP_Groups_Member $member BP Groups Member instance.
236
  */
237
  function bp_groups_clear_user_group_cache_on_membership_save( BP_Groups_Member $member ) {
238
  wp_cache_delete( $member->user_id, 'bp_groups_memberships_for_user' );
@@ -245,9 +243,6 @@ add_action( 'groups_member_before_remove', 'bp_groups_clear_user_group_cache_on_
245
  * Clear group memberships cache on miscellaneous actions not covered by the 'after_save' hook.
246
  *
247
  * @since 2.6.0
248
- *
249
- * @param int $user_id Current user ID.
250
- * @param int $group_id Current group ID.
251
  */
252
  function bp_groups_clear_user_group_cache_on_other_events( $user_id, $group_id ) {
253
  wp_cache_delete( $user_id, 'bp_groups_memberships_for_user' );
231
  * Clear caches on membership save.
232
  *
233
  * @since 2.6.0
 
 
234
  */
235
  function bp_groups_clear_user_group_cache_on_membership_save( BP_Groups_Member $member ) {
236
  wp_cache_delete( $member->user_id, 'bp_groups_memberships_for_user' );
243
  * Clear group memberships cache on miscellaneous actions not covered by the 'after_save' hook.
244
  *
245
  * @since 2.6.0
 
 
 
246
  */
247
  function bp_groups_clear_user_group_cache_on_other_events( $user_id, $group_id ) {
248
  wp_cache_delete( $user_id, 'bp_groups_memberships_for_user' );
bp-groups/bp-groups-classes.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BuddyPress Groups Classes
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage GroupsClasses
7
+ * @since 1.0.0
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ defined( 'ABSPATH' ) || exit;
12
+
13
+ require dirname( __FILE__ ) . '/classes/class-bp-group-extension.php';
14
+ require dirname( __FILE__ ) . '/classes/class-bp-group-member-query.php';
15
+ require dirname( __FILE__ ) . '/classes/class-bp-groups-group.php';
16
+ require dirname( __FILE__ ) . '/classes/class-bp-groups-member-suggestions.php';
17
+ require dirname( __FILE__ ) . '/classes/class-bp-groups-member.php';
bp-groups/bp-groups-filters.php CHANGED
@@ -60,6 +60,7 @@ if ( function_exists( 'wp_encode_emoji' ) ) {
60
  }
61
 
62
  // Escape output of new group creation details.
 
63
  add_filter( 'bp_get_new_group_name', 'esc_attr' );
64
  add_filter( 'bp_get_new_group_description', 'esc_textarea' );
65
 
60
  }
61
 
62
  // Escape output of new group creation details.
63
+ add_filter( 'bp_get_new_group_id', 'esc_attr' );
64
  add_filter( 'bp_get_new_group_name', 'esc_attr' );
65
  add_filter( 'bp_get_new_group_description', 'esc_textarea' );
66
 
bp-groups/bp-groups-forums.php CHANGED
@@ -66,7 +66,7 @@ function groups_new_group_forum( $group_id = 0, $group_name = '', $group_desc =
66
  * @since 1.1.0
67
  *
68
  * @param int $group_id Group id, passed from groups_details_updated.
69
- * @return false|null
70
  */
71
  function groups_update_group_forum( $group_id ) {
72
 
66
  * @since 1.1.0
67
  *
68
  * @param int $group_id Group id, passed from groups_details_updated.
69
+ * @return mixed
70
  */
71
  function groups_update_group_forum( $group_id ) {
72
 
bp-groups/bp-groups-functions.php CHANGED
@@ -218,76 +218,28 @@ function groups_create_group( $args = '' ) {
218
  *
219
  * @since 1.0.0
220
  *
221
- * @param array $args {
222
- * An array of optional arguments.
223
- * @type int $group_id ID of the group.
224
- * @type string $name Name of the group.
225
- * @type string $slug Slug of the group.
226
- * @type string $description Description of the group.
227
- * @type bool $notify_members Whether to send an email notification to group
228
- * members about changes in these details.
229
- * }
230
  * @return bool True on success, false on failure.
231
  */
232
- function groups_edit_base_group_details( $args = array() ) {
233
-
234
- // Backward compatibility with old method of passing arguments.
235
- if ( ! is_array( $args ) || func_num_args() > 1 ) {
236
- _deprecated_argument( __METHOD__, '2.9.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
237
-
238
- $old_args_keys = array(
239
- 0 => 'group_id',
240
- 1 => 'name',
241
- 2 => 'description',
242
- 3 => 'notify_members',
243
- );
244
-
245
- $args = bp_core_parse_args_array( $old_args_keys, func_get_args() );
246
- }
247
 
248
- $r = wp_parse_args( $args, array(
249
- 'group_id' => bp_get_current_group_id(),
250
- 'name' => null,
251
- 'slug' => null,
252
- 'description' => null,
253
- 'notify_members' => false,
254
- ) );
255
-
256
- if ( ! $r['group_id'] ) {
257
  return false;
258
- }
259
 
260
- $group = groups_get_group( $r['group_id'] );
261
  $old_group = clone $group;
262
 
263
- // Group name, slug and description can never be empty. Update only if provided.
264
- if ( $r['name'] ) {
265
- $group->name = $r['name'];
266
- }
267
- if ( $r['slug'] && $r['slug'] != $group->slug ) {
268
- $group->slug = groups_check_slug( $r['slug'] );
269
- }
270
- if ( $r['description'] ) {
271
- $group->description = $r['description'];
272
- }
273
 
274
- if ( ! $group->save() ) {
275
  return false;
276
- }
277
 
278
- // Maybe update the "previous_slug" groupmeta.
279
- if ( $group->slug != $old_group->slug ) {
280
- /*
281
- * If the old slug exists in this group's past, delete that entry.
282
- * Recent previous_slugs are preferred when selecting the current group
283
- * from an old group slug, so we want the previous slug to be
284
- * saved "now" in the groupmeta table and don't need the old record.
285
- */
286
- groups_delete_groupmeta( $group->id, 'previous_slug', $old_group->slug );
287
- groups_add_groupmeta( $group->id, 'previous_slug', $old_group->slug );
288
- }
289
-
290
- if ( $r['notify_members'] ) {
291
  groups_notification_group_updated( $group->id, $old_group );
292
  }
293
 
@@ -300,7 +252,7 @@ function groups_edit_base_group_details( $args = array() ) {
300
  * @param BP_Groups_Group $old_group Group object, before being modified.
301
  * @param bool $notify_members Whether to send an email notification to members about the change.
302
  */
303
- do_action( 'groups_details_updated', $group->id, $old_group, $r['notify_members'] );
304
 
305
  return true;
306
  }
@@ -318,7 +270,6 @@ function groups_edit_base_group_details( $args = array() ) {
318
  * @param string $status Group status. 'public', 'private', 'hidden'.
319
  * @param string|bool $invite_status Optional. Who is allowed to send invitations
320
  * to the group. 'members', 'mods', or 'admins'.
321
- * @param int|bool $parent_id Parent group ID.
322
  * @return bool True on success, false on failure.
323
  */
324
  function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false, $parent_id = false ) {
@@ -436,9 +387,6 @@ function groups_is_valid_status( $status ) {
436
  function groups_check_slug( $slug ) {
437
  $bp = buddypress();
438
 
439
- // First, make the proposed slug work in a URL.
440
- $slug = sanitize_title( $slug );
441
-
442
  if ( 'wp' == substr( $slug, 0, 2 ) )
443
  $slug = substr( $slug, 2, strlen( $slug ) - 2 );
444
 
@@ -480,18 +428,6 @@ function groups_get_id( $group_slug ) {
480
  return BP_Groups_Group::group_exists( $group_slug );
481
  }
482
 
483
- /**
484
- * Get a group ID by checking against old (not currently active) slugs.
485
- *
486
- * @since 2.9.0
487
- *
488
- * @param string $group_slug The group's slug.
489
- * @return int|null The group ID on success; null on failure.
490
- */
491
- function groups_get_id_by_previous_slug( $group_slug ) {
492
- return BP_Groups_Group::get_id_by_previous_slug( $group_slug );
493
- }
494
-
495
  /** User Actions **************************************************************/
496
 
497
  /**
@@ -658,7 +594,7 @@ function groups_get_group_mods( $group_id ) {
658
  * 'first_joined', or any of the $type params available
659
  * in {@link BP_User_Query}. Default: 'last_joined'.
660
  * }
661
- * @return false|array Multi-d array of 'members' list and 'count'.
662
  */
663
  function groups_get_group_members( $args = array() ) {
664
 
@@ -676,7 +612,8 @@ function groups_get_group_members( $args = array() ) {
676
  6 => 'group_role',
677
  );
678
 
679
- $args = bp_core_parse_args_array( $old_args_keys, func_get_args() );
 
680
  }
681
 
682
  $r = wp_parse_args( $args, array(
@@ -691,8 +628,11 @@ function groups_get_group_members( $args = array() ) {
691
  'type' => 'last_joined',
692
  ) );
693
 
694
- // For legacy users. Use of BP_Groups_Member::get_all_for_group() is deprecated.
695
- if ( apply_filters( 'bp_use_legacy_group_member_query', false, __FUNCTION__, func_get_args() ) ) {
 
 
 
696
  $retval = BP_Groups_Member::get_all_for_group( $r['group_id'], $r['per_page'], $r['page'], $r['exclude_admins_mods'], $r['exclude_banned'], $r['exclude'] );
697
  } else {
698
 
@@ -767,43 +707,37 @@ function groups_get_groups( $args = '' ) {
767
  $defaults = array(
768
  'type' => false, // Active, newest, alphabetical, random, popular, most-forum-topics or most-forum-posts.
769
  'order' => 'DESC', // 'ASC' or 'DESC'
770
- 'orderby' => 'date_created', // date_created, last_activity, total_member_count, name, random, meta_id.
771
  'user_id' => false, // Pass a user_id to limit to only groups that this user is a member of.
772
  'include' => false, // Only include these specific groups (group_ids).
773
  'exclude' => false, // Do not include these specific groups (group_ids).
774
  'parent_id' => null, // Get groups that are children of the specified group(s).
775
- 'slug' => array(), // Find a group or groups by slug.
776
  'search_terms' => false, // Limit to groups that match these search terms.
777
- 'search_columns' => array(), // Select which columns to search.
778
  'group_type' => '', // Array or comma-separated list of group types to limit results to.
779
  'group_type__in' => '', // Array or comma-separated list of group types to limit results to.
780
  'group_type__not_in' => '', // Array or comma-separated list of group types that will be excluded from results.
781
  'meta_query' => false, // Filter by groupmeta. See WP_Meta_Query for syntax.
782
  'show_hidden' => false, // Show hidden groups to non-admins.
783
- 'status' => array(), // Array or comma-separated list of group statuses to limit results to.
784
  'per_page' => 20, // The number of results to return per page.
785
  'page' => 1, // The page to return if limiting per page.
786
  'update_meta_cache' => true, // Pre-fetch groupmeta for queried groups.
787
  'update_admin_cache' => false,
788
  );
789
 
790
- $r = bp_parse_args( $args, $defaults, 'groups_get_groups' );
791
 
792
  $groups = BP_Groups_Group::get( array(
793
  'type' => $r['type'],
794
  'user_id' => $r['user_id'],
795
  'include' => $r['include'],
796
  'exclude' => $r['exclude'],
797
- 'slug' => $r['slug'],
798
  'parent_id' => $r['parent_id'],
799
  'search_terms' => $r['search_terms'],
800
- 'search_columns' => $r['search_columns'],
801
  'group_type' => $r['group_type'],
802
  'group_type__in' => $r['group_type__in'],
803
  'group_type__not_in' => $r['group_type__not_in'],
804
  'meta_query' => $r['meta_query'],
805
  'show_hidden' => $r['show_hidden'],
806
- 'status' => $r['status'],
807
  'per_page' => $r['per_page'],
808
  'page' => $r['page'],
809
  'update_meta_cache' => $r['update_meta_cache'],
@@ -1230,7 +1164,7 @@ function groups_is_user_pending( $user_id, $group_id ) {
1230
  *
1231
  * @param int $user_id ID of the user.
1232
  * @param int $group_id ID of the group.
1233
- * @return int|null
1234
  */
1235
  function groups_is_user_creator( $user_id, $group_id ) {
1236
  return BP_Groups_Member::check_is_creator( $user_id, $group_id );
@@ -1252,7 +1186,7 @@ function groups_is_user_creator( $user_id, $group_id ) {
1252
  * @type int $group_id Optional. ID of the group to be affiliated with the
1253
  * update. Default: ID of the current group.
1254
  * }
1255
- * @return WP_Error|bool|int Returns the ID of the new activity item on success, or false on failure.
1256
  */
1257
  function groups_post_update( $args = '' ) {
1258
  if ( ! bp_is_active( 'activity' ) ) {
@@ -1491,10 +1425,6 @@ function groups_accept_invite( $user_id, $group_id ) {
1491
  }
1492
 
1493
  $member = new BP_Groups_Member( $user_id, $group_id );
1494
-
1495
- // Save the inviter ID so that we can pass it to the action below.
1496
- $inviter_id = $member->inviter_id;
1497
-
1498
  $member->accept_invite();
1499
 
1500
  if ( !$member->save() ) {
@@ -1513,13 +1443,11 @@ function groups_accept_invite( $user_id, $group_id ) {
1513
  * Fires after a user has accepted a group invite.
1514
  *
1515
  * @since 1.0.0
1516
- * @since 2.8.0 The $inviter_id arg was added.
1517
  *
1518
- * @param int $user_id ID of the user who accepted the group invite.
1519
- * @param int $group_id ID of the group being accepted to.
1520
- * @param int $inviter_id ID of the user who invited this user to the group.
1521
  */
1522
- do_action( 'groups_accept_invite', $user_id, $group_id, $inviter_id );
1523
 
1524
  return true;
1525
  }
@@ -1596,11 +1524,6 @@ function groups_send_invites( $user_id, $group_id ) {
1596
  for ( $i = 0, $count = count( $invited_users ); $i < $count; ++$i ) {
1597
  $member = new BP_Groups_Member( $invited_users[$i], $group_id );
1598
 
1599
- // Skip if we've already sent an invite to this user.
1600
- if ( $member->invite_sent ) {
1601
- continue;
1602
- }
1603
-
1604
  // Send the actual invite.
1605
  groups_notification_group_invites( $group, $member, $user_id );
1606
 
@@ -1625,19 +1548,14 @@ function groups_send_invites( $user_id, $group_id ) {
1625
  * Get IDs of users with outstanding invites to a given group from a specified user.
1626
  *
1627
  * @since 1.0.0
1628
- * @since 2.9.0 Added $sent as a parameter.
1629
  *
1630
- * @param int $user_id ID of the inviting user.
1631
- * @param int $group_id ID of the group.
1632
- * @param int|null $sent Query for a specific invite sent status. If 0, this will query for users
1633
- * that haven't had an invite sent to them yet. If 1, this will query for
1634
- * users that have had an invite sent to them. If null, no invite status will
1635
- * queried. Default: null.
1636
- * @return array IDs of users who have been invited to the group by the user but have not
1637
- * yet accepted.
1638
  */
1639
- function groups_get_invites_for_group( $user_id, $group_id, $sent = null ) {
1640
- return BP_Groups_Group::get_invites( $user_id, $group_id, $sent );
1641
  }
1642
 
1643
  /**
@@ -1999,7 +1917,7 @@ function groups_reject_membership_request( $membership_id, $user_id = 0, $group_
1999
  * @param int $group_id Optional. ID of the group to which membership is being
2000
  * requested. Provide this value along with $user_id to
2001
  * override $membership_id.
2002
- * @return false|BP_Groups_Member True on success, false on failure.
2003
  */
2004
  function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
2005
  if ( !empty( $user_id ) && !empty( $group
218
  *
219
  * @since 1.0.0
220
  *
221
+ * @param int $group_id ID of the group.
222
+ * @param string $group_name Name of the group.
223
+ * @param string $group_desc Description of the group.
224
+ * @param bool $notify_members Whether to send an email notification to group
225
+ * members about changes in these details.
 
 
 
 
226
  * @return bool True on success, false on failure.
227
  */
228
+ function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $notify_members ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
 
230
+ if ( empty( $group_name ) || empty( $group_desc ) )
 
 
 
 
 
 
 
 
231
  return false;
 
232
 
233
+ $group = groups_get_group( $group_id );
234
  $old_group = clone $group;
235
 
236
+ $group->name = $group_name;
237
+ $group->description = $group_desc;
 
 
 
 
 
 
 
 
238
 
239
+ if ( !$group->save() )
240
  return false;
 
241
 
242
+ if ( $notify_members ) {
 
 
 
 
 
 
 
 
 
 
 
 
243
  groups_notification_group_updated( $group->id, $old_group );
244
  }
245
 
252
  * @param BP_Groups_Group $old_group Group object, before being modified.
253
  * @param bool $notify_members Whether to send an email notification to members about the change.
254
  */
255
+ do_action( 'groups_details_updated', $group->id, $old_group, $notify_members );
256
 
257
  return true;
258
  }
270
  * @param string $status Group status. 'public', 'private', 'hidden'.
271
  * @param string|bool $invite_status Optional. Who is allowed to send invitations
272
  * to the group. 'members', 'mods', or 'admins'.
 
273
  * @return bool True on success, false on failure.
274
  */
275
  function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false, $parent_id = false ) {
387
  function groups_check_slug( $slug ) {
388
  $bp = buddypress();
389
 
 
 
 
390
  if ( 'wp' == substr( $slug, 0, 2 ) )
391
  $slug = substr( $slug, 2, strlen( $slug ) - 2 );
392
 
428
  return BP_Groups_Group::group_exists( $group_slug );
429
  }
430
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  /** User Actions **************************************************************/
432
 
433
  /**
594
  * 'first_joined', or any of the $type params available
595
  * in {@link BP_User_Query}. Default: 'last_joined'.
596
  * }
597
+ * @return array Multi-d array of 'members' list and 'count'.
598
  */
599
  function groups_get_group_members( $args = array() ) {
600
 
612
  6 => 'group_role',
613
  );
614
 
615
+ $func_args = func_get_args();
616
+ $args = bp_core_parse_args_array( $old_args_keys, $func_args );
617
  }
618
 
619
  $r = wp_parse_args( $args, array(
628
  'type' => 'last_joined',
629
  ) );
630
 
631
+ // For legacy users. Use of BP_Groups_Member::get_all_for_group()
632
+ // is deprecated. func_get_args() can't be passed to a function in PHP
633
+ // 5.2.x, so we create a variable.
634
+ $func_args = func_get_args();
635
+ if ( apply_filters( 'bp_use_legacy_group_member_query', false, __FUNCTION__, $func_args ) ) {
636
  $retval = BP_Groups_Member::get_all_for_group( $r['group_id'], $r['per_page'], $r['page'], $r['exclude_admins_mods'], $r['exclude_banned'], $r['exclude'] );
637
  } else {
638
 
707
  $defaults = array(
708
  'type' => false, // Active, newest, alphabetical, random, popular, most-forum-topics or most-forum-posts.
709
  'order' => 'DESC', // 'ASC' or 'DESC'
710
+ 'orderby' => 'date_created', // date_created, last_activity, total_member_count, name, random.
711
  'user_id' => false, // Pass a user_id to limit to only groups that this user is a member of.
712
  'include' => false, // Only include these specific groups (group_ids).
713
  'exclude' => false, // Do not include these specific groups (group_ids).
714
  'parent_id' => null, // Get groups that are children of the specified group(s).
 
715
  'search_terms' => false, // Limit to groups that match these search terms.
 
716
  'group_type' => '', // Array or comma-separated list of group types to limit results to.
717
  'group_type__in' => '', // Array or comma-separated list of group types to limit results to.
718
  'group_type__not_in' => '', // Array or comma-separated list of group types that will be excluded from results.
719
  'meta_query' => false, // Filter by groupmeta. See WP_Meta_Query for syntax.
720
  'show_hidden' => false, // Show hidden groups to non-admins.
 
721
  'per_page' => 20, // The number of results to return per page.
722
  'page' => 1, // The page to return if limiting per page.
723
  'update_meta_cache' => true, // Pre-fetch groupmeta for queried groups.
724
  'update_admin_cache' => false,
725
  );
726
 
727
+ $r = wp_parse_args( $args, $defaults );
728
 
729
  $groups = BP_Groups_Group::get( array(
730
  'type' => $r['type'],
731
  'user_id' => $r['user_id'],
732
  'include' => $r['include'],
733
  'exclude' => $r['exclude'],
 
734
  'parent_id' => $r['parent_id'],
735
  'search_terms' => $r['search_terms'],
 
736
  'group_type' => $r['group_type'],
737
  'group_type__in' => $r['group_type__in'],
738
  'group_type__not_in' => $r['group_type__not_in'],
739
  'meta_query' => $r['meta_query'],
740
  'show_hidden' => $r['show_hidden'],
 
741
  'per_page' => $r['per_page'],
742
  'page' => $r['page'],
743
  'update_meta_cache' => $r['update_meta_cache'],
1164
  *
1165
  * @param int $user_id ID of the user.
1166
  * @param int $group_id ID of the group.
1167
+ * @return bool
1168
  */
1169
  function groups_is_user_creator( $user_id, $group_id ) {
1170
  return BP_Groups_Member::check_is_creator( $user_id, $group_id );
1186
  * @type int $group_id Optional. ID of the group to be affiliated with the
1187
  * update. Default: ID of the current group.
1188
  * }
1189
+ * @return int|bool Returns the ID of the new activity item on success, or false on failure.
1190
  */
1191
  function groups_post_update( $args = '' ) {
1192
  if ( ! bp_is_active( 'activity' ) ) {
1425
  }
1426
 
1427
  $member = new BP_Groups_Member( $user_id, $group_id );
 
 
 
 
1428
  $member->accept_invite();
1429
 
1430
  if ( !$member->save() ) {
1443
  * Fires after a user has accepted a group invite.
1444
  *
1445
  * @since 1.0.0
 
1446
  *
1447
+ * @param int $user_id ID of the user who accepted the group invite.
1448
+ * @param int $group_id ID of the group being accepted to.
 
1449
  */
1450
+ do_action( 'groups_accept_invite', $user_id, $group_id );
1451
 
1452
  return true;
1453
  }
1524
  for ( $i = 0, $count = count( $invited_users ); $i < $count; ++$i ) {
1525
  $member = new BP_Groups_Member( $invited_users[$i], $group_id );
1526
 
 
 
 
 
 
1527
  // Send the actual invite.
1528
  groups_notification_group_invites( $group, $member, $user_id );
1529
 
1548
  * Get IDs of users with outstanding invites to a given group from a specified user.
1549
  *
1550
  * @since 1.0.0
 
1551
  *
1552
+ * @param int $user_id ID of the inviting user.
1553
+ * @param int $group_id ID of the group.
1554
+ * @return array $value IDs of users who have been invited to the group by the
1555
+ * user but have not yet accepted.
 
 
 
 
1556
  */
1557
+ function groups_get_invites_for_group( $user_id, $group_id ) {
1558
+ return BP_Groups_Group::get_invites( $user_id, $group_id );
1559
  }
1560
 
1561
  /**
1917
  * @param int $group_id Optional. ID of the group to which membership is being
1918
  * requested. Provide this value along with $user_id to
1919
  * override $membership_id.
1920
+ * @return bool True on success, false on failure.
1921
  */
1922
  function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
1923
  if ( !empty( $user_id ) && !empty( $group