diff --git a/assets/css/chosen.css b/assets/css/chosen.css
index da6410eb3e1..ab8056ca45c 100755
--- a/assets/css/chosen.css
+++ b/assets/css/chosen.css
@@ -1,12 +1,9 @@
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
-by Patrick Filler for Harvest, http://getharvest.com
-
-Version 1.8.5
-Full source at https://github.com/harvesthq/chosen
-Copyright (c) 2011-2018 Harvest http://getharvest.com
-
-MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
+Version 2.1.0
+Full source at https://github.com/jjj/chosen
+Copyright (c) 2011-2020 JJJ
+MIT License, https://github.com/jjj/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
*/
@@ -15,7 +12,7 @@ This file is generated by `grunt build`, do not edit it by hand.
position: relative;
display: inline-block;
vertical-align: middle;
- font-size: 13px;
+ font-size: 14px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@@ -30,25 +27,44 @@ This file is generated by `grunt build`, do not edit it by hand.
.chosen-container .chosen-drop {
position: absolute;
top: 100%;
- z-index: 1010;
+ z-index: 1011;
width: 100%;
border: 1px solid #aaa;
border-top: 0;
+ border-radius: 0 0 4px 4px;
background: #fff;
- -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
- box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
- display: none;
+ clip: rect(0, 0, 0, 0);
+ -webkit-clip-path: inset(100% 100%);
+ clip-path: inset(100% 100%);
+ margin-top: -1px;
+ background-clip: padding-box;
}
.chosen-container.chosen-with-drop .chosen-drop {
- display: block;
+ clip: auto;
+ -webkit-clip-path: none;
+ clip-path: none;
+}
+
+.chosen-container.chosen-dropup .chosen-choices,
+.chosen-container.chosen-dropup .chosen-single {
+ z-index: 1010;
+}
+
+.chosen-container.chosen-dropup .chosen-drop {
+ top: auto;
+ bottom: 100%;
+ border: solid #aaa;
+ border-width: 1px 1px 0 1px;
+ border-radius: 4px 4px 0 0;
}
.chosen-container a {
cursor: pointer;
}
-.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
+.chosen-container .search-choice .group-name,
+.chosen-container .chosen-single .group-name {
margin-right: 4px;
overflow: hidden;
white-space: nowrap;
@@ -57,45 +73,55 @@ This file is generated by `grunt build`, do not edit it by hand.
color: #999999;
}
-.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
+.chosen-container .search-choice .group-name:after,
+.chosen-container .chosen-single .group-name:after {
content: ":";
padding-left: 2px;
vertical-align: top;
}
+.chosen-container .search-choice-close {
+ position: absolute;
+ right: 3px;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+ border: none;
+ cursor: pointer;
+ display: block;
+ width: 15px;
+ height: 15px;
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 0 top 50%;
+ background-size: 15px 15px;
+}
+
+.chosen-container .search-choice-close:hover, .chosen-container .search-choice-close:active {
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 0 top 50%;
+ background-size: 15px 15px;
+}
+
/* @end */
/* @group Single Chosen */
.chosen-container-single .chosen-single {
position: relative;
display: block;
overflow: hidden;
- padding: 0 0 0 8px;
- height: 25px;
+ padding: 2.5px 0 2.5px 7px;
border: 1px solid #aaa;
- border-radius: 5px;
+ border-radius: 4px;
background-color: #fff;
- background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), to(#f4f4f4));
- background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
background-clip: padding-box;
- -webkit-box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
- box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
color: #444;
text-decoration: none;
white-space: nowrap;
line-height: 24px;
}
-.chosen-container-single .chosen-single input[type="text"] {
- cursor: pointer;
- opacity: 0;
- position: absolute;
- width: 0;
-}
-
.chosen-container-single .chosen-default {
color: #999;
}
+.chosen-container-single .chosen-single-with-deselect.chosen-default span,
.chosen-container-single .chosen-single span {
display: block;
overflow: hidden;
@@ -105,26 +131,11 @@ This file is generated by `grunt build`, do not edit it by hand.
}
.chosen-container-single .chosen-single-with-deselect span {
- margin-right: 38px;
+ margin-right: 42px;
}
-.chosen-container-single .chosen-single abbr {
- position: absolute;
- top: 6px;
+.chosen-container-single .chosen-single .search-choice-close {
right: 26px;
- display: block;
- width: 12px;
- height: 12px;
- background: url("chosen-sprite.png") -42px 1px no-repeat;
- font-size: 1px;
-}
-
-.chosen-container-single .chosen-single abbr:hover {
- background-position: -42px -10px;
-}
-
-.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
- background-position: -42px -10px;
}
.chosen-container-single .chosen-single div {
@@ -140,41 +151,50 @@ This file is generated by `grunt build`, do not edit it by hand.
display: block;
width: 100%;
height: 100%;
- background: url("chosen-sprite.png") no-repeat 0px 2px;
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 52%;
+ background-size: 15px 15px;
}
.chosen-container-single .chosen-search {
position: relative;
- z-index: 1010;
+ z-index: 1011;
margin: 0;
padding: 3px 4px;
white-space: nowrap;
}
.chosen-container-single .chosen-search input[type="text"] {
- margin: 1px 0;
- padding: 4px 20px 4px 5px;
+ margin: 0;
+ padding: 5px 20px 5px 5px;
width: 100%;
height: auto;
- outline: 0;
- border: 1px solid #aaa;
- background: url("chosen-sprite.png") no-repeat 100% -20px;
+ outline: none;
+ border: 1px solid #ccc;
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 50%;
+ background-size: 15px 15px;
font-size: 1em;
font-family: sans-serif;
line-height: normal;
- border-radius: 0;
-}
-
-.chosen-container-single .chosen-drop {
- margin-top: -1px;
- border-radius: 0 0 4px 4px;
- background-clip: padding-box;
+ border-radius: 4px;
}
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
position: absolute;
- opacity: 0;
- pointer-events: none;
+ clip: rect(0, 0, 0, 0);
+ -webkit-clip-path: inset(100% 100%);
+ clip-path: inset(100% 100%);
+}
+
+.chosen-container-single.chosen-container-single-nosearch.chosen-dropup .chosen-results {
+ padding-top: 4px;
+}
+
+.chosen-container-single.chosen-container-single-nosearch.chosen-dropup .chosen-single {
+ z-index: 1010;
+}
+
+.chosen-container-single .chosen-drop .result-selected {
+ background-color: #eee;
}
/* @end */
@@ -198,6 +218,7 @@ This file is generated by `grunt build`, do not edit it by hand.
line-height: 15px;
word-wrap: break-word;
-webkit-touch-callout: none;
+ border-radius: 4px;
}
.chosen-container .chosen-results li.active-result {
@@ -213,8 +234,6 @@ This file is generated by `grunt build`, do not edit it by hand.
.chosen-container .chosen-results li.highlighted {
background-color: #3875d7;
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
- background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
color: #fff;
}
@@ -245,13 +264,12 @@ This file is generated by `grunt build`, do not edit it by hand.
position: relative;
overflow: hidden;
margin: 0;
- padding: 0 5px;
+ padding: 0 3px;
width: 100%;
height: auto;
+ border-radius: 4px;
border: 1px solid #aaa;
background-color: #fff;
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eee), color-stop(15%, #fff));
- background-image: linear-gradient(#eee 1%, #fff 15%);
cursor: text;
}
@@ -267,15 +285,13 @@ This file is generated by `grunt build`, do not edit it by hand.
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
- margin: 1px 0;
- padding: 0;
- height: 25px;
- outline: 0;
- border: 0 !important;
- background: transparent !important;
+ margin: 0 3px;
+ padding: 6.5px 0;
+ outline: none;
+ border: none;
+ background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
- color: #999;
font-size: 100%;
font-family: sans-serif;
line-height: normal;
@@ -286,48 +302,25 @@ This file is generated by `grunt build`, do not edit it by hand.
.chosen-container-multi .chosen-choices li.search-choice {
position: relative;
margin: 3px 5px 3px 0;
- padding: 3px 20px 3px 5px;
+ padding: 4px 20px 4px 5px;
border: 1px solid #aaa;
- max-width: 100%;
border-radius: 3px;
+ max-width: 100%;
background-color: #eeeeee;
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
- background-size: 100% 19px;
- background-repeat: repeat-x;
- background-clip: padding-box;
- -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
- box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
color: #333;
- line-height: 13px;
+ line-height: 12px;
cursor: default;
}
.chosen-container-multi .chosen-choices li.search-choice span {
+ font-size: 95%;
word-wrap: break-word;
}
-.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
- position: absolute;
- top: 4px;
- right: 3px;
- display: block;
- width: 12px;
- height: 12px;
- background: url("chosen-sprite.png") -42px 1px no-repeat;
- font-size: 1px;
-}
-
-.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
- background-position: -42px -10px;
-}
-
.chosen-container-multi .chosen-choices li.search-choice-disabled {
padding-right: 5px;
border: 1px solid #ccc;
background-color: #e4e4e4;
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eee));
- background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
color: #666;
}
@@ -335,62 +328,51 @@ This file is generated by `grunt build`, do not edit it by hand.
background: #d4d4d4;
}
-.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
- background-position: -42px -10px;
-}
-
-.chosen-container-multi .chosen-results {
- margin: 0;
- padding: 0;
-}
-
.chosen-container-multi .chosen-drop .result-selected {
display: list-item;
color: #ccc;
cursor: default;
}
+.chosen-container-multi.chosen-dropup .chosen-results {
+ padding-top: 4px;
+}
+
+.chosen-container-multi.chosen-dropup .chosen-single {
+ z-index: 1010;
+}
+
/* @end */
/* @group Active */
.chosen-container-active .chosen-single {
- border: 1px solid #5897fb;
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
+ outline: blue;
}
-.chosen-container-active.chosen-with-drop .chosen-single {
+.chosen-container-active.chosen-with-drop .chosen-single,
+.chosen-container-active.chosen-with-drop .chosen-choices {
border: 1px solid #aaa;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eee), color-stop(80%, #fff));
- background-image: linear-gradient(#eee 20%, #fff 80%);
- -webkit-box-shadow: 0 1px 0 #fff inset;
- box-shadow: 0 1px 0 #fff inset;
}
-.chosen-container-active.chosen-with-drop .chosen-single div {
- border-left: none;
- background: transparent;
+.chosen-container-active.chosen-with-drop .chosen-single div b {
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 52%;
+ background-size: 15px 15px;
}
-.chosen-container-active.chosen-with-drop .chosen-single div b {
- background-position: -18px 2px;
+.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-single,
+.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-choices {
+ border-radius: 0 0 4px 4px;
}
.chosen-container-active .chosen-choices {
border: 1px solid #5897fb;
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
-}
-
-.chosen-container-active .chosen-choices li.search-field input[type="text"] {
- color: #222 !important;
}
/* @end */
/* @group Disabled Support */
.chosen-disabled {
- opacity: 0.5 !important;
+ opacity: 0.5;
cursor: default;
}
@@ -398,23 +380,83 @@ This file is generated by `grunt build`, do not edit it by hand.
cursor: default;
}
-.chosen-disabled .chosen-choices .search-choice .search-choice-close {
+.chosen-disabled .search-choice-close {
cursor: default;
}
/* @end */
-/* @group Retina compatibility */
-@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
- .chosen-container-single .chosen-single abbr,
- .chosen-container-single .chosen-single div b,
- .chosen-container-single .chosen-search input[type="text"],
- .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
- .chosen-container .chosen-results-scroll-down span,
- .chosen-container .chosen-results-scroll-up span {
- background-image: url("chosen-sprite@2x.png") !important;
- background-size: 52px 37px !important;
- background-repeat: no-repeat !important;
- }
+/* @group Right to Left */
+.chosen-rtl {
+ text-align: right;
+}
+
+.chosen-rtl .chosen-single {
+ padding: 2px 7px 2px 0;
+}
+
+.chosen-rtl .chosen-single span {
+ margin-right: 0;
+ margin-left: 26px;
+ direction: rtl;
+}
+
+.chosen-rtl .chosen-single-with-deselect span {
+ margin-left: 42px;
+}
+
+.chosen-rtl .chosen-single div {
+ right: auto;
+ left: 0;
+}
+
+.chosen-rtl .chosen-single .search-choice-close {
+ right: auto;
+ left: 26px;
+}
+
+.chosen-rtl .chosen-choices li {
+ float: right;
+}
+
+.chosen-rtl .chosen-choices li.search-field input[type="text"] {
+ direction: rtl;
+}
+
+.chosen-rtl .chosen-choices li.search-choice {
+ margin: 3px 0 3px 5px;
+ padding: 3px 5px 3px 20px;
+}
+
+.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
+ right: auto;
+ left: 3px;
+}
+
+.chosen-rtl.chosen-container-single .chosen-results {
+ margin: 0 0 4px 4px;
+ padding: 0 4px 0 0;
+}
+
+.chosen-rtl .chosen-results li.group-option {
+ padding-right: 15px;
+ padding-left: 0;
+}
+
+.chosen-rtl .chosen-search input[type="text"] {
+ padding: 5px 5px 5px 20px;
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 55%;
+ background-size: 15px 15px;
+ direction: rtl;
+}
+
+.chosen-rtl.chosen-container-single .chosen-single div b {
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 52%;
+ background-size: 15px 15px;
+}
+
+.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
+ background: url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 52%;
+ background-size: 15px 15px;
}
/* @end */
diff --git a/assets/css/chosen.min.css b/assets/css/chosen.min.css
index ad67c293b40..fb044bf2d7f 100755
--- a/assets/css/chosen.min.css
+++ b/assets/css/chosen.min.css
@@ -1,11 +1,8 @@
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
-by Patrick Filler for Harvest, http://getharvest.com
-
-Version 1.8.5
-Full source at https://github.com/harvesthq/chosen
-Copyright (c) 2011-2018 Harvest http://getharvest.com
-
-MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
+Version 2.1.0
+Full source at https://github.com/jjj/chosen
+Copyright (c) 2011-2020 JJJ
+MIT License, https://github.com/jjj/chosen/blob/master/LICENSE.md
This file is generated by `grunt build`, do not edit it by hand.
-*/.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15);display:none}.chosen-container.chosen-with-drop .chosen-drop{display:block}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),to(#f4f4f4));background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-single input[type=text]{cursor:pointer;opacity:0;position:absolute;width:0}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;opacity:0;pointer-events:none}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(1%,#eee),color-stop(15%,#fff));background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:0 0!important;-webkit-box-shadow:none;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),to(#eee));background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#eee),color-stop(80%,#fff));background-image:linear-gradient(#eee 20%,#fff 80%);-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
\ No newline at end of file
+*/.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1011;width:100%;border:1px solid #aaa;border-top:0;border-radius:0 0 4px 4px;background:#fff;clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%);margin-top:-1px;background-clip:padding-box}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;-webkit-clip-path:none;clip-path:none}.chosen-container.chosen-dropup .chosen-choices,.chosen-container.chosen-dropup .chosen-single{z-index:1010}.chosen-container.chosen-dropup .chosen-drop{top:auto;bottom:100%;border:solid #aaa;border-width:1px 1px 0 1px;border-radius:4px 4px 0 0}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container .search-choice-close{position:absolute;right:3px;top:0;bottom:0;margin:auto;border:none;cursor:pointer;display:block;width:15px;height:15px;background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 0 top 50%;background-size:15px 15px}.chosen-container .search-choice-close:active,.chosen-container .search-choice-close:hover{background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 0 top 50%;background-size:15px 15px}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:2.5px 0 2.5px 7px;border:1px solid #aaa;border-radius:4px;background-color:#fff;background-clip:padding-box;color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span,.chosen-container-single .chosen-single-with-deselect.chosen-default span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:42px}.chosen-container-single .chosen-single .search-choice-close{right:26px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 52%;background-size:15px 15px}.chosen-container-single .chosen-search{position:relative;z-index:1011;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:0;padding:5px 20px 5px 5px;width:100%;height:auto;outline:0;border:1px solid #ccc;background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 50%;background-size:15px 15px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:4px}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);-webkit-clip-path:inset(100% 100%);clip-path:inset(100% 100%)}.chosen-container-single.chosen-container-single-nosearch.chosen-dropup .chosen-results{padding-top:4px}.chosen-container-single.chosen-container-single-nosearch.chosen-dropup .chosen-single{z-index:1010}.chosen-container-single .chosen-drop .result-selected{background-color:#eee}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none;border-radius:4px}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 3px;width:100%;height:auto;border-radius:4px;border:1px solid #aaa;background-color:#fff;cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:0 3px;padding:6.5px 0;outline:0;border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:4px 20px 4px 5px;border:1px solid #aaa;border-radius:3px;max-width:100%;background-color:#eee;color:#333;line-height:12px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{font-size:95%;word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-multi.chosen-dropup .chosen-results{padding-top:4px}.chosen-container-multi.chosen-dropup .chosen-single{z-index:1010}.chosen-container-active .chosen-single{outline:#00f}.chosen-container-active.chosen-with-drop .chosen-choices,.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0}.chosen-container-active.chosen-with-drop .chosen-single div b{background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat right 5px top 52%;background-size:15px 15px}.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-choices,.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-single{border-radius:0 0 4px 4px}.chosen-container-active .chosen-choices{border:1px solid #5897fb}.chosen-disabled{opacity:.5;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{padding:2px 7px 2px 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:42px}.chosen-rtl .chosen-single div{right:auto;left:0}.chosen-rtl .chosen-single .search-choice-close{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 0 3px 5px;padding:3px 5px 3px 20px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:3px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl .chosen-search input[type=text]{padding:5px 5px 5px 20px;background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 55%;background-size:15px 15px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 52%;background-size:15px 15px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background:url('data:image/svg+xml;charset=US-ASCII,') no-repeat left 5px top 52%;background-size:15px 15px}
\ No newline at end of file
diff --git a/assets/css/edd-admin-chosen.css b/assets/css/edd-admin-chosen.css
index ebb765ed862..7a370858d91 100644
--- a/assets/css/edd-admin-chosen.css
+++ b/assets/css/edd-admin-chosen.css
@@ -9,102 +9,98 @@
background-image: none;
}
-.chosen-container-single .chosen-single div b:before {
- display: block;
- width: 17px;
- height: 17px;
- position: absolute;
- right: 2px;
- top: 0px;
- font-family: dashicons;
- font-size: 15px;
- content: '\f140';
- color: #555;
- margin-top: 1px;
+.chosen-container-multi .search-field,
+.chosen-container-single .chosen-single,
+.chosen-container-active.chosen-with-drop .chosen-single {
+ background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
+ background-size: 16px 16px;
+ border: 1px solid #7e8993;
+ box-shadow: 0 0 0 transparent;
+ color: #32373c;
}
-.chosen-container-single .chosen-search input[type=text]:before {
- display: block;
- width: 20px;
- height: 20px;
- font-family: dashicons;
- content: '\f140';
+.chosen-container-multi .search-field {
+ border: none;
}
.chosen-container-single .chosen-search:after {
display: block;
- width: 17px;
- height: 17px;
position: absolute;
right: 6px;
- top: 8px;
- color: #aaa;
+ top: 50%;
font-family: dashicons;
font-size: 17px;
- line-height: 17px;
content: '\f179';
+ transform: translateY(-50%);
+}
+
+.chosen-container-single .chosen-single{
+ min-height: 30px;
}
.chosen-container-multi .chosen-choices,
-.chosen-container-single .chosen-single,
+.chosen-container-single .chosen-single {
+ border-radius: 4px;
+ border-color: #7e8993;
+}
+
+.chosen-container-multi.chosen-with-drop .chosen-choices,
.chosen-container-active.chosen-with-drop .chosen-single {
- border: 1px solid #ddd;
- border-radius: 0;
- background: #fff;
- padding: 2px 5px;
- outline: none;
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
+}
+
+.chosen-container-multi.chosen-with-drop .chosen-choices {
+ border-bottom-color: transparent;
}
-.chosen-container-single .chosen-single,
.chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single {
- height: 29px;
+ border-radius: 4px 4px 0 0;
}
-.chosen-container-active .chosen-single {
- outline: auto 5px -webkit-focus-ring-color;
+.chosen-container-single.chosen-container-active.chosen-with-drop.chosen-dropup .chosen-single,
+.chosen-container-multi.chosen-container-active.chosen-dropup .chosen-choices {
+ border-radius: 0 0 4px 4px;
+ border-width: 0 1px 0 1px;
+ z-index: 1011;
}
.chosen-container-multi .chosen-choices li.search-field {
min-width: 100px !important;
+ width: 100%;
}
.chosen-container-multi .chosen-choices li.search-field input[type=text] {
- min-height: 29px !important;
- width: auto !important;
-}
-
-.chosen-container-multi .chosen-choices,
-.chosen-container-single .chosen-single {
- box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
+ color: #32373c;
+ font-family: unset;
+ height: unset;
+ margin: 0;
+ padding: 3px 10px;
+ width: 100% !important;
}
-.chosen-container-multi.chosen-with-drop .chosen-choices,
-.chosen-container-active.chosen-with-drop .chosen-single {
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
+.chosen-container-single .chosen-single div {
+ width: 26px;
}
-.chosen-container-multi.chosen-with-drop .chosen-choices {
- border-bottom-color: transparent;
+.chosen-container-single .chosen-default {
+ color: #32373c;
}
-.chosen-container-single .chosen-single div {
- width: 17px;
-}
-.chosen-container-single .chosen-single span {
- margin-right: 13px;
+.chosen-container-active .chosen-single {
+ border-color: transparent;
+ outline: 2px solid transparent;
}
.chosen-container .chosen-drop {
- font-size: 13px;
position: absolute;
top: 100%;
z-index: 1010;
width: 100%;
- border: 1px solid #e5e5e5;
- border-top: 0;
- border-radius: 0;
+ border-radius: 0 0 4px 4px;
+ border-width: 0 1px 0 1px;
+ border-color: transparent;
background: #fff;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
+ outline: 2px solid transparent;
}
.chosen-container-single .chosen-search input[type=text] {
@@ -113,9 +109,8 @@
width: 100% !important;
height: auto;
outline: 0;
- border: 1px solid #ddd;
- border-radius: 0;
- font-size: 13px;
+ border: 1px solid #7e8993;
+ border-radius: 4px;
line-height: normal;
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
}
@@ -132,15 +127,16 @@
.chosen-container .chosen-results li.highlighted {
background-image: none;
+ border-radius: 4px;
color: #fff;
}
.chosen-container-multi .chosen-choices li.search-choice {
margin: 3px 5px 3px 0;
padding: 5px 22px 5px 5px;
- border: 1px solid #ddd;
+ border: 1px solid #7e8993;
max-width: 100%;
- border-radius: 0;
+ border-radius: 4px;
background: #f4f4f4;
box-shadow: none;
color: #333;
@@ -179,69 +175,193 @@
right: -4px;
}
-/* Force on all screen sizes & resolutions */
-.chosen-rtl .chosen-search input[type=text],
-.chosen-container-single .chosen-single abbr,
-.chosen-container-single .chosen-single div b,
-.chosen-container-single .chosen-search input[type=text],
-.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
-.chosen-container .chosen-results-scroll-down span,
-.chosen-container .chosen-results-scroll-up span {
- background-image: none !important;
-}
-
/* WordPress Color Schemes */
-/* Fresh */
-
-.admin-color-fresh .chosen-container .chosen-results li.highlighted {
- background-color: #00a0d2;
+body.admin-color-fresh .chosen-container-active .chosen-single,
+body.admin-color-fresh .chosen-container-active .chosen-choices,
+body.admin-color-fresh .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #007cba;
+ box-shadow: 0 0 0 1px #007cba;
+}
+body.admin-color-fresh .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-fresh .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-fresh .chosen-container .chosen-drop {
+ border-color: #007cba;
+ box-shadow: 0 1px 0 1px #007cba;
+}
+body.admin-color-fresh .chosen-container .chosen-results li.highlighted {
+ background-color: #007cba;
}
/* Blue */
-.admin-color-blue .chosen-container .chosen-results li.highlighted {
- background-color: #096484;
+body.admin-color-blue .chosen-container-active .chosen-single,
+body.admin-color-blue .chosen-container-active .chosen-choices,
+body.admin-color-blue .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #096484;
+ box-shadow: 0 0 0 1px #096484;
+}
+body.admin-color-blue .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-blue .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-blue .chosen-container .chosen-drop {
+ border-color: #096484;
+ box-shadow: 0 1px 0 1px #096484;
+}
+body.admin-color-blue .chosen-container .chosen-results li.highlighted {
+ background-color: #007cba;
}
/* Coffee */
-.admin-color-coffee .chosen-container .chosen-results li.highlighted {
- background-color: #096484;
+body.admin-color-coffee .chosen-container-active .chosen-single,
+body.admin-color-coffee .chosen-container-active .chosen-choices,
+body.admin-color-coffee .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #c7a589;
+ box-shadow: 0 0 0 1px #c7a589;
+}
+body.admin-color-coffee .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-coffee .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-coffee .chosen-container .chosen-drop {
+ border-color: #c7a589;
+ box-shadow: 0 1px 0 1px #c7a589;
+}
+body.admin-color-coffee .chosen-container .chosen-results li.highlighted {
+ background-color: #c7a589;
}
/* Ectoplasm */
-.admin-color-ectoplasm .chosen-container .chosen-results li.highlighted {
+body.admin-color-ectoplasm .chosen-container-active .chosen-single,
+body.admin-color-ectoplasm .chosen-container-active .chosen-choices,
+body.admin-color-ectoplasm .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #a3b745;
+ box-shadow: 0 0 0 1px #a3b745;
+}
+body.admin-color-ectoplasm .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-ectoplasm .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-ectoplasm .chosen-container .chosen-drop {
+ border-color: #a3b745;
+ box-shadow: 0 1px 0 1px #a3b745;
+}
+body.admin-color-ectoplasm .chosen-container .chosen-results li.highlighted {
background-color: #a3b745;
}
/* Midnight */
-.admin-color-midnight .chosen-container .chosen-results li.highlighted {
- background-color: #26292c;
+body.admin-color-midnight .chosen-container-active .chosen-single,
+body.admin-color-midnight .chosen-container-active .chosen-choices,
+body.admin-color-midnight .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #e14d43;
+ box-shadow: 0 0 0 1px #e14d43;
+}
+body.admin-color-midnight .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-midnight .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-midnight .chosen-container .chosen-drop {
+ border-color: #e14d43;
+ box-shadow: 0 1px 0 1px #e14d43;
+}
+body.admin-color-midnight .chosen-container .chosen-results li.highlighted {
+ background-color: #e14d43;
}
/* Ocean */
-.admin-color-ocean .chosen-container .chosen-results li.highlighted {
- background-color: #627c83;
+body.admin-color-ocean .chosen-container-active .chosen-single,
+body.admin-color-ocean .chosen-container-active .chosen-choices,
+body.admin-color-ocean .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #9ebaa0;
+ box-shadow: 0 0 0 1px #9ebaa0;
+}
+body.admin-color-ocean .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-ocean .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-ocean .chosen-container .chosen-drop {
+ border-color: #9ebaa0;
+ box-shadow: 0 1px 0 1px #9ebaa0;
+}
+body.admin-color-ocean .chosen-container .chosen-results li.highlighted {
+ background-color: #9ebaa0;
}
/* Sunrise */
-.admin-color-sunrise .chosen-container .chosen-results li.highlighted {
- background-color: #be3631;
+body.admin-color-sunrise .chosen-container-active .chosen-single,
+body.admin-color-sunrise .chosen-container-active .chosen-choices,
+body.admin-color-sunrise .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #dd823b;
+ box-shadow: 0 0 0 1px #dd823b;
+}
+body.admin-color-sunrise .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-sunrise .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-sunrise .chosen-container .chosen-drop {
+ border-color: #dd823b;
+ box-shadow: 0 1px 0 1px #dd823b;
+}
+body.admin-color-sunrise .chosen-container .chosen-results li.highlighted {
+ background-color: #dd823b;
}
/* Light */
-.admin-color-light .chosen-container .chosen-results li.highlighted {
- background-color: #888;
+body.admin-color-light .chosen-container-active .chosen-single,
+body.admin-color-light .chosen-container-active .chosen-choices,
+body.admin-color-light .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #04a4cc;
+ box-shadow: 0 0 0 1px #04a4cc;
+}
+body.admin-color-light .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-light .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-light .chosen-container .chosen-drop {
+ border-color: #04a4cc;
+ box-shadow: 0 1px 0 1px #04a4cc;
+}
+body.admin-color-light .chosen-container .chosen-results li.highlighted {
+ background-color: #04a4cc;
+}
+
+/* Modern */
+body.admin-color-modern .chosen-container-active .chosen-single,
+body.admin-color-modern .chosen-container-active .chosen-choices,
+body.admin-color-modern .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #3858e9;
+ box-shadow: 0 0 0 1px #3858e9;
+}
+body.admin-color-modern .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-modern .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-modern .chosen-container .chosen-drop {
+ border-color: #3858e9;
+ box-shadow: 0 1px 0 1px #3858e9;
+}
+body.admin-color-modern .chosen-container .chosen-results li.highlighted {
+ background-color: #3858e9;
}
-/* bbPress Color Schemes */
+/* bbPress Color Schemes
+-------------------------------------------------------------- */
/* Evergreen */
-.admin-color-evergreen .chosen-container .chosen-results li.highlighted {
+body.admin-color-evergreen .chosen-container-active .chosen-single,
+body.admin-color-evergreen .chosen-container-active .chosen-choices,
+body.admin-color-evergreen .chosen-with-drop.chosen-dropup .chosen-drop {
+ box-shadow: 0 0 0 1px #36533f;
+}
+body.admin-color-evergreen .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-evergreen .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-evergreen .chosen-container .chosen-drop {
+ border-color: #36533f;
+ box-shadow: 0 1px 0 1px #36533f;
+}
+body.admin-color-evergreen .chosen-container .chosen-results li.highlighted {
background-color: #36533f;
}
/* Mint */
-.admin-color-mint .chosen-container .chosen-results li.highlighted {
+body.admin-color-mint .chosen-container-active .chosen-single,
+body.admin-color-mint .chosen-container-active .chosen-choices,
+body.admin-color-mint .chosen-with-drop.chosen-dropup .chosen-drop {
+ border-color: #4f6d59;
+ box-shadow: 0 0 0 1px #4f6d59;
+}
+body.admin-color-mint .chosen-with-drop.chosen-dropup .chosen-single,
+body.admin-color-mint .chosen-container-active.chosen-dropup .chosen-choices,
+body.admin-color-mint .chosen-container .chosen-drop {
+ border-color: #4f6d59;
+ box-shadow: 0 1px 0 1px #4f6d59;
+}
+body.admin-color-mint .chosen-container .chosen-results li.highlighted {
background-color: #4f6d59;
}
@@ -256,5 +376,19 @@
.edd-select-chosen.edd-time {
width: 55px;
- max-width: 50px;
+ max-width: 55px;
+}
+
+@media screen and (max-width: 782px) {
+ .chosen-container-single .chosen-single,
+ .chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single {
+ font-size: 16px;
+ line-height: 1.625;
+ min-height: 40px;
+ padding: 5px 8px;
+ }
+ .edd-select-chosen.edd-time {
+ width: 70px;
+ max-width: 70px;
+ }
}
diff --git a/assets/css/edd-admin.css b/assets/css/edd-admin.css
index 3abb7fca289..ae9a3d53e17 100755
--- a/assets/css/edd-admin.css
+++ b/assets/css/edd-admin.css
@@ -1048,6 +1048,7 @@ textarea[name="edd-note"] {
#edd-add-discount input[type="text"].edd_datepicker,
#edd-edit-discount input[type="text"].edd_datepicker {
+ display: inline-block;
width: 183px;
vertical-align: middle;
}
@@ -1064,6 +1065,7 @@ textarea[name="edd-note"] {
.edd-amount-type-wrapper select {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
+ width: auto !important;
}
.edd-amount-type-wrapper #edd-amount {
diff --git a/assets/js/vendor/chosen.jquery.min.js b/assets/js/vendor/chosen.jquery.min.js
new file mode 100644
index 00000000000..b73f3b676ca
--- /dev/null
+++ b/assets/js/vendor/chosen.jquery.min.js
@@ -0,0 +1,3 @@
+/* Chosen v2.1.0 | (c) 2011-2020 JJJ | MIT License, https://github.com/jjj/chosen/blob/master/LICENSE.md */
+
+(function(){var e,t,s,i;(i=class{constructor(e){this.options_index=0,this.parsed=[],this.copy_data_attributes=e.copy_data_attributes||!1}add_node(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)}add_group(e){var t,s,i,h,l,r;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,title:e.title?e.title:void 0,children:0,disabled:e.disabled,hidden:e.hidden,classes:e.className}),r=[],s=0,i=(l=e.childNodes).length;sthis.test_active_click(e)),this.activate_action=(e=>this.activate_field(e)),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_in_values=this.options.search_in_values||!1,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||Infinity,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.inherit_option_classes=this.options.inherit_option_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.parser_config=this.options.parser_config||{},this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select,this.create_option=this.options.create_option||!1,this.persistent_create_option=this.options.persistent_create_option||!1,this.skip_no_results=this.options.skip_no_results||!1}set_default_text(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text,this.create_option_text=this.form_field.getAttribute("data-create_option_text")||this.options.create_option_text||e.default_create_option_text}choice_label(e){return this.include_group_label_in_selected&&null!=e.group_label?`${this.escape_html(e.group_label)}${e.html}`:e.html}mouse_enter(){return this.mouse_on_container=!0}mouse_leave(){return this.mouse_on_container=!1}input_focus(e){if(this.is_multiple){if(!this.active_field)return setTimeout(()=>this.container_mousedown(),50)}else if(!this.active_field)return this.activate_field()}input_blur(e){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(()=>this.blur_test(),100)}label_click_handler(e){return this.is_multiple?this.container_mousedown(e):this.activate_field()}results_option_build(e){var t,s,i,h,l,r,a;for(t="",a=0,h=0,l=(r=this.results_data).length;h=this.max_shown_results));h++);return t}result_add_option(e){var t,s,i;if(!e.search_match)return"";if(!this.include_option_in_results(e))return"";for(t in s=[],e.disabled||e.selected&&this.is_multiple||s.push("active-result"),!e.disabled||e.selected&&this.is_multiple||s.push("disabled-result"),e.selected&&s.push("result-selected"),null!=e.group_array_index&&s.push("group-option"),""!==e.classes&&s.push(e.classes),(i=document.createElement("li")).className=s.join(" "),e.style&&(i.style.cssText=e.style),e.data)e.data.hasOwnProperty(t)&&i.setAttribute(t,e.data[t]);return i.setAttribute("role","option"),i.innerHTML=e.highlighted_html||e.html,i.id=`${this.form_field.id}-chosen-search-result-${e.data["data-option-array-index"]}`,e.title&&(i.title=e.title),this.outerHTML(i)}result_add_group(e){var t,s;return(e.search_match||e.group_match)&&e.active_options>0?((t=[]).push("group-result"),e.classes&&t.push(e.classes),(s=document.createElement("li")).className=t.join(" "),s.innerHTML=e.highlighted_html||this.escape_html(e.label),e.title&&(s.title=e.title),this.outerHTML(s)):""}append_option(e){return this.select_append_option(e)}results_update_field(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()}reset_single_select_options(){var e,t,s,i,h;for(h=[],e=0,t=(s=this.results_data).length;e${this.escape_html(h)}${this.escape_html(m)}`),null!=p&&(p.group_match=!0)):null!=o.group_array_index&&this.results_data[o.group_array_index].search_match&&(o.search_match=!0)));if(this.result_clear_highlight(),d<1&&_.length?(this.update_results_content(""),this.fire_search_updated(_),this.create_option&&this.skip_no_results||this.no_results(_)):(this.update_results_content(this.results_option_build()),this.fire_search_updated(_),(null!=e?e.skip_highlight:void 0)||this.winnow_results_set_highlight()),this.create_option&&(d<1||!i&&this.persistent_create_option)&&_.length)return this.show_create_option(_)}get_search_regex(e){var t,s;return s=this.search_contains?e:`(^|\\s|\\b)${e}[^\\s]*`,this.enable_split_word_search||this.search_contains||(s=`^${s}`),t=this.case_sensitive_search?"":"i",new RegExp(s,t)}get_highlight_regex(e){var t,s;return t=this.search_contains?"":"\\b",s=this.case_sensitive_search?"":"i",new RegExp(t+e,s)}get_list_special_char(){var e;return(e=[]).push({val:"ae",let:"(ä|æ|ǽ)"}),e.push({val:"oe",let:"(ö|œ)"}),e.push({val:"ue",let:"(ü)"}),e.push({val:"Ae",let:"(Ä)"}),e.push({val:"Ue",let:"(Ü)"}),e.push({val:"Oe",let:"(Ö)"}),e.push({val:"AE",let:"(Æ|Ǽ)"}),e.push({val:"ss",let:"(ß)"}),e.push({val:"IJ",let:"(IJ)"}),e.push({val:"ij",let:"(ij)"}),e.push({val:"OE",let:"(Œ)"}),e.push({val:"A",let:"(À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ)"}),e.push({val:"a",let:"(à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª)"}),e.push({val:"C",let:"(Ç|Ć|Ĉ|Ċ|Č)"}),e.push({val:"c",let:"(ç|ć|ĉ|ċ|č)"}),e.push({val:"D",let:"(Ð|Ď|Đ)"}),e.push({val:"d",let:"(ð|ď|đ)"}),e.push({val:"E",let:"(È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě)"}),e.push({val:"e",let:"(è|é|ê|ë|ē|ĕ|ė|ę|ě)"}),e.push({val:"G",let:"(Ĝ|Ğ|Ġ|Ģ)"}),e.push({val:"g",let:"(ĝ|ğ|ġ|ģ)"}),e.push({val:"H",let:"(Ĥ|Ħ)"}),e.push({val:"h",let:"(ĥ|ħ)"}),e.push({val:"I",let:"(Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ)"}),e.push({val:"i",let:"(ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı)"}),e.push({val:"J",let:"(Ĵ)"}),e.push({val:"j",let:"(ĵ)"}),e.push({val:"K",let:"(Ķ)"}),e.push({val:"k",let:"(ķ)"}),e.push({val:"L",let:"(Ĺ|Ļ|Ľ|Ŀ|Ł)"}),e.push({val:"l",let:"(ĺ|ļ|ľ|ŀ|ł)"}),e.push({val:"N",let:"(Ñ|Ń|Ņ|Ň)"}),e.push({val:"n",let:"(ñ|ń|ņ|ň|ʼn)"}),e.push({val:"O",let:"(Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ)"}),e.push({val:"o",let:"(ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º)"}),e.push({val:"R",let:"(Ŕ|Ŗ|Ř)"}),e.push({val:"r",let:"(ŕ|ŗ|ř)"}),e.push({val:"S",let:"(Ś|Ŝ|Ş|Š)"}),e.push({val:"s",let:"(ś|ŝ|ş|š|ſ)"}),e.push({val:"T",let:"(Ţ|Ť|Ŧ)"}),e.push({val:"t",let:"(ţ|ť|ŧ)"}),e.push({val:"U",let:"(Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ)"}),e.push({val:"u",let:"(ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ)"}),e.push({val:"Y",let:"(Ý|Ÿ|Ŷ)"}),e.push({val:"y",let:"(ý|ÿ|ŷ)"}),e.push({val:"W",let:"(Ŵ)"}),e.push({val:"w",let:"(ŵ)"}),e.push({val:"Z",let:"(Ź|Ż|Ž)"}),e.push({val:"z",let:"(ź|ż|ž)"}),e.push({val:"f",let:"(ƒ)"}),e}escape_special_char(e){var t,s,i,h;for(t=0,s=(h=this.get_list_special_char()).length;t0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:e.preventDefault(),this.results_showing&&this.result_select(e);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}}clipboard_event_checker(e){if(!this.is_disabled)return setTimeout(()=>this.results_search(),50)}container_width(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth>0?`${this.form_field.offsetWidth}px`:"auto"}include_option_in_results(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected)&&(!(!this.display_disabled_options&&e.disabled)&&(!e.empty&&(!e.hidden&&(null==e.group_array_index||!this.results_data[e.group_array_index].hidden))))}search_results_touchstart(e){return this.touch_started=!0,this.search_results_mouseover(e)}search_results_touchmove(e){return this.touch_started=!1,this.search_results_mouseout(e)}search_results_touchend(e){if(this.touch_started)return this.search_results_mouseup(e)}outerHTML(e){var t;return e.outerHTML?e.outerHTML:((t=document.createElement("div")).appendChild(e),t.innerHTML)}get_single_html(){return`\n ${this.default_text}\n
\n\n`}get_multi_html(){return`\n`}get_no_results_html(e){return`\n ${this.results_none_found} ${this.escape_html(e)}\n`}get_option_html({value:e,text:t}){return``}get_create_option_html(e){return`${this.create_option_text}: "${this.escape_html(e)}"`}static browser_is_supported(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))}}return e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e.default_create_option_text="Add Option",e}.call(this),(e=jQuery).fn.extend({chosen:function(i){return t.browser_is_supported()?this.each(function(t){var h,l;l=(h=e(this)).data("chosen"),"destroy"!==i?l instanceof s||h.data("chosen",new s(this,i)):l instanceof s&&l.destroy()}):this}}),s=class extends t{setup(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex}set_up_html(){var t,s;return(t=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),s={class:t.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=e("",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.css("position","absolute").css("opacity",0).css("display","none").after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_results.attr("id",`${this.form_field.id}-chosen-search-results`),this.search_groups=this.container.find("li.group-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.set_aria_labels(),this.results_build(),this.set_tab_index(),this.set_label_behavior()}on_ready(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})}register_observers(){return this.container.on("touchstart.chosen",e=>{this.container_mousedown(e)}),this.container.on("touchend.chosen",e=>{this.container_mouseup(e)}),this.container.on("mousedown.chosen",e=>{this.container_mousedown(e)}),this.container.on("mouseup.chosen",e=>{this.container_mouseup(e)}),this.container.on("mouseenter.chosen",e=>{this.mouse_enter(e)}),this.container.on("mouseleave.chosen",e=>{this.mouse_leave(e)}),this.search_groups.bind("mouseup.chosen",e=>{this.search_results_mouseup(e)}),this.search_groups.bind("mouseover.chosen",e=>{this.search_results_mouseover(e)}),this.search_groups.bind("mouseout.chosen",e=>{this.search_results_mouseout(e)}),this.search_groups.bind("mousewheel.chosen DOMMouseScroll.chosen",e=>{this.search_results_mousewheel(e)}),this.search_results.on("mouseup.chosen",e=>{this.search_results_mouseup(e)}),this.search_results.on("mouseover.chosen",e=>{this.search_results_mouseover(e)}),this.search_results.on("mouseout.chosen",e=>{this.search_results_mouseout(e)}),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",e=>{this.search_results_mousewheel(e)}),this.search_results.on("touchstart.chosen",e=>{this.search_results_touchstart(e)}),this.search_results.on("touchmove.chosen",e=>{this.search_results_touchmove(e)}),this.search_results.on("touchend.chosen",e=>{this.search_results_touchend(e)}),this.form_field_jq.on("chosen:updated.chosen",e=>{this.results_update_field(e)}),this.form_field_jq.on("chosen:activate.chosen",e=>{this.activate_field(e)}),this.form_field_jq.on("chosen:open.chosen",e=>{this.container_mousedown(e)}),this.form_field_jq.on("chosen:close.chosen",e=>{this.close_field(e)}),this.search_field.on("blur.chosen",e=>{this.input_blur(e)}),this.search_field.on("keyup.chosen",e=>{this.keyup_checker(e)}),this.search_field.on("keydown.chosen",e=>{this.keydown_checker(e)}),this.search_field.on("focus.chosen",e=>{this.input_focus(e)}),this.search_field.on("cut.chosen",e=>{this.clipboard_event_checker(e)}),this.search_field.on("paste.chosen",e=>{this.clipboard_event_checker(e)}),this.is_multiple?this.search_choices.on("click.chosen",e=>{this.choices_click(e)}):this.container.on("click.chosen",function(e){e.preventDefault()})}destroy(){return e(null!=this.container[0].getRootNode?this.container[0].getRootNode():this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()}set_aria_labels(){var e,t,s,i,h,l;if(this.search_field.attr("aria-owns",this.search_results.attr("id")),this.form_field.attributes["aria-label"]){if(this.search_field.attr("aria-label",this.form_field.attributes["aria-label"]),this.form_field.attributes["aria-labelledby"])return this.search_field.attr("aria-labelledby",this.form_field.attributes["aria-labelledby"])}else if(Object.prototype.hasOwnProperty.call(this.form_field,"labels")&&this.form_field.labels.length){for(i="",e=t=0,h=(l=this.form_field.labels).length;ts}activate_field(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.should_dropup()&&this.container.addClass("chosen-dropup"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.attr("aria-expanded",!0),this.search_results.attr("aria-busy",!1),this.search_field.trigger("focus")}test_active_click(t){var s;return s=e(t.target).closest(".chosen-container"),"left"===this.mousedown_checker(t)&&s.length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()}results_build(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field,this.parser_config),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold&&!this.create_option?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1}result_do_highlight(e){var t,s,i,h,l;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),this.search_field.attr("aria-activedescendant",this.result_highlight.attr("id")),h=(i=parseInt(this.search_results.css("maxHeight"),10))+(l=this.search_results.scrollTop()),(t=(s=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=h)return this.search_results.scrollTop(t-i>0?t-i:0);if(s0)return this.form_field_label.on("click.chosen",this.label_click_handler)}set_search_field_placeholder(){return this.is_multiple&&this.choices_count()<1?this.search_field.attr("placeholder",this.default_text):this.search_field.attr("placeholder","")}show_search_field_default(){return this.search_field.val(""),this.set_search_field_placeholder(),this.is_multiple&&this.choices_count()<1&&!this.active_field?this.search_field.addClass("default"):this.search_field.removeClass("default")}search_results_mouseup(t){var s;if("left"===this.mousedown_checker(t)&&(s=e(t.target).is(".active-result,.group-result")?e(t.target):e(t.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(t),this.search_field.focus()}search_results_mouseover(t){var s;if(s=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(s)}search_results_mouseout(t){if(e(t.target).hasClass("active-result")||e(t.target).parents(".active-result").first())return this.result_clear_highlight()}choice_build(t){var s,i;return s=e("",{class:"search-choice","data-value":t.value,role:"option"}).html(`${this.choice_label(t)}`),t.disabled?s.addClass("search-choice-disabled"):((i=e("",{type:"button",tabindex:-1,class:"search-choice-close","data-option-array-index":t.data["data-option-array-index"]})).on("click.chosen",e=>this.choice_destroy_link_click(e)),s.append(i)),this.inherit_option_classes&&t.classes&&s[0].classList.add(t.classes),this.search_container.before(s)}choice_destroy_link_click(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))}choice_destroy(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.trigger("focus"):this.show_search_field_default(),this.is_multiple&&this.hide_results_on_select&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),e.parents("li").first().remove(),this.set_search_field_placeholder(),this.search_field_scale()}results_reset(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()}results_reset_cleanup(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find(".search-choice-close").remove()}result_select(t){var s,i;if(e(t.target).hasClass("group-result")){if(!this.can_select_by_group)return;e(t.target).nextAll().each((s,i)=>{var h,l;return!e(i).hasClass("group-result")&&(h=e(i).attr("data-option-array-index"),l=!1,e("#pops_chosen > .chosen-choices").find(".search-choice-close").each((t,s)=>{if(e(s).attr("data-option-array-index")===h)return l=!0,!1}),l?void 0:(this.result_highlight=e(i),t.target=i,t.selected=!0,this.result_select(t)))})}else if(this.result_highlight)return(s=this.result_highlight).hasClass("create-option")?(this.select_create_option(this.search_field.val()),this.results_hide()):(this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?s.removeClass("active-result"):this.reset_single_select_options(),s.addClass("result-selected"),(i=this.results_data[s[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(this.choice_label(i)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale()))}single_set_selected_text(e=this.default_text){return e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(e)}result_deselect(e){var t;return t=this.results_data[e],!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)}single_deselect_control_build(){if(this.allow_single_deselect)return this.selected_item.find(".search-choice-close").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")}get_search_field_value(){return this.search_field.val()}get_search_text(){return e.trim(this.get_search_field_value())}escape_html(t){return e("").text(t).html()}winnow_results_set_highlight(){var e,t;if(null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)}no_results(e){var t;return t=this.get_no_results_html(e),this.search_results.append(t),this.form_field_jq.trigger("chosen:no_results",{chosen:this})}show_create_option(e){var t;return t=this.get_create_option_html(e),this.search_results.append(t)}create_option_clear(){return this.search_results.find(".create-option").remove()}select_create_option(t){return e.isFunction(this.create_option)?this.create_option.call(this,t):this.select_append_option({value:t,text:t})}select_append_option(e){var t;return t=this.get_option_html(e),this.form_field_jq.append(t),this.form_field_jq.trigger("chosen:updated"),this.form_field_jq.trigger("change"),this.search_field.trigger("focus")}no_results_clear(){return this.search_results.find(".no-results").remove()}keydown_arrow(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_showing&&this.create_option?this.result_do_highlight(this.search_results.find(".create-option")):this.results_show()}keyup_arrow(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()}keydown_backstroke(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find(".search-choice-close").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0}clear_backstroke(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null}search_field_scale(){var t,s,i,h,l,r,a;if(this.is_multiple){for(l={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(r=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s").css(l)).text(this.get_search_field_value()||this.search_field.attr("placeholder")),e("body").append(t),a=t.width()+25,t.remove(),this.container.is(":visible")&&(a=Math.min(this.container.outerWidth()-10,a)),this.search_field.width(a)}}trigger_form_field_change(e){return this.form_field_jq.trigger("input",e),this.form_field_jq.trigger("change",e)}}}).call(this);
\ No newline at end of file
diff --git a/assets/js/vendor/jquery.chosen.min.js b/assets/js/vendor/jquery.chosen.min.js
deleted file mode 100644
index 4ad164751de..00000000000
--- a/assets/js/vendor/jquery.chosen.min.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/* Chosen v1.8.7 | (c) 2011-2018 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
-
-(function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments)}},r=function(t,e){function s(){this.constructor=t}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s"+this.escape_html(t.group_label)+""+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n=this.max_shown_results));n++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t"+this.escape_html(s)+""+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'\n '+this.default_text+'\n
\n\n'},t.prototype.get_multi_html=function(){return'\n'},t.prototype.get_no_results_html=function(t){return'\n '+this.results_none_found+" "+this.escape_html(t)+"\n"},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy()}):this}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var s,i;return s=t("",{"class":"search-choice"}).html(""+this.choice_label(e)+""),e.disabled?s.addClass("search-choice-disabled"):((i=t("",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}).call(this);
\ No newline at end of file
diff --git a/includes/scripts.php b/includes/scripts.php
index 6831b543a35..dc0f6039326 100755
--- a/includes/scripts.php
+++ b/includes/scripts.php
@@ -292,7 +292,7 @@ function edd_register_admin_scripts() {
$admin_deps = array( 'jquery', 'jquery-form', 'underscore' );
// Register scripts
- wp_register_script( 'jquery-chosen', $js_dir . 'vendor/jquery.chosen.min.js', array( 'jquery' ), $version );
+ wp_register_script( 'jquery-chosen', $js_dir . 'vendor/chosen.jquery.min.js', array( 'jquery' ), $version );
wp_register_script( 'edd-jquery-flot', $js_dir . 'vendor/jquery.flot.min.js', array( 'jquery' ), $version );
wp_register_script( 'edd-moment-js', $js_dir . 'vendor/moment.min.js', array(), $version );
wp_register_script( 'edd-chart-js', $js_dir . 'vendor/chartjs.min.js', array( 'edd-moment-js' ), $version );
diff --git a/package-lock.json b/package-lock.json
index 8d4bf78476a..b4a5a046dd6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2039,7 +2039,7 @@
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
- "integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
"dev": true
},
"accepts": {
@@ -3418,11 +3418,6 @@
"upath": "^1.1.1"
}
},
- "chosen-js": {
- "version": "1.8.7",
- "resolved": "https://registry.npmjs.org/chosen-js/-/chosen-js-1.8.7.tgz",
- "integrity": "sha512-eVdrZJ2U5ISdObkgsi0od5vIJdLwq1P1Xa/Vj/mgxkMZf14DlgobfB6nrlFi3kW4kkvKLsKk4NDqZj1MU1DCpw=="
- },
"chownr": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz",
@@ -7168,7 +7163,7 @@
"grunt-contrib-cssmin": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-2.2.1.tgz",
- "integrity": "sha1-ZMvr5gE0vBJwykFUUU7EAHzBb38=",
+ "integrity": "sha512-IXNomhQ5ekVZbDbj/ik5YccoD9khU6LT2fDXqO1+/Txjq8cp0tQKjVS8i8EAbHOrSDkL7/UD6A7b+xj98gqh9w==",
"dev": true,
"requires": {
"chalk": "^1.0.0",
@@ -9739,7 +9734,7 @@
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
@@ -14049,7 +14044,7 @@
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
- "integrity": "sha1-bTQzWIl2jSGyvNoKonfO07G/rfk=",
+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
"dev": true,
"requires": {
"os-tmpdir": "~1.0.2"
diff --git a/package.json b/package.json
index f1528d5655e..59fbae04102 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,6 @@
"main": "webpack.config.js",
"dependencies": {
"chart.js": "2.7.2",
- "chosen-js": "1.8.7",
"flot": "0.8.0-alpha",
"jquery-creditcardvalidator": "1.0.0",
"jquery-validation": "1.17.0",
diff --git a/tests/tests-easy-digital-downloads.php b/tests/tests-easy-digital-downloads.php
index b23826df1b4..f8e89702d87 100755
--- a/tests/tests-easy-digital-downloads.php
+++ b/tests/tests-easy-digital-downloads.php
@@ -177,7 +177,7 @@ public function _test_includes_assets_dp() {
array( EDD_PLUGIN_DIR . 'assets/js/edd-admin.js' ),
array( EDD_PLUGIN_DIR . 'assets/js/edd-ajax.js' ),
array( EDD_PLUGIN_DIR . 'assets/js/edd-checkout-global.js' ),
- array( EDD_PLUGIN_DIR . 'assets/js/vendor/jquery.chosen.min.js' ),
+ array( EDD_PLUGIN_DIR . 'assets/js/vendor/chosen.jquery.min.js' ),
array( EDD_PLUGIN_DIR . 'assets/js/vendor/jquery.creditcardvalidator.min.js' ),
array( EDD_PLUGIN_DIR . 'assets/js/vendor/jquery.flot.min.js' ),
diff --git a/webpack.config.js b/webpack.config.js
index adb6142a66b..07ac0316684 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -77,10 +77,6 @@ const config = {
// Copy vendor files to ensure 3rd party plugins relying on a script
// handle to exist continue to be enqueued.
new CopyWebpackPlugin( [
- {
- from: './node_modules/chosen-js/chosen.jquery.min.js',
- to: 'assets/js/vendor/jquery.chosen.min.js',
- },
{
from: './node_modules/chart.js/dist/Chart.min.js',
to: 'assets/js/vendor/chartjs.min.js',